1 2011-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
3 Port features from the previous prolog.el to the new one.
4 * progmodes/prolog.el (prolog-system): Add GNU and ECLiPSe options.
5 (prolog-program-name, prolog-program-switches, prolog-consult-string)
6 (prolog-compile-string, prolog-prompt-regexp): Get rid of the <foo>-i
7 variable and use a function to compute the value dynamically.
8 (prolog-prompt-regexp): Add regexp for GNU Prolog.
9 (prolog-continued-prompt-regexp): Remove, unused.
10 (prolog-find-value-by-system): Try and use the value of prolog-system
11 in the *prolog* buffer if it helps.
12 (prolog-mode-keybindings-common): Bind C-c C-z unconditionally...
13 (prolog-zip-on): ..and check prolog-system and version here instead.
14 (prolog-inferior-self-insert-command): New command.
15 (prolog-inferior-mode-map): Use it.
16 (prolog-inferior-error-regexp-alist): New var.
17 (prolog-inferior-mode): Use it, along with compilation-shell-minor-mode.
18 (prolog-input-filter): Use derived-mode-p.
19 (prolog-inferior-guess-flavor): New function.
20 (prolog-ensure-process): Use it. Use make-comint-in-buffer rather than
21 make-comint to avoid running comint-mode twice.
22 (prolog-inferior-buffer): New fun.
23 (prolog-old-process-region, prolog-old-process-file):
24 Don't call prolog-bsts here...
25 (prolog-build-prolog-command): ...do it here instead.
26 (prolog-old-process-region, prolog-old-process-file):
27 Use compilation-fake-loc and compilation-forget-errors.
28 (prolog-consult-compile-region): Use bolp.
30 2011-01-28 Chong Yidong <cyd@stupidchicken.com>
32 * image-mode.el (image-display-size): Doc fix (Bug#7820).
34 2011-01-27 Sam Steingold <sds@gnu.org>
36 * midnight.el (clean-buffer-list-kill-never-buffer-names): Remove
37 "*server*" which is never created by emacs server.
39 2011-01-27 Deniz Dogan <deniz.a.m.dogan@gmail.com>
41 * vc/vc-bzr.el (vc-bzr-diff): Don't pass --diff-options unless
42 there are some diff switches.
44 2011-01-27 Stefan Monnier <monnier@iro.umontreal.ca>
46 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
47 Copy change made to ruby-font-lock-syntactic-keywords.
49 * htmlfontify.el: Make it obey the font-lock-face text property.
50 Miscellaneous cleanup such as:
51 - Don't hide expressions after a closing paren.
52 - Move initial setq into let.
53 - Hoist common parts out of ifs.
54 (hfy-p-to-face, hfy-p-to-face-lennart): Remove.
55 (hfy-face-at): Use get-text-property instead.
56 (hfy-prop-invisible-p): Use invisible-p if available.
57 (htmlfontify-manual): Use \\[...].
58 (hfy-html-quote-regex): Use [...].
59 (hfy-combined-face-spec): Simplify.
60 (hfy-compile-face-map): Don't presume point-min==1.
61 (hfy-css-name, hfy-buffer, htmlfontify-buffer): Use \' rather than $ to
63 (hfy-text-p): η-reduce.
64 (hfy-tags-for-file): Receive cache-hash directly.
65 (hfy-mark-tag-names): Adjust call.
67 2011-01-27 Glenn Morris <rgm@gnu.org>
69 * msb.el (msb-after-load-hooks): Make it an obsolete alias.
70 (msb-after-load-hook): Remove eval-after-load wackiness.
72 2011-01-25 Sam Steingold <sds@gnu.org>
74 * vc/vc-svn.el (vc-svn-diff): Use `diff-command' instead of the
75 literal "diff" (important for windows-nt).
77 2011-01-25 Glenn Morris <rgm@gnu.org>
79 * emacs-lisp/copyright.el (copyright-at-end-flag)
80 (copyright-names-regexp): Add safety properties.
81 (copyright-year-ranges): New option.
82 (copyright-find-end): New function, split from copyright-update-year.
83 (copyright-update-year): Use copyright-find-end.
84 (copyright-fix-years): Optionally, convert years to ranges.
85 Handle years continued over comment lines.
86 Do not mess with the fill-prefix.
87 Do not call copyright-update.
88 (copyright-update-directory): Optionally, fix years rather than update.
89 Skip directories. Find files with only safe local vars.
91 2011-01-25 Stefan Monnier <monnier@iro.umontreal.ca>
93 * files.el (file-name-non-special): Only change buffer-file-name after
94 insert-file-contents if it's `visit'ing the file (bug#7854).
96 2011-01-25 Chong Yidong <cyd@stupidchicken.com>
98 * dired.el (dired-revert): Doc fix (Bug#7758).
100 * simple.el (line-move-visual): Doc fix (Bug#7594).
102 2011-01-25 Nobuyoshi Nakada <nobu@ruby-lang.org>
104 * progmodes/ruby-mode.el (ruby-here-doc-beg-match): Fix for
105 here-doc which ends with an underscore.
106 (ruby-mode-set-encoding): Skip shebang line always.
107 (ruby-mode-map): Bind C-c C-c to comment-region.
108 (ruby-font-lock-keywords): Highlight literal hash key labels as symbols.
109 (ruby-forward-sexp): Stop after literal hash key labels.
110 (ruby-font-lock-syntactic-keywords): Highlight regexp after open
113 2011-01-25 Keitaro Miyazaki <keitaro.miyazaki@gmail.com> (tiny change)
115 * emacs-lisp/re-builder.el (reb-mode-map): Set case-fold-search in
116 the correct buffer (Bug#7650).
118 2011-01-25 Glenn Morris <rgm@gnu.org>
120 * comint.el (comint-mode): Doc fix. (Bug#7897)
122 * simple.el (do-auto-fill): Give it a doc string.
124 * button.el (make-text-button): Doc fix. (See bug#7881)
126 2011-01-24 Stefan Monnier <monnier@iro.umontreal.ca>
128 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
129 Don't move backward, so as not to fall in an inf-loop (bug#7736).
131 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): (bug#7735)
132 Handle ?" and friends differently (e.g. don't use backrefs).
134 2011-01-24 Jay Belanger <jay.p.belanger@gmail.com>
136 * calc/calc.el (calc-default-power-reference-level)
137 (calc-default-field-reference-level): New variables.
138 * calc/calc-units.el (math-standard-units): Add dB and Np.
139 (math-logunits): New variable.
140 (math-extract-logunits, math-logcombine, calcFunc-luplus)
141 (calcFunc-luminus, calc-luplus, calc-luminus, math-logunit-level)
142 (calcFunc-fieldlevel, calcFunc-powerlevel, calc-level):
144 (math-find-base-units-rec): Add entry for ln(10).
145 * calc/calc-help.el (calc-u-prefix-help): Add logarithmic help.
146 (calc-ul-prefix-help): New function.
147 * calc/calc-ext.el (calc-init-extensions): Autoload new units
148 functions. Add keybindings for new units functions.
150 2011-01-22 Giorgos Keramidas <keramida@ceid.upatras.gr> (tiny change)
152 * net/rcirc.el (rcirc-kill-buffer-hook): Flush logs when killing
153 rcirc buffers. (Bug#4940)
155 2011-01-22 Glenn Morris <rgm@gnu.org>
157 * emacs-lisp/copyright.el (copyright-find-copyright): New function,
158 split out from copyright-update-year.
159 (copyright-update): Don't mess with the GPL version if we don't own the
160 copyright. Update license regexp, and remove no longer needed
162 (copyright-fix-years): Use copyright-find-copyright.
164 2011-01-22 Chong Yidong <cyd@stupidchicken.com>
166 * vc/diff.el (diff-sentinel): Doc fix (Bug#7682).
168 2011-01-22 Jari Aalto <jari.aalto@cante.net>
170 * play/landmark.el: Change `lm-' prefix to `landmark-' (Bug#7672).
171 (lm): Rename to landmark.
172 (lm-test-run): Rename to landmark-test-run.
174 2011-01-22 Chong Yidong <cyd@stupidchicken.com>
176 * emacs-lisp/re-builder.el (reb-mode-map): Fix logic error in
177 "Case sensitive" menu item.
179 2011-01-22 Roland McGrath <roland@frob.com>
181 * comint.el (comint-replace-by-expanded-history-before-point): Fix
182 expansion of !$ and !!:N syntax to pick the indicated word (bug#7883).
184 2011-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
186 * progmodes/js.el (js--regexp-literal): Count backslashes (bug#7882).
188 2011-01-22 Jari Aalto <jari.aalto@cante.net>
190 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
191 Assume foo(bar) is a manpage reference rather than some unquoted
194 2011-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
196 * subr.el (shell-quote-argument): Properly quote \n (bug#7687).
197 Suggested by Flo <sensorflo@gmail.com>.
199 2011-01-22 Glenn Morris <rgm@gnu.org>
201 * progmodes/compile.el (compilation-error-regexp-alist):
202 Fix custom type. (Bug#7812)
204 2011-01-22 Ken Manheimer <ken.manheimer@gmail.com>
206 * allout.el (allout-prefixed-keybindings): Bind (prefixed) '#' to
207 allout-number-siblings, in keeping with what obtained due to
208 (now-defunct) allout-keybindings-list. Ditch repeat binding to
210 (allout-before-change-handler): Better expose spots affected by
213 2011-01-22 Chong Yidong <cyd@stupidchicken.com>
215 * man.el (Man-highlight-references0): Use make-button (Bug#7881).
217 2011-01-22 Phil Hagelberg <phil@evri.com>
219 * pcmpl-unix.el (pcmpl-ssh-config-file): New option.
220 (pcmpl-ssh-known-hosts): Rename from pcmpl-ssh-hosts.
221 (pcmpl-ssh-config-hosts): New function.
222 (pcmpl-ssh-hosts): Use pcmpl-ssh-config-hosts in addition to
223 pcmpl-ssh-known-hosts.
225 2011-01-21 Jay Belanger <jay.p.belanger@gmail.com>
227 * calc/calc-undo.el (calc-undo): Autoload it.
228 * calc/calc-ext.el (calc-init-extensions): Remove keybindings
229 and autoload for `calc-undo'.
230 * calc/calc.el (calc-mode-map): Add keybindings for `calc-undo'.
232 * calc/calc-graph.el:
233 * calc/calc-map.el: Change `arglist' to `math-arglist' throughout.
235 2011-01-21 Štěpán Němec <stepnem@gmail.com> (tiny change)
237 * calc/calc-ext.el (calc-init-extensions): Map all `undo'
238 keybindings to `calc-undo'.
240 2011-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
242 Don't mess with *temp*.
243 * obsolete/spell.el: Move from textmodes/spell.el.
245 * term.el (term-read-input-ring):
246 * startup.el (display-startup-echo-area-message):
247 * progmodes/antlr-mode.el (antlr-directory-dependencies):
248 * comint.el (comint-read-input-ring): Use with-temp-buffer.
249 * international/mule.el (ctext-pre-write-conversion): Don't hardcode
252 2011-01-20 Ken Manheimer <ken.manheimer@gmail.com>
254 * allout.el: (allout-institute-keymap): Use fset instead of
257 (allout-hotspot-key-handler): Check for non-control-modified
258 bindings for hotspot characters if there are no control-modified
261 * allout.el: Summary - migrate to defining allout mode using
262 define-minor-mode instead of defun. Significantly clean-up
263 internal keymap provisions, refactoring and, in the process,
264 removing a lot of accumulated cruft.
266 allout-mode-map is now a keymap by virtue of being a defalias to
267 allout-mode-map-value, which contains the actual keymap structure.
269 (allout-mode): Use define-minor-mode rather than defun.
270 Remove now-unnecessary minor-mode setup activities from the body.
271 Specify :keymap as allout-mode-map so the minor-mode-map-alist
272 entry will be '(allout-mode . allout-mode-map) - see
273 allout-mode-map-value, below. Adjust docstring to track changes.
274 (allout-minor-mode): Remove this defalias, now that we're using
276 (allout-mode-map): Set value to be 'allout-mode-map. The actual
277 keymap is allout-mode-map-value, via defalias.
278 (allout-mode-map-value): The variable holding the actual mode
279 keymap structure, by virtue of defalias from allout-mode-map.
280 (allout-compose-and-institute-keymap): Rename from
281 allout-bind-keys, and including the binding-composition
282 functionality of the former produce-allout-mode-map and
283 allout-setup-mode-map.
284 (allout-institute-keymap): Take over the "setup" part of the former
285 allout-setup-mode-map. Reassign allout-mode-map-value value and
287 (allout-command-prefix) (allout-prefixed-keybindings)
288 (allout-unprefixed-keybindings):
289 Use allout-compose-and-institute-keymap to process the bindings.
290 (allout-unprefixed-keybindings): Remove extraneous '?' question
292 (allout-prefixed-keybindings): Elide binding to (prefixed) \C-h -
293 user can customize if they want to use that binding.
294 Bind allout-copy-topic-as-kill to (prefixed) \M-k.
295 Bind allout-up-current-level to (prefixed) \C-u. (I think i mistakenly
296 elided that, previously, instead of the one for \C-h.)
297 (allout-hotspot-key-handler): Remove attempt to resolve the key
298 through the literal key-string lookup on allout-keybindings-list.
299 That probably hasn't worked for a Long Time, and removal of
300 allout-keybindings-list further simplifies the keybindings
302 (allout-pre-command-business): Use allout-mode-map-value instead
304 (allout-preempt-trailing-ctrl-h): Remove. The user can customize
305 the bindings if they want to use a keybinding having a trailing
306 \C-h. No deprecation needed since this feature was never in a
308 (allout-keybindings-list): Remove. It's not been useful for a
309 while. (See allout-hotspot-key-handler changes, above.)
310 (produce-allout-mode-map): Remove. Consolidate into
311 allout-compose-and-institute-keymap.
312 (allout-mode-map-adjustments): Remove. No longer necessary with
313 removal of allout-preempt-trailing-ctrl-h.
314 (allout-setup-mode-map): Remove. Consolidate into
315 allout-compose-and-institute-keymap and allout-institute-keymap.
317 2011-01-20 Glenn Morris <rgm@gnu.org>
319 * vc/vc-svn.el (vc-svn-after-dir-status): Tweak previous change.
321 * simple.el (read-expression-history): Remove, it's in minibuf.c.
323 2011-01-20 Chong Yidong <cyd@stupidchicken.com>
325 * subr.el (y-or-n-p): Revert 2011-01-07 change, removing ARGS.
327 * files.el (find-alternate-file, basic-save-buffer)
328 (basic-save-buffer-2, revert-buffer, recover-file)
329 (kill-buffer-ask, abort-if-file-too-large)
330 (set-visited-file-name, write-file, backup-buffer)
331 (basic-save-buffer, save-some-buffers):
332 * dired-aux.el (dired-compress-file): Callers changed.
334 2011-01-19 Glenn Morris <rgm@gnu.org>
336 * vc/vc-svn.el (vc-svn-after-dir-status, vc-svn-parse-status):
337 Also check the property status. (Bug#7861)
339 2011-01-18 Michael Albinus <michael.albinus@gmx.de>
341 * net/tramp.el (tramp-debug-message): Extend function exclude
342 list. Use `regexp-opt'.
344 2011-01-18 Stefan Monnier <monnier@iro.umontreal.ca>
346 * textmodes/tex-mode.el (tex-font-lock-verb): Make sure \verb
347 highlighting doesn't spill over subsequent lines.
349 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't re-evaluate the
350 keymap expression. Improve docstring.
352 * electric.el (electric-indent-post-self-insert-function):
353 Don't auto-indent for indent-to-left-margin, it's too often
356 2011-01-16 Tassilo Horn <tassilo@member.fsf.org>
358 * strokes.el (strokes-read-stroke): Re-fill strokes buffer with
359 spaces if the frame was resized, so that the full visible buffer
360 serves as canvas for strokes.
362 2011-01-16 Glenn Morris <rgm@gnu.org>
364 * info-xref.el (info-xref-docstrings): Replace cl function.
365 Also skip directories.
367 2011-01-16 Kevin Ryde <user42@zip.com.au>
369 * info-xref.el: Version 3.
370 (info-xref-check, info-xref-check-all): Move commentary details
371 into docstrings for better visibility.
372 Use compilation-mode for the results buffer.
373 (info-xref-output, info-xref-output-error, info-xref-with-output)
374 (info-xref-filename, info-xref-in-progress):
375 New internals for this.
376 (info-xref-check-list, info-xref-check-buffer)
377 (info-xref-check-all-custom): Use those.
378 (info-xref-output-buffer): Rename from info-xref-results-buffer.
379 (info-xref-output-heading): Rename from info-xref-filename-heading.
380 (info-xref-good, info-xref-bad, info-xref-xfile-alist)
381 (info-xref-filename-heading): Move to output managing section.
382 (info-xref-docstrings): New command checking "Info node `(foo)Bar'"
383 (info-xref-lock-file-p, info-xref-with-file): New helpers for it.
384 (info-xref-subfile-p): Move to generic section with those two.
385 (info-xref-check-node): New function split from
386 info-xref-check-buffer, shared by info-xref-docstrings.
387 (info-xref-goto-node-p): Move to a checking section with that func.
388 (info-xref-unavail): New counter.
389 (info-xref-check-node): Use it.
390 (info-xref-with-output): Show count of unavailables at end of output.
391 (info-xref-all-info-files): Exclude ".*" dotfiles. Ignore broken
392 symlinks. Exclude .texi files. Exclude Emacs backup files.
393 (info-xref-check-all-custom): Fix quietening viper-mode and
394 gnus-registry-install -- use setq not let so as not to unbind
397 2011-01-16 Juri Linkov <juri@jurta.org>
399 * isearch.el (isearch-abort): Don't quit if search has
400 an incomplete regexp (isearch-error is non-nil). (Bug#7534)
402 2011-01-15 Mark Diekhans <markd@soe.ucsc.edu>
404 * files.el (backup-buffer): Make last-resort backup file in
407 * subr.el (locate-user-emacs-file): If .emacs.d does not exist,
408 make it with permission 700.
410 2011-01-15 Kenichi Handa <handa@m17n.org>
412 * mail/rmailmm.el (rmail-mime-insert-header):
413 Set rmail-mime-coding-system to a cons whose car is the last coding
414 system used to decode the header.
415 (rmail-mime-find-header-encoding): New function.
416 (rmail-mime-insert-decoded-text):
417 Override rmail-mime-coding-system if it is a cons.
418 (rmail-show-mime): If only a header part was decoded, find the
419 coding system while ignoring mm-charset-override-alist.
421 2011-01-15 Chong Yidong <cyd@stupidchicken.com>
423 * subr.el (event-start, event-end): Doc fix (Bug#7826).
425 2011-01-15 Kenichi Handa <handa@m17n.org>
427 * mail/rmailmm.el (rmail-mime-next-item)
428 (rmail-mime-previous-item): Delete them.
429 (rmail-mime-shown-mode): Recursively call for children.
430 (rmail-mime-hidden-mode): Delete the 2nd arg TOP.
432 (rmail-mime-raw-mode): Recursively call for children.
433 (rmail-mode-map): Change mapping of tab and backtab to
434 forward-button and backward-button respectively.
435 (rmail-mime-insert-tagline): Always insert "Hide" or "Show"
437 (rmail-mime-update-tagline): New function.
438 (rmail-mime-insert-text): Call rmail-mime-update-tagline if the
439 body display is changed.
440 (rmail-mime-toggle-button): Rename from rmail-mime-image.
441 (rmail-mime-image): Delete this button type.
442 (rmail-mime-toggle): New button type.
443 (rmail-mime-insert-bulk): Call rmail-mime-update-tagline if the
444 body display is changed. Change the save button label to "Save".
445 Don't process show/hide button here.
446 (rmail-mime-insert-multipart): Call rmail-mime-update-tagline if
447 the body display is changed. Unconditionally call
448 rmail-mime-insert for children.
449 (rmail-mime-handle): Update `display' vector of the just inserted
451 (rmail-mime-process): If mail-header-parse-content-type returns
452 nil, use "text/plain" as the fallback type.
453 (rmail-mime-insert): For raw-mode, recursively call
454 rmail-mim-insert for children.
455 (rmail-mime): Handle the case that the current buffer is not rmail
456 buffer (e.g. in summary buffer).
458 2011-01-15 Kenichi Handa <handa@m17n.org>
460 * mail/rmailmm.el (rmail-mime-next-item)
461 (rmail-mime-previous-item): Skip the body of a non-multipart
462 entity if a tagline is shown.
464 2011-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
466 * tmm.el (tmm-get-keymap): Skip bindings without labels (bug#7721).
467 (tmm-prompt): Simplify.
468 (tmm-add-prompt): Remove unused var `win'.
470 * whitespace.el (global-whitespace-newline-mode): Fix call (bug#7810)
471 to minor mode which used nil accidentally to mean "turn off".
473 2011-01-15 Michael Albinus <michael.albinus@gmx.de>
475 * net/tramp-sh.el (tramp-find-inline-compress)
476 (tramp-get-inline-coding): Quote command after pipe symbol for
477 local calls under W32. (Bug#6784)
479 2011-01-15 Michael Albinus <michael.albinus@gmx.de>
481 * net/tramp.el (tramp-default-method): Initialize with pscp/plink
482 only when running under W32.
484 2011-01-15 Eli Zaretskii <eliz@gnu.org>
486 * progmodes/grep.el (grep-compute-defaults): Quote the program
487 file name after the pipe symbol in Grep templates. (Bug#6784)
488 * jka-compr.el (jka-compr-partial-uncompress): Likewise.
490 2011-01-15 Lennart Borgman <lennart.borgman@gmail.com>
492 * buff-menu.el (Buffer-menu-buffer-list): New var.
493 (Buffer-menu-revert-function, list-buffers-noselect): Use it, so a
494 restricted buffer list is not lost on revert (Bug#7749).
496 2011-01-15 Eric Hanchrow <eric.hanchrow@gmail.com>
498 * net/ldap.el (ldap-search-internal): Discard stderr output.
500 2011-01-15 Eli Zaretskii <eliz@gnu.org>
502 * files.el (directory-abbrev-alist): Doc fix. (Bug#7777)
504 2011-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
506 * vc-bzr.el (vc-bzr-annotate-time): Tweak previous change.
508 2011-01-15 Kenichi Handa <handa@m17n.org>
510 * mail/rmailmm.el (rmail-mime-insert-bulk): Display an unknown
511 part as a plain text.
512 (rmail-mime-process-multipart): Set the default content-type to
513 nil for unknown multipart subtypes (bug#7651).
515 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
517 * hexl.el (hexl-mode-old-*): Remove.
518 (hexl-mode--old-var-vals): New var to replace them.
519 (hexl-mode--minor-mode-p, hexl-mode--setq-local): New funs.
520 (hexl-mode, hexl-follow-line, hexl-activate-ruler):
521 Use them to set local vars (bug#7846).
522 (hexl-mode-exit): Use hexl-mode--old-var-vals to restore state.
523 (hexl-backward-short, hexl-backward-word, hexl-scroll-down)
524 (hexl-scroll-up, hexl-end-of-1k-page, hexl-end-of-512b-page): Simplify.
526 * vc/smerge-mode.el: Resolve comment conflicts more aggressively.
527 (smerge-resolve--normalize-re): New var.
528 (smerge-resolve--extract-comment, smerge-resolve--normalize): New funs.
529 (smerge-resolve): Use them.
530 * newcomment.el (comment-only-p): New function.
531 (comment-or-uncomment-region): Use it.
533 2011-01-14 Brent Goodrick <bgoodr@gmail.com> (tiny change)
535 * abbrev.el (prepare-abbrev-list-buffer): If listing local abbrev
536 table, get the value before switching to the output buffer. (Bug#7733)
538 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
540 * progmodes/python.el (python-mode): Don't impose font-lock (bug#3628).
542 2011-01-14 Kim F. Storm <storm@cua.dk>
544 * emulation/cua-base.el (cua--init-keymaps):
545 Remap exchange-point-and-mark in cua-global-keymap.
547 2011-01-14 Tassilo Horn <tassilo@member.fsf.org>
549 * progmodes/sh-script.el (sh-other-keywords): Add ZSH's foreach
552 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
554 * emacs-lisp/easymenu.el: Add :enable (bug#7754), and obey :label.
556 (easy-menu-create-menu, easy-menu-convert-item-1):
557 Use :label rather than nil for labels. Use `case'.
558 Add :enable as alias for :active.
559 (easy-menu-binding): Obey :label.
561 2011-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
563 Use run-mode-hooks for major mode hooks (bug#513).
564 * textmodes/reftex-toc.el (reftex-toc-mode-map):
565 Rename from reftex-toc-map.
566 (reftex-toc-mode): Use define-derived-mode.
567 * textmodes/reftex-sel.el (reftex-select-shared-map): New map.
568 (reftex-select-label-mode-map, reftex-select-bib-mode-map):
569 Rename from reftex-select-(label|bib)-map. Move init into declaration.
570 (reftex-select-label-mode, reftex-select-bib-mode):
571 Use define-derived-mode.
572 * textmodes/reftex-index.el (reftex-index-phrases-mode-map)
573 (reftex-index-mode-map): Rename from reftex-index(-phrases)-map.
574 Move init into delcaration.
575 (reftex-index-mode, reftex-index-phrases-mode):
576 Use define-derived-mode.
577 * speedbar.el (speedbar-mode-syntax-table): Renaqme from
578 speedbar-syntax-table. Move init into declaration.
579 (speedbar-mode-map): Rename from speedbar-key-map.
580 Move init into declaration.
581 (speedbar-file-key-map): Move init into declaration.
582 (speedbar-mode): Use define-derived-mode.
583 * recentf.el (recentf-mode): Don't run hook (or message) redundantly.
584 * net/rcirc.el (rcirc-mode): Use run-mode-hooks.
585 * emacs-lisp/chart.el (chart-mode-map): Rename from chart-map.
586 (chart-face-list): Move initialization into declaration.
587 (chart-mode): Use define-derived-mode.
588 * calculator.el (calculator-mode-map): Move init into declaration.
589 (calculator-mode): Use define-derived-mode.
591 * mail/mail-utils.el (mail-strip-quoted-names): Make the regexp code
592 work for nested comments.
594 * progmodes/prolog.el: Use syntax-propertize. Further code cleanup.
595 (prolog-use-prolog-tokenizer-flag): Change default when
596 syntax-propertize can be used.
597 (prolog-syntax-propertize-function): New var.
598 (prolog-mode-variables): Move make-local-variable into `set'.
599 Don't make comment-column local since we don't set it.
600 Set comment-add (as it was in previous prolog.el). Use dolist.
601 Set syntax-propertize-function.
602 (prolog-mode, prolog-inferior-mode):
603 Call prolog(-inferior)-menu directly, not through the mode-hook.
604 (prolog-buffer-module, prolog-indent-level)
605 (prolog-paren-is-the-first-on-line-p, prolog-paren-balance)
606 (prolog-comment-limits, prolog-goto-comment-column):
607 Use line-(end|beginning)-position.
608 (prolog-build-prolog-command): Tighten up regexp.
609 (prolog-consult-compile): Move make-local-variable into `set'.
610 (prolog-consult-compile-filter, prolog-goto-next-paren)
611 (prolog-help-on-predicate, prolog-clause-info)
612 (prolog-mark-predicate): Don't let+setq.
613 (prolog-indent-line): Use indent-line-to.
614 Only call prolog-goto-comment-column if necessary.
615 (prolog-indent-level): Use bobp.
616 (prolog-first-pos-on-line): Remove, not used any more.
617 (prolog-in-string-or-comment): Use syntax-ppss if available.
618 (prolog-help-on-predicate): Use read-string.
619 (prolog-goto-predicate-info): Simplify.
620 (prolog-read-predicate): Use `default' rather than `initial'.
621 (prolog-temporary-file): Use make-temp-file to close a security hole.
622 (prolog-toggle-sicstus-sd): New command.
623 (prolog-electric-underscore, prolog-variables-to-anonymous):
624 Use dynamic-scoping as it was meant.
625 (prolog-menu): Move menu definitions to top-level.
626 Use a toggle-button for Sicstus's source debugger.
627 Change "Code" to the more usual "Prolog", and hence change "Prolog"
629 (prolog-inferior-menu): Reuse prolog-menu's help menu.
630 Move other menu definition to top-level.
632 2011-01-13 Tassilo Horn <tassilo@member.fsf.org>
634 * doc-view.el (doc-view-open-text): Use meaningful text buffer
635 name. Keep original document's directory as default-directory
637 (doc-view-initiate-display): Fall back to normal mode when
638 doc-view-mode cannot be enabled, also when extracting the document
639 text into a separate buffer (bug#6446).
641 * simple.el (shell-command): Don't error out if shell command
642 buffer contains text with non-nil read-only property when erasing
645 2011-01-13 Kim F. Storm <storm@cua.dk>
647 * ido.el (ido-may-cache-directory): Move "too-big" check later.
648 (ido-next-match, ido-prev-match): Fix stray reordering of matching
649 items when cycling through the matches.
651 2011-01-13 Tassilo Horn <tassilo@member.fsf.org>
653 * dired-x.el (dired-omit-verbose): New defcustom that allows
654 disabling the omit messages.
655 (dired-omit-expunge): Use it.
657 2011-01-13 Christian Ohler <ohler@gnu.org>
659 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: New files.
661 2011-01-13 Chong Yidong <cyd@stupidchicken.com>
663 * font-lock.el (font-lock-verbose): Default to nil.
665 2011-01-13 Chong Yidong <cyd@stupidchicken.com>
667 * simple.el (sendmail-user-agent-compose): Move to sendmail.el.
668 (compose-mail): New arg RETURN-ACTION.
669 (compose-mail-other-window, compose-mail-other-frame): Likewise.
671 * mail/sendmail.el (mail-return-action): New var.
672 (mail-mode): Make it buffer-local.
673 (mail-bury): Obey it. Move special Rmail window handling to
675 (mail, mail-setup): New arg RETURN-ACTION.
676 (sendmail-user-agent-compose): Move from simple.el.
678 * mail/rmail.el (rmail-mail-return): New function.
679 (rmail-start-mail): Pass it to compose-mail.
681 2011-01-12 Chong Yidong <cyd@stupidchicken.com>
683 * menu-bar.el (menu-bar-custom-menu): Tweak Mule and Customize
684 menus. Add menu item for customize-themes.
686 * cus-theme.el (customize-themes):
687 * emacs-lisp/package.el (package--list-packages):
688 Use switch-to-buffer.
690 2011-01-11 Johan Bockgård <bojohan@gnu.org>
692 * emacs-lisp/unsafep.el (unsafep): Handle backquoted forms.
694 2011-01-11 Stefan Monnier <monnier@iro.umontreal.ca>
696 * progmodes/prolog.el: Fix up coding convention and such.
697 (prolog-indent-width): Use the same default as in
698 previous prolog.el rather than tab-width which depends on which buffer
699 is current when the file is loaded.
700 (prolog-electric-newline-flag): Only enable if electric-indent-mode
702 (prolog-emacs): Remove. Use (featurep 'xemacs) instead.
703 (prolog-known-systems): Remove.
704 (prolog-mode-syntax-table, prolog-inferior-mode-map):
705 Move initialization into declaration.
706 (prolog-mode-map): Move initialization into declaration.
707 Remove system-specific mode-map vars, since they referred to the same
709 (prolog-mode-variables): Obey the user's preference w.r.t
710 adaptive-fill-mode. Prefer symbol-value to `eval'.
711 (prolog-mode-keybindings-edit): Add compatibility bindings.
712 (prolog-mode): Use define-derived-mode. Don't handle mercury here.
713 (mercury-mode-map): New var.
714 (mercury-mode, prolog-inferior-mode): Use define-derived-mode.
715 (prolog-ensure-process, prolog-process-insert-string)
716 (prolog-consult-compile): Use with-current-buffer.
717 (prolog-guess-fill-prefix): Simplify data flow.
718 (prolog-replace-in-string): New function to use instead of
720 (prolog-enable-sicstus-sd): Don't abuse `eval'.
721 (prolog-uncomment-region): Use `uncomment-region' when available.
722 (prolog-electric-colon, prolog-electric-dash): Use `eolp'.
723 (prolog-int-to-char, prolog-char-to-int): New functions to use instead
724 of int-to-char and char-to-int.
725 (prolog-mode-hook, prolog-inferior-mode-hook): Don't force font-lock.
727 2011-01-11 Stefan Bruda <stefan@bruda.ca>
729 * progmodes/prolog.el: Replace by a whole new file.
731 2011-01-11 Stefan Monnier <monnier@iro.umontreal.ca>
733 * subr.el (eval-after-load): Fix timing for features (bug#7769).
734 (declare-function, undefined, insert-for-yank)
735 (replace-regexp-in-string): Follow checkdoc's recommendations.
737 2011-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
739 * calendar/diary-lib.el (diary-mode): Refresh *Calendar* after
740 refreshing the diary buffer.
742 2011-01-10 Ken Manheimer <ken.manheimer@gmail.com>
744 * allout.el: Add 2011 to the file copyright.
745 (allout-encrypt-string): Prevent encryption from adding an extra
746 newline at the end of the topic body.
747 (allout-version): Increment to 2.3.
749 2011-01-10 Michael Albinus <michael.albinus@gmx.de>
751 * net/dbus.el (dbus-unregister-service): Complete doc.
752 Fix call of dbus-error signal.
753 (dbus-register-property): Use `dont-register' keyword.
755 2011-01-10 Jan Moringen <jan.moringen@uni-bielefeld.de>
757 * net/dbus.el (dbus-unregister-service): Translate returned
758 integer into a symbol.
759 (dbus-register-property): Use `dbus-register-service' to do the
762 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
764 * progmodes/idlw-help.el (idlwave-help-link): Inherit from link face.
765 Suggested by Joakim Verona.
767 * comint.el (comint-highlight-prompt): Inherit minibuffer-prompt.
769 * wid-edit.el (visibility): Replace :on-image and :off-image
770 widget properties with :on-glyph and :off-glyph, for consistency
771 with the `visibility' widget.
772 (widget-toggle-value-create, widget-visibility-value-create):
773 Merge into a single function `widget-toggle-value-create'.
775 * cus-edit.el (custom-variable-value-create, custom-visibility)
776 (custom-face-edit-value-create, custom-face-value-create):
777 Replace :on-image and :off-image widget properties with :on-glyph and
778 :off-glyph, for consistency with the `visibility' widget.
780 2011-01-09 Andreas Schwab <schwab@linux-m68k.org>
782 * net/ldap.el (ldap-search-internal): Don't use eval.
784 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
786 * subr.el (read-char-choice): Use read-key.
788 * custom.el (custom-safe-themes): Rename from
789 custom-safe-theme-files. Add :risky tag.
790 (load-theme, custom-theme-load-confirm): Save sha1 hashes to
791 custom-safe-themes, not filenames. Suggested by Stefan Monnier.
793 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
795 * tool-bar.el (tool-bar-setup): Remove Help button. Remove label
796 from Search and add a label to Undo.
798 * vc/vc-dir.el (vc-dir-tool-bar-map): Rearrange, removing
799 inappropriate buttons and adding :vert-only tags.
801 * progmodes/compile.el (compilation-mode-tool-bar-map): Adjust to
802 removal of Help tool-bar button. Remove Undo button for space.
804 * info.el (info-tool-bar-map): Add :vert-only tags.
806 2011-01-08 Tassilo Horn <tassilo@member.fsf.org>
808 * doc-view.el (doc-view-mode-p): Check for png or imagemagick
809 image backend support. Either of them is fine.
811 2011-01-08 Chong Yidong <cyd@stupidchicken.com>
813 * subr.el (y-or-n-p): Doc fix.
815 * custom.el (custom-safe-theme-files): New defcustom.
816 (custom-theme-load-confirm): New function.
817 (load-theme): Load theme using `load', confirming with
818 custom-theme-load-confirm if necessary.
820 * subr.el (read-char-choice): New function, factored out from
821 dired-query and hack-local-variables-confirm.
823 * dired-aux.el (dired-query):
824 * files.el (hack-local-variables-confirm): Use it.
826 * dired-aux.el (dired-compress-file):
827 * files.el (abort-if-file-too-large, find-alternate-file)
828 (set-visited-file-name, write-file, backup-buffer)
829 (basic-save-buffer, basic-save-buffer-2, save-some-buffers)
830 (delete-directory, revert-buffer, recover-file, kill-buffer-ask):
831 Use new format string args for y-or-n-p and yes-or-no-p.
833 2011-01-08 Andreas Schwab <schwab@linux-m68k.org>
835 * progmodes/compile.el (compilation-error-regexp-alist-alist)
836 [gcc-include]: Tighten file name match, add match for column
838 [gnu]: Remove unused group.
840 2011-01-08 Glenn Morris <rgm@gnu.org>
842 * makefile.w32-in (EMACSOPT): Add --no-site-lisp.
844 * makefile.w32-in (EMACSOPT): -batch implies --no-init-file.
846 2011-01-07 Sam Steingold <sds@gnu.org>
848 * w32-fns.el (w32-shell-name): Use `shell-file-name' instead of
849 the `explicit-shell-file-name' because that is the
850 non-interactive shell.
852 2011-01-07 Chong Yidong <cyd@stupidchicken.com>
854 * subr.el (y-or-n-p): Accept format string args.
856 2011-01-07 Glenn Morris <rgm@gnu.org>
858 * Makefile.in (EMACSOPT): Add --no-site-lisp.
860 2011-01-06 Ken Manheimer <ken.manheimer@gmail.com>
862 * allout.el (allout-back-to-current-heading): Ensure return to
863 the visible containing topic, rather than a collapsed one.
864 (allout-view-change-hook): Remove hook that was deprecated long ago.
865 (allout-exposure-change-hook): Remove documentation remarks
866 concerning removed allout-view-change-hook.
867 (allout-flag-region): Remove invocation of and documentation
868 remarks concerning allout-view-change-hook.
870 2011-01-06 Glenn Morris <rgm@gnu.org>
872 * vc/vc-bzr.el (vc-bzr-annotate-command, vc-bzr-annotate-time)
873 (vc-bzr-annotate-extract-revision-at-line):
874 Handle authors with embedded spaces. (Bug#7792)
876 2011-01-05 Tassilo Horn <tassilo@member.fsf.org>
878 * doc-view.el (doc-view-image-width): New variable.
879 (doc-view-enlarge, doc-view-insert-image): Prefer imagemagick
880 backend for PNG images, and do dynamic rescaling instead of
881 reconverting the whole doc.
883 2011-01-05 Glenn Morris <rgm@gnu.org>
885 * emacs-lisp/rx.el (rx-repeat): Replace CL function.
887 2011-01-04 Ken Manheimer <ken.manheimer@gmail.com>
889 * allout.el: Reconcile with changes in line movement behavior for
890 long text lines that cross more than a single physical window
891 line, ie when truncate-lines is nil.
892 (allout-next-visible-heading): Provide for change in line-move
893 behavior on long lines when truncate-lines is nil. In that case,
894 line-move can wind up on the same textual line when it moves to
895 the next window line, and moving to the bullet position after the
896 move yields zero advancement. Add logic to detect and compensate
897 for the lack of progress.
898 (allout-current-topic-collapsed-p): move-end-of-line respect for
899 field boundaries is different when operating with body lines
900 shorter than window width versus ones greater than window width,
901 which can yield false negatives in this function. Avoid
902 difference by applying move-end-of-line while field-text-motion is
905 2011-01-04 Glenn Morris <rgm@gnu.org>
907 * textmodes/rst.el (rst-compile-toolsets):
908 Add pdf and s5 to option alist.
910 2011-01-04 Jan Moringen <jan.moringen@uni-bielefeld.de>
912 * net/dbus.el (dbus-register-property): Add optional parameter
913 dont-register-service. Updated docstring accordingly.
915 2011-01-04 Andreas Schwab <schwab@linux-m68k.org>
917 * textmodes/rst.el (rst-compile-pdf-preview)
918 (rst-compile-slides-preview): Remove extra line.
920 2011-01-04 Glenn Morris <rgm@gnu.org>
922 * textmodes/rst.el (rst-compile-toolsets): Make it a defcustom.
923 Add `pdf' and `s5' entries. Use `prog.py' if found, otherwise
924 default to `prog' without a .py extension.
925 (rst-compile-pdf-preview, rst-compile-slides-preview):
926 Use program names from rst-compile-toolsets, rather than hard-coding.
927 (rst-portable-mark-active-p): Fix presumed typo.
929 2011-01-02 Eli Zaretskii <eliz@gnu.org>
931 * term/w32-win.el (dynamic-library-alist): Set up correctly for
932 libpng versions both before and after 1.4.0. (Bug#7716)
934 2011-01-02 Eli Zaretskii <eliz@gnu.org>
936 * time.el (display-time-mode): Mention display-time-interval in
937 the doc string. (Bug#7713)
939 2011-01-02 Kenichi Handa <handa@m17n.org>
941 * mail/rmailmm.el (rmail-mime-parse): Perform parsing in
942 condition-case and return an error message string if something
944 (rmail-show-mime): Adjust for the above change. Insert the
945 header by rmail-mime-insert-header.
947 2011-01-02 Kenichi Handa <handa@m17n.org>
949 * mail/rmailmm.el: New key bindings for rmail-mime-next-item,
950 rmail-mime-previous-item, and rmail-mime-toggle-hidden.
951 (rmail-mime-mbox-buffer)
952 (rmail-mime-view-buffer, rmail-mime-coding-system): New variables.
953 (rmail-mime-entity): Argument changed. All codes handling an
954 entity object are changed.
955 (rmail-mime-entity-header, rmail-mime-entity-body): Adjust for
957 (rmail-mime-entity-children, rmail-mime-entity-handler)
958 (rmail-mime-entity-tagline): New functions.
959 (rmail-mime-message-p): New function.
960 (rmail-mime-save): Bind rmail-mime-mbox-buffer.
961 (rmail-mime-entity-segment, rmail-mime-next-item)
962 (rmail-mime-previous-item, rmail-mime-shown-mode)
963 (rmail-mime-hidden-mode, rmail-mime-raw-mode)
964 (rmail-mime-toggle-raw, rmail-mime-toggle-hidden)
965 (rmail-mime-insert-tagline, rmail-mime-insert-header):
967 (rmail-mime-text-handler): Call rmail-mime-insert-text.
968 (rmail-mime-insert-decoded-text): New function.
969 (rmail-mime-insert-text): Call rmail-mime-insert-decoded-text.
970 (rmail-mime-insert-image): Argument changed. Caller changed.
971 (rmail-mime-image): Call rmail-mime-toggle-hidden.
972 (rmail-mime-set-bulk-data): New funciton.
973 (rmail-mime-insert-bulk): Argument changed.
974 (rmail-mime-multipart-handler): Return t.
975 (rmail-mime-process-multipart): Argument changed.
976 Handle "multipart/alternative" here.
977 (rmail-mime-process): Argument changed.
978 (rmail-mime-parse): Bind rmail-mime-mbox-buffer.
979 (rmail-mime-insert): Argument changed. Handle raw display mode.
980 (rmail-mime): Argument changed. Handle toggling of raw display
982 (rmail-show-mime): Bind rmail-mime-mbox-buffer and
983 rmail-mime-view-buffer.
984 (rmail-insert-mime-forwarded-message): Likewise.
985 (rmail-search-mime-message): Likewise. Don't bind rmail-buffer.
987 * mail/rmail.el (rmail-show-message-1): If rmail-enable-mime is
988 non-nil, handle the header in rmail-show-mime-function.
990 2011-01-02 Leo <sdl.web@gmail.com>
992 * help-fns.el (describe-variable): Fix previous change.
994 2011-01-02 Juri Linkov <juri@jurta.org>
996 * isearch.el (isearch-lazy-highlight-error): New variable.
997 (isearch-lazy-highlight-new-loop): Compare `isearch-error' and
998 `isearch-lazy-highlight-error'. Set `isearch-lazy-highlight-error'
999 to the current value of `isearch-error' (Bug#7468).
1001 2011-01-02 Chong Yidong <cyd@stupidchicken.com>
1003 * help-fns.el (describe-variable): Don't emit trailing whitespace
1006 2011-01-02 Chong Yidong <cyd@stupidchicken.com>
1008 * textmodes/rst.el (rst-compile-pdf-preview)
1009 (rst-compile-slides-preview): Use make-temp-file (Bug#7646).
1011 2011-01-02 Kevin Gallagher <Kevin.Gallagher@boeing.com>
1013 * emulation/edt-mapper.el: Override mapping of function keys so
1014 that the later call to read-key-sequence works.
1016 2011-01-02 Eli Zaretskii <eliz@gnu.org>
1018 * mail/smtpmail.el (smtpmail-send-it): Write queued mail body with
1019 Unix EOLs. (Bug#7589)
1021 2011-01-02 Leo <sdl.web@gmail.com>
1023 * eshell/em-hist.el (eshell-previous-matching-input): Signal error
1024 if point is not behind eshell-last-output-end (Bug#7585).
1026 2011-01-02 Stefan Monnier <monnier@iro.umontreal.ca>
1028 * files.el (file-local-variables-alist):
1029 Make permanent-local (bug#7767).
1031 2011-01-02 Glenn Morris <rgm@gnu.org>
1033 * version.el (emacs-copyright): Set short copyright year to 2011.
1035 2011-01-02 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
1037 * mail/mail-utils.el (mail-strip-quoted-names): Avoid clobbering
1038 an existing temp buffer. (Bug#7746)
1040 2011-01-02 Glenn Morris <rgm@gnu.org>
1042 * mail/mail-utils.el (mail-mbox-from): Handle From: headers with
1043 multiple addresses. (Bug#7760)
1045 2011-01-01 Ken Manheimer <ken.manheimer@gmail.com>
1047 * allout.el (allout-auto-fill): Do not infinitely recurse - use
1048 do-auto-fill if everything points back to allout-auto-fill.
1049 (allout-mode-deactivate-hook): Declare obsolete, in favor of
1050 standard-formed minor-mode deactivate hook, allout-mode-off-hook.
1052 2010-12-31 Michael Albinus <michael.albinus@gmx.de>
1054 * net/tramp-sh.el (tramp-methods): Add recursive options to "scpc"
1057 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
1059 * doc-view.el (doc-view-set-doc-type): New function refactored
1061 (doc-view-fallback-mode): New function.
1062 (doc-view-mode): Use it.
1063 (doc-view-mode-maybe): New function that checks if doc-view-mode
1064 can be used and falls back to the next best mode otherwise.
1066 * files.el (auto-mode-alist): Use doc-view-mode-maybe for PDF,
1067 DVI, OpenDocument, and MS Office files.
1069 2010-12-30 Andreas Schwab <schwab@linux-m68k.org>
1071 * emacs-lisp/rx.el (rx-syntax): Fix typo.
1073 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
1075 * doc-view.el (doc-view-toggle-display): Perform rassq-delete-all
1076 on a copy of auto-mode-alist, because that deletes with side
1079 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
1081 * doc-view.el (doc-view-mode, doc-view-toggle-display):
1082 Use normal-mode without doc-view-mode bindings in auto-mode-alist as
1083 fallback instead of hard coding fundamental mode.
1085 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
1087 * doc-view.el (doc-view-doc->txt): Handle OpenDocument (or MS
1088 Office) files also for searching.
1090 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
1092 * doc-view.el: Implement viewing of OpenDocument (and Microsoft
1093 Office) files. Not yet enabled via auto-mode-list.
1094 (doc-view-unoconv-program): New custom variable.
1095 (doc-view-mode-p): Handle new odf document type.
1096 (doc-view-odf->pdf): New conversion function.
1097 (doc-view-convert-current-doc): Call it for odf files.
1098 (doc-view-mode): Recognize newly supported file extensions.
1100 2010-12-30 Michael Albinus <michael.albinus@gmx.de>
1102 * net/tramp.el (tramp-default-method-alist)
1103 (tramp-default-user-alist)
1104 (tramp-local-host-regexp, tramp-prefix-domain-format)
1105 (tramp-prefix-domain-regexp): Set tramp-autoload cookie.
1108 * net/tramp-gvfs.el:
1110 * net/tramp-imap.el:
1112 * net/tramp-smb.el: Add tramp-autoload cookie for initialisation
1113 code of `tramp-default-method-alist' and `tramp-default-user-alist'.
1115 2010-12-29 Karl Fogel <kfogel@red-bean.com>
1117 * saveplace.el (save-place-alist-to-file): Save list sorted and
1118 pretty-printed, so that it is mergeable by line-based text merging,
1119 as suggested by Iain Dalton <iain.dalton {_AT_} gmail.com>.
1121 2010-12-28 Ken Manheimer <ken.manheimer@gmail.com>
1123 * allout.el (allout-v18/19-file-var-hack): Obsolete, remove.
1124 (allout-mode): Argument "toggle" => "force".
1125 Refine the docstring.
1126 Remove special provisions for reactivation, besides the 'force'
1128 Consolidate layout provisions coce directly into the activation
1129 condition branch, now that we've removed those provisions.
1130 (allout-unload-function): Explicitly activate the mode before
1131 deactivating, if it's initially deactivated.
1132 (allout-set-buffer-multibyte): Properly prevent byte-compiler
1133 warnings for version of function used only where
1134 set-buffer-multibyte is unavailable.
1136 2010-12-28 Chong Yidong <cyd@stupidchicken.com>
1138 * tool-bar.el (tool-bar-setup): Remove :enable conditions, which
1139 are handled by the menu-bar entries. As before, don't use
1140 :visibile to avoid changing the tool-bar.
1142 2010-12-27 Michael Albinus <michael.albinus@gmx.de>
1144 * net/secrets.el (secrets-delete-alias): New defun.
1146 2010-12-27 Michael Albinus <michael.albinus@gmx.de>
1148 * net/tramp.el (tramp-default-user-alist): Do not add "ssh" based
1149 methods, otherwise ~/.ssh/config would be ignored.
1151 2010-12-26 Stefan Monnier <monnier@iro.umontreal.ca>
1153 * emacs-lisp/rx.el: Make it a superset of sregex.
1154 (rx-constituents): Add `any => "."', mark `repeat' as taking any number
1155 of args, add `regex' alias.
1156 (rx-info): Add arg to distinguish head and standalone forms.
1157 (rx-check, rx-form): Pass the corresponding arg.
1159 (rx-repeat): Make it work for any number of args.
1160 (rx-syntax): Make it accept syntax chars as is.
1161 * obsolete/sregex.el: Move from emacs-lisp/.
1162 * emacs-lisp/re-builder.el: Remove sregex support.
1163 * emacs-lisp/edebug.el (sregexq, rx): Remove redundant defs.
1165 2010-12-25 Eli Zaretskii <eliz@gnu.org>
1167 * mouse.el (mouse-yank-primary): On MS-Windows, try the (emulated)
1168 PRIMARY first, then the clipboard. (Bug#7699)
1170 2010-12-22 Stefan Monnier <monnier@iro.umontreal.ca>
1172 * emacs-lisp/bytecomp.el (byte-compile-output-docform): Fix up use of
1175 2010-12-21 Chong Yidong <cyd@stupidchicken.com>
1177 * help-fns.el (find-lisp-object-file-name): Locate .emacs from
1178 .emacs.elc (Bug#7530).
1180 * wid-edit.el (widget-image-find): Remove bogus :ascent spec from
1181 image spec (Bug#7480).
1183 2010-12-21 Daiki Ueno <ueno@unixuser.org>
1185 * obsolete/pgg-parse.el, obsolete/pgg-pgp5.el, obsolete/pgg-pgp.el,
1186 * obsolete/pgg-gpg.el, obsolete/pgg-def.el, obsolete/pgg.el:
1189 2010-12-20 Leo <sdl.web@gmail.com>
1191 * dnd.el (dnd-get-local-file-name): Unhex of file name shall
1192 always be performed (Bug#7680).
1194 2010-12-20 Chong Yidong <cyd@stupidchicken.com>
1196 * menu-bar.el (menu-bar-kill-ring-save): Make obsolete.
1197 (menu-bar-edit-menu): Bind "Copy" to kill-ring-save. Don't use
1200 * color.el: Move from gnus/.
1202 * vc/diff.el (diff-better-file-name): Function deleted.
1203 abbreviating file names causes problems with shell-quote-argument.
1204 (diff-no-select): Just use expand-file-name.
1206 * tool-bar.el (tool-bar--image-expression): New function.
1207 (tool-bar-local-item, tool-bar--image-exp): Use it.
1208 (tool-bar-setup): Initialize tool-bar-separator-image-expression.
1209 Use :enable instead of :visible to avoid changing the tool-bar
1210 configuration unnecessarily.
1212 * info.el (info-tool-bar-map): Add separators.
1214 2010-12-17 Ken Brown <kbrown@cornell.edu>
1216 * loadup.el: Use version numbers in Cygwin build.
1218 2010-12-17 Ryan Twitchell <metatheorem@gmail.com> (tiny change)
1220 * ido.el (ido-file-internal): Ask for confirmation before
1221 overwriting an existing file (Bug#1238).
1223 2010-12-16 Chong Yidong <cyd@stupidchicken.com>
1225 * tool-bar.el (tool-bar-setup): Add separators.
1227 * menu-bar.el (featurep): Use menu-bar-separator.
1229 2010-12-16 Ken Manheimer <ken.manheimer@gmail.com>
1231 Migrate allout encryption provisions from pgg to epg.
1233 * allout.el (allout-toggle-current-subtree-encryption)
1234 (allout-toggle-subtree-encryption): Adjust docstrings to reflect
1235 defaulting policy and other changes. Change fetch-pass to keymode-cue,
1236 for simpler universal argument interpretation.
1237 (allout-toggle-subtree-encryption): Adjust docstring to describe
1238 changed encryption provisions. Change fetch-pass to keymode-cue, for
1239 simpler universal argument interpretation. Remove provisions for
1240 handling key type and identity - they'll all be within
1241 allout-encrypt-string or epg/epg or even contained all the way in gpg.
1242 (allout-encrypt-string): Include keymode-cue, for optionally prompting
1243 for keypair recipients (universal argument > 1) and, in addition,
1244 associating the specified recipients with the outline (universal
1245 argument > 4) using a file local variable setting for
1246 'epa-file-encrypt-to'.
1247 Require epa, for recipients handling.
1248 Change how regexp filtering elements are named.
1249 Describe the problem with caching of incorrect symmetric-decryption
1251 Use the epa-passphrase-callback-function, in case the user is using
1253 Support saving of the selected keypair recipients when invoked with a
1255 Remove obsolete arguments 'fetch-pass', 'target-cache-id', 'retried'.
1257 Establish epg-context with armoring and default epg-protocol.
1258 Remove all passphrase cache, verification, and hinting code.
1259 (allout-passphrase-verifier-handling, allout-passphrase-hint-handling):
1260 No longer used, delete.
1261 (allout-mode): Adjust docstring to describe changed encryption
1262 provisions. Describe the problem with caching of incorrect
1263 symmetric-decryption keys.
1264 (allout-obtain-passphrase, allout-epg-passphrase-callback-function)
1265 (allout-make-passphrase-state, allout-passphrase-state-passphrase)
1266 (allout-encrypted-key-info, allout-update-passphrase-mnemonic-aids)
1267 (allout-get-encryption-passphrase-verifier, allout-verify-passphrase):
1270 2010-12-16 Daiki Ueno <ueno@unixuser.org>
1272 * epa-file.el (epa-file-select-keys): Accept 'silent to inhibit
1273 key selection prompt; make 'silent as default (Bug#7487).
1275 2010-12-16 Leo <sdl.web@gmail.com>
1277 * eshell/eshell.el (eshell-directory-name):
1278 Use locate-user-emacs-file (Bug#7578).
1280 2010-12-15 Glenn Morris <rgm@gnu.org>
1282 * loadup.el (symbol-file-load-history-loaded): Remove; unused.
1284 2010-12-15 Jari Aalto <jari.aalto@cante.net>
1285 Scott Evans <gse@antisleep.com>
1287 * rect.el (rectange--default-line-number-format)
1288 (rectangle-number-line-callback): New functions.
1289 (rectangle-number-lines): New command, bound to C-x r N (Bug#4382).
1291 2010-12-15 Chong Yidong <cyd@stupidchicken.com>
1293 * rect.el (operate-on-rectangle-lines, string-rectangle-string):
1294 Delete unused variables.
1295 (move-to-column-force): Remove function obsolete since 21.2.
1297 2010-12-14 Michael Albinus <michael.albinus@gmx.de>
1299 * net/tramp.el (tramp-temp-buffer-file-name): Make it permanent-local.
1300 (tramp-handle-insert-file-contents): Do not set permanent-local
1303 * net/tramp-cache.el (tramp-persistency-file-name):
1304 Use `locate-user-emacs-file' if fboundp.
1306 * net/tramp-sh.el (tramp-methods): Add "ksu".
1307 (tramp-default-user-alist): Add "ksu". Use `regexp-opt' for
1310 2010-12-14 Glenn Morris <rgm@gnu.org>
1312 * progmodes/js.el: Doc't require font-lock, etags, or easymenu.
1313 (find-tag-marker-ring): Declare.
1314 (js-find-symbol): Require etags.
1316 * mail/sendmail.el: Don't require rmail or mailalias when compiling.
1318 (mail-alias-file): Don't autoload. Doc fix.
1319 (mail-bury-selects-summary, mail-send-nonascii): Don't autoload.
1320 (mail-mailer-swallows-blank-line): Default to nil. Doc fix.
1321 Mark as obsolete, and risky.
1322 (mail-setup): Simplify.
1324 * mail/mailalias.el (build-mail-aliases): Make it interactive.
1325 * mail/sendmail.el (build-mail-aliases): Update autoload.
1327 * dired.el (dired-trivial-filenames, dired-chown-program)
1328 (dired-auto-revert-buffer): Remove autoload cookies.
1329 * mail/sendmail.el (mail-recover-1): Require 'dired.
1331 * dired.el (dired-subdir-switches, dired-chown-program)
1332 (dired-use-ls-dired, dired-chmod-program, dired-touch-program):
1333 Make into defcustoms.
1334 (dired-chown-program): Simplify initialization.
1336 * mail/mail-utils.el: No need to require lisp-mode, it's in loadup.
1338 2010-12-13 Romain Francoise <romain@orebokech.com>
1340 * net/gnutls.el (gnutls-negotiate): Fix setting of default trustfiles.
1342 2010-12-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
1344 * net/netrc.el (netrc-point-at-eol): Remove the unused
1345 netrc-point-at-old and netrc-bound-and-true-p bindings.
1346 (netrc-parse): Cache the netrc contents.
1348 2010-12-13 Eli Zaretskii <eliz@gnu.org>
1350 * subr.el (posn-col-row): Evaluate header-line-format in the
1351 context of the POSITION window's buffer.
1353 2010-12-13 Glenn Morris <rgm@gnu.org>
1355 * subr.el (member-ignore-case, run-mode-hooks, insert-for-yank-1)
1356 (with-silent-modifications): Doc fixes.
1358 2010-12-13 Michael Albinus <michael.albinus@gmx.de>
1360 * net/tramp.el (tramp-action-password, tramp-process-actions):
1361 Revert previous from. Use `save-restriction'.
1363 2010-12-13 Stephen Berman <stephen.berman@gmx.net>
1365 * calendar/diary-lib.el (diary-list-sexp-entries):
1366 Handle case of no newline at end of file. (Bug#7536)
1368 2010-12-13 Glenn Morris <rgm@gnu.org>
1370 * mail/smtpmail.el (smtpmail-send-it): Revert previous change.
1372 2010-12-13 Michael Albinus <michael.albinus@gmx.de>
1374 * net/tramp.el (tramp-action-password): Delete region, do not narrow.
1375 (tramp-process-actions): Do not widen.
1377 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1378 Protect buffer-modified value. (Bug#7557)
1380 2010-12-13 Jan Moringen <jmoringe@techfak.uni-bielefeld.de>
1382 * log-edit.el (log-edit-changelog-entries):
1383 Regexp quote filename. (Bug#7505)
1385 2010-12-13 Tom Breton <tehom@panix.com>
1387 * cus-edit.el (custom-save-all):
1388 Bind print-length and print-level to nil. (Bug#7581)
1390 2010-12-13 Glenn Morris <rgm@gnu.org>
1392 * mouse.el (mouse-menu-major-mode-map, mouse-menu-bar-map):
1393 Run hooks to update menu contents. (Bug#7586)
1395 * mail/smtpmail.el (smtpmail-send-it): Avoid colons in the queued
1396 file names, for the sake of MS Windows. (Bug#7588)
1398 2010-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
1400 * diff-mode.el (diff-refine-hunk): Make it work when the hunk contains
1401 empty lines without a leading space.
1403 2010-12-13 Leo <sdl.web@gmail.com>
1405 * dired-aux.el (dired-do-redisplay): Postpone dired-after-readin-hook
1406 while mapping over marks (Bug#6810).
1408 2010-12-13 Chong Yidong <cyd@stupidchicken.com>
1410 * image-dired.el (image-dired-db-file)
1411 (image-dired-temp-image-file, image-dired-gallery-dir)
1412 (image-dired-temp-rotate-image-file): Set default values relative
1413 to image-dired-dir (Bug#7518).
1415 2010-12-13 Lawrence Mitchell <wence@gmx.li>
1417 * format.el (format-decode-run-method): Pass args FROM and TO, not
1418 point-min and point-max, to shell-command-on-region (Bug#7488).
1420 2010-12-13 Jan Djärv <jan.h.d@swipnet.se>
1422 * frame.el (blink-cursor-mode): Make default t for ns.
1424 2010-12-13 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
1426 * vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
1428 2010-12-13 Chong Yidong <cyd@stupidchicken.com>
1430 * comint.el (comint-dynamic-list-input-ring)
1431 (comint-dynamic-complete-filename)
1432 (comint-replace-by-expanded-filename)
1433 (comint-dynamic-simple-complete)
1434 (comint-dynamic-list-filename-completions)
1435 (comint-dynamic-list-completions): Doc fix (Bug#7499).
1437 * subr.el (posn-x-y, posn-object-x-y, posn-object-width-height):
1440 2010-12-13 Martin Rudalics <rudalics@gmx.at>
1442 * dired.el (dired-pop-to-buffer): Bind pop-up-frames to nil
1445 2010-12-13 W. Martin Borgert <debacle@debian.org> (tiny change)
1447 * files.el (auto-mode-alist): Handle .dbk (DocBook) with xml-mode.
1450 2010-12-13 Eli Zaretskii <eliz@gnu.org>
1452 * files.el (file-relative-name): Handle UNC file names on
1453 DOS/Windows. (Bug#4674)
1455 2010-12-13 Daiki Ueno <ueno@unixuser.org>
1457 * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
1458 "RIPEMD160" (Bug#7490). Reported by Daniel Kahn Gillmor.
1459 (epg-context-set-passphrase-callback): Mention that the callback
1460 is not called when used with GnuPG 2.x.
1462 2010-12-13 Glenn Morris <rgm@gnu.org>
1464 * ps-print.el (ps-line-lengths-internal, ps-nb-pages):
1465 Ensure ps-footer-font-size-internal is initialized.
1466 Call ps-get-page-dimensions before trying to use ps-font-for-text.
1468 2010-12-13 Kenichi Handa <handa@m17n.org>
1470 * mail/rmailmm.el (rmail-mime-parse): Call rmail-mime-process
1471 within condition-case.
1472 (rmail-show-mime): Don't use condition-case.
1473 (rmail-search-mime-message): New function.
1474 (rmail-search-mime-message-function): Set to
1475 rmail-search-mime-message.
1477 2010-12-13 Leo <sdl.web@gmail.com>
1479 * ido.el (ido-common-initialization): New function. (bug#3274)
1481 (ido-completing-read): Call it.
1483 2010-12-12 Karl Fogel <kfogel@red-bean.com>
1485 * bookmark.el (bookmark-name-from-full-record): Rename back to
1486 this original name from `bookmark-name-from-record' reverting part
1487 of 2010-12-08T08:09:27Z!kfogel@red-bean.com / kfogel@red-bean.com-20101208080927-5j9jqnb2xvcw4ogm.
1488 As Drew Adams pointed out, there was no reason to cause churn for
1489 third-party callers.
1491 2010-12-12 Alan Mackenzie <acm@muc.de>
1493 * progmodes/cc-engine.el (c-forward-type): Before scanning a
1494 template arglist, check that the current language supports this.
1496 2010-12-11 Glenn Morris <rgm@gnu.org>
1498 * vc/vc-bzr.el (vc-bzr-state-heuristic): Also check that the executable
1499 state of the file matches. (Bug#7544)
1500 (vc-bzr-register, vc-bzr-checkin)
1501 (vc-bzr-annotate-extract-revision-at-line): Doc fixes.
1502 (vc-directory-exclusion-list): Remove unnecessary eval-after-load.
1504 * textmodes/sgml-mode.el (sgml-xml-guess): Add .xhtml extension.
1506 2010-12-11 Karel Klíč <kklic@redhat.com>
1508 * files.el (auto-mode-alist): Use html-mode for *.xhtml. (Bug#7606)
1510 2010-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
1512 Derive from prog-mode, use derived-mode-p, and fix up various
1513 minor style issues in lisp/progmodes.
1515 * progmodes/vhdl-mode.el (vhdl-mode):
1516 * progmodes/verilog-mode.el (verilog-mode):
1517 * progmodes/vera-mode.el (vera-mode):
1518 * progmodes/sql.el (sql-mode):
1519 * progmodes/scheme.el (scheme-mode):
1520 * progmodes/perl-mode.el (perl-mode):
1521 * progmodes/octave-inf.el (inferior-octave-mode):
1522 * progmodes/autoconf.el (autoconf-mode):
1523 * progmodes/m4-mode.el (m4-mode):
1524 * progmodes/inf-lisp.el (inferior-lisp-mode):
1525 * progmodes/idlwave.el (idlwave-mode):
1526 * progmodes/icon.el (icon-mode):
1527 * progmodes/idlw-help.el (idlwave-help-mode):
1528 * progmodes/dcl-mode.el (dcl-mode):
1529 * progmodes/idlw-shell.el (idlwave-shell-mode):
1530 * progmodes/ebrowse.el (ebrowse-tree-mode, ebrowse-electric-list-mode)
1531 (ebrowse-member-mode, ebrowse-electric-position-mode):
1532 Use define-derived-mode.
1534 * progmodes/xscheme.el (exit-scheme-interaction-mode)
1535 (xscheme-enter-interaction-mode, xscheme-enter-debugger-mode)
1536 (xscheme-debugger-mode-p, xscheme-send-string-1):
1537 * progmodes/tcl.el (inferior-tcl-proc, tcl-current-word)
1538 (tcl-load-file, tcl-restart-with-file):
1539 * progmodes/ps-mode.el (ps-run-running):
1540 * progmodes/gdb-mi.el (gud-watch, gdb-mouse-set-clear-breakpoint):
1541 * progmodes/js.el (js--get-all-known-symbols):
1542 * progmodes/inf-lisp.el (inferior-lisp-proc):
1543 * progmodes/idlwave.el (idlwave-beginning-of-statement)
1544 (idlwave-template, idlwave-update-buffer-routine-info)
1545 (idlwave-update-current-buffer-info)
1546 (idlwave-get-routine-info-from-buffers, idlwave-choose)
1547 (idlwave-scan-class-info, idlwave-fix-keywords)
1548 (idlwave-list-buffer-load-path-shadows):
1549 * progmodes/idlw-toolbar.el (idlwave-toolbar, idlwave-toolbar-add)
1550 (idlwave-toolbar-remove):
1551 * progmodes/idlw-shell.el (idlwave-shell-save-and-action)
1552 (idlwave-shell-file-name, idlwave-shell-electric-debug-all-off)
1553 (idlwave-shell-menu-def):
1554 * progmodes/idlw-complete-structtag.el
1555 (idlwave-prepare-structure-tag-completion):
1556 * progmodes/gud.el (gud-set-buffer):
1557 * progmodes/f90.el (f90-backslash-not-special):
1558 * progmodes/delphi.el (delphi-find-unit): Use derived-mode-p.
1560 * progmodes/xscheme.el (xscheme-start)
1561 (local-set-scheme-interaction-buffer, scheme-interaction-mode):
1562 * progmodes/which-func.el (which-function):
1563 * progmodes/vhdl-mode.el (vhdl-set-style):
1564 * progmodes/verilog-mode.el (verilog-set-compile-command)
1565 (verilog-modify-compile-command, verilog-error-regexp-add-xemacs)
1566 (verilog-set-define, verilog-auto-reeval-locals):
1567 * progmodes/sql.el (sql-product-font-lock, sql-interactive-mode):
1568 * progmodes/simula.el (simula-mode):
1569 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
1570 * progmodes/python.el (python-check, python-mode):
1571 * progmodes/prolog.el (prolog-mode-variables):
1572 * progmodes/gud.el (gud-tooltip-activate-mouse-motions):
1573 * progmodes/ebrowse.el (ebrowse-view-file-other-frame):
1574 * progmodes/delphi.el (delphi-mode):
1575 * progmodes/cc-styles.el (c-setup-paragraph-variables):
1576 * progmodes/cc-mode.el (c-basic-common-init, c-common-init)
1577 (c-font-lock-init): Move make-local-variable to their setq.
1579 * progmodes/vhdl-mode.el (vhdl-write-file-hooks-init)
1580 (vhdl-hs-minor-mode, vhdl-ps-print-init): Fix make-local-variable ->
1582 * progmodes/sh-script.el (sh-require-final-newline): Remove.
1583 (sh-set-shell): Don't set require-final-newline since it's already done
1585 * progmodes/modula2.el (m2-mode): Don't make m2-end-comment-column
1586 since we never set it.
1587 * progmodes/ebrowse.el (ebrowse-set-tree-indentation):
1588 Use read-string and standard prompt.
1589 * progmodes/dcl-mode.el (dcl-mode-map): Move init into declaration.
1590 * progmodes/meta-mode.el (meta-mode-abbrev-table): Merge init and decl.
1591 (meta-common-mode-syntax-table): Rename from meta-mode-syntax-table.
1592 (meta-common-mode-map): Rename from meta-mode-map.
1593 Remove C-m binding, which is a user preference, not mode specific.
1594 (meta-common-mode): New major mode; replace meta-common-initialization.
1595 * progmodes/js.el (js-mode): Call syntax-propertize rather than messing
1596 around with font-lock.
1597 * progmodes/etags.el (select-tags-table-mode):
1598 Derive from special-mode.
1599 * progmodes/octave-mod.el (octave-mode):
1600 * progmodes/gdb-mi.el (gdb-inferior-io-mode, gdb-threads-mode)
1601 (gdb-memory-mode, gdb-disassembly-mode, gdb-breakpoints-mode)
1602 (gdb-frames-mode, gdb-locals-mode, gdb-registers-mode):
1603 Let define-derived-mode do its job.
1604 * progmodes/cpp.el (cpp-edit-mode-map):
1605 Move initialization into declaration.
1606 (cpp-edit-mode): Use define-derived-mode.
1607 (cpp-edit-load): Use derived-mode-p.
1608 * progmodes/mixal-mode.el (mixal-mode):
1609 * progmodes/f90.el (f90-mode):
1610 * progmodes/cfengine.el (cfengine-mode): Don't bother setting
1611 require-final-newline since prog-mode does it already.
1612 * progmodes/cc-cmds.el (c-update-modeline): Use match-string.
1613 * progmodes/asm-mode.el (asm-mode-map): Fix menu setup.
1614 * progmodes/antlr-mode.el: Require cc-mode upfront.
1615 (antlr-mode-syntax-table, antlr-action-syntax-table): Initialize in
1617 (antlr-directory-dependencies, antlr-show-makefile-rules):
1619 (antlr-language-option): Don't assume point-min==1.
1620 (antlr-mode): Use define-derived-mode.
1621 * progmodes/ada-mode.el: Use derived-mode-p.
1622 (ada-mode): Use define-derived-mode.
1623 Use hack-local-variables-hook.
1625 2010-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
1627 * textmodes/texinfo.el (texinfo-mode-map): Bind texinfo-insert-@end.
1628 (texinfo-mode): Don't disable adaptive-fill-mode.
1629 (texinfo-insert-block): Adjust cursor placement for blocks with arg.
1630 (texinfo-insert-@end, texinfo-insert-braces, texinfo-insert-@code)
1631 (texinfo-insert-@dfn, texinfo-insert-@email, texinfo-insert-@emph)
1632 (texinfo-insert-@example, texinfo-insert-@file, texinfo-insert-@item)
1633 (texinfo-insert-@kbd, texinfo-insert-@node, texinfo-insert-@noindent)
1634 (texinfo-insert-@quotation, texinfo-insert-@samp)
1635 (texinfo-insert-@strong, texinfo-insert-@table, texinfo-insert-@var)
1636 (texinfo-insert-@uref): Use define-skeleton.
1637 (texinfo-insert-@-with-arg): Delete.
1639 2010-12-10 Eli Zaretskii <eliz@gnu.org>
1641 * arc-mode.el (archive-zip-extract): If w32-quote-process-args is
1642 nil, do quote archive member names. (Bug#6144)
1644 2010-12-10 Glenn Morris <rgm@gnu.org>
1646 * files.el (diff-no-select): Declare.
1648 * mail/emacsbug.el (report-emacs-bug): Use mail-user-agent properties.
1649 (report-emacs-bug-create-existing-bugs-buffer): Avoid free variables.
1651 * comint.el (comint-input-ring-file-name): Doc fix.
1653 2010-12-09 Eli Zaretskii <eliz@gnu.org>
1655 * menu-bar.el (menu-bar-frame-for-menubar, menu-bar-positive-p):
1657 (menu-bar-showhide-menu) <menu-bar-mode, showhide-tool-bar>:
1658 Use them instead of `nil' and `>', respectively.
1659 (menu-bar-showhide-tool-bar-menu): Use menu-bar-frame-for-menubar
1661 (toggle-menu-bar-mode-from-frame): Use menu-bar-frame-for-menubar
1662 and menu-bar-positive-p instead of `nil' and `>', respectively.
1665 2010-12-09 Vinicius Jose Latorre <viniciusjl@ig.com.br>
1667 * whitespace.el (whitespace-newline-mode): Code fix.
1669 2010-12-09 Glenn Morris <rgm@gnu.org>
1671 * play/landmark.el (lm-print-y,s,noise-int, lm-print-y,s,noise):
1672 Rename functions without commas, update callers.
1674 2010-12-08 Jeff Dairiki <dairiki@dairiki.org> (tiny change)
1676 * whitespace.el (whitespace-cleanup-region):
1677 Clean up spaces before tabs. (Bug#7582)
1679 2010-12-08 Karl Fogel <kfogel@red-bean.com>
1681 * bookmark.el: Adjust parameter names and doc strings to resolve
1682 confusion over whether "bookmark" meant a bookmark name or a
1683 bookmark record. Along the way, shorten one function's name for
1684 similar reasons. (Issue #7548)
1685 (bookmark-name-from-record): New name for
1686 `bookmark-name-from-full-record'. All callers changed.
1687 (bookmark-get-bookmark, bookmark-get-bookmark-record)
1688 (bookmark-default-annotation-text, bookmark-prop-get, bookmark-prop-set)
1689 (bookmark-get-annotation, bookmark-set-annotation)
1690 (bookmark-get-filename, bookmark-set-filename)
1691 (bookmark-get-position, bookmark-set-position)
1692 (bookmark-get-front-context-string, bookmark-set-front-context-string)
1693 (bookmark-get-rear-context-string, bookmark-set-rear-context-string)
1694 (bookmark-get-handler, bookmark-edit-annotation, bookmark--jump-via)
1695 (bookmark-handle-bookmark, bookmark-location, bookmark-show-annotation):
1696 Rename `bookmark' parameter to `bookmark-name-or-record', to
1697 clearly show its role, and shorten or adjust doc strings accordingly.
1698 (bookmark-set-name): Same, and pass the parameter directly to
1699 `bookmark-get-bookmark' instead of redundantly doing the callee's work.
1700 (bookmark-default-annotation-text, bookmark-send-edited-annotation)
1701 (bookmark-relocate, bookmark-insert-location, bookmark-insert)
1702 (bookmark-delete): Rename `bookmark' parameter to `bookmark-name',
1703 and in some cases shorten doc string accordingly.
1704 (bookmark-rename): Change `old' and `new' parameters to `old-name'
1705 and `new-name', and adjust an internal variable to avoid confusion.
1706 (bookmark-jump, bookmark-jump-noselect): Clarify `bookmark'
1707 parameter in doc string.
1709 2010-12-08 Glenn Morris <rgm@gnu.org>
1711 * progmodes/gdb-mi.el (gdb): Try to initialize comint input history
1712 from gdb's history file. (Bug#7575)
1714 * mail/emacsbug.el (report-emacs-bug):
1715 Try to handle some other mail clients.
1717 2010-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
1719 * files.el (dir-locals-collect-variables): Don't let errors stop us.
1720 Use string-prefix-p.
1721 (file-name-version-regexp): New var.
1722 (file-name-sans-versions):
1723 * jka-cmpr-hook.el (jka-compr-build-file-regexp): Use it,
1724 (jka-compr-get-compression-info): Use dolist.
1725 (jka-compr-compression-info-list): Don't bother specifying
1726 version/backup regexps.
1728 2010-12-07 Tassilo Horn <tassilo@member.fsf.org>
1730 * simple.el (just-one-space): Make argument n default to 1 if
1733 2010-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
1735 * electric.el (electric-indent-post-self-insert-function):
1736 Delete trailing newlines even if we don't reindent.
1738 2010-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
1740 * minibuffer.el (completion-at-point): Remove the `arg'.
1741 * bindings.el (complete-symbol): Move back from minibuffer.el.
1743 2010-12-06 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1745 * simple.el (just-one-space): Delete newlines for negative arg.
1747 2010-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
1749 * ansi-color.el (ansi-color-unfontify-region): Replace by trivial def.
1750 (ansi-color-filter-apply): Simplify.
1751 (ansi-color-apply): Use `font-lock-face' rather than `face'.
1753 2010-12-05 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
1755 * vc/vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
1757 2010-12-04 Chong Yidong <cyd@stupidchicken.com>
1759 * dired.el (dired-use-ls-dired): Set default to a special
1760 "unspecified" value.
1761 (dired-insert-directory): When called the first time, check
1762 whether "ls --dired" succeeds and set dired-use-ls-dired (Bug#7546).
1764 2010-12-04 Tak Ota <Takaaki.Ota@am.sony.com>
1766 * replace.el: Add "collect" feature to occur.
1767 (occur-collect-regexp-history): New var.
1768 (occur-read-primary-args): Return a replace string for nlines,
1770 (occur): Extend the meaning of nlines.
1772 2010-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
1774 * progmodes/which-func.el (which-func-ff-hook): Log the error message.
1775 (which-func-update-1): Distinguish symbols from strings.
1776 (which-function): Stay within 80 columns.
1778 2010-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
1780 * subr.el (with-demoted-errors): Distinguish symbols from strings.
1782 * newcomment.el (comment-styles): Add docs to each style (bug#7509).
1784 (comment-style): Use comment-styles's docs to describe values.
1786 2010-12-03 Jan Djärv <jan.h.d@swipnet.se>
1788 * term/common-win.el (x-setup-function-keys): Restore ns-new-frame
1789 and ns-show-prefs (Bug#7535).
1791 * term/ns-win.el (global-map): Restore ns-new-frame and ns-show-prefs
1792 bindings (Bug#7535).
1794 2010-12-03 Glenn Morris <rgm@gnu.org>
1796 * nxml/nxml-mode.el: Require rng-nxml.
1797 (rng-nxml-mode-init, nxml-enable-unicode-char-name-sets):
1798 Remove declarations.
1800 * nxml/nxml-mode.el, nxml/nxml-outln.el, nxml/rng-loc.el:
1801 * nxml/rng-nxml.el, nxml/rng-valid.el:
1802 Remove leading `*' from defcustom docs.
1804 * startup.el (normal-top-level-add-subdirs-to-load-path): Simplify.
1805 (normal-top-level-add-to-load-path, tty-handle-args):
1806 Convert comments to basic doc-strings.
1808 * net/browse-url.el (browse-url-url-at-point)
1809 (browse-url-default-browser): Remove autoload cookies.
1811 * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
1812 Remove more undefined cl functions.
1814 * vc/diff.el (diff-sentinel): Make new arguments optional.
1815 * ibuf-ext.el (diff-sentinel): Update declaration.
1817 2010-12-03 Daiki Ueno <ueno@unixuser.org>
1819 * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
1820 "RIPEMD160" (Bug#7490). Reported by Daniel Kahn Gillmor.
1821 (epg-context-set-passphrase-callback): Mention that the callback
1822 is not called when used with GnuPG 2.x.
1824 2010-12-02 Michael Albinus <michael.albinus@gmx.de>
1826 * net/tramp.el (tramp-local-host-regexp): Add "localhost6".
1827 (tramp-file-name-port): Check also for `tramp-default-port'.
1828 (tramp-get-connection-name): New defun.
1829 (tramp-get-connection-process): Use it.
1830 (tramp-debug-message): Extend function exclude list.
1831 (tramp-drop-volume-letter): Fix doc string.
1833 * net/tramp-cmds.el: Remove solved todo item.
1837 * net/tramp-gvfs.el:
1839 * net/tramp-imap.el:
1840 * net/tramp-smb.el: Fix regexps added to `tramp-default-method-alist'
1841 and `tramp-default-user-alist', respectively.
1843 * net/tramp-gw.el (tramp-gw-open-connection):
1844 Use `tramp-get-connection-name' and `tramp-get-connection-buffer'.
1846 * net/tramp-imap.el (tramp-imap-make-iht): Use just
1847 `tramp-file-name-port'.
1849 * net/tramp-sh.el (tramp-methods): Add recursive options to "pscp"
1850 and "psftp". Exchange "%k" marker with options.
1851 (tramp-do-copy-or-rename-file, tramp-sh-handle-file-local-copy):
1852 Compute size of link target.
1853 (tramp-do-copy-or-rename-file-out-of-band). Move setting of
1854 `tramp-current-*' up due to gateway methods. Optimze computing of
1855 copy arguments. Use `tramp-get-connection-name' and
1856 `tramp-get-connection-buffer'. Improve debug messages.
1857 (tramp-compute-multi-hops): Remove port determination.
1858 (tramp-maybe-open-connection): Use `tramp-get-connection-name'.
1860 * net/trampver.el: Update release number.
1862 2010-12-02 Glenn Morris <rgm@gnu.org>
1864 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
1865 Avoid infinite loop over windows. (Bug#7492)
1867 * progmodes/flymake.el (flymake-check-file-limit):
1868 Allow nil to mean "no limit".
1869 (flymake-check-patch-master-file-buffer): Update for above change.
1870 Allow a .tex file-name extension to be optional.
1871 (flymake-master-tex-init): Also match \include statements.
1873 2010-11-30 Sam Steingold <sds@gnu.org>
1875 * nxml/nxml-mode.el (nxml-parent-document): Add a variable.
1876 (nxml-parent-document-set): A function to set `nxml-parent-document'.
1877 (nxml-mode): Define using `define-derived-mode' instead of `defun'.
1878 (nxml-mode-hook): Remove `defcustom' (auto-defined by
1879 define-derived-mode').
1880 * nxml/rng-valid.el (rng-dtd-trivial-p): Add a helper function for
1881 users who want to call `nxml-parent-document-set'.
1883 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
1885 * log-edit.el (log-edit-font-lock-keywords): Don't try matching
1886 stand-alone lines, since that is handled by log-edit-match-to-eoh
1889 2010-11-27 Eduard Wiebe <usenet@pusto.de>
1891 * dired.el (dired-get-filename): Replace backslashes with slashes
1892 in file names on MS-Windows, needed by `locate'. (Bug#7308)
1893 * locate.el (locate-default-make-command-line): Don't consider
1894 drive letter and root directory part of
1895 `directory-listing-before-filename-regexp'. (Bug#7308)
1896 (locate-post-command-hook, locate-post-command-hook): New defcustoms.
1898 2010-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
1900 * emacs-lisp/smie.el (smie-prec2->grammar): Simplify handling
1901 of :smie-open/close-alist.
1902 (smie-next-sexp): Make it accept a "start token" as argument.
1903 (smie-indent-keyword): Be careful not to misidentify tokens that span
1904 more than one line, as empty lines. Add argument `token'.
1906 2010-11-27 Kenichi Handa <handa@m17n.org>
1908 * mail/rmailmm.el (rmail-mime-insert-multipart): For unsupported
1909 multipart subtypes, insert all as usual.
1911 * mail/rmail.el: Require rfc2047.
1913 2010-11-27 Kenichi Handa <handa@m17n.org>
1915 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-type)
1916 (rmail-mime-entity-disposition)
1917 (rmail-mime-entity-transfer-encoding, rmail-mime-entity-header)
1918 (rmail-mime-entity-body, rmail-mime-entity-children): New functions.
1919 (rmail-mime-save): Handle the case that the button's `data' is a
1921 (rmail-mime-insert-text): New function.
1922 (rmail-mime-insert-image): Handle the case that DATA is a MIME entity.
1923 (rmail-mime-bulk-handler): Just call rmail-mime-insert-bulk.
1924 (rmail-mime-insert-bulk): New function mostly copied from the old
1925 rmail-mime-bulk-handler.
1926 (rmail-mime-multipart-handler): Just call rmail-mime-process-multipart.
1927 (rmail-mime-process-multipart): New function mostly copied from
1928 the old rmail-mime-multipart-handler.
1929 (rmail-mime-show): Just call rmail-mime-process.
1930 (rmail-mime-process): New function mostly copied from the old
1932 (rmail-mime-insert-multipart, rmail-mime-parse)
1933 (rmail-mime-insert, rmail-show-mime)
1934 (rmail-insert-mime-forwarded-message)
1935 (rmail-insert-mime-resent-message): New functions.
1936 (rmail-insert-mime-forwarded-message-function): Set to
1937 rmail-insert-mime-forwarded-message.
1938 (rmail-insert-mime-resent-message-function): Set to
1939 rmail-insert-mime-resent-message.
1941 * mail/rmailsum.el: Require rfc2047.
1942 (rmail-header-summary): Handle multiline Subject: field.
1943 (rmail-summary-line-decoder): Change the default to
1944 rfc2047-decode-string.
1946 * mail/rmail.el (rmail-enable-mime): Change the default to t.
1947 (rmail-mime-feature): Change the default to `rmailmm'.
1948 (rmail-quit): Delete the specifal code for rmail-enable-mime.
1949 (rmail-display-labels): Likewise.
1950 (rmail-show-message-1): Check rmail-enable-mime, and use
1951 rmail-show-mime-function for a MIME message. Decode the headers
1952 according to RFC2047.
1954 2010-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
1956 * progmodes/which-func.el (which-func-imenu-joiner-function):
1957 Return a string, as expected.
1958 (which-function-mode): Make sure we stop any previous timer before
1961 2010-11-27 Michael Albinus <michael.albinus@gmx.de>
1963 * net/tramp.el (tramp-default-method-alist)
1964 (tramp-default-user-alist, tramp-default-proxies-alist):
1965 Adapt custom options type. (Bug#7445)
1967 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
1969 * progmodes/python.el: Add Ipython support (Bug#5390).
1970 (python-shell-prompt-alist)
1971 (python-shell-continuation-prompt-alist): New options.
1972 (python--set-prompt-regexp): New function.
1973 (inferior-python-mode, run-python, python-shell):
1974 Require ansi-color. Use python--set-prompt-regexp to set the comint
1975 prompt based on the Python interpreter.
1976 (python--prompt-regexp): New var.
1977 (python-check-comint-prompt)
1978 (python-comint-output-filter-function): Use it.
1979 (run-python): Use a pipe (Bug#5694).
1981 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
1983 * progmodes/python.el (run-python): Doc fix.
1984 (python-keep-current-directory-in-path): New var (Bug#7454).
1986 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
1988 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
1989 Prompt user before actually printing.
1991 2010-11-27 Glenn Morris <rgm@gnu.org>
1993 * startup.el (package-enable-at-startup, package-initialize):
1994 Remove unnecessary declarations.
1996 2010-11-27 Eli Zaretskii <eliz@gnu.org>
1998 * international/characters.el (glyphless-char-display-control):
1999 Exclude newline and TAB from the c0-control group.
2001 2010-11-27 Glenn Morris <rgm@gnu.org>
2003 * mail/sendmail.el (build-mail-aliases): Doc fix for autoload.
2004 (expand-mail-aliases): Remove unnecessary autoload.
2006 * allout.el (allout-command-prefix, allout-mode-map): Declare.
2008 * shell.el (shell-dir-cookie-re): Move definition before use.
2010 * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
2011 Replace undefined CL functions.
2013 2010-11-26 Eli Zaretskii <eliz@gnu.org>
2015 * simple.el (prog-mode): Set bidi-paragraph-direction to
2018 * term/pc-win.el (x-get-selection-internal): Emulation for MS-DOS.
2020 2010-11-26 Glenn Morris <rgm@gnu.org>
2022 * calendar/diary-lib.el (diary-outlook-format-1): New function, so that
2023 diary-outlook-formats can be sensitive to calendar-date-style.
2024 (diary-outlook-formats): Simplify the default setting.
2025 (diary-from-outlook-internal): Pass subject and body as arguments.
2026 Use dolist rather than dotimes. Don't save the diary buffer.
2027 (diary-from-outlook-gnus, diary-from-outlook-rmail):
2028 Pass subject and body as explicit arguments to the -internal function.
2030 2010-11-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
2032 * mail/rfc2368.el (rfc2368-parse-mailto-url): Unfold URLs before
2033 parsing them. This makes mailto:...?subject=foo\nbar work.
2035 2010-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
2037 * vc/diff.el (diff): Fix last change.
2039 2010-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
2041 * emacs-lisp/pcase.el: Improve pcase-let. Use "pcase--" prefix.
2042 (pcase--dontcare-upats): New var.
2043 (pcase-let, pcase-let*): Generate better code.
2044 Accept the same bodies as `let'.
2045 (pcase-dolist): New macro.
2046 (pcase--trivial-upat-p): New helper function.
2047 (pcase--expand): Strip leading "(let nil" if any.
2049 2010-11-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
2051 * mail/mailclient.el (browse-url): Require.
2052 (mailclient-send-it): Bind `browse-url-mailto-function' to nil to
2053 use the external browser function to send the mail (bug#7469).
2055 * net/browse-url.el (browse-url-browser-function): Revert the
2056 default back to the previous value, since the new value broke
2058 (browse-url-mailto-function): New variable for mailto: URLs.
2059 (browse-url): Use the new variable for mailto: URLs.
2061 2010-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
2063 * eshell/esh-cmd.el (eshell-parse-command):
2064 * eshell/esh-arg.el (eshell-parse-arguments):
2065 * eshell/em-script.el (eshell-source-file):
2066 Use with-silent-modifications.
2068 2010-11-23 Chong Yidong <cyd@stupidchicken.com>
2070 * vc/vc.el (vc-merge): Remove optional arg PROMPT. Always prompt
2071 for a merge location.
2073 * vc/vc-bzr.el (vc-bzr-pull): Remove unused var.
2074 (vc-bzr-merge-branch): Always prompt.
2075 (vc-bzr-async-command): Use the full branch filename.
2077 2010-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
2079 * shell.el (shell): Use current-buffer by default if it's already
2080 a shell mode buffer and its process is dead.
2081 Suggested by Jose E. Marchesi <jemarch@gnu.org>.
2083 2010-11-23 Tassilo Horn <tassilo@member.fsf.org>
2085 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
2086 Mention that the keywords should be comma separated.
2088 2010-11-23 Chong Yidong <cyd@stupidchicken.com>
2090 * vc/vc.el (vc-merge): Use vc-BACKEND-merge-branch if available.
2091 Accept optional prefix arg meaning to prompt for a command.
2092 (vc-update): Use vc-BACKEND-pull if available. Accept optional
2093 prefix arg meaning to prompt for a command.
2094 (vc-pull): Alias for vc-update.
2096 * vc/vc-bzr.el (vc-bzr-admin-branchconf, vc-bzr-history): New vars.
2097 (vc-bzr--branch-conf, vc-bzr-async-command, vc-bzr-pull)
2098 (vc-bzr-merge-branch): New functions, implementing merge-branch
2099 and pull operations.
2101 2010-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
2103 * Makefile.in: Fix up last merge.
2105 * vc/diff.el (diff-old-temp-file, diff-new-temp-file): Remove.
2106 (diff-sentinel): Get them as arguments instead.
2107 (diff-old-file, diff-new-file, diff-extra-args): Remove.
2108 (diff-file-local-copy, diff-better-file-name): New funs.
2109 (diff-no-select): Rename from diff-into-buffer.
2110 Support buffers additionally to files. Move `buf' arg. Don't display buf.
2111 Prefer closures to buffer-local variables.
2112 (diff): Adjust accordingly.
2113 (diff-buffer-with-file): Move from files.el.
2114 * files.el (diff-buffer-with-file): Move to vc/diff.el.
2115 (diff-buffer-internal): Remove.
2116 (diff-buffer-buffer): Remove.
2117 (save-some-buffers-action-alist): Use diff-no-select so as not to guess
2118 the buffer name used, and so as not to mess up windows and frames.
2120 2010-11-22 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
2122 * files.el: Make revert work with diff-buffer-with-file (bug#7277).
2123 (diff-buffer-internal): New function extracted from diff-buffer-with-file
2124 (diff-buffer-with-file): Use it.
2125 * vc/diff.el (diff-into-buffer): New fun, extracted from diff.
2128 2010-11-22 Tassilo Horn <tassilo@member.fsf.org>
2130 * textmodes/reftex-ref.el (reftex-goto-label): Use the current
2131 \ref's or \pageref's value as default instead of initial input.
2133 2010-11-21 Michael Albinus <michael.albinus@gmx.de>
2135 * files.el (backup-by-copying-when-mismatch): The default value is
2138 * startup.el (normal-top-level):
2139 * net/tramp.el (tramp-handle-insert-file-contents): Do not set
2140 `backup-by-copying-when-mismatch'.
2142 2010-11-21 Jan Djärv <jan.h.d@swipnet.se>
2144 * tool-bar.el (tool-bar-setup): Remove save as, print and customize.
2146 2010-11-21 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2148 * progmodes/python.el (python-font-lock-keywords):
2149 Highlight top-level augmented assignments (Bug#6445).
2151 2010-11-21 Jan Djärv <jan.h.d@swipnet.se>
2153 * term/ns-win.el (ns-right-control-modifier)
2154 (ns-right-command-modifier): Defvar them.
2156 * cus-start.el (all): Add ns-right-control-modifier and
2157 ns-right-command-modifier (Bug#7458).
2159 2010-11-20 Glenn Morris <rgm@gnu.org>
2161 * emacs-lisp/authors.el (authors-ignored-files)
2162 (authors-valid-file-names, authors-renamed-files-alist): Add entries.
2164 2010-11-20 Tassilo Horn <tassilo@member.fsf.org>
2166 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs)
2167 (report-emacs-bug-parse-query-results)
2168 (report-emacs-bug-create-existing-bugs-buffer): Pass through
2169 keywords used for querying the bug database to show them in the
2170 existing bugs buffer.
2172 2010-11-20 Jan Djärv <jan.h.d@swipnet.se>
2174 * tool-bar.el (tool-bar-setup): Add some :vert-only keywords.
2176 * info.el (info-tool-bar-map): Add some :vert-only keywords.
2178 2010-11-20 Eli Zaretskii <eliz@gnu.org>
2180 * international/characters.el (glyphless-char-display-control):
2181 Make it a defcustom, with update-glyphless-char-display as its
2183 (top level): Don't call update-glyphless-char-display.
2185 2010-11-20 Michael Albinus <michael.albinus@gmx.de>
2187 Sync with Tramp 2.2.0.
2189 * net/tramp.el (tramp-handle-insert-file-contents): Don't use
2190 `file-remote-p' (due to compatibility).
2192 * net/tramp-sh.el (tramp-do-copy-or-rename-file-directly)
2193 (tramp-do-copy-or-rename-file-out-of-band): Use `ignore-errors'.
2195 * net/trampver.el: Update release number.
2197 2010-11-20 Eli Zaretskii <eliz@gnu.org>
2199 * faces.el (glyphless-char): Define value for `pc'.
2201 2010-11-20 Tassilo Horn <tassilo@member.fsf.org>
2203 Implemented a bug querying mechanism.
2204 * mail/emacsbug.el (report-emacs-bug-tracker-url): New variable.
2205 (report-emacs-bug-create-existing-bugs-buffer)
2206 (report-emacs-bug-parse-query-results)
2207 (report-emacs-bug-query-existing-bugs): New functions.
2209 2010-11-19 Tassilo Horn <tassilo@member.fsf.org>
2211 * textmodes/reftex-ref.el (reftex-goto-label): If point is inside
2212 a \ref{} or \pageref{} macro, then use its value as initial input.
2214 2010-11-19 Jay Belanger <jay.p.belanger@gmail.com>
2216 * calc/calc-units.el (math-build-units-table-buffer):
2217 calc/README: Mention that the TeX specific units won't use the
2218 `tex' prefix in TeX mode.
2219 calc/calc-lang.el (math-variable-table): Don't use the `tex'
2220 prefix for units in TeX mode.
2222 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2224 * simple.el (kill-new, kill-append, kill-region):
2225 * comint.el (comint-kill-region): Make the yank-handler argument
2228 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2230 * emacs-lisp/smie.el (smie-bnf-classify): Signal errors for tokens
2231 that are both openers (resp. closers) and something else.
2232 (smie-grammar): Loosen definition of valid values.
2233 (smie-next-sexp, smie-down-list, smie-blink-matching-open)
2234 (smie-indent--parent, smie-rule-parent, smie-indent-keyword)
2235 (smie-indent-after-keyword): Adjust users.
2236 (smie-indent-keyword): Don't indent empty lines.
2238 * vc-hg.el (vc-hg-program): New var.
2239 Suggested by Norman Gray <norman@astro.gla.ac.uk>.
2240 (vc-hg-state, vc-hg-working-revision, vc-hg-command): Use it.
2242 2010-11-18 Glenn Morris <rgm@gnu.org>
2244 * emacs-lisp/autoload.el (autoload-find-destination): The function
2245 coding-system-eol-type may return non-numeric values. (Bug#7414)
2247 2010-11-18 Ulrich Mueller <ulm@gentoo.org>
2249 * server.el (server-force-stop): Ensure the server is stopped (Bug#7409).
2251 2010-11-18 Eli Zaretskii <eliz@gnu.org>
2253 * subr.el (posn-col-row): Pay attention to header line. (Bug#7390)
2255 2010-11-18 Chong Yidong <cyd@stupidchicken.com>
2257 * textmodes/picture.el (picture-mouse-set-point): Don't use
2258 posn-col-row; explicitly compute the motion based on the posn at
2259 the window-start (Bug#7390).
2261 2010-11-18 Glenn Morris <rgm@gnu.org>
2263 * novice.el (disabled-command-function):
2264 Fix 2009-11-15 change. (Bug#7384)
2266 2010-11-18 Glenn Morris <rgm@gnu.org>
2268 * calendar/calendar.el (diary-iso-date-forms): Make elements
2269 mutually exclusive. (Bug#7377)
2271 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2273 * emacs-lisp/smie.el (smie-prec2->grammar): Obey equality constraints
2274 when filling the remaining "unconstrained" values.
2276 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2278 * emacs-lisp/bytecomp.el (byte-compile-warnings): Simplify the
2281 * files.el (safe-local-variable-p): Gracefully handle errors.
2283 * emacs-lisp/smie.el (smie-rule-parent, smie-indent--rule):
2284 Use smie-indent-virtual when indenting relative to an opener.
2285 (smie-rule-separator): Use smie-rule-parent.
2286 (smie-indent-keyword): Consult rules, even for openers at bol.
2287 (smie-indent-comment-close): Try to align closer's content.
2289 2010-11-18 Glenn Morris <rgm@gnu.org>
2291 * ls-lisp.el (ls-lisp-dired-ignore-case): Make it an obsolete alias.
2293 2010-11-18 Glenn Morris <rgm@gnu.org>
2295 * printing.el (pr-menu-bind): Doc fix.
2297 * speedbar.el (speedbar-toggle-images): Doc fix.
2299 * progmodes/python.el (python-shell): Doc fix.
2301 * wid-edit.el (widget-field-use-before-change)
2302 (widget-use-overlay-change): Doc fixes.
2304 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2306 Minor cleanup to improve style.
2307 * textmodes/rst.el (rst-update-section): Use point-marker.
2308 (rst-get-decoration): Eliminate unneeded assignment.
2309 (rst-promote-region, rst-straighten-decorations)
2310 (rst-section-tree, rst-adjust): Use point-marker.
2311 (rst-toc-mode-mouse-goto): Avoid setq.
2312 (rst-shift-region-guts, rst-shift-region-left)
2313 (rst-iterate-leftmost-paragraphs, rst-iterate-leftmost-paragraphs-2)
2314 (rst-convert-bullets-to-enumeration): Use copy-marker.
2316 * minibuffer.el (completion-fail-discreetly): New var.
2317 (completion--do-completion): Use it.
2319 * electric.el (electric-pair-pairs): New var.
2320 (electric-pair-post-self-insert-function): Use it.
2321 (electric-layout-post-self-insert-function): Don't insert a before
2322 newline unless it's actually needed.
2324 2010-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
2326 * progmodes/python.el (run-python): Explain why we remove the current
2327 directory from sys.path. Suggested by Eric Hanchrow <erich@cozi.com>.
2329 * progmodes/grep.el (grep-regexp-alist): Tighten the regexp (bug#7378).
2331 2010-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
2333 * progmodes/octave-mod.el: Rely on elecric-*-modes.
2334 (octave-mode-map): Don't bind ;, SPC, and LF.
2335 (octave-auto-indent, octave-auto-newline): Remove.
2336 (electric-layout-rules): Declare.
2337 (octave-mode): Set electric-layout-rules.
2338 (octave-indent-new-comment-line): Use reindent-then-newline-and-indent.
2339 (octave-reindent-then-newline-and-indent, octave-electric-semi)
2340 (octave-electric-space): Remove.
2342 * electric.el (electric-layout-mode): New minor mode.
2343 (electric--after-char-pos): New function.
2344 (electric-indent-post-self-insert-function): Use it.
2345 (electric-layout-rules): New var.
2346 (electric-layout-post-self-insert-function): New function.
2347 (electric-indent-mode): Make them interact better.
2349 2010-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
2351 * emacs-lisp/checkdoc.el (checkdoc-syntax-table): Fix last change.
2352 (checkdoc-sentencespace-region-engine, checkdoc-this-string-valid)
2353 (checkdoc-proper-noun-region-engine): Use with-syntax-table.
2355 2010-11-15 Agustín Martín <agustin.martin@hispalinux.es>
2357 * textmodes/flyspell.el (flyspell-generic-progmode-verify):
2358 Make sure to check inside the word (Bug#6761).
2360 2010-11-14 Chong Yidong <cyd@stupidchicken.com>
2362 * startup.el (command-line): If the cursorColor resource is set,
2363 change the cursor face-spec (Bug#7392).
2365 2010-11-13 Ken Manheimer <ken.manheimer@gmail.com>
2367 The main features of the following allout.el changes are:
2368 - implement user customization for the allout key bindings
2369 - add a customization control by which the user can inhibit use of
2370 a trailing Ctrl-H, so by default it's reserved for use with
2371 describe-prefix-bindings
2372 - adapt to new version of called-interactively-p, while
2373 maintaining backwards compatibility with old version
2374 - fix hotspot navigation so i works properly with meta-modified keys
2376 * allout.el (allout-keybindings, allout-bind-keys)
2377 (allout-keybindings-binding, allout-prefixed-keybindings)
2378 (allout-unprefixed-keybindings, allout-preempt-trailing-ctrl-h)
2379 (allout-keybindings-list, allout-mode-map-adjustments)
2380 (allout-setup-mode-map): Establish allout-mode keymaps as user
2381 customizable settings, and also establish a customizable setting which
2382 regulates whether or not a trailing control-h is reserved for use with
2383 describe-prefix-bindings - and inhibit it by default, so that control-h
2384 *is* reserved for describe-prefix-bindings unless the user changes it.
2386 * allout.el (allout-hotspot-key-handler): Distinguish more explicitly
2387 and accurately between modified and unmodified events, and handle
2388 modified events more comprehensively.
2390 * allout.el (allout-substring-no-properties):
2391 Alias to use or provide version of `substring-no-properties'.
2392 (allout-solicit-alternate-bullet): Use `allout-substring-no-properties'.
2394 * allout.el (allout-next-single-char-property-change):
2395 Alias to use or provide version of `next-single-char-property-change'.
2396 (allout-annotate-hidden, allout-hide-by-annotation):
2397 Use `allout-next-single-char-property-change'.
2399 * allout.el (allout-select-safe-coding-system):
2400 Alias to use or provide version of `select-safe-coding-system'.
2401 (allout-toggle-subtree-encryption):
2402 Use `allout-select-safe-coding-system'.
2404 * allout.el (allout-set-buffer-multibyte):
2405 Alias to use or provide version of `set-buffer-multibyte'.
2406 (allout-encrypt-string): Use `allout-set-buffer-multibyte'.
2408 * allout.el (allout-called-interactively-p): Macro for using the
2409 different versions of called-interactively-p identically, depending on
2410 the subroutine's argument signature.
2411 (allout-back-to-current-heading, allout-beginning-of-current-entry):
2412 Use `(interactive "p")' instead of `(called-interactively-p)'.
2414 * allout.el (allout-init, allout-ascend, allout-end-of-level)
2415 (allout-previous-visible-heading, allout-forward-current-level)
2416 (allout-backward-current-level, allout-show-children):
2417 Use `allout-called-interactively-p' instead of `called-interactively-p'.
2419 * allout.el (allout-before-change-handler):
2420 Exempt edits to the (overlaid) character after the allout outline
2421 bullet from edit confirmation prompt.
2423 * allout.el (allout-add-resumptions):
2424 Ensure that it respects correct buffer for keybindings.
2426 * allout.el (allout-beginning-of-line):
2427 Use `allout-previous-single-char-property-change' alias for the sake of
2428 diverse compatibility.
2430 * allout.el (allout-end-of-line):
2431 Use `allout-mark-active-p' to encapsulate respect for mark activity.
2433 2010-11-13 Chong Yidong <cyd@stupidchicken.com>
2435 * frame.el (frame-notice-user-settings): Don't clobber other
2436 user-set parameters when calling face-set-after-frame-default in
2437 response to background-color parameter (Bug#7373).
2439 2010-11-13 Eli Zaretskii <eliz@gnu.org>
2441 * international/characters.el (glyphless-char-display-control):
2442 Rename from glyphless-char-control; all users changed. Doc fix.
2443 Signal an error if display method is not one of the recognized
2446 2010-11-13 Michael Albinus <michael.albinus@gmx.de>
2448 * net/tramp-compat.el (tramp-compat-line-beginning-position)
2449 (tramp-compat-line-end-position): Remove them.
2451 * net/tramp.el (tramp-parse-rhosts-group)
2452 (tramp-parse-shosts-group, tramp-parse-sconfig-group)
2453 (tramp-parse-hosts-group, tramp-parse-passwd-group)
2454 (tramp-parse-netrc-group, tramp-parse-putty-group)
2455 * net/tramp-cmds.el (tramp-append-tramp-buffers)
2456 * net/tramp-sh.el (tramp-do-file-attributes-with-ls)
2457 (tramp-sh-handle-file-selinux-context)
2458 (tramp-sh-handle-file-name-all-completions)
2459 (tramp-sh-handle-insert-directory)
2460 (tramp-sh-handle-expand-file-name, tramp-find-executable)
2461 (tramp-wait-for-output, tramp-send-command-and-read)
2462 * net/tramp-smb.el (tramp-smb-read-file-entry)
2463 (tramp-smb-get-cifs-capabilities): Use `point-at-eol'.
2465 * net/tramp-sh.el (tramp-sh-handle-insert-directory) Use
2467 (tramp-remote-coding-commands): Add an alternative using "base64
2468 -d -i". This is needed for older base64 versions from GNU
2469 coreutils. Reported by Klaus Reichl
2470 <Klaus.Reichl@thalesgroup.com>.
2472 2010-11-13 Hrvoje Niksic <hniksic@xemacs.org>
2474 * simple.el (count-words-region): New function.
2476 2010-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
2478 * shell.el (shell-dir-cookie-re): New custom variable.
2479 (shell-dir-cookie-watcher): New function.
2481 * vc/vc.el (vc-deduce-backend): Use default-directory in shell-mode
2482 and compilation-mode (bug#7350).
2484 * vc/smerge-mode.el (smerge-refine): Choose better default part to
2485 highlight when one of them is empty.
2487 * skeleton.el (skeleton-read): Don't use `newline' since it may strip
2489 (skeleton-newline): New function.
2490 (skeleton-internal-1): Use it.
2492 * simple.el (open-line): `newline' may strip trailing space.
2494 2010-11-12 Kevin Ryde <user42@zip.com.au>
2496 * international/mule-cmds.el (princ-list): Use mapc.
2498 2010-11-12 Glenn Morris <rgm@gnu.org>
2500 * emacs-lisp/bytecomp.el (byte-compile-log-buffer): New constant.
2501 Use it to replace all instances of "*Compile-Log*"
2503 2010-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
2505 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Add debug and
2508 2010-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2510 * progmodes/modula2.el: Use SMIE and skeleton.
2511 (m2-mode-syntax-table): (*..*) can be nested.
2512 Add //...\n. Fix paren syntax.
2513 (m2-mode-map): Remove LF and TAB bindings.
2514 (m2-indent): Add safety property.
2515 (m2-smie-grammar): New var.
2516 (m2-smie-refine-colon, m2-smie-refine-of, m2-smie-backward-token)
2517 (m2-smie-forward-token, m2-smie-refine-semi, m2-smie-rules): New funs.
2518 (m2-mode): Use define-derived-mode.
2519 (m2-newline, m2-tab): Remove.
2520 (m2-begin, m2-case, m2-definition, m2-else, m2-for, m2-header)
2521 (m2-if, m2-loop, m2-module, m2-or, m2-procedure, m2-with, m2-record)
2522 (m2-stdio, m2-type, m2-until, m2-var, m2-while, m2-export)
2523 (m2-import): Use define-skeleton.
2525 2010-11-11 Glenn Morris <rgm@gnu.org>
2527 * obsolete/lucid.el: Don't warn about any CL functions in this file.
2529 * ls-lisp.el (ls-lisp-ignore-case, ls-lisp-dirs-first)
2530 (ls-lisp-verbosity): Add custom :set-after property.
2531 (ls-lisp-verbosity, ls-lisp-use-localized-time-format): Doc fixes.
2532 (ls-lisp-format, ls-lisp-format-time): Don't take `now' as an argument.
2533 (ls-lisp-insert-directory): Update caller.
2534 (ls-lisp-set-options): New function.
2535 (ls-lisp-emulation): Use ls-lisp-set-options for custom :set.
2538 * play/landmark.el (lm-prompt-for-move):
2539 * play/gomoku.el (gomoku-prompt-for-move): Remove nonsensical code.
2541 * progmodes/idlw-complete-structtag.el: Remove unused dec `name'.
2543 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins)
2544 (idlwave-study-twins): Prefix dynamic local variable `name'.
2545 (idlwave-routine-twin-compare): Update for above change.
2547 * progmodes/idlw-help.el (idlwave-do-mouse-completion-help):
2548 Prefix dynamic local variables `name', `kwd', and `link'.
2549 * progmodes/idlw-shell.el (idlwave-shell-complete-execcomm-help):
2550 * progmodes/idlw-complete-structtag.el
2551 (idlwave-complete-structure-tag-help):
2552 * progmodes/idlwave.el (idlwave-complete-sysvar-help)
2553 (idlwave-complete-sysvar-tag-help)
2554 (idlwave-complete-class-structure-tag-help):
2555 Update for above name changes.
2557 2010-11-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
2559 * net/browse-url.el (browse-url-browser-function): Change the
2560 default to use `browse-url-mail' on mailto: URLs.
2562 2010-11-10 Chong Yidong <cyd@stupidchicken.com>
2564 * emacs-lisp/package.el (package-read-all-archive-contents):
2565 Reset package-archive-contents to nil before re-reading.
2567 2010-11-10 Brandon Craig Rhodes <brandon@rhodesmill.org> (tiny change)
2569 * textmodes/flyspell.el (flyspell-word): Do not re-check words
2570 already found as misspellings by (flyspell-large-region), just
2571 do highlighting (bug#7322).
2573 2010-11-10 Glenn Morris <rgm@gnu.org>
2575 * progmodes/octave-mod.el (octave-mark-block): Update for smie change.
2577 * emulation/edt.el (edt-with-position): New macro.
2578 (edt-find-forward, edt-find-backward, edt-find-next-forward)
2579 (edt-find-next-backward, edt-sentence-forward, edt-sentence-backward)
2580 (edt-paragraph-forward, edt-paragraph-backward): Use it.
2582 * emulation/tpu-extras.el (tpu-with-position): New macro.
2583 (tpu-paragraph, tpu-page, tpu-search-internal): Use it.
2585 * textmodes/texnfo-upd.el (texinfo-pointer-name): Fix typo.
2587 * textmodes/texnfo-upd.el (texinfo-all-menus-update)
2588 (texinfo-menu-copy-old-description, texinfo-start-menu-description)
2589 (texinfo-master-menu, texinfo-insert-node-lines)
2590 (texinfo-multiple-files-update):
2591 * textmodes/texinfmt.el (texinfo-append-refill, texinfo-copying):
2592 Use line-beginning-position.
2594 * progmodes/cperl-mode.el (cperl-find-pods-heres, cperl-write-tags):
2595 No recent Emacs supports system-type `emx'.
2597 * progmodes/ada-xref.el (is-windows): Rename to ada-on-ms-windows.
2598 (ada-command-separator, ada-default-prj-properties)
2599 (ada-find-any-references): Update for above name change.
2601 * dirtrack.el (dirtrack-directory-function)
2602 (dirtrack-canonicalize-function):
2603 * filecache.el (file-cache-completion-ignore-case)
2604 (file-cache-case-fold-search, file-cache-ignore-case):
2605 * term.el (serial-port-is-file-p): Cosmetic change.
2607 * emulation/viper-init.el (viper-ms-style-os-p): Doc fix.
2608 Remove non-existent `windows-95' system-type.
2609 * dired.el (dired-chown-program): Remove non-existent `linux'
2612 * net/net-utils.el (net-utils-remove-ctl-m): Use memq for system-types.
2613 (ping-program-options): Remove non-existent `linux' system-type.
2615 * startup.el (package-initialize): Update declaration.
2617 * ls-lisp.el (ls-lisp-time-lessp, ls-lisp-time-to-seconds): Remove.
2618 (ls-lisp-handle-switches): Use time-less-p.
2619 (ls-lisp-format-time): Use float-time.
2621 * textmodes/remember.el (remember-time-to-seconds): Remove.
2622 (remember-store-in-mailbox): Use float-time.
2624 * calendar/timeclock.el (timeclock-time-to-seconds): Make it an alias.
2626 * calendar/time-date.el (time-to-seconds): Always an alias on Emacs,
2627 never a real function.
2628 (with-no-warnings): Remove compat stub, now unused.
2629 (time-less-p): Doc fix.
2630 (time-to-number-of-days): Simplify.
2632 * eshell/esh-util.el (eshell-time-less-p, eshell-time-to-seconds):
2634 (eshell-read-passwd, eshell-read-hosts): Use time-less-p.
2635 * eshell/esh-test.el (eshell-test, eshell-show-usage-metrics):
2636 * eshell/em-unix.el (eshell-show-elapsed-time, eshell/time):
2637 * eshell/em-pred.el (eshell-pred-file-time): Use float-time.
2638 * eshell/em-ls.el (eshell-ls-sort-entries): Use time-less-p.
2640 * eshell/em-unix.el (eshell-remove-entries, eshell/rm)
2641 (eshell-shuffle-files, eshell-shorthand-tar-command)
2642 (eshell-mvcpln-template, eshell/mv, eshell/cp, eshell/ln):
2643 Prefix dynamic locals `interactive', `preview', `recursive', `verbose'.
2644 * eshell/em-glob.el (eshell-extended-glob, eshell-glob-entries):
2645 Prefix dynamic local variable `matches'.
2647 * skeleton.el (skeleton-internal-list, skeleton-internal-1):
2648 Prefix dynamic local variable `skeleton'.
2650 2010-11-10 Katsumi Yamaoka <yamaoka@jpl.org>
2652 * net/browse-url.el (browse-url-mail): Insert body part of mailto url
2653 in mail buffer; make yank-action always a command that yanks original
2656 2010-11-09 Glenn Morris <rgm@gnu.org>
2658 * progmodes/tcl.el (tcl-hairy-scan-for-comment): Doc fix.
2660 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
2662 * minibuffer.el (minibuffer-completion-help): Specify the end of the
2663 completion field (bug#7211).
2665 * progmodes/python.el (python-font-lock-syntactic-keywords): (bug#7322)
2666 Fix handling of backslash escapes.
2667 (python-quote-syntax): Adjust accordingly.
2669 2010-11-09 Richard Levitte <richard@levitte.org> (tiny change)
2671 * vc-mtn.el (vc-mtn-working-revision, vc-mtn-after-dir-status)
2672 (vc-mtn-workfile-branch): Adjust to new output format.
2674 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
2676 * international/mule-cmds.el (princ-list): Mark as obsolete.
2678 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
2680 * emacs-lisp/smie.el: New package.
2682 2010-11-09 Michael Albinus <michael.albinus@gmx.de>
2684 * files.el (backup-by-copying-when-mismatch):
2685 Set `permanent-local' property.
2687 * net/tramp.el (tramp-handle-insert-file-contents): Do not set
2688 `permanent-local' property for `backup-by-copying-when-mismatch'.
2690 2010-11-09 Eli Zaretskii <eliz@gnu.org>
2692 * ls-lisp.el (insert-directory): Doc fix. (bug#7285)
2694 2010-11-09 Wilson Snyder <wsnyder@wsnyder.org>
2696 * progmodes/verilog-mode.el (verilog-insert-one-definition)
2697 (verilog-read-decls, verilog-read-sub-decls-sig): Fix AUTOWIRE and
2698 AUTOINOUT for SV style multidimensional arrays, bug294.
2699 Reported by Eric Mastromarchi.
2700 (verilog-preprocess): Use with-current-buffer and
2701 font-lock-fontify-buffer to cleanup style issues.
2703 2010-11-09 Glenn Morris <rgm@gnu.org>
2705 * locate.el (locate, locate-mode): Doc fixes.
2707 2010-11-09 Chong Yidong <cyd@stupidchicken.com>
2709 * server.el (server-start): New arg INHIBIT-PROMPT prevents asking
2710 user for confirmation.
2711 (server-force-stop): Use it.
2712 (server-start): Use server-force-stop for kill-emacs-hook, to
2713 avoid user interaction while killing Emacs.
2715 2010-11-09 Glenn Morris <rgm@gnu.org>
2717 * progmodes/meta-mode.el: Remove leading `*' from defcustom docs.
2718 (meta-indent-line): Simplify.
2720 * vc/emerge.el (emerge-line-number-in-buf):
2721 * textmodes/ispell.el (ispell-region):
2722 * textmodes/fill.el (current-fill-column):
2723 * progmodes/xscheme.el (xscheme-send-current-line):
2724 * progmodes/vhdl-mode.el (vhdl-current-line, vhdl-line-copy):
2725 * progmodes/tcl.el (tcl-hairy-scan-for-comment):
2726 * progmodes/sh-script.el (sh-handle-prev-do):
2727 * progmodes/meta-mode.el (meta-indent-line):
2728 * progmodes/idlwave.el (idlwave-goto-comment, idlwave-fill-paragraph)
2730 * progmodes/idlw-shell.el (idlwave-shell-current-frame)
2731 (idlwave-shell-update-bp-overlays, idlwave-shell-sources-filter):
2732 * progmodes/fortran.el (fortran-looking-at-if-then):
2733 * progmodes/etags.el (find-tag-in-order, etags-snarf-tag):
2734 * progmodes/cperl-mode.el (cperl-sniff-for-indent)
2735 (cperl-find-pods-heres):
2736 * progmodes/ada-mode.el (ada-get-current-indent, ada-narrow-to-defun):
2737 * net/quickurl.el (quickurl-list-insert):
2738 * net/ldap.el (ldap-search-internal):
2739 * net/eudc.el (eudc-expand-inline):
2740 * mail/sendmail.el (sendmail-send-it):
2741 * mail/mspools.el (mspools-visit-spool, mspools-get-spool-name):
2742 * emulation/viper-cmd.el (viper-paren-match, viper-backward-indent)
2743 (viper-brac-function):
2744 * calc/calc-yank.el (calc-do-grab-region):
2745 * calc/calc-keypd.el (calc-keypad-press):
2746 * term.el (term-move-columns, term-insert-spaces):
2747 * speedbar.el (speedbar-highlight-one-tag-line):
2748 * simple.el (current-word):
2749 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
2750 * info.el (Info-find-node-in-buffer-1, Info-follow-reference)
2752 * hippie-exp.el (he-line-beg):
2753 * epa.el (epa--marked-keys):
2754 * dired-aux.el (dired-kill-line, dired-do-kill-lines)
2755 (dired-update-file-line, dired-add-entry, dired-remove-entry)
2756 (dired-relist-entry):
2757 * buff-menu.el (Buffer-menu-buffer):
2758 * array.el (current-line):
2759 * allout.el (allout-resolve-xref)
2760 (allout-latex-verbatim-quote-curr-line):
2761 Replace yet more uses of end-of-line etc with line-end-position, etc.
2763 2010-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2765 * emacs-lisp/checkdoc.el (checkdoc-display-status-buffer)
2766 (checkdoc-interactive-loop, checkdoc-recursive-edit): Avoid princ-list.
2767 (checkdoc-syntax-table): Initialize in the declaration.
2768 (emacs-lisp-mode-hook): Use just checkdoc-minor-mode now that it turns
2769 the mode on unconditionally.
2771 * emacs-lisp/cl-macs.el (extent-data, extent-face, extent-priority)
2772 (extent-end-position, extent-start-position): Remove setf method for
2773 non-existing functions (bug#7319).
2775 2010-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
2777 * emacs-lisp/smie.el: Simplify the smie-rules-function return values.
2778 (smie-precs->prec2): Rename from smie-precs-precedence-table.
2779 (smie-bnf->prec2): Rename from smie-bnf-precedence-table.
2780 (smie-prec2->grammar): Rename from smie-prec2-levels.
2781 (smie-grammar): Rename from smie-op-levels.
2782 (smie-indent--hanging-p): Rename from smie-hanging-p.
2783 (smie-rule-hanging-p): New alias.
2784 (smie-indent--bolp): Rename from smie-bolp.
2785 (smie-indent--hanging-p): New alias.
2786 (smie--token): New dynamically bound variable.
2787 (smie-indent--parent): New function.
2788 (smie-rule-parent-p): Use it; rename from smie-parent-p.
2789 (smie-rule-next-p): Rename from smie-next-p.
2790 (smie-rule-prev-p): Rename from smie-prev-p.
2791 (smie-rule-sibling-p, smie-rule-parent)
2792 (smie-indent--separator-outdent, smie-rule-separator): New functions.
2793 (smie-rule-separator-outdent): New var.
2794 (smie-indent--rule): Merge with smie-indent--column.
2795 (smie-indent-forward-token, smie-indent-backward-token):
2796 Also recognize close parens.
2797 (smie-indent-keyword): Don't use smie-indent--column any more.
2798 (smie-indent-after-keyword): Ignore closers by default.
2799 (smie-indent-line): Use with-demoted-errors.
2800 * progmodes/octave-mod.el (octave-smie-grammar):
2801 Rename from octave-smie-op-levels.
2802 (octave-smie-rules): Adjust to new behavior.
2803 * progmodes/prolog.el (prolog-smie-grammar):
2804 Rename from prolog-smie-op-levels.
2806 2010-11-07 Glenn Morris <rgm@gnu.org>
2808 * eshell/esh-util.el (subst-char-in-string)
2809 (directory-files-and-attributes): These compatibility definitions are
2810 not needed on any version of Emacs since at least 21.4.
2812 * progmodes/verilog-mode.el (verilog-get-beg-of-line)
2813 (verilog-get-end-of-line): Remove.
2814 (verilog-within-string, verilog-re-search-forward-substr)
2815 (verilog-re-search-backward-substr, verilog-set-auto-endcomments)
2816 (verilog-surelint-off, verilog-getopt-file, verilog-highlight-region):
2817 Use point-at-bol, point-at-eol.
2818 * progmodes/pascal.el (pascal-get-beg-of-line, pascal-get-end-of-line):
2820 (pascal-declaration-end, pascal-declaration-beg, pascal-within-string)
2821 (electric-pascal-terminate-line, pascal-set-auto-comments)
2822 (pascal-indent-paramlist, pascal-indent-declaration)
2823 (pascal-get-lineup-indent, pascal-func-completion)
2824 (pascal-get-completion-decl, pascal-var-completion, pascal-completion):
2825 Use point-at-bol, point-at-eol.
2826 * progmodes/flymake.el (flymake-line-beginning-position)
2827 (flymake-line-end-position): Remove.
2828 (flymake-highlight-line): Use point-at-bol, point-at-eol.
2829 * eshell/esh-util.el (line-end-position, line-beginning-position):
2830 Remove compat definitions.
2832 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
2834 (checkdoc-this-string-valid-engine, checkdoc-file-comments-engine):
2835 Use line-end-position.
2837 * emacs-lisp/chart.el (chart-zap-chars):
2838 * play/decipher.el (decipher-set-map):
2839 * progmodes/ada-mode.el (ada-get-current-indent)
2840 (ada-search-ignore-string-comment, ada-tab-hard, ada-untab-hard):
2841 * progmodes/ada-prj.el (ada-prj-load-from-file, ada-prj-display-help):
2842 * progmodes/ada-xref.el (ada-initialize-runtime-library)
2843 (ada-get-all-references):
2844 * progmodes/cperl-mode.el (cperl-electric-paren)
2845 (cperl-electric-rparen, cperl-electric-keyword, cperl-electric-else)
2846 (cperl-linefeed, cperl-sniff-for-indent, cperl-to-comment-or-eol)
2847 (cperl-find-pods-heres, cperl-indent-exp, cperl-fix-line-spacing)
2848 (cperl-word-at-point-hard):
2849 * progmodes/idlw-shell.el (idlwave-shell-move-or-history)
2850 (idlwave-shell-filename-string, idlwave-shell-batch-command)
2851 (idlwave-shell-display-line):
2852 * progmodes/idlwave.el (idlwave-show-begin, idlwave-fill-paragraph)
2853 (idlwave-calc-hanging-indent, idlwave-auto-fill, idlwave-template):
2854 * progmodes/js.el (js--re-search-forward-inner)
2855 (js--re-search-backward-inner):
2856 * progmodes/vhdl-mode.el (vhdl-align-region-1, vhdl-align-region-2)
2857 (vhdl-fix-clause, vhdl-compose-configuration-architecture):
2858 * progmodes/ruby-mode.el (ruby-parse-partial, eval-when-compile):
2859 * textmodes/flyspell.el (flyspell-process-localwords):
2860 * textmodes/ispell.el (ispell-buffer-local-parsing)
2861 (ispell-buffer-local-dict, ispell-buffer-local-words):
2862 Use point-at-bol and point-at-eol.
2864 * speedbar.el (speedbar-generic-item-info)
2865 (speedbar-item-info-tag-helper, speedbar-change-expand-button-char)
2866 (speedbar-add-indicator, speedbar-check-vc-this-line)
2867 (speedbar-check-obj-this-line, speedbar-extract-one-symbol)
2868 (speedbar-buffers-line-directory, speedbar-buffer-revert-buffer):
2869 Replace more uses of end-of-line etc with line-end-position.
2871 2010-11-06 Glenn Morris <rgm@gnu.org>
2873 * textmodes/texnfo-upd.el (texinfo-start-menu-description)
2874 (texinfo-update-menu-region-beginning, texinfo-menu-first-node)
2875 (texinfo-delete-existing-pointers, texinfo-find-pointer)
2876 (texinfo-clean-up-node-line, texinfo-insert-node-lines)
2877 (texinfo-multiple-files-update):
2878 * textmodes/table.el (table--probe-cell-left-up)
2879 (table--probe-cell-right-bottom):
2880 * textmodes/picture.el (picture-tab-search):
2881 * textmodes/page-ext.el (pages-copy-header-and-position)
2882 (pages-directory-for-addresses):
2883 * progmodes/vera-mode.el (vera-get-offset):
2884 * progmodes/simula.el (simula-calculate-indent):
2885 * progmodes/python.el (python-pdbtrack-overlay-arrow):
2886 * progmodes/prolog.el (end-of-prolog-clause):
2887 * progmodes/perl-mode.el (perl-calculate-indent, perl-indent-exp):
2888 * progmodes/icon.el (indent-icon-exp):
2889 * progmodes/etags.el (tag-re-match-p):
2890 * progmodes/ebrowse.el (ebrowse-show-file-name-at-point):
2891 * progmodes/ebnf2ps.el (ebnf-begin-file):
2892 * progmodes/dcl-mode.el (dcl-back-to-indentation-1)
2893 (dcl-save-local-variable):
2894 * play/life.el (life-setup):
2895 * play/gametree.el (gametree-looking-at-ply):
2896 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
2897 * mail/sendmail.el (mail-mode-auto-fill):
2898 * emacs-lisp/lisp-mode.el (calculate-lisp-indent):
2899 * emacs-lisp/edebug.el (edebug-overlay-arrow):
2900 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid):
2901 * woman.el (woman-parse-numeric-value, woman2-TH, woman2-SH)
2902 (woman-tab-to-tab-stop, WoMan-warn-ignored):
2903 * type-break.el (type-break-file-keystroke-count):
2904 * term.el (term-replace-by-expanded-history-before-point)
2905 (term-skip-prompt, term-extract-string):
2906 * speedbar.el (speedbar-edit-line, speedbar-expand-line)
2907 (speedbar-contract-line, speedbar-toggle-line-expansion)
2908 (speedbar-parse-c-or-c++tag, speedbar-parse-tex-string)
2909 (speedbar-buffer-revert-buffer, speedbar-highlight-one-tag-line):
2910 * sort.el (sort-skip-fields):
2911 * skeleton.el (skeleton-internal-list):
2912 * simple.el (line-move-finish, line-move-to-column):
2913 * shell.el (shell-forward-command):
2914 * misc.el (copy-from-above-command):
2915 * makesum.el (double-column):
2916 * ebuff-menu.el (electric-buffer-update-highlight):
2917 * dired.el (dired-move-to-end-of-filename):
2918 * dframe.el (dframe-popup-kludge):
2919 * bookmark.el (bookmark-kill-line, bookmark-bmenu-show-filenames):
2920 * arc-mode.el (archive-get-lineno):
2921 Use line-end-position and line-beginning-position.
2923 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins):
2924 (idlwave-study-twins): Prefix dynamic local `class'.
2925 (idlwave-routine-twin-compare): Update for above name change.
2927 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod):
2928 Use boundp tests to silence compiler. Update for changed name of
2929 bytecomp-filename variable.
2931 * emulation/viper-cmd.el (viper-read-string-with-history):
2932 Prefix dynamic local `initial'.
2933 (viper-minibuffer-standard-hook): Update for above name change.
2935 * emacs-lisp/elint.el (elint-init-env): Prefix dynamic local `env'.
2936 (elint-init-form): Update for above name change.
2938 * mail/mail-extr.el (mail-extract-address-components): Give dynamic
2939 local variables `cbeg' and `cend' a prefix.
2940 (mail-extr-voodoo): Update for above name change.
2942 * textmodes/reftex-toc.el (reftex-toc-do-promote)
2943 (reftex-toc-promote-prepare): Pass `delta' as an explicit argument.
2944 (reftex-toc-promote-action): Doc fix.
2946 * textmodes/reftex-sel.el (reftex-select-item): Give local variables
2947 `prompt', `data' a prefix.
2948 (reftex-select-post-command-hook, reftex-select-callback)
2949 (reftex-select-mouse-accept, reftex-select-read-cite):
2950 Update for above name changes.
2952 * textmodes/reftex-ref.el (reftex-reference): Rename local variable
2953 `refstyle' to reftex-refstyle.
2954 (reftex-offer-label-menu): Update for above name change.
2955 * textmodes/reftex-sel.el (reftex-select-toggle-varioref): Update for
2956 `refstyle' name change.
2958 * vc/emerge.el (emerge-eval-in-buffer): Remove, and replace all uses
2959 with with-current-buffer.
2960 (diff, template): Give dynamic local variables a prefix.
2961 (emerge-line-numbers): Rename local `diff' to emerge-line-diff.
2962 (emerge-line-number-in-buf): Update for above name change.
2963 (emerge-combine-versions-internal): Rename local `template' to
2964 emerge-combine-template.
2965 (emerge-combine-versions-edit): Update for above name change.
2967 2010-11-06 Ralf Angeli <angeli@caeruleus.net>
2969 * textmodes/reftex-cite.el
2970 (reftex-extract-bib-entries-from-thebibliography): Match bibitem
2971 entries with whitespace after \bibitem.
2972 (reftex-create-bibtex-file): Match entries containing numbers and
2973 symbol constituents. Make sure that entries with whitespace at
2974 various places are found.
2976 2010-11-05 Christian Millour <cm@abtela.com> (tiny change)
2978 * shell.el (shell-process-popd): Made aware of comint-file-name-prefix.
2980 2010-11-05 Jan Djärv <jan.h.d@swipnet.se>
2982 * mouse.el (mouse-yank-primary): Update comment (Bug#6802).
2984 2010-11-05 Glenn Morris <rgm@gnu.org>
2986 * woman.el (woman0-roff-buffer, woman1-roff-buffer)
2987 (woman2-roff-buffer): Give local variable `request' a prefix.
2988 (woman0-macro): Rename argument `request' in the same way.
2989 (woman-request): New name for `request' dynamic variable.
2990 (woman-unquote, woman-forward-arg): Update for above name change.
2991 (woman1-roff-buffer): Give local variable `unquote' a prefix.
2992 (woman1-unquote): New name for `unquote' dynamic variable.
2993 (woman1-B-or-I, woman1-alt-fonts): Update for above name change.
2994 (woman-translations): Rename from `translations'. No longer global.
2995 (woman2-tr, woman-translate): Update for above name change.
2996 (woman-translate): Check for bound variable.
2997 (woman2-roff-buffer): Give local variable `translations' a prefix.
2999 * play/doctor.el: Give all local variables a prefix. Update callers.
3000 (doc$, doctor-put-meaning): Use backquote.
3002 * emacs-lisp/cl-macs.el (loop): Give local variable args a prefix.
3003 (cl-parse-loop-clause, cl-loop-handle-accum): Update for above change.
3005 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Give local
3006 variables bytes, ptr, op a prefix.
3007 (disassemble-offset): Update for above change.
3009 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
3011 * emacs-lisp/package.el (package-unpack): Remove no-op.
3012 (package--builtins, package--dir): Doc fix.
3013 (package-activate-1, package-activate, package-install)
3014 (package-compute-transaction): Fix error message.
3015 (package-delete): Use delete-directory. Omit system packages.
3016 (package-initialize): Set package-alist to nil first.
3017 (package-menu-mark-delete, package-menu-mark-install): Don't add
3018 symbols that are inconsistent with the package state.
3019 (package-menu-execute): Perform deletions and installations as
3020 single batch operations.
3022 2010-11-03 Glenn Morris <rgm@gnu.org>
3024 * progmodes/idlwave.el (idlwave-pset): Only used on XEmacs.
3025 (props): Remove unnecessary declaration.
3027 * textmodes/ispell.el (ispell-init-process): On Emacs, always use
3028 set-process-query-on-exit-flag.
3030 * textmodes/reftex-toc.el (name1, dummy, dummy2): Remove unused decs.
3031 (reftex-toc-do-promote): Remove unused local `mpos'.
3032 (reftex-toc-restore-region): Make `mpos' local to this function.
3034 * net/dbus.el (dbus-name-owner-changed-handler): Doc fix.
3036 * play/landmark.el (lm-losing-threshold): Correct spelling.
3037 (lm-human-plays): Use new name.
3039 * play/gomoku.el (gomoku-loosing-threshold): Correct spelling.
3040 (gomoku-human-plays): Use new name.
3042 * play/gomoku.el (nil-score, Xscore, XXscore, XXXscore, XXXXscore)
3043 (Oscore, OOscore, OOOscore, OOOOscore): Rename with gomoku- prefix.
3044 (gomoku-score-trans-table, gomoku-winning-threshold)
3045 (gomoku-loosing-threshold, gomoku-init-score-table): Use new names.
3047 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
3049 * emacs-lisp/package.el: Don't put built-in packages in
3050 package-alist, to avoid loading inefficiencies.
3051 (package-built-in-p): Make VERSION optional, and treat it as a
3052 minimum acceptable version.
3053 (package-activate): Search separately for built-in packages.
3054 Emit a warning if a dependency fails.
3055 (define-package): Handle most common case, where there is no
3056 obsolete package, first.
3057 (package-compute-transaction): Print required version in error.
3058 (package--initialized): New variable.
3059 (list-packages): Use it.
3060 (package-initialize): Optional arg NO-ACTIVATE. Don't put
3061 built-in packages in packages-alist; keep it separate.
3062 Set package--initialized.
3063 (describe-package): Avoid activating packages as a side-effect.
3064 Search separately for built-in packages.
3065 (describe-package-1): Handle the case where an elpa package is
3066 simultaneously built-in and available/installed.
3067 (package-installed-p, package--generate-package-list):
3068 Search separately for built-in packages.
3069 (package-load-descriptor): Doc fix.
3071 2010-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
3073 * progmodes/perl-mode.el (perl-syntax-propertize-function):
3074 Handle __DATA__ and __END__.
3076 2010-11-02 Noah Friedman <friedman@splode.com>
3078 * emacs-lisp/bytecomp.el (byte-recompile-file): If bytecomp-arg is
3079 nil, do not ask to recompile files that are not already compiled,
3080 and do not recompile them.
3082 2010-11-02 Chong Yidong <cyd@stupidchicken.com>
3084 * emacs-lisp/package.el (package-initialize): Ensure that
3085 obsoleted built-in packages are not in package-activated-list
3087 (describe-package-1): Make the "installed" status override
3090 2010-11-01 Vinicius Jose Latorre <viniciusjl@ig.com.br>
3092 * subr.el (version-separator, version-regexp-alist): Remove '*'
3094 (version-list-<=, version<=, version=): Doc fix.
3096 2010-11-01 Kenichi Handa <handa@m17n.org>
3098 * faces.el (glyphless-char): Inherit underline for tty.
3100 2010-11-01 Kenichi Handa <handa@m17n.org>
3102 Implement various display methods for glyphless characters.
3104 * international/characters.el (char-acronym-table): New variable.
3105 (glyphless-char-control): New variable.
3106 (update-glyphless-char-display): New funciton.
3108 * faces.el (glyphless-char): New face.
3110 2010-11-01 Glenn Morris <rgm@gnu.org>
3112 * calendar/holidays.el (general-holidays, oriental-holidays)
3113 (local-holidays, other-holidays, hebrew-holidays, christian-holidays)
3114 (islamic-holidays, bahai-holidays, solar-holidays): Move aliases before
3115 the definitions of their targets.
3117 * emacs-lisp/smie.el (smie): New custom group.
3118 (smie-blink-matching-inners, smie-indent-basic): Add :group.
3120 * faces.el (xw-defined-colors, x-setup-function-keys):
3121 * mouse-sel.el (x-select-text):
3122 * term/w32console.el (x-setup-function-keys): Update declarations.
3124 * progmodes/ruby-mode.el (ruby-syntax-propertize-heredoc): Declare.
3126 * textmodes/ispell.el (comment-add): Declare.
3128 * net/gnutls.el (gnutls-boot, gnutls-errorp, gnutls-error-string):
3131 * info.el (finder-keywords-hash, package-alist): Declare.
3133 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
3135 * finder.el (finder-compile-keywords): Don't use intern-soft,
3136 since package names may not yet exist in the obarray.
3138 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
3140 * vc/vc-arch.el (vc-arch-checkin):
3141 * vc/vc-cvs.el (vc-cvs-checkin):
3142 * vc/vc-mtn.el (vc-mtn-checkin):
3143 * vc/vc-rcs.el (vc-rcs-checkin):
3144 * vc/vc-sccs.el (vc-sccs-checkin):
3145 * vc/vc-svn.el (vc-svn-checkin): Remove optional extra arg, unused
3146 since 2010-04-21 commit by Stefan Monnier.
3148 2010-11-01 Glenn Morris <rgm@gnu.org>
3150 * emacs-lisp/bytecomp.el (byte-recompile-file): Fix previous change.
3152 * startup.el (package-enable-at-startup, package-initialize):
3155 * progmodes/ada-mode.el (ada-font-lock-syntactic-keywords):
3158 2010-10-31 Julien Danjou <julien@danjou.info>
3160 * emacs-lisp/bytecomp.el (byte-recompile-file): New fun (bug#7297).
3161 (byte-recompile-directory):
3162 * emacs-lisp/lisp-mode.el (emacs-lisp-byte-compile-and-load):
3163 Use `byte-recompile-file'.
3165 2010-10-31 Glenn Morris <rgm@gnu.org>
3167 * cus-start.el: Handle standard values via a keyword.
3168 Only set version property if specified.
3169 (cursor-in-non-selected-windows, menu-bar-mode)
3170 (tool-bar-mode, show-trailing-whitespace):
3171 Do not specify standard values.
3172 (transient-mark-mode, temporary-file-directory): Use :standard.
3174 2010-10-31 Jan Djärv <jan.h.d@swipnet.se>
3176 * term/x-win.el (x-get-selection-value): New function that gets
3177 PRIMARY with type as specified in x-select-request-type. (Bug#6802).
3179 2010-10-31 Michael Albinus <michael.albinus@gmx.de>
3181 * net/tramp.el (tramp-handle-insert-file-contents): For root,
3182 preserve owner and group when editing files. (Bug#7289)
3184 2010-10-31 Glenn Morris <rgm@gnu.org>
3186 * speedbar.el (speedbar-mode):
3187 * play/fortune.el (fortune-in-buffer, fortune):
3188 * play/gomoku.el (gomoku-mode):
3189 * play/landmark.el (lm-mode):
3190 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
3191 Replace inappropriate uses of toggle-read-only. (Bug#7292)
3193 * select.el (x-selection): Mark it as an obsolete alias.
3195 2010-10-31 Aaron S. Hawley <aaron.s.hawley@gmail.com>
3197 * vc/add-log.el (find-change-log): Use derived-mode-p rather than
3198 major-mode (bug#7284).
3200 2010-10-31 Glenn Morris <rgm@gnu.org>
3202 * menu-bar.el (menu-bar-files-menu): Make it into an actual alias,
3203 rather than just an unused variable that inherits from the real one.
3205 2010-10-31 Alan Mackenzie <acm@muc.de>
3207 * progmodes/cc-cmds.el (c-mask-paragraph): Fix an off-by-1 error.
3208 This fixes bug #7185.
3210 2010-10-30 Chong Yidong <cyd@stupidchicken.com>
3212 * startup.el (command-line): Search for package directories, and
3213 don't load package.el if none are found.
3215 * emacs-lisp/package.el (describe-package, list-packages):
3216 Call package-initialize if it has not been called yet.
3218 2010-10-30 Alan Mackenzie <acm@muc.de>
3220 * progmodes/cc-fonts.el (c-font-lock-enum-tail): New function
3221 which fontifies the tail of an enum.
3222 (c-basic-matchers-after): Insert a call to the above new function.
3223 This fixes bug #7264.
3225 2010-10-30 Glenn Morris <rgm@gnu.org>
3227 * cus-start.el: Add :set properties for minor modes menu-bar-mode,
3228 tool-bar-mode, transient-mark-mode. (Bug#7306)
3229 Include the :set property in the dumped Emacs.
3231 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
3233 SMIE: change indent rules format, improve smie-setup.
3234 * emacs-lisp/smie.el (smie-precs-precedence-table)
3235 (smie-merge-prec2s, smie-bnf-precedence-table, smie-prec2-levels):
3236 Mark them pure so the tables gets built at compile time.
3237 (smie-bnf-precedence-table): Store the closer-alist in the table.
3238 (smie-prec2-levels): Preserve the closer-alist.
3239 (smie-blink-matching-open): Be more forgiving in case of indentation.
3240 (smie-hanging-p): Rename from smie-indent--hanging-p.
3241 (smie-bolp): Rename from smie-indent--bolp.
3242 (smie--parent, smie--after): New dynamic vars.
3243 (smie-parent-p, smie-next-p, smie-prev-p): New funs.
3244 (smie-indent-rules): Remove.
3245 (smie-indent--offset-rule): Remove fun.
3246 (smie-rules-function): New var.
3247 (smie-indent--rule): New fun.
3248 (smie-indent--offset, smie-indent-keyword, smie-indent-after-keyword)
3249 (smie-indent-exps): Use it.
3250 (smie-setup): Setup paren blinking; add keyword args for token
3251 functions; extract closer-alist from op-levels.
3252 (smie-indent-debug-log): Remove var.
3253 (smie-indent-debug): Remove fun.
3254 * progmodes/prolog.el (prolog-smie-indent-rules): Remove.
3255 (prolog-smie-rules): New fun to replace it.
3256 (prolog-mode-variables): Simplify.
3257 * progmodes/octave-mod.el (octave-smie-closer-alist): Remove, now that
3258 it's setup automatically.
3259 (octave-smie-indent-rules): Remove.
3260 (octave-smie-rules): New fun to replace it.
3261 (octave-mode): Simplify.
3263 2010-10-29 Glenn Morris <rgm@gnu.org>
3265 * files.el (temporary-file-directory): Remove (already defined in C).
3266 * cus-start.el: Add temporary-file-directory.
3268 * abbrev.el (abbrev-mode):
3269 * composite.el (auto-composition-mode):
3270 * menu-bar.el (menu-bar-mode):
3271 * simple.el (transient-mark-mode):
3272 * tool-bar.el (tool-bar-mode): Adjust the define-minor-mode calls so
3273 that they do not define the associated variables twice.
3274 * simple.el (transient-mark-mode): Remove defvar.
3275 * composite.el (auto-composition-mode): Make variable auto-buffer-local.
3276 * cus-start.el: Add transient-mark-mode, menu-bar-mode, tool-bar-mode.
3277 Handle multiple groups, and also custom-delayed-init-variables.
3278 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
3280 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
3282 * emacs-lisp/pcase.el (pcase): New `string' and `guard' patterns.
3283 (pcase-if): Add one minor optimization.
3284 (pcase-split-equal): Rename from pcase-split-eq.
3285 (pcase-split-member): Rename from pcase-split-memq.
3286 (pcase-u1): Add strings to the member optimization.
3287 Add `guard' variant of predicates.
3288 (pcase-q1): Add string patterns.
3290 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
3292 * vc/log-edit.el (log-edit-rewrite-fixes): State its safety pred.
3294 2010-10-28 Glenn Morris <rgm@gnu.org>
3296 * term/ns-win.el (global-map, menu-bar-final-items, menu-bar-help-menu):
3297 Move menu-bar related settings to ../menu-bar.el.
3298 * menu-bar.el (global-map, menu-bar-final-items, menu-bar-help-menu):
3299 Move ns-specific settings here from term/ns-win.el.
3301 * simple.el (x-selection-owner-p): Remove unused declaration.
3303 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
3305 * minibuffer.el (completion-cycling): New var (bug#7266).
3306 (minibuffer-complete, completion--do-completion):
3307 Use completion--flush-all-sorted-completions.
3308 (minibuffer-complete): Only cycle if completion-cycling is set.
3309 (completion--flush-all-sorted-completions): Unset completion-cycling.
3310 (minibuffer-force-complete): Set completion-cycling.
3311 (completion-all-sorted-completions): Move declaration before first use.
3313 2010-10-28 Leo <sdl.web@gmail.com>
3315 * iswitchb.el (iswitchb-kill-buffer): Avoid `iswitchb-make-buflist'
3316 which changes the order of matches seen by users (bug#7231).
3318 2010-10-28 Jes Bodi Klinke <jes@bodi-klinke.dk> (tiny change)
3320 * progmodes/compile.el (compilation-mode-font-lock-keywords):
3321 Don't confuse -omega as "-o mega".
3323 2010-10-27 Stefan Monnier <monnier@iro.umontreal.ca>
3325 * vc/log-edit.el (log-edit-rewrite-fixes): New var.
3326 (log-edit-author): New dynamic var.
3327 (log-edit-changelog-ours-p, log-edit-insert-changelog-entries): Use it
3328 to return the author if different from committer.
3329 (log-edit-insert-changelog): Use them to add Author: and Fixes headers.
3331 * play/landmark.el: Adjust commenting convention.
3332 (lm-nil-score): Rename from nil-score.
3333 (Xscore, XXscore, XXXscore, XXXXscore, Oscore, OOscore, OOOscore)
3334 (OOOOscore): Move into a let in lm-score-trans-table.
3335 (lm-winning-threshold, lm-loosing-threshold): Use lm-score-trans-table.
3337 * electric.el (electric-indent-chars): Autoload.
3338 * progmodes/octave-mod.el (octave-mode):
3339 * progmodes/ruby-mode.el (ruby-mode): Take advantage of it.
3340 (ruby-mode-abbrev-table): Merge initialization and declaration.
3342 2010-10-27 Glenn Morris <rgm@gnu.org>
3344 * abbrev.el (abbrev-mode): Remove one of the three definitions of this
3347 * server.el (server-host, server-port, server-auth-dir): Autoload risky.
3349 * term/ns-win.el: Restore require of cl when compiling.
3350 (menu-bar-final-items): Remove non-existent `windows' menu.
3351 (ns-handle-nxopen): Optionally handle the temp-case.
3352 (ns-handle-nxopentemp): Just call ns-handle-nxopen.
3353 (ns-insert-file, ns-find-file): Use `pop'.
3355 2010-10-26 Glenn Morris <rgm@gnu.org>
3357 * term/common-win.el (xw-defined-colors): Simplify the 'ns case.
3359 2010-10-26 Adrian Robert <Adrian.B.Robert@gmail.com>
3361 * term/ns-win.el (ns-new-frame, ns-show-prefs): Don't add to
3363 * term/common-win.el (x-setup-function-keys): Remove most of the
3364 keymappings. Comment on the remaining ones.
3366 2010-10-26 Peter Oliver <p.d.oliver@mavit.org.uk> (tiny change)
3368 * server.el (server-port): New option. (Bug#854)
3369 (server-start): Use server-port.
3371 2010-10-26 Glenn Morris <rgm@gnu.org>
3373 * term/ns-win.el (ns-version-string): Remove unused declaration.
3374 (ns-invocation-args): Change to x-invocation-args.
3375 (ns-handle-switch, ns-handle-numeric-switch, ns-handle-iconic)
3376 (ns-handle-name-switch, ns-ignore-2-arg): Remove.
3377 (ns-handle-nxopen, ns-handle-nxopentemp, ns-ignore-1-arg):
3378 Use x-invocation-args instead of ns-invocation-args.
3379 (ns-initialize-window-system, handle-args-function-alist):
3380 Use x-handle-args instead of ns-handle-args.
3381 * term/common-win.el (x-handle-args): Also handle nextstep arguments.
3382 * startup.el (command-line-ns-option-alist): Replace
3383 ns-handle-name-switch, ns-handle-switch, ns-handle-numeric-switch,
3384 ns-handle-iconic with the x- equivalents.
3386 * term/common-win.el (x-select-enable-clipboard):
3387 * term/pc-win.el (x-select-enable-clipboard): Doc fix.
3389 * term/ns-win.el: No need to require cl when compiling.
3390 (x-display-name, x-setup-function-keys, x-select-text, x-colors)
3391 (xw-defined-colors): Use the common-win definitions.
3392 (ns-alternatives-map): Make it an obsolete alias for x-alternatives-map.
3393 (ns-handle-iconic): Make it an alias for x-handle-iconic.
3394 * term/common-win.el (x-select-text, x-alternatives-map)
3395 (x-setup-function-keys, x-colors, xw-defined-colors): Handle 'ns case.
3396 * loadup.el [ns]: Load common-win.
3398 2010-10-26 Daiki Ueno <ueno@unixuser.org>
3400 * epa-mail.el (epa-mail-encrypt): Handle local-part only
3401 recipients; expand mail aliases (Bug#7280).
3403 2010-10-25 Glenn Morris <rgm@gnu.org>
3405 * term/common-win.el (x-handle-switch): Simplify with pop.
3406 Optionally handle numeric switches.
3407 (x-handle-numeric-switch): Just call x-handle-switch.
3408 (x-handle-initial-switch, x-handle-xrm-switch, x-handle-geometry)
3409 (x-handle-name-switch, x-handle-display, x-handle-args):
3412 * term/ns-win.el: Do not require easymenu.
3413 (menu-bar-edit-menu) <copy, paste, paste-from-menu, separator-undo>:
3414 <spell>: Move adjustments to menu-bar.el.
3415 * menu-bar.el (menu-bar-edit-menu) <copy, paste, paste-from-menu>:
3416 <separator-undo, spell>: Move ns-win's adjustments here.
3417 * loadup.el [ns]: Do not load easymenu.
3419 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
3421 * image.el (image-checkbox-checked, image-checkbox-unchecked):
3424 * startup.el (fancy-startup-tail): Instead of using inline images,
3425 refer to image files from etc/.
3427 * wid-edit.el (checkbox): Likewise.
3428 (widget-image-find): Center image specs.
3430 2010-10-24 Glenn Morris <rgm@gnu.org>
3432 * term/ns-win.el (x-select-text): Doc fix.
3433 * w32-fns.el (x-alternatives-map, x-setup-function-keys)
3434 (x-select-text): Move to term/common-win.
3435 * term/w32-win.el (xw-defined-colors): Move to common-win.
3436 * term/x-win.el (xw-defined-colors, x-alternatives-map)
3437 (x-setup-function-keys, x-select-text): Move to common-win.
3438 * term/common-win.el (x-select-text, x-alternatives-map)
3439 (x-setup-function-keys, xw-defined-colors): Merge x- and w32-
3442 2010-10-24 T.V. Raman <tv.raman.tv@gmail.com> (tiny change)
3444 * net/mairix.el (mairix-searches-mode-map):
3445 * mail/mspools.el (mspools-mode-map): Fix 2010-10-10 change.
3447 2010-10-24 Michael McNamara <mac@mail.brushroad.com>
3449 * verilog-mode.el (verilog-directive-re): Make this variable
3450 auto-built for efficiency of execution and updating.
3451 (verilog-extended-complete-re): Support 'pure' fucntion & task
3452 declarations (these have no bodies).
3453 (verilog-beg-of-statement): General cleanup to enable support of
3454 'pure' fucntion & task declarations (these have no bodies).
3455 These efforts together fix Verilog bug210 from veripool; which was also
3456 noticed by Steve Pearlmutter.
3457 (verilog-directive-re, verilog-directive-begin, verilog-indent-re)
3458 (verilog-directive-nest-re, verilog-set-auto-endcomments):
3459 Support `elsif. Reported by Shankar Giri.
3460 (verilog-forward-ws&directives, verilog-in-attribute-p): Fixes for
3461 attribute handling for lining up declarations and assignments.
3462 (verilog-beg-of-statement-1): Fix issue where continued declaration
3463 is indented differently if it is after a begin..end clock.
3464 (verilog-in-attribute-p, verilog-skip-backward-comments)
3465 (verilog-skip-forward-comment-p): Support proper treatment of
3466 attributes by indent code. Reported by Jeff Steele.
3467 (verilog-in-directive-p): Fix comment to correctly describe function.
3468 (verilog-backward-up-list, verilog-in-struct-region-p)
3469 (verilog-backward-token, verilog-in-struct-p)
3470 (verilog-in-coverage-p, verilog-do-indent)
3471 (verilog-pretty-declarations): Use verilog-backward-up-list as
3472 wrapper around backward-up-list inorder to properly skip comments.
3473 Reported by David Rogoff.
3474 (verilog-property-re, verilog-endcomment-reason-re)
3475 (verilog-beg-of-statement, verilog-set-auto-endcomments)
3476 (verilog-calc-1 ): Fix for assert a; else b; indentation (new form
3477 of if). Reported by Max Bjurling and
3478 (verilog-calc-1): Fix for clocking block in modport
3479 declaration. Reported by Brian Hunter.
3481 2010-10-24 Wilson Snyder <wsnyder@wsnyder.org>
3483 * verilog-mode.el (verilog-auto-inst, verilog-gate-ios)
3484 (verilog-gate-keywords, verilog-read-sub-decls)
3485 (verilog-read-sub-decls-gate, verilog-read-sub-decls-gate-ios)
3486 (verilog-read-sub-decls-line, verilog-read-sub-decls-sig): Support
3487 AUTOINST for gate primitives, bug284. Reported by Mark Johnson.
3488 (verilog-read-decls): Fix spaces in V2K module parameters causing
3489 mis-identification as interfaces, bug287.
3490 (verilog-read-decls): Fix not treating "parameter string" as a
3491 parameter in AUTOINSTPARAM.
3492 (verilog-read-always-signals-recurse, verilog-read-decls): Fix not
3493 treating `elsif similar to `endif inside AUTOSENSE.
3494 (verilog-do-indent): Implement correct automatic or static task or
3495 function end comment highlight. Reported by Steve Pearlmutter.
3496 (verilog-font-lock-keywords-2): Fix highlighting of single
3497 character pins, bug264. Reported by Michael Laajanen.
3498 (verilog-auto-inst, verilog-read-decls, verilog-read-sub-decls)
3499 (verilog-read-sub-decls-in-interfaced, verilog-read-sub-decls-sig)
3500 (verilog-subdecls-get-interfaced, verilog-subdecls-new):
3501 Support interfaces with AUTOINST, bug270. Reported by Luis Gutierrez.
3502 (verilog-pretty-expr): Fix interactive arguments, bug272.
3503 Reported by Mark Johnson.
3504 (verilog-auto-tieoff, verilog-auto-tieoff-ignore-regexp):
3505 Add 'verilog-auto-tieoff-ignore-regexp' for AUTOTIEOFF,
3506 bug269. Suggested by Gary Delp.
3507 (verilog-mode-map, verilog-preprocess, verilog-preprocess-history)
3508 (verilog-preprocessor, verilog-set-compile-command):
3509 Create verilog-preprocess and verilog-preprocessor to show
3510 preprocessed output.
3511 (verilog-get-beg-of-line, verilog-get-end-of-line)
3512 (verilog-modi-file-or-buffer, verilog-modi-name)
3513 (verilog-modi-point, verilog-within-string): Move defmacro's
3514 before first use to avoid warning. Reported by Steve Pearlmutter.
3515 (verilog-colorize-buffer, verilog-colorize-include-files-buffer)
3516 (verilog-colorize-region, verilog-highlight-buffer)
3517 (verilog-highlight-includes, verilog-highlight-modules)
3518 (verilog-highlight-region, verilog-mode): Rename colorize to
3519 highlight to match other packages. Disable module highlighting,
3520 as received speed complaints, reenable for experimentation only
3521 using new verilog-highlight-modules.
3522 (verilog-read-decls): Fix regexp stack overflow in very large
3523 AUTO_TEMPLATEs, bug250.
3524 (verilog-auto, verilog-delete-auto, verilog-save-buffer-state)
3525 (verilog-scan): Create verilog-save-buffer-state to standardize
3526 making insignificant changes that shouldn't call hooks.
3527 (verilog-save-no-change-functions, verilog-save-scan-cache)
3528 (verilog-scan, verilog-scan-cache-ok-p, verilog-scan-region):
3529 Create verilog-save-no-change-functions to wrap verilog-scan
3530 preservation, and fix to work with nested preserved calls.
3531 (verilog-auto-inst, verilog-auto-inst-dot-name): Support .name
3532 port syntax for AUTOWIRE, and with new verilog-auto-inst-dot-name
3533 generate .name with AUTOINST, bug245. Suggested by David Rogoff.
3534 (verilog-submit-bug-report): Update variable list to be complete.
3535 (verilog-auto, verilog-colorize-region): Fix AUTO expansion
3536 breaking on-the-fly font-locking.
3537 (verilog-colorize-buffer, verilog-colorize-include-files)
3538 (verilog-colorize-include-files-buffer, verilog-colorize-region)
3539 (verilog-load-file-at-mouse, verilog-load-file-at-point)
3540 (verilog-mode, verilog-read-inst-module-matcher): With point on a
3541 AUTOINST cell instance name, middle mouse button now finds-file on
3542 it. Suggested by Brad Dobbie.
3543 (verilog-alw-get-temps, verilog-auto-reset)
3544 (verilog-auto-sense-sigs, verilog-read-always-signals)
3545 (verilog-read-always-signals-recurse): Fix loop indexes being
3546 AUTORESET. AUTORESET now assumes any variables in the
3547 initialization section of a for() should be ignored.
3548 Reported by Dan Dever.
3549 (verilog-error-font-lock-keywords)
3550 (verilog-error-regexp-emacs-alist)
3551 (verilog-error-regexp-xemacs-alist): Fix error detection of
3552 Cadence HAL, reported by David Asher. Repair drift between the
3553 three similar error variables.
3554 (verilog-modi-lookup, verilog-modi-lookup-cache)
3555 (verilog-modi-lookup-last-current, verilog-modi-lookup-last-mod)
3556 (verilog-modi-lookup-last-modi, verilog-modi-lookup-last-tick):
3557 Fix slow verilog-auto expansion on very large files.
3558 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line):
3559 Fix AUTOOUTPUT treating "1*2" as a signal name in submodule connection
3560 "{1*2{...". Broke in last revision.
3561 (verilog-read-sub-decls-expr): Fix AUTOOUTPUT not detecting
3562 submodule connections with replications "{#{a},#{b}}".
3564 2010-10-24 Juanma Barranquero <lekktu@gmail.com>
3566 * progmodes/dcl-mode.el (dcl-electric-reindent-regexps):
3567 Fix typo in docstring.
3569 2010-10-24 Kenichi Handa <handa@m17n.org>
3571 * face-remap.el (text-scale-adjust): Call read-event with a proper
3574 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
3576 * emacs-lisp/unsafep.el: Don't mark functions that display
3577 messages as safe. Suggested by Johan Bockgård.
3579 2010-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
3581 * emacs-lisp/regexp-opt.el (regexp-opt-group, regexp-opt-charset):
3582 Turn comments into docstrings.
3584 * minibuffer.el (completion--replace): Move point where it belongs
3585 when there's a common suffix (bug#7215).
3587 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
3589 Merge read-color and facemenu-read-color (Bug#7242).
3591 * faces.el (read-color): Use the completion code from
3592 facemenu-read-color. Require match in completion. Doc fix.
3594 * facemenu.el (facemenu-read-color): Alias for read-color.
3595 (facemenu-set-foreground, facemenu-set-background):
3598 * frame.el (set-background-color, set-foreground-color)
3599 (set-cursor-color, set-mouse-color, set-border-color):
3602 2010-10-24 Leo <sdl.web@gmail.com>
3604 * eshell/em-unix.el (eshell-remove-entries): Use the TRASH
3605 argument of delete-file and delete-directory (Bug#7011).
3607 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
3609 * emacs-lisp/package.el (package-menu-mode-map): Inherit from
3612 2010-10-24 Ralf Angeli <angeli@caeruleus.net>
3614 * emacs-lisp/package.el (package--generate-package-list): Make the
3615 *Packages* buffer read-only.
3617 2010-10-24 Alan Mackenzie <acm@muc.de>
3619 * progmodes/cc-fonts.el (c-font-lock-declarations): Cache the
3620 result of `c-beginning-of-decl-1' between invocations of a lambda
3621 function (Bug #7265).
3623 2010-10-24 Daiki Ueno <ueno@unixuser.org>
3625 * epg-config.el (epg-gpg-program): Try to use "gpg2" if "gpg"
3626 executable is not available on the system (Bug#7268).
3628 2010-10-24 Glenn Morris <rgm@gnu.org>
3630 * select.el (selection-coding-system, next-selection-coding-system):
3631 Sync doc with C versions.
3633 * w32-vars.el (x-select-enable-clipboard):
3634 * term/x-win.el (x-select-enable-clipboard): Move to common-win.
3635 * term/common-win.el (x-select-enable-clipboard): Move here.
3637 * term/tty-colors.el (tty-defined-color-alist): Remove duplicate
3638 definition of C variable.
3640 * frame.el (show-trailing-whitespace, auto-hscroll-mode)
3641 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
3642 Don't redefine things that are defined in C.
3643 * cus-start.el: Also handle :risky, :safe, :set, and :tag.
3644 (show-trailing-whitespace, auto-hscroll-mode)
3645 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
3646 Set up the appropriate custom properties.
3648 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
3651 * progmodes/f90.el (f90-mode-map): ... f90-insert-end.
3652 * nxml/nxml-mode.el (nxml-mode-map): ... nxml-finish-element.
3653 * textmodes/tex-mode.el (tex-mode-map): ... latex-close-block.
3654 * textmodes/sgml-mode.el (sgml-mode-map): ... sgml-close-tag.
3656 2010-10-23 Glenn Morris <rgm@gnu.org>
3658 * textmodes/flyspell.el (flyspell-mode): If there was an error,
3661 * frame.el (auto-hscroll-mode, cursor-in-non-selected-windows):
3662 Sync docs with C version.
3664 * term/ns-win.el (xw-defined-colors):
3665 * term/x-win.el (xw-defined-colors): Make docs identical to w32-win.
3667 * term/pc-win.el (x-select-enable-clipboard):
3668 * term/x-win.el (x-select-enable-clipboard):
3669 * w32-vars.el (x-select-enable-clipboard): Make doc-strings identical.
3671 * comint.el (comint-password-prompt-regexp): Make it less vague.
3674 * help-fns.el (doc-file-to-man, doc-file-to-info): New commands.
3676 * help.el (finder-by-keyword): Remove unnecessary autoload.
3678 2010-10-22 Glenn Morris <rgm@gnu.org>
3680 * loadup.el: Unconditionally load float-sup.
3681 * paren.el (show-paren-delay):
3682 * emacs-lisp/float-sup.el:
3683 * emulation/cua-base.el (cua-prefix-override-inhibit-delay):
3684 * obsolete/lazy-lock.el (lazy-lock-defer-time, lazy-lock-stealth-nice)
3685 (lazy-lock-stealth-verbose): Assume float support.
3686 * ps-print.el: Assume float support on Emacs.
3687 * emacs-lisp/timer.el (timer-next-integral-multiple-of-time):
3688 Remove non-float branch.
3690 * emacs-lisp/autoload.el (batch-update-autoloads): Update for
3691 src/Makefile no longer being pre-processed.
3693 2010-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
3695 * emacs-lisp/find-func.el (find-library): Use test-completion.
3697 2010-10-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
3699 * newcomment.el (comment-dwim): Fix the intentation in the doc string.
3701 2010-10-21 Michael Albinus <michael.albinus@gmx.de>
3703 * net/tramp-sh.el (tramp-do-file-attributes-with-stat): Do not use
3704 space in stat format string.
3705 (tramp-send-command): Unset $PS1 when using here documents, in
3706 order not to get several prompts.
3707 (tramp-get-inline-coding): Return `nil' in case of errors.
3709 2010-10-21 Daiki Ueno <ueno@unixuser.org>
3711 * hexl.el (hexl-mode, hexl-mode-exit):
3712 Tweak revert-buffer-function to inhibit auto-mode-alist (Bug#7252).
3713 (hexl-revert-buffer-function): New function.
3714 (hexl-before-revert-hook, hexl-after-revert-hook): Abolish.
3716 2010-10-19 Alan Mackenzie <acm@muc.de>
3718 * progmodes/cc-langs.el (c-type-decl-prefix-key): C++ bit:
3719 Move "\(const\|throw\|volatile\)\>" nearer the start of the regexp, so
3720 that these keywords aren't wrongly matched as identifiers.
3722 * progmodes/cc-mode.el (c-before-change, c-after-change): Move the
3723 setting of c-new-BEG and c-new-END from c-before-change to
3724 c-after-change. (Bug#7181)
3726 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
3728 * cus-face.el (custom-theme-set-faces): Revert 2010-10-18 change.
3731 * custom.el (custom-theme-set-variables): Likewise.
3732 (load-theme): Add custom-theme-set-faces and
3733 custom-theme-set-variables to safe-functions while loading.
3734 (custom-enabled-themes): Mark as risky.
3736 2010-10-18 Julien Danjou <julien@danjou.info>
3738 * bindings.el: Remove end dashes in default mode-line-format.
3740 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
3742 * bindings.el (global-map): Bind C-d to delete-char and deletechar
3743 to delete-forward-char.
3745 * simple.el (normal-erase-is-backspace-mode): Remap delete to
3746 deletechar, and hence delete-forward-char.
3748 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
3750 * repeat.el (repeat): Use read-key (bug#6256).
3752 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
3754 * emacs-lisp/unsafep.el: Don't mark functions that display
3755 messages as safe. Suggested by Johan Bockgård.
3757 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
3759 * minibuffer.el (completion--replace): Move point where it belongs
3760 when there's a common suffix (bug#7215).
3762 2010-10-19 Kenichi Handa <handa@m17n.org>
3764 * international/characters.el: Add category '|' (word breakable)
3765 to fullwidth characters.
3767 2010-10-19 Michael Albinus <michael.albinus@gmx.de>
3769 * net/tramp-sh.el (tramp-do-file-attributes-with-stat)
3770 (tramp-do-directory-files-and-attributes-with-stat): Use "e0" in
3771 order to make stat results a float. Patch by Andreas Schwab
3772 <schwab@linux-m68k.org>.
3774 2010-10-18 Julien Danjou <julien@danjou.info>
3776 * avoid.el (mouse-avoidance-ignore-p): Ignore mouse when it is
3777 hidden by `make-pointer-invisible'.
3779 2010-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
3781 * files.el (locate-file-completion-table): Strip non-matching elements
3782 before checking length of list (bug#7238).
3784 2010-10-18 Chong Yidong <cyd@stupidchicken.com>
3786 * custom.el (custom-theme-set-variables): Mark as a safe function.
3787 (load-theme): Check forms using unsafep.
3789 * cus-face.el (custom-theme-set-faces): Mark as a safe function.
3791 2010-10-17 Agustín Martín <agustin.martin@hispalinux.es>
3793 * textmodes/ispell.el (ispell-aspell-find-dictionary):
3794 Fix aspell data file searching (bug#7230).
3796 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
3798 * cus-theme.el (custom-theme--migrate-settings): New var.
3799 (customize-create-theme): Allow editing the `user' theme.
3800 (custom-theme-add-variable, custom-theme-add-var-1)
3801 (custom-theme-add-face, custom-theme-add-face-1): Add a checkbox
3802 to the front of each variable or face widget.
3803 (custom-theme-write): Save theme settings in the correct order.
3804 Optionally, remove saved settings from user customizations.
3805 (custom-theme-write-variables, custom-theme-write-faces):
3806 Save only the checked widgets.
3807 (customize-themes): Add a link for migrating custom settings.
3809 * custom.el (custom-declare-theme, provide-theme):
3810 Use custom-theme-name-valid-p.
3811 (custom-theme-name-valid-p): Remove checks that are now
3812 unnecessary since themes no longer obey load-path.
3814 * cus-edit.el (custom-variable-value-create): For the simple
3815 style, hide documentation string when hidden.
3817 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
3819 * cus-edit.el (custom-variable, custom-face): Combine the
3820 :inhibit-magic and :display-style properties into a single
3821 :custom-style property.
3822 (custom-toggle-hide-variable, custom-toggle-hide-face):
3823 New functions. If hiding an edited value, save it to :shown-value.
3824 (custom-variable-value-create, custom-face-value-create): Use them.
3825 (custom-magic-reset): Allow magic property to be unset.
3827 * custom.el: Custom themes no longer use load-path.
3828 (custom-theme-load-path): New option. Change built-in theme
3830 (custom-enabled-themes): Add custom-theme-load-path dependency.
3831 (custom-theme--load-path): New function.
3832 (load-theme, custom-available-themes): Use it.
3834 * cus-theme.el (describe-theme-1): Use custom-theme--load-path.
3835 (customize-themes): Link to custom-theme-load-path variable.
3836 (custom-theme-add-var-1, custom-theme-add-face-1): Use the
3837 :custom-style property.
3839 * themes/*.el: Moved to etc/.
3841 2010-10-16 Ralf Angeli <angeli@caeruleus.net>
3843 * textmodes/reftex-cite.el
3844 (reftex-extract-bib-entries-from-thebibliography): Do not move
3845 point when searching for \bibitem entries. Match entries with
3846 spaces or tabs in front of arguments.
3848 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
3850 * cus-theme.el (customize-create-theme): Delete overlays after
3851 erasing. If given a THEME arg, display only the faces of that arg
3852 instead of custom-theme--listed-faces.
3853 (custom-theme-variable-menu, custom-theme-variable-action)
3854 (custom-variable-reset-theme, custom-theme-delete-variable): Delete.
3855 (custom-theme-add-variable, custom-theme-add-face): Apply value
3856 from the theme settings, instead of the current value.
3857 (custom-theme-add-var-1, custom-theme-add-face-1): New functions.
3858 (custom-theme-visit-theme): Allow calling outside theme buffers.
3859 (custom-theme-merge-theme): Don't enable the theme when merging.
3860 (custom-theme-write-variables, custom-theme-write-faces): Use the
3861 :shown-value properties to save buffer values, not global ones.
3862 (customize-themes): Display a warning about user customizations.
3864 * cus-edit.el (custom-variable-value-create)
3865 (custom-face-value-create): Obey new special properties
3866 :shown-value and :inhibit-magic.
3868 2010-10-15 Michael Albinus <michael.albinus@gmx.de>
3870 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
3871 Suppress expansion of tabs to spaces. Reported by Dale Sedivec
3874 2010-10-14 Kenichi Handa <handa@m17n.org>
3876 * mail/rmail.el (rmail-show-message-1): Catch an error of
3877 base64-decode-region and just show an error message (bug#7165).
3879 * ps-mule.el (ps-mule-font-spec-list): Delete it. Not used anymore.
3880 (ps-mule-begin-job): Fix for the case that only ENCODING is set in
3881 a font-spec (bug#7197).
3883 2010-10-14 Glenn Morris <rgm@gnu.org>
3885 * mail/emacsbug.el (report-emacs-bug): Mention debbugs.gnu.org.
3887 2010-10-14 Juanma Barranquero <lekktu@gmail.com>
3889 * international/mule.el (define-coding-system):
3890 * international/titdic-cnv.el (quail-cxterm-package-ext-info):
3891 * composite.el (compose-region): Fix typo in docstring.
3893 2010-10-14 Chong Yidong <cyd@stupidchicken.com>
3895 * cus-face.el (custom-theme-set-faces): Call custom-push-theme
3896 only after checking the theme-face property.
3898 * faces.el (face-spec-reset-face): Reset all attributes in one
3899 single call to set-face-attribute.
3900 (face-spec-match-p): Make it a defsubst.
3901 (frame-set-background-mode): New arg KEEP-FACE-SPECS.
3902 (x-create-frame-with-faces, tty-create-frame-with-faces)
3903 (tty-set-up-initial-frame-faces): Don't recompute face specs in
3904 frame-set-background-mode, since they are recomputed immediately
3905 afterwards in face-set-after-frame-default.
3906 (face-set-after-frame-default): Minor optimization.
3907 (cursor): Provide non-trivial defface spec.
3909 * custom.el (custom-theme-recalc-face): Simplify.
3911 2010-10-14 Jay Belanger <jay.p.belanger@gmail.com>
3913 * calc/calc-alg.el (math-var): Rename from `var'.
3914 (math-is-polynomial, math-is-poly-rec): Replace `var'
3917 * calc/calcalg2.el (math-var): Rename from `var'.
3918 (calcFunc-table, math-scan-for-limits): Replace `var'
3921 2010-10-13 Glenn Morris <rgm@gnu.org>
3923 * subr.el (last): Deal with dotted lists (reported in bug#7174).
3925 2010-10-13 Stephen Berman <stephen.berman@gmx.net>
3927 * subr.el (last): Use `safe-length' instead of `length' (bug#7206).
3929 2010-10-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3931 * net/tls.el (tls-program): Remove spurious %s from openssl.
3932 (tls-starttls-switches): Remove starttls hack.
3933 (open-tls-stream): Ditto.
3934 (tls-find-starttls-argument): Ditto.
3936 2010-10-13 Juanma Barranquero <lekktu@gmail.com>
3938 * image.el (image-library-alist): Declare as obsolete alias.
3939 (image-type-available-p): Use `dynamic-library-alist'.
3941 * term/w32-win.el (dynamic-library-alist):
3942 Use instead of `image-library-alist'.
3944 2010-10-13 IRIE Shinsuke <irieshinsuke@yahoo.co.jp> (tiny change)
3946 * subr.el (last): Make it faster. (Bug#7174)
3948 2010-10-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> (tiny change)
3950 * Makefile.in (compile-clean): Use `` instead of $(). (Bug#7178)
3952 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
3954 * cus-theme.el (custom-theme--listed-faces): Add cursor face.
3955 (describe-theme-1): Extract doc from unloaded themes.
3957 * custom.el (custom-theme-name-valid-p): Don't list color-themes.
3959 * themes/tango-theme.el:
3960 * themes/tango-dark-theme.el:
3961 * themes/wheatgrass-theme.el: New files.
3963 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
3965 * cus-theme.el (describe-theme, customize-themes)
3966 (custom-theme-save): New commands.
3967 (custom-new-theme-mode-map): Bind C-x C-s.
3968 (custom-new-theme-mode): Use custom--initialize-widget-variables.
3969 (customize-create-theme): New optional arg THEME.
3970 (custom-theme-revert): Use it.
3971 (custom-theme-visit-theme): Remove dead code.
3972 (custom-theme-merge-theme): Use custom-available-themes.
3973 (custom-theme-write): Make interactive.
3974 (custom-theme-write): Use custom-theme-name-valid-p.
3975 (describe-theme-1, custom-theme-choose-revert)
3976 (custom-theme-checkbox-toggle, custom-theme-selections-toggle):
3978 (custom-theme-allow-multiple-selections): New option.
3979 (custom-theme-choose-mode): New major mode.
3981 * custom.el (custom-theme-set-variables): Remove dead code.
3982 Obey custom--inhibit-theme-enable.
3983 (custom--inhibit-theme-enable): New var.
3984 (provide-theme): Obey it.
3985 (load-theme): Replace load with manual read/eval, in order to
3986 check for correctness. Use custom-theme-name-valid-p.
3987 (custom-theme-name-valid-p): New function.
3988 (custom-available-themes): Use it.
3990 * cus-edit.el (custom--initialize-widget-variables): New function.
3991 (Custom-mode): Use it.
3993 * cus-face.el (custom-theme-set-faces): Remove dead code.
3994 Obey custom--inhibit-theme-enable.
3996 * help-mode.el (help-theme-def, help-theme-edit): New buttons.
3998 2010-10-12 Juanma Barranquero <lekktu@gmail.com>
4000 * net/telnet.el (telnet-mode-map): Fix previous change (bug#7193).
4002 2010-10-12 Jan Djärv <jan.h.d@swipnet.se>
4004 * term/ns-win.el (ns-right-alternate-modifier): New defvar.
4005 (ns-right-option-modifier): New alias for ns-right-alternate-modifier.
4006 (mac-right-option-modifier): New alias for ns-right-option-modifier.
4008 * cus-start.el (all): ns-right-alternate-modifier is new.
4010 2010-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
4012 * emacs-lisp/lisp.el (lisp-completion-at-point):
4013 Use emacs-lisp-mode-syntax-table for the whole function.
4015 2010-10-12 David Koppelman <koppel@ece.lsu.edu>
4017 * hi-lock.el (hi-lock-font-lock-hook): Check font-lock-fontified
4018 instead of font-lock-mode before adding keywords.
4019 Remove hi-lock-mode off code. Remove inhibit hack.
4020 (hi-lock-set-pattern): Only add keywords if font-lock-fontified
4021 non-nil; removed hook inhibit hack.
4023 2010-10-12 Glenn Morris <rgm@gnu.org>
4025 * emacs-lisp/shadow.el (find-emacs-lisp-shadows): Rename it...
4026 (load-path-shadows-find): ... to this.
4027 (list-load-path-shadows): Update for above change.
4029 * mail/mail-utils.el (mail-mbox-from): Also try return-path.
4031 2010-10-11 Katsumi Yamaoka <yamaoka@jpl.org>
4033 * mail/hashcash.el, net/imap.el, pgg-parse.el, pgg.el:
4034 Fix comment for declare-function.
4036 2010-10-11 Chong Yidong <cyd@stupidchicken.com>
4038 * custom.el (custom-fix-face-spec): New function; code moved from
4039 custom-face-edit-fix-value.
4040 (custom-push-theme): Use it when checking if a face has been
4041 changed outside customize.
4042 (custom-available-themes): New function.
4043 (load-theme): Use it.
4045 * cus-edit.el (custom-face-edit-fix-value): Use custom-fix-face-spec.
4047 * custom.el (custom-push-theme): Cleanup (use cond).
4048 (disable-theme): Recompute the saved-face property.
4049 (custom-theme-recalc-face): Follow face alias before setting prop.
4051 * image.el (image-checkbox-checked, image-checkbox-unchecked):
4052 New variables, containing checkbox images.
4054 * startup.el (fancy-startup-tail):
4055 * wid-edit.el (checkbox): Use them.
4057 2010-10-10 Dan Nicolaescu <dann@ics.uci.edu>
4059 * shell.el (shell-mode-map):
4060 * progmodes/modula2.el (m2-mode-map):
4061 * progmodes/inf-lisp.el (inferior-lisp-mode-map):
4062 * play/mpuz.el (mpuz-mode-map):
4063 * play/landmark.el (lm-mode-map):
4064 * play/decipher.el (decipher-mode-map):
4065 * play/5x5.el (5x5-mode-map):
4066 * net/telnet.el (telnet-mode-map):
4067 * net/quickurl.el (quickurl-list-mode-map):
4068 * net/mairix.el (mairix-searches-mode-map):
4069 * net/eudc-hotlist.el (eudc-hotlist-mode-map):
4070 * net/dig.el (dig-mode-map):
4071 * mail/mspools.el (mspools-mode-map):
4072 * hexl.el (hexl-mode-map):
4073 * emulation/ws-mode.el (wordstar-C-k-map, wordstar-mode-map)
4074 (wordstar-C-o-map, wordstar-C-q-map):
4075 * emacs-lisp/edebug.el (edebug-eval-mode-map):
4076 * emacs-lisp/chart.el (chart-map):
4077 * edmacro.el (edmacro-mode-map):
4078 * erc/erc-list.el (erc-list-menu-mode-map):
4079 * array.el (array-mode-map): Declare and define in one step.
4081 * vc/log-view.el (log-view-mode-map): Bind revert-buffer.
4083 2010-10-10 Daiki Ueno <ueno@unixuser.org>
4085 * epa.el (epa-passphrase-callback-function): Display filename
4086 passed as the 3rd arg.
4087 * epa-file.el (epa-file-passphrase-callback-function):
4088 Pass filename to epa-passphrase-callback-function.
4090 2010-10-09 Chong Yidong <cyd@stupidchicken.com>
4092 * cus-edit.el (custom-face-widget-to-spec)
4093 (custom-face-get-current-spec, custom-face-state): New functions.
4094 (custom-face-set, custom-face-mark-to-save)
4095 (custom-face-value-create, custom-face-state-set): Use them.
4097 * cus-theme.el (custom-theme--listed-faces): New var.
4098 (customize-create-theme): Use *Custom Theme* as the buffer name.
4099 Set revert-buffer-function. Optional arg BUFFER. Insert all
4100 faces listed in custom-theme--listed-faces.
4101 (custom-theme-revert): New function.
4102 (custom-theme-add-variable, custom-theme-add-face): Insert at the
4104 (custom-theme-write): Prompt for theme name if empty.
4105 (custom-theme-write-variables): Use dolist.
4106 (custom-theme-write-faces): Handle hidden (collapsed) widgets.
4108 2010-10-09 Alan Mackenzie <acm@muc.de>
4110 Enhance fontification of declarators to take account of the
4111 presence/absence of "typedef".
4113 * cc-engine.el (c-forward-type): New &optional param
4115 (c-forward-decl-or-cast-1): cdr of return value now indicates the
4116 presence of either or both of a "struct"-like keyword and "typedef".
4118 * cc-fonts.el (c-complex-decl-matchers): Remove the heuristic
4119 fontification of declarators which follow a "}".
4120 (c-font-lock-declarations): Fontify declarators according to the
4121 presence/absence of "typedef".
4123 * cc-langs.el (c-typedef-kwds c-typedef-key): New lang variable
4125 (c-typedef-decl-key): New lang variable built from
4126 c-typedef-decl-kwds.
4128 2010-10-09 Lars Magne Ingebrigtsen <larsi@gnus.org>
4130 * ibuffer.el (ibuffer-mode-map): Don't redefine the cursor keys,
4131 since that's too annoying. Move the filter groups commands to
4134 * epa.el (epa-passphrase-callback-function): Say what we're
4135 querying the password for.
4137 * ibuffer.el (ibuffer-visit-buffer): To mimick list-buffers
4138 behaviour, don't bury the ibuffer buffer when visiting other buffers.
4140 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
4142 * cus-edit.el (custom-commands, custom-buffer-create-internal)
4143 (custom-magic-value-create): Pad button tags with spaces.
4144 (custom-face-edit): New variable.
4145 (custom-face-value-create): Determine whether to use the usual
4146 face editor here, instead of using custom-face-selected.
4147 Pass face defaults to custom-face-edit widget.
4148 (custom-face-selected, custom-display-unselected): Delete widgets.
4149 (custom-display-unselected-match): Function removed.
4150 (custom-face-set, custom-face-mark-to-save):
4151 Accept custom-face-edit widgets as the direct widget child.
4153 * wid-edit.el (widget--completing-widget): New var.
4154 (widget-default-complete): Bind it when doing completion.
4155 (widget-string-complete, widget-file-complete): Use it.
4157 2010-10-09 Glenn Morris <rgm@gnu.org>
4159 * calendar/cal-hebrew.el (holiday-hebrew-rosh-hashanah)
4160 (holiday-hebrew-passover, holiday-hebrew-tisha-b-av)
4161 (holiday-hebrew-misc): Small simplifications.
4163 * emacs-lisp/authors.el (authors-valid-file-names): Add b2m.c.
4165 * net/browse-url.el: Don't require thingatpt, term, dired,
4166 executable, or w3-auto when compiling.
4167 (dired-get-filename, term-char-mode, term-send-down, term-send-string):
4169 (browse-url-text-emacs): Require term.
4171 2010-10-08 Andreas Schwab <schwab@linux-m68k.org>
4173 * net/browse-url.el (browse-url-xdg-open): Remove use of /bin/sh.
4175 2010-10-08 Glenn Morris <rgm@gnu.org>
4177 * emacs-lisp/cl-compat.el, emacs-lisp/lmenu.el: Move to obsolete/.
4179 * emacs-lisp/shadow.el (lisp-shadow): Change prefix.
4180 (shadows-compare-text-p): Make it an obsolete alias for...
4181 (load-path-shadows-compare-text): ... new name.
4182 (find-emacs-lisp-shadows): Update for above name change.
4183 (load-path-shadows-same-file-or-nonexistent): New name for the old
4184 shadow-same-file-or-nonexistent.
4186 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
4188 * minibuffer.el (completion--some, completion--do-completion)
4189 (minibuffer-complete-and-exit, minibuffer-completion-help)
4190 (completion-basic-try-completion)
4191 (completion-basic-all-completions)
4192 (completion-pcm--find-all-completions): Use lexical-let to
4193 avoid some false matches in variable completion (Bug#7056)
4195 2010-10-08 Olof Ohlsson Sax <olof.ohlsson.sax@gmail.com> (tiny change)
4197 * vc-svn.el (vc-svn-merge-news): Use --non-interactive. (Bug#7152)
4199 2010-10-08 Leo <sdl.web@gmail.com>
4201 * dnd.el (dnd-get-local-file-name): If MUST-EXIST is non-nil, only
4202 return non-nil if the file exists (Bug#7090).
4204 2010-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
4206 * minibuffer.el (completion--replace):
4207 Better preserve markers (bug#7138).
4209 2010-10-08 Juanma Barranquero <lekktu@gmail.com>
4211 * server.el (server-process-filter): Doc fix.
4213 2010-10-08 Drew Adams <drew.adams@oracle.com>
4215 * dired.el (dired-save-positions): Doc fix. (Bug#7119)
4217 2010-10-08 Glenn Morris <rgm@gnu.org>
4219 * vc/ediff-wind.el (ediff-setup-control-frame):
4220 * vc/ediff-ptch.el (ediff-default-backup-extension):
4221 * vc/ediff-diff.el (ediff-shell, ediff-diff-options)
4222 (ediff-exec-process): Remove system-types emx, windows-95.
4224 * net/browse-url.el (browse-url-xdg-open): Shell-quote url. (Bug#7166)
4226 2010-10-07 Chong Yidong <cyd@stupidchicken.com>
4228 * cus-edit.el (custom-variable, custom-face): Doc fix.
4229 (custom-face-edit): Add value-create attribute.
4230 (custom-face-edit-value-create)
4231 (custom-face-edit-value-visibility-action): New functions.
4232 Hide unused face attributes by default, and add a visibility toggle.
4233 (custom-face-edit-deactivate): Show empty values with shadow face.
4234 (custom-face-selected): Only use this for face specs with default
4236 (custom-face-value-create): Cleanup.
4238 * wid-edit.el (widget-checklist-value-create): Use dolist.
4239 (widget-checklist-match-find): Make second arg optional.
4241 2010-10-07 Glenn Morris <rgm@gnu.org>
4243 * hilit-chg.el (hilit-chg-get-diff-info, hilit-chg-get-diff-list-hk):
4246 * emacs-lisp/shadow.el (shadow-font-lock-keywords)
4247 (load-path-shadows-mode, list-load-path-shadows): Rename shadow-mode to
4248 load-path-shadows-mode, update references.
4249 (load-path-shadows-font-lock-keywords, load-path-shadows-find-file):
4250 Rename variable and button.
4251 (list-load-path-shadows): Update button caller.
4253 2010-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4255 * emacs-lisp/smie.el (smie-bnf-classify): New function.
4256 (smie-bnf-precedence-table): Use it to remember the closers/openers.
4257 (smie-merge-prec2s): Handle those new entries.
4258 (smie-prec2-levels): Only set precedence to nil for actual
4260 * progmodes/octave-mod.el (octave-smie-op-levels): Remove dummy entry
4261 that is now unnecessary.
4263 2010-10-07 Miles Bader <miles@gnu.org>
4265 * emacs-lisp/regexp-opt.el (regexp-opt): Add `symbols' mode.
4267 2010-10-07 Glenn Morris <rgm@gnu.org>
4269 * mail/rmail.el (mail-sendmail-delimit-header, mail-header-end)
4270 (mail-position-on-field): Remove declarations.
4271 (mail-position-on-field): Autoload it.
4272 (rmail-retry-failure): Replace use of mail-sendmail-delimit-header
4273 and mail-header-end. Don't require sendmail.
4275 * emacs-lisp/shadow.el (shadow-font-lock-keywords): New variable.
4276 (shadow-mode): New mode.
4277 (shadow-find-file): New button.
4278 (list-load-path-shadows): Use shadow-mode and buttons.
4280 * iimage.el (iimage-version): Remove.
4281 (iimage-mode-image-search-path, iimage-mode-image-regex-alist):
4282 Turn into defcustoms.
4283 (iimage-mode-map): Give it a doc string.
4285 * calendar/appt.el (appt-activate): Give a warning rather than an error
4286 if there is no diary-file.
4288 2010-10-06 Michael Albinus <michael.albinus@gmx.de>
4290 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4291 Use `tramp-handle-find-backup-file-name'.
4293 2010-10-06 Glenn Morris <rgm@gnu.org>
4295 * font-core.el (font-lock-defaults-alist): Remove variable.
4296 (font-lock-mode): Doc fix.
4297 (font-lock-default-function): Do not consult font-lock-defaults-alist.
4298 * font-lock.el (font-lock-refresh-defaults): Doc fix.
4299 (font-lock-set-defaults): Doc fix.
4300 Do not consult font-lock-defaults-alist.
4302 * hilit-chg.el (hilit-chg-get-diff-list-hk): Declare `e' for compiler.
4304 * emacs-lisp/cl.el: No longer provide cl-19.
4306 2010-10-05 Michael Albinus <michael.albinus@gmx.de>
4308 * net/tramp.el (tramp-handle-directory-files-and-attributes)
4309 (tramp-handle-file-exists-p, tramp-handle-file-newer-than-file-p):
4310 New defuns, taken from tramp-smb.el.
4311 (tramp-coding-system-change-eol-conversion)
4312 (tramp-set-process-query-on-exit-flag): Remove.
4314 * net/tramp-compat.el (top): Do not check for byte-compiler objects.
4315 (tramp-compat-coding-system-change-eol-conversion)
4316 (tramp-compat-set-process-query-on-exit-flag): New defuns, taken
4319 * net/tramp-gvfs.el:
4320 * net/tramp-gw.el: Replace `tramp-set-process-query-on-exit-flag'
4321 by `tramp-compat-set-process-query-on-exit-flag'.
4323 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
4324 Use `tramp-handle-directory-files-and-attributes',
4325 `tramp-handle-file-exists-p' and
4326 `tramp-handle-file-newer-than-file-p'.
4327 (tramp-imap-handle-file-exists-p)
4328 (tramp-imap-handle-file-executable-p)
4329 (tramp-imap-handle-file-readable-p)
4330 (tramp-imap-handle-directory-files-and-attributes)
4331 (tramp-imap-handle-file-newer-than-file-p): Remove.
4333 * net/tramp-sh.el: Replace `tramp-set-process-query-on-exit-flag'
4334 by `tramp-compat-set-process-query-on-exit-flag' and
4335 `tramp-coding-system-change-eol-conversion' by
4336 `tramp-compat-coding-system-change-eol-conversion'.
4338 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4339 Use `tramp-handle-directory-files-and-attributes',
4340 `tramp-handle-file-exists-p' and
4341 `tramp-handle-file-newer-than-file-p'.
4342 (tramp-smb-handle-directory-files-and-attributes)
4343 (tramp-smb-handle-file-exists-p)
4344 (tramp-smb-handle-file-newer-than-file-p): Remove.
4345 (tramp-smb-maybe-open-connection):
4346 Replace `tramp-set-process-query-on-exit-flag' by
4347 `tramp-compat-set-process-query-on-exit-flag'.
4349 2010-10-05 Glenn Morris <rgm@gnu.org>
4351 * obsolete/rnews.el, obsolete/rnewspost.el: Remove files.
4353 2010-10-04 Michael Albinus <michael.albinus@gmx.de>
4355 Continue reorganization of load dependencies. (Bug#7156)
4357 * net/tramp.el (tramp-handle-file-local-copy-hook)
4358 (tramp-delete-temp-file-function): Move down.
4359 (tramp-exists-file-name-handler): Move up.
4360 (tramp-register-file-name-handlers): Simplify autoload.
4361 (tramp-handle-write-region-hook, tramp-handle-directory-file-name)
4362 (tramp-handle-directory-files, tramp-handle-dired-uncache)
4363 (tramp-handle-file-modes, tramp-handle-file-name-as-directory)
4364 (tramp-handle-file-name-completion)
4365 (tramp-handle-file-name-directory)
4366 (tramp-handle-file-name-nondirectory, tramp-handle-file-regular-p)
4367 (tramp-handle-file-remote-p, tramp-handle-file-symlink-p)
4368 (tramp-handle-find-backup-file-name)
4369 (tramp-handle-insert-file-contents, tramp-handle-load)
4370 (tramp-handle-substitute-in-file-name)
4371 (tramp-handle-unhandled-file-name-directory)
4372 (tramp-mode-string-to-int, tramp-local-host-p)
4373 (tramp-make-tramp-temp-file): Move from tramp-sh.el.
4375 * net/tramp-gvfs.el (top):
4376 * net/tramp-smb.el (top): Do not require 'tramp-sh.
4378 * net/tramp-sh.el (all): Move several objects to tramp.el, see
4379 there. Rename `tramp-handle-*' to `tramp-sh-handle-*'.
4381 2010-10-04 Glenn Morris <rgm@gnu.org>
4383 * calendar/appt.el (appt-add): Ensure reminders are enabled.
4384 (appt-activate): Give status messages.
4386 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
4388 * net/gnutls.el: Improve docs. Remove starttls and ssl emulation.
4389 Provide only `open-gnutls-stream' (formerly `open-ssl-stream') and
4390 `gnutls-negotiate' (formerly `starttls-negotiate').
4391 Remove trivial wrapper `starttls-open-stream'.
4393 2010-10-03 Dan Nicolaescu <dann@ics.uci.edu>
4395 Make 'g' (AKA revert-buffer) rerun the VC log, log-incoming and
4396 log-outgoing commands.
4397 * vc/vc.el (vc-log-internal-common): Add a new argument and use it
4398 to create a buffer local revert-buffer-function variable.
4399 (vc-print-log-internal, vc-log-incoming, vc-log-outgoing): Pass a
4400 revert-buffer-function lambda.
4402 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
4404 * net/gnutls.el (starttls-negotiate): Use the plist interface to
4405 `gnutls-boot'. Make TYPE the only required parameter.
4406 Allow TRUSTFILES and KEYFILES to be lists.
4407 (open-ssl-stream): Use it.
4409 2010-10-03 Glenn Morris <rgm@gnu.org>
4411 * subr.el (directory-sep-char): Remove obsolete variable.
4412 * net/tramp-compat.el: Don't mess about with the byte-compiler unless
4415 * vc/vc-hooks.el (vc-header-alist): Remove obsolete variable.
4416 * vc/vc.el (vc-static-header-alist): Doc fix.
4417 * vc/vc-cvs.el (vc-cvs-header):
4418 * vc/vc-rcs.el (vc-rcs-header):
4419 * vc/vc-sccs.el (vc-sccs-header):
4420 * vc/vc-svn.el (vc-svn-header): Do not consult vc-header-alist.
4421 * obsolete/vc-mcvs.el (vc-mcvs-header):
4422 * progmodes/cperl-mode.el (cperl-mode): Only set vc-header-alist
4425 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
4427 * emacs-lisp/bytecomp.el (byte-compile-from-buffer):
4428 Remove obsolete use of binary-overwrite-mode (Bug#7001).
4430 2010-10-03 Glenn Morris <rgm@gnu.org>
4432 * obsolete/x-menu.el: Remove file, obsolete since 21.1
4434 * textmodes/rst.el (rst-font-lock-keywords-function):
4437 * textmodes/artist.el (artist-replace-char): Drop Emacs 20 code.
4439 * printing.el: Drop Emacs 20 code.
4441 * calendar/appt.el (appt-delete): Don't autoload it (you can't use it
4442 without having used appt.el already).
4444 * subr.el (make-local-hook): Remove function obsolete since 21.1.
4445 * progmodes/cc-mode.el (make-local-hook): Don't do cc-bytecomp stuff.
4446 (c-basic-common-init, c-font-lock-init): Only call make-local-hook on
4448 * progmodes/cc-styles.el (make-local-hook): Don't do cc-bytecomp stuff.
4449 (c-make-styles-buffer-local): Only call make-local-hook on XEmacs.
4451 * ps-def.el (leading-code-private-22, charset-bytes, charset-id)
4452 (charset-width, find-charset-region, chars-in-region, forward-point)
4453 (encode-coding-string, coding-system-p, ccl-execute-on-string)
4454 (define-ccl-program, multibyte-string-p, string-make-multibyte):
4455 Remove compatibility cruft (none of these are used by ps*.el).
4457 2010-10-03 Kevin Rodgers <kevin.d.rodgers@gmail.com>
4459 * subr.el (booleanp): Return t instead of a list (Bug#7086).
4461 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
4463 * server.el (server-process-filter, server-return-error):
4464 Give emacsclient time to shut down after receiving an error string.
4466 2010-10-02 Michael Albinus <michael.albinus@gmx.de>
4468 * files.el (remote-file-name-inhibit-cache): New defcustom.
4470 * time.el (display-time-file-nonempty-p):
4471 Use `remote-file-name-inhibit-cache'.
4473 * net/tramp.el (tramp-completion-reread-directory-timeout):
4476 * net/tramp-cache.el (tramp-cache-inhibit-cache): Remove.
4477 (tramp-get-file-property): Replace `tramp-cache-inhibit-cache' by
4478 `remote-file-name-inhibit-cache'. Check also for an integer
4479 value. Add/increase counter when `tramp-verbose' >= 10.
4480 (tramp-set-file-property): Add/increase counter when
4481 `tramp-verbose' >= 10.
4483 * net/tramp-cmds.el (tramp-cleanup-all-connections)
4484 (tramp-cleanup-all-buffers): Set tramp-autoload cookie.
4485 (tramp-bug): Set tramp-autoload cookie. Report all interned
4486 tramp-* variables. Report also `remote-file-name-inhibit-cache'.
4487 (tramp-reporter-dump-variable): Fix docstring. Mask non-7bit
4488 characters only in strings.
4490 * net/tramp-compat.el (remote-file-name-inhibit-cache): Define due
4491 to backward compatibility.
4493 * net/tramp-sh.el (tramp-handle-verify-visited-file-modtime)
4494 (tramp-handle-file-name-all-completions)
4495 (tramp-handle-vc-registered): Use `remote-file-name-inhibit-cache'.
4496 (tramp-open-connection-setup-interactive-shell):
4497 Call `tramp-cleanup-connection' directly.
4499 2010-10-02 Glenn Morris <rgm@gnu.org>
4501 * emacs-lisp/checkdoc.el (checkdoc-minor-keymap): Remove obsolete alias.
4503 * subr.el (char-bytes): Remove obsolete function.
4505 * isearch.el (isearch-return-char): Remove obsolete function.
4507 * mouse.el: No longer provide mldrag.
4508 (mldrag-drag-mode-line, mldrag-drag-vertical-line):
4509 Remove obsolete aliases.
4511 * comint.el (comint-kill-output): Remove obsolete alias.
4513 * composite.el (decompose-composite-char): Remove obsolete function.
4514 * ps-def.el (decompose-composite-char): Remove unused function.
4516 * iswitchb.el (iswitchb-default-keybindings): Remove obsolete function.
4518 * outline.el (outline-visible): Remove obsolete function.
4520 * term/pc-win.el (x-frob-font-slant, x-frob-font-weight):
4521 * faces.el (internal-find-face, internal-get-face)
4522 (frame-update-faces, frame-update-face-colors)
4523 (x-frob-font-weight, x-frob-font-slant)
4524 (internal-frob-font-weight, internal-frob-font-slant)
4525 (x-make-font-bold, x-make-font-demibold, x-make-font-unbold)
4526 (x-make-font-italic, x-make-font-oblique, x-make-font-unitalic)
4527 (x-make-font-bold-italic): Remove functions and aliases, obsolete
4529 * emulation/viper-util.el (viper-get-face):
4530 * obsolete/lucid.el (find-face, get-face): Use facep.
4531 * vc/ediff-init.el (ediff-valid-color-p, ediff-get-face):
4532 Remove unused functions.
4533 * vc/ediff-util.el (ediff-submit-report): Doc fix.
4535 * emacs-lisp/bytecomp.el (byte-compile-file): Use kill-emacs-hook to
4536 delete tempfile if interrupted during compilation.
4538 2010-10-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
4540 * net/tls.el (tls-starttls-switches): Give up on using starttls with
4542 (tls-program): Add --insecure to be consistent with the defaults from
4543 openssl s_client. Now all three commands are insecure.
4545 2010-10-01 Eli Zaretskii <eliz@gnu.org>
4547 * makefile.w32-in (DEST, TAGS, TAGS-LISP, TAGS-nmake)
4548 (TAGS-LISP-nmake, TAGS-gmake, TAGS-LISP-gmake, TAGS-SH)
4549 (TAGS-LISP-SH, TAGS-CMD, TAGS-LISP-CMD): New targets.
4551 2010-10-01 Glenn Morris <rgm@gnu.org>
4553 * obsolete/sc.el: Remove file.
4555 * files.el (temporary-file-directory): On darwin, also try
4556 DARWIN_USER_TEMP_DIR (see discussion in bug#7135).
4558 2010-10-01 Juanma Barranquero <lekktu@gmail.com>
4560 * server.el (server-start): Revert part of 2010-09-30T02:53:26Z!lekktu@gmail.com.
4561 Let's not break compatibility gratuitously, shall we?
4563 2010-09-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
4565 * net/tls.el (tls-starttls-switches): New variable.
4566 (tls-find-starttls-argument): Use it.
4567 (open-tls-stream): Ditto.
4569 * net/netrc.el (netrc-credentials): Return the value of the "default"
4571 (netrc-machine): Ditto.
4573 2010-09-30 Eli Zaretskii <eliz@gnu.org>
4575 * vc/vc-hooks.el (vc-default-mode-line-string): Doc fix.
4577 2010-09-30 Juanma Barranquero <lekktu@gmail.com>
4579 * server.el (server-start): Don't write pid to the authentication file.
4580 (server-create-tty-frame): Don't send pid.
4581 (server-process-filter): Send pid at the start of every connection.
4583 2010-09-30 Glenn Morris <rgm@gnu.org>
4585 * calendar/diary-lib.el (view-diary-entries, list-diary-entries)
4586 (show-all-diary-entries): Remove obsolete function aliases.
4588 * calendar/appt.el (appt-issue-message, appt-visible, appt-msg-window):
4589 Remove options, obsolete since 22.1.
4590 (appt-display-format, appt-display-message):
4591 Remove backwards-compatibility code.
4592 (appt-check): No longer check appt-issue-message.
4593 (appt-make-list): No longer autoload it. Doc fix. No longer
4594 activate the package.
4596 2010-09-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
4598 * net/gnutls.el (starttls-negotiate): Loop a lot longer.
4599 (starttls-negotiate): Just call boot, and let the handshake be
4600 triggered from the read loop.
4602 2010-09-29 Glenn Morris <rgm@gnu.org>
4604 * calendar/diary-lib.el (diary-list-entries): Use temp buffers when
4605 not displaying the diary.
4606 (diary-add-to-list): If no buffer-file-name, fall back to diary-file.
4607 * calendar/appt.el (appt-check): No longer need to kill diary.
4609 * calendar/diary-lib.el (diary-list-entries): Move the
4610 "Preparing..." message entirely here.
4611 (diary-simple-display, diary-fancy-display): Move "Preparing..."
4612 messages to diary-list-entries.
4613 (diary-include-other-diary-files): Use LIST-ONLY rather than setting
4614 diary-display-function.
4616 * calendar/diary-lib.el (diary-include-other-diary-files):
4617 Trap some recursive includes.
4619 * calendar/appt.el (appt-activate): Check diary file.
4621 2010-09-29 Katsumi Yamaoka <yamaoka@jpl.org>
4623 * pgg.el (pgg-run-at-time-1): Define it for XEmacs only; fix if/else
4626 * calendar/time-date.el: No need to require cl for Emacs 21.
4628 2010-09-28 Glenn Morris <rgm@gnu.org>
4630 * calendar/appt.el (appt-check): Minor simplification.
4632 2010-09-28 Katsumi Yamaoka <yamaoka@jpl.org>
4634 * mail/sendmail.el (mail-citation-prefix-regexp): Remove "}" from
4637 2010-09-27 Andreas Schwab <schwab@linux-m68k.org>
4639 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
4640 Avoid infinite recursion on erroneous lambda form. (Bug#7114)
4642 2010-09-27 Kenichi Handa <handa@m17n.org>
4644 * tar-mode.el (tar-header-block-tokenize): Decode filenames in
4647 2010-09-27 Kenichi Handa <handa@m17n.org>
4649 * international/mule.el (define-coding-system): Docstring fixed.
4651 * international/mule-diag.el (describe-character-set): Use princ
4652 with proper print-length and print-level instead of insert.
4654 2010-09-27 Juanma Barranquero <lekktu@gmail.com>
4656 * window.el (walk-windows): Doc fix (bug#7105).
4658 2010-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
4660 * emacs-lisp/float-sup.el (e): Remove.
4662 2010-09-27 Teodor Zlatanov <tzz@lifelogs.com>
4664 * net/gnutls.el (gnutls, gnutls-log-level): Add group and custom
4666 (starttls-negotiate): Use it.
4668 2010-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
4670 * net/gnutls.el (starttls-negotiate): Stop looping when we get a t
4673 2010-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
4675 * emacs-lisp/pcase.el (pcase-let*, pcase-let): plet -> pcase-let.
4677 2010-09-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
4679 * net/gnutls.el (starttls-negotiate): Avoid the cl.el decf function.
4681 * net/netrc.el (netrc-store-data): New function.
4683 2010-09-26 Teodor Zlatanov <tzz@lifelogs.com>
4685 * net/gnutls.el: GnuTLS glue code to set up a connection.
4687 2010-09-25 Julien Danjou <julien@danjou.info>
4689 * notifications.el: Call dbus-register-signal only if it is bound.
4691 2010-09-25 Glenn Morris <rgm@gnu.org>
4693 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
4694 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
4695 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
4696 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
4697 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
4698 * eshell/esh-cmd.el, eshell/esh-ext.el, eshell/esh-io.el:
4699 * eshell/esh-mode.el, eshell/esh-proc.el, eshell/esh-test.el:
4700 * eshell/esh-util.el, eshell/esh-var.el:
4701 Remove leading `*' from docs of faces and defcustoms.
4703 2010-09-25 Ulrich Mueller <ulm@gentoo.org>
4705 * eshell/em-ls.el (eshell-ls-archive-regexp):
4706 * eshell/esh-util.el (eshell-tar-regexp):
4707 * ibuffer.el (ibuffer-compressed-file-name-regexp):
4708 * info.el (Info-suffix-list):
4709 * international/mule.el (auto-coding-alist):
4710 * woman.el (woman-file-regexp, woman-file-compression-regexp):
4711 * progmodes/etags.el (tags-compression-info-list):
4712 Support xz compression.
4714 2010-09-25 Chong Yidong <cyd@stupidchicken.com>
4716 * files.el (get-free-disk-space): Don't assume the "df" output
4717 columns line up (Bug#6995).
4719 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
4721 * finder.el (finder-unknown-keywords):
4722 * progmodes/gdb-mi.el (gdb-jsonify-buffer, gdb-running-threads-count):
4723 * progmodes/etags.el (tags-table-including): Fix typos in docstrings.
4725 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
4727 * server.el (server-start): Revert part of 2010-08-08 change. Using
4728 address 127.0.0.1 for local host is now done in Fmake_network_process.
4730 2010-09-24 Glenn Morris <rgm@gnu.org>
4732 * image-mode.el, progmodes/compile.el, progmodes/gud.el:
4733 * progmodes/mixal-mode.el, textmodes/bibtex-style.el:
4734 * textmodes/css-mode.el, textmodes/dns-mode.el:
4735 Move autoloaded auto-mode-alist entries to files.el.
4736 * files.el (auto-mode-alist): Move entries here.
4738 2010-09-23 Glenn Morris <rgm@gnu.org>
4740 * isearch.el (isearch-lazy-highlight-cleanup)
4741 (isearch-lazy-highlight-initial-delay)
4742 (isearch-lazy-highlight-interval)
4743 (isearch-lazy-highlight-max-at-a-time, isearch-lazy-highlight-face):
4744 * net/net-utils.el (ipconfig-program-options):
4745 Move aliases to options before the associated definitions.
4747 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
4749 * newcomment.el (comment-normalize-vars): Better test validity of
4752 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
4754 * emacs-lisp/float-sup.el (float-pi): New name for `pi'.
4755 (float-e): New name for `e'.
4756 (degrees-to-radians, radians-to-degrees):
4757 * calendar/solar.el (solar-longitude):
4758 * calculator.el (calculator-registers, calculator-funcall):
4759 * textmodes/artist.el (artist-spray-random-points):
4760 * play/bubbles.el (bubbles--initialize-images): Use new names.
4762 2010-09-23 Eric M. Ludlam <zappo@gnu.org>
4764 Update to CEDET 1.0's version of EIEIO.
4766 * emacs-lisp/eieio.el (eieio-specialized-key-to-generic-key):
4768 (eieio-defmethod, eieio-generic-form, eieio-generic-call): Use it.
4769 (eieio-default-eval-maybe): Eval val instead of unquoting only.
4770 (class-precedence-list): If class is nil, return nil.
4771 (eieio-generic-call): If class of first input arg is nil, don't
4772 look up static methods, and do check for primary methods.
4773 (initialize-instance): See if the default needs to be evaluated
4774 during the constructor.
4775 (eieio-perform-slot-validation-for-default): Don't do the check
4776 for values that will eventually be evaluated.
4777 (eieio-eval-default-p): New function.
4778 (eieio-default-eval-maybe): Use it.
4780 2010-09-23 Jan Moringen <jan.moringen@uni-bielefeld.de>
4782 * emacs-lisp/eieio.el (eieio-defclass): Allow :c3
4783 method-invocation-order.
4784 (eieio-c3-candidate, eieio-c3-merge-lists): New functions.
4785 (eieio-class-precedence-dfs): Compute class precedence list using
4787 (eieio-class-precedence-bfs): Compute class precedence list using
4789 (eieio-class-precedence-c3): Compute class precedence list using
4791 (class-precedence-list): New function.
4792 (eieiomt-method-list, eieiomt-sym-optimize): Use it.
4793 (inconsistent-class-hierarchy): New error symbol.
4794 (call-next-method): Stow the replacement argument list for future
4795 call-next-method invocations.
4797 2010-09-23 Glenn Morris <rgm@gnu.org>
4799 * calendar/appt.el (appt-check): If not displaying the diary,
4800 use (diary 1) to only get the entries we need.
4801 (appt-make-list): Sort diary-list-entries, if we cannot guarantee
4802 that it is in day order. (Bug#7019)
4804 * calendar/appt.el (appt-check): Rather than showing the diary,
4805 just turn off invisible display, and only if needed.
4807 * calendar/diary-lib.el (diary-list-entries): Doc fix. (Bug#7019)
4809 2010-09-23 Glenn Morris <rgm@gnu.org>
4811 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
4812 (byte-compile-defvar, byte-compile-cl-warn):
4813 Start warnings with lower-case, like the majority.
4815 * files.el (auto-mode-alist): Add .xa, .xw, .xsw for ld-script-mode.
4817 * files.el (auto-mode-alist): Prefer C-mode for .xs. (Bug#7071)
4819 * progmodes/ld-script.el (auto-mode-alist): Move to files.el.
4820 * files.el (auto-mode-alist): Move ld-script entries here, further down
4823 * vc/add-log.el: Don't require timezone when compiling.
4824 (timezone-make-date-sortable): Autoload it.
4825 (change-log-sortable-date-at): Don't require timezone.
4826 Use `ignore-errors'.
4828 * comint.el (comint-use-prompt-regexp-instead-of-fields):
4829 Move alias before definition, so it does not need autoloading.
4831 * emulation/crisp.el, emulation/cua-base.el, emulation/edt.el:
4832 * emulation/pc-select.el, emulation/vip.el, international/iso-ascii.el:
4833 * international/kkc.el, international/ogonek.el, mail/feedmail.el:
4834 * net/browse-url.el, net/eudc-vars.el, net/net-utils.el:
4835 * net/rcompile.el, net/rlogin.el, textmodes/enriched.el:
4836 * textmodes/makeinfo.el, textmodes/page-ext.el, textmodes/picture.el:
4837 * textmodes/refer.el, textmodes/spell.el, textmodes/table.el:
4838 * textmodes/tex-mode.el, textmodes/two-column.el:
4839 Remove leading `*' from docs of defcustoms etc.
4841 2010-09-23 Teodor Zlatanov <tzz@lifelogs.com>
4843 * net/netrc.el (netrc-parse): Remove encrypt.el mentions.
4845 2010-09-22 Dan Christensen <jdc@uwo.ca>
4847 * calendar/time-date.el (date-to-time): Try using parse-time-string
4848 first before using the slower timezone-make-date-arpa-standard.
4850 2010-09-22 Katsumi Yamaoka <yamaoka@jpl.org>
4852 * calendar/time-date.el (format-seconds): Comment fix.
4854 2010-09-22 Glenn Morris <rgm@gnu.org>
4856 * emacs-lisp/package.el (package-menu-mode): `revert-buffer-function'
4857 is not automatically buffer-local.
4859 2010-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
4861 * emacs-lisp/smie.el (smie-debug--describe-cycle): Fix typo.
4862 (smie-indent-comment): Be more careful with comment-start-skip.
4863 (smie-indent-comment-close, smie-indent-comment-inside): New funs.
4864 (smie-indent-functions): Use them.
4866 2010-09-21 Michael Albinus <michael.albinus@gmx.de>
4868 * net/ange-ftp.el (ange-ftp-skip-msgs): Add "^504 ..." message.
4870 2010-09-21 Jan Djärv <jan.h.d@swipnet.se>
4872 * menu-bar.el (menu-bar-set-tool-bar-position): customize-set-variable
4873 tool-bar-position. Don't modify frame parameters here.
4874 (menu-bar-options-save): Add tool-bar-position.
4876 * tool-bar.el (tool-bar-position): New defcustom (Bug#7049).
4878 2010-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
4880 * textmodes/reftex-parse.el (reftex-what-macro)
4881 (reftex-context-substring): Let-bind forward-sexp-function to nil
4882 since we don't need/want to treat \begin...\end as a block (bug#7053).
4884 * emacs-lisp/lisp.el (up-list): Don't do nothing silently.
4886 * simple.el (blink-matching-open): Use syntax-class.
4888 * progmodes/pascal.el (pascal-mode): Use define-derived-mode.
4889 Set invisibility spec for pascal's outline mode.
4890 (pascal-outline-change): Clean up calling convention.
4891 (pascal-show-all, pascal-hide-other-defuns): Update callers.
4893 * progmodes/prolog.el (prolog-smie-forward-token)
4894 (prolog-smie-backward-token): New functions.
4895 (prolog-mode-variables): Use them to parse "!," correctly.
4896 Set up smie-blink-matching for ".".
4898 * textmodes/ispell.el (ispell-start, ispell-end): Rename from `start'
4900 (ispell-region, ispell-process-line): Update users.
4902 * textmodes/reftex-parse.el (reftex-what-macro): Don't hardcode
4905 * textmodes/ispell.el: Fix commenting convention.
4906 (ispell-parse-output): Simplify, use push.
4907 (ispell-region): Use match-string-no-properties.
4908 (ispell-begin-skip-region-regexp): Use mapconcat to simplify.
4909 (ispell-minor-mode): Use define-minor-mode.
4910 (ispell-message): Remove unused var `skip-regexp'.
4911 (ispell-add-per-file-word-list): Use dynamic let-binding.
4912 Try and use the proper comment marker.
4914 * mail/sendmail.el: Fix commenting convention.
4915 (sendmail-send-it): Use line-beginning-position.
4917 * help-fns.el (describe-variable): Add original value, if applicable.
4919 2010-09-20 Juanma Barranquero <lekktu@gmail.com>
4921 * subr.el (y-or-n-p): Remove leftover code from 2010-09-17T13:30:30Z!monnier@iro.umontreal.ca.
4923 * emacs-lisp/smie.el (smie-indent--hanging-p): Use `smie-indent--bolp'.
4925 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
4927 * emacs-lisp/smie.el (smie-bnf-precedence-table): Improve error message.
4928 (smie-debug--prec2-cycle, smie-debug--describe-cycle): New functions.
4929 (smie-prec2-levels): Use them to better diagnose precedence cycles.
4930 (smie-blink-matching-check): Don't signal a mismatch if car is t.
4931 (smie-blink-matching-open): Rewrite to remove assumptions, so that
4932 something like "." can also be a closer.
4933 (smie--associative-p, smie-indent--hanging-p, smie-indent--bolp)
4934 (smie-indent--offset, smie-indent--offset-rule, smie-indent--column):
4935 Rename internal functions to use "--". Update callers.
4937 * frame.el (make-frame-names-alist): Don't list frames on other displays.
4939 * fringe.el (fringe-styles): New var.
4940 (fringe-mode, fringe-query-style): Use it.
4942 2010-09-18 Michael R. Mauger <mmaug@yahoo.com>
4944 * progmodes/sql.el: Version 2.8
4945 (sql-login-params): Update widget structure; changes still needed.
4946 (sql-product-alist): Add :list-all and :list-table features for
4947 SQLite, Postgres and MySQL products.
4948 (sql-redirect): Handle default value.
4949 (sql-execute, sql-execute-feature): New functions.
4950 (sql-read-table-name): New function.
4951 (sql-list-all, sql-list-table): New functions. User API.
4952 (sql-mode-map, sql-interactive-mode-map): Add key definitions
4953 for above functions.
4954 (sql-mode-menu, sql-interactive-mode-menu): Add menu definitions
4955 for above functions.
4956 (sql-postgres-login-params): Add user and database defaults.
4957 (sql-buffer-live-p): Bug fix.
4958 (sql-product-history): New variable.
4959 (sql-read-product): New function. Use it.
4960 (sql-set-product, sql-product-interactive): Use it.
4961 (sql-connection-history): New variable.
4962 (sql-read-connection): New function. Use it.
4963 (sql-connect): New function.
4964 (sql-for-each-login): Redesign function interface.
4965 (sql-make-alternate-buffer-name, sql-save-connection): Use it.
4966 (sql-get-login-ext, sql-get-login): Use it. Handle default values.
4967 (sql-comint): Check for program. Existing live buffer.
4968 (sql-comint-postgres): Add port parameter.
4970 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
4972 * emacs-lisp/warnings.el: Fix commenting convention.
4973 (display-warning): Use special mode and make the buffer read-only.
4975 2010-09-18 Jay Belanger <jay.p.belanger@gmail.com>
4977 * calc/calc-prog.el (calc-read-parse-table-part): Don't "fix" the
4978 empty string when it follows a repeated or optional pattern.
4980 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
4982 * indent.el (indent-according-to-mode): Apply syntax-propertize.
4983 (indent-region): Use indent-according-to-mode.
4985 2010-09-18 Eli Zaretskii <eliz@gnu.org>
4987 * fringe.el (fringe-mode): Doc fix.
4989 2010-09-14 Kan-Ru Chen <kanru@kanru.info> (tiny change)
4991 * textmodes/nroff-mode.el (nroff-view): Kill old buffer before
4992 refreshing the preview buffer.
4994 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
4996 * textmodes/tex-mode.el (tex-syntax-propertize-rules)
4997 (latex-syntax-propertize-rules): New consts; replace
4998 tex-font-lock-syntactic-keywords.
4999 (tex-env-mark, latex-env-before-change): New functions.
5000 (latex-electric-env-pair-mode): New minor mode.
5001 (tex-font-lock-verb): Change arguments; do move point.
5002 (tex-font-lock-syntactic-face-function): Adjust to new verbatim
5003 representation as a form of comment.
5004 (tex-font-lock-keywords-1): Remove workaround, now unneeded.
5005 (doctex-syntax-propertize-rules): New const; replaces
5006 doctex-font-lock-syntactic-keywords.
5007 (tex-common-initialization, doctex-mode): Use syntax-propertize-rules.
5009 * progmodes/fortran.el (fortran--font-lock-syntactic-keywords): Remove.
5010 (fortran-make-syntax-propertize-function): New function; replaces
5011 fortran-font-lock-syntactic-keywords.
5012 (fortran-mode): Use it.
5013 (fortran-line-length): Use it. Improve interactive spec.
5015 * emacs-lisp/syntax.el (syntax-propertize-precompile-rules): New macro.
5016 (syntax-propertize-rules): Add var-ref case. Fix offset computation
5017 when adding surrounding \(..\).
5019 * progmodes/js.el (js-mode): Fix last change (bug#7054).
5021 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
5023 * obsolete/old-whitespace.el (whitespace-rescan-files-in-buffers):
5024 Use with-current-buffer.
5026 * isearch.el (isearch-face): Rename from `isearch'.
5027 (isearch-highlight): Use new name.
5029 2010-09-17 Eli Zaretskii <eliz@gnu.org>
5031 * fringe.el (fringe-mode, fringe-query-style): Use 4 pixels, not
5032 5, for `half' width fringes. (Bug#6933)
5034 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
5036 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
5037 (byte-compile-defvar): "foo/bar" does not lack a prefix.
5039 * subr.el (y-or-n-p): Add the "(y or n)" that was lost somehow.
5041 2010-09-17 Stephen Berman <stephen.berman@gmx.net>
5043 * dframe.el (dframe-reposition-frame-emacs): Use tool-bar-pixel-width
5044 in calculating new frame position. Add more space between new and
5045 parent on the left (Bug#7048).
5047 2010-09-17 Michael Albinus <michael.albinus@gmx.de>
5049 * net/tramp-compat.el (tramp-compat-with-temp-message): Make it a
5052 2010-09-16 Chong Yidong <cyd@stupidchicken.com>
5054 * mail/sendmail.el: Add "*unsent mail*" to same-window-buffer-names.
5056 * term/x-win.el (x-cut-buffer-or-selection-value): Define as
5057 obsolete alias for x-selection-value.
5059 * ido.el (ido-make-buffer-list): Fix error in 2010-08-22 merge.
5061 2010-09-16 Michael Albinus <michael.albinus@gmx.de>
5063 * net/tramp-cmds.el (tramp-cleanup-connection): Set tramp-autoload
5066 2010-09-15 Michael Albinus <michael.albinus@gmx.de>
5068 * net/tramp-compat.el (tramp-compat-with-temp-message)
5069 (tramp-compat-font-lock-add-keywords, tramp-compat-process-get)
5070 (tramp-compat-process-put): New defuns.
5072 * net/tramp.el (top):
5073 * net/tramp-gvfs.el (top):
5074 * net/tramp-cache.el (top): Use `tramp-compat-font-lock-add-keywords'.
5076 * net/tramp.el (tramp-progress-reporter-update):
5077 Use `tramp-compat-funcall'.
5079 * net/tramp.el (tramp-process-actions):
5080 * net/tramp-gvfs.el (tramp-handle-vc-registered):
5081 * net/tramp-sh.el (tramp-gvfs-handler-askquestion)
5082 (tramp-get-remote-stat, tramp-get-remote-readlink):
5083 Use `tramp-compat-with-temp-message'.
5085 * net/tramp-sh.el (top): Require 'cl.
5086 (tramp-handle-start-file-process): Use `tramp-compat-process-get'.
5087 (tramp-open-connection-setup-interactive-shell):
5088 Use `tramp-compat-process-put'.
5090 2010-09-15 Alan Mackenzie <acm@muc.de>
5092 * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Correct the
5094 (c-forward-<>-arglist-recur): Fix an infinite recursion.
5096 2010-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
5098 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
5099 `lexical' for warnings related to lexical scoping.
5100 (byte-compile-file-form-defvar, byte-compile-defvar): Warn about
5101 global vars which don't have a prefix and could hence affect lexical
5102 scoping in unrelated files.
5104 2010-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
5106 * net/imap.el: Revert back to version
5107 cb950ed8ff3e0f40dac437a51b269166f9ffb60d, since some of the changes
5110 2010-09-14 Juanma Barranquero <lekktu@gmail.com>
5112 * obsolete/old-whitespace.el (whitespace-unload-function):
5113 Explicitly pass `obarray' to `unintern' to avoid a warning.
5115 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
5117 * emacs-lisp/byte-run.el (set-advertised-calling-convention):
5118 Add `when' argument. Update callers.
5120 * subr.el (unintern): Declare the obarray arg mandatory.
5122 2010-09-14 Glenn Morris <rgm@gnu.org>
5124 * calendar/diary-lib.el (diary-list-entries-hook, diary-sort-entries):
5127 * calendar/diary-lib.el (diary-included-files): New variable.
5128 (diary-list-entries): Maybe initialize diary-included-files.
5129 (diary-include-other-diary-files): Append to diary-included-files.
5130 * calendar/appt.el (appt-update-list): Also check the members of
5131 diary-included-files. (Bug#6999)
5132 (appt-check): Doc fix.
5134 2010-09-14 David Reitter <david.reitter@gmail.com>
5136 * simple.el (line-move-visual): Do not truncate goal column to
5137 integer size. (Bug#7020)
5139 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
5141 * repeat.el (repeat): Allow repeating when the last event is a click.
5142 Suggested by Drew Adams (bug#6256).
5144 2010-09-14 Sascha Wilde <wilde@sha-bang.de>
5146 * vc/vc-hg.el (vc-hg-state,vc-hg-working-revision):
5147 Replace setting HGRCPATH to "" by some less invasive --config options.
5149 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
5151 * font-lock.el (font-lock-beginning-of-syntax-function):
5154 2010-09-14 Glenn Morris <rgm@gnu.org>
5156 * menu-bar.el (menu-bar-options-save): Fix handling of menu-bar
5157 and tool-bar modes. (Bug#6211)
5158 (menu-bar-mode): Move setting of standard-value after the
5159 minor-mode definition, otherwise it seems to have no effect.
5161 2010-09-14 Masatake YAMATO <yamato@redhat.com>
5163 * progmodes/antlr-mode.el (antlr-font-lock-additional-keywords):
5164 Fix typo. (Bug#6976)
5166 2010-09-14 Vinicius Jose Latorre <viniciusjl@ig.com.br>
5168 * whitespace.el: Allow cleaning up blanks without blank
5169 visualization (Bug#6651). Adjust help window for
5170 whitespace-toggle-options (Bug#6479). Allow to use fill-column
5171 instead of whitespace-line-column (from EmacsWiki). New version 13.1.
5172 (whitespace-style): Add new value 'face. Adjust docstring.
5173 (whitespace-space, whitespace-hspace, whitespace-tab):
5174 Adjust foreground property face.
5175 (whitespace-line-column): Adjust docstring and type declaration.
5176 (whitespace-style-value-list, whitespace-toggle-option-alist)
5177 (whitespace-help-text): Adjust const initialization.
5178 (whitespace-toggle-options, global-whitespace-toggle-options):
5180 (whitespace-display-window, whitespace-interactive-char)
5181 (whitespace-style-face-p, whitespace-color-on): Adjust code.
5182 (whitespace-help-scroll): New fun.
5184 2010-09-14 Katsumi Yamaoka <yamaoka@jpl.org>
5186 * calendar/time-date.el (format-seconds): Comment fix.
5188 2010-09-13 Michael R. Mauger <mmaug@yahoo.com>
5190 * progmodes/sql.el: Version 2.7.
5191 (sql-buffer-live-p): Improve detection.
5192 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
5193 (sql-set-sqli-buffer): Use it.
5194 (sql-product-interactive): Run `sql-set-sqli-hook'.
5195 (sql-rename-buffer): Code cleanup.
5196 (sql-redirect, sql-redirect-value): New functions. More to come.
5198 2010-09-13 Juanma Barranquero <lekktu@gmail.com>
5200 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.
5201 * makefile.w32-in (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
5202 (TRAMP_SRC): New macro.
5203 ($(lisp)/net/tramp-loaddefs.el): New target.
5205 2010-09-13 Michael Albinus <michael.albinus@gmx.de>
5207 Major code cleanup. Split tramp.el into tramp.el and tramp-sh.el.
5209 * Makefile.in (TRAMP_SRC): Remove tramp-fish.el. Add tramp-sh.el.
5211 * net/tramp.el (top): Don't show loading message. Require just
5212 'tramp-compat, everything else is required there.
5213 Use `ignore-errors' where appropriate.
5214 (tramp-inline-compress-start-size, tramp-copy-size-limit)
5215 (tramp-terminal-type, tramp-end-of-output)
5216 (tramp-initial-end-of-output, tramp-completion-function-alist-rsh)
5217 (tramp-completion-function-alist-ssh)
5218 (tramp-completion-function-alist-telnet)
5219 (tramp-completion-function-alist-su)
5220 (tramp-completion-function-alist-putty, tramp-remote-path)
5221 (tramp-remote-process-environment, tramp-sh-extra-args)
5222 (tramp-actions-before-shell, tramp-uudecode)
5223 (tramp-perl-file-truename, tramp-perl-file-name-all-completions)
5224 (tramp-perl-file-attributes)
5225 (tramp-perl-directory-files-and-attributes)
5226 (tramp-perl-encode-with-module, tramp-perl-decode-with-module)
5227 (tramp-perl-encode, tramp-perl-decode)
5228 (tramp-vc-registered-read-file-names, tramp-file-mode-type-map)
5229 (tramp-file-name-handler-alist, tramp-make-tramp-temp-file)
5230 (tramp-handle-make-symbolic-link, tramp-handle-load)
5231 (tramp-handle-file-name-as-directory)
5232 (tramp-handle-file-name-directory)
5233 (tramp-handle-file-name-nondirectory, tramp-handle-file-truename)
5234 (tramp-handle-file-exists-p, tramp-handle-file-attributes)
5235 (tramp-do-file-attributes-with-ls)
5236 (tramp-do-file-attributes-with-perl)
5237 (tramp-do-file-attributes-with-stat)
5238 (tramp-handle-set-visited-file-modtime)
5239 (tramp-handle-verify-visited-file-modtime)
5240 (tramp-handle-set-file-modes, tramp-handle-set-file-times)
5241 (tramp-set-file-uid-gid, tramp-remote-selinux-p)
5242 (tramp-handle-file-selinux-context)
5243 (tramp-handle-set-file-selinux-context)
5244 (tramp-handle-file-executable-p, tramp-handle-file-readable-p)
5245 (tramp-handle-file-newer-than-file-p, tramp-handle-file-modes)
5246 (tramp-handle-file-directory-p, tramp-handle-file-regular-p)
5247 (tramp-handle-file-symlink-p, tramp-handle-file-writable-p)
5248 (tramp-handle-file-ownership-preserved-p)
5249 (tramp-handle-directory-file-name, tramp-handle-directory-files)
5250 (tramp-handle-directory-files-and-attributes)
5251 (tramp-do-directory-files-and-attributes-with-perl)
5252 (tramp-do-directory-files-and-attributes-with-stat)
5253 (tramp-handle-file-name-all-completions)
5254 (tramp-handle-file-name-completion, tramp-handle-add-name-to-file)
5255 (tramp-handle-copy-file, tramp-handle-copy-directory)
5256 (tramp-handle-rename-file, tramp-do-copy-or-rename-file)
5257 (tramp-do-copy-or-rename-file-via-buffer)
5258 (tramp-do-copy-or-rename-file-directly)
5259 (tramp-do-copy-or-rename-file-out-of-band)
5260 (tramp-handle-make-directory, tramp-handle-delete-directory)
5261 (tramp-handle-delete-file)
5262 (tramp-handle-dired-recursive-delete-directory)
5263 (tramp-handle-dired-compress-file, tramp-handle-dired-uncache)
5264 (tramp-handle-insert-directory)
5265 (tramp-handle-unhandled-file-name-directory)
5266 (tramp-handle-expand-file-name)
5267 (tramp-handle-substitute-in-file-name)
5268 (tramp-handle-executable-find, tramp-process-sentinel)
5269 (tramp-handle-start-file-process, tramp-handle-process-file)
5270 (tramp-handle-call-process-region, tramp-handle-shell-command)
5271 (tramp-handle-file-local-copy, tramp-handle-file-remote-p)
5272 (tramp-handle-insert-file-contents)
5273 (tramp-handle-insert-file-contents-literally)
5274 (tramp-handle-find-backup-file-name)
5275 (tramp-handle-make-auto-save-file-name, tramp-handle-write-region)
5276 (tramp-vc-registered-file-names, tramp-handle-vc-registered)
5277 (tramp-sh-file-name-handler, tramp-vc-file-name-handler)
5278 (tramp-maybe-send-script, tramp-set-auto-save, tramp-run-test)
5279 (tramp-run-test2, tramp-find-executable, tramp-set-remote-path)
5280 (tramp-find-file-exists-command, tramp-open-shell)
5281 (tramp-find-shell, tramp-barf-if-no-shell-prompt)
5282 (tramp-open-connection-setup-interactive-shell)
5283 (tramp-local-coding-commands, tramp-remote-coding-commands)
5284 (tramp-find-inline-encoding, tramp-call-local-coding-command)
5285 (tramp-inline-compress-commands, tramp-find-inline-compress)
5286 (tramp-compute-multi-hops, tramp-maybe-open-connection)
5287 (tramp-send-command, tramp-wait-for-output)
5288 (tramp-send-command-and-check, tramp-barf-unless-okay)
5289 (tramp-send-command-and-read, tramp-mode-string-to-int)
5290 (tramp-convert-file-attributes, tramp-check-cached-permissions)
5291 (tramp-file-mode-from-int, tramp-file-mode-permissions)
5292 (tramp-shell-case-fold, tramp-make-copy-program-file-name)
5293 (tramp-method-out-of-band-p, tramp-local-host-p)
5294 (tramp-get-remote-path, tramp-get-remote-tmpdir)
5295 (tramp-get-ls-command, tramp-get-ls-command-with-dired)
5296 (tramp-get-test-command, tramp-get-test-nt-command)
5297 (tramp-get-file-exists-command, tramp-get-remote-ln)
5298 (tramp-get-remote-perl, tramp-get-remote-stat)
5299 (tramp-get-remote-readlink, tramp-get-remote-trash)
5300 (tramp-get-remote-id, tramp-get-remote-uid, tramp-get-remote-gid)
5301 (tramp-get-local-uid, tramp-get-local-gid)
5302 (tramp-get-inline-compress, tramp-get-inline-coding): Move to
5304 (tramp-methods, tramp-default-method-alist)
5305 (tramp-default-user-alist, tramp-foreign-file-name-handler-alist):
5306 Move initialization to tramp-sh.el.
5307 (tramp-temp-name-prefix): Make it a defconst.
5308 (tramp-dissect-file-name): Don't check anymore for multi-hop
5310 (tramp-debug-outline-regexp): Add a docstring.
5311 (tramp-debug-outline-level): Rename from `tramp-outline-level'.
5312 (tramp-get-debug-buffer): Use it.
5314 * net/tramp-cache.el (top): Set tramp-autoload cookie for
5315 initialization forms.
5316 (tramp-set-connection-property): Don't protect `tramp-message'
5317 call, it isn't necessary any longer.
5318 (tramp-dump-connection-properties): Use `ignore-errors'.
5320 * net/tramp-compat.el (top): Require 'advice, 'format-spec,
5321 'password-cache and 'auth-source.
5323 * net/tramp-gvfs.el (top):
5324 * net/tramp-smb.el (top): Require 'tramp-sh.
5326 * net/tramp-gw.el (tramp-gw-open-network-stream): Use `ignore-errors'.
5328 * net/tramp-sh.el: New file, derived from tramp.el.
5329 (top): Initialize `tramp-methods', `tramp-default-method-alist',
5330 `tramp-default-user-alist', `tramp-foreign-file-name-handler-alist'.
5331 Remove "scp1_old", "scp2_old", "ssh1_old", "ssh2_old".
5332 Use `ignore-errors' where appropriate.
5333 (tramp-sh-file-name-handler-alist): Rename from
5334 `tramp-file-name-handler-alist'.
5335 (tramp-send-command-and-check): Return t or nil. Remove all
5336 `zerop' checks, where called.
5337 (tramp-handle-set-file-modes)
5338 (tramp-do-copy-or-rename-file-directly)
5339 (tramp-handle-delete-directory, tramp-handle-delete-file)
5340 (tramp-maybe-send-script): Use `tramp-barf-unless-okay'.
5341 (tramp-sh-file-name-handler, tramp-send-command-and-check)
5342 (tramp-get-remote-ln): Set tramp-autoload cookie.
5344 * net/tramp-fish.el: Remove file.
5346 2010-09-13 Daiki Ueno <ueno@unixuser.org>
5348 * epa-file.el (epa-file-insert-file-contents): If visiting, bind
5349 buffer-file-name to avoid file-locking. (Bug#7026)
5351 2010-09-13 Julien Danjou <julien@danjou.info>
5353 * notifications.el (notifications-notify): Add support for
5354 image-path and sound-name.
5355 (notifications-specification-version): Add this variable.
5357 2010-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5359 * subr.el (y-or-n-p): New function, moved from src/fns.c; use read-key.
5361 2010-09-12 Leo <sdl.web@gmail.com>
5363 * net/rcirc.el (rcirc-server-commands, rcirc-client-commands)
5364 (rcirc-completion-start): New variables.
5365 (rcirc-nick-completions): Rename to rcirc-completions.
5366 (rcirc-nick-completion-start-offset): Delete.
5367 (rcirc-completion-at-point): New function for constructing
5368 completion data for both nicks and irc commands. Add to
5369 completion-at-point-functions in rcirc mode.
5370 (rcirc-complete): Rename from rcirc-nick-complete; use
5371 rcirc-completion-at-point.
5372 (defun-rcirc-command): Update rcirc-client-commands.
5374 2010-09-11 Glenn Morris <rgm@gnu.org>
5376 * emacs-lisp/bytecomp.el (byte-compile-file): Create .elc files
5377 atomically, to avoid parallel build errors. (Bug#4196)
5379 2010-09-11 Michael R. Mauger <mmaug@yahoo.com>
5381 * progmodes/sql.el: Version 2.6
5382 (sql-dialect): Synonym for "sql-product".
5383 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
5384 (sql-set-sqli-buffer, sql-show-sqli-buffer, sql-interactive-mode):
5385 Set "sql-buffer" to buffer name not buffer object so multiple sql
5386 interactive buffers work properly. Reverts misguided changes in
5388 (sql-comint): Make sure different buffer name is used if "*SQL*"
5389 buffer is for a different product.
5390 (sql-make-alternate-buffer-name): Fix bug with "sql-database"
5392 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
5393 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
5394 (sql-db2, sql-linter, sql-product-interactive, sql-rename-buffer):
5395 Accept new buffer name or prompt for one.
5396 (sql-port): Default to zero.
5397 (sql-comint-mysql): Handle "sql-port" as a numeric.
5398 (sql-port-history): Delete unused variable.
5399 (sql-get-login): Default "sql-port" to a number.
5400 (sql-product-alist): Correct Postgres prompt and terminator regexp.
5401 (sql-sqlite-program): Dynamically detect presence of "sqlite" or
5402 "sqlite3" executables.
5403 (sql-sqlite-login-params): Add "*.sqlite[23]?" database name pattern.
5404 (sql-buffer-live-p): New function.
5405 (sql-mode-menu, sql-send-string): Use it.
5406 (sql-mode-oracle-font-lock-keywords): Improve SQL*Plus REMARK
5408 (sql-mode-postgres-font-lock-keywords): Support Postgres V9.
5409 (sql-mode-sqlite-font-lock-keywords): Hilight sqlite commands.
5411 2010-09-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
5413 * net/netrc.el (netrc-credentials): New convenience function.
5415 2010-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
5417 * textmodes/texinfo.el (texinfo-syntax-propertize-function): New fun
5418 to replace texinfo-font-lock-syntactic-keywords.
5419 (texinfo-mode): Use it.
5421 * textmodes/tex-mode.el (tex-common-initialization, doctex-mode):
5422 Use syntax-propertize-function.
5424 * textmodes/sgml-mode.el (sgml-syntax-propertize-function): New var to
5425 replace sgml-font-lock-syntactic-keywords.
5426 (sgml-mode): Use it.
5428 * textmodes/reftex.el (font-lock-syntactic-keywords): Don't declare
5429 since we don't use it.
5431 * textmodes/bibtex.el (bibtex-mode): Use syntax-propertize-function.
5433 * progmodes/vhdl-mode.el (vhdl-mode): Use syntax-propertize-function
5435 (vhdl-fontify-buffer): Adjust.
5437 * progmodes/tcl.el (tcl-syntax-propertize-function): New var to
5438 replace tcl-font-lock-syntactic-keywords.
5441 * progmodes/simula.el (simula-syntax-propertize-function): New var to
5442 replace simula-font-lock-syntactic-keywords.
5443 (simula-mode): Use it.
5445 * progmodes/sh-script.el (sh-st-symbol): Remove.
5446 (sh-font-lock-close-heredoc, sh-font-lock-open-heredoc): Add eol arg.
5447 (sh-font-lock-flush-syntax-ppss-cache, sh-font-lock-here-doc): Remove.
5448 (sh-font-lock-quoted-subshell): Assume we've already matched $(.
5449 (sh-font-lock-paren): Set syntax-multiline.
5450 (sh-font-lock-syntactic-keywords): Remove.
5451 (sh-syntax-propertize-function): New function to replace it.
5454 * progmodes/ruby-mode.el (ruby-here-doc-beg-re):
5455 Define while compiling.
5456 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
5457 (ruby-font-lock-syntactic-keywords, ruby-comment-beg-syntax)
5458 (syntax-ppss, ruby-in-ppss-context-p, ruby-in-here-doc-p)
5459 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
5460 (ruby-here-doc-end-syntax): Only define when
5461 syntax-propertize is not available.
5462 (ruby-syntax-propertize-function, ruby-syntax-propertize-heredoc):
5464 (ruby-in-ppss-context-p): Update to new syntax of heredocs.
5465 (electric-indent-chars): Silence bytecompiler.
5466 (ruby-mode): Use prog-mode, syntax-propertize-function, and
5467 electric-indent-chars.
5469 * progmodes/python.el (python-syntax-propertize-function): New var to
5470 replace python-font-lock-syntactic-keywords.
5471 (python-mode): Use it.
5472 (python-quote-syntax): Simplify and adjust to new use.
5474 * progmodes/perl-mode.el (perl-syntax-propertize-function): New fun to
5475 replace perl-font-lock-syntactic-keywords.
5476 (perl-syntax-propertize-special-constructs): New fun to replace
5477 perl-font-lock-special-syntactic-constructs.
5478 (perl-font-lock-syntactic-face-function): New fun.
5479 (perl-mode): Use it.
5481 * progmodes/octave-mod.el (octave-syntax-propertize-sqs): New function
5482 to replace octave-font-lock-close-quotes.
5483 (octave-syntax-propertize-function): New function to replace
5484 octave-font-lock-syntactic-keywords.
5485 (octave-mode): Use it.
5487 * progmodes/mixal-mode.el (mixal-syntax-propertize-function): New var;
5488 replaces mixal-font-lock-syntactic-keywords.
5489 (mixal-mode): Use it.
5491 * progmodes/make-mode.el (makefile-syntax-propertize-function):
5492 New var; replaces makefile-font-lock-syntactic-keywords.
5493 (makefile-mode): Use it.
5494 (makefile-imake-mode): Adjust.
5496 * progmodes/js.el (js--regexp-literal): Define while compiling.
5497 (js-syntax-propertize-function): New var; replaces
5498 js-font-lock-syntactic-keywords.
5501 * progmodes/gud.el (gdb-script-syntax-propertize-function): New var;
5502 replaces gdb-script-font-lock-syntactic-keywords.
5503 (gdb-script-mode): Use it.
5505 * progmodes/fortran.el (fortran-mode): Use syntax-propertize-function.
5506 (fortran--font-lock-syntactic-keywords): New var.
5507 (fortran-line-length): Update syntax-propertize-function and
5508 fortran--font-lock-syntactic-keywords.
5510 * progmodes/cperl-mode.el (cperl-mode): Use syntax-propertize-function.
5512 * progmodes/cfengine.el (cfengine-mode):
5513 Use syntax-propertize-function.
5514 (cfengine-font-lock-syntactic-keywords): Remove.
5516 * progmodes/autoconf.el (autoconf-mode):
5517 Use syntax-propertize-function.
5518 (autoconf-font-lock-syntactic-keywords): Remove.
5520 * progmodes/ada-mode.el (ada-set-syntax-table-properties)
5521 (ada-after-change-function, ada-initialize-syntax-table-properties)
5522 (ada-handle-syntax-table-properties): Only define when
5523 syntax-propertize is not available.
5524 (ada-mode): Use syntax-propertize-function.
5526 * font-lock.el (font-lock-syntactic-keywords): Make obsolete.
5527 (font-lock-fontify-syntactic-keywords-region): Move handling of
5528 font-lock-syntactically-fontified to...
5529 (font-lock-default-fontify-region): ...here.
5530 Let syntax-propertize-function take precedence.
5531 (font-lock-fontify-syntactically-region): Cal syntax-propertize.
5533 * emacs-lisp/syntax.el (syntax-propertize-function)
5534 (syntax-propertize-chunk-size, syntax-propertize--done)
5535 (syntax-propertize-extend-region-functions): New vars.
5536 (syntax-propertize-wholelines, syntax-propertize-multiline)
5537 (syntax-propertize--shift-groups, syntax-propertize-via-font-lock)
5538 (syntax-propertize): New functions.
5539 (syntax-propertize-rules): New macro.
5540 (syntax-ppss-flush-cache): Set syntax-propertize--done.
5541 (syntax-ppss): Call syntax-propertize.
5543 * emacs-lisp/regexp-opt.el (regexp-opt-depth): Skip named groups.
5545 2010-09-10 Agustín Martín <agustin.martin@hispalinux.es>
5547 * textmodes/ispell.el (ispell-init-process): Improve comments.
5548 XEmacs compatibility changes regarding (add-hook) 'local option
5549 and (set-process-query-on-exit-flag).
5551 2010-09-09 Michael Albinus <michael.albinus@gmx.de>
5553 * net/tramp-cache.el (tramp-parse-connection-properties):
5554 Set tramp-autoload cookie.
5556 2010-09-09 Glenn Morris <rgm@gnu.org>
5558 * image.el (imagemagick-types-inhibit): Add :type, :version, :group.
5559 (imagemagick-register-types): Doc fix.
5561 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
5563 * progmodes/octave-mod.el (electric-indent-chars): Silence bytecomp.
5565 * progmodes/js.el (require): Require is already "eval-and-compile".
5566 (js--re-search-forward): Avoid `eval'. Preserve the error data.
5567 (js--re-search-backward): Use js--re-search-forward.
5569 * progmodes/fortran.el (fortran-line-length): Don't recompute
5570 syntactic keywords redundantly a second time.
5572 * progmodes/ada-mode.el: Replace "(set '" with setq.
5573 (ada-mode): Simplify.
5574 (ada-create-case-exception, ada-adjust-case-interactive)
5575 (ada-adjust-case-region, ada-format-paramlist, ada-indent-current)
5576 (ada-search-ignore-string-comment, ada-move-to-start)
5577 (ada-move-to-end): Use with-syntax-table.
5579 * font-lock.el (save-buffer-state): Remove `varlist' arg.
5580 (font-lock-unfontify-region, font-lock-default-fontify-region):
5581 Update usage correspondingly.
5582 (font-lock-fontify-syntactic-keywords-region):
5583 Set parse-sexp-lookup-properties buffer-locally here.
5584 (font-lock-fontify-syntactically-region): Remove unused `ppss' arg.
5586 * simple.el (blink-matching-open): Don't burp if we can't find a match.
5588 2010-09-08 Glenn Morris <rgm@gnu.org>
5590 * emacs-lisp/bytecomp.el (byte-compile-report-ops):
5591 Error if not compiled with -DBYTE_CODE_METER.
5593 * emacs-lisp/bytecomp.el (byte-recompile-directory):
5594 Ignore dir-locals-file.
5596 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
5598 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5600 (compilation-error-regexp-alist-alist): Rule out ": " in file names
5601 for the `gnu' messages.
5602 (compilation-set-skip-threshold): New command.
5603 (compilation-start): Use \' rather than $.
5604 (compilation-forget-errors): Use clrhash.
5606 2010-09-08 Agustín Martín <agustin.martin@hispalinux.es>
5608 * textmodes/ispell.el (ispell-valid-dictionary-list):
5611 2010-09-08 Michael Albinus <michael.albinus@gmx.de>
5613 Migrate to Tramp 2.2. Rearrange load dependencies.
5614 (Bug#1529, Bug#5448, Bug#5705)
5616 * Makefile.in (TRAMP_DIR, TRAMP_SRC): New variables.
5617 ($(TRAMP_DIR)/tramp-loaddefs.el): New target.
5618 (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
5620 * net/tramp.el (top): Remove all other tramp-* loads except
5621 tramp-compat.el. Remove all changes to tramp-unload-hook for
5622 other tramp-* packages. Rearrange defun order. Change calls of
5623 `tramp-compat-call-process', `tramp-compat-decimal-to-octal',
5624 `tramp-compat-octal-to-decimal' to new function names.
5625 (tramp-terminal-type, tramp-initial-end-of-output)
5626 (tramp-methods, tramp-foreign-file-name-handler-alist)
5627 (tramp-tramp-file-p, tramp-completion-mode-p)
5628 (tramp-send-command-and-check, tramp-get-remote-path)
5629 (tramp-get-remote-tmpdir, tramp-get-remote-ln)
5630 (tramp-shell-quote-argument): Set tramp-autoload cookie.
5631 (with-file-property, with-connection-property): Move to
5633 (tramp-local-call-process, tramp-decimal-to-octal)
5634 (tramp-octal-to-decimal): Move to tramp-compat.el.
5635 (tramp-handle-shell-command): Do not require 'shell.
5636 (tramp-compute-multi-hops): No special handling for tramp-gw-*
5638 (tramp-unload-tramp): Do not call `tramp-unload-file-name-handlers'.
5640 * net/tramp-cache.el (top): Require 'tramp. Add to
5641 `tramp-unload-hook'.
5642 (tramp-cache-data, tramp-get-file-property)
5643 (tramp-set-file-property, tramp-flush-file-property)
5644 (tramp-flush-directory-property, tramp-get-connection-property)
5645 (tramp-set-connection-property, tramp-flush-connection-property)
5646 (tramp-cache-print, tramp-list-connections): Set tramp-autoload
5648 (with-file-property, with-connection-property): New defuns, moved
5650 (tramp-flush-file-function): Use `with-parsed-tramp-file-name'
5653 * net/tramp-cmds.el (top): Add to `tramp-unload-hook'.
5654 (tramp-version): Set tramp-autoload cookie.
5656 * net/tramp-compat.el (top): Require 'tramp-loaddefs. Remove all
5657 changes to tramp-unload-hook for other tramp-* packages. Add to
5658 `tramp-unload-hook'.
5659 (tramp-compat-decimal-to-octal, tramp-compat-octal-to-decimal)
5660 (tramp-compat-call-process): New defuns, moved from tramp.el.
5662 * net/tramp-fish.el (top) Require just 'tramp. Add objects to
5663 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
5664 Add to `tramp-unload-hook'. Change call of
5665 `tramp-compat-decimal-to-octal' to new function name.
5666 (tramp-fish-method): Make it a defconst.
5667 (tramp-fish-file-name-p): Make it a defsubst.
5668 (tramp-fish-method, tramp-fish-file-name-handler)
5669 (tramp-fish-file-name-p): Set tramp-autoload cookie.
5671 * net/tramp-ftp.el (top) Add objects to `tramp-methods' and
5672 `tramp-foreign-file-name-handler-alist'. Add to
5673 `tramp-unload-hook'.
5674 (tramp-ftp-method): Make it a defconst.
5675 (tramp-ftp-file-name-p): Make it a defsubst.
5676 (tramp-ftp-method, tramp-ftp-file-name-handler)
5677 (tramp-ftp-file-name-p): Set tramp-autoload cookie.
5679 * net/tramp-gvfs.el (top) Add objects to `tramp-methods' and
5680 `tramp-foreign-file-name-handler-alist'. Add to
5681 `tramp-unload-hook'. Change checks, whether package can be
5683 (tramp-gvfs-file-name-p): Make it a defsubst.
5684 (tramp-gvfs-methods, tramp-gvfs-file-name-handler)
5685 (tramp-gvfs-file-name-p): Set tramp-autoload cookie.
5686 (tramp-gvfs-handle-file-directory-p): New defun.
5687 (tramp-gvfs-file-name-handler-alist): Use it.
5689 * net/tramp-gw.el (top) Add objects to `tramp-methods' and
5690 `tramp-foreign-file-name-handler-alist'. Add to
5691 `tramp-unload-hook'.
5692 (tramp-gw-tunnel-method, tramp-gw-default-tunnel-port)
5693 (tramp-gw-socks-method, tramp-gw-default-socks-port): Make it a
5695 (tramp-gw-tunnel-method, tramp-gw-socks-method)
5696 (tramp-gw-open-connection): Set tramp-autoload cookie.
5698 * net/tramp-imap.el (top) Require just 'tramp. Add objects to
5699 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
5700 Add to `tramp-unload-hook'. Change checks, whether package can be
5702 (tramp-imap-file-name-p): Make it a defsubst.
5703 (tramp-imap-method, tramp-imaps-method)
5704 (tramp-imap-file-name-handler)
5705 (tramp-imap-file-name-p): Set tramp-autoload cookie.
5707 * net/tramp-smb.el (top) Require just 'tramp. Add objects to
5708 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
5709 Add to `tramp-unload-hook'. Change checks, whether package can be
5710 loaded. Change call of `tramp-compat-decimal-to-octal' to new
5712 (tramp-smb-tunnel-method): Make it a defconst.
5713 (tramp-smb-file-name-p): Make it a defsubst.
5714 (tramp-smb-method, tramp-smb-file-name-handler)
5715 (tramp-smb-file-name-p): Set tramp-autoload cookie.
5717 * net/tramp-uu.el (top) Add to `tramp-unload-hook'.
5718 (tramp-uuencode-region): Set tramp-autoload cookie.
5720 * net/trampver.el (top) Add to `tramp-unload-hook'.
5721 (tramp-version, tramp-bug-report-address): Set tramp-autoload
5722 cookie. Update release number.
5724 2010-09-07 Agustín Martín <agustin.martin@hispalinux.es>
5726 * textmodes/ispell.el (ispell-start-process): Make sure original
5727 arg list is properly initialized (Bug#6993, Bug#6994).
5729 2010-09-06 Alexander Klimov <alserkli@inbox.ru> (tiny change)
5731 * files.el (directory-abbrev-alist): Use \` as default regexp.
5733 * emacs-lisp/rx.el (rx-any): Don't explode ranges that end in special
5734 chars like - or ] (bug#6984).
5735 (rx-any-condense-range): Explode 2-char ranges.
5737 2010-09-06 Glenn Morris <rgm@gnu.org>
5739 * desktop.el (desktop-path): Bump :version after 2009-09-15 change.
5741 2010-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5743 * textmodes/bibtex.el:
5744 * proced.el: Update to new email for Roland Winkler <winkler@gnu.org>.
5746 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
5748 * net/imap.el (imap-message-map): Remove optional buffer parameter,
5749 since no callers use it.
5750 (imap-message-get): Ditto.
5751 (imap-message-put): Ditto.
5752 (imap-mailbox-map): Ditto.
5753 (imap-mailbox-put): Ditto.
5754 (imap-mailbox-get): Ditto.
5755 (imap-mailbox-get): Revert last change for this function.
5757 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
5759 * net/imap.el (imap-fetch-safe): Remove function, and alter all
5760 callers to use `imap-fetch' instead. According to the comments, this
5761 should be safe, since all other IMAP clients use the 1:* syntax.
5762 (imap-enable-exchange-bug-workaround): Remove.
5763 (imap-debug): Remove -- doesn't seem very useful.
5765 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
5767 * net/imap.el (imap-log): New convenience function used throughout
5768 instead of repeating the same code all over the place.
5770 2010-09-05 David De La Harpe Golden <david@harpegolden.net>
5772 * mouse.el (mouse-save-then-kill): Save region to kill-ring
5773 when mouse-drag-copy-region is non-nil (Bug#6956).
5775 2010-09-05 Chong Yidong <cyd@stupidchicken.com>
5777 * dired.el (dired-ls-sorting-switches, dired-sort-by-name-regexp):
5778 Improve regexps (Bug#6987).
5779 (dired-sort-toggle): Search more robustly for -t flag.
5781 * files.el (get-free-disk-space): Search more robustly for
5782 "available" column. Suggested by Ehud Karni
5783 <ehud@unix.mvs.co.il>.
5785 2010-09-05 Juanma Barranquero <lekktu@gmail.com>
5787 * international/uni-bidi.el:
5788 * international/uni-category.el:
5789 * international/uni-combining.el:
5790 * international/uni-decimal.el:
5791 * international/uni-mirrored.el:
5792 * international/uni-name.el: Regenerate.
5794 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
5796 * electric.el (electric-indent-post-self-insert-function):
5797 Don't reindent with a sloppy indentation function.
5799 * emacs-lisp/syntax.el (syntax-ppss): More sanity check to catch
5800 border case in change-log-mode.
5802 2010-09-04 Chong Yidong <cyd@stupidchicken.com>
5804 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5805 Remove ruby regexp; handle Ruby errors with gcc-include and gnu.
5806 Recognize leading tab in gcc-include regexp. Ignore names with
5807 leading "from" or "in" in gnu regexp (Bug#6937).
5809 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
5811 Avoid global recursive calls to kill-buffer-hooks; fit into 80 cols.
5812 * textmodes/ispell.el (ispell-process-buffer-name): Remove.
5813 (ispell-start-process): Avoid setq and simplify logic.
5814 (ispell-init-process): Setup kill-buffer-hook locally when needed.
5815 (kill-buffer-hook): Don't use it globally with code that uses
5816 expand-file-name since that may call kill-buffer via
5817 code_conversion_restore.
5819 2010-09-04 Noorul Islam K M <noorul@noorul.com> (tiny change)
5821 * emacs-lisp/package.el (package-directory-list): Only call
5822 file-name-nondirectory on a string.
5824 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
5826 * emacs-lisp/package.el (package--download-one-archive):
5827 Ensure that archive-contents is valid before saving it.
5828 (package-activate-1, package-mark-obsolete, define-package)
5829 (package-compute-transaction, package-list-maybe-add): Use push.
5831 2010-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
5833 Use SMIE's blink-paren for octave-mode.
5834 * progmodes/octave-mod.el (octave-font-lock-close-quotes):
5835 Backslashes do not escape single-quotes, single-quotes do.
5836 (octave-block-else-regexp, octave-block-end-regexp)
5837 (octave-block-match-alist): Remove.
5838 (octave-smie-bnf-table): New var, with old content.
5839 (octave-smie-op-levels): Use it.
5840 (octave-smie-closer-alist): New var.
5841 (octave-mode): Use it. Setup smie-blink-matching and electric-indent.
5842 (octave-blink-matching-block-open): Remove.
5843 (octave-reindent-then-newline-and-indent, octave-electric-semi)
5844 (octave-electric-space): Let self-insert-command run expand-abbrev and
5847 * electric.el (electricity): New group.
5848 (electric-indent-chars): New var.
5849 (electric-indent-post-self-insert-function): New fun.
5850 (electric-indent-mode): New minor mode.
5851 (electric-pair-skip-self): New custom.
5852 (electric-pair-post-self-insert-function): New function.
5853 (electric-pair-mode): New minor mode.
5855 * calc/calc-aent.el (calcAlg-blink-matching-check): New fun, to replace
5856 calcAlg-blink-matching-open.
5857 (calc-alg-ent-map, calc-alg-ent-esc-map): Initialize in the declaration.
5858 (calc-do-alg-entry): Only touch the part of the keymap that varies.
5859 Use the new blink-matching-check-function.
5861 Provide blink-matching support to SMIE.
5862 * emacs-lisp/smie.el (smie-bnf-closer-alist): New function.
5863 (smie-blink-matching-triggers, smie-blink-matching-inners): New vars.
5864 (smie-blink-matching-check, smie-blink-matching-open): New functions.
5866 * simple.el (newline): Fix last change to properly remove itself from
5869 2010-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
5871 * simple.el (newline): Eliminate optimization.
5872 Use post-self-insert-hook to set hard-newline and things before
5873 running post-self-insert-hook.
5874 (blink-matching-check-mismatch): New function.
5875 (blink-matching-check-function): New variable.
5876 (blink-matching-open): Use them.
5877 Skip back forward over prefix chars skipped by forward-sexp.
5878 Don't check if the parens are backslash escaped.
5879 (blink-paren-post-self-insert-function): Check backslash escaping here.
5881 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
5883 * emacs-lisp/package.el (package-menu-mode-map):
5884 Change package-menu-revert bindings to revert-buffer.
5885 (package-menu-mode): Set revert-buffer-function.
5886 (package-menu-revert): Doc fix.
5888 2010-09-02 Agustín Martín <agustin.martin@hispalinux.es>
5890 * textmodes/ispell.el (ispell-init-process): Use "~/" as
5891 `default-directory' unless using Ispell per-directory personal
5892 dictionaries and not in a mini-buffer under XEmacs.
5893 (kill-buffer-hook): Do not kill ispell process on exit when
5894 `ispell-process-directory' is "~/". (Bug#6143)
5896 2010-09-02 Jan Djärv <jan.h.d@swipnet.se>
5898 * simple.el (kill-new): Call interprogram-cut-function with only
5901 * term.el (term-mouse-paste): Don't call x-get-cutbuffer.
5902 Remove cut buffer from error message.
5904 * term/x-win.el (x-select-text):
5905 * term/pc-win.el (x-selection-value):
5906 * term/ns-win.el (x-selection-value):
5907 * eshell/em-term.el:
5908 * w32-fns.el (x-get-selection-value):
5909 * mouse-sel.el (mouse-sel-set-selection-function):
5910 * frame.el (display-selections-p): Remove cut-buffer in documentation.
5912 * term/x-win.el: Update documentation for x-last-selected-text-*.
5913 (x-last-selected-text-cut, x-last-selected-text-cut-encoded)
5914 (x-last-cut-buffer-coding, x-cut-buffer-max): Remove.
5915 (x-select-text): Remove argument PUSH, update documentation.
5916 Remove cut-buffer code.
5917 (x-selection-value-internal): Was previously x-selection-value.
5918 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
5919 Update documentation, remove cut-buffer code.
5920 Call x-selection-value-internal.
5921 (x-clipboard-yank): Call x-selection-value-internal.
5922 (x-initialize-window-system): Remove setting of x-cut-buffer-max.
5924 * term/pc-win.el (x-last-selected-text):
5925 x-cut-buffer-or-selection-value renamed to x-selection-value
5926 (x-select-text): Remove argument PUSH, update documentation.
5928 * term/ns-win.el (x-setup-function-keys, ns-last-selected-text):
5929 x-cut-buffer-or-selection-value renamed to x-selection-value
5930 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
5931 (x-select-text): Remove argument PUSH, update documentation.
5933 * emacs-lisp/cl-macs.el (x-get-cutbuffer, x-get-cut-buffer): Remove.
5935 * w32-fns.el (x-last-selected-text):
5936 x-cut-buffer-or-selection-value renamed to x-selection-value.
5937 (x-cut-buffer-max): Remove.
5938 (x-select-text): Remove argument PUSH, update documentation.
5940 * simple.el (interprogram-cut-function): Remove mention of PUSH.
5942 * select.el (x-get-cut-buffer, x-set-cut-buffer): Remove.
5944 * mouse-sel.el (mouse-sel-get-selection-function):
5945 x-cut-buffer-or-selection-value renamed to x-selection-value.
5946 (x-select-text): Remove optional push.
5948 2010-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
5950 * simple.el (blink-paren-function): Move from C to here.
5951 (blink-paren-post-self-insert-function): New function.
5952 (post-self-insert-hook): Use it.
5954 * emacs-lisp/pcase.el (pcase-split-memq):
5955 Fix overenthusiastic optimisation.
5956 (pcase-u1): Handle the case of a lambda pred.
5958 2010-08-31 Kenichi Handa <handa@m17n.org>
5960 * international/mule-cmds.el (standard-display-european-internal):
5961 Setup standard-display-table for 8-bit characters by storing 8-bit
5962 characters in the element vector.
5964 * disp-table.el (standard-display-8bit):
5965 Setup standard-display-table for 8-bit characters by storing 8-bit
5966 characters in the element vector.
5967 (standard-display-european): Likewise.
5969 2010-08-31 Masatake YAMATO <yamato@redhat.com>
5971 * textmodes/nroff-mode.el (nroff-view): New command.
5972 (nroff-mode-map): Bind it to C-c C-c.
5974 2010-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
5976 * emacs-lisp/smie.el (smie-down-list): New command.
5978 Remove old indentation and navigation code on octave-mode.
5979 * progmodes/octave-mod.el (octave-mode-map): Remap down-list to
5980 smie-down-list rather than add a binding for octave-down-block.
5981 (octave-mark-block, octave-blink-matching-block-open):
5982 Rely on forward-sexp-function.
5983 (octave-fill-paragraph): Don't narrow, so you can use
5984 indent-according-to-mode.
5985 (octave-block-begin-regexp, octave-block-begin-or-end-regexp): Remove.
5986 (octave-in-block-p, octave-re-search-forward-kw)
5987 (octave-re-search-backward-kw, octave-indent-calculate)
5988 (octave-end-as-array-index-p, octave-block-end-offset)
5989 (octave-scan-blocks, octave-forward-block, octave-backward-block)
5990 (octave-down-block, octave-backward-up-block, octave-up-block)
5991 (octave-before-magic-comment-p, octave-indent-line): Remove.
5993 2010-08-31 Chong Yidong <cyd@stupidchicken.com>
5995 * emacs-lisp/package.el (package--read-archive-file): Just use
5996 `read', to avoid copying an additional string.
5997 (package-menu-mode): Set header-line-format here.
5998 (package-menu-refresh, package-menu-revert): Signal an error if
5999 not in the Package Menu.
6000 (package-menu-package-list): New var.
6001 (package--generate-package-list): Operate on the current buffer;
6002 don't assume that it is *Packages*, since the user may rename it.
6003 Allow persistent package listings and sort keys using
6004 package-menu-package-list and package-menu-package-sort-key.
6005 (package-menu--version-predicate): Fix version calculation.
6006 (package-menu-sort-by-column): Don't select the window.
6007 (package--list-packages): Create the *Packages* buffer.
6008 Set package-menu-package-list-key.
6009 (list-packages): Sorting by status is now the default.
6010 (package-buffer-info): Use match-string-no-properties.
6011 (define-package): Add a &rest argument for future proofing, but
6013 (package-install-from-buffer, package-install-buffer-internal):
6014 Merge into a single function, package-install-from-buffer.
6015 (package-install-file): Change caller.
6017 * finder.el: Load finder-inf using `require'.
6018 (finder-list-matches): Sorting by status is now the default.
6019 (finder-compile-keywords): Simpify printing.
6021 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
6023 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
6024 (octave-mode-map): Remove special bindings for forward/backward-block
6025 and octave-backward-up-block. Use smie-close-block.
6026 (octave-continuation-marker-regexp): New var.
6027 (octave-continuation-regexp): Use it.
6028 (octave-operator-table, octave-smie-op-levels)
6029 (octave-operator-regexp, octave-smie-indent-rules): New vars.
6030 (octave-smie-backward-token, octave-smie-forward-token): New funs.
6031 (octave-mode): Use SMIE.
6032 (octave-close-block): Delete.
6034 2010-08-30 Eli Zaretskii <eliz@gnu.org>
6036 * menu-bar.el (menu-bar-edit-menu) <"Paste">: Check selection in
6037 CLIPBOARD, not in PRIMARY. (Bug#6944)
6039 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
6041 * emacs-lisp/smie.el (smie-indent-offset-rule): Let :parent take
6043 (smie-indent-column): Allow indirection through variables.
6045 * composite.el (save-buffer-state): Delete, unused.
6046 * font-lock.el (save-buffer-state): Use with-silent-modifications.
6047 (font-lock-default-fontify-region): Use with-syntax-table.
6048 * jit-lock.el (with-buffer-unmodified): Remove.
6049 (with-buffer-prepared-for-jit-lock): Use with-silent-modifications.
6051 Use `declare' in defmacros.
6052 * window.el (save-selected-window):
6053 * subr.el (with-temp-file, with-temp-message, with-syntax-table):
6054 * progmodes/python.el (def-python-skeleton):
6055 * net/dbus.el (dbus-ignore-errors):
6056 * jka-cmpr-hook.el (with-auto-compression-mode):
6057 * international/mule.el (with-category-table):
6058 * emacs-lisp/timer.el (with-timeout):
6059 * emacs-lisp/lisp-mnt.el (lm-with-file):
6060 * emacs-lisp/eieio.el (with-slots):
6061 * emacs-lisp/easymenu.el (easy-menu-define):
6062 * emacs-lisp/debug.el (debugger-env-macro):
6063 * emacs-lisp/cl-compat.el (Multiple-value-bind, Multiple-value-setq)
6064 (Multiple-value-call, Multiple-value-prog1):
6065 * emacs-lisp/cl-seq.el (cl-parsing-keywords, cl-check-key)
6066 (cl-check-test-nokey, cl-check-test, cl-check-match): Move indent and
6067 edebug rule to definition.
6068 * emacs-lisp/lisp-mode.el (save-selected-window)
6069 (with-current-buffer, combine-after-change-calls)
6070 (with-output-to-string, with-temp-file, with-temp-buffer)
6071 (with-temp-message, with-syntax-table, read-if, eval-after-load)
6072 (dolist, dotimes, when, unless):
6073 * emacs-lisp/byte-run.el (inline): Remove indent rule, redundant.
6075 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
6077 * finder.el: Require `package'.
6078 (finder-known-keywords): Tweak descriptions. Retire `oop' keyword.
6079 (finder-package-info): Var deleted.
6080 (finder-keywords-hash, finder--builtins-alist): New vars.
6081 (finder-compile-keywords): Compute package--builtins and
6082 finder-keywords-hash instead of finder-keywords-hash, respecting
6083 the "Package" header.
6084 (finder-unknown-keywords, finder-list-matches):
6085 Use finder-keywords-hash and package--list-packages.
6086 (finder-mode): Don't set font-lock-defaults.
6087 (finder-exit): We don't use "*Finder-package*" and "*Finder
6088 Category*" buffers anymore.
6090 * emacs-lisp/package.el (package--builtins-base): Var deleted.
6091 (package--builtins): Set default value to nil.
6092 (package-initialize): Load precomputed value of package--builtins
6094 (package-alist, package-compute-transaction)
6095 (package-download-transaction): Improve docstring.
6096 (package-read-all-archive-contents): Do not change
6097 package--builtins here.
6098 (list-packages): Make package-list-packages an alias for this.
6099 Sort by status by default.
6100 (package--list-packages): Add optional PACKAGES arg.
6101 (describe-package-1): Use font-lock-face property. For built-in
6102 packages, insert file commentary.
6103 (package--generate-package-list): Rename from
6104 package-list-packages-internal; all callers changed. Add optional
6105 PACKAGES arg. Add alphabetical sort fallbacks.
6106 (package-menu--version-predicate, package-menu--status-predicate)
6107 (package-menu--description-predicate)
6108 (package-menu--name-predicate): New functions.
6110 * info.el (Info-finder-find-node): Search package-alist instead of
6111 finder-package-info.
6113 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
6115 * subr.el (version-regexp-alist): Don't use "a" and "b" for
6117 (version-to-list): Handle versions like "10.3d".
6119 2010-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6121 * emacs-lisp/macroexp.el (macroexpand-all-1): Use pcase.
6122 (macroexp-accumulate): Use `declare'.
6124 2010-08-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
6126 * whitespace.el (whitespace-style): Adjust type declaration.
6128 2010-08-26 Magnus Henoch <magnus.henoch@gmail.com>
6130 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
6131 empty argument to gvfs-copy.
6133 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
6135 * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
6136 handle new TRASH arg of `delete-file'.
6138 2010-08-26 Christian Lynbech <christian.lynbech@tieto.com> (tiny change)
6140 * net/tramp.el (tramp-handle-insert-directory): Don't use
6141 `forward-word', its default syntax could be changed.
6143 2010-08-26 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
6144 Michael Albinus <michael.albinus@gmx.de>
6146 Implement compression for inline methods.
6148 * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
6149 (tramp-copy-size-limit): Allow also nil.
6150 (tramp-inline-compress-commands): New defconst.
6151 (tramp-find-inline-compress, tramp-get-inline-compress)
6152 (tramp-get-inline-coding): New defuns.
6153 (tramp-get-remote-coding, tramp-get-local-coding): Remove,
6154 replaced by `tramp-get-inline-coding'.
6155 (tramp-handle-file-local-copy, tramp-handle-write-region)
6156 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
6158 2010-08-26 Noah Lavine <noah549@gmail.com> (tiny change)
6160 Detect ssh 'ControlMaster' argument automatically in some cases.
6162 * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
6163 (tramp-default-method): Use it.
6165 2010-08-26 Karel Klíč <kklic@redhat.com>
6167 * net/tramp.el (tramp-file-name-for-operation):
6168 Add file-selinux-context.
6170 2010-08-26 Łukasz Stelmach <lukasz.stelmach@iem.pw.edu.pl> (tiny change)
6172 * play/cookie1.el (read-cookie): Fix off-by-one error (bug#6921).
6174 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
6176 * simple.el (beginning-of-buffer, end-of-buffer): Doc fix
6179 2010-08-26 Nathan Weizenbaum <nweiz@cressida.sea.corp.google.com> (tiny change)
6181 * progmodes/js.el: Make indentation more customizable (Bug#6914).
6182 (js-paren-indent-offset, js-square-indent-offset)
6183 (js-curly-indent-offset): New options.
6184 (js--proper-indentation): Use them.
6186 2010-08-26 Daniel Colascione <dan.colascione@gmail.com>
6188 * progmodes/sh-script.el (sh-get-indent-info): Use syntax-ppss
6189 instead of inspecting font-lock properties (Bug#6916).
6191 2010-08-26 David Reitter <david.reitter@gmail.com>
6193 * server.el (server-visit-files): Run pre-command-hook and
6194 post-command-hook for each buffer while it is current (Bug#6910).
6195 (server-execute): Do not run hooks here.
6197 2010-08-26 Michael Albinus <michael.albinus@gmx.de>
6199 Sync with Tramp 2.1.19.
6201 * net/tramp-cmds.el (tramp-cleanup-all-connections)
6202 (tramp-reporter-dump-variable, tramp-load-report-modules)
6203 (tramp-append-tramp-buffers): Use `tramp-compat-funcall'.
6204 (tramp-bug): Recommend setting of `tramp-verbose' to 9.
6206 * net/tramp-compat.el (top): Do not autoload
6207 `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el
6208 only when `start-file-process' is not bound.
6209 (byte-compile-not-obsolete-vars): Define if not bound.
6210 (tramp-compat-funcall): New defmacro.
6211 (tramp-compat-line-beginning-position)
6212 (tramp-compat-line-end-position)
6213 (tramp-compat-temporary-file-directory)
6214 (tramp-compat-make-temp-file, tramp-compat-file-attributes)
6215 (tramp-compat-copy-file, tramp-compat-copy-directory)
6216 (tramp-compat-delete-file, tramp-compat-delete-directory)
6217 (tramp-compat-number-sequence, tramp-compat-process-running-p):
6219 (tramp-advice-file-expand-wildcards): Do not use
6220 `tramp-handle-file-remote-p'.
6221 (tramp-compat-make-temp-file): Simplify fallback implementation.
6222 (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
6223 (tramp-compat-copy-tree): Remove function.
6224 (tramp-compat-delete-file): New defun.
6225 (tramp-compat-delete-directory): Provide implementation for older
6227 (tramp-compat-file-attributes): Handle only
6228 `wrong-number-of-arguments' error.
6230 * net/tramp-fish.el (tramp-fish-handle-copy-file):
6231 Add PRESERVE_SELINUX_CONTEXT.
6232 (tramp-fish-handle-delete-file): Add TRASH arg.
6233 (tramp-fish-handle-directory-files-and-attributes):
6234 Do not use `tramp-fish-handle-file-attributes.
6235 (tramp-fish-handle-file-local-copy)
6236 (tramp-fish-handle-insert-file-contents)
6237 (tramp-fish-maybe-open-connection): Use `with-progress-reporter'.
6239 * net/tramp-gvfs.el (top): Require url-util.
6240 (tramp-gvfs-mount-point): Remove.
6241 (tramp-gvfs-file-name-handler-alist): Add `file-selinux-context'
6242 and `set-file-selinux-context'.
6243 (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command)
6244 (tramp-gvfs-handle-file-selinux-context)
6245 (tramp-gvfs-handle-set-file-selinux-context): New defuns.
6246 (with-tramp-dbus-call-method): Format trace message.
6247 (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
6248 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
6249 Implement backup call, when operation on local files fails.
6250 Use progress reporter. Flush properties of changed files.
6251 (tramp-gvfs-handle-delete-file): Add TRASH arg.
6252 Use `tramp-compat-delete-file'.
6253 (tramp-gvfs-handle-expand-file-name): Expand "~/".
6254 (tramp-gvfs-handle-make-directory): Make more traces.
6255 (tramp-gvfs-handle-write-region): Protect deleting tmpfile.
6256 (tramp-gvfs-url-file-name): Hexify file name in url.
6257 (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
6258 into account for the resulting file name.
6259 (tramp-gvfs-handler-askquestion): Preserve current message, in
6260 order to let progress reporter continue afterwards. (Bug#6257)
6261 Return dummy mountpoint, when the answer is "no".
6262 See `tramp-gvfs-maybe-open-connection'.
6263 (tramp-gvfs-handler-mounted-unmounted)
6264 (tramp-gvfs-connection-mounted-p): Test also for new mountspec
6265 attribute "default_location". Set "prefix" property.
6266 Handle default-location.
6267 (tramp-gvfs-mount-spec): Return both prefix and mountspec.
6268 (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
6269 exists. Raise an error, if not (due to a corresponding answer
6270 "no" in interactive questions, for example).
6271 Use `tramp-compat-funcall'.
6273 * net/tramp-imap.el (top): Autoload `epg-make-context'.
6274 (tramp-imap-handle-copy-file): Add PRESERVE-SELINUX-CONTEXT.
6275 (tramp-imap-do-copy-or-rename-file)
6276 (tramp-imap-handle-insert-file-contents)
6277 (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
6278 (tramp-imap-handle-delete-file): Add TRASH arg.
6280 * net/tramp-smb.el (tramp-smb-handle-copy-file):
6281 Add PRESERVE-SELINUX-CONTEXT.
6282 (tramp-smb-handle-copy-file)
6283 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
6284 (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
6285 Use `with-progress-reporter'.
6286 (tramp-smb-handle-delete-file): Add TRASH arg.
6288 * net/tramp.el (tramp-methods): Move hostname to the end in all
6289 ssh `tramp-login-args'. Add `tramp-async-args' attribute where
6291 (tramp-verbose): Describe verbose level 9.
6292 (tramp-completion-function-alist)
6293 (tramp-file-name-regexp, tramp-chunksize)
6294 (tramp-local-coding-commands, tramp-remote-coding-commands)
6295 (with-connection-property, tramp-completion-mode-p)
6296 (tramp-action-process-alive, tramp-action-out-of-band)
6297 (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
6298 (tramp-exists-file-name-handler): Fix docstring.
6299 (tramp-remote-process-environment): Use `format' instead of
6300 `concat'. Protect version string by apostroph.
6301 (tramp-shell-prompt-pattern): Do not use a shy group in case of
6303 (tramp-file-name-regexp-unified)
6304 (tramp-completion-file-name-regexp-unified): On W32 systems, do
6305 not regard the volume letter as remote filename. (Bug#5447)
6306 (tramp-perl-file-attributes)
6307 (tramp-perl-directory-files-and-attributes): Don't pass "$3".
6308 (tramp-vc-registered-read-file-names): Read input as
6309 here-document, otherwise the command could exceed maximum length
6311 (tramp-file-name-handler-alist): Add `file-selinux-context' and
6312 `set-file-selinux-context'.
6313 (tramp-debug-message): Add `tramp-compat-funcall' to ignored
6314 backtrace functions.
6315 (tramp-error-with-buffer): Don't show the connection buffer when
6316 we are in completion mode.
6317 (tramp-progress-reporter-update, tramp-remote-selinux-p)
6318 (tramp-handle-file-selinux-context)
6319 (tramp-handle-set-file-selinux-context, tramp-process-sentinel)
6320 (tramp-connectable-p, tramp-open-shell, tramp-get-remote-trash):
6322 (with-progress-reporter): New defmacro.
6323 (tramp-debug-outline-regexp): New defconst.
6324 (top, tramp-rfn-eshadow-setup-minibuffer)
6325 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
6326 (tramp-handle-dired-compress-file, tramp-handle-shell-command)
6327 (tramp-completion-mode-p, tramp-check-for-regexp)
6328 (tramp-open-connection-setup-interactive-shell)
6329 (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
6330 (tramp-time-diff, tramp-coding-system-change-eol-conversion)
6331 (tramp-set-process-query-on-exit-flag, tramp-unload-tramp):
6332 Use `tramp-compat-funcall'.
6333 (tramp-handle-make-symbolic-link): Flush file properties.
6334 (tramp-handle-load, tramp-handle-file-local-copy)
6335 (tramp-handle-insert-file-contents, tramp-handle-write-region)
6336 (tramp-handle-vc-registered, tramp-maybe-send-script)
6337 (tramp-find-shell): Use `with-progress-reporter'.
6338 (tramp-do-file-attributes-with-stat): Add space in format string,
6339 in order to work around a bug in pdksh. Reported by Gilles Pion
6341 (tramp-handle-verify-visited-file-modtime): Do not send a command
6342 when the connection is not established.
6343 (tramp-handle-set-file-times): Simplify the check for utc.
6344 (tramp-handle-directory-files-and-attributes)
6345 (tramp-get-remote-path): Use `copy-tree'.
6346 (tramp-completion-handle-file-name-all-completions): Ensure, that
6347 non remote files are still checked. Oops.
6348 (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
6349 Handle PRESERVE-SELINUX-CONTEXT.
6350 (tramp-do-copy-or-rename-file): Add progress reporter.
6351 (tramp-do-copy-or-rename-file-directly): Do not use
6352 `tramp-handle-file-remote-p'.
6353 (tramp-do-copy-or-rename-file-out-of-band):
6354 Use `tramp-compat-delete-directory'.
6355 (tramp-do-copy-or-rename-file-out-of-band)
6356 (tramp-compute-multi-hops, tramp-maybe-open-connection):
6357 Use `format-spec-make'.
6358 (tramp-handle-delete-file): Add TRASH arg.
6359 (tramp-handle-dired-uncache): Flush directory cache, not only file
6361 (tramp-handle-expand-file-name)
6362 (tramp-completion-handle-file-name-all-completions)
6363 (tramp-completion-handle-file-name-completion):
6364 Use `tramp-connectable-p'.
6365 (tramp-handle-start-file-process): Set connection property "vec".
6366 Use it, in order to invalidate file caches. Check only for
6367 `remote-tty' process property.
6368 Implement tty setting. (Bug#4604, Bug#6360)
6369 (tramp-file-name-for-operation): Add `call-process-region' and
6370 `set-file-selinux-context'.
6371 (tramp-find-foreign-file-name-handler)
6372 (tramp-advice-make-auto-save-file-name)
6373 (tramp-set-auto-save-file-modes): Remove superfluous check for
6374 `stringp'. This is done inside `tramp-tramp-file-p'.
6375 (tramp-file-name-handler): Trace 'quit. Catch the error for some
6376 operations when we are in completion mode. This gives the user
6377 the chance to correct the file name in the minibuffer.
6378 (tramp-completion-mode-p): Use `non-essential'.
6379 (tramp-handle-file-name-all-completions): Backward/ XEmacs
6380 compatibility: Use `completion-ignore-case' if
6381 `read-file-name-completion-ignore-case' does not exist.
6382 (tramp-get-debug-buffer): Use `tramp-debug-outline-regexp'.
6383 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
6385 (tramp-action-password): Hide password prompt before next run.
6386 (tramp-process-actions): Widen connection buffer for the trace.
6387 (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
6388 process property. Trace stty settings if `tramp-verbose' >= 9.
6389 Apply workaround for IRIX64 bug. Move argument of last
6390 `tramp-send-command' where it belongs to.
6391 (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
6392 front of `login-args'.
6393 (tramp-get-ls-command, tramp-get-ls-command-with-dired): Run tests
6394 on "/dev/null" instead of "/".
6395 (tramp-get-ls-command-with-dired): Make test for "--dired"
6397 (tramp-set-auto-save-file-modes): Adapt version check.
6398 (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
6399 (tramp-handle-process-file): Call the program in a subshell, in
6400 order to preserve working directory.
6401 (tramp-handle-shell-command): Don't use hard-wired "/bin/sh" but
6402 `tramp-remote-sh' from `tramp-methods'.
6403 (tramp-get-ls-command): Make test for "--color=never" stronger.
6404 (tramp-check-for-regexp): Use (forward-line 1).
6406 * net/trampver.el: Update release number.
6408 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
6410 * help.el (help-map): Bind `C-h P' to describe-package.
6412 * menu-bar.el (menu-bar-describe-menu): Add describe-package.
6414 * emacs-lisp/package.el (package-refresh-contents): Catch errors
6415 when downloading archives.
6416 (describe-package-1): Add package commentary.
6417 (package-install-button-action): New function.
6418 (package-menu-mode-map): Bind ? to package-menu-describe-package.
6419 (package-menu-view-commentary): Function removed.
6420 (package-list-packages-internal): Hide the `package' package too.
6422 2010-08-25 Kenichi Handa <handa@m17n.org>
6424 * language/misc-lang.el ("Arabic"): New language environment.
6425 Setup composition-function-table for Arabic characters.
6427 * international/fontset.el (setup-default-fontset): Fix typo for
6428 arabic OTF spec (fini->fina).
6430 2010-08-25 Jan Djärv <jan.h.d@swipnet.se>
6432 * menu-bar.el (menu-bar-set-tool-bar-position): Set frame parameter
6435 2010-08-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
6437 * whitespace.el: Allow cleaning up blanks without blank
6438 visualization (Bug#6651). Adjust help window for
6439 whitespace-toggle-options (Bug#6479). Allow to use fill-column
6440 instead of whitespace-line-column (from EmacsWiki). New version
6442 (whitespace-style): Add new value 'face. Adjust docstring.
6443 (whitespace-space, whitespace-hspace, whitespace-tab):
6444 Adjust foreground property face.
6445 (whitespace-line-column): Adjust docstring and type declaration.
6446 (whitespace-style-value-list, whitespace-toggle-option-alist)
6447 (whitespace-help-text): Adjust const initialization.
6448 (whitespace-toggle-options, global-whitespace-toggle-options):
6450 (whitespace-display-window, whitespace-interactive-char)
6451 (whitespace-style-face-p, whitespace-color-on): Adjust code.
6452 (whitespace-help-scroll): New fun.
6454 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
6456 * emacs-lisp/package.el (list-packages): Alias for
6457 package-list-packages.
6459 2010-08-24 Kevin Ryde <user42@zip.com.au>
6461 * textmodes/flyspell.el (flyspell-check-tex-math-command): Doc fix
6464 * progmodes/ruby-mode.el (ruby): Add defgroup.
6466 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
6468 * progmodes/python.el: Add Ipython support (Bug#5390).
6469 (python-shell-prompt-alist)
6470 (python-shell-continuation-prompt-alist): New options.
6471 (python--set-prompt-regexp): New function.
6472 (inferior-python-mode, run-python, python-shell):
6473 Require ansi-color. Use python--set-prompt-regexp to set the comint
6474 prompt based on the Python interpreter.
6475 (python--prompt-regexp): New var.
6476 (python-check-comint-prompt)
6477 (python-comint-output-filter-function): Use it.
6478 (run-python): Use a pipe (Bug#5694).
6480 2010-08-24 Fabian Ezequiel Gallina <galli.87@gmail.com> (tiny change)
6482 * progmodes/python.el (python-send-region): Send a different
6483 Python command if Ipython is in use.
6484 (python-check-version): Use a Python command to find the version.
6486 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
6488 * mouse.el (mouse-yank-primary): Avoid setting primary when
6489 deactivating the mark (Bug#6872).
6491 2010-08-23 Chris Foote <chris@foote.com.au> (tiny change)
6493 * progmodes/python.el (python-block-pairs): Allow use of "finally"
6494 with "else" (Bug#3991).
6496 2010-08-23 Michael Albinus <michael.albinus@gmx.de>
6498 * net/dbus.el: Accept UNIX domain sockets as bus address.
6499 (top): Don't initialize `dbus-registered-objects-table' anymore,
6500 this is done in dbusbind,c.
6501 (dbus-check-event): Adapt test for bus.
6502 (dbus-return-values-table, dbus-unregister-service)
6503 (dbus-event-bus-name, dbus-introspect, dbus-register-property):
6506 2010-08-23 Juanma Barranquero <lekktu@gmail.com>
6508 * ido.el (ido-use-virtual-buffers): Fix typo in docstring.
6510 2010-08-22 Juri Linkov <juri@jurta.org>
6512 * simple.el (read-extended-command): New function with the logic
6513 for `completing-read' moved to Elisp from `execute-extended-command'.
6514 Use `function-called-at-point' in `minibuffer-default-add-function'
6515 to get a command name for M-n (bug#5364, bug#5214).
6517 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
6519 * startup.el (command-line-1): Issue warning for ignored arguments
6520 --unibyte, etc (Bug#6886).
6522 2010-08-22 Leo <sdl.web@gmail.com>
6524 * net/rcirc.el (rcirc-add-or-remove): Accept a list of elements.
6525 (ignore, bright, dim, keyword): Split list of nicknames before
6526 passing to rcirc-add-or-remove (Bug#6894).
6528 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
6530 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix (Bug#6880).
6532 2010-08-22 Leo <sdl.web@gmail.com>
6534 Fix buffer-list rename&refresh after killing a buffer in ido.
6535 * ido.el: Revert Óscar's.
6536 (ido-kill-buffer-at-head): Exit the minibuffer with ido-exit=refresh.
6537 Remember the buffers at head, rather than their name.
6538 * iswitchb.el (iswitchb-kill-buffer): Re-make the list.
6540 2010-08-22 Kirk Kelsey <kirk.kelsey@0x4b.net> (tiny change)
6541 Stefan Monnier <monnier@iro.umontreal.ca>
6543 * progmodes/make-mode.el (makefile-fill-paragraph): Account for the
6544 extra backslash added to each line (bug#6890).
6546 2010-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
6548 * subr.el (read-key): Don't echo keystrokes (bug#6883).
6550 2010-08-22 Glenn Morris <rgm@gnu.org>
6552 * menu-bar.el (menu-bar-games-menu): Add landmark.
6554 2010-08-22 Glenn Morris <rgm@gnu.org>
6556 * align.el (align-regexp): Make group and spacing arguments
6557 use the interactive defaults when non-interactive. (Bug#6698)
6559 * mail/rmail.el (rmail-forward): Replace mail-text-start with its
6560 expansion, so as not to need sendmail.
6561 (mail-text-start): Remove declaration.
6562 (rmail-retry-failure): Require sendmail.
6564 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
6566 * subr.el (read-key): Don't hide the menu-bar entries (bug#6881).
6568 2010-08-22 Michael Albinus <michael.albinus@gmx.de>
6570 * progmodes/flymake.el (flymake-start-syntax-check-process):
6571 Use `start-file-process' in order to let it run also on remote hosts.
6573 2010-08-22 Kenichi Handa <handa@m17n.org>
6575 * files.el: Add `word-wrap' as safe local variable.
6577 2010-08-22 Glenn Morris <rgm@gnu.org>
6579 * woman.el (woman-translate): Case matters. (Bug#6849)
6581 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
6583 * simple.el (kill-region): Doc fix (Bug#6787).
6585 2010-08-22 Glenn Morris <rgm@gnu.org>
6587 * calendar/diary-lib.el (diary-header-line-format):
6588 Fit it to the window, not the frame.
6590 2010-08-22 Andreas Schwab <schwab@linux-m68k.org>
6592 * subr.el (ignore-errors): Add debug declaration.
6594 2010-08-22 Geoff Gole <geoffgole@gmail.com> (tiny change)
6596 * whitespace.el (whitespace-color-off): Remove post-command-hook
6599 2010-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
6601 * vc/add-log.el (add-log-file-name): Don't get confused by symlinks.
6603 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
6605 * cus-edit.el (custom-group-value-create): Add extra newline
6606 before end line (Bug#6876).
6608 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
6610 * mouse.el (mouse-save-then-kill): Don't save region to kill ring
6611 when extending it. Before killing on the second click, check if
6612 the buffer is the correct one. Doc fix.
6613 (mouse-secondary-save-then-kill): Allow usage without first
6614 calling mouse-start-secondary, by defaulting to point. Don't save
6615 an empty secondary selection. Doc fix.
6617 2010-08-21 Vinicius Jose Latorre <viniciusjl@ig.com.br>
6619 * whitespace.el: Fix slow cursor movement (Bug#6172). Reported by
6620 Christoph Groth <cwg@falma.de> and Liu Xin <x_liu@neusoft.com>.
6622 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
6623 Adjust initialization.
6624 (whitespace-bob-marker, whitespace-eob-marker)
6625 (whitespace-buffer-changed): New vars.
6626 (whitespace-cleanup, whitespace-color-on, whitespace-color-off)
6627 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp)
6628 (whitespace-post-command-hook, whitespace-display-char-on):
6630 (whitespace-looking-back, whitespace-buffer-changed): New funs.
6631 (whitespace-space-regexp, whitespace-tab-regexp): Fun eliminated.
6633 2010-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
6635 * files.el (locate-file-completion-table): Only list the .el and .elc
6636 extensions if there's no other choice (bug#5955).
6638 * facemenu.el (facemenu-self-insert-data): New var.
6639 (facemenu-post-self-insert-function, facemenu-set-self-insert-face):
6641 (facemenu-add-face): Use them.
6643 * simple.el (blink-matching-open): Obey forward-sexp-function.
6645 2010-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
6647 * simple.el (prog-mode-map): New var.
6648 (prog-indent-sexp): New command.
6650 * progmodes/octave-mod.el (octave-mode-menu): Make toggle buttons.
6652 * progmodes/prolog.el (smie): Require.
6654 * emacs-lisp/smie.el (smie-default-backward-token)
6655 (smie-default-forward-token): Strip properties.
6656 (smie-next-sexp): Be more careful with associative operators.
6657 (smie-forward-sexp-command): Generalize.
6658 (smie-backward-sexp-command): Simplify.
6659 (smie-closer-alist): New var.
6660 (smie-close-block): New command.
6661 (smie-indent-debug-log): New var.
6662 (smie-indent-offset-rule): Add a few more cases.
6663 (smie-indent-column): New function.
6664 (smie-indent-after-keyword): Use it.
6665 (smie-indent-keyword): Use it.
6666 Fix up the opener code's point position.
6667 (smie-indent-comment): Only applies at BOL.
6668 (smie-indent-debug): New command.
6670 * emacs-lisp/autoload.el (make-autoload): Preload the macros's
6671 declarations that are useful before running the macro.
6673 2010-08-18 Joakim Verona <joakim@verona.se>
6675 * image.el (imagemagick-types-inhibit): New variable.
6676 (imagemagick-register-types): New function.
6677 * image-mode.el (image-transform-properties): New function.
6678 (image-transform-set-scale, image-transform-fit-to-height)
6679 (image-transform-set-rotation, image-transform-set-resize)
6680 (image-transform-fit-to-width, image-transform-fit-to-height):
6682 (image-toggle-display-image): Support image transforms.
6684 2010-08-18 Katsumi Yamaoka <yamaoka@jpl.org>
6686 * image.el (create-animated-image): Don't add heuristic mask to image
6689 2010-08-18 Jan Djärv <jan.h.d@swipnet.se>
6691 * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard):
6692 Use QCLIPBOARD instead of QPRIMARY (Bug#6677).
6694 2010-08-17 Stefan Monnier <monnier@iro.umontreal.ca>
6696 * emacs-lisp/lisp.el (up-list): Obey forward-sexp-function if set.
6698 Font-lock '...' strings, plus various simplifications and fixes.
6699 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
6700 (octave-font-lock-close-quotes): New function.
6701 (octave-font-lock-syntactic-keywords): New var.
6702 (octave-mode): Use it. Set beginning-of-defun-function.
6703 (octave-mode-map): Don't override the <foo>-defun commands.
6704 (octave-mode-menu): Pass it directly to easy-menu-define;
6705 remove (now generic) <foo>-defun commands; use info-lookup-symbol.
6706 (octave-block-match-alist): Fix up last change so that
6707 octave-close-block uses the more specific keyword.
6708 (info-lookup-mode): Silence byte-compiler.
6709 (octave-beginning-of-defun): Not interactive any more.
6711 (octave-end-of-defun, octave-mark-defun, octave-in-defun-p): Remove.
6712 (octave-indent-defun, octave-send-defun): Use mark-defun instead.
6713 (octave-completion-at-point-function): Make sure point is within
6715 (octave-reindent-then-newline-and-indent):
6716 Use reindent-then-newline-and-indent.
6717 (octave-add-octave-menu): Remove.
6719 2010-08-17 Jan Djärv <jan.h.d@swipnet.se>
6721 * mail/emacsbug.el (report-emacs-bug-insert-to-mailer)
6722 (report-emacs-bug-can-use-xdg-email): New functions.
6723 (report-emacs-bug): Set can-xdg-email to result of
6724 report-emacs-bug-can-use-xdg-email. If can-xdg-email bind
6725 \C-cm to report-emacs-bug-insert-to-mailer and add help text
6728 * net/browse-url.el (browse-url-default-browser): Add cond
6729 for browse-url-xdg-open.
6730 (browse-url-can-use-xdg-open, browse-url-xdg-open): New functions.
6732 2010-08-17 Glenn Morris <rgm@gnu.org>
6734 * progmodes/cc-engine.el (c-new-BEG, c-new-END)
6735 (c-fontify-recorded-types-and-refs): Define for compiler.
6736 * progmodes/cc-mode.el (c-new-BEG, c-new-END): Move definitions
6739 * calendar/icalendar.el (icalendar--convert-recurring-to-diary):
6742 2010-08-17 Michael Albinus <michael.albinus@gmx.de>
6744 * net/tramp.el (tramp-handle-make-symbolic-link): Flush file
6746 (tramp-handle-process-file): Call the program in a subshell, in
6747 order to preserve working directory.
6748 (tramp-action-password): Hide password prompt before next run.
6749 (tramp-process-actions): Widen connection buffer for the trace.
6751 2010-08-16 Deniz Dogan <deniz.a.m.dogan@gmail.com>
6753 * net/rcirc.el (rcirc-log-process-buffers): New option.
6754 (rcirc-print): Use it.
6755 (rcirc-generate-log-filename): New function.
6756 (rcirc-log-filename-function): Change default to
6757 rcirc-generate-log-filename (Bug#6828).
6759 2010-08-16 Chong Yidong <cyd@stupidchicken.com>
6761 * simple.el (deactivate-mark): If select-active-regions is `only',
6762 only set selection for temporarily active regions.
6764 * cus-start.el: Change defcustom for select-active-regions.
6766 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
6768 * mouse.el (mouse--drag-set-mark-and-point): New function.
6769 (mouse-drag-track): Use LOCATION arg to push-mark.
6770 Use mouse--drag-set-mark-and-point to take click-count into
6771 consideration when updating point and mark (Bug#6840).
6773 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
6775 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6776 Give the Ruby rule a lower priority than Gnu (Bug#6778).
6778 2010-08-14 Štěpán Němec <stepnem@gmail.com> (tiny change)
6780 * font-lock.el (lisp-font-lock-keywords-2):
6781 Add combine-after-change-calls, condition-case-no-debug,
6782 with-demoted-errors, and with-silent-modifications (Bug#6025).
6784 2010-08-14 Kevin Ryde <user42@zip.com.au>
6786 * emacs-lisp/copyright.el (copyright-update-year)
6787 (copyright-update): Temporary switch-to-buffer to ensure the
6788 buffer change being queried is visible (Bug#5394).
6790 2010-08-14 Tom Tromey <tromey@redhat.com>
6792 * progmodes/etags.el (tags-file-name): Mark safe if stringp
6795 2010-08-14 Eli Zaretskii <eliz@gnu.org>
6797 * mouse.el (mouse-yank-primary): Fix mouse-2 on MS-Windows and
6800 2010-08-13 Jan Djärv <jan.h.d@swipnet.se>
6802 * menu-bar.el (menu-bar-set-tool-bar-position): New function.
6803 (menu-bar-showhide-tool-bar-menu-customize-enable-left)
6804 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
6805 (menu-bar-showhide-tool-bar-menu-customize-enable-top)
6806 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom):
6807 Call menu-bar-set-tool-bar-position.
6809 2010-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
6811 * progmodes/octave-mod.el (octave-mode-syntax-table): Use the new "c"
6812 comment style (bug#6834).
6813 * progmodes/scheme.el (scheme-mode-syntax-table):
6814 * emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Remove spurious
6815 "b" flag in "' 14b" syntax.
6817 * progmodes/octave-mod.el (octave-mode-map): Remove special bindings
6818 for (un)commenting the region and performing completion.
6819 (octave-mode-menu): Use standard commands for help and completion.
6820 (octave-mode-syntax-table): Support %{..%} comments (sort of).
6821 (octave-mode): Use define-derived-mode.
6822 Set completion-at-point-functions and don't set columns.
6823 Don't disable adaptive-fill-regexp.
6824 (octave-describe-major-mode, octave-comment-region)
6825 (octave-uncomment-region, octave-comment-indent)
6826 (octave-indent-for-comment): Remove.
6827 (octave-indent-calculate): Rename from calculate-octave-indent.
6828 (octave-indent-line, octave-fill-paragraph): Update caller.
6829 (octave-initialize-completions): No need to make an alist.
6830 (octave-completion-at-point-function): New function.
6831 (octave-complete-symbol): Use it.
6832 (octave-insert-defun): Use define-skeleton.
6834 * progmodes/octave-mod.el (octave-mode): Set comment-add.
6835 (octave-mode-map): Use comment-dwim (bug#6829).
6837 2010-08-12 Antoine Levitt <antoine.levitt@gmail.com> (tiny change)
6839 * cus-edit.el (custom-save-variables, custom-save-faces): Fix up
6840 indentation of inserted comment.
6842 2010-08-11 Jan Djärv <jan.h.d@swipnet.se>
6844 * faces.el (region): Add type gtk that uses gtk colors.
6846 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
6847 Handle theme-name change.
6849 2010-08-10 Michael R. Mauger <mmaug@yahoo.com>
6851 * progmodes/sql.el: Version 2.5
6852 (sql-product-alist): Add :prompt-cont-regexp property for several
6854 (sql-prompt-cont-regexp): New variable.
6855 (sql-output-newline-count, sql-output-by-send):
6856 New variables. Record number of newlines in input text.
6857 (sql-send-string): Handle multiple filters and count newlines.
6858 (sql-send-magic-terminator): Count terminator newline.
6859 (sql-interactive-remove-continuation-prompt): Filters output to
6860 remove continuation prompts; one for each newline.
6861 (sql-interactive-mode): Set up new variables, prompt regexp and
6863 (sql-mode-sqlite-font-lock-keywords): Correct some keywords.
6864 (sql-make-alternate-buffer-name): Correct buffer name in edge cases.
6866 2010-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
6868 * emacs-lisp/pcase.el: New file.
6870 2010-08-10 Michael Albinus <michael.albinus@gmx.de>
6872 * net/tramp.el (tramp-vc-registered-read-file-names): Read input
6873 as here-document, otherwise the command could exceed maximum
6874 length of command line.
6875 (tramp-handle-vc-registered): Call script accordingly.
6876 Reported by Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>.
6878 2010-08-10 Kenichi Handa <handa@m17n.org>
6880 * language/hebrew.el: Exclude U+05C3 (Hebrew SOF PASUQ) from the
6883 2010-08-09 Chong Yidong <cyd@stupidchicken.com>
6885 * emacs-lisp/package.el (package-version-split)
6886 (package--version-first-nonzero, package-version-compare):
6888 (package-directory-list, package-load-all-descriptors)
6889 (package--built-in, package-activate, define-package)
6890 (package-installed-p, package-compute-transaction)
6891 (package-read-all-archive-contents)
6892 (package--add-to-archive-contents, package-buffer-info)
6893 (package-tar-file-info, package-list-packages-internal):
6894 Use version-to-list and version-list-*.
6896 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6897 Use version-to-list.
6898 (package-upload-buffer-internal): Use version-list-<=.
6900 2010-08-09 Kenichi Handa <handa@m17n.org>
6902 * language/hebrew.el: Exclude U+05BD (Hebrew MAQAF) from the
6905 2010-08-08 Chong Yidong <cyd@stupidchicken.com>
6907 * tutorial.el (tutorial--default-keys): C-d is now bound to
6908 delete-forward-char (Bug#6826).
6910 * mouse.el (mouse-drag-track): Remove accidentally-removed check
6911 for `double' value of mouse-1-click-follows-link (Bug#6807).
6913 2010-08-08 Johan Bockgård <bojohan@gnu.org>
6915 * replace.el (replace-highlight): Bind isearch-forward and
6916 isearch-error, ensuring that highlighting is updated if the user
6917 switches the search direction (Bug#6808).
6919 * isearch.el (isearch-lazy-highlight-forward): New var.
6920 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
6921 (isearch-lazy-highlight-update): Use it.
6923 2010-08-08 Kenichi Handa <handa@m17n.org>
6925 * international/mule.el (define-charset): Store NAME as :base property.
6926 (ctext-non-standard-encodings-table): Pay attention to charset aliases.
6927 (ctext-pre-write-conversion): Sort ctext-standard-encodings by the
6928 current priority. Force using the designation of the specific
6929 charset by adding `charset' text property. Improve the whole algorithm.
6931 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
6933 * emulation/pc-select.el (pc-selection-mode-hook)
6934 (copy-region-as-kill-nomark, beginning-of-buffer-mark)
6935 (pc-selection-mode): Fix typos in docstrings.
6937 2010-08-08 Kenichi Handa <handa@m17n.org>
6939 * language/cyrillic.el: Don't add "microsoft-cp1251" to
6940 ctext-non-standard-encodings-alist here.
6942 * international/mule.el (ctext-non-standard-encodings-alist):
6943 Add "koi8-r" and "microsoft-cp1251".
6944 (ctext-standard-encodings): New variable.
6945 (ctext-non-standard-encodings-table): List only elements for
6946 non-standard encodings.
6947 (ctext-pre-write-conversion): Adjust for the above change.
6948 Check ctext-standard-encodings.
6950 * international/mule-conf.el (compound-text): Doc fix.
6951 (ctext-no-compositions): Doc fix.
6952 (compound-text-with-extensions): Doc fix.
6954 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6956 * simple.el (exchange-dot-and-mark): Mark obsolete, finally.
6958 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
6960 * progmodes/which-func.el (which-func-format): Split help-echo text
6961 into lines, like other mode-line tooltips.
6963 * server.el (server-start): When using TCP sockets, force IPv4
6964 and use a literal 127.0.0.1 for localhost. (Related to bug#6781.)
6966 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6968 * bindings.el (complete-symbol): Run completion-at-point as a fallback.
6970 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
6972 * term.el (term-delimiter-argument-list): Reflow docstring.
6973 (term-read-input-ring, term-write-input-ring, term-send-input)
6974 (term-bol, term-erase-in-display, serial-supported-or-barf):
6975 Fix typos in docstrings.
6977 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6979 * bindings.el (function-key-map): Add a S-tab => backtab fallback.
6981 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
6983 * dabbrev.el (dabbrev-completion): Fix typo in docstring.
6985 2010-08-08 MON KEY <monkey@sandpframing.com> (tiny change)
6987 * emacs-lisp/syntax.el (syntax-ppss-toplevel-pos):
6988 Fix typo in docstring (bug#6747).
6990 2010-08-08 Leo <sdl.web@gmail.com>
6992 * eshell/esh-io.el (eshell-get-target): Better detection of
6993 read-only file (Bug#6762).
6995 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
6997 * align.el (align-default-spacing): Doc fix.
6998 (align-region-heuristic, align-regexp): Fix typos in docstrings.
7000 2010-08-08 Stephen Peters <speters@itasoftware.com>
7002 * calendar/icalendar.el
7003 (icalendar--split-value): Fix splitting regexp. (Bug#6766)
7004 (icalendar--get-weekday-numbers): New.
7005 (icalendar--convert-recurring-to-diary): Handle multiple byday
7006 values in weekly rules. (Bug#6766)
7008 2010-08-08 Ulf Jasper <ulf.jasper@web.de>
7010 * calendar/icalendar.el (icalendar-uid-format): Doc fix.
7011 (icalendar--create-uid, icalendar-export-region)
7012 (icalendar--parse-summary-and-rest): Code formatting.
7014 2010-08-08 Jay Belanger <jay.p.belanger@gmail.com>
7016 * calc/calc.el (calc-trail-mode,calc-refresh): Use `face' property
7017 to italicize headers.
7018 (calc-highlight-selections-with-faces): New variable.
7019 (calc-selected-face, calc-nonselected-face): New faces.
7021 * calc/calccomp.el (math-comp-highlight-string): Use
7022 `calc-highlight-selections-with-faces' to determine how to highlight
7025 * calc/calc-sel.el (calc-show-selections): Change message to when
7026 using faces to highlight selections.
7028 2010-08-07 Michael R. Mauger <mmaug@yahoo.com>
7030 * progmodes/sql.el (sql-mode-sqlite-font-lock-keywords):
7031 Add SQLite 3 keywords, functions and datatypes.
7032 (sql-interactive-mode): Remove `comint-process-echoes' set to t
7035 2010-08-07 Chong Yidong <cyd@stupidchicken.com>
7037 * simple.el (select-active-regions): Move to keyboard.c.
7038 (deactivate-mark): Used saved-region-selection.
7039 (select-active-region): Function removed.
7040 (activate-mark, set-mark, push-mark-command)
7041 (handle-shift-selection): Don't call it.
7042 (keyboard-quit): Avoid adding the region to the window selection.
7044 * mouse.el (mouse-drag-track): Remove hacks to deal with old
7045 select-active-regions implementation.
7046 (mouse-yank-at-click): Doc fix.
7048 * cus-start.el: Add custom declaration for select-active-regions.
7050 2010-08-07 Eli Zaretskii <eliz@gnu.org>
7052 * simple.el (delete-forward-char): Doc fix.
7054 * tutorial.el (help-with-tutorial): Hack safe file-local variables
7055 after reading the tutorial.
7057 2010-08-06 Alan Mackenzie <bug-cc-mode@gnu.org>
7059 * progmodes/cc-cmds.el (c-mask-paragraph, c-fill-paragraph):
7060 Fix for the case that a C style comment has its delimiters alone on
7061 their respective lines.
7063 2010-08-06 Michael Albinus <michael.albinus@gmx.de>
7065 * net/tramp.el (tramp-handle-start-file-process): Set connection
7067 (tramp-process-sentinel): Use it for flushing the cache.
7068 We cannot do it via the process buffer, the buffer could be deleted
7069 already when running the sentinel.
7071 2010-08-06 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
7073 * comint.el (comint-mode): Make directory tracking functions
7074 functional on remote files. (Bug#6764)
7076 2010-08-06 Dan Nicolaescu <dann@ics.uci.edu>
7078 * vc/diff-mode.el (diff-mode-shared-map): Bind g to revert-buffer.
7080 2010-08-05 Eli Zaretskii <eliz@gnu.org>
7082 * emacs-lisp/find-gc.el (find-gc-source-files):
7083 Rename unexec.c => unexcoff.c.
7085 * emacs-lisp/authors.el (authors-fixed-entries):
7086 Rename unexec.c => unexcoff.c.
7088 2010-08-05 Michael Albinus <michael.albinus@gmx.de>
7090 * net/tramp.el (tramp-handle-dired-uncache): Flush directory
7091 cache, not only file cache.
7092 (tramp-process-sentinel): New defun.
7093 (tramp-handle-start-file-process): Use it, in order to invalidate
7096 2010-08-03 Leo <sdl.web@gmail.com>
7098 * server.el (server-start): Simplify loop.
7100 2010-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
7102 * frame.el (screen-height, screen-width, set-screen-width)
7103 (set-screen-height): Remove ancient compatibility aliases.
7105 * textmodes/fill.el (justify-current-line): Don't add 1 to nspaces
7106 when justifying. It seems useless and harmful for ncols=1 (bug#6738).
7108 * emacs-lisp/timer.el (timer-event-handler): Protect against timers
7109 that change current buffer.
7111 2010-08-01 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
7113 * mouse.el (mouse-fixup-help-message): Match "mouse-2" only at the
7114 beginning of the string. Use `string-match-p'. (Bug#6765)
7116 2010-08-01 Jan Djärv <jan.h.d@swipnet.se>
7118 * cus-start.el (x-gtk-use-system-tooltips): New variable.
7120 2010-08-01 Chong Yidong <cyd@stupidchicken.com>
7122 * emacs-lisp/package.el (package--list-packages): Fix column alignment.
7123 (package--builtins): Tweak descriptions.
7124 (package-print-package): Upcase descriptions if necessary.
7125 Show all built-in packages in font-lock-builtin-face.
7126 (package-list-packages-internal): Omit "emacs" package.
7127 Show status of built-in packages as "built-in".
7129 2010-07-31 Chong Yidong <cyd@stupidchicken.com>
7131 * mouse.el (mouse-save-then-kill): Doc fix. Deactivate mark
7132 before killing to preserve the primary selection (Bug#6701).
7134 * term/x-win.el (x-select-text): Doc fix.
7136 2010-07-31 Nathaniel Flath <flat0103@gmail.com>
7138 * progmodes/cc-vars.el (c-offsets-alist, c-inside-block-syms)
7139 (objc-font-lock-extra-types):
7140 * progmodes/cc-mode.el (c-basic-common-init):
7141 * progmodes/cc-langs.el (c-make-mode-syntax-table)
7142 (c++-make-template-syntax-table)
7143 (c-identifier-syntax-modifications, c-symbol-start, c-operators)
7144 (c-<-op-cont-regexp, c->-op-cont-regexp, c-class-decl-kwds)
7145 (c-brace-list-decl-kwds, c-modifier-kwds, c-prefix-spec-kwds-re)
7146 (c-type-list-kwds, c-decl-prefix-re, c-opt-type-suffix-key):
7147 * progmodes/cc-fonts.el (c-make-inverse-face)
7148 (c-basic-matchers-after):
7149 * progmodes/cc-engine.el (c-forward-keyword-clause)
7150 (c-forward-<>-arglist, c-forward-<>-arglist-recur)
7151 (c-forward-name, c-forward-type, c-forward-decl-or-cast-1)
7152 (c-guess-continued-construct, c-guess-basic-syntax):
7153 Enhance Java Mode to handle Java 5.0 (Tiger) and Java 6 (Mustang).
7154 The above functions were modified or created.
7156 2010-07-31 Jan Djärv <jan.h.d@swipnet.se>
7158 * faces.el (face-all-attributes): Improve documentation (Bug#6767).
7160 2010-07-31 Eli Zaretskii <eliz@gnu.org>
7162 * files.el (bidi-paragraph-direction): Define safe local values.
7164 * language/hebrew.el ("Hebrew"): Add TUTORIAL.he to
7165 language-info-alist. Remove outdated FIXME in a comment.
7167 2010-07-31 Alan Mackenzie <acm@muc.de>
7169 * progmodes/cc-cmds.el (c-mask-paragraph): Fix bug #6688:
7170 Auto-fill broken in C/C++ modes.
7172 2010-07-29 Jan Djärv <jan.h.d@swipnet.se>
7174 * menu-bar.el (menu-bar-showhide-tool-bar-menu-customize-enable-left)
7175 (menu-bar-showhide-tool-bar-menu-customize-disable)
7176 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
7177 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom)
7178 (menu-bar-showhide-tool-bar-menu-customize-enable-top): New functions
7179 (menu-bar-showhide-tool-bar-menu): If tool bar is moveable,
7180 make a menu for Options => toolbar that can move it.
7182 2010-07-29 Chong Yidong <cyd@stupidchicken.com>
7184 * emacs-lisp/package-x.el (package--make-rss-entry):
7185 (package-maint-add-news-item, package--update-news)
7186 (package-upload-buffer-internal): New arg ARCHIVE-URL.
7188 * emacs-lisp/package.el (package-archive-url): Rename from
7190 (package-install): Doc fix.
7191 (package-download-single, package-download-tar, package-install)
7192 (package-menu-view-commentary): Callers changed.
7194 2010-07-29 Michael Albinus <michael.albinus@gmx.de>
7196 * net/tramp.el (tramp-handle-start-file-process): Check only for
7197 `remote-tty' process property.
7198 (tramp-open-shell): Don't check for tty.
7199 (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
7202 * progmodes/gdb-mi.el (gdb-init-1): Check also for tty on a remote
7205 2010-07-28 Chong Yidong <cyd@stupidchicken.com>
7207 * emacs-lisp/package.el (package-load-list, package-archives)
7208 (package-archive-contents, package-user-dir)
7209 (package-directory-list, package--builtins, package-alist)
7210 (package-activated-list, package-obsolete-alist): Mark as risky.
7212 2010-07-28 Phil Hagelberg <phil@evri.com>
7214 Add support for non-default package repositories.
7215 * emacs-lisp/package.el (package-archive-base): Var deleted.
7216 (package-archives): New variable.
7217 (package-archive-contents): Doc fix.
7218 (package-load-descriptor): Do nothing if descriptor file is missing.
7219 (package--write-file-no-coding): New function.
7220 (package-unpack-single): Use it.
7221 (package-archive-id): New function.
7222 (package-download-single, package-download-tar)
7223 (package-menu-view-commentary): Use it.
7224 (package-installed-p): Make second argument optional.
7225 (package-read-all-archive-contents): New function.
7226 (package-initialize): Use it.
7227 (package-read-archive-contents): Add ARCHIVE argument.
7228 (package--add-to-archive-contents): New function.
7229 (package-install): Don't call package-read-archive-contents.
7230 (package--download-one-archive): Store archive file in a
7231 subdirectory of package-user-dir.
7232 (package-menu-execute): Remove spurious line movement.
7234 2010-07-28 Jan Djärv <jan.h.d@swipnet.se>
7236 * cus-start.el (tool-bar-style): Add text-image-horiz.
7238 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
7240 * progmodes/gud.el (gud-common-init): Check for remoteness of
7241 `file', and not of `default-directory'.
7243 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
7245 * net/tramp.el (tramp-methods): Move hostname to the end in all
7246 ssh `tramp-login-args'.
7247 (tramp-verbose): Describe verbose level 9.
7248 (tramp-open-shell): Check for tty if `tramp-verbose' >= 9.
7249 (tramp-open-connection-setup-interactive-shell): Trace stty
7250 settings if `tramp-verbose' >= 9.
7251 (tramp-handle-start-file-process): Implement tty setting.
7252 (Bug#4604, Bug#6360)
7254 * net/tramp-cmds.el (tramp-bug): Recommend setting of
7255 `tramp-verbose' to 9.
7257 2010-07-27 Aaron S. Hawley <ashawley@burlingtontelecom.net>
7259 * emacs-lisp/re-builder.el (reb-re-syntax, reb-lisp-mode)
7260 (reb-lisp-syntax-p, reb-change-syntax, reb-cook-regexp):
7261 Remove references to package `lisp-re' (bug#4369).
7263 2010-07-27 Tom Tromey <tromey@redhat.com>
7265 * progmodes/js.el (js-mode):
7266 * progmodes/make-mode.el (makefile-mode):
7267 * progmodes/simula.el (simula-mode):
7268 * progmodes/tcl.el (tcl-mode): Derive from prog-mode.
7270 2010-07-27 Juanma Barranquero <lekktu@gmail.com>
7272 * help-fns.el (find-lisp-object-file-name): Doc fix (bug#6494).
7274 * time.el (display-time-day-and-date): Remove spurious * in docstring.
7275 (display-time-world-buffer-name, display-time-world-mode-map):
7276 Fix typos in docstrings.
7278 2010-07-27 Shyam Karanatt <shyam@swathanthran.in> (tiny change)
7280 * image-mode.el (image-display-size): New function.
7281 (image-forward-hscroll, image-next-line, image-eol, image-eob)
7282 (image-mode-fit-frame): Use it (Bug#6639).
7284 2010-07-27 Chong Yidong <cyd@stupidchicken.com>
7286 * dired.el (dired-buffers-for-dir): Handle list values of
7287 dired-directory (Bug#6636).
7289 2010-07-26 Sam Steingold <sds@gnu.org>
7291 * mouse.el (mouse-yank-primary, mouse-yank-secondary):
7292 Do not call `x-get-selection' the second time, reuse the value.
7294 2010-07-26 Daiki Ueno <ueno@unixuser.org>
7296 * epa-mail.el (epa-mail-mode-map): Add alternative key bindings
7297 which consist of control chars only. Suggested by Richard Stallman.
7299 2010-07-25 Daiki Ueno <ueno@unixuser.org>
7301 * epa-file.el (epa-file-insert-file-contents): Check if LOCAL-FILE
7302 exists before passing an error to find-file-not-found-functions
7305 2010-07-23 Lukas Huonker <l.huonker@gmail.com>
7307 * play/tetris.el (tetris-tty-colors, tetris-x-colors, tetris-blank):
7308 Remove leading nil element, adjust values.
7309 (tetris-shapes, tetris-shape-scores):
7310 Change representation of shapes and remove some redundancy.
7311 (tetris-get-shape-cell, tetris-shape-width, tetris-draw-next-shape)
7312 (tetris-draw-shape, tetris-erase-shape, tetris-test-shape):
7313 Adjust for working with new representation of shapes.
7314 (tetris-shape-rotations): New function.
7315 (tetris-move-bottom, tetris-move-left, tetris-move-right)
7316 (tetris-rotate-prev, tetris-rotate-next):
7317 Adjust for working with the new version of tetris-test-shape.
7319 2010-07-23 Markus Triska <markus.triska@gmx.at>
7321 * progmodes/ps-mode.el: Use comint (bug#5954).
7322 (ps-run-mode-map): Adapt for comint-mode; omit "\r", [return]..
7323 (ps-mode-other-newline): Simplify.
7324 (ps-run-mode): Derive from comint-mode instead of
7325 fundamental-mode, yielding input history etc.
7326 (ps-run-start, ps-run-quit, ps-run-clear, ps-run-region)
7327 (ps-run-send-string): Adapt for comint-mode.
7328 (ps-run-newline): Remove now unneeded function.
7330 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
7332 * net/tramp.el (tramp-methods): Move hostname to the end in all
7333 plink `tramp-login-args'.
7335 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
7337 * net/tramp.el (tramp-open-shell): New defun.
7338 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
7341 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
7343 * net/tramp.el (tramp-file-name-regexp-unified)
7344 (tramp-completion-file-name-regexp-unified): On W32 systems, do
7345 not regard the volume letter as remote filename. (Bug#5447)
7347 2010-07-23 Juanma Barranquero <lekktu@gmail.com>
7349 * custom.el (custom-declare-variable): Give a clearer error message
7350 when the docstring is missing (bug#6476).
7352 2010-07-22 Michael R. Mauger <mmaug@yahoo.com>
7354 * progmodes/sql.el: Version 2.4. Improved Login prompting.
7355 (sql-login-params): New widget definition.
7356 (sql-oracle-login-params, sql-mysql-login-params)
7357 (sql-solid-login-params, sql-sybase-login-params)
7358 (sql-informix-login-params, sql-ingres-login-params)
7359 (sql-ms-login-params, sql-postgres-login-params)
7360 (sql-interbase-login-params, sql-db2-login-params)
7361 (sql-linter-login-params): Use it.
7362 (sql-sqlite-login-params): Use it; Define "database" parameter as
7364 (sql-sqlite-program): Change to "sqlite3".
7365 (sql-comint-sqlite): Make sure database name is complete.
7366 (sql-for-each-login): New function.
7367 (sql-connect, sql-save-connection): Use it.
7368 (sql-get-login-ext): New function.
7369 (sql-get-login): Use it.
7370 (sql-make-alternate-buffer-name): Handle :file parameters.
7372 2010-07-22 Juanma Barranquero <lekktu@gmail.com>
7374 * dired.el (dired-no-confirm): Document value t and fix defcustom to
7375 accept it (bug#6597). Suggested by Drew Adams <drew.adams@oracle.com>.
7377 2010-07-22 Teemu Likonen <tlikonen@iki.fi> (tiny change)
7379 * dired.el (dired-mode-map): Use command remapping (bug#6632).
7381 2010-07-22 Lawrence Mitchell <wence@gmx.li>
7383 * term/vt100.el (vt100-wide-mode): Fix :init-value keyword (bug#6620).
7385 2010-07-21 Michael Albinus <michael.albinus@gmx.de>
7387 * net/tramp.el (tramp-get-ls-command)
7388 (tramp-get-ls-command-with-dired): Run tests on "/dev/null"
7391 2010-07-20 Michael R. Mauger <mmaug@yahoo.com>
7393 * progmodes/sql.el: Version 2.3.
7394 (sql-connection-alist): Change keys from symbols to strings;
7395 enhanced the widget definition.
7396 (sql-mode-menu): Add submenu to select connections.
7397 (sql-interactive-mode-menu): Add "Save Connection" item.
7398 (sql-add-product): Fix menu item.
7399 (sql-get-product-feature): Improved error handling.
7400 (sql--alt-buffer-part, sql--alt-if-not-empty): Removed.
7401 (sql-make-alternate-buffer-name): Simplified.
7402 (sql-product-interactive): Handle missing product.
7403 (sql-connect): Support string keys, minor improvements.
7404 (sql-save-connection): New function.
7405 (sql-connection-menu-filter): New function.
7407 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
7409 * net/tramp.el (tramp-file-name-handler): Trace 'quit.
7410 (tramp-open-connection-setup-interactive-shell):
7411 Apply workaround for IRIX64 bug. Move argument of last
7412 `tramp-send-command' where it belongs to.
7414 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
7416 * net/tramp.el (tramp-perl-file-attributes)
7417 (tramp-perl-directory-files-and-attributes): Don't pass "$3".
7418 (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
7419 front of `login-args'.
7421 2010-07-19 Juanma Barranquero <lekktu@gmail.com>
7423 * time.el (display-time-world-mode): Define with `define-derived-mode'.
7424 Set `show-trailing-whitespace' to nil.
7425 (display-time-world-display): Simplify.
7427 2010-07-18 Alan Mackenzie <acm@muc.de>
7429 Enhance `c-file-style' in file/directory local variables.
7430 * progmodes/cc-mode.el (c-count-cfss): New function.
7431 (c-before-hack-hook): Call `c-set-style' differently according to
7432 whether c-file-style was set in file or directory local
7435 2010-07-18 Michael R. Mauger <mmaug@yahoo.com>
7437 * progmodes/sql.el: Version 2.2.
7438 (sql-product, sql-user, sql-database, sql-server, sql-port):
7439 Use defcustom :safe keyword rather than putting safe-local-variable
7441 (sql-password): Use defcustom :risky keyword rather than putting
7442 risky-local-variable property.
7443 (sql-oracle-login-params, sql-sqlite-login-params)
7444 (sql-solid-login-params, sql-sybase-login-params)
7445 (sql-informix-login-params, sql-ingres-login-params)
7446 (sql-ms-login-params, sql-postgres-login-params)
7447 (sql-interbase-login-params, sql-db2-login-params)
7448 (sql-linter-login-params): Add `port' option.
7449 (sql-get-product-feature): Add NO-INDIRECT parameter.
7450 (sql-comint-oracle, sql-comint-sybase)
7451 (sql-comint-informix, sql-comint-sqlite, sql-comint-mysql)
7452 (sql-comint-solid, sql-comint-ingres, sql-comint-ms)
7453 (sql-comint-postgres, sql-comint-interbase, sql-comint-db2)
7454 (sql-comint-linter): Rename sql-connect-* functions to
7456 (sql-product-alist, sql-mode-menu): Rename as above and
7457 :sqli-connect-func to :sqli-comint-func.
7458 (sql-connection): New variable.
7459 (sql-interactive-mode): Set it.
7460 (sql-connection-alist): New variable.
7461 (sql-connect): New function.
7462 (sql--alt-buffer-part, sql--alt-if-not-empty)
7463 (sql-make-alternate-buffer-name): Improved alternative buffer name.
7465 2010-07-17 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7467 * image-mode.el (image-bookmark-make-record): Do not set context
7468 in an image (Bug#6650).
7470 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
7472 * simple.el (select-active-region): New function.
7473 (push-mark-command, set-mark, activate-mark)
7474 (handle-shift-selection): Use it.
7475 (deactivate-mark): Don't check for size of region.
7477 * mouse.el (mouse-drag-track): Use select-active-region.
7479 2010-07-17 Michael Albinus <michael.albinus@gmx.de>
7481 * net/tramp.el (tramp-get-ls-command-with-dired): Make test for
7484 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
7486 * term/x-win.el (x-select-enable-primary): Change default to nil.
7487 (x-select-enable-clipboard): Add :version keyword.
7489 * mouse.el (mouse-drag-copy-region):
7490 * simple.el (select-active-regions): Likewise.
7492 2010-07-16 Reiner Steib <Reiner.Steib@gmx.de>
7494 * vc/vc.el (vc-coding-system-inherit-eol): New defvar.
7495 (vc-coding-system-for-diff): Use it to decide whether to inherit
7496 from the file the EOL format for reading the diffs of that file.
7499 2010-07-16 Eli Zaretskii <eliz@gnu.org>
7501 * mail/rmailmm.el (rmail-mime-save): Make the temp buffer
7502 unibyte, so compressed attachments are not compressed again.
7504 2010-07-16 Michael Albinus <michael.albinus@gmx.de>
7506 * net/tramp.el (tramp-handle-shell-command): Don't use hard-wired
7507 "/bin/sh" but `tramp-remote-sh' from `tramp-methods'.
7508 (tramp-find-shell): Simplify setting connection property.
7509 (tramp-get-ls-command): Make test for "--color=never" stronger.
7511 2010-07-15 Simon South <ssouth@member.fsf.org>
7513 * progmodes/delphi.el (delphi-previous-indent-of): Indent case
7514 blocks within record declarations (i.e. variant parts) correctly.
7516 2010-07-15 Simon South <ssouth@member.fsf.org>
7518 * progmodes/delphi.el (delphi-token-at): Give newlines precedence
7519 over literal tokens when parsing so newlines aren't "absorbed" by
7520 single-line comments. Corrects the indentation of case blocks
7521 that have a comment on the first line.
7523 2010-07-14 Karl Fogel <kfogel@red-bean.com>
7525 * bookmark.el (bookmark-load-hook): Fix doc string as suggested
7526 by Drew Adams (Bug#5504).
7528 2010-07-14 Jan Djärv <jan.h.d@swipnet.se>
7530 * xt-mouse.el (xterm-mouse-event-read): Fix for characters > 127
7531 now that Unicode is used (Bug#6594).
7533 2010-07-14 Chong Yidong <cyd@stupidchicken.com>
7535 * term/x-win.el (x-select-enable-clipboard): Default to t.
7536 (x-initialize-window-system): Don't overwrite Paste menu item.
7538 * simple.el (select-active-regions): Default to t.
7539 (push-mark-command): Don't overwrite primary with empty string.
7541 * mouse.el: Bind mouse-2 to mouse-yank-primary.
7542 (mouse-drag-copy-region): Default to nil.
7544 * menu-bar.el (menu-bar-enable-clipboard): Don't overwrite
7545 Cut/Copy/Paste menu bar items.
7547 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7549 Allow C-w when setting a bookmark in a Gnus Article buffer (Bug#5975).
7550 Patch applied by Karl Fogel.
7552 * bookmark.el (bookmark-set): Don't set `bookmark-yank-point'
7553 and `bookmark-current-buffer' if they have been already set in
7554 another buffer (e.g gnus-art).
7556 2010-07-13 Karl Fogel <kfogel@red-bean.com>
7557 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7559 Preparation for setting bookmarks in Gnus article buffers (Bug#5975).
7561 * bookmark.el (bookmark-make-record-default): Allow unneeded
7562 information to be omitted from the record.
7564 Adjust declarations and calls:
7566 * info.el (bookmark-make-record-default): Adjust declaration.
7567 (Info-bookmark-make-record): Adjust call.
7569 * woman.el (bookmark-make-record-default): Adjust declaration.
7570 (woman-bookmark-make-record): Adjust call.
7572 * man.el (bookmark-make-record-default): Adjust declaration.
7573 (Man-bookmark-make-record): Adjust call.
7575 * image-mode.el (bookmark-make-record-default): Adjust declaration.
7577 * doc-view.el (bookmark-make-record-default): Adjust declaration.
7579 2010-07-13 Karl Fogel <kfogel@red-bean.com>
7581 * bookmark.el (bookmark-show-annotation): Use `when' instead of `if'.
7582 This is also from Thierry Volpiatto's patch in bug #6444. However,
7583 because it was extraneous to the functional change in that patch,
7584 and causes a re-indendation, I am committing it separately.
7586 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7588 * bookmark.el (bookmark-show-annotation): Ensure annotations show,
7589 e.g. in Info bookmarks, by using `switch-to-buffer-other-window'.
7590 Patch applied by Karl Fogel (Bug#6444).
7592 2010-07-13 Chong Yidong <cyd@stupidchicken.com>
7594 * frame.el (make-frame): Fix typo in 2010-06-30 change (Bug#6625).
7596 2010-07-13 Adrian Robert <Adrian.B.Robert@gmail.com>
7598 * term/ns-win.el: Bind M-~ to 'ns-prev-frame (due to Matthew
7599 Dempsky; bug#5084). Remove incorrect binding for S-tab.
7600 (ns-alternatives-map): Change S-tab binding to backtab
7603 * simple.el (normal-erase-is-backspace-setup-frame): Set mode on
7606 2010-07-12 Andreas Schwab <schwab@linux-m68k.org>
7608 * language/tai-viet.el ("TaiViet"): Try to fix re-encoding bugs.
7611 * language/tv-util.el (tai-viet-re): Remove format.
7613 2010-07-12 Kenichi Handa <handa@m17n.org>
7615 * language/hebrew.el: Remove no-byte-compile declaration.
7616 Change coding: tag to utf-8. Register hebrew-shape-gstring in
7617 composition-function-table for 3-character looking back.
7618 (hebrew-font-get-precomposed): New function.
7619 (hebrew-shape-gstring): Utilize precomposed glyphs if available.
7621 2010-07-11 Chong Yidong <cyd@stupidchicken.com>
7623 * mouse.el (mouse-drag-track): Handle select-active-regions
7626 2010-07-11 Magnus Henoch <magnus.henoch@gmail.com>
7628 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
7629 empty argument to gvfs-copy.
7631 2010-07-10 Glenn Morris <rgm@gnu.org>
7633 * calendar/calendar.el (calendar-week-end-day): New function.
7634 * calendar/cal-tex.el (cal-tex-cursor-month): Remove unused vars.
7635 Respect calendar-week-start-day. (Bug#6606)
7636 (cal-tex-insert-day-names, cal-tex-insert-blank-days)
7637 (cal-tex-insert-blank-days-at-end): Respect calendar-week-start-day.
7638 (cal-tex-first-blank-p, cal-tex-last-blank-p): Simplify, and
7639 respect calendar-week-start-day.
7641 2010-07-10 Chong Yidong <cyd@stupidchicken.com>
7643 * simple.el (use-region-p): Doc fix (Bug#6607).
7645 2010-07-10 Aleksei Gusev <aleksei.gusev@gmail.com> (tiny change)
7647 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7648 Add regexps for cucumber and ruby.
7650 2010-07-08 Daiki Ueno <ueno@unixuser.org>
7652 * epa-file.el (epa-file-error, epa-file--find-file-not-found-function)
7653 (epa-file-insert-file-contents): Hack to prevent
7654 find-file from opening empty buffer when decryption failed
7657 2010-07-07 Agustín Martín <agustin.martin@hispalinux.es>
7659 * textmodes/ispell.el (ispell-alternate-dictionary):
7660 Use file-readable-p.
7661 Return nil if no word-list is found at default locations.
7662 (ispell-complete-word-dict): Default to nil.
7663 (ispell-command-loop): Use 'word-list' when using lookup-words.
7664 (lookup-words): Use ispell-complete-word-dict or
7665 ispell-alternate-dictionary. Check for word-list availability
7666 and handle errors if needed with better messages (Bug#6539).
7667 (ispell-complete-word): Use ispell-complete-word-dict or
7668 ispell-alternate-dictionary.
7670 2010-07-07 Christoph Scholtes <cschol2112@gmail.com>
7672 * progmodes/python.el (python-font-lock-keywords): Add Python 2.7
7673 builtins (BufferError, BytesWarning, WindowsError; callables
7674 bin, bytearray, bytes, format, memoryview, next, print; __package__).
7676 2010-07-07 Glenn Morris <rgm@gnu.org>
7678 * play/zone.el (top-level): Do not require timer, tabify, or cl.
7679 (zone-shift-left): Ignore intangibility, and any errors from
7681 (zone-shift-right): Remove no-op end-of-line. Ignore intangibility.
7682 (zone-pgm-putz-with-case): Use upcase-region rather than inserting,
7683 deleting, and copying text properties.
7684 (zone-line-specs, zone-pgm-stress): Check forward-line exit status.
7685 (zone-pgm-rotate): Handle odd buffers like that of gomoku, where getting
7686 to point-max is hard.
7687 (zone-fret, zone-fill-out-screen): Replace cl's do with dotimes.
7688 (zone-fill-out-screen): Ignore intangibility.
7690 2010-07-05 Chong Yidong <cyd@stupidchicken.com>
7692 * menu-bar.el (menu-bar-mode):
7693 * tool-bar.el (tool-bar-mode): Replace default-frame-alist element
7696 * mouse.el (mouse-drag-track): Call mouse-start-end to handle
7697 word/line selection (Bug#6565).
7699 2010-07-04 Juanma Barranquero <lekktu@gmail.com>
7701 * net/dbus.el (dbus-send-signal): Declare function.
7703 2010-07-04 Michael Albinus <michael.albinus@gmx.de>
7705 * net/dbus.el: Implement signal "PropertiesChanged" (from D-Bus 1.3.1).
7706 (dbus-register-property): New optional argument EMITS-SIGNAL.
7707 (dbus-property-handler): Send signal "PropertiesChanged" if requested.
7709 2010-07-03 Chong Yidong <cyd@stupidchicken.com>
7711 * mouse.el (mouse-drag-overlay): Variable deleted.
7712 (mouse-move-drag-overlay, mouse-show-mark): Functions deleted.
7713 (mouse--remap-link-click-p): New function.
7714 (mouse-drag-track): Handle dragging by using temporary Transient
7715 Mark mode, instead of a special overlay.
7716 (mouse-kill-ring-save, mouse-save-then-kill): Don't call
7719 * mouse-sel.el (mouse-sel-selection-alist): mouse-drag-overlay
7722 2010-07-02 Juri Linkov <juri@jurta.org>
7724 * autoinsert.el (auto-insert-alist): Fix readability
7725 by using dotted pair notation for lambda.
7727 2010-07-02 Juri Linkov <juri@jurta.org>
7729 * faces.el (read-face-name): Rename arg `string-describing-default'
7730 to `default'. Doc fix. Display the default value in quotes
7731 in the prompt. With empty input, return the `default' arg,
7732 unless the default value is a string (in which case return nil).
7733 (describe-face): Replace the string `default' arg of `read-face-name'
7734 with the symbol `default'.
7736 2010-07-02 Chong Yidong <cyd@stupidchicken.com>
7738 * emulation/viper-cmd.el (viper-delete-backward-char)
7739 (viper-del-backward-char-in-insert)
7740 (viper-del-backward-char-in-replace, viper-change)
7741 (viper-backward-indent): Replace delete-backward-char with
7742 delete-char (Bug#6552).
7744 2010-07-01 Chong Yidong <cyd@stupidchicken.com>
7746 * ruler-mode.el (ruler--save-header-line-format): Fix typos.
7748 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
7750 * frame.el (make-frame): Add default-frame-alist to the PARAMETERS
7751 argument passed to frame-creation-function (Bug#5378).
7753 * faces.el (x-handle-named-frame-geometry)
7754 (x-handle-reverse-video, x-create-frame-with-faces)
7755 (face-set-after-frame-default, tty-create-frame-with-faces):
7756 Don't separately consult default-frame-alist. It is now passed as the
7759 2010-06-30 Andreas Schwab <schwab@linux-m68k.org>
7761 * startup.el (command-line): Don't call tool-bar-setup in a
7764 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
7766 * ruler-mode.el (ruler--save-header-line-format): New fun.
7767 (ruler-mode): Use it as a setter function, so as not to overwrite
7768 ruler-mode-header-line-format-old if Ruler mode is on (Bug#5370).
7770 2010-06-29 Chong Yidong <cyd@stupidchicken.com>
7772 * vc/vc.el (vc-deduce-backend): New fun. Handle diff buffers.
7773 (vc-root-diff, vc-print-root-log, vc-log-incoming)
7774 (vc-log-outgoing): Use it.
7775 (vc-diff-internal): Set diff-vc-backend.
7777 * vc/diff-mode.el (diff-vc-backend): New var.
7779 2010-06-28 Jan Djärv <jan.h.d@swipnet.se>
7781 * dynamic-setting.el (font-setting-change-default-font):
7782 Remove call to message.
7784 2010-06-28 Kenichi Handa <handa@m17n.org>
7786 * international/quail.el (quail-insert-kbd-layout): Fix the
7787 showing of untranslated characters.
7789 2010-06-28 Chong Yidong <cyd@stupidchicken.com>
7791 * simple.el (delete-active-region): New option.
7792 (delete-backward-char): Implement in Lisp.
7793 (delete-forward-char): New command.
7795 * mouse.el (mouse-region-delete-keys): Deleted.
7796 (mouse-show-mark): Simplify.
7798 * bindings.el (global-map): Bind delete and DEL, the former to
7799 delete-forward-char.
7801 2010-06-27 Lennart Borgman <lennart.borgman@gmail.com>
7803 * progmodes/ruby-mode.el (ruby-mode-map): Don't bind TAB.
7804 (ruby-mode): Bind indent-line-function (Bug#5119).
7806 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
7808 * startup.el (command-line): Recognize "0" X resource value.
7810 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
7812 * startup.el (command-line): Use X resources to set the value of
7813 menu-bar-mode and tool-bar-mode, before calling frame-initialize.
7815 * menu-bar.el (menu-bar-mode):
7816 * tool-bar.el (tool-bar-mode): Don't change default-frame-alist.
7817 Set init-value to t.
7819 * frame.el (frame-notice-user-settings): Don't change
7820 default-frame-alist based on menu-bar-mode and tool-bar-mode, or
7821 vice versa (Bug#2249).
7823 2010-06-26 Eli Zaretskii <eliz@gnu.org>
7825 * w32-fns.el (w32-convert-standard-filename): Doc fix.
7827 2010-06-25 Agustín Martín <agustin.martin@hispalinux.es>
7829 * textmodes/flyspell.el (flyspell-check-previous-highlighted-word):
7830 Make sure `flyspell-word' re-checks word after function run (Bug#6504).
7832 * textmodes/ispell.el (ispell-init-process): Make sure ispell and
7833 default directories are expanded (Bug#6143).
7835 2010-06-24 Juri Linkov <juri@jurta.org>
7837 * minibuffer.el (completions-format): Change default from nil to
7838 `horizontal'. Remove `nil' value from :type. Doc fix. (Bug#6459)
7840 2010-06-24 Juri Linkov <juri@jurta.org>
7842 * vc/vc.el (vc-diff-internal): Set `revert-buffer-function'
7843 buffer-locally to lambda that re-runs the vc diff command.
7846 2010-06-24 Chong Yidong <cyd@stupidchicken.com>
7848 * kmacro.el (kmacro-call-macro): Don't issue hint message if the
7849 echo area is in use (Bug#3412).
7851 2010-06-22 Glenn Morris <rgm@gnu.org>
7853 * textmodes/texinfmt.el (texinfo-format-region)
7854 (texinfo-raise-lower-sections, texinfo-format-separate-node)
7855 (texinfo-itemize-item, texinfo-multitable-item, texinfo-alias)
7856 (texinfo-format-option, texinfo-noindent):
7857 Use line-beginning-position and line-end-position.
7859 * calc/calc-aent.el, calc/calc-ext.el, calc/calc-lang.el:
7860 * calc/calc-store.el, calc/calc-units.el, calc/calc.el:
7861 * calc/calccomp.el: Add explicit utf-8 coding cookies to files with
7864 2010-06-21 Karl Fogel <kfogel@red-bean.com>
7866 * play/zone.el (zone-fall-through-ws): Fix next-line ->
7867 forward-line fallout.
7869 2010-07-06 Chong Yidong <cyd@stupidchicken.com>
7871 * mouse.el (mouse-appearance-menu): Add docstring.
7873 * help.el (describe-key): Print up-event using key-description.
7875 2010-07-03 Michael Albinus <michael.albinus@gmx.de>
7877 * net/zeroconf.el (zeroconf-resolve-service)
7878 (zeroconf-service-resolver-handler): Use `dbus-byte-array-to-string'.
7879 (zeroconf-publish-service): Use `dbus-string-to-byte-array'.
7881 2010-07-03 Jan Moringen <jan.moringen@uni-bielefeld.de>
7883 * net/zeroconf.el (zeroconf-service-remove-hook): New defun.
7885 2010-06-30 Dan Nicolaescu <dann@ics.uci.edu>
7887 Avoid displaying files with a nil state in vc-dir.
7888 * vc/vc-dir.el (vc-dir-update): Obey the noinsert argument in all
7889 cases that cause insertion.
7890 (vc-dir-resynch-file): Tell vc-dir-update to avoid inserting files
7893 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
7895 * xml.el (xml-parse-region): Avoid infloop (Bug#5281).
7897 2010-06-29 Leo <sdl.web@gmail.com>
7899 * emacs-lisp/rx.el (rx): Doc fix. (Bug#6537)
7901 2010-06-27 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
7903 * generic-x.el (bat-generic-mode): Fix regexp for command line
7904 switches (Bug#5719).
7906 2010-06-27 Masatake YAMATO <yamato@redhat.com>
7908 * htmlfontify.el (hfy-face-attr-for-class): Use append instead
7909 of nconc to avoid pure storage error (Bug#6239).
7911 2010-06-27 Christoph <cschol2112@googlemail.com> (tiny change)
7913 * bookmark.el (bookmark-bmenu-2-window, bookmark-bmenu-other-window)
7914 (bookmark-bmenu-other-window-with-mouse): Remove unnecessary
7915 bindings of bookmark-automatically-show-annotations (Bug#6515).
7917 2010-06-25 Eli Zaretskii <eliz@gnu.org>
7919 * arc-mode.el (archive-zip-extract): Don't quote the file name on
7920 MS-Windows and MS-DOS. (Bug#6467, Bug#6144)
7922 2010-06-24 Štěpán Němec <stepnem@gmail.com> (tiny change)
7924 * comint.el (make-comint, make-comint-in-buffer): Mention return
7925 value in the docstrings. (Bug#6498)
7927 2010-06-24 Yoni Rabkin <yoni@rabkins.net>
7929 * bs.el (bs-mode-font-lock-keywords): Remove "by" from Dired pattern,
7930 since it is not present when using some non-default switches.
7932 2010-06-23 Karl Fogel <kfogel@red-bean.com>
7934 * simple.el (compose-mail): Fix doc string to refer to
7935 `compose-mail-user-agent-warnings', instead of to the
7936 nonexistent `compose-mail-check-user-agent'.
7938 2010-06-21 Alan Mackenzie <bug-cc-mode@gnu.org>
7940 Fix an indentation bug:
7942 * progmodes/cc-mode.el (c-common-init): Initialise c-new-BEG/END.
7943 (c-neutralize-syntax-in-and-mark-CPP): c-new-BEG/END: Take account
7946 * progmodes/cc-engine.el (c-clear-<-pair-props-if-match-after)
7947 (c-clear->-pair-props-if-match-before): now return t when they've
7948 cleared properties, nil otherwise.
7949 (c-before-change-check-<>-operators): Set c-new-beg/end correctly
7950 by taking account of the existing value.
7952 * progmodes/cc-defs.el
7953 (c-clear-char-property-with-value-function): Fix this to clear the
7954 property rather than overwriting it with nil.
7956 2010-06-20 Chong Yidong <cyd@stupidchicken.com>
7958 * emacs-lisp/package.el (package-print-package): Add link to
7959 package description via describe-package.
7960 (describe-package-1): List package requirements. Add button to
7961 perform installation.
7962 (package-menu-describe-package): New command.
7964 * help-mode.el (help-package): New button type.
7966 2010-06-19 Chong Yidong <cyd@stupidchicken.com>
7968 * emacs-lisp/package.el: Move package-list-packages binding to
7970 (describe-package, describe-package-1, package--dir): New funs.
7971 (package-activate-1): Use package--dir.
7973 * emacs-lisp/package-x.el (gnus-article-buffer): Require package.
7975 * help-mode.el (help-package-def): New button type.
7977 * menu-bar.el: Move package-list-packages binding here from
7980 2010-06-19 Gustav Hållberg <gustav@gmail.com> (tiny change)
7982 * descr-text.el (describe-char): Avoid trailing whitespace. (Bug#6423)
7984 2010-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7986 * emacs-lisp/edebug.el (edebug-read-list):
7987 Phase out old-style backquotes.
7989 2010-06-17 Juri Linkov <juri@jurta.org>
7991 * help-mode.el (help-mode): Set buffer-local variable
7992 revert-buffer-function to help-mode-revert-buffer.
7993 (help-mode-revert-buffer): New function.
7995 * info.el (Info-revert-find-node): Check for major-mode Info-mode
7996 before popping to "*info*" (like in other Info functions).
7997 Keep buffer-name in old-buffer-name. Keep Info-history-forward in
7998 old-history-forward. Pop to old-buffer-name or "*info*" to
7999 recreate the killed buffer. Set Info-history-forward from
8000 old-history-forward.
8001 (Info-breadcrumbs-depth): Add :group and :version.
8003 2010-06-17 Dan Nicolaescu <dann@ics.uci.edu>
8005 * emacs-lisp/package.el (package-menu-mode-map): Add a menu.
8007 2010-06-17 Agustín Martín <agustin.martin@hispalinux.es>
8009 * textmodes/ispell.el (ispell-aspell-find-dictionary): Fix regexp
8010 for languages like Portuguese with pt_{BR,PT} and no plain pt.
8012 2010-06-17 Juanma Barranquero <lekktu@gmail.com>
8014 * emacs-lisp/package.el (package-menu-mode-map):
8015 Move initialization into declaration.
8017 * menu-bar.el (menu-bar-options-menu): Fix typo in menu entry.
8019 2010-06-17 Chong Yidong <cyd@stupidchicken.com>
8021 * emacs-lisp/package.el (package-archive-base): Point to
8023 (package-enable, package-load-list): New defcustoms.
8024 (package-user-dir, package-directory-list): Turn into defcustoms.
8025 Don't include package-user-dir in package-directory-list.
8026 (package--builtins-base): Don't include Emacs as a "package".
8027 (package-subdirectory-regexp): New var.
8028 (package-load-all-descriptors, package-compute-transaction)
8029 (package-download-transaction): Obey package-load-list.
8030 (package-activate-1): Rename from package-do-activate.
8031 (package-list-packages-internal): Check package-load-list.
8032 (package-load-descriptor, package-generate-autoloads)
8033 (package-unpack, package-unpack-single)
8034 (package--read-archive-file, package-delete):
8035 Use expand-file-name.
8037 * emacs-lisp/package-x.el: New file. Package uploading
8038 functionality split out from package.el.
8040 * startup.el (command-line): Load packages after reading init file.
8042 2010-06-17 Tom Tromey <tromey@redhat.com>
8044 * emacs-lisp/package.el: New file.
8046 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
8048 Fix vc-annotate for renamed files when using Git.
8049 * vc/vc-git.el (vc-git-find-revision): Deal with empty results from
8050 ls-files. Doe not pass the object as a file name to cat-file, it
8052 (vc-git-annotate-command): Pass the file name using -- to avoid
8053 ambiguity with the revision.
8054 (vc-git-previous-revision): Pass a relative file name.
8056 2010-06-22 Glenn Morris <rgm@gnu.org>
8058 * progmodes/js.el (js-mode-map): Use standard capitalization and
8059 ellipses for menu entries.
8061 * wid-edit.el (widget-complete): Doc fix.
8063 2010-06-22 Jürgen Hötzel <juergen@hoetzel.info> (tiny change)
8065 * wid-edit.el (widget-complete): Fix typo in 2009-12-02 change.
8067 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
8069 Fix annotating other revisions for renamed files in vc-annotate.
8070 * vc/vc-annotate.el (vc-annotate): Add an optional argument for the
8071 VC backend. Use it when non-nil.
8072 (vc-annotate-warp-revision): Pass the VC backend to vc-annotate.
8075 Fix vc-annotate-show-changeset-diff-revision-at-line for git.
8076 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
8077 Do not pass the file name to the 'previous-revision call when we
8078 don't want a file diff. (Bug#6489)
8080 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
8082 Fix finding revisions for renamed files in vc-annotate.
8083 * vc/vc.el (vc-find-revision): Add an optional argument for
8084 the VC backend. Use it when non-nil.
8085 * vc/vc-annotate.el (vc-annotate-find-revision-at-line): Pass the VC
8086 backend to vc-find-revision. (Bug#6487)
8088 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
8090 Fix reading file names in Git annotate buffers.
8091 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line):
8092 Remove trailing whitespace. Suggested by Eric Hanchrow. (Bug#6481)
8094 2010-06-20 Alan Mackenzie <acm@muc.de>
8096 * progmodes/cc-mode.el (c-before-hack-hook): When the mode is set
8097 in file local variables, set it first.
8099 2010-06-19 Glenn Morris <rgm@gnu.org>
8101 * descr-text.el (describe-char-unicode-data): Insert separating
8102 space when needed. (Bug#6422)
8104 * progmodes/idlwave.el (idlwave-action-and-binding):
8105 Fix typo in 2009-12-03 change. (Bug#6450)
8107 2010-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
8109 * emacs-lisp/macroexp.el (macroexpand-all-1): Put back special
8110 handling for `lambda' (misunderstanding).
8112 2010-06-16 Jay Belanger <jay.p.belanger@gmail.com>
8114 * calc/calc-poly.el (math-accum-factors): Make sure that
8115 constants aren't distributed after they are factored out.
8117 2010-06-16 Juri Linkov <juri@jurta.org>
8119 * facemenu.el (list-colors-display): Call `pop-to-buffer' before
8120 `list-colors-print'. (Bug#6332)
8122 * subr.el (read-quoted-char): Fix up last change (bug#6290).
8124 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
8126 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't handle `lambda'
8127 specially, since it's a macro. Fix up wrong hint passed to maybe-cons.
8129 * font-lock.el (font-lock-major-mode): Rename from
8130 font-lock-mode-major-mode to distinguish it from
8131 global-font-lock-mode's own font-lock-mode-major-mode (bug#6135).
8132 (font-lock-set-defaults):
8133 * font-core.el (font-lock-default-function): Adjust users.
8134 (font-lock-mode): Don't set it at all.
8136 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
8138 * vc/vc-annotate.el (vc-annotate): Use vc-read-revision.
8140 2010-06-16 Glenn Morris <rgm@gnu.org>
8142 * calendar/appt.el (appt-time-msg-list): Doc fix.
8143 (appt-check): Let-bind appt-warn-time.
8144 (appt-add): Make the 3rd argument optional.
8145 Simplify argument names. Doc fix. Check for integer WARNTIME.
8146 Only add WARNTIME to the output list if non-nil.
8148 2010-06-16 Ivan Kanis <apple@kanis.eu>
8150 * calendar/appt.el (appt-check): Let the 3rd element of
8151 appt-time-msg-list specify the warning time.
8152 (appt-add): Add new argument with the warning time. (Bug#5176)
8154 2010-06-16 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
8156 * vc/vc-svn.el (vc-svn-after-dir-status): Fix regexp for Subversions
8157 older than version 1.6. (Bug#6361)
8159 2010-06-16 Helmut Eller <eller.helmut@gmail.com>
8161 * emacs-lisp/cl-macs.el (destructuring-bind): Bind `bind-enquote',
8162 used by cl-do-arglist. (Bug#6408)
8164 2010-06-16 Agustín Martín <agustin.martin@hispalinux.es>
8166 * textmodes/ispell.el (ispell-dictionary-base-alist):
8167 Fix portuguese casechars/not-casechars for missing 'çÇ'.
8168 Suggested by Rolando Pereira (bug#6434).
8170 2010-06-15 Juanma Barranquero <lekktu@gmail.com>
8172 * facemenu.el (list-colors-sort): Doc fix.
8174 2010-06-15 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
8176 * progmodes/sql.el (sql-connect-mysql): Fix typo.
8178 2010-06-14 Juri Linkov <juri@jurta.org>
8180 Add sort option `list-colors-sort'. (Bug#6332)
8181 * facemenu.el (color-rgb-to-hsv): New function.
8182 (list-colors-sort): New defcustom.
8183 (list-colors-sort-key): New function.
8184 (list-colors-display): Doc fix. Sort list according to the option
8186 (list-colors-print): Add HSV values to `help-echo' property of
8189 2010-06-14 Juri Linkov <juri@jurta.org>
8191 * compare-w.el: Move to the "vc" subdirectory.
8193 2010-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
8195 * image-mode.el (image-mode-map): Remap left-char and right-char.
8197 * nxml/nxml-mode.el (nxml-indent-line): Standardize indent behavior.
8199 2010-06-12 Chong Yidong <cyd@stupidchicken.com>
8201 * term/common-win.el (x-colors): Add all the color names defined
8202 in rgb.txt (Bug#6332).
8204 * facemenu.el (list-colors-print): Don't print extra names if it
8205 will overflow the window width.
8207 * vc/log-edit.el (log-edit-font-lock-keywords): Revert 2010-06-02
8210 2010-06-12 Eli Zaretskii <eliz@gnu.org>
8212 * files.el (make-directory): Doc fix (bug#6396).
8214 2010-06-12 Michael Albinus <michael.albinus@gmx.de>
8216 * net/tramp.el (tramp-remote-process-environment): Protect version
8217 string by apostroph.
8218 (tramp-shell-prompt-pattern): Do not use a shy group in case of
8220 (tramp-file-name-for-operation): Add `call-process-region'.
8221 (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
8223 * net/tramp-compat.el (top): Do not autoload
8224 `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el
8225 only when `start-file-process' is not bound.
8226 (tramp-advice-file-expand-wildcards): Do not use
8227 `tramp-handle-file-remote-p'.
8228 (tramp-compat-make-temp-file): Handle the case, that
8229 `make-temp-file' has no third argument EXTENSION.
8231 2010-06-11 Juanma Barranquero <lekktu@gmail.com>
8233 * makefile.w32-in (WINS_BASIC): Include new directory vc.
8235 * loadup.el ("vc-hooks", "ediff-hook"): Load from lisp/vc/.
8237 2010-06-11 Juri Linkov <juri@jurta.org>
8239 * finder.el (finder-known-keywords): Add keyword "vc"
8240 for version control.
8242 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff.el,
8243 * emerge.el, log-edit.el, log-view.el, pcvs.el, smerge-mode.el,
8244 * vc-annotate.el, vc-bzr.el, vc-dir.el, vc-dispatcher.el, vc-git.el,
8245 * vc-hg.el, vc-mtn.el, vc.el: Add keyword "vc".
8247 2010-06-11 Juri Linkov <juri@jurta.org>
8249 Move version control related files to the "vc" subdirectory.
8250 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff-diff.el,
8251 * ediff.el, ediff-help.el, ediff-hook.el, ediff-init.el,
8252 * ediff-merg.el, ediff-mult.el, ediff-ptch.el, ediff-util.el,
8253 * ediff-vers.el, ediff-wind.el, emerge.el, log-edit.el, log-view.el,
8254 * pcvs-defs.el, pcvs.el, pcvs-info.el, pcvs-parse.el, pcvs-util.el,
8255 * smerge-mode.el, vc-annotate.el, vc-arch.el, vc-bzr.el, vc-cvs.el,
8256 * vc-dav.el, vc-dir.el, vc-dispatcher.el, vc.el, vc-git.el,
8257 * vc-hg.el, vc-hooks.el, vc-mtn.el, vc-rcs.el, vc-sccs.el, vc-svn.el:
8258 Move files to the "vc" subdirectory.
8260 2010-06-11 Chong Yidong <cyd@stupidchicken.com>
8262 * comint.el (comint-password-prompt-regexp): Fix 2010-04-10 change
8265 2010-06-11 Stephen Eglen <stephen@gnu.org>
8267 * shell.el: Bind `shell-resync-dirs' to M-RET.
8269 2010-06-10 Michael Albinus <michael.albinus@gmx.de>
8271 * notifications.el: Move file from lisp/net, because it is
8272 supposed to talk locally to the user.
8274 2010-06-10 Julien Danjou <julien@danjou.info>
8276 * net/notifications.el (notifications-on-action-signal)
8277 (notifications-on-closed-signal): Pass notification id as first
8278 argument to the callback functions. Add docstrings.
8279 (notifications-notify): Fix docstring.
8281 2010-06-10 Glenn Morris <rgm@gnu.org>
8283 * emacs-lisp/authors.el (authors-ignored-files)
8284 (authors-valid-file-names): Add some files.
8286 2010-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
8288 * net/rcirc.el (rcirc-server-alist, rcirc, rcirc-connect): Resolve
8289 merge conflict, giving preference to the emacs-23 version of the code.
8291 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
8293 * emacs-lisp/advice.el (ad-compile-function):
8294 Define warning-suppress-types before we let-bind it (bug#6275).
8296 * vc-dispatcher.el: Rename mode-line-hook to vc-mode-line-hook;
8297 declare it, make it buffer-local and permanent-local (bug#6324).
8298 (vc-resynch-window): Adjust name.
8299 * vc-hooks.el (vc-find-file-hook): Adjust name.
8301 2010-06-09 Michael Albinus <michael.albinus@gmx.de>
8303 * net/notifications.el (notifications-notify): Fix docstring.
8305 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
8307 Update to Unicode 6.0.0 beta.
8308 * international/charprop.el: Update copyright.
8309 * international/mule-cmds.el (ucs-names): Update character ranges.
8310 * international/uni-bidi.el:
8311 * international/uni-category.el:
8312 * international/uni-combining.el:
8313 * international/uni-comment.el:
8314 * international/uni-decimal.el:
8315 * international/uni-decomposition.el:
8316 * international/uni-digit.el:
8317 * international/uni-lowercase.el:
8318 * international/uni-mirrored.el:
8319 * international/uni-name.el:
8320 * international/uni-numeric.el:
8321 * international/uni-old-name.el:
8322 * international/uni-titlecase.el:
8323 * international/uni-uppercase.el: Regenerate.
8325 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
8327 * emacs-lisp/smie.el (comment-string-strip): Declare function.
8328 (smie-precs-precedence-table): Fix typo in docstring.
8330 * vc-mtn.el (log-edit-extract-headers): Declare function.
8332 * vc-hg.el (log-edit-extract-headers): Remove duplicate declaration.
8334 * net/notifications.el (dbus-register-signal): Declare function.
8335 (notifications-notify): Fix typos and reflow docstring.
8337 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
8339 Improve VC create/retrieve tag/branch.
8340 * vc.el (vc-create-tag): Do not read the directory name for VCs
8341 with repository revision granularity. Adjust the tag/branch
8342 prompt. Reset VC properties.
8343 (vc-retrieve-tag): Do not read the directory name for VCs
8344 with repository revision granularity. Reset VC properties.
8346 2010-06-09 Julien Danjou <julien@danjou.info>
8348 * net/notifications.el: New file.
8350 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
8352 Add optional support for resetting VC properties.
8353 * vc-dispatcher.el (vc-resynch-window): Add new optional argument,
8354 call vc-file-clearprops when true.
8355 (vc-resynch-buffer): Add new optional argument, pass it down.
8356 (vc-resynch-buffers-in-directory): Likewise.
8358 Improve support for special markup in the VC commit message.
8359 * vc-mtn.el (vc-mtn-checkin): Add support for Author: and Date: markup.
8360 * vc-hg.el (vc-hg-checkin): Add support for Date:.
8361 * vc-git.el (vc-git-checkin):
8362 * vc-bzr.el (vc-bzr-checkin): Likewise.
8364 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
8366 * emacs-lisp/smie.el (smie-indent-keyword): Remove special case that
8367 can be handled with a ((:before "fn") (:prev "=>" parent)) rule.
8369 2010-06-07 Martin Pohlack <mp26@os.inf.tu-dresden.de>
8371 * iimage.el: Remove images as soon as the underlying text is modified.
8372 (iimage-modification-hook): New function.
8373 (iimage-mode-buffer): Use it.
8375 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
8377 * emacs-lisp/smie.el (smie-indent-offset-rule): Rename from
8378 smie-indent-offset-after. Add :prev case. Make a bit more generic.
8379 (smie-indent-virtual): Remove `virtual' arg. Update callers.
8380 (smie-indent-keyword): Add handling of open-paren keywords.
8381 (smie-indent-comment-continue): Don't assume comment-continue.
8383 2010-06-07 Martin Rudalics <rudalics@gmx.at>
8385 * window.el (pop-to-buffer): Remove the conditional that
8386 compares new-window and old-window, so it will reselect
8387 the selected window unconditionally.
8388 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00078.html
8390 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
8392 * emacs-lisp/smie.el (smie-indent-offset-after)
8393 (smie-indent-forward-token, smie-indent-backward-token): New functions.
8394 (smie-indent-after-keyword): Use them.
8395 (smie-indent-fixindent): Only applies to the indentation of the BOL.
8396 (smie-indent-keyword): Tweak the black magic.
8397 (smie-indent-comment-continue): Strip comment-continue before use.
8398 (smie-indent-functions): Indent comments before keywords.
8400 2010-06-06 Juri Linkov <juri@jurta.org>
8402 * isearch.el (isearch-lazy-highlight-search): Fix looping
8403 by checking for empty match. This syncs this loop with the
8404 similar loop in `isearch-search'. (Bug#6362)
8406 2010-06-05 Juanma Barranquero <lekktu@gmail.com>
8408 * net/dbus.el (dbus-register-method): Declare function.
8409 (dbus-handle-event, dbus-property-handler): Fix typos in docstrings.
8410 (dbus-introspect): Doc fix.
8411 (dbus-event-bus-name, dbus-introspect-get-interface)
8412 (dbus-introspect-get-argument): Reflow docstrings.
8414 2010-06-05 Dan Nicolaescu <dann@ics.uci.edu>
8416 vc-log-incoming/vc-log-outgoing fixes for Git.
8417 * vc-git.el (vc-git-log-view-mode): Fix font lock for
8418 incoming/outgoing logs.
8419 (vc-git-log-outgoing, vc-git-log-incoming): Use @{upstream}
8420 instead of vc-git-compute-remote.
8421 (vc-git-compute-remote): Remove.
8423 2010-06-04 Chong Yidong <cyd@stupidchicken.com>
8425 * term/common-win.el (x-colors): Add "dark green" and "dark
8426 turquoise" (Bug#6332).
8428 2010-06-04 Juri Linkov <juri@jurta.org>
8430 * simple.el (kill-new): Fix logic of kill-do-not-save-duplicates.
8431 Instead of setting `replace' to t and replacing the same string
8432 with itself, don't do certain actions when
8433 kill-do-not-save-duplicates is non-nil and string is equal to car
8434 of kill-ring: don't call menu-bar-update-yank-menu, don't push
8435 interprogram-paste strings to kill-ring, and don't push the input
8436 argument `string' to kill-ring.
8437 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00072.html
8439 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
8441 * subr.el (directory-sep-char): Move from fileio.c and make a defconst.
8443 2010-06-04 Michael Albinus <michael.albinus@gmx.de>
8445 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name): Expand "~/".
8446 (tramp-gvfs-handler-mounted-unmounted)
8447 (tramp-gvfs-connection-mounted-p): Handle default-location.
8449 * net/tramp-smb.el (tramp-smb-handle-delete-directory): Don't try to
8450 move files to trash.
8452 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
8454 * international/mule-cmds.el (nonascii-insert-offset)
8455 (nonascii-translation-table): Add obsolescence information.
8457 * international/mule.el (make-translation-table-from-vector): Doc fix.
8459 2010-06-03 Glenn Morris <rgm@gnu.org>
8461 * desktop.el (desktop-clear-preserve-buffers):
8462 Add "*Warnings*" buffer. (Bug#6336)
8464 2010-06-03 Dan Nicolaescu <dann@ics.uci.edu>
8466 vc-log-incoming/vc-log-outgoing improvements for Git.
8467 * vc-git.el (vc-git-log-outgoing): Use the same format as the
8469 (vc-git-log-incoming): Likewise. Run "git fetch" before the log command.
8471 Add bindings for vc-log-incoming and vc-log-outgoing.
8472 * vc-hooks.el (vc-prefix-map): Add bindings for vc-log-incoming
8473 and vc-log-outgoing.
8474 * vc-dir.el (vc-dir-menu-map): Add menu bindings for vc-log-incoming
8475 and vc-log-outgoing.
8477 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
8479 * net/rcirc.el (rcirc-sort-nicknames): Remove.
8480 (rcirc-handler-366): Always sort nicknames.
8482 2010-06-03 Juanma Barranquero <lekktu@gmail.com>
8484 * emacs-lisp/smie.el (comment-continue): Declare for byte-compiler.
8486 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
8488 * net/rcirc.el (rcirc-nickname<, rcirc-sort-nicknames-join): Doc fix.
8490 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
8492 * net/rcirc.el (rcirc-sort-nicknames): Change default.
8493 (rcirc-sort-nicknames-join): Avoid setq.
8495 2010-06-03 Deniz Dogan <deniz.a.m.dogan@gmail.com>
8497 * net/rcirc.el (rcirc-sort-nicknames): New custom.
8498 (rcirc-nickname<, rcirc-sort-nicknames-join): New funs.
8499 (rcirc-handler-366): Use them.
8501 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
8503 Split smie-indent-calculate into more manageable chunks.
8504 * emacs-lisp/smie.el (smie-indent-virtual, smie-indent-fixindent)
8505 (smie-indent-comment, smie-indent-after-keyword, smie-indent-keyword)
8506 (smie-indent-close, smie-indent-comment-continue, smie-indent-bob)
8507 (smie-indent-exps): Extract from smie-indent-calculate.
8508 (smie-indent-functions): New var.
8509 (smie-indent-functions): Use them.
8511 2010-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
8513 * emacs-lisp/smie.el (smie-indent-hanging-p): Use smie-bolp.
8514 (smie-indent-calculate): Simplify and cleanup.
8516 2010-06-02 Michael Albinus <michael.albinus@gmx.de>
8518 * net/tramp-gvfs.el (top): Require url-util.
8519 (tramp-gvfs-mount-point): Remove.
8520 (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command):
8522 (with-tramp-dbus-call-method): Format trace message.
8523 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
8524 Implement backup call, when operation on local files fails.
8525 Use progress reporter. Flush properties of changed files.
8526 (tramp-gvfs-handle-make-directory): Make more traces.
8527 (tramp-gvfs-url-file-name): Hexify file name in url.
8528 (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
8529 into account for the resulting file name.
8530 (tramp-gvfs-handler-askquestion): Return dummy mountpoint, when
8531 the answer is "no". See `tramp-gvfs-maybe-open-connection'.
8532 (tramp-gvfs-handler-mounted-unmounted)
8533 (tramp-gvfs-connection-mounted-p): Test also for new mountspec
8534 attribute "default_location". Set "prefix" property.
8535 (tramp-gvfs-mount-spec): Return both prefix and mountspec.
8536 (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
8537 exists. Raise an error, if not (due to a corresponding answer
8538 "no" in interactive questions, for example).
8540 2010-06-02 Dan Nicolaescu <dann@ics.uci.edu>
8542 * log-edit.el (log-edit-font-lock-keywords): Make group 4 match lax.
8544 2010-06-01 Juanma Barranquero <lekktu@gmail.com>
8546 * emacs-lisp/eldoc.el: Add completions for new commands left-* and
8549 2010-06-01 Dan Nicolaescu <dann@ics.uci.edu>
8551 Add support for vc-log-incoming, improve vc-log-outgoing for Git.
8552 * vc-git.el (vc-git-compute-remote): New function.
8553 (vc-git-log-outgoing): Use it instead of hard coding a value.
8554 (vc-git-log-incoming): New function.
8556 Improve state updating for VC tag commands.
8557 * vc.el (vc-create-tag, vc-retrieve-tag): Call vc-resynch-buffer
8558 to update the state of all buffers in the directory.
8560 * vc-dir.el (vc-dir-update): Remove entries with a nil state (bug#5539).
8562 2010-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
8564 * vc-bzr.el (vc-bzr-revision-completion-table): Apply
8565 `file-directory-p' to the filename part rather than to the whole text.
8567 2010-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
8569 * man.el (Man-completion-table): Let the user type "-k " (bug#6319).
8571 2010-05-31 Drew Adams <drew.adams@oracle.com>
8573 * files.el (directory-files-no-dot-files-regexp): Doc fix (bug#6298).
8575 2010-05-31 Juanma Barranquero <lekktu@gmail.com>
8577 * subr.el (momentary-string-display): Just use read-event to read
8578 the exit event (Bug#6238).
8580 2010-05-30 Eli Zaretskii <eliz@gnu.org>
8582 * international/mule.el (define-coding-system): Doc fix (bug#6313).
8584 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
8586 * emulation/cua-base.el: Recognize also `right-word' and `left-word'.
8587 Suggested by Eli Zaretskii <eliz@gnu.org>.
8589 2010-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8591 * minibuffer.el (completion-file-name-table): Don't return a boundary
8592 past the end of `string' (bug#6299).
8593 (completion--file-name-table): Delegate to completion-file-name-table
8594 for the `boundaries' case.
8596 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
8598 * emulation/cua-base.el: Recognize `right-char' and `left-char' as
8601 * progmodes/ada-xref.el (ada-prj-ada-project-path-sep): Set from
8602 `path-separator', but maintain compatibility with Emacs 20.2.
8604 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
8606 * server.el (server-process-filter): Receive parent-id argument
8608 (server-create-window-system-frame): New arg. Pass parent-id as
8611 2010-05-29 Eli Zaretskii <eliz@gnu.org>
8613 Bidi-sensitive word movement with arrow keys.
8614 * subr.el (right-arrow-command, left-arrow-command): Move to
8617 * bindings.el (right-char, left-char): Move from subr.el and
8618 rename from right-arrow-command and left-arrow-command.
8619 (right-word, left-word): New functions.
8620 (global-map) <right>: Bind to right-char.
8621 (global-map) <left>: Bind to left-char.
8622 (global-map) <C-right>: Bind to right-word.
8623 (global-map) <C-left>: Bind to left-word.
8625 * ls-lisp.el (ls-lisp-classify-file): New function.
8626 (ls-lisp-insert-directory): Call it if switches include -F (bug#6294).
8627 (ls-lisp-classify): Call ls-lisp-classify-file.
8628 (insert-directory): Remove blanks from switches.
8630 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
8632 * ansi-color.el: Delete unused escape sequences (Bug#6085).
8633 (ansi-color-drop-regexp): New constant.
8634 (ansi-color-apply, ansi-color-filter-region)
8635 (ansi-color-apply-on-region): Delete unrecognized control sequences.
8636 (ansi-color-apply): Build string list before calling concat.
8638 2010-05-28 Juri Linkov <juri@jurta.org>
8640 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
8641 Replace LOCALP arg of `dired-get-filename' 'no-dir with nil.
8644 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
8646 * net/tramp.el (tramp-debug-message): Add `tramp-compat-funcall'
8647 to ignored backtrace functions.
8648 (with-progress-reporter): Expand docstring.
8649 (tramp-handle-delete-file): Implement TRASH argument.
8650 (tramp-get-remote-trash): New defun.
8652 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
8654 * net/tramp-compat.el (tramp-compat-delete-file):
8655 Use `symbol-value' for backward compatibility.
8657 * net/tramp.el (tramp-handle-make-symbolic-link)
8659 (tramp-do-copy-or-rename-file-via-buffer)
8660 (tramp-do-copy-or-rename-file-directly)
8661 (tramp-do-copy-or-rename-file-out-of-band)
8662 (tramp-handle-process-file, tramp-handle-call-process-region)
8663 (tramp-handle-shell-command, tramp-handle-file-local-copy)
8664 (tramp-handle-insert-file-contents, tramp-handle-write-region)
8665 (tramp-delete-temp-file-function): Use `delete-file' instead
8666 of `tramp-compat-delete-file'.
8668 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
8669 (tramp-fish-handle-make-symbolic-link)
8670 (tramp-fish-handle-process-file): Use `delete-file' instead
8671 of `tramp-compat-delete-file'.
8673 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
8674 Use `delete-file' instead of `tramp-compat-delete-file'.
8676 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
8677 (tramp-gvfs-handle-write-region): Use `delete-file' instead of
8678 `tramp-compat-delete-file'.
8680 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file):
8681 Use `delete-file' instead of `tramp-compat-delete-file'.
8683 * net/tramp-smb.el (tramp-smb-handle-copy-file)
8684 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
8685 (tramp-smb-handle-write-region): Use `delete-file' instead of
8686 `tramp-compat-delete-file'.
8687 (tramp-smb-handle-delete-directory): Use 'trash as arg.
8689 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
8691 * dired.el (dired-delete-file): New arg TRASH.
8692 (dired-internal-do-deletions): New arg TRASH. Use progress reporter.
8693 (dired-do-flagged-delete, dired-do-delete): Use trash.
8695 * speedbar.el (speedbar-item-delete): Allow trashing.
8697 * files.el (delete-directory): New arg TRASH.
8699 * net/ange-ftp.el (ange-ftp-del-tmp-name, ange-ftp-delete-file)
8700 (ange-ftp-rename-remote-to-remote)
8701 (ange-ftp-rename-local-to-remote)
8702 (ange-ftp-rename-remote-to-local, ange-ftp-load)
8703 (ange-ftp-compress, ange-ftp-uncompress): Remove optional arg from
8705 (ange-ftp-delete-directory): Add optional arg to `delete-file', to
8708 * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
8709 handle new TRASH arg of `delete-file'.
8711 * net/tramp.el (tramp-handle-delete-file): Change FORCE arg to TRASH.
8712 (tramp-handle-make-symbolic-link, tramp-handle-load)
8713 (tramp-do-copy-or-rename-file-via-buffer)
8714 (tramp-do-copy-or-rename-file-directly)
8715 (tramp-do-copy-or-rename-file-out-of-band)
8716 (tramp-handle-process-file, tramp-handle-call-process-region)
8717 (tramp-handle-shell-command, tramp-handle-file-local-copy)
8718 (tramp-handle-insert-file-contents, tramp-handle-write-region)
8719 (tramp-delete-temp-file-function): Use null TRASH arg in
8720 tramp-compat-delete-file call.
8722 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
8723 (tramp-fish-handle-delete-file)
8724 (tramp-fish-handle-make-symbolic-link)
8725 (tramp-fish-handle-process-file): Use null TRASH arg in
8726 `tramp-compat-delete-file' call.
8728 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use null TRASH
8729 arg in `tramp-compat-delete-file' call.
8731 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
8732 (tramp-gvfs-handle-write-region): Use null TRASH arg in
8733 `tramp-compat-delete-file' call.
8735 * net/tramp-imap.el (tramp-imap-handle-delete-file): Rename arg.
8736 (tramp-imap-do-copy-or-rename-file): Use null TRASH arg in
8737 `tramp-compat-delete-file' call.
8739 * net/tramp-smb.el (tramp-smb-handle-copy-file)
8740 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
8741 (tramp-smb-handle-write-region): Use null TRASH arg in
8742 tramp-compat-delete-file call.
8743 (tramp-smb-handle-delete-directory): Use tramp-compat-delete-file.
8744 (tramp-smb-handle-delete-file): Rename arg.
8746 * diff.el (diff-sentinel):
8747 * epg.el (epg--make-temp-file, epg-decrypt-string)
8748 (epg-verify-string, epg-sign-string, epg-encrypt-string):
8749 * jka-compr.el (jka-compr-partial-uncompress)
8750 (jka-compr-call-process, jka-compr-write-region):
8751 * server.el (server-sentinel): Remove optional arg from
8752 delete-file, reverting 2010-05-03 change.
8754 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
8756 * progmodes/verilog-mode.el (verilog-type-font-keywords):
8757 Use font-lock-constant-face, not obsolete font-lock-reference-face.
8759 2010-05-27 Kenichi Handa <handa@m17n.org>
8761 * language/hebrew.el (hebrew-shape-gstring): Check if a glyph
8762 element of GSTRING is nil.
8764 2010-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
8766 * emacs-lisp/smie.el (smie-forward-token-function)
8767 (smie-backward-token-function): New vars.
8768 (smie-backward-sexp, smie-forward-sexp)
8769 (smie-indent-hanging-p, smie-indent-calculate): Use them.
8770 (smie-default-backward-token): Rename from smie-backward-token and
8772 (smie-default-forward-token): Rename from smie-forward-token and
8774 (smie-next-sexp): Handle nil results from next-token.
8775 (smie-indent-calculate): Add a new case for special `fixindent' comments.
8777 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
8779 * progmodes/verilog-mode.el (verilog-type-font-keywords):
8780 Use font-lock-constant-face, not obsolete font-lock-reference-face.
8782 2010-05-27 Masatake YAMATO <yamato@redhat.com>
8784 * htmlfontify.el (hfy-face-resolve-face): New function.
8785 (hfy-face-to-style): Use it (Bug#6279).
8787 2010-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
8789 * progmodes/ada-xref.el (ada-gnat-parse-gpr):
8790 * emulation/edt.el (edt-load-keys): Avoid (expand-file-name ".").
8792 2010-05-26 Glenn Morris <rgm@gnu.org>
8794 * emulation/edt.el (edt-load-keys): Use locate-library.
8796 2010-05-25 Chong Yidong <cyd@stupidchicken.com>
8798 * log-edit.el (log-edit-strip-single-file-name): Default to nil.
8799 (log-edit-changelog-entries): Doc fix.
8800 (log-edit-changelog-insert-entries): Args changed.
8801 Rename relative filenames in ChangeLog entries. Delete tabs.
8802 (log-edit-insert-changelog-entries): Reorganize return value of
8803 `log-edit-changelog-entries' to pass filenames to
8804 log-edit-changelog-insert-entries.
8806 2010-05-25 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8808 * dired.el (dired-mode-map): Rebind "\C-t\C-t" from
8809 `image-dired-dired-insert-marked-thumbs' to
8810 `image-dired-dired-toggle-marked-thumbs'.
8812 * image-dired.el: Require cl when compiling.
8813 (image-dired-dired-toggle-marked-thumbs): Rename from
8814 `image-dired-dired-insert-marked-thumbs'. Add ARG. Doc fix.
8815 Use interactive spec "P". Set LOCALP arg of `dired-get-filename'
8816 to 'no-dir. Skip files whose names don't match
8817 `image-file-name-regexp'. When file has a thumbnail overlay,
8818 delete it. (Bug#5270)
8820 2010-05-25 Juri Linkov <juri@jurta.org>
8822 * image-mode.el (image-mode): Add image-after-revert-hook to
8824 (image-after-revert-hook): New function. (Bug#5669)
8826 2010-05-25 Juri Linkov <juri@jurta.org>
8828 * image.el (image-animated-p): When delay between animated images
8829 is 0, set it to 10 (0.1 sec). (Bug#6258)
8831 2010-05-25 Christian Lynbech <christian.lynbech@tieto.com> (tiny change)
8833 * net/tramp.el (tramp-handle-insert-directory): Don't use
8834 `forward-word', its default syntax could be changed.
8836 2010-05-25 Michael Albinus <michael.albinus@gmx.de>
8838 * net/tramp.el (tramp-progress-reporter-update): New defun.
8839 (with-progress-reporter): Use it.
8840 (tramp-process-actions):
8841 * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion):
8842 Preserve current message, in order to let progress reporter continue
8843 afterwards. (Bug#6257)
8845 2010-05-25 Glenn Morris <rgm@gnu.org>
8847 * net/rcirc.el (rcirc-default-user-name, rcirc-default-full-name):
8850 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
8852 * net/rcirc.el (rcirc-default-user-name): Change to "user".
8853 (rcirc-default-full-name): Change to "unknown".
8854 (rcirc-user-name-history): Add variable.
8856 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
8857 Jonathan Rockway <jon@jrock.us>
8859 * net/rcirc.el (rcirc-server-alist): Add :pass.
8860 (rcirc): When prompting for connection parameters, also prompt for
8861 username and password.
8862 (rcirc-connect): Take a PASS argument. If PASS is non-nil, send
8863 value to server when connecting.
8865 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
8867 * emacs-lisp/smie.el (smie-set-prec2tab): Check override before use.
8868 (smie-merge-prec2s): Pass the tables as separate args.
8869 (smie-bnf-precedence-table): Adjust call accordingly.
8870 (smie-prec2-levels): Set levels at the end.
8872 Replace Lisp calls to delete-backward-char by delete-char.
8873 * bs.el, expand.el, ido.el, image-dired.el, lpr.el, pcomplete.el,
8874 * skeleton.el, term.el, time.el, wid-edit.el, woman.el,
8875 * calc/calc-graph.el, calc/calc-help.el, calc/calc-incom.el,
8876 * calc/calc.el, emacs-lisp/cl-extra.el, emacs-lips/cl-loaddefs.el,
8877 * emulation/cua-rect.el, emulation/viper-ex.el, eshell/esh-test.el,
8878 * eshell/eshell.el, gnus/gnus-uu.el, gnus/nndoc.el, gnus/nnrss.el,
8879 * gnus/rfc2047.el, gnus/utf7.el, international/utf-7.el,
8880 * language/ethio-util.el, mh-e/mh-alias.el, mh-e/mh-search.el,
8881 * net/imap.el, net/rcirc.el, obsolete/complete.el, play/decipher.el,
8882 * progmodes/ada-mode.el, progmodes/cc-awk.el, progmodes/dcl-mode.el,
8883 * progmodes/ps-mode.el, progmodes/verilog-mode.el,
8884 * progmodes/vhdl-mode.el, textmodes/bibtex.el, textmodes/fill.el,
8885 * textmodes/reftex-auc.el, textmodes/rst.el, textmodes/sgml-mode.el,
8886 * textmodes/table.el, textmodes/texinfmt.el: Replace Lisp calls to
8887 delete-backward-char by calls to delete-char.
8889 2010-05-25 Kenichi Handa <handa@m17n.org>
8891 * language/hebrew.el (hebrew-shape-gstring): New function.
8892 Register it in composition-function-table for all Hebrew combining
8895 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
8897 * epa.el (epa--select-keys): Don't explicitly delete the window since
8898 that can fail (e.g. sole window in frame). Use dedication instead.
8900 2010-05-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
8902 * textmodes/fill.el (fill-region): Don't fill past the end (bug#6201).
8904 2010-05-22 Chong Yidong <cyd@stupidchicken.com>
8906 * image.el (image-refresh): Define as an alias for image-flush.
8908 * image-mode.el (image-toggle-display-image): Caller changed.
8910 2010-05-21 Juri Linkov <juri@jurta.org>
8912 * progmodes/grep.el (grep-read-files): Fix multi-pattern aliases.
8913 Remove "all" from grep-files-aliases. Split grep-files-aliases by
8914 whitespace, call wildcard-to-regexp on substrings and concat them
8915 with "\\|". (Bug#6114)
8917 2010-05-21 Alan Mackenzie <acm@muc.de>
8919 * progmodes/cc-engine.el (c-parse-state-get-strategy):
8920 Replace parameter `here' with `here-' and `here-plus', which sandwich
8921 any pertinent CPP construct.
8922 (c-remove-stale-state-cache-backwards): Fix a bug which happens
8923 when doing (c-parse-state) in a CPP construct: Exclude any "new"
8924 CPP construct from taking part in the scanning.
8926 2010-05-21 Michael Albinus <michael.albinus@gmx.de>
8928 * net/tramp.el (tramp-do-copy-or-rename-file)
8929 (tramp-handle-file-local-copy, tramp-maybe-open-connection):
8930 Tune `with-progress-reporter' messages.
8931 (tramp-handle-vc-registered):
8932 * net/tramp-fish.el (tramp-fish-handle-file-local-copy)
8933 (tramp-fish-handle-insert-file-contents)
8934 (tramp-fish-maybe-open-connection):
8935 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
8936 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file)
8937 (tramp-imap-handle-insert-file-contents)
8938 (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
8940 2010-05-21 Juanma Barranquero <lekktu@gmail.com>
8942 * add-log.el (change-log-font-lock-keywords):
8943 Highlight all authors in multi-author entries.
8945 * smerge-mode.el (smerge-refine-ignore-whitespace)
8946 (smerge-refine-weight-hack, smerge-refine, smerge-makeup-conflict):
8947 Fix typos in docstrings.
8948 (smerge-resolve, smerge-refine-subst): Reflow docstrings.
8950 2010-05-21 Glenn Morris <rgm@gnu.org>
8952 * progmodes/fortran.el (fortran-mode):
8953 * progmodes/f90.el (f90-mode): Derive from prog-mode.
8955 * loadup.el [CANNOT_DUMP]: Update for bootstrap-emacs no longer
8956 having a relative path in src/Makefile.in.
8958 2010-05-20 Kevin Ryde <user42@zip.com.au>
8960 * help-mode.el (help-make-xrefs): For Info node links turn
8961 newlines into spaces. Link node names with newlines are matched
8962 by help-xref-info-regexp and buttonized, this change ensures they
8963 can be followed successfully with RET. (Bug#6206)
8965 2010-05-20 Juri Linkov <juri@jurta.org>
8967 * locate.el (locate): Use pop-to-buffer instead of
8968 switch-to-buffer-other-window. (Bug#6204)
8970 2010-05-20 Juri Linkov <juri@jurta.org>
8972 * replace.el (replace-highlight): Fix lazy-highlighting
8973 for `M-s w str M-% str RET'.
8975 2009-12-15 Masatake YAMATO <yamato@redhat.com>
8977 * isearch.el (isearch-yank-word-or-char): Pull next subword
8978 when `subword-mode' is activated. (Bug#6220)
8980 2010-05-20 Mark A. Hershberger <mah@everybody.org>
8982 * isearch.el (isearch-update-post-hook): New hook.
8983 (isearch-update): Use the new hook. (Bug#6225)
8985 2010-05-20 Juri Linkov <juri@jurta.org>
8987 * isearch.el (isearch-mode-map): Bind more keys to isearch-help-map:
8988 [f1], [help], and (char-to-string help-char) instead of "\C-h".
8991 2010-05-20 Juri Linkov <juri@jurta.org>
8993 * isearch.el (isearch-yank-string): Use isearch-process-search-string.
8996 2010-05-20 Juri Linkov <juri@jurta.org>
8998 * dired-x.el (dired-jump, dired-jump-other-window): Add arg
8999 FILE-NAME to read from the minibuffer when called interactively
9000 with prefix argument instead of using buffer-file-name.
9001 http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00534.html
9003 * dired.el: Update autoloads.
9005 2010-05-20 Chong Yidong <cyd@stupidchicken.com>
9007 * nxml/nxml-mode.el (nxml-mode-map): Bind C-c / to
9008 nxml-finish-element, for consistency with SGML mode.
9010 * progmodes/octave-mod.el (octave-mode-map): Bind C-c / to
9013 2010-05-20 Juanma Barranquero <lekktu@gmail.com>
9015 * composite.el: Require cl when compiling.
9016 (reference-point-alist, compose-gstring-for-graphic)
9017 (compose-gstring-for-terminal): Fix typos in docstrings.
9019 2010-05-19 Juri Linkov <juri@jurta.org>
9021 * emacs-lisp/cl-macs.el (window-parameter): Add defsetf with
9022 set-window-parameter.
9024 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
9026 * net/tramp.el (tramp-methods): Add `tramp-async-args' attribute
9028 (tramp-maybe-open-connection): Use it.
9030 2010-05-19 Eli Zaretskii <eliz@gnu.org>
9032 * simple.el (move-end-of-line): Make sure we are at line beginning
9033 before backing up to end of previous line.
9035 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
9037 * password-cache.el (password-cache-remove): Fix docstring.
9039 * net/secrets.el: Autoload the widget functions.
9040 (secrets-search-items, secrets-create-item)
9041 (secrets-get-attributes, secrets-expand-item): Attributes will be
9042 stored on the password database without leading ":", as all other
9044 (secrets-mode): Fix docstring.
9045 (secrets-show-secrets): Provide it as autoloaded command only when
9046 D-Bus support is available. Check existence of Secret Service API.
9048 2010-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
9050 * indent.el (indent-region): Deactivate region (bug#6200).
9052 2010-05-19 Glenn Morris <rgm@gnu.org>
9054 * vc-dir.el (vc-dir): Don't pop-up-windows. (Bug#6204)
9056 2010-05-19 Kenichi Handa <handa@m17n.org>
9058 * composite.el: Register compose-gstring-for-graphic in
9059 composition-function-table only for combining characters (Mn, Mc, Me).
9061 2010-05-18 Jay Belanger <jay.p.belanger@gmail.com>
9063 * calc/calc-trail.el (calc-trail-isearch-forward)
9064 (calc-trail-isearch-backward): Ensure that the new window
9065 point is set correctly.
9067 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
9069 * subr.el (read-quoted-char): Resolve modifiers after key
9070 remapping (bug#6212).
9072 2010-05-18 Michael Albinus <michael.albinus@gmx.de>
9074 Add visualization code for secrets.
9075 * net/secrets.el (secrets-mode): New major mode.
9076 (secrets-show-secrets, secrets-show-collections)
9077 (secrets-expand-collection, secrets-expand-item)
9078 (secrets-tree-widget-after-toggle-function)
9079 (secrets-tree-widget-show-password): New defuns.
9081 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
9083 * emacs-lisp/smie.el (smie-next-sexp): Break inf-loop at BOB.
9084 (smie-backward-sexp, smie-forward-sexp): Remove boundary condition now
9085 handled in smie-next-sexp.
9086 (smie-indent-calculate): Provide a starting indentation (so the
9087 recursion is well-founded ;-).
9089 Fix handling of non-associative equal levels.
9090 * emacs-lisp/smie.el (smie-prec2-levels): Choose distinct levels even
9091 when it's not needed.
9092 (smie-op-left, smie-op-right): New functions.
9093 (smie-next-sexp): New function, extracted from smie-backward-sexp.
9094 Better handle equal levels to distinguish the associative case from
9095 the "multi-keyword construct" case.
9096 (smie-backward-sexp, smie-forward-sexp): Use it.
9098 2010-05-18 Juanma Barranquero <lekktu@gmail.com>
9100 * progmodes/prolog.el (smie-indent-basic): Declare for byte-compiler.
9102 * emacs-lisp/smie.el (smie-precs-precedence-table, smie-backward-sexp)
9103 (smie-forward-sexp, smie-indent-calculate): Fix typos in docstrings.
9105 2010-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
9107 Provide a simple generic indentation engine and use it for Prolog.
9108 * emacs-lisp/smie.el: New file.
9109 * progmodes/prolog.el (prolog-smie-op-levels)
9110 (prolog-smie-indent-rules): New var.
9111 (prolog-mode-variables): Use them to configure SMIE.
9112 (prolog-indent-line, prolog-indent-level): Remove.
9114 2010-05-17 Jay Belanger <jay.p.belanger@gmail.com>
9116 * calc/calc-vec.el (math-vector-avg): Put the vector elements in
9117 order before computing the averages.
9119 2010-05-16 Jay Belanger <jay.p.belanger@gmail.com>
9121 * calc/calc-vec.el (calc-histogram):
9122 (calcFunc-histogram): Allow vectors as inputs.
9123 (math-vector-avg): New function.
9125 * calc/calc-ext.el (math-group-float): Have the number of digits
9126 being grouped depend on the radix (Bug#6189).
9128 2010-05-15 Ken Raeburn <raeburn@raeburn.org>
9130 * version.el (emacs-copyright, emacs-version): Don't define here,
9131 now that emacs.c defines it.
9133 2010-05-15 Eli Zaretskii <eliz@gnu.org>
9135 * international/mule-cmds.el (mule-menu-keymap): Fix definition of
9136 "Describe Language Environment" menu item.
9138 * language/hebrew.el ("Hebrew", "Windows-1255"): Doc fix.
9140 Bidi-sensitive movement with arrow keys.
9141 * subr.el (right-arrow-command, left-arrow-command): New functions.
9143 * bindings.el (global-map): Bind them to right and left arrow keys.
9145 Don't override standard definition of convert-standard-filename.
9146 * files.el (convert-standard-filename):
9147 Call w32-convert-standard-filename and dos-convert-standard-filename on
9148 the corresponding systems.
9150 * w32-fns.el (w32-convert-standard-filename): Rename from
9151 convert-standard-filename. Doc fix.
9153 * dos-fns.el (dos-convert-standard-filename): Doc fix.
9154 (convert-standard-filename): Don't defalias.
9155 (register-name-alist, make-register, register-value)
9156 (set-register-value, intdos): Obsolete aliases for the
9157 corresponding dos-* functions and variables.
9158 (dos-intdos): Add a doc string.
9160 2010-05-15 Jay Belanger <jay.p.belanger@gmail.com>
9162 * calc/calc-aent.el (math-read-token, math-find-user-tokens):
9163 * calc/calc-lang.el (math-read-big-rec, math-lang-read-symbol):
9164 (math-compose-tex-func):
9165 * calc/calccomp.el (math-compose-expr):
9166 * calc/calc-ext.el (math-format-flat-expr-fancy):
9167 * calc/calc-store.el (calc-read-var-name):
9168 * calc/calc-units.el (calc-explain-units-rec): Allow Greek letters.
9170 * calc/calc.el (var-π, var-φ, var-γ): New variables.
9171 * calc/calc-aent.el (math-read-replacement-list): Add "micro" symbol.
9172 * calc/calc-units.el (math-unit-prefixes): Add mu for micro.
9173 (math-standard-units): Add units.
9175 2010-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
9177 * progmodes/asm-mode.el (asm-mode):
9178 * progmodes/prolog.el (prolog-mode): Use define-derived-mode.
9180 * pcomplete.el (pcomplete-completions-at-point): New function,
9181 extracted from pcomplete-std-complete.
9182 (pcomplete-std-complete): Use it.
9184 2010-05-15 Glenn Morris <rgm@gnu.org>
9186 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
9187 Remove references to CVS, RCS and Old directories.
9189 2010-05-14 Jay Belanger <jay.p.belanger@gmail.com>
9191 * calc/calc-bin.el (math-format-twos-complement): Group digits when
9194 2010-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
9196 * progmodes/sh-script.el (sh-mode-default-syntax-table): Remove.
9197 (sh-mode-syntax-table): Give it a default value instead.
9198 (sh-header-marker): Make buffer-local.
9199 (sh-mode): Move make-local-variable to the corresponding setq.
9200 (sh-add-completer): Avoid gratuitously let-binding a buffer-local var.
9201 Use complete-with-action.
9203 * simple.el (prog-mode): New (abstract) major mode.
9204 * emacs-lisp/lisp-mode.el (emacs-lisp-mode, lisp-mode): Use it.
9205 * progmodes/sh-script.el (sh-mode): Remove redundant var assignment.
9207 2010-05-14 Juanma Barranquero <lekktu@gmail.com>
9209 * progmodes/sql.el (sql-oracle-program): Reflow docstring.
9210 (sql-oracle-scan-on, sql-sybase-program, sql-product-font-lock)
9211 (sql-add-product-keywords, sql-highlight-product, sql-set-product)
9212 (sql-make-alternate-buffer-name, sql-placeholders-filter)
9213 (sql-escape-newlines-filter, sql-input-sender)
9214 (sql-send-magic-terminator, sql-sybase): Fix typos in docstrings.
9216 2010-05-13 Chong Yidong <cyd@stupidchicken.com>
9218 Add TeX open-block and close-block keybindings to SGML, and vice versa.
9220 * textmodes/tex-mode.el (tex-mode-map): Bind C-c C-t to
9221 latex-open-block and C-c / to latex-close-block.
9223 * textmodes/sgml-mode.el (sgml-mode-map): Bind C-c C-o to sgml-tag
9224 and C-c C-e to sgml-close-tag.
9226 2010-05-13 Michael Albinus <michael.albinus@gmx.de>
9228 * net/tramp.el (with-progress-reporter): Create reporter object
9229 only when the message would be displayed. Handle nested calls.
9230 (tramp-handle-load, tramp-handle-file-local-copy)
9231 (tramp-handle-insert-file-contents, tramp-handle-write-region)
9232 (tramp-maybe-send-script, tramp-find-shell):
9233 Use `with-progress-reporter'.
9234 (tramp-handle-dired-compress-file, tramp-maybe-open-connection):
9237 * net/tramp-smb.el (tramp-smb-handle-copy-file)
9238 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
9239 (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
9240 Use `with-progress-reporter'.
9242 2010-05-13 Agustín Martín <agustin.martin@hispalinux.es>
9244 * textmodes/ispell.el (ispell-init-process): Do not kill ispell
9245 process everytime when spellchecking from the minibuffer (bug#6143).
9247 2010-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
9249 * progmodes/sh-script.el (sh-mode): Use define-derived-mode.
9251 * dos-fns.el: Add "dos-" prefix for namespace control.
9252 (convert-standard-filename): Define as alias for
9253 dos-convert-standard-filename but only if applicable.
9255 2010-05-12 Alan Mackenzie <acm@muc.de>
9257 * progmodes/cc-cmds.el (c-beginning-of-defun, c-end-of-defun):
9258 Push the mark at the start of these functions when appropriate.
9260 2010-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
9262 * minibuffer.el (completion-cycle-threshold): New custom var.
9263 (completion--do-completion): Use it.
9264 (minibuffer-complete): Use cycling if appropriate.
9266 2010-05-11 Juanma Barranquero <lekktu@gmail.com>
9268 * dirtrack.el (dirtrackp): Remove defcustom; don't make automatically
9269 buffer-local (it's an obsolete alias for `dirtrack-mode') (bug#6173).
9271 2010-05-11 Juri Linkov <juri@jurta.org>
9273 * scroll-all.el (scroll-all-check-to-scroll):
9274 Add `scroll-up-command' and `scroll-down-command' (bug#6164).
9276 2010-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
9278 * iimage.el (iimage-mode-map): Move initialization into declaration.
9279 (iimage-mode-buffer): Use with-silent-modifications.
9280 Simplify calling convention. Adjust callers.
9281 (iimage-mode): Don't run hook redundantly.
9283 * minibuffer.el (completion-pcm--pattern->regex):
9284 Fix last change (bug#6160).
9286 2010-05-10 Juri Linkov <juri@jurta.org>
9288 Remove nodes visited during Isearch from the Info history.
9289 * info.el (Info-isearch-initial-history)
9290 (Info-isearch-initial-history-list): New variables.
9291 (Info-isearch-start): Record initial values of
9292 Info-isearch-initial-history and Info-isearch-initial-history-list.
9293 Add Info-isearch-end to isearch-mode-end-hook.
9294 (Info-isearch-end): New function.
9296 2010-05-10 Michael Albinus <michael.albinus@gmx.de>
9298 * net/tramp.el (tramp-do-file-attributes-with-stat): Add space in
9299 format string, in order to work around a bug in pdksh.
9300 Reported by Gilles Pion <gpion@lfdj.com>.
9301 (tramp-handle-verify-visited-file-modtime): Do not send a command
9302 when the connection is not established.
9303 (tramp-handle-set-file-times): Simplify the check for utc.
9305 2010-05-10 Juanma Barranquero <lekktu@gmail.com>
9307 Fix use of `filter-buffer-substring' (rework previous change).
9308 * emulation/cua-base.el (cua--filter-buffer-noprops): New function.
9309 (cua-repeat-replace-region):
9310 * emulation/cua-rect.el (cua--extract-rectangle, cua-incr-rectangle):
9311 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
9312 (cua-cut-region-to-global-mark): Use it.
9314 2010-05-09 Michael R. Mauger <mmaug@yahoo.com>
9316 * progmodes/sql.el: Version 2.1.
9317 (sql-product-alist): Redesign structure of product info.
9318 (sql-product, sql-user, sql-server, sql-database): Safe variables.
9319 (sql-port, sql-port-history): New variables.
9320 (sql-interactive-product): New variable.
9321 (sql-send-terminator): New variable.
9322 (sql-imenu-generic-expression): Add "Types" imenu entry.
9323 (sql-oracle-login-params, sql-sqlite-login-params)
9324 (sql-mysql-login-params, sql-solid-login-params)
9325 (sql-sybase-login-params, sql-informix-login-params)
9326 (sql-ingres-login-params, sql-ms-login-params)
9327 (sql-postgres-login-params, sql-interbase-login-params)
9328 (sql-db2-login-params, sql-linter-login-params)
9329 (sql-oracle-scan-on): New variables.
9330 (sql-mode-map): Add C-c C-i to start interactive mode.
9331 (sql-mode-menu): Update existing menu entries.
9332 (sql-font-lock-keywords-builder): Compile-time font-lock optimization.
9333 (sql-mode-oracle-font-lock-keywords)
9334 (sql-mode-postgres-font-lock-keywords)
9335 (sql-mode-ms-font-lock-keywords)
9336 (sql-mode-sybase-font-lock-keywords)
9337 (sql-mode-informix-font-lock-keywords)
9338 (sql-mode-interbase-font-lock-keywords)
9339 (sql-mode-ingres-font-lock-keywords)
9340 (sql-mode-solid-font-lock-keywords)
9341 (sql-mode-mysql-font-lock-keywords)
9342 (sql-mode-sqlite-font-lock-keywords)
9343 (sql-mode-db2-font-lock-keywords)
9344 (sql-mode-linter-font-lock-keywords): Update initialization to
9345 reduce run-time complexity.
9346 (sql-add-product, sql-del-product): New functions.
9347 (sql-set-product-feature, sql-get-product-feature): New functions.
9348 (sql-product-font-lock): Update product API.
9349 (sql-add-product-keywords): New function.
9350 (sql-highlight-product): Update product API.
9351 (sql-help-list-products): New function.
9352 (sql-help): Dynamically lists free and non-free products.
9353 (sql-get-login): Correct bug in handling history and added
9355 (sql-copy-column): Copy without properties.
9356 (sqli-input-sender): Apply filters to SQLi input.
9357 (sql-query-placeholders-and-send): Obey `sql-oracle-scan-on' setting.
9358 Implement as a filter.
9359 (sql-escape-newlines-filter): Implement as a filter.
9360 (sql-remove-tabs-filter): New function.
9361 (sql-send-magic-terminator): New function.
9362 (sql-send-string): Implement magic terminator.
9363 (sql-send-region): Use `sql-send-string'.
9364 (sql-interactive-mode): Use product API.
9365 (sql-product-interactive): Use product API.
9366 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
9367 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
9368 (sql-db2, sql-linter): Use `sql-product-interactive'.
9369 (sql-connect): New function.
9370 (sql-connect-oracle, sql-connect-sybase, sql-connect-informix)
9371 (sql-connect-sqlite, sql-connect-mysql, sql-connect-solid)
9372 (sql-connect-ingres, sql-connect-ms, sql-connect-postgres)
9373 (sql-connect-interbase, sql-connect-db2, sql-connect-linter):
9376 2010-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
9378 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
9379 New custom variable.
9380 (completion-pcm--string->pattern): Use it.
9381 (completion-pcm--pattern->regex, completion-pcm--pattern->string):
9382 Make it handle any symbol as `any'.
9383 (completion-pcm--merge-completions): Extract common suffix for the new
9384 `prefix' symbol as well.
9385 (completion-substring--all-completions): Use the new `prefix' symbol.
9387 2010-05-09 Michael Albinus <michael.albinus@gmx.de>
9389 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Define if
9391 (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
9392 (tramp-compat-funcall): New defmacro.
9393 (tramp-compat-line-beginning-position)
9394 (tramp-compat-line-end-position)
9395 (tramp-compat-temporary-file-directory)
9396 (tramp-compat-make-temp-file, tramp-compat-file-attributes)
9397 (tramp-compat-copy-file, tramp-compat-copy-directory)
9398 (tramp-compat-delete-file, tramp-compat-delete-directory)
9399 (tramp-compat-number-sequence, tramp-compat-process-running-p)
9400 * net/tramp.el (top, with-progress-reporter)
9401 (tramp-rfn-eshadow-setup-minibuffer)
9402 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
9403 (tramp-handle-dired-compress-file, tramp-handle-shell-command)
9404 (tramp-completion-mode-p, tramp-check-for-regexp)
9405 (tramp-open-connection-setup-interactive-shell)
9406 (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
9407 (tramp-time-diff, tramp-coding-system-change-eol-conversion)
9408 (tramp-set-process-query-on-exit-flag, tramp-unload-tramp)
9409 * net/tramp-cmds.el (tramp-cleanup-all-connections)
9410 (tramp-reporter-dump-variable, tramp-load-report-modules)
9411 (tramp-append-tramp-buffers)
9412 * net/tramp-gvfs.el (tramp-gvfs-handle-file-selinux-context): Use it.
9414 * net/tramp-imap.el (top): Autoload `epg-make-context'.
9416 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9418 * progmodes/compile.el (compilation-buffer-modtime): Rename from
9419 buffer-modtime. Adjust users.
9421 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
9423 * international/mule.el (auto-coding-alist): Only purecopy
9424 car of each item, not the whole list (Bug#6083).
9426 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
9428 * progmodes/js.el (js-mode): Make paragraph variables local before
9429 calling c-setup-paragraph-variables (Bug#6071).
9431 2010-05-08 Eli Zaretskii <eliz@gnu.org>
9433 * composite.el (compose-region, reference-point-alist): Fix typos
9436 2010-05-08 Alexander Klimov <alserkli@inbox.ru> (tiny change)
9438 * calc/calc-graph.el (calc-graph-plot): Use the proper form for
9439 gnuplot's "set" command.
9441 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
9443 * abbrev.el (last-abbrev-text): Doc fix.
9444 (abbrev-prefix-mark): Don't escape parenthesis.
9446 2010-05-08 Andreas Schwab <schwab@linux-m68k.org>
9448 * composite.el (find-composition): Doc fix.
9450 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
9452 * progmodes/sql.el (sql-electric-stuff): Fix typo in tag.
9453 (sql-oracle-program, sql-sqlite-options)
9454 (sql-query-placeholders-and-send): Doc fixes.
9455 (sql-set-product, sql-interactive-mode): Reflow docstrings.
9456 (sql-imenu-generic-expression, sql-buffer)
9457 (sql-mode-ansi-font-lock-keywords, sql-mode-oracle-font-lock-keywords)
9458 (sql-mode-postgres-font-lock-keywords, sql-mode-ms-font-lock-keywords)
9459 (sql-mode-sybase-font-lock-keywords)
9460 (sql-mode-informix-font-lock-keywords)
9461 (sql-mode-interbase-font-lock-keywords)
9462 (sql-mode-ingres-font-lock-keywords, sql-mode-solid-font-lock-keywords)
9463 (sql-mode-mysql-font-lock-keywords, sql-mode-sqlite-font-lock-keywords)
9464 (sql-mode-db2-font-lock-keywords, sql-mode-font-lock-keywords)
9465 (sql-product-feature, sql-highlight-product)
9466 (comint-line-beginning-position, sql-rename-buffer)
9467 (sql-toggle-pop-to-buffer-after-send-region sql-oracle)
9468 (sql-sybase, sql-informix, sql-sqlite, sql-mysql, sql-solid)
9469 (sql-ingres, sql-ms, sql-postgres, sql-interbase, sql-db2, sql-linter):
9470 Fix typos in docstrings.
9472 2010-05-08 Juri Linkov <juri@jurta.org>
9474 * info.el (Info-fontify-node): Put Info-breadcrumbs to the `display'
9475 property instead of `invisible' and `after-string' (bug#5998).
9477 2010-05-08 Juri Linkov <juri@jurta.org>
9479 * image-mode.el (image-mode-as-text): Fix typo in docstring.
9481 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
9483 * filecache.el (file-cache-add-directory-list)
9484 (file-cache-add-directory-recursively): Fix typos in docstrings.
9486 2010-05-08 Kenichi Handa <handa@m17n.org>
9488 * language/indian.el (gurmukhi-composable-pattern): Fix typo.
9489 (gujarati-composable-pattern): Fix typo.
9491 2010-05-08 Kenichi Handa <handa@m17n.org>
9493 * language/indian.el (oriya-composable-pattern)
9494 (tamil-composable-pattern, malayalam-composable-pattern):
9495 Add two-part vowels to "v" (vowel sign).
9497 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
9499 * files.el (copy-directory): Handle symlinks (Bug#5982).
9501 2010-05-08 Dan Nicolaescu <dann@ics.uci.edu>
9503 * vc-hg.el (vc-hg-state): Use HGRCPATH, not HGRC.
9504 (vc-hg-working-revision): Likewise. Use hg parents, not hg parent
9507 2010-05-08 Glenn Morris <rgm@gnu.org>
9509 * emacs-lisp/lisp.el (lisp-completion-at-point): Give it a doc string.
9511 * minibuffer.el (completion-at-point): Doc fix.
9513 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9515 * electric.el (Electric-command-loop): Minor tweak.
9517 * ebuff-menu.el (electric-buffer-list): Try and make it behave a bit
9518 better with dedicated windows.
9520 2010-05-07 Chong Yidong <cyd@stupidchicken.com>
9522 * Version 23.2 released.
9524 2010-05-07 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
9525 Stefan Monnier <monnier@iro.umontreal.ca>
9527 Highlight vendor specific properties.
9528 * textmodes/css-mode.el (css-proprietary-nmstart-re): New var.
9529 (css-proprietary-property): New face.
9530 (css-font-lock-keywords): Use them.
9532 2010-05-07 Eli Zaretskii <eliz@gnu.org>
9534 * cus-start.el (all): Add native condition for tool-bar-* symbols.
9536 2010-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
9538 * textmodes/dns-mode.el (auto-mode-alist): Add entry for .zone files.
9539 * files.el (auto-mode-alist): Remove redundant entries.
9541 * files.el (auto-save-mode): Move to simple.el to fix bootstrap.
9542 * simple.el (auto-save-mode): Move from files.el.
9543 * minibuffer.el (completion--common-suffix): Fix copy&paste error.
9545 2010-05-07 Christian von Roques <roques@mti.ag> (tiny change)
9547 * epg.el (epg-key-capablity-alist): Add "D" flag (Bug#5592).
9549 2010-05-07 Katsumi Yamaoka <yamaoka@jpl.org>
9551 * mail/binhex.el (binhex-decode-region-internal)
9552 * mail/uudecode.el (uudecode-decode-region-internal)
9553 * net/dns.el (dns-read-string-name, dns-write, dns-read)
9554 (dns-read-type, dns-query)
9555 * pgg-parse.el (pgg-parse-armor)
9556 * pgg.el (pgg-verify-region)
9557 * sha1.el (sha1-string-external): Don't run set-buffer-multibyte for
9560 * net/imap.el (imap-disable-multibyte): Redefine it as a macro.
9562 2010-05-07 Juanma Barranquero <lekktu@gmail.com>
9564 * progmodes/cperl-mode.el (cperl-mode-unload-function): New function.
9566 Fix use of `filter-buffer-substring' (4th arg NOPROPS removed).
9567 * emulation/cua-base.el (cua-repeat-replace-region):
9568 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
9569 (cua-cut-region-to-global-mark):
9570 Remove text properties with `set-text-properties'.
9572 2010-05-06 Michael Albinus <michael.albinus@gmx.de>
9574 * net/tramp.el (top, with-progress-reporter):
9575 Use `symbol-function' inside `funcall'.
9577 * net/tramp-compat.el (tramp-compat-file-attributes)
9578 (tramp-compat-delete-file, tramp-compat-delete-directory):
9579 Handle only `wrong-number-of-arguments' error.
9581 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Fix typo.
9582 (tramp-gvfs-handle-file-selinux-context): Use `symbol-function'
9585 2010-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9587 * minibuffer.el (completion--sreverse, completion--common-suffix):
9589 (completion-pcm--merge-completions): Extract common suffix when safe.
9591 * emacs-lisp/easy-mmode.el (define-minor-mode):
9592 Make :variable more flexible.
9593 * files.el (auto-save-mode): Use it to define using define-minor-mode.
9595 2010-05-05 Juri Linkov <juri@jurta.org>
9597 Add `slow' and `history' tags to the desktop data.
9599 * info.el (Info-virtual-nodes) [*Index*]: Add `slow' tag.
9600 (Info-virtual-files) [*Apropos*]: Add `slow' tag.
9601 (Info-finder-find-node): Require `finder.el' to be able
9602 to restore node from the desktop.
9603 (Info-desktop-buffer-misc-data): Save all nodes. Save additional
9604 data `Info-history' and `slow' tag in the assoc list.
9605 (Info-restore-desktop-buffer): Don't restore nodes with the
9606 `slow' tag. Restore `Info-history'.
9608 2010-05-05 Michael Albinus <michael.albinus@gmx.de>
9610 Add FORCE argument to `delete-file'.
9612 * net/ange-ftp.el (ange-ftp-del-tmp-name): Make it a defun,
9613 forcing to delete the temporary file.
9614 (ange-ftp-delete-file): Add FORCE arg.
9615 (ange-ftp-rename-remote-to-remote)
9616 (ange-ftp-rename-local-to-remote, ange-ftp-rename-remote-to-local)
9617 (ange-ftp-load, ange-ftp-compress, ange-ftp-uncompress):
9618 Force file deletion.
9620 * net/tramp-compat.el (tramp-compat-delete-file): New defun.
9622 * net/tramp.el (tramp-handle-delete-file): Add FORCE arg.
9623 (tramp-handle-make-symbolic-link, tramp-handle-load)
9624 (tramp-do-copy-or-rename-file-via-buffer)
9625 (tramp-do-copy-or-rename-file-directly)
9626 (tramp-do-copy-or-rename-file-out-of-band)
9627 (tramp-handle-process-file, tramp-handle-call-process-region)
9628 (tramp-handle-shell-command, tramp-handle-file-local-copy)
9629 (tramp-handle-insert-file-contents, tramp-handle-write-region)
9630 (tramp-delete-temp-file-function): Use `tramp-compat-delete-file'.
9632 * net/tramp-fish.el (tramp-fish-handle-delete-file): Add FORCE arg.
9633 (tramp-fish-handle-make-symbolic-link)
9634 (tramp-fish-handle-process-file): Use `tramp-compat-delete-file'.
9636 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
9637 Use `tramp-compat-delete-file'.
9639 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Add FORCE arg.
9640 (tramp-gvfs-handle-write-region): Use `tramp-compat-delete-file'.
9642 * net/tramp-imap.el (tramp-imap-handle-delete-file): Add FORCE arg.
9643 (tramp-imap-do-copy-or-rename-file): Use `tramp-compat-delete-file'.
9645 * net/tramp-smb.el (tramp-smb-handle-delete-file): Add FORCE arg.
9646 (tramp-smb-handle-copy-file, tramp-smb-handle-file-local-copy)
9647 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
9648 Use `tramp-compat-delete-file'.
9650 2010-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
9653 * subr.el (add-minor-mode): Use push.
9654 * mail/supercite.el (sc-electric-mode): Use more descriptive arg name.
9655 * emulation/edt.el (edt-select-mode): Simplify.
9657 Use define-minor-mode in more cases.
9658 * term/tvi970.el (tvi970-set-keypad-mode):
9659 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
9660 (normal-erase-is-backspace-mode):
9661 * scroll-bar.el (scroll-bar-mode): Use it and define-minor-mode.
9662 (set-scroll-bar-mode-1): (Re)move to its sole caller.
9663 (get-scroll-bar-mode): New function.
9664 * emacs-lisp/cl-macs.el (eq): Handle a non-variable first arg.
9666 Use define-minor-mode for less obvious cases.
9667 * emacs-lisp/easy-mmode.el (define-minor-mode): Add :variable keyword.
9668 * emacs-lisp/cl-macs.el (terminal-parameter, eq): Add setf method.
9669 * international/iso-ascii.el (iso-ascii-mode):
9670 * frame.el (auto-raise-mode, auto-lower-mode):
9671 * composite.el (global-auto-composition-mode): Use define-minor-mode.
9673 2010-05-04 Michael Albinus <michael.albinus@gmx.de>
9675 * net/tramp.el (tramp-methods): Remove "-q" from `tramp-login-args'
9676 in order to see error messages for failed logins.
9678 2010-05-03 Chong Yidong <cyd@stupidchicken.com>
9680 * diff.el (diff-sentinel):
9682 * epg.el (epg--make-temp-file, epg-decrypt-string)
9683 (epg-verify-string, epg-sign-string, epg-encrypt-string):
9685 * jka-compr.el (jka-compr-partial-uncompress)
9686 (jka-compr-call-process, jka-compr-write-region, jka-compr-load):
9688 * server.el (server-sentinel): Use delete-file's new FORCE arg
9691 2010-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
9693 Use define-minor-mode where applicable.
9694 * view.el (view-mode):
9695 * type-break.el (type-break-query-mode)
9696 (type-break-mode-line-message-mode):
9697 * textmodes/reftex.el (reftex-mode):
9698 * term/vt100.el (vt100-wide-mode):
9699 * tar-mode.el (tar-subfile-mode):
9700 * savehist.el (savehist-mode):
9701 * ibuf-ext.el (ibuffer-auto-mode):
9702 * composite.el (auto-composition-mode):
9703 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
9704 Use define-minor-mode.
9705 (vhdl-mode): Use static mode-line format.
9706 (vhdl-mode-line-update): Delete.
9707 (vhdl-create-mode-menu, vhdl-activate-customizations)
9708 (vhdl-hs-minor-mode): Don't bother calling it.
9710 2010-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
9712 * simple.el (with-wrapper-hook): Move.
9713 (buffer-substring-filters): Mark obsolete.
9714 (filter-buffer-substring-functions): New variable.
9715 (filter-buffer-substring): Use it. Remove unused arg `noprops'.
9717 2010-05-01 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
9718 Michael Albinus <michael.albinus@gmx.de>
9720 Implement compression for inline methods.
9722 * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
9723 (tramp-copy-size-limit): Allow also nil.
9724 (tramp-inline-compress-commands): New defconst.
9725 (tramp-find-inline-compress, tramp-get-inline-compress)
9726 (tramp-get-inline-coding): New defuns.
9727 (tramp-get-remote-coding, tramp-get-local-coding): Remove,
9728 replaced by `tramp-get-inline-coding'.
9729 (tramp-handle-file-local-copy, tramp-handle-write-region)
9730 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
9732 2010-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
9734 * bindings.el (mode-line-abbrev-mode, mode-line-auto-fill-mode):
9735 Remove unused functions.
9737 * emacs-lisp/lisp-mode.el (lisp-mode): Use define-derived-mode.
9738 Set find-tag-default-function as a variable rather than a property.
9740 * minibuffer.el (tags-completion-at-point-function): Move to etags.el.
9741 * progmodes/etags.el (tags-completion-at-point-function):
9742 Remove left over interactive spec. Add autoloading stub.
9743 (complete-tag): Use tags-completion-at-point-function.
9745 2010-04-30 Chong Yidong <cyd@stupidchicken.com>
9747 * minibuffer.el (tags-completion-at-point-function): Fix return value.
9749 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
9751 * ido.el (ido-init-completion-maps): Remove C-v binding.
9752 (ido-minibuffer-setup): Don't set cua-inhibit-cua-keys (Bug#5765).
9754 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
9756 * minibuffer.el (tags-completion-at-point-function): New function.
9757 (completion-at-point-functions): Use it.
9759 * progmodes/etags.el (complete-tag): Revert last change.
9761 2010-04-29 Alan Mackenzie <acm@muc.de>
9763 * progmodes/cc-mode.el (c-extend-region-for-CPP): Fix an
9764 off-by-one error (in end of macro position).
9766 2010-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
9768 * net/browse-url.el (browse-url-firefox-program): Use iceweasel if
9769 firefox is absent. Don't autoload.
9770 (browse-url-galeon-program): Don't autoload.
9772 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
9774 * bindings.el (complete-symbol): Move into minibuffer.el.
9776 * minibuffer.el (complete-tag): Move from etags.el. If tags
9777 completion cannot be performed, return nil instead of signalling
9779 (completion-at-point): Make it an alias for complete-symbol.
9780 (complete-symbol): Move from bindings.el, and replace with the
9781 body of completion-at-point.
9783 * progmodes/etags.el (complete-tag): Move to minibuffer.el.
9785 2010-04-28 Michael Albinus <michael.albinus@gmx.de>
9787 * net/tramp.el (tramp-remote-selinux-p): New defun.
9788 (tramp-handle-file-selinux-context)
9789 (tramp-handle-set-file-selinux-context): Use it.
9791 2010-04-28 Sam Steingold <sds@gnu.org>
9793 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
9794 `safe-local-variable' if the value is a string or a symbol with
9795 the property `bug-reference-url-format'.
9797 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
9799 * progmodes/bug-reference.el (bug-reference-url-format):
9800 Revert 2010-04-27 change due to security risk.
9802 2010-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
9804 Make it possible to locally disable a globally enabled mode.
9805 * simple.el (fundamental-mode): Run fundamental-mode-hook.
9806 * emacs-lisp/derived.el (define-derived-mode): Use fundamental-mode
9807 rather than kill-all-local-variables so it runs fundamental-mode-hook.
9808 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9809 Use fundamental-mode-hook to run MODE-enable-in-buffers earlier, so
9810 that subsequent hooks get a chance to disable it.
9812 2010-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
9814 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9815 Avoid re-enabling a minor mode after the user turned the minor mode
9816 off if MODE-enable-in-buffers is run twice (typically once from
9817 fundamental-mode's after-change-major-mode-hook and a second time from
9818 run-mode-hook's own after-change-major-mode-hook).
9820 * emacs-lisp/lisp.el (lisp-complete-symbol): Fail gracefully.
9822 2010-04-27 Sam Steingold <sds@gnu.org>
9824 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
9825 `safe-local-variable' if the value is a string or a function, as
9826 documented and implemented on 2010-04-02.
9828 2010-04-27 Juanma Barranquero <lekktu@gmail.com>
9830 * ido.el (ido-buffer-internal): Bind `ido-use-virtual-buffers' to nil
9831 when method is 'kill.
9833 2010-04-27 Agustín Martín <agustin.martin@hispalinux.es>
9835 * textmodes/ispell.el (ispell-init-process): Fix personal dictionary
9836 condition in default directory check.
9837 (ispell-init-process,ispell-kill-ispell,kill-buffer-hook):
9838 Kill ispell process when killing its associated buffer.
9840 2010-04-27 Jan Djärv <jan.h.d@swipnet.se>
9842 * desktop.el (desktop-kill): ask-if-new: Ask if desktop file exists,
9843 but we aren't using it.
9845 2010-04-25 Jan Djärv <jan.h.d@swipnet.se>
9847 * tool-bar.el (tool-bar-local-item-from-menu): Revert unintended
9848 checkin in 2010-04-23T16:26:11Z!monnier@iro.umontreal.ca.
9850 2010-04-24 Glenn Morris <rgm@gnu.org>
9852 * emacs-lisp/authors.el (authors-obsolete-files-regexps):
9853 Ignore VCS-ignore files, and deleted nextstep preferences files.
9854 (authors-ignored-files): Ignore deleted cedet test files, and "*.el".
9855 (authors-ambiguous-files): New list.
9856 (authors-valid-file-names): Add some deleted files.
9857 (authors-renamed-files-alist): Add font-setting.el, edt-user.doc.
9858 (authors-disambiguate-file-name): New function. (Bug#5501)
9859 (authors-canonical-file-name): Doc fix.
9860 Don't warn about obsolete files.
9861 (authors-canonical-file-name, authors-scan-el):
9862 Use authors-disambiguate-file-name.
9864 * hfy-cmap.el (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
9865 Add autoload cookies.
9866 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values): Add docs.
9867 (generated-autoload-file): Set file-local value to "htmlfontify.el".
9868 * htmlfontify.el (caddr, cadddr): Remove fallback definitions.
9869 They have definitions / compiler macros in cl.el.
9870 (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
9871 Replace manual autoloads with generated ones.
9872 (htmlfontify-unload-rgb-file): Remove autoload.
9873 * Makefile.in (autoloads): Ensure htmlfontify.el is writable.
9875 2010-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
9877 * emacs-lisp/bytecomp.el (byte-compile-set-default): New function.
9878 (byte-compile-setq-default): Optimize for the
9879 single-var case and don't call byte-compile-form in this case to avoid
9880 inf-loop with byte-compile-set-default.
9882 * progmodes/compile.el (compilation-start): Abbreviate default directory.
9884 2010-04-23 Michael Albinus <michael.albinus@gmx.de>
9886 Implement SELINUX backends.
9888 * net/tramp.el (tramp-file-name-handler-alist):
9889 Add `file-selinux-context' and `set-file-selinux-context'.
9890 (tramp-handle-file-selinux-context)
9891 (tramp-handle-set-file-selinux-context): New defuns.
9892 (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
9893 Handle PRESERVE-SELINUX-CONTEXT.
9895 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
9896 Add `file-selinux-context' and `set-file-selinux-context'.
9897 (tramp-gvfs-handle-file-selinux-context)
9898 (tramp-gvfs-handle-set-file-selinux-context): New defuns.
9899 (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
9901 * net/ange-ftp.el (ange-ftp-copy-file):
9902 * net/tramp-fish.el (tramp-fish-handle-copy-file):
9903 * net/tramp-imap.el (tramp-imap-handle-copy-file):
9904 * net/tramp-smb.el (tramp-smb-handle-copy-file):
9905 Add PRESERVE-SELINUX-CONTEXT.
9907 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
9909 Synchronize with Tramp repository.
9911 * net/tramp.el (with-connection-property, tramp-completion-mode-p)
9912 (tramp-action-process-alive, tramp-action-out-of-band)
9913 (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
9914 (tramp-exists-file-name-handler): Fix docstring.
9915 (with-progress-reporter): New defmacro.
9916 (tramp-do-copy-or-rename-file, tramp-handle-dired-compress-file)
9917 (tramp-maybe-open-connection): Use it.
9919 2010-04-22 Noah Lavine <noah549@gmail.com> (tiny change)
9921 Detect ssh 'ControlMaster' argument automatically in some cases.
9923 * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
9924 (tramp-default-method): Use it.
9926 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
9928 * net/tramp.el (tramp-handle-copy-file): Add new optional
9929 parameter `preserve-selinux-context'.
9930 (tramp-file-name-for-operation): Add `set-file-selinux-context'.
9932 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
9934 * net/tramp.el (tramp-completion-handle-file-name-all-completions):
9935 Ensure, that non remote files are still checked. Oops.
9937 2010-04-21 Michael Albinus <michael.albinus@gmx.de>
9941 * icomplete.el (icomplete-completions): Use `non-essential'.
9943 * net/tramp.el (tramp-connectable-p): New defun.
9944 (tramp-handle-expand-file-name)
9945 (tramp-completion-handle-file-name-all-completions)
9946 (tramp-completion-handle-file-name-completion): Use it.
9948 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
9950 * emacs-lisp/lisp.el (lisp-completion-at-point): Try and handle errors.
9952 2010-04-21 Jan Djärv <jan.h.d@swipnet.se>
9954 * vc-dir.el (vc-dir-tool-bar-map): Add :label on some tool bar items.
9956 * tool-bar.el (tool-bar-setup): Add :label on some tool bar items.
9958 * loadup.el: Load dynamic-setting.el if feature dynamic-setting
9961 * info.el (info-tool-bar-map): Add labels.
9963 * cus-start.el (all): Add tool-bar-style and tool-bar-max-label-size.
9965 * cus-edit.el (custom-commands): Add labels for tool bar.
9966 (custom-buffer-create-internal, Custom-mode): Adjust for
9967 labels in custom-commands.
9969 * dynamic-setting.el: Renamed from font-setting.el.
9971 2010-04-21 John Wiegley <jwiegley@gmail.com>
9973 * ido.el (ido-init-completion-maps): For ido-switch-buffer, C-o
9974 toggles the use of virtual buffers.
9975 (ido-buffer-internal): Guard `ido-use-virtual-buffers' global value.
9976 (ido-toggle-virtual-buffers): New function.
9978 2010-04-21 Juanma Barranquero <lekktu@gmail.com>
9980 Use `define-derived-mode'; fix window selection; doc fixes.
9981 * play/tetris.el (tetris, tetris-update-speed-function)
9982 (tetris-tty-colors, tetris-x-colors, tetris-move-bottom)
9983 (tetris-move-left, tetris-move-right, tetris-rotate-prev)
9984 (tetris-rotate-next, tetris-end-game, tetris-start-game)
9985 (tetris-pause-game): Fix typos in docstrings.
9986 (tetris-mode-map, tetris-null-map):
9987 Move initialization into declaration.
9988 (tetris-mode): Define with `define-derived-mode';
9989 set show-trailing-whitespace to nil.
9990 (tetris): Prefer window already displaying the "*Tetris*" buffer.
9992 2010-04-21 Karel Klíč <kklic@redhat.com>
9994 * files.el (backup-buffer): Handle SELinux context, and return it
9995 if a backup was made by renaming.
9996 (backup-buffer-copy): Set SELinux context to the target file.
9997 (basic-save-buffer): Set SELinux context of the newly written file.
9998 (basic-save-buffer-1): Now it also returns any SELinux context.
9999 (basic-save-buffer-2): Set SELinux context of the newly created file,
10001 * net/tramp.el (tramp-file-name-for-operation):
10002 Add file-selinux-context.
10004 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
10006 Make the log-edit comments use RFC822 format throughout.
10008 * vc.el (vc-checkin, vc-modify-change-comment):
10009 Adjust to new vc-start/finish-logentry.
10010 (vc-find-conflicted-file): New command.
10011 (vc-transfer-file): Adjust to new vc-checkin.
10012 (vc-next-action): Improve scoping.
10014 * vc-hg.el (vc-hg-log-edit-mode): Remove.
10015 (vc-hg-checkin): Remove extra arg. Use log-edit-extract-headers.
10017 * vc-git.el (vc-git-log-edit-mode): Remove.
10018 (vc-git-checkin): Remove extra arg. Use log-edit-extract-headers.
10019 (vc-git-commits-coding-system): Rename from git-commits-coding-system.
10021 * vc-dispatcher.el (vc-log-edit): Shorten names for log-edit-show-files.
10022 (vc-start-logentry): Remove argument `extra'.
10023 (vc-finish-logentry): Remove extra args.
10025 * vc-bzr.el (vc-bzr-log-edit-mode): Remove.
10026 (vc-bzr-checkin): Remove extra arg. Use log-edit-extract-headers.
10027 (vc-bzr-conflicted-files): New function.
10029 * log-edit.el (log-edit-extra-flags)
10030 (log-edit-before-checkin-process): Remove.
10031 (log-edit-summary, log-edit-header, log-edit-unknown-header): New faces.
10032 (log-edit-headers-alist): New var.
10033 (log-edit-header-contents-regexp): New const.
10034 (log-edit-match-to-eoh): New function.
10035 (log-edit-font-lock-keywords): Use them.
10036 (log-edit): Insert a "Summary:" header as default.
10037 (log-edit-mode): Mark font-lock rules as case-insensitive.
10038 (log-edit-done): Cleanup headers.
10039 (log-view-process-buffer): Remove.
10040 (log-edit-extract-headers): New function to replace it.
10042 2010-04-20 Juanma Barranquero <lekktu@gmail.com>
10044 * subr.el (default-direction-reversed): Remove obsolescence info.
10046 2010-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
10048 * vc-dispatcher.el (vc-finish-logentry): Don't mess so badly with the
10051 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete around point.
10052 I.e. include text after point in the completion region.
10053 Also, return nil when we're not after/in a symbol.
10055 * international/mule-cmds.el (view-hello-file): Don't fiddle with the
10056 default enable-multibyte-characters.
10058 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
10060 * international/mule.el: Help the user choose a valid coding-system.
10061 (read-buffer-file-coding-system): New function.
10062 (set-buffer-file-coding-system): Use it. Prompt the user if the
10063 coding-system cannot encode all the chars.
10065 * vc-bzr.el: Use standard *vc* and *vc-diff* buffers.
10066 (vc-bzr-shelve-show, vc-bzr-shelve-apply)
10067 (vc-bzr-shelve-apply-and-keep, vc-bzr-shelve-snapshot):
10068 Don't use *vc-bzr-shelve*.
10070 2010-04-19 Dan Nicolaescu <dann@ics.uci.edu>
10072 Fix the version number for added files.
10073 * vc-hg.el (vc-hg-working-revision): Check if the file is
10074 registered after hg parent fails (Bug#5961).
10076 2010-04-19 Glenn Morris <rgm@gnu.org>
10078 * htmlfontify.el (htmlfontify-buffer)
10079 (htmlfontify-copy-and-link-dir): Autoload entry points.
10081 2010-04-19 Magnus Henoch <magnus.henoch@gmail.com>
10083 * vc-hg.el (vc-hg-annotate-extract-revision-at-line): Expand file
10084 name relative to the project root (Bug#5960).
10086 2010-04-19 Glenn Morris <rgm@gnu.org>
10088 * vc-git.el (vc-git-print-log): Doc fix.
10090 2010-04-19 Óscar Fuentes <ofv@wanadoo.es>
10092 * ido.el (ido-file-internal): Fix 2009-12-02 change.
10094 2010-04-19 Christoph <cschol2112@googlemail.com> (tiny change)
10096 * progmodes/grep.el (grep-compute-defaults): Fix handling of host
10097 default settings (Bug#5928).
10099 2010-04-19 Glenn Morris <rgm@gnu.org>
10101 * progmodes/fortran.el (fortran-match-and-skip-declaration):
10103 (fortran-font-lock-keywords-3): Use it. (Bug#1385)
10105 2010-04-19 Kenichi Handa <handa@m17n.org>
10107 * language/indian.el (malayalam-composable-pattern): Fix previous
10108 change (add U+0D4D "SIGN VIRAMA").
10109 (oriya-composable-pattern): Add U+0B30 and fix typo in the regexp.
10110 (tamil-composable-pattern): Fix typo in the regexp.
10111 (telugu-composable-pattern): Fix U+0C4D and typo in the regexp.
10112 (kannada-composable-pattern): Fix U+0CB0 and typo in the regexp.
10113 (malayalam-composable-pattern): Fix U+0D4D and typo in the regexp.
10115 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
10117 * textmodes/tex-mode.el (latex-mode): Revert 2008-03-03 change to
10118 paragraph-separate (Bug#5821).
10120 2010-04-19 Juri Linkov <juri@jurta.org>
10122 Put breadcrumbs on overlay instead of inserting to buffer (bug#5809).
10124 * info.el (Info-find-node-2): Comment out code that skips
10126 (Info-mouse-follow-link): New command.
10127 (Info-link-keymap): New keymap.
10128 (Info-breadcrumbs): Rename from `Info-insert-breadcrumbs'.
10129 Return a string with links instead of inserting breadcrumbs
10130 to the Info buffer.
10131 (Info-fontify-node): Comment out code that inserts breadcrumbs.
10132 Instead of putting the `invisible' text property over the Info
10133 header, make an overlay over the Info header with the `invisible'
10134 property and `after-string' set to the string returned by
10135 `Info-breadcrumbs'.
10137 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
10139 * help.el (help-window-setup-finish): Doc fix (Bug#5830).
10140 Reported by monkey@sandpframing.com.
10142 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
10144 * tmm.el (tmm-prompt): Remove obsolete call to x-popup-menu.
10145 (tmm-get-keymap): Add key-binding shortcuts now that they're not
10146 available in the "keyseq cache" any more.
10148 * custom.el (defcustom): Add edebug spec.
10150 2010-04-18 Juri Linkov <juri@jurta.org>
10152 Test for special mode-class in view-buffer instead of view-file (bug#5513).
10154 * view.el (view-file, view-buffer): Move test for special mode-class
10155 from view-file to view-buffer.
10157 * tar-mode.el (tar-extract): Turn if's into one cond
10158 like in arc-mode.el.
10160 2010-04-18 Juri Linkov <juri@jurta.org>
10162 Add 7z archive format support (bug#5475).
10164 * arc-mode.el (archive-zip-extract): Try to find 7z executable.
10165 (archive-7z-extract): New defcustom.
10166 (archive-find-type): Add magic string for 7z.
10167 (archive-extract-by-stdout): Add new optional arg `stderr-file'.
10168 If `stderr-file' is non-nil, use `(t stderr-file)' for the
10169 `buffer' arg of `call-process'.
10170 (archive-zip-extract): Check `archive-zip-extract' for "7z" and
10171 call the function `archive-7z-extract' with the variable
10172 `archive-7z-extract' let-bound to `archive-zip-extract'.
10173 (archive-7z-summarize, archive-7z-extract): New functions.
10175 * international/mule.el (auto-coding-alist):
10176 * files.el (auto-mode-alist): Add 7z file extension.
10178 2010-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
10180 * loadup.el: Setup hash-cons for pure data.
10182 Fix duplicate entries in cedet's loaddefs.el files.
10183 * emacs-lisp/autoload.el (autoload-file-load-name): Be more clever.
10184 Should make most file-local generated-autoload-file unnecessary.
10185 (print-readably): Silence warnings.
10186 (autoload-find-destination): Take load-name as an arg to make sure
10187 it's the same as the one that will be in the file.
10188 (autoload-generate-file-autoloads): Adjust to above changes.
10189 Try to make the dataflow a bit simpler.
10191 * cvs-status.el (cvs-refontify): Remove unused.
10193 2010-04-18 Jay Belanger <jay.p.belanger@gmail.com>
10195 * calc/calc.el (calc-mode-map): Bind "O" to `calc-missing-key'.
10197 * calc/calc-bin.el (calc-radix): Have the "O" option turn on
10198 twos-complement mode.
10200 2010-04-17 Jay Belanger <jay.p.belanger@gmail.com>
10202 * calc/calc-ext.el (calc-init-extensions): Add keybinding for
10203 'calc-option'. Add `calc-option-prefix-help' to calc-help autoloads.
10204 (calc-inverse): Add "Option" to message, as appropriate.
10205 (calc-hyperbolic): Add "Option" to message, as appropriate.
10206 (calc-option, calc-is-option): New functions.
10208 * calc/calc-help.el (calc-full-help): Add `calc-option-help'.
10209 (calc-option-prefix-help): New function.
10211 * calc/calc-misc.el (calc-help): Add "Option" entry.
10213 * calc/calc.el (calc-local-var-list): Add `calc-option-flag'.
10214 (calc-option-flag): New variable.
10215 (calc-do): Set `calc-option-flag to nil.
10216 (calc-set-mode-line): Add "Opt " as appropriate.
10218 2010-04-16 Juri Linkov <juri@jurta.org>
10220 Move scrolling commands from simple.el to window.el
10221 because their primitives are implemented in window.c.
10223 * simple.el (scroll-error-top-bottom)
10224 (scroll-up-command, scroll-down-command, scroll-up-line)
10225 (scroll-down-line, scroll-other-window-down)
10226 (beginning-of-buffer-other-window, end-of-buffer-other-window):
10227 * window.el (scroll-error-top-bottom)
10228 (scroll-up-command, scroll-down-command, scroll-up-line)
10229 (scroll-down-line, scroll-other-window-down)
10230 (beginning-of-buffer-other-window, end-of-buffer-other-window):
10231 Move from simple.el to window.el because their primitives are
10232 implemented in window.c.
10234 2010-04-16 Juri Linkov <juri@jurta.org>
10236 * isearch.el (isearch-lookup-scroll-key): Check both
10237 `isearch-scroll' and `scroll-command' properties.
10238 (scroll-up, scroll-down): Remove `isearch-scroll' property.
10240 * mwheel.el (mwheel-scroll): Remove `isearch-scroll' property.
10242 * simple.el (scroll-up-command, scroll-down-command)
10243 (scroll-up-line, scroll-down-line): Remove `isearch-scroll' property.
10245 2010-04-15 Juri Linkov <juri@jurta.org>
10247 * simple.el (scroll-up-command, scroll-down-command)
10248 (scroll-up-line, scroll-down-line): Put `scroll-command'
10249 property on the these symbols. Remove them from
10250 `scroll-preserve-screen-position-commands'.
10252 * mwheel.el (mwheel-scroll): Put `scroll-command' and
10253 `isearch-scroll' properties on the `mwheel-scroll' symbol.
10254 Remove it from `scroll-preserve-screen-position-commands'.
10256 * isearch.el (isearch-allow-scroll): Doc fix.
10258 2010-04-15 Michael Albinus <michael.albinus@gmx.de>
10260 * net/tramp.el (tramp-error-with-buffer): Don't show the
10261 connection buffer when we are in completion mode.
10262 (tramp-file-name-handler): Catch the error for some operations
10263 when we are in completion mode. This gives the user the chance to
10264 correct the file name in the minibuffer.
10266 2010-04-15 Glenn Morris <rgm@gnu.org>
10268 * progmodes/verilog-mode.el (verilog-forward-sexp): Avoid free variable.
10270 2010-04-15 Juanma Barranquero <lekktu@gmail.com>
10272 Simplify by using `define-derived-mode'.
10273 * info.el (Info-mode):
10274 * calendar/todo-mode.el (todo-mode):
10275 * play/gomoku.el (gomoku-mode): Define with `define-derived-mode'.
10276 (gomoku-mode-map): Move initialization into declaration.
10278 2010-04-14 Michael Albinus <michael.albinus@gmx.de>
10281 * ido.el (ido-file-name-all-completions-1):
10282 * minibuffer.el (minibuffer-completion-help):
10283 * net/tramp.el (tramp-completion-mode-p): Use `non-essential'.
10285 2010-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
10287 * simple.el (non-essential): New var.
10289 Add a new field `location' to bookmarks for non-file bookmarks.
10290 * bookmark.el (bookmark-location): Use the new field, if present.
10291 (bookmark-insert-location): Undo last change, not needed any more.
10292 * man.el (Man-bookmark-make-record):
10293 * woman.el (woman-bookmark-make-record): Add `location' field.
10295 2010-04-14 Juri Linkov <juri@jurta.org>
10297 * simple.el (scroll-error-top-bottom): New defcustom.
10298 (scroll-up-command, scroll-down-command): Use it. Doc fix.
10300 * emulation/pc-select.el (pc-select-override-scroll-error):
10301 Obsolete in favor of `scroll-error-top-bottom'.
10303 2010-04-14 Juri Linkov <juri@jurta.org>
10305 * tutorial.el (tutorial--default-keys): Rebind `C-v' to
10306 `scroll-up-command' and `M-v' to `scroll-down-command'.
10308 * emulation/cua-rect.el (cua--init-rectangles):
10309 * forms.el (forms--change-commands):
10310 * image-mode.el (image-mode-map):
10311 Remap scroll-down-command and scroll-up-command
10312 in addition to scroll-down and scroll-up.
10314 2010-04-14 Juri Linkov <juri@jurta.org>
10316 * mwheel.el (scroll-preserve-screen-position-commands):
10317 Add mwheel-scroll to this list of commands.
10319 * simple.el (scroll-preserve-screen-position-commands):
10320 Add scroll-up-command, scroll-down-command, scroll-up-line,
10321 scroll-down-line to this list of commands.
10323 2010-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
10325 * obsolete/complete.el: Move from lisp/complete.el.
10327 * pcomplete.el (pcomplete-here*): Fix mistaken change (bug#5935).
10329 * emacs-lisp/easy-mmode.el (define-minor-mode): Passing a nil argument
10330 to the minor mode function now turns the mode ON unconditionally.
10332 2010-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
10334 * vc-dir.el (vc-dir-kill-line): New command.
10335 (vc-dir-mode-map): Bind it to C-k.
10337 * bookmark.el (bookmark-insert-location): Handle a nil filename.
10339 * woman.el: Add bookmark declarations to silence the compiler.
10340 (bookmark-prop-get): Use `man-args' rather than `filename' as a first
10341 step to compatibility between man and woman bookmarks.
10342 Adjust for Man-default-bookmark-title renaming.
10343 (woman-bookmark-jump): Adjust accordingly. Don't forget to autoload.
10345 * man.el: Add bookmark declarations to silence the compiler.
10346 (Man-name-local-regexp): Make it match NAME as well.
10347 (Man-getpage-in-background): Return the buffer.
10348 (Man-notify-when-ready): Use `case'.
10349 (man-set-default-bookmark-title): Rename to Man-default-bookmark-title.
10350 Don't hardcode "NAME". Simplify.
10351 (Man-bookmark-make-record): Use Man-arguments rather than buffer-name.
10352 Rename from Man-bookmark-make-record.
10353 (Man-bookmark-jump): Rename from man-bookmark-jump. Simplify now that
10354 we have the actual man-args. Use Man-getpage-in-background rather
10355 than `man' since the arg is already processed. Let bookmark.el do the
10356 window handling. Only wait for the relevant process.
10357 Don't forget to autoload.
10359 * bookmark.el (bookmark-default-file): Use locate-user-emacs-file.
10361 2010-04-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10363 * woman.el (woman-bookmark-make-record, woman-bookmark-jump):
10365 (woman-mode): Setup bookmark support.
10367 * man.el (man-set-default-bookmark-title, man-bookmark-make-record)
10368 (man-bookmark-jump): New functions.
10369 (Man-mode): Setup bookmark support.
10371 2010-04-10 Jari Aalto <jari.aalto@cante.net>
10373 * comint.el (comint-password-prompt-regexp): Use regexp-opt, and
10374 recognize ssh-keygen prompt (Bug#2817).
10376 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
10378 * net/tramp.el (tramp-do-copy-or-rename-file): Add progress reporter.
10380 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
10382 Synchronize with Tramp repository.
10384 * net/tramp.el (tramp-completion-function-alist)
10385 (tramp-file-name-regexp, tramp-chunksize)
10386 (tramp-local-coding-commands, tramp-remote-coding-commands):
10388 (tramp-remote-process-environment): Use `format' instead of `concat'.
10389 (tramp-handle-directory-files-and-attributes)
10390 (tramp-get-remote-path): Use `copy-tree'.
10391 (tramp-handle-file-name-all-completions): Backward/ XEmacs
10392 compatibility: Use `completion-ignore-case' if
10393 `read-file-name-completion-ignore-case' does not exist.
10394 (tramp-do-copy-or-rename-file-directly): Do not use
10395 `tramp-handle-file-remote-p'.
10396 (tramp-do-copy-or-rename-file-out-of-band):
10397 Use `tramp-compat-delete-directory'.
10398 (tramp-do-copy-or-rename-file-out-of-band)
10399 (tramp-compute-multi-hops, tramp-maybe-open-connection):
10400 Use `format-spec-make'.
10401 (tramp-find-foreign-file-name-handler)
10402 (tramp-advice-make-auto-save-file-name)
10403 (tramp-set-auto-save-file-modes): Remove superfluous check for
10404 `stringp'. This is done inside `tramp-tramp-file-p'.
10405 (tramp-debug-outline-regexp): New defconst.
10406 (tramp-get-debug-buffer): Use it.
10407 (tramp-check-for-regexp): Use (forward-line 1).
10408 (tramp-set-auto-save-file-modes): Adapt version check.
10410 * net/tramp-compat.el (tramp-advice-file-expand-wildcards):
10411 Wrap call of `featurep' for 2nd argument.
10412 (tramp-compat-make-temp-file): Simplify fallback implementation.
10413 (tramp-compat-copy-tree): Remove function.
10414 (tramp-compat-delete-directory): Provide implementation for older
10417 * net/tramp-fish.el (tramp-fish-handle-directory-files-and-attributes):
10418 Do not use `tramp-fish-handle-file-attributes.
10420 * net/trampver.el: Update release number.
10422 2010-04-10 Glenn Morris <rgm@gnu.org>
10424 * progmodes/compile.el (compilation-save-buffers-predicate):
10425 Add missing :version tag.
10427 2010-04-09 Sam Steingold <sds@gnu.org>
10429 * progmodes/compile.el (compilation-save-buffers-predicate):
10430 Remove the "autoload" cookie.
10432 * progmodes/bug-reference.el (turn-on-bug-reference-mode)
10433 (turn-on-bug-reference-prog-mode): Remove, `bug-reference-mode'
10434 and `bug-reference-prog-mode' can be used in hooks directly.
10436 2010-04-09 Dan Nicolaescu <dann@ics.uci.edu>
10438 Add --author support to git commit.
10439 * vc-git.el (vc-git-checkin): Pass extra-args to the commit command.
10440 (vc-git-log-edit-mode): New minor mode.
10441 (log-edit-mode, log-edit-extra-flags, log-edit-mode):
10444 2010-04-09 Eric Raymond <esr@snark.thyrsus.com>
10446 * vc-hooks.el, vc-git.el: Improve documentation comments.
10448 2010-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
10450 Fix some of the problems in defsubst* (bug#5728).
10451 * emacs-lisp/cl-macs.el (defsubst*): Don't substitute non-trivial args.
10452 (cl-defsubst-expand): Do the substitutions simultaneously (bug#5728).
10454 2010-04-07 Sam Steingold <sds@gnu.org>
10456 * progmodes/compile.el (compilation-save-buffers-predicate):
10457 New custom variable.
10458 (compile, recompile): Pass it to `save-some-buffers'.
10460 2010-04-07 Jan Djärv <jan.h.d@swipnet.se>
10462 * wid-edit.el (widget-choose): Move cursor to the second line of
10463 the buffer (Bug#5695).
10465 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
10467 Add new VC methods: vc-log-incoming and vc-log-outgoing.
10468 * vc.el (vc-print-log-setup-buttons): New function split out from
10469 vc-print-log-internal.
10470 (vc-log-internal-common): New function, a parametrized version of
10471 vc-print-log-internal.
10472 (vc-print-log-internal): Just call vc-log-internal-common with the
10474 (vc-incoming-outgoing-internal):
10475 (vc-log-incoming, vc-log-outgoing): New functions.
10476 (vc-log-view-type): New permanent local variable.
10478 * vc-hooks.el (vc-menu-map): Bind vc-log-incoming and vc-log-outgoing.
10480 * vc-bzr.el (vc-bzr-log-view-mode): Use vc-log-view-type instead
10481 of the dynamic bound vc-short-log.
10482 (vc-bzr-log-incoming, vc-bzr-log-outgoing): New functions.
10484 * vc-git.el (vc-git-log-outgoing): New function.
10485 (vc-git-log-view-mode): Use vc-log-view-type instead
10486 of the dynamic bound vc-short-log.
10488 * vc-hg.el (vc-hg-log-view-mode): Use vc-log-view-type instead
10489 of the dynamic bound vc-short-log. Highlight the tag.
10490 (vc-hg-log-incoming, vc-hg-log-outgoing): New functions.
10491 (vc-hg-outgoing, vc-hg-incoming, vc-hg-outgoing-mode):
10492 (vc-hg-incoming-mode): Remove.
10493 (vc-hg-extra-menu-map): Do not bind vc-hg-incoming and vc-hg-outgoing.
10495 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
10497 Fix default-directory for vc-root-diff.
10498 * vc.el (vc-root-diff): Bind default-directory to the root
10499 directory for the diff command.
10501 2010-04-07 Michael McNamara <mac@mail.brushroad.com>
10503 * progmodes/verilog-mode.el (verilog-forward-sexp):
10504 (verilog-calc-1): Support "disable fork" and "fork wait" multi
10505 word keywords, suggested by Steve Pearlmutter.
10506 (verilog-pretty-declarations): Support lineup of declarations in
10508 (verilog-skip-backward-comments, verilog-skip-forward-comment-p):
10509 fix bug for /* / comments.
10510 (verilog-backward-syntactic-ws, verilog-forward-syntactic-ws):
10511 Speed up and simplfy as this is never called with a bound.
10512 (verilog-pretty-declarations): Enhance to line up declarations
10513 inside a parameter list, suggested by Alan Morgan.
10514 (verilog-pretty-expr): Tune assignment regular expression match
10515 string for corner cases; also use markers instead of character
10516 number as indent changes the later.
10518 2010-04-07 Wilson Snyder <wsnyder@wsnyder.org>
10520 * progmodes/verilog-mode.el (verilog-type-keywords): Fix pulldown
10521 as missing keyword.
10522 (verilog-read-sub-decls-line): Fix comments in AUTO_TEMPLATE
10523 causing truncation of AUTOWIRE signals. Reported by Bruce Tennant.
10524 (verilog-auto-inst, verilog-auto-inst-port): Add vl_mbits for
10525 AUTO_TEMPLATEs needing multiple array bits. Suggested by Bruce
10527 (verilog-keywords):
10528 (verilog-1800-2005-keywords, verilog-1800-2009-keywords): Add IEEE
10529 1800-2009 keywords, including "global.".
10531 2010-04-06 John Wiegley <jwiegley@gmail.com>
10533 * ido.el (ido-add-virtual-buffers-to-list): Fix duplicated names
10534 appearing in buffer list (if a live buffer name matched a recentf
10535 file basename). Should use uniquify to offer a real solution.
10537 2010-04-06 John Wiegley <jwiegley@gmail.com>
10539 * ido.el (ido-use-virtual-buffers, ido-virtual): Move a ChangeLog
10540 comment to code, and add a :version tag.
10541 (ido-virtual-buffers): Move defvar to fix byte-compiler warning.
10543 2010-04-06 Juanma Barranquero <lekktu@gmail.com>
10545 Enable recentf-mode if using virtual buffers.
10546 * ido.el (recentf-list): Declare for byte-compiler.
10547 (ido-virtual-buffers): Move up to silence byte-compiler. Add docstring.
10548 (ido-make-buffer-list): Simplify.
10549 (ido-add-virtual-buffers-to-list): Simplify. Enable recentf-mode.
10551 2010-04-05 Juri Linkov <juri@jurta.org>
10553 Scrolling commands which scroll a line instead of full screen.
10554 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
10556 * simple.el (scroll-up-line, scroll-down-line): New commands.
10557 Put property isearch-scroll=t on them.
10559 * emulation/ws-mode.el (scroll-down-line, scroll-up-line):
10562 2010-04-05 Juri Linkov <juri@jurta.org>
10564 Scrolling commands which do not signal errors at top/bottom.
10565 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
10567 * simple.el (scroll-up-command, scroll-down-command): New commands.
10568 Put property isearch-scroll=t on them.
10570 * bindings.el (global-map): Rebind [prior] from `scroll-down' to
10571 `scroll-down-command' and [next] from `scroll-up' to
10572 `scroll-up-command'.
10574 * emulation/cua-base.el: Put property CUA=move on
10575 `scroll-up-command' and `scroll-down-command'.
10576 (cua--init-keymaps): Remap `scroll-up-command' to `cua-scroll-up'
10577 and `scroll-down-command' to `cua-scroll-down'.
10579 2010-04-05 Juanma Barranquero <lekktu@gmail.com>
10581 * help.el (describe-mode): Return nil.
10583 2010-04-04 John Wiegley <jwiegley@gmail.com>
10585 * ido.el (ido-use-virtual-buffers): New variable to indicate
10586 whether "virtual buffer" support is enabled for IDO.
10587 (ido-virtual): Face used to indicate virtual buffers in the list.
10588 (ido-buffer-internal): If a buffer is chosen, and no such buffer
10589 exists, but a virtual buffer of that name does (which would be why
10590 it was in the list), recreate the buffer by reopening the file.
10591 (ido-make-buffer-list): If virtual buffers are being used, call
10592 `ido-add-virtual-buffers-to-list' before the make list hook.
10593 (ido-virtual-buffers): New variable which contains a copy of the
10594 current contents of the `recentf-list', albeit pared down for the
10595 sake of speed, and with proper faces applied.
10596 (ido-add-virtual-buffers-to-list): Using the `recentf-list',
10597 create a list of "virtual buffers" to present to the user in
10598 addition to the currently open set. Note that this logic could
10599 get rather slow if that list is too large. With the default
10600 `recentf-max-saved-items' of 200, there is little speed penalty.
10602 2010-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
10604 * font-lock.el: Require CL when compiling.
10605 (font-lock-turn-on-thing-lock): Use `case'.
10607 2010-04-03 Eli Zaretskii <eliz@gnu.org>
10609 * emacs-lisp/authors.el (authors-fixed-entries): Add entry for Eli
10612 2010-04-02 Juri Linkov <juri@jurta.org>
10614 * ehelp.el (electric-help-orig-major-mode):
10615 New buffer-local variable.
10616 (electric-help-mode): Set it to original major-mode. Doc fix.
10617 (with-electric-help): Use `electric-help-orig-major-mode' instead
10618 of (default-value 'major-mode). Doc fix.
10619 http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00069.html
10621 2010-04-02 Sam Steingold <sds@gnu.org>
10623 * vc-hg.el (vc-hg-push, vc-hg-pull): Use `apply' when calling
10624 `vc-hg-command' with a list of flags.
10626 * progmodes/bug-reference.el (bug-reference-bug-regexp):
10627 Also accept "patch" and "RFE".
10628 (bug-reference-fontify): `bug-reference-url-format' can also be a
10629 function to be able to handle the bug kind.
10630 (turn-on-bug-reference-mode, turn-on-bug-reference-prog-mode): Add.
10632 2010-04-02 Jan Djärv <jan.h.d@swipnet.se>
10634 * tmm.el (tmm-get-keymap): Check with symbolp before passing
10635 value to fboundp, it may not be a symbol.
10637 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
10639 * cus-edit.el (custom-buffer-sort-alphabetically): Update :version.
10641 2010-03-31 Juri Linkov <juri@jurta.org>
10643 * simple.el (next-line, previous-line): Re-throw a signal
10644 with `signal' instead of using `ding'.
10645 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01432.html
10647 2010-03-31 Juri Linkov <juri@jurta.org>
10649 * simple.el (keyboard-escape-quit): Raise deselecting the active
10650 region higher than exiting the minibuffer.
10651 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00904.html
10653 2010-03-31 Juri Linkov <juri@jurta.org>
10655 * image.el (image-animated-p): Use `image-metadata' instead of
10656 `image-extension-data'. Get GIF extenstion data from metadata
10657 property `extension-data'.
10659 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
10661 * simple.el (append-to-buffer): Simplify.
10663 2010-03-31 Tomas Abrahamsson <tab@lysator.liu.se>
10665 * textmodes/artist.el (artist-mode): Fix typo in docstring.
10666 Reported by Alex Schröder <kensanata@gmail.com>. (Bug#5807)
10668 2010-03-31 Kenichi Handa <handa@m17n.org>
10670 * language/sinhala.el (composition-function-table): Fix regexp for
10671 the new Unicode specification.
10673 * language/indian.el (devanagari-composable-pattern)
10674 (tamil-composable-pattern, kannada-composable-pattern)
10675 (malayalam-composable-pattern): Adjust for the new Unicode
10677 (bengali-composable-pattern, gurmukhi-composable-pattern)
10678 (gujarati-composable-pattern, oriya-composable-pattern)
10679 (telugu-composable-pattern): New variables to cope with the new
10680 Unicode specification. Use them in composition-function-table.
10682 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
10684 Make tmm-menubar work for the Buffers menu again (bug#5726).
10685 * tmm.el (tmm-prompt): Also handle keymap entries in the form of
10686 vectors rather than cons cells, as used in menu-bar-update-buffers.
10688 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
10690 * progmodes/js.el (js-auto-indent-flag, js-mode-map)
10691 (js-insert-and-indent): Revert 2009-08-15 change, restoring
10692 electric punctuation for "{}();,:" (Bug#5586).
10694 * mail/sendmail.el (mail-default-directory): Doc fix.
10696 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
10698 * mail/sendmail.el (mail-default-directory): Doc fix.
10700 2010-03-31 Eli Zaretskii <eliz@gnu.org>
10702 * subr.el (version-regexp-alist, version-to-list)
10703 (version-list-<, version-list-=, version-list-<=)
10704 (version-list-not-zero, version<, version<=, version=): Doc fix.
10707 2010-02-31 Dan Nicolaescu <dann@ics.uci.edu>
10709 * vc.el (vc-root-diff): Doc fix.
10711 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
10713 * vc.el (vc-print-log, vc-print-root-log): Doc fix.
10715 * simple.el (append-to-buffer): Fix last change.
10717 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
10719 * simple.el (append-to-buffer): Ensure that point is preserved if
10720 BUFFER is the current buffer. Suggested by YAMAMOTO Mitsuharu.
10723 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
10725 * files.el (auto-mode-case-fold): Change default to t.
10727 2010-03-30 Juri Linkov <juri@jurta.org>
10729 * dired-x.el (dired-omit-mode): Doc fix.
10731 2010-03-30 Juri Linkov <juri@jurta.org>
10733 * replace.el (occur-accumulate-lines): Move occur-engine related
10734 functions `occur-accumulate-lines' and `occur-engine-add-prefix'
10735 to be located after `occur-engine'.
10737 2010-03-30 Juri Linkov <juri@jurta.org>
10739 Make occur handle multi-line matches cleanly with context.
10740 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01280.html
10742 * replace.el (occur-accumulate-lines): Add optional arg `pt'.
10743 (occur-engine): Add local variables `ret', `prev-after-lines',
10744 `prev-lines'. Use more arguments for `occur-context-lines'.
10745 Set first elem of its returned list to `data', and the second elem
10746 to `prev-after-lines'. Don't print the separator line.
10747 In the end, print remaining context after-lines.
10748 (occur-context-lines): Add new arguments `begpt', `endpt',
10749 `lines', `prev-lines', `prev-after-lines'. Rewrite to combine
10750 after-lines of the previous match with before-lines of the
10751 current match and not overlap them. Return a list with two
10752 values: the output line and the list of context after-lines.
10754 2010-03-30 Juri Linkov <juri@jurta.org>
10756 * replace.el (occur-accumulate-lines): Fix a bug where the first
10757 context line at the beginning of the buffer was missing.
10759 2010-03-30 Eli Zaretskii <eliz@gnu.org>
10761 * files.el: Make bidi-display-reordering safe variable for boolean
10764 2010-03-29 Phil Hagelberg <phil@evri.com>
10765 Chong Yidong <cyd@stupidchicken.com>
10767 * subr.el: Extend progress reporters to perform "spinning".
10768 (progress-reporter-update, progress-reporter-do-update):
10769 Handle non-numeric value arguments.
10770 (progress-reporter--pulse-characters): New var.
10772 2010-03-28 Chong Yidong <cyd@stupidchicken.com>
10774 * progmodes/compile.el (compilation-start): Fix regexp detection
10775 of initial cd command (Bug#5771).
10777 2010-03-28 Stefan Guath <stefan@automata.se> (tiny change)
10779 * find-dired.el (find-dired): Use read-directory-name (Bug#5777).
10781 2010-03-27 Nick Roberts <nickrob@snap.net.nz>
10783 Restore GDB/MI fuctionality removed by 2009-12-29T07:15:34Z!nickrob@snap.net.nz.
10784 * progmodes/gdb-mi.el: Restore.
10785 * progmodes/gdb-ui.el: Remove.
10786 * progmodes/gud.el: Re-accommodate for gdb-mi.el.
10788 2010-03-25 Glenn Morris <rgm@gnu.org>
10790 * desktop.el (desktop-save-buffer-p): Don't mistakenly include
10791 all dired buffers, even tramp ones. (Bug#5755)
10793 2010-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
10795 Add "union tags" in mpc.el.
10796 * mpc.el: Remove backward compatibility code.
10797 (mpc-browser-tags): Change default.
10798 (mpc--find-memoize-union-tags): New var.
10799 (mpc-cmd-flush, mpc-cmd-special-tag-p): New fun.
10800 (mpc-cmd-find): Handle the case where the playlist does not exist.
10802 (mpc-cmd-list): Use mpc-cmd-special-tag-p. Handle union-tags.
10803 (mpc-cmd-add): Use mpc-cmd-flush.
10804 (mpc-tagbrowser-tag-name): New fun.
10805 (mpc-tagbrowser-buf): Use it.
10806 (mpc-songs-refresh): Use cond. Move to point-min as a fallback.
10808 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
10811 * progmodes/make-mode.el (makefile-bsdmake-rule-action-regex):
10812 Use replace-regexp-in-string.
10813 (makefile-mode-abbrev-table): Merge defvar and define-abbrev-table.
10814 (makefile-imake-mode-syntax-table): Move init into defvar.
10815 (makefile-mode): Use define-derived-mode.
10817 * progmodes/make-mode.el (makefile-rule-action-regex): Backtrack less.
10818 (makefile-make-font-lock-keywords): Adjust rule since submatch 1 may
10819 not be present any more.
10821 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
10823 * faces.el (set-face-attribute): Fix typo in docstring.
10824 (face-valid-attribute-values): Reflow docstring.
10826 2010-03-24 Glenn Morris <rgm@gnu.org>
10828 * textmodes/flyspell.el (sgml-lexical-context): Autoload it (Bug#5752).
10830 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
10832 * indent.el (indent-for-tab-command): Doc fix.
10834 2010-03-24 Alan Mackenzie <acm@muc.de>
10836 * progmodes/cc-engine.el (c-remove-stale-state-cache):
10837 Fix off-by-one error. Fixes bug #5747.
10839 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
10841 * image-dired.el (image-dired-display-thumbs): Fix typo in docstring.
10842 (image-dired-read-comment): Doc fix.
10844 * json.el (json-object-type, json-array-type, json-key-type)
10845 (json-false, json-null, json-read-number):
10846 * minibuffer.el (completion-in-region-functions):
10847 * calendar/cal-tex.el (cal-tex-daily-end, cal-tex-number-weeks)
10848 (cal-tex-cursor-week):
10849 * emacs-lisp/trace.el (trace-function):
10850 * eshell/em-basic.el (eshell/printnl):
10851 * eshell/em-dirs.el (eshell-last-dir-ring, eshell-parse-drive-letter)
10852 (eshell-read-last-dir-ring, eshell-write-last-dir-ring):
10853 * obsolete/levents.el (allocate-event, event-key, event-object)
10854 (event-point, event-process, event-timestamp, event-to-character)
10855 (event-window, event-x, event-x-pixel, event-y, event-y-pixel):
10856 * textmodes/reftex-vars.el (reftex-index-macros-builtin)
10857 (reftex-section-levels, reftex-auto-recenter-toc, reftex-toc-mode-hook)
10858 (reftex-cite-punctuation, reftex-search-unrecursed-path-first)
10859 (reftex-highlight-selection): Fix typos in docstrings.
10861 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
10863 * minibuffer.el (completion-in-region-functions): Fix docstring typos.
10865 2010-03-24 Glenn Morris <rgm@gnu.org>
10867 * mail/rmail.el (rmail-highlight-face): Restore option deleted
10868 2008-02-13 without comment; mark it obsolete.
10869 (rmail-highlight-headers): Use rmail-highlight-face once more.
10871 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
10873 * woman.el (woman2-process-escapes): Only consume the newline if
10874 the filler character is on a line by itself (Bug#5729).
10876 2010-03-24 Kenichi Handa <handa@m17n.org>
10878 * language/indian.el (devanagari-composable-pattern): Add more
10881 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
10883 * net/trampver.el: Update release number.
10885 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
10887 * net/tramp.el (tramp-find-executable):
10888 Use `tramp-get-connection-buffer'. Make the regexp for checking
10889 output of "wc -l" more robust.
10890 (tramp-find-shell): Use another shell but /bin/sh on OpenSolaris.
10891 (tramp-open-connection-setup-interactive-shell): Remove workaround
10892 for OpenSolaris bug, it is not needed anymore.
10894 2010-03-24 Glenn Morris <rgm@gnu.org>
10896 * emacs-lisp/cl-macs.el (defsubst*): Add autoload cookie. (Bug#4427)
10898 2010-03-24 Wilson Snyder <wsnyder@wsnyder.org>
10900 * files.el (auto-mode-alist): Accept more verilog file patterns.
10902 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
10904 * vc-dir.el (vc-dir-headers): Abbreviate the working dir.
10906 2010-03-24 Glenn Morris <rgm@gnu.org>
10908 * vc-bzr.el (vc-bzr-log-edit-mode): Add --fixes support to
10909 log-edit-before-checkin-process.
10911 * vc.el (vc-modify-change-comment): Pass MODE to vc-start-logentry.
10913 * vc.el, vc-bzr.el, vc-hg.el (log-edit-mode): Declare.
10915 * vc-dispatcher.el (vc-start-logentry): Doc fix.
10916 (log-view-process-buffer, log-edit-extra-flags): Declare.
10918 * log-edit.el (log-edit-before-checkin-process): Doc fix.
10920 2010-03-23 Sam Steingold <sds@gnu.org>
10922 Fix bug#5620: recalculate all markers on compilation buffer
10923 modifications, not on file modifications.
10924 * progmodes/compile.el (compilation-buffer-modtime): New buffer-local
10925 variable: the buffer modification time, for buffers not associated with
10927 (compilation-mode): Create it.
10928 (compilation-filter): Update it.
10929 (compilation-next-error-function): Use it instead of
10930 `visited-file-modtime' for timestamp.
10932 2010-03-23 Juri Linkov <juri@jurta.org>
10934 Implement Occur multi-line matches.
10935 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01044.html
10937 * replace.el (occur): Doc fix.
10938 (occur-engine): Set `begpt' to the beginning of the first line.
10939 Set `endpt' to the end of the last match line. At first, count
10940 line numbers between `origpt' and `begpt'. Split out code from
10941 `out-line' variable to new let-bindings `match-prefix' and
10942 `match-str'. In `out-line' add non-numeric prefix to all
10943 non-first lines of multi-line matches. Finally, count lines
10944 between `begpt' and `endpt' and add to `lines'.
10946 2010-03-23 Juri Linkov <juri@jurta.org>
10948 * replace.el (occur-accumulate-lines, occur-engine):
10949 Use `occur-engine-line' instead of duplicate code.
10950 (occur-engine-line): New function created from duplicate code
10951 in `occur-accumulate-lines' and `occur-engine'.
10953 * replace.el (occur-engine-line): Add optional arg `keep-props'.
10954 (occur-accumulate-lines, occur-engine): Add arg `keep-props'.
10956 2010-03-23 Juri Linkov <juri@jurta.org>
10958 * finder.el: Remove TODO tasks.
10960 * info.el (Info-finder-find-node): Add node "all"
10961 with all package info. Handle a list of multiple keywords
10962 separated by comma.
10963 (info-finder): In interactive use with a prefix argument,
10964 use `completing-read-multiple' to read a list of keywords
10965 separated by comma.
10967 2010-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
10969 Add a new completion style `substring'.
10970 * minibuffer.el (completion-basic--pattern): New function.
10971 (completion-basic-try-completion, completion-basic-all-completions):
10973 (completion-substring--all-completions)
10974 (completion-substring-try-completion)
10975 (completion-substring-all-completions): New functions.
10976 (completion-styles-alist): New style `substring'.
10978 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
10980 Get rid of .elc files after removal of the corresponding .el.
10981 * Makefile.in (compile-clean): New target.
10982 (compile-main): Use it.
10984 2010-03-22 Jan Djärv <jan.h.d@swipnet.se>
10986 * Makefile.in (compile-main): cd to $(lisp) in a sub-shell, so we
10987 don't do make there. When compiling with separate object dir, there
10988 is no Makefile there.
10990 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
10992 Get rid of the ELCFILES abomination, again.
10993 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
10994 (all, compile): Don't call compile-last.
10995 (compile-main): Build the "elcfiles" list dynamically.
10996 (compile-targets): New (internal) target.
10998 2010-03-21 Andreas Schwab <schwab@linux-m68k.org>
11000 * Makefile.in (top_srcdir): Define.
11001 (abs_top_builddir): Define.
11002 (srcdir): Don't append `/..'.
11003 (EMACS): Use ${abs_top_builddir}.
11004 (all, compile, compile-always, compile-last): Don't set emacswd.
11005 (update-subdirs, update-authors): Use $(top_srcdir) instead of
11007 (lisp): Use $(srcdir) instead of @srcdir@.
11009 2010-03-21 Juri Linkov <juri@jurta.org>
11011 Fix message of multi-line occur regexps and multi-buffer header lines.
11012 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00457.html
11014 * replace.el (occur-1): Don't display regexp if it is longer
11015 than window-width. Use `query-replace-descr' to display regexp.
11016 (occur-engine): Don't display regexp in the buffer header for
11017 multi-buffer occur. Display a separate header line with total
11018 match count and regexp for multi-buffer occur.
11019 Use `query-replace-descr' to display regexp.
11021 2010-03-20 Teodor Zlatanov <tzz@lifelogs.com>
11023 * net/secrets.el: Fix parenthesis.
11024 (secrets-enabled): Fix parenthesis.
11026 2010-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
11028 Use more relative file and directory names.
11029 * Makefile.in (EMACS): Arrange for it to work when we chdir.
11030 (setwins, setwins_almost, setwins_for_subdirs):
11031 Don't `cd'; output relative names.
11032 (all, compile, compile-always, compile-last): Set emacswd.
11033 (custom-deps, finder-data, autoloads, update-subdirs, compile-last):
11034 Just cd to the lisp source dir so we can use relative file names.
11036 * outline.el (hide-sublevels): Unfix the paren non-typo! (bug#5738).
11038 2010-03-20 Glenn Morris <rgm@gnu.org>
11040 * textmodes/rst.el: Use faces for font-lock customization, and make the
11041 old -face variables obsolete.
11042 (rst-block, rst-external, rst-definition, rst-directive, rst-comment)
11043 (rst-emphasis1, rst-emphasis2, rst-literal, rst-reference): New faces.
11044 (rst-block-face, rst-external-face, rst-definition-face)
11045 (rst-directive-face, rst-comment-face, rst-emphasis1-face)
11046 (rst-emphasis2-face, rst-literal-face, rst-reference-face):
11048 (rst-font-lock-keywords-function): Update for above changes.
11050 2010-03-20 Juri Linkov <juri@jurta.org>
11053 * obsolete/s-region.el: Move to obsolete.
11055 2010-03-19 Juanma Barranquero <lekktu@gmail.com>
11057 * vc-dispatcher.el (vc-do-command): Remove reference to `vc-path'.
11059 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
11061 * vc-hooks.el (vc-path): Remove variable and obsolete declaration.
11063 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
11065 Add special markup processing for commit logs.
11066 * log-edit.el (log-edit-extra-flags): New variable.
11067 (log-edit): Add new argument MODE. Use that mode when non-nil
11068 instead of the log-view-mode.
11069 (log-view-process-buffer): New function.
11071 * vc.el: Document that the checkin method takes optional
11072 arguments. Document new backend specific method: log-view-mode.
11073 (vc-default-log-edit-mode): New function.
11074 (vc-checkin): Use a backend specific log-view-mode.
11075 Pass extra arguments to the checkin method.
11076 (vc-modify-change-comment): Pass a dummy extra argument.
11078 * vc-dispatcher.el (vc-log-edit): Add a mode argument, pass it to
11080 (vc-start-logentry): Add a mode argument, pass it to vc-log-edit.
11081 (vc-finish-logentry): Process the log buffer before passing it
11082 down. Pass log-edit-extra-flags.
11084 * vc-bzr.el (vc-bzr-checkin): Pass extra arguments to the commit
11086 (log-edit-extra-flags, log-edit-before-checkin-process):
11089 * vc-hg.el (vc-hg-checkin): Pass extra arguments to the commit
11091 (log-edit-extra-flags, log-edit-before-checkin-process):
11093 (vc-hg-log-edit-mode): New derived mode.
11095 * vc-arch.el (vc-arch-checkin):
11096 * vc-cvs.el (vc-cvs-checkin):
11097 * vc-git.el (vc-git-checkin):
11098 * vc-mtn.el (vc-mtn-checkin):
11099 * vc-rcs.el (vc-rcs-checkin):
11100 * vc-sccs.el (vc-sccs-checkin):
11101 * vc-svn.el (vc-svn-checkin): Add an optional ignored argument.
11103 2010-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
11105 * outline.el (hide-sublevels): Don't hide trailing newline (and fix
11108 2010-03-19 Glenn Morris <rgm@gnu.org>
11110 * password-cache.el (password-cache, password-cache-expiry): Autoload.
11112 2010-03-18 Glenn Morris <rgm@gnu.org>
11114 * emacs-lisp/autoload.el (autoload-rubric): Doc fix.
11116 * replace.el (query-replace-history): Give it a doc string.
11117 (map-query-replace-regexp): Use query-replace-from-history-variable
11118 and query-replace-to-history-variable.
11120 * mail/hashcash.el (declare-function): Remove duplicate definition.
11122 * mail/emacsbug.el (report-emacs-bug-pretest-address):
11123 Make it an obsolete alias for report-emacs-bug-address.
11124 (message-strip-special-text-properties): Declare.
11125 (report-emacs-bug): Remove test for a pretest bug address.
11126 Combine message-mode-specific code.
11128 * mail/supercite.el: Don't require sendmail.
11129 (mh-in-header-p): Declare rather than using with-no-warnings.
11130 (sc-no-blank-line-or-header): Use rfc822-goto-eoh rather than
11131 mail-header-end. Don't bind mysterious variable `kill-lines-magic'.
11133 * calendar/cal-french.el: Convert to utf-8.
11135 * files.el (interpreter-mode-alist): Use emacs-lisp-mode for
11138 2010-03-16 Michael Albinus <michael.albinus@gmx.de>
11140 * net/secrets.el (secrets-enabled): New variable. Use it instead
11143 2010-03-15 Michael Albinus <michael.albinus@gmx.de>
11145 * net/secrets.el (top): Register the D-Bus signals only when the
11146 service "org.freedesktop.secrets" can be pinged.
11147 Provide subfeature `enabled'.
11149 2010-03-14 Juri Linkov <juri@jurta.org>
11151 Add finder unknown keywords.
11153 * finder.el (finder-unknown-keywords): New function.
11155 * info.el (Info-finder-find-node): Use `finder-unknown-keywords'
11156 to create a Finder node with unknown keywords.
11158 2010-03-14 Juri Linkov <juri@jurta.org>
11160 * finder.el (finder-compile-keywords): Replace `princ' with
11161 `prin1' on a list of symbols interned from keyword strings.
11163 * emacs-lisp/lisp-mnt.el (lm-keywords-list): If `keywords' contains
11164 a comma, then split keywords using a comma and optional whitespace.
11165 Otherwise, split by whitespace.
11173 * progmodes/mixal-mode.el: Fix keywords.
11175 2010-03-13 Michael Albinus <michael.albinus@gmx.de>
11177 * Makefile.in (ELCFILES): Add net/secrets.elc.
11179 * net/secrets.el: New file.
11181 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
11183 * facemenu.el (list-colors-display, list-colors-print): New arg
11184 callback. Use it to allow selecting colors.
11186 * wid-edit.el (widget-image-insert): Insert image prop even if the
11187 current display is non-graphic.
11188 (widget-field-value-set): New fun.
11189 (editable-field): Use it.
11190 (widget-field-value-get): Clean up unused var.
11191 (widget-color-value-create, widget-color--choose-action):
11192 New funs. Allow using list-colors-display to choose color.
11194 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
11196 * cus-edit.el: Resort topmost custom groups.
11197 (custom-buffer-sort-alphabetically): Default to t.
11198 (customize-apropos): Use apropos-parse-pattern.
11199 (custom-search-field): New var.
11200 (custom-buffer-create-internal): Add custom-apropos search field.
11201 (custom-add-parent-links): Don't display parent doc.
11202 (custom-group-value-create): Don't sort top-level custom group.
11203 (custom-magic-value-create): Show visibility button before option name.
11205 (custom-variable-state): New fun, from custom-variable-state-set.
11206 (custom-variable-state-set): Use it.
11207 (custom-group-value-create): Hide options with standard values
11208 using the :hidden-states property. Use progress reporter.
11210 (custom-show): Simplify.
11211 (custom-visibility): Disable images by default.
11212 (custom-variable): New property :hidden-states.
11213 (custom-variable-value-create): Enable images for
11214 custom-visibility widgets. Use :hidden-states property to
11215 determine initial visibility.
11217 * wid-edit.el (widget-image-find): Give images center ascent.
11218 (visibility): Add :on-image and :off-image properties.
11219 (widget-visibility-value-create): Use them.
11221 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
11223 * cus-edit.el (processes): Remove from development group.
11224 (oop, hypermedia): Delete group.
11225 (comm): Promote to top-level group.
11227 * net/browse-url.el (browse-url):
11228 * net/xesam.el (xesam):
11229 * net/tramp.el (tramp):
11230 * net/goto-addr.el (goto-address):
11231 * net/ange-ftp.el (ange-ftp): Put in comm group.
11233 * view.el (view): Remove from editing group.
11235 * uniquify.el (uniquify): Put in files group.
11237 * net/browse-url.el (browse-url):
11238 * ps-print.el (postscript): Put in external group.
11240 * cus-edit.el (outlines):
11241 * textmodes/text-mode.el (text-mode-hook):
11242 * textmodes/table.el (table):
11243 * textmodes/picture.el (picture):
11244 * outline.el (outlines): Put in wp group.
11246 * nxml/nxml-mode.el (nxml): Remove from wp group.
11248 * net/tramp-imap.el (tramp-imap): Put in tramp group.
11250 * mail/metamail.el (metamail): Remove from hypermedia group.
11252 * cus-edit.el (abbrev):
11253 * whitespace.el (whitespace):
11254 * vcursor.el (vcursor):
11255 * reveal.el (reveal):
11256 * hl-line.el (hl-line): Put in convenience group.
11258 * epg-config.el (epg): Put in data group.
11260 * emulation/pc-select.el (pc-select): Put in emulations group.
11262 * calculator.el (calculator): Put in applications group.
11264 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
11266 Add .dir-locals.el support for file-less buffers.
11267 * files.el (hack-local-variables): Split out code to apply local
11268 variable settings ...
11269 (hack-local-variables-apply): ... here. New function.
11270 (hack-dir-local-variables): Use the default directory for when the
11271 buffer does not have an associated file.
11272 (hack-dir-local-variables-non-file-buffer): New function.
11273 * diff-mode.el (diff-mode):
11274 * vc-annotate.el (vc-annotate-mode):
11275 * vc-dir.el (vc-dir-mode):
11276 * log-edit.el (log-edit-mode):
11277 * log-view.el (log-view-mode): Call hack-dir-local-variables-non-file-buffer.
11279 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
11281 Add support for shelving snapshots and for showing shelves.
11282 * vc-bzr.el (vc-bzr-shelve-show, vc-bzr-shelve-show-at-point)
11283 (vc-bzr-shelve-apply-and-keep-at-point, vc-bzr-shelve-snapshot):
11285 (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
11286 (vc-bzr-extra-menu-map): Map them.
11288 2010-03-11 Glenn Morris <rgm@gnu.org>
11290 * cus-edit.el (customize-changed-options-previous-release):
11293 * image.el (image-animate-max-time): Fix :version tag.
11295 2010-03-10 Chong Yidong <cyd@stupidchicken.com>
11299 2010-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
11301 * vc-git.el (vc-git-revision-table): Include remote branches.
11303 2010-03-10 Kim F. Storm <storm@cua.dk>
11305 Animated image API.
11306 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00211.html
11308 * image.el (image-animate-max-time): New defcustom.
11309 (image-animated-types): New defconst.
11310 (create-animated-image, image-animate-timer)
11311 (image-animate-start, image-animate-stop, image-animate-timeout)
11312 (image-animated-p): New functions.
11314 * image-mode.el (image-toggle-display-image):
11315 Replace `create-image' with `create-animated-image'.
11317 2010-03-09 Miles Bader <miles@gnu.org>
11319 * vc-git.el (vc-git-print-log): Use "tformat:" for shortlog,
11320 instead of "format:"; this ensures that the output is
11321 newline-terminated.
11323 2010-03-08 Chong Yidong <cyd@stupidchicken.com>
11325 * mail/rfc822.el (rfc822-addresses): Use nested catches to ensure
11326 that all errors are caught, and that the return value is always a
11329 2010-03-08 Kenichi Handa <handa@m17n.org>
11331 * language/misc-lang.el (windows-1256): New coding system.
11332 (cp1256): New alias of windows-1256 (bug#5690).
11334 2010-03-07 Andreas Schwab <schwab@linux-m68k.org>
11336 * mail/rfc822.el (rfc822-addresses): Move catch clause down around
11337 call to rfc822-bad-address. (Bug#5692)
11339 2010-03-07 Štěpán Němec <stepnem@gmail.com> (tiny change)
11341 * vc-git.el (vc-git-annotate-extract-revision-at-line):
11342 Use vc-git-root as default directory for revision path (Bug#5657).
11344 2010-03-06 Chong Yidong <cyd@stupidchicken.com>
11346 * calculator.el (calculator): Don't bind split-window-keep-point
11349 2010-03-06 Stefan Monnier <monnier@iro.umontreal.ca>
11351 * vc-git.el: Re-flow to fit into 80 columns.
11352 (vc-git-after-dir-status-stage, vc-git-dir-status-goto-stage):
11353 Remove spurious `quote' element in each case alternative.
11354 (vc-git-show-log-entry): Use prog1.
11355 (vc-git-after-dir-status-stage): Remove unused var `remaining'.
11357 2010-03-05 Stefan Monnier <monnier@iro.umontreal.ca>
11359 * man.el (Man-files-regexp): Tighten up the regexp (bug#5686).
11361 2010-03-03 Chong Yidong <cyd@stupidchicken.com>
11363 * macros.el (insert-kbd-macro): Look up keyboard macro using the
11364 definition, not the name (Bug#5481).
11366 2010-03-03 Štěpán Němec <stepnem@gmail.com> (tiny change)
11368 * subr.el (momentary-string-display): Don't overwrite the MESSAGE
11369 argument with a local variable. (Bug#5670)
11371 2010-03-02 Juri Linkov <juri@jurta.org>
11373 * info.el (Info-index-next): Decrement line number by 2. (Bug#5652)
11375 2010-03-02 Michael Albinus <michael.albinus@gmx.de>
11377 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Fix an
11378 error when FILENAME and NEWNAME are existing remote directories.
11380 * net/tramp-compat.el (tramp-compat-make-temp-file): Add optional
11381 parameter DIR-FLAG.
11383 2010-03-02 Glenn Morris <rgm@gnu.org>
11385 * calendar/cal-hebrew.el (holiday-hebrew-passover): Fix date
11386 of Yom HaAtzma'ut when it falls on a Monday (rule changed in 2004).
11388 2010-03-01 Kenichi Handa <handa@m17n.org>
11390 * language/burmese.el (burmese-composable-pattern): Rename from
11391 myanmar-composable-pattern.
11393 * international/characters.el (script-list):
11394 * international/fontset.el (script-representative-chars):
11395 Change myanmar to burmese.
11396 (otf-script-alist): Likewise.
11397 (setup-default-fontset): Likewise. Re-fix :otf spec.
11399 2010-02-28 Katsumi Yamaoka <yamaoka@jpl.org>
11401 * menu-bar.el (menu-bar-manuals-menu): Fix typo.
11403 2010-02-28 Jan Djärv <jan.h.d@swipnet.se>
11405 * scroll-bar.el (scroll-bar-drag-1): Add save-excursion, bug #5654.
11407 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
11409 * net/tramp.el (tramp-handle-write-region): START can be a string.
11410 Take care in the checks. Reported by Dan Davison
11411 <davison@stats.ox.ac.uk>.
11413 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
11415 * net/dbus.el (dbus-introspect, dbus-get-property)
11416 (dbus-set-property, dbus-get-all-properties):
11417 Use `dbus-call-method' when noninteractive. (Bug#5645)
11419 2010-02-28 Chong Yidong <cyd@stupidchicken.com>
11421 * textmodes/reftex-toc.el (reftex-toc-promote-prepare):
11422 * emacs-lisp/elint.el (elint-add-required-env):
11423 * calendar/icalendar.el (icalendar--add-diary-entry):
11424 * calc/calcalg2.el (math-tracing-integral):
11425 * files.el (recover-session-finish): Use with-current-buffer
11426 instead of save-excursion.
11428 2010-02-27 Stefan Monnier <monnier@iro.umontreal.ca>
11430 Fix in-buffer completion when after-change-functions modify the buffer.
11431 * minibuffer.el (completion--replace): New function.
11432 (completion--do-completion): Use it and use relative movement.
11434 2010-02-27 Chong Yidong <cyd@stupidchicken.com>
11436 * international/fontset.el (setup-default-fontset): Fix :otf spec.
11438 2010-02-27 Jeremy Whitlock <jcscoobyrs@gmail.com> (tiny change)
11440 * progmodes/python.el (python-pdbtrack-stack-entry-regexp):
11441 Allow the characters _<> in the stack entry (Bug#5653).
11443 2010-02-26 Kenichi Handa <handa@m17n.org>
11445 * language/burmese.el: Fix entries in composition-function-table.
11446 (myanmar-composable-pattern): New variable.
11448 * international/fontset.el (setup-default-fontset): Add an entry
11451 * international/characters.el (script-list): Add Myanmar
11454 2010-02-26 Glenn Morris <rgm@gnu.org>
11456 * custom.el (custom-initialize-delay): Doc fix.
11458 * mail/sendmail.el (send-mail-function): Autoload the call
11459 to custom-initialize-delay, not otherwise preserved in loaddefs.el.
11461 2010-02-24 Chong Yidong <cyd@stupidchicken.com>
11463 * files.el (hack-local-variables-filter): For eval forms, also
11464 check safe-local-variable-p (Bug#5636).
11466 2010-02-22 Michael Albinus <michael.albinus@gmx.de>
11468 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Protect
11469 setting the modes by `ignore-errors'. It might fail, for example
11470 if the file is not owned by the user but the group.
11471 (tramp-handle-write-region): Ensure, that `tmpfile' is always readable.
11473 2010-02-21 Chong Yidong <cyd@stupidchicken.com>
11475 * files.el (directory-listing-before-filename-regexp):
11476 Use stricter matching for iso-style dates, to avoid false matches with
11477 date-like filenames (Bug#5597).
11479 * htmlfontify.el (htmlfontify): Doc fix.
11481 * eshell/eshell.el (eshell): Doc fix.
11483 * startup.el (fancy-about-screen): In mode-line, apply
11484 mode-line-buffer-id face only to the buffer name (Bug#5613).
11486 2010-02-20 Kevin Ryde <user42@zip.com.au>
11488 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11489 In `watcom' anchor regexp to start of line, to avoid slowness
11492 2010-02-20 Eli Zaretskii <eliz@gnu.org>
11494 * subr.el (remove-yank-excluded-properties): Explain in a comment
11495 why `category' property is removed.
11497 2010-02-19 Chong Yidong <cyd@stupidchicken.com>
11499 * isearch.el (isearch-update-post-hook, isearch-update):
11500 Revert 2010-02-17 change.
11502 2010-02-19 Ulf Jasper <ulf.jasper@web.de>
11504 * calendar/icalendar.el (icalendar--convert-ordinary-to-ical)
11505 (icalendar--convert-weekly-to-ical)
11506 (icalendar--convert-yearly-to-ical)
11507 (icalendar--convert-block-to-ical)
11508 (icalendar--convert-cyclic-to-ical)
11509 (icalendar--convert-anniversary-to-ical): Take care of time
11510 specifications where hour has 1-digit only (Bug#5549).
11512 2010-02-19 Nick Roberts <nickrob@snap.net.nz>
11514 * progmodes/gdb-ui.el (gdb-assembler-handler): Accommodate change
11515 of disassemble output in GDB 7.1.
11517 2010-02-19 Glenn Morris <rgm@gnu.org>
11519 * progmodes/f90.el (f90-electric-insert): Give it a delete-selection
11520 property. (Bug#5593)
11522 2010-02-18 Sam Steingold <sds@gnu.org>
11524 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
11526 2010-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
11528 Use abbreviated file names in bookmarks (bug#5591).
11529 * bookmark.el (bookmark-maybe-load-default-file): Remove redundant
11530 calls to expand-file-name.
11531 (bookmark-relocate): Use abbreviated file names in bookmarks.
11532 (bookmark-load): Use abbreviated file names in messages.
11534 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
11536 * net/tramp.el (tramp-handle-directory-files): When FULL, do not
11537 expand "." and "..". Reported by Thierry Volpiatto
11538 <thierry.volpiatto@gmail.com>.
11540 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
11542 * net/tramp.el (tramp-handle-insert-file-contents): Set always the
11543 permissions of the temporary file to "0600". In case the remote
11544 file has no read permissions for the owner, there might be
11545 problems otherwise. Reported by Ole Laursen <olau@iola.dk>.
11547 22010-02-18 Glenn Morris <rgm@gnu.org>
11549 * emacs-lisp/authors.el (authors-renamed-files-alist):
11550 Add entries for INSTALL.CVS.
11552 2010-02-17 Mark A. Hershberger <mah@everybody.org>
11554 * vc-bzr.el: Fix typo in Known Bugs section.
11556 * isearch.el (isearch-update-post-hook): New hook.
11557 (isearch-update): Use the new hook.
11559 2010-02-16 Michael Albinus <michael.albinus@gmx.de>
11561 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
11562 Fix errors in copying directories.
11563 (tramp-handle-add-name-to-file, tramp-handle-copy-directory)
11564 (tramp-do-copy-or-rename-file, tramp-handle-delete-directory)
11565 (tramp-handle-delete-file)
11566 (tramp-handle-dired-recursive-delete-directory)
11567 (tramp-handle-write-region): Flush also the cache for the upper
11570 2010-02-16 Chong Yidong <cyd@stupidchicken.com>
11572 * simple.el (save-interprogram-paste-before-kill): Doc fix.
11574 * cus-edit.el (hardware): Doc fix.
11576 * man.el (man): Add to external custom group.
11578 * delim-col.el (columns): Move to wp custom group.
11580 * doc-view.el (doc-view): Add to data custom group.
11582 * nxml/nxml-mode.el (nxml-faces): Remove from font-lock-faces group.
11584 * textmodes/flyspell.el (flyspell-word): Obey the offset specified
11585 by ispell-parse-output (Bug#5575).
11587 2010-02-16 Kenichi Handa <handa@m17n.org>
11589 * international/ja-dic-cnv.el (iso-2022-7bit-short): Delete it.
11590 (skkdic-convert-okuri-ari): Ignore lines starting with '>'.
11591 (skkdic-convert): Use `euc-japan' coding system for writing.
11593 2010-02-16 Glenn Morris <rgm@gnu.org>
11595 * textmodes/tex-mode.el (tex-bibtex-file): Expand the result of
11596 tex-main-file before using it. (Bug#5562)
11598 2010-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
11600 * emacs-lisp/advice.el (ad-compile-function): Suppress byte-compiler
11601 warnings, since it is annoying for the user to see them each time he
11604 2010-02-15 Michael Albinus <michael.albinus@gmx.de>
11606 * net/tramp.el (tramp-process-actions, tramp-read-passwd):
11607 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection): Use VEC
11608 instead of PROC for caching "first-password-request". Otherwise,
11609 new processes would not profit from passwords already entered.
11611 * net/tramp-cache.el (tramp-dump-connection-properties):
11612 Don't save "first-password-request" property.
11614 2010-02-14 Juanma Barranquero <lekktu@gmail.com>
11616 * outline.el (outline-head-from-level):
11617 * simple.el (with-wrapper-hook):
11618 * emacs-lisp/elint.el (elint-extra-errors, elint-current-buffer)
11619 (elint-defun, elint-buffer-env, elint-top-form-logged)
11620 (elint-unbound-variable):
11621 * textmodes/reftex-toc.el (reftex-toc-newhead-from-alist):
11622 Fix typos in docstrings.
11624 2010-02-14 Michael Albinus <michael.albinus@gmx.de>
11626 * files.el (insert-directory): When WILDCARD-REGEXP and
11627 FULL-DIRECTORY-P are nil, insert the file entry instead of the
11628 whole directory. (Bug#5551)
11630 * net/ange-ftp.el (ange-ftp-insert-directory): Insert " " for
11631 dired's alignment sanity. (Bug#5516)
11633 2010-02-14 Juri Linkov <juri@jurta.org>
11635 * man.el (Man-fontify-manpage, Man-cleanup-manpage):
11636 Remove remaining ^H with their preceding chars. (Bug#5566)
11638 2010-02-13 Glenn Morris <rgm@gnu.org>
11640 * simple.el (transpose-subr): Give it a doc-string.
11642 * textmodes/paragraphs.el (transpose-paragraphs, transpose-sentences):
11645 2010-02-12 Juri Linkov <juri@jurta.org>
11647 * arc-mode.el (archive-unique-fname): Make directories for nested
11648 archives. (Bug#5540)
11650 2010-02-12 Juri Linkov <juri@jurta.org>
11652 * ffap.el (dired-at-point): Fix docstring. (Bug#5565)
11654 2010-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
11656 * subr.el (copy-overlay): Handle deleted overlays.
11658 * man.el (Man-completion-table): Don't signal an error if we can't run
11659 manual-program (bug#4056).
11661 2010-02-10 Juanma Barranquero <lekktu@gmail.com>
11663 * textmodes/artist.el (artist-mt): Fix typos in docstring.
11665 2010-02-10 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11667 * info.el (Info-bookmark-jump): Simplify.
11669 * bookmark.el (bookmark-handle-bookmark): Catch the right error.
11670 (bookmark-default-handler): Accept new bookmark field `buffer'.
11672 2010-02-10 Chong Yidong <cyd@stupidchicken.com>
11674 * iswitchb.el (iswitchb-completions): Revert last change.
11676 2010-02-10 Michael Albinus <michael.albinus@gmx.de>
11678 * ls-lisp.el (ls-lisp-insert-directory): When WILDCARD-REGEXP and
11679 FULL-DIRECTORY-P are nil, and FILE is absolute, expand it.
11680 This prevents file names like "~/" being listed literally.
11682 2010-02-10 Dan Nicolaescu <dann@ics.uci.edu>
11684 * term/xterm.el (xterm-maybe-set-dark-background-mode):
11685 Remove dead code. (Bug#5546)
11687 2010-02-09 Chong Yidong <cyd@stupidchicken.com>
11689 * eshell/em-ls.el (eshell-ls-applicable): Frob file attributes
11690 correctly (Bug#5548).
11692 2010-02-08 Jose E. Marchesi <jemarch@gnu.org>
11694 * progmodes/ada-mode.el (ada-in-numeric-literal-p): New function.
11695 (ada-adjust-case): Don't adjust case in hexadecimal number literals.
11697 2010-02-08 Kenichi Handa <handa@m17n.org>
11699 * international/mule-util.el (with-coding-priority): Add autoload
11700 cookie for putting `lisp-indent-function'.
11702 2010-02-07 Glenn Morris <rgm@gnu.org>
11704 * progmodes/f90.el (f90-font-lock-keywords-1, f90-font-lock-keywords-2):
11705 Move F2003 named interfaces from keywords-2 to keywords-1, and
11706 use function-name-face rather than constant-face.
11707 Simplify "abstract interface" regexp.
11709 2010-02-07 Chong Yidong <cyd@stupidchicken.com>
11711 * eshell/esh-util.el (eshell-file-attributes): New optional arg
11712 ID-FORMAT. Pass it to `file-attributes'.
11714 * eshell/em-ls.el (eshell-do-ls): Use it (Bug#5528).
11716 2010-02-07 sj <prime.wizard+emacs@gmail.com> (tiny change)
11718 * faces.el (set-face-attribute): Allow calling
11719 internal-set-lisp-face-attribute with 'unspecified family and
11720 foundry argument (Bug#5536).
11722 2010-02-07 Glenn Morris <rgm@gnu.org>
11724 * progmodes/f90.el (f90-font-lock-keywords-2)
11725 (f90-looking-at-type-like, f90-looking-at-program-block-end):
11726 Handle F2003 named interfaces.
11728 2010-02-06 Chong Yidong <cyd@stupidchicken.com>
11730 * progmodes/cc-mode.el (c-common-init): Bind temporary variables
11731 beg and end before calling c-get-state-before-change-functions.
11733 2010-02-06 Dan Nicolaescu <dann@ics.uci.edu>
11735 * vc-bzr.el (vc-bzr-dir-extra-headers):
11736 Disable the pending merges header.
11738 2010-02-05 Juri Linkov <juri@jurta.org>
11740 * doc-view.el (doc-view-mode):
11741 * image-mode.el (image-mode): Put property mode-class=special.
11744 2010-02-05 Mark A. Hershberger <mah@everybody.org>
11746 * vc-svn.el (vc-svn-revision-table): New function.
11748 2010-02-05 Michael Albinus <michael.albinus@gmx.de>
11750 * net/ange-ftp.el (ange-ftp-insert-directory):
11751 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
11752 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
11753 Handle also directories. (Bug#5478)
11755 2010-02-05 Glenn Morris <rgm@gnu.org>
11757 * progmodes/f90.el (f90-font-lock-keywords-2): Fix `enum'.
11759 2010-02-05 Chong Yidong <cyd@stupidchicken.com>
11761 * startup.el (command-line-1): Convert options beginning with a
11762 single dash as well (Bug#5519).
11764 2010-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
11766 Make `initials' completion work for /hh -> /home/horn again (bug#5524).
11767 * minibuffer.el (completion-initials-expand): Only check the presence
11768 of delims *within* the boundaries, since otherwise the / delim is
11769 always found for files.
11771 Fix up various corner case problems.
11772 * doc-view.el (doc-view-last-page-number): New function.
11773 (doc-view-mode, doc-view-last-page, doc-view-goto-page): Use it.
11774 (doc-view-goto-page): Avoid inf-loops when the conversion fails.
11775 (doc-view-kill-proc): Avoid inf-loop in freak cases.
11776 (doc-view-reconvert-doc): Use the new recursive delete-directory.
11777 (doc-view-convert-current-doc): Don't create the resolution.el file
11779 (doc-view-pdf/ps->png): Do it here instead.
11780 (doc-view-already-converted-p): Check that resolution.el is present.
11781 (doc-view-pdf->png): Don't rely on doc-view-pdf/ps->png for the few
11782 windows that are not yet showing images.
11784 2010-02-04 Michael Albinus <michael.albinus@gmx.de>
11786 * dired.el (dired-revert): If DIRED-DIRECTORY is a cons cell, call
11787 `dired-uncache' for every elemnt which is an absolute file name.
11789 * net/tramp.el (tramp-handle-dired-uncache): When DIR is not a
11790 directory, handle its directory component.
11791 (tramp-handle-file-remote-p): Let-bind `tramp-verbose' to 3; this
11792 function is called permanently and creates noise, otherwise.
11794 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
11795 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
11796 Handle the case, FILENAME is not in `default-directory'. (Bug#5478)
11798 2010-02-04 David Burger <dburger@google.com> (tiny change)
11800 * macros.el (apply-macro-to-region-lines):
11801 Minor simplification. (Bug#5485)
11803 2010-02-04 Glenn Morris <rgm@gnu.org>
11805 * mail/rmail.el (rmail-show-message-1): Handle malformed
11806 quoted-printable text. (Bug#5441)
11808 * mail/mail-utils.el (mail-unquote-printable-region): Doc fix.
11810 * simple.el (visual-line-mode): Capitalize lighter.
11812 2010-02-03 John Wiegley <jwiegley@gmail.com>
11814 * iswitchb.el (iswitchb-completions): Add bookmark files to the
11815 list of files considered for "virtual buffer" completions.
11817 2010-02-03 Michael Albinus <michael.albinus@gmx.de>
11819 * net/ange-ftp.el (ange-ftp-insert-directory): Parse directory
11820 also in case of (and (not full) (not wildcard)). This is needed
11821 when dired is called with a list of files, which are not in
11822 `default-directory'. (Bug#5478)
11824 2010-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
11826 * vc-hooks.el (vc-path): Make it an obsolete var, rather than function.
11828 2010-02-02 Juri Linkov <juri@jurta.org>
11830 * textmodes/ispell.el (ispell-message-text-end): Remove final newline
11831 from unidiff to allow function-line after @@.
11833 2010-02-02 Juri Linkov <juri@jurta.org>
11835 * ediff-util.el (ediff-file-checked-in-p): Replace '(nil CVS) by
11836 '(RCS SCCS) with inverted condition.
11838 2010-02-02 Michael Albinus <michael.albinus@gmx.de>
11840 * net/ange-ftp.el (ange-ftp-skip-msgs): Ignore all ""^500 .*AUTH"
11843 2010-02-01 Juri Linkov <juri@jurta.org>
11845 * arc-mode.el (archive-zip-extract): Use `member-ignore-case' to
11846 compare with "pkunzip" and "pkzip" instead of only "pkzip".
11847 In the `archive-extract-by-stdout' branch use `shell-quote-argument'
11848 only when (car archive-zip-extract) is "unzip". (Bug#5475)
11850 2010-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
11852 * doc-view.el (doc-view-new-window-function): Be a bit more defensive.
11853 (doc-view-revert-buffer): New command.
11854 (doc-view-mode-map): Use it.
11856 2010-02-01 Dan Nicolaescu <dann@ics.uci.edu>
11858 * vc-bzr.el (vc-bzr-dir-extra-headers): Add a header when a
11859 pending merge is detected.
11861 2010-01-31 Juri Linkov <juri@jurta.org>
11863 * progmodes/grep.el (zrgrep): Call `grep-compute-defaults' at the
11864 beginning of interactive spec like all other grep commands do.
11865 Put "all" in front of "gz". (Bug#5260)
11867 2010-01-29 Dan Nicolaescu <dann@ics.uci.edu>
11869 * vc-bzr.el (vc-bzr-after-dir-status): Match another renaming indicator.
11871 2010-01-29 Chong Yidong <cyd@stupidchicken.com>
11873 * dirtrack.el (dirtrack): Warn instead of signalling error if the
11874 regexp is incorrect (Bug#5476).
11876 2010-01-29 Michael Albinus <michael.albinus@gmx.de>
11878 * net/tramp.el (tramp-handle-insert-directory): Handle also
11879 symlinks, when FILENAME is not in `default-directory'.
11881 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
11883 * net/ange-ftp.el (ange-ftp-insert-directory): Handle the case,
11884 FILE is not in `default-directory'. (Bug#5478)
11886 * net/tramp.el (tramp-handle-insert-directory): Simplify handling
11887 of SWITCHES. Handle the case, FILENAME is not in
11888 `default-directory'. (Bug#5478)
11889 (tramp-register-file-name-handlers): Add safe-magic property.
11891 2010-01-28 Chong Yidong <cyd@stupidchicken.com>
11893 * arc-mode.el (archive-zip-extract): Quote the argument passed to
11896 2010-01-28 Nil Geisweiller <ngeiswei@googlemail.com> (tiny change)
11898 * progmodes/flymake.el (flymake-allowed-file-name-masks)
11899 (flymake-master-make-header-init): Add other C++ filename masks.
11900 (flymake-find-possible-master-files)
11901 (flymake-check-patch-master-file-buffer): Doc fixes (Bug#5488).
11903 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
11905 Fix some busybox annoyances.
11907 * net/tramp.el (tramp-wrong-passwd-regexp): Add "Timeout, server
11908 not responding." string.
11909 (tramp-open-connection-setup-interactive-shell): Dump stty
11910 settings. Enable "neveropen" arg for all `tramp-send-command'
11911 calls. Handle "=" in variable values properly.
11912 (tramp-find-inline-encoding): Raise an error, when no encoding is
11914 (tramp-wait-for-output): Check, whether PROC buffer is available.
11915 Remove spurious " ^H" sequences, sent by busybox.
11916 (tramp-get-ls-command): Suppress coloring, if possible.
11918 2010-01-28 Glenn Morris <rgm@gnu.org>
11920 * vc-svn.el (vc-svn-update): Use "svn --non-interactive". (Bug#4280)
11922 * log-edit.el (log-edit-strip-single-file-name): Add missing
11923 :safe, :group, and :version tags.
11925 2010-01-27 Stephen Berman <stephen.berman@gmx.net>
11927 * calendar/diary-lib.el (diary-unhide-everything): Handle narrowed
11928 buffers. (Bug#5477)
11930 2010-01-27 David De La Harpe Golden <david@harpegolden.net>
11932 * files.el (delete-directory): Handle moving to trash without
11933 first doing recursion (Bug#5436).
11935 2010-01-26 Dan Nicolaescu <dann@ics.uci.edu>
11937 * vc-hooks.el (vc-path): Mark as obsolete.
11939 2010-01-25 Dan Nicolaescu <dann@ics.uci.edu>
11941 * vc-annotate.el (vc-annotate-revision-at-line): Compare file
11944 * vc-bzr.el (vc-bzr-print-log): Use the more compact --line option
11946 (vc-bzr-log-view-mode): Adjust regexp for the above change.
11948 2010-01-25 Mark A. Hershberger <mah@everybody.org>
11950 * progmodes/python.el: Replace reference to obsolete c-subword-mode.
11952 * vc-bzr.el (vc-bzr-revision-table): New function.
11954 2010-01-25 Eric Hanchrow <eric.hanchrow@gmail.com>
11956 * vc-git.el (vc-git-dir-status-goto-stage): Pass --relative to the
11957 diff-index command. This requires at least git-1.5.5. (Bug#1589).
11959 2010-01-24 Dan Nicolaescu <dann@ics.uci.edu>
11961 Remove support for adding --signoff on commit.
11962 Future support will use an incompatible generic mechanism.
11963 * vc-git.el (vc-git-add-signoff): Remove variable.
11964 (vc-git-toggle-signoff): Remove function.
11965 (vc-git-extra-menu-map): Do not bind vc-git-toggle-signoff.
11967 * term/xterm.el (xterm-maybe-set-dark-background-mode):
11968 Rename from xterm-set-background-mode. Return t if the background mode
11970 (terminal-init-xterm): Move tty-set-up-initial-frame-faces
11971 earlier, call it again in case the background mode has changed.
11973 2010-01-23 Dmitri Paduchikh <dpaduch@k66.ru> (tiny change)
11975 * emacs-lisp/advice.el (ad-set-orig-definition): Fix typo
11978 2010-01-23 Chong Yidong <cyd@stupidchicken.com>
11980 * emacs-lisp/assoc.el (aelement): Doc fix.
11981 (aput, adelete, amake): Use lexical-let (Bug#5450).
11983 2010-01-23 Stephen Leake <stephen_leake@member.fsf.org>
11985 * progmodes/ada-mode.el (ada-in-paramlist-p): Pragma syntax
11986 is the same as subprogram call, not declaration. (Bug#5435).
11988 2010-01-23 Michael Albinus <michael.albinus@gmx.de>
11990 * net/tramp-smb.el (tramp-smb-conf): New defcustom.
11991 (tramp-smb-maybe-open-connection): Use it.
11993 2010-01-22 Michael Albinus <michael.albinus@gmx.de>
11995 * net/tramp-imap.el (top): Autoload needed packages. (Bug#5448)
11997 2010-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
11999 * mail/rmailmm.el (rmail-mime-handle): Don't set the buffer to unibyte
12000 just because we see "encoding: 8bit".
12001 * mail/rmail.el (rmail-show-message-1): Decode the body's QP into bytes.
12003 2010-01-22 Chong Yidong <cyd@stupidchicken.com>
12005 * isearch.el (isearch-allow-scroll): Doc fix (Bug#5446).
12007 2010-01-22 Eli Zaretskii <eliz@gnu.org>
12009 * jka-compr.el (jka-compr-load): If load-file is not in
12010 load-history, try its file-truename version. (bug#5447)
12012 2010-01-21 Alan Mackenzie <acm@muc.de>
12014 Fix a situation where deletion of a cpp construct throws an error.
12015 * progmodes/cc-engine.el (c-invalidate-state-cache):
12016 Before invoking c-with-all-but-one-cpps-commented-out, check that the
12017 special cpp construct is still in the buffer.
12018 (c-parse-state): Record the special cpp with markers, not numbers.
12020 2010-01-21 Kenichi Handa <handa@m17n.org>
12022 * textmodes/sgml-mode.el (sgml-maybe-name-self): No need to
12023 process last-command-event, as it is now decoded first (Bug#5380).
12025 2010-01-20 Chong Yidong <cyd@stupidchicken.com>
12027 * term.el (term-send-raw-meta): Revert 2009-12-04 change (Bug#5330).
12029 2010-01-20 Glenn Morris <rgm@gnu.org>
12031 * indent.el (tab-always-indent): Fix custom-type.
12033 2010-01-19 Alan Mackenzie <acm@muc.de>
12035 * progmodes/cc-defs.el: Fix bug#5395: typing '#' in an empty
12036 buffer throws "args out of range".
12037 (c-set-cpp-delimiters, c-clear-cpp-delimiters): Check for EOB
12038 playing the role of delimiter.
12040 2010-01-18 Stephen Leake <stephen_leake@member.fsf.org>
12042 * progmodes/ada-mode.el: Fix bug#5400.
12043 (ada-matching-decl-start-re): Move into ada-goto-decl-start.
12044 (ada-goto-decl-start): Rename from ada-goto-matching-decl-start; callers
12045 changed. Delete RECURSIVE parameter; never used. Improve doc string.
12046 Improve comments in "is" portion. Handle null procedure declaration.
12047 (ada-move-to-end): Improve doc string.
12049 2010-01-18 Óscar Fuentes <ofv@wanadoo.es>
12051 * ido.el (ido-cur-list): Initialize to nil.
12052 Remove obsolete information from commentary.
12053 (ido-choice-list): Initialize to nil.
12054 (ido-get-bufname): Reject minibuffers.
12055 (ido-make-buffer-list): If "default" is a nonexistent
12056 buffer, ignore it, as per the function's comment.
12057 (ido-kill-buffer-internal): New function.
12058 (ido-kill-buffer-at-head): Use it.
12059 (ido-visit-buffer): Likewise.
12061 2010-01-18 Chong Yidong <cyd@stupidchicken.com>
12063 * calendar/time-date.el (date-to-time): Doc fix (Bug#5408).
12065 2010-01-18 Juanma Barranquero <lekktu@gmail.com>
12067 * emacs-lisp/chart.el (chart-file-count, chart-rmail-from):
12068 Fix typos in chart titles.
12070 * whitespace.el (whitespace-style, global-whitespace-newline-mode):
12071 * emacs-lisp/eieio.el (eieio-error-unsupported-class-tags)
12072 (eieio-generic-form, eieio-help-mode-augmentation-maybee, eieio-browse)
12073 (describe-class, eieio-describe-generic, describe-generic):
12074 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click)
12075 (eieio-speedbar-expand):
12076 * emulation/viper-cmd.el (viper-exec-form-in-vi)
12077 (viper-exec-form-in-emacs, viper-harness-minor-mode, viper-ESC)
12078 (viper-repeat, viper-replace-state-exit-cmd, viper-toggle-search-style)
12079 (viper-del-backward-char-in-replace, viper-backward-indent)
12080 (viper-brac-function, viper-register-to-point, viper-submit-report):
12081 * net/tramp.el (tramp-remote-coding-commands):
12082 * term/x-win.el (emacs-session-save, x-menu-bar-open, icon-map-list):
12083 Fix typos in docstrings.
12085 2010-01-17 Chong Yidong <cyd@stupidchicken.com>
12087 * mail/sendmail.el (mail-yank-original): Set the mark if the
12088 specified function for yanking does not do it.
12090 2010-01-17 Dan Nicolaescu <dann@ics.uci.edu>
12092 * vc.el (with-vc-properties): Deal with directory arguments. (Bug#5298)
12094 * vc-dir.el (vc-dir-resynch-file): Update the vc-dir header when
12095 resyncing a directory.
12097 2010-01-17 Stephen Leake <stephen_leake@member.fsf.org>
12099 * progmodes/ada-mode.el: Fix bug#1920.
12100 (ada-ident-re): Delete ., allow multibyte characters.
12101 (ada-goto-label-re): New; matches goto labels.
12102 (ada-block-label-re): New; matches block labels.
12103 (ada-label-re): New; matches both.
12104 (ada-named-block-re): Deleted; callers changed to use
12105 `ada-block-label-re' instead.
12106 (ada-get-current-indent, ada-get-indent-noindent, ada-get-indent-loop):
12107 Use `ada-block-label-re'.
12108 (ada-indent-on-previous-lines): Improve handling of goto labels.
12109 (ada-get-indent-block-start): Special-case block label.
12110 (ada-get-indent-label): Split into `ada-indent-block-label' and
12111 `ada-indent-goto-label'.
12112 (ada-goto-stmt-start, ada-goto-next-non-ws):
12113 Optionally ignore goto labels.
12114 (ada-goto-next-word): Simplify.
12115 (ada-indent-newline-indent-conditional): Insert newline before
12116 trying to fix indentation; doc fix.
12118 2010-01-17 Jay Belanger <jay.p.belanger@gmail.com>
12120 * calc/calc.el (calc-command-flags): Give it an initial value.
12122 2010-01-17 Juanma Barranquero <lekktu@gmail.com>
12124 * files.el (minibuffer-with-setup-hook):
12125 * textmodes/artist.el (artist-mt, artist-key-undraw-continously)
12126 (artist-key-draw-continously, artist-key-do-continously-continously)
12127 (artist-key-set-point-continously, artist-mouse-draw-continously):
12128 Fix typos in docstrings.
12130 2010-01-16 Lennart Borgman <lennart.borgman@gmail.com>
12132 * nxml/nxml-mode.el (nxml-extend-after-change-region):
12133 Never return t (Bug#3898).
12135 2010-01-16 Frédéric Perrin <frederic.perrin@resel.fr> (tiny change)
12137 * vc-dispatcher.el (vc-do-command): Set LC_MESSAGES, so that we
12138 can parse the output of the external commands (Bug#5279).
12140 2010-01-16 Jari Aalto <jari.aalto@cante.net>
12142 * pcmpl-unix.el (pcmpl-unix-read-passwd-file): Doc fix.
12144 2010-01-16 Chong Yidong <cyd@stupidchicken.com>
12146 * emacs-lisp/advice.el (ad-add-advice): Doc fix (Bug#5274)
12148 * emacs-lisp/cl-macs.el (defstruct): Doc fix (Bug#5267).
12150 * startup.el (command-line): Remove unused --icon-type arg.
12151 Handle --display arg, passing it to command-line-1 (Bug#5392).
12153 2010-01-16 Mario Lang <mlang@delysid.org>
12155 * emacs-lisp/chart.el (chart-translate-namezone):
12156 * textmodes/artist.el (artist-compute-popup-menu-table):
12157 Remove duplicated words in doc-strings.
12159 2010-01-15 David Abrahams <dave@boostpro.com> (tiny change)
12161 * net/mairix.el (mairix-widget-send-query): Send -1 instead of nil
12162 to mairix-search to suppress threading (Bug#5342).
12164 2010-01-15 Kenichi Handa <handa@m17n.org>
12166 * international/mule-cmds.el (canonicalize-coding-system-name):
12167 Convert "msXXX", "ibmXXX", "windows-XXX" to "cpXXX" (Bug#5387).
12169 2010-01-15 Glenn Morris <rgm@gnu.org>
12171 * log-view.el (top-level): Require 'wid-edit. (Bug#5311)
12173 * wid-edit.el (widget-keymap): Doc fix.
12175 * vc-svn.el (vc-svn-print-log): Use --limit rather than -l since the
12176 former seems to be more widely accepted by various svn versions.
12178 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
12180 * find-cmd.el (find-constituents):
12181 * vc-arch.el (vc-arch-root):
12182 * window.el (window-body-height, pop-up-frames):
12183 * emacs-lisp/eieio-base.el (eieio-singleton, slot-missing):
12184 * progmodes/ada-stmt.el (ada-if):
12185 * progmodes/gdb-ui.el (gdb-jsonify-buffer):
12186 * textmodes/ispell.el (ispell-grep-options, ispell-dictionary-alist)
12187 (ispell-encoding8-command, ispell-aspell-supports-utf8)
12188 (ispell-last-program-name, ispell-help): Fix typos in docstrings.
12190 * progmodes/flymake.el (flymake-post-syntax-check):
12191 Fix typo in error message.
12193 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
12195 * hexl.el (hexl-printable-character): Fix check of `hexl-iso',
12196 which is always a string. (Bug#5313)
12198 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
12200 * progmodes/ada-xref.el (ada-default-prj-properties):
12201 Simplify previous change.
12203 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
12205 * progmodes/ada-xref.el (ada-default-prj-properties):
12206 Default ada_project_path to $ADA_PROJECT_PATH.
12208 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
12210 * progmodes/ada-mode.el (ada-create-keymap):
12211 Override `narrow-to-defun' with `ada-narrow-to-defun'.
12213 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
12215 * progmodes/ada-mode.el: Deal with Ada 2005 "overriding" keyword.
12216 (ada-subprog-start-re, ada-imenu-subprogram-menu-re): Add keyword.
12217 (ada-get-current-indent, ada-imenu-generic-expression)
12218 (ada-which-function): Check for it.
12220 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
12222 * progmodes/ada-mode.el (ada-clean-buffer-before-saving): Make obsolete.
12223 (ada-mode): Don't obey `ada-clean-buffer-before-saving' anymore.
12225 2010-01-14 Glenn Morris <rgm@gnu.org>
12227 * frame.el (show-trailing-whitespace): Safe if boolean. (Bug#5312)
12229 2010-01-14 Kenichi Handa <handa@m17n.org>
12231 * composite.el (auto-composition-mode): Make it a buffer local
12232 variable (permanent-local).
12233 (auto-composition-function): Set the default value to
12234 auto-compose-chars.
12235 (auto-composition-mode): Make it a simple function, not a minor mode.
12236 (global-auto-composition-mode): Likewise.
12237 (turn-on-auto-composition-if-enabled): Delete it.
12239 2010-01-13 Karl Fogel <kfogel@red-bean.com>
12241 * bookmark.el (bookmark-bmenu-execute-deletions): Doc fix (Bug#5276).
12243 2010-01-12 Michael Albinus <michael.albinus@gmx.de>
12245 * files.el (copy-directory): Compute target for recursive
12246 directories with identical names. (Bug#5343)
12248 2010-01-12 Glenn Morris <rgm@gnu.org>
12250 * mail/emacsbug.el (report-emacs-bug-pretest-address):
12251 Set it to bug-gnu-emacs rather than emacs-pretest-bug.
12253 2010-01-11 Sam Steingold <sds@gnu.org>
12255 * imenu.el (imenu-default-create-index-function): Detect infinite
12256 loops caused by imenu-prev-index-position-function.
12258 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
12260 * htmlfontify.el (htmlfontify-load-rgb-file)
12261 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values)
12262 (htmlfontify-manual, htmlfontify, hfy-page-header, hfy-page-footer)
12263 (hfy-src-doc-link-style, hfy-src-doc-link-unstyle, hfy-link-extn)
12264 (hfy-link-style-fun, hfy-index-file, hfy-instance-file)
12265 (hfy-html-quote-regex, hfy-init-kludge-hook, hfy-post-html-hooks)
12266 (hfy-default-face-def, hfy-etag-regex, hfy-html-quote-map)
12267 (hfy-etags-cmd-alist-default, hfy-etags-bin, hfy-ignored-properties)
12268 (hfy-which-etags, hfy-etags-cmd, hfy-istext-command, hfy-display-class)
12269 (hfy-optimisations, hfy-tags-cache, hfy-tags-sortl, hfy-tags-rmap)
12270 (hfy-style-assoc, hfy-sheet-assoc, hfy-facemap-assoc, hfy-interq)
12271 (hfy-colour-vals, hfy-default-header, hfy-link-style-string)
12272 (hfy-triplet, hfy-slant, hfy-weight, hfy-combined-face-spec)
12273 (hfy-face-attr-for-class, hfy-face-to-style-i, hfy-size-to-int)
12274 (hfy-flatten-style, hfy-face-to-style, hfy-face-or-def-to-name)
12275 (hfy-face-to-css, hfy-p-to-face, hfy-p-to-face-lennart, hfy-face-at)
12276 (hfy-fontified-p, hfy-merge-adjacent-spans, hfy-buffer)
12277 (hfy-html-enkludge-buffer, hfy-html-quote, hfy-html-dekludge-buffer)
12278 (hfy-force-fontification, htmlfontify-buffer, hfy-dirname)
12279 (hfy-make-directory, hfy-text-p, hfy-mark-tag-names, hfy-relstub)
12280 (hfy-href-stub, hfy-href, hfy-mark-tag-hrefs, hfy-prepare-index-i)
12281 (hfy-prepare-index, hfy-prepare-tag-map, hfy-subtract-maps)
12282 (htmlfontify-run-etags): Fix typos in docstrings and remove superfluous
12283 backslash-quoting from parentheses, etc.
12285 2010-01-11 Chong Yidong <cyd@stupidchicken.com>
12287 * progmodes/js.el: Autoload javascript-mode alias.
12289 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
12291 * ffap.el (ffap-shell-prompt-regexp, ffap-all-subdirs, ffap-url-p)
12292 (ffap-alist, ffap-tex-path, ffap-url-at-point, ffap-gopher-regexp)
12293 (ffap-gopher-at-point, ffap-file-at-point, ffap-read-file-or-url)
12294 (ffap-read-url-internal, ffap-menu, ffap-at-mouse):
12295 Fix typos in docstrings.
12296 (ffap-url-regexp): Doc fix.
12297 (ffap-at-mouse): Fix typo in message.
12299 2010-01-11 Glenn Morris <rgm@gnu.org>
12301 * version.el (emacs-copyright): Set copyright year to 2010.
12303 2010-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
12305 * format.el (format-annotate-function): Only set
12306 write-region-post-annotation-function after running to-fn so as not to
12307 affect nested write-region calls (bug#5273).
12309 2010-01-10 Chong Yidong <cyd@stupidchicken.com>
12311 * Makefile.in (ELCFILES): Add wisent/python-wy.el and
12314 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
12316 * man.el (Man-goto-section): Signal error if the section is not
12319 2010-01-09 Juanma Barranquero <lekktu@gmail.com>
12321 * vc-bzr.el (vc-bzr-working-revision): On Windows and MS-DOS, accept
12322 URLs with a leading triple slash in the file: scheme. (Bug#5345)
12324 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
12326 * progmodes/compile.el: Don't treat compile-command as safe if
12327 compilation-read-command might be nil (Bug#4218).
12329 2010-01-09 Jan Djärv <jan.h.d@swipnet.se>
12331 * startup.el (command-line-1): Use orig-argi to check for ignored X and
12334 2010-01-08 Kenichi Handa <handa@m17n.org>
12336 * international/fontset.el (build-default-fontset-data):
12337 Exclude characters in scripts kana, hangul, han, or cjk-misc.
12339 2010-01-07 Juanma Barranquero <lekktu@gmail.com>
12341 * vc-dir.el (vc-dir-prepare-status-buffer): Pass a (fake) filename
12342 to `create-file-buffer' as it expects, not just a buffer name.
12343 (vc-dir-mode): Include the buffer name in `list-buffers-directory',
12344 to help uniquify. (Bug#3224)
12346 2010-01-06 Jan Djärv <jan.h.d@swipnet.se>
12348 * font-setting.el (font-setting-change-default-font): Use user-spec
12351 2010-01-06 Dan Nicolaescu <dann@ics.uci.edu>
12353 * vc-bzr.el (vc-bzr-after-dir-status): Ignore pending merges.
12355 2010-01-05 Tom Tromey <tromey@redhat.com>
12357 * progmodes/python.el (python-font-lock-keywords):
12358 Handle qualified decorators (Bug#881).
12360 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
12362 * vc-bzr.el (vc-bzr-working-revision): Fix looking for a revision
12363 in a lightweight checkout.
12365 2010-01-05 Kenichi Handa <handa@m17n.org>
12367 * language/indian.el (malayalam-composable-pattern): Fix ZWNJ and ZWJ.
12369 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
12371 * vc-bzr.el (vc-bzr-diff): Obey vc-disable-async-diff.
12373 2010-01-04 Dan Nicolaescu <dann@ics.uci.edu>
12375 * vc-bzr.el (vc-bzr-state-heuristic): Make it work for lightweight
12376 checkouts. (Bug#618)
12377 (vc-bzr-log-view-mode): Also highlight the author.
12378 (vc-bzr-shelve-map): Change binding for vc-bzr-shelve-apply-at-point.
12379 (vc-bzr-shelve-menu-map):
12380 (vc-bzr-dir-extra-headers): Improve menu and tooltip text.
12381 (vc-bzr-shelve-apply): Make prompt more explicit.
12383 2010-01-02 Chong Yidong <cyd@stupidchicken.com>
12385 * net/browse-url.el (browse-url-encode-url): Don't escape commas.
12386 They are valid characters in URL paths (rfc3986), and at least
12387 Firefox does not understand the encoded version (Bug#3166).
12389 2010-01-02 Daniel Elliott <danelliottster@gmail.com> (tiny change)
12391 * progmodes/octave-mod.el (octave-end-keywords)
12392 (octave-block-begin-or-end-regexp, octave-block-match-alist):
12393 Add "end" keyword (Bug#3061).
12394 (octave-end-as-array-index-p): New function.
12395 (calculate-octave-indent): Use it.
12397 2010-01-02 Karl Fogel <kfogel@red-bean.com>
12399 * bookmark.el: Consistently put the text property on the bookmark name.
12400 (bookmark-bmenu-marks-width): Bump back to 2, to include
12402 (bookmark-bmenu-hide-filenames): Adjust for above, and put the text
12403 property on the bookmark name, instead of not putting it at all.
12404 (bookmark-bmenu-list): Fix where we put the text property.
12406 2010-01-02 Karl Fogel <kfogel@red-bean.com>
12408 * bookmark.el (bookmark-bmenu-save): Just depend on the new logic
12409 for showing buffer modified state (as added in the previous change).
12411 2010-01-02 Karl Fogel <kfogel@red-bean.com>
12413 * bookmark.el: Show modified state of bookmark buffer more accurately.
12414 (bookmark-bmenu-list): Initialize buffer-modified-p properly.
12415 (bookmark-send-edited-annotation): Mark bookmark-alist as modified.
12416 (with-buffer-modified-unmodified): New macro.
12417 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
12418 (bookmark-bmenu-mark, bookmark-bmenu-unmark, bookmark-bmenu-delete):
12419 Use new macro to preserve the buffer modified state.
12421 2010-01-02 Karl Fogel <kfogel@red-bean.com>
12423 * bookmark.el (bookmark-bmenu-select, bookmark-bmenu-1-window)
12424 (bookmark-bmenu-2-window, bookmark-bmenu-this-window)
12425 (bookmark-bmenu-other-window, bookmark-bmenu-switch-other-window)
12426 (bookmark-bmenu-show-annotation, bookmark-bmenu-edit-annotation)
12427 (bookmark-bmenu-rename, bookmark-bmenu-locate)
12428 (bookmark-bmenu-relocate, bookmark-bmenu-goto-bookmark):
12429 Remove unnecessary calls to `bookmark-bmenu-ensure-position'.
12431 2010-01-02 Eli Zaretskii <eliz@gnu.org>
12433 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
12434 Make the lines in the generated doc string shorter. (Bug#4668)
12436 2010-01-02 Ryan Yeske <rcyeske@gmail.com>
12438 * net/rcirc.el: Add follow-link binding (Bug#4738).
12440 2010-01-02 Eli Zaretskii <eliz@gnu.org>
12442 * Makefile.in (bzr-update): Rename from cvs-update.
12443 (cvs-update): New target for backward compatibility.
12445 * makefile.w32-in (bzr-update): Rename from cvs-update.
12446 (cvs-update): New target for backward compatibility.
12448 2010-01-02 Karl Fogel <kfogel@red-bean.com>
12450 * bookmark.el: Remove gratuitous gratitude.
12452 2010-01-02 Karl Fogel <kfogel@red-bean.com>
12454 * bookmark.el (bookmark-bmenu-any-marks): New function.
12455 (bookmark-bmenu-save): Clear buffer modification if no marks.
12457 2010-01-02 Karl Fogel <kfogel@red-bean.com>
12459 * bookmark.el (bookmark-bmenu-marks-width): Define to 1, not 2.
12460 (bookmark-bmenu-list, bookmark-bmenu-bookmark): Calculate property
12461 positions by using `bookmark-bmenu-marks-width', instead of hardcoding.
12462 This fixes the `bookmark-bmenu-execute-deletions' bug reported here:
12464 http://lists.gnu.org/archive/html/emacs-devel/2009-12/msg00819.html
12465 From: Sun Yijiang <sunyijiang {_AT_} gmail.com>
12466 To: emacs-devel {_AT_} gnu.org
12467 Subject: bookmark.el bug report
12468 Date: Mon, 28 Dec 2009 14:19:16 +0800
12469 Message-ID: 5065e2900912272219y3734fc9fsdaee41167ef99ad7@mail.gmail.com
12471 2010-01-02 Karl Fogel <kfogel@red-bean.com>
12473 * bookmark.el: Improvements suggested by Drew Adams:
12474 (bookmark-bmenu-ensure-position): New name for
12475 `bookmark-bmenu-check-position'. Just ensure the position,
12476 don't return any meaningful value.
12477 (bookmark-bmenu-header-height, bookmark-bmenu-marks-width):
12480 2010-01-02 Juanma Barranquero <lekktu@gmail.com>
12482 * bookmark.el (bookmarks-already-loaded): Doc fix (don't use `iff').
12483 (bookmark-yank-point, bookmark-bmenu-check-position):
12484 Fix typos in docstrings.
12485 (bookmark-save-flag, bookmark-bmenu-toggle-filenames)
12486 (bookmark-name-from-full-record, bookmark-get-position)
12487 (bookmark-set-position, bookmark-set, bookmark-handle-bookmark)
12488 (bookmark-delete, bookmark-save, bookmark-save, bookmark-bmenu-mode):
12489 Remove useless quoting of parenthesis, etc. in docstrings.
12491 * ediff-mult.el (ediff-prepare-meta-buffer): Fix typo in help message.
12492 (ediff-append-custom-diff): Fix typo in error message.
12493 (ediff-meta-mark-equal-files): Fix typos in messages.
12495 * mpc.el (mpc-playlist-delete): Fix typo in error messages.
12497 * net/imap-hash.el (imap-hash-make): Doc fix.
12498 (imap-hash-test): Fix typo in error message; reflow docstring.
12499 (imap-hash-p, imap-hash-get, imap-hash-put, imap-hash-make-message)
12500 (imap-hash-count, imap-hash-server, imap-hash-port, imap-hash-ssl)
12501 (imap-hash-mailbox, imap-hash-user, imap-hash-password):
12502 Fix typos in docstrings.
12503 (imap-hash-open-connection): Fix typo in error message.
12505 * play/gomoku.el (gomoku): Fix typos in docstring.
12507 * progmodes/gdb-ui.el (gdb-location-alist): Reflow docstring.
12508 (gdb-jsonify-buffer): Fix typos in docstring.
12509 (gdb-goto-breakpoint): Fix typo in error message.
12510 ("Display Other Windows"): Fix typo in help message.
12511 (gdb-speedbar-expand-node): Fix typo in question.
12513 * progmodes/idlw-help.el (idlwave-help-browse-url-available)
12514 (idlwave-html-system-help-location, idlwave-html-help-location)
12515 (idlwave-help-browser-function, idlwave-help-browser-generic-program)
12516 (idlwave-help-browser-generic-args, idlwave-help-directory)
12517 (idlwave-html-help-is-available, idlwave-help-mode-line-indicator)
12518 (idlwave-help-mode-map, idlwave-help-mode, idlwave-do-context-help)
12519 (idlwave-online-help, idlwave-help-html-link)
12520 (idlwave-help-show-help-frame, idlwave-help-assistant-command):
12521 Fix typos in docstrings.
12522 (idlwave-help-with-source, idlwave-help-find-routine-definition):
12524 (idlwave-help-assistant-start): Fix typo in error message.
12526 * progmodes/octave-mod.el (octave-mode, octave-electric-semi)
12527 (octave-electric-space): Fix typos in docstrings.
12529 2010-01-01 Chong Yidong <cyd@stupidchicken.com>
12531 * files.el (minibuffer-with-setup-hook): Doc fix (Bug#5149).
12533 2010-01-01 Juri Linkov <juri@jurta.org>
12535 * comint.el (comint-input-ring-size): Make it a defcustom and
12536 increase the default to 500 (Bug#5148).
12538 2009-12-31 Nick Roberts <nickrob@snap.net.nz>
12540 Further changes from EMACS_23_1_RC branch (2009-12-29 contd).
12541 * term/x-win.el (x-gtk-stock-map): Map some GUD buttons.
12542 * progmodes/gud.el (gud-menu-map): Add reverse-execution commands.
12544 2009-12-30 Nick Roberts <nickrob@snap.net.nz>
12546 Show working revision correctly for mercurial.
12547 * vc-hg.el (vc-hg-working-revision): Use hg parent instead of
12548 hg log as suggested by Alex Harsanyi <alexharsanyi@gmail.com>.
12550 2009-12-29 Juanma Barranquero <lekktu@gmail.com>
12552 Declare some functions for the byte-compiler.
12553 * progmodes/gdb-ui.el (speedbar-change-initial-expansion-list)
12554 (speedbar-timer-fn, speedbar-change-expand-button-char)
12555 (speedbar-delete-subblock, speedbar-center-buffer-smartly): Declare.
12557 2009-12-29 Nick Roberts <nickrob@snap.net.nz>
12559 This changeset reverts GDB Graphical Interface to use annotations.
12560 * progmodes/gdb-ui.el, progmodes/gud.el: Import from EMACS_23_1_RC.
12562 2009-12-29 Dan Nicolaescu <dann@ics.uci.edu>
12564 Make vc-dir work on subdirectories of the bzr root.
12565 * vc-bzr.el (vc-bzr-after-dir-status): Add new argument.
12566 Return file names relative to it.
12567 (vc-bzr-dir-status, vc-bzr-dir-status-files): Pass the bzr root
12568 relative directory to vc-bzr-after-dir-status.
12570 2009-12-28 Tassilo Horn <tassilo@member.fsf.org>
12572 * font-lock.el (font-lock-refresh-defaults): New function, which
12573 can be used to let font-lock react to external changes in
12574 variables like font-lock-defaults and keywords.
12575 See http://thread.gmane.org/gmane.emacs.devel/118777/focus=118802
12577 2009-12-28 Dan Nicolaescu <dann@ics.uci.edu>
12579 * vc-rcs.el (vc-rcs-register): Fix registering a specific version.
12581 * vc-bzr.el (vc-bzr-log-view-mode): Fix short log regexp.
12583 2009-12-28 Juanma Barranquero <lekktu@gmail.com>
12585 Supersede color.diff settings in git log (bug#5211).
12587 * vc-git.el (vc-git-print-log): Pass "--no-color" to log to avoid
12588 escape chars in its output when the user has color.diff set to `always'.
12589 This fix works on git 1.4.2 and newer (released on 2006-08-13).
12591 2009-12-26 Kevin Ryde <user42@zip.com.au>
12593 * info-look.el (sh-mode): Look for coreutils new "Concept Index"
12594 node. Keep previous "Index" name to work with past coreutils too.
12596 * man.el (man): Revise docstring a bit to show -a and -l as
12597 examples. Add -k description since support for it has otherwise
12598 been a secret. (Further to bug#3717.)
12599 (Man-bgproc-sentinel): When "-k foo" produces no output show error
12600 "no matches" rather than "Can't find manpage", as the latter reads
12601 like -k was interpreted as a page name, which is not so. (Bug#5431)
12603 2009-12-26 Michael Albinus <michael.albinus@gmx.de>
12605 * net/tramp.el (tramp-handle-insert-directory): Quote "'" in the
12606 switches. Check also for //SUBDIRED// line.
12608 2009-12-25 Kenichi Handa <handa@m17n.org>
12610 * language/indian.el (devanagari-composable-pattern): Fix to
12611 handle ZWNJ and ZWJ. Use it in composition-function-table for
12613 (malayalam-composable-pattern): Fix previous change.
12615 2009-12-23 Vinicius Jose Latorre <viniciusjl@ig.com.br>
12617 * ps-print.el (ps-face-attributes): It was not returning the
12618 attribute face for faces specified as string. Reported by harven
12619 <harven@free.fr>. (Bug#5254)
12620 (ps-print-version): New version 7.3.5.
12622 2009-12-18 Ulf Jasper <ulf.jasper@web.de>
12624 * calendar/icalendar.el (icalendar--convert-tz-offset):
12625 Fix timezone names.
12626 (icalendar--convert-tz-offset): Fix the "last-day-problem".
12627 (icalendar--add-diary-entry): Remove the trailing blank that
12628 diary-make-entry inserts.
12630 2009-12-17 Michael Albinus <michael.albinus@gmx.de>
12632 Make `file-expand-wildcards' work for remote files.
12634 * files.el (file-expand-wildcards): In case of remote files, check
12635 only local file name part for wildcards. Provide feature 'files
12636 and subfeature 'remote-wildcards. (Bug#5198)
12638 * net/tramp.el (tramp-handle-file-remote-p): Expand file name only
12639 if there is already an established connection.
12640 (tramp-advice-file-expand-wildcards): Remove it.
12642 * net/tramp-compat.el (top): Autoload `tramp-handle-file-remote-p'.
12643 (tramp-advice-file-expand-wildcards): Move from tramp.el.
12644 Activate advice for older GNU Emacs versions. (Bug#5237)
12646 2009-12-17 Juanma Barranquero <lekktu@gmail.com>
12648 Some doc fixes (more needed).
12650 * find-cmd.el (find-constituents): Reflow docstring.
12651 (find-cmd, find-prune, find-command): Fix typos in docstrings.
12652 (find-generic): Doc fix.
12654 2009-12-17 Juri Linkov <juri@jurta.org>
12656 Fix regression from 23.1 to allow multiple modes in Local Variables.
12658 * files.el (hack-local-variables-filter): While ignoring duplicates,
12659 don't take `mode' into account.
12660 (hack-local-variables-filter, hack-dir-local-variables):
12661 Don't remove duplicate `mode' from local-variables-alist (like `eval').
12663 2009-12-17 Juri Linkov <juri@jurta.org>
12665 Make `dired-diff' safer. (Bug#5225)
12667 * dired-aux.el (dired-diff): Signal an error when `file' equals to
12668 `current' or when `file' is a directory of the `current' file.
12670 2009-12-17 Andreas Schwab <schwab@linux-m68k.org>
12672 * emacs-lisp/autoload.el (batch-update-autoloads): Only exclude
12673 unconditionally preloaded files.
12675 2009-12-16 Juri Linkov <juri@jurta.org>
12677 Revert to old 23.1 logic of using the file at the mark as default.
12678 * dired-aux.el (dired-diff): Use the file at the mark as default
12679 if it's not the same as the current file, and the target dir is
12680 the current dir or the mark is active. Add the current file
12681 as the arg of `dired-dwim-target-defaults'. Use the default file
12682 in the prompt. (Bug#5225)
12684 2009-12-15 Michael Albinus <michael.albinus@gmx.de>
12686 * net/tramp.el (tramp-echo-mark-marker-length): New defconst.
12687 (tramp-echo-mark, tramp-echoed-echo-mark-regexp): Use it.
12688 (tramp-check-for-regexp): Check also, when an echoing shell stops
12689 to echo sent commands.
12691 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
12693 * Makefile.in: Revert last change (Bug#5191).
12695 2009-12-14 Dan Nicolaescu <dann@ics.uci.edu>
12697 * vc-hg.el (vc-hg-print-log): Fix argument order.
12698 (vc-hg-working-revision): Make sure the command is executed in a
12699 known environment so that we can parse the output. (Bug#4417)
12701 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
12703 * progmodes/python.el (python-symbol-completions): Remove text
12704 properties from symbol string before calling python-send-receive.
12706 2009-12-14 Nick Roberts <nickrob@snap.net.nz>
12708 * progmodes/gdb-mi.el (gdb-frame-handler): Only set gud-lat-frame
12709 when there are values for both file and line. (Bug#5060)
12711 2009-12-14 Juri Linkov <juri@jurta.org>
12713 * ediff-ptch.el (ediff-context-diff-label-regexp): Don't match
12714 whitespace after the file name of the first line of unified format,
12715 because git-diff doesn't output whitespace and file modification time
12716 after the file name.
12718 2009-12-14 David Kastrup <dak@gnu.org>
12720 * info.el (Info-hide-cookies-node): Before hiding a cookie,
12721 check if it already has the `display' property added by
12722 `Info-display-images-node', and not put the `invisible' property
12725 2009-12-13 Glenn Morris <rgm@gnu.org>
12727 * mail/emacsbug.el (message-sort-headers): Define for compiler.
12728 (report-emacs-bug): In message-mode, sort manually before storing
12729 original report text. (Bug#5178)
12730 Remove superfluous save-excursion.
12732 2009-12-12 Michael Albinus <michael.albinus@gmx.de>
12734 * net/dbus.el (dbus-property-handler): Filter lambda forms out
12735 when responding to "GetAll" properties.
12737 2009-12-12 Chong Yidong <cyd@stupidchicken.com>
12739 * simple.el (compose-mail): Remove mail-setup-with-from from
12740 customization checks.
12742 2009-12-12 Eli Zaretskii <eliz@gnu.org>
12744 * arc-mode.el (archive-rar-summarize): Support Attribute fields in
12745 RAR archives created on Unix systems.
12747 2009-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
12749 * minibuffer.el (minibuffer-local-must-match-filename-map): Re-instate
12750 the varalias that was accidentally removed by the 2009-11-19 change
12753 2009-12-12 Kenichi Handa <handa@m17n.org>
12755 * language/indian.el (indian-compose-regexp): New function.
12756 (malayalam-composable-pattern): Fix the pattern.
12757 (composition-function-table): Set malayalam-composable-pattern for
12758 Malayalam characters.
12760 2009-12-11 Chong Yidong <cyd@stupidchicken.com>
12762 * progmodes/bug-reference.el (bug-reference-map): Bind mouse-2
12763 rather than down-mouse-1, based on follow-link conventions.
12765 * makefile.w32-in: Ensure that Lisp files in CEDET subdirectories
12768 2009-12-11 Michael McNamara <mac@mail.brushroad.com>
12770 * progmodes/verilog-mode.el (verilog-vmm-begin-re, verilog-vmm-end-re)
12771 (verilog-vmm-statement-re, verilog-ovm-statement-re)
12772 (verilog-defun-level-not-generate-re, verilog-calculate-indent)
12773 (verilog-leap-to-head, verilog-backward-token):
12774 Fix indenting VMM macros. Reported by Jonathan Ashbrook.
12776 2009-12-11 Wilson Snyder <wsnyder@wsnyder.org>
12778 * progmodes/verilog-mode.el (verilog-auto-lineup)
12779 (verilog-nameable-item-re): Cleanup user-visible spelling and
12780 documentation errors. One reported by Gary Delp.
12781 (verilog-submit-bug-report): Mention bug tracking and CC co-author.
12782 (verilog-read-decls): Fix AUTOWIRE with types declared in a
12783 package, bug195. Reported by Pierre-David Pfister.
12785 2009-12-11 Glenn Morris <rgm@gnu.org>
12787 * progmodes/cc-engine.el (safe-pos-list): Define for compiler.
12789 * mail/emacsbug.el: No longer require sendmail.
12790 Replace sendmail's `mail-text' by `rfc822-goto-eoh'. (Bug#5174)
12791 (report-emacs-bug-orig-text): Doc fix.
12792 (report-emacs-bug-send-command, report-emacs-bug-send-hook):
12793 New local variables, to adapt to different mail-user-agents.
12794 (report-emacs-bug): Fix test for a gnu.org address.
12795 Use overlays for emphasis, since font-lock defeats 'face property.
12796 Pretest bugs also end up at the newsgroup these days.
12797 Stop message-mode stripping text properties.
12798 Set and use the new buffer-local variables.
12799 (report-emacs-bug-hook): Add doc-string.
12800 Remove some unnecessary save-excursions and simplify.
12801 Use the appropriate hook and send-command.
12803 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Standardize the
12804 capitalization of some menu entries.
12806 2009-12-10 Vinicius Jose Latorre <viniciusjl@ig.com.br>
12808 * whitespace.el (whitespace-display-char-on):
12809 Ensure `buffer-display-table' is unique when two or more windows are
12810 visible. Reported by Martin Pohlack <mp26@os.inf.tu-dresden.de>.
12813 2009-12-10 Eli Zaretskii <eliz@gnu.org>
12815 * arc-mode.el (archive-rar-summarize): Allow between 6 and 7
12816 characters in the Attribute field.
12818 2009-12-10 Dan Nicolaescu <dann@ics.uci.edu>
12820 * vc-svn.el (vc-svn-after-dir-status): Fix regexp. (Bug#4741)
12822 2009-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
12824 Let loaddefs.el adjust to changes in autoload-excludes (bug#5162).
12825 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
12826 Disregard autoload-excludes.
12827 (update-directory-autoloads): Obey autoload-excludes here instead.
12828 But don't store its contents in no-autoloads and remove entries that
12829 refer to excludes files.
12831 2009-12-10 Glenn Morris <rgm@gnu.org>
12833 * mail/feedmail.el (top-level): Move require 'mail-utils to start.
12834 (expand-mail-aliases): Define for compiler.
12836 * vc-annotate.el (log-view-vc-backend, log-view-vc-fileset):
12837 Define for compiler.
12839 * mail/emacsbug.el (report-emacs-bug): Use whichever send command is
12840 appropriate for the mail-user-agent in use.
12842 2009-12-09 Michael Albinus <michael.albinus@gmx.de>
12844 * net/tramp.el (tramp-handle-insert-directory): Suppress error messages.
12846 2009-12-09 Dan Nicolaescu <dann@ics.uci.edu>
12848 Fix short log parsing and fontification.
12849 * vc-bzr.el (vc-bzr-log-view-mode): Match dot in revision number.
12850 Fix fontification for the [merge] label.
12852 2009-12-09 Vivek Dasmohapatra <vivek@etla.org>
12854 Drop some properties to avoid surprises (bug#5002).
12855 * htmlfontify.el (hfy-ignored-properties): New defcustom.
12856 (hfy-fontify-buffer): Use it.
12858 2009-12-09 Stefan Monnier <monnier@iro.umontreal.ca>
12861 * ffap.el (ffap-symbol-value): Replace ffap-soft-value.
12862 Adjust all callers.
12863 (ffap-locate-file): Remove unused arg `dir-ok' and make other
12864 args compulsory. Adjust callers.
12865 (ffap-gopher-at-point): Remove unused var `name'.
12867 Get rid of the ELCFILES abomination.
12868 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
12869 (compile-elcfiles): New phony target.
12870 (compile-main): Compute ELCFILES dynamically.
12871 (compile-clean): New target to remove left-over elc files.
12872 (compile, all): Use it.
12874 2009-12-09 Kenichi Handa <handa@etlken>
12876 * international/mule-diag.el: Require help-mode instead of help-fns.
12878 2009-12-09 Kenichi Handa <handa@m17n.org>
12880 * international/mule-cmds.el (ucs-names): Supply sufficiently
12881 fine ranges instead of pre-calculating accurate ranges.
12882 Iterate with bigger gc-cons-threshold.
12884 2009-12-08 Dan Nicolaescu <dann@ics.uci.edu>
12886 Add support for stashing a snapshot of the current tree.
12887 * vc-git.el (vc-git-stash-snapshot): New function.
12888 (vc-git-stash-map, vc-git-extra-menu-map): Add a mapping for it.
12890 2009-12-08 Jose E. Marchesi <jemarch@gnu.org>
12892 * play/gomoku.el (gomoku-mode-map): Remap `move-(beginning|end)-of-line'
12893 instead of `(beginning|end)-of-line'.
12895 2009-12-08 Glenn Morris <rgm@gnu.org>
12897 * vc-mtn.el (vc-mtn-print-log): Fix typo in previous.
12899 * Makefile.in (ELCFILES): Regenerate.
12901 2009-12-07 Juri Linkov <juri@jurta.org>
12903 Don't lazy-highlight the comint output in history Isearch mode.
12905 * comint.el (comint-history-isearch-search): Instead of
12906 `comint-line-beginning-position', use `comint-after-pmark-p'
12907 to check if point if before the process mark, and go to
12908 `process-mark' in this case.
12910 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
12912 * textmodes/tex-mode.el (latex-complete)
12913 (latex-indent-or-complete): Remove.
12914 (latex-mode): Set completion-at-point-functions instead.
12916 Provide a standard completion command and hook it into TAB.
12917 * minibuffer.el (completion-at-point-functions): New var.
12918 (completion-at-point): New command.
12919 * indent.el (indent-for-tab-command): Handle the `complete' behavior.
12920 * progmodes/python.el (python-mode-map): Use completion-at-point.
12921 (python-completion-at-point): Rename from python-partial-symbol and
12922 adjust for use in completion-at-point-functions.
12923 (python-mode): Setup completion-at-point for Python completion.
12924 * emacs-lisp/lisp.el (lisp-completion-at-point): New function
12925 extracted from lisp-complete-symbol.
12926 (lisp-complete-symbol): Use it.
12927 * emacs-lisp/lisp-mode.el (emacs-lisp-mode): Use define-derived-mode,
12928 setup completion-at-point for Elisp completion.
12929 (emacs-lisp-mode-map, lisp-interaction-mode-map):
12930 Use completion-at-point.
12931 * ielm.el (ielm-map): Use completion-at-point.
12932 (inferior-emacs-lisp-mode): Setup completion-at-point-functions.
12933 * progmodes/sym-comp.el: Move to...
12934 * obsolete/sym-comp.el: Move from progmodes.
12936 2009-12-07 Eli Zaretskii <eliz@gnu.org>
12938 Prevent save-buffer in Rmail buffers from using the coding-system
12939 of the current message, and from clobbering the encoding mnemonics
12940 in the mode line (Bug#4623).
12942 * mail/rmail.el (rmail-swap-buffers): Swap encoding and modified
12944 (rmail-message-encoding): New variable.
12945 (rmail-write-region-annotate): Record the encoding of the current
12946 message in rmail-message-encoding.
12947 (rmail-after-save-hook): New function, restores the encoding of
12948 the current message after the message collection is saved.
12950 2009-12-07 Juri Linkov <juri@jurta.org>
12952 * progmodes/grep.el (grep-read-files): Use `completing-read'
12953 instead of `read-string'. Set its `collection' arg to
12954 `read-file-name-internal'. (Bug#4301)
12956 2009-12-07 Juri Linkov <juri@jurta.org>
12958 Correctly restore original Isearch point. (Bug#4994)
12960 * isearch.el (isearch-mode): Move `isearch-push-state' after
12961 `(run-hooks 'isearch-mode-hook)'.
12962 (isearch-cancel): When `isearch-push-state-function' is defined,
12963 let-bind `isearch-cmds' to the first state (the last element of
12964 `isearch-cmds') and call `isearch-top-state' (it calls pop-state
12965 function and restores the original point). Otherwise, move point
12966 to `isearch-opoint'.
12968 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
12970 * international/mule-cmds.el (ucs-names): Weed out at compile-time the
12971 chars that don't have names, so the table can be built much faster at
12974 2009-12-07 Chong Yidong <cyd@stupidchicken.com>
12976 * vc-bzr.el (vc-bzr-annotate-command): More elegant form for last
12977 change. Suggested by David Kastrup.
12979 * simple.el (compose-mail): Check for incompatibilities and warn.
12980 (compose-mail-user-agent-warnings): New option.
12982 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
12984 Support showing a single log entry from vc-annotate.
12985 * vc.el (print-log): Add a new argument: START-REVISION.
12986 (vc-print-log-internal): Add a new optional argument and
12987 pass it to the backend.
12988 (vc-print-log, vc-print-root-log): Adjust callers.
12989 * vc-annotate.el (vc-annotate-show-log-revision-at-line): If a
12990 buffer already displays the requested log entry, use it.
12991 Otherwise display only the log entry in question.
12992 * vc-svn.el (vc-svn-print-log):
12993 * vc-mtn.el (vc-mtn-print-log):
12994 * vc-hg.el (vc-hg-state):
12995 * vc-git.el (vc-git-print-log): Add support for new argument START-REVISION.
12996 (vc-git-show-log-entry): Return t on success.
12997 * vc-bzr.el (vc-bzr-print-log): Add support new argument START-REVISION.
12998 (vc-bzr-show-log-entry): Return t on success.
12999 * vc-rcs.el (vc-rcs-print-log):
13000 * vc-sccs.el (vc-sccs-print-log):
13001 * vc-cvs.el (vc-cvs-print-log): Add new argument, ignore it.
13003 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
13005 * ediff-mult.el (ediff-setup-meta-map, ediff-prepare-meta-buffer):
13006 Add menus to the meta mode. (Bug#5043)
13008 2009-12-07 Michael Kifer <kifer@cs.stonybrook.edu>
13010 * ediff-init.el (ediff-event-key): Use event-to-character instead of
13013 * ediff.el (ediff-buffers-internal): Add unwind-protect.
13015 2009-12-07 Michael Albinus <michael.albinus@gmx.de>
13017 Handle prompt rules of ksh in OpenBSD 4.5. Reported by Raphaël
13018 Berbain <raphael.berbain@gmail.com>.
13020 * net/tramp.el (tramp-end-of-output): Move up. Use `#' and `$'
13022 (tramp-initial-end-of-output): New defconst.
13023 (tramp-methods, tramp-find-shell)
13024 (tramp-open-connection-setup-interactive-shell)
13025 (tramp-maybe-open-connection): Use it.
13026 (tramp-shell-prompt-pattern, tramp-wait-for-output):
13027 Handle existence of `#' and `$'.
13029 * net/tramp-fish.el (tramp-fish-maybe-open-connection):
13030 Use `tramp-initial-end-of-output'.
13032 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
13034 Get the background mode from the terminal for xterm, and set
13036 * term/xterm.el (xterm-set-background-mode): New function.
13037 (terminal-init-xterm): Use it in case xterm supports background
13038 color queries. Recompute faces after getting the background
13041 2009-12-07 Ulrich Mueller <ulm@gentoo.org>
13043 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Put the version
13044 number comment back on its own line, for easier parsing.
13046 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
13048 Make it work for non-file buffers (bug#5102).
13049 * doc-view.el (doc-view-current-cache-dir):
13050 Use doc-view-buffer-file-name rather than buffer-file-name.
13051 (doc-view-mode): Use buffer-name when buffer-file-name is nil.
13053 2009-12-06 Óscar Fuentes <ofv@wanadoo.es>
13055 * vc-bzr.el (vc-bzr-annotate-command): Handle the case where the
13056 author field is too short.
13058 2009-12-06 Dan Nicolaescu <dann@ics.uci.edu>
13060 * vc-git.el (vc-git-print-log): Handle a limit argument.
13061 Display the short log in graph form and with labels.
13062 (vc-git-log-view-mode): Handle labels.
13064 Make vc-revert change VC state from 'added to 'unregistered.
13065 * vc-git.el (vc-git-revert): Call git reset first.
13067 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
13069 * net/newst-backend.el, net/newst-plainview.el:
13070 * net/newst-reader.el, net/newst-ticker.el:
13071 * net/newst-treeview.el, net/newsticker.el:
13072 Require/provide newst-... (instead of newsticker-...). (Bug#5096)
13074 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
13076 * log-view.el (log-view-mode-map): Bind "=" to log-view-diff too.
13078 * vc-bzr.el (vc-bzr-annotate-command): Show author in annotation.
13079 Handle empty author field (Bug#4144). Suggested by Óscar Fuentes.
13080 (vc-bzr-annotate-time, vc-bzr-annotate-extract-revision-at-line):
13081 Update annotation regexp.
13083 * simple.el (beginning-of-visual-line): Constrain to field
13084 boundaries (Bug#5106).
13086 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
13088 * xml.el (xml-substitute-numeric-entities):
13089 Move newsticker--decode-numeric-entities in newst-backend.el to
13090 xml-substitute-numeric-entities in xml.el. (Bug#5008)
13091 * net/newst-backend.el (newsticker--parse-generic-feed)
13092 (newsticker--parse-generic-items)
13093 (newsticker--decode-numeric-entities):
13094 Move newsticker--decode-numeric-entities in newst-backend.el to
13095 xml-substitute-numeric-entities in xml.el. (Bug#5008)
13097 2009-12-06 Daniel Colascione <dan.colascione@gmail.com>
13099 * progmodes/js.el (js--js-not): Add null to the list of values.
13101 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
13103 * ansi-color.el (ansi-color-for-comint-mode): Add :version keyword.
13105 2009-12-06 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
13107 * textmodes/bibtex.el (bibtex-enclosing-field): Exclude entry
13108 delimiter if it is at the end of the current line.
13109 (bibtex-generate-url-list): Fix docstring.
13111 2009-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
13113 * minibuffer.el (minibuffer-complete-and-exit): Don't replace the
13114 minibuffer's content with itself.
13115 Fold the confirm-after-completion case into the `confirm' case.
13116 (completion-pcm-word-delimiters): Add : and / to the delimiters.
13118 2009-12-06 Kevin Ryde <user42@zip.com.au>
13120 * ffap.el (ffap-rfc-path): Make this a defcustom since
13121 `ffap-rfc-directories' is also a defcustom. (Bug#4514.)
13123 * info-look.el: Add setup for apropos-mode to use emacs-lisp-mode
13124 manuals, similar to existing setup for help-mode. (Bug#3913.)
13126 2009-12-05 Juri Linkov <juri@jurta.org>
13128 Save and restore dired buffer's point positions too. (Bug#4880)
13130 * dired.el (dired-save-positions): Return in the first element
13131 buffer's position in format (BUFFER DIRED-FILENAME BUFFER-POINT).
13133 (dired-restore-positions): First restore buffer's position.
13134 While restoring window's positions, check if window still displays
13135 the original buffer.
13137 2009-12-05 Chong Yidong <cyd@stupidchicken.com>
13139 * bindings.el (complete-symbol): Call semantic-ia-complete-symbol
13142 * shell.el (shell): Require ansi-color (Bug#5113).
13144 * ansi-color.el (ansi-color-for-comint-mode): Default to t.
13146 * hl-line.el (global-hl-line-highlight): Minor doc fix (Bug#4925).
13148 2009-12-05 Alan Mackenzie <acm@muc.de>
13150 * progmodes/cc-mode.el (c-before-hack-hook)
13151 (c-postprocess-file-styles): Revert change 2009-07-18T21:03:43Z!acm@muc.de to permit
13152 `c-file-style' to work again. This reversion restores the current
13153 software to its state in Emacs 23.1. (Bug#4146)
13155 2009-12-05 Kevin Ryde <user42@zip.com.au>
13157 * textmodes/sgml-mode.el (sgml-lexical-context):
13158 Recognise comment-start-skip to comment-end-skip as comment (Bug#4781).
13160 2009-12-05 Juri Linkov <juri@jurta.org>
13162 * info.el (Info-find-node-2): Set `Info-current-subfile' to nil
13163 for virtual nodes. (Bug#4147)
13164 (Info-find-node-2): Set `Info-current-node-virtual' to nil
13165 when moving from a virtual node.
13166 (Info-mode-menu): Add `Info-virtual-index' to the menu.
13167 (Info-mode): Add `Info-virtual-index' to the docstring.
13169 2009-12-05 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
13171 * textmodes/bibtex.el (bibtex-map-entries): Use marker to keep
13172 track of the buffer position of the end of a BibTeX entry as this
13173 position may change during reformatting.
13174 (bibtex-format-entry): Remove whitespace before processing
13175 numerical fields so that we recognize the latter properly.
13176 (bibtex-reformat): Do not use push which changes the global value
13177 of bibtex-entry-format.
13178 (bibtex-field-braces-alist, bibtex-field-strings-alist)
13179 (bibtex-field-re-init): Replace only space characters by regexp
13181 (bibtex-generate-url-list, bibtex-cite-matcher-alist): Fix docstring.
13182 (bibtex-initialize): Also update bibtex-strings.
13183 (bibtex-kill-field): Preserve white space at end of entry.
13184 (bibtex-kill-entry, bibtex-yank-pop, bibtex-insert-kill):
13185 Update bibtex-reference-keys.
13187 2009-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
13189 * minibuffer.el (completion-pcm--merge-try): Also consider placing
13190 point after a star, if that's the only place where modifications can
13193 2009-12-05 Dan Nicolaescu <dann@ics.uci.edu>
13195 * vc-dir.el (vc-dir): Use the correct markup for showing keymaps
13198 2009-12-04 Juri Linkov <juri@jurta.org>
13200 * proced.el (proced): Call `(proced-update t)' to update process
13201 information instead of only running proced-post-display-hook.
13202 (proced-send-signal): Add a leading space to the buffer name
13203 " *Marked Processes*" to make this buffer ephemeral.
13205 2009-12-04 Juri Linkov <juri@jurta.org>
13207 * dired.el (dired-auto-revert-buffer): New defcustom.
13208 (dired-internal-noselect): Use it.
13210 2009-12-04 Juri Linkov <juri@jurta.org>
13212 Change roles of modes and functions in image-mode.el (Bug#5062).
13214 * image-mode.el: Replace `image-mode-maybe' with `image-mode'
13215 in `auto-mode-alist'.
13216 (image-mode-previous-major-mode): New variable.
13217 (image-minor-mode-map): Rename from `image-mode-text-map'.
13218 (image-mode): Move graceful error-handling code from
13219 `image-minor-mode' to here. On errors call `image-mode-as-text'.
13220 (image-minor-mode): Remove all image-handling code.
13221 Replace `image-mode-text-map' with `image-minor-mode-map'.
13222 Check for `image-type' in mode-line format string.
13223 (image-mode-maybe): Make obsolete with an alias to `image-mode'.
13224 (image-mode-as-text): New function with most code from
13225 `image-mode-maybe'.
13226 (image-toggle-display-text): Move code that removes image
13227 properties from `image-toggle-display' to here.
13228 (image-toggle-display-image): New function with code that adds
13229 image properties copied from `image-toggle-display'.
13230 (image-toggle-display): Remove most code with leaving only code
13231 that toggles between `image-mode-as-text' and `image-mode'.
13233 2009-12-04 Ulf Jasper <ulf.jasper@web.de>
13235 * net/newst-treeview.el
13236 (newsticker--treeview-list-highlight-start): Restored call to
13237 save-excursion: Selected item was stuck.
13238 (newsticker--treeview-list-select): New.
13239 (newsticker--treeview-item-show-text)
13240 (newsticker--treeview-item-show)
13241 (newsticker--treeview-item-update): Use new
13242 newsticker-treeview-item-mode.
13243 (newsticker-treeview-update): Keep current item.
13244 (newsticker-treeview-next-new-or-immortal-item): Doc change.
13245 (newsticker--treeview-first-feed): Doc change.
13246 (newsticker-treeview-list-menu)
13247 (newsticker-treeview-item-menu): Add menu entries.
13248 (newsticker-treeview-item-mode): New.
13250 * net/newst-backend.el (newsticker-customize): Delete other
13253 2009-12-04 Sam Steingold <sds@gnu.org>
13255 * log-view.el (log-view-mode-map): "q" calls quit-window,
13256 like in all the other non-self-insert buffers.
13258 2009-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
13261 * term.el (term-send-raw, term-send-raw-meta): Use read-key-sequence's
13262 key decoding rather than do it manually via last-input-event +
13264 (term-exec): Use delete-and-extract-region.
13265 (term-handle-ansi-terminal-messages): Remove unused var `end'.
13266 (term-process-pager): Remove unused var `i'.
13267 (term-dynamic-simple-complete): Make obsolete.
13268 (serial-update-config-menu): Remove unused vars `y' and `str'.
13269 (term-update-mode-line): Remove unused var `temp'.
13271 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
13273 Limit the number of log entries displayed by default.
13274 * vc.el (vc-print-log-internal): Fix check for limit-unsupported.
13275 (vc-print-log, vc-print-root-log): Use vc-log-show-limit when not
13276 using a prefix argument.
13278 2009-12-03 Glenn Morris <rgm@gnu.org>
13280 * progmodes/idlwave.el (class): Restore still useful declaration.
13282 2009-12-03 Alan Mackenzie <acm@muc.de>
13284 Enhance `c-parse-state' to run efficiently in "brace deserts".
13286 * progmodes/cc-mode.el (c-basic-common-init):
13287 Call c-state-cache-init.
13288 (c-neutralize-syntax-in-and-mark-CPP): Rename from
13289 c-extend-and-neutralize-syntax-in-CPP. Mark each CPP construct by
13290 placing `category' properties value 'c-cpp-delimiter at its boundaries.
13292 * progmodes/cc-langs.el (c-before-font-lock-function):
13293 c-extend-and-neutralize-syntax-in-CPP has been renamed
13294 c-neutralize-syntax-in-and-mark-CPP.
13296 * progmodes/cc-fonts.el (c-cpp-matchers): Mark template brackets
13297 with `category' properties now, not `syntax-table' ones.
13299 * progmodes/cc-engine.el (c-syntactic-end-of-macro): A new
13300 enhanced (but slower) version of c-end-of-macro that won't land
13301 inside a literal or on another awkward character.
13302 (c-state-cache-too-far, c-state-cache-start)
13303 (c-state-nonlit-pos-interval, c-state-nonlit-pos-cache)
13304 (c-state-nonlit-pos-cache-limit, c-state-point-min)
13305 (c-state-point-min-lit-type, c-state-point-min-lit-start)
13306 (c-state-min-scan-pos, c-state-brace-pair-desert)
13307 (c-state-old-cpp-beg, c-state-old-cpp-end): New constants and
13308 buffer local variables.
13309 (c-state-literal-at, c-state-lit-beg)
13310 (c-state-cache-non-literal-place, c-state-get-min-scan-pos)
13311 (c-state-mark-point-min-literal, c-state-cache-top-lparen)
13312 (c-state-cache-top-paren, c-state-cache-after-top-paren)
13313 (c-get-cache-scan-pos, c-get-fallback-scan-pos)
13314 (c-state-balance-parens-backwards, c-parse-state-get-strategy)
13315 (c-renarrow-state-cache)
13316 (c-append-lower-brace-pair-to-state-cache)
13317 (c-state-push-any-brace-pair, c-append-to-state-cache)
13318 (c-remove-stale-state-cache)
13319 (c-remove-stale-state-cache-backwards, c-state-cache-init)
13320 (c-invalidate-state-cache-1, c-parse-state-1)
13321 (c-invalidate-state-cache): New defuns/defmacros/defsubsts.
13322 (c-parse-state): Enhance and refactor.
13323 (c-debug-parse-state): Amend to deal with all the new variables.
13325 * progmodes/cc-defs.el (c-<-as-paren-syntax, c-mark-<-as-paren)
13326 (c->-as-paren-syntax, c-mark->-as-paren, c-unmark-<->-as-paren):
13327 modify to use category text properties rather than syntax-table ones.
13328 (c-suppress-<->-as-parens, c-restore-<->-as-parens): New defsubsts
13329 to switch off/on the syntactic paren property of C++ template
13330 delimiters using the category property.
13331 (c-with-<->-as-parens-suppressed): Macro to invoke code with
13332 template delims suppressed.
13333 (c-cpp-delimiter, c-set-cpp-delimiters, c-clear-cpp-delimiters):
13334 New constant/macros which apply category properties to the start
13335 and end of preprocessor constructs.
13336 (c-comment-out-cpps, c-uncomment-out-cpps): Defsubsts which
13337 "comment out" the syntactic value of characters in preprocessor
13339 (c-with-cpps-commented-out)
13340 (c-with-all-but-one-cpps-commented-out): Macros to invoke code
13341 with characters in all or all but one preprocessor constructs
13344 2009-12-03 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
13346 * proced.el (proced-filter-alist): Use regexp-quote.
13348 2009-12-03 Michael Albinus <michael.albinus@gmx.de>
13351 * eshell/em-unix.el (top): Require 'esh-opt and 'pcomplete.
13352 (eshell/su, eshell/sudo): Require 'tramp. Fix problems reading
13353 arguments. Expand `default-directory'.
13355 * net/tramp.el (tramp-handle-file-remote-p): Expand FILENAME for
13356 the benefit of returning an expanded localname.
13357 (tramp-tramp-file-p): Handle the case NAME is not a string.
13359 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
13361 Add support for bzr shelve/unshelve.
13362 * vc-bzr.el (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
13363 (vc-bzr-extra-menu-map): New variables.
13364 (vc-bzr-extra-menu, vc-bzr-extra-status-menu, vc-bzr-shelve)
13365 (vc-bzr-shelve-apply, vc-bzr-shelve-list)
13366 (vc-bzr-shelve-get-at-point, vc-bzr-shelve-delete-at-point)
13367 (vc-bzr-shelve-apply-at-point, vc-bzr-shelve-menu): New functions.
13368 (vc-bzr-dir-extra-headers): Display shelves.
13370 * vc-bzr.el (vc-bzr-print-log): Deal with nil arguments better.
13372 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
13374 * textmodes/bibtex.el (bibtex-complete-internal):
13375 Use completion-in-region.
13376 (bibtex-text-in-field-bounds): Remove unused var `opoint'.
13378 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
13380 Support applying stashes. Improve UI.
13381 * vc-git.el (vc-git-dir-extra-headers): Add tooltips.
13382 (vc-git-stash-apply, vc-git-stash-pop)
13383 (vc-git-stash-apply-at-point, vc-git-stash-pop-at-point)
13384 (vc-git-stash-menu): New functions.
13385 (vc-git-stash-menu-map): New variable.
13386 (vc-git-stash-map): Add bindings to popup a menu and to apply stashes.
13388 2009-12-03 Glenn Morris <rgm@gnu.org>
13390 * vc.el (log-view-vc-backend, log-view-vc-fileset): Declare.
13391 (vc-print-log-internal): Fix previous change.
13392 (vc-revert): Correct pluralization.
13394 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
13396 * progmodes/make-mode.el (makefile-special-targets-list): No need for
13397 it to be an alist any more.
13398 (makefile-complete): Use completion-in-region.
13400 * progmodes/octave-mod.el (octave-complete-symbol):
13401 Use completion-in-region.
13404 * progmodes/idlwave.el (idlwave-comment-hook): Simplify with `or'.
13405 (idlwave-code-abbrev, idlwave-display-user-catalog-widget)
13406 (idlwave-complete-class): Don't quote lambda.
13407 (idlwave-find-symbol-syntax-table, idlwave-mode-syntax-table)
13408 (idlwave-mode-map): Move initialization into declaration.
13409 (idlwave-action-and-binding): Use backquotes.
13410 (idlwave-in-quote, idlwave-reset-sintern, idlwave-complete-in-buffer):
13412 (idlwave-is-pointer-dereference): Remove unused var `pos'.
13413 (idlwave-xml-create-rinfo-list): Remove unused var `entry'.
13414 (idlwave-convert-xml-clean-sysvar-aliases): Remove unused vars `new',
13415 `parts', and `all-parts'.
13416 (idlwave-xml-create-sysvar-alist): Remove unused var `fields'.
13417 (idlwave-convert-xml-system-routine-info): Remove unused string
13419 (idlwave-display-user-catalog-widget): Use dolist.
13420 (idlwave-scanning-lib): Declare dynamically-scoped var.
13421 (idlwave-scan-library-catalogs): Remove unused var `flags'.
13422 (completion-highlight-first-word-only): Declare to silence bytecomp.
13423 (idlwave-popup-select): Tighten scope of `resp'.
13424 (idlwave-find-struct-tag): Remove unused var `beg'.
13425 (idlwave-after-load-rinfo-hook): Declare.
13426 (idlwave-sintern-class-info): Remove unused var `taglist'.
13427 (idlwave-find-class-definition): Remove unused var `list'.
13428 (idlwave-complete-sysvar-tag-help): Remove unused var `main-base'.
13429 (idlwave-what-module-find-class): Remove unused var `classes'.
13431 2009-12-03 Juanma Barranquero <lekktu@gmail.com>
13433 * progmodes/pascal.el: Require CL when compiling (for lexical-let).
13435 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
13437 * hippie-exp.el (try-expand-dabbrev-visible): Preserve point in the
13438 buffers visited. Remove redundant current-buffer-saving.
13440 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
13442 Use completion-in-buffer and remove uses of dynamic scoping.
13443 * progmodes/pascal.el (pascal-str, pascal-all, pascal-pred)
13444 (pascal-buffer-to-use, pascal-flag): Don't declare.
13445 (pascal-func-completion, pascal-type-completion, pascal-var-completion)
13446 (pascal-get-completion-decl, pascal-keyword-completion):
13447 Add `pascal-str' argument, save-excursion,
13448 return the found completions, and don't filter with pascal-pred.
13449 (pascal-completion-cache): New var.
13450 (pascal-completion): Don't switch buffer any more (it was never
13451 necessary). Don't save-excursion any more (it's done by the called
13452 subroutines). Use a cache to avoid redundant computations.
13453 Use complete-with-action rather than pascal-completion-response and
13454 let it apply the predicate as well.
13455 (pascal-complete-word): Use completion-in-buffer when
13456 pascal-toggle-completions is nil.
13457 (pascal-show-completions): Don't bind pascal-buffer-to-use since it's
13459 (pascal-comp-defun): Don't change buffer any more.
13460 Use complete-with-action rather than pascal-completion-response and
13461 let it apply the predicate as well.
13462 (pascal-goto-defun): Change buffer before calling pascal-comp-defun
13465 2009-12-02 Kenichi Handa <handa@m17n.org>
13467 * language/indian.el: Include ZWJ and ZWNJ in the patterns to
13468 shape for all Indic scripts.
13470 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
13472 Use completion-in-buffer.
13473 * wid-edit.el (widget-field-text-end): New function.
13474 (widget-field-value-get): Use it.
13475 (widget-string-complete, widget-file-complete)
13476 (widget-color-complete): Use it and completion-in-region.
13477 (widget-complete): Don't narrow the buffer.
13479 2009-12-02 Glenn Morris <rgm@gnu.org>
13481 * mail/rmail.el (rmail-pop-to-buffer): New function. (Bug#2282)
13482 (rmail-select-summary): Use rmail-pop-to-buffer.
13483 * mail/rmailsum.el: Replace all pop-to-buffer calls with
13484 rmail-pop-to-buffer, to prevent horizontal splits.
13486 * calendar/diary-lib.el (diary-list-entries): Replace superfluous
13487 save-excursion with save-current-buffer.
13488 Widen before searching. (Bug#5093)
13489 (diary-list-sexp-entries): Remove superfluous save-excursion.
13491 2009-12-02 Michael Welsh Duggan <mwd@cert.org>
13493 * woman.el (woman-make-bufname): Handle man-pages with "." in the
13496 2009-12-02 Andreas Politz <politza@fh-trier.de> (tiny change)
13498 * ido.el (ido-file-internal): Handle filenames at point that do
13499 not have a directory part. (Bug#5049)
13501 2009-12-02 Juanma Barranquero <lekktu@gmail.com>
13503 * mpc.el (mpc-intersection, mpc-host, mpc-songs-playlist)
13504 (mpc-songs-jump-to, mpc-resume): Doc fixes.
13506 2009-12-01 Rob Riepel <riepel@networking.Stanford.EDU>
13508 * emulation/tpu-extras.el (tpu-cursor-free-mode): Emit message.
13509 (tpu-set-cursor-free, tpu-set-cursor-bound): Don't emit a message
13512 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
13514 * comint.el (comint-insert-input): Ignore clicks to the right of
13515 the field. Reported by Bob Nnamtrop <bobnnamtrop@gmail.com>.
13517 * vc.el (vc-print-log-internal): Don't wait for the process to
13518 terminate before setting up the major mode.
13520 * pcmpl-unix.el (pcomplete/cd): Complete more than one argument, just
13523 * pcomplete.el (pcomplete-std-complete): Don't try to complete past
13526 * simple.el (normal-erase-is-backspace-mode): Fix thinko in message.
13528 2009-12-01 Glenn Morris <rgm@gnu.org>
13530 * window.el (window--display-buffer-2): Fix previous changes.
13532 2009-12-01 Chong Yidong <cyd@stupidchicken.com>
13534 * mail/sendmail.el (mail-setup-hook, mail-send-hook): Doc fixes.
13536 2009-12-01 Glenn Morris <rgm@gnu.org>
13538 * Makefile.in (ELCFILES): Add mpc.elc.
13540 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
13542 * mpc.el: New file.
13544 2009-12-01 Glenn Morris <rgm@gnu.org>
13546 * window.el (window-to-use): Define for compiler.
13548 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Make message
13549 consistent with others (no final period).
13551 * mail/rmailmm.el (rmail-mime-handle): Doc fix.
13552 (rmail-mime-show): Downcase the encoding. (Bug#5070)
13554 2009-12-01 Dan Nicolaescu <dann@ics.uci.edu>
13556 Make vc-print-log buttons work.
13557 * log-view.el (log-view-mode-map): Inherit from widget-keymap.
13559 2009-11-30 Ryan C. Thompson <rct@thompsonclan.org> (tiny change)
13561 * savehist.el (savehist-autosave-interval): Allow setting to nil
13562 through customize. (Bug#5056)
13564 2009-11-30 Juanma Barranquero <lekktu@gmail.com>
13566 Fix references to jit-lock properties.
13567 * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
13568 Refer to jit-lock-defer-multiline, not jit-lock-multiline.
13569 (perl-font-lock-special-syntactic-constructs):
13570 Quote jit-lock-defer-multiline property.
13572 2009-11-30 Dan Nicolaescu <dann@ics.uci.edu>
13574 * vc-git.el (vc-git-registered): Call vc-git-root only once.
13576 2009-11-30 Juri Linkov <juri@jurta.org>
13578 * misearch.el (multi-isearch-search-fun): Always provide a non-nil
13579 value `buffer' of `multi-isearch-next-buffer-current-function'.
13580 Use `(current-buffer)' when `buffer' is nil.
13581 (multi-isearch-next-buffer-from-list): Don't fallback to
13582 `(current-buffer)' when `buffer' is nil. (Bug#4947)
13584 2009-11-30 Juri Linkov <juri@jurta.org>
13586 * misearch.el (multi-isearch-read-buffers): Move canonicalization
13587 of buffers with `get-buffer' to `multi-isearch-buffers'.
13588 (multi-isearch-buffers, multi-isearch-buffers-regexp):
13589 Canonicalize BUFFERS with `get-buffer'. Doc fix.
13590 (multi-isearch-files, multi-isearch-files-regexp): Canonicalize
13591 FILES with `expand-file-name' converting relative file names
13592 to absolute. Doc fix. (Bug#4727)
13594 2009-11-30 Juri Linkov <juri@jurta.org>
13596 * misearch.el (multi-isearch-read-buffers)
13597 (multi-isearch-read-matching-buffers): New functions.
13598 (multi-isearch-buffers, multi-isearch-buffers-regexp):
13599 Use them in the `interactive' spec. Doc fix.
13600 (multi-isearch-read-files, multi-isearch-read-matching-files):
13602 (multi-isearch-files, multi-isearch-files-regexp):
13603 Use them in the `interactive' spec. Doc fix. (Bug#4725)
13605 2009-11-30 Juri Linkov <juri@jurta.org>
13607 * doc-view.el (doc-view-continuous):
13608 Rename from `doc-view-continuous-mode'.
13609 (doc-view-menu): Move "Toggle display" to the top.
13610 Add submenu "Continuous" with radio buttons "Off"/"On"
13611 and "Save as Default".
13612 (doc-view-scroll-up-or-next-page)
13613 (doc-view-scroll-down-or-previous-page)
13614 (doc-view-next-line-or-next-page)
13615 (doc-view-previous-line-or-previous-page):
13616 Rename `doc-view-continuous-mode' to `doc-view-continuous'. (Bug#4896)
13618 2009-11-30 Juri Linkov <juri@jurta.org>
13620 * comint.el (comint-mode-map): Rebind `M-r' from
13621 `comint-previous-matching-input' to
13622 `comint-history-isearch-backward-regexp'.
13623 Unbind `M-s' to allow global key binding `M-s'.
13624 Add menu items for `comint-history-isearch-backward' and
13625 `comint-history-isearch-backward-regexp'. (Bug#3746)
13627 2009-11-30 Juri Linkov <juri@jurta.org>
13629 * replace.el (perform-replace): Let-bind recenter-last-op to nil.
13630 For def=recenter, replace `recenter' with `recenter-top-bottom'
13631 that is called with `this-command' and `last-command' let-bound
13632 to `recenter-top-bottom'. When the last `def' was not `recenter',
13633 set `recenter-last-op' to nil. (Bug#4981)
13635 2009-11-30 Stefan Monnier <monnier@iro.umontreal.ca>
13637 Minor cleanup and simplification.
13638 * filecache.el (file-cache-add-directory)
13639 (file-cache-add-directory-recursively)
13640 (file-cache-add-from-file-cache-buffer)
13641 (file-cache-delete-file-regexp, file-cache-delete-directory)
13642 (file-cache-files-matching-internal, file-cache-display): Use dolist.
13643 (file-cache-temp-minibuffer-message): Delete function.
13644 (file-cache-minibuffer-complete): Use minibuffer-message instead.
13646 * progmodes/perl-mode.el (perl-font-lock-special-syntactic-constructs):
13647 Don't signal an error when bumping into EOB in tr, s, or y.
13649 2009-11-29 Juri Linkov <juri@jurta.org>
13651 * startup.el (fancy-about-text): Fix wording of Guided Tour.
13654 * descr-text.el (describe-char-unidata-list): Use lowercase name
13655 for "Unicode name" like in other tags.
13657 2009-11-29 Juri Linkov <juri@jurta.org>
13659 * ediff-util.el (ediff-minibuffer-with-setup-hook):
13660 New compatibility macro.
13661 (ediff-read-file-name): Use it instead of `minibuffer-with-setup-hook'.
13663 2009-11-29 Juri Linkov <juri@jurta.org>
13665 Add defcustom to define the cycling order of `recenter-top-bottom'.
13668 * window.el (recenter-last-op): Doc fix.
13669 (recenter-positions): New defcustom.
13670 (recenter-top-bottom): Rewrite to use `recenter-positions'.
13671 (move-to-window-line-top-bottom): Rewrite to use `recenter-positions'.
13673 2009-11-29 Michael Albinus <michael.albinus@gmx.de>
13675 Improve integration of Tramp and ange-ftp in eshell.
13677 * eshell/em-unix.el (eshell/whoami): Make it a defun but a defalias.
13678 (eshell/su): Flatten args. Apply better args parsing. Use "cd".
13679 (eshell/sudo): Flatten args. Let-bind `default-directory'.
13681 * eshell/esh-util.el (top): Require also Tramp when compiling.
13682 (eshell-directory-files-and-attributes): Check for FTP remote
13684 (eshell-parse-ange-ls): Let-bind `ange-ftp-name-format',
13685 `ange-ftp-ftp-name-arg', `ange-ftp-ftp-name-res'.
13686 (eshell-file-attributes): Handle ".". Return `entry'.
13688 * net/ange-ftp.el (ange-ftp-parse-filename): Use `save-match-data'.
13689 (ange-ftp-directory-files-and-attributes)
13690 (ange-ftp-real-directory-files-and-attributes): New defuns.
13692 * net/tramp.el (tramp-maybe-open-connection): Open the remote
13693 shell with "exec" when possible. This prevents trailing prompts
13694 in `start-file-process'.
13696 2009-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
13698 Try and remove assumptions about point-min==1.
13699 * nxml/rng-valid.el (rng-validate-mode): Don't hardcode point-min==1.
13700 (rng-compute-mode-line-string): Show the validation percentage in
13701 terms of the narrowed text, not the widened text.
13702 (rng-do-some-validation): Don't catch internal errors when debugging.
13703 (rng-first-error): Simplify.
13704 (rng-after-change-function): Remove work around. AFAIK the bug has
13705 been fixed a while ago.
13707 * image-mode.el (image-minor-mode): Exit more gracefully when the image
13708 cannot be displayed (e.g. when doing C-x C-f some-new-file.svg RET).
13710 * man.el (Man-completion-table): Make it easier to enter "<sec> <name>".
13712 * eshell/em-prompt.el (eshell-prompt-function): Abbreviate pwd, since
13713 `cd' doesn't always do it for us (bug#5067).
13715 * pcomplete.el (pcomplete-entries): Revert change installed mistakenly
13716 on 2009-10-25 as part of some other change (bug#5067).
13718 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
13720 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
13722 (byte-compile-warnings): Use byte-compile-warning-types.
13723 (byte-compile-save-excursion): Warn about use of set-buffer right
13724 after save-excursion.
13726 * progmodes/gud.el (gud-basic-call): Don't only save the buffer but
13727 the excursion as well.
13729 2009-11-27 Michael Albinus <michael.albinus@gmx.de>
13731 * eshell/em-unix.el (eshell/su, eshell/sudo): New defuns,
13732 providing a Tramp related implementation of "su" and "sudo".
13733 (eshell-unix-initialize): Add "su" and "sudo".
13735 2009-11-27 Daiki Ueno <ueno@unixuser.org>
13737 * net/socks.el (socks-send-command): Convert binary request to
13738 unibyte before sending. This fixes mishandling of some port
13739 numbers such as 129.
13741 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
13743 * help.el (describe-bindings-internal): Remove `interactive'.
13745 * man.el (Man-completion-table): Trim a terminating "(".
13746 Remove the space between name page a section.
13747 Add the command's description on the `help-echo' property.
13748 Remove `process-connection-type' binding since it's unused by
13750 Provide completion for the "<section> <name>" format as well.
13751 (Man-default-man-entry): Remove spurious var shadowing the argument.
13753 2009-11-26 Kevin Ryde <user42@zip.com.au>
13755 * log-view.el: Add "Keywords: tools", since its other keywords
13756 aren't in finder-known-keywords, and following vc.el.
13758 * sha1.el (sha1-string-external): default-directory "/" in case
13759 otherwise non-existent. process-connection-type pipe for touch of
13760 efficiency recommended by elisp manual. (An aside in Bug#3911.)
13762 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
13764 Misc coding convention cleanups.
13765 * htmlfontify.el (hfy-init-kludge-hook): Rename from
13766 hfy-init-kludge-hooks.
13767 (hfy-etags-cmd, hfy-flatten-style, hfy-invisible-name, hfy-face-at)
13768 (hfy-fontify-buffer, hfy-prepare-index-i, hfy-subtract-maps)
13769 (hfy-save-kill-buffers, htmlfontify-copy-and-link-dir): Use dolist
13771 (hfy-slant, hfy-weight): Use tables rather than code.
13772 (hfy-box-to-border-assoc, hfy-box-to-style, hfy-decor)
13773 (hfy-face-to-style-i, hfy-fontify-buffer): Use `case'.
13774 (hfy-face-attr-for-class): Initialize `face-spec' directly.
13775 (hfy-face-to-css): Remove `nconc' with single arg.
13776 (hfy-p-to-face-lennart): Use `or'.
13777 (hfy-face-at): Hoist common code. Remove spurious quotes in `case'.
13778 (hfy-overlay-props-at, hfy-mark-tag-hrefs): Eta-reduce.
13779 (hfy-compile-stylesheet, hfy-merge-adjacent-spans)
13780 (hfy-compile-face-map, hfy-parse-tags-buffer): Use push.
13781 (hfy-force-fontification): Use run-hooks.
13783 2009-11-26 Vivek Dasmohapatra <vivek@etla.org>
13785 Various minor fixes.
13786 * htmlfontify.el (hfy-default-header): Add toggle_invis since
13787 Javascript belongs in the header, not the body.
13788 (hfy-javascript): Remove.
13789 (hfy-fontify-buffer): Don't insert it any more.
13790 (hfy-face-at): Handle (face0 face1 face2) style face properties.
13791 Fix bug in invis handling when there were no invis props in a chunk.
13793 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
13795 * vc-bzr.el (vc-bzr-annotate-command): Make operation asynchronous.
13797 2009-11-26 Dan Nicolaescu <dann@ics.uci.edu>
13799 * finder.el (finder-mode-map): Add a menu.
13801 2009-11-26 Michael McNamara <mac@mail.brushroad.com>
13803 * progmodes/verilog-mode.el (verilog-at-struct-p): Support "signed" and
13804 "unsigned" structs.
13806 (verilog-leap-to-head, verilog-backward-token): Handle "disable
13807 fork" statement better.
13809 2009-11-26 Wilson Snyder <wsnyder@wsnyder.org>
13811 * progmodes/verilog-mode.el (verilog-auto-insert-lisp)
13812 (verilog-delete-auto, verilog-delete-empty-auto-pair)
13813 (verilog-library-filenames): Fix AUTOINSERTLISP to support insert-file.
13814 Reported by Clay Douglass.
13816 (verilog-auto-inst, verilog-auto-star-safe)
13817 (verilog-delete-auto-star-implicit, verilog-read-sub-decls):
13818 Fix removing "// Interfaces" when saving .* expansions.
13819 Reported by Pierre-David Pfister.
13821 2009-11-26 Glenn Morris <rgm@gnu.org>
13823 * eshell/em-dirs.el (eshell/cd): Don't throw to a tag outside
13826 2009-11-25 Johan Bockgård <bojohan@gnu.org>
13828 * vc-annotate.el (vc-annotate-revision-previous-to-line):
13829 Really use previous revision.
13831 2009-11-25 Kevin Ryde <user42@zip.com.au>
13833 * man.el (Man-completion-table): default-directory "/" in case
13834 doesn't otherwise exist. process-environment COLUMNS=999 so as
13835 not to truncate long names. process-connection-type pipe to avoid
13836 any chance of hitting the pseudo-tty TIOCGWINSZ.
13837 (man): completion-ignore-case t for friendliness and since man
13838 itself is case-insensitive on the command line.
13839 Further to Bug#3717.
13841 * arc-mode.el: Add "Keywords: files", so the details in its
13842 commentary can be reached from finder-by-keyword.
13843 * textmodes/dns-mode.el: Add "Keywords: comm". It's only an
13844 editing mode, but it's comms related and sgml-mode.el has "comm"
13846 * textmodes/bibtex-style.el: Add "Keywords: tex".
13847 * international/isearch-x.el, international/ja-dic-cnv.el:
13848 * international/ja-dic-utl.el, international/kkc.el:
13849 Add "Keywords: i18n", so they can be reached from finder-by-keyword.
13851 2009-11-25 Juri Linkov <juri@jurta.org>
13853 * man.el (Man-completion-table): Modify regexp to include
13854 section names to completion strings. (Bug#3717)
13856 2009-11-25 Juri Linkov <juri@jurta.org>
13858 Search recursively in gzipped files. (Bug#4982)
13860 * progmodes/grep.el (grep-highlight-matches): Add new options
13861 `always' and `auto'. Doc fix.
13862 (grep-process-setup): Check `grep-highlight-matches' for
13863 `auto-detect' to determine the need to compute grep defaults.
13864 Move Windows/DOS specific --colors settings handling
13865 to `grep-compute-defaults'. Check `grep-highlight-matches'
13866 to get the value of "--color=".
13867 (grep-compute-defaults): Compute `grep-highlight-matches' when it
13868 has the value `auto-detect'. Move Windows/DOS specific settings
13869 from `grep-process-setup'.
13870 (zrgrep): New command with alias `rzgrep'.
13872 2009-11-25 Juri Linkov <juri@jurta.org>
13874 * doc-view.el (doc-view-mode): Set buffer-local `view-read-only'
13875 to nil instead of switching off view-mode. (Bug#4896)
13877 2009-11-25 Juri Linkov <juri@jurta.org>
13879 Mouse-wheel scrolling for DocView Continuous mode. (Bug#4896)
13881 * mwheel.el (mwheel-scroll-up-function)
13882 (mwheel-scroll-down-function): New defvars.
13883 (mwheel-scroll): Funcall `mwheel-scroll-up-function' instead of
13884 `scroll-up', and `mwheel-scroll-down-function' instead of
13887 * doc-view.el (doc-view-scroll-up-or-next-page)
13888 (doc-view-scroll-down-or-previous-page): Add optional ARG.
13889 Use this ARG in the call to image-scroll-up/image-scroll-down.
13890 Change `interactive' spec to "P". Goto next/previous page only
13891 when `doc-view-continuous-mode' is non-nil or ARG is nil (for the
13892 SPC/DEL case). Doc fix.
13893 (doc-view-next-line-or-next-page)
13894 (doc-view-previous-line-or-previous-page): Rename arg to ARG
13896 (doc-view-mode): Set buffer-local `mwheel-scroll-up-function' to
13897 `doc-view-scroll-up-or-next-page', and buffer-local
13898 `mwheel-scroll-down-function' to
13899 `doc-view-scroll-down-or-previous-page'.
13901 2009-11-25 Juri Linkov <juri@jurta.org>
13903 Provide additional default values (directories at other Dired
13904 windows) via M-n in the minibuffer of some Dired commands.
13906 * dired-aux.el (dired-diff, dired-compare-directories)
13907 (dired-do-create-files): Use `dired-dwim-target-defaults' to set
13908 `minibuffer-default' in `minibuffer-with-setup-hook'.
13909 (dired-dwim-target-directory): Find a window that displays Dired
13910 buffer instead of failing when the next window is not Dired.
13911 Use `get-window-with-predicate' to find for the next Dired window.
13912 (dired-dwim-target-defaults): New function.
13914 * ediff-util.el (ediff-read-file-name):
13915 Use `dired-dwim-target-defaults' to set `minibuffer-default'
13916 in `minibuffer-with-setup-hook'.
13918 2009-11-25 Juri Linkov <juri@jurta.org>
13920 Provide additional default values (file name at point or at the
13921 current Dired line) via M-n for file reading minibuffers. (Bug#5010)
13923 * minibuffer.el (read-file-name-defaults): New function.
13924 (read-file-name): Reset `minibuffer-default' to nil when
13925 it duplicates initial input `insdef'.
13926 Bind `minibuffer-default-add-function' to lambda that
13927 calls `read-file-name-defaults' in `minibuffer-selected-window'.
13928 (minibuffer-insert-file-name-at-point): New command.
13930 * files.el (file-name-at-point-functions): New defcustom.
13931 (find-file-default): Remove defvar.
13932 (find-file-read-args): Don't use `find-file-default'.
13933 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
13934 to `read-file-name'.
13935 (find-file-literally): Use `read-file-name' with
13936 `confirm-nonexistent-file-or-buffer'.
13938 * ffap.el (ffap-guess-file-name-at-point): New autoloaded function.
13940 * dired.el (dired-read-dir-and-switches):
13941 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
13942 to `read-file-name'.
13943 (dired-file-name-at-point): New function.
13944 (dired-mode): Add hook `dired-file-name-at-point' to
13945 `file-name-at-point-functions'.
13947 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
13949 Really make the *Completions* window soft-dedicated (bug#5030).
13950 * window.el (window--display-buffer-2): Add `dedicated' argument.
13951 (display-buffer): Pass it when needed so the dedicated flag is set
13952 after calling set-window-buffer, which would otherwise reset it.
13954 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
13956 * progmodes/meta-mode.el (meta-complete-symbol):
13957 * progmodes/etags.el (complete-tag):
13958 * mail/mailabbrev.el (mail-abbrev-complete-alias):
13959 Use completion-in-region.
13961 * dabbrev.el (dabbrev--minibuffer-origin): Use minibuffer-selected-window.
13962 (dabbrev-completion): Use completion-in-region.
13963 (dabbrev--abbrev-at-point): Simplify regexp.
13965 * abbrev.el (abbrev--before-point): Use word-motion functions
13966 if :regexp is not specified (bug#5031).
13968 * subr.el (string-prefix-p): New function.
13970 * man.el (Man-completion-cache): New var.
13971 (Man-completion-table): Use it.
13973 * vc.el (vc-print-log-internal): Make `limit' optional for better
13974 compatibility (e.g. with vc-annotate.el).
13976 2009-11-24 Kevin Ryde <user42@zip.com.au>
13978 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp):
13979 Build value with regexp-opt instead of explicit joining loop. (Bug#4927)
13981 * emacs-lisp/elint.el (elint-add-required-env): Better error message
13982 when .el source file not found or other error.
13984 2009-11-24 Markus Triska <markus.triska@gmx.at>
13986 * linum.el (linum-update-window): Ignore intangible (bug#4996).
13988 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
13990 Handle the [back] button properly (bug#4979).
13991 * descr-text.el (describe-text-properties): Add a `buffer' argument.
13992 Use help-setup-xref, help-buffer, and with-help-window.
13993 (describe-char): Add `buffer' argument.
13994 Pass proper command to help-setup-xref. Don't meddle with
13995 help-xref-stack-item directly.
13996 (describe-text-category): Use with-help-window and help-buffer.
13998 * emacs-lisp/shadow.el (list-load-path-shadows): Setup a major mode
13999 for the displayed buffer (bug#4887).
14001 * man.el (Man-completion-table): New function.
14004 2009-11-24 David Reitter <david.reitter@gmail.com>
14006 * vc-git.el (vc-git-registered): Use checkout directory (where
14007 .git is) rather than the file's directory and a relative path spec
14008 to work around a bug in git.
14010 2009-11-24 Michael Albinus <michael.albinus@gmx.de>
14012 Improve handling of processes on remote hosts.
14014 * eshell/esh-util.el (eshell-path-env): New defvar.
14015 (eshell-parse-colon-path): New defun.
14016 (eshell-file-attributes): Use `eshell-parse-colon-path'.
14018 * eshell/esh-ext.el (eshell-search-path):
14019 Use `eshell-parse-colon-path'.
14020 (eshell-remote-command): Remove argument HANDLER.
14021 (eshell-external-command): Check for FTP remote connection.
14023 * eshell/esh-proc.el (eshell-gather-process-output):
14024 Use `file-truename', in order to start also symlinked files.
14025 Apply `start-file-process' instead of `start-process'.
14026 Shorten `command' to the local file name part.
14028 * eshell/em-cmpl.el (eshell-complete-commands-list):
14029 Use `eshell-parse-colon-path'.
14031 * eshell/em-unix.el (eshell/du): Check for FTP remote connection.
14033 * net/tramp.el (tramp-eshell-directory-change): New defun. Add it
14034 to `eshell-directory-change-hook'.
14036 2009-11-24 Tassilo Horn <tassilo@member.fsf.org>
14038 * doc-view.el (doc-view-mode): Switch off view-mode explicitly,
14039 because it could be enabled automatically if view-read-only is non-nil.
14041 2009-11-24 Michael Kifer <kifer@cs.stonybrook.edu>
14043 * ediff-vers.el (ediff-rcs-get-output-buffer): Revert the change
14044 made on 2009-11-22.
14046 2009-11-24 Glenn Morris <rgm@gnu.org>
14048 * bookmark.el (bookmark-bmenu-hide-filenames): Remove assignment to
14049 deleted variable bookmark-bmenu-bookmark-column.
14051 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
14053 * bookmark.el (bookmark-bmenu-search): Clear echo area when exiting.
14055 2009-11-23 Ken Brown <kbrown@cornell.edu> (tiny change)
14057 * net/browse-url.el (browse-url-filename-alist): On Windows, add
14058 two slashes to the "file:" prefix.
14059 (browse-url-file-url): De-munge Cygwin filenames before passing
14060 them to Windows browser.
14061 (browse-url-default-windows-browser): Use call-process.
14063 2009-11-23 Juri Linkov <juri@jurta.org>
14065 Implement DocView Continuous mode. (Bug#4896)
14066 * doc-view.el (doc-view-continuous-mode): New defcustom.
14067 (doc-view-mode-map): Bind C-n/<down> to
14068 `doc-view-next-line-or-next-page', C-p/<up> to
14069 `doc-view-previous-line-or-previous-page'.
14070 (doc-view-next-line-or-next-page)
14071 (doc-view-previous-line-or-previous-page): New commands.
14073 2009-11-23 Juri Linkov <juri@jurta.org>
14075 Implement Isearch in comint input history. (Bug#3746)
14076 * comint.el (comint-mode): Add `comint-history-isearch-setup' to
14077 `isearch-mode-hook'.
14078 (comint-history-isearch): New defcustom.
14079 (comint-history-isearch-backward)
14080 (comint-history-isearch-backward-regexp): New commands.
14081 (comint-history-isearch-message-overlay): New buffer-local variable.
14082 (comint-history-isearch-setup, comint-history-isearch-end)
14083 (comint-goto-input, comint-history-isearch-search)
14084 (comint-history-isearch-message, comint-history-isearch-wrap)
14085 (comint-history-isearch-push-state)
14086 (comint-history-isearch-pop-state): New functions.
14088 2009-11-23 Michael Albinus <michael.albinus@gmx.de>
14090 * net/tramp.el (tramp-shell-prompt-pattern): Use \r for carriage
14092 (tramp-handle-make-symbolic-link)
14093 (tramp-handle-dired-compress-file, tramp-handle-expand-file-name):
14095 (tramp-send-command-and-check): New argument DONT-SUPPRESS-ERR.
14096 (tramp-handle-process-file): Use it.
14098 2009-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
14100 * window.el (move-to-window-line-last-op): Remove.
14101 (move-to-window-line-top-bottom): Reuse recenter-last-op instead.
14103 2009-11-23 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
14105 Make M-r mirror the new cycling behavior of C-l.
14106 * window.el (move-to-window-line-last-op): New var.
14107 (move-to-window-line-top-bottom): New command.
14108 (global-map): Bind M-r move-to-window-line-top-bottom.
14110 2009-11-23 Sven Joachim <svenjoac@gmx.de>
14112 * dired-x.el (dired-guess-shell-alist-default):
14113 Support xz format. (Bug#4953)
14115 2009-11-22 Michael Kifer <kifer@cs.stonybrook.edu>
14117 * emulation/viper-cmd.el: Use viper-last-command-char instead of
14118 last-command-char/last-command-event.
14119 (viper-prefix-arg-value): Do correct conversion of event-char for
14122 * emulation/viper-util.el, emulation/viper.el:
14123 Use viper-last-command-char instead of
14124 last-command-char/last-command-event.
14126 * ediff-init.el, ediff-mult.el, ediff-util.el:
14127 Replace last-command-char and last-command-event
14128 with (ediff-last-command-char) everywhere.
14130 * ediff-vers.el (ediff-rcs-get-output-buffer): Make sure the buffer is
14131 created in fundamental mode.
14133 * ediff.el (ediff-version): Revert the change of interactive-p to
14134 called-interactively-p.
14136 2009-11-22 Tassilo Horn <tassilo@member.fsf.org>
14138 * progmodes/subword.el (subword-mode-map): Fix subword-mode-map
14139 generation from word-movement command names.
14141 2009-11-21 Jan Djärv <jan.h.d@swipnet.se>
14143 * cus-start.el (all): Add native condition for font-use-system-font.
14145 2009-11-21 Nathaniel Flath <flat0103@gmail.com>
14147 * progmodes/cc-menus.el (cc-imenu-java-generic-expression):
14148 Correct the patch from 2009-11-18. (Bug#3910)
14150 2009-11-21 Tassilo Horn <tassilo@member.fsf.org>
14152 * progmodes/subword.el: Rename from lisp/subword.el.
14154 * subword.el: Rename to progmodes/subword.el.
14156 * Makefile.in (ELCFILES): Adapt to subword.el move.
14158 2009-11-21 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14159 Stefan Monnier <monnier@iro.umontreal.ca>
14161 * bookmark.el (bookmark-bmenu-bookmark-column): Remove var.
14162 (bookmark-bmenu-list): Save name on `bookmark-name-prop' text-prop.
14163 (bookmark-bmenu-show-filenames): Use push.
14164 (bookmark-bmenu-hide-filenames): Use local var instead of
14165 bookmark-bmenu-bookmark-column. Use pop. Don't save window-excursion.
14166 (bookmark-bmenu-bookmark): Use the new `bookmark-name-prop' text-prop.
14167 (bookmark-bmenu-execute-deletions): Don't bother adding/removing the
14168 filenames now that the bookmark names are always available.
14170 2009-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
14172 * bookmark.el (bookmark-search-prompt, bookmark-search-timer): Remove.
14173 (bookmark-search-pattern): Move and leave unbound.
14174 (bookmark-bmenu-mode-map): Change binding.
14175 (bookmark-read-search-input): Simplify.
14176 Don't use text-char-description. Don't error on non-char events.
14177 (bookmark-filtered-alist-by-regexp-only): Remove by folding into the
14178 only caller (i.e. bookmark-bmenu-filter-alist-by-regexp).
14179 (bookmark-bmenu-search): Don't check we're in a bookmark-list buffer.
14180 Use a local var for the timer.
14181 (bookmark-bmenu-cancel-search): Remove by folding into the only caller
14182 (i.e. bookmark-bmenu-search).
14184 2009-11-21 Glenn Morris <rgm@gnu.org>
14186 * mail/rmailmm.el (rmail-mime): Decode in fundamental-mode. (Bug#4993)
14188 2009-11-20 Ken Brown <kbrown@cornell.edu> (tiny change)
14190 * net/browse-url.el (browse-url-default-windows-browser):
14191 Use cygstart for cygwin.
14193 2009-11-20 Karl Fogel <karl.fogel@red-bean.com>
14195 * bookmark.el: Formatting and doc fixes only:
14196 (bookmark-search-delay): Shorten doc string to fit in 80 columns.
14197 (bookmark-bmenu-search): Wrap to fit within 80 columns.
14198 Minor grammar and punctuation fixes in doc string.
14199 (bookmark-read-search-input): Adjust to fit within 80 columns.
14201 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
14203 * progmodes/cc-cmds.el (c-forward-into-nomenclature)
14204 (c-backward-into-nomenclature): Adapt to subword renaming.
14206 * subword.el (subword-forward, subword-backward, subword-mark)
14207 (subword-kill, subword-backward-kill, subword-transpose)
14208 (subword-downcase, subword-upcase, subword-capitalize)
14209 (subword-forward-internal, subword-backward-internal):
14210 Rename from forward-subword, backward-subword, mark-subword,
14211 kill-subword, backward-kill-subword, transpose-subwords,
14212 downcase-subword, upcase-subword, capitalize-subword,
14213 forward-subword-internal, backward-subword-internal.
14215 2009-11-20 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14217 * bookmark.el (bookmark-search-delay, bookmark-search-prompt):
14219 (bookmark-search-pattern, bookmark-search-timer, bookmark-quit-flag):
14221 (bookmark-read-search-input, bookmark-filtered-alist-by-regexp-only)
14222 (bookmark-bmenu-filter-alist-by-regexp)
14223 (bookmark-bmenu-goto-bookmark, bookmark-bmenu-cancel-search): New funs.
14224 (bookmark-bmenu-search): New command.
14225 (bookmark-bmenu-mode-map): Bind it.
14227 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
14229 * progmodes/cc-cmds.el: declare-functioned forward-subword and
14230 backward-subword to quit the byte-compiler.
14232 * makefile.w32-in: Don't refer cc-subword.elc but subword.elc.
14234 * Makefile.in: Don't refer cc-subword.elc but subword.elc.
14236 * progmodes/cc-cmds.el (c-update-modeline)
14237 (c-forward-into-nomenclature, c-backward-into-nomenclature):
14238 Refer to subword.el functions instead of cc-subword.el.
14240 * progmodes/cc-mode.el (subword-mode, c-mode-base-map): Refer to
14241 subword.el functions instead of cc-subword.el.
14243 * progmodes/cc-subword.el: Rename to subword.el.
14244 * subword.el: Rename from progmodes/cc-subword.el.
14245 (subword-mode-map): Rename from c-subword-mode-map.
14246 (subword-mode): Rename from c-subword-mode.
14247 (global-subword-mode): New global minor mode.
14248 (forward-subword): Rename from c-forward-subword.
14249 (backward-subword): Rename from c-backward-subword.
14250 (mark-subword): Rename from c-mark-subword.
14251 (kill-subword): Rename from c-kill-subword.
14252 (backward-kill-subword): Rename from c-backward-kill-subword.
14253 (transpose-subwords): Rename from c-tranpose-subword.
14254 (downcase-subword): Rename from c-downcase-subword.
14255 (capitalize-subword): Rename from c-capitalize-subword.
14256 (forward-subword-internal): Rename from c-forward-subword-internal.
14257 (backward-subword-internal): Rename from c-backward-subword-internal.
14259 2009-11-20 Dan Nicolaescu <dann@ics.uci.edu>
14261 * vc.el (vc-deduce-fileset): Allow non-state changing operations
14262 from a dired buffer.
14263 (vc-dired-deduce-fileset): New function.
14264 (vc-root-diff, vc-print-root-log): Use it.
14266 * vc-annotate.el (vc-annotate-show-log-revision-at-line): Pass a
14267 nil LIMIT argument to vc-print-log-internal.
14269 2009-11-20 Glenn Morris <rgm@gnu.org>
14271 * Makefile.in (ELCFILES): Regenerate.
14273 2009-11-20 Jay Belanger <jay.p.belanger@gmail.com>
14275 * calc/calc.el (calc-set-mode-line):
14276 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
14277 (math-format-number): Rename `math-format-complement-signed' to
14278 `math-format-twos-complement'.
14280 * calc/calc-bin.el (math-format-twos-complement): Rename from
14281 math-format-complement-signed.
14282 (calc-radix): Rename `calc-complement-signed-mode' to
14283 `calc-twos-complement-mode'.
14284 (calc-octal-radix, calc-hex-radix): Add an argument for
14287 * calc/calc-embed.el (calc-embedded-mode-vars):
14288 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
14290 * calc/calc-ext.el (calc-init-extensions):
14291 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
14292 (math-format-number-fancy): Let `calc-twos-complement-mode' be nil.
14294 * calc/calc-units.el (math-build-units-table-buffer):
14295 Let `calc-twos-complement-mode' be nil.
14297 * calc/calc-menu.el (calc-modes-menu): Clean up two's complement
14300 * calc/calc-vec.el (calcFunc-vunpack):
14301 * calc/calc-aent.el (calc-do-calc-eval):
14302 * calc/calc-forms.el (math-format-date):
14303 * calc/calc-graph.el (calc-graph-plot):
14304 * calc/calc-math.el (math-use-emacs-fn):
14305 * calc/calccomp.el (math-compose-expr):
14306 Let `calc-twos-complement-mode' be nil.
14308 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
14310 * abbrev.el (abbrev-with-wrapper-hook): (re)move...
14311 * simple.el (with-wrapper-hook): ...to here. Add argument `args'.
14312 * minibuffer.el (completion-in-region-functions): New hook.
14313 (completion-in-region): New function.
14314 * emacs-lisp/lisp.el (lisp-complete-symbol):
14315 * pcomplete.el (pcomplete-std-complete): Use it.
14317 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
14319 * textmodes/tex-mode.el (latex-complete-bibtex-cache)
14320 (latex-complete-alist): New vars.
14321 (latex-string-prefix-p, latex-complete-bibtex-keys)
14322 (latex-complete-envnames, latex-complete-refkeys)
14323 (latex-complete-data): New functions.
14324 (latex-complete, latex-indent-or-complete): New commands.
14326 * window.el (display-buffer-mark-dedicated): New var.
14327 (display-buffer): Obey it.
14328 * minibuffer.el (minibuffer-completion-help): Use it.
14330 * progmodes/sym-comp.el (symbol-complete): Use completion-in-region.
14332 * filecache.el (file-cache-add-file): Use push and cons.
14333 (file-cache-delete-file-regexp): Use push.
14334 (file-cache-complete): Use completion-in-region.
14336 * simple.el (with-wrapper-hook): Fix thinko.
14338 * hfy-cmap.el (hfy-rgb-file): Use locate-file.
14339 (htmlfontify-load-rgb-file): Remove unnused var `ff'.
14340 Use with-current-buffer and string-to-number.
14341 (hfy-fallback-colour-values): Use assoc-string.
14342 * htmlfontify.el (hfy-face-to-css): Remove unused var `style'.
14343 (hfy-face-at): Remove unused var `found-face'.
14344 (hfy-compile-stylesheet): Remove unused var `css'.
14345 (hfy-fontify-buffer): Remove unused vars `in-style', `invis-button',
14347 (hfy-buffer, hfy-copy-and-fontify-file, hfy-parse-tags-buffer):
14348 Use with-current-buffer.
14349 (hfy-text-p): Use expand-file-name and fewer setq.
14351 2009-11-19 Vivek Dasmohapatra <vivek@etla.org>
14353 * htmlfontify.el, hfy-cmap.el: New files.
14355 2009-11-19 Juri Linkov <juri@jurta.org>
14357 * minibuffer.el (completions-format): New defcustom.
14358 (completion--insert-strings): Implement vertical format.
14360 * simple.el (switch-to-completions): Move point to the first
14361 completion when point was at the beginning of the buffer.
14363 2009-11-19 Juri Linkov <juri@jurta.org>
14365 * find-dired.el (find-name-arg): Remove autoload. (Bug#4387)
14367 * progmodes/grep.el (rgrep): Require `find-dired' for `find-name-arg'.
14369 2009-11-19 Chong Yidong <cyd@stupidchicken.com>
14371 * mail/sendmail.el (mail-yank-prefix): Change default to "> ".
14372 (mail-signature): Change default to t.
14373 (mail-from-style): Deprecate `system-default' value.
14374 (mail-insert-from-field): For default value of mail-from-style,
14375 default to `angles' unless `angles' needs quoting and `parens'
14377 (mail-citation-prefix-regexp): Use citation regexp from
14380 2009-11-19 Michael Albinus <michael.albinus@gmx.de>
14382 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
14383 Set variables for computing the prompt for reading password.
14385 2009-11-19 Glenn Morris <rgm@gnu.org>
14387 * dired-aux.el (dired-compress-file-suffixes): Add ".xz". (Bug#4953)
14389 * textmodes/flyspell.el (sgml-lexical-context): Declare.
14391 * net/newst-treeview.el (newsticker-treeview-treewindow-width)
14392 (newsticker-treeview-listwindow-height): Fix custom type.
14394 2009-11-19 Kenichi Handa <handa@m17n.org>
14396 * descr-text.el (describe-char-padded-string): Compose with TAB
14397 only if there's a font for CH.
14398 (describe-char): Fix the condition for detecting a trivial composition.
14400 2009-11-18 Nathaniel Flath <flat0103@gmail.com>
14402 * progmodes/cc-menus.el (cc-imenu-java-generic-expression): A new,
14403 more accurate version of the regexp. (Bug#3910)
14405 2009-11-18 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
14407 * vc-hg.el (vc-hg-diff): Fix last patch: do not change directory.
14409 2009-11-18 Juanma Barranquero <lekktu@gmail.com>
14411 * font-setting.el (font-use-system-font): Declare for byte-compiler.
14412 (font-setting-change-default-font): Fix typo in docstring.
14414 2009-11-18 Alan Mackenzie <acm@muc.de>
14416 * progmodes/cc-defs.el (c-version): Bump to 5.31.8.
14418 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
14420 * font-setting.el (font-use-system-font): Move ...
14422 * cus-start.el (all): ... to here.
14424 2009-11-17 Michael Albinus <michael.albinus@gmx.de>
14426 * net/tramp.el (tramp-advice-file-expand-wildcards): Simplify.
14427 Don't set `ad-return-value' if `ad-do-it' doesn't.
14429 * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Set file
14432 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
14434 * menu-bar.el: Put "Use system font" in Option-menu.
14435 (menu-bar-options-save): Add font-use-system-font.
14437 * loadup.el: If feature system-font-setting or font-render-setting is
14438 there, load font-setting.
14440 * Makefile.in (ELCFILES): Add font-settings.el.
14441 * font-setting.el: New file.
14443 2009-11-17 Glenn Morris <rgm@gnu.org>
14445 * vc-svn.el (vc-svn-print-log): Fix typo in previous.
14447 * net/newst-treeview.el (newsticker--treeview-list-update-faces):
14448 Preserve point in the list buffer. (Bug#4939)
14450 (newsticker--treeview-list-update-highlight)
14451 (newsticker--treeview-tree-update-highlight): Use point-at-bol/eol.
14453 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
14455 * calc/calc-bin.el (math-symclip, calcFunc-symclip, calc-symclip):
14458 * calc/calc-ext.el (calc-init-extensions): Remove references to
14461 * calc/calc-menu.el (calc-arithmetic-menu): Remove `calc-symclip'.
14463 * calc/calc-map.el (calc-get-operator, calc-b-oper-keys):
14464 * calc/calc-help.el (calc-b-prefix-help): Remove references to
14467 2009-11-16 Kevin Ryde <user42@zip.com.au>
14469 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
14470 Use `sgml-lexical-context' instead of own parse for tag (Bug#4511).
14472 * emacs-lisp/lisp-mnt.el (lm-keywords): Allow multi-line keywords.
14473 (lm-keywords-list): Allow comma-only separator like "foo,bar".
14474 Ignore trailing spaces by omit-nulls to split-string (fixing
14475 regression from Emacs 21 due to the incompatible split-string
14476 change). (Bug #4928.)
14478 2009-11-16 Dan Nicolaescu <dann@ics.uci.edu>
14480 * vc.el (vc-log-show-limit): Default to 2000.
14481 (vc-print-log-internal): Insert buttons to request more entries
14482 when limiting the output.
14484 * vc-sccs.el (vc-sccs-print-log):
14485 * vc-rcs.el (vc-rcs-print-log):
14486 * vc-cvs.el (vc-cvs-print-log):
14487 * vc-git.el (vc-git-print-log): Return 'limit-unsupported when
14490 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
14492 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Raise only an
14493 error when `tramp-gvfs-dbus-event-vector' is set.
14494 (tramp-gvfs-maybe-open-connection): Loop over `read-event'.
14496 2009-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
14498 * vc-rcs.el (vc-rcs-consult-headers): Add missing save-excursion.
14500 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
14502 * net/dbus.el (dbus-unregister-service): New defun.
14503 (dbus-register-property): Register the handlers of
14504 "org.freedesktop.DBus.Properties" for SERVICE.
14505 (dbus-property-handler): Fix docstring.
14507 2009-11-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
14509 * emacs-lisp/bytecomp.el (byte-compile-output-file-form):
14510 Quote doc string reference in defvaralias as it is not in special form.
14511 (byte-compile-output-docform): Doc fix.
14513 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
14515 * calc/calc.el (math-2-word-size, math-half-2-word-size)
14516 (calc-complement-signed-mode): New variables.
14517 (calc-set-mode-line): Add indicator for twos-complements.
14518 (math-format-number): Format twos-complement notation.
14520 * calc/calc-bin.el (calc-word-size): Reset the variables
14521 `math-2-word-size' and `math-half-2-word-size'.
14522 (math-format-complement-signed, math-symclip, calcFunc-symclip)
14523 (calc-symclip): New functions.
14525 * calc/calc-aent.el (math-read-token): Read complement signed numbers.
14527 * calc/calc-embed.el (calc-embedded-mode-vars):
14528 Add `calc-complement-signed-mode' to the list of modes.
14530 * calc/calc-map.el (calc-get-operator): Add `calc-symclip'.
14531 (calc-b-oper-keys): Add `calc-symclip' to list.
14533 * calc/calc-ext.el (math-read-number-fancy): Read complement
14535 (calc-init-extensions): Add binding for `calc-symclip'.
14536 Add autoload for `calcFunc-symclip' and `calc-symclip'.
14538 * calc/calc-menu.el (calc-arithmetic-menu): Add item for
14540 (calc-modes-menu): Add item for twos complement mode.
14542 * calc/calc-help.el (calc-b-prefix-help): Add help for `calc-symclip'.
14544 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
14546 * register.el (jump-to-register, insert-register): Handle Semantic
14547 tags. From commented-out advice in semantic/senator.el.
14549 2009-11-15 Dan Nicolaescu <dann@ics.uci.edu>
14551 * vc.el (vc-log-show-limit): New variable.
14552 (vc-print-log, vc-print-root-log): Add new argument LIMIT. Set it
14553 when using a prefix argument.
14554 (vc-print-log-internal): Add new argument LIMIT.
14556 * vc-svn.el (vc-svn-print-log):
14557 * vc-mtn.el (vc-mtn-print-log):
14558 * vc-hg.el (vc-hg-print-log):
14559 * vc-bzr.el (vc-bzr-print-log): Add new optional argument LIMIT,
14560 pass it to the log command when set. Make the BUFFER argument
14563 * vc-sccs.el (vc-sccs-print-log):
14564 * vc-rcs.el (vc-rcs-print-log):
14565 * vc-git.el (vc-git-print-log):
14566 * vc-cvs.el (vc-cvs-print-log): Add new optional argument LIMIT,
14567 ignore it. Make the BUFFER argument non-optional
14569 * bindings.el (mode-line-buffer-identification): Do not purecopy.
14571 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
14573 * dired.el (dired-mode-map): Move encryption items to "Operate"
14576 * strokes.el (strokes-update-window-configuration): Make strokes
14577 buffer current before erasing (Bug#4906).
14579 2009-11-15 Juri Linkov <juri@jurta.org>
14581 * simple.el (set-mark-default-inactive): Add :type, :group
14582 and :version. (Bug#4876)
14584 2009-11-15 Michael Albinus <michael.albinus@gmx.de>
14586 * arc-mode.el (archive-maybe-copy): Move creation of directory ...
14587 (archive-unique-fname): ... here. (Bug#4929)
14589 2009-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
14591 * help-mode.el (help-make-xrefs): Undo the last revert, and replace it
14594 * novice.el (disabled-command-function): Add useful args.
14595 Setup the help buffer so that [back] works.
14596 Remove redundant call to help-mode.
14597 (disabled-command-function): Use `case'.
14598 (en/disable-command): New function extracted from enable-command.
14599 (enable-command, disable-command): Use it.
14601 2009-11-14 Glenn Morris <rgm@gnu.org>
14603 * menu-bar.el (menu-bar-tools-menu): Read and send mail entries are not
14604 constants. (Bug#4913)
14606 * emacs-lisp/elint.el (elint-standard-variables): Doc fix.
14608 2009-11-14 Shigeru Fukaya <shigeru.fukaya@gmail.com>
14610 * emacs-lisp/elint.el (elint-standard-variables): Add some variables
14611 defined in C that have no doc-strings. (Bug#1063)
14613 2009-11-14 Francis Wright <F.J.Wright@qmul.ac.uk>
14615 * cus-edit.el (data, files):
14616 * ps-print.el (postscript): Doc fixes for custom groups. (Bug#3327)
14618 2009-11-14 Chong Yidong <cyd@stupidchicken.com>
14620 * simple.el (shell-command): Doc fix (Bug#4891).
14622 * help-mode.el (help-make-xrefs): Revert 2009-11-13 change.
14624 2009-11-14 Glenn Morris <rgm@gnu.org>
14626 * emulation/viper.el (viper-set-hooks): Remove duplicate advice
14627 statements for vc-diff, emerge-quit, and rmail-cease-edit.
14628 If they are already loaded, eval-after-load will do the right thing.
14630 * speedbar.el (top-level): Remove unnecessary load of ange-ftp when
14633 * emacs-lisp/bytecomp.el (byte-compile-single-version): Remove, unused.
14635 * simple.el (x-selection-owner-p): Declare.
14636 (read-mail-command): Use custom radio type rather than choice.
14637 (completion-no-auto-exit): Doc fix.
14639 * custom.el (defgroup):
14640 * epg-config.el (epg): Doc fixes.
14642 2009-11-14 Dan Nicolaescu <dann@ics.uci.edu>
14644 * bindings.el (mode-line-buffer-identification): Purecopy only the string.
14645 * international/ccl.el (define-ccl-program): Do not purecopy the
14646 docstring, defconst does it anyway.
14648 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
14650 * add-log.el (add-change-log-entry): Avoid displaying the changelog
14653 * x-dnd.el (x-dnd-maybe-call-test-function):
14654 * window.el (split-window-vertically):
14655 * whitespace.el (whitespace-help-on):
14656 * vc-rcs.el (vc-rcs-consult-headers):
14657 * userlock.el (ask-user-about-lock-help)
14658 (ask-user-about-supersession-help):
14659 * type-break.el (type-break-force-mode-line-update):
14660 * time-stamp.el (time-stamp-conv-warn):
14661 * terminal.el (te-set-output-log, te-more-break, te-filter)
14662 (te-sentinel, terminal-emulator):
14663 * term.el (make-term, term-exec, term-sentinel, term-read-input-ring)
14664 (term-write-input-ring, term-check-source, term-start-output-log):
14665 (term-display-buffer-line, term-dynamic-list-completions):
14666 (term-ansi-make-term, serial-term):
14667 * subr.el (selective-display):
14668 * strokes.el (strokes-xpm-to-compressed-string, strokes-decode-buffer)
14669 (strokes-encode-buffer, strokes-xpm-for-compressed-string):
14670 * speedbar.el (speedbar-buffers-tail-notes, speedbar-buffers-item-info)
14671 (speedbar-reconfigure-keymaps, speedbar-add-localized-speedbar-support)
14672 (speedbar-remove-localized-speedbar-support)
14673 (speedbar-set-mode-line-format, speedbar-create-tag-hierarchy)
14674 (speedbar-update-special-contents, speedbar-buffer-buttons-engine)
14675 (speedbar-buffers-line-directory):
14676 * simple.el (shell-command-on-region, append-to-buffer)
14677 (prepend-to-buffer):
14678 * shadowfile.el (shadow-save-todo-file):
14679 * scroll-bar.el (scroll-bar-set-window-start, scroll-bar-drag-1)
14680 (scroll-bar-maybe-set-window-start):
14681 * sb-image.el (speedbar-image-dump):
14682 * saveplace.el (save-place-alist-to-file, save-places-to-alist)
14683 (load-save-place-alist-from-file):
14684 * ps-samp.el (ps-print-message-from-summary):
14685 * ps-print.el (ps-flush-output, ps-insert-file, ps-get-boundingbox)
14686 (ps-background-image, ps-begin-job, ps-do-despool):
14687 * ps-bdf.el (bdf-find-file, bdf-read-font-info):
14688 * printing.el (pr-interface, pr-ps-file-print, pr-find-buffer-visiting)
14689 (pr-ps-message-from-summary, pr-lpr-message-from-summary):
14690 (pr-call-process, pr-file-list, pr-interface-save):
14691 * novice.el (disabled-command-function)
14692 (enable-command, disable-command):
14693 * mouse.el (mouse-buffer-menu-alist):
14694 * mouse-copy.el (mouse-kill-preserving-secondary):
14695 * macros.el (kbd-macro-query):
14696 * ledit.el (ledit-go-to-lisp, ledit-go-to-liszt):
14697 * informat.el (batch-info-validate):
14698 * ido.el (ido-copy-current-word, ido-initiate-auto-merge):
14699 * hippie-exp.el (try-expand-dabbrev-visible):
14700 * help-mode.el (help-make-xrefs):
14701 * help-fns.el (describe-variable):
14702 * generic-x.el (bat-generic-mode-run-as-comint):
14703 * finder.el (finder-mouse-select):
14704 * find-dired.el (find-dired-sentinel):
14705 * filesets.el (filesets-file-close):
14706 * files.el (list-directory):
14707 * faces.el (list-faces-display, describe-face):
14708 * facemenu.el (list-colors-display):
14709 * ezimage.el (ezimage-image-association-dump, ezimage-image-dump):
14710 * epg.el (epg--process-filter, epg-cancel):
14711 * epa.el (epa--marked-keys, epa--select-keys, epa-display-info)
14712 (epa--read-signature-type):
14713 * emerge.el (emerge-copy-as-kill-A, emerge-copy-as-kill-B)
14714 (emerge-file-names):
14715 * ehelp.el (electric-helpify):
14716 * ediff.el (ediff-regions-wordwise, ediff-regions-linewise):
14717 * ediff-vers.el (rcs-ediff-view-revision):
14718 * ediff-util.el (ediff-setup):
14719 * ediff-mult.el (ediff-append-custom-diff):
14720 * ediff-diff.el (ediff-exec-process, ediff-process-sentinel)
14722 * echistory.el (Electric-command-history-redo-expression):
14723 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
14724 * disp-table.el (describe-display-table):
14725 * dired.el (dired-find-buffer-nocreate):
14726 * dired-aux.el (dired-rename-subdir, dired-dwim-target-directory):
14727 * dabbrev.el (dabbrev--same-major-mode-p):
14728 * chistory.el (list-command-history):
14729 * apropos.el (apropos-documentation):
14730 * allout.el (allout-obtain-passphrase):
14731 (allout-copy-exposed-to-buffer):
14732 (allout-verify-passphrase): Use with-current-buffer.
14734 2009-11-13 Glenn Morris <rgm@gnu.org>
14736 * Makefile.in (ELCFILES): Regenerate.
14738 2009-11-13 Michael Albinus <michael.albinus@gmx.de>
14740 * net/dbus.el (dbus-registered-objects-table): Rename from
14741 `dbus-registered-functions-table', because it contains also properties.
14742 (dbus-unregister-object): Unregister also properties.
14743 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
14744 Use a timeout of 500 msec, in order to not block.
14745 (dbus-register-property, dbus-property-handler): New defuns.
14747 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
14749 * simple.el (minibuffer-default-add-completions): Drop deprecated
14752 2009-11-13 Tomas Abrahamsson <tab@lysator.liu.se>
14754 * textmodes/artist.el (artist-mouse-choose-operation):
14755 Call `tmm-prompt' instead of `x-popup-menu' if we cannot popup
14756 menus. Bug noticed by Eli Zaretskii <eliz@gnu.org>.
14757 (artist-compute-up-event-key): New function.
14758 (artist-mouse-choose-operation, artist-down-mouse-1): Call it.
14760 2009-11-13 Kenichi Handa <handa@m17n.org>
14762 * language/japan-util.el: Make sure that the value of jisx0208
14763 property is jisx0208 character.
14765 2009-11-13 Dan Nicolaescu <dann@ics.uci.edu>
14767 * international/mule.el (auto-coding-regexp-alist): Only purecopy
14768 car or each item, not the whole list.
14770 2009-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
14772 * minibuffer.el (minibuffer-completion-help):
14773 Use minibuffer-hide-completions.
14775 2009-11-12 Per Starbäck <per@starback.se> (tiny change)
14777 * dired.el (dired-save-positions, dired-restore-positions): New funs.
14778 (dired-revert): Use them (bug#4880).
14780 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
14782 * tooltip.el (tooltip-frame-parameters): Undo previous change.
14784 2009-11-12 Juri Linkov <juri@jurta.org>
14786 * ffap.el (ffap-alternate-file-other-window, ffap-literally):
14788 (find-file-literally-at-point): Alias of `ffap-literally'.
14790 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
14792 * textmodes/ispell.el (ispell-skip-region-alist):
14793 * textmodes/css-mode.el (auto-mode-alist):
14794 * progmodes/compile.el (auto-mode-alist):
14795 * international/mule.el (ctext-non-standard-encodings-alist)
14796 (ctext-non-standard-encodings-regexp):
14797 * simple.el (shell-command-switch, text-read-only):
14798 * replace.el (occur-mode-map):
14799 * paths.el (rmail-file-name):
14800 * jka-cmpr-hook.el (jka-compr-build-file-regexp):
14801 * find-file.el (ff-special-constructs):
14802 * files.el (file-name-handler-alist):
14803 * composite.el: Purecopy strings.
14805 * emacs-lisp/cl-macs.el (define-compiler-macro): Purecopy the file name.
14807 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
14809 * widget.el (define-widget): Purecopy the docstring.
14810 * international/mule-cmds.el (charset): Do not purecopy the
14811 docstring here, define-widget does it.
14813 * textmodes/texinfo.el (texinfo-open-quote, texinfo-close-quote):
14814 * textmodes/bibtex-style.el (auto-mode-alist):
14815 * progmodes/inf-lisp.el (inferior-lisp-prompt):
14816 * progmodes/compile.el (compile-command):
14817 * language/korea-util.el (default-korean-keyboard):
14818 * international/mule-conf.el (file-coding-system-alist):
14819 * emacs-lisp/eldoc.el (eldoc-minor-mode-string):
14820 * tooltip.el (tooltip-frame-parameters):
14821 * newcomment.el (comment-end, comment-padding):
14822 * dired.el (dired-trivial-filenames):
14823 * comint.el (comint-file-name-prefix): Purecopy initial values.
14825 2009-11-11 Michael Albinus <michael.albinus@gmx.de>
14827 * net/tramp.el (tramp-advice-minibuffer-electric-separator)
14828 (tramp-advice-minibuffer-electric-tilde): Unload advices via
14830 (tramp-advice-make-auto-save-file-name)
14831 (tramp-advice-file-expand-wildcards): Apply also `ad-activate'
14832 after removing the advice.
14834 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
14836 * progmodes/grep.el (grep-regexp-alist):
14837 * international/mule-cmds.el (iso-2022-control-alist):
14838 * emacs-lisp/timer.el (timer-duration-words):
14839 * subr.el (version-separator, version-regexp-alist):
14840 * minibuffer.el (completion-styles-alist):
14841 * faces.el (face-attribute-name-alist, list-faces-sample-text):
14842 Change defvars to defconsts.
14844 * Makefile.in (ELCFILES): Add international/mule-conf.elc.
14845 * loadup.el ("international/mule-conf"): Load the byte compiled version.
14846 * international/mule-conf.el: Allow to be byte compiled.
14848 * international/mule.el (define-charset): Purecopy props.
14849 (load-with-code-conversion): Purecopy doc string and file name.
14850 (put-charset-property): Purecopy strings.
14851 (auto-coding-alist, auto-coding-regexp-alist): Purecopy initial value.
14853 * international/mule-cmds.el (register-input-method): Purecopy arguments.
14854 (define-char-code-property): Correctly purecopy the table.
14856 * international/ccl.el (define-ccl-program): Purecopy the docstring.
14858 * emacs-lisp/easy-mmode.el (define-minor-mode): Purecopy :lighter.
14860 * subr.el (add-hook): Purecopy strings.
14861 (eval-after-load): Purecopy load-history-regexp and the form.
14863 * custom.el (custom-declare-group): Purecopy load-file-name.
14865 * subr.el (menu-bar-separator): New defconst.
14866 * net/eudc.el (eudc-tools-menu):
14867 * international/mule-cmds.el (set-coding-system-map)
14868 (mule-menu-keymap):
14869 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
14870 * vc-hooks.el (vc-menu-map):
14871 * replace.el (occur-mode-map):
14872 * menu-bar.el (menu-bar-file-menu, menu-bar-search-menu)
14873 (menu-bar-edit-menu, menu-bar-goto-menu)
14874 (menu-bar-custom-menu, menu-bar-showhide-menu)
14875 (menu-bar-options-menu, menu-bar-tools-menu)
14876 (menu-bar-encryption-decryption-menu, menu-bar-describe-menu)
14877 (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
14878 (menu-bar-help-menu):
14879 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu):
14880 * buff-menu.el (Buffer-menu-mode-map): Use menu-bar-separator.
14882 * term/x-win.el (x-gtk-stock-map):
14883 * progmodes/vera-mode.el (auto-mode-alist):
14884 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
14885 (inferior-lisp-program, inferior-lisp-load-command):
14886 * progmodes/hideshow.el (hs-special-modes-alist):
14887 * progmodes/gud.el (same-window-regexps):
14888 * progmodes/grep.el (grep-program, find-program, xargs-program):
14889 * net/telnet.el (same-window-regexps):
14890 * net/rlogin.el (same-window-regexps):
14891 * language/ethiopic.el (font-ccl-encoder-alist):
14892 * vc-sccs.el (vc-sccs-master-templates):
14893 * vc-rcs.el (vc-rcs-master-templates):
14894 * subr.el (cl-assertion-failed):
14895 * simple.el (next-error-overlay-arrow-position):
14896 * lpr.el (lpr-command):
14897 * locate.el (locate-ls-subdir-switches):
14898 * info.el (same-window-regexps, info)
14899 (Info-goto-emacs-command-node, Info-goto-emacs-key-command-node):
14900 * image-mode.el (image-mode, auto-mode-alist):
14901 * hippie-exp.el (hippie-expand-ignore-buffers):
14902 * format.el (format-alist):
14903 * find-dired.el (find-ls-subdir-switches, find-grep-options)
14905 * facemenu.el (facemenu-keybindings):
14906 * dired.el (dired-listing-switches, dired-chown-program):
14907 * diff.el (diff-switches, diff-command):
14908 * cus-edit.el (same-window-regexps):
14909 * bindings.el (mode-line-mule-info)
14910 (mode-line-buffer-identification): Purecopy strings.
14912 2009-11-11 Juri Linkov <juri@jurta.org>
14914 * simple.el (dired-get-filename) <declare-function>:
14915 Tell the byte-compiler about dired-get-filename.
14916 (shell-command): In Dired mode, get filename from the current line
14917 as the default value.
14919 2009-11-10 Glenn Morris <rgm@gnu.org>
14921 * dired.el, hi-lock.el, calendar/cal-menu.el, calendar/calendar.el:
14922 * calendar/holidays.el, progmodes/cperl-mode.el:
14923 Update x-popup-menu declarations.
14925 * emacs-lisp/shadow.el (find-emacs-lisp-shadows)
14926 (list-load-path-shadows): Use dolist.
14927 (list-load-path-shadows): Use with-current-buffer.
14929 2009-11-10 Juri Linkov <juri@jurta.org>
14931 * minibuffer.el (read-file-name): Support a list of default values
14932 in `default-filename'. Use the first file name where only one
14933 element is required. Doc fix.
14935 2009-11-09 Michael Albinus <michael.albinus@gmx.de>
14937 * net/dbus.el (dbus-unregister-object): Release service, if no
14938 other method is registered for it.
14940 2009-11-08 Markus Rost <rost@math.uni-bielefeld.de>
14942 * bookmark.el (bookmark-completing-read): Sort bookmark names if
14943 bookmark-sort-flag is non-nil (Bug#4653).
14945 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
14947 * emulation/cua-base.el: Add CUA property to some CC mode commands
14950 2009-11-08 Kevin Ryde <user42@zip.com.au>
14952 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp): Match noun
14953 at end of sentence (Bug#4818).
14955 2009-11-08 Jared Finder <jfinder@crypticstudios.com>
14957 * progmodes/compile.el (compilation-error-regexp-alist-alist):
14958 Handle "see declaration of" MSFT statements (Bug#4100).
14960 2009-11-08 Michael Albinus <michael.albinus@gmx.de>
14962 * net/tramp.el (tramp-advice-make-auto-save-file-name)
14963 (tramp-advice-file-expand-wildcards): Unload via
14964 `ad-remove-advice'.
14966 * net/trampver.el: Update release number.
14968 2009-11-08 Kevin Ryde <user42@zip.com.au>
14970 * net/tramp.el (tramp-advice-file-expand-wildcards): Don't rely on
14973 2009-11-08 Andr <m00naticus@gmail.com> (tiny change)
14975 * net/tramp.el (tramp-handle-write-region): Copy but rename temp file,
14976 in order to keep context in SELinux.
14978 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
14980 * dired-aux.el (dired-query): Place cursor in echo area and allow
14983 * dired.el (dired-mode-map): Disable dired-maybe-insert-subdir
14984 menu item if not on a directory (Bug#4701).
14986 2009-11-07 Michael Albinus <michael.albinus@gmx.de>
14988 Sync with Tramp 2.1.17.
14990 * net/tramp.el (tramp-handle-copy-directory): Don't use
14991 `file-remote-p' (due to compatibility).
14993 * net/tramp-compat.el (tramp-compat-copy-directory)
14994 (tramp-compat-delete-directory): New defuns.
14996 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
14997 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
14998 Use `tramp-compat-delete-directory'.
15000 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
15001 (tramp-smb-handle-delete-directory):
15002 Use `tramp-compat-copy-directory' and `tramp-compat-delete-directory'.
15004 * net/trampver.el: Update release number.
15006 2009-11-07 Chong Yidong <cyd@stupidchicken.com>
15008 * tar-mode.el (tar-copy): Call write-region on the right buffer
15011 * mail/rmailsum.el (rmail-summary-rmail-update): Call linum-update
15012 by hand, if necessary (Bug#4878).
15014 2009-11-06 Chong Yidong <cyd@stupidchicken.com>
15016 * buff-menu.el (Buffer-menu-buffer+size): Use display property to
15017 align size column (Bug#4839).
15019 * emacs-lisp/autoload.el (autoload-rubric): Always issue a provide
15022 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
15024 * progmodes/ld-script.el (auto-mode-alist):
15025 * vc-hooks.el (vc-directory-exclusion-list): Purecopy strings.
15027 * cus-face.el (custom-declare-face): Purecopy face spec.
15029 2009-11-06 Kenichi Handa <handa@m17n.org>
15031 * international/uni-bidi.el: Re-generated.
15032 * international/uni-category.el: Re-generated.
15033 * international/uni-combining.el: Re-generated.
15034 * international/uni-mirrored.el: Re-generated.
15036 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
15038 * textmodes/tex-mode.el (tex-alt-dvi-print-command)
15039 (tex-dvi-print-command, tex-bibtex-command, tex-start-commands)
15040 (tex-start-options, slitex-run-command, latex-run-command)
15041 (tex-run-command, tex-directory):
15042 * textmodes/ispell.el (ispell-html-skip-alists)
15043 (ispell-tex-skip-alists, ispell-tex-skip-alists):
15044 * textmodes/fill.el (adaptive-fill-first-line-regexp):
15045 (adaptive-fill-regexp):
15046 * textmodes/dns-mode.el (auto-mode-alist):
15047 * progmodes/python.el (interpreter-mode-alist):
15048 * progmodes/etags.el (tags-compression-info-list):
15049 * progmodes/etags.el (tags-file-name):
15050 * net/browse-url.el (browse-url-galeon-program)
15051 (browse-url-firefox-program):
15052 * mail/sendmail.el (mail-signature-file)
15053 (mail-citation-prefix-regexp):
15054 * international/mule-conf.el (eight-bit):
15055 * international/latexenc.el (latex-inputenc-coding-alist):
15056 * international/fontset.el (x-pixel-size-width-font-regexp):
15057 * emacs-lisp/warnings.el (warning-type-format):
15058 * emacs-lisp/trace.el (trace-buffer):
15059 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-map)
15060 (emacs-lisp-mode-map):
15061 * calendar/holidays.el (holiday-solar-holidays)
15062 (holiday-bahai-holidays, holiday-islamic-holidays)
15063 (holiday-christian-holidays, holiday-hebrew-holidays)
15064 (hebrew-holidays-4, hebrew-holidays-3, hebrew-holidays-2)
15065 (hebrew-holidays-1, holiday-oriental-holidays)
15066 (holiday-general-holidays):
15067 * x-dnd.el (x-dnd-known-types):
15068 * tool-bar.el (tool-bar):
15069 * startup.el (site-run-file):
15070 * shell.el (shell-dumb-shell-regexp):
15071 * rfn-eshadow.el (file-name-shadow-tty-properties)
15072 (file-name-shadow-properties):
15073 * paths.el (remote-shell-program, news-directory):
15074 * mouse.el ([C-down-mouse-3]):
15075 * menu-bar.el (menu-bar-tools-menu):
15076 * jka-cmpr-hook.el (jka-compr-load-suffixes)
15077 (jka-compr-mode-alist-additions, jka-compr-compression-info-list)
15078 (jka-compr-compression-info-list):
15079 * isearch.el (search-whitespace-regexp):
15080 * image-file.el (image-file-name-extensions):
15081 * find-dired.el (find-ls-option):
15082 * files.el (directory-listing-before-filename-regexp)
15083 (directory-free-space-args, insert-directory-program)
15084 (list-directory-brief-switches, magic-fallback-mode-alist)
15085 (magic-fallback-mode-alist, auto-mode-interpreter-regexp)
15086 (automount-dir-prefix):
15087 * faces.el (face-x-resources, x-font-regexp, x-font-regexp-head)
15088 (x-font-regexp-slant, x-font-regexp-weight, face-x-resources)
15089 (face-font-registry-alternatives, face-font-registry-alternatives)
15090 (face-font-family-alternatives):
15091 * facemenu.el (facemenu-add-new-face, facemenu-background-menu)
15092 (facemenu-foreground-menu, facemenu-face-menu):
15093 * epa-hook.el (epa-file-name-regexp):
15094 * dnd.el (dnd-protocol-alist):
15095 * textmodes/rst.el (auto-mode-alist):
15096 * button.el (default-button): Purecopy strings.
15098 2009-11-06 Glenn Morris <rgm@gnu.org>
15100 * Makefile.in (ELCFILES): Update.
15102 2009-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
15104 * emacs-lisp/lucid.el: Move to obsolete/lucid.el.
15105 * emacs-lisp/levents.el: Move to obsolete/levents.el.
15107 * nxml/xsd-regexp.el (xsdre-gen-categories):
15108 * nxml/xmltok.el (xmltok-parse-entity):
15109 * nxml/rng-parse.el (rng-parse-validate-file):
15110 * nxml/rng-maint.el (rng-format-manual)
15111 (rng-manual-output-force-new-line):
15112 * nxml/rng-loc.el (rng-save-schema-location-1):
15113 * nxml/rng-cmpct.el (rng-c-parse-file):
15114 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
15115 * nxml/nxml-parse.el (nxml-parse-file): Use with-current-buffer.
15117 2009-11-05 Wilson Snyder <wsnyder@wsnyder.org>
15119 * progmodes/verilog-mode.el (verilog-getopt-file, verilog-set-define):
15120 Remove extra save-excursions and make-variable-buffer-local's.
15121 Suggested by Stefan Monnier.
15123 (verilog-getopt-file, verilog-module-inside-filename-p)
15124 (verilog-set-define): Merge GNU 1.35 and repair changes from
15125 switching to using with-current-buffer.
15127 (verilog-read-always-signals-recurse): Fix "a == 2'b00 ? b : c"
15128 being treated as a number and confusing AUTORESET.
15129 Reported by Dan Dever.
15131 (verilog-auto-ignore-concat, verilog-read-sub-decls-expr):
15132 Add verilog-auto-ignore-concat to fix backward compatibility with
15133 older verilog-modes. Reported by Dan Katz.
15135 (verilog-read-auto-template): Fix AUTO_TEMPLATEs with regexps
15136 containing closing anchors "...$".
15138 (verilog-read-decls): Fix AUTOREG not detecting "assign {a,b}".
15139 Reported by Wade Smith.
15141 (verilog-batch-execute-func): Comment on function usage.
15143 2009-11-05 Michael McNamara <mac@mail.brushroad.com>
15145 * progmodes/verilog-mode.el (verilog-label-re): Fix regular expression
15148 (verilog-label-re, verilog-calc-1): Support proper indent of named
15151 (verilog-backward-token, verilog-basic-complete-re)
15152 (verilog-beg-of-statement, verilog-indent-re): Support proper
15153 indent of the assert statement at the beginning of a block of text.
15155 (verilog-beg-block-re, verilog-ovm-begin-re): Support the
15156 `ovm_object_param_utils_begin and `ovm_component_param_utils_begin
15159 2009-11-05 Glenn Morris <rgm@gnu.org>
15161 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Drop test for
15162 Emacs 19. (Bug#1531)
15163 (byte-compile-fix-header): Update for the above change.
15164 Drop test for epoch::version.
15166 * emacs-lisp/autoload.el (autoload-rubric): Add optional feature arg.
15167 * cus-dep.el (custom-make-dependencies):
15168 * finder.el (finder-compile-keywords):
15169 Use autoload-rubric's feature argument.
15171 * calendar/diary-lib.el (top-level): Make load behave more like require.
15173 * vc-git.el (vc-git-stash-map): Move definition before use.
15175 2009-11-04 Dan Nicolaescu <dann@ics.uci.edu>
15177 * custom.el (custom-declare-group): Purecopy standard-value.
15178 (custom-declare-group): Purecopy custom-prefix.
15180 * international/mule.el (load-with-code-conversion):
15181 Call do-after-load-evaluation unconditionally.
15183 * emacs-lisp/bytecomp.el (byte-compile-output-file-form): Handle defvaralias.
15185 2009-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
15187 * descr-text.el: Require help-mode rather than help-fns (bug#4861).
15189 2009-11-04 Glenn Morris <rgm@gnu.org>
15191 * emacs-lisp/bytecomp.el (byte-compile-version-cond): Remove macro.
15192 (byte-compile-compatibility): Remove option.
15193 (byte-compile-close-variables, byte-compile-fix-header)
15194 (byte-compile-insert-header, byte-compile-output-docform)
15195 (byte-compile-file-form-defmumble, byte-compile-byte-code-maker)
15196 (byte-compile-lambda, byte-compile-form, byte-defop-compiler19)
15197 (byte-compile-list, byte-compile-concat, byte-compile-function-form)
15198 (byte-compile-insert, byte-compile-defun):
15199 Remove support for byte-compile-compatibility and Emacs 18. (Bug#4571)
15200 (byte-defop-compiler19): Remove.
15201 Without byte-compile-compatibility, the 'emacs19-opcode property is not
15202 used by anything. Replace all calls with byte-defop-compiler.
15204 2009-11-04 Juri Linkov <juri@jurta.org>
15206 * menu-bar.el (menu-bar-make-mm-toggle): Quote each element of `props'.
15207 (menu-bar-options-menu): Don't quote the `prop' arg of
15208 `menu-bar-make-mm-toggle'.
15210 2009-11-04 Juanma Barranquero <lekktu@gmail.com>
15212 * calendar/calendar.el (cal-loaddefs):
15213 * calendar/diary-lib.el (diary-loaddefs):
15214 * calendar/holidays.el (hol-loaddefs):
15215 * eshell/esh-module.el (esh-groups): Load rather than require.
15217 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
15219 * calendar/todo-mode.el (todo-add-category): Don't hardcode
15221 (todo-top-priorities): Only display-buffer when called interactively.
15222 (todo-item-start): Don't save excursion point.
15223 (todo-item-end): Be slightly more careful. Add `include-sep' arg.
15224 (todo-insert-item-here, todo-file-item, todo-remove-item):
15225 Adjust uses of todo-item-start and todo-item-end.
15227 * emacs-lisp/autoload.el (generated-autoload-feature): Remove.
15228 (autoload-rubric): Don't use any more.
15230 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Use dolist,
15231 and only put a prop if it is non-nil.
15233 2009-11-03 Juri Linkov <juri@jurta.org>
15235 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle)
15236 (menu-bar-options-menu): Fix list quoting (Bug#4429).
15238 * buff-menu.el (Buffer-menu-mode-map): Add hyphen between "Buffer"
15239 and "Menu" to make top-level menu item visually one unit (like
15240 it's done for "Lisp-Interaction", "Emacs-Lisp" and other
15241 multi-word menu items). Fix :help string for quit-window.
15243 2009-11-03 Glenn Morris <rgm@gnu.org>
15245 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
15246 (byte-compile-file-form-define-abbrev-table)
15247 (byte-compile-file-form-custom-declare-variable)
15248 (byte-compile-variable-ref, byte-compile-defvar):
15249 Whether or not a warning is enabled should only affect whether we issue
15250 the warning, not whether or not we collect the relevant data.
15251 Eg warnings can be turned on and off throughout the course of a file.
15253 * eshell/esh-mode.el (ansi-color-apply-on-region): Autoload it...
15254 (eshell-handle-ansi-color): ... Rather than requiring ansi-color.
15256 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
15258 * term/ns-win.el (ns-scroll-bar-move, ns-face-at-pos):
15259 * play/mpuz.el (mpuz-create-buffer):
15260 * play/landmark.el (lm-prompt-for-move, lm-print-wts, lm-print-smell)
15261 (lm-print-y,s,noise, lm-print-w0, lm-init):
15262 * play/gomoku.el (gomoku-prompt-for-move):
15263 * play/fortune.el (fortune-in-buffer):
15264 * play/dissociate.el (dissociated-press):
15265 * play/decipher.el (decipher-adjacency-list, decipher-display-regexp)
15266 (decipher-analyze-buffer, decipher-stats-buffer, decipher-stats-buffer):
15267 * mail/supercite.el (sc-eref-show):
15268 * mail/smtpmail.el (smtpmail-send-it):
15269 * mail/rmailsum.el (rmail-summary-next-labeled-message)
15270 (rmail-summary-previous-labeled-message, rmail-summary-wipe)
15271 (rmail-summary-undelete-many, rmail-summary-rmail-update)
15272 (rmail-summary-goto-msg, rmail-summary-expunge)
15273 (rmail-summary-get-new-mail, rmail-summary-search-backward)
15274 (rmail-summary-add-label, rmail-summary-output-menu)
15275 (rmail-summary-output-body):
15276 * mail/rfc822.el (rfc822-addresses):
15277 * mail/reporter.el (reporter-dump-variable, reporter-dump-state):
15278 * mail/mailpost.el (post-mail-send-it):
15279 * mail/hashcash.el (hashcash-generate-payment):
15280 * mail/feedmail.el (feedmail-run-the-queue)
15281 (feedmail-queue-send-edit-prompt-help-first)
15282 (feedmail-send-it-immediately, feedmail-give-it-to-buffer-eater)
15283 (feedmail-deduce-address-list):
15284 * eshell/esh-ext.el (eshell-remote-command):
15285 * eshell/em-unix.el (eshell-occur-mode-mouse-goto):
15286 * emulation/viper-util.el (viper-glob-unix-files, viper-save-setting)
15287 (viper-wildcard-to-regexp, viper-glob-mswindows-files)
15288 (viper-save-string-in-file, viper-valid-marker):
15289 * emulation/viper-keym.el (viper-toggle-key):
15290 * emulation/viper-ex.el (ex-expand-filsyms, viper-get-ex-file)
15291 (ex-edit, ex-global, ex-mark, ex-next-related-buffer, ex-quit)
15292 (ex-get-inline-cmd-args, ex-tag, ex-command, ex-compile):
15293 * emulation/viper-cmd.el (viper-exec-form-in-vi)
15294 (viper-exec-form-in-emacs, viper-brac-function):
15295 * emulation/viper.el (viper-delocalize-var):
15296 * emulation/vip.el (vip-mode, vip-get-ex-token, vip-ex, vip-get-ex-pat)
15297 (vip-get-ex-command, vip-get-ex-opt-gc, vip-get-ex-buffer)
15298 (vip-get-ex-count, vip-get-ex-file, ex-edit, ex-global, ex-mark)
15299 (ex-map, ex-unmap, ex-quit, ex-read, ex-tag, ex-command):
15300 * emulation/vi.el (vi-switch-mode, vi-ex-cmd):
15301 * emulation/edt.el (edt-electric-helpify):
15302 * emulation/cua-rect.el (cua--rectangle-aux-replace):
15303 * emulation/cua-gmrk.el (cua--insert-at-global-mark)
15304 (cua--delete-at-global-mark, cua--copy-rectangle-to-global-mark)
15305 (cua-indent-to-global-mark-column):
15306 * calendar/diary-lib.el (calendar-mark-1):
15307 * calendar/cal-hebrew.el (calendar-hebrew-mark-date-pattern):
15308 Use with-current-buffer.
15309 * emulation/viper.el (viper-delocalize-var): Use dolist.
15311 2009-11-03 Chong Yidong <cyd@stupidchicken.com>
15313 * comint.el (comint-replace-by-expanded-history-before-point):
15314 Replace !! with the previous input string literally (Bug#1795).
15316 2009-11-02 Jay Belanger <jay.p.belanger@gmail.com>
15318 * calc/calc-forms.el (calc-date-notation): Allow a "blank string"
15319 to be made up of whitespace.
15321 2009-11-02 Chong Yidong <cyd@stupidchicken.com>
15323 * minibuffer.el (read-file-name): Don't use file dialogs for
15324 remote directories (Bug#99).
15326 2009-11-01 Chong Yidong <cyd@stupidchicken.com>
15328 * progmodes/sh-script.el (sh-font-lock-paren): Fix last change.
15330 2009-11-01 Andreas Schwab <schwab@linux-m68k.org>
15332 * view.el (view-mode-exit): If OLD-BUF is dead bury the buffer
15333 instead of deleting the window or frame.
15335 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
15337 * textmodes/sgml-mode.el (sgml-mode-facemenu-add-face-function):
15338 Support face colors.
15340 * textmodes/tex-mode.el (tex-facemenu-add-face-function):
15341 New function. Support face colors (Bug#1168).
15342 (tex-common-initialization): Use it.
15344 * facemenu.el (facemenu-enable-faces-p): Enable facemenu if the
15345 mode allows it (Bug#1168).
15347 2009-10-31 Juri Linkov <juri@jurta.org>
15349 * facemenu.el (list-colors-display): Don't mark buffer as
15350 modified (Bug#3948).
15352 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
15354 * international/mule-diag.el (list-character-sets-1):
15355 Minor message fix (Bug#3526).
15357 * progmodes/etags.el (etags-list-tags, etags-tags-apropos):
15358 Fix face property (Bug#4834).
15359 (etags-list-tags, etags-tags-apropos-additional)
15360 (etags-tags-apropos, tags-select-tags-table): Add follow-link
15363 * menu-bar.el (menu-bar-tools-menu): Add Semantic and EDE menu
15366 2009-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
15368 * textmodes/two-column.el (2C-split):
15369 * textmodes/texnfo-upd.el (texinfo-multi-file-included-list):
15370 * textmodes/tex-mode.el (tex-set-buffer-directory):
15371 * textmodes/spell.el (spell-region, spell-string):
15372 * textmodes/reftex.el (reftex-erase-buffer):
15373 (reftex-get-file-buffer-force, reftex-kill-temporary-buffers):
15374 * textmodes/reftex-toc.el (reftex-toc-promote-action):
15375 * textmodes/reftex-sel.el (reftex-get-offset, reftex-insert-docstruct)
15376 (reftex-select-item):
15377 * textmodes/reftex-ref.el (reftex-label-info-update)
15378 (reftex-offer-label-menu):
15379 * textmodes/reftex-index.el (reftex-index-change-entry)
15380 (reftex-index-phrases-info):
15381 * textmodes/reftex-global.el (reftex-create-tags-file)
15382 (reftex-save-all-document-buffers, reftex-ensure-write-access):
15383 * textmodes/reftex-dcr.el (reftex-echo-ref, reftex-echo-cite)
15384 (reftex-view-crossref-from-bibtex):
15385 * textmodes/reftex-cite.el (reftex-bibtex-selection-callback)
15386 (reftex-extract-bib-entries-from-thebibliography)
15387 (reftex-all-used-citation-keys, reftex-create-bibtex-file):
15388 * textmodes/refbib.el (r2b-capitalize-title):
15389 (r2b-convert-buffer, r2b-help):
15390 * textmodes/page-ext.el (pages-directory)
15391 (pages-directory-goto-with-mouse):
15392 * textmodes/bibtex.el (bibtex-validate-globally):
15393 * textmodes/bib-mode.el (bib-capitalize-title):
15394 * textmodes/artist.el (artist-clear-buffer, artist-system):
15395 * progmodes/xscheme.el (global-set-scheme-interaction-buffer):
15396 (local-set-scheme-interaction-buffer, xscheme-process-filter)
15397 (verify-xscheme-buffer, xscheme-enter-interaction-mode)
15398 (xscheme-enter-debugger-mode, xscheme-debugger-mode-p)
15399 (xscheme-send-control-g-interrupt, xscheme-start-process)
15400 (xscheme-process-sentinel, xscheme-cd):
15401 * progmodes/verilog-mode.el (verilog-read-always-signals)
15402 (verilog-set-define, verilog-getopt-file)
15403 (verilog-module-inside-filename-p):
15404 * progmodes/sh-script.el:
15405 * progmodes/python.el (python-pdbtrack-get-source-buffer)
15406 (python-pdbtrack-grub-for-buffer, python-execute-file):
15407 * progmodes/octave-inf.el (inferior-octave):
15408 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
15409 (idlwave-shell-compile-helper-routines, idlwave-set-local)
15410 (idlwave-display-completion-list-xemacs, idlwave-list-abbrevs)
15411 (idlwave-display-completion-list-emacs, idlwave-list-load-path-shadows)
15412 (idlwave-completion-fontify-classes, idlwave-display-calling-sequence):
15413 * progmodes/idlw-shell.el (idlwave-shell-examine-display-clear)
15414 (idlwave-shell-filter, idlwave-shell-examine-highlight)
15415 (idlwave-shell-sentinel, idlwave-shell-filter-directory)
15416 (idlwave-shell-display-line, idlwave-shell-set-bp-in-module)
15417 (idlwave-shell-examine-display, idlwave-shell-run-region)
15418 (idlwave-shell-filter-bp, idlwave-shell-save-and-action)
15419 (idlwave-shell-sources-filter, idlwave-shell-goto-next-error):
15420 * progmodes/idlw-help.el (idlwave-help-get-special-help)
15421 (idlwave-help-get-help-buffer):
15422 * progmodes/gud.el (gud-basic-call, gud-find-class)
15423 (gud-tooltip-activate-mouse-motions-if-enabled):
15424 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
15425 * progmodes/ebrowse.el (ebrowse-member-table, ebrowse-save-tree-as)
15426 (ebrowse-view-exit-fn, ebrowse-tags-list-members-in-file)
15427 (ebrowse-tags-next-file):
15428 * progmodes/ebnf2ps.el (ebnf-generate-eps, ebnf-generate-eps)
15429 (ebnf-eps-production-list, ebnf-begin-file, ebnf-log)
15430 (ebnf-eps-finish-and-write):
15431 * progmodes/cpp.el (cpp-edit-save):
15432 * progmodes/cperl-mode.el (cperl-pod-to-manpage):
15433 * progmodes/cc-defs.el (c-emacs-features):
15434 * progmodes/antlr-mode.el (antlr-invalidate-context-cache)
15435 (antlr-directory-dependencies):
15436 * progmodes/ada-xref.el (ada-gnat-parse-gpr, ada-get-ali-file-name)
15437 (ada-run-application, ada-find-in-src-path, ada-goto-parent)
15438 (ada-find-any-references, ada-make-filename-from-adaname)
15439 (ada-make-body-gnatstub):
15440 * obsolete/rnews.el (news-list-news-groups):
15441 * obsolete/resume.el (resume-suspend-hook, resume-write-buffer-to-file):
15442 * obsolete/iso-acc.el (iso-acc-minibuf-setup):
15443 * net/rcirc.el (rcirc-debug):
15444 * net/newst-treeview.el (newsticker--treeview-list-add-item)
15445 (newsticker--treeview-list-clear, newsticker-treeview-browse-url)
15446 (newsticker--treeview-list-update-faces, newsticker-treeview-save)
15447 (newsticker--treeview-item-show-text, newsticker--treeview-item-show)
15448 (newsticker--treeview-tree-update-tag, newsticker--treeview-buffer-init)
15449 (newsticker-treeview-show-item, newsticker--treeview-unfold-node)
15450 (newsticker--treeview-list-clear-highlight)
15451 (newsticker--treeview-list-update-highlight)
15452 (newsticker--treeview-list-highlight-start)
15453 (newsticker--treeview-tree-update-highlight)
15454 (newsticker--treeview-get-selected-item)
15455 (newsticker-treeview-mark-list-items-old)
15456 (newsticker--treeview-set-current-node):
15457 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
15458 * net/newst-backend.el (newsticker--get-news-by-funcall)
15459 (newsticker--get-news-by-wget, newsticker--image-get)
15460 (newsticker--image-sentinel):
15461 * net/mairix.el (mairix-rmail-fetch-field, mairix-gnus-fetch-field):
15462 * net/eudcb-ph.el (eudc-ph-do-request, eudc-ph-open-session):
15463 (eudc-ph-close-session):
15464 * net/eudc.el (eudc-save-options):
15465 * language/thai-word.el (thai-update-word-table):
15466 * language/japan-util.el (japanese-string-conversion):
15467 * international/titdic-cnv.el (tsang-quick-converter)
15468 (ziranma-converter, ctlau-converter):
15469 * international/mule-cmds.el (describe-language-environment):
15470 * international/ja-dic-cnv.el (skkdic-convert-okuri-ari)
15471 (skkdic-convert-postfix, skkdic-convert-prefix):
15472 (skkdic-convert-okuri-nasi, skkdic-convert):
15473 * emacs-lisp/re-builder.el (reb-update-overlays):
15474 * emacs-lisp/pp.el (pp-to-string, pp-display-expression):
15475 * emacs-lisp/gulp.el (gulp-send-requests):
15476 * emacs-lisp/find-gc.el (trace-call-tree):
15477 * emacs-lisp/eieio-opt.el (eieio-browse, eieio-describe-class)
15478 (eieio-describe-generic):
15479 * emacs-lisp/eieio-base.el (eieio-persistent-read):
15480 * emacs-lisp/edebug.el (edebug-outside-excursion):
15481 * emacs-lisp/debug.el (debugger-make-xrefs):
15482 * emacs-lisp/cust-print.el (custom-prin1-to-string):
15483 * emacs-lisp/chart.el (chart-new-buffer):
15484 * emacs-lisp/authors.el (authors-scan-el, authors-scan-change-log):
15485 Use with-current-buffer.
15486 * textmodes/artist.el (artist-system): Don't call
15487 copy-sequence on a fresh string.
15488 * progmodes/idlw-shell.el (easymenu setup): Use dolist.
15490 2009-10-31 Stephen Berman <stephen.berman@gmx.net>
15492 * calendar/todo-mode.el (todo-edit-item): Signal an error if there
15493 is no item to edit. (Bug#4820)
15494 (todo-top-priorities): Restore point and restore narrowing in Todo
15497 2009-10-31 Glenn Morris <rgm@gnu.org>
15499 * net/ange-ftp.el (top-level): Don't require dired when compiling.
15500 (comint-last-output-start, comint-last-input-start)
15501 (comint-last-input-end): Don't defvar when compiling.
15502 (ange-ftp-process-file): Use bound-and-true-p.
15504 * pcmpl-rpm.el (top-level): Move provide statement to end.
15505 (pcmpl-rpm): Remove unused custom group.
15507 * pcmpl-gnu.el (tar-parse-info, tar-header-name): Declare for compiler.
15509 * mail/emacsbug.el (report-emacs-bug): Request `emacs -Q' recipes.
15511 * emacs-lisp/bytecomp.el (byte-compile-warning-types)
15512 (byte-compile-warnings): Add `constants' as an option.
15513 (byte-compile-callargs-warn, byte-compile-arglist-warn)
15514 (display-call-tree): Update for byte-compile-fdefinition possibly
15515 returning `(macro lambda ...)'. (Bug#4778)
15516 (byte-compile-variable-ref, byte-compile-setq-default):
15517 Respect `constants' member of byte-compile-warnings.
15519 2009-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
15521 * vc-bzr.el (vc-bzr-revision-keywords): New var.
15522 (vc-bzr-revision-completion-table): Use it to fix completion of "s:"
15525 2009-10-30 Dan Nicolaescu <dann@ics.uci.edu>
15527 * textmodes/ispell.el (ispell-skip-region-alist):
15528 * international/mule-conf.el (eight-bit):
15529 * international/fontset.el (font-encoding-alist):
15530 * startup.el (pure-space-overflow-message):
15531 * simple.el (overwrite-mode-textual, overwrite-mode-binary):
15532 * paths.el (gnus-nntp-service, rmail-spool-directory)
15533 (term-file-prefix):
15534 * files.el (save-some-buffers-action-alist):
15535 * cmuscheme.el (same-window-buffer-names):
15536 * ielm.el (same-window-buffer-names):
15537 * shell.el (same-window-buffer-names):
15538 * mail/sendmail.el (same-window-buffer-names):
15539 * progmodes/inf-lisp.el (same-window-buffer-names):
15540 * bindings.el (mode-line-client)
15541 (mode-line-column-line-number-mode-map):
15542 * language/tibetan.el (tibetan-precomposition-rule-regexp)
15543 (tibetan-precomposed-regexp): Purecopy string arguments.
15545 2009-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
15547 * calc/calc.el (calc, calc-refresh, calc-trail-buffer, calc-record)
15548 (calcDigit-nondigit):
15549 * calc/calc-yank.el (calc-copy-to-buffer):
15550 * calc/calc-units.el (calc-invalidate-units-table):
15551 * calc/calc-trail.el (calc-trail-yank):
15552 * calc/calc-store.el (calc-insert-variables):
15553 * calc/calc-rewr.el (math-rewrite, math-rewrite-phase):
15554 * calc/calc-prog.el (calc-read-parse-table):
15555 * calc/calc-keypd.el (calc-do-keypad, calc-keypad-right-click):
15556 * calc/calc-help.el (calc-describe-bindings, calc-describe-key):
15557 * calc/calc-graph.el (calc-graph-delete, calc-graph-add-curve)
15558 (calc-graph-juggle, calc-graph-count-curves, calc-graph-plot)
15559 (calc-graph-plot, calc-graph-format-data, calc-graph-set-styles)
15560 (calc-graph-name, calc-graph-find-command, calc-graph-view)
15561 (calc-graph-view, calc-gnuplot-command, calc-graph-init):
15562 * calc/calc-ext.el (calc-realign):
15563 * calc/calc-embed.el (calc-do-embedded, calc-do-embedded)
15564 (calc-embedded-finish-edit, calc-embedded-make-info)
15565 (calc-embedded-finish-command, calc-embedded-stack-change):
15566 * calc/calc-aent.el (calcAlg-enter): Use with-current-buffer.
15568 * pcomplete.el (pcomplete-comint-setup): If there's a choice, replace
15569 shell-dynamic-complete-filename in preference to
15570 comint-dynamic-complete-filename.
15572 * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
15573 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
15574 Don't consider whether the display supports colors.
15575 (bookmark-import-new-list): Use dolist.
15576 (bookmark-bmenu-mode-map): Move initialization into declaration.
15577 (bookmark-bmenu-list): Use dolist, simplify.
15578 (bookmark-show-all-annotations): Use save-selected-window and dolist.
15579 (menu-bar-final-items): Use push.
15581 2009-10-28 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
15583 * vc-hg.el (vc-hg-state, vc-hg-working-revision): Use process-file so
15584 it works on remote files.
15585 (vc-hg-diff): Don't pass any `--cwd' argument.
15587 2009-10-27 Kevin Ryde <user42@zip.com.au>
15589 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
15590 Use help-xref-info-regexp and help-xref-url-regexp to identify links.
15591 (Further to Bug#3921).
15593 2009-10-27 Michael Albinus <michael.albinus@gmx.de>
15595 * net/tramp-imap.el (top): Add `X-Size' to `imap-hash-headers'.
15596 (tramp-imap-do-copy-or-rename-file): Don't use the inode, when
15597 calling `tramp-imap-put-file'. Add file size to the call.
15598 (tramp-imap-get-file-entries): Compute also user name, file size,
15600 (tramp-imap-handle-insert-directory): Insert uid and gid.
15601 (tramp-imap-handle-file-attributes): Transform uid and gid
15602 according to `id-format'.
15603 (tramp-imap-put-file): New optional parameter SIZE. Encode file
15604 size in header X-Size.
15606 2009-10-26 Juanma Barranquero <lekktu@gmail.com>
15608 * simple.el (transpose-subr): Give clearer error when the mark
15609 is not set. (Bug#4807)
15611 2009-10-26 Michael Albinus <michael.albinus@gmx.de>
15613 * net/tramp.el (tramp-perl-file-truename): New defconst.
15614 Perl code contributed by yary <not.com@gmail.com> (tiny change).
15615 (tramp-handle-file-truename, tramp-get-remote-perl): Use it.
15616 Check also for "perl-file-spec" and "perl-cwd-realpath" properties.
15617 (tramp-handle-write-region): In case of APPEND, reuse the tmpfile name.
15619 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
15620 Ignore `dired-call-process'.
15621 (tramp-imap-make-iht): Use `user' and `ssl' with `imap-hash-make'.
15623 2009-10-26 Julian Scheid <julians37@gmail.com>
15625 * net/tramp.el (tramp-perl-file-name-all-completions): New defconst.
15626 (tramp-get-remote-readlink): New defun.
15627 (tramp-handle-file-truename): Use it.
15628 (tramp-handle-file-exists-p): Check file-attributes cache, assume
15629 file exists if cache value present.
15630 (tramp-check-cached-permissions): New defun.
15631 (tramp-handle-file-readable-p): Use it.
15632 (tramp-handle-file-writable-p): Likewise.
15633 (tramp-handle-file-executable-p): Likewise.
15634 (tramp-handle-file-name-all-completions): Try using Perl to get
15635 partial completions. When perl not available, combine `cd' and
15636 `ls' into single remote operation and use shell expansion to get
15637 partial remote directory contents. Set `file-exists-p' cache for
15638 directory and any files returned by ls. Change cache handling to
15639 support partial directory contents. Use error message emitted by
15640 remote `cd' or Perl code for local tramp-error.
15641 (tramp-do-copy-or-rename-file-directly): Avoid separate
15642 tramp-send-command-and-check call.
15643 (tramp-handle-process-file): Merge three remote ops into one.
15644 Do not flush all caches when `process-file-side-effects' is set.
15645 (tramp-handle-write-region): Avoid tramp-set-file-uid-gid if
15646 file-attributes shows uid/gid to be set already.
15648 2009-10-26 Dan Nicolaescu <dann@ics.uci.edu>
15650 * textmodes/tex-mode.el (tex-dvi-view-command)
15651 (tex-show-queue-command, tex-open-quote):
15652 * progmodes/ruby-mode.el (auto-mode-alist)
15653 (interpreter-mode-alist): Purecopy strings.
15655 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Purecopy item names.
15657 * emacs-lisp/derived.el (define-derived-mode): Purecopy the doc
15658 string for the hook, keymap and abbrev table.
15660 * emacs-lisp/byte-run.el (make-obsolete): Purecopy the current name.
15662 * x-dnd.el (x-dnd-xdnd-to-action):
15663 * startup.el (fancy-startup-text, fancy-about-text): Change to
15664 defconst from defvar.
15666 * ps-print.el (ps-page-dimensions-database): Purecopy initial value.
15668 * mouse.el (mouse-buffer-menu-mode-groups, x-fixed-font-alist):
15669 Purecopy initialization strings.
15671 * mail/sendmail.el (mail-header-separator)
15672 (mail-personal-alias-file):
15673 * mail/rmail.el (rmail-default-dont-reply-to-names)
15674 (rmail-ignored-headers, rmail-retry-ignored-headers)
15675 (rmail-highlighted-headers, rmail-secondary-file-directory)
15676 (rmail-secondary-file-regexp):
15677 * files.el (null-device, file-name-invalid-regexp)
15678 (locate-dominating-stop-dir-regexp)
15679 (inhibit-first-line-modes-regexps): Purecopy initialization strings.
15680 (interpreter-mode-alist): Use mapcar instead of mapc.
15682 * buff-menu.el (Buffer-menu-mode-map): Purecopy name.
15684 * bindings.el (mode-line-major-mode-keymap): Purecopy name.
15685 (completion-ignored-extensions):
15686 (debug-ignored-errors): Purecopy strings.
15688 2009-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
15690 * pcomplete.el (pcomplete-std-complete): Obey pcomplete-use-paring.
15691 (pcomplete, pcomplete-parse-buffer-arguments, pcomplete-opt)
15692 (pcomplete--here): Use push.
15694 * subr.el (all-completions): Declare the 4th arg obsolete.
15696 2009-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
15698 * pcomplete.el (pcomplete-unquote-argument-function): New var.
15699 (pcomplete-unquote-argument): New function.
15700 (pcomplete--common-suffix): Always pay attention to case.
15701 (pcomplete--table-subvert): Quote and unquote the text.
15702 (pcomplete--common-quoted-suffix): New function.
15703 (pcomplete-std-complete): Use it and pcomplete-begin.
15705 * bookmark.el (bookmark-bmenu-list): Don't use switch-to-buffer if
15706 we're inside a dedicated or minibuffer window.
15708 2009-10-24 Karl Fogel <kfogel@red-bean.com>
15710 * bookmark.el: Update documentation, especially documentation
15711 of `bookmark-alist' and of the bookmark file format.
15712 Patch by Drew Adams, with minor tweaks from me. (Bug#4195)
15714 2009-10-24 Chong Yidong <cyd@stupidchicken.com>
15716 * mail/emacsbug.el (report-emacs-bug): Clarify that the
15717 keybindings apply to the mail buffer (Bug#4003). Shrink help
15720 * whitespace.el (whitespace-mode, whitespace-newline-mode)
15721 (global-whitespace-mode, global-whitespace-newline-mode)
15722 (whitespace-toggle-options, global-whitespace-toggle-options):
15723 Doc fix (Bug#3660).
15725 * nxml/nxml-mode.el (nxml-balanced-close-start-tag): Use the value
15726 of xmltok-start before the end tag was inserted (Bug#2840).
15728 * progmodes/sh-script.el (sh-font-lock-paren): Handle case
15729 patterns that are preceded by an open-paren (Bug#1320).
15731 2009-10-24 Sven Joachim <svenjoac@gmx.de>
15733 * files.el (delete-directory): Delete symlinks to directories with
15734 delete-file (Bug#4739).
15736 2009-10-24 Dan Nicolaescu <dann@ics.uci.edu>
15738 * vc.el (vc-backend-for-registration): Rename from
15739 vc-get-backend-for-registration. Update callers.
15741 * international/mule-cmds.el (set-language-info-alist):
15743 (leim-list-header, leim-list-entry-regexp): Change defvars to defconst.
15744 (charset): Purecopy the name.
15745 (define-char-code-property): Purecopy string arguments.
15747 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
15748 Purecopy string arguments.
15750 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
15751 * ediff-hook.el (menu-bar-ediff-menu):
15752 * buff-menu.el (Buffer-menu-mode-map): Purecopy names and tooltips.
15753 * bookmark.el (menu-bar-bookmark-map): Add :help and purecopy the name.
15755 2009-10-24 Glenn Morris <rgm@gnu.org>
15757 * comint.el (comint-dynamic-list-completions):
15758 * term.el (term-dynamic-list-completions): Use choose-completion rather
15759 than obsolete alias mouse-choose-completion.
15761 * filecache.el (file-cache-completions-keymap): Bind mouse-2 to
15762 file-cache-choose-completion.
15763 (file-cache-choose-completion): Handle an optional event argument.
15764 (file-cache-mouse-choose-completion): Make it an obsolete alias.
15766 * progmodes/octave-mod.el (octave-complete-symbol):
15767 Use choose-completion if mouse-choose-completion is ever removed.
15769 * textmodes/sgml-mode.el (sgml-looking-back-at): Move definition before
15772 * emacs-lisp/checkdoc.el (generate-autoload-cookie): Define for
15775 * vc-hooks.el (vc-responsible-backend): Fix declaration.
15777 2009-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
15779 * minibuffer.el (completion--embedded-envvar-table): Fix last change.
15780 Ignore `pred' now that we receive one.
15781 Handle test-completion specially.
15783 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
15785 * vc.el (vc-responsible-backend): Throw an error if not backend is
15786 found. Remove the REGISTER argument. Move the code dealing with
15788 (vc-get-backend-for-registration): ... here. New function.
15789 (vc-deduce-fileset): Call vc-get-backend-for-registration instead
15790 of vc-responsible-backend, pass the file name instead of the
15793 2009-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
15795 * pcomplete.el (pcomplete-common-suffix, pcomplete-table-subvert):
15797 (pcomplete-std-complete): Use them. Obey pcomplete-termination-string.
15798 (pcomplete-comint-setup): Don't modify a global var via
15799 accidental side-effects.
15800 (pcomplete-shell-setup): Adjust call accordingly.
15801 (pcomplete-parse-comint-arguments): Use push.
15803 2009-10-23 Chong Yidong <cyd@stupidchicken.com>
15805 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
15806 Allow uncapitalized info node names (Bug#3921).
15808 * mail/emacsbug.el (report-emacs-bug): Tweak the sentence pointing
15809 to the DEBUG file (Bug#3781).
15811 2009-10-23 Jari Aalto <jari.aalto@cante.net>
15813 * textmodes/ispell.el (ispell-dictionary-base-alist): Add finnish
15814 dictionary entry (Bug#4579).
15816 2009-10-23 Michael Albinus <michael.albinus@gmx.de>
15818 * net/tramp.el (top): Remove `tramp-rfn-eshadow-update-overlay'
15819 from `rfn-eshadow-update-overlay-hook' when unloading.
15820 (tramp-methods): Add `tramp-copy-keep-tmpfile' for "rsync" and
15821 "rsyncc". Adjust doc string.
15822 (tramp-temp-buffer-file-name): New buffer-local defvar.
15823 (tramp-handle-insert-file-contents, tramp-handle-write-region):
15824 Keep temporary file when indicated by method ("rsync" and
15826 (tramp-handle-write-region): Handle APPEND.
15827 (tramp-delete-temp-file-function): New defun. Added to
15828 `kill-buffer-hook'.
15830 2009-10-23 Juanma Barranquero <lekktu@gmail.com>
15832 * menu-bar.el (cua-enable-cua-keys): Declare for the byte-compiler.
15834 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
15836 * term/tty-colors.el (msdos-color-values): Remove declaration, unused.
15837 (color-name-rgb-alist, tty-standard-colors)
15838 (tty-color-mode-alist): Change to defconst.
15840 * simple.el (mark-inactive): Purecopy message.
15842 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle): Fix macro.
15843 (global-map, yank-menu):
15844 * textmodes/ispell.el (ispell-menu-map):
15845 * net/eudc.el (eudc-tools-menu):
15846 * international/mule-cmds.el (describe-language-environment-map)
15847 (setup-language-environment-map, set-coding-system-map)
15848 (mule-menu-keymap):
15849 * vc-hooks.el (vc-menu-entry, vc-menu-map):
15850 * replace.el (occur-mode-map):
15851 * pcvs-defs.el (cvs-global-menu): Purecopy names and tooltips.
15853 2009-10-23 Jay Belanger <jay.p.belanger@gmail.com>
15855 * calc/calc.el (math-read-number, math-read-number-simple):
15856 Use `save-match-data'.
15858 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
15860 * simple.el (normal-erase-is-backspace-mode): Use input-decode-map
15861 rather than fiddling with global-map bindings, since it should only
15862 affect per-terminal settings.
15863 See http://bugs.gentoo.org/show_bug.cgi?id=289709.
15865 * minibuffer.el (completion-table-with-terminator): Allow to specify
15866 the terminator-regexp.
15868 * simple.el (switch-to-completions): Look for *Completions* in other
15871 * pcomplete.el: Allow the use of completion-tables.
15872 (pcomplete-std-complete): New command.
15873 (pcomplete-dirs-or-entries): Use a single call to pcomplete-entries.
15874 (pcomplete--here): Use a function for `form' rather than an expression,
15875 so it can be byte-compiled.
15876 (pcomplete-here, pcomplete-here*): Adjust accordingly.
15877 Add edebug declaration.
15878 (pcomplete-show-completions): Remove unused var `curbuf'.
15879 (pcomplete-do-complete, pcomplete-stub):
15880 Don't assume `completions' is a list of strings any more.
15882 2009-10-22 Juanma Barranquero <lekktu@gmail.com>
15884 * find-dired.el (find-name-arg): Fix typo in docstring.
15886 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
15888 * pcmpl-linux.el (pcomplete/kill): Don't abuse pcomplete-entries.
15889 (pcmpl-linux-fs-types): Same, and update to new modules layout.
15891 * pcmpl-gnu.el (pcmpl-gnu-makefile-names): Use a single call to
15894 * comint.el (comint-read-input-ring, comint-write-input-ring)
15895 (comint-substitute-in-file-name)
15896 (comint-dynamic-complete-as-filename)
15897 (comint-dynamic-simple-complete)
15898 (comint-dynamic-list-filename-completions)
15899 (comint-dynamic-list-completions)
15900 (comint-redirect-results-list-from-process): Minor simplifications.
15902 2009-10-21 Kevin Ryde <user42@zip.com.au>
15904 * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
15905 When inserting ";;; Code" put it before any ";;;###autoload" cookie on
15906 the first form. And insert a blank line after ";;; Code" since
15907 that's usual style. (Bug#4612)
15909 * net/dns.el: Add "Keywords: comm", as per net/net-utils.el.
15911 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
15913 * minibuffer.el (completion-table-with-terminator): Properly implement
15914 boundaries, in case `terminator' appears in the suffix.
15915 (completion--embedded-envvar-table): Don't return boundaries if
15916 there's no valid completion. Simplify.
15917 (completion-file-name-table): New completion table extracted from
15918 completion--file-name-table.
15919 (completion--file-name-table): Use it.
15920 (read-file-name-predicate): Declare obsolete.
15921 (read-file-name): Use the pred arg i.s.o read-file-name-predicate.
15922 * vc-bzr.el (vc-bzr-revision-completion-table): Use the new
15923 completion-file-name-table, and use the `pred' argument.
15924 * files.el (locate-file-completion-table): Use the `pred' arg rather
15925 than read-file-name-predicate.
15926 (abbreviate-file-name): Use \` rather than ^ for BOS.
15928 2009-10-21 Dan Nicolaescu <dann@ics.uci.edu>
15930 * vc.el (vc-deduce-fileset): Undo previous change, do not tell
15931 vc-responsible-backend to register, it causes problems.
15933 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
15935 * help-fns.el: Don't require help-mode (to avoid bootstrap issues).
15937 2009-10-21 Michael Albinus <michael.albinus@gmx.de>
15939 * net/tramp-smb.el (tramp-smb-get-stat-capability): New defun.
15940 (tramp-smb-handle-file-attributes): Use it.
15941 (tramp-smb-do-file-attributes-with-stat): Don't raise an error.
15942 (tramp-smb-handle-insert-directory): Use `mapc' rather than
15943 `mapcar'. Use `tramp-smb-get-stat-capability'.
15944 Add `dired-filename' text properties.
15945 (tramp-smb-get-cifs-capabilities): Apply `save-match-data'.
15946 (tramp-smb-maybe-open-connection): Simplify check for smbclient
15949 2009-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
15951 * subr.el (read-key-delay): Reduce to 0.01.
15952 (read-key): Use read-key-sequence-vector to avoid turning M-t into 244
15955 2009-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
15957 * bindings.el (function-key-map): Map C-@ to C-SPC if C-@ is unbound.
15959 * info.el (Info-complete-menu-item): Handle `boundaries' explicitly.
15960 (Info-menu): Remove unused vars `last' and `completions'.
15961 (Info-index-nodes): Remove unused var `node'.
15963 * info.el (Info-complete-menu-item): Use complete-with-action.
15965 2009-10-19 Dan Nicolaescu <dann@ics.uci.edu>
15967 Make vc-annotate work through copies and renames.
15968 * vc-annotate.el (vc-annotate-extract-revision-at-line):
15969 Return the file name too.
15970 (vc-annotate-revision-at-line)
15971 (vc-annotate-find-revision-at-line)
15972 (vc-annotate-revision-previous-to-line)
15973 (vc-annotate-show-log-revision-at-line): Update to get the file
15974 name from vc-annotate-extract-revision-at-line.
15975 (vc-annotate-show-diff-revision-at-line-internal): Change the
15976 argument to mean whether to show a file diff or not. Get the file
15977 name from vc-annotate-extract-revision-at-line.
15978 (vc-annotate-show-diff-revision-at-line):
15979 Update vc-annotate-show-diff-revision-at-line call.
15980 (vc-annotate-warp-revision): Add an optional file argument.
15982 * vc-git.el (vc-git-annotate-command): Pass -C -C to the blame command.
15983 (vc-git-annotate-extract-revision-at-line): Also return the file
15986 * vc-hg.el (vc-hg-annotate-command): Pass --follow to the annotate
15987 command. Remove unused code.
15988 (vc-hg-annotate-re): Update to match --follow output.
15989 (vc-hg-annotate-extract-revision-at-line): Also return the file
15992 * vc.el: Update annotate-extract-revision-at-line documentation.
15994 2009-10-18 Kevin Ryde <user42@zip.com.au>
15996 * ibuffer.el (ibuffer-confirm-operation-on): Correction to error
15997 re-throw, `err' is a pair not a list so can't use apply (Bug#4740).
15999 * net/browse-url.el (browse-url): Identify alist with "consp and
16000 not functionp" and let all other things go down the `apply' leg,
16001 as suggested by Stefan. (Further to bug#4531.)
16003 2009-10-18 Chong Yidong <cyd@stupidchicken.com>
16005 * minibuffer.el (read-file-name): Check for repeat before putting
16006 a default argument in file-name-history (Bug#4657).
16008 * emacs-lisp/lisp-mode.el (preceding-sexp): Recognize hash table
16009 read syntax (Bug#4737).
16011 * textmodes/sgml-mode.el (sgml-delete-tag): Use sgml-looking-back-at.
16013 2009-10-18 Aaron S. Hawley <aaron.s.hawley@gmail.com>
16015 * textmodes/sgml-mode.el (sgml-tag-help): Prompt user for tag.
16016 (html-tag-alist, html-tag-help): Add descriptions for undocumented
16017 entries and make note of obsolete tags.
16019 2009-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
16021 * net/ange-ftp.el (ange-ftp-file-size): Use unwind-protect.
16023 2009-10-18 Glenn Morris <rgm@gnu.org>
16025 * Makefile.in (compile-last): Ensure GREP_OPTIONS is null before calling
16026 grep, so that binary files (eg international/uni-bidi.el) can match.
16027 Remove test for "UnicodeData" files, since it is hopefully unnecessary
16028 now, and in any case the file header format has changed.
16030 2009-10-17 Glenn Morris <rgm@gnu.org>
16032 * textmodes/flyspell.el (flyspell-large-region, flyspell-word)
16033 (flyspell-get-word, flyspell-large-region)
16034 (flyspell-auto-correct-previous-word): Doc/error message fixes.
16036 2009-10-17 Chong Yidong <cyd@stupidchicken.com>
16038 * Makefile.in (ELCFILES): Add ede/shell.
16040 2009-10-17 Dan Nicolaescu <dann@ics.uci.edu>
16042 * term/common-win.el (x-colors): Purecopy it.
16044 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
16046 * tar-mode.el (tar-data-swapped-p): Make the assertion a bit more
16047 permissive for when the buffer is empty.
16048 (tar-header-block-tokenize): Decode the username and groupname.
16049 (tar-chown-entry, tar-chgrp-entry): Encode the names (bug#4730).
16051 2009-10-17 Eric Ludlam <zappo@gnu.org>
16053 * emacs-lisp/eieio-base.el (eieio-persistent-save): If buffer
16054 contains multibyte characters, choose first applicable coding
16055 system automatically.
16057 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
16059 * international/mule-cmds.el (select-safe-coding-system): If the file
16060 has a coding cookie, use it regardless of any other setting (bug#4712).
16062 2009-10-17 Glenn Morris <rgm@gnu.org>
16064 * foldout.el (foldout-mouse-swallow-events):
16065 * gs.el (gs-load-image): Replace obsolete forms of sit-for, sleep-for.
16067 * dired.el (dired-ls-F-marks-symlinks, dired-keep-marker-rename)
16068 (dired-keep-marker-copy, dired-keep-marker-hardlink)
16069 (dired-keep-marker-symlink, dired-dwim-target)
16070 (dired-copy-preserve-time): Do not autoload these defcustoms.
16072 * mail/rmail.el (rmail-write-region-annotate): Prevent viewing different
16073 messages from messing up the file coding. (Bug#4623)
16075 2009-10-17 Jari Aalto <jari.aalto@cante.net>
16077 * textmodes/ispell.el (ispell-get-decoded-string): Give an error
16078 if no match is found for the current dictionary. (Bug#4578)
16080 * textmodes/flyspell.el (flyspell-get-word): Make `following' argument
16081 optional, since that is how it is documented, and this is often called
16082 with a nil argument. (Bug#4577)
16083 (flyspell-external-point-words, flyspell-auto-correct-word)
16084 (flyspell-correct-word-before-point, flyspell-word-search-forward)
16085 (flyspell-word-search-backward): Remove nil argument in calls to
16086 flyspell-get-word, since it is not needed now.
16088 2009-10-17 Ulrich Mueller <ulm@gentoo.org>
16090 * play/doctor.el (doctor-adverbp): Exclude some nouns. (Bug#4565)
16092 2009-10-16 Glenn Morris <rgm@gnu.org>
16094 * net/rcirc.el (rcirc-authenticate): Simplify previous change.
16096 2009-10-16 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
16098 * net/ange-ftp.el (ange-ftp-send-cmd): Handle `size' like `mdtm'.
16099 (ange-ftp-file-size): New function.
16100 (ange-ftp-file-attributes): Use it.
16102 2009-10-16 Michael Albinus <michael.albinus@gmx.de>
16104 * net/tramp-smb.el (tramp-smb-version): New defvar.
16105 (tramp-smb-maybe-open-connection): Use it, in order to avoid
16108 2009-10-16 Glenn Morris <rgm@gnu.org>
16110 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Doc fix.
16111 Maybe copy some custom properties from old to new name. (Bug#4706)
16113 2009-10-16 Juanma Barranquero <lekktu@gmail.com>
16115 * subr.el (error, sit-for, start-process-shell-command)
16116 (start-file-process-shell-command): Set the calling convention
16117 after the function definition.
16119 2009-10-16 Stefan Monnier <monnier@iro.umontreal.ca>
16121 * subr.el (error, sit-for, start-process-shell-command)
16122 (start-file-process-shell-command): Use the new
16123 set-advertised-calling-convention feature.
16125 2009-10-16 Taichi Kawabata <kawabata.taichi@gmail.com>
16127 * international/ucs-normalize.el (ucs-normalize-version):
16129 (check-range): Adjust for Unicode 5.2.
16131 2009-10-15 Juri Linkov <juri@jurta.org>
16133 * menu-bar.el (menu-bar-file-menu): Convert `separator-exit'
16134 to the `menu-item' format.
16136 2009-10-15 Michael Albinus <michael.albinus@gmx.de>
16138 * net/tramp.el (tramp-replace-environment-variables): Do not fail
16139 if the environment variable does not exist.
16141 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
16142 (tramp-smb-get-share, tramp-smb-get-localname): Use only VEC as
16144 (tramp-smb-handle-add-name-to-file)
16145 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
16146 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
16147 (tramp-smb-handle-file-attributes)
16148 (tramp-smb-do-file-attributes-with-stat)
16149 (tramp-smb-handle-file-local-copy)
16150 (tramp-smb-handle-insert-directory)
16151 (tramp-smb-handle-make-directory)
16152 (tramp-smb-handle-make-directory-internal)
16153 (tramp-smb-handle-make-symbolic-link)
16154 (tramp-smb-handle-rename-file, tramp-smb-handle-set-file-modes)
16155 (tramp-smb-handle-write-region, tramp-smb-get-file-entries)
16156 (tramp-smb-maybe-open-connection): Apply the changed parameters.
16157 (tramp-smb-read-file-entry): Read Disk names in compressed format.
16158 Handle long file names.
16159 (tramp-smb-get-cifs-capabilities): Check, whether the connection
16160 process is running.
16161 (tramp-smb-maybe-open-connection): Trace "smbclient -V" command.
16162 Read share names with "-g" option.
16164 2009-10-15 Ryan Yeske <rcyeske@gmail.com>
16166 * net/rcirc.el (rcirc-view-log-file): New command.
16167 (rcirc-track-minor-mode-map): Remove C-c ` binding.
16168 (rcirc-authenticate, rcirc-authinfo): Allow nickserv-nick to be
16171 2009-10-15 Glenn Morris <rgm@gnu.org>
16173 * w32-fns.el (w32-batch-update-autoloads): Take autoload-make-program
16174 from the second command-line argument.
16175 * makefile.w32-in (autoloads, $(lisp)/calendar/cal-loaddefs.el)
16176 ($(lisp)/calendar/diary-loaddefs.el, $(lisp)/calendar/hol-loaddefs.el)
16177 ($(lisp)/mh-e/mh-loaddefs.el): Pass $(MAKE) as second argument to
16178 w32-batch-update-autoloads.
16179 * emacs-lisp/autoload.el (autoload-make-program): New variable.
16180 (batch-update-autoloads): Handle autoload-excludes on windows-nt.
16182 * mail/rmailedit.el (rmail-cease-edit): Give an error if the end of
16183 the headers cannot be located. Simplify, subtracting superflous
16186 2009-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
16188 Replace completion-base-size by completion-base-position to fix bugs
16189 such as (bug#4699).
16190 * simple.el (completion-base-position): New var.
16191 (completion-base-size): Mark as obsolete.
16192 (choose-completion): Make it work for mouse events as well.
16193 Pass the new base-position to choose-completion-string.
16194 (choose-completion-guess-base-position): New function, extracted from
16195 choose-completion-delete-max-match.
16196 (choose-completion-delete-max-match): Use it. Make obsolete.
16197 (choose-completion-string): Use the new base-position info.
16198 (completion-root-regexp): Delete.
16199 (completion-setup-function): Preserve completion-base-position.
16200 Eliminate obsolete base-size manipulation.
16201 * minibuffer.el (display-completion-list): Don't mess with base-size.
16202 (minibuffer-completion-help): Set completion-base-position instead.
16203 * mouse.el (mouse-choose-completion): Redefine as a mere alias to
16205 * textmodes/bibtex.el (bibtex-complete):
16206 * emacs-lisp/crm.el (crm--choose-completion-string):
16207 Adjust to new calling convention.
16208 * complete.el (partial-completion-mode): Use minibufferp to avoid
16209 bumping into incompatible change to choose-completion-string-functions.
16210 * ido.el (ido-choose-completion-string): Make its calling convention
16212 * comint.el (comint-dynamic-list-input-ring-select): Remove obsolete
16213 base-size manipulation.
16214 (comint-dynamic-list-input-ring): Use dotimes and push.
16215 * iswitchb.el (iswitchb-completion-help): Remove dead-code call to
16216 fundamental-mode. Use `or'.
16218 2009-10-14 Juri Linkov <juri@jurta.org>
16220 * misearch.el (multi-isearch-next-buffer-from-list)
16221 (multi-isearch-next-file-buffer-from-list): Doc fix. (Bug#4723)
16223 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
16225 * Makefile.in (compile-onefile): Load `bytecomp' rather than
16228 * minibuffer.el (completion-pcm--merge-completions): Make sure the
16229 string we return is all made up of text from the completions rather
16230 than part from the completions and part from the input (bug#4219).
16232 * ido.el (ido-everywhere): Use define-minor-mode.
16234 * buff-menu.el (list-buffers, ctl-x-map):
16235 Mark the entry points with ;;;###autoload cookies.
16237 2009-10-14 Dan Nicolaescu <dann@ics.uci.edu>
16239 * vc-git.el (vc-git-dir-extra-headers): Set the branch name
16240 correctly in the detached head case.
16241 (vc-git-print-log): Remove unused binding.
16243 * vc.el (vc-responsible-backend): When a directory is passed for
16244 for registration create a VC repository if no backend is
16245 responsible for the directory argument.
16246 (vc-deduce-fileset): Tell vc-responsible-backend to register.
16248 * vc.el: Move comments about RCS and SCCS ...
16250 * vc-sccs.el: ... here, respectively.
16252 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
16254 * minibuffer.el (completion--file-name-table): Return nil if there's
16255 no file completion, even if substitute-in-file-name changed
16256 the string (bug#4708).
16258 2009-10-13 Juri Linkov <juri@jurta.org>
16260 * files-x.el (read-file-local-variable-value): Don't filter out
16261 minor modes from mode name completion (bug#4664).
16263 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
16265 * international/mule-cmds.el (ucs-names): Remove exclusion of
16266 "Enclosed Ideographic Supplement" range (U+1F200..U+1F2FF).
16268 2009-10-13 Kenichi Handa <handa@m17n.org>
16270 * international/uni-name.el: Regenerated.
16272 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
16274 * bs.el (bs-mode): Fix last change. (`revert-buffer-function'
16275 should be automatically buffer-local, but isn't.)
16277 2009-10-12 Sam Steingold <sds@gnu.org>
16279 * progmodes/compile.el (compilation-next-error-function): Fix the
16280 timestamps if the buffer has been visited before.
16281 (compilation-mode-font-lock-keywords): Do not prepend "^ *" to
16282 non-anchored patterns, like the perl one (bug#3928).
16284 2009-10-12 Glenn Morris <rgm@gnu.org>
16286 * net/tramp-smb.el (tramp-smb-do-file-attributes-with-stat):
16289 2009-10-12 Juanma Barranquero <lekktu@gmail.com>
16291 * proced.el (proced-unload-function): New function.
16293 * bs.el (bs-mode): Set `revert-buffer-function' to `bs-refresh'.
16294 (bs-refresh): Add IGNORED arg for `revert-buffer' compatibility.
16297 * menu-bar.el (menu-bar-file-menu): Fix format of `separator-exit' item.
16299 2009-10-11 Juri Linkov <juri@jurta.org>
16301 * files-x.el (read-file-local-variable-value):
16302 Provide default value only for bound variables (bug#4664).
16304 2009-10-11 Michael Albinus <michael.albinus@gmx.de>
16306 * net/tramp.el (tramp-local-host-p): Function shall return nil for
16307 connection methods like smb.
16309 * net/tramp-cache.el (tramp-flush-connection-property): The hash
16312 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
16313 (tramp-smb-file-name-handler-alist): Add handlers for
16314 `add-name-to-file', `make-symbolic-link'.
16315 (tramp-smb-handle-add-name-to-file)
16316 (tramp-smb-do-file-attributes-with-stat)
16317 (tramp-smb-handle-make-symbolic-link)
16318 (tramp-smb-get-cifs-capabilities): New defuns.
16319 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
16320 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
16321 (tramp-smb-handle-file-local-copy)
16322 (tramp-smb-handle-make-directory-internal)
16323 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
16324 The file name syntax depends on cifs capabilities.
16325 (tramp-smb-handle-file-attributes):
16326 Call `tramp-smb-do-file-attributes-with-stat' if possible.
16327 (tramp-smb-handle-insert-directory): Use posix attributes if possible.
16328 (tramp-smb-handle-set-file-modes): It is applicable for posix only.
16330 2009-10-11 Chong Yidong <cyd@stupidchicken.com>
16332 * emacs-lisp/eieio.el: Avoid requiring cl at runtime.
16333 (eieio-defclass): Apply deftype handler and setf-method properties
16335 (eieio-add-new-slot): Avoid union function from cl library.
16336 (eieio--typep): New function.
16337 (eieio-perform-slot-validation): Use it.
16339 2009-10-10 Karl Fogel <kfogel@red-bean.com>
16341 * bookmark.el (bookmark-yank-word, bookmark-insert-current-bookmark):
16342 Update documentation to refer to the variables documented in r1.135.
16345 2009-10-10 Karl Fogel <kfogel@red-bean.com>
16347 * bookmark.el (Info-suffix-list): Remove this unused variable.
16348 (bookmark-current-point): Remove this obsolete variable.
16349 (bookmark-set, bookmark-rename, bookmark-send-edited-annotation):
16350 Adjust for removal of bookmark-current-point.
16352 (bookmarks-already-loaded, bookmark-current-buffer)
16353 (bookmark-yank-point): Document. (Bug#4188)
16355 2009-10-10 Glenn Morris <rgm@gnu.org>
16357 * frame.el (frame-height): Doc fix.
16359 * calendar/calendar.el (calendar-split-width-threshold): New option.
16360 (calendar-basic-setup): Use calendar-split-width-threshold.
16362 2009-10-09 Juanma Barranquero <lekktu@gmail.com>
16364 * international/mule-cmds.el (ucs-names): Exclude new "Enclosed
16365 Ideographic Supplement" range (U+1F200..U+1F2FF).
16367 2009-10-09 Karl Fogel <kfogel@red-bean.com>
16369 * bookmark.el (bookmark-bmenu-rename): Don't call bookmark-bmenu-list,
16370 since the list will have been rebuilt anyway. (Bug#4349)
16372 2009-10-09 Karl Fogel <kfogel@red-bean.com>
16374 * bookmark.el (bookmark-delete): Don't let batch arg prevent saving.
16375 (bookmark-bmenu-execute-deletions): Don't save here, as
16376 bookmark-delete will now do so if necessary.
16377 Suggested by Thierry Volpiatto <thierry.volpiatto {_AT_} gmail.com>.
16380 2009-10-09 Glenn Morris <rgm@gnu.org>
16382 * mail/emacsbug.el (report-emacs-bug): Also print `features'.
16384 2009-10-09 Karl Fogel <kfogel@red-bean.com>
16386 * bookmark.el (bookmark-jump): Add new `display-func' parameter.
16387 (bookmark-jump-other-window): Just invoke bookmark-jump with new
16388 argument now, so the two function's behaviors will match. (Bug#3645)
16390 2009-10-08 Michael Albinus <michael.albinus@gmx.de>
16392 * net/tramp.el (tramp-file-name-real-user, tramp-file-name-domain)
16393 (tramp-file-name-real-host, tramp-file-name-port):
16394 Apply `save-match-data'.
16396 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Handle the
16397 case both directories are remote.
16398 (tramp-smb-handle-expand-file-name): Implement "~" expansion.
16399 (tramp-smb-maybe-open-connection): Flush the cache only if necessary.
16401 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
16403 * makefile.w32-in (WINS_UPDATES): Fix typo in previous change.
16405 2009-10-07 Glenn Morris <rgm@gnu.org>
16407 * emacs-lisp/autoload.el (batch-update-autoloads): Remove useless use
16410 2009-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
16412 * files-x.el (read-file-local-variable): Include some
16413 non-user-variables in the completion table (bug#4664).
16415 2009-10-07 Michael Albinus <michael.albinus@gmx.de>
16417 * net/tramp-cache.el (tramp-flush-connection-property): Add trace
16420 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
16421 (tramp-smb-file-name-handler-alist): Add handler for
16422 `copy-directory', `expand-file-name', `set-file-modes'.
16423 (tramp-smb-handle-copy-directory)
16424 (tramp-smb-handle-expand-file-name)
16425 (tramp-smb-handle-set-file-modes): New defuns.
16426 (tramp-smb-handle-copy-file): Handle KEEP-DATE.
16427 (tramp-smb-handle-file-attributes): Simplify check for retrieving
16429 (tramp-smb-handle-insert-directory): Don't flush the cache.
16430 (tramp-smb-maybe-open-connection): Check for samba client and
16433 2009-10-07 Eli Zaretskii <eliz@gnu.org>
16435 * emacs-lisp/autoload.el (batch-update-autoloads): Fix last change
16436 to not error out of search for "^lisp=" fails.
16438 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
16440 * makefile.w32-in (WINS_UPDATES): New macro.
16441 (custom-deps, finder-data, autoloads): Use it.
16443 2009-10-07 Glenn Morris <rgm@gnu.org>
16445 * Makefile.in (autoloads): Revert previous change.
16446 * emacs-lisp/autoload.el (batch-update-autoloads): Rather than having
16447 the list of preloaded files passed on the command-line, get
16448 it from src/Makefile.
16450 * calendar/calendar.el (calendar-basic-setup): In the wide frame case,
16451 show the original buffer rather than a random one.
16453 2009-10-07 Markus Rost <rost@math.uni-bielefeld.de>
16455 * help.el (describe-no-warranty): Place point in a slightly better
16456 position in the GPLv3 text.
16458 2009-10-06 Sam Steingold <sds@gnu.org>
16460 * net/tramp-compat.el (tramp-compat-process-running-p): Check that
16461 the comm attribute is present before calling regexp-quote.
16463 2009-10-06 Juanma Barranquero <lekktu@gmail.com>
16465 * play/animate.el (animate-string): For good effect, make sure
16466 `indent-tabs-mode' and `show-trailing-whitespace' are nil.
16468 * play/animate.el (animate-sequence, animate-birthday-present):
16469 * misc.el (butterfly): Don't set `indent-tabs-mode'.
16471 2009-10-06 Glenn Morris <rgm@gnu.org>
16473 * emacs-lisp/byte-run.el (define-obsolete-face-alias): Doc fix.
16475 * emacs-lisp/autoload.el (autoload-excludes): New variable.
16476 (autoload-generate-file-autoloads): Skip files in autoload-excludes.
16477 (batch-update-autoloads): Process a string value of autoload-excludes,
16478 set during the build process.
16479 * Makefile.in (autoloads): Skip preloaded files. (Bug#4446)
16481 * net/tramp.el (tramp-handle-start-file-process): Move tramp-error call
16482 inside with-parsed... macro so that `v' is defined.
16484 * progmodes/f90.el (f90-end-of-block, f90-beginning-of-block):
16485 * progmodes/fortran.el (fortran-end-of-block)
16486 (fortran-beginning-of-block):
16487 Also push mark in the macro case.
16489 * emerge.el (emerge-show-file-name):
16490 * calc/calc.el (calc-quit):
16491 * calc/calc-misc.el (calc-big-or-small):
16492 * calc/calc-graph.el (calc-graph-view):
16493 * calc/calc-ext.el (calc-reset):
16494 * calendar/calendar.el (calendar-basic-setup):
16495 Use window-full-height-p.
16497 * mail/rmailedit.el (rmail-cease-edit): If there is a Content-Type
16498 header we don't understand, don't insert another. (Bug#4624)
16499 If changing mime charset, insert the new one in the right place.
16501 2009-10-06 Matthew Junker <matthew.junker@sbcglobal.net> (tiny change)
16503 * calendar/cal-tex.el (cal-tex-cursor-month-landscape)
16504 (cal-tex-cursor-month): Correctly increment the end date for diary and
16505 holiday listing. (Bug#4626)
16507 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
16509 * help-fns.el (describe-function-1): Don't burp if the function is not
16512 2009-10-05 Juanma Barranquero <lekktu@gmail.com>
16514 * emacs-lisp/chart.el (chart-face-pixmap-list, chart-new-buffer, chart)
16515 (chart-axis-range, chart-axis-names, chart-sequece, chart-bar)
16516 (chart-draw, chart-axis-draw, chart-sort, chart-sort-matchlist)
16517 (chart-draw-line, chart-bar-quickie): Fix typos in docstrings.
16519 * emacs-lisp/eieio.el (generic-p, eieiomt-next, eieio-generic-form)
16520 (eieio-default-superclass): Reflow docstrings.
16521 (this, class-option-assoc, defclass, eieio-class-un-autoload)
16522 (eieio-unbind-method-implementations, defmethod)
16523 (eieio-validate-slot-value, eieio-validate-class-slot-value)
16524 (oref-default, eieio-oref-default, eieio-oset, eieio-oset-default)
16525 (with-slots, eieio-add-new-slot, object-assoc, object-remove-from-list)
16526 (eieio-slot-originating-class-p, eieio-slot-name-index)
16527 (eieio-pre-method-execution-hooks, eieio-initarg-to-attribute)
16528 (constructor, initialize-instance, no-next-method, object-print)
16529 (object-write, eieio-override-prin1, eieio-edebug-prin1-to-string):
16530 Fix typos in docstrings.
16531 (eieio-defclass, eieio-perform-slot-validation-for-default, defgeneric)
16532 (child-of-class-p, object-slots, slot-boundp, slot-exists-p)
16533 (next-method-p): Doc fixes.
16534 (eieio-add-new-slot, call-next-method, eieiomt-add, change-class):
16535 Fix typos in error messages.
16536 (eieio-defmethod): Fix typo in description of generic method.
16538 * emacs-lisp/eieio-base.el (eieio-instance-inheritor, slot-unbound)
16539 (eieio-persistent-save-interactive, slot-missing):
16540 Fix typos in docstrings.
16541 (eieio-instance-inheritor-slot-boundp): Doc fix.
16543 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod)
16544 (byte-compile-defmethod-param-convert): Fix typos in docstrings.
16546 * emacs-lisp/eieio-custom.el (eieio-done-customizing)
16547 (eieio-custom-object-apply-reset):
16548 Fix typos in docstrings and error messages.
16550 * emacs-lisp/eieio-datadebug.el (data-debug-show):
16551 Fix typo in docstring.
16553 * emacs-lisp/eieio-opt.el (top): Fix typo in error message.
16554 (eieio-browse-tree): Doc fix.
16555 (eieio-all-generic-functions, eieio-class-speedbar): Reflow docstrings.
16556 (eieio-help-mode-augmentation-maybee, eieio-class-speedbar-make-map):
16557 Fix typos in docstrings.
16559 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-file-button): Doc fix.
16560 (eieio-speedbar-key-map, eieio-speedbar-create-engine)
16561 (eieio-speedbar-buttons, eieio-speedbar, eieio-speedbar-object-children)
16562 (eieio-speedbar-make-tag-line, eieio-speedbar-object-expand):
16565 2009-10-05 Dan Nicolaescu <dann@ics.uci.edu>
16567 * vc-hg.el (log-view-vc-backend): Declare for compiler.
16568 (vc-hg-outgoing-mode, vc-hg-incoming-mode):
16569 Set log-view-vc-backend so that diff can work.
16571 * log-view.el (log-view-diff): Use vc-diff-internal instead of
16573 (vc-diff-internal): Autoload this instead of vc-version-diff.
16575 2009-10-05 Eli Zaretskii <eliz@gnu.org>
16577 * simple.el (eval-expression): Doc fix.
16579 * progmodes/cwarn.el (cwarn-mode): Doc fix.
16581 2009-10-05 Michael Albinus <michael.albinus@gmx.de>
16583 * files.el (directory-files-no-dot-files-regexp): New defconst.
16584 (delete-directory): Use it.
16585 (copy-directory): Use it. Remove parameter PRESERVE-UID-GID.
16587 * net/tramp.el (tramp-verbose): Fix docstring.
16588 (tramp-methods): Add recursive option to `tramp-copy-args'.
16589 Add `tramp-copy-recursive'. Valid for "rcp", "scp", "scp1", "scp2",
16590 "scp1_old", "scp2_old", "rsync", "rsyncc".
16591 (tramp-default-method): Check also for `auth-source-user-or-password'.
16592 (tramp-file-name-handler-alist, tramp-file-name-for-operation):
16593 Add handler for `copy-directory'.
16594 (tramp-handle-copy-directory): New defun.
16595 (tramp-do-copy-or-rename-file-out-of-band): Handle directory case.
16596 (tramp-handle-start-file-process): Raise an error when PROGRAM is nil.
16597 Optimize sent command.
16599 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
16601 * calendar/diary-lib.el (diary-show-all-entries): Re-fit the calendar
16602 window if necessary.
16604 * calendar/calendar.el (calendar-basic-setup): Don't call
16605 switch-to-buffer in a dedicated window.
16607 2009-10-05 Karl Fogel <kfogel@red-bean.com>
16609 * bookmark.el (bookmark-handle-bookmark): If bookmark has no file,
16610 don't do anything related to relocating, just return nil.
16611 (bookmark-error-no-filename): New error.
16612 (bookmark-default-handler): Signal `bookmark-error-no-filename' if
16613 bookmark has no file. Don't even attempt to handle things that
16614 are not files; the whole point of custom handlers is to keep that
16615 knowledge elsewhere anyway. Tighten some comments.
16616 (bookmark-file-or-variation-thereof): Remove now-unused function.
16617 (bookmark-location): Doc string fix.
16620 2009-10-04 Karl Fogel <kfogel@red-bean.com>
16622 * bookmark.el (bookmark-handle-bookmark): When relocating a bookmark,
16623 don't use a file dialog, because they usually don't know how to read
16624 a directory target from the user. (Bug#4230)
16625 Also, make sure the prompt can display directories as well as files.
16627 2009-10-04 Karl Fogel <kfogel@red-bean.com>
16629 * bookmark.el (bookmark-set, bookmark-buffer-name):
16630 Improve doc strings. (Bug#1193)
16632 2009-10-04 Karl Fogel <kfogel@red-bean.com>
16634 * bookmark.el (bookmark-get-bookmark, bookmark-get-bookmark-record)
16635 (bookmark-set-name, bookmark-prop-get, bookmark-prop-set)
16636 (bookmark-get-annotation, bookmark-set-annotation)
16637 (bookmark-get-filename, bookmark-set-filename, bookmark-get-position)
16638 (bookmark-set-position, bookmark-get-front-context-string)
16639 (bookmark-set-front-context-string, bookmark-get-rear-context-string)
16640 (bookmark-set-rear-context-string, bookmark-location, bookmark-jump)
16641 (bookmark-jump-other-window, bookmark-handle-bookmark)
16642 (bookmark-relocate, bookmark-insert-location, bookmark-rename)
16643 (bookmark-insert, bookmark-delete, bookmark-time-to-save-p)
16644 (bookmark-edit-annotation-mode, bookmark-edit-annotation):
16645 Improve doc strings to say whether bookmark can be a string or
16646 a record or both, and make other consistency and clarity fixes.
16647 (bookmark-get-handler, bookmark--jump-via, bookmark-write-file)
16648 (bookmark-default-annotation-text, bookmark-yank-word)
16649 (bookmark-maybe-load-default-file, bookmark-maybe-sort-alist)
16650 (bookmark-import-new-list, bookmark-maybe-rename)
16651 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
16652 (bookmark-bmenu-bookmark): Give these doc strings.
16653 (bookmark-bmenu-check-position): Give this a doc string, but also
16654 add a FIXME comment about how the function may be pointless.
16655 (bookmark-default-handler): Rework doc string and change a
16656 parameter name, to clarify that this takes a bookmark record
16657 not a bookmark name.
16658 (bookmark-set): Change a parameter name to indicate its meaning,
16659 and improve the doc string a bit.
16662 2009-10-04 Karl Fogel <kfogel@red-bean.com>
16664 * bookmark.el (bookmark-alist): Document the new `handler' element
16665 in the param alist.
16666 (bookmark-make-record-function): Adjust documentation for above.
16669 2009-10-04 Karl Fogel <kfogel@red-bean.com>
16671 * info.el (Info-bookmark-make-record): Document this function.
16672 (Info-bookmark-jump): Document with a doc string, not just a comment.
16675 2009-10-04 Michael Albinus <michael.albinus@gmx.de>
16677 * files.el (copy-directory): New defun.
16679 * dired-aux.el (dired-copy-file-recursive): Use it.
16681 2009-10-04 Juanma Barranquero <lekktu@gmail.com>
16683 * files-x.el (modify-dir-local-variable)
16684 (copy-dir-locals-to-file-locals-prop-line): Fix typos in
16687 * recentf.el (recentf-unload-function): New function.
16689 2009-10-04 Glenn Morris <rgm@gnu.org>
16691 * window.el (window-full-height-p): Add doc string.
16693 2009-10-04 Martin Rudalics <rudalics@gmx.at>
16695 * window.el (window-full-height-p): New function. (Bug#4543)
16697 2009-10-03 Dan Nicolaescu <dann@ics.uci.edu>
16699 * vc.el: Remove commented out code.
16700 (vc-derived-from-dir-mode): Remove, unused.
16701 (vc-version-diff, vc-diff): Consistently pass t to vc-deduce-fileset.
16703 2009-10-03 Michael Albinus <michael.albinus@gmx.de>
16705 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
16706 Disable `file-name-handler-alist' when loading 'ange-ftp. Otherwise,
16707 there could be recursive loading when `default-directory' is a
16708 remote file name. (Bug#4614)
16710 2009-10-03 Glenn Morris <rgm@gnu.org>
16712 * calendar/calendar.el (calendar-basic-setup): Handle the case where
16714 (calendar-generate-window): Test for shrinkability rather than width.
16716 * mail/rmail.el (rmail-generate-viewer-buffer): Be more careful about
16717 reusing existing buffers, in case we happen to visit two files with the
16718 same basename. (Bug#4593)
16720 2009-10-02 Eli Zaretskii <eliz@gnu.org>
16722 * makefile.w32-in (update-subdirs-CMD): Add cedet to $(WINS_SUBDIR).
16723 (WINS_CEDET_SUBDIRS): List of subdirectories of cedet.
16724 (bootstrap-clean-CMD, bootstrap-clean-SH): Remove *.elc files in
16725 subdirs of cedet as well.
16726 (AUTOGENEL): Add loaddefs.el files in cedet subdirectories.
16728 2009-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
16730 * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string):
16731 Obey advertised-signature-table.
16733 * help-fns.el (help-function-arglist): Don't check
16734 advertised-signature-table.
16735 (describe-function-1): Do it here instead so it also applies to subrs.
16737 2009-10-02 Michael Albinus <michael.albinus@gmx.de>
16739 * simple.el (start-file-process): Say in the doc-string, that file
16740 handlers might not support pty association, if PROGRAM is nil.
16742 * net/ange-ftp.el (ange-ftp-generate-passwd-key): Check, whether
16743 HOST and USER are strings. They are nil, when there are
16744 incomplete entries in ~/.netrc, for example.
16745 (ange-ftp-delete-directory): Implement RECURSIVE case. Change to
16746 root directory ("device busy" error otherwise).
16748 * net/tramp-smb.el (tramp-smb-handle-make-directory-internal):
16749 Flush file properties of created directory.
16751 2009-10-02 Eli Zaretskii <eliz@gnu.org>
16753 * makefile.w32-in (WINS_BASIC): Remove cedet.
16754 (WINS_CEDET): Add cedet.
16755 (update-subdirs-SH): Use $(WINS_SUBDIR), not $(WINS).
16757 2009-10-02 Kevin Ryde <user42@zip.com.au>
16759 * net/browse-url.el (browse-url): Pass any symbol in
16760 browse-url-browser-function to `apply', since if you've mistakenly put
16761 an unbound symbol then the error is clearer. (Bug#4531)
16763 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
16765 * allout.el (allout-init, allout-back-to-current-heading)
16766 (allout-beginning-of-current-entry, allout-ascend-to-depth)
16767 (allout-ascend, allout-up-current-level, allout-end-of-level)
16768 (allout-previous-visible-heading, allout-forward-current-level)
16769 (allout-backward-current-level, allout-show-children):
16770 * apropos.el (apropos-describe-plist):
16771 * bookmark.el (bookmark-maybe-historicize-string, bookmark-bmenu-list):
16772 * comint.el (comint-strip-ctrl-m, comint-goto-process-mark):
16773 * completion.el (add-completion, add-permanent-completion):
16774 * descr-text.el (describe-text-category, describe-char):
16775 * desktop.el (desktop-lazy-abort):
16776 * dired-x.el (dired-omit-expunge, dired-x-bind-find-file):
16777 * dired.el (dired-build-subdir-alist):
16778 * ediff.el (ediff-version):
16779 * elide-head.el (elide-head, elide-head-show):
16780 * emerge.el (emerge-version):
16782 * face-remap.el (variable-pitch-mode):
16783 * faces.el (describe-face):
16784 * ffap.el (ffap-next-url, find-file-at-point, ffap-at-mouse)
16786 * files.el (find-file-existing, auto-save-mode):
16787 * font-lock.el (font-lock-fontify-buffer):
16788 * help-fns.el (describe-function, describe-variable)
16789 (describe-syntax, describe-categories):
16790 * help.el (view-lossage, describe-bindings, describe-key)
16792 * hexl.el (hexl-current-address):
16793 * hi-lock.el (hi-lock-mode, hi-lock-find-patterns):
16794 * info.el (Info-goto-emacs-key-command-node):
16795 * log-edit.el (log-edit-insert-cvs-template)
16796 (log-edit-insert-cvs-rcstemplate):
16797 * menu-bar.el (menu-bar-mode):
16798 * mouse.el (mouse-appearance-menu):
16799 * newcomment.el (comment-indent-new-line):
16800 * pgg.el (pgg-save-coding-system, pgg-encrypt-region)
16801 (pgg-encrypt-symmetric-region, pgg-encrypt-symmetric)
16802 (pgg-encrypt, pgg-decrypt-region, pgg-decrypt)
16803 (pgg-sign-region, pgg-sign, pgg-verify-region, pgg-verify):
16804 * recentf.el (recentf-mode):
16805 * savehist.el (savehist-mode, savehist-save):
16806 * shadowfile.el (shadow-copy-files):
16807 * simple.el (kill-ring-save, next-line, previous-line)
16808 (normal-erase-is-backspace-mode):
16809 * strokes.el (strokes-update-window-configuration)
16810 (strokes-load-user-strokes, strokes-prompt-user-save-strokes)
16811 (strokes-xpm-for-stroke):
16812 * time.el (emacs-uptime, emacs-init-time):
16813 * tutorial.el (tutorial--describe-nonstandard-key)
16814 (tutorial--detailed-help):
16815 * type-break.el (type-break-mode)
16816 (type-break-mode-line-message-mode, type-break-query-mode)
16817 (type-break-guesstimate-keystroke-threshold):
16818 * vc.el (vc-version-diff, vc-diff, vc-root-diff):
16819 * version.el (emacs-version):
16820 * vt-control.el (vt-keypad-on, vt-keypad-off, vt-numlock):
16821 * winner.el (winner-mode):
16822 * calendar/timeclock.el (timeclock-in, timeclock-out)
16823 (timeclock-status-string, timeclock-change)
16824 (timeclock-workday-remaining-string)
16825 (timeclock-workday-elapsed-string)
16826 (timeclock-when-to-leave-string):
16827 * calendar/todo-mode.el (todo-add-category):
16828 * emacs-lisp/advice.el (ad-enable-regexp, ad-disable-regexp):
16829 * emacs-lisp/autoload.el (update-file-autoloads):
16830 * emacs-lisp/checkdoc.el (checkdoc-current-buffer)
16831 (checkdoc-start, checkdoc-continue, checkdoc-rogue-spaces)
16832 (checkdoc-message-text, checkdoc-defun):
16833 * emacs-lisp/debug.el (debugger-list-functions):
16834 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
16835 * emacs-lisp/eieio-opt.el (eieio-describe-class)
16836 (eieio-describe-generic):
16837 * emacs-lisp/lisp-mnt.el (lm-synopsis):
16838 * emacs-lisp/shadow.el (list-load-path-shadows):
16839 * emulation/cua-base.el (cua-mode):
16840 * emulation/edt.el (edt-set-scroll-margins):
16841 * emulation/tpu-edt.el (tpu-toggle-newline-and-indent)
16842 (tpu-toggle-regexp, tpu-toggle-search-direction)
16843 (tpu-toggle-rectangle, tpu-toggle-control-keys):
16844 * emulation/tpu-extras.el (tpu-set-scroll-margins):
16845 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
16846 (viper-set-parsing-style-toggling-macro)
16847 (viper-set-emacs-state-searchstyle-macros):
16848 * emulation/viper.el (viper-set-hooks):
16849 * eshell/esh-mode.el (eshell-truncate-buffer):
16850 * international/mule-cmds.el (prefer-coding-system)
16851 (describe-input-method, describe-language-environment):
16852 * international/mule-diag.el (list-character-sets)
16853 (describe-character-set, describe-coding-system)
16854 (describe-fontset, list-fontsets, list-input-methods):
16855 * mail/sendmail.el (mail-signature):
16856 * net/ange-ftp.el (ange-ftp-copy-file):
16857 * net/browse-url.el (browse-url):
16858 * net/eudc.el (eudc-set-server, eudc-get-attribute-list):
16859 * net/quickurl.el (quickurl-add-url):
16860 * net/rcirc.el (names, topic):
16861 * net/xesam.el (xesam-mode):
16862 * play/5x5.el (5x5-new-game):
16863 * play/yow.el (apropos-zippy):
16864 * progmodes/ada-mode.el (ada-mode-version):
16865 * progmodes/f90.el (f90-beginning-of-subprogram, f90-end-of-subprogram)
16867 (f90-beginning-of-block):
16868 * progmodes/fortran.el (fortran-end-of-block)
16869 (fortran-beginning-of-block):
16870 * progmodes/js.el (js-syntactic-context, js-gc, js-eval):
16871 * progmodes/python.el (python-describe-symbol, python-shell):
16872 * term/ns-win.el (ns-print-buffer):
16873 * textmodes/bibtex.el (bibtex-end-of-entry, bibtex-url):
16874 * textmodes/flyspell.el (flyspell-mode-on):
16875 * textmodes/page-ext.el (set-page-delimiter, pages-directory)
16876 (pages-directory-for-addresses):
16877 * textmodes/table.el (table-recognize-cell)
16878 (table-query-dimension, table-generate-source)
16879 (table-insert-sequence, table--warn-incompatibility):
16880 * textmodes/tex-mode.el (tex-validate-buffer):
16881 * textmodes/texinfmt.el (texinfmt-version)
16882 (texinfo-format-buffer):
16883 Use `called-interactively-p' instead of `interactive-p'.
16885 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
16887 * image-mode.el (image-toggle-display):
16888 * emacs-lisp/elp.el (elp-instrument-function):
16889 * emacs-lisp/advice.el (ad-make-advised-definition):
16890 * emacs-lisp/easy-mmode.el (define-minor-mode):
16891 * net/browse-url.el (browse-url-maybe-new-window):
16892 * progmodes/sh-script.el (sh-learn-buffer-indent):
16893 Pass new argument 'any to `called-interactively-p'.
16895 2009-10-01 Juanma Barranquero <lekktu@gmail.com>
16897 * international/uni-bidi.el:
16898 * international/uni-category.el:
16899 * international/uni-combining.el:
16900 * international/uni-comment.el:
16901 * international/uni-decimal.el:
16902 * international/uni-decomposition.el:
16903 * international/uni-digit.el:
16904 * international/uni-lowercase.el:
16905 * international/uni-mirrored.el:
16906 * international/uni-name.el:
16907 * international/uni-numeric.el:
16908 * international/uni-old-name.el:
16909 * international/uni-titlecase.el:
16910 * international/uni-uppercase.el:
16911 Regenerate from Unicode 5.2.0 data.
16913 2009-10-01 Glenn Morris <rgm@gnu.org>
16915 * Makefile.in (ELCFILES): Regenerate.
16917 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
16919 * subr.el (interactive-p): Mark obsolete.
16920 (called-interactively-p): Make the optional-ness of `kind' obsolete.
16921 * emacs-lisp/bytecomp.el (byte-compile-fdefinition): Make it obey
16922 advertised-signature-table for subroutines as well.
16924 * emacs-lisp/byte-run.el (advertised-signature-table): New var.
16925 (set-advertised-calling-convention): New function.
16926 (make-obsolete, define-obsolete-function-alias)
16927 (make-obsolete-variable, define-obsolete-variable-alias):
16928 Make the optional-ness of `when' obsolete.
16929 (define-obsolete-face-alias): Make `when' non-optional.
16930 * help-fns.el (help-function-arglist):
16931 * emacs-lisp/bytecomp.el (byte-compile-fdefinition):
16932 Use advertised-signature-table.
16934 2009-10-01 Michael Albinus <michael.albinus@gmx.de>
16936 * files.el (delete-directory): New defun. The original function
16937 in fileio.c has been renamed to `delete-directory-internal'.
16939 * dired.el (dired-delete-file): Call `delete-directory' with
16940 RECURSIVE parameter.
16942 * net/ange-ftp.el (ange-ftp-delete-directory): Add optional
16943 parameter RECURSIVE. Implementation is missing.
16945 * net/tramp.el (tramp-handle-make-directory): Flush upper
16946 directory's file properties.
16947 (tramp-handle-delete-directory): Handle optional parameter RECURSIVE.
16948 (tramp-handle-dired-recursive-delete-directory): Flush directory
16949 properties after the remove command only.
16951 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
16952 Handle optional parameter RECURSIVE.
16954 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
16955 Handle optional parameter RECURSIVE.
16957 * net/tramp-smb.el (tramp-smb-errors): Add error message for
16958 connection timeout.
16959 (tramp-smb-handle-delete-directory): Handle optional parameter
16962 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
16964 * emacs-lisp/bytecomp.el (byte-compile-defmacro-declaration): New fun.
16965 (byte-compile-file-form-defmumble, byte-compile-defmacro): Use it.
16966 (byte-compile-defmacro): Use backquotes.
16968 * files.el (cd-absolute): Don't abbreviate-file-name (bug#4599).
16970 * vc-dispatcher.el (vc-resynch-window): Don't revert a buffer which
16971 has no associated file.
16972 (vc-resynch-buffer): Use vc-dir-buffers.
16974 2009-10-01 Glenn Morris <rgm@gnu.org>
16976 * emacs-lisp/chart.el (chart-zap-chars, chart-bar-quickie)
16977 (chart-file-count):
16978 * emacs-lisp/eieio-comp.el (byte-compile-defmethod-param-convert):
16979 * emacs-lisp/eieio-datadebug.el (data-debug-insert-object-button):
16980 * emacs-lisp/eieio-opt.el (eieio-describe-class):
16981 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-create):
16982 * emacs-lisp/eieio.el (defclass, eieio-defclass-autoload)
16983 (eieio-copy-parents-into-subclass, make-instance, class-children)
16984 (eieio-generic-form):
16986 * vc-cvs.el (vc-cvs-parse-entry): Be more careful with the
16987 match-data. (Bug#4555).
16989 * emacs-lisp/check-declare.el (check-declare-scan): Read the declaration
16990 rather than parsing it as a regexp. This relaxes the layout
16991 requirements and makes errors easier to detect.
16992 (check-declare-verify): Check file is regular.
16993 (check-declare-directory): Doc fix.
16994 * subr.el (declare-function): Doc fix.
16996 * ibuffer.el (ibuffer-format-qualifier):
16997 * isearch.el (hi-lock-regexp-okay):
16998 * calc/calc.el (math-zerop):
16999 * mail/uce.el (rmail-msgbeg, rmail-msgend):
17000 * term/w32-win.el (setup-default-fontset, set-fontset-font):
17001 Remove unused declarations.
17003 2009-09-30 Eric Ludlam <zappo@gnu.org>
17005 * emacs-lisp/eieio.el (boolean-p): Delete.
17007 2009-09-30 Glenn Morris <rgm@gnu.org>
17009 * emacs-lisp/authors.el (authors-ignored-files): Add "js2-mode.el".
17011 * emacs-lisp/elint.el (elint-init-form): Report declarations where the
17012 filename is not a string.
17014 2009-09-29 Chong Yidong <cyd@stupidchicken.com>
17016 * files.el (safe-local-eval-forms): Fix typo.
17018 2009-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
17020 * vc-hooks.el (vc-dir-buffers): New var.
17021 (vc-state-refresh): New function.
17022 (vc-state): Use it.
17023 (vc-after-save): Always ask the backend to recompute the new state.
17024 Always call vc-dir if necessary, using vc-dir-buffers.
17025 * vc-dir.el (vc-dir-prepare-status-buffer, vc-dir-resynch-file):
17026 Use vc-dir-buffers.
17027 (vc-dir-mode): Use vc-dir-buffers rather than after-save-hook.
17028 (vc-dir-prepare-status-buffer, vc-dir-update)
17029 (vc-dir-resync-directory-files, vc-dir-resynch-file, vc-dir-mode):
17030 Don't call expand-file-name on default-directory.
17032 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
17034 * speedbar.el (speedbar-item-delete):
17035 * calc/calc-prog.el (calc-kbd-if):
17036 * language/hanja-util.el (hanja-init-load): Fix typos in messages.
17038 * epa.el (epa-key-list-mode-map):
17039 * hi-lock.el (hi-lock-menu): Fix typos in menus.
17041 * progmodes/hideshow.el (hs-allow-nesting): Reflow docstring.
17042 (hs-show-hook): Fix typo in docstring.
17044 2009-09-29 Glenn Morris <rgm@gnu.org>
17046 * emacs-lisp/check-declare.el (check-declare-locate): Remove pointless
17047 file-name-nondirectory call preventing location of cedet files.
17048 (check-declare-verify): Use literal search rather than re-search.
17049 Add basic defmethod and defclass, and define-overloadable-function.
17051 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
17052 Use tramp-compat-file-attributes rather than nonexistent
17053 tramp-compat-handle-file-attributes.
17055 * Makefile.in (lisptagsfiles4): New.
17056 (AUTOGENEL): Add cedet loaddefs files.
17057 (TAGS, TAGS-LISP): Use $lisptagsfiles4.
17058 (update-elclist, compile-always, backup-compiled-files)
17059 (bootstrap-clean): Add yet another directory level.
17060 (update-elclist): Use LC_COLLATE rather than COLLATE.
17061 (ELCFILES): Update, via `make update-elclist'.
17063 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
17065 * makefile.w32-in (WINS_CEDET, WINS_BASIC, WINS_SUBDIR): New macros.
17066 (WINS_ALMOST): Set from WINS_BASIC and WINS_CEDET.
17067 (update-subdirs-CMD): Use WINS_SUBDIR, not WINS_ALMOST.
17069 2009-09-28 Andreas Schwab <schwab@linux-m68k.org>
17071 * Makefile.in (lisptagsfiles3): Define.
17072 (TAGS, TAGS-LISP): Use it.
17073 (update-elclist): Add third directory level to look for elc files.
17074 (compile-always): Likewise.
17075 (backup-compiled-files): Likewise.
17076 (bootstrap-clean): Likewise.
17077 (ELCFILES): Update.
17079 2009-09-28 Chong Yidong <cyd@stupidchicken.com>
17081 * Makefile.in (ELCFILES): Add CEDET files.
17083 2009-09-28 Michael Albinus <michael.albinus@gmx.de>
17085 * Makefile.in (ELCFILES): Add net/tramp-imap.elc.
17087 * net/tramp.el (top): Require tramp-imap.
17089 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
17090 Use `tramp-compat-handle-file-attributes'.
17092 2009-09-28 Teodor Zlatanov <tzz@lifelogs.com>
17094 * net/tramp-imap.el: New package.
17096 2009-09-28 Eric Ludlam <zappo@gnu.org>
17098 * emacs-lisp/chart.el:
17099 * emacs-lisp/eieio-base.el:
17100 * emacs-lisp/eieio-comp.el:
17101 * emacs-lisp/eieio-custom.el:
17102 * emacs-lisp/eieio-datadebug.el:
17103 * emacs-lisp/eieio-opt.el:
17104 * emacs-lisp/eieio-speedbar.el:
17105 * emacs-lisp/eieio.el: New files.
17107 2009-09-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
17109 * whitespace.el (whitespace-trailing-regexp)
17110 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
17113 2009-09-27 Chong Yidong <cyd@stupidchicken.com>
17115 * menu-bar.el: Remove menu-bar-ediff-misc-menu from the Tools
17118 * ediff-hook.el: Move menu-bar-ediff-misc-menu into
17119 menu-bar-ediff-menu.
17121 * emacs-lisp/lisp-mode.el: Add doc-string-elt property to
17122 define-overloadable-function.
17124 * progmodes/autoconf.el: Provide autoconf as well, so that this
17125 file can be `require'd.
17127 * emacs-lisp/cl-macs.el (deftype): Add to cl-loaddefs.
17129 * emacs-lisp/autoload.el (generated-autoload-feature)
17130 (generated-autoload-load-name): New vars.
17131 (autoload-rubric, autoload-generate-file-autoloads): Use them.
17132 (make-autoload): Recognize define-overloadable-function and
17133 defclass forms (for EIEIO).
17135 * Makefile.in (update-subdirs): Exclude cedet directory.
17137 2009-09-27 Adrian Robert <Adrian.B.Robert@gmail.com>
17139 * term/ns-win.el: Don't set the region face background. (Bug#4381)
17141 * faces.el: Default light-background background for region face to
17142 ns_selection_color under NS.
17144 2009-09-27 Teodor Zlatanov <tzz@lifelogs.com>
17146 * net/imap-hash.el: New library, see NEWS.
17148 * Makefile.in (ELCFILES): Add imap-hash.el.
17150 2009-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
17152 * help.el (help-for-help-internal): Don't purecopy the text (bug#4560).
17153 * isearch.el (isearch-help-for-help-internal): Purecopy the second arg.
17154 * help-macro.el (make-help-screen): Avoid using an ambiguous function
17155 definition where the docstring could be taken for the return value.
17157 2009-09-26 Glenn Morris <rgm@gnu.org>
17159 * mail/rmailmm.el (rmail-mime-show-images, rmail-mime-bulk-handler):
17160 Add option to only show images below a certain size.
17161 (rmail-mime-multipart-handler): Remove unnecessary save-match-data and
17162 save-excursion calls.
17164 2009-09-26 Eli Zaretskii <eliz@gnu.org>
17166 * makefile.w32-in (WINS_ALMOST): Add cedet (with its
17167 subdirectories) and eieio.
17169 2009-09-26 Alan Mackenzie <acm@muc.de>
17171 * progmodes/cc-engine.el (c-beginning-of-statement-1):
17172 Correct buggy bracketing. (Bug#4289)
17174 * progmodes/cc-langs.el (c-nonlabel-token-key): Allow quoted
17175 character constants (as case labels). (Bug#4289)
17177 2009-09-25 Juri Linkov <juri@jurta.org>
17179 * files.el (safe-local-eval-forms): Allow time-stamp in
17180 before-save-hook (Bug#4554).
17182 2009-09-25 Drew Adams <drew.adams@oracle.com>
17184 * menu-bar.el (list-buffers-directory): Doc fix.
17186 2009-09-25 Stefan Monnier <monnier@iro.umontreal.ca>
17188 * log-edit.el (log-edit-changelog-entries): Avoid inf-loops.
17189 Try and avoid copying twice the same paragraph.
17190 (log-edit-changelog-paragraph, log-edit-changelog-subparagraph):
17191 Remove save-excursion.
17192 (log-edit-changelog-entry): Do it here instead.
17194 2009-09-25 Juanma Barranquero <lekktu@gmail.com>
17196 * bs.el (bs--get-file-name): Use `list-buffers-directory'
17197 when available, instead of hardcoding mode names. Doc fix.
17199 * menu-bar.el (list-buffers-directory): Add docstring.
17200 Make automatically buffer-local.
17202 * dired.el (dired-mode):
17203 * files.el (cd-absolute):
17204 * pcvs.el (cvs-temp-buffer):
17205 * pcvs-util.el (cvs-get-buffer-create):
17206 * shell.el (shell-mode):
17207 * vc-dir.el (vc-dir-mode):
17208 Don't make `list-buffers-directory' buffer local.
17210 2009-09-25 Devon Sean McCullough <emacs-hacker@Jovi.Net>
17212 * comint.el (comint-exec, comint-run, make-comint):
17213 Doc fixes (Bug#4542).
17215 2009-09-25 Glenn Morris <rgm@gnu.org>
17217 * mail/rmailmm.el (rmail-mime): New custom group.
17218 Move all defcustoms in this file into this group.
17219 (rmail-mime-media-type-handlers-alist): Revert previous change.
17220 (rmail-mime-show-images): New option.
17221 (rmail-mime-total-number-of-bulk-attachments): Remove variable and all
17222 references to it, since it wasn't actually used for anything.
17223 (rmail-mime-insert-image): New function.
17224 (rmail-mime-image): Use rmail-mime-insert-image.
17225 (rmail-mime-bulk-handler): Remove optional `image' argument, instead
17226 obey the value of `rmail-mime-show-images' option. Print the size of
17229 2009-09-25 David Engster <deng@randomsample.de>
17231 * progmodes/hideshow.el (hs-show-block): Run `hs-show-hook'. (Bug#4548)
17233 2009-09-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
17235 * whitespace.el: Does not highlight trailing spaces While point is
17236 at end of line. Does not highligt spaces at beginning of buffer
17237 while point is at beginning of buffer. Does not highlight spaces
17238 at end of buffer while point is at end of buffer. (Bug#4177)
17240 (whitespace-display-mappings): Adjust initialization.
17241 (whitespace-point, whitespace-font-lock-refontify): New vars.
17242 (whitespace-color-on, whitespace-color-off): Adjust code.
17243 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
17244 (whitespace-empty-at-eob-regexp, whitespace-space-regexp)
17245 (whitespace-tab-regexp, whitespace-post-command-hook): New funs.
17247 2009-09-24 Chong Yidong <cyd@stupidchicken.com>
17249 * nxml/nxml-mode.el: Alias xml-mode to nxml-mode.
17251 * textmodes/sgml-mode.el: Remove xml-mode alias.
17253 * files.el (auto-mode-alist, conf-mode-maybe)
17254 (magic-fallback-mode-alist): Revert 2009-09-18 and 2009-09-21 changes.
17256 2009-09-24 Alan Mackenzie <acm@muc.de>
17258 * progmodes/cc-cmds.el (c-scan-conditionals): A new function like
17259 c-forward-conditionals, but it doesn't move point and doesn't set
17261 (c-up-conditional, c-up-conditional-with-else, c-down-conditional)
17262 (c-down-conditional-with-else, c-backward-conditional)
17263 (c-forward-conditional): Refactor to use c-scan-conditionals.
17265 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
17267 * help-fns.el (help-downcase-arguments): New option, defaulting to nil.
17268 (help-default-arg-highlight): Remove.
17269 (help-highlight-arg): New function.
17270 (help-do-arg-highlight): Use it.
17271 Suggested by Drew Adams <drew.adams@oracle.com>. (Bug#4510, bug#4520)
17273 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
17275 * term.el (term-set-scroll-region, term-handle-ansi-escape):
17276 Undo last change, which didn't fix the problem and introduced others.
17278 2009-09-24 Nick Roberts <nickrob@snap.net.nz>
17280 * progmodes/gdb-mi.el: Don't require speedbar.
17281 (gdb-jsonify-buffer): Handle case where "=" is part of value string.
17283 2009-09-24 Glenn Morris <rgm@gnu.org>
17285 * calendar/diary-lib.el (diary-fancy-display): Always run the hook.
17287 * term/ns-win.el (ns-reg-to-script): Define for compiler.
17289 * mail/rmailmm.el (rmail-mime-multipart-handler): Accept the case where
17290 there is no newline after the final mime boundary. (Bug#4539)
17291 Move markers on insertion so that any buttons inserted don't end up in
17292 the next part of a multipart message.
17293 (rmail-mime-media-type-handlers-alist): Doc fix. Add image handler.
17294 (rmail-mime-bulk-handler): Optionally handle images.
17295 (rmail-mime-image): New button action.
17296 (rmail-mime-image-handler): New function.
17297 (rmail-mime-mode): New mode.
17298 (rmail-mime): Doc fix. Use rmail-mime-mode (for font-lock).
17300 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
17302 * minibuffer.el (minibuffer-force-complete): Cycle the list, rather
17303 than just dropping elements from it (bug#4504).
17305 * term.el (term-set-scroll-region): Don't move cursor any more.
17306 (term-handle-ansi-escape): Call term-goto here instead.
17307 Suggested by Ivan Kanis <apple@kanis.eu>.
17309 * term.el: Require CL.
17310 (term-ansi-reset): New function.
17311 (term-mode, term-emulate-terminal, term-handle-colors-array): Use it.
17312 (term-handle-colors-array): Simplify.
17314 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
17316 * allout.el (allout-overlay-interior-modification-handler)
17317 (allout-obtain-passphrase):
17318 * epa-file.el (epa-file-write-region):
17319 * ps-print.el (ps-begin-job):
17320 * vc-hooks.el (vc-toggle-read-only):
17321 * vc-rcs.el (vc-rcs-rollback):
17322 * vc-sccs.el (vc-sccs-rollback):
17323 * vc.el (vc-deduce-fileset, vc-next-action, vc-register-with)
17324 (vc-version-diff, vc-revert, vc-rollback):
17325 * wdired.el (wdired-check-kill-buffer):
17326 * emacs-lisp/authors.el (authors):
17327 * net/socks.el (socks-open-connection):
17328 * net/zeroconf.el (zeroconf-service-add-hook):
17329 * obsolete/vc-mcvs.el (vc-mcvs-register):
17330 * progmodes/gdb-mi.el (def-gdb-thread-buffer-gud-command)
17331 (gdb-select-frame):
17332 * progmodes/grep.el (lgrep, rgrep):
17333 * progmodes/idlw-help.el (idlwave-help-check-locations)
17334 (idlwave-help-html-link, idlwave-help-assistant-open-link):
17335 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
17336 * textmodes/reftex-toc.el (reftex-toc-promote-prepare)
17337 (reftex-toc-rename-label): Fix typos in error messages.
17339 * dired-aux.el (dired-do-shell-command): Reflow docstring.
17340 (dired-copy-how-to-fn): Doc fix.
17341 (dired-files-attributes, dired-read-shell-command):
17342 Fix typos in docstrings.
17344 * dired-x.el (dired-enable-local-variables, dired-filename-at-point)
17345 (dired-x-find-file-other-window): Reflow docstrings.
17346 (dired-omit-marker-char, dired-read-shell-command)
17347 (dired-x-submit-report): Fix typos in docstrings.
17349 * shell.el (shell-mode-hook):
17350 * view.el (View-scroll-line-forward):
17351 * progmodes/inf-lisp.el (inferior-lisp-mode-hook):
17352 Fix typos in docstrings.
17354 * net/dig.el (dig-invoke): Fix typo in docstring.
17355 (query-dig): Reflow docstring.
17357 * progmodes/idlwave.el (idlwave-create-user-catalog-file)
17358 (idlwave-quoted, idlwave-rinfo-max-source-lines): Doc fixes.
17359 (idlwave-abbrev-move, idlwave-auto-routine-info-updates)
17360 (idlwave-begin-block-reg, idlwave-begin-unit-reg)
17361 (idlwave-beginning-of-subprogram, idlwave-block-jump-out)
17362 (idlwave-block-match-regexp, idlwave-calculate-paren-indent)
17363 (idlwave-check-abbrev, idlwave-class-file-or-buffer)
17364 (idlwave-class-found-in, idlwave-complete, idlwave-complete-in-buffer)
17365 (idlwave-completion-map, idlwave-current-indent)
17366 (idlwave-custom-ampersand-surround, idlwave-customize)
17367 (idlwave-default-font-lock-items, idlwave-default-insert-timestamp)
17368 (idlwave-define-abbrev, idlwave-determine-class-special)
17369 (idlwave-do-action, idlwave-doc-header, idlwave-doc-modification)
17370 (idlwave-end-block-reg, idlwave-end-of-statement)
17371 (idlwave-end-of-statement0, idlwave-end-of-subprogram)
17372 (idlwave-end-unit-reg, idlwave-entry-find-keyword)
17373 (idlwave-explicit-class-listed, idlwave-file-header)
17374 (idlwave-fill-paragraph, idlwave-find-class-definition)
17375 (idlwave-fix-keywords, idlwave-hang-indent-regexp, idlwave-hard-tab)
17376 (idlwave-idlwave_routine_info-compiled, idlwave-in-comment)
17377 (idlwave-in-quote, idlwave-indent-action-table)
17378 (idlwave-indent-expand-table, idlwave-indent-line)
17379 (idlwave-indent-subprogram, idlwave-indent-to-open-paren)
17380 (idlwave-is-comment-line, idlwave-is-comment-or-empty-line)
17381 (idlwave-is-continuation-line, idlwave-is-pointer-dereference)
17382 (idlwave-kill-autoloaded-buffers, idlwave-lib-p, idlwave-look-at)
17383 (idlwave-make-tags, idlwave-mode, idlwave-mode-abbrev-table)
17384 (idlwave-mouse-active-rinfo, idlwave-newline, idlwave-no-change-comment)
17385 (idlwave-outlawed-buffers, idlwave-popup-select)
17386 (idlwave-previous-statement, idlwave-rescan-catalog-directories)
17387 (idlwave-routine-entry-compare, idlwave-routine-info.pro)
17388 (idlwave-scan-all-buffers-for-routine-info, idlwave-scan-class-info)
17389 (idlwave-shell-automatic-start, idlwave-shell-explicit-file-name)
17390 (idlwave-show-begin, idlwave-split-line, idlwave-split-link-target)
17391 (idlwave-statement-type, idlwave-struct-skip)
17392 (idlwave-substitute-link-target, idlwave-toggle-comment-region)
17393 (idlwave-update-current-buffer-info, idlwave-use-library-catalogs)
17394 (idlwave-what-module-find-class): Fix typos in docstrings.
17395 (idlwave-all-method-classes, idlwave-calc-hanging-indent)
17396 (idlwave-calculate-cont-indent, idlwave-expand-equal)
17397 (idlwave-find-module, idlwave-find-structure-definition)
17398 (idlwave-init-rinfo-when-idle-after, idlwave-insert-source-location)
17399 (idlwave-list-load-path-shadows, idlwave-next-statement)
17400 (idlwave-routine-entry-compare-twins, idlwave-routine-info)
17401 (idlwave-routines, idlwave-sintern-rinfo-list, idlwave-statement-match)
17402 (idlwave-template): Reflow docstrings.
17404 * progmodes/idlw-shell.el (idlwave-shell-syntax-error): Doc fix.
17405 (idlwave-shell-batch-command, idlwave-shell-bp-alist)
17406 (idlwave-shell-bp-get, idlwave-shell-bp-overlays)
17407 (idlwave-shell-bp-query, idlwave-shell-break-here, idlwave-shell-buffer)
17408 (idlwave-shell-display-line, idlwave-shell-display-wframe)
17409 (idlwave-shell-electric-debug-mode, idlwave-shell-examine-select)
17410 (idlwave-shell-file-name-chars, idlwave-shell-filter-bp)
17411 (idlwave-shell-goto-frame, idlwave-shell-halt-messages-re)
17412 (idlwave-shell-highlighting-and-faces, idlwave-shell-idl-wframe)
17413 (idlwave-shell-mode-hook, idlwave-shell-mode-line-info)
17414 (idlwave-shell-mode-map, idlwave-shell-module-source-filter)
17415 (idlwave-shell-mouse-help, idlwave-shell-mouse-print)
17416 (idlwave-shell-pc-frame, idlwave-shell-pending-commands)
17417 (idlwave-shell-print, idlwave-shell-quit, idlwave-shell-redisplay)
17418 (idlwave-shell-scan-for-state, idlwave-shell-send-command)
17419 (idlwave-shell-sentinel-hook, idlwave-shell-separate-examine-output)
17420 (idlwave-shell-shell-command, idlwave-shell-sources-alist)
17421 (idlwave-shell-sources-bp, idlwave-shell-sources-filter)
17422 (idlwave-shell-step, idlwave-shell-use-breakpoint-glyph)
17423 (idlwave-toolbar-add-everywhere, idlwave-toolbar-toggle):
17424 Fix typos in docstrings.
17425 (idlwave-shell-bp, idlwave-shell-clear-current-bp)
17426 (idlwave-shell-hide-output, idlwave-shell-mode)
17427 (idlwave-shell-run-region, idlwave-shell-set-bp-in-module):
17430 * textmodes/bibtex.el (bibtex-sort-entry-class): Fix group name.
17432 2009-09-24 Ivan Kanis <apple@kanis.eu>
17434 * term.el (term-bold-attribute): New var.
17435 (term-handle-colors-array): Use it.
17437 2009-09-23 Nick Roberts <nickrob@snap.net.nz>
17439 * progmodes/gdb-mi.el (gdb-version): New variable.
17440 (gdb-non-stop-handler): Set gdb-version.
17441 (gdb-gud-context-command, gdb-current-context-command, gdb-stopped):
17442 Condition "--thread" option on gdb-version.
17443 (gdb-invalidate-threads): Remove unused argument.
17445 2009-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
17447 * textmodes/flyspell.el (sgml-mode-flyspell-verify): Pass limit args
17448 to looking-back to avoid ridiculous slow down in large files (bug#4511).
17450 2009-09-23 Glenn Morris <rgm@gnu.org>
17452 * mail/rmail.el (rmail-reply): Don't try to add a References header when
17453 replying to mail without References or Message-Id. (Bug#4525)
17455 2009-09-23 Adrian Robert <Adrian.B.Robert@gmail.com>
17457 * term/ns-win.el (ns-reg-to-script): New variable.
17459 2009-09-23 Daiki Ueno <ueno@unixuser.org>
17461 * epg.el (epg-wait-for-status): Preserve existing 'error results.
17463 2009-09-22 Sam Steingold <sds@gnu.org>
17465 * vc-hg.el (vc-hg-print-log): Fix shortlog arg passing.
17466 (vc-hg-outgoing, vc-hg-incoming): Bump okstatus in `vc-hg-command'
17467 to 1 because hg returns status 1 when nothing is found.
17468 Bind `vc-short-log' for the sake of `vc-hg-log-view-mode'.
17470 2009-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
17472 * textmodes/fill.el: Convert to utf-8 encoding.
17473 (fill-french-nobreak-p): Remove redundant » and « inherited from our
17476 * add-log.el (change-log-fill-forward-paragraph): New function.
17477 (change-log-mode): Use it so fill-region DTRT.
17478 Set fill-indent-according-to-mode here rather than in
17479 change-log-fill-paragraph.
17480 (change-log-fill-paragraph): Remove.
17482 2009-09-22 Juanma Barranquero <lekktu@gmail.com>
17484 * info.el (Info-try-follow-nearest-node): Use the URL extracted by
17485 `Info-get-token', instead of `browse-url-url-at-point'. (Bug#4508)
17487 2009-09-22 Glenn Morris <rgm@gnu.org>
17489 * calendar/calendar.el (calendar-mode-map): Make mouse-1 and 3 clicks on
17490 the scroll-bar scroll the calendar window rather than the buffer.
17492 * calendar/cal-menu.el (cal-menu-scroll-menu): Add a sub-section with
17493 commands that move point (as opposed to scrolling).
17495 * emulation/tpu-edt.el (tpu-copy-keyfile): Fix condition-case handler.
17497 * emacs-lisp/elint.el (elint): New custom group.
17498 (elint-log-buffer): Make it a defcustom.
17499 (elint-scan-preloaded, elint-ignored-warnings)
17500 (elint-directory-skip-re): New options.
17501 (elint-builtin-variables): Doc fix.
17502 (elint-preloaded-env): New variable.
17503 (elint-unknown-builtin-args): Add an entry for encode-time.
17504 (elint-extra-errors): Make it a variable rather than a constant.
17505 (elint-preloaded-skip-re): New constant.
17506 (elint-directory): Skip files matching elint-directory-skip-re.
17507 (elint-features): New variable, local to linted buffers.
17508 (elint-update-env): Initialize elint-features. Possibly add
17509 elint-preloaded-env to the buffer's environment.
17510 (elint-get-top-forms): Bind elint-current-pos, for log messages.
17512 (elint-init-form): New function, extracted from elint-init-env.
17513 Make non-list forms a warning rather than an error.
17514 Add the mode-map for define-derived-mode. Handle define-minor-mode,
17515 easy-menu-define, put that adds an error-condition, and provide.
17516 When requiring cl, also require cl-macs. Really require cl, to handle
17517 some cl macros. Store required libraries in the list elint-features,
17518 so as not to re-load them. Treat cc-require like require.
17519 (elint-init-env): Call elint-init-form to do the work.
17520 Handle eval-and-compile and such like.
17521 (elint-add-required-env): Do not clear messages.
17522 (elint-special-forms): Add handlers for function, defalias, if, when,
17524 (elint-form): Add optional argument to ignore elint-special-forms,
17525 useful to prevent recursive calls from handlers. Doc fix.
17526 Respect elint-ignored-warnings.
17527 (elint-form): Respect elint-ignored-warnings.
17528 (elint-bound-variable, elint-bound-function): New variables.
17529 (elint-unbound-variable): Respect elint-bound-variable.
17530 (elint-get-args): Respect elint-bound-function.
17531 (elint-check-cond-form): Add some simple handling for (f)boundp and
17533 (elint-check-defalias-form): New handler.
17534 (elint-check-let-form): Make an empty let a warning rather than an
17536 (elint-check-setq-form): Make an empty setq a warning rather than an
17537 error. Respect elint-ignored-warnings.
17538 (elint-check-defvar-form): Accept null doc-strings.
17539 (elint-check-conditional-form): New handler. Does some simple-minded
17540 checking of featurep and (f)boundp tests.
17541 (elint-put-function-args): New function.
17542 (elint-initialize): Use elint-scan-doc-file rather than
17543 elint-find-builtin-variables. Use elint-put-function-args.
17544 Possibly scan preloaded-file-list.
17545 (elint-scan-doc-file): Rename from elint-find-builtin-variables and
17546 extend to handle functions as well.
17548 2009-09-22 Lennart Borgman <lennart.borgman@gmail.com>
17550 * linum.el (linum-delete-overlays, linum-update-window):
17551 Do not modify the right margin. (Bug#3971)
17553 2009-09-21 Chong Yidong <cyd@stupidchicken.com>
17555 * files.el (conf-mode-maybe, magic-fallback-mode-alist):
17556 Use nxml-mode instead of xml-mode.
17558 2009-09-21 Kevin Ryde <user42@zip.com.au>
17560 * net/dig.el: Add "Keywords: comm", as per net-utils.el. (Bug#4501)
17562 2009-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
17564 * net/dig.el (dig-mode): Use define-derived-mode.
17566 2009-09-20 Dan Nicolaescu <dann@ics.uci.edu>
17568 * vc-dispatcher.el (vc-do-command): Return the process object in
17569 the asynchronous case. Use when instead of if. Do not run
17570 vc-exec-after to display a message if not enabled. (Bug#4463)
17572 * vc-git.el (vc-git-dir-extra-headers): Add keymap and mouse-face
17573 properties to the stash strings.
17574 (vc-git-stash-list): Return a list of strings.
17575 (vc-git-stash-get-at-point, vc-git-stash-delete-at-point)
17576 (vc-git-stash-show-at-point): New functions.
17577 (vc-git-stash-map): New keymap.
17579 * register.el (ctl-x-r-map): Define the keys here instead of
17582 2009-09-20 Thierry Volpiatto <thierry.volpiatto@gmail.com> (tiny change)
17584 * bookmark.el (bookmark-write-file): Avoid calling `pp' with large
17585 list, to workaround performance problem (bug#4485).
17587 2009-09-20 Nick Roberts <nickrob@snap.net.nz>
17589 * progmodes/gud.el (gud-sentinel): Revert indavertant change.
17591 2009-09-20 Daiki Ueno <ueno@unixuser.org>
17593 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
17594 Document that this option is not recommended to use.
17596 2009-09-19 Glenn Morris <rgm@gnu.org>
17598 * calc/calc-graph.el (calc-graph-lookup): Avoid assignment to free
17601 * calc/calc-alg.el (var):
17602 * calc/calcalg2.el (var): Define for compiler.
17604 2009-09-19 Chong Yidong <cyd@stupidchicken.com>
17606 * emacs-lisp/advice.el (ad-get-argument, ad-set-argument):
17607 Doc fix (Bug#3932).
17609 * subr.el (baud-rate): Remove long-obsolete function (Bug#4372).
17611 * time-stamp.el (time-stamp-month-dd-yyyy)
17612 (time-stamp-dd/mm/yyyy, time-stamp-mon-dd-yyyy)
17613 (time-stamp-dd-mon-yy, time-stamp-yy/mm/dd)
17614 (time-stamp-yyyy/mm/dd, time-stamp-yyyy-mm-dd)
17615 (time-stamp-yymmdd, time-stamp-hh:mm:ss, time-stamp-hhmm):
17616 Remove functions that have been obsolete since 1995 (Bug#4436).
17618 * progmodes/sh-script.el (sh-learn-buffer-indent): Pop to the
17619 indent buffer only if called interactively (Bug#4452).
17621 2009-09-19 Juanma Barranquero <lekktu@gmail.com>
17622 Eli Zaretskii <eliz@gnu.org>
17624 This fixes bug#4197 (merged to bug#865, though not identical).
17625 * server.el (server-auth-dir): Add docstring note about FAT32.
17626 (server-ensure-safe-dir): Accept FAT32 directories as "safe",
17627 but warn against using them.
17629 2009-09-19 Nick Roberts <nickrob@snap.net.nz>
17631 * progmodes/gdb-mi.el (gdb-var-update-handler-1): Include case of
17632 older GDB where there is no has_more field.
17634 2009-09-19 Glenn Morris <rgm@gnu.org>
17636 * pgg-pgp.el (pgg-pgp-encrypt-region): Add missing mapconcat separator.
17638 2009-09-18 Chong Yidong <cyd@stupidchicken.com>
17640 * files.el (auto-mode-alist): Change default for XML files to nXML
17643 2009-09-18 Juanma Barranquero <lekktu@gmail.com>
17645 * server.el (server-ensure-safe-dir): Pass 'integer
17646 to `file-attributes', as suggested.
17648 2009-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
17650 * dired-aux.el (dired-query-alist): Remove spurious backslash.
17651 (dired-query): Use read-key.
17653 2009-09-18 Adrian Robert <Adrian.B.Robert@gmail.com>
17655 * cus-start.el (ns-use-qd-smoothing): Remove.
17657 2009-09-18 Glenn Morris <rgm@gnu.org>
17659 * allout.el (top-level): Remove unnecessary progn.
17661 * progmodes/js.el (js-end-of-defun): Remove malformed and unneeded let.
17663 * emacs-lisp/derived.el (define-derived-mode): Fix paren typo in
17664 definition of abbrev table.
17666 * speedbar.el (speedbar-track-mouse):
17667 * net/eudc-bob.el (eudc-bob-pipe-object-to-external-program):
17668 * net/eudc.el (eudc-expand-inline):
17669 * net/newst-backend.el (newsticker--cache-read-feed):
17670 * nxml/nxml-outln.el (nxml-end-of-heading): Fix typos in
17671 condition-case handlers.
17673 2009-09-18 Nick Roberts <nickrob@snap.net.nz>
17675 * progmodes/gdb-mi.el (gdb-frame-address): New variable.
17676 (gdb-var-list): Add an element for has_more field.
17677 (gdb-non-stop-handler): Enable pretty printing for STL containers.
17678 (gdb-var-create-handler, gdb-var-list-children-handler-1)
17679 (gdb-var-update-handler-1): Parse output of dynamic variable
17680 objects (STL containers).
17681 (gdb-var-delete-1): Pass var1 as an explicit second argument.
17682 (gdb-get-field): Delete alias. Use bindat-get-field directly.
17684 * progmodes/gud.el (gud-speedbar-item-info): Adjust for change to
17686 (gud-speedbar-buttons): Make node expandable if expression "has more"
17689 2009-09-17 Juanma Barranquero <lekktu@gmail.com>
17691 * startup.el (emacs-quick-startup): Remove variable and all uses.
17692 (command-line): Set `inhibit-x-resources' instead.
17693 (command-line-1): Use `inhibit-x-resources' instead.
17695 2009-09-17 Chong Yidong <cyd@stupidchicken.com>
17697 * subr.el: Fix last change to avoid using the `unless' macro,
17698 which breaks bootstrapping.
17700 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
17702 * subr.el (push, pop, dolist, dotimes, declare): Don't overwrite CL's
17703 extended definitions, in case we reload subr.el after having
17705 (eval-next-after-load): Mark as obsolete.
17707 2009-09-17 Juri Linkov <juri@jurta.org>
17709 * menu-bar.el (menu-bar-search-menu, menu-bar-edit-menu)
17710 (menu-bar-options-menu, menu-bar-showhide-fringe-menu)
17711 (menu-bar-showhide-menu, menu-bar-tools-menu)
17712 (menu-bar-describe-menu, menu-bar-help-menu)
17713 (minibuffer-local-completion-map, minibuffer-local-map):
17716 2009-09-17 Glenn Morris <rgm@gnu.org>
17718 * emacs-lisp/bytecomp.el (byte-compile-form): Always check the function
17719 arguments, whether or not it has a handler.
17721 * ansi-color.el (ansi-color-get-face-1): Fix typo in handler.
17723 * simple.el (hard-newline): Give it a doc-string.
17725 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
17726 (lisp-mode-syntax-table): Give them doc-strings.
17728 2009-09-17 Dan Nicolaescu <dann@ics.uci.edu>
17730 * menu-bar.el (menu-bar-file-menu, menu-bar-file-menu)
17731 (menu-bar-i-search-menu, menu-bar-edit-menu, menu-bar-custom-menu)
17732 (menu-bar-options-menu, menu-bar-showhide-menu)
17733 (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
17734 (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
17735 (menu-bar-options-menu, menu-bar-line-wrapping-menu)
17736 (menu-bar-options-menu, menu-bar-tools-menu)
17737 (menu-bar-describe-menu, menu-bar-search-documentation-menu)
17738 (menu-bar-help-menu):
17739 (menu-bar-make-mm-toggle, menu-bar-make-toggle): Purecopy the
17742 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu)
17743 (menu-bar-epatch-menu, menu-bar-ediff-misc-menu): Add purecopy
17744 calls for the menu names and :help.
17746 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
17748 * mouse.el (minor-mode-menu-from-indicator): Pay attention
17749 to :minor-mode-function (bug#4455).
17751 2009-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
17753 * startup.el (command-line): Initialize the window-system after
17754 processing the command-line.
17756 * textmodes/page.el (what-page): Make sure we don't inf-loop if
17757 page-delimiter matches the empty string.
17759 2009-09-16 Glenn Morris <rgm@gnu.org>
17761 * emacs-lisp/bytecomp.el (byte-compile-not-obsolete-vars): Rename from
17762 byte-compile-not-obsolete-var. It's a list now.
17763 (byte-compile-not-obsolete-funcs): New variable.
17764 (byte-compile-warn-obsolete): Don't warn about functions if they are in
17765 byte-compile-not-obsolete-funcs.
17766 (byte-compile-variable-ref, byte-compile-defvar): Update for
17767 byte-compile-not-obsolete-vars name-change and list nature.
17768 (byte-compile-maybe-guarded): Suppress warnings about obsolete functions
17769 and variables behind (f)boundp tests.
17770 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Set if bound.
17772 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
17774 * vc-git.el (vc-git-log-view-mode): Undo inadvertent change.
17776 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
17778 * Makefile.in (compile-onefile): Use byte-compile-refresh-preloaded.
17779 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded):
17782 2009-09-15 Stephen Eglen <stephen@gnu.org>
17784 * iswitchb.el (iswitchb-read-buffer): When selecting a match from
17785 the virtual-buffers, use the name of the buffer specified by
17786 find-file-noselect, as the match may be a symlink. (This was a
17787 problem if the target and the symlink had different names.)
17789 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
17791 * custom.el (custom-initialize-default, custom-initialize-set): CSE.
17793 * desktop.el (desktop-path): Check user-emacs-directory.
17795 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): New function.
17797 * loadup.el: Use after-load-functions to GC after loading each file.
17798 Remove the explicit GC calls that used to be sprinkled around.
17800 * subr.el (after-load-functions): New hook.
17801 (do-after-load-evaluation): Run it. Use string-match-p to detect
17802 `obsolete' packages, rather than painfully extracting the relevant
17805 2009-09-15 Glenn Morris <rgm@gnu.org>
17807 * apropos.el (apropos-documentation-check-doc-file): Avoid assignment to
17808 free variable `doc'.
17810 * dired.el (dired-mode-map): Add menu entry for async shell command.
17812 * help-fns.el (find-lisp-object-file-name): When looking for autoloaded
17813 variables, also consider the .elc files, since the .el files are
17814 normally gzipped (subsequent code locates the .el.gz from the .elc).
17816 * calc/calc-prog.el (arglist): Define for compiler.
17818 * calendar/diary-lib.el (diary-display-function): Change the default to
17820 (body): Define for compiler.
17822 * emacs-lisp/bytecomp.el (byte-compile-keep-pending)
17823 (byte-compile-file-form, byte-compile-lambda)
17824 (byte-compile-top-level-body, byte-compile-form)
17825 (byte-compile-variable-ref, byte-compile-setq)
17826 (byte-compile-setq-default, byte-compile-body)
17827 (byte-compile-body-do-effect, byte-compile-and, byte-compile-or)
17828 (batch-byte-compile): Give some more local variables with common names
17829 a "bytecomp-" prefix to avoid masking warnings about free variables.
17831 * startup.el (command-line-1): Give local variables with common names a
17832 distinguishing prefix, so as not to hide free variable warnings during
17835 * mail/rmailmm.el (rmail-mime-save): If file exists, don't try to be
17836 clever and add a suffix to make a unique name, just let the user decide
17837 whether or not to overwrite it. If the input is a directory, write the
17838 default filename to that directory. (Bug#4388)
17839 (rmail-mime-bulk-handler): Ensure the save button's 'directory property
17840 is a filename-as-a-directory.
17842 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
17844 * textmodes/page.el (what-page): Don't move to beginning of line.
17845 See <87tyz5ajte.fsf@x2.delysid.org> in emacs-devel.
17847 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
17849 * vc-git.el (vc-git-dir-extra-headers): Show the remote location.
17851 2009-09-14 Dan Nicolaescu <dann@ics.uci.edu>
17853 * bindings.el (mode-line-mode-menu): Add purecopy calls for :help.
17854 * help.el (help-for-help-internal): Add purecopy calls for text.
17856 * vc.el (top): print-log method now takes an optional SHORTLOG
17857 argument. Add a new method: root.
17858 (vc-root-diff, vc-print-root-log): New functions.
17859 (vc-log-short-style): New variable.
17860 (vc-print-log-internal): Add support for showing short logs.
17862 * vc-hooks.el (vc-prefix-map, vc-menu-map): Add bindings for
17863 vc-print-root-log and vc-print-root-diff.
17865 * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-print-log):
17866 * vc-git.el (vc-git-print-log, vc-git-log-view-mode):
17867 * vc-hg.el (vc-hg-print-log, vc-hg-log-view-mode): Add support for
17870 * vc-cvs.el (vc-cvs-print-log):
17871 * vc-mtn.el (vc-mtn-print-log):
17872 * vc-rcs.el (vc-rcs-print-log):
17873 * vc-sccs.el (vc-sccs-print-log):
17874 * vc-svn.el (vc-svn-print-log): Add an optional argument shortlog
17875 that is ignored for now.
17877 * vc-mtn.el (vc-mtn-annotate-command):
17878 * vc-svn.el (vc-svn-annotate-command): Run asynchronously.
17880 2009-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
17882 * simple.el: Add mapping for backspace/delete/clear/tab/escape/return
17883 to function-key-map, and give them ascii-character property.
17884 * term/x-win.el (x-alternatives-map):
17885 * term/ns-win.el (ns-alternatives-map):
17886 * term/internal.el (msdos-key-remapping-map):
17887 * w32-fns.el (x-alternatives-map): Remove redundant mappings.
17889 2009-09-14 Glenn Morris <rgm@gnu.org>
17891 * emacs-lisp/elint.el (elint-add-required-env): Revert to not using
17892 temp-buffers (2009-09-12).
17894 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
17896 * textmodes/ispell.el (ispell-command-loop): Improve last fix, using
17897 the new read-key function.
17899 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
17901 * term/x-win.el (x-menu-bar-open): Only call accelerate-menu if it
17902 is defined (Bug#4405).
17904 2009-09-13 Vincent Belaïche <vincent.belaiche@gmail.com>
17906 * recentf.el (recentf-cleanup): Use a hash table to find
17907 duplicates (Bug#4407).
17909 2009-09-13 Per Starbäck <per@starback.se> (tiny change)
17911 * textmodes/ispell.el (ispell-command-loop): Convert keys such as
17912 kp-0 to ascii equivalents (Bug#4325).
17914 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
17916 * progmodes/cperl-mode.el (cperl-init-faces): Revert last change.
17918 * eshell/em-hist.el:
17919 * eshell/em-dirs.el (eshell-complete-user-reference):
17920 Declare pcomplete functions and variables to avoid compiler warnings.
17922 2009-09-13 Leo <sdl.web@gmail.com> (tiny change)
17924 * eshell/em-script.el (eshell-login-script, eshell-rc-script):
17925 * eshell/em-dirs.el (eshell-last-dir-ring-file-name):
17926 * eshell/em-alias.el (eshell-aliases-file):
17927 * eshell/em-hist.el (eshell-history-file-name):
17928 Use expand-file-name instead of concat to make file names (Bug#4308).
17930 2009-09-13 Glenn Morris <rgm@gnu.org>
17932 * ediff-merg.el (ediff-do-merge):
17933 * filesets.el (filesets-run-cmd):
17934 * emulation/ws-mode.el (ws-show-markers, ws-move-block, ws-delete-block)
17935 (ws-find-marker-0, ws-find-marker-1, ws-find-marker-2, ws-find-marker-3)
17936 (ws-find-marker-4, ws-find-marker-5, ws-find-marker-6, ws-find-marker-7)
17937 (ws-find-marker-8, ws-find-marker-9, ws-goto-block-begin)
17938 (ws-goto-block-end, ws-goto-last-cursorposition, ws-copy-block):
17939 Replace empty `let's with `progn'.
17941 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
17943 * mail/sendmail.el (send-mail-function):
17944 * tooltip.el (tooltip-mode):
17945 * simple.el (transient-mark-mode):
17946 * rfn-eshadow.el (file-name-shadow-mode):
17947 * frame.el (blink-cursor-mode):
17948 * font-core.el (global-font-lock-mode):
17949 * files.el (temporary-file-directory)
17950 (small-temporary-file-directory, auto-save-file-name-transforms):
17951 * epa-hook.el (auto-encryption-mode):
17952 * composite.el (global-auto-composition-mode):
17953 Use custom-initialize-delay.
17954 * startup.el (command-line): Don't explicitly call
17955 custom-reevaluate-setting for all the above vars.
17956 * custom.el (custom-initialize-safe-set)
17957 (custom-initialize-safe-default): Delete.
17959 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
17961 * term/x-win.el (x-initialize-window-system):
17962 * term/w32-win.el (w32-initialize-window-system):
17963 * term/ns-win.el (ns-initialize-window-system): Don't call
17964 mouse-wheel-mode since it's enabled globally by default already.
17966 * mwheel.el (mouse-wheel-mode): Make sure the new defvar doesn't
17967 actually define the variable, but only silences the byte-compiler.
17968 (mouse-wheel-change-button): Check whether mouse-wheel-mode is bound
17969 before looking it up.
17970 (mouse-wheel-scroll-amount): Also reset the bindings if this value
17973 2009-09-12 Glenn Morris <rgm@gnu.org>
17975 * emacs-lisp/elint.el (elint-file): Make max-lisp-eval-depth at least
17977 (elint-add-required-env): Don't beep on error.
17978 (elint-forms): In case of error, return ENV unchanged.
17979 (elint-init-env): Skip non-list forms.
17980 (elint-log): Handle unknown file positions.
17982 2009-09-12 Daiki Ueno <ueno@unixuser.org>
17984 * epg.el (epg-make-context): Add autoload cookie.
17985 (epg-list-keys, epg-cancel, epg-start-decrypt, epg-decrypt-file)
17986 (epg-decrypt-string, epg-start-verify, epg-verify-file)
17987 (epg-verify-string, epg-start-sign, epg-sign-file)
17988 (epg-sign-string, epg-start-encrypt, epg-encrypt-file)
17989 (epg-encrypt-string, epg-start-export-keys)
17990 (epg-export-keys-to-file, epg-export-keys-to-string)
17991 (epg-start-import-keys, epg-import-keys-from-file)
17992 (epg-import-keys-from-string, epg-start-receive-keys)
17993 (epg-receive-keys, epg-import-keys-from-server)
17994 (epg-start-delete-keys, epg-delete-keys, epg-start-sign-keys)
17995 (epg-sign-keys, epg-start-generate-key)
17996 (epg-generate-key-from-file, epg-generate-key-from-string):
17997 Remove autoload cookie.
17999 2009-09-12 Eli Zaretskii <eliz@gnu.org>
18001 * dos-fns.el (dos-reevaluate-defcustoms): Comment out the
18002 reevaluation of trash-directory.
18004 * mwheel.el: Fix last change.
18005 (mouse-wheel-mode): New defvar.
18006 (mouse-wheel-mode): Remove autoload cookie.
18008 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
18010 * mwheel.el (mwheel-installed-bindings): New var.
18011 (mouse-wheel-mode): Use it, so as to make sure we really remove all
18012 the bindings we set last time. Use custom-initialize-delay.
18013 * loadup.el: Load mwheel after term/*-win.el.
18014 * startup.el (command-line): Don't reevaluate mouse-wheel-down-event
18015 and mouse-wheel-up-event now that their first evaluation is done
18016 sufficiently late to be correct.
18018 * startup.el (tutorial-directory): Make it a defcustom.
18019 Use custom-initialize-delay rather than eval-at-startup to set it.
18020 * image.el (image-load-path): Make it a defcustom.
18021 Use custom-initialize-delay rather than eval-at-startup to set it.
18022 * subr.el (eval-at-startup): Remove.
18023 * font-lock.el (lisp-font-lock-keywords-2): Remove eval-at-startup.
18025 * subr.el (do-after-load-evaluation): Warn the user after loading an
18028 2009-09-12 Glenn Morris <rgm@gnu.org>
18030 * proced.el (proced-mark-alt): Remove alias.
18031 (proced-mode-map): Remove proced-mark-alt.
18033 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries to
18034 Elint file and directory. Remove initialization entry.
18036 * emacs-lisp/elint.el (elint-file, elint-directory): New autoloaded
18038 (elint-current-buffer): Set mode-line-process.
18039 (elint-init-env): Handle define-derived-mode.
18040 Fix declare-function with unspecified arglist. Guard against odd
18041 defalias statements (eg iso-insert's 8859-1-map).
18042 (elint-add-required-env): Use a temp buffer.
18043 (elint-form): Just print the function/macro name, not the whole form.
18044 Return env unchanged if we fail to parse a macro.
18045 (elint-forms): Guard against parse errors.
18046 (elint-output): New function, to handle batch mode.
18047 (elint-log-message): Add optional argument. Use elint-output.
18048 (elint-set-mode-line): New function.
18050 2009-09-12 Andreas Politz <politza@fh-trier.de> (tiny change)
18052 * emacs-lisp/elp.el (elp-not-profilable): Add more
18053 functions (Bug#4233).
18055 2009-09-12 Chong Yidong <cyd@stupidchicken.com>
18057 * emulation/pc-select.el (scroll-down-mark, scroll-down-nomark)
18058 (scroll-up-mark, scroll-up-nomark): Doc fix (Bug#4190).
18060 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
18062 * progmodes/gdb-mi.el (gdb-var-list-children-regexp): Delete.
18063 (gdb-var-list-children): Use json parsing.
18065 2009-09-11 Daniel Colascione <dan.colascione@gmail.com>
18067 * progmodes/js.el (js--proper-indentation): Handle the case where
18068 char-before is null. Reported by Deniz Dogan.
18070 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
18072 * emacs-lisp/cl-macs.el (help-add-fundoc-usage): Declare.
18074 2009-09-11 Daiki Ueno <ueno@unixuser.org>
18076 * epg.el (epg-cipher-algorithm-alist): Add CAMELLIA.
18077 (epg-digest-algorithm-alist): Add SHA224.
18078 (epg-context-set-passphrase-callback)
18079 (epg-context-set-progress-callback): Add description about
18082 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
18084 * custom.el (custom-delayed-init-variables): New var.
18085 (custom-initialize-delay): New function.
18086 * startup.el (command-line): "Re"evaluate all vars in
18087 custom-delayed-init-variables. Don't reevaluate abbrev-file-name
18088 explicitly any more.
18089 * abbrev.el (abbrev-file-name): Use custom-initialize-delay
18090 to avoid creating a ~/.emacs.d at build-time (bug#4347).
18092 * proced.el (proced-mode-map): Prefer "m" for proced-mark (bug#4362).
18094 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
18096 * progmodes/gdb-mi.el (gdb-var-update-regexp): Delete.
18097 (gdb-var-update-handler): Use json parsing.
18099 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
18101 * vc-annotate.el (vc-annotate): Use the main file's coding-system to
18102 decode annotated text, regardless of language environment. (Bug#2741)
18104 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
18106 * Makefile.in (autoloads): Make rmail.el writable as well.
18108 2009-09-11 Glenn Morris <rgm@gnu.org>
18110 * dired-aux.el, dired-x.el: Put autoloads in dired.el rather than
18112 * dired.el: Regenerate with extracted autoloads.
18113 * Makefile.in (autoloads): Make dired.el writable.
18115 * ibuf-ext.el: Put autoloads in ibuffer.el rather than loaddefs.el.
18116 * ibuffer.el: Regenerate with extracted autoloads.
18117 * Makefile.in (autoloads): Make ibuffer.el writable.
18119 * paths.el (prune-directory-list, gnus-nntp-service, rmail-file-name):
18120 * version.el (emacs-copyright, emacs-major-version)
18121 (emacs-minor-version): Reformat doc-strings for make-docfile.
18123 * apropos.el (apropos-documentation-check-doc-file): Exclude unbound
18124 functions and variables, since they must be stuff specific to some other
18126 (apropos-print): Make mouse-click message less specific about button.
18128 * emacs-lisp/cl-macs.el (define-compiler-macro): Add a property
18129 that records where a macro was defined.
18130 * help-fns.el (describe-function-1): Mention if a function has a
18132 * help-mode.el (help-function-cmacro): New button.
18134 * locate.el (top-level): Always require dired.
18135 (locate-mode-map): Initialize inside the defvar.
18137 * net/ange-ftp.el (dired-compress-file): Declare.
18138 (ange-ftp-dired-compress-file): Add doc string.
18140 * term/ns-win.el (x-display-name, x-setup-function-keys):
18141 Unify doc-strings with X versions.
18143 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
18145 * emulation/crisp.el (crisp-mode-map): Move initialization
18147 (crisp-mode): Use define-minor-mode.
18149 * progmodes/xscheme.el (xscheme-evaluation-commands):
18150 Put a :advertised-binding property rather than using
18151 advertised-xscheme-send-previous-expression.
18152 (advertised-xscheme-send-previous-expression): Declare obsolete.
18153 * emulation/crisp.el (crisp-mode-map): Use `undo' rather than
18155 (crisp-mode): Add corresponding bindings to
18156 undo's :advertised-binding instead.
18157 * dired.el (dired-mode-map): Put a :advertised-binding property rather
18158 than using dired-advertised-find-file.
18159 (dired-advertised-find-file):
18160 * simple.el (advertised-undo):
18161 * wid-edit.el (advertised-widget-backward): Declare obsolete.
18162 (widget-keymap): Put a :advertised-binding property rather
18163 than using advertised-widget-backward.
18164 * bindings.el (ctl-x-map): Put a :advertised-binding property rather
18165 than using advertised-undo.
18166 * tutorial.el (tutorial--default-keys): Adjust accordingly.
18168 2009-09-10 Simon South <ssouth@slowcomputing.org>
18170 * progmodes/delphi.el (delphi-tab): Indent region when Transient
18171 Mark mode is enabled and region is active; otherwise indent or
18172 insert TAB as usual.
18173 (delphi-mode): Update description of TAB-key binding.
18175 2009-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
18177 * subr.el (define-key-rebound-commands): Mark obsolete.
18178 * startup.el (precompute-menubar-bindings): Remove.
18179 (normal-top-level): Remove obsolete code that tried to precompute
18181 * loadup.el (define-key-rebound-commands): Don't bother fiddling with
18182 define-key-rebound-commands and precompute-menubar-bindings.
18184 2009-09-10 Teodor Zlatanov <tzz@lifelogs.com>
18186 * net/imap.el (imap-interactive-login): Better messages.
18187 (imap-open): Fix bug with renamed buffer on reconnect.
18188 (imap-authenticate): Add buffer-local imap-last-authenticator variable
18189 for easier debugging and cleaner code. On successful (guessed based on
18190 server capabilities) secondary authentication, set imap-state
18192 (imap-last-authenticator): Define imap-last-authenticator as a variable
18195 2009-09-10 Glenn Morris <rgm@gnu.org>
18197 * pcvs.el (cvs-mode-find-file): Use forward-line rather than goto-line.
18199 * emacs-lisp/bytecomp.el (byte-compile-function-environment): Doc fix.
18200 (byte-compile-file-form-autoload): Don't warn about unknown functions
18201 where the autoload statement comes after the use.
18202 (with-no-warnings): Give it a byte-hunk-handler like than of progn, so
18203 that any handlers inside the body (eg require) are in turn respected.
18205 * emacs-lisp/byte-opt.el (degrees-to-radians): Mark as free from side
18208 * emacs-lisp/derived.el (define-derived-mode): Give the mode's map,
18209 and syntax and abbrev tables basic docs, if they don't have any.
18211 * emacs-lisp/easy-mmode.el (easy-mmode-defmap): Add doc-string.
18213 * international/mule-cmds.el (top-level): Require cl when compiling.
18214 (view-hello-file): Use default-value rather than
18215 default-enable-multibyte-characters.
18217 * progmodes/fortran.el: Move all safe and risky properties into the
18220 * mail/rmailedit.el, mail/rmailkwd.el, mail/rmailmm.el:
18221 * mail/rmailmsc.el, mail/rmailsort.el, mail/rmailsum.el:
18222 * mail/undigest.el:
18223 Put autoloads in rmail.el rather than loaddefs.el.
18224 * mail/rmail.el: Regenerate with extracted autoloads.
18226 * mail/rmailsum.el (rmail-user-mail-address-regexp): Move to rmail.el.
18227 * mail/rmail.el (rmail-user-mail-address-regexp): Move from rmailsum.el.
18229 2009-09-10 Nick Roberts <nickrob@snap.net.nz>
18231 Reported in thread for Bug#4375.
18232 * progmodes/gud.el (gud-tooltip-print-command): Use MI command
18233 "-data-evaluate-expression" instead of print.
18234 * progmodes/gdb-mi.el (gdb-tooltip-print-1): Ditto.
18235 (gdb-tooltip-print): Parse output from above MI command.
18236 (gdb): Revert 2009-08-11 change. User should detach inferior
18239 Remove the word "separate" from IO functions as inferior
18240 output is now never displayed in the GUD buffer.
18242 2009-09-10 Juanma Barranquero <lekktu@gmail.com>
18244 * startup.el (command-line-normalize-file-name): On Windows and
18245 MS-DOS, also convert C:\/ and C:\\ (two backslashes) into C:/.
18247 2009-09-10 Juri Linkov <juri@jurta.org>
18249 * isearch.el (isearch-text-char-description): Propertize escape
18250 character sequences with the `escape-glyph' face. (Bug#4344)
18252 * simple.el (shell-command): Set asynchronous process filter to
18253 `comint-output-filter'. (Bug#4343)
18255 * progmodes/grep.el (grep-template): Add "<X>" to docstring.
18256 (grep-files-aliases): Add "all". Move "el" and "ch" to the top of
18257 the list. Move "asm" to the bottom.
18258 (grep-find-ignored-directories): Add `choice' with nil value
18259 to empty the list easily.
18260 (grep-find-ignored-files): New option.
18261 (grep-files-history): Set to nil by default instead of '("ch" "el").
18262 (grep-compute-defaults): Add "<X>" to `grep-template'.
18263 (grep-read-files): Bind new local variables `default-alias' and
18264 `default-extension'. Use a list of default values for the file prompt.
18265 (lgrep): Add `--exclude=' command line options composed from
18266 `grep-find-ignored-files'.
18267 (rgrep): Add `-name' command line options composed from
18268 `grep-find-ignored-files'. (Bug#4301)
18270 2009-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
18272 * diff-mode.el (diff-hunk-kill): Fix the search of the next hunk
18275 2009-09-09 Katsumi Yamaoka <yamaoka@jpl.org>
18277 * calendar/time-date.el (autoload):
18278 Expand define-obsolete-function-alias into defalias and make-obsolete
18279 for old Emacsen that Gnus supports.
18280 (with-no-warnings): Define it for old Emacsen.
18281 (time-to-seconds): Don't use (featurep 'xemacs) to check if float-time
18283 (time-to-number-of-days): Don't use (featurep 'xemacs) to check if
18284 float-time is available; suppress compile warning for time-to-seconds.
18286 2009-09-09 Teodor Zlatanov <tzz@lifelogs.com>
18288 * net/imap.el (imap-message-map): Docstring fix.
18290 2009-09-09 Glenn Morris <rgm@gnu.org>
18292 * ffap.el (ffap-file-at-point): Handle absolute (non-remote) files with
18293 line numbers too. (Bug#4374)
18295 2009-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
18297 * smerge-mode.el (smerge-remove-props, smerge-refine):
18298 Use with-silent-modifications (bug#4342).
18300 * subr.el (with-silent-modifications): New macro.
18302 2009-09-07 Juanma Barranquero <lekktu@gmail.com>
18304 * files.el (top-level): Require `cl' when compiling.
18306 2009-09-07 Glenn Morris <rgm@gnu.org>
18308 * files.el (auto-mode-alist): Use delphi-mode for .dpr files.
18310 * proced.el (proced-mode-map): Bind "d" to proced-mark-alt.
18311 (proced-mark-alt): New alias, to control the advertised key. (Bug#4362)
18313 2009-09-06 Nick Roberts <nickrob@snap.net.nz>
18315 * vc-git.el (vc-git-annotate-command): Use separator to parse
18316 arguments correctly.
18318 2009-09-06 Eli Zaretskii <eliz@gnu.org>
18320 * proced.el (proced-mode): Doc fix.
18322 2009-09-06 Julian Scheid <julians37@gmail.com> (tiny change)
18324 * net/tramp.el (tramp-perl-file-attributes): Print "nil" when
18326 (tramp-do-file-attributes-with-ls): Check for file existence at
18328 (tramp-do-file-attributes-with-stat): Likewise.
18329 (tramp-convert-file-attributes): Return nil when attr is nil.
18331 2009-09-05 Glenn Morris <rgm@gnu.org>
18333 * calendar/diary-lib.el (diary-entry): Add help-echo and follow-link
18334 properties to this button.
18335 (diary-fancy-display): Don't extend the button to the final newline.
18336 (diary-fancy-display-mode): Continue to define "q" as a local key.
18338 * calendar/cal-china.el (holiday-chinese): Make it slightly more
18341 * font-lock.el (lisp-font-lock-keywords-2): Add letf.
18343 * emacs-lisp/bytecomp.el (emacs-lisp-file-regexp): Doc fix.
18344 (byte-compile-dest-file-function): New option.
18345 (byte-compile-dest-file): Doc fix.
18346 Obey byte-compile-dest-file-function.
18347 (byte-compile-cl-file-p): New function.
18348 (byte-compile-eval): Only suppress noruntime warnings about cl functions
18349 if the cl-functions warning is enabled. Use byte-compile-cl-file-p.
18350 (byte-compile-eval): Check for non-nil byte-compile-cl-functions rather
18351 than for file being previously loaded.
18352 (byte-compile-find-cl-functions): Use byte-compile-cl-file-p.
18353 (byte-compile-file-form-require): Handle the case where requiring a file
18354 indirectly causes CL to be loaded.
18356 2009-09-05 Karl Fogel <kfogel@red-bean.com>
18358 * files.el (find-alternate-file): Run `kill-buffer-hook' manually
18359 before killing the old buffer, since by the time `kill-buffer' is
18360 run so many buffer variables have been set to nil that it may not
18361 behave as expected. (Bug#4061)
18363 2009-09-05 Karl Fogel <kfogel@red-bean.com>
18365 * files.el (find-alternate-file): If the old buffer is modified
18366 and visiting a file, behave similarly to `kill-buffer' when
18367 killing it, thus reverting to the pre-1.878 behavior; see
18368 http://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00101.html
18369 for discussion. Also, consult `buffer-file-name' as a variable
18370 not as a function, for consistency with the rest of the code.
18372 2009-09-04 Michael Albinus <michael.albinus@gmx.de>
18374 * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
18375 also when adding a new directory.
18377 * net/tramp-compat.el (tramp-compat-line-beginning-position):
18380 2009-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
18382 * files.el (locate-file-completion-table): Make it provide boundary
18383 information, so partial-completion works better.
18385 2009-09-04 Leo <sdl.web@gmail.com> (tiny change)
18387 * mail/footnote.el (Footnote-text-under-cursor):
18388 Check footnote-text-marker-alist before using it (bug#4324).
18390 2009-09-04 Glenn Morris <rgm@gnu.org>
18392 * play/5x5.el, play/decipher.el, play/gametree.el, play/handwrite.el:
18393 * play/hanoi.el, play/landmark.el, play/mpuz.el, play/pong.el:
18394 * play/solitaire.el, play/tetris.el:
18395 Remove leading * from defcustom and defface docs.
18397 * calendar/diary-lib.el (diary-fancy-display): Only switch modes if
18399 (diary-fancy-overriding-map): New variable.
18400 (diary-fancy-display-mode): Set minor-mode-overriding-map-alist.
18403 * vc-rcs.el (vc-rcs-annotate-command): Use forward-line rather than
18406 2009-09-03 Glenn Morris <rgm@gnu.org>
18408 * arc-mode.el (archive-mode):
18409 * dos-fns.el (set-default-process-coding-system):
18410 * man.el (Man-getpage-in-background):
18411 * menu-bar.el (menu-bar-describe-menu):
18412 * server.el (server-process-filter):
18413 * startup.el (command-line):
18414 * tar-mode.el (tar-header-block-tokenize, tar-extract):
18415 * w32-fns.el (set-default-process-coding-system):
18416 * x-dnd.el (x-dnd-handle-file-name):
18417 * international/mule-cmds.el (mule-menu-keymap)
18418 (set-default-coding-systems, language-info-alist, set-language-info)
18419 (set-language-environment, standard-display-european-internal)
18420 (set-locale-environment):
18421 * international/mule-diag.el (mule-diag):
18422 * mail/emacsbug.el (report-emacs-bug):
18423 * mail/rmail.el (rmail-mode):
18424 * mail/sendmail.el (mail-setup):
18425 Use default-value rather than default-enable-multibyte-characters.
18427 * progmodes/f90.el: Move all safe properties into the defcustoms.
18428 (f90-get-correct-indent, f90-indent-region, f90-abbrev-start): Use memq.
18430 * calendar/appt.el (appt-check):
18431 * calendar/diary-lib.el (diary-set-header, diary-live-p)
18432 (diary-check-diary-file, diary-list-entries)
18433 (diary-include-other-diary-files, diary-simple-display)
18434 (diary-fancy-display, diary-print-entries)
18435 (diary-mark-included-diary-files, diary-make-entry):
18436 Don't call substitute-in-file-name on diary-file.
18438 2009-09-03 Eduard Wiebe <usenet@pusto.de>
18439 Stefan Monnier <monnier@iro.umontreal.ca>
18441 * mail/footnote.el (footnote-prefix): Make it a defcustom.
18442 (footnote-mode-map): Move initialization into the declaration.
18443 (footnote-minor-mode-map): Define it rather than changing global-map.
18444 (footnote-mode): Use define-minor-mode.
18446 2009-09-02 Michael Albinus <michael.albinus@gmx.de>
18448 * net/tramp.el (tramp-handle-file-attributes-with-ls)
18449 (tramp-do-file-attributes-with-perl)
18450 (tramp-do-file-attributes-with-stat): Rename from
18451 `tramp-handle-file-attributes-with-*'.
18452 (tramp-handle-file-attributes): Use them.
18453 (tramp-do-directory-files-and-attributes-with-perl)
18454 (tramp-do-directory-files-and-attributes-with-stat): Rename from
18455 `tramp-handle-directory-files-and-attributes-with-*'.
18456 (tramp-handle-directory-files-and-attributes): Use them.
18457 (tramp-method-out-of-band-p): Additional parameter SIZE.
18458 (tramp-do-copy-or-rename-file, tramp-handle-file-local-copy)
18459 (tramp-handle-write-region): Use it.
18460 (tramp-handle-insert-directory): Use "?\ " for compatibility reasons.
18461 (tramp-handle-vc-registered): Check, whether the first run did
18462 return files to be tested.
18463 (tramp-advice-make-auto-save-file-name): Do not call directly
18464 `tramp-handle-make-auto-save-file-name', because this would bypass
18465 the locking mechanism.
18467 * net/tramp-compat.el (top): Autoload used functions from tramp.el.
18468 (file-remote-p, process-file, start-file-process, set-file-times)
18469 (tramp-compat-file-attributes): Compatibility functions shall not
18470 call directly `tramp-handle-*', because this would bypass the
18472 (tramp-compat-number-sequence): New defun.
18474 2009-09-02 Glenn Morris <rgm@gnu.org>
18476 * calendar/time-date.el (time-to-seconds): In Emacs, make it an obsolete
18477 alias for float-time.
18478 (time-to-number-of-days): In Emacs, use float-time.
18479 * net/newst-backend.el (time-add): Suppress warnings from compat
18481 * time.el (emacs-uptime, emacs-init-time):
18482 * net/rcirc.el (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE):
18483 Use float-time rather than time-to-seconds.
18485 * minibuffer.el (completion-initials-expand): Fix typo.
18487 * faces.el (modeline, modeline-inactive, modeline-highlight)
18488 (modeline-buffer-id):
18489 * info.el (info-menu-5): Mark these face aliases as obsolete.
18491 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
18493 * progmodes/gdb-mi.el (gdb-current-context-command): Move the
18495 (gdb-gud-context-call): ... to here for pre GDB 7.0 when there is
18496 no "--thread" option.
18497 (gdb-stopped): Don't print "Switched to thread" message when it is
18500 2009-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
18502 * minibuffer.el (completion-try-completion)
18503 (completion-all-completions): Remove ill-defined (and
18504 mistakenly installed and luckily never used nor documented)
18505 `completion-styles' property.
18506 (completion-initials-expand, completion-initials-all-completions)
18507 (completion-initials-try-completion): New functions.
18508 (completion-styles-alist): Add doc to each entry.
18509 Add new `initials' entry.
18511 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
18513 * progmodes/gdb-mi.el (gdb-var-create-handler): Remove redundant
18514 MI command -var-evaluate-expression.
18515 (gdb-var-list-children-regexp): Update from regexp-1 in gdb-ui.el
18516 and tweak for case of string child.
18517 (gdb-var-list-children-handler): Update from handler-1 in gdb-ui.el.
18519 2009-09-01 Glenn Morris <rgm@gnu.org>
18521 * add-log.el (change-log-date-face, change-log-name-face)
18522 (change-log-email-face, change-log-file-face, change-log-list-face)
18523 (change-log-conditionals-face, change-log-function-face)
18524 (change-log-acknowledgement-face):
18525 * cus-edit.el (custom-invalid-face, custom-rogue-face)
18526 (custom-modified-face, custom-set-face, custom-changed-face)
18527 (custom-saved-face, custom-button-face, custom-button-pressed-face)
18528 (custom-documentation-face, custom-state-face, custom-comment-face)
18529 (custom-comment-tag-face, custom-variable-tag-face)
18530 (custom-variable-button-face, custom-face-tag-face)
18531 (custom-group-tag-face-1, custom-group-tag-face):
18532 * diff-mode.el (diff-header-face, diff-file-header-face)
18533 (diff-index-face, diff-hunk-header-face, diff-removed-face)
18534 (diff-added-face, diff-changed-face, diff-function-face)
18535 (diff-context-face, diff-nonexistent-face):
18536 * generic-x.el (show-tabs-tab-face, show-tabs-space-face):
18537 * hilit-chg.el (highlight-changes-face, highlight-changes-delete-face):
18538 * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face)
18539 (Info-title-4-face):
18540 * isearch.el (isearch-lazy-highlight-face):
18541 * log-view.el (log-view-file-face, log-view-message-face):
18542 * paren.el (show-paren-match-face, show-paren-mismatch-face):
18543 * pcvs-info.el (cvs-header-face, cvs-filename-face, cvs-unknown-face)
18544 (cvs-handled-face, cvs-need-action-face, cvs-marked-face)
18546 * smerge-mode.el (smerge-mine-face, smerge-other-face)
18547 (smerge-base-face, smerge-markers-face):
18548 * wid-edit.el (widget-documentation-face, widget-button-face)
18549 (widget-field-face, widget-single-line-field-face)
18550 (widget-inactive-face, widget-button-pressed-face):
18551 * woman.el (woman-italic-face, woman-bold-face, woman-unknown-face)
18552 (woman-addition-face):
18553 * eshell/em-ls.el (eshell-ls-directory-face, eshell-ls-symlink-face)
18554 (eshell-ls-executable-face, eshell-ls-readonly-face)
18555 (eshell-ls-unreadable-face, eshell-ls-special-face)
18556 (eshell-ls-missing-face, eshell-ls-archive-face)
18557 (eshell-ls-backup-face, eshell-ls-product-face)
18558 (eshell-ls-clutter-face):
18559 * eshell/em-prompt.el (eshell-prompt-face):
18560 * eshell/esh-test.el (eshell-test-ok-face, eshell-test-failed-face):
18561 * obsolete/old-whitespace.el (whitespace-highlight-face):
18562 * progmodes/antlr-mode.el (antlr-font-lock-default-face)
18563 (antlr-font-lock-keyword-face, antlr-font-lock-syntax-face)
18564 (antlr-font-lock-ruledef-face, antlr-font-lock-tokendef-face)
18565 (antlr-font-lock-ruleref-face, antlr-font-lock-tokenref-face)
18566 (antlr-font-lock-literal-face):
18567 * progmodes/ebrowse.el (ebrowse-tree-mark-face)
18568 (ebrowse-root-class-face, ebrowse-file-name-face)
18569 (ebrowse-default-face, ebrowse-member-attribute-face)
18570 (ebrowse-member-class-face, ebrowse-progress-face):
18571 * progmodes/make-mode.el (makefile-space-face):
18572 * progmodes/sh-script.el (sh-heredoc-face):
18573 * textmodes/flyspell.el (flyspell-incorrect-face)
18574 (flyspell-duplicate-face):
18575 * textmodes/tex-mode.el (tex-math-face, tex-verbatim-face):
18576 * textmodes/texinfo.el (texinfo-heading-face):
18577 Mark face aliases with "-face" suffix as obsolete.
18579 * mail/feedmail.el (file-name-buffer-file-type-alist): Define for
18582 * net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-image-menu)
18583 (eudc-bob-sound-menu): Use defvar rather than defconst, since
18584 easy-menu-define wants to modify these.
18586 * net/net-utils.el (nslookup): Use make-comint rather than comint-run.
18588 * net/browse-url.el (browse-url-file-url):
18589 * term/internal.el (dos-codepage-setup):
18590 Use default-value rather than default-enable-multibyte-characters.
18592 * progmodes/etags.el (etags-goto-tag-location):
18593 * progmodes/flymake.el (flymake-highlight-line)
18594 (flymake-goto-file-and-line, flymake-goto-line):
18595 * progmodes/gdb-mi.el (gdb-mouse-until, gdb-mouse-jump)
18596 (gdb-goto-breakpoint):
18597 * progmodes/idlw-shell.el (idlwave-shell-move-to-bp):
18598 * progmodes/python.el (python-find-function)
18599 (python-pdbtrack-track-stack-file):
18600 * progmodes/verilog-mode.el (verilog-surelint-off):
18601 * term/ns-win.el (ns-open-file-select-line):
18602 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
18603 Use forward-line rather than goto-line.
18605 * textmodes/reftex-cite.el (reftex-offer-bib-menu):
18606 * textmodes/reftex-index.el (reftex-display-index):
18607 * textmodes/reftex-ref.el (reftex-offer-label-menu):
18608 * textmodes/reftex-toc.el (reftex-toc):
18609 Remove unnecessary bindings of default-major-mode (all are followed by
18610 major-mode check and possible mode switch).
18612 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
18614 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
18615 Handle watchpoints (bug#4282).
18616 (def-gdb-thread-buffer-command): Enable thread to be selected by
18617 clicking without selecting threads buffer first.
18618 (gdb-current-context-command): Use selected frame so that "up",
18619 "down" etc work in the GUD buffer.
18620 (gdb-update): Find selected frame before rendering stack buffer.
18621 (gdb-frame-handler): Set gdb-frame-number for stack buffer.
18623 2009-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
18625 * progmodes/sym-comp.el (displayed-completions): Remove.
18626 (symbol-complete): Use minibuffer-complete.
18628 2009-08-31 Glenn Morris <rgm@gnu.org>
18630 * emacs-lisp/byte-run.el (define-obsolete-face-alias): New macro.
18632 * apropos.el (apropos-symbols-internal):
18633 Handle (obsolete) face aliases.
18635 * faces.el (describe-face): Adjust the output format to be more like
18636 describe-variable, and to mention (obsolete) face aliases.
18637 Adjust the whitespace so that help-setup-xref works.
18639 * calendar/calendar.el (calendar-today-face, diary-face, holiday-face):
18640 * calendar/diary-lib.el (diary-button-face):
18641 Mark these face aliases as obsolete.
18643 * calendar/calendar.el (calendar-today): Doc fix.
18645 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
18647 * progmodes/gdb-mi.el (gdb-control-all-threads)
18648 (gdb-control-current-thread): Force tool bar update.
18649 (gdb-non-stop-handler): New function.
18650 (gdb-init-1): Use it to test if non-stop mode is supported.
18651 Remove unused gdbmi buffer type.
18653 2009-08-30 Kevin Rodgers <kevin.d.rodgers@gmail.com>
18655 * progmodes/grep.el (grep-read-files): Strip trailing <N> from
18656 buffer names not visiting a file (e.g. cloned buffers). (Bug#4210)
18658 2009-08-30 Nick Roberts <nickrob@snap.net.nz>
18660 * comint.el (comint-exec-1): Check command is non-null first.
18661 Part of gdb-mi.el change (2009-08-28).
18663 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
18665 * emacs-lisp/lisp.el (lisp-complete-symbol): Use minibuffer-complete.
18667 2009-08-30 Juanma Barranquero <lekktu@gmail.com>
18669 * subr.el (do-after-load-evaluation): Fix last change: use `mapc'
18670 instead of `dolist' to avoid a recursive require when bootstrapping.
18672 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
18674 * emacs-lisp/lisp.el (field-complete): Use minibuffer-complete.
18676 * net/ldap.el (ldap-search-internal): Use with-current-buffer and push.
18678 * net/imap.el (imap-send-command): Simplify.
18679 (imap-wait-for-tag): point-max -> buffer-size.
18681 * net/ange-ftp.el (internal-ange-ftp-mode): Use define-derived-mode.
18683 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't use symbol-value
18684 with constant argument.
18686 * emacs-lisp/debug.el (debugger-setup-buffer): Make it multibyte.
18688 * emacs-lisp/cl.el (cl-macro-environment): Don't define it here.
18690 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag):
18691 Change default, since most of our files don't have a history.
18692 (checkdoc-display-status-buffer): Don't use a hidden buffer to show to
18695 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
18698 * calc/calc.el: Improve commenting convention.
18699 (calc-digit-map, toplevel): Simplify.
18701 * comint.el (comint-insert-input): Be careful to only set point if we
18702 don't delegate to some other command.
18704 * proced.el (proced-signal-list): Make it an alist.
18705 (proced-grammar-alist): Capitalize names.
18706 (proced-send-signal): Use a non-hidden buffer (since it's displayed).
18707 Disable undo manually and make it read-only.
18708 Use completion-annotate-function.
18710 * minibuffer.el (minibuffer-message): If the current buffer is not
18711 a minibuffer, insert the message in the echo area rather than at the
18713 (completion-annotate-function): New variable.
18714 (minibuffer-completion-help): Use it.
18715 (completion--embedded-envvar-table): Environment vars are
18716 always case-sensitive.
18718 2009-08-30 Glenn Morris <rgm@gnu.org>
18720 * progmodes/fortran.el (fortran-start-prog-re): New constant, extracted
18721 from fortran-current-defun.
18722 (fortran-beginning-of-subprogram): Be more precise about finding the
18723 start, to avoid an infinite loop in end-of-defun. (Bug#4259)
18724 (fortran-end-of-subprogram): Simplify.
18725 (fortran-current-defun): Use fortran-start-prog-re.
18727 2009-08-29 Juanma Barranquero <lekktu@gmail.com>
18729 * subr.el (do-after-load-evaluation): Simplify.
18731 2009-08-29 Dan Nicolaescu <dann@ics.uci.edu>
18733 * vc.el (vc-print-log-internal): Move RCS/CVS specific code ...
18735 * vc-rcs.el (vc-rcs-print-log-cleanup): ... here. New function.
18736 (vc-rcs-print-log): Use it.
18738 * vc-cvs.el (vc-cvs-print-log): Use vc-rcs-print-log-cleanup.
18740 2009-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
18742 * paths.el (abbrev-file-name): Move to abbrev.el.
18743 * abbrev.el (abbrev-file-name): Move from paths.el.
18744 Obey user-emacs-directory.
18745 * calc/calc.el (calc-settings-file): Don't autoload and instead obey
18746 user-emacs-directory.
18747 * dos-fns.el (dos-reevaluate-defcustoms): Don't reevaluate
18748 abbrev-file-name and calc-settings-file any more.
18749 * startup.el (command-line): Recompute abbrev-file-name and
18750 abbreviated-home-dir.
18751 (normal-no-mouse-startup-screen): Improve the generic code and get rid
18752 of the special code for when C-h bindings haven't been changed.
18753 (display-startup-echo-area-message): Use with-current-buffer.
18754 (command-line-1): Use a list of strings, rather than a list of lists
18755 of strings for longopts.
18757 * files.el (get-free-disk-space): Use / for default-directory.
18759 * textmodes/ispell.el (ispell-accept-output, ispell-command-loop):
18760 Use with-current-buffer.
18762 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p):
18763 Recognize immutable variables like most-positive-fixnum.
18764 (byte-compile-setq-default): Check and warn if trying to assign
18765 to an immutable variable, or a non-variable.
18767 * progmodes/cc-vars.el (c-comment-continuation-stars):
18768 * progmodes/cc-engine.el (c-looking-at-bos):
18769 * progmodes/cc-cmds.el (c-toggle-auto-state)
18770 (c-forward-into-nomenclature, c-backward-into-nomenclature)
18771 (c-comment-line-break-function): Add version of obsolescence.
18773 2009-08-28 Juri Linkov <juri@jurta.org>
18775 * files.el (magic-fallback-mode-alist): Add ZIP magic number
18776 associated with `archive-mode'.
18778 * image.el (image-type-header-regexps): Use only JPEG magic number
18779 to determine JPEG images, and don't use `image-jpeg-p' because
18780 Emacs can display non-JFIF non-Exif JPEG images.
18782 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
18784 * arc-mode.el (archive-mode):
18785 * emacs-lisp/re-builder.el (re-builder-unload-function):
18786 Protect against the default value of `major-mode' being nil.
18788 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
18790 * international/ucs-normalize.el (ucs-normalize-sort, quick-check-list):
18791 Fix typos in docstrings.
18793 * progmodes/js.el (js--macro-decl-re): Doc fix.
18794 (js--plain-method-re, js--split-name): Refloc docstring.
18795 (js--class-styles, js--make-merged-item, js--splice-into-items):
18796 Fix typos in docstrings; reflow docstrings.
18797 (js--maybe-join, js--function-prologue-beginning, js--flush-caches)
18798 (js--variable-decl-matcher, js--inside-pitem-p)
18799 (js--parse-state-at-point, js--get-all-known-symbols)
18800 (js--symbol-history, js-find-symbol, js--js-references)
18801 (js--moz-interactor, js--js-encode-value, js--read-tab):
18802 Fix typos in docstrings.
18804 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
18806 * textmodes/reftex.el (reftex-get-file-buffer-force):
18807 * progmodes/verilog-mode.el (verilog-batch-execute-func):
18808 * emulation/viper.el (viper-go-away, viper-set-hooks):
18809 * emacs-lisp/re-builder.el (re-builder-unload-function):
18810 * emacs-lisp/bytecomp.el (byte-compile-file):
18811 * ses.el (ses-unload-function):
18812 * hexl.el (hexl-find-file):
18813 * files.el (normal-mode):
18814 * ehelp.el (with-electric-help):
18815 * autoinsert.el (auto-insert-alist):
18816 * arc-mode.el (archive-mode):
18817 Use (default-value 'major-mode) instead of default-major-mode.
18819 * textmodes/ispell.el (ispell-check-version, ispell-send-string):
18820 * international/mule.el (load-with-code-conversion):
18821 * emacs-lisp/debug.el (debug):
18822 * ediff-vers.el (ediff-rcs-get-output-buffer):
18823 * dired.el (dired-internal-noselect): Don't let-bind
18824 default-major-mode around code that doesn't use it.
18825 E.g. buffer creation via get-buffer-create doesn't use it.
18827 2009-08-28 Michael Albinus <michael.albinus@gmx.de>
18829 * net/tramp.el (all): Replace "'(lambda" by "(lambda".
18830 (tramp-handle-file-local-copy): Unset `file-name-handler-alist'
18831 when writing the temp file. Otherwise, epa-file gets confused.
18832 (tramp-register-file-name-handlers): Make it a defun. Move also
18833 `epa-file-handler' to the front of `file-name-handler-alist'.
18835 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
18837 * net/tramp.el (tramp-shell-prompt-pattern): Allow a prompt to
18838 start right after a ^M.
18839 (tramp-root-regexp, tramp-completion-file-name-regexp-unified)
18840 (tramp-completion-file-name-regexp-separate)
18841 (tramp-completion-file-name-regexp-url): Use \\` and \\'.
18842 (tramp-handle-file-attributes, tramp-set-file-uid-gid):
18843 Don't modify last-coding-system-used by accident.
18844 (tramp-completion-file-name-handler): Apply the checks here,
18845 instead during registration.
18846 (tramp-register-file-name-handlers): Rename from
18847 `tramp-register-file-name-handler'. Register both
18848 `tramp-file-name-handler' and `tramp-completion-file-name-handler'.
18849 (tramp-register-completion-file-name-handler): Remove. (Bug#4260)
18851 2009-08-28 Nick Roberts <nickrob@snap.net.nz>
18853 * progmodes/gdb-mi.el (gdb-use-separate-io-buffer):
18854 Remove variable ...
18855 (gdb-init-1, gdb-display-separate-io-buffer)
18856 (gdb-frame-separate-io-buffer, gdb-setup-windows): ... and
18858 (gdb-inferior-io-mode): Use make-comint-in-buffer.
18859 (gdb-inferior-filter): Use comint-output-filter to stop
18860 echoing and remove ^M characters.
18862 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
18864 * emulation/viper-init.el (viper-restore-cursor-type):
18865 * emulation/cua-base.el (cua--update-indications):
18866 Replace default-cursor-type with (default-value 'cursor-type).
18868 * mail/sendmail.el (mail-recover-1):
18869 * international/mule-diag.el (describe-current-coding-system-briefly)
18870 (describe-current-coding-system):
18871 * international/mule-cmds.el (select-safe-coding-system)
18872 (select-message-coding-system)
18873 (set-language-environment-coding-systems, set-locale-environment):
18874 * hexl.el (hexl-insert-multibyte-char):
18875 * dos-w32.el (find-buffer-file-type-coding-system):
18876 * simple.el (what-cursor-position):
18877 Replace uses of default-buffer-file-coding-system
18878 with (default-value 'buffer-file-coding-system).
18880 * emacs-lisp/edebug.el (edebug-display, edebug-outside-excursion):
18881 Replace uses of default-cursor-in-non-selected-windows
18882 with (default-value 'cursor-in-non-selected-windows).
18883 Use with-current-buffer.
18885 * mail/feedmail.el: Use CL macros.
18886 (feedmail-run-the-queue, feedmail-send-it-immediately):
18887 * dos-w32.el (find-buffer-file-type): Replace uses of
18888 default-buffer-file-type with (default-value 'buffer-file-type).
18890 2009-08-28 Glenn Morris <rgm@gnu.org>
18892 * calendar/diary-lib.el (diary-list-entries, diary-goto-entry)
18893 (diary-show-all-entries, diary-mark-entries, diary-make-entry):
18894 Use default-value of major-mode rather than default-major-mode.
18896 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
18898 * Makefile.in (update-elcfiles): Report left over elc files.
18900 * mail/mailalias.el (build-mail-aliases): Use with-temp-buffer,
18901 expand-file-name and with-current-buffer.
18902 (mail-get-names, mail-directory): Use with-current-buffer.
18904 * vc.el (vc-read-revision): New function.
18905 (vc-version-diff, vc-merge): Use it.
18907 2009-08-27 Sam Steingold <sds@gnu.org>
18909 * simple.el (kill-do-not-save-duplicates): New user option.
18910 (kill-new): When it is non-nil, and the new string is the same as
18911 the latest kill, set replace to t to avoid duplicates in kill-ring.
18913 2009-08-27 Julian Scheid <julians37@gmail.com> (tiny change)
18915 * net/tramp.el (tramp-handle-process-file): Do not flush all
18916 caches when `process-file-side-effects' is set.
18917 (tramp-handle-vc-registered): Use `tramp-get-file-exists-command'
18918 instead of `tramp-find-file-exists-command'.
18919 Unset `process-file-side-effects'.
18921 2009-08-27 Michael Albinus <michael.albinus@gmx.de>
18923 * net/tramp.el (tramp-methods): New method "rsyncc".
18924 (top): Add completion function for "rsyncc".
18925 (tramp-message-show-message): New defvar.
18926 (tramp-message, tramp-error): Use it.
18927 (tramp-do-copy-or-rename-file-directly): Extend check for direct
18929 (tramp-do-copy-or-rename-file-out-of-band): Handle new
18930 `tramp-methods' entry `copy-env' of "rsyncc".
18931 (tramp-vc-registered-read-file-names): New defconst.
18932 (tramp-vc-registered-file-names): New defvar.
18933 (tramp-handle-vc-registered): Implement optimization strategy.
18934 (tramp-run-real-handler): Add `tramp-vc-file-name-handler'.
18935 (tramp-vc-file-name-handler): New defun.
18936 (tramp-get-ls-command, tramp-get-test-command)
18937 (tramp-get-file-exists-command, tramp-get-remote-ln)
18938 (tramp-get-remote-perl, tramp-get-remote-stat)
18939 (tramp-get-remote-id): Remove superfluous `with-current-buffer'.
18941 * net/tramp-cache.el (top): Autoload `tramp-time-less-p'.
18942 (tramp-cache-inhibit-cache): Extend doc string. It allows also
18944 (tramp-get-file-property): Check for timestamps in
18945 `tramp-cache-inhibit-cache'.
18946 (tramp-set-file-property): Write timestamp.
18948 2009-08-27 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
18950 * language/japan-util.el (japanese-symbol-table): Add entries for
18953 * international/characters.el: Add category `j' to cp932-2-byte.
18955 2009-08-27 Kenichi Handa <handa@m17n.org>
18957 * international/fontset.el (build-default-fontset-data): New macro.
18958 (setup-default-fontset): Use build-default-fontset-data for CJK,
18959 tibetan, ethiopic, and ipa.
18961 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
18963 * cus-start.el (default-major-mode): Customize `major-mode' instead.
18964 (enable-multibyte-characters): Not customizable any more.
18966 * subr.el (default-mode-line-format, default-header-line-format)
18967 (default-line-spacing, default-abbrev-mode, default-ctl-arrow)
18968 (default-direction-reversed, default-truncate-lines)
18969 (default-left-margin, default-tab-width, default-case-fold-search)
18970 (default-left-margin-width, default-right-margin-width)
18971 (default-left-fringe-width, default-right-fringe-width)
18972 (default-fringes-outside-margins, default-scroll-bar-width)
18973 (default-vertical-scroll-bar, default-indicate-empty-lines)
18974 (default-indicate-buffer-boundaries, default-fringe-indicator-alist)
18975 (default-fringe-cursor-alist, default-scroll-up-aggressively)
18976 (default-scroll-down-aggressively, default-fill-column)
18977 (default-cursor-type, default-buffer-file-type)
18978 (default-cursor-in-non-selected-windows)
18979 (default-buffer-file-coding-system, default-major-mode)
18980 (default-enable-multibyte-characters): Mark as obsolete.
18982 2009-08-27 Dan Nicolaescu <dann@ics.uci.edu>
18984 * vc-dir.el (vc-dir-update): Remove debug helper.
18986 * vc-cvs.el (vc-cvs-update-changelog): Fix typo.
18988 2009-08-26 Sam Steingold <sds@gnu.org>
18990 * simple.el (save-interprogram-paste-before-kill): New user option.
18991 (kill-new): When `save-interprogram-paste-before-kill' is non-nil,
18992 save the interprogram-paste into kill-ring before overriding it
18993 with the Emacs kill.
18995 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
18997 * vc.el (vc-trunk-p): Rename to vc-rcs-trunk-p and move to vc-rcs.el.
18998 (vc-minor-part): Rename to vc-rcs-minor-part and move to vc-rcs.el.
18999 (vc-default-previous-revision): Rename to vc-rcs-previous-revision
19000 and move to vc-rcs.el.
19001 (vc-default-next-revision): Rename to vc-rcs-next-revision and
19003 (vc-cvs-update-changelog): Move to vc-cvs.el, use vc-call-backend.
19004 (vc-rcs-update-changelog): Remove.
19005 (vc-update-changelog-rcs2log): Rename to vc-rcs-update-changelog
19006 and move to vc-rcs.el.
19008 * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-checkin)
19009 (vc-rcs-checkout, vc-rcs-rollback): Adjust for the vc-rcs-trunk-p
19011 (vc-rcs-trunk-p, vc-rcs-minor-part, vc-rcs-previous-revision)
19012 (vc-rcs-next-revision, vc-rcs-update-changelog): Move here from
19013 vc.el, renamed to be RCS specific.
19015 * vc-cvs.el (vc-cvs-previous-revision, vc-cvs-next-revision):
19017 (vc-cvs-update-changelog): Move here from vc.el.
19019 * vc-sccs.el (vc-sccs-previous-revision, vc-sccs-next-revision):
19022 2009-08-26 Stefan Monnier <monnier@iro.umontreal.ca>
19024 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix up last change.
19026 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
19028 * vc-git.el (vc-git-register): Use "git add" for directories.
19029 (vc-git-stash, vc-git-stash-show): New functions.
19030 (vc-git-extra-menu-map): Bind them.
19032 * vc-dir.el (vc-dir-node-directory, vc-dir-update): Get the parent
19033 directory correctly in case the item is a directory itself.
19035 * vc.el: Document the desired behavior for reverted files in the
19037 (vc-default-prettify-state-info): Remove function, unused.
19039 * vc-bzr.el (vc-bzr-prettify-state-info): Remove function, unused.
19041 2009-08-26 Glenn Morris <rgm@gnu.org>
19043 * bindings.el (standard-mode-line-format): Reposition dashes in
19044 which-func entry. (Bug#4217)
19046 * files.el (enable-local-variables, enable-local-eval)
19047 (safe-local-variable-values, safe-local-eval-forms): Mark as risky in
19049 (auto-mode-alist, ignored-local-variables)
19050 (save-some-buffers-action-alist): Move risky declarations to the
19052 (dabbrev-case-fold-search, dabbrev-case-replace, display-time-string)
19053 (font-lock-defaults, format-alist, imenu--index-alist)
19054 (imenu-generic-expression, input-method-alist, minor-mode-alist)
19055 (mode-line-buffer-identification, mode-line-client, mode-line-modes)
19056 (mode-line-modified, mode-line-mule-info, mode-line-position)
19057 (mode-line-process, mode-line-remote, outline-level)
19058 (parse-time-rules, rmail-output-file-alist)
19059 (special-display-buffer-names, vc-mode):
19060 Move risky declarations to the relevant files.
19061 * bindings.el (mode-line-client, mode-line-mule-info, mode-line-remote)
19062 (mode-line-modified, mode-line-process, mode-line-position)
19063 (mode-line-modes, mode-line-buffer-identification, minor-mode-alist)
19064 * font-core.el (font-lock-defaults):
19065 * format.el (format-alist):
19066 * vc-hooks.el (vc-mode):
19067 * window.el (special-display-buffer-names):
19068 * international/mule-cmds.el (input-method-alist):
19069 Define riskiness here (dumped file) rather than in files.el.
19070 * dabbrev.el (dabbrev-case-fold-search, dabbrev-case-replace):
19071 * imenu.el (imenu-generic-expression, imenu--index-alist):
19072 * outline.el (outline-level):
19073 * time.el (display-time-string):
19074 * calendar/parse-time.el (parse-time-rules):
19075 * mail/rmailout.el (rmail-output-file-alist):
19076 Autoload riskiness here, rather than placing in files.el.
19078 2009-08-26 Andreas Schwab <schwab@linux-m68k.org>
19080 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Signal overflow.
19082 2009-08-25 Michael Albinus <michael.albinus@gmx.de>
19084 * simple.el (process-file-side-effects): New defvar.
19086 * dired-aux.el (dired-show-file-type):
19087 * vc.el (vc-diff-internal):
19088 * vc-arch.el (vc-arch-diff):
19089 * vc-bzr.el (vc-bzr-sha1, vc-bzr-revision-completion-table):
19090 * vc-cvs.el (vc-cvs-state, vc-cvs-diff, vc-cvs-revision-table):
19091 * vc-git.el (vc-git-registered, vc-git-working-revision)
19092 (vc-git-find-revision, vc-git-diff, vc-git-revision-table)
19093 (vc-git--empty-db-p):
19094 * vc-hooks.el (vc-user-login-name):
19095 * vc-svn.el (vc-svn-registered, vc-svn-state)
19096 (vc-svn-dir-extra-headers, vc-svn-find-revision):
19097 * progmodes/grep.el (grep-probe): Let-bind
19098 `process-file-side-effects' with nil.
19100 * net/dbus.el (dbus-ping): Add optional parameter TIMEOUT.
19102 * net/tramp-gvfs.el (top): Use timeout of 100 msec pinging GVFS
19103 daemon. Replace ping by checking for running service for bluez
19104 and zeroconf. (Bug#4239)
19106 2009-08-25 Kevin Ryde <user42@zip.com.au>
19108 * net/dig.el (dig): Add autoload cookie.
19110 2009-08-25 Glenn Morris <rgm@gnu.org>
19112 * emacs-lisp/bytecomp.el (byte-compile-eval): Fix test for cl in
19113 load-history for absolute file-names.
19114 (byte-compile-file-form-require): Warn about use of the cl package.
19116 * format.el (format-alist): Doc fix.
19118 * play/bubbles.el (top-level): Don't require cl at run-time.
19120 * progmodes/verilog-mode.el (top-level): Don't require lucid (and hence
19123 2009-08-24 Dmitry Dzhus <dima@sphinx.net.ru>
19125 * progmodes/gdb-mi.el (gdb-mapcar*): Replacement for `mapcar*'
19127 (gdb-table-add-row, gdb-table-string): Use `gdb-mapcar*'.
19129 2009-08-24 Jay Belanger <jay.p.belanger@gmail.com>
19131 * calc/calc-alg.el (math-trig-rewrite)
19132 (math-hyperbolic-trig-rewrite): New functions.
19133 (calc-simplify): Simplify trig functions when asked.
19135 2009-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
19137 * diff-mode.el (diff-find-source-location): Avoid goto-line.
19139 2009-08-24 Kenichi Handa <handa@m17n.org>
19141 * language/ind-util.el (mapthread): Delete it.
19142 (combinatorial): New function.
19143 (indian--puthash-cv): Use combinatorial instead of mapthread.
19145 2009-08-22 Kevin Ryde <user42@zip.com.au>
19147 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag)
19148 (checkdoc-arguments-in-order-flag): Add safe-local-variable booleanp.
19149 (checkdoc-symbol-words): Add safe-local-variable for list of strings.
19150 Clarify docstring that the value is strings not symbols.
19151 (checkdoc-list-of-strings-p): New function.
19153 2009-08-22 Glenn Morris <rgm@gnu.org>
19155 * files.el (auto-mode-alist):
19156 * hippie-exp.el (he-concat-directory-file-name):
19157 * lpr.el (lpr-windows-system, printer-name):
19158 * ls-lisp.el (ls-lisp-emulation, ls-lisp-use-insert-directory-program):
19159 * ps-print.el (ps-windows-system):
19160 * startup.el (command-line):
19161 * emulation/viper-ex.el (viper-glob-function):
19162 * international/mule-cmds.el (set-language-environment-coding-systems):
19163 * net/ange-ftp.el (ange-ftp-write-region):
19164 * obsolete/fast-lock.el (fast-lock-cache-name):
19165 Remove code for defunct system-types emx, macos, mswindows, next-mach,
19166 unisoft-unix, vax-vms, win32, w32.
19168 * calendar/diary-lib.el (diary-mark-entries-1): Only mark all days of a
19169 given name if the pattern is not more specific.
19171 * calendar/lunar.el (lunar-phase-names): New option.
19172 (lunar-phase): Doc fix.
19173 (lunar-cycles-per-year): New constant.
19174 (lunar-index): New function.
19175 (lunar-phase-list, diary-lunar-phases): Use lunar-index.
19176 (lunar-phase-name): Use lunar-phase-names.
19177 (calendar-lunar-phases): Use format.
19178 (lunar-new-moon-on-or-after): Use lunar-cycles-per-year.
19180 * progmodes/cperl-mode.el (cperl-imenu-name-and-position):
19181 Copy imenu-example--name-and-position function here for own use.
19182 (cperl-xsub-scan): Use cperl-imenu-name-and-position.
19184 * bs.el (bs--redisplay):
19185 * cus-edit.el (custom-redraw):
19186 * ibuffer.el (ibuffer-bury-buffer):
19187 * server.el (server-goto-line-column):
19188 * startup.el (command-line-1):
19189 * strokes.el (strokes-xpm-for-stroke):
19190 * term.el (term-display-buffer-line):
19191 * view.el (View-goto-line):
19192 * calc/calc.el (calc-do, calc-trail-buffer):
19193 * play/gamegrid.el (gamegrid-add-score-insecure):
19194 * progmodes/ada-mode.el (ada-compile-goto-error):
19195 * progmodes/ada-xref.el (ada-xref-find-in-modified-ali):
19196 (ebrowse-select-1st-to-9nth):
19197 * progmodes/cperl-mode.el (cperl-time-fontification):
19198 * progmodes/ebrowse.el (ebrowse-toggle-file-name-display)
19199 * progmodes/gud.el (gud-display-line):
19200 (idlwave-shell-display-line):
19201 * progmodes/idlw-shell.el (idlwave-shell-goto-frame)
19202 * progmodes/make-mode.el (makefile-browser-toggle):
19203 (vhdl-speedbar-port-copy, vhdl-compose-components-package):
19204 * progmodes/vhdl-mode.el (vhdl-speedbar-find-file)
19205 * textmodes/picture.el (picture-draw-rectangle):
19206 * textmodes/reftex-index.el (reftex-index-goto-letter):
19207 (reftex-select-jump-to-previous):
19208 * textmodes/reftex-sel.el (reftex-find-start-point)
19209 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-restore-region):
19210 (rst-straighten-deco-spacing, rst-section-tree, rst-toc):
19211 * textmodes/rst.el (rst-promote-region, rst-straighten-decorations)
19212 * textmodes/tex-mode.el (tex-compilation-parse-errors):
19213 * textmodes/two-column.el (2C-associated-buffer):
19214 Use forward-line rather than goto-line.
19216 * emulation/vi.el (vi-goto-line): Don't warn about non-interactive
19219 * international/ucs-normalize.el (nfd, decomposition-translation-alist)
19220 (decomposition-char-recursively, alist-list-to-vector, quick-check-list)
19221 (quick-check-list-to-regexp): Declare.
19223 * progmodes/make-mode.el (makefile-browser-insert-selection):
19224 Use goto-char rather than goto-line.
19226 * progmodes/prolog.el (compilation-error-regexp-alist)
19227 (compilation-forget-errors): Declare.
19229 2009-08-22 Juri Linkov <juri@jurta.org>
19231 * progmodes/grep.el (lgrep, rgrep): At the beginning
19232 set `dir' to `default-directory' unless `dir' is a non-nil
19233 readable directory. (Bug#4052)
19234 (lgrep, rgrep): Change a weird way to report an error
19235 from using `read-string' to using `error'.
19236 Instead of using interactive arguments in the function body,
19237 add new argument `confirm'.
19239 2009-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
19241 * textmodes/remember.el (remember-buffer):
19242 * progmodes/cperl-mode.el (cperl-vc-header-alist):
19243 * calendar/icalendar.el (icalendar-convert-diary-to-ical)
19244 (icalendar-extract-ical-from-buffer):
19245 * net/newst-treeview.el (newsticker-groups-filename):
19246 * net/newst-backend.el (newsticker-cache-filename):
19247 * speedbar.el (speedbar-update-speed, speedbar-navigating-speed)
19248 (speedbar-ignored-path-expressions, speedbar-ignored-path-regexp)
19249 (speedbar-add-ignored-path-regexp, speedbar-line-path)
19250 (speedbar-buffers-line-path, speedbar-path-line)
19251 (speedbar-buffers-line-path):
19252 * epg.el (epg-passphrase-callback-function, epg-start-sign-keys)
19254 * epa.el (epa-display-verify-result):
19255 * progmodes/pascal.el (pascal-outline): Add version of obsolescence.
19257 2009-08-21 Glenn Morris <rgm@gnu.org>
19259 * progmodes/js.el (inferior-moz-process): Fix declaration.
19261 * imenu.el (imenu-example--name-and-position): Fix obsolescence message.
19263 * obsolete/rnewspost.el (news-mail-reply):
19264 Use goto-char rather than goto-line.
19266 * term/ns-win.el (ns-open-file-select-line):
19267 Use line-beginning-position rather than goto-line.
19269 * apropos.el (apropos-command):
19270 * ehelp.el (electric-helpify):
19271 * printing.el (pr-show-setup):
19272 * strokes.el (strokes-help):
19273 * tutorial.el (tutorial--describe-nonstandard-key)
19274 (tutorial--detailed-help):
19275 * woman.el (woman-mini-help, woman-display-extended-fonts):
19276 * calc/calc-help.el (calc-describe-key):
19277 * emulation/edt.el (edt-electric-helpify):
19278 * international/mule-diag.el (mule-diag):
19279 * play/yow.el (apropos-zippy):
19280 * progmodes/python.el (python-describe-symbol):
19281 * progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode):
19282 * textmodes/table.el (*table--cell-describe-mode)
19283 (*table--cell-describe-bindings):
19284 Use help-print-return-message rather than the now obsolete alias.
19286 * calendar/cal-move.el (calendar-cursor-to-nearest-date)
19287 (calendar-cursor-to-visible-date):
19288 * play/5x5.el (5x5-position-cursor):
19289 * play/decipher.el (decipher):
19290 * play/gomoku.el (gomoku-goto-xy):
19291 * play/landmark.el (lm-goto-xy):
19292 * play/mpuz.el (mpuz-paint-errors, mpuz-paint-statistics)
19293 (mpuz-paint-digit):
19294 Use forward-line, not goto-line.
19296 * mail/rmail.el (rmail-obsolete): Delete custom group.
19297 (rmail-pop-password, rmail-pop-password-required): Make into aliases.
19298 (rmail-remote-password, rmail-remote-password-required):
19299 Remove unneeded :set-after and :set properties.
19301 2009-08-21 Michael Albinus <michael.albinus@gmx.de>
19303 * net/dbus.el (top): Initialize only when `dbusbind' is loaded.
19305 2009-08-21 Dan Nicolaescu <dann@ics.uci.edu>
19307 * loadup.el: Remove leftover macos code.
19309 * vc-git.el (vc-git-annotate-command): Run asynchronously.
19310 Explicitly pass the date format to git blame so that user local
19311 so that the output format can be parsed.
19313 2009-08-20 Michael Albinus <michael.albinus@gmx.de>
19315 * net/dbus.el (top): Don't check for (getenv
19316 "DBUS_SESSION_BUS_ADDRESS"). It's done in dbusbind.c now.
19318 2009-08-19 Magnus Henoch <magnus.henoch@gmail.com>
19320 * log-edit.el (log-edit-strip-single-file-name): New var.
19321 (log-edit-insert-changelog): Use it. Bug#3571
19323 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
19325 * subr.el (read-passwd): Use read-key so keypad keys work as well.
19328 * help.el (help-print-return-message): Rename from
19329 print-help-return-message.
19331 * log-view.el (log-view-mode-map): Remove `q' binding, and unreliable
19332 cvs-mode-map parent hack.
19333 (log-view-mode): Derive from special-mode.
19335 * linum.el (linum-mode): window-size-change-functions is redundant.
19336 Adapt to new window-configuration-change-hook behavior.
19337 (linum-after-size, linum-after-config): Remove.
19339 * imenu.el (imenu-example--name-and-position)
19340 (imenu-example--lisp-extract-index-name)
19341 (imenu-example--create-lisp-index, imenu-example--create-c-index):
19344 * progmodes/prolog.el (inferior-prolog-error-regexp-alist): New var.
19345 (inferior-prolog-mode): Use it.
19346 (inferior-prolog-load-file): Reset list of errors.
19348 2009-08-19 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
19350 * language/tibetan.el ("Tibetan"): Fix sample-text entry.
19352 * language/tai-viet.el ("TaiViet"): Fix sample-text entry.
19354 2009-08-19 Michael Albinus <michael.albinus@gmx.de>
19356 * net/dbus.el (top): Apply `dbus-init-bus' only if the session bus
19357 is running already.
19359 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
19361 * subr.el (listify-key-sequence-1): Use normal syntax since those
19362 integers are nowadays always represented by the same (positive) number
19364 (read-key-empty-map): New const.
19365 (read-key-delay): New var.
19366 (read-key): New function.
19367 (force-mode-line-update): Use with-current-buffer.
19368 (locate-user-emacs-file): Don't forget to abbreviate the file name.
19369 (start-process-shell-command, start-file-process-shell-command):
19370 Discourage the use of command-args.
19372 2009-08-19 Glenn Morris <rgm@gnu.org>
19374 * emacs-lisp/authors.el (authors-fixed-entries): Remove cvtmail.
19376 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
19378 * simple.el (choose-completion-string): Don't rely on
19379 minibuffer-completing-file-name and ad-hoc checks to decide whether
19380 to continue completion or not.
19382 * minibuffer.el (minibuffer-hide-completions): New function.
19383 (completion--do-completion): Use it.
19384 (completions-annotations): New face.
19385 (completion--insert-strings): Use it.
19386 (completion-pcm--delim-wild-regex): Add docstring.
19387 (completion-pcm--string->pattern): Add support for 0-width delimiters
19388 in completion-pcm--delim-wild-regex.
19390 2009-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
19392 * international/ucs-normalize.el (ucs-normalize-hfs-nfd-post-read-conversion):
19393 Remove unused var `buffer-modified-p'.
19395 * minibuffer.el (completion--do-completion): Move point for the #b001
19396 case as well (bug#4176).
19397 (minibuffer-complete, minibuffer-complete-word): Don't move point.
19399 2009-08-18 Michael Albinus <michael.albinus@gmx.de>
19401 * net/dbus.el (dbus-init-bus): Declare. Apply it for the :system
19402 and :session buses.
19404 2009-08-18 Kenichi Handa <handa@m17n.org>
19406 * international/ucs-normalize.el (ucs-normalize-version):
19408 (ucs-normalize-hfs-nfd-pre-write-conversion): New function.
19409 (utf-8-hfs): Make it perform normalization on encoding too.
19411 * textmodes/paragraphs.el: Change to utf-8. Adjust coding cookie.
19412 (sentence-end-without-space): Delete duplicated chars.
19413 (sentence-end-base): Likewise.
19415 * textmodes/sgml-mode.el: Change to utf-8. Adjust coding cookie.
19416 (html-mode): Delete duplicated chars from sentence-end-base.
19418 * textmodes/texinfo.el: Change to utf-8. Adjust coding cookie.
19419 (texinfo-mode): Delete duplicated chars from sentence-end-base.
19421 2009-08-17 Chong Yidong <cyd@stupidchicken.com>
19423 * files.el (hack-one-local-variable): If the mode function is for
19424 a minor mode, pass it an argument (Bug#4148).
19426 2009-08-17 Michael Albinus <michael.albinus@gmx.de>
19428 * net/tramp.el (tramp-register-completion-file-name-handler):
19429 Check also for (member 'partial-completion completion-styles).
19431 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
19433 * progmodes/cperl-mode.el (cperl-electric-paren): Don't expand
19436 2009-08-16 Ilya Zakharevich <ilyaz@cpan.org>
19438 * progmodes/cperl-mode.el: Merge upstream 6.2.
19439 (cperl-mode-syntax-table): Modify syntax entry for ["'`].
19440 (cperl-forward-re): Check cperl-brace-recursing.
19441 (cperl-highlight-charclass): New function.
19442 (cperl-find-pods-heres): Use it.
19443 (cperl-fill-paragraph): Synch to save-excursion placement used upstream.
19444 (cperl-beautify-regexp-piece): Fix column calculation.
19445 (cperl-make-regexp-x): Handle case where point is between "q" and "rs".
19446 (cperl-beautify-level): Don't process entire regexp.
19447 (cperl-build-manpage, cperl-perldoc): Bind Man-switches before
19449 (cperl-tips-faces, cperl-mode, cperl-electric-backspace): Doc fix.
19450 (cperl-init-faces): Build a list in the normal way.
19452 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
19454 * calendar/parse-time.el (parse-time-string-chars): Save match
19457 2009-08-16 Stefan Monnier <monnier@iro.umontreal.ca>
19459 * progmodes/sql.el (sql-product-alist): Add :name tag to entries.
19460 (sql-product): Use it.
19461 (sql-mode-menu): Auto-generate the menu based on sql-product-alist.
19462 (sql-set-product): Add completion.
19463 (sql-highlight-oracle-keywords, sql-highlight-postgres-keywords)
19464 (sql-highlight-linter-keywords, sql-highlight-ms-keywords)
19465 (sql-highlight-ansi-keywords, sql-highlight-sybase-keywords)
19466 (sql-highlight-informix-keywords, sql-highlight-interbase-keywords)
19467 (sql-highlight-ingres-keywords, sql-highlight-solid-keywords)
19468 (sql-highlight-mysql-keywords, sql-highlight-sqlite-keywords)
19469 (sql-highlight-db2-keywords): Remove.
19470 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
19471 (sql-highlight-product): Use derived-mode-p.
19472 (sql-set-sqli-buffer): Use with-current-buffer.
19473 (sql-connect-informix, sql-connect-ingres, sql-connect-oracle):
19476 * emacs-lisp/lisp-mode.el (lisp-indent-region): Remove unused function.
19478 * term.el: Fix commenting convention, turn comments into docstrings.
19480 2009-08-16 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
19482 * whitespace.el (whitespace-style): Doc fix (Bug#3661).
19484 2009-08-16 Jan Seeger <jan.seeger@thenybble.de> (tiny change)
19486 * calendar/parse-time.el (parse-time-string-chars): Compute using
19487 character classes, to handle non-ascii characters (Bug#3190).
19489 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
19491 * progmodes/sh-script.el (sh-maybe-here-document): Avoid inserting
19492 another heredoc if the user adds another < (Bug#3226).
19494 * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
19495 Don't initialize based on window-system (Bug#4124).
19497 * facemenu.el (facemenu-read-color): Use a completion function
19498 that accepts any defined color, such as RGB triplets (Bug#3677).
19500 * files.el (get-free-disk-space): Change fallback default
19501 directory to /. Expand DIR argument before switching to fallback.
19502 Suggested by Kevin Ryde (Bug#2631, Bug#3911).
19504 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
19506 * files.el (load-library): Doc fix.
19508 2009-08-15 Michael Kifer <kifer@cs.stonybrook.edu>
19510 * emulation/viper-cmd.el (viper-insert-isearch-string): New function.
19511 (viper-if-string): Redefine C-s in the minibuffer to insert the last
19512 incremental search string.
19514 * ediff-init.el (ediff-coding-system): Use escape-quoted in case of
19517 * ediff-merg.el (ediff-merge-region-is-non-clash-to-skip)
19518 (ediff-merge-region-is-non-clash)
19519 (ediff-skip-merge-region-if-changed-from-default-p): Use defun.
19520 Also check if the job is really a merge job.
19522 * ediff.el (ediff-current-file): New function.
19524 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
19526 * progmodes/js.el: Edit docstrings throughout to follow Emacs
19528 (js-insert-and-indent): Delete function.
19529 (js-mode-map): Don't bind keys to js-insert-and-indent.
19530 (js-beginning-of-defun): Rename from js--beginning-of-defun.
19531 (js-end-of-defun): Rename from js--end-of-defun.
19532 (js-auto-indent-flag): Delete variable.
19534 2009-08-14 Chong Yidong <cyd@stupidchicken.com>
19536 * progmodes/js.el: Remove proclaim statement.
19537 Defvar which-func-imenu-joiner-function to silence compiler.
19539 * files.el (auto-mode-alist): Use js-mode for .js files.
19541 * progmodes/js2-mode.el: Remove file.
19543 * Makefile.in (ELCFILES): Add js.el, and remove js2-mode.el.
19545 * speedbar.el (speedbar-supported-extension-expressions): Add .js.
19547 * progmodes/hideshow.el (hs-special-modes-alist): Add js-mode entry.
19549 2009-08-14 Daniel Colascione <dan.colascione@gmail.com>
19550 Karl Landstrom <karl.landstrom@brgeight.se>
19552 * progmodes/js.el: New file.
19554 2009-08-14 Mark A. Hershberger <mah@everybody.org>
19556 * timezone.el (timezone-parse-date): Add ability to understand ISO
19557 basic format (minimal separators) dates in addition to the
19558 already-supported extended format dates.
19560 2009-08-14 Eli Zaretskii <eliz@gnu.org>
19562 * international/ucs-normalize.el: Add a `coding' file variable.
19564 * Makefile.in (ELCFILES): Add international/ucs-normalize.elc.
19566 2009-08-14 Sam Steingold <sds@gnu.org>
19568 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
19570 2009-08-13 Chong Yidong <cyd@stupidchicken.com>
19572 * faces.el (help-argument-name): Define it here instead of
19573 help-fns.el, because in daemon mode help-fns.el may be loaded when
19574 faces are still uninitialized (Bug#1078).
19576 * help-fns.el (help-argument-name): Move defface to faces.el.
19578 2009-08-13 Nick Roberts <nickrob@snap.net.nz>
19580 * progmodes/gdb-mi.el (gdb-inferior-io-mode): Use start-process to
19581 create buffer with a pty but no process so that GDB can make the
19582 inferior the controlling process.
19584 2009-08-13 Taichi Kawabata <kawabata.taichi@gmail.com>
19586 * international/ucs-normalize.el: New file.
19588 2009-08-13 Richard Stallman <rms@gnu.org>
19590 * mail/rmail.el (rmail-get-attr-names):
19591 Accept an attribute header that is too short.
19593 * mail/rmail.el (rmail-forget-messages):
19594 Ignore nil elt in rmail-message-vector. Use dotimes.
19596 * progmodes/compile.el (compilation-goto-locus):
19597 Use next-error-move-function.
19599 * simple.el (next-error-move-function): New variable.
19601 2009-08-12 Juri Linkov <juri@jurta.org>
19603 * progmodes/grep.el (lgrep): Ensure that `default-directory' is
19604 always non-nil. (Bug#4052)
19606 * replace.el (read-regexp): Return empty string when
19607 `default-value' is nil.
19608 (keep-lines-read-args): Don't use empty string as the
19609 default value for `read-regexp'. (Bug#2495)
19611 2009-08-12 Juri Linkov <juri@jurta.org>
19613 * international/mule-cmds.el (ucs-insert): Change arguments
19614 from `arg' to `character', `count', `inherit' to be the same
19615 as in `insert-char'. Doc fix. (Bug#4039)
19617 * international/mule-conf.el (utf-16be-with-signature): Doc fix.
19619 2009-08-12 Juri Linkov <juri@jurta.org>
19621 * files-x.el: New file.
19623 * files.el: Move code that deals with adding/deleting
19624 file/directory-local variables to files-x.el.
19626 * Makefile.in (ELCFILES): Add files-x.elc.
19628 2009-08-11 Dmitry Dzhus <dima@sphinx.net.ru>
19630 * progmodes/gdb-mi.el (gdb-line-posns): New helper which helps not
19631 to use `goto-line'.
19632 (gdb-place-breakpoints, gdb-get-location): Rewritten without
19634 (gdb-invalidate-disassembly): Do not refresh upon receiving
19635 'update signal. Instead, update all disassembly buffers only after
19637 (gdb): Send -target-detach when buffer is killed (Bug#3794).
19638 (gdb-starting): Move -data-list-register-names...
19639 (gdb-stopped): ...here so it's sent when first thread stops.
19640 (gdb-registers-handler-custom): Do nothing if register names are
19643 * progmodes/gud.el (gud-stop-subjob): Rewritten without macros
19644 from `gdb-mi.el' to avoid extra tangling.
19646 * progmodes/gdb-mi.el (gdb-gud-context-call): Reverting previous
19647 change which breaks `gud-def' definitions used in `gdb'.
19648 (gdb-update-gud-running): No extra fuss for updating frame number.
19650 2009-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
19652 * international/mule-cmds.el (mule-keymap, mule-menu-keymap)
19653 (describe-language-environment-map, setup-language-environment-map)
19654 (set-coding-system-map): Move initialization into declaration.
19655 (set-language-info-alist): Last arg to define-key-after can be skipped.
19657 * international/quail.el (quail-completion-1): Simplify.
19658 (quail-define-rules): Use slightly more compact code.
19659 (quail-insert-decode-map): Propertize keys, compact columns.
19661 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
19664 2009-08-10 Miles Bader <miles@gnu.org>
19666 * progmodes/js2-mode.el (js2-warning, js2-error, js2-jsdoc-tag)
19667 (js2-jsdoc-type, js2-jsdoc-value, js2-function-param)
19668 (js2-instance-member, js2-private-member, js2-private-function-call)
19669 (js2-jsdoc-html-tag-name, js2-jsdoc-html-tag-delimiter)
19670 (js2-magic-paren, js2-external-variable):
19671 Remove "-face" suffix from face names.
19672 (js2-jsdoc-highlight-helper, js2-highlight-jsdoc)
19673 (js2-highlight-undeclared-vars, js2-peek-token)
19674 (js2-parse-function-params, js2-mode-show-errors)
19675 (js2-mode-show-warnings, js2-make-magic-delimiter)
19676 (js2-mode-highlight-magic-parens): Update to use new face names.
19678 2009-08-09 Michael Albinus <michael.albinus@gmx.de>
19680 * net/tramp.el (tramp-get-ls-command-with-dired): New defun.
19681 (tramp-handle-insert-directory): Handle "--dired". (Bug#4075)
19683 2009-08-09 Chong Yidong <cyd@stupidchicken.com>
19685 * subr.el: Provide hashtable-print-readable.
19687 * progmodes/hideshow.el (hs-special-modes-alist): Don't use
19688 hs-c-like-adjust-block-beginning.
19689 (hs-hide-block-at-point): Stop hiding at the beginning of
19690 hs-block-end-regexp (Bug#700).
19692 2009-08-09 Dmitry Dzhus <dima@sphinx.net.ru>
19694 * progmodes/gdb-mi.el (gdb-gud-context-call): Does not need to be
19696 (gdb-registers-handler-custom): Do not fail when register names
19699 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
19701 * progmodes/gdb-mi.el (gdb-control-all-threads)
19702 (gdb-control-current-thread): Interactive setters for
19703 `gdb-gud-control-all-threads' to use in menu.
19704 (gdb-show-run-p): Show «Go» when process is not active.
19705 (gud-tool-bar-map): Add non-stop/A,T indicator.
19706 Uses gud/thread.xpm and gud/all.xpm.
19708 2009-08-08 Yoni Rabkin <yoni@rabkins.net>
19710 * net/net-utils.el (net-utils-font-lock-keywords): New var.
19711 (nslookup-font-lock-keywords): Make it a variable.
19712 (net-utils-mode): New mode for viewing diagnostic network output.
19713 (net-utils-remove-ctrl-m-filter): Set inhibit-read-only.
19714 (net-utils-run-simple): New function.
19715 (ifconfig, iwconfig, netstat, arp, route): Use it.
19717 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
19719 * progmodes/gdb-mi.el (gdb-read-memory-custom)
19720 (gdb-memory-set-address, def-gdb-set-positive-number)
19721 (def-gdb-memory-format, def-gdb-memory-unit): Update memory buffer
19722 after changing settings.
19723 (gdb-invalidate-disassembly): Update when first shown.
19724 (gdb-edit-locals-value): Fixed.
19725 (gdb-registers-handler-custom): Print registers in right order and
19726 allow changing register values (only for current thread yet).
19727 (gdb-breakpoints-mode-map): Don't assume threads buffer is present.
19728 (gdb-threads-mode-map): Don't assume breakpoints buffer is present.
19729 (gdb-disassembly-handler-custom, gdb-stack-list-frames-custom)
19730 (gdb-locals-handler-custom, gdb-registers-handler-custom):
19731 Thread info in mode name.
19732 (gdb-registers-mode-map): TAB to switch to locals.
19734 2009-08-08 Eli Zaretskii <eliz@gnu.org>
19736 * mail/rmail.el (rmail-add-mbox-headers)
19737 (rmail-set-message-counters-counter): Search for
19738 rmail-unix-mail-delimiter instead of just "From ". (Bug#4076)
19740 2009-08-08 Glenn Morris <rgm@gnu.org>
19742 * Makefile.in (ELCFILES): Update.
19744 2009-08-07 Eli Zaretskii <eliz@gnu.org>
19746 * mail/sendmail.el (mail-yank-original):
19747 Set buffer-file-coding-system from the one used by the message whose
19750 * calc/calc-graph.el (calc-graph-plot): Set calc-graph-last-device
19751 to "windows" when "pgnuplot" is used.
19752 (calc-graph-command, calc-gnuplot-command, calc-graph-init):
19753 Don't call accept-process-output if "pgnuplot" is used.
19754 (calc-graph-init): Don't send -display and -geometry to
19755 "pgnuplot". If "pgnuplot" is used, glean gnuplot version by
19756 running "pgnuplot -V" with shell-command-to-string.
19758 * calc/calc.el (calc-gnuplot-name) [windows-nt]: Use "pgnuplot" as
19761 2009-08-07 Eli Zaretskii <eliz@gnu.org>
19763 * Makefile.in (ELCFILES): org/org-export-latex.elc renamed to
19766 2009-08-07 Dan Nicolaescu <dann@ics.uci.edu>
19768 * vc-dispatcher.el (vc-resynch-window): Update comment.
19770 * term.el (term-handle-ansi-escape): Add comments with the
19771 terminfo capabilities implemented.
19773 2009-08-06 Dmitry Dzhus <dima@sphinx.net.ru>
19775 * progmodes/gdb-mi.el (gdb-var-create-regexp): Removed.
19776 (gdb-var-create-handler): Rewritten using JSON parser.
19777 (gdb-propertize-header): Move earlier.
19778 (gdb-set-header): Remove to avoid duplication.
19779 (gdb-thread-list-handler-custom, gdb-invalidate-disassembly):
19780 Refresh disassembly buffers only after threads list have been
19782 (gdb-threads-header, gdb-registers-header): Per-buffer header line
19785 2009-08-04 Juri Linkov <juri@jurta.org>
19787 * files.el: Commands to add/delete file/directory-local variables.
19788 (read-file-local-variable, read-file-local-variable-value)
19789 (read-file-local-variable-mode, modify-file-local-variable)
19790 (modify-file-local-variable-prop-line)
19791 (modify-dir-local-variable): New functions.
19792 (add-file-local-variable, delete-file-local-variable)
19793 (add-file-local-variable-prop-line, delete-file-local-variable-prop-line)
19794 (add-dir-local-variable, delete-dir-local-variable)
19795 (copy-file-locals-to-dir-locals, copy-dir-locals-to-file-locals)
19796 (copy-dir-locals-to-file-locals-prop-line): New commands.
19798 2009-08-04 Chong Yidong <cyd@stupidchicken.com>
19800 * abbrev.el (insert-abbrev-table-description): Prettify output.
19801 Suggested by Karl Chen.
19803 2009-08-04 Dmitry Dzhus <dima@sphinx.net.ru>
19805 * progmodes/gdb-mi.el (gdb-frame-number): Initialize with nil.
19806 (gdb-overlay-arrow-position): Rename to `gdb-disassembly-position'.
19807 (gdb-overlay-arrow-position, gdb-thread-position)
19808 (gdb-disassembly-position): Declare variables.
19809 (gdb-wait-for-pending): Function now.
19810 (gdb-add-subscriber, gdb-delete-subscriber, gdb-get-subscribers)
19811 (gdb-emit-signal, gdb-buf-publisher): Declare before first use so
19812 compilation goes smoothly.
19813 (gdb, gdb-non-stop, gdb-buffers): New customization groups.
19814 (gdb-non-stop-setting): New customization setting which replaces
19815 `gdb-non-stop' so changing it doesn't break active GDB session.
19816 (gdb-stack-buffer-locations, gdb-stack-buffer-addresses)
19817 (gdb-thread-buffer-verbose-names, gdb-thread-buffer-arguments)
19818 (gdb-thread-buffer-locations, gdb-thread-buffer-addresses)
19819 (gdb-show-threads-by-default): New customization options.
19820 (gdb-buffer-type, gdb-buffer-shows-main-thread-p): New helper
19822 (gdb-get-buffer-create): Send buffers update signal when they are
19824 (gdb-invalidate-locals, gdb-invalidate-registers)
19825 (gdb-invalidate-breakpoints)
19826 (gdb-invalidate-threads, gdb-invalidate-disassembly)
19827 (gdb-invalidate-memory): Accept update signal.
19828 (gdb-current-context-command): Use --frame option.
19829 (gdb-update-gud-running, gdb-running, gdb-setq-thread-number):
19830 Implement `gdb-frame-number' selection logic.
19831 (gdb-show-run-p, gdb-show-stop-p): Helper functions which decide
19832 whether to show GUD toolbar buttons.
19833 (gdb-thread-exited): Unselect current thread when it exits.
19834 (gdb-stopped): Typo fixed (now really runs `gdb-stopped-hooks').
19835 (gdb-mark-line): Routine which sets overlay arrow or inverses
19836 video on fringeless displays.
19837 (gdb-table, gdb-table-add-row, gdb-table-string): Structure used
19838 to build aligned columns of data in GDB buffers and set text
19839 properties line-by-line.
19840 (gdb-invalidate-breakpoints)
19841 (gdb-breakpoints-list-handler-custom)
19842 (gdb-thread-list-handler-custom, gdb-disassembly-handler-custom)
19843 (gdb-stack-list-frames-custom, gdb-locals-handler-custom)
19844 (gdb-registers-handler-custom): Align data columns.
19845 (gdb-locals-handler-custom): Now prints data like in variable
19847 (gdb-jump-to, gdb-file-button, gdb-insert-file-location-button):
19848 Remove confusing buttons.
19849 (gdb-invalidate-threads): Append --frame.
19850 (gdb-threads-mode-map, gdb-breakpoints-mode-map): TAB to switch
19851 between breakpoints/threads buffers.
19852 (gdb-set-window-buffer): Now can ignore dedicated windows.
19853 (gdb-propertize-header): Use `gdb-set-window-buffer'.
19854 (def-gdb-thread-buffer-simple-command): Numerous typos fixed.
19855 (def-gdb-thread-buffer-gud-command): Replaces
19856 `def-gdb-thread-buffer-gdb-command' and uses standard GUD commands
19857 for fine thread control.
19858 (gdb-preempt-existing-or-display-buffer): New function used to
19859 display bound buffers without breaking window layout.
19860 (gdb-frame-location): Replaces `gdb-insert-frame-location'.
19861 (gdb-select-frame): New version of `gdb-frames-select' which now
19862 sets `gdb-frame-number' so commands may use --frame option instead
19863 of inner debugger state.
19864 (gdb-frame-handler): Do not set `gdb-frame-number'.
19865 (gdb-threads-mode-map): Select threads with mouse.
19867 * progmodes/gud.el (gdb-gud-context-call): Declare function to
19868 avoid compilation warning.
19869 (gud-menu-map, gud-minor-mode-map): Use `gdb-show-run-p` and
19872 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create):
19873 Argument `key' renamed to `buffer-type'.
19874 (gdb-current-context-buffer-name): Do not add thread info to
19875 buffer name when no thread is selected.
19876 (gdbmi-record-list, gdb-shell): Try to handle GDB `shell'
19877 command (bug 3794).
19878 (gdb-thread-selected): Handle `=thread-selected' notification.
19879 (gdb-wait-for-pending): New macro to deal with congestion problems.
19880 (gdb-breakpoints-list-handler-custom): Don't fail on pending
19882 (gdb-invalidate-disassembly): Use 'fullname instead of 'file.
19883 This fixes problem similar to one described in bug 3947.
19884 (gud-menu-map): More menu items.
19885 (gdb-init-1): Reset `gdb-thread-number' to nil.
19887 * progmodes/gud.el (gud-stop-subjob, gud-menu-map): Respect GDB
19890 * progmodes/gdb-mi.el (gdb-thread-number): Initialize with nil.
19891 (gdb-current-context-command): Do not append --thread if
19892 `gdb-thread-number' is nil.
19893 (gdb-running-threads-count, gdb-stopped-threads-count):
19895 (gdb-non-stop, gdb-gud-control-all-threads, gdb-switch-reasons)
19896 (gdb-stopped-hooks, gdb-switch-when-another-stopped):
19897 New customization options.
19898 (gdb-gud-context-command, gdb-gud-context-call): New wrappers for
19900 (gdb): `gud-def' definitions changed to use `gdb-gud-context-call'.
19901 (gdb-init-1): Activate non-stop mode if `gdb-non-stop' is enabled.
19902 (gdb-setq-thread-number, gdb-update-gud-running): New functions to
19903 set `gdb-thread-number' and update `gud-running' properly.
19904 (gdb-running): Update threads list when new threads appear.
19905 (gdb-stopped): Support non-stop operation and new thread switching
19907 (gdb-jsonify-buffer, gdb-json-read-buffer, gdb-json-string)
19908 (gdb-json-partial-output): New set of JSON routines.
19909 (def-gdb-auto-update-trigger): New `signal-list' optional
19911 (gdb-thread-list-handler-custom): Update `gud-running',
19912 `gdb-stopped-threads-count' and `gdb-running-threads-count'.
19913 (def-gdb-thread-buffer-gdb-command, gdb-interrupt-thread)
19914 (gdb-continue-thread, gdb-step-thread): New commands for fine
19915 thread execution control.
19916 (gud-menu-map): New menu items to switch non-stop options.
19917 (gdb-reset): Cleanup `gdb-thread-position' overlay arrow marker.
19918 (gdb-send): Mimic RET properly (bug 3794).
19920 * progmodes/gdb-mi.el (gdb-rules-name-maker)
19921 (gdb-rules-buffer-mode, gdb-rules-update-trigger): Accessors for
19923 (def-gdb-auto-update-handler): New nopreserve optional argument.
19924 (gdb-stack-list-frames-custom): Print stack from top to bottom.
19926 * progmodes/gdb-mi.el (gdb-pc-address): Remove unused variable.
19927 (gdb-threads-list, gdb-breakpoints-list): New assoc lists.
19928 (gdb-parent-mode): New mode to derive other GDB modes from.
19929 (gdb-display-disassembly-for-thread)
19930 (gdb-frame-disassembly-for-thread): New commands for threads
19933 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create)
19934 (gdb-init-1, gdb-bind-function-to-buffer, gdb-add-subscriber)
19935 (gdb-get-subscribers, gdb-emit-signal, gdb-buf-publisher)
19936 (gdb-update): We now store all GDB buffers in a list so that they
19937 can be updated by traversing a list instead of calling invalidate
19938 triggers explicitly.
19939 (def-gdb-trigger-and-handler): New macro to define trigger-handler
19940 pair for GDB buffer.
19941 (gdb-stack-buffer-name): Add thread information.
19942 (gdb-add-pending, gdb-pending-p, gdb-delete-pending): Macros to
19943 handle pending triggers.
19944 (gdb-threads-mode-map, def-gdb-thread-buffer-command)
19945 (def-gdb-thread-buffer-simple-command)
19946 (gdb-display-stack-for-thread, gdb-display-locals-for-thread)
19947 (gdb-display-registers-for-thread, gdb-frame-stack-for-thread)
19948 (gdb-frame-locals-for-thread, gdb-frame-registers-for-thread):
19949 New commands which show buffers bound to thread.
19950 (gdb-stack-list-locals-regexp): Remove unused regexp.
19952 * progmodes/gdb-mi.el (gdb-breakpoints-buffer-name)
19953 (gdb-locals-buffer-name, gdb-registers-buffer-name)
19954 (gdb-memory-buffer-name, gdb-stack-buffer-name): Do not switch
19955 to (gud-comint-buffer) in *-buffer-name functions
19956 because (gdb-get-target-string) already does that.
19957 (gdb-locals-handler-custom, gdb-registers-handler-custom)
19958 (gdb-changed-registers-handler): Rewritten without regexps.
19960 * progmodes/gdb-mi.el: Basic thread selection support.
19961 (gdb-thread-number): New variable.
19962 (gdb-current-context-command): New macro which adds --thread
19964 (gdb-threads-mode-map): Select thread with SPC.
19965 (gdb-thread-list-handler-custom): Mark current thread with overlay
19966 arrow. Synchronize GDB thread and Emacs thread.
19967 (gdb-select-thread): New command which selects current thread.
19968 (gdb-invalidate-frames, gdb-invalidate-locals)
19969 (gdb-invalidate-registers): Use --thread option.
19971 2009-08-04 Michael Albinus <michael.albinus@gmx.de>
19973 * net/tramp.el (top): Make check for tramp-gvfs loading more
19975 (tramp-handle-insert-file-contents): `unwind-protect' must be
19976 inside `with-parsed-tramp-file-name'.
19978 * net/tramp-gvfs.el (top): Remove superfluous message when loading
19981 2009-08-03 Nick Roberts <nickrob@snap.net.nz>
19983 * progmodes/gud.el (jdb): Set gud-jdb-classpath-string to current
19984 directory if CLASSPATH is not set.
19986 2009-08-03 Michael Albinus <michael.albinus@gmx.de>
19988 * net/tramp.el (tramp-rfn-eshadow-update-overlay-regexp):
19990 (tramp-rfn-eshadow-update-overlay): Use it. (Bug#4004)
19992 2009-08-02 Kevin Ryde <user42@zip.com.au>
19994 * net/newst-backend.el (newsticker--raw-url-list-defaults):
19995 Update freshmeat link. Delete newsforge.com as it seems gone.
19997 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
19999 * select.el (x-set-selection): Doc fix (Bug#4021).
20001 * w32-fns.el (x-set-selection): Doc fix (Bug#4021).
20003 * help-fns.el (describe-variable): Treat list return values from
20004 dir-locals-find-file properly (Bug#4005).
20006 2009-08-02 Julian Scheid <julians37@googlemail.com> (tiny change)
20008 * net/tramp.el (tramp-debug-message): Print also microseconds.
20010 2009-08-02 Michael Albinus <michael.albinus@gmx.de>
20012 * net/tramp.el (tramp-handle-insert-file-contents): Optimize, when BEG
20014 (tramp-handle-vc-registered): Use `tramp-cache-inhibit-cache'.
20015 (tramp-get-debug-buffer): Change `outline-regexp' according to new
20018 * net/tramp-cache.el (tramp-cache-inhibit-cache): New defvar.
20019 (tramp-get-file-property): Use it.
20021 * autorevert.el (auto-revert-handler):
20022 Allow `auto-revert-tail-mode' for remote files.
20024 2009-08-02 Jason Rumney <jasonr@gnu.org>
20026 * minibuffer.el (read-file-name): Treat confirm options to
20027 MUSTMATCH as nil when invoking x-file-dialog. (Bug#3969)
20029 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
20031 * font-lock.el (font-lock-string-face, font-lock-builtin-face)
20032 (font-lock-variable-name-face, font-lock-constant-face):
20033 Darken the colors for light backgrounds.
20035 2009-08-01 Eli Zaretskii <eliz@gnu.org>
20037 * mail/rmailsum.el (rmail-header-summary): Ignore letter-case of
20038 month names. (Bug#3987)
20040 2009-07-31 Chong Yidong <cyd@stupidchicken.com>
20042 * simple.el (line-move-finish): Pass whole number to
20043 line-move-to-column.
20044 (line-move-visual): Perform hscroll to the recorded position.
20046 2009-07-30 Jay Belanger <jay.p.belanger@gmail.com>
20048 * calc/calc-mode.el (calc-matrix-brackets): Remove "P" from prompt.
20050 2009-07-29 Alan Mackenzie <acm@muc.de>
20052 * progmodes/cc-defs.el (c-version): Bump to 5.31.7.
20054 2009-07-29 Dmitry Dzhus <dima@sphinx.net.ru>
20056 * progmodes/gdb-mi.el (gdb-goto-breakpoint)
20057 (gdb-place-breakpoints): Use full path when setting breakpoints.
20059 2009-07-29 Jay Belanger <jay.p.belanger@gmail.com>
20061 * calc/calc.el (calc-mode-map): Add keybinding for
20062 `calc-transpose-lines'.
20064 2009-07-29 Vincent Belaïche <vincent.belaiche@gmail.com>
20066 * calc/calc-misc.el (calc-transpose-lines): New function.
20068 2009-07-28 Michael Albinus <michael.albinus@gmx.de>
20070 * net/tramp.el (tramp-do-copy-or-rename-file): Add messages.
20071 Simplify check for out-of-band methods.
20072 (tramp-do-copy-or-rename-file-out-of-band): Allow both files to be
20073 remote. Remove messages which are in `tramp-do-copy-or-rename-file'.
20075 2009-07-28 Dan Nicolaescu <dann@ics.uci.edu>
20077 * vc-git.el (vc-git-checkin): Fix typo.
20079 2009-07-28 Steve Yegge <steve.yegge@gmail.com>
20081 * progmodes/js2-mode.el: New file.
20083 2009-07-28 Nick Roberts <nickrob@snap.net.nz>
20085 * progmodes/gud.el (jdb): Add gud-pstar to dump object information.
20086 (gud-menu-map): Adjust tooltip accordingly.
20088 2009-07-27 Dan Nicolaescu <dann@ics.uci.edu>
20090 * vc-bzr.el (vc-bzr-print-log): Pass multiple arguments to bzr log.
20091 (vc-bzr-log-view-mode): Adjust log-view-file-re.
20093 * add-log.el (change-log-mode-map): Add a menu.
20095 2009-07-27 Michael Albinus <michael.albinus@gmx.de>
20097 * net/dbus.el (dbus-call-method-non-blocking): Handle the case the
20098 function returns nil.
20099 (dbus-handle-event): Handle special return value :ignore.
20100 Reported by Jan Moringen <jan.moringen@uni-bielefeld.de>.
20102 2009-07-26 Chong Yidong <cyd@stupidchicken.com>
20104 * view.el (view-mode-enable): Don't define Helper-return-blurb if
20107 2009-07-25 Eli Zaretskii <eliz@gnu.org>
20111 * w32-vars.el (x-select-enable-clipboard): Doc fix.
20113 * term/pc-win.el (x-display-name, x-colors)
20114 (x-select-enable-clipboard, x-select-text): Doc fix.
20116 * term/common-win.el (x-display-name, x-colors): Doc fix.
20118 * term/ns-win.el (x-select-text, x-setup-function-keys, x-colors)
20119 (xw-defined-colors): Doc fix.
20121 * w32-fns.el (x-select-text, x-setup-function-keys)
20122 (x-get-selection, x-set-selection): Doc fix.
20124 * term/x-win.el (x-select-text, x-setup-function-keys)
20125 (x-select-enable-clipboard, xw-defined-colors): Doc fix.
20127 * select.el (x-set-selection): Doc fix.
20129 2009-07-25 Michael Albinus <michael.albinus@gmx.de>
20131 * net/zeroconf.el (zeroconf-init): Check for "GetVersionString"
20132 instead of "IsNSSSupportAvailable". Avahi ought to work also when
20133 "IsNSSSupportAvailable" method is not available.
20134 Reported by Steve Youngs <steve@sxemacs.org>.
20136 2009-07-24 Kenichi Handa <handa@m17n.org>
20138 * international/characters.el: Fix setting of category ?C, ?|, ?K,
20139 and ?H. Fix setting of case for Latin Extended and Greek Extended.
20140 (build-unicode-category-table): Fix range checks.
20142 2009-07-24 Dan Nicolaescu <dann@ics.uci.edu>
20144 * vc-dispatcher.el (vc-resynch-buffers-in-directory): Make sure
20145 the buffer we try to sync is current when calling
20148 * vc-dir.el (vc-dir-resynch-file): Make sure vc-dir-update does
20149 not show up to date files.
20151 2009-07-24 Glenn Morris <rgm@gnu.org>
20153 * emacs-lisp/elint.el (elint-current-buffer, elint-defun):
20154 Add autoload cookies. If necessary, initialize.
20155 (elint-log): Handle non-file buffers.
20156 (elint-initialize): Add optional argument to reinitialize.
20157 (elint-find-builtin-variables): Save excursion.
20159 2009-07-23 Dan Nicolaescu <dann@ics.uci.edu>
20161 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
20164 2009-07-22 Dan Nicolaescu <dann@ics.uci.edu>
20166 * vc.el (vc-print-log-internal): New function, split out from ...
20167 (vc-print-log): ... here.
20168 (vc-dir-move-to-goal-column): Declare.
20170 * vc-git.el (vc-git-add-signoff): New variable.
20171 (vc-git-checkin): Use it.
20172 (vc-git-toggle-signoff): New function.
20173 (vc-git-extra-menu-map): Bind it to menu.
20174 (vc-git--run-command-string): Accept a nil FILE argument.
20175 (vc-git-stash-list): New function.
20176 (vc-git-dir-extra-headers): Use it.
20178 2009-07-23 Glenn Morris <rgm@gnu.org>
20180 * help-fns.el (describe-variable): Describe ignored and risky local
20181 variables in a similar way to that in which we describe safe ones.
20183 * emacs-lisp/bytecomp.el (byte-compile-from-buffer)
20184 (byte-compile-output-file-form, byte-compile-output-docform)
20185 (byte-compile-file-form-defmumble, byte-compile-output-as-comment):
20186 Give some more local variables with common names a "bytecomp-" prefix,
20187 so as not to shadow things during compilation.
20188 * emacs-lisp/cl-macs.el (load-time-value)
20189 * emacs-lisp/cl.el (cl-compiling-file): Update for the name-change
20190 `outbuffer' to `bytecomp-outbuffer'.
20192 * emacs-lisp/elint.el (elint-standard-variables): Remove most members,
20193 since the next two variables cover them automatically now.
20194 (elint-builtin-variables, elint-autoloaded-variables): New.
20195 (elint-unknown-builtin-args): Remove all members, since they can be
20196 parsed automatically now.
20197 (elint-extra-errors): New.
20198 (elint-env-add-env, elint-env-add-macro): Use cadr.
20199 (elint-current-buffer): Use or. Change final message.
20200 (elint-get-top-forms): Use line-end-position.
20201 (elint-init-env): Use cadr. Handle autoload, declare-function,
20203 (elint-add-required-env): Doc fix. Use or. Standardize error.
20204 (regexp-assoc): Remove unused function.
20205 (elint-top-form): Set elint-current-pos, to record the start of the
20206 top-level form, for compilation-mode.
20207 (elint-form): Trap errors in macro expansion. Use dolist.
20208 (elint-unbound-variable): Use elint-builtin-variables and
20209 elint-autoloaded-variables.
20210 (elint-get-args): Use cadr, or.
20211 (elint-check-cond-form): Use dolist, cadr.
20212 (elint-check-condition-case-form): Doc fix. Use cadr.
20213 Use elint-extra-errors.
20214 (elint-log): New function.
20215 (elint-error, elint-warning): Use elint-log for a bytecomp-style format.
20216 Distinguish errors and warnings.
20217 (elint-log-message): Use with-current-buffer. Inhibit read-only.
20218 Use a bytecomp-style format.
20219 (elint-clear-log): Preserve default-directory. Inhibit read-only.
20220 (elint-get-log-buffer): Use compilation mode. Disable undo.
20221 Don't truncate lines.
20222 (elint-initialize): Set builtin and autoloaded variable lists.
20223 Only process elint-unknown-builtin-args if non-nil.
20224 (elint-find-builtin-variables, elint-find-autoloaded-variables):
20226 (elint-find-builtin-args): Doc fix. Handle "BODY...)".
20228 2009-07-22 Kevin Ryde <user42@zip.com.au>
20230 * net/newst-backend.el (newsticker--parse-atom-1.0)
20231 (newsticker--parse-rss-0.91, newsticker--parse-rss-0.92)
20232 (newsticker--parse-rss-1.0):
20233 * progmodes/idlwave.el (idlwave-mode):
20234 * progmodes/idlw-shell.el (idlwave-shell-mode):
20235 * progmodes/vera-mode.el (vera-mode):
20236 * progmodes/verilog-mode.el (verilog-auto-inst, verilog-auto):
20237 * progmodes/vhdl-mode.el (vhdl-mode):
20238 * textmodes/table.el (table-generate-source)
20239 (table--warn-incompatibility):
20240 Hyperlink urls in docstrings with URL `...'.
20242 2009-07-22 Glenn Morris <rgm@gnu.org>
20244 * emacs-lisp/advice.el, emacs-lisp/checkdoc.el:
20245 * emacs-lisp/debug.el, emacs-lisp/elp.el, emacs-lisp/gulp.el:
20246 * emacs-lisp/lisp.el, emacs-lisp/pp.el, emacs-lisp/trace.el:
20247 Remove leading * from defcustom docs.
20249 * simple.el (blink-matching-paren-distance): Bump to 100k. (Bug#3889)
20251 * emacs-lisp/shadow.el (shadows-compare-text-p): Remove leading * from
20253 (list-load-path-shadows): Optionally, just return shadows as a string.
20255 * mail/emacsbug.el (report-emacs-bug): Include any load-path shadows.
20257 2009-07-21 Chong Yidong <cyd@stupidchicken.com>
20259 * mail/rmailedit.el (rmail-edit-mode):
20260 Use auto-save-include-big-deletions.
20262 * mail/rmail.el (rmail-variables):
20263 Use auto-save-include-big-deletions.
20265 * files.el (auto-save-mode): Revert 2009-07-21 and 2009-07-16
20268 2009-07-21 Jay Belanger <jay.p.belanger@gmail.com>
20270 * calc/calc.el (calc-undo-length): New variable.
20271 (calc-quit): Truncate rather than eliminate `calc-undo-list'.
20273 2009-07-21 Richard Stallman <rms@gnu.org>
20275 * files.el (auto-save-mode): Handle buffer-save-size = -2
20278 2009-07-21 Glenn Morris <rgm@gnu.org>
20280 * textmodes/ispell.el (ispell-looking-back): Update declaration.
20282 * calendar/todo-mode.el (calendar-current-date): Update declaration.
20284 * ps-print.el (ps-jitify, ps-lazify): Remove aliases only used to
20285 silence compiler. Instead...
20286 (jit-lock-fontify-now, lazy-lock-fontify-region): ...Declare.
20287 (ps-print-ensure-fontified): Update for above function name changes.
20289 * printing.el (pr-mh-get-msg-num, pr-mh-show)
20290 (pr-mh-start-of-uncleaned-message): Remove aliases only used to
20291 silence compiler. Instead...
20292 (mh-get-msg-num, mh-show, mh-start-of-uncleaned-message): ...Declare.
20293 (mh-show-buffer): Only define for compiler.
20294 (pr-mh-current-message): Update for above function name changes.
20296 * files.el (abort-if-file-too-large): Explicitly pass `filename'
20298 (find-file-noselect, insert-file-1): Update for above change.
20300 * mail/rmail.el (rmail-retry-ignored-headers): Bump :version.
20302 * mail/mailclient.el (mailclient-send-it): Fix message.
20304 * emacs-lisp/edebug.el (cl-debug-env): Only define for compiler.
20305 (edebug-eval): Check cl-debug-env is bound.
20306 (print-level, print-circle): Don't redefine built-in variables.
20308 * emacs-lisp/cust-print.el: Remove leading * from defcustom docs.
20309 (custom-print-vectors): Remove old comments from doc.
20311 * emerge.el (menu-bar-emerge-menu): Remove unused variable.
20312 (emerge-version): Make the variable an obsolete alias for the
20313 emacs-version variable. Make the function obsolete.
20314 (emerge-fast-keymap, emerge-edit-keymap): Make a separate menu for
20315 Emerge options, rather than merging in into the main Options menu.
20316 (emerge-options-menu): Adjust menu text. Use buttons for skip prefers
20317 and auto advance modes. Disable edit/fast items when not relevant.
20319 2009-07-20 Dan Nicolaescu <dann@ics.uci.edu>
20321 * term/vt420.el (terminal-init-vt420): Fix typo.
20323 2009-07-20 Sam Steingold <sds@gnu.org>
20325 * progmodes/ada-mode.el (compile-auto-highlight): Remove the
20326 variable (removed from compile.el on 2004-03-11).
20328 2009-07-20 Chong Yidong <cyd@stupidchicken.com>
20330 * files.el (hack-local-variables-filter): Fix last change.
20332 2009-07-19 Juri Linkov <juri@jurta.org>
20334 * files.el (ignored-local-variables): Add `dir-local-variables-alist'.
20335 (dir-local-variables-alist): New buffer-local variable.
20336 (hack-local-variables-filter): If variable is not dir-local,
20337 i.e. `dir-name' is nil, then remove it from `dir-local-variables-alist',
20338 because file-local overrides dir-local.
20339 (c-postprocess-file-styles) <declare-function>:
20340 Remove obsolete declaration.
20341 (hack-dir-local-variables): Add dir-local variable/value pair to
20342 `dir-local-variables-alist' and remove duplicates. Doc fix.
20344 * help-fns.el (describe-variable): Add information about
20345 file-local and dir-local variables.
20347 2009-07-19 Chong Yidong <cyd@stupidchicken.com>
20349 * files.el (hack-local-variables-filter): Rewrite.
20351 2009-07-19 Glenn Morris <rgm@gnu.org>
20353 * progmodes/verilog-mode.el (verilog-error-regexp-add-xemacs):
20354 Silence compiler by only defining on XEmacs.
20356 * international/mule.el (auto-coding-regexp-alist): Only match
20357 BABYL... at the start of buffer, not of lines. (Bug#3790)
20359 * calendar/cal-menu.el (cal-menu-set-date-title): Handle calls from
20360 non-calendar buffers (Bug#3862). Restore "not on a date" message.
20361 (cal-menu-context-mouse-menu): Doc fix.
20363 * desktop.el (desktop-buffers-not-to-save): Set :version tag.
20365 * simple.el (mail-user-agent): Doc fix. Set :version tag.
20367 2009-07-18 Juri Linkov <juri@jurta.org>
20369 * info.el: Virtual Info keyword finder.
20370 (add-to-list) <Info-virtual-files>: Add "\\`\\*Finder.*\\*\\'".
20371 (Info-finder-file): New variable.
20372 (Info-finder-find-file): New function.
20373 (finder-known-keywords, finder-package-info)
20374 (find-library-name, lm-commentary): Use defvar and
20375 declare-function to silence compiler warnings.
20376 (Info-finder-find-node): New function.
20377 (info-finder): New command.
20379 * subr.el (process-kill-buffer-query-function): New function.
20380 (add-hook)<kill-buffer-query-functions>: Add hook
20381 `process-kill-buffer-query-function'.
20383 2009-07-18 Alan Mackenzie <acm@muc.de>
20385 * progmodes/cc-mode.el (c-before-hack-hook)
20386 (c-postprocess-file-styles): Give invocation of `c-set-style'
20387 DONT-OVERRIDE parameter of t. Already set style variables will
20388 thus not be overridden by style settings given by `c-file-syle'.
20390 * files.el (hack-local-variables-filter): Remove entries with
20391 duplicate keys from `file-local-variables-alist'.
20393 2009-07-18 Eli Zaretskii <eliz@gnu.org>
20395 * simple.el (deactivate-mark, activate-mark, set-mark): Don't call
20396 x-set-selection if display-selections-p returns nil for the
20399 2009-07-18 Chong Yidong <cyd@stupidchicken.com>
20401 * simple.el (region-active-p, use-region-p): Doc fix (Bug#3873).
20403 2009-07-18 Eli Zaretskii <eliz@gnu.org>
20405 * desktop.el (desktop-buffers-not-to-save): Default value is nil.
20406 Accept nil in addition to a regexp.
20407 (desktop-files-not-to-save): Add "(ftp)$" to the default regexp.
20408 Accept nil in addition to a regexp.
20409 (desktop-save-buffer-p): Don't use desktop-buffers-not-to-save for
20410 buffers that have an associated file. Handle nil values of
20411 desktop-buffers-not-to-save and desktop-files-not-to-save.
20414 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
20415 (x-disown-selection-internal): New functions.
20417 2009-07-18 Nick Roberts <nickrob@snap.net.nz>
20419 * progmodes/gdb-mi.el (speedbar-frame): Declare to avoid compiler
20421 (gdb-breakpoints-header): Move forward to avoid compiler warning.
20422 (gdb-make-header-line-mouse-map): Remove duplicate definition.
20424 2009-07-18 David De La Harpe Golden <david@harpegolden.net>
20426 * simple.el (set-mark): Revert last change.
20428 2009-07-17 Tassilo Horn <tassilo@member.fsf.org>
20430 * doc-view.el (doc-view-initiate-display): Add yes-or-no-p if
20431 rendering of pngs is not possible instead of messaging a long
20434 2009-07-17 David De La Harpe Golden <david@harpegolden.net>
20436 * w32-fns.el (x-selection-owner-p): New function.
20438 * mouse.el (mouse-drag-track): Call deactivate-mark earlier.
20439 (mouse-yank-at-click, mouse-yank-primary):
20440 If select-active-regions is non-nil, deactivate the mark before
20443 * simple.el (deactivate-mark, set-mark): Only save selection if we
20446 2009-07-17 Kenichi Handa <handa@m17n.org>
20448 * case-table.el (describe-buffer-case-table): Fix for the case
20449 that KEY is a cons.
20451 2009-07-16 Dan Nicolaescu <dann@ics.uci.edu>
20453 * vc-rcs.el (vc-rcs-find-file-hook):
20454 * vc-sccs.el (vc-sccs-find-file-hook): Fix cut and paste error.
20456 2009-07-16 Michael Albinus <michael.albinus@gmx.de>
20458 * net/tramp.el (tramp-wait-for-output): Handle the case when
20459 commands do not return a newline but a null byte before the shell
20462 2009-07-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
20464 * term/ns-win.el (ns-set-alpha): Don't declare.
20465 (ns-set-background-alpha): Remove function.
20467 2009-07-16 Kevin Ryde <user42@zip.com.au>
20469 * emacs-lisp/copyright.el (copyright-update): Save match-data across
20470 y-or-n-p, for safety.
20472 2009-07-16 Richard Stallman <rms@gnu.org>
20474 * files.el (auto-save-mode): If buffer-saved-size is -2,
20477 * mail/rmail.el (rmail-variables): Set buffer-saved-size to -2.
20478 (rmail-retry-ignored-headers): Add more uninteresting fields.
20480 2009-07-15 Jari Aalto <jari.aalto@cante.net>
20482 * net/rcirc.el (rcirc): Use history variables.
20483 (rcirc-server-name-history, rcirc-nick-name-history)
20484 (rcirc-server-port-history): New variables.
20486 2009-07-15 Kenichi Handa <handa@m17n.org>
20488 * international/mule-cmds.el (set-language-environment-charset):
20489 If coding-system-charset-list returns `iso-2022' or `emacs-mule',
20492 * language/misc-lang.el ("IPA"): Change coding systems to utf-8.
20493 Delete unibyte-display.
20495 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
20497 * simple.el (kill-visual-line): Obey kill-whole-line (Bug#3695).
20499 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
20501 * simple.el (deactivate-mark): Optional argument FORCE.
20502 (set-mark): Use deactivate-mark.
20504 * info.el (Info-search): No need to check transient-mark-mode
20505 before calling deactivate-mark.
20507 * select.el (x-set-selection): Doc fix.
20508 (x-valid-simple-selection-p): Allow buffer values.
20509 (xselect--selection-bounds): Handle buffer values.
20510 Suggested by David De La Harpe Golden.
20512 * mouse.el (mouse-set-region, mouse-drag-track):
20513 Call copy-region-as-kill before setting the mark, to let
20514 select-active-regions work.
20516 2009-07-15 David De La Harpe Golden <david@harpegolden.net>
20518 * simple.el (deactivate-mark): If select-active-regions is
20519 non-nil, copy the selection data into a string.
20520 (activate-mark): If select-active-regions is non-nil, set the
20521 selection to the current buffer.
20522 (set-mark): Update selection if select-active-regions is non-nil.
20524 * select.el (x-valid-simple-selection-p): Allow buffer values.
20526 2009-07-14 Stefan Monnier <monnier@iro.umontreal.ca>
20528 * simple.el (mail-user-agent): Default to the upwardly-UI-compatible
20529 and more featureful message-mode.
20531 2009-07-14 Chong Yidong <cyd@stupidchicken.com>
20533 * select.el (x-set-selection): Doc fix.
20534 (x-valid-simple-selection-p): Disallow selection data consisting
20535 of a list or cons of integers, since that is not used.
20536 (xselect--selection-bounds, xselect--int-to-cons): New functions.
20537 (xselect-convert-to-string, xselect-convert-to-length)
20538 (xselect-convert-to-filename, xselect-convert-to-charpos)
20539 (xselect-convert-to-lineno, xselect-convert-to-colno): Use them.
20541 2009-07-14 Dmitry Dzhus <dima@sphinx.net.ru>
20543 * progmodes/gdb-mi.el (json-partial-output): Fix broken GDB/MI
20544 output in -break-info command (Emacs bug #3794).
20546 2009-07-14 Glenn Morris <rgm@gnu.org>
20548 * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-forms)
20549 (edebug-eval-macro-args, edebug-save-displayed-buffer-points)
20550 (edebug-print-length, edebug-print-level, edebug-print-circle)
20551 (edebug-sit-for-seconds, edebug-view-outside)
20552 (edebug-bounce-point, edebug-set-global-break-condition)
20553 (edebug-Go-nonstop-mode, edebug-trace-mode)
20554 (edebug-Trace-fast-mode, edebug-continue-mode)
20555 (edebug-Continue-fast-mode, edebug-forward-sexp, edebug-help)
20556 (edebug-visit-eval-list): Doc fixes.
20558 * subr.el (def-edebug-spec): Doc fix.
20560 2009-07-14 Kenichi Handa <handa@m17n.org>
20562 * international/characters.el: Fix setting of category ?C.
20564 2009-07-13 Jan Djärv <jan.h.d@swipnet.se>
20566 * term/ns-win.el (x-select-font): defalias x-select-font to
20567 ns-popup-font-panel instead of generate-fontset-menu.
20569 2009-07-12 Eli Zaretskii <eliz@gnu.org>
20571 * desktop.el (desktop-buffers-not-to-save): Remove ".log". (Bug#3833)
20573 2009-07-12 Peter Jolly <peter@jollys.org> (tiny change)
20575 * arc-mode.el (archive-find-type): Allow for a PK00 string before
20576 the PK\003\004 header (Bug#3770).
20578 2009-07-12 Guanpeng Xu <herberteuler@hotmail.com>
20580 * pcomplete.el (pcomplete-comint-setup): Check for
20581 shell-dynamic-complete-filename too.
20583 2009-07-11 Chong Yidong <cyd@stupidchicken.com>
20585 * simple.el (temporary-goal-column): Change the value for
20586 line-move-visual to a cons cell.
20587 (line-move-visual): Record or set the window hscroll, if
20588 necessary (Bug#3494).
20589 (line-move-1): Handle cons value of temporary-goal-column.
20591 2009-07-11 Kenichi Handa <handa@m17n.org>
20593 * international/mule-diag.el (describe-character-set): Don't show
20596 2009-07-10 Sam Steingold <sds@gnu.org>
20598 * progmodes/compile.el (compilation-mode-font-lock-keywords):
20599 Omake sometimes indents the errors it prints, so allow all
20600 regexps to start with spaces.
20602 2009-07-10 Eli Zaretskii <eliz@gnu.org>
20604 * cus-edit.el (customize-changed-options-previous-release):
20605 Bump value to 22.1. (Bug#3804)
20607 2009-07-08 Sam Steingold <sds@gnu.org>
20609 * progmodes/grep.el (rgrep): Allow grep-find-ignored-directories
20610 to be a cons cell (test . ignored-directory) to selectively ignore
20611 some directories depending on the location of the search.
20613 2009-07-08 Michael Albinus <michael.albinus@gmx.de>
20615 * net/tramp.el (tramp-set-file-uid-gid): Handle the case the
20616 remote user is root, on the local host.
20617 (tramp-local-host-p): Either the local user or the remote user
20618 must be root. (Bug#3771)
20620 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
20622 * progmodes/gdb-mi.el (gdb): Remove description of
20623 gdb-use-separate-io-buffer.
20624 (menu): Don't allow toggling of or enable
20625 gdb-use-separate-io-buffer from menubar.
20627 2009-07-08 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
20629 * mail/unrmail.el (unrmail): Make sure the message ends with two
20630 newlines (Bug#3769).
20632 2009-07-08 Glenn Morris <rgm@gnu.org>
20634 * calendar/calendar.el (calendar-current-date): Rework previous change.
20636 2009-07-08 Ed Reingold <reingold@emr.cs.iit.edu>
20638 * calendar/calendar.el (calendar-current-date):
20639 Add an optional argument giving an offset from today.
20641 2009-07-08 Glenn Morris <rgm@gnu.org>
20643 * tutorial.el (tutorial--describe-nonstandard-key):
20644 Adjust the message for when a key has been unbound.
20645 (help-with-tutorial): Hide the arch-tag.
20647 2009-07-08 Kenichi Handa <handa@m17n.org>
20649 * international/fontset.el (setup-default-fontset): For each
20650 script, append (not set) font-specs.
20652 * language/japanese.el (japanese-shift-jis-2004): Fix typo in the
20655 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
20657 * progmodes/gdb-mi.el (gdb-init-1): Move sending
20658 -data-list-register-names to ...
20659 (gdb-starting): ... here because GDB 7.0 requires execution to
20660 have started when using this MI command.
20661 (gdb-set-header): New function to distinguish select and
20662 unselected tabs in gdb buffers.
20663 (gdb-propertize-header): New macro that uses gdb-set-header.
20664 (gdb-breakpoints-header, gdb-locals-header): Use it.
20665 (gdb-disassembly-mode-map): Add keybinding to kill buffer.
20667 2009-07-07 Chong Yidong <cyd@stupidchicken.com>
20669 * Makefile.in (ELCFILES): Remove fadr.elc.
20671 2009-07-07 Dmitry Dzhus <dima@sphinx.net.ru>
20673 * progmodes/gdb-mi.el (gdb-init-1): Disassembly buffer mode name
20674 may contain frame information, so `string-match' should be used.
20675 (gdb-update): Disassembly is invalidated through
20676 `gdb-get-selected-frame'.
20677 (gdb-pad-string): New function to pad string with spaces.
20678 (gdb-invalidate-disassembly): Invalidate only if the buffer
20680 (gdb-disassembly-handler-custom): Column alignment.
20681 (gdb-disassembly-place-breakpoints): Clear old breakpoints before
20683 (gdb-toggle-breakpoint, gdb-delete-breakpoint): Now work from the
20685 (gdb-frame-handler): Match convention to for disassembly buffer
20687 (gdb-stack-list-frames-handler): Rewritten without regexps.
20688 (gdb-breakpoints-list-handler-custom): y/n instead of on/off; do
20689 not highlight breakpoints without line information.
20690 (gdb-input): Add trailing newline to command.
20692 * progmodes/gdb-mi.el (gdb-init-1): Set mode name for disassembly
20694 (gdb-breakpoints-list-handler-custom): Replacement for
20695 `gdb-break-list-handler'. Using real parser instead of regexps
20697 (gdb-place-breakpoints): Replacement for `gdb-break-list-custom'.
20698 Use `gdb-breakpoints-list' instead of parsing breakpoints buffer
20699 to place breakpoints.
20700 (def-gdb-memory-unit): A new macro to define gdb-memory-unit-..
20702 (gdb-disassembly-handler-custom): Show overlay arrow.
20703 (gdb-disassembly-place-breakpoints): Show breakpoints in
20704 disassembly buffer.
20705 (gdb-toggle-breakpoint, gdb-delete-breakpoint)
20706 (gdb-goto-breakpoint): Using `gdb-breakpoint' text properties
20707 instead of parsing breakpoints buffer. Fixed old menu references
20712 * progmodes/gdb-mi.el: Port memory buffer from gdb-ui.el.
20713 (gdb-memory-address): New variable which holds top address of
20714 memory page shown in memory buffer.
20715 (gdb-memory-repeat-count, gdb-memory-format, gdb-memory-unit):
20716 New customization variables.
20718 (gdb-display-memory-buffer, gdb-frame-memory-buffer): Functions to
20719 display the memory buffer.
20720 (gdb-memory-set-address, gdb-memory-set-repeat-count): Set memory
20721 buffer display parameters.
20722 (def-gdb-memory-format, gdb-memory-format-binary)
20723 (gdb-memory-format-octal, gdb-memory-format-unsigned)
20724 (gdb-memory-format-signed, gdb-memory-format-hexadecimal):
20725 Functions for setting memory buffer format.
20726 (gdb-memory-unit-word, gdb-memory-unit-halfword)
20727 (gdb-memory-unit-giant, gdb-memory-unit-byte): Functions to set
20728 unit size used in memory buffer.
20729 (gdb-memory-show-next-page, gdb-memory-show-previous-page):
20730 Switch to next/previous page of memory buffer.
20731 Now using (bindat-get-field) instead of fadr functions.
20733 2009-07-07 Sam Steingold <sds@gnu.org>
20735 * vc-cvs.el (vc-cvs-merge-news): Fix message parsing for
20736 non-top-level files.
20738 2009-07-07 Kenichi Handa <handa@m17n.org>
20740 * international/mule-cmds.el (reset-language-environment):
20741 Put the highset priority to the charset iso-8859-1.
20743 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
20745 * progmodes/hideshow.el (hs-hide-block-at-point): Don't move point
20746 to the end of the line when locating the block (Bug#700).
20748 2009-07-06 Michael Albinus <michael.albinus@gmx.de>
20750 * net/tramp.el (tramp-handle-write-region): Flush file properties
20751 in case of short track.
20753 2009-07-06 Michael McNamara <mac@mail.brushroad.com>
20755 * progmodes/verilog-mode.el (verilog-error-regexp-emacs-alist):
20756 Coded custom representation of verilog error regular expressions
20757 to work with Emacs-22's new format.
20758 (verilog-error-regexp-xemacs-alist): Coded custom representation
20759 of verilog error regular expressions to work with XEmacs format.
20760 (verilog-error-regexp-add-xemacs): Hook routine to install verilog
20761 error recognition into XEmacs.
20762 (verilog-error-regexp-add-emacs): Hook routine to install verilog
20763 error recognition into Emacs-22.
20765 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
20767 * woman.el: Remove stand-alone closing parentheses.
20768 (woman-file-name, woman2-format-paragraphs)
20769 (woman-leave-blank-lines): Code cleanup.
20770 (woman-use-own-frame): Change default to nil.
20771 (woman-italic, woman-bold, woman-unknown, woman-addition):
20772 Change defaults to inherit from default faces.
20773 (woman2-process-escapes): Consume the newline after a stand-alone
20774 filler character (Bug#3651).
20776 2009-07-06 Glenn Morris <rgm@gnu.org>
20778 * ffap.el (ffap-version): Make it an obsolete alias for emacs-version.
20779 (top-level): Move provide to the end.
20780 (ffap): Remove defunct URL from custom group.
20782 * subr.el (eval-after-load): Doc fix.
20784 2009-07-06 Vincent Belaïche <vincent.belaiche@gmail.com>
20786 * calc/calc-embed.el (calc-embedded-make-info): Don't force when
20787 `calc-embedded-word' is called twice.
20789 2009-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
20791 * files.el (find-alternate-file-other-window, find-alternate-file):
20792 Obey confirm-nonexistent-file-or-buffer.
20794 2009-07-05 Michael Albinus <michael.albinus@gmx.de>
20796 * dired-aux.el (dired-show-file-type): Handle remote files.
20798 2009-07-05 Jari Aalto <jari.aalto@cante.net>
20800 * desktop.el (desktop-globals-to-save):
20801 Add file-name-history (Bug#2750).
20803 2009-07-05 Chong Yidong <cyd@stupidchicken.com>
20805 * add-log.el (add-log-current-defun-header-regexp): Doc fix (Bug#2217).
20807 2009-07-04 Johan Bockgård <bojohan@gnu.org>
20809 * eshell/esh-arg.el (eshell-parse-argument-hook): Put `number'
20810 property on entire argument since this is what eshell-lisp-command
20813 2009-07-03 Michael Albinus <michael.albinus@gmx.de>
20815 * net/tramp-gvfs.el (tramp-gvfs-methods)
20816 (tramp-gvfs-zeroconf-domain)
20817 (tramp-bluez-discover-devices-timeout): Add version flag.
20818 (tramp-gvfs-handler-mounted-unmounted)
20819 (tramp-gvfs-connection-mounted-p): Polish handling of
20820 incompatibilities between GVFS 0.2 and 1.0.
20822 2009-07-03 Jan Djärv <jan.h.d@swipnet.se>
20824 * cus-start.el (all): Add make-pointer-invisible.
20826 2009-07-03 Jay Belanger <jay.p.belanger@gmail.com>
20828 * calc/calc-math.el (math-use-emacs-fn): Make sure that the number is
20829 formatted correctly.
20831 2009-07-02 Juri Linkov <juri@jurta.org>
20833 * info.el: Virtual Info files and nodes.
20834 (Info-virtual-files, Info-virtual-nodes): New variables.
20835 (Info-current-node-virtual): New variable.
20836 (Info-virtual-file-p, Info-virtual-fun, Info-virtual-call):
20838 (Info-file-supports-index-cookies): Use Info-virtual-file-p
20839 to check for a virtual file instead of checking a fixed list
20841 (Info-find-file): Use Info-virtual-fun and Info-virtual-call
20842 instead of ad-hoc processing of "dir" and (apropos history toc).
20843 (Info-find-node-2): Use Info-virtual-fun and Info-virtual-call
20844 instead of ad-hoc processing of "dir" and (apropos history toc).
20845 Reread a file when moving from a virtual node.
20846 (add-to-list)<Info-virtual-files>: Add "\\`dir\\'".
20847 (Info-directory-toc-nodes, Info-directory-find-file)
20848 (Info-directory-find-node): New functions.
20849 (add-to-list)<Info-virtual-files>: Add "\\`\\*History\\*\\'".
20850 (Info-history): Move part of code to
20851 `Info-history-find-node'.
20852 (Info-history-toc-nodes, Info-history-find-file)
20853 (Info-history-find-node): New functions.
20854 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*TOC\\*\\'".
20855 (Info-toc): Move part of code to `Info-toc-find-node'.
20856 (Info-toc-find-node): New function.
20857 (Info-toc-insert): Rename from `Info-insert-toc'. Don't insert
20858 the current Info file name to references because now the node
20859 "*TOC*" belongs to the same Info manual.
20860 (Info-toc-build): Rename from `Info-build-toc'.
20861 (Info-toc-nodes): Rename input argument `file' to `filename'.
20862 Use Info-virtual-fun, Info-virtual-call and Info-virtual-file-p
20863 instead of ad-hoc processing of ("dir" apropos history toc).
20864 (Info-index-nodes): Use Info-virtual-file-p
20865 to check for a virtual file instead of checking a fixed list
20867 (Info-index-node): Add check for `Info-current-node-virtual'.
20868 Raise `save-match-data' higher up the tree to contain
20869 `search-forward' too (bug fix).
20870 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*Index.*\\*\\'".
20871 (Info-virtual-index-nodes): New variable.
20872 (Info-virtual-index-find-node, Info-virtual-index): New functions.
20873 (add-to-list)<Info-virtual-files>: Add "\\`\\*Apropos\\*\\'".
20874 (Info-apropos-file, Info-apropos-nodes): New variables.
20875 (Info-apropos-toc-nodes, Info-apropos-find-file)
20876 (Info-apropos-find-node, Info-apropos-matches): New functions.
20877 (info-apropos): Move part of code to `Info-apropos-find-node' and
20878 `Info-apropos-matches'.
20879 (Info-mode-map): Bind "I" to `Info-virtual-index'.
20880 (Info-desktop-buffer-misc-data): Use Info-virtual-file-p to check
20881 for a virtual file instead of checking a fixed list of node names.
20883 * simple.el (async-shell-command): New command.
20885 * bindings.el (esc-map): Bind "&" to `async-shell-command'.
20887 * net/tramp-gvfs.el (tramp-gvfs-connection-mounted-p): Use `elt'
20888 instead of `mount-info'.
20890 2009-07-02 Michael Albinus <michael.albinus@gmx.de>
20892 * net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted)
20893 (tramp-gvfs-connection-mounted-p): Handle changed mount-info interface.
20895 2009-07-02 Kenichi Handa <handa@m17n.org>
20897 * international/mule.el (set-keyboard-coding-system): Force *-unix
20898 coding-system to avoid eol conversion.
20900 2009-07-01 Michael Albinus <michael.albinus@gmx.de>
20902 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
20903 Add handler for `process-file', `shell-command' and
20904 `start-file-process'.
20905 (tramp-gvfs-handle-shell-command)
20906 (tramp-gvfs-handle-start-file-process)
20907 (tramp-gvfs-handle-process-file): New defuns.
20908 (tramp-synce-list-devices): Simplify check for existence of property.
20910 2009-07-01 Jan Djärv <jan.h.d@swipnet.se>
20912 * startup.el (command-line-x-option-alist): Add -mm and --maximized.
20914 2009-07-01 Eduard Wiebe <usenet@pusto.de> (tiny change)
20916 * language/korean.el (set-language-info-alist): Add korean-cp949,
20919 2009-07-01 Kenichi Handa <handa@m17n.org>
20921 * Makefile.in (ELCFILES): Delete encoded-kb.elc.
20923 * international/encoded-kb.el: Deleted.
20925 * international/mule.el (set-keyboard-coding-system): Perform the
20926 necessary setup here instead of calling encoded-kbd-setup-display.
20928 2009-07-01 Glenn Morris <rgm@gnu.org>
20930 * progmodes/f90.el (f90-break-delimiters, f90-no-break-re): Doc fixes.
20932 2009-07-01 Evangelos Evangelou <vangelis@email.unc.edu> (tiny change)
20934 * progmodes/f90.el (f90-no-break-re): Add "(/" and "/)". (Bug#3730)
20936 2009-06-30 Michael Albinus <michael.albinus@gmx.de>
20938 * net/tramp.el (tramp-do-copy-or-rename-file-directly):
20939 Handle also the 'rename case, when setting file modes. (Bug#3712)
20940 (tramp-default-file-modes): Remove execute permissions.
20942 * net/tramp-gvfs.el (tramp-gvfs-methods): Add "synce" method.
20943 (top): Add a default for "synce" in `tramp-default-user-alist'.
20944 Add completion function for "synce" method.
20945 (tramp-hal-service, tramp-hal-path-manager)
20946 (tramp-hal-interface-manager, tramp-hal-interface-device):
20948 (tramp-gvfs-connection-mounted-p): Handle empty user name for synce.
20949 (tramp-synce-list-devices, tramp-synce-parse-device-names):
20952 * net/trampver.el: Update release number.
20954 2009-06-30 Kenichi Handa <handa@m17n.org>
20956 * international/fontset.el (setup-default-fontset): Add CJK fonts
20957 for symbols and the other miscellaneous characters.
20959 * language/korea-util.el (setup-korean-environment-internal):
20960 Make char-width-table suitable for Korean environments.
20961 (exit-korean-environment): Cancel above.
20963 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
20964 ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK"): Add a
20965 setup-function to make char-width-table suitable for respective
20966 environments, and an exit-function to cancel that.
20968 * language/japan-util.el (setup-japanese-environment-internal):
20969 Call use-cjk-char-width-table with arg `ja_JP'.
20971 * international/characters.el (cjk-char-width-table): Delete it.
20972 (cjk-char-width-table-list): New variable.
20973 (use-cjk-char-width-table): New arg local-name.
20974 (use-default-char-width-table): Fix for the case that Emacs is
20975 already using the default char-width-table.
20977 2009-06-29 Michael Albinus <michael.albinus@gmx.de>
20979 * net/tramp.el (tramp-do-copy-or-rename-file-directly): Set file
20980 modes mandatory. (Bug#3712)
20982 2009-06-29 Alan Mackenzie <acm@muc.de>
20984 * progmodes/cc-cmds.el (c-mask-paragraph): Remove a spurious
20985 correction between the visible width of TABs and their number of bytes.
20987 2009-06-29 Chong Yidong <cyd@stupidchicken.com>
20989 * server.el (server-buffer-done): Prevent kill-buffer from
20990 prompting by clearing the buffer modification flag (Bug#3696).
20992 2009-06-28 Michael McNamara <mac@mail.brushroad.com>
20994 * progmodes/verilog-mode.el (verilog-beg-of-statement)
20995 (verilog-endcomment-reason-re): Support unique case and priority case.
20996 (verilog-basic-complete-re): Support localparam lineup.
20997 (verilog-beg-of-statement-1): Fix for robustness, unique case.
20998 (verilog-set-auto-endcomments): Fix for unique case, always_comb
21000 (verilog-leap-to-case-head): Now support *nested* unique &
21001 priority case statements.
21002 (verilog-auto-lineup): Make just declarations the default (as it
21004 (verilog-leap-to-case-head): Support priority/unique case statements.
21005 (verilog-auto-lineup): Rework to give users radio buttons to
21006 select the various styles of automatic lineup.
21007 (verilog-error-regexp-alist): Rework to support the XEmacs style
21008 of error regular expressions from compilers, lint tools &
21009 simulators. Note that GNU Emacs has made it impossible for a mode
21010 to load such things.
21011 (electric-verilog-terminate-line, verilog-indent-declaration)
21012 (verilog-auto-wiure): Rework for radio button selection of
21013 auto-lineup selection of specification of auto lineup.
21014 (verilog-beg-of-statement-1): Redesign to support proper operation
21015 in additional code, based on testing with auto-lineup.
21016 (verilog-calculate-indent, assignments & declarations)
21017 (verilog-backward-token): Enhance to support auto-lineup of
21018 assignments & declarations.
21019 (verilog-in-directive-p, verilog-at-struct-p): New function for
21020 easy test of whether we are.
21021 (verilog-pretty-declarations, verilog-pretty-expr): Massive rework
21022 to support safe execution at almost anyline.
21023 (verilog-calc-1): Properly support indenting deep inside generate
21025 (verilog-init-font): Remove definition & use of verilog-init-font,
21026 as it is redundant with font-lock-defaults.
21027 (verilog-mode): Alter the definition of verilog-font-lock-defaults
21028 to avoid circular calls if syntax-ppss is a function (as is the
21029 case now in 22.x GNU Emacs) as that function would sometimes call
21030 itself, leading to (nearly) infinite recursion.
21031 (verilog-ovm-begin-re, verilog-ovm-end-re)
21032 (verilog-ovm-statement-re, verilog-leap-to-head)
21033 (verilog-backward-token): Add support for OVM macros. Some are
21034 complete statements, and others open and close scopes like begin
21036 (verilog-defun-level-not-generate-re, verilog-defun-level-re)
21037 (verilog-defun-level-generate-only-re): Really fix the defun-list
21039 (verilog-calc-1, verilog-beg-of-statement): Enhance support for
21040 coverpoint, constraint and cross statements.
21041 (verilog-defun-level-list, verilog-generate-defun-level-list)
21042 (verilog-all-defun-level-list): Redo these specifications - it is
21043 too hard to support eval-when compile aggregation of lists also
21044 built at when-compile time.
21045 (verilog-defun-level-list): Place defconsts of variables used in
21046 building regular expressions which are built in eval-when-compile
21047 bodies in the same eval-when-compile body to facilitate compile
21049 (verilog-beg-block-re-ordered): Support indenting
21050 virtual/protected tasks and functions.
21051 (verilog-defun-level-list, verilog-in-generate-region-p)
21052 (verilog-backward-ws&directives, verilog-calc-1): Speed up
21053 indentation of some module items (generate items).
21054 (verilog-forward-sexp, verilog-leap-to-head): Support stepping
21055 across virtual/protected tasks and functions.
21057 2009-06-28 Wilson Snyder <wsnyder@wsnyder.org>
21059 * progmodes/verilog-mode.el (verilog-auto-arg, verilog-auto-arg-sort):
21060 Allow sorting AUTOARG lists. Suggested by Andrea Fedeli.
21061 (verilog-read-sub-decls-line): Fix AUTOWIRE signals getting lost
21062 in concatenations. Reported by Yishay Belkind.
21063 (verilog-auto-ascii-enum): Support one-hot state machines in
21064 AUTOASCIIENUM. Suggested by Lloyd Gomez.
21065 (verilog-auto-inst, verilog-auto-inst-port): Include interface
21066 modport in AUTOINST and add vl-modport for users.
21067 Reported by David Rogoff.
21068 (verilog-auto-inout-module, verilog-auto-inst)
21069 (verilog-decls-get-interfaces, verilog-insert-definition)
21070 (verilog-insert-one-definition, verilog-read-decls)
21071 (verilog-read-sub-decls, verilog-read-sub-decls-sig)
21072 (verilog-sig-modport, verilog-signals-combine-bus)
21073 (verilog-subdecls-get-interfaces): Fix expansion of SystemVerilog
21074 interfaces in AUTOINOUTMODULE, AUTOINOUTCOMP, and AUTOINST.
21075 Suggested by David Rogoff.
21076 (verilog-repair-open-comma): Fix non-insertion of comma when
21077 `DEFINE occurs in V2K argument list. Reported by Lane Brooks.
21078 (verilog-make-width-expression): Simplify [A-1:0] expression
21079 widths to just {A{1'b0}}.
21080 (verilog-mode): Cleanup checkdoc warnings.
21081 (verilog-auto-inout-module, verilog-signals-matching-dir-re):
21082 Add third optional regexp to AUTOINOUTMODULE to allow selecting only
21083 inputs/outputs or data type. Suggested by Vasu Kandadi.
21084 (next-error-last-buffer): Fix byte-compiler warning.
21085 (verilog-auto, verilog-auto-insert-lisp, verilog-auto-inst)
21086 (verilog-delete-auto): Add AUTOINSERTLISP to insert arbitrary lisp
21087 or shell command text during AUTO expansion. Suggested by Tad Truex.
21088 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line)
21089 (verilog-read-sub-decls-sig, verilog-symbol-detick-text):
21090 Fix dotted nets {a.b,c.d} and excaped identifiers being mis-included
21091 in AUTOINOUT. Reported by Matthew Lovell.
21092 (verilog-read-always-signals-recurse): Fix AUTORESET "if (a<=b)"
21093 causing use of <= assignments. Reported by Alex Reed.
21094 (verilog-read-decls): Fix triand, trior, wand, wor to be
21095 recognized by AUTOWIRE. Reported by Spencer Isaacson.
21096 (verilog-extended-complete-re): Support import "DPI-C" functions.
21097 (verilog-read-always-signals-recurse): Fix AUTORESET of "x <=
21098 y[a+1:a+1]" to not include a in reset list. Reported by Dan Dever.
21099 (verilog-insert-date, verilog-insert-year)
21100 (verilog-sk-header-tmpl): Fix verilog-header inserting error on
21101 Windows systems. Reported by Michael Potts.
21102 (verilog-read-module-name): Fix AUTOINST when the child module
21103 declaration's name is a tick define. Reported by Elliot Mednick.
21104 (verilog-read-decls): Fix V2K parameter bit subscripts getting
21105 passed to next parameter's definition. Reported by Bruce T.
21106 (verilog-read-decls): Fix detecting "parameter int" when using
21107 AUTOINSTPARAM. Reported by Bruce T.
21108 (verilog-goto-defun): Fix goto not finding modules unless first
21109 perform a verilog-auto expansion. Suggested by Lawrence Butcher.
21110 (verilog-mode): Expand -f flag arguments on entry to mode so
21111 verilog-goto-defun will work. Reported by Lawrence Butcher.
21112 (verilog-getopt): Expand environment variables in -f file
21113 arguments. Suggested by Lawrence Butcher.
21114 (verilog-set-define): Fix "Symbol's value as variable is void"
21115 when reading enumerations.
21116 (verilog-auto-ascii-enum): Fix duplicate labels in AUTOASCIIENUM.
21117 Suggested by Stephen Peltan.
21118 (verilog-read-defines): Fix reading of enumerations in include
21119 files. Reported by Steve Peltan.
21121 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
21123 * files.el (trash-directory): Fix defcustom type.
21125 2009-06-28 Juri Linkov <juri@jurta.org>
21127 * help-fns.el (describe-function-1): Correctly locate adviced
21128 functions in hyperlink (Bug#2438).
21130 2009-06-28 Chong Yidong <cyd@stupidchicken.com>
21132 * files.el (trash-directory): Change default to nil.
21133 (move-file-to-trash): If trash-directory is nil and
21134 system-move-file-to-trash is unbound, perform freedesktop-style
21137 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
21139 * files.el (move-file-to-trash): Add freedesktop trash
21142 2009-06-28 Glenn Morris <rgm@gnu.org>
21144 * autorevert.el (global-auto-revert-non-file-buffers)
21145 (global-auto-revert-mode): Doc fixes.
21147 2009-06-27 Johan Bockgård <bojohan@gnu.org>
21149 * emacs-lisp/cl-specs.el (defstruct): Fix :conc-name spec.
21151 2009-06-27 Chong Yidong <cyd@stupidchicken.com>
21153 * faces.el (x-handle-named-frame-geometry): Ensure that we have
21154 opened an X connection before calling x-get-resource (Bug#3194).
21156 * play/doctor.el: Remove reference to obsolete website.
21157 (make-doctor-variables): Correct grammar mistake (Bug#2633).
21159 2009-06-26 Dan Nicolaescu <dann@ics.uci.edu>
21161 Remove find-file-not-found-hook VC method. (Bug#2757)
21162 * vc-hooks.el (vc-file-not-found-hook)
21163 (vc-default-find-file-not-found-hook): Remove functions.
21164 (find-file-not-found-functions): Do not add vc-file-not-found-hook.
21165 * vc-rcs.el (vc-rcs-find-file-not-found-hook): Remove function.
21168 * vc-git.el: Do not mention find-file-not-found-hook VC method.
21170 2009-06-25 Agustín Martín <agustin.martin@hispalinux.es>
21172 * textmodes/ispell.el: Add `ispell-looking-back' XEmacs
21173 compatibility function for `looking-back'.
21175 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
21176 Use `ispell-looking-back'.
21178 2009-06-24 Michael Albinus <michael.albinus@gmx.de>
21180 * net/tramp-gvfs.el (tramp-gvfs-handle-make-directory): Use `dir'
21181 rather than `filename'.
21183 2009-06-23 Miles Bader <miles@gnu.org>
21185 * face-remap.el (text-scale-set): New function.
21187 2009-06-23 Glenn Morris <rgm@gnu.org>
21189 * pcmpl-rpm.el (pcomplete/rpm): Doc fix.
21191 * bindings.el (mode-line-modified): Fix case of "Buffer is modified".
21193 * textmodes/ispell.el (ispell-local-dictionary): Doc fix.
21195 * progmodes/gdb-mi.el (gud-remove, gud-break): Update declarations.
21197 * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
21198 Simplify Persian conditionals.
21200 * calc/calc-graph.el (calc-graph-plot): Avoid assignment to free
21201 variable `filename'.
21203 * comint.el (comint-insert-input): Doc fix.
21205 * Makefile.in (ELCFILES): Fix typo in previous change.
21207 2009-06-23 Miles Bader <miles@gnu.org>
21209 * cus-start.el: Add entry for `recenter-redisplay'.
21211 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
21213 * vc-hooks.el (vc-stay-local-p, vc-state, vc-working-revision):
21214 Add an optional argument for the backend, use it instead of
21215 calling vc-backend.
21216 (vc-mode-line): Add an optional argument for the backend.
21217 Pass the backend to vc-state and vc-working-revision. Move code for
21218 special handling for vc-state being a buffer to ...
21220 * vc-rcs.el (vc-rcs-find-file-hook):
21221 * vc-sccs.el (vc-sccs-find-file-hook): ... here. New functions.
21223 * vc-svn.el (vc-svn-state, vc-svn-dir-status, vc-svn-checkout)
21224 (vc-svn-print-log, vc-svn-diff): Pass 'SVN to vc-state,
21225 vc-stay-local-p and vc-mode-line calls.
21227 * vc-cvs.el (vc-cvs-state, vc-cvs-checkout, vc-cvs-print-log)
21228 (vc-cvs-diff, vc-cvs-annotate-command)
21229 (vc-cvs-make-version-backups-p, vc-cvs-stay-local-p)
21230 (vc-cvs-dir-status): Pass 'CVS to vc-state, vc-stay-local-p and
21231 vc-mode-line calls.
21233 * vc.el (vc-deduce-fileset): Use vc-deduce-fileset instead of
21235 (vc-next-action, vc-transfer-file, vc-rename-file): Also pass the
21236 backend when calling vc-mode-line.
21237 (vc-register): Do not create a closure for calling the vc register
21238 function, call it directly.
21240 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
21242 * emacs-lisp/elp.el (elp-output-insert-symname): Add a link face
21243 to make it obvious item can be clicked.
21245 * vc-mtn.el (vc-mtn-after-dir-status, vc-mtn-dir-status): New functions.
21247 2009-06-23 Kenichi Handa <handa@m17n.org>
21249 * language/korea-util.el (korean-key-bindings): Change the binding
21250 of F9 to hangul-to-hanja-conversion. Bind Hangul_Hanja to the
21253 2009-06-22 Michael Albinus <michael.albinus@gmx.de>
21255 Sync with Tramp 2.1.16.
21257 * Makefile.in (ELCFILES): Add net/tramp-gvfs.elc.
21259 * net/tramp.el (top): Require tramp-gvfs. Catch `tramp-loading',
21260 when a loading of a package fails. Completion function for rsync
21261 is `tramp-completion-function-alist-ssh'.
21262 (all): Replace all calls of `split-string' and
21263 `tramp-split-string' by `tramp-compat-split-string'.
21264 (tramp-default-method): Use `tramp-compat-process-running-p'.
21265 (tramp-default-proxies-alist): Allow also Lisp forms.
21266 (tramp-remote-path): Add choice "Private Directories".
21267 (tramp-wrong-passwd-regexp): Remove "Tramp connection closed" option.
21268 (tramp-domain-regexp): Allow also "-", "_" and ".".
21269 (tramp-end-of-output): Remove newlines, and add "$" at the end.
21270 (tramp-file-name-handler-alist): Add handler for `dired-uncache'.
21271 (tramp-debug-message): Insert header line in debug buffer.
21272 (tramp-handle-directory-files-and-attributes-with-stat):
21273 Care about filenames with spaces, or starting with "-".
21274 (tramp-handle-dired-uncache): New defun.
21275 (tramp-handle-insert-directory): Don't flush the directory from
21276 cache, this is handled by `dired-uncache' now.
21277 (tramp-handle-insert-file-contents): Improve error handling.
21278 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
21279 Quote `tramp-end-of-output'.
21280 (tramp-action-password): Improve trace message.
21281 (tramp-check-for-regexp): Both echoes must be present, before removing.
21282 (tramp-open-connection-setup-interactive-shell): Trace coding system.
21283 (tramp-compute-multi-hops): Eval cons cells of
21284 `tramp-default-proxies-alist'.
21285 (tramp-maybe-open-connection): Use the same command pattern for
21286 first hop and further hops.
21287 (tramp-wait-for-output): Remove handling of newlines.
21288 (tramp-get-remote-path): Handle also `tramp-own-remote-path'.
21289 (tramp-split-string): Remove function. It is handled in
21292 * net/tramp-cmds.el (tramp-bug):
21293 Recommend `tramp-cleanup-all-connections' in the bug mail.
21295 * net/tramp-compat.el (tramp-compat-split-string)
21296 (tramp-compat-process-running-p): New defuns.
21298 * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add handler
21299 for `dired-uncache'.
21301 * net/tramp-gvfs.el: New package.
21303 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
21304 Add handler for `dired-uncache'.
21305 (tramp-smb-handle-file-local-copy): Cleanup in case of error.
21307 * net/trampver.el: Update release number. Make version check fit
21310 2009-06-22 Jim Meyering <meyering@redhat.com>
21312 Automatically handle .xz suffix (XZ-compressed files), too.
21313 * jka-cmpr-hook.el (jka-compr-compression-info-list): Add xz.
21314 XZ is the successor to LZMA: <http://tukaani.org/xz/>
21316 2009-06-22 Dmitry Dzhus <dima@sphinx.net.ru>
21317 Nick Roberts <nickrob@snap.net.nz>
21319 * progmodes/gdb-mi.el: Pull further modified changes from Dmitry's
21320 repository (http://sphinx.net.ru/hg/gdb-mi/).
21322 2009-06-22 Glenn Morris <rgm@gnu.org>
21324 * files.el (dir-locals-collect-mode-variables): Allow for any number of
21325 `mode' and `eval' entries. (Bug#3430)
21327 * Makefile.in (ELCFILES): Add fadr.elc.
21329 * calendar/appt.el (appt-make-list): Fix off-by-one error caused by
21330 differing behavior of \n and ^ in strings. (Bug#3385)
21332 * emacs-lisp/cl-indent.el: Remove leading "*" from defcustom docs.
21334 * emacs-lisp/lisp-mode.el (lisp-indent-offset): Fix safe-local-variable
21336 (lisp-indent-function): Make it a defcustom.
21338 2009-06-21 Nick Roberts <nickrob@snap.net.nz>
21340 * progmodes/gdb-ui.el: Replace with ...
21341 * progmodes/gdb-mi.el: ... this file.
21342 * progmodes/gud.el: Modify for gdb-mi.el.
21344 2009-06-21 Dmitry Dzhus <dima@sphinx.net.ru>
21346 * fadr.el: New file.
21348 See ChangeLog.14 for earlier changes.
21350 ;; Local Variables:
21354 Copyright (C) 2009-2011 Free Software Foundation, Inc.
21356 This file is part of GNU Emacs.
21358 GNU Emacs is free software: you can redistribute it and/or modify
21359 it under the terms of the GNU General Public License as published by
21360 the Free Software Foundation, either version 3 of the License, or
21361 (at your option) any later version.
21363 GNU Emacs is distributed in the hope that it will be useful,
21364 but WITHOUT ANY WARRANTY; without even the implied warranty of
21365 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21366 GNU General Public License for more details.
21368 You should have received a copy of the GNU General Public License
21369 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.