1 2011-01-29 Stefan Monnier <monnier@iro.umontreal.ca>
3 * progmodes/compile.el: Avoid an N² behavior in grep.
4 (compilation--previous-directory): New fun.
5 (compilation--previous-directory-cache): New var.
6 (compilation--remove-properties): Flush it.
7 (compilation-directory-properties, compilation-error-properties):
8 Use the new fun to speed up looking for the current directory.
10 2011-01-29 Chong Yidong <cyd@stupidchicken.com>
12 * vc/vc-hg.el (vc-hg-history): New var.
13 (vc-hg-pull): Perform default pull if called via Lisp by vc-pull.
14 (vc-hg-merge-branch): New function.
16 * vc/vc.el (vc-pull): Make vc-update an alias for this, instead of
19 * vc/vc-git.el (vc-git-branches, vc-git-pull)
20 (vc-git-merge-branch): New functions.
21 (vc-git-history): New var.
23 2011-01-28 Chong Yidong <cyd@stupidchicken.com>
25 * vc/vc-dispatcher.el (vc-do-async-command): New function.
27 * vc/vc-bzr.el (vc-bzr-async-command): Convert into a wrapper for
30 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch):
33 2011-01-28 Leo <sdl.web@gmail.com>
35 * emacs-lisp/advice.el (ad-make-advised-docstring): Don't apply
36 highlighting to the "this function is advised" message.
38 * help-mode.el (help-mode-finish): Apply highlighting here, to
39 avoid clobbering by substitute-command-keys (Bug#6304).
41 2011-01-28 Chong Yidong <cyd@stupidchicken.com>
43 * woman.el (woman0-roff-buffer): Process roff escape sequences
44 occurring prior to the first request (Bug#7843).
46 2011-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
48 * progmodes/compile.el: Don't use font-lock any more.
49 (compilation-error-regexp-alist-alist): Change handling of makepp
50 so it preserves the warning/error distinction on subsequent files.
51 Simplify various rules.
52 (compilation-directory-properties): Use font-lock-face.
53 Add a compilation-message property.
54 (compilation-internal-error-properties): Use font-lock-face.
55 Don't set the compilation-debug property here.
56 (compilation--put-prop, compilation--remove-properties)
57 (compilation--parse-region, compilation--ensure-parse)
58 (compilation--ensure-parse): New functions.
59 (compilation-parse-errors): New function, largely inspired of
60 compilation-mode-font-lock-keywords. Set compilation-debug here.
61 (compilation--parsed): New var.
62 (compilation--flush-parse): Use compilation--ensure-parse.
63 (compilation-start): Don't call font-lock.
64 (compilation-turn-on-font-lock): Remove.
65 (compilation-setup): Don't set font-lock-extra-managed-props not change
66 other font-lock settings, other than keywords.
67 Don't activate font-lock-mode.
68 Set change-major-mode-hook and before-change-functions.
69 (compilation--unsetup): Remove properties and hooks.
70 (compilation-next-single-property-change): New function.
71 (compilation-next-error): Use it to parse when needed.
72 (compile-goto-error): Parse buffer as needed.
73 (compilation--compat-error-properties): Don't need a dummy `face'
76 2011-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
78 * progmodes/compile.el: Use accessors for clarity and fix omake hack.
79 (compilation-process-setup-function): Fix docstring's false promises.
80 (compilation-error-regexp-alist-alist): Catch omake's continuous
81 recompilation message and avoid reuse of old markers.
82 (compilation-parse-errors-function): Declare obsolete.
83 (compilation-buffer-modtime): Remove.
84 (compilation--make-cdrloc, compilation--loc->col)
85 (compilation--loc->line, compilation--loc->file-struct)
86 (compilation--loc->marker, compilation--loc->visited)
87 (compilation--make-file-struct, compilation--file-struct->file-spec)
88 (compilation--file-struct->formats)
89 (compilation--file-struct->loc-tree): New macros. Use them.
90 (compilation--message): New defstruct. Use them.
91 (compilation-next-error-function): Don't mess with timestamps to try
92 and guess when to reparse.
94 2011-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
96 * textmodes/tex-mode.el: Get rid of compilation-parse-errors-function
97 (tex-old-error-file-name): New function,
98 extracted from tex-compilation-parse-errors.
99 (tex-compilation-parse-errors): Remove.
100 (tex-error-regexp-alist): New var.
101 (tex-shell): Use it to avoid compilation-parse-errors-function.
103 * progmodes/grep.el (grep-regexp-alist): Tighten regexp.
104 (grep-mode-font-lock-keywords): Remove regexp that seems like
105 a left-over from before we used compile.el.
106 (grep-mode-font-lock-keywords): Call syntax-ppss-flush-cache when
107 modifying the buffer within with-silent-modifications.
109 * progmodes/compile.el: Cleanup text-properties namespace by using
110 `compilation-message' instead of `message', `compilation-directory'
111 instead of `directory', and `compilation-debug' instead of `debug'.
112 (compilation-last-buffer, compilation-parsing-end)
113 (compilation-error-list, compilation-old-error-list): Move to the
114 compatibility part of the code.
115 (compilation-error-properties): If `file' is a function, let it return
117 (compilation-mode-font-lock-keywords): Be more conservative with the
118 omake "^ *" pattern prefix, to try and minimize the risk of
119 pathologically slow regexp matching.
120 (compilation-start): Use inhibit-read-only.
121 (compilation--unsetup): New function.
122 (compilation-shell-minor-mode, compilation-minor-mode): Use it.
123 (compilation-filter): Minor tweaks.
124 (compilation-next-error-function): Try and avoid abusing variables.
125 (compilation--flush-file-structure): New fun.
126 (compilation-fake-loc): Use it to improve behavior when file is reused.
127 (debug-ignored-errors): Add "Moved past last ...".
128 (compilation--compat-error-properties)
129 (compilation--compat-parse-errors): Rename by doubling the "-".
131 Port features from the previous prolog.el to the new one.
132 * progmodes/prolog.el (prolog-system): Add GNU and ECLiPSe options.
133 (prolog-program-name, prolog-program-switches, prolog-consult-string)
134 (prolog-compile-string, prolog-prompt-regexp): Get rid of the <foo>-i
135 variable and use a function to compute the value dynamically.
136 (prolog-prompt-regexp): Add regexp for GNU Prolog.
137 (prolog-continued-prompt-regexp): Remove, unused.
138 (prolog-find-value-by-system): Try and use the value of prolog-system
139 in the *prolog* buffer if it helps.
140 (prolog-mode-keybindings-common): Bind C-c C-z unconditionally...
141 (prolog-zip-on): ..and check prolog-system and version here instead.
142 (prolog-inferior-self-insert-command): New command.
143 (prolog-inferior-mode-map): Use it.
144 (prolog-inferior-error-regexp-alist): New var.
145 (prolog-inferior-mode): Use it, with compilation-shell-minor-mode.
146 (prolog-input-filter): Use derived-mode-p.
147 (prolog-inferior-guess-flavor): New function.
148 (prolog-ensure-process): Use it. Use make-comint-in-buffer rather than
149 make-comint to avoid running comint-mode twice.
150 (prolog-inferior-buffer): New fun.
151 (prolog-old-process-region, prolog-old-process-file):
152 Don't call prolog-bsts here...
153 (prolog-build-prolog-command): ...do it here instead.
154 (prolog-old-process-region, prolog-old-process-file):
155 Use compilation-fake-loc and compilation-forget-errors.
156 (prolog-consult-compile-region): Use bolp.
158 2011-01-28 Chong Yidong <cyd@stupidchicken.com>
160 * image-mode.el (image-display-size): Doc fix (Bug#7820).
162 2011-01-27 Sam Steingold <sds@gnu.org>
164 * midnight.el (clean-buffer-list-kill-never-buffer-names): Remove
165 "*server*" which is never created by emacs server.
167 2011-01-27 Deniz Dogan <deniz.a.m.dogan@gmail.com>
169 * vc/vc-bzr.el (vc-bzr-diff): Don't pass --diff-options unless
170 there are some diff switches.
172 2011-01-27 Stefan Monnier <monnier@iro.umontreal.ca>
174 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
175 Copy change made to ruby-font-lock-syntactic-keywords.
177 * htmlfontify.el: Make it obey the font-lock-face text property.
178 Miscellaneous cleanup such as:
179 - Don't hide expressions after a closing paren.
180 - Move initial setq into let.
181 - Hoist common parts out of ifs.
182 (hfy-p-to-face, hfy-p-to-face-lennart): Remove.
183 (hfy-face-at): Use get-text-property instead.
184 (hfy-prop-invisible-p): Use invisible-p if available.
185 (htmlfontify-manual): Use \\[...].
186 (hfy-html-quote-regex): Use [...].
187 (hfy-combined-face-spec): Simplify.
188 (hfy-compile-face-map): Don't presume point-min==1.
189 (hfy-css-name, hfy-buffer, htmlfontify-buffer): Use \' rather than $ to
191 (hfy-text-p): η-reduce.
192 (hfy-tags-for-file): Receive cache-hash directly.
193 (hfy-mark-tag-names): Adjust call.
195 2011-01-27 Glenn Morris <rgm@gnu.org>
197 * msb.el (msb-after-load-hooks): Make it an obsolete alias.
198 (msb-after-load-hook): Remove eval-after-load wackiness.
200 2011-01-25 Sam Steingold <sds@gnu.org>
202 * vc/vc-svn.el (vc-svn-diff): Use `diff-command' instead of the
203 literal "diff" (important for windows-nt).
205 2011-01-25 Glenn Morris <rgm@gnu.org>
207 * emacs-lisp/copyright.el (copyright-at-end-flag)
208 (copyright-names-regexp): Add safety properties.
209 (copyright-year-ranges): New option.
210 (copyright-find-end): New function, split from copyright-update-year.
211 (copyright-update-year): Use copyright-find-end.
212 (copyright-fix-years): Optionally, convert years to ranges.
213 Handle years continued over comment lines.
214 Do not mess with the fill-prefix.
215 Do not call copyright-update.
216 (copyright-update-directory): Optionally, fix years rather than update.
217 Skip directories. Find files with only safe local vars.
219 2011-01-25 Stefan Monnier <monnier@iro.umontreal.ca>
221 * files.el (file-name-non-special): Only change buffer-file-name after
222 insert-file-contents if it's `visit'ing the file (bug#7854).
224 2011-01-25 Chong Yidong <cyd@stupidchicken.com>
226 * dired.el (dired-revert): Doc fix (Bug#7758).
228 * simple.el (line-move-visual): Doc fix (Bug#7594).
230 2011-01-25 Nobuyoshi Nakada <nobu@ruby-lang.org>
232 * progmodes/ruby-mode.el (ruby-here-doc-beg-match): Fix for
233 here-doc which ends with an underscore.
234 (ruby-mode-set-encoding): Skip shebang line always.
235 (ruby-mode-map): Bind C-c C-c to comment-region.
236 (ruby-font-lock-keywords): Highlight literal hash key labels as symbols.
237 (ruby-forward-sexp): Stop after literal hash key labels.
238 (ruby-font-lock-syntactic-keywords): Highlight regexp after open
241 2011-01-25 Keitaro Miyazaki <keitaro.miyazaki@gmail.com> (tiny change)
243 * emacs-lisp/re-builder.el (reb-mode-map): Set case-fold-search in
244 the correct buffer (Bug#7650).
246 2011-01-25 Glenn Morris <rgm@gnu.org>
248 * comint.el (comint-mode): Doc fix. (Bug#7897)
250 * simple.el (do-auto-fill): Give it a doc string.
252 * button.el (make-text-button): Doc fix. (See bug#7881)
254 2011-01-24 Stefan Monnier <monnier@iro.umontreal.ca>
256 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
257 Don't move backward, so as not to fall in an inf-loop (bug#7736).
259 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): (bug#7735)
260 Handle ?" and friends differently (e.g. don't use backrefs).
262 2011-01-24 Jay Belanger <jay.p.belanger@gmail.com>
264 * calc/calc.el (calc-default-power-reference-level)
265 (calc-default-field-reference-level): New variables.
266 * calc/calc-units.el (math-standard-units): Add dB and Np.
267 (math-logunits): New variable.
268 (math-extract-logunits, math-logcombine, calcFunc-luplus)
269 (calcFunc-luminus, calc-luplus, calc-luminus, math-logunit-level)
270 (calcFunc-fieldlevel, calcFunc-powerlevel, calc-level):
272 (math-find-base-units-rec): Add entry for ln(10).
273 * calc/calc-help.el (calc-u-prefix-help): Add logarithmic help.
274 (calc-ul-prefix-help): New function.
275 * calc/calc-ext.el (calc-init-extensions): Autoload new units
276 functions. Add keybindings for new units functions.
278 2011-01-22 Giorgos Keramidas <keramida@ceid.upatras.gr> (tiny change)
280 * net/rcirc.el (rcirc-kill-buffer-hook): Flush logs when killing
281 rcirc buffers. (Bug#4940)
283 2011-01-22 Glenn Morris <rgm@gnu.org>
285 * emacs-lisp/copyright.el (copyright-find-copyright): New function,
286 split out from copyright-update-year.
287 (copyright-update): Don't mess with the GPL version if we don't own the
288 copyright. Update license regexp, and remove no longer needed
290 (copyright-fix-years): Use copyright-find-copyright.
292 2011-01-22 Chong Yidong <cyd@stupidchicken.com>
294 * vc/diff.el (diff-sentinel): Doc fix (Bug#7682).
296 2011-01-22 Jari Aalto <jari.aalto@cante.net>
298 * play/landmark.el: Change `lm-' prefix to `landmark-' (Bug#7672).
299 (lm): Rename to landmark.
300 (lm-test-run): Rename to landmark-test-run.
302 2011-01-22 Chong Yidong <cyd@stupidchicken.com>
304 * emacs-lisp/re-builder.el (reb-mode-map): Fix logic error in
305 "Case sensitive" menu item.
307 2011-01-22 Roland McGrath <roland@frob.com>
309 * comint.el (comint-replace-by-expanded-history-before-point): Fix
310 expansion of !$ and !!:N syntax to pick the indicated word (bug#7883).
312 2011-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
314 * progmodes/js.el (js--regexp-literal): Count backslashes (bug#7882).
316 2011-01-22 Jari Aalto <jari.aalto@cante.net>
318 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
319 Assume foo(bar) is a manpage reference rather than some unquoted
322 2011-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
324 * subr.el (shell-quote-argument): Properly quote \n (bug#7687).
325 Suggested by Flo <sensorflo@gmail.com>.
327 2011-01-22 Glenn Morris <rgm@gnu.org>
329 * progmodes/compile.el (compilation-error-regexp-alist):
330 Fix custom type. (Bug#7812)
332 2011-01-22 Ken Manheimer <ken.manheimer@gmail.com>
334 * allout.el (allout-prefixed-keybindings): Bind (prefixed) '#' to
335 allout-number-siblings, in keeping with what obtained due to
336 (now-defunct) allout-keybindings-list. Ditch repeat binding to
338 (allout-before-change-handler): Better expose spots affected by
341 2011-01-22 Chong Yidong <cyd@stupidchicken.com>
343 * man.el (Man-highlight-references0): Use make-button (Bug#7881).
345 2011-01-22 Phil Hagelberg <phil@evri.com>
347 * pcmpl-unix.el (pcmpl-ssh-config-file): New option.
348 (pcmpl-ssh-known-hosts): Rename from pcmpl-ssh-hosts.
349 (pcmpl-ssh-config-hosts): New function.
350 (pcmpl-ssh-hosts): Use pcmpl-ssh-config-hosts in addition to
351 pcmpl-ssh-known-hosts.
353 2011-01-21 Jay Belanger <jay.p.belanger@gmail.com>
355 * calc/calc-undo.el (calc-undo): Autoload it.
356 * calc/calc-ext.el (calc-init-extensions): Remove keybindings
357 and autoload for `calc-undo'.
358 * calc/calc.el (calc-mode-map): Add keybindings for `calc-undo'.
360 * calc/calc-graph.el:
361 * calc/calc-map.el: Change `arglist' to `math-arglist' throughout.
363 2011-01-21 Štěpán Němec <stepnem@gmail.com> (tiny change)
365 * calc/calc-ext.el (calc-init-extensions): Map all `undo'
366 keybindings to `calc-undo'.
368 2011-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
370 Don't mess with *temp*.
371 * obsolete/spell.el: Move from textmodes/spell.el.
373 * term.el (term-read-input-ring):
374 * startup.el (display-startup-echo-area-message):
375 * progmodes/antlr-mode.el (antlr-directory-dependencies):
376 * comint.el (comint-read-input-ring): Use with-temp-buffer.
377 * international/mule.el (ctext-pre-write-conversion): Don't hardcode
380 2011-01-20 Ken Manheimer <ken.manheimer@gmail.com>
382 * allout.el: (allout-institute-keymap): Use fset instead of
385 (allout-hotspot-key-handler): Check for non-control-modified
386 bindings for hotspot characters if there are no control-modified
389 * allout.el: Summary - migrate to defining allout mode using
390 define-minor-mode instead of defun. Significantly clean-up
391 internal keymap provisions, refactoring and, in the process,
392 removing a lot of accumulated cruft.
394 allout-mode-map is now a keymap by virtue of being a defalias to
395 allout-mode-map-value, which contains the actual keymap structure.
397 (allout-mode): Use define-minor-mode rather than defun.
398 Remove now-unnecessary minor-mode setup activities from the body.
399 Specify :keymap as allout-mode-map so the minor-mode-map-alist
400 entry will be '(allout-mode . allout-mode-map) - see
401 allout-mode-map-value, below. Adjust docstring to track changes.
402 (allout-minor-mode): Remove this defalias, now that we're using
404 (allout-mode-map): Set value to be 'allout-mode-map. The actual
405 keymap is allout-mode-map-value, via defalias.
406 (allout-mode-map-value): The variable holding the actual mode
407 keymap structure, by virtue of defalias from allout-mode-map.
408 (allout-compose-and-institute-keymap): Rename from
409 allout-bind-keys, and including the binding-composition
410 functionality of the former produce-allout-mode-map and
411 allout-setup-mode-map.
412 (allout-institute-keymap): Take over the "setup" part of the former
413 allout-setup-mode-map. Reassign allout-mode-map-value value and
415 (allout-command-prefix) (allout-prefixed-keybindings)
416 (allout-unprefixed-keybindings):
417 Use allout-compose-and-institute-keymap to process the bindings.
418 (allout-unprefixed-keybindings): Remove extraneous '?' question
420 (allout-prefixed-keybindings): Elide binding to (prefixed) \C-h -
421 user can customize if they want to use that binding.
422 Bind allout-copy-topic-as-kill to (prefixed) \M-k.
423 Bind allout-up-current-level to (prefixed) \C-u. (I think i mistakenly
424 elided that, previously, instead of the one for \C-h.)
425 (allout-hotspot-key-handler): Remove attempt to resolve the key
426 through the literal key-string lookup on allout-keybindings-list.
427 That probably hasn't worked for a Long Time, and removal of
428 allout-keybindings-list further simplifies the keybindings
430 (allout-pre-command-business): Use allout-mode-map-value instead
432 (allout-preempt-trailing-ctrl-h): Remove. The user can customize
433 the bindings if they want to use a keybinding having a trailing
434 \C-h. No deprecation needed since this feature was never in a
436 (allout-keybindings-list): Remove. It's not been useful for a
437 while. (See allout-hotspot-key-handler changes, above.)
438 (produce-allout-mode-map): Remove. Consolidate into
439 allout-compose-and-institute-keymap.
440 (allout-mode-map-adjustments): Remove. No longer necessary with
441 removal of allout-preempt-trailing-ctrl-h.
442 (allout-setup-mode-map): Remove. Consolidate into
443 allout-compose-and-institute-keymap and allout-institute-keymap.
445 2011-01-20 Glenn Morris <rgm@gnu.org>
447 * vc/vc-svn.el (vc-svn-after-dir-status): Tweak previous change.
449 * simple.el (read-expression-history): Remove, it's in minibuf.c.
451 2011-01-20 Chong Yidong <cyd@stupidchicken.com>
453 * subr.el (y-or-n-p): Revert 2011-01-07 change, removing ARGS.
455 * files.el (find-alternate-file, basic-save-buffer)
456 (basic-save-buffer-2, revert-buffer, recover-file)
457 (kill-buffer-ask, abort-if-file-too-large)
458 (set-visited-file-name, write-file, backup-buffer)
459 (basic-save-buffer, save-some-buffers):
460 * dired-aux.el (dired-compress-file): Callers changed.
462 2011-01-19 Glenn Morris <rgm@gnu.org>
464 * vc/vc-svn.el (vc-svn-after-dir-status, vc-svn-parse-status):
465 Also check the property status. (Bug#7861)
467 2011-01-18 Michael Albinus <michael.albinus@gmx.de>
469 * net/tramp.el (tramp-debug-message): Extend function exclude
470 list. Use `regexp-opt'.
472 2011-01-18 Stefan Monnier <monnier@iro.umontreal.ca>
474 * textmodes/tex-mode.el (tex-font-lock-verb): Make sure \verb
475 highlighting doesn't spill over subsequent lines.
477 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't re-evaluate the
478 keymap expression. Improve docstring.
480 * electric.el (electric-indent-post-self-insert-function):
481 Don't auto-indent for indent-to-left-margin, it's too often
484 2011-01-16 Tassilo Horn <tassilo@member.fsf.org>
486 * strokes.el (strokes-read-stroke): Re-fill strokes buffer with
487 spaces if the frame was resized, so that the full visible buffer
488 serves as canvas for strokes.
490 2011-01-16 Glenn Morris <rgm@gnu.org>
492 * info-xref.el (info-xref-docstrings): Replace cl function.
493 Also skip directories.
495 2011-01-16 Kevin Ryde <user42@zip.com.au>
497 * info-xref.el: Version 3.
498 (info-xref-check, info-xref-check-all): Move commentary details
499 into docstrings for better visibility.
500 Use compilation-mode for the results buffer.
501 (info-xref-output, info-xref-output-error, info-xref-with-output)
502 (info-xref-filename, info-xref-in-progress):
503 New internals for this.
504 (info-xref-check-list, info-xref-check-buffer)
505 (info-xref-check-all-custom): Use those.
506 (info-xref-output-buffer): Rename from info-xref-results-buffer.
507 (info-xref-output-heading): Rename from info-xref-filename-heading.
508 (info-xref-good, info-xref-bad, info-xref-xfile-alist)
509 (info-xref-filename-heading): Move to output managing section.
510 (info-xref-docstrings): New command checking "Info node `(foo)Bar'"
511 (info-xref-lock-file-p, info-xref-with-file): New helpers for it.
512 (info-xref-subfile-p): Move to generic section with those two.
513 (info-xref-check-node): New function split from
514 info-xref-check-buffer, shared by info-xref-docstrings.
515 (info-xref-goto-node-p): Move to a checking section with that func.
516 (info-xref-unavail): New counter.
517 (info-xref-check-node): Use it.
518 (info-xref-with-output): Show count of unavailables at end of output.
519 (info-xref-all-info-files): Exclude ".*" dotfiles. Ignore broken
520 symlinks. Exclude .texi files. Exclude Emacs backup files.
521 (info-xref-check-all-custom): Fix quietening viper-mode and
522 gnus-registry-install -- use setq not let so as not to unbind
525 2011-01-16 Juri Linkov <juri@jurta.org>
527 * isearch.el (isearch-abort): Don't quit if search has
528 an incomplete regexp (isearch-error is non-nil). (Bug#7534)
530 2011-01-15 Mark Diekhans <markd@soe.ucsc.edu>
532 * files.el (backup-buffer): Make last-resort backup file in
535 * subr.el (locate-user-emacs-file): If .emacs.d does not exist,
536 make it with permission 700.
538 2011-01-15 Kenichi Handa <handa@m17n.org>
540 * mail/rmailmm.el (rmail-mime-insert-header):
541 Set rmail-mime-coding-system to a cons whose car is the last coding
542 system used to decode the header.
543 (rmail-mime-find-header-encoding): New function.
544 (rmail-mime-insert-decoded-text):
545 Override rmail-mime-coding-system if it is a cons.
546 (rmail-show-mime): If only a header part was decoded, find the
547 coding system while ignoring mm-charset-override-alist.
549 2011-01-15 Chong Yidong <cyd@stupidchicken.com>
551 * subr.el (event-start, event-end): Doc fix (Bug#7826).
553 2011-01-15 Kenichi Handa <handa@m17n.org>
555 * mail/rmailmm.el (rmail-mime-next-item)
556 (rmail-mime-previous-item): Delete them.
557 (rmail-mime-shown-mode): Recursively call for children.
558 (rmail-mime-hidden-mode): Delete the 2nd arg TOP.
560 (rmail-mime-raw-mode): Recursively call for children.
561 (rmail-mode-map): Change mapping of tab and backtab to
562 forward-button and backward-button respectively.
563 (rmail-mime-insert-tagline): Always insert "Hide" or "Show"
565 (rmail-mime-update-tagline): New function.
566 (rmail-mime-insert-text): Call rmail-mime-update-tagline if the
567 body display is changed.
568 (rmail-mime-toggle-button): Rename from rmail-mime-image.
569 (rmail-mime-image): Delete this button type.
570 (rmail-mime-toggle): New button type.
571 (rmail-mime-insert-bulk): Call rmail-mime-update-tagline if the
572 body display is changed. Change the save button label to "Save".
573 Don't process show/hide button here.
574 (rmail-mime-insert-multipart): Call rmail-mime-update-tagline if
575 the body display is changed. Unconditionally call
576 rmail-mime-insert for children.
577 (rmail-mime-handle): Update `display' vector of the just inserted
579 (rmail-mime-process): If mail-header-parse-content-type returns
580 nil, use "text/plain" as the fallback type.
581 (rmail-mime-insert): For raw-mode, recursively call
582 rmail-mim-insert for children.
583 (rmail-mime): Handle the case that the current buffer is not rmail
584 buffer (e.g. in summary buffer).
586 2011-01-15 Kenichi Handa <handa@m17n.org>
588 * mail/rmailmm.el (rmail-mime-next-item)
589 (rmail-mime-previous-item): Skip the body of a non-multipart
590 entity if a tagline is shown.
592 2011-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
594 * tmm.el (tmm-get-keymap): Skip bindings without labels (bug#7721).
595 (tmm-prompt): Simplify.
596 (tmm-add-prompt): Remove unused var `win'.
598 * whitespace.el (global-whitespace-newline-mode): Fix call (bug#7810)
599 to minor mode which used nil accidentally to mean "turn off".
601 2011-01-15 Michael Albinus <michael.albinus@gmx.de>
603 * net/tramp-sh.el (tramp-find-inline-compress)
604 (tramp-get-inline-coding): Quote command after pipe symbol for
605 local calls under W32. (Bug#6784)
607 2011-01-15 Michael Albinus <michael.albinus@gmx.de>
609 * net/tramp.el (tramp-default-method): Initialize with pscp/plink
610 only when running under W32.
612 2011-01-15 Eli Zaretskii <eliz@gnu.org>
614 * progmodes/grep.el (grep-compute-defaults): Quote the program
615 file name after the pipe symbol in Grep templates. (Bug#6784)
616 * jka-compr.el (jka-compr-partial-uncompress): Likewise.
618 2011-01-15 Lennart Borgman <lennart.borgman@gmail.com>
620 * buff-menu.el (Buffer-menu-buffer-list): New var.
621 (Buffer-menu-revert-function, list-buffers-noselect): Use it, so a
622 restricted buffer list is not lost on revert (Bug#7749).
624 2011-01-15 Eric Hanchrow <eric.hanchrow@gmail.com>
626 * net/ldap.el (ldap-search-internal): Discard stderr output.
628 2011-01-15 Eli Zaretskii <eliz@gnu.org>
630 * files.el (directory-abbrev-alist): Doc fix. (Bug#7777)
632 2011-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
634 * vc-bzr.el (vc-bzr-annotate-time): Tweak previous change.
636 2011-01-15 Kenichi Handa <handa@m17n.org>
638 * mail/rmailmm.el (rmail-mime-insert-bulk): Display an unknown
639 part as a plain text.
640 (rmail-mime-process-multipart): Set the default content-type to
641 nil for unknown multipart subtypes (bug#7651).
643 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
645 * hexl.el (hexl-mode-old-*): Remove.
646 (hexl-mode--old-var-vals): New var to replace them.
647 (hexl-mode--minor-mode-p, hexl-mode--setq-local): New funs.
648 (hexl-mode, hexl-follow-line, hexl-activate-ruler):
649 Use them to set local vars (bug#7846).
650 (hexl-mode-exit): Use hexl-mode--old-var-vals to restore state.
651 (hexl-backward-short, hexl-backward-word, hexl-scroll-down)
652 (hexl-scroll-up, hexl-end-of-1k-page, hexl-end-of-512b-page): Simplify.
654 * vc/smerge-mode.el: Resolve comment conflicts more aggressively.
655 (smerge-resolve--normalize-re): New var.
656 (smerge-resolve--extract-comment, smerge-resolve--normalize): New funs.
657 (smerge-resolve): Use them.
658 * newcomment.el (comment-only-p): New function.
659 (comment-or-uncomment-region): Use it.
661 2011-01-14 Brent Goodrick <bgoodr@gmail.com> (tiny change)
663 * abbrev.el (prepare-abbrev-list-buffer): If listing local abbrev
664 table, get the value before switching to the output buffer. (Bug#7733)
666 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
668 * progmodes/python.el (python-mode): Don't impose font-lock (bug#3628).
670 2011-01-14 Kim F. Storm <storm@cua.dk>
672 * emulation/cua-base.el (cua--init-keymaps):
673 Remap exchange-point-and-mark in cua-global-keymap.
675 2011-01-14 Tassilo Horn <tassilo@member.fsf.org>
677 * progmodes/sh-script.el (sh-other-keywords): Add ZSH's foreach
680 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
682 * emacs-lisp/easymenu.el: Add :enable (bug#7754), and obey :label.
684 (easy-menu-create-menu, easy-menu-convert-item-1):
685 Use :label rather than nil for labels. Use `case'.
686 Add :enable as alias for :active.
687 (easy-menu-binding): Obey :label.
689 2011-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
691 Use run-mode-hooks for major mode hooks (bug#513).
692 * textmodes/reftex-toc.el (reftex-toc-mode-map):
693 Rename from reftex-toc-map.
694 (reftex-toc-mode): Use define-derived-mode.
695 * textmodes/reftex-sel.el (reftex-select-shared-map): New map.
696 (reftex-select-label-mode-map, reftex-select-bib-mode-map):
697 Rename from reftex-select-(label|bib)-map. Move init into declaration.
698 (reftex-select-label-mode, reftex-select-bib-mode):
699 Use define-derived-mode.
700 * textmodes/reftex-index.el (reftex-index-phrases-mode-map)
701 (reftex-index-mode-map): Rename from reftex-index(-phrases)-map.
702 Move init into delcaration.
703 (reftex-index-mode, reftex-index-phrases-mode):
704 Use define-derived-mode.
705 * speedbar.el (speedbar-mode-syntax-table): Renaqme from
706 speedbar-syntax-table. Move init into declaration.
707 (speedbar-mode-map): Rename from speedbar-key-map.
708 Move init into declaration.
709 (speedbar-file-key-map): Move init into declaration.
710 (speedbar-mode): Use define-derived-mode.
711 * recentf.el (recentf-mode): Don't run hook (or message) redundantly.
712 * net/rcirc.el (rcirc-mode): Use run-mode-hooks.
713 * emacs-lisp/chart.el (chart-mode-map): Rename from chart-map.
714 (chart-face-list): Move initialization into declaration.
715 (chart-mode): Use define-derived-mode.
716 * calculator.el (calculator-mode-map): Move init into declaration.
717 (calculator-mode): Use define-derived-mode.
719 * mail/mail-utils.el (mail-strip-quoted-names): Make the regexp code
720 work for nested comments.
722 * progmodes/prolog.el: Use syntax-propertize. Further code cleanup.
723 (prolog-use-prolog-tokenizer-flag): Change default when
724 syntax-propertize can be used.
725 (prolog-syntax-propertize-function): New var.
726 (prolog-mode-variables): Move make-local-variable into `set'.
727 Don't make comment-column local since we don't set it.
728 Set comment-add (as it was in previous prolog.el). Use dolist.
729 Set syntax-propertize-function.
730 (prolog-mode, prolog-inferior-mode):
731 Call prolog(-inferior)-menu directly, not through the mode-hook.
732 (prolog-buffer-module, prolog-indent-level)
733 (prolog-paren-is-the-first-on-line-p, prolog-paren-balance)
734 (prolog-comment-limits, prolog-goto-comment-column):
735 Use line-(end|beginning)-position.
736 (prolog-build-prolog-command): Tighten up regexp.
737 (prolog-consult-compile): Move make-local-variable into `set'.
738 (prolog-consult-compile-filter, prolog-goto-next-paren)
739 (prolog-help-on-predicate, prolog-clause-info)
740 (prolog-mark-predicate): Don't let+setq.
741 (prolog-indent-line): Use indent-line-to.
742 Only call prolog-goto-comment-column if necessary.
743 (prolog-indent-level): Use bobp.
744 (prolog-first-pos-on-line): Remove, not used any more.
745 (prolog-in-string-or-comment): Use syntax-ppss if available.
746 (prolog-help-on-predicate): Use read-string.
747 (prolog-goto-predicate-info): Simplify.
748 (prolog-read-predicate): Use `default' rather than `initial'.
749 (prolog-temporary-file): Use make-temp-file to close a security hole.
750 (prolog-toggle-sicstus-sd): New command.
751 (prolog-electric-underscore, prolog-variables-to-anonymous):
752 Use dynamic-scoping as it was meant.
753 (prolog-menu): Move menu definitions to top-level.
754 Use a toggle-button for Sicstus's source debugger.
755 Change "Code" to the more usual "Prolog", and hence change "Prolog"
757 (prolog-inferior-menu): Reuse prolog-menu's help menu.
758 Move other menu definition to top-level.
760 2011-01-13 Tassilo Horn <tassilo@member.fsf.org>
762 * doc-view.el (doc-view-open-text): Use meaningful text buffer
763 name. Keep original document's directory as default-directory
765 (doc-view-initiate-display): Fall back to normal mode when
766 doc-view-mode cannot be enabled, also when extracting the document
767 text into a separate buffer (bug#6446).
769 * simple.el (shell-command): Don't error out if shell command
770 buffer contains text with non-nil read-only property when erasing
773 2011-01-13 Kim F. Storm <storm@cua.dk>
775 * ido.el (ido-may-cache-directory): Move "too-big" check later.
776 (ido-next-match, ido-prev-match): Fix stray reordering of matching
777 items when cycling through the matches.
779 2011-01-13 Tassilo Horn <tassilo@member.fsf.org>
781 * dired-x.el (dired-omit-verbose): New defcustom that allows
782 disabling the omit messages.
783 (dired-omit-expunge): Use it.
785 2011-01-13 Christian Ohler <ohler@gnu.org>
787 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: New files.
789 2011-01-13 Chong Yidong <cyd@stupidchicken.com>
791 * font-lock.el (font-lock-verbose): Default to nil.
793 2011-01-13 Chong Yidong <cyd@stupidchicken.com>
795 * simple.el (sendmail-user-agent-compose): Move to sendmail.el.
796 (compose-mail): New arg RETURN-ACTION.
797 (compose-mail-other-window, compose-mail-other-frame): Likewise.
799 * mail/sendmail.el (mail-return-action): New var.
800 (mail-mode): Make it buffer-local.
801 (mail-bury): Obey it. Move special Rmail window handling to
803 (mail, mail-setup): New arg RETURN-ACTION.
804 (sendmail-user-agent-compose): Move from simple.el.
806 * mail/rmail.el (rmail-mail-return): New function.
807 (rmail-start-mail): Pass it to compose-mail.
809 2011-01-12 Chong Yidong <cyd@stupidchicken.com>
811 * menu-bar.el (menu-bar-custom-menu): Tweak Mule and Customize
812 menus. Add menu item for customize-themes.
814 * cus-theme.el (customize-themes):
815 * emacs-lisp/package.el (package--list-packages):
816 Use switch-to-buffer.
818 2011-01-11 Johan Bockgård <bojohan@gnu.org>
820 * emacs-lisp/unsafep.el (unsafep): Handle backquoted forms.
822 2011-01-11 Stefan Monnier <monnier@iro.umontreal.ca>
824 * progmodes/prolog.el: Fix up coding convention and such.
825 (prolog-indent-width): Use the same default as in
826 previous prolog.el rather than tab-width which depends on which buffer
827 is current when the file is loaded.
828 (prolog-electric-newline-flag): Only enable if electric-indent-mode
830 (prolog-emacs): Remove. Use (featurep 'xemacs) instead.
831 (prolog-known-systems): Remove.
832 (prolog-mode-syntax-table, prolog-inferior-mode-map):
833 Move initialization into declaration.
834 (prolog-mode-map): Move initialization into declaration.
835 Remove system-specific mode-map vars, since they referred to the same
837 (prolog-mode-variables): Obey the user's preference w.r.t
838 adaptive-fill-mode. Prefer symbol-value to `eval'.
839 (prolog-mode-keybindings-edit): Add compatibility bindings.
840 (prolog-mode): Use define-derived-mode. Don't handle mercury here.
841 (mercury-mode-map): New var.
842 (mercury-mode, prolog-inferior-mode): Use define-derived-mode.
843 (prolog-ensure-process, prolog-process-insert-string)
844 (prolog-consult-compile): Use with-current-buffer.
845 (prolog-guess-fill-prefix): Simplify data flow.
846 (prolog-replace-in-string): New function to use instead of
848 (prolog-enable-sicstus-sd): Don't abuse `eval'.
849 (prolog-uncomment-region): Use `uncomment-region' when available.
850 (prolog-electric-colon, prolog-electric-dash): Use `eolp'.
851 (prolog-int-to-char, prolog-char-to-int): New functions to use instead
852 of int-to-char and char-to-int.
853 (prolog-mode-hook, prolog-inferior-mode-hook): Don't force font-lock.
855 2011-01-11 Stefan Bruda <stefan@bruda.ca>
857 * progmodes/prolog.el: Replace by a whole new file.
859 2011-01-11 Stefan Monnier <monnier@iro.umontreal.ca>
861 * subr.el (eval-after-load): Fix timing for features (bug#7769).
862 (declare-function, undefined, insert-for-yank)
863 (replace-regexp-in-string): Follow checkdoc's recommendations.
865 2011-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
867 * calendar/diary-lib.el (diary-mode): Refresh *Calendar* after
868 refreshing the diary buffer.
870 2011-01-10 Ken Manheimer <ken.manheimer@gmail.com>
872 * allout.el: Add 2011 to the file copyright.
873 (allout-encrypt-string): Prevent encryption from adding an extra
874 newline at the end of the topic body.
875 (allout-version): Increment to 2.3.
877 2011-01-10 Michael Albinus <michael.albinus@gmx.de>
879 * net/dbus.el (dbus-unregister-service): Complete doc.
880 Fix call of dbus-error signal.
881 (dbus-register-property): Use `dont-register' keyword.
883 2011-01-10 Jan Moringen <jan.moringen@uni-bielefeld.de>
885 * net/dbus.el (dbus-unregister-service): Translate returned
886 integer into a symbol.
887 (dbus-register-property): Use `dbus-register-service' to do the
890 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
892 * progmodes/idlw-help.el (idlwave-help-link): Inherit from link face.
893 Suggested by Joakim Verona.
895 * comint.el (comint-highlight-prompt): Inherit minibuffer-prompt.
897 * wid-edit.el (visibility): Replace :on-image and :off-image
898 widget properties with :on-glyph and :off-glyph, for consistency
899 with the `visibility' widget.
900 (widget-toggle-value-create, widget-visibility-value-create):
901 Merge into a single function `widget-toggle-value-create'.
903 * cus-edit.el (custom-variable-value-create, custom-visibility)
904 (custom-face-edit-value-create, custom-face-value-create):
905 Replace :on-image and :off-image widget properties with :on-glyph and
906 :off-glyph, for consistency with the `visibility' widget.
908 2011-01-09 Andreas Schwab <schwab@linux-m68k.org>
910 * net/ldap.el (ldap-search-internal): Don't use eval.
912 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
914 * subr.el (read-char-choice): Use read-key.
916 * custom.el (custom-safe-themes): Rename from
917 custom-safe-theme-files. Add :risky tag.
918 (load-theme, custom-theme-load-confirm): Save sha1 hashes to
919 custom-safe-themes, not filenames. Suggested by Stefan Monnier.
921 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
923 * tool-bar.el (tool-bar-setup): Remove Help button. Remove label
924 from Search and add a label to Undo.
926 * vc/vc-dir.el (vc-dir-tool-bar-map): Rearrange, removing
927 inappropriate buttons and adding :vert-only tags.
929 * progmodes/compile.el (compilation-mode-tool-bar-map): Adjust to
930 removal of Help tool-bar button. Remove Undo button for space.
932 * info.el (info-tool-bar-map): Add :vert-only tags.
934 2011-01-08 Tassilo Horn <tassilo@member.fsf.org>
936 * doc-view.el (doc-view-mode-p): Check for png or imagemagick
937 image backend support. Either of them is fine.
939 2011-01-08 Chong Yidong <cyd@stupidchicken.com>
941 * subr.el (y-or-n-p): Doc fix.
943 * custom.el (custom-safe-theme-files): New defcustom.
944 (custom-theme-load-confirm): New function.
945 (load-theme): Load theme using `load', confirming with
946 custom-theme-load-confirm if necessary.
948 * subr.el (read-char-choice): New function, factored out from
949 dired-query and hack-local-variables-confirm.
951 * dired-aux.el (dired-query):
952 * files.el (hack-local-variables-confirm): Use it.
954 * dired-aux.el (dired-compress-file):
955 * files.el (abort-if-file-too-large, find-alternate-file)
956 (set-visited-file-name, write-file, backup-buffer)
957 (basic-save-buffer, basic-save-buffer-2, save-some-buffers)
958 (delete-directory, revert-buffer, recover-file, kill-buffer-ask):
959 Use new format string args for y-or-n-p and yes-or-no-p.
961 2011-01-08 Andreas Schwab <schwab@linux-m68k.org>
963 * progmodes/compile.el (compilation-error-regexp-alist-alist)
964 [gcc-include]: Tighten file name match, add match for column
966 [gnu]: Remove unused group.
968 2011-01-08 Glenn Morris <rgm@gnu.org>
970 * makefile.w32-in (EMACSOPT): Add --no-site-lisp.
972 * makefile.w32-in (EMACSOPT): -batch implies --no-init-file.
974 2011-01-07 Sam Steingold <sds@gnu.org>
976 * w32-fns.el (w32-shell-name): Use `shell-file-name' instead of
977 the `explicit-shell-file-name' because that is the
978 non-interactive shell.
980 2011-01-07 Chong Yidong <cyd@stupidchicken.com>
982 * subr.el (y-or-n-p): Accept format string args.
984 2011-01-07 Glenn Morris <rgm@gnu.org>
986 * Makefile.in (EMACSOPT): Add --no-site-lisp.
988 2011-01-06 Ken Manheimer <ken.manheimer@gmail.com>
990 * allout.el (allout-back-to-current-heading): Ensure return to
991 the visible containing topic, rather than a collapsed one.
992 (allout-view-change-hook): Remove hook that was deprecated long ago.
993 (allout-exposure-change-hook): Remove documentation remarks
994 concerning removed allout-view-change-hook.
995 (allout-flag-region): Remove invocation of and documentation
996 remarks concerning allout-view-change-hook.
998 2011-01-06 Glenn Morris <rgm@gnu.org>
1000 * vc/vc-bzr.el (vc-bzr-annotate-command, vc-bzr-annotate-time)
1001 (vc-bzr-annotate-extract-revision-at-line):
1002 Handle authors with embedded spaces. (Bug#7792)
1004 2011-01-05 Tassilo Horn <tassilo@member.fsf.org>
1006 * doc-view.el (doc-view-image-width): New variable.
1007 (doc-view-enlarge, doc-view-insert-image): Prefer imagemagick
1008 backend for PNG images, and do dynamic rescaling instead of
1009 reconverting the whole doc.
1011 2011-01-05 Glenn Morris <rgm@gnu.org>
1013 * emacs-lisp/rx.el (rx-repeat): Replace CL function.
1015 2011-01-04 Ken Manheimer <ken.manheimer@gmail.com>
1017 * allout.el: Reconcile with changes in line movement behavior for
1018 long text lines that cross more than a single physical window
1019 line, ie when truncate-lines is nil.
1020 (allout-next-visible-heading): Provide for change in line-move
1021 behavior on long lines when truncate-lines is nil. In that case,
1022 line-move can wind up on the same textual line when it moves to
1023 the next window line, and moving to the bullet position after the
1024 move yields zero advancement. Add logic to detect and compensate
1025 for the lack of progress.
1026 (allout-current-topic-collapsed-p): move-end-of-line respect for
1027 field boundaries is different when operating with body lines
1028 shorter than window width versus ones greater than window width,
1029 which can yield false negatives in this function. Avoid
1030 difference by applying move-end-of-line while field-text-motion is
1033 2011-01-04 Glenn Morris <rgm@gnu.org>
1035 * textmodes/rst.el (rst-compile-toolsets):
1036 Add pdf and s5 to option alist.
1038 2011-01-04 Jan Moringen <jan.moringen@uni-bielefeld.de>
1040 * net/dbus.el (dbus-register-property): Add optional parameter
1041 dont-register-service. Updated docstring accordingly.
1043 2011-01-04 Andreas Schwab <schwab@linux-m68k.org>
1045 * textmodes/rst.el (rst-compile-pdf-preview)
1046 (rst-compile-slides-preview): Remove extra line.
1048 2011-01-04 Glenn Morris <rgm@gnu.org>
1050 * textmodes/rst.el (rst-compile-toolsets): Make it a defcustom.
1051 Add `pdf' and `s5' entries. Use `prog.py' if found, otherwise
1052 default to `prog' without a .py extension.
1053 (rst-compile-pdf-preview, rst-compile-slides-preview):
1054 Use program names from rst-compile-toolsets, rather than hard-coding.
1055 (rst-portable-mark-active-p): Fix presumed typo.
1057 2011-01-02 Eli Zaretskii <eliz@gnu.org>
1059 * term/w32-win.el (dynamic-library-alist): Set up correctly for
1060 libpng versions both before and after 1.4.0. (Bug#7716)
1062 2011-01-02 Eli Zaretskii <eliz@gnu.org>
1064 * time.el (display-time-mode): Mention display-time-interval in
1065 the doc string. (Bug#7713)
1067 2011-01-02 Kenichi Handa <handa@m17n.org>
1069 * mail/rmailmm.el (rmail-mime-parse): Perform parsing in
1070 condition-case and return an error message string if something
1072 (rmail-show-mime): Adjust for the above change. Insert the
1073 header by rmail-mime-insert-header.
1075 2011-01-02 Kenichi Handa <handa@m17n.org>
1077 * mail/rmailmm.el: New key bindings for rmail-mime-next-item,
1078 rmail-mime-previous-item, and rmail-mime-toggle-hidden.
1079 (rmail-mime-mbox-buffer)
1080 (rmail-mime-view-buffer, rmail-mime-coding-system): New variables.
1081 (rmail-mime-entity): Argument changed. All codes handling an
1082 entity object are changed.
1083 (rmail-mime-entity-header, rmail-mime-entity-body): Adjust for
1085 (rmail-mime-entity-children, rmail-mime-entity-handler)
1086 (rmail-mime-entity-tagline): New functions.
1087 (rmail-mime-message-p): New function.
1088 (rmail-mime-save): Bind rmail-mime-mbox-buffer.
1089 (rmail-mime-entity-segment, rmail-mime-next-item)
1090 (rmail-mime-previous-item, rmail-mime-shown-mode)
1091 (rmail-mime-hidden-mode, rmail-mime-raw-mode)
1092 (rmail-mime-toggle-raw, rmail-mime-toggle-hidden)
1093 (rmail-mime-insert-tagline, rmail-mime-insert-header):
1095 (rmail-mime-text-handler): Call rmail-mime-insert-text.
1096 (rmail-mime-insert-decoded-text): New function.
1097 (rmail-mime-insert-text): Call rmail-mime-insert-decoded-text.
1098 (rmail-mime-insert-image): Argument changed. Caller changed.
1099 (rmail-mime-image): Call rmail-mime-toggle-hidden.
1100 (rmail-mime-set-bulk-data): New funciton.
1101 (rmail-mime-insert-bulk): Argument changed.
1102 (rmail-mime-multipart-handler): Return t.
1103 (rmail-mime-process-multipart): Argument changed.
1104 Handle "multipart/alternative" here.
1105 (rmail-mime-process): Argument changed.
1106 (rmail-mime-parse): Bind rmail-mime-mbox-buffer.
1107 (rmail-mime-insert): Argument changed. Handle raw display mode.
1108 (rmail-mime): Argument changed. Handle toggling of raw display
1110 (rmail-show-mime): Bind rmail-mime-mbox-buffer and
1111 rmail-mime-view-buffer.
1112 (rmail-insert-mime-forwarded-message): Likewise.
1113 (rmail-search-mime-message): Likewise. Don't bind rmail-buffer.
1115 * mail/rmail.el (rmail-show-message-1): If rmail-enable-mime is
1116 non-nil, handle the header in rmail-show-mime-function.
1118 2011-01-02 Leo <sdl.web@gmail.com>
1120 * help-fns.el (describe-variable): Fix previous change.
1122 2011-01-02 Juri Linkov <juri@jurta.org>
1124 * isearch.el (isearch-lazy-highlight-error): New variable.
1125 (isearch-lazy-highlight-new-loop): Compare `isearch-error' and
1126 `isearch-lazy-highlight-error'. Set `isearch-lazy-highlight-error'
1127 to the current value of `isearch-error' (Bug#7468).
1129 2011-01-02 Chong Yidong <cyd@stupidchicken.com>
1131 * help-fns.el (describe-variable): Don't emit trailing whitespace
1134 2011-01-02 Chong Yidong <cyd@stupidchicken.com>
1136 * textmodes/rst.el (rst-compile-pdf-preview)
1137 (rst-compile-slides-preview): Use make-temp-file (Bug#7646).
1139 2011-01-02 Kevin Gallagher <Kevin.Gallagher@boeing.com>
1141 * emulation/edt-mapper.el: Override mapping of function keys so
1142 that the later call to read-key-sequence works.
1144 2011-01-02 Eli Zaretskii <eliz@gnu.org>
1146 * mail/smtpmail.el (smtpmail-send-it): Write queued mail body with
1147 Unix EOLs. (Bug#7589)
1149 2011-01-02 Leo <sdl.web@gmail.com>
1151 * eshell/em-hist.el (eshell-previous-matching-input): Signal error
1152 if point is not behind eshell-last-output-end (Bug#7585).
1154 2011-01-02 Stefan Monnier <monnier@iro.umontreal.ca>
1156 * files.el (file-local-variables-alist):
1157 Make permanent-local (bug#7767).
1159 2011-01-02 Glenn Morris <rgm@gnu.org>
1161 * version.el (emacs-copyright): Set short copyright year to 2011.
1163 2011-01-02 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
1165 * mail/mail-utils.el (mail-strip-quoted-names): Avoid clobbering
1166 an existing temp buffer. (Bug#7746)
1168 2011-01-02 Glenn Morris <rgm@gnu.org>
1170 * mail/mail-utils.el (mail-mbox-from): Handle From: headers with
1171 multiple addresses. (Bug#7760)
1173 2011-01-01 Ken Manheimer <ken.manheimer@gmail.com>
1175 * allout.el (allout-auto-fill): Do not infinitely recurse - use
1176 do-auto-fill if everything points back to allout-auto-fill.
1177 (allout-mode-deactivate-hook): Declare obsolete, in favor of
1178 standard-formed minor-mode deactivate hook, allout-mode-off-hook.
1180 2010-12-31 Michael Albinus <michael.albinus@gmx.de>
1182 * net/tramp-sh.el (tramp-methods): Add recursive options to "scpc"
1185 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
1187 * doc-view.el (doc-view-set-doc-type): New function refactored
1189 (doc-view-fallback-mode): New function.
1190 (doc-view-mode): Use it.
1191 (doc-view-mode-maybe): New function that checks if doc-view-mode
1192 can be used and falls back to the next best mode otherwise.
1194 * files.el (auto-mode-alist): Use doc-view-mode-maybe for PDF,
1195 DVI, OpenDocument, and MS Office files.
1197 2010-12-30 Andreas Schwab <schwab@linux-m68k.org>
1199 * emacs-lisp/rx.el (rx-syntax): Fix typo.
1201 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
1203 * doc-view.el (doc-view-toggle-display): Perform rassq-delete-all
1204 on a copy of auto-mode-alist, because that deletes with side
1207 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
1209 * doc-view.el (doc-view-mode, doc-view-toggle-display):
1210 Use normal-mode without doc-view-mode bindings in auto-mode-alist as
1211 fallback instead of hard coding fundamental mode.
1213 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
1215 * doc-view.el (doc-view-doc->txt): Handle OpenDocument (or MS
1216 Office) files also for searching.
1218 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
1220 * doc-view.el: Implement viewing of OpenDocument (and Microsoft
1221 Office) files. Not yet enabled via auto-mode-list.
1222 (doc-view-unoconv-program): New custom variable.
1223 (doc-view-mode-p): Handle new odf document type.
1224 (doc-view-odf->pdf): New conversion function.
1225 (doc-view-convert-current-doc): Call it for odf files.
1226 (doc-view-mode): Recognize newly supported file extensions.
1228 2010-12-30 Michael Albinus <michael.albinus@gmx.de>
1230 * net/tramp.el (tramp-default-method-alist)
1231 (tramp-default-user-alist)
1232 (tramp-local-host-regexp, tramp-prefix-domain-format)
1233 (tramp-prefix-domain-regexp): Set tramp-autoload cookie.
1236 * net/tramp-gvfs.el:
1238 * net/tramp-imap.el:
1240 * net/tramp-smb.el: Add tramp-autoload cookie for initialisation
1241 code of `tramp-default-method-alist' and `tramp-default-user-alist'.
1243 2010-12-29 Karl Fogel <kfogel@red-bean.com>
1245 * saveplace.el (save-place-alist-to-file): Save list sorted and
1246 pretty-printed, so that it is mergeable by line-based text merging,
1247 as suggested by Iain Dalton <iain.dalton {_AT_} gmail.com>.
1249 2010-12-28 Ken Manheimer <ken.manheimer@gmail.com>
1251 * allout.el (allout-v18/19-file-var-hack): Obsolete, remove.
1252 (allout-mode): Argument "toggle" => "force".
1253 Refine the docstring.
1254 Remove special provisions for reactivation, besides the 'force'
1256 Consolidate layout provisions coce directly into the activation
1257 condition branch, now that we've removed those provisions.
1258 (allout-unload-function): Explicitly activate the mode before
1259 deactivating, if it's initially deactivated.
1260 (allout-set-buffer-multibyte): Properly prevent byte-compiler
1261 warnings for version of function used only where
1262 set-buffer-multibyte is unavailable.
1264 2010-12-28 Chong Yidong <cyd@stupidchicken.com>
1266 * tool-bar.el (tool-bar-setup): Remove :enable conditions, which
1267 are handled by the menu-bar entries. As before, don't use
1268 :visibile to avoid changing the tool-bar.
1270 2010-12-27 Michael Albinus <michael.albinus@gmx.de>
1272 * net/secrets.el (secrets-delete-alias): New defun.
1274 2010-12-27 Michael Albinus <michael.albinus@gmx.de>
1276 * net/tramp.el (tramp-default-user-alist): Do not add "ssh" based
1277 methods, otherwise ~/.ssh/config would be ignored.
1279 2010-12-26 Stefan Monnier <monnier@iro.umontreal.ca>
1281 * emacs-lisp/rx.el: Make it a superset of sregex.
1282 (rx-constituents): Add `any => "."', mark `repeat' as taking any number
1283 of args, add `regex' alias.
1284 (rx-info): Add arg to distinguish head and standalone forms.
1285 (rx-check, rx-form): Pass the corresponding arg.
1287 (rx-repeat): Make it work for any number of args.
1288 (rx-syntax): Make it accept syntax chars as is.
1289 * obsolete/sregex.el: Move from emacs-lisp/.
1290 * emacs-lisp/re-builder.el: Remove sregex support.
1291 * emacs-lisp/edebug.el (sregexq, rx): Remove redundant defs.
1293 2010-12-25 Eli Zaretskii <eliz@gnu.org>
1295 * mouse.el (mouse-yank-primary): On MS-Windows, try the (emulated)
1296 PRIMARY first, then the clipboard. (Bug#7699)
1298 2010-12-22 Stefan Monnier <monnier@iro.umontreal.ca>
1300 * emacs-lisp/bytecomp.el (byte-compile-output-docform): Fix up use of
1303 2010-12-21 Chong Yidong <cyd@stupidchicken.com>
1305 * help-fns.el (find-lisp-object-file-name): Locate .emacs from
1306 .emacs.elc (Bug#7530).
1308 * wid-edit.el (widget-image-find): Remove bogus :ascent spec from
1309 image spec (Bug#7480).
1311 2010-12-21 Daiki Ueno <ueno@unixuser.org>
1313 * obsolete/pgg-parse.el, obsolete/pgg-pgp5.el, obsolete/pgg-pgp.el,
1314 * obsolete/pgg-gpg.el, obsolete/pgg-def.el, obsolete/pgg.el:
1317 2010-12-20 Leo <sdl.web@gmail.com>
1319 * dnd.el (dnd-get-local-file-name): Unhex of file name shall
1320 always be performed (Bug#7680).
1322 2010-12-20 Chong Yidong <cyd@stupidchicken.com>
1324 * menu-bar.el (menu-bar-kill-ring-save): Make obsolete.
1325 (menu-bar-edit-menu): Bind "Copy" to kill-ring-save. Don't use
1328 * color.el: Move from gnus/.
1330 * vc/diff.el (diff-better-file-name): Function deleted.
1331 abbreviating file names causes problems with shell-quote-argument.
1332 (diff-no-select): Just use expand-file-name.
1334 * tool-bar.el (tool-bar--image-expression): New function.
1335 (tool-bar-local-item, tool-bar--image-exp): Use it.
1336 (tool-bar-setup): Initialize tool-bar-separator-image-expression.
1337 Use :enable instead of :visible to avoid changing the tool-bar
1338 configuration unnecessarily.
1340 * info.el (info-tool-bar-map): Add separators.
1342 2010-12-17 Ken Brown <kbrown@cornell.edu>
1344 * loadup.el: Use version numbers in Cygwin build.
1346 2010-12-17 Ryan Twitchell <metatheorem@gmail.com> (tiny change)
1348 * ido.el (ido-file-internal): Ask for confirmation before
1349 overwriting an existing file (Bug#1238).
1351 2010-12-16 Chong Yidong <cyd@stupidchicken.com>
1353 * tool-bar.el (tool-bar-setup): Add separators.
1355 * menu-bar.el (featurep): Use menu-bar-separator.
1357 2010-12-16 Ken Manheimer <ken.manheimer@gmail.com>
1359 Migrate allout encryption provisions from pgg to epg.
1361 * allout.el (allout-toggle-current-subtree-encryption)
1362 (allout-toggle-subtree-encryption): Adjust docstrings to reflect
1363 defaulting policy and other changes. Change fetch-pass to keymode-cue,
1364 for simpler universal argument interpretation.
1365 (allout-toggle-subtree-encryption): Adjust docstring to describe
1366 changed encryption provisions. Change fetch-pass to keymode-cue, for
1367 simpler universal argument interpretation. Remove provisions for
1368 handling key type and identity - they'll all be within
1369 allout-encrypt-string or epg/epg or even contained all the way in gpg.
1370 (allout-encrypt-string): Include keymode-cue, for optionally prompting
1371 for keypair recipients (universal argument > 1) and, in addition,
1372 associating the specified recipients with the outline (universal
1373 argument > 4) using a file local variable setting for
1374 'epa-file-encrypt-to'.
1375 Require epa, for recipients handling.
1376 Change how regexp filtering elements are named.
1377 Describe the problem with caching of incorrect symmetric-decryption
1379 Use the epa-passphrase-callback-function, in case the user is using
1381 Support saving of the selected keypair recipients when invoked with a
1383 Remove obsolete arguments 'fetch-pass', 'target-cache-id', 'retried'.
1385 Establish epg-context with armoring and default epg-protocol.
1386 Remove all passphrase cache, verification, and hinting code.
1387 (allout-passphrase-verifier-handling, allout-passphrase-hint-handling):
1388 No longer used, delete.
1389 (allout-mode): Adjust docstring to describe changed encryption
1390 provisions. Describe the problem with caching of incorrect
1391 symmetric-decryption keys.
1392 (allout-obtain-passphrase, allout-epg-passphrase-callback-function)
1393 (allout-make-passphrase-state, allout-passphrase-state-passphrase)
1394 (allout-encrypted-key-info, allout-update-passphrase-mnemonic-aids)
1395 (allout-get-encryption-passphrase-verifier, allout-verify-passphrase):
1398 2010-12-16 Daiki Ueno <ueno@unixuser.org>
1400 * epa-file.el (epa-file-select-keys): Accept 'silent to inhibit
1401 key selection prompt; make 'silent as default (Bug#7487).
1403 2010-12-16 Leo <sdl.web@gmail.com>
1405 * eshell/eshell.el (eshell-directory-name):
1406 Use locate-user-emacs-file (Bug#7578).
1408 2010-12-15 Glenn Morris <rgm@gnu.org>
1410 * loadup.el (symbol-file-load-history-loaded): Remove; unused.
1412 2010-12-15 Jari Aalto <jari.aalto@cante.net>
1413 Scott Evans <gse@antisleep.com>
1415 * rect.el (rectange--default-line-number-format)
1416 (rectangle-number-line-callback): New functions.
1417 (rectangle-number-lines): New command, bound to C-x r N (Bug#4382).
1419 2010-12-15 Chong Yidong <cyd@stupidchicken.com>
1421 * rect.el (operate-on-rectangle-lines, string-rectangle-string):
1422 Delete unused variables.
1423 (move-to-column-force): Remove function obsolete since 21.2.
1425 2010-12-14 Michael Albinus <michael.albinus@gmx.de>
1427 * net/tramp.el (tramp-temp-buffer-file-name): Make it permanent-local.
1428 (tramp-handle-insert-file-contents): Do not set permanent-local
1431 * net/tramp-cache.el (tramp-persistency-file-name):
1432 Use `locate-user-emacs-file' if fboundp.
1434 * net/tramp-sh.el (tramp-methods): Add "ksu".
1435 (tramp-default-user-alist): Add "ksu". Use `regexp-opt' for
1438 2010-12-14 Glenn Morris <rgm@gnu.org>
1440 * progmodes/js.el: Doc't require font-lock, etags, or easymenu.
1441 (find-tag-marker-ring): Declare.
1442 (js-find-symbol): Require etags.
1444 * mail/sendmail.el: Don't require rmail or mailalias when compiling.
1446 (mail-alias-file): Don't autoload. Doc fix.
1447 (mail-bury-selects-summary, mail-send-nonascii): Don't autoload.
1448 (mail-mailer-swallows-blank-line): Default to nil. Doc fix.
1449 Mark as obsolete, and risky.
1450 (mail-setup): Simplify.
1452 * mail/mailalias.el (build-mail-aliases): Make it interactive.
1453 * mail/sendmail.el (build-mail-aliases): Update autoload.
1455 * dired.el (dired-trivial-filenames, dired-chown-program)
1456 (dired-auto-revert-buffer): Remove autoload cookies.
1457 * mail/sendmail.el (mail-recover-1): Require 'dired.
1459 * dired.el (dired-subdir-switches, dired-chown-program)
1460 (dired-use-ls-dired, dired-chmod-program, dired-touch-program):
1461 Make into defcustoms.
1462 (dired-chown-program): Simplify initialization.
1464 * mail/mail-utils.el: No need to require lisp-mode, it's in loadup.
1466 2010-12-13 Romain Francoise <romain@orebokech.com>
1468 * net/gnutls.el (gnutls-negotiate): Fix setting of default trustfiles.
1470 2010-12-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
1472 * net/netrc.el (netrc-point-at-eol): Remove the unused
1473 netrc-point-at-old and netrc-bound-and-true-p bindings.
1474 (netrc-parse): Cache the netrc contents.
1476 2010-12-13 Eli Zaretskii <eliz@gnu.org>
1478 * subr.el (posn-col-row): Evaluate header-line-format in the
1479 context of the POSITION window's buffer.
1481 2010-12-13 Glenn Morris <rgm@gnu.org>
1483 * subr.el (member-ignore-case, run-mode-hooks, insert-for-yank-1)
1484 (with-silent-modifications): Doc fixes.
1486 2010-12-13 Michael Albinus <michael.albinus@gmx.de>
1488 * net/tramp.el (tramp-action-password, tramp-process-actions):
1489 Revert previous from. Use `save-restriction'.
1491 2010-12-13 Stephen Berman <stephen.berman@gmx.net>
1493 * calendar/diary-lib.el (diary-list-sexp-entries):
1494 Handle case of no newline at end of file. (Bug#7536)
1496 2010-12-13 Glenn Morris <rgm@gnu.org>
1498 * mail/smtpmail.el (smtpmail-send-it): Revert previous change.
1500 2010-12-13 Michael Albinus <michael.albinus@gmx.de>
1502 * net/tramp.el (tramp-action-password): Delete region, do not narrow.
1503 (tramp-process-actions): Do not widen.
1505 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1506 Protect buffer-modified value. (Bug#7557)
1508 2010-12-13 Jan Moringen <jmoringe@techfak.uni-bielefeld.de>
1510 * log-edit.el (log-edit-changelog-entries):
1511 Regexp quote filename. (Bug#7505)
1513 2010-12-13 Tom Breton <tehom@panix.com>
1515 * cus-edit.el (custom-save-all):
1516 Bind print-length and print-level to nil. (Bug#7581)
1518 2010-12-13 Glenn Morris <rgm@gnu.org>
1520 * mouse.el (mouse-menu-major-mode-map, mouse-menu-bar-map):
1521 Run hooks to update menu contents. (Bug#7586)
1523 * mail/smtpmail.el (smtpmail-send-it): Avoid colons in the queued
1524 file names, for the sake of MS Windows. (Bug#7588)
1526 2010-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
1528 * diff-mode.el (diff-refine-hunk): Make it work when the hunk contains
1529 empty lines without a leading space.
1531 2010-12-13 Leo <sdl.web@gmail.com>
1533 * dired-aux.el (dired-do-redisplay): Postpone dired-after-readin-hook
1534 while mapping over marks (Bug#6810).
1536 2010-12-13 Chong Yidong <cyd@stupidchicken.com>
1538 * image-dired.el (image-dired-db-file)
1539 (image-dired-temp-image-file, image-dired-gallery-dir)
1540 (image-dired-temp-rotate-image-file): Set default values relative
1541 to image-dired-dir (Bug#7518).
1543 2010-12-13 Lawrence Mitchell <wence@gmx.li>
1545 * format.el (format-decode-run-method): Pass args FROM and TO, not
1546 point-min and point-max, to shell-command-on-region (Bug#7488).
1548 2010-12-13 Jan Djärv <jan.h.d@swipnet.se>
1550 * frame.el (blink-cursor-mode): Make default t for ns.
1552 2010-12-13 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
1554 * vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
1556 2010-12-13 Chong Yidong <cyd@stupidchicken.com>
1558 * comint.el (comint-dynamic-list-input-ring)
1559 (comint-dynamic-complete-filename)
1560 (comint-replace-by-expanded-filename)
1561 (comint-dynamic-simple-complete)
1562 (comint-dynamic-list-filename-completions)
1563 (comint-dynamic-list-completions): Doc fix (Bug#7499).
1565 * subr.el (posn-x-y, posn-object-x-y, posn-object-width-height):
1568 2010-12-13 Martin Rudalics <rudalics@gmx.at>
1570 * dired.el (dired-pop-to-buffer): Bind pop-up-frames to nil
1573 2010-12-13 W. Martin Borgert <debacle@debian.org> (tiny change)
1575 * files.el (auto-mode-alist): Handle .dbk (DocBook) with xml-mode.
1578 2010-12-13 Eli Zaretskii <eliz@gnu.org>
1580 * files.el (file-relative-name): Handle UNC file names on
1581 DOS/Windows. (Bug#4674)
1583 2010-12-13 Daiki Ueno <ueno@unixuser.org>
1585 * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
1586 "RIPEMD160" (Bug#7490). Reported by Daniel Kahn Gillmor.
1587 (epg-context-set-passphrase-callback): Mention that the callback
1588 is not called when used with GnuPG 2.x.
1590 2010-12-13 Glenn Morris <rgm@gnu.org>
1592 * ps-print.el (ps-line-lengths-internal, ps-nb-pages):
1593 Ensure ps-footer-font-size-internal is initialized.
1594 Call ps-get-page-dimensions before trying to use ps-font-for-text.
1596 2010-12-13 Kenichi Handa <handa@m17n.org>
1598 * mail/rmailmm.el (rmail-mime-parse): Call rmail-mime-process
1599 within condition-case.
1600 (rmail-show-mime): Don't use condition-case.
1601 (rmail-search-mime-message): New function.
1602 (rmail-search-mime-message-function): Set to
1603 rmail-search-mime-message.
1605 2010-12-13 Leo <sdl.web@gmail.com>
1607 * ido.el (ido-common-initialization): New function. (bug#3274)
1609 (ido-completing-read): Call it.
1611 2010-12-12 Karl Fogel <kfogel@red-bean.com>
1613 * bookmark.el (bookmark-name-from-full-record): Rename back to
1614 this original name from `bookmark-name-from-record' reverting part
1615 of 2010-12-08T08:09:27Z!kfogel@red-bean.com / kfogel@red-bean.com-20101208080927-5j9jqnb2xvcw4ogm.
1616 As Drew Adams pointed out, there was no reason to cause churn for
1617 third-party callers.
1619 2010-12-12 Alan Mackenzie <acm@muc.de>
1621 * progmodes/cc-engine.el (c-forward-type): Before scanning a
1622 template arglist, check that the current language supports this.
1624 2010-12-11 Glenn Morris <rgm@gnu.org>
1626 * vc/vc-bzr.el (vc-bzr-state-heuristic): Also check that the executable
1627 state of the file matches. (Bug#7544)
1628 (vc-bzr-register, vc-bzr-checkin)
1629 (vc-bzr-annotate-extract-revision-at-line): Doc fixes.
1630 (vc-directory-exclusion-list): Remove unnecessary eval-after-load.
1632 * textmodes/sgml-mode.el (sgml-xml-guess): Add .xhtml extension.
1634 2010-12-11 Karel Klíč <kklic@redhat.com>
1636 * files.el (auto-mode-alist): Use html-mode for *.xhtml. (Bug#7606)
1638 2010-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
1640 Derive from prog-mode, use derived-mode-p, and fix up various
1641 minor style issues in lisp/progmodes.
1643 * progmodes/vhdl-mode.el (vhdl-mode):
1644 * progmodes/verilog-mode.el (verilog-mode):
1645 * progmodes/vera-mode.el (vera-mode):
1646 * progmodes/sql.el (sql-mode):
1647 * progmodes/scheme.el (scheme-mode):
1648 * progmodes/perl-mode.el (perl-mode):
1649 * progmodes/octave-inf.el (inferior-octave-mode):
1650 * progmodes/autoconf.el (autoconf-mode):
1651 * progmodes/m4-mode.el (m4-mode):
1652 * progmodes/inf-lisp.el (inferior-lisp-mode):
1653 * progmodes/idlwave.el (idlwave-mode):
1654 * progmodes/icon.el (icon-mode):
1655 * progmodes/idlw-help.el (idlwave-help-mode):
1656 * progmodes/dcl-mode.el (dcl-mode):
1657 * progmodes/idlw-shell.el (idlwave-shell-mode):
1658 * progmodes/ebrowse.el (ebrowse-tree-mode, ebrowse-electric-list-mode)
1659 (ebrowse-member-mode, ebrowse-electric-position-mode):
1660 Use define-derived-mode.
1662 * progmodes/xscheme.el (exit-scheme-interaction-mode)
1663 (xscheme-enter-interaction-mode, xscheme-enter-debugger-mode)
1664 (xscheme-debugger-mode-p, xscheme-send-string-1):
1665 * progmodes/tcl.el (inferior-tcl-proc, tcl-current-word)
1666 (tcl-load-file, tcl-restart-with-file):
1667 * progmodes/ps-mode.el (ps-run-running):
1668 * progmodes/gdb-mi.el (gud-watch, gdb-mouse-set-clear-breakpoint):
1669 * progmodes/js.el (js--get-all-known-symbols):
1670 * progmodes/inf-lisp.el (inferior-lisp-proc):
1671 * progmodes/idlwave.el (idlwave-beginning-of-statement)
1672 (idlwave-template, idlwave-update-buffer-routine-info)
1673 (idlwave-update-current-buffer-info)
1674 (idlwave-get-routine-info-from-buffers, idlwave-choose)
1675 (idlwave-scan-class-info, idlwave-fix-keywords)
1676 (idlwave-list-buffer-load-path-shadows):
1677 * progmodes/idlw-toolbar.el (idlwave-toolbar, idlwave-toolbar-add)
1678 (idlwave-toolbar-remove):
1679 * progmodes/idlw-shell.el (idlwave-shell-save-and-action)
1680 (idlwave-shell-file-name, idlwave-shell-electric-debug-all-off)
1681 (idlwave-shell-menu-def):
1682 * progmodes/idlw-complete-structtag.el
1683 (idlwave-prepare-structure-tag-completion):
1684 * progmodes/gud.el (gud-set-buffer):
1685 * progmodes/f90.el (f90-backslash-not-special):
1686 * progmodes/delphi.el (delphi-find-unit): Use derived-mode-p.
1688 * progmodes/xscheme.el (xscheme-start)
1689 (local-set-scheme-interaction-buffer, scheme-interaction-mode):
1690 * progmodes/which-func.el (which-function):
1691 * progmodes/vhdl-mode.el (vhdl-set-style):
1692 * progmodes/verilog-mode.el (verilog-set-compile-command)
1693 (verilog-modify-compile-command, verilog-error-regexp-add-xemacs)
1694 (verilog-set-define, verilog-auto-reeval-locals):
1695 * progmodes/sql.el (sql-product-font-lock, sql-interactive-mode):
1696 * progmodes/simula.el (simula-mode):
1697 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
1698 * progmodes/python.el (python-check, python-mode):
1699 * progmodes/prolog.el (prolog-mode-variables):
1700 * progmodes/gud.el (gud-tooltip-activate-mouse-motions):
1701 * progmodes/ebrowse.el (ebrowse-view-file-other-frame):
1702 * progmodes/delphi.el (delphi-mode):
1703 * progmodes/cc-styles.el (c-setup-paragraph-variables):
1704 * progmodes/cc-mode.el (c-basic-common-init, c-common-init)
1705 (c-font-lock-init): Move make-local-variable to their setq.
1707 * progmodes/vhdl-mode.el (vhdl-write-file-hooks-init)
1708 (vhdl-hs-minor-mode, vhdl-ps-print-init): Fix make-local-variable ->
1710 * progmodes/sh-script.el (sh-require-final-newline): Remove.
1711 (sh-set-shell): Don't set require-final-newline since it's already done
1713 * progmodes/modula2.el (m2-mode): Don't make m2-end-comment-column
1714 since we never set it.
1715 * progmodes/ebrowse.el (ebrowse-set-tree-indentation):
1716 Use read-string and standard prompt.
1717 * progmodes/dcl-mode.el (dcl-mode-map): Move init into declaration.
1718 * progmodes/meta-mode.el (meta-mode-abbrev-table): Merge init and decl.
1719 (meta-common-mode-syntax-table): Rename from meta-mode-syntax-table.
1720 (meta-common-mode-map): Rename from meta-mode-map.
1721 Remove C-m binding, which is a user preference, not mode specific.
1722 (meta-common-mode): New major mode; replace meta-common-initialization.
1723 * progmodes/js.el (js-mode): Call syntax-propertize rather than messing
1724 around with font-lock.
1725 * progmodes/etags.el (select-tags-table-mode):
1726 Derive from special-mode.
1727 * progmodes/octave-mod.el (octave-mode):
1728 * progmodes/gdb-mi.el (gdb-inferior-io-mode, gdb-threads-mode)
1729 (gdb-memory-mode, gdb-disassembly-mode, gdb-breakpoints-mode)
1730 (gdb-frames-mode, gdb-locals-mode, gdb-registers-mode):
1731 Let define-derived-mode do its job.
1732 * progmodes/cpp.el (cpp-edit-mode-map):
1733 Move initialization into declaration.
1734 (cpp-edit-mode): Use define-derived-mode.
1735 (cpp-edit-load): Use derived-mode-p.
1736 * progmodes/mixal-mode.el (mixal-mode):
1737 * progmodes/f90.el (f90-mode):
1738 * progmodes/cfengine.el (cfengine-mode): Don't bother setting
1739 require-final-newline since prog-mode does it already.
1740 * progmodes/cc-cmds.el (c-update-modeline): Use match-string.
1741 * progmodes/asm-mode.el (asm-mode-map): Fix menu setup.
1742 * progmodes/antlr-mode.el: Require cc-mode upfront.
1743 (antlr-mode-syntax-table, antlr-action-syntax-table): Initialize in
1745 (antlr-directory-dependencies, antlr-show-makefile-rules):
1747 (antlr-language-option): Don't assume point-min==1.
1748 (antlr-mode): Use define-derived-mode.
1749 * progmodes/ada-mode.el: Use derived-mode-p.
1750 (ada-mode): Use define-derived-mode.
1751 Use hack-local-variables-hook.
1753 2010-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
1755 * textmodes/texinfo.el (texinfo-mode-map): Bind texinfo-insert-@end.
1756 (texinfo-mode): Don't disable adaptive-fill-mode.
1757 (texinfo-insert-block): Adjust cursor placement for blocks with arg.
1758 (texinfo-insert-@end, texinfo-insert-braces, texinfo-insert-@code)
1759 (texinfo-insert-@dfn, texinfo-insert-@email, texinfo-insert-@emph)
1760 (texinfo-insert-@example, texinfo-insert-@file, texinfo-insert-@item)
1761 (texinfo-insert-@kbd, texinfo-insert-@node, texinfo-insert-@noindent)
1762 (texinfo-insert-@quotation, texinfo-insert-@samp)
1763 (texinfo-insert-@strong, texinfo-insert-@table, texinfo-insert-@var)
1764 (texinfo-insert-@uref): Use define-skeleton.
1765 (texinfo-insert-@-with-arg): Delete.
1767 2010-12-10 Eli Zaretskii <eliz@gnu.org>
1769 * arc-mode.el (archive-zip-extract): If w32-quote-process-args is
1770 nil, do quote archive member names. (Bug#6144)
1772 2010-12-10 Glenn Morris <rgm@gnu.org>
1774 * files.el (diff-no-select): Declare.
1776 * mail/emacsbug.el (report-emacs-bug): Use mail-user-agent properties.
1777 (report-emacs-bug-create-existing-bugs-buffer): Avoid free variables.
1779 * comint.el (comint-input-ring-file-name): Doc fix.
1781 2010-12-09 Eli Zaretskii <eliz@gnu.org>
1783 * menu-bar.el (menu-bar-frame-for-menubar, menu-bar-positive-p):
1785 (menu-bar-showhide-menu) <menu-bar-mode, showhide-tool-bar>:
1786 Use them instead of `nil' and `>', respectively.
1787 (menu-bar-showhide-tool-bar-menu): Use menu-bar-frame-for-menubar
1789 (toggle-menu-bar-mode-from-frame): Use menu-bar-frame-for-menubar
1790 and menu-bar-positive-p instead of `nil' and `>', respectively.
1793 2010-12-09 Vinicius Jose Latorre <viniciusjl@ig.com.br>
1795 * whitespace.el (whitespace-newline-mode): Code fix.
1797 2010-12-09 Glenn Morris <rgm@gnu.org>
1799 * play/landmark.el (lm-print-y,s,noise-int, lm-print-y,s,noise):
1800 Rename functions without commas, update callers.
1802 2010-12-08 Jeff Dairiki <dairiki@dairiki.org> (tiny change)
1804 * whitespace.el (whitespace-cleanup-region):
1805 Clean up spaces before tabs. (Bug#7582)
1807 2010-12-08 Karl Fogel <kfogel@red-bean.com>
1809 * bookmark.el: Adjust parameter names and doc strings to resolve
1810 confusion over whether "bookmark" meant a bookmark name or a
1811 bookmark record. Along the way, shorten one function's name for
1812 similar reasons. (Issue #7548)
1813 (bookmark-name-from-record): New name for
1814 `bookmark-name-from-full-record'. All callers changed.
1815 (bookmark-get-bookmark, bookmark-get-bookmark-record)
1816 (bookmark-default-annotation-text, bookmark-prop-get, bookmark-prop-set)
1817 (bookmark-get-annotation, bookmark-set-annotation)
1818 (bookmark-get-filename, bookmark-set-filename)
1819 (bookmark-get-position, bookmark-set-position)
1820 (bookmark-get-front-context-string, bookmark-set-front-context-string)
1821 (bookmark-get-rear-context-string, bookmark-set-rear-context-string)
1822 (bookmark-get-handler, bookmark-edit-annotation, bookmark--jump-via)
1823 (bookmark-handle-bookmark, bookmark-location, bookmark-show-annotation):
1824 Rename `bookmark' parameter to `bookmark-name-or-record', to
1825 clearly show its role, and shorten or adjust doc strings accordingly.
1826 (bookmark-set-name): Same, and pass the parameter directly to
1827 `bookmark-get-bookmark' instead of redundantly doing the callee's work.
1828 (bookmark-default-annotation-text, bookmark-send-edited-annotation)
1829 (bookmark-relocate, bookmark-insert-location, bookmark-insert)
1830 (bookmark-delete): Rename `bookmark' parameter to `bookmark-name',
1831 and in some cases shorten doc string accordingly.
1832 (bookmark-rename): Change `old' and `new' parameters to `old-name'
1833 and `new-name', and adjust an internal variable to avoid confusion.
1834 (bookmark-jump, bookmark-jump-noselect): Clarify `bookmark'
1835 parameter in doc string.
1837 2010-12-08 Glenn Morris <rgm@gnu.org>
1839 * progmodes/gdb-mi.el (gdb): Try to initialize comint input history
1840 from gdb's history file. (Bug#7575)
1842 * mail/emacsbug.el (report-emacs-bug):
1843 Try to handle some other mail clients.
1845 2010-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
1847 * files.el (dir-locals-collect-variables): Don't let errors stop us.
1848 Use string-prefix-p.
1849 (file-name-version-regexp): New var.
1850 (file-name-sans-versions):
1851 * jka-cmpr-hook.el (jka-compr-build-file-regexp): Use it,
1852 (jka-compr-get-compression-info): Use dolist.
1853 (jka-compr-compression-info-list): Don't bother specifying
1854 version/backup regexps.
1856 2010-12-07 Tassilo Horn <tassilo@member.fsf.org>
1858 * simple.el (just-one-space): Make argument n default to 1 if
1861 2010-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
1863 * electric.el (electric-indent-post-self-insert-function):
1864 Delete trailing newlines even if we don't reindent.
1866 2010-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
1868 * minibuffer.el (completion-at-point): Remove the `arg'.
1869 * bindings.el (complete-symbol): Move back from minibuffer.el.
1871 2010-12-06 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1873 * simple.el (just-one-space): Delete newlines for negative arg.
1875 2010-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
1877 * ansi-color.el (ansi-color-unfontify-region): Replace by trivial def.
1878 (ansi-color-filter-apply): Simplify.
1879 (ansi-color-apply): Use `font-lock-face' rather than `face'.
1881 2010-12-05 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
1883 * vc/vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
1885 2010-12-04 Chong Yidong <cyd@stupidchicken.com>
1887 * dired.el (dired-use-ls-dired): Set default to a special
1888 "unspecified" value.
1889 (dired-insert-directory): When called the first time, check
1890 whether "ls --dired" succeeds and set dired-use-ls-dired (Bug#7546).
1892 2010-12-04 Tak Ota <Takaaki.Ota@am.sony.com>
1894 * replace.el: Add "collect" feature to occur.
1895 (occur-collect-regexp-history): New var.
1896 (occur-read-primary-args): Return a replace string for nlines,
1898 (occur): Extend the meaning of nlines.
1900 2010-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
1902 * progmodes/which-func.el (which-func-ff-hook): Log the error message.
1903 (which-func-update-1): Distinguish symbols from strings.
1904 (which-function): Stay within 80 columns.
1906 2010-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
1908 * subr.el (with-demoted-errors): Distinguish symbols from strings.
1910 * newcomment.el (comment-styles): Add docs to each style (bug#7509).
1912 (comment-style): Use comment-styles's docs to describe values.
1914 2010-12-03 Jan Djärv <jan.h.d@swipnet.se>
1916 * term/common-win.el (x-setup-function-keys): Restore ns-new-frame
1917 and ns-show-prefs (Bug#7535).
1919 * term/ns-win.el (global-map): Restore ns-new-frame and ns-show-prefs
1920 bindings (Bug#7535).
1922 2010-12-03 Glenn Morris <rgm@gnu.org>
1924 * nxml/nxml-mode.el: Require rng-nxml.
1925 (rng-nxml-mode-init, nxml-enable-unicode-char-name-sets):
1926 Remove declarations.
1928 * nxml/nxml-mode.el, nxml/nxml-outln.el, nxml/rng-loc.el:
1929 * nxml/rng-nxml.el, nxml/rng-valid.el:
1930 Remove leading `*' from defcustom docs.
1932 * startup.el (normal-top-level-add-subdirs-to-load-path): Simplify.
1933 (normal-top-level-add-to-load-path, tty-handle-args):
1934 Convert comments to basic doc-strings.
1936 * net/browse-url.el (browse-url-url-at-point)
1937 (browse-url-default-browser): Remove autoload cookies.
1939 * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
1940 Remove more undefined cl functions.
1942 * vc/diff.el (diff-sentinel): Make new arguments optional.
1943 * ibuf-ext.el (diff-sentinel): Update declaration.
1945 2010-12-03 Daiki Ueno <ueno@unixuser.org>
1947 * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
1948 "RIPEMD160" (Bug#7490). Reported by Daniel Kahn Gillmor.
1949 (epg-context-set-passphrase-callback): Mention that the callback
1950 is not called when used with GnuPG 2.x.
1952 2010-12-02 Michael Albinus <michael.albinus@gmx.de>
1954 * net/tramp.el (tramp-local-host-regexp): Add "localhost6".
1955 (tramp-file-name-port): Check also for `tramp-default-port'.
1956 (tramp-get-connection-name): New defun.
1957 (tramp-get-connection-process): Use it.
1958 (tramp-debug-message): Extend function exclude list.
1959 (tramp-drop-volume-letter): Fix doc string.
1961 * net/tramp-cmds.el: Remove solved todo item.
1965 * net/tramp-gvfs.el:
1967 * net/tramp-imap.el:
1968 * net/tramp-smb.el: Fix regexps added to `tramp-default-method-alist'
1969 and `tramp-default-user-alist', respectively.
1971 * net/tramp-gw.el (tramp-gw-open-connection):
1972 Use `tramp-get-connection-name' and `tramp-get-connection-buffer'.
1974 * net/tramp-imap.el (tramp-imap-make-iht): Use just
1975 `tramp-file-name-port'.
1977 * net/tramp-sh.el (tramp-methods): Add recursive options to "pscp"
1978 and "psftp". Exchange "%k" marker with options.
1979 (tramp-do-copy-or-rename-file, tramp-sh-handle-file-local-copy):
1980 Compute size of link target.
1981 (tramp-do-copy-or-rename-file-out-of-band). Move setting of
1982 `tramp-current-*' up due to gateway methods. Optimze computing of
1983 copy arguments. Use `tramp-get-connection-name' and
1984 `tramp-get-connection-buffer'. Improve debug messages.
1985 (tramp-compute-multi-hops): Remove port determination.
1986 (tramp-maybe-open-connection): Use `tramp-get-connection-name'.
1988 * net/trampver.el: Update release number.
1990 2010-12-02 Glenn Morris <rgm@gnu.org>
1992 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
1993 Avoid infinite loop over windows. (Bug#7492)
1995 * progmodes/flymake.el (flymake-check-file-limit):
1996 Allow nil to mean "no limit".
1997 (flymake-check-patch-master-file-buffer): Update for above change.
1998 Allow a .tex file-name extension to be optional.
1999 (flymake-master-tex-init): Also match \include statements.
2001 2010-11-30 Sam Steingold <sds@gnu.org>
2003 * nxml/nxml-mode.el (nxml-parent-document): Add a variable.
2004 (nxml-parent-document-set): A function to set `nxml-parent-document'.
2005 (nxml-mode): Define using `define-derived-mode' instead of `defun'.
2006 (nxml-mode-hook): Remove `defcustom' (auto-defined by
2007 define-derived-mode').
2008 * nxml/rng-valid.el (rng-dtd-trivial-p): Add a helper function for
2009 users who want to call `nxml-parent-document-set'.
2011 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
2013 * log-edit.el (log-edit-font-lock-keywords): Don't try matching
2014 stand-alone lines, since that is handled by log-edit-match-to-eoh
2017 2010-11-27 Eduard Wiebe <usenet@pusto.de>
2019 * dired.el (dired-get-filename): Replace backslashes with slashes
2020 in file names on MS-Windows, needed by `locate'. (Bug#7308)
2021 * locate.el (locate-default-make-command-line): Don't consider
2022 drive letter and root directory part of
2023 `directory-listing-before-filename-regexp'. (Bug#7308)
2024 (locate-post-command-hook, locate-post-command-hook): New defcustoms.
2026 2010-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
2028 * emacs-lisp/smie.el (smie-prec2->grammar): Simplify handling
2029 of :smie-open/close-alist.
2030 (smie-next-sexp): Make it accept a "start token" as argument.
2031 (smie-indent-keyword): Be careful not to misidentify tokens that span
2032 more than one line, as empty lines. Add argument `token'.
2034 2010-11-27 Kenichi Handa <handa@m17n.org>
2036 * mail/rmailmm.el (rmail-mime-insert-multipart): For unsupported
2037 multipart subtypes, insert all as usual.
2039 * mail/rmail.el: Require rfc2047.
2041 2010-11-27 Kenichi Handa <handa@m17n.org>
2043 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-type)
2044 (rmail-mime-entity-disposition)
2045 (rmail-mime-entity-transfer-encoding, rmail-mime-entity-header)
2046 (rmail-mime-entity-body, rmail-mime-entity-children): New functions.
2047 (rmail-mime-save): Handle the case that the button's `data' is a
2049 (rmail-mime-insert-text): New function.
2050 (rmail-mime-insert-image): Handle the case that DATA is a MIME entity.
2051 (rmail-mime-bulk-handler): Just call rmail-mime-insert-bulk.
2052 (rmail-mime-insert-bulk): New function mostly copied from the old
2053 rmail-mime-bulk-handler.
2054 (rmail-mime-multipart-handler): Just call rmail-mime-process-multipart.
2055 (rmail-mime-process-multipart): New function mostly copied from
2056 the old rmail-mime-multipart-handler.
2057 (rmail-mime-show): Just call rmail-mime-process.
2058 (rmail-mime-process): New function mostly copied from the old
2060 (rmail-mime-insert-multipart, rmail-mime-parse)
2061 (rmail-mime-insert, rmail-show-mime)
2062 (rmail-insert-mime-forwarded-message)
2063 (rmail-insert-mime-resent-message): New functions.
2064 (rmail-insert-mime-forwarded-message-function): Set to
2065 rmail-insert-mime-forwarded-message.
2066 (rmail-insert-mime-resent-message-function): Set to
2067 rmail-insert-mime-resent-message.
2069 * mail/rmailsum.el: Require rfc2047.
2070 (rmail-header-summary): Handle multiline Subject: field.
2071 (rmail-summary-line-decoder): Change the default to
2072 rfc2047-decode-string.
2074 * mail/rmail.el (rmail-enable-mime): Change the default to t.
2075 (rmail-mime-feature): Change the default to `rmailmm'.
2076 (rmail-quit): Delete the specifal code for rmail-enable-mime.
2077 (rmail-display-labels): Likewise.
2078 (rmail-show-message-1): Check rmail-enable-mime, and use
2079 rmail-show-mime-function for a MIME message. Decode the headers
2080 according to RFC2047.
2082 2010-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
2084 * progmodes/which-func.el (which-func-imenu-joiner-function):
2085 Return a string, as expected.
2086 (which-function-mode): Make sure we stop any previous timer before
2089 2010-11-27 Michael Albinus <michael.albinus@gmx.de>
2091 * net/tramp.el (tramp-default-method-alist)
2092 (tramp-default-user-alist, tramp-default-proxies-alist):
2093 Adapt custom options type. (Bug#7445)
2095 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
2097 * progmodes/python.el: Add Ipython support (Bug#5390).
2098 (python-shell-prompt-alist)
2099 (python-shell-continuation-prompt-alist): New options.
2100 (python--set-prompt-regexp): New function.
2101 (inferior-python-mode, run-python, python-shell):
2102 Require ansi-color. Use python--set-prompt-regexp to set the comint
2103 prompt based on the Python interpreter.
2104 (python--prompt-regexp): New var.
2105 (python-check-comint-prompt)
2106 (python-comint-output-filter-function): Use it.
2107 (run-python): Use a pipe (Bug#5694).
2109 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
2111 * progmodes/python.el (run-python): Doc fix.
2112 (python-keep-current-directory-in-path): New var (Bug#7454).
2114 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
2116 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
2117 Prompt user before actually printing.
2119 2010-11-27 Glenn Morris <rgm@gnu.org>
2121 * startup.el (package-enable-at-startup, package-initialize):
2122 Remove unnecessary declarations.
2124 2010-11-27 Eli Zaretskii <eliz@gnu.org>
2126 * international/characters.el (glyphless-char-display-control):
2127 Exclude newline and TAB from the c0-control group.
2129 2010-11-27 Glenn Morris <rgm@gnu.org>
2131 * mail/sendmail.el (build-mail-aliases): Doc fix for autoload.
2132 (expand-mail-aliases): Remove unnecessary autoload.
2134 * allout.el (allout-command-prefix, allout-mode-map): Declare.
2136 * shell.el (shell-dir-cookie-re): Move definition before use.
2138 * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
2139 Replace undefined CL functions.
2141 2010-11-26 Eli Zaretskii <eliz@gnu.org>
2143 * simple.el (prog-mode): Set bidi-paragraph-direction to
2146 * term/pc-win.el (x-get-selection-internal): Emulation for MS-DOS.
2148 2010-11-26 Glenn Morris <rgm@gnu.org>
2150 * calendar/diary-lib.el (diary-outlook-format-1): New function, so that
2151 diary-outlook-formats can be sensitive to calendar-date-style.
2152 (diary-outlook-formats): Simplify the default setting.
2153 (diary-from-outlook-internal): Pass subject and body as arguments.
2154 Use dolist rather than dotimes. Don't save the diary buffer.
2155 (diary-from-outlook-gnus, diary-from-outlook-rmail):
2156 Pass subject and body as explicit arguments to the -internal function.
2158 2010-11-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
2160 * mail/rfc2368.el (rfc2368-parse-mailto-url): Unfold URLs before
2161 parsing them. This makes mailto:...?subject=foo\nbar work.
2163 2010-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
2165 * vc/diff.el (diff): Fix last change.
2167 2010-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
2169 * emacs-lisp/pcase.el: Improve pcase-let. Use "pcase--" prefix.
2170 (pcase--dontcare-upats): New var.
2171 (pcase-let, pcase-let*): Generate better code.
2172 Accept the same bodies as `let'.
2173 (pcase-dolist): New macro.
2174 (pcase--trivial-upat-p): New helper function.
2175 (pcase--expand): Strip leading "(let nil" if any.
2177 2010-11-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
2179 * mail/mailclient.el (browse-url): Require.
2180 (mailclient-send-it): Bind `browse-url-mailto-function' to nil to
2181 use the external browser function to send the mail (bug#7469).
2183 * net/browse-url.el (browse-url-browser-function): Revert the
2184 default back to the previous value, since the new value broke
2186 (browse-url-mailto-function): New variable for mailto: URLs.
2187 (browse-url): Use the new variable for mailto: URLs.
2189 2010-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
2191 * eshell/esh-cmd.el (eshell-parse-command):
2192 * eshell/esh-arg.el (eshell-parse-arguments):
2193 * eshell/em-script.el (eshell-source-file):
2194 Use with-silent-modifications.
2196 2010-11-23 Chong Yidong <cyd@stupidchicken.com>
2198 * vc/vc.el (vc-merge): Remove optional arg PROMPT. Always prompt
2199 for a merge location.
2201 * vc/vc-bzr.el (vc-bzr-pull): Remove unused var.
2202 (vc-bzr-merge-branch): Always prompt.
2203 (vc-bzr-async-command): Use the full branch filename.
2205 2010-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
2207 * shell.el (shell): Use current-buffer by default if it's already
2208 a shell mode buffer and its process is dead.
2209 Suggested by Jose E. Marchesi <jemarch@gnu.org>.
2211 2010-11-23 Tassilo Horn <tassilo@member.fsf.org>
2213 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
2214 Mention that the keywords should be comma separated.
2216 2010-11-23 Chong Yidong <cyd@stupidchicken.com>
2218 * vc/vc.el (vc-merge): Use vc-BACKEND-merge-branch if available.
2219 Accept optional prefix arg meaning to prompt for a command.
2220 (vc-update): Use vc-BACKEND-pull if available. Accept optional
2221 prefix arg meaning to prompt for a command.
2222 (vc-pull): Alias for vc-update.
2224 * vc/vc-bzr.el (vc-bzr-admin-branchconf, vc-bzr-history): New vars.
2225 (vc-bzr--branch-conf, vc-bzr-async-command, vc-bzr-pull)
2226 (vc-bzr-merge-branch): New functions, implementing merge-branch
2227 and pull operations.
2229 2010-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
2231 * Makefile.in: Fix up last merge.
2233 * vc/diff.el (diff-old-temp-file, diff-new-temp-file): Remove.
2234 (diff-sentinel): Get them as arguments instead.
2235 (diff-old-file, diff-new-file, diff-extra-args): Remove.
2236 (diff-file-local-copy, diff-better-file-name): New funs.
2237 (diff-no-select): Rename from diff-into-buffer.
2238 Support buffers additionally to files. Move `buf' arg. Don't display buf.
2239 Prefer closures to buffer-local variables.
2240 (diff): Adjust accordingly.
2241 (diff-buffer-with-file): Move from files.el.
2242 * files.el (diff-buffer-with-file): Move to vc/diff.el.
2243 (diff-buffer-internal): Remove.
2244 (diff-buffer-buffer): Remove.
2245 (save-some-buffers-action-alist): Use diff-no-select so as not to guess
2246 the buffer name used, and so as not to mess up windows and frames.
2248 2010-11-22 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
2250 * files.el: Make revert work with diff-buffer-with-file (bug#7277).
2251 (diff-buffer-internal): New function extracted from diff-buffer-with-file
2252 (diff-buffer-with-file): Use it.
2253 * vc/diff.el (diff-into-buffer): New fun, extracted from diff.
2256 2010-11-22 Tassilo Horn <tassilo@member.fsf.org>
2258 * textmodes/reftex-ref.el (reftex-goto-label): Use the current
2259 \ref's or \pageref's value as default instead of initial input.
2261 2010-11-21 Michael Albinus <michael.albinus@gmx.de>
2263 * files.el (backup-by-copying-when-mismatch): The default value is
2266 * startup.el (normal-top-level):
2267 * net/tramp.el (tramp-handle-insert-file-contents): Do not set
2268 `backup-by-copying-when-mismatch'.
2270 2010-11-21 Jan Djärv <jan.h.d@swipnet.se>
2272 * tool-bar.el (tool-bar-setup): Remove save as, print and customize.
2274 2010-11-21 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2276 * progmodes/python.el (python-font-lock-keywords):
2277 Highlight top-level augmented assignments (Bug#6445).
2279 2010-11-21 Jan Djärv <jan.h.d@swipnet.se>
2281 * term/ns-win.el (ns-right-control-modifier)
2282 (ns-right-command-modifier): Defvar them.
2284 * cus-start.el (all): Add ns-right-control-modifier and
2285 ns-right-command-modifier (Bug#7458).
2287 2010-11-20 Glenn Morris <rgm@gnu.org>
2289 * emacs-lisp/authors.el (authors-ignored-files)
2290 (authors-valid-file-names, authors-renamed-files-alist): Add entries.
2292 2010-11-20 Tassilo Horn <tassilo@member.fsf.org>
2294 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs)
2295 (report-emacs-bug-parse-query-results)
2296 (report-emacs-bug-create-existing-bugs-buffer): Pass through
2297 keywords used for querying the bug database to show them in the
2298 existing bugs buffer.
2300 2010-11-20 Jan Djärv <jan.h.d@swipnet.se>
2302 * tool-bar.el (tool-bar-setup): Add some :vert-only keywords.
2304 * info.el (info-tool-bar-map): Add some :vert-only keywords.
2306 2010-11-20 Eli Zaretskii <eliz@gnu.org>
2308 * international/characters.el (glyphless-char-display-control):
2309 Make it a defcustom, with update-glyphless-char-display as its
2311 (top level): Don't call update-glyphless-char-display.
2313 2010-11-20 Michael Albinus <michael.albinus@gmx.de>
2315 Sync with Tramp 2.2.0.
2317 * net/tramp.el (tramp-handle-insert-file-contents): Don't use
2318 `file-remote-p' (due to compatibility).
2320 * net/tramp-sh.el (tramp-do-copy-or-rename-file-directly)
2321 (tramp-do-copy-or-rename-file-out-of-band): Use `ignore-errors'.
2323 * net/trampver.el: Update release number.
2325 2010-11-20 Eli Zaretskii <eliz@gnu.org>
2327 * faces.el (glyphless-char): Define value for `pc'.
2329 2010-11-20 Tassilo Horn <tassilo@member.fsf.org>
2331 Implemented a bug querying mechanism.
2332 * mail/emacsbug.el (report-emacs-bug-tracker-url): New variable.
2333 (report-emacs-bug-create-existing-bugs-buffer)
2334 (report-emacs-bug-parse-query-results)
2335 (report-emacs-bug-query-existing-bugs): New functions.
2337 2010-11-19 Tassilo Horn <tassilo@member.fsf.org>
2339 * textmodes/reftex-ref.el (reftex-goto-label): If point is inside
2340 a \ref{} or \pageref{} macro, then use its value as initial input.
2342 2010-11-19 Jay Belanger <jay.p.belanger@gmail.com>
2344 * calc/calc-units.el (math-build-units-table-buffer):
2345 calc/README: Mention that the TeX specific units won't use the
2346 `tex' prefix in TeX mode.
2347 calc/calc-lang.el (math-variable-table): Don't use the `tex'
2348 prefix for units in TeX mode.
2350 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2352 * simple.el (kill-new, kill-append, kill-region):
2353 * comint.el (comint-kill-region): Make the yank-handler argument
2356 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2358 * emacs-lisp/smie.el (smie-bnf-classify): Signal errors for tokens
2359 that are both openers (resp. closers) and something else.
2360 (smie-grammar): Loosen definition of valid values.
2361 (smie-next-sexp, smie-down-list, smie-blink-matching-open)
2362 (smie-indent--parent, smie-rule-parent, smie-indent-keyword)
2363 (smie-indent-after-keyword): Adjust users.
2364 (smie-indent-keyword): Don't indent empty lines.
2366 * vc-hg.el (vc-hg-program): New var.
2367 Suggested by Norman Gray <norman@astro.gla.ac.uk>.
2368 (vc-hg-state, vc-hg-working-revision, vc-hg-command): Use it.
2370 2010-11-18 Glenn Morris <rgm@gnu.org>
2372 * emacs-lisp/autoload.el (autoload-find-destination): The function
2373 coding-system-eol-type may return non-numeric values. (Bug#7414)
2375 2010-11-18 Ulrich Mueller <ulm@gentoo.org>
2377 * server.el (server-force-stop): Ensure the server is stopped (Bug#7409).
2379 2010-11-18 Eli Zaretskii <eliz@gnu.org>
2381 * subr.el (posn-col-row): Pay attention to header line. (Bug#7390)
2383 2010-11-18 Chong Yidong <cyd@stupidchicken.com>
2385 * textmodes/picture.el (picture-mouse-set-point): Don't use
2386 posn-col-row; explicitly compute the motion based on the posn at
2387 the window-start (Bug#7390).
2389 2010-11-18 Glenn Morris <rgm@gnu.org>
2391 * novice.el (disabled-command-function):
2392 Fix 2009-11-15 change. (Bug#7384)
2394 2010-11-18 Glenn Morris <rgm@gnu.org>
2396 * calendar/calendar.el (diary-iso-date-forms): Make elements
2397 mutually exclusive. (Bug#7377)
2399 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2401 * emacs-lisp/smie.el (smie-prec2->grammar): Obey equality constraints
2402 when filling the remaining "unconstrained" values.
2404 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2406 * emacs-lisp/bytecomp.el (byte-compile-warnings): Simplify the
2409 * files.el (safe-local-variable-p): Gracefully handle errors.
2411 * emacs-lisp/smie.el (smie-rule-parent, smie-indent--rule):
2412 Use smie-indent-virtual when indenting relative to an opener.
2413 (smie-rule-separator): Use smie-rule-parent.
2414 (smie-indent-keyword): Consult rules, even for openers at bol.
2415 (smie-indent-comment-close): Try to align closer's content.
2417 2010-11-18 Glenn Morris <rgm@gnu.org>
2419 * ls-lisp.el (ls-lisp-dired-ignore-case): Make it an obsolete alias.
2421 2010-11-18 Glenn Morris <rgm@gnu.org>
2423 * printing.el (pr-menu-bind): Doc fix.
2425 * speedbar.el (speedbar-toggle-images): Doc fix.
2427 * progmodes/python.el (python-shell): Doc fix.
2429 * wid-edit.el (widget-field-use-before-change)
2430 (widget-use-overlay-change): Doc fixes.
2432 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2434 Minor cleanup to improve style.
2435 * textmodes/rst.el (rst-update-section): Use point-marker.
2436 (rst-get-decoration): Eliminate unneeded assignment.
2437 (rst-promote-region, rst-straighten-decorations)
2438 (rst-section-tree, rst-adjust): Use point-marker.
2439 (rst-toc-mode-mouse-goto): Avoid setq.
2440 (rst-shift-region-guts, rst-shift-region-left)
2441 (rst-iterate-leftmost-paragraphs, rst-iterate-leftmost-paragraphs-2)
2442 (rst-convert-bullets-to-enumeration): Use copy-marker.
2444 * minibuffer.el (completion-fail-discreetly): New var.
2445 (completion--do-completion): Use it.
2447 * electric.el (electric-pair-pairs): New var.
2448 (electric-pair-post-self-insert-function): Use it.
2449 (electric-layout-post-self-insert-function): Don't insert a before
2450 newline unless it's actually needed.
2452 2010-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
2454 * progmodes/python.el (run-python): Explain why we remove the current
2455 directory from sys.path. Suggested by Eric Hanchrow <erich@cozi.com>.
2457 * progmodes/grep.el (grep-regexp-alist): Tighten the regexp (bug#7378).
2459 2010-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
2461 * progmodes/octave-mod.el: Rely on elecric-*-modes.
2462 (octave-mode-map): Don't bind ;, SPC, and LF.
2463 (octave-auto-indent, octave-auto-newline): Remove.
2464 (electric-layout-rules): Declare.
2465 (octave-mode): Set electric-layout-rules.
2466 (octave-indent-new-comment-line): Use reindent-then-newline-and-indent.
2467 (octave-reindent-then-newline-and-indent, octave-electric-semi)
2468 (octave-electric-space): Remove.
2470 * electric.el (electric-layout-mode): New minor mode.
2471 (electric--after-char-pos): New function.
2472 (electric-indent-post-self-insert-function): Use it.
2473 (electric-layout-rules): New var.
2474 (electric-layout-post-self-insert-function): New function.
2475 (electric-indent-mode): Make them interact better.
2477 2010-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
2479 * emacs-lisp/checkdoc.el (checkdoc-syntax-table): Fix last change.
2480 (checkdoc-sentencespace-region-engine, checkdoc-this-string-valid)
2481 (checkdoc-proper-noun-region-engine): Use with-syntax-table.
2483 2010-11-15 Agustín Martín <agustin.martin@hispalinux.es>
2485 * textmodes/flyspell.el (flyspell-generic-progmode-verify):
2486 Make sure to check inside the word (Bug#6761).
2488 2010-11-14 Chong Yidong <cyd@stupidchicken.com>
2490 * startup.el (command-line): If the cursorColor resource is set,
2491 change the cursor face-spec (Bug#7392).
2493 2010-11-13 Ken Manheimer <ken.manheimer@gmail.com>
2495 The main features of the following allout.el changes are:
2496 - implement user customization for the allout key bindings
2497 - add a customization control by which the user can inhibit use of
2498 a trailing Ctrl-H, so by default it's reserved for use with
2499 describe-prefix-bindings
2500 - adapt to new version of called-interactively-p, while
2501 maintaining backwards compatibility with old version
2502 - fix hotspot navigation so i works properly with meta-modified keys
2504 * allout.el (allout-keybindings, allout-bind-keys)
2505 (allout-keybindings-binding, allout-prefixed-keybindings)
2506 (allout-unprefixed-keybindings, allout-preempt-trailing-ctrl-h)
2507 (allout-keybindings-list, allout-mode-map-adjustments)
2508 (allout-setup-mode-map): Establish allout-mode keymaps as user
2509 customizable settings, and also establish a customizable setting which
2510 regulates whether or not a trailing control-h is reserved for use with
2511 describe-prefix-bindings - and inhibit it by default, so that control-h
2512 *is* reserved for describe-prefix-bindings unless the user changes it.
2514 * allout.el (allout-hotspot-key-handler): Distinguish more explicitly
2515 and accurately between modified and unmodified events, and handle
2516 modified events more comprehensively.
2518 * allout.el (allout-substring-no-properties):
2519 Alias to use or provide version of `substring-no-properties'.
2520 (allout-solicit-alternate-bullet): Use `allout-substring-no-properties'.
2522 * allout.el (allout-next-single-char-property-change):
2523 Alias to use or provide version of `next-single-char-property-change'.
2524 (allout-annotate-hidden, allout-hide-by-annotation):
2525 Use `allout-next-single-char-property-change'.
2527 * allout.el (allout-select-safe-coding-system):
2528 Alias to use or provide version of `select-safe-coding-system'.
2529 (allout-toggle-subtree-encryption):
2530 Use `allout-select-safe-coding-system'.
2532 * allout.el (allout-set-buffer-multibyte):
2533 Alias to use or provide version of `set-buffer-multibyte'.
2534 (allout-encrypt-string): Use `allout-set-buffer-multibyte'.
2536 * allout.el (allout-called-interactively-p): Macro for using the
2537 different versions of called-interactively-p identically, depending on
2538 the subroutine's argument signature.
2539 (allout-back-to-current-heading, allout-beginning-of-current-entry):
2540 Use `(interactive "p")' instead of `(called-interactively-p)'.
2542 * allout.el (allout-init, allout-ascend, allout-end-of-level)
2543 (allout-previous-visible-heading, allout-forward-current-level)
2544 (allout-backward-current-level, allout-show-children):
2545 Use `allout-called-interactively-p' instead of `called-interactively-p'.
2547 * allout.el (allout-before-change-handler):
2548 Exempt edits to the (overlaid) character after the allout outline
2549 bullet from edit confirmation prompt.
2551 * allout.el (allout-add-resumptions):
2552 Ensure that it respects correct buffer for keybindings.
2554 * allout.el (allout-beginning-of-line):
2555 Use `allout-previous-single-char-property-change' alias for the sake of
2556 diverse compatibility.
2558 * allout.el (allout-end-of-line):
2559 Use `allout-mark-active-p' to encapsulate respect for mark activity.
2561 2010-11-13 Chong Yidong <cyd@stupidchicken.com>
2563 * frame.el (frame-notice-user-settings): Don't clobber other
2564 user-set parameters when calling face-set-after-frame-default in
2565 response to background-color parameter (Bug#7373).
2567 2010-11-13 Eli Zaretskii <eliz@gnu.org>
2569 * international/characters.el (glyphless-char-display-control):
2570 Rename from glyphless-char-control; all users changed. Doc fix.
2571 Signal an error if display method is not one of the recognized
2574 2010-11-13 Michael Albinus <michael.albinus@gmx.de>
2576 * net/tramp-compat.el (tramp-compat-line-beginning-position)
2577 (tramp-compat-line-end-position): Remove them.
2579 * net/tramp.el (tramp-parse-rhosts-group)
2580 (tramp-parse-shosts-group, tramp-parse-sconfig-group)
2581 (tramp-parse-hosts-group, tramp-parse-passwd-group)
2582 (tramp-parse-netrc-group, tramp-parse-putty-group)
2583 * net/tramp-cmds.el (tramp-append-tramp-buffers)
2584 * net/tramp-sh.el (tramp-do-file-attributes-with-ls)
2585 (tramp-sh-handle-file-selinux-context)
2586 (tramp-sh-handle-file-name-all-completions)
2587 (tramp-sh-handle-insert-directory)
2588 (tramp-sh-handle-expand-file-name, tramp-find-executable)
2589 (tramp-wait-for-output, tramp-send-command-and-read)
2590 * net/tramp-smb.el (tramp-smb-read-file-entry)
2591 (tramp-smb-get-cifs-capabilities): Use `point-at-eol'.
2593 * net/tramp-sh.el (tramp-sh-handle-insert-directory) Use
2595 (tramp-remote-coding-commands): Add an alternative using "base64
2596 -d -i". This is needed for older base64 versions from GNU
2597 coreutils. Reported by Klaus Reichl
2598 <Klaus.Reichl@thalesgroup.com>.
2600 2010-11-13 Hrvoje Niksic <hniksic@xemacs.org>
2602 * simple.el (count-words-region): New function.
2604 2010-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
2606 * shell.el (shell-dir-cookie-re): New custom variable.
2607 (shell-dir-cookie-watcher): New function.
2609 * vc/vc.el (vc-deduce-backend): Use default-directory in shell-mode
2610 and compilation-mode (bug#7350).
2612 * vc/smerge-mode.el (smerge-refine): Choose better default part to
2613 highlight when one of them is empty.
2615 * skeleton.el (skeleton-read): Don't use `newline' since it may strip
2617 (skeleton-newline): New function.
2618 (skeleton-internal-1): Use it.
2620 * simple.el (open-line): `newline' may strip trailing space.
2622 2010-11-12 Kevin Ryde <user42@zip.com.au>
2624 * international/mule-cmds.el (princ-list): Use mapc.
2626 2010-11-12 Glenn Morris <rgm@gnu.org>
2628 * emacs-lisp/bytecomp.el (byte-compile-log-buffer): New constant.
2629 Use it to replace all instances of "*Compile-Log*"
2631 2010-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
2633 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Add debug and
2636 2010-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2638 * progmodes/modula2.el: Use SMIE and skeleton.
2639 (m2-mode-syntax-table): (*..*) can be nested.
2640 Add //...\n. Fix paren syntax.
2641 (m2-mode-map): Remove LF and TAB bindings.
2642 (m2-indent): Add safety property.
2643 (m2-smie-grammar): New var.
2644 (m2-smie-refine-colon, m2-smie-refine-of, m2-smie-backward-token)
2645 (m2-smie-forward-token, m2-smie-refine-semi, m2-smie-rules): New funs.
2646 (m2-mode): Use define-derived-mode.
2647 (m2-newline, m2-tab): Remove.
2648 (m2-begin, m2-case, m2-definition, m2-else, m2-for, m2-header)
2649 (m2-if, m2-loop, m2-module, m2-or, m2-procedure, m2-with, m2-record)
2650 (m2-stdio, m2-type, m2-until, m2-var, m2-while, m2-export)
2651 (m2-import): Use define-skeleton.
2653 2010-11-11 Glenn Morris <rgm@gnu.org>
2655 * obsolete/lucid.el: Don't warn about any CL functions in this file.
2657 * ls-lisp.el (ls-lisp-ignore-case, ls-lisp-dirs-first)
2658 (ls-lisp-verbosity): Add custom :set-after property.
2659 (ls-lisp-verbosity, ls-lisp-use-localized-time-format): Doc fixes.
2660 (ls-lisp-format, ls-lisp-format-time): Don't take `now' as an argument.
2661 (ls-lisp-insert-directory): Update caller.
2662 (ls-lisp-set-options): New function.
2663 (ls-lisp-emulation): Use ls-lisp-set-options for custom :set.
2666 * play/landmark.el (lm-prompt-for-move):
2667 * play/gomoku.el (gomoku-prompt-for-move): Remove nonsensical code.
2669 * progmodes/idlw-complete-structtag.el: Remove unused dec `name'.
2671 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins)
2672 (idlwave-study-twins): Prefix dynamic local variable `name'.
2673 (idlwave-routine-twin-compare): Update for above change.
2675 * progmodes/idlw-help.el (idlwave-do-mouse-completion-help):
2676 Prefix dynamic local variables `name', `kwd', and `link'.
2677 * progmodes/idlw-shell.el (idlwave-shell-complete-execcomm-help):
2678 * progmodes/idlw-complete-structtag.el
2679 (idlwave-complete-structure-tag-help):
2680 * progmodes/idlwave.el (idlwave-complete-sysvar-help)
2681 (idlwave-complete-sysvar-tag-help)
2682 (idlwave-complete-class-structure-tag-help):
2683 Update for above name changes.
2685 2010-11-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
2687 * net/browse-url.el (browse-url-browser-function): Change the
2688 default to use `browse-url-mail' on mailto: URLs.
2690 2010-11-10 Chong Yidong <cyd@stupidchicken.com>
2692 * emacs-lisp/package.el (package-read-all-archive-contents):
2693 Reset package-archive-contents to nil before re-reading.
2695 2010-11-10 Brandon Craig Rhodes <brandon@rhodesmill.org> (tiny change)
2697 * textmodes/flyspell.el (flyspell-word): Do not re-check words
2698 already found as misspellings by (flyspell-large-region), just
2699 do highlighting (bug#7322).
2701 2010-11-10 Glenn Morris <rgm@gnu.org>
2703 * progmodes/octave-mod.el (octave-mark-block): Update for smie change.
2705 * emulation/edt.el (edt-with-position): New macro.
2706 (edt-find-forward, edt-find-backward, edt-find-next-forward)
2707 (edt-find-next-backward, edt-sentence-forward, edt-sentence-backward)
2708 (edt-paragraph-forward, edt-paragraph-backward): Use it.
2710 * emulation/tpu-extras.el (tpu-with-position): New macro.
2711 (tpu-paragraph, tpu-page, tpu-search-internal): Use it.
2713 * textmodes/texnfo-upd.el (texinfo-pointer-name): Fix typo.
2715 * textmodes/texnfo-upd.el (texinfo-all-menus-update)
2716 (texinfo-menu-copy-old-description, texinfo-start-menu-description)
2717 (texinfo-master-menu, texinfo-insert-node-lines)
2718 (texinfo-multiple-files-update):
2719 * textmodes/texinfmt.el (texinfo-append-refill, texinfo-copying):
2720 Use line-beginning-position.
2722 * progmodes/cperl-mode.el (cperl-find-pods-heres, cperl-write-tags):
2723 No recent Emacs supports system-type `emx'.
2725 * progmodes/ada-xref.el (is-windows): Rename to ada-on-ms-windows.
2726 (ada-command-separator, ada-default-prj-properties)
2727 (ada-find-any-references): Update for above name change.
2729 * dirtrack.el (dirtrack-directory-function)
2730 (dirtrack-canonicalize-function):
2731 * filecache.el (file-cache-completion-ignore-case)
2732 (file-cache-case-fold-search, file-cache-ignore-case):
2733 * term.el (serial-port-is-file-p): Cosmetic change.
2735 * emulation/viper-init.el (viper-ms-style-os-p): Doc fix.
2736 Remove non-existent `windows-95' system-type.
2737 * dired.el (dired-chown-program): Remove non-existent `linux'
2740 * net/net-utils.el (net-utils-remove-ctl-m): Use memq for system-types.
2741 (ping-program-options): Remove non-existent `linux' system-type.
2743 * startup.el (package-initialize): Update declaration.
2745 * ls-lisp.el (ls-lisp-time-lessp, ls-lisp-time-to-seconds): Remove.
2746 (ls-lisp-handle-switches): Use time-less-p.
2747 (ls-lisp-format-time): Use float-time.
2749 * textmodes/remember.el (remember-time-to-seconds): Remove.
2750 (remember-store-in-mailbox): Use float-time.
2752 * calendar/timeclock.el (timeclock-time-to-seconds): Make it an alias.
2754 * calendar/time-date.el (time-to-seconds): Always an alias on Emacs,
2755 never a real function.
2756 (with-no-warnings): Remove compat stub, now unused.
2757 (time-less-p): Doc fix.
2758 (time-to-number-of-days): Simplify.
2760 * eshell/esh-util.el (eshell-time-less-p, eshell-time-to-seconds):
2762 (eshell-read-passwd, eshell-read-hosts): Use time-less-p.
2763 * eshell/esh-test.el (eshell-test, eshell-show-usage-metrics):
2764 * eshell/em-unix.el (eshell-show-elapsed-time, eshell/time):
2765 * eshell/em-pred.el (eshell-pred-file-time): Use float-time.
2766 * eshell/em-ls.el (eshell-ls-sort-entries): Use time-less-p.
2768 * eshell/em-unix.el (eshell-remove-entries, eshell/rm)
2769 (eshell-shuffle-files, eshell-shorthand-tar-command)
2770 (eshell-mvcpln-template, eshell/mv, eshell/cp, eshell/ln):
2771 Prefix dynamic locals `interactive', `preview', `recursive', `verbose'.
2772 * eshell/em-glob.el (eshell-extended-glob, eshell-glob-entries):
2773 Prefix dynamic local variable `matches'.
2775 * skeleton.el (skeleton-internal-list, skeleton-internal-1):
2776 Prefix dynamic local variable `skeleton'.
2778 2010-11-10 Katsumi Yamaoka <yamaoka@jpl.org>
2780 * net/browse-url.el (browse-url-mail): Insert body part of mailto url
2781 in mail buffer; make yank-action always a command that yanks original
2784 2010-11-09 Glenn Morris <rgm@gnu.org>
2786 * progmodes/tcl.el (tcl-hairy-scan-for-comment): Doc fix.
2788 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
2790 * minibuffer.el (minibuffer-completion-help): Specify the end of the
2791 completion field (bug#7211).
2793 * progmodes/python.el (python-font-lock-syntactic-keywords): (bug#7322)
2794 Fix handling of backslash escapes.
2795 (python-quote-syntax): Adjust accordingly.
2797 2010-11-09 Richard Levitte <richard@levitte.org> (tiny change)
2799 * vc-mtn.el (vc-mtn-working-revision, vc-mtn-after-dir-status)
2800 (vc-mtn-workfile-branch): Adjust to new output format.
2802 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
2804 * international/mule-cmds.el (princ-list): Mark as obsolete.
2806 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
2808 * emacs-lisp/smie.el: New package.
2810 2010-11-09 Michael Albinus <michael.albinus@gmx.de>
2812 * files.el (backup-by-copying-when-mismatch):
2813 Set `permanent-local' property.
2815 * net/tramp.el (tramp-handle-insert-file-contents): Do not set
2816 `permanent-local' property for `backup-by-copying-when-mismatch'.
2818 2010-11-09 Eli Zaretskii <eliz@gnu.org>
2820 * ls-lisp.el (insert-directory): Doc fix. (bug#7285)
2822 2010-11-09 Wilson Snyder <wsnyder@wsnyder.org>
2824 * progmodes/verilog-mode.el (verilog-insert-one-definition)
2825 (verilog-read-decls, verilog-read-sub-decls-sig): Fix AUTOWIRE and
2826 AUTOINOUT for SV style multidimensional arrays, bug294.
2827 Reported by Eric Mastromarchi.
2828 (verilog-preprocess): Use with-current-buffer and
2829 font-lock-fontify-buffer to cleanup style issues.
2831 2010-11-09 Glenn Morris <rgm@gnu.org>
2833 * locate.el (locate, locate-mode): Doc fixes.
2835 2010-11-09 Chong Yidong <cyd@stupidchicken.com>
2837 * server.el (server-start): New arg INHIBIT-PROMPT prevents asking
2838 user for confirmation.
2839 (server-force-stop): Use it.
2840 (server-start): Use server-force-stop for kill-emacs-hook, to
2841 avoid user interaction while killing Emacs.
2843 2010-11-09 Glenn Morris <rgm@gnu.org>
2845 * progmodes/meta-mode.el: Remove leading `*' from defcustom docs.
2846 (meta-indent-line): Simplify.
2848 * vc/emerge.el (emerge-line-number-in-buf):
2849 * textmodes/ispell.el (ispell-region):
2850 * textmodes/fill.el (current-fill-column):
2851 * progmodes/xscheme.el (xscheme-send-current-line):
2852 * progmodes/vhdl-mode.el (vhdl-current-line, vhdl-line-copy):
2853 * progmodes/tcl.el (tcl-hairy-scan-for-comment):
2854 * progmodes/sh-script.el (sh-handle-prev-do):
2855 * progmodes/meta-mode.el (meta-indent-line):
2856 * progmodes/idlwave.el (idlwave-goto-comment, idlwave-fill-paragraph)
2858 * progmodes/idlw-shell.el (idlwave-shell-current-frame)
2859 (idlwave-shell-update-bp-overlays, idlwave-shell-sources-filter):
2860 * progmodes/fortran.el (fortran-looking-at-if-then):
2861 * progmodes/etags.el (find-tag-in-order, etags-snarf-tag):
2862 * progmodes/cperl-mode.el (cperl-sniff-for-indent)
2863 (cperl-find-pods-heres):
2864 * progmodes/ada-mode.el (ada-get-current-indent, ada-narrow-to-defun):
2865 * net/quickurl.el (quickurl-list-insert):
2866 * net/ldap.el (ldap-search-internal):
2867 * net/eudc.el (eudc-expand-inline):
2868 * mail/sendmail.el (sendmail-send-it):
2869 * mail/mspools.el (mspools-visit-spool, mspools-get-spool-name):
2870 * emulation/viper-cmd.el (viper-paren-match, viper-backward-indent)
2871 (viper-brac-function):
2872 * calc/calc-yank.el (calc-do-grab-region):
2873 * calc/calc-keypd.el (calc-keypad-press):
2874 * term.el (term-move-columns, term-insert-spaces):
2875 * speedbar.el (speedbar-highlight-one-tag-line):
2876 * simple.el (current-word):
2877 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
2878 * info.el (Info-find-node-in-buffer-1, Info-follow-reference)
2880 * hippie-exp.el (he-line-beg):
2881 * epa.el (epa--marked-keys):
2882 * dired-aux.el (dired-kill-line, dired-do-kill-lines)
2883 (dired-update-file-line, dired-add-entry, dired-remove-entry)
2884 (dired-relist-entry):
2885 * buff-menu.el (Buffer-menu-buffer):
2886 * array.el (current-line):
2887 * allout.el (allout-resolve-xref)
2888 (allout-latex-verbatim-quote-curr-line):
2889 Replace yet more uses of end-of-line etc with line-end-position, etc.
2891 2010-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2893 * emacs-lisp/checkdoc.el (checkdoc-display-status-buffer)
2894 (checkdoc-interactive-loop, checkdoc-recursive-edit): Avoid princ-list.
2895 (checkdoc-syntax-table): Initialize in the declaration.
2896 (emacs-lisp-mode-hook): Use just checkdoc-minor-mode now that it turns
2897 the mode on unconditionally.
2899 * emacs-lisp/cl-macs.el (extent-data, extent-face, extent-priority)
2900 (extent-end-position, extent-start-position): Remove setf method for
2901 non-existing functions (bug#7319).
2903 2010-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
2905 * emacs-lisp/smie.el: Simplify the smie-rules-function return values.
2906 (smie-precs->prec2): Rename from smie-precs-precedence-table.
2907 (smie-bnf->prec2): Rename from smie-bnf-precedence-table.
2908 (smie-prec2->grammar): Rename from smie-prec2-levels.
2909 (smie-grammar): Rename from smie-op-levels.
2910 (smie-indent--hanging-p): Rename from smie-hanging-p.
2911 (smie-rule-hanging-p): New alias.
2912 (smie-indent--bolp): Rename from smie-bolp.
2913 (smie-indent--hanging-p): New alias.
2914 (smie--token): New dynamically bound variable.
2915 (smie-indent--parent): New function.
2916 (smie-rule-parent-p): Use it; rename from smie-parent-p.
2917 (smie-rule-next-p): Rename from smie-next-p.
2918 (smie-rule-prev-p): Rename from smie-prev-p.
2919 (smie-rule-sibling-p, smie-rule-parent)
2920 (smie-indent--separator-outdent, smie-rule-separator): New functions.
2921 (smie-rule-separator-outdent): New var.
2922 (smie-indent--rule): Merge with smie-indent--column.
2923 (smie-indent-forward-token, smie-indent-backward-token):
2924 Also recognize close parens.
2925 (smie-indent-keyword): Don't use smie-indent--column any more.
2926 (smie-indent-after-keyword): Ignore closers by default.
2927 (smie-indent-line): Use with-demoted-errors.
2928 * progmodes/octave-mod.el (octave-smie-grammar):
2929 Rename from octave-smie-op-levels.
2930 (octave-smie-rules): Adjust to new behavior.
2931 * progmodes/prolog.el (prolog-smie-grammar):
2932 Rename from prolog-smie-op-levels.
2934 2010-11-07 Glenn Morris <rgm@gnu.org>
2936 * eshell/esh-util.el (subst-char-in-string)
2937 (directory-files-and-attributes): These compatibility definitions are
2938 not needed on any version of Emacs since at least 21.4.
2940 * progmodes/verilog-mode.el (verilog-get-beg-of-line)
2941 (verilog-get-end-of-line): Remove.
2942 (verilog-within-string, verilog-re-search-forward-substr)
2943 (verilog-re-search-backward-substr, verilog-set-auto-endcomments)
2944 (verilog-surelint-off, verilog-getopt-file, verilog-highlight-region):
2945 Use point-at-bol, point-at-eol.
2946 * progmodes/pascal.el (pascal-get-beg-of-line, pascal-get-end-of-line):
2948 (pascal-declaration-end, pascal-declaration-beg, pascal-within-string)
2949 (electric-pascal-terminate-line, pascal-set-auto-comments)
2950 (pascal-indent-paramlist, pascal-indent-declaration)
2951 (pascal-get-lineup-indent, pascal-func-completion)
2952 (pascal-get-completion-decl, pascal-var-completion, pascal-completion):
2953 Use point-at-bol, point-at-eol.
2954 * progmodes/flymake.el (flymake-line-beginning-position)
2955 (flymake-line-end-position): Remove.
2956 (flymake-highlight-line): Use point-at-bol, point-at-eol.
2957 * eshell/esh-util.el (line-end-position, line-beginning-position):
2958 Remove compat definitions.
2960 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
2962 (checkdoc-this-string-valid-engine, checkdoc-file-comments-engine):
2963 Use line-end-position.
2965 * emacs-lisp/chart.el (chart-zap-chars):
2966 * play/decipher.el (decipher-set-map):
2967 * progmodes/ada-mode.el (ada-get-current-indent)
2968 (ada-search-ignore-string-comment, ada-tab-hard, ada-untab-hard):
2969 * progmodes/ada-prj.el (ada-prj-load-from-file, ada-prj-display-help):
2970 * progmodes/ada-xref.el (ada-initialize-runtime-library)
2971 (ada-get-all-references):
2972 * progmodes/cperl-mode.el (cperl-electric-paren)
2973 (cperl-electric-rparen, cperl-electric-keyword, cperl-electric-else)
2974 (cperl-linefeed, cperl-sniff-for-indent, cperl-to-comment-or-eol)
2975 (cperl-find-pods-heres, cperl-indent-exp, cperl-fix-line-spacing)
2976 (cperl-word-at-point-hard):
2977 * progmodes/idlw-shell.el (idlwave-shell-move-or-history)
2978 (idlwave-shell-filename-string, idlwave-shell-batch-command)
2979 (idlwave-shell-display-line):
2980 * progmodes/idlwave.el (idlwave-show-begin, idlwave-fill-paragraph)
2981 (idlwave-calc-hanging-indent, idlwave-auto-fill, idlwave-template):
2982 * progmodes/js.el (js--re-search-forward-inner)
2983 (js--re-search-backward-inner):
2984 * progmodes/vhdl-mode.el (vhdl-align-region-1, vhdl-align-region-2)
2985 (vhdl-fix-clause, vhdl-compose-configuration-architecture):
2986 * progmodes/ruby-mode.el (ruby-parse-partial, eval-when-compile):
2987 * textmodes/flyspell.el (flyspell-process-localwords):
2988 * textmodes/ispell.el (ispell-buffer-local-parsing)
2989 (ispell-buffer-local-dict, ispell-buffer-local-words):
2990 Use point-at-bol and point-at-eol.
2992 * speedbar.el (speedbar-generic-item-info)
2993 (speedbar-item-info-tag-helper, speedbar-change-expand-button-char)
2994 (speedbar-add-indicator, speedbar-check-vc-this-line)
2995 (speedbar-check-obj-this-line, speedbar-extract-one-symbol)
2996 (speedbar-buffers-line-directory, speedbar-buffer-revert-buffer):
2997 Replace more uses of end-of-line etc with line-end-position.
2999 2010-11-06 Glenn Morris <rgm@gnu.org>
3001 * textmodes/texnfo-upd.el (texinfo-start-menu-description)
3002 (texinfo-update-menu-region-beginning, texinfo-menu-first-node)
3003 (texinfo-delete-existing-pointers, texinfo-find-pointer)
3004 (texinfo-clean-up-node-line, texinfo-insert-node-lines)
3005 (texinfo-multiple-files-update):
3006 * textmodes/table.el (table--probe-cell-left-up)
3007 (table--probe-cell-right-bottom):
3008 * textmodes/picture.el (picture-tab-search):
3009 * textmodes/page-ext.el (pages-copy-header-and-position)
3010 (pages-directory-for-addresses):
3011 * progmodes/vera-mode.el (vera-get-offset):
3012 * progmodes/simula.el (simula-calculate-indent):
3013 * progmodes/python.el (python-pdbtrack-overlay-arrow):
3014 * progmodes/prolog.el (end-of-prolog-clause):
3015 * progmodes/perl-mode.el (perl-calculate-indent, perl-indent-exp):
3016 * progmodes/icon.el (indent-icon-exp):
3017 * progmodes/etags.el (tag-re-match-p):
3018 * progmodes/ebrowse.el (ebrowse-show-file-name-at-point):
3019 * progmodes/ebnf2ps.el (ebnf-begin-file):
3020 * progmodes/dcl-mode.el (dcl-back-to-indentation-1)
3021 (dcl-save-local-variable):
3022 * play/life.el (life-setup):
3023 * play/gametree.el (gametree-looking-at-ply):
3024 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
3025 * mail/sendmail.el (mail-mode-auto-fill):
3026 * emacs-lisp/lisp-mode.el (calculate-lisp-indent):
3027 * emacs-lisp/edebug.el (edebug-overlay-arrow):
3028 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid):
3029 * woman.el (woman-parse-numeric-value, woman2-TH, woman2-SH)
3030 (woman-tab-to-tab-stop, WoMan-warn-ignored):
3031 * type-break.el (type-break-file-keystroke-count):
3032 * term.el (term-replace-by-expanded-history-before-point)
3033 (term-skip-prompt, term-extract-string):
3034 * speedbar.el (speedbar-edit-line, speedbar-expand-line)
3035 (speedbar-contract-line, speedbar-toggle-line-expansion)
3036 (speedbar-parse-c-or-c++tag, speedbar-parse-tex-string)
3037 (speedbar-buffer-revert-buffer, speedbar-highlight-one-tag-line):
3038 * sort.el (sort-skip-fields):
3039 * skeleton.el (skeleton-internal-list):
3040 * simple.el (line-move-finish, line-move-to-column):
3041 * shell.el (shell-forward-command):
3042 * misc.el (copy-from-above-command):
3043 * makesum.el (double-column):
3044 * ebuff-menu.el (electric-buffer-update-highlight):
3045 * dired.el (dired-move-to-end-of-filename):
3046 * dframe.el (dframe-popup-kludge):
3047 * bookmark.el (bookmark-kill-line, bookmark-bmenu-show-filenames):
3048 * arc-mode.el (archive-get-lineno):
3049 Use line-end-position and line-beginning-position.
3051 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins):
3052 (idlwave-study-twins): Prefix dynamic local `class'.
3053 (idlwave-routine-twin-compare): Update for above name change.
3055 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod):
3056 Use boundp tests to silence compiler. Update for changed name of
3057 bytecomp-filename variable.
3059 * emulation/viper-cmd.el (viper-read-string-with-history):
3060 Prefix dynamic local `initial'.
3061 (viper-minibuffer-standard-hook): Update for above name change.
3063 * emacs-lisp/elint.el (elint-init-env): Prefix dynamic local `env'.
3064 (elint-init-form): Update for above name change.
3066 * mail/mail-extr.el (mail-extract-address-components): Give dynamic
3067 local variables `cbeg' and `cend' a prefix.
3068 (mail-extr-voodoo): Update for above name change.
3070 * textmodes/reftex-toc.el (reftex-toc-do-promote)
3071 (reftex-toc-promote-prepare): Pass `delta' as an explicit argument.
3072 (reftex-toc-promote-action): Doc fix.
3074 * textmodes/reftex-sel.el (reftex-select-item): Give local variables
3075 `prompt', `data' a prefix.
3076 (reftex-select-post-command-hook, reftex-select-callback)
3077 (reftex-select-mouse-accept, reftex-select-read-cite):
3078 Update for above name changes.
3080 * textmodes/reftex-ref.el (reftex-reference): Rename local variable
3081 `refstyle' to reftex-refstyle.
3082 (reftex-offer-label-menu): Update for above name change.
3083 * textmodes/reftex-sel.el (reftex-select-toggle-varioref): Update for
3084 `refstyle' name change.
3086 * vc/emerge.el (emerge-eval-in-buffer): Remove, and replace all uses
3087 with with-current-buffer.
3088 (diff, template): Give dynamic local variables a prefix.
3089 (emerge-line-numbers): Rename local `diff' to emerge-line-diff.
3090 (emerge-line-number-in-buf): Update for above name change.
3091 (emerge-combine-versions-internal): Rename local `template' to
3092 emerge-combine-template.
3093 (emerge-combine-versions-edit): Update for above name change.
3095 2010-11-06 Ralf Angeli <angeli@caeruleus.net>
3097 * textmodes/reftex-cite.el
3098 (reftex-extract-bib-entries-from-thebibliography): Match bibitem
3099 entries with whitespace after \bibitem.
3100 (reftex-create-bibtex-file): Match entries containing numbers and
3101 symbol constituents. Make sure that entries with whitespace at
3102 various places are found.
3104 2010-11-05 Christian Millour <cm@abtela.com> (tiny change)
3106 * shell.el (shell-process-popd): Made aware of comint-file-name-prefix.
3108 2010-11-05 Jan Djärv <jan.h.d@swipnet.se>
3110 * mouse.el (mouse-yank-primary): Update comment (Bug#6802).
3112 2010-11-05 Glenn Morris <rgm@gnu.org>
3114 * woman.el (woman0-roff-buffer, woman1-roff-buffer)
3115 (woman2-roff-buffer): Give local variable `request' a prefix.
3116 (woman0-macro): Rename argument `request' in the same way.
3117 (woman-request): New name for `request' dynamic variable.
3118 (woman-unquote, woman-forward-arg): Update for above name change.
3119 (woman1-roff-buffer): Give local variable `unquote' a prefix.
3120 (woman1-unquote): New name for `unquote' dynamic variable.
3121 (woman1-B-or-I, woman1-alt-fonts): Update for above name change.
3122 (woman-translations): Rename from `translations'. No longer global.
3123 (woman2-tr, woman-translate): Update for above name change.
3124 (woman-translate): Check for bound variable.
3125 (woman2-roff-buffer): Give local variable `translations' a prefix.
3127 * play/doctor.el: Give all local variables a prefix. Update callers.
3128 (doc$, doctor-put-meaning): Use backquote.
3130 * emacs-lisp/cl-macs.el (loop): Give local variable args a prefix.
3131 (cl-parse-loop-clause, cl-loop-handle-accum): Update for above change.
3133 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Give local
3134 variables bytes, ptr, op a prefix.
3135 (disassemble-offset): Update for above change.
3137 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
3139 * emacs-lisp/package.el (package-unpack): Remove no-op.
3140 (package--builtins, package--dir): Doc fix.
3141 (package-activate-1, package-activate, package-install)
3142 (package-compute-transaction): Fix error message.
3143 (package-delete): Use delete-directory. Omit system packages.
3144 (package-initialize): Set package-alist to nil first.
3145 (package-menu-mark-delete, package-menu-mark-install): Don't add
3146 symbols that are inconsistent with the package state.
3147 (package-menu-execute): Perform deletions and installations as
3148 single batch operations.
3150 2010-11-03 Glenn Morris <rgm@gnu.org>
3152 * progmodes/idlwave.el (idlwave-pset): Only used on XEmacs.
3153 (props): Remove unnecessary declaration.
3155 * textmodes/ispell.el (ispell-init-process): On Emacs, always use
3156 set-process-query-on-exit-flag.
3158 * textmodes/reftex-toc.el (name1, dummy, dummy2): Remove unused decs.
3159 (reftex-toc-do-promote): Remove unused local `mpos'.
3160 (reftex-toc-restore-region): Make `mpos' local to this function.
3162 * net/dbus.el (dbus-name-owner-changed-handler): Doc fix.
3164 * play/landmark.el (lm-losing-threshold): Correct spelling.
3165 (lm-human-plays): Use new name.
3167 * play/gomoku.el (gomoku-loosing-threshold): Correct spelling.
3168 (gomoku-human-plays): Use new name.
3170 * play/gomoku.el (nil-score, Xscore, XXscore, XXXscore, XXXXscore)
3171 (Oscore, OOscore, OOOscore, OOOOscore): Rename with gomoku- prefix.
3172 (gomoku-score-trans-table, gomoku-winning-threshold)
3173 (gomoku-loosing-threshold, gomoku-init-score-table): Use new names.
3175 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
3177 * emacs-lisp/package.el: Don't put built-in packages in
3178 package-alist, to avoid loading inefficiencies.
3179 (package-built-in-p): Make VERSION optional, and treat it as a
3180 minimum acceptable version.
3181 (package-activate): Search separately for built-in packages.
3182 Emit a warning if a dependency fails.
3183 (define-package): Handle most common case, where there is no
3184 obsolete package, first.
3185 (package-compute-transaction): Print required version in error.
3186 (package--initialized): New variable.
3187 (list-packages): Use it.
3188 (package-initialize): Optional arg NO-ACTIVATE. Don't put
3189 built-in packages in packages-alist; keep it separate.
3190 Set package--initialized.
3191 (describe-package): Avoid activating packages as a side-effect.
3192 Search separately for built-in packages.
3193 (describe-package-1): Handle the case where an elpa package is
3194 simultaneously built-in and available/installed.
3195 (package-installed-p, package--generate-package-list):
3196 Search separately for built-in packages.
3197 (package-load-descriptor): Doc fix.
3199 2010-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
3201 * progmodes/perl-mode.el (perl-syntax-propertize-function):
3202 Handle __DATA__ and __END__.
3204 2010-11-02 Noah Friedman <friedman@splode.com>
3206 * emacs-lisp/bytecomp.el (byte-recompile-file): If bytecomp-arg is
3207 nil, do not ask to recompile files that are not already compiled,
3208 and do not recompile them.
3210 2010-11-02 Chong Yidong <cyd@stupidchicken.com>
3212 * emacs-lisp/package.el (package-initialize): Ensure that
3213 obsoleted built-in packages are not in package-activated-list
3215 (describe-package-1): Make the "installed" status override
3218 2010-11-01 Vinicius Jose Latorre <viniciusjl@ig.com.br>
3220 * subr.el (version-separator, version-regexp-alist): Remove '*'
3222 (version-list-<=, version<=, version=): Doc fix.
3224 2010-11-01 Kenichi Handa <handa@m17n.org>
3226 * faces.el (glyphless-char): Inherit underline for tty.
3228 2010-11-01 Kenichi Handa <handa@m17n.org>
3230 Implement various display methods for glyphless characters.
3232 * international/characters.el (char-acronym-table): New variable.
3233 (glyphless-char-control): New variable.
3234 (update-glyphless-char-display): New funciton.
3236 * faces.el (glyphless-char): New face.
3238 2010-11-01 Glenn Morris <rgm@gnu.org>
3240 * calendar/holidays.el (general-holidays, oriental-holidays)
3241 (local-holidays, other-holidays, hebrew-holidays, christian-holidays)
3242 (islamic-holidays, bahai-holidays, solar-holidays): Move aliases before
3243 the definitions of their targets.
3245 * emacs-lisp/smie.el (smie): New custom group.
3246 (smie-blink-matching-inners, smie-indent-basic): Add :group.
3248 * faces.el (xw-defined-colors, x-setup-function-keys):
3249 * mouse-sel.el (x-select-text):
3250 * term/w32console.el (x-setup-function-keys): Update declarations.
3252 * progmodes/ruby-mode.el (ruby-syntax-propertize-heredoc): Declare.
3254 * textmodes/ispell.el (comment-add): Declare.
3256 * net/gnutls.el (gnutls-boot, gnutls-errorp, gnutls-error-string):
3259 * info.el (finder-keywords-hash, package-alist): Declare.
3261 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
3263 * finder.el (finder-compile-keywords): Don't use intern-soft,
3264 since package names may not yet exist in the obarray.
3266 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
3268 * vc/vc-arch.el (vc-arch-checkin):
3269 * vc/vc-cvs.el (vc-cvs-checkin):
3270 * vc/vc-mtn.el (vc-mtn-checkin):
3271 * vc/vc-rcs.el (vc-rcs-checkin):
3272 * vc/vc-sccs.el (vc-sccs-checkin):
3273 * vc/vc-svn.el (vc-svn-checkin): Remove optional extra arg, unused
3274 since 2010-04-21 commit by Stefan Monnier.
3276 2010-11-01 Glenn Morris <rgm@gnu.org>
3278 * emacs-lisp/bytecomp.el (byte-recompile-file): Fix previous change.
3280 * startup.el (package-enable-at-startup, package-initialize):
3283 * progmodes/ada-mode.el (ada-font-lock-syntactic-keywords):
3286 2010-10-31 Julien Danjou <julien@danjou.info>
3288 * emacs-lisp/bytecomp.el (byte-recompile-file): New fun (bug#7297).
3289 (byte-recompile-directory):
3290 * emacs-lisp/lisp-mode.el (emacs-lisp-byte-compile-and-load):
3291 Use `byte-recompile-file'.
3293 2010-10-31 Glenn Morris <rgm@gnu.org>
3295 * cus-start.el: Handle standard values via a keyword.
3296 Only set version property if specified.
3297 (cursor-in-non-selected-windows, menu-bar-mode)
3298 (tool-bar-mode, show-trailing-whitespace):
3299 Do not specify standard values.
3300 (transient-mark-mode, temporary-file-directory): Use :standard.
3302 2010-10-31 Jan Djärv <jan.h.d@swipnet.se>
3304 * term/x-win.el (x-get-selection-value): New function that gets
3305 PRIMARY with type as specified in x-select-request-type. (Bug#6802).
3307 2010-10-31 Michael Albinus <michael.albinus@gmx.de>
3309 * net/tramp.el (tramp-handle-insert-file-contents): For root,
3310 preserve owner and group when editing files. (Bug#7289)
3312 2010-10-31 Glenn Morris <rgm@gnu.org>
3314 * speedbar.el (speedbar-mode):
3315 * play/fortune.el (fortune-in-buffer, fortune):
3316 * play/gomoku.el (gomoku-mode):
3317 * play/landmark.el (lm-mode):
3318 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
3319 Replace inappropriate uses of toggle-read-only. (Bug#7292)
3321 * select.el (x-selection): Mark it as an obsolete alias.
3323 2010-10-31 Aaron S. Hawley <aaron.s.hawley@gmail.com>
3325 * vc/add-log.el (find-change-log): Use derived-mode-p rather than
3326 major-mode (bug#7284).
3328 2010-10-31 Glenn Morris <rgm@gnu.org>
3330 * menu-bar.el (menu-bar-files-menu): Make it into an actual alias,
3331 rather than just an unused variable that inherits from the real one.
3333 2010-10-31 Alan Mackenzie <acm@muc.de>
3335 * progmodes/cc-cmds.el (c-mask-paragraph): Fix an off-by-1 error.
3336 This fixes bug #7185.
3338 2010-10-30 Chong Yidong <cyd@stupidchicken.com>
3340 * startup.el (command-line): Search for package directories, and
3341 don't load package.el if none are found.
3343 * emacs-lisp/package.el (describe-package, list-packages):
3344 Call package-initialize if it has not been called yet.
3346 2010-10-30 Alan Mackenzie <acm@muc.de>
3348 * progmodes/cc-fonts.el (c-font-lock-enum-tail): New function
3349 which fontifies the tail of an enum.
3350 (c-basic-matchers-after): Insert a call to the above new function.
3351 This fixes bug #7264.
3353 2010-10-30 Glenn Morris <rgm@gnu.org>
3355 * cus-start.el: Add :set properties for minor modes menu-bar-mode,
3356 tool-bar-mode, transient-mark-mode. (Bug#7306)
3357 Include the :set property in the dumped Emacs.
3359 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
3361 SMIE: change indent rules format, improve smie-setup.
3362 * emacs-lisp/smie.el (smie-precs-precedence-table)
3363 (smie-merge-prec2s, smie-bnf-precedence-table, smie-prec2-levels):
3364 Mark them pure so the tables gets built at compile time.
3365 (smie-bnf-precedence-table): Store the closer-alist in the table.
3366 (smie-prec2-levels): Preserve the closer-alist.
3367 (smie-blink-matching-open): Be more forgiving in case of indentation.
3368 (smie-hanging-p): Rename from smie-indent--hanging-p.
3369 (smie-bolp): Rename from smie-indent--bolp.
3370 (smie--parent, smie--after): New dynamic vars.
3371 (smie-parent-p, smie-next-p, smie-prev-p): New funs.
3372 (smie-indent-rules): Remove.
3373 (smie-indent--offset-rule): Remove fun.
3374 (smie-rules-function): New var.
3375 (smie-indent--rule): New fun.
3376 (smie-indent--offset, smie-indent-keyword, smie-indent-after-keyword)
3377 (smie-indent-exps): Use it.
3378 (smie-setup): Setup paren blinking; add keyword args for token
3379 functions; extract closer-alist from op-levels.
3380 (smie-indent-debug-log): Remove var.
3381 (smie-indent-debug): Remove fun.
3382 * progmodes/prolog.el (prolog-smie-indent-rules): Remove.
3383 (prolog-smie-rules): New fun to replace it.
3384 (prolog-mode-variables): Simplify.
3385 * progmodes/octave-mod.el (octave-smie-closer-alist): Remove, now that
3386 it's setup automatically.
3387 (octave-smie-indent-rules): Remove.
3388 (octave-smie-rules): New fun to replace it.
3389 (octave-mode): Simplify.
3391 2010-10-29 Glenn Morris <rgm@gnu.org>
3393 * files.el (temporary-file-directory): Remove (already defined in C).
3394 * cus-start.el: Add temporary-file-directory.
3396 * abbrev.el (abbrev-mode):
3397 * composite.el (auto-composition-mode):
3398 * menu-bar.el (menu-bar-mode):
3399 * simple.el (transient-mark-mode):
3400 * tool-bar.el (tool-bar-mode): Adjust the define-minor-mode calls so
3401 that they do not define the associated variables twice.
3402 * simple.el (transient-mark-mode): Remove defvar.
3403 * composite.el (auto-composition-mode): Make variable auto-buffer-local.
3404 * cus-start.el: Add transient-mark-mode, menu-bar-mode, tool-bar-mode.
3405 Handle multiple groups, and also custom-delayed-init-variables.
3406 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
3408 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
3410 * emacs-lisp/pcase.el (pcase): New `string' and `guard' patterns.
3411 (pcase-if): Add one minor optimization.
3412 (pcase-split-equal): Rename from pcase-split-eq.
3413 (pcase-split-member): Rename from pcase-split-memq.
3414 (pcase-u1): Add strings to the member optimization.
3415 Add `guard' variant of predicates.
3416 (pcase-q1): Add string patterns.
3418 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
3420 * vc/log-edit.el (log-edit-rewrite-fixes): State its safety pred.
3422 2010-10-28 Glenn Morris <rgm@gnu.org>
3424 * term/ns-win.el (global-map, menu-bar-final-items, menu-bar-help-menu):
3425 Move menu-bar related settings to ../menu-bar.el.
3426 * menu-bar.el (global-map, menu-bar-final-items, menu-bar-help-menu):
3427 Move ns-specific settings here from term/ns-win.el.
3429 * simple.el (x-selection-owner-p): Remove unused declaration.
3431 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
3433 * minibuffer.el (completion-cycling): New var (bug#7266).
3434 (minibuffer-complete, completion--do-completion):
3435 Use completion--flush-all-sorted-completions.
3436 (minibuffer-complete): Only cycle if completion-cycling is set.
3437 (completion--flush-all-sorted-completions): Unset completion-cycling.
3438 (minibuffer-force-complete): Set completion-cycling.
3439 (completion-all-sorted-completions): Move declaration before first use.
3441 2010-10-28 Leo <sdl.web@gmail.com>
3443 * iswitchb.el (iswitchb-kill-buffer): Avoid `iswitchb-make-buflist'
3444 which changes the order of matches seen by users (bug#7231).
3446 2010-10-28 Jes Bodi Klinke <jes@bodi-klinke.dk> (tiny change)
3448 * progmodes/compile.el (compilation-mode-font-lock-keywords):
3449 Don't confuse -omega as "-o mega".
3451 2010-10-27 Stefan Monnier <monnier@iro.umontreal.ca>
3453 * vc/log-edit.el (log-edit-rewrite-fixes): New var.
3454 (log-edit-author): New dynamic var.
3455 (log-edit-changelog-ours-p, log-edit-insert-changelog-entries): Use it
3456 to return the author if different from committer.
3457 (log-edit-insert-changelog): Use them to add Author: and Fixes headers.
3459 * play/landmark.el: Adjust commenting convention.
3460 (lm-nil-score): Rename from nil-score.
3461 (Xscore, XXscore, XXXscore, XXXXscore, Oscore, OOscore, OOOscore)
3462 (OOOOscore): Move into a let in lm-score-trans-table.
3463 (lm-winning-threshold, lm-loosing-threshold): Use lm-score-trans-table.
3465 * electric.el (electric-indent-chars): Autoload.
3466 * progmodes/octave-mod.el (octave-mode):
3467 * progmodes/ruby-mode.el (ruby-mode): Take advantage of it.
3468 (ruby-mode-abbrev-table): Merge initialization and declaration.
3470 2010-10-27 Glenn Morris <rgm@gnu.org>
3472 * abbrev.el (abbrev-mode): Remove one of the three definitions of this
3475 * server.el (server-host, server-port, server-auth-dir): Autoload risky.
3477 * term/ns-win.el: Restore require of cl when compiling.
3478 (menu-bar-final-items): Remove non-existent `windows' menu.
3479 (ns-handle-nxopen): Optionally handle the temp-case.
3480 (ns-handle-nxopentemp): Just call ns-handle-nxopen.
3481 (ns-insert-file, ns-find-file): Use `pop'.
3483 2010-10-26 Glenn Morris <rgm@gnu.org>
3485 * term/common-win.el (xw-defined-colors): Simplify the 'ns case.
3487 2010-10-26 Adrian Robert <Adrian.B.Robert@gmail.com>
3489 * term/ns-win.el (ns-new-frame, ns-show-prefs): Don't add to
3491 * term/common-win.el (x-setup-function-keys): Remove most of the
3492 keymappings. Comment on the remaining ones.
3494 2010-10-26 Peter Oliver <p.d.oliver@mavit.org.uk> (tiny change)
3496 * server.el (server-port): New option. (Bug#854)
3497 (server-start): Use server-port.
3499 2010-10-26 Glenn Morris <rgm@gnu.org>
3501 * term/ns-win.el (ns-version-string): Remove unused declaration.
3502 (ns-invocation-args): Change to x-invocation-args.
3503 (ns-handle-switch, ns-handle-numeric-switch, ns-handle-iconic)
3504 (ns-handle-name-switch, ns-ignore-2-arg): Remove.
3505 (ns-handle-nxopen, ns-handle-nxopentemp, ns-ignore-1-arg):
3506 Use x-invocation-args instead of ns-invocation-args.
3507 (ns-initialize-window-system, handle-args-function-alist):
3508 Use x-handle-args instead of ns-handle-args.
3509 * term/common-win.el (x-handle-args): Also handle nextstep arguments.
3510 * startup.el (command-line-ns-option-alist): Replace
3511 ns-handle-name-switch, ns-handle-switch, ns-handle-numeric-switch,
3512 ns-handle-iconic with the x- equivalents.
3514 * term/common-win.el (x-select-enable-clipboard):
3515 * term/pc-win.el (x-select-enable-clipboard): Doc fix.
3517 * term/ns-win.el: No need to require cl when compiling.
3518 (x-display-name, x-setup-function-keys, x-select-text, x-colors)
3519 (xw-defined-colors): Use the common-win definitions.
3520 (ns-alternatives-map): Make it an obsolete alias for x-alternatives-map.
3521 (ns-handle-iconic): Make it an alias for x-handle-iconic.
3522 * term/common-win.el (x-select-text, x-alternatives-map)
3523 (x-setup-function-keys, x-colors, xw-defined-colors): Handle 'ns case.
3524 * loadup.el [ns]: Load common-win.
3526 2010-10-26 Daiki Ueno <ueno@unixuser.org>
3528 * epa-mail.el (epa-mail-encrypt): Handle local-part only
3529 recipients; expand mail aliases (Bug#7280).
3531 2010-10-25 Glenn Morris <rgm@gnu.org>
3533 * term/common-win.el (x-handle-switch): Simplify with pop.
3534 Optionally handle numeric switches.
3535 (x-handle-numeric-switch): Just call x-handle-switch.
3536 (x-handle-initial-switch, x-handle-xrm-switch, x-handle-geometry)
3537 (x-handle-name-switch, x-handle-display, x-handle-args):
3540 * term/ns-win.el: Do not require easymenu.
3541 (menu-bar-edit-menu) <copy, paste, paste-from-menu, separator-undo>:
3542 <spell>: Move adjustments to menu-bar.el.
3543 * menu-bar.el (menu-bar-edit-menu) <copy, paste, paste-from-menu>:
3544 <separator-undo, spell>: Move ns-win's adjustments here.
3545 * loadup.el [ns]: Do not load easymenu.
3547 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
3549 * image.el (image-checkbox-checked, image-checkbox-unchecked):
3552 * startup.el (fancy-startup-tail): Instead of using inline images,
3553 refer to image files from etc/.
3555 * wid-edit.el (checkbox): Likewise.
3556 (widget-image-find): Center image specs.
3558 2010-10-24 Glenn Morris <rgm@gnu.org>
3560 * term/ns-win.el (x-select-text): Doc fix.
3561 * w32-fns.el (x-alternatives-map, x-setup-function-keys)
3562 (x-select-text): Move to term/common-win.
3563 * term/w32-win.el (xw-defined-colors): Move to common-win.
3564 * term/x-win.el (xw-defined-colors, x-alternatives-map)
3565 (x-setup-function-keys, x-select-text): Move to common-win.
3566 * term/common-win.el (x-select-text, x-alternatives-map)
3567 (x-setup-function-keys, xw-defined-colors): Merge x- and w32-
3570 2010-10-24 T.V. Raman <tv.raman.tv@gmail.com> (tiny change)
3572 * net/mairix.el (mairix-searches-mode-map):
3573 * mail/mspools.el (mspools-mode-map): Fix 2010-10-10 change.
3575 2010-10-24 Michael McNamara <mac@mail.brushroad.com>
3577 * verilog-mode.el (verilog-directive-re): Make this variable
3578 auto-built for efficiency of execution and updating.
3579 (verilog-extended-complete-re): Support 'pure' fucntion & task
3580 declarations (these have no bodies).
3581 (verilog-beg-of-statement): General cleanup to enable support of
3582 'pure' fucntion & task declarations (these have no bodies).
3583 These efforts together fix Verilog bug210 from veripool; which was also
3584 noticed by Steve Pearlmutter.
3585 (verilog-directive-re, verilog-directive-begin, verilog-indent-re)
3586 (verilog-directive-nest-re, verilog-set-auto-endcomments):
3587 Support `elsif. Reported by Shankar Giri.
3588 (verilog-forward-ws&directives, verilog-in-attribute-p): Fixes for
3589 attribute handling for lining up declarations and assignments.
3590 (verilog-beg-of-statement-1): Fix issue where continued declaration
3591 is indented differently if it is after a begin..end clock.
3592 (verilog-in-attribute-p, verilog-skip-backward-comments)
3593 (verilog-skip-forward-comment-p): Support proper treatment of
3594 attributes by indent code. Reported by Jeff Steele.
3595 (verilog-in-directive-p): Fix comment to correctly describe function.
3596 (verilog-backward-up-list, verilog-in-struct-region-p)
3597 (verilog-backward-token, verilog-in-struct-p)
3598 (verilog-in-coverage-p, verilog-do-indent)
3599 (verilog-pretty-declarations): Use verilog-backward-up-list as
3600 wrapper around backward-up-list inorder to properly skip comments.
3601 Reported by David Rogoff.
3602 (verilog-property-re, verilog-endcomment-reason-re)
3603 (verilog-beg-of-statement, verilog-set-auto-endcomments)
3604 (verilog-calc-1 ): Fix for assert a; else b; indentation (new form
3605 of if). Reported by Max Bjurling and
3606 (verilog-calc-1): Fix for clocking block in modport
3607 declaration. Reported by Brian Hunter.
3609 2010-10-24 Wilson Snyder <wsnyder@wsnyder.org>
3611 * verilog-mode.el (verilog-auto-inst, verilog-gate-ios)
3612 (verilog-gate-keywords, verilog-read-sub-decls)
3613 (verilog-read-sub-decls-gate, verilog-read-sub-decls-gate-ios)
3614 (verilog-read-sub-decls-line, verilog-read-sub-decls-sig): Support
3615 AUTOINST for gate primitives, bug284. Reported by Mark Johnson.
3616 (verilog-read-decls): Fix spaces in V2K module parameters causing
3617 mis-identification as interfaces, bug287.
3618 (verilog-read-decls): Fix not treating "parameter string" as a
3619 parameter in AUTOINSTPARAM.
3620 (verilog-read-always-signals-recurse, verilog-read-decls): Fix not
3621 treating `elsif similar to `endif inside AUTOSENSE.
3622 (verilog-do-indent): Implement correct automatic or static task or
3623 function end comment highlight. Reported by Steve Pearlmutter.
3624 (verilog-font-lock-keywords-2): Fix highlighting of single
3625 character pins, bug264. Reported by Michael Laajanen.
3626 (verilog-auto-inst, verilog-read-decls, verilog-read-sub-decls)
3627 (verilog-read-sub-decls-in-interfaced, verilog-read-sub-decls-sig)
3628 (verilog-subdecls-get-interfaced, verilog-subdecls-new):
3629 Support interfaces with AUTOINST, bug270. Reported by Luis Gutierrez.
3630 (verilog-pretty-expr): Fix interactive arguments, bug272.
3631 Reported by Mark Johnson.
3632 (verilog-auto-tieoff, verilog-auto-tieoff-ignore-regexp):
3633 Add 'verilog-auto-tieoff-ignore-regexp' for AUTOTIEOFF,
3634 bug269. Suggested by Gary Delp.
3635 (verilog-mode-map, verilog-preprocess, verilog-preprocess-history)
3636 (verilog-preprocessor, verilog-set-compile-command):
3637 Create verilog-preprocess and verilog-preprocessor to show
3638 preprocessed output.
3639 (verilog-get-beg-of-line, verilog-get-end-of-line)
3640 (verilog-modi-file-or-buffer, verilog-modi-name)
3641 (verilog-modi-point, verilog-within-string): Move defmacro's
3642 before first use to avoid warning. Reported by Steve Pearlmutter.
3643 (verilog-colorize-buffer, verilog-colorize-include-files-buffer)
3644 (verilog-colorize-region, verilog-highlight-buffer)
3645 (verilog-highlight-includes, verilog-highlight-modules)
3646 (verilog-highlight-region, verilog-mode): Rename colorize to
3647 highlight to match other packages. Disable module highlighting,
3648 as received speed complaints, reenable for experimentation only
3649 using new verilog-highlight-modules.
3650 (verilog-read-decls): Fix regexp stack overflow in very large
3651 AUTO_TEMPLATEs, bug250.
3652 (verilog-auto, verilog-delete-auto, verilog-save-buffer-state)
3653 (verilog-scan): Create verilog-save-buffer-state to standardize
3654 making insignificant changes that shouldn't call hooks.
3655 (verilog-save-no-change-functions, verilog-save-scan-cache)
3656 (verilog-scan, verilog-scan-cache-ok-p, verilog-scan-region):
3657 Create verilog-save-no-change-functions to wrap verilog-scan
3658 preservation, and fix to work with nested preserved calls.
3659 (verilog-auto-inst, verilog-auto-inst-dot-name): Support .name
3660 port syntax for AUTOWIRE, and with new verilog-auto-inst-dot-name
3661 generate .name with AUTOINST, bug245. Suggested by David Rogoff.
3662 (verilog-submit-bug-report): Update variable list to be complete.
3663 (verilog-auto, verilog-colorize-region): Fix AUTO expansion
3664 breaking on-the-fly font-locking.
3665 (verilog-colorize-buffer, verilog-colorize-include-files)
3666 (verilog-colorize-include-files-buffer, verilog-colorize-region)
3667 (verilog-load-file-at-mouse, verilog-load-file-at-point)
3668 (verilog-mode, verilog-read-inst-module-matcher): With point on a
3669 AUTOINST cell instance name, middle mouse button now finds-file on
3670 it. Suggested by Brad Dobbie.
3671 (verilog-alw-get-temps, verilog-auto-reset)
3672 (verilog-auto-sense-sigs, verilog-read-always-signals)
3673 (verilog-read-always-signals-recurse): Fix loop indexes being
3674 AUTORESET. AUTORESET now assumes any variables in the
3675 initialization section of a for() should be ignored.
3676 Reported by Dan Dever.
3677 (verilog-error-font-lock-keywords)
3678 (verilog-error-regexp-emacs-alist)
3679 (verilog-error-regexp-xemacs-alist): Fix error detection of
3680 Cadence HAL, reported by David Asher. Repair drift between the
3681 three similar error variables.
3682 (verilog-modi-lookup, verilog-modi-lookup-cache)
3683 (verilog-modi-lookup-last-current, verilog-modi-lookup-last-mod)
3684 (verilog-modi-lookup-last-modi, verilog-modi-lookup-last-tick):
3685 Fix slow verilog-auto expansion on very large files.
3686 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line):
3687 Fix AUTOOUTPUT treating "1*2" as a signal name in submodule connection
3688 "{1*2{...". Broke in last revision.
3689 (verilog-read-sub-decls-expr): Fix AUTOOUTPUT not detecting
3690 submodule connections with replications "{#{a},#{b}}".
3692 2010-10-24 Juanma Barranquero <lekktu@gmail.com>
3694 * progmodes/dcl-mode.el (dcl-electric-reindent-regexps):
3695 Fix typo in docstring.
3697 2010-10-24 Kenichi Handa <handa@m17n.org>
3699 * face-remap.el (text-scale-adjust): Call read-event with a proper
3702 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
3704 * emacs-lisp/unsafep.el: Don't mark functions that display
3705 messages as safe. Suggested by Johan Bockgård.
3707 2010-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
3709 * emacs-lisp/regexp-opt.el (regexp-opt-group, regexp-opt-charset):
3710 Turn comments into docstrings.
3712 * minibuffer.el (completion--replace): Move point where it belongs
3713 when there's a common suffix (bug#7215).
3715 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
3717 Merge read-color and facemenu-read-color (Bug#7242).
3719 * faces.el (read-color): Use the completion code from
3720 facemenu-read-color. Require match in completion. Doc fix.
3722 * facemenu.el (facemenu-read-color): Alias for read-color.
3723 (facemenu-set-foreground, facemenu-set-background):
3726 * frame.el (set-background-color, set-foreground-color)
3727 (set-cursor-color, set-mouse-color, set-border-color):
3730 2010-10-24 Leo <sdl.web@gmail.com>
3732 * eshell/em-unix.el (eshell-remove-entries): Use the TRASH
3733 argument of delete-file and delete-directory (Bug#7011).
3735 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
3737 * emacs-lisp/package.el (package-menu-mode-map): Inherit from
3740 2010-10-24 Ralf Angeli <angeli@caeruleus.net>
3742 * emacs-lisp/package.el (package--generate-package-list): Make the
3743 *Packages* buffer read-only.
3745 2010-10-24 Alan Mackenzie <acm@muc.de>
3747 * progmodes/cc-fonts.el (c-font-lock-declarations): Cache the
3748 result of `c-beginning-of-decl-1' between invocations of a lambda
3749 function (Bug #7265).
3751 2010-10-24 Daiki Ueno <ueno@unixuser.org>
3753 * epg-config.el (epg-gpg-program): Try to use "gpg2" if "gpg"
3754 executable is not available on the system (Bug#7268).
3756 2010-10-24 Glenn Morris <rgm@gnu.org>
3758 * select.el (selection-coding-system, next-selection-coding-system):
3759 Sync doc with C versions.
3761 * w32-vars.el (x-select-enable-clipboard):
3762 * term/x-win.el (x-select-enable-clipboard): Move to common-win.
3763 * term/common-win.el (x-select-enable-clipboard): Move here.
3765 * term/tty-colors.el (tty-defined-color-alist): Remove duplicate
3766 definition of C variable.
3768 * frame.el (show-trailing-whitespace, auto-hscroll-mode)
3769 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
3770 Don't redefine things that are defined in C.
3771 * cus-start.el: Also handle :risky, :safe, :set, and :tag.
3772 (show-trailing-whitespace, auto-hscroll-mode)
3773 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
3774 Set up the appropriate custom properties.
3776 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
3779 * progmodes/f90.el (f90-mode-map): ... f90-insert-end.
3780 * nxml/nxml-mode.el (nxml-mode-map): ... nxml-finish-element.
3781 * textmodes/tex-mode.el (tex-mode-map): ... latex-close-block.
3782 * textmodes/sgml-mode.el (sgml-mode-map): ... sgml-close-tag.
3784 2010-10-23 Glenn Morris <rgm@gnu.org>
3786 * textmodes/flyspell.el (flyspell-mode): If there was an error,
3789 * frame.el (auto-hscroll-mode, cursor-in-non-selected-windows):
3790 Sync docs with C version.
3792 * term/ns-win.el (xw-defined-colors):
3793 * term/x-win.el (xw-defined-colors): Make docs identical to w32-win.
3795 * term/pc-win.el (x-select-enable-clipboard):
3796 * term/x-win.el (x-select-enable-clipboard):
3797 * w32-vars.el (x-select-enable-clipboard): Make doc-strings identical.
3799 * comint.el (comint-password-prompt-regexp): Make it less vague.
3802 * help-fns.el (doc-file-to-man, doc-file-to-info): New commands.
3804 * help.el (finder-by-keyword): Remove unnecessary autoload.
3806 2010-10-22 Glenn Morris <rgm@gnu.org>
3808 * loadup.el: Unconditionally load float-sup.
3809 * paren.el (show-paren-delay):
3810 * emacs-lisp/float-sup.el:
3811 * emulation/cua-base.el (cua-prefix-override-inhibit-delay):
3812 * obsolete/lazy-lock.el (lazy-lock-defer-time, lazy-lock-stealth-nice)
3813 (lazy-lock-stealth-verbose): Assume float support.
3814 * ps-print.el: Assume float support on Emacs.
3815 * emacs-lisp/timer.el (timer-next-integral-multiple-of-time):
3816 Remove non-float branch.
3818 * emacs-lisp/autoload.el (batch-update-autoloads): Update for
3819 src/Makefile no longer being pre-processed.
3821 2010-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
3823 * emacs-lisp/find-func.el (find-library): Use test-completion.
3825 2010-10-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
3827 * newcomment.el (comment-dwim): Fix the intentation in the doc string.
3829 2010-10-21 Michael Albinus <michael.albinus@gmx.de>
3831 * net/tramp-sh.el (tramp-do-file-attributes-with-stat): Do not use
3832 space in stat format string.
3833 (tramp-send-command): Unset $PS1 when using here documents, in
3834 order not to get several prompts.
3835 (tramp-get-inline-coding): Return `nil' in case of errors.
3837 2010-10-21 Daiki Ueno <ueno@unixuser.org>
3839 * hexl.el (hexl-mode, hexl-mode-exit):
3840 Tweak revert-buffer-function to inhibit auto-mode-alist (Bug#7252).
3841 (hexl-revert-buffer-function): New function.
3842 (hexl-before-revert-hook, hexl-after-revert-hook): Abolish.
3844 2010-10-19 Alan Mackenzie <acm@muc.de>
3846 * progmodes/cc-langs.el (c-type-decl-prefix-key): C++ bit:
3847 Move "\(const\|throw\|volatile\)\>" nearer the start of the regexp, so
3848 that these keywords aren't wrongly matched as identifiers.
3850 * progmodes/cc-mode.el (c-before-change, c-after-change): Move the
3851 setting of c-new-BEG and c-new-END from c-before-change to
3852 c-after-change. (Bug#7181)
3854 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
3856 * cus-face.el (custom-theme-set-faces): Revert 2010-10-18 change.
3859 * custom.el (custom-theme-set-variables): Likewise.
3860 (load-theme): Add custom-theme-set-faces and
3861 custom-theme-set-variables to safe-functions while loading.
3862 (custom-enabled-themes): Mark as risky.
3864 2010-10-18 Julien Danjou <julien@danjou.info>
3866 * bindings.el: Remove end dashes in default mode-line-format.
3868 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
3870 * bindings.el (global-map): Bind C-d to delete-char and deletechar
3871 to delete-forward-char.
3873 * simple.el (normal-erase-is-backspace-mode): Remap delete to
3874 deletechar, and hence delete-forward-char.
3876 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
3878 * repeat.el (repeat): Use read-key (bug#6256).
3880 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
3882 * emacs-lisp/unsafep.el: Don't mark functions that display
3883 messages as safe. Suggested by Johan Bockgård.
3885 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
3887 * minibuffer.el (completion--replace): Move point where it belongs
3888 when there's a common suffix (bug#7215).
3890 2010-10-19 Kenichi Handa <handa@m17n.org>
3892 * international/characters.el: Add category '|' (word breakable)
3893 to fullwidth characters.
3895 2010-10-19 Michael Albinus <michael.albinus@gmx.de>
3897 * net/tramp-sh.el (tramp-do-file-attributes-with-stat)
3898 (tramp-do-directory-files-and-attributes-with-stat): Use "e0" in
3899 order to make stat results a float. Patch by Andreas Schwab
3900 <schwab@linux-m68k.org>.
3902 2010-10-18 Julien Danjou <julien@danjou.info>
3904 * avoid.el (mouse-avoidance-ignore-p): Ignore mouse when it is
3905 hidden by `make-pointer-invisible'.
3907 2010-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
3909 * files.el (locate-file-completion-table): Strip non-matching elements
3910 before checking length of list (bug#7238).
3912 2010-10-18 Chong Yidong <cyd@stupidchicken.com>
3914 * custom.el (custom-theme-set-variables): Mark as a safe function.
3915 (load-theme): Check forms using unsafep.
3917 * cus-face.el (custom-theme-set-faces): Mark as a safe function.
3919 2010-10-17 Agustín Martín <agustin.martin@hispalinux.es>
3921 * textmodes/ispell.el (ispell-aspell-find-dictionary):
3922 Fix aspell data file searching (bug#7230).
3924 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
3926 * cus-theme.el (custom-theme--migrate-settings): New var.
3927 (customize-create-theme): Allow editing the `user' theme.
3928 (custom-theme-add-variable, custom-theme-add-var-1)
3929 (custom-theme-add-face, custom-theme-add-face-1): Add a checkbox
3930 to the front of each variable or face widget.
3931 (custom-theme-write): Save theme settings in the correct order.
3932 Optionally, remove saved settings from user customizations.
3933 (custom-theme-write-variables, custom-theme-write-faces):
3934 Save only the checked widgets.
3935 (customize-themes): Add a link for migrating custom settings.
3937 * custom.el (custom-declare-theme, provide-theme):
3938 Use custom-theme-name-valid-p.
3939 (custom-theme-name-valid-p): Remove checks that are now
3940 unnecessary since themes no longer obey load-path.
3942 * cus-edit.el (custom-variable-value-create): For the simple
3943 style, hide documentation string when hidden.
3945 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
3947 * cus-edit.el (custom-variable, custom-face): Combine the
3948 :inhibit-magic and :display-style properties into a single
3949 :custom-style property.
3950 (custom-toggle-hide-variable, custom-toggle-hide-face):
3951 New functions. If hiding an edited value, save it to :shown-value.
3952 (custom-variable-value-create, custom-face-value-create): Use them.
3953 (custom-magic-reset): Allow magic property to be unset.
3955 * custom.el: Custom themes no longer use load-path.
3956 (custom-theme-load-path): New option. Change built-in theme
3958 (custom-enabled-themes): Add custom-theme-load-path dependency.
3959 (custom-theme--load-path): New function.
3960 (load-theme, custom-available-themes): Use it.
3962 * cus-theme.el (describe-theme-1): Use custom-theme--load-path.
3963 (customize-themes): Link to custom-theme-load-path variable.
3964 (custom-theme-add-var-1, custom-theme-add-face-1): Use the
3965 :custom-style property.
3967 * themes/*.el: Moved to etc/.
3969 2010-10-16 Ralf Angeli <angeli@caeruleus.net>
3971 * textmodes/reftex-cite.el
3972 (reftex-extract-bib-entries-from-thebibliography): Do not move
3973 point when searching for \bibitem entries. Match entries with
3974 spaces or tabs in front of arguments.
3976 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
3978 * cus-theme.el (customize-create-theme): Delete overlays after
3979 erasing. If given a THEME arg, display only the faces of that arg
3980 instead of custom-theme--listed-faces.
3981 (custom-theme-variable-menu, custom-theme-variable-action)
3982 (custom-variable-reset-theme, custom-theme-delete-variable): Delete.
3983 (custom-theme-add-variable, custom-theme-add-face): Apply value
3984 from the theme settings, instead of the current value.
3985 (custom-theme-add-var-1, custom-theme-add-face-1): New functions.
3986 (custom-theme-visit-theme): Allow calling outside theme buffers.
3987 (custom-theme-merge-theme): Don't enable the theme when merging.
3988 (custom-theme-write-variables, custom-theme-write-faces): Use the
3989 :shown-value properties to save buffer values, not global ones.
3990 (customize-themes): Display a warning about user customizations.
3992 * cus-edit.el (custom-variable-value-create)
3993 (custom-face-value-create): Obey new special properties
3994 :shown-value and :inhibit-magic.
3996 2010-10-15 Michael Albinus <michael.albinus@gmx.de>
3998 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
3999 Suppress expansion of tabs to spaces. Reported by Dale Sedivec
4002 2010-10-14 Kenichi Handa <handa@m17n.org>
4004 * mail/rmail.el (rmail-show-message-1): Catch an error of
4005 base64-decode-region and just show an error message (bug#7165).
4007 * ps-mule.el (ps-mule-font-spec-list): Delete it. Not used anymore.
4008 (ps-mule-begin-job): Fix for the case that only ENCODING is set in
4009 a font-spec (bug#7197).
4011 2010-10-14 Glenn Morris <rgm@gnu.org>
4013 * mail/emacsbug.el (report-emacs-bug): Mention debbugs.gnu.org.
4015 2010-10-14 Juanma Barranquero <lekktu@gmail.com>
4017 * international/mule.el (define-coding-system):
4018 * international/titdic-cnv.el (quail-cxterm-package-ext-info):
4019 * composite.el (compose-region): Fix typo in docstring.
4021 2010-10-14 Chong Yidong <cyd@stupidchicken.com>
4023 * cus-face.el (custom-theme-set-faces): Call custom-push-theme
4024 only after checking the theme-face property.
4026 * faces.el (face-spec-reset-face): Reset all attributes in one
4027 single call to set-face-attribute.
4028 (face-spec-match-p): Make it a defsubst.
4029 (frame-set-background-mode): New arg KEEP-FACE-SPECS.
4030 (x-create-frame-with-faces, tty-create-frame-with-faces)
4031 (tty-set-up-initial-frame-faces): Don't recompute face specs in
4032 frame-set-background-mode, since they are recomputed immediately
4033 afterwards in face-set-after-frame-default.
4034 (face-set-after-frame-default): Minor optimization.
4035 (cursor): Provide non-trivial defface spec.
4037 * custom.el (custom-theme-recalc-face): Simplify.
4039 2010-10-14 Jay Belanger <jay.p.belanger@gmail.com>
4041 * calc/calc-alg.el (math-var): Rename from `var'.
4042 (math-is-polynomial, math-is-poly-rec): Replace `var'
4045 * calc/calcalg2.el (math-var): Rename from `var'.
4046 (calcFunc-table, math-scan-for-limits): Replace `var'
4049 2010-10-13 Glenn Morris <rgm@gnu.org>
4051 * subr.el (last): Deal with dotted lists (reported in bug#7174).
4053 2010-10-13 Stephen Berman <stephen.berman@gmx.net>
4055 * subr.el (last): Use `safe-length' instead of `length' (bug#7206).
4057 2010-10-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
4059 * net/tls.el (tls-program): Remove spurious %s from openssl.
4060 (tls-starttls-switches): Remove starttls hack.
4061 (open-tls-stream): Ditto.
4062 (tls-find-starttls-argument): Ditto.
4064 2010-10-13 Juanma Barranquero <lekktu@gmail.com>
4066 * image.el (image-library-alist): Declare as obsolete alias.
4067 (image-type-available-p): Use `dynamic-library-alist'.
4069 * term/w32-win.el (dynamic-library-alist):
4070 Use instead of `image-library-alist'.
4072 2010-10-13 IRIE Shinsuke <irieshinsuke@yahoo.co.jp> (tiny change)
4074 * subr.el (last): Make it faster. (Bug#7174)
4076 2010-10-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> (tiny change)
4078 * Makefile.in (compile-clean): Use `` instead of $(). (Bug#7178)
4080 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
4082 * cus-theme.el (custom-theme--listed-faces): Add cursor face.
4083 (describe-theme-1): Extract doc from unloaded themes.
4085 * custom.el (custom-theme-name-valid-p): Don't list color-themes.
4087 * themes/tango-theme.el:
4088 * themes/tango-dark-theme.el:
4089 * themes/wheatgrass-theme.el: New files.
4091 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
4093 * cus-theme.el (describe-theme, customize-themes)
4094 (custom-theme-save): New commands.
4095 (custom-new-theme-mode-map): Bind C-x C-s.
4096 (custom-new-theme-mode): Use custom--initialize-widget-variables.
4097 (customize-create-theme): New optional arg THEME.
4098 (custom-theme-revert): Use it.
4099 (custom-theme-visit-theme): Remove dead code.
4100 (custom-theme-merge-theme): Use custom-available-themes.
4101 (custom-theme-write): Make interactive.
4102 (custom-theme-write): Use custom-theme-name-valid-p.
4103 (describe-theme-1, custom-theme-choose-revert)
4104 (custom-theme-checkbox-toggle, custom-theme-selections-toggle):
4106 (custom-theme-allow-multiple-selections): New option.
4107 (custom-theme-choose-mode): New major mode.
4109 * custom.el (custom-theme-set-variables): Remove dead code.
4110 Obey custom--inhibit-theme-enable.
4111 (custom--inhibit-theme-enable): New var.
4112 (provide-theme): Obey it.
4113 (load-theme): Replace load with manual read/eval, in order to
4114 check for correctness. Use custom-theme-name-valid-p.
4115 (custom-theme-name-valid-p): New function.
4116 (custom-available-themes): Use it.
4118 * cus-edit.el (custom--initialize-widget-variables): New function.
4119 (Custom-mode): Use it.
4121 * cus-face.el (custom-theme-set-faces): Remove dead code.
4122 Obey custom--inhibit-theme-enable.
4124 * help-mode.el (help-theme-def, help-theme-edit): New buttons.
4126 2010-10-12 Juanma Barranquero <lekktu@gmail.com>
4128 * net/telnet.el (telnet-mode-map): Fix previous change (bug#7193).
4130 2010-10-12 Jan Djärv <jan.h.d@swipnet.se>
4132 * term/ns-win.el (ns-right-alternate-modifier): New defvar.
4133 (ns-right-option-modifier): New alias for ns-right-alternate-modifier.
4134 (mac-right-option-modifier): New alias for ns-right-option-modifier.
4136 * cus-start.el (all): ns-right-alternate-modifier is new.
4138 2010-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
4140 * emacs-lisp/lisp.el (lisp-completion-at-point):
4141 Use emacs-lisp-mode-syntax-table for the whole function.
4143 2010-10-12 David Koppelman <koppel@ece.lsu.edu>
4145 * hi-lock.el (hi-lock-font-lock-hook): Check font-lock-fontified
4146 instead of font-lock-mode before adding keywords.
4147 Remove hi-lock-mode off code. Remove inhibit hack.
4148 (hi-lock-set-pattern): Only add keywords if font-lock-fontified
4149 non-nil; removed hook inhibit hack.
4151 2010-10-12 Glenn Morris <rgm@gnu.org>
4153 * emacs-lisp/shadow.el (find-emacs-lisp-shadows): Rename it...
4154 (load-path-shadows-find): ... to this.
4155 (list-load-path-shadows): Update for above change.
4157 * mail/mail-utils.el (mail-mbox-from): Also try return-path.
4159 2010-10-11 Katsumi Yamaoka <yamaoka@jpl.org>
4161 * mail/hashcash.el, net/imap.el, pgg-parse.el, pgg.el:
4162 Fix comment for declare-function.
4164 2010-10-11 Chong Yidong <cyd@stupidchicken.com>
4166 * custom.el (custom-fix-face-spec): New function; code moved from
4167 custom-face-edit-fix-value.
4168 (custom-push-theme): Use it when checking if a face has been
4169 changed outside customize.
4170 (custom-available-themes): New function.
4171 (load-theme): Use it.
4173 * cus-edit.el (custom-face-edit-fix-value): Use custom-fix-face-spec.
4175 * custom.el (custom-push-theme): Cleanup (use cond).
4176 (disable-theme): Recompute the saved-face property.
4177 (custom-theme-recalc-face): Follow face alias before setting prop.
4179 * image.el (image-checkbox-checked, image-checkbox-unchecked):
4180 New variables, containing checkbox images.
4182 * startup.el (fancy-startup-tail):
4183 * wid-edit.el (checkbox): Use them.
4185 2010-10-10 Dan Nicolaescu <dann@ics.uci.edu>
4187 * shell.el (shell-mode-map):
4188 * progmodes/modula2.el (m2-mode-map):
4189 * progmodes/inf-lisp.el (inferior-lisp-mode-map):
4190 * play/mpuz.el (mpuz-mode-map):
4191 * play/landmark.el (lm-mode-map):
4192 * play/decipher.el (decipher-mode-map):
4193 * play/5x5.el (5x5-mode-map):
4194 * net/telnet.el (telnet-mode-map):
4195 * net/quickurl.el (quickurl-list-mode-map):
4196 * net/mairix.el (mairix-searches-mode-map):
4197 * net/eudc-hotlist.el (eudc-hotlist-mode-map):
4198 * net/dig.el (dig-mode-map):
4199 * mail/mspools.el (mspools-mode-map):
4200 * hexl.el (hexl-mode-map):
4201 * emulation/ws-mode.el (wordstar-C-k-map, wordstar-mode-map)
4202 (wordstar-C-o-map, wordstar-C-q-map):
4203 * emacs-lisp/edebug.el (edebug-eval-mode-map):
4204 * emacs-lisp/chart.el (chart-map):
4205 * edmacro.el (edmacro-mode-map):
4206 * erc/erc-list.el (erc-list-menu-mode-map):
4207 * array.el (array-mode-map): Declare and define in one step.
4209 * vc/log-view.el (log-view-mode-map): Bind revert-buffer.
4211 2010-10-10 Daiki Ueno <ueno@unixuser.org>
4213 * epa.el (epa-passphrase-callback-function): Display filename
4214 passed as the 3rd arg.
4215 * epa-file.el (epa-file-passphrase-callback-function):
4216 Pass filename to epa-passphrase-callback-function.
4218 2010-10-09 Chong Yidong <cyd@stupidchicken.com>
4220 * cus-edit.el (custom-face-widget-to-spec)
4221 (custom-face-get-current-spec, custom-face-state): New functions.
4222 (custom-face-set, custom-face-mark-to-save)
4223 (custom-face-value-create, custom-face-state-set): Use them.
4225 * cus-theme.el (custom-theme--listed-faces): New var.
4226 (customize-create-theme): Use *Custom Theme* as the buffer name.
4227 Set revert-buffer-function. Optional arg BUFFER. Insert all
4228 faces listed in custom-theme--listed-faces.
4229 (custom-theme-revert): New function.
4230 (custom-theme-add-variable, custom-theme-add-face): Insert at the
4232 (custom-theme-write): Prompt for theme name if empty.
4233 (custom-theme-write-variables): Use dolist.
4234 (custom-theme-write-faces): Handle hidden (collapsed) widgets.
4236 2010-10-09 Alan Mackenzie <acm@muc.de>
4238 Enhance fontification of declarators to take account of the
4239 presence/absence of "typedef".
4241 * cc-engine.el (c-forward-type): New &optional param
4243 (c-forward-decl-or-cast-1): cdr of return value now indicates the
4244 presence of either or both of a "struct"-like keyword and "typedef".
4246 * cc-fonts.el (c-complex-decl-matchers): Remove the heuristic
4247 fontification of declarators which follow a "}".
4248 (c-font-lock-declarations): Fontify declarators according to the
4249 presence/absence of "typedef".
4251 * cc-langs.el (c-typedef-kwds c-typedef-key): New lang variable
4253 (c-typedef-decl-key): New lang variable built from
4254 c-typedef-decl-kwds.
4256 2010-10-09 Lars Magne Ingebrigtsen <larsi@gnus.org>
4258 * ibuffer.el (ibuffer-mode-map): Don't redefine the cursor keys,
4259 since that's too annoying. Move the filter groups commands to
4262 * epa.el (epa-passphrase-callback-function): Say what we're
4263 querying the password for.
4265 * ibuffer.el (ibuffer-visit-buffer): To mimick list-buffers
4266 behaviour, don't bury the ibuffer buffer when visiting other buffers.
4268 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
4270 * cus-edit.el (custom-commands, custom-buffer-create-internal)
4271 (custom-magic-value-create): Pad button tags with spaces.
4272 (custom-face-edit): New variable.
4273 (custom-face-value-create): Determine whether to use the usual
4274 face editor here, instead of using custom-face-selected.
4275 Pass face defaults to custom-face-edit widget.
4276 (custom-face-selected, custom-display-unselected): Delete widgets.
4277 (custom-display-unselected-match): Function removed.
4278 (custom-face-set, custom-face-mark-to-save):
4279 Accept custom-face-edit widgets as the direct widget child.
4281 * wid-edit.el (widget--completing-widget): New var.
4282 (widget-default-complete): Bind it when doing completion.
4283 (widget-string-complete, widget-file-complete): Use it.
4285 2010-10-09 Glenn Morris <rgm@gnu.org>
4287 * calendar/cal-hebrew.el (holiday-hebrew-rosh-hashanah)
4288 (holiday-hebrew-passover, holiday-hebrew-tisha-b-av)
4289 (holiday-hebrew-misc): Small simplifications.
4291 * emacs-lisp/authors.el (authors-valid-file-names): Add b2m.c.
4293 * net/browse-url.el: Don't require thingatpt, term, dired,
4294 executable, or w3-auto when compiling.
4295 (dired-get-filename, term-char-mode, term-send-down, term-send-string):
4297 (browse-url-text-emacs): Require term.
4299 2010-10-08 Andreas Schwab <schwab@linux-m68k.org>
4301 * net/browse-url.el (browse-url-xdg-open): Remove use of /bin/sh.
4303 2010-10-08 Glenn Morris <rgm@gnu.org>
4305 * emacs-lisp/cl-compat.el, emacs-lisp/lmenu.el: Move to obsolete/.
4307 * emacs-lisp/shadow.el (lisp-shadow): Change prefix.
4308 (shadows-compare-text-p): Make it an obsolete alias for...
4309 (load-path-shadows-compare-text): ... new name.
4310 (find-emacs-lisp-shadows): Update for above name change.
4311 (load-path-shadows-same-file-or-nonexistent): New name for the old
4312 shadow-same-file-or-nonexistent.
4314 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
4316 * minibuffer.el (completion--some, completion--do-completion)
4317 (minibuffer-complete-and-exit, minibuffer-completion-help)
4318 (completion-basic-try-completion)
4319 (completion-basic-all-completions)
4320 (completion-pcm--find-all-completions): Use lexical-let to
4321 avoid some false matches in variable completion (Bug#7056)
4323 2010-10-08 Olof Ohlsson Sax <olof.ohlsson.sax@gmail.com> (tiny change)
4325 * vc-svn.el (vc-svn-merge-news): Use --non-interactive. (Bug#7152)
4327 2010-10-08 Leo <sdl.web@gmail.com>
4329 * dnd.el (dnd-get-local-file-name): If MUST-EXIST is non-nil, only
4330 return non-nil if the file exists (Bug#7090).
4332 2010-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
4334 * minibuffer.el (completion--replace):
4335 Better preserve markers (bug#7138).
4337 2010-10-08 Juanma Barranquero <lekktu@gmail.com>
4339 * server.el (server-process-filter): Doc fix.
4341 2010-10-08 Drew Adams <drew.adams@oracle.com>
4343 * dired.el (dired-save-positions): Doc fix. (Bug#7119)
4345 2010-10-08 Glenn Morris <rgm@gnu.org>
4347 * vc/ediff-wind.el (ediff-setup-control-frame):
4348 * vc/ediff-ptch.el (ediff-default-backup-extension):
4349 * vc/ediff-diff.el (ediff-shell, ediff-diff-options)
4350 (ediff-exec-process): Remove system-types emx, windows-95.
4352 * net/browse-url.el (browse-url-xdg-open): Shell-quote url. (Bug#7166)
4354 2010-10-07 Chong Yidong <cyd@stupidchicken.com>
4356 * cus-edit.el (custom-variable, custom-face): Doc fix.
4357 (custom-face-edit): Add value-create attribute.
4358 (custom-face-edit-value-create)
4359 (custom-face-edit-value-visibility-action): New functions.
4360 Hide unused face attributes by default, and add a visibility toggle.
4361 (custom-face-edit-deactivate): Show empty values with shadow face.
4362 (custom-face-selected): Only use this for face specs with default
4364 (custom-face-value-create): Cleanup.
4366 * wid-edit.el (widget-checklist-value-create): Use dolist.
4367 (widget-checklist-match-find): Make second arg optional.
4369 2010-10-07 Glenn Morris <rgm@gnu.org>
4371 * hilit-chg.el (hilit-chg-get-diff-info, hilit-chg-get-diff-list-hk):
4374 * emacs-lisp/shadow.el (shadow-font-lock-keywords)
4375 (load-path-shadows-mode, list-load-path-shadows): Rename shadow-mode to
4376 load-path-shadows-mode, update references.
4377 (load-path-shadows-font-lock-keywords, load-path-shadows-find-file):
4378 Rename variable and button.
4379 (list-load-path-shadows): Update button caller.
4381 2010-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4383 * emacs-lisp/smie.el (smie-bnf-classify): New function.
4384 (smie-bnf-precedence-table): Use it to remember the closers/openers.
4385 (smie-merge-prec2s): Handle those new entries.
4386 (smie-prec2-levels): Only set precedence to nil for actual
4388 * progmodes/octave-mod.el (octave-smie-op-levels): Remove dummy entry
4389 that is now unnecessary.
4391 2010-10-07 Miles Bader <miles@gnu.org>
4393 * emacs-lisp/regexp-opt.el (regexp-opt): Add `symbols' mode.
4395 2010-10-07 Glenn Morris <rgm@gnu.org>
4397 * mail/rmail.el (mail-sendmail-delimit-header, mail-header-end)
4398 (mail-position-on-field): Remove declarations.
4399 (mail-position-on-field): Autoload it.
4400 (rmail-retry-failure): Replace use of mail-sendmail-delimit-header
4401 and mail-header-end. Don't require sendmail.
4403 * emacs-lisp/shadow.el (shadow-font-lock-keywords): New variable.
4404 (shadow-mode): New mode.
4405 (shadow-find-file): New button.
4406 (list-load-path-shadows): Use shadow-mode and buttons.
4408 * iimage.el (iimage-version): Remove.
4409 (iimage-mode-image-search-path, iimage-mode-image-regex-alist):
4410 Turn into defcustoms.
4411 (iimage-mode-map): Give it a doc string.
4413 * calendar/appt.el (appt-activate): Give a warning rather than an error
4414 if there is no diary-file.
4416 2010-10-06 Michael Albinus <michael.albinus@gmx.de>
4418 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4419 Use `tramp-handle-find-backup-file-name'.
4421 2010-10-06 Glenn Morris <rgm@gnu.org>
4423 * font-core.el (font-lock-defaults-alist): Remove variable.
4424 (font-lock-mode): Doc fix.
4425 (font-lock-default-function): Do not consult font-lock-defaults-alist.
4426 * font-lock.el (font-lock-refresh-defaults): Doc fix.
4427 (font-lock-set-defaults): Doc fix.
4428 Do not consult font-lock-defaults-alist.
4430 * hilit-chg.el (hilit-chg-get-diff-list-hk): Declare `e' for compiler.
4432 * emacs-lisp/cl.el: No longer provide cl-19.
4434 2010-10-05 Michael Albinus <michael.albinus@gmx.de>
4436 * net/tramp.el (tramp-handle-directory-files-and-attributes)
4437 (tramp-handle-file-exists-p, tramp-handle-file-newer-than-file-p):
4438 New defuns, taken from tramp-smb.el.
4439 (tramp-coding-system-change-eol-conversion)
4440 (tramp-set-process-query-on-exit-flag): Remove.
4442 * net/tramp-compat.el (top): Do not check for byte-compiler objects.
4443 (tramp-compat-coding-system-change-eol-conversion)
4444 (tramp-compat-set-process-query-on-exit-flag): New defuns, taken
4447 * net/tramp-gvfs.el:
4448 * net/tramp-gw.el: Replace `tramp-set-process-query-on-exit-flag'
4449 by `tramp-compat-set-process-query-on-exit-flag'.
4451 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
4452 Use `tramp-handle-directory-files-and-attributes',
4453 `tramp-handle-file-exists-p' and
4454 `tramp-handle-file-newer-than-file-p'.
4455 (tramp-imap-handle-file-exists-p)
4456 (tramp-imap-handle-file-executable-p)
4457 (tramp-imap-handle-file-readable-p)
4458 (tramp-imap-handle-directory-files-and-attributes)
4459 (tramp-imap-handle-file-newer-than-file-p): Remove.
4461 * net/tramp-sh.el: Replace `tramp-set-process-query-on-exit-flag'
4462 by `tramp-compat-set-process-query-on-exit-flag' and
4463 `tramp-coding-system-change-eol-conversion' by
4464 `tramp-compat-coding-system-change-eol-conversion'.
4466 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4467 Use `tramp-handle-directory-files-and-attributes',
4468 `tramp-handle-file-exists-p' and
4469 `tramp-handle-file-newer-than-file-p'.
4470 (tramp-smb-handle-directory-files-and-attributes)
4471 (tramp-smb-handle-file-exists-p)
4472 (tramp-smb-handle-file-newer-than-file-p): Remove.
4473 (tramp-smb-maybe-open-connection):
4474 Replace `tramp-set-process-query-on-exit-flag' by
4475 `tramp-compat-set-process-query-on-exit-flag'.
4477 2010-10-05 Glenn Morris <rgm@gnu.org>
4479 * obsolete/rnews.el, obsolete/rnewspost.el: Remove files.
4481 2010-10-04 Michael Albinus <michael.albinus@gmx.de>
4483 Continue reorganization of load dependencies. (Bug#7156)
4485 * net/tramp.el (tramp-handle-file-local-copy-hook)
4486 (tramp-delete-temp-file-function): Move down.
4487 (tramp-exists-file-name-handler): Move up.
4488 (tramp-register-file-name-handlers): Simplify autoload.
4489 (tramp-handle-write-region-hook, tramp-handle-directory-file-name)
4490 (tramp-handle-directory-files, tramp-handle-dired-uncache)
4491 (tramp-handle-file-modes, tramp-handle-file-name-as-directory)
4492 (tramp-handle-file-name-completion)
4493 (tramp-handle-file-name-directory)
4494 (tramp-handle-file-name-nondirectory, tramp-handle-file-regular-p)
4495 (tramp-handle-file-remote-p, tramp-handle-file-symlink-p)
4496 (tramp-handle-find-backup-file-name)
4497 (tramp-handle-insert-file-contents, tramp-handle-load)
4498 (tramp-handle-substitute-in-file-name)
4499 (tramp-handle-unhandled-file-name-directory)
4500 (tramp-mode-string-to-int, tramp-local-host-p)
4501 (tramp-make-tramp-temp-file): Move from tramp-sh.el.
4503 * net/tramp-gvfs.el (top):
4504 * net/tramp-smb.el (top): Do not require 'tramp-sh.
4506 * net/tramp-sh.el (all): Move several objects to tramp.el, see
4507 there. Rename `tramp-handle-*' to `tramp-sh-handle-*'.
4509 2010-10-04 Glenn Morris <rgm@gnu.org>
4511 * calendar/appt.el (appt-add): Ensure reminders are enabled.
4512 (appt-activate): Give status messages.
4514 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
4516 * net/gnutls.el: Improve docs. Remove starttls and ssl emulation.
4517 Provide only `open-gnutls-stream' (formerly `open-ssl-stream') and
4518 `gnutls-negotiate' (formerly `starttls-negotiate').
4519 Remove trivial wrapper `starttls-open-stream'.
4521 2010-10-03 Dan Nicolaescu <dann@ics.uci.edu>
4523 Make 'g' (AKA revert-buffer) rerun the VC log, log-incoming and
4524 log-outgoing commands.
4525 * vc/vc.el (vc-log-internal-common): Add a new argument and use it
4526 to create a buffer local revert-buffer-function variable.
4527 (vc-print-log-internal, vc-log-incoming, vc-log-outgoing): Pass a
4528 revert-buffer-function lambda.
4530 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
4532 * net/gnutls.el (starttls-negotiate): Use the plist interface to
4533 `gnutls-boot'. Make TYPE the only required parameter.
4534 Allow TRUSTFILES and KEYFILES to be lists.
4535 (open-ssl-stream): Use it.
4537 2010-10-03 Glenn Morris <rgm@gnu.org>
4539 * subr.el (directory-sep-char): Remove obsolete variable.
4540 * net/tramp-compat.el: Don't mess about with the byte-compiler unless
4543 * vc/vc-hooks.el (vc-header-alist): Remove obsolete variable.
4544 * vc/vc.el (vc-static-header-alist): Doc fix.
4545 * vc/vc-cvs.el (vc-cvs-header):
4546 * vc/vc-rcs.el (vc-rcs-header):
4547 * vc/vc-sccs.el (vc-sccs-header):
4548 * vc/vc-svn.el (vc-svn-header): Do not consult vc-header-alist.
4549 * obsolete/vc-mcvs.el (vc-mcvs-header):
4550 * progmodes/cperl-mode.el (cperl-mode): Only set vc-header-alist
4553 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
4555 * emacs-lisp/bytecomp.el (byte-compile-from-buffer):
4556 Remove obsolete use of binary-overwrite-mode (Bug#7001).
4558 2010-10-03 Glenn Morris <rgm@gnu.org>
4560 * obsolete/x-menu.el: Remove file, obsolete since 21.1
4562 * textmodes/rst.el (rst-font-lock-keywords-function):
4565 * textmodes/artist.el (artist-replace-char): Drop Emacs 20 code.
4567 * printing.el: Drop Emacs 20 code.
4569 * calendar/appt.el (appt-delete): Don't autoload it (you can't use it
4570 without having used appt.el already).
4572 * subr.el (make-local-hook): Remove function obsolete since 21.1.
4573 * progmodes/cc-mode.el (make-local-hook): Don't do cc-bytecomp stuff.
4574 (c-basic-common-init, c-font-lock-init): Only call make-local-hook on
4576 * progmodes/cc-styles.el (make-local-hook): Don't do cc-bytecomp stuff.
4577 (c-make-styles-buffer-local): Only call make-local-hook on XEmacs.
4579 * ps-def.el (leading-code-private-22, charset-bytes, charset-id)
4580 (charset-width, find-charset-region, chars-in-region, forward-point)
4581 (encode-coding-string, coding-system-p, ccl-execute-on-string)
4582 (define-ccl-program, multibyte-string-p, string-make-multibyte):
4583 Remove compatibility cruft (none of these are used by ps*.el).
4585 2010-10-03 Kevin Rodgers <kevin.d.rodgers@gmail.com>
4587 * subr.el (booleanp): Return t instead of a list (Bug#7086).
4589 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
4591 * server.el (server-process-filter, server-return-error):
4592 Give emacsclient time to shut down after receiving an error string.
4594 2010-10-02 Michael Albinus <michael.albinus@gmx.de>
4596 * files.el (remote-file-name-inhibit-cache): New defcustom.
4598 * time.el (display-time-file-nonempty-p):
4599 Use `remote-file-name-inhibit-cache'.
4601 * net/tramp.el (tramp-completion-reread-directory-timeout):
4604 * net/tramp-cache.el (tramp-cache-inhibit-cache): Remove.
4605 (tramp-get-file-property): Replace `tramp-cache-inhibit-cache' by
4606 `remote-file-name-inhibit-cache'. Check also for an integer
4607 value. Add/increase counter when `tramp-verbose' >= 10.
4608 (tramp-set-file-property): Add/increase counter when
4609 `tramp-verbose' >= 10.
4611 * net/tramp-cmds.el (tramp-cleanup-all-connections)
4612 (tramp-cleanup-all-buffers): Set tramp-autoload cookie.
4613 (tramp-bug): Set tramp-autoload cookie. Report all interned
4614 tramp-* variables. Report also `remote-file-name-inhibit-cache'.
4615 (tramp-reporter-dump-variable): Fix docstring. Mask non-7bit
4616 characters only in strings.
4618 * net/tramp-compat.el (remote-file-name-inhibit-cache): Define due
4619 to backward compatibility.
4621 * net/tramp-sh.el (tramp-handle-verify-visited-file-modtime)
4622 (tramp-handle-file-name-all-completions)
4623 (tramp-handle-vc-registered): Use `remote-file-name-inhibit-cache'.
4624 (tramp-open-connection-setup-interactive-shell):
4625 Call `tramp-cleanup-connection' directly.
4627 2010-10-02 Glenn Morris <rgm@gnu.org>
4629 * emacs-lisp/checkdoc.el (checkdoc-minor-keymap): Remove obsolete alias.
4631 * subr.el (char-bytes): Remove obsolete function.
4633 * isearch.el (isearch-return-char): Remove obsolete function.
4635 * mouse.el: No longer provide mldrag.
4636 (mldrag-drag-mode-line, mldrag-drag-vertical-line):
4637 Remove obsolete aliases.
4639 * comint.el (comint-kill-output): Remove obsolete alias.
4641 * composite.el (decompose-composite-char): Remove obsolete function.
4642 * ps-def.el (decompose-composite-char): Remove unused function.
4644 * iswitchb.el (iswitchb-default-keybindings): Remove obsolete function.
4646 * outline.el (outline-visible): Remove obsolete function.
4648 * term/pc-win.el (x-frob-font-slant, x-frob-font-weight):
4649 * faces.el (internal-find-face, internal-get-face)
4650 (frame-update-faces, frame-update-face-colors)
4651 (x-frob-font-weight, x-frob-font-slant)
4652 (internal-frob-font-weight, internal-frob-font-slant)
4653 (x-make-font-bold, x-make-font-demibold, x-make-font-unbold)
4654 (x-make-font-italic, x-make-font-oblique, x-make-font-unitalic)
4655 (x-make-font-bold-italic): Remove functions and aliases, obsolete
4657 * emulation/viper-util.el (viper-get-face):
4658 * obsolete/lucid.el (find-face, get-face): Use facep.
4659 * vc/ediff-init.el (ediff-valid-color-p, ediff-get-face):
4660 Remove unused functions.
4661 * vc/ediff-util.el (ediff-submit-report): Doc fix.
4663 * emacs-lisp/bytecomp.el (byte-compile-file): Use kill-emacs-hook to
4664 delete tempfile if interrupted during compilation.
4666 2010-10-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
4668 * net/tls.el (tls-starttls-switches): Give up on using starttls with
4670 (tls-program): Add --insecure to be consistent with the defaults from
4671 openssl s_client. Now all three commands are insecure.
4673 2010-10-01 Eli Zaretskii <eliz@gnu.org>
4675 * makefile.w32-in (DEST, TAGS, TAGS-LISP, TAGS-nmake)
4676 (TAGS-LISP-nmake, TAGS-gmake, TAGS-LISP-gmake, TAGS-SH)
4677 (TAGS-LISP-SH, TAGS-CMD, TAGS-LISP-CMD): New targets.
4679 2010-10-01 Glenn Morris <rgm@gnu.org>
4681 * obsolete/sc.el: Remove file.
4683 * files.el (temporary-file-directory): On darwin, also try
4684 DARWIN_USER_TEMP_DIR (see discussion in bug#7135).
4686 2010-10-01 Juanma Barranquero <lekktu@gmail.com>
4688 * server.el (server-start): Revert part of 2010-09-30T02:53:26Z!lekktu@gmail.com.
4689 Let's not break compatibility gratuitously, shall we?
4691 2010-09-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
4693 * net/tls.el (tls-starttls-switches): New variable.
4694 (tls-find-starttls-argument): Use it.
4695 (open-tls-stream): Ditto.
4697 * net/netrc.el (netrc-credentials): Return the value of the "default"
4699 (netrc-machine): Ditto.
4701 2010-09-30 Eli Zaretskii <eliz@gnu.org>
4703 * vc/vc-hooks.el (vc-default-mode-line-string): Doc fix.
4705 2010-09-30 Juanma Barranquero <lekktu@gmail.com>
4707 * server.el (server-start): Don't write pid to the authentication file.
4708 (server-create-tty-frame): Don't send pid.
4709 (server-process-filter): Send pid at the start of every connection.
4711 2010-09-30 Glenn Morris <rgm@gnu.org>
4713 * calendar/diary-lib.el (view-diary-entries, list-diary-entries)
4714 (show-all-diary-entries): Remove obsolete function aliases.
4716 * calendar/appt.el (appt-issue-message, appt-visible, appt-msg-window):
4717 Remove options, obsolete since 22.1.
4718 (appt-display-format, appt-display-message):
4719 Remove backwards-compatibility code.
4720 (appt-check): No longer check appt-issue-message.
4721 (appt-make-list): No longer autoload it. Doc fix. No longer
4722 activate the package.
4724 2010-09-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
4726 * net/gnutls.el (starttls-negotiate): Loop a lot longer.
4727 (starttls-negotiate): Just call boot, and let the handshake be
4728 triggered from the read loop.
4730 2010-09-29 Glenn Morris <rgm@gnu.org>
4732 * calendar/diary-lib.el (diary-list-entries): Use temp buffers when
4733 not displaying the diary.
4734 (diary-add-to-list): If no buffer-file-name, fall back to diary-file.
4735 * calendar/appt.el (appt-check): No longer need to kill diary.
4737 * calendar/diary-lib.el (diary-list-entries): Move the
4738 "Preparing..." message entirely here.
4739 (diary-simple-display, diary-fancy-display): Move "Preparing..."
4740 messages to diary-list-entries.
4741 (diary-include-other-diary-files): Use LIST-ONLY rather than setting
4742 diary-display-function.
4744 * calendar/diary-lib.el (diary-include-other-diary-files):
4745 Trap some recursive includes.
4747 * calendar/appt.el (appt-activate): Check diary file.
4749 2010-09-29 Katsumi Yamaoka <yamaoka@jpl.org>
4751 * pgg.el (pgg-run-at-time-1): Define it for XEmacs only; fix if/else
4754 * calendar/time-date.el: No need to require cl for Emacs 21.
4756 2010-09-28 Glenn Morris <rgm@gnu.org>
4758 * calendar/appt.el (appt-check): Minor simplification.
4760 2010-09-28 Katsumi Yamaoka <yamaoka@jpl.org>
4762 * mail/sendmail.el (mail-citation-prefix-regexp): Remove "}" from
4765 2010-09-27 Andreas Schwab <schwab@linux-m68k.org>
4767 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
4768 Avoid infinite recursion on erroneous lambda form. (Bug#7114)
4770 2010-09-27 Kenichi Handa <handa@m17n.org>
4772 * tar-mode.el (tar-header-block-tokenize): Decode filenames in
4775 2010-09-27 Kenichi Handa <handa@m17n.org>
4777 * international/mule.el (define-coding-system): Docstring fixed.
4779 * international/mule-diag.el (describe-character-set): Use princ
4780 with proper print-length and print-level instead of insert.
4782 2010-09-27 Juanma Barranquero <lekktu@gmail.com>
4784 * window.el (walk-windows): Doc fix (bug#7105).
4786 2010-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
4788 * emacs-lisp/float-sup.el (e): Remove.
4790 2010-09-27 Teodor Zlatanov <tzz@lifelogs.com>
4792 * net/gnutls.el (gnutls, gnutls-log-level): Add group and custom
4794 (starttls-negotiate): Use it.
4796 2010-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
4798 * net/gnutls.el (starttls-negotiate): Stop looping when we get a t
4801 2010-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
4803 * emacs-lisp/pcase.el (pcase-let*, pcase-let): plet -> pcase-let.
4805 2010-09-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
4807 * net/gnutls.el (starttls-negotiate): Avoid the cl.el decf function.
4809 * net/netrc.el (netrc-store-data): New function.
4811 2010-09-26 Teodor Zlatanov <tzz@lifelogs.com>
4813 * net/gnutls.el: GnuTLS glue code to set up a connection.
4815 2010-09-25 Julien Danjou <julien@danjou.info>
4817 * notifications.el: Call dbus-register-signal only if it is bound.
4819 2010-09-25 Glenn Morris <rgm@gnu.org>
4821 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
4822 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
4823 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
4824 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
4825 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
4826 * eshell/esh-cmd.el, eshell/esh-ext.el, eshell/esh-io.el:
4827 * eshell/esh-mode.el, eshell/esh-proc.el, eshell/esh-test.el:
4828 * eshell/esh-util.el, eshell/esh-var.el:
4829 Remove leading `*' from docs of faces and defcustoms.
4831 2010-09-25 Ulrich Mueller <ulm@gentoo.org>
4833 * eshell/em-ls.el (eshell-ls-archive-regexp):
4834 * eshell/esh-util.el (eshell-tar-regexp):
4835 * ibuffer.el (ibuffer-compressed-file-name-regexp):
4836 * info.el (Info-suffix-list):
4837 * international/mule.el (auto-coding-alist):
4838 * woman.el (woman-file-regexp, woman-file-compression-regexp):
4839 * progmodes/etags.el (tags-compression-info-list):
4840 Support xz compression.
4842 2010-09-25 Chong Yidong <cyd@stupidchicken.com>
4844 * files.el (get-free-disk-space): Don't assume the "df" output
4845 columns line up (Bug#6995).
4847 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
4849 * finder.el (finder-unknown-keywords):
4850 * progmodes/gdb-mi.el (gdb-jsonify-buffer, gdb-running-threads-count):
4851 * progmodes/etags.el (tags-table-including): Fix typos in docstrings.
4853 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
4855 * server.el (server-start): Revert part of 2010-08-08 change. Using
4856 address 127.0.0.1 for local host is now done in Fmake_network_process.
4858 2010-09-24 Glenn Morris <rgm@gnu.org>
4860 * image-mode.el, progmodes/compile.el, progmodes/gud.el:
4861 * progmodes/mixal-mode.el, textmodes/bibtex-style.el:
4862 * textmodes/css-mode.el, textmodes/dns-mode.el:
4863 Move autoloaded auto-mode-alist entries to files.el.
4864 * files.el (auto-mode-alist): Move entries here.
4866 2010-09-23 Glenn Morris <rgm@gnu.org>
4868 * isearch.el (isearch-lazy-highlight-cleanup)
4869 (isearch-lazy-highlight-initial-delay)
4870 (isearch-lazy-highlight-interval)
4871 (isearch-lazy-highlight-max-at-a-time, isearch-lazy-highlight-face):
4872 * net/net-utils.el (ipconfig-program-options):
4873 Move aliases to options before the associated definitions.
4875 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
4877 * newcomment.el (comment-normalize-vars): Better test validity of
4880 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
4882 * emacs-lisp/float-sup.el (float-pi): New name for `pi'.
4883 (float-e): New name for `e'.
4884 (degrees-to-radians, radians-to-degrees):
4885 * calendar/solar.el (solar-longitude):
4886 * calculator.el (calculator-registers, calculator-funcall):
4887 * textmodes/artist.el (artist-spray-random-points):
4888 * play/bubbles.el (bubbles--initialize-images): Use new names.
4890 2010-09-23 Eric M. Ludlam <zappo@gnu.org>
4892 Update to CEDET 1.0's version of EIEIO.
4894 * emacs-lisp/eieio.el (eieio-specialized-key-to-generic-key):
4896 (eieio-defmethod, eieio-generic-form, eieio-generic-call): Use it.
4897 (eieio-default-eval-maybe): Eval val instead of unquoting only.
4898 (class-precedence-list): If class is nil, return nil.
4899 (eieio-generic-call): If class of first input arg is nil, don't
4900 look up static methods, and do check for primary methods.
4901 (initialize-instance): See if the default needs to be evaluated
4902 during the constructor.
4903 (eieio-perform-slot-validation-for-default): Don't do the check
4904 for values that will eventually be evaluated.
4905 (eieio-eval-default-p): New function.
4906 (eieio-default-eval-maybe): Use it.
4908 2010-09-23 Jan Moringen <jan.moringen@uni-bielefeld.de>
4910 * emacs-lisp/eieio.el (eieio-defclass): Allow :c3
4911 method-invocation-order.
4912 (eieio-c3-candidate, eieio-c3-merge-lists): New functions.
4913 (eieio-class-precedence-dfs): Compute class precedence list using
4915 (eieio-class-precedence-bfs): Compute class precedence list using
4917 (eieio-class-precedence-c3): Compute class precedence list using
4919 (class-precedence-list): New function.
4920 (eieiomt-method-list, eieiomt-sym-optimize): Use it.
4921 (inconsistent-class-hierarchy): New error symbol.
4922 (call-next-method): Stow the replacement argument list for future
4923 call-next-method invocations.
4925 2010-09-23 Glenn Morris <rgm@gnu.org>
4927 * calendar/appt.el (appt-check): If not displaying the diary,
4928 use (diary 1) to only get the entries we need.
4929 (appt-make-list): Sort diary-list-entries, if we cannot guarantee
4930 that it is in day order. (Bug#7019)
4932 * calendar/appt.el (appt-check): Rather than showing the diary,
4933 just turn off invisible display, and only if needed.
4935 * calendar/diary-lib.el (diary-list-entries): Doc fix. (Bug#7019)
4937 2010-09-23 Glenn Morris <rgm@gnu.org>
4939 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
4940 (byte-compile-defvar, byte-compile-cl-warn):
4941 Start warnings with lower-case, like the majority.
4943 * files.el (auto-mode-alist): Add .xa, .xw, .xsw for ld-script-mode.
4945 * files.el (auto-mode-alist): Prefer C-mode for .xs. (Bug#7071)
4947 * progmodes/ld-script.el (auto-mode-alist): Move to files.el.
4948 * files.el (auto-mode-alist): Move ld-script entries here, further down
4951 * vc/add-log.el: Don't require timezone when compiling.
4952 (timezone-make-date-sortable): Autoload it.
4953 (change-log-sortable-date-at): Don't require timezone.
4954 Use `ignore-errors'.
4956 * comint.el (comint-use-prompt-regexp-instead-of-fields):
4957 Move alias before definition, so it does not need autoloading.
4959 * emulation/crisp.el, emulation/cua-base.el, emulation/edt.el:
4960 * emulation/pc-select.el, emulation/vip.el, international/iso-ascii.el:
4961 * international/kkc.el, international/ogonek.el, mail/feedmail.el:
4962 * net/browse-url.el, net/eudc-vars.el, net/net-utils.el:
4963 * net/rcompile.el, net/rlogin.el, textmodes/enriched.el:
4964 * textmodes/makeinfo.el, textmodes/page-ext.el, textmodes/picture.el:
4965 * textmodes/refer.el, textmodes/spell.el, textmodes/table.el:
4966 * textmodes/tex-mode.el, textmodes/two-column.el:
4967 Remove leading `*' from docs of defcustoms etc.
4969 2010-09-23 Teodor Zlatanov <tzz@lifelogs.com>
4971 * net/netrc.el (netrc-parse): Remove encrypt.el mentions.
4973 2010-09-22 Dan Christensen <jdc@uwo.ca>
4975 * calendar/time-date.el (date-to-time): Try using parse-time-string
4976 first before using the slower timezone-make-date-arpa-standard.
4978 2010-09-22 Katsumi Yamaoka <yamaoka@jpl.org>
4980 * calendar/time-date.el (format-seconds): Comment fix.
4982 2010-09-22 Glenn Morris <rgm@gnu.org>
4984 * emacs-lisp/package.el (package-menu-mode): `revert-buffer-function'
4985 is not automatically buffer-local.
4987 2010-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
4989 * emacs-lisp/smie.el (smie-debug--describe-cycle): Fix typo.
4990 (smie-indent-comment): Be more careful with comment-start-skip.
4991 (smie-indent-comment-close, smie-indent-comment-inside): New funs.
4992 (smie-indent-functions): Use them.
4994 2010-09-21 Michael Albinus <michael.albinus@gmx.de>
4996 * net/ange-ftp.el (ange-ftp-skip-msgs): Add "^504 ..." message.
4998 2010-09-21 Jan Djärv <jan.h.d@swipnet.se>
5000 * menu-bar.el (menu-bar-set-tool-bar-position): customize-set-variable
5001 tool-bar-position. Don't modify frame parameters here.
5002 (menu-bar-options-save): Add tool-bar-position.
5004 * tool-bar.el (tool-bar-position): New defcustom (Bug#7049).
5006 2010-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
5008 * textmodes/reftex-parse.el (reftex-what-macro)
5009 (reftex-context-substring): Let-bind forward-sexp-function to nil
5010 since we don't need/want to treat \begin...\end as a block (bug#7053).
5012 * emacs-lisp/lisp.el (up-list): Don't do nothing silently.
5014 * simple.el (blink-matching-open): Use syntax-class.
5016 * progmodes/pascal.el (pascal-mode): Use define-derived-mode.
5017 Set invisibility spec for pascal's outline mode.
5018 (pascal-outline-change): Clean up calling convention.
5019 (pascal-show-all, pascal-hide-other-defuns): Update callers.
5021 * progmodes/prolog.el (prolog-smie-forward-token)
5022 (prolog-smie-backward-token): New functions.
5023 (prolog-mode-variables): Use them to parse "!," correctly.
5024 Set up smie-blink-matching for ".".
5026 * textmodes/ispell.el (ispell-start, ispell-end): Rename from `start'
5028 (ispell-region, ispell-process-line): Update users.
5030 * textmodes/reftex-parse.el (reftex-what-macro): Don't hardcode
5033 * textmodes/ispell.el: Fix commenting convention.
5034 (ispell-parse-output): Simplify, use push.
5035 (ispell-region): Use match-string-no-properties.
5036 (ispell-begin-skip-region-regexp): Use mapconcat to simplify.
5037 (ispell-minor-mode): Use define-minor-mode.
5038 (ispell-message): Remove unused var `skip-regexp'.
5039 (ispell-add-per-file-word-list): Use dynamic let-binding.
5040 Try and use the proper comment marker.
5042 * mail/sendmail.el: Fix commenting convention.
5043 (sendmail-send-it): Use line-beginning-position.
5045 * help-fns.el (describe-variable): Add original value, if applicable.
5047 2010-09-20 Juanma Barranquero <lekktu@gmail.com>
5049 * subr.el (y-or-n-p): Remove leftover code from 2010-09-17T13:30:30Z!monnier@iro.umontreal.ca.
5051 * emacs-lisp/smie.el (smie-indent--hanging-p): Use `smie-indent--bolp'.
5053 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5055 * emacs-lisp/smie.el (smie-bnf-precedence-table): Improve error message.
5056 (smie-debug--prec2-cycle, smie-debug--describe-cycle): New functions.
5057 (smie-prec2-levels): Use them to better diagnose precedence cycles.
5058 (smie-blink-matching-check): Don't signal a mismatch if car is t.
5059 (smie-blink-matching-open): Rewrite to remove assumptions, so that
5060 something like "." can also be a closer.
5061 (smie--associative-p, smie-indent--hanging-p, smie-indent--bolp)
5062 (smie-indent--offset, smie-indent--offset-rule, smie-indent--column):
5063 Rename internal functions to use "--". Update callers.
5065 * frame.el (make-frame-names-alist): Don't list frames on other displays.
5067 * fringe.el (fringe-styles): New var.
5068 (fringe-mode, fringe-query-style): Use it.
5070 2010-09-18 Michael R. Mauger <mmaug@yahoo.com>
5072 * progmodes/sql.el: Version 2.8
5073 (sql-login-params): Update widget structure; changes still needed.
5074 (sql-product-alist): Add :list-all and :list-table features for
5075 SQLite, Postgres and MySQL products.
5076 (sql-redirect): Handle default value.
5077 (sql-execute, sql-execute-feature): New functions.
5078 (sql-read-table-name): New function.
5079 (sql-list-all, sql-list-table): New functions. User API.
5080 (sql-mode-map, sql-interactive-mode-map): Add key definitions
5081 for above functions.
5082 (sql-mode-menu, sql-interactive-mode-menu): Add menu definitions
5083 for above functions.
5084 (sql-postgres-login-params): Add user and database defaults.
5085 (sql-buffer-live-p): Bug fix.
5086 (sql-product-history): New variable.
5087 (sql-read-product): New function. Use it.
5088 (sql-set-product, sql-product-interactive): Use it.
5089 (sql-connection-history): New variable.
5090 (sql-read-connection): New function. Use it.
5091 (sql-connect): New function.
5092 (sql-for-each-login): Redesign function interface.
5093 (sql-make-alternate-buffer-name, sql-save-connection): Use it.
5094 (sql-get-login-ext, sql-get-login): Use it. Handle default values.
5095 (sql-comint): Check for program. Existing live buffer.
5096 (sql-comint-postgres): Add port parameter.
5098 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5100 * emacs-lisp/warnings.el: Fix commenting convention.
5101 (display-warning): Use special mode and make the buffer read-only.
5103 2010-09-18 Jay Belanger <jay.p.belanger@gmail.com>
5105 * calc/calc-prog.el (calc-read-parse-table-part): Don't "fix" the
5106 empty string when it follows a repeated or optional pattern.
5108 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
5110 * indent.el (indent-according-to-mode): Apply syntax-propertize.
5111 (indent-region): Use indent-according-to-mode.
5113 2010-09-18 Eli Zaretskii <eliz@gnu.org>
5115 * fringe.el (fringe-mode): Doc fix.
5117 2010-09-14 Kan-Ru Chen <kanru@kanru.info> (tiny change)
5119 * textmodes/nroff-mode.el (nroff-view): Kill old buffer before
5120 refreshing the preview buffer.
5122 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
5124 * textmodes/tex-mode.el (tex-syntax-propertize-rules)
5125 (latex-syntax-propertize-rules): New consts; replace
5126 tex-font-lock-syntactic-keywords.
5127 (tex-env-mark, latex-env-before-change): New functions.
5128 (latex-electric-env-pair-mode): New minor mode.
5129 (tex-font-lock-verb): Change arguments; do move point.
5130 (tex-font-lock-syntactic-face-function): Adjust to new verbatim
5131 representation as a form of comment.
5132 (tex-font-lock-keywords-1): Remove workaround, now unneeded.
5133 (doctex-syntax-propertize-rules): New const; replaces
5134 doctex-font-lock-syntactic-keywords.
5135 (tex-common-initialization, doctex-mode): Use syntax-propertize-rules.
5137 * progmodes/fortran.el (fortran--font-lock-syntactic-keywords): Remove.
5138 (fortran-make-syntax-propertize-function): New function; replaces
5139 fortran-font-lock-syntactic-keywords.
5140 (fortran-mode): Use it.
5141 (fortran-line-length): Use it. Improve interactive spec.
5143 * emacs-lisp/syntax.el (syntax-propertize-precompile-rules): New macro.
5144 (syntax-propertize-rules): Add var-ref case. Fix offset computation
5145 when adding surrounding \(..\).
5147 * progmodes/js.el (js-mode): Fix last change (bug#7054).
5149 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
5151 * obsolete/old-whitespace.el (whitespace-rescan-files-in-buffers):
5152 Use with-current-buffer.
5154 * isearch.el (isearch-face): Rename from `isearch'.
5155 (isearch-highlight): Use new name.
5157 2010-09-17 Eli Zaretskii <eliz@gnu.org>
5159 * fringe.el (fringe-mode, fringe-query-style): Use 4 pixels, not
5160 5, for `half' width fringes. (Bug#6933)
5162 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
5164 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
5165 (byte-compile-defvar): "foo/bar" does not lack a prefix.
5167 * subr.el (y-or-n-p): Add the "(y or n)" that was lost somehow.
5169 2010-09-17 Stephen Berman <stephen.berman@gmx.net>
5171 * dframe.el (dframe-reposition-frame-emacs): Use tool-bar-pixel-width
5172 in calculating new frame position. Add more space between new and
5173 parent on the left (Bug#7048).
5175 2010-09-17 Michael Albinus <michael.albinus@gmx.de>
5177 * net/tramp-compat.el (tramp-compat-with-temp-message): Make it a
5180 2010-09-16 Chong Yidong <cyd@stupidchicken.com>
5182 * mail/sendmail.el: Add "*unsent mail*" to same-window-buffer-names.
5184 * term/x-win.el (x-cut-buffer-or-selection-value): Define as
5185 obsolete alias for x-selection-value.
5187 * ido.el (ido-make-buffer-list): Fix error in 2010-08-22 merge.
5189 2010-09-16 Michael Albinus <michael.albinus@gmx.de>
5191 * net/tramp-cmds.el (tramp-cleanup-connection): Set tramp-autoload
5194 2010-09-15 Michael Albinus <michael.albinus@gmx.de>
5196 * net/tramp-compat.el (tramp-compat-with-temp-message)
5197 (tramp-compat-font-lock-add-keywords, tramp-compat-process-get)
5198 (tramp-compat-process-put): New defuns.
5200 * net/tramp.el (top):
5201 * net/tramp-gvfs.el (top):
5202 * net/tramp-cache.el (top): Use `tramp-compat-font-lock-add-keywords'.
5204 * net/tramp.el (tramp-progress-reporter-update):
5205 Use `tramp-compat-funcall'.
5207 * net/tramp.el (tramp-process-actions):
5208 * net/tramp-gvfs.el (tramp-handle-vc-registered):
5209 * net/tramp-sh.el (tramp-gvfs-handler-askquestion)
5210 (tramp-get-remote-stat, tramp-get-remote-readlink):
5211 Use `tramp-compat-with-temp-message'.
5213 * net/tramp-sh.el (top): Require 'cl.
5214 (tramp-handle-start-file-process): Use `tramp-compat-process-get'.
5215 (tramp-open-connection-setup-interactive-shell):
5216 Use `tramp-compat-process-put'.
5218 2010-09-15 Alan Mackenzie <acm@muc.de>
5220 * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Correct the
5222 (c-forward-<>-arglist-recur): Fix an infinite recursion.
5224 2010-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
5226 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
5227 `lexical' for warnings related to lexical scoping.
5228 (byte-compile-file-form-defvar, byte-compile-defvar): Warn about
5229 global vars which don't have a prefix and could hence affect lexical
5230 scoping in unrelated files.
5232 2010-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
5234 * net/imap.el: Revert back to version
5235 cb950ed8ff3e0f40dac437a51b269166f9ffb60d, since some of the changes
5238 2010-09-14 Juanma Barranquero <lekktu@gmail.com>
5240 * obsolete/old-whitespace.el (whitespace-unload-function):
5241 Explicitly pass `obarray' to `unintern' to avoid a warning.
5243 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
5245 * emacs-lisp/byte-run.el (set-advertised-calling-convention):
5246 Add `when' argument. Update callers.
5248 * subr.el (unintern): Declare the obarray arg mandatory.
5250 2010-09-14 Glenn Morris <rgm@gnu.org>
5252 * calendar/diary-lib.el (diary-list-entries-hook, diary-sort-entries):
5255 * calendar/diary-lib.el (diary-included-files): New variable.
5256 (diary-list-entries): Maybe initialize diary-included-files.
5257 (diary-include-other-diary-files): Append to diary-included-files.
5258 * calendar/appt.el (appt-update-list): Also check the members of
5259 diary-included-files. (Bug#6999)
5260 (appt-check): Doc fix.
5262 2010-09-14 David Reitter <david.reitter@gmail.com>
5264 * simple.el (line-move-visual): Do not truncate goal column to
5265 integer size. (Bug#7020)
5267 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
5269 * repeat.el (repeat): Allow repeating when the last event is a click.
5270 Suggested by Drew Adams (bug#6256).
5272 2010-09-14 Sascha Wilde <wilde@sha-bang.de>
5274 * vc/vc-hg.el (vc-hg-state,vc-hg-working-revision):
5275 Replace setting HGRCPATH to "" by some less invasive --config options.
5277 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
5279 * font-lock.el (font-lock-beginning-of-syntax-function):
5282 2010-09-14 Glenn Morris <rgm@gnu.org>
5284 * menu-bar.el (menu-bar-options-save): Fix handling of menu-bar
5285 and tool-bar modes. (Bug#6211)
5286 (menu-bar-mode): Move setting of standard-value after the
5287 minor-mode definition, otherwise it seems to have no effect.
5289 2010-09-14 Masatake YAMATO <yamato@redhat.com>
5291 * progmodes/antlr-mode.el (antlr-font-lock-additional-keywords):
5292 Fix typo. (Bug#6976)
5294 2010-09-14 Vinicius Jose Latorre <viniciusjl@ig.com.br>
5296 * whitespace.el: Allow cleaning up blanks without blank
5297 visualization (Bug#6651). Adjust help window for
5298 whitespace-toggle-options (Bug#6479). Allow to use fill-column
5299 instead of whitespace-line-column (from EmacsWiki). New version 13.1.
5300 (whitespace-style): Add new value 'face. Adjust docstring.
5301 (whitespace-space, whitespace-hspace, whitespace-tab):
5302 Adjust foreground property face.
5303 (whitespace-line-column): Adjust docstring and type declaration.
5304 (whitespace-style-value-list, whitespace-toggle-option-alist)
5305 (whitespace-help-text): Adjust const initialization.
5306 (whitespace-toggle-options, global-whitespace-toggle-options):
5308 (whitespace-display-window, whitespace-interactive-char)
5309 (whitespace-style-face-p, whitespace-color-on): Adjust code.
5310 (whitespace-help-scroll): New fun.
5312 2010-09-14 Katsumi Yamaoka <yamaoka@jpl.org>
5314 * calendar/time-date.el (format-seconds): Comment fix.
5316 2010-09-13 Michael R. Mauger <mmaug@yahoo.com>
5318 * progmodes/sql.el: Version 2.7.
5319 (sql-buffer-live-p): Improve detection.
5320 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
5321 (sql-set-sqli-buffer): Use it.
5322 (sql-product-interactive): Run `sql-set-sqli-hook'.
5323 (sql-rename-buffer): Code cleanup.
5324 (sql-redirect, sql-redirect-value): New functions. More to come.
5326 2010-09-13 Juanma Barranquero <lekktu@gmail.com>
5328 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.
5329 * makefile.w32-in (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
5330 (TRAMP_SRC): New macro.
5331 ($(lisp)/net/tramp-loaddefs.el): New target.
5333 2010-09-13 Michael Albinus <michael.albinus@gmx.de>
5335 Major code cleanup. Split tramp.el into tramp.el and tramp-sh.el.
5337 * Makefile.in (TRAMP_SRC): Remove tramp-fish.el. Add tramp-sh.el.
5339 * net/tramp.el (top): Don't show loading message. Require just
5340 'tramp-compat, everything else is required there.
5341 Use `ignore-errors' where appropriate.
5342 (tramp-inline-compress-start-size, tramp-copy-size-limit)
5343 (tramp-terminal-type, tramp-end-of-output)
5344 (tramp-initial-end-of-output, tramp-completion-function-alist-rsh)
5345 (tramp-completion-function-alist-ssh)
5346 (tramp-completion-function-alist-telnet)
5347 (tramp-completion-function-alist-su)
5348 (tramp-completion-function-alist-putty, tramp-remote-path)
5349 (tramp-remote-process-environment, tramp-sh-extra-args)
5350 (tramp-actions-before-shell, tramp-uudecode)
5351 (tramp-perl-file-truename, tramp-perl-file-name-all-completions)
5352 (tramp-perl-file-attributes)
5353 (tramp-perl-directory-files-and-attributes)
5354 (tramp-perl-encode-with-module, tramp-perl-decode-with-module)
5355 (tramp-perl-encode, tramp-perl-decode)
5356 (tramp-vc-registered-read-file-names, tramp-file-mode-type-map)
5357 (tramp-file-name-handler-alist, tramp-make-tramp-temp-file)
5358 (tramp-handle-make-symbolic-link, tramp-handle-load)
5359 (tramp-handle-file-name-as-directory)
5360 (tramp-handle-file-name-directory)
5361 (tramp-handle-file-name-nondirectory, tramp-handle-file-truename)
5362 (tramp-handle-file-exists-p, tramp-handle-file-attributes)
5363 (tramp-do-file-attributes-with-ls)
5364 (tramp-do-file-attributes-with-perl)
5365 (tramp-do-file-attributes-with-stat)
5366 (tramp-handle-set-visited-file-modtime)
5367 (tramp-handle-verify-visited-file-modtime)
5368 (tramp-handle-set-file-modes, tramp-handle-set-file-times)
5369 (tramp-set-file-uid-gid, tramp-remote-selinux-p)
5370 (tramp-handle-file-selinux-context)
5371 (tramp-handle-set-file-selinux-context)
5372 (tramp-handle-file-executable-p, tramp-handle-file-readable-p)
5373 (tramp-handle-file-newer-than-file-p, tramp-handle-file-modes)
5374 (tramp-handle-file-directory-p, tramp-handle-file-regular-p)
5375 (tramp-handle-file-symlink-p, tramp-handle-file-writable-p)
5376 (tramp-handle-file-ownership-preserved-p)
5377 (tramp-handle-directory-file-name, tramp-handle-directory-files)
5378 (tramp-handle-directory-files-and-attributes)
5379 (tramp-do-directory-files-and-attributes-with-perl)
5380 (tramp-do-directory-files-and-attributes-with-stat)
5381 (tramp-handle-file-name-all-completions)
5382 (tramp-handle-file-name-completion, tramp-handle-add-name-to-file)
5383 (tramp-handle-copy-file, tramp-handle-copy-directory)
5384 (tramp-handle-rename-file, tramp-do-copy-or-rename-file)
5385 (tramp-do-copy-or-rename-file-via-buffer)
5386 (tramp-do-copy-or-rename-file-directly)
5387 (tramp-do-copy-or-rename-file-out-of-band)
5388 (tramp-handle-make-directory, tramp-handle-delete-directory)
5389 (tramp-handle-delete-file)
5390 (tramp-handle-dired-recursive-delete-directory)
5391 (tramp-handle-dired-compress-file, tramp-handle-dired-uncache)
5392 (tramp-handle-insert-directory)
5393 (tramp-handle-unhandled-file-name-directory)
5394 (tramp-handle-expand-file-name)
5395 (tramp-handle-substitute-in-file-name)
5396 (tramp-handle-executable-find, tramp-process-sentinel)
5397 (tramp-handle-start-file-process, tramp-handle-process-file)
5398 (tramp-handle-call-process-region, tramp-handle-shell-command)
5399 (tramp-handle-file-local-copy, tramp-handle-file-remote-p)
5400 (tramp-handle-insert-file-contents)
5401 (tramp-handle-insert-file-contents-literally)
5402 (tramp-handle-find-backup-file-name)
5403 (tramp-handle-make-auto-save-file-name, tramp-handle-write-region)
5404 (tramp-vc-registered-file-names, tramp-handle-vc-registered)
5405 (tramp-sh-file-name-handler, tramp-vc-file-name-handler)
5406 (tramp-maybe-send-script, tramp-set-auto-save, tramp-run-test)
5407 (tramp-run-test2, tramp-find-executable, tramp-set-remote-path)
5408 (tramp-find-file-exists-command, tramp-open-shell)
5409 (tramp-find-shell, tramp-barf-if-no-shell-prompt)
5410 (tramp-open-connection-setup-interactive-shell)
5411 (tramp-local-coding-commands, tramp-remote-coding-commands)
5412 (tramp-find-inline-encoding, tramp-call-local-coding-command)
5413 (tramp-inline-compress-commands, tramp-find-inline-compress)
5414 (tramp-compute-multi-hops, tramp-maybe-open-connection)
5415 (tramp-send-command, tramp-wait-for-output)
5416 (tramp-send-command-and-check, tramp-barf-unless-okay)
5417 (tramp-send-command-and-read, tramp-mode-string-to-int)
5418 (tramp-convert-file-attributes, tramp-check-cached-permissions)
5419 (tramp-file-mode-from-int, tramp-file-mode-permissions)
5420 (tramp-shell-case-fold, tramp-make-copy-program-file-name)
5421 (tramp-method-out-of-band-p, tramp-local-host-p)
5422 (tramp-get-remote-path, tramp-get-remote-tmpdir)
5423 (tramp-get-ls-command, tramp-get-ls-command-with-dired)
5424 (tramp-get-test-command, tramp-get-test-nt-command)
5425 (tramp-get-file-exists-command, tramp-get-remote-ln)
5426 (tramp-get-remote-perl, tramp-get-remote-stat)
5427 (tramp-get-remote-readlink, tramp-get-remote-trash)
5428 (tramp-get-remote-id, tramp-get-remote-uid, tramp-get-remote-gid)
5429 (tramp-get-local-uid, tramp-get-local-gid)
5430 (tramp-get-inline-compress, tramp-get-inline-coding): Move to
5432 (tramp-methods, tramp-default-method-alist)
5433 (tramp-default-user-alist, tramp-foreign-file-name-handler-alist):
5434 Move initialization to tramp-sh.el.
5435 (tramp-temp-name-prefix): Make it a defconst.
5436 (tramp-dissect-file-name): Don't check anymore for multi-hop
5438 (tramp-debug-outline-regexp): Add a docstring.
5439 (tramp-debug-outline-level): Rename from `tramp-outline-level'.
5440 (tramp-get-debug-buffer): Use it.
5442 * net/tramp-cache.el (top): Set tramp-autoload cookie for
5443 initialization forms.
5444 (tramp-set-connection-property): Don't protect `tramp-message'
5445 call, it isn't necessary any longer.
5446 (tramp-dump-connection-properties): Use `ignore-errors'.
5448 * net/tramp-compat.el (top): Require 'advice, 'format-spec,
5449 'password-cache and 'auth-source.
5451 * net/tramp-gvfs.el (top):
5452 * net/tramp-smb.el (top): Require 'tramp-sh.
5454 * net/tramp-gw.el (tramp-gw-open-network-stream): Use `ignore-errors'.
5456 * net/tramp-sh.el: New file, derived from tramp.el.
5457 (top): Initialize `tramp-methods', `tramp-default-method-alist',
5458 `tramp-default-user-alist', `tramp-foreign-file-name-handler-alist'.
5459 Remove "scp1_old", "scp2_old", "ssh1_old", "ssh2_old".
5460 Use `ignore-errors' where appropriate.
5461 (tramp-sh-file-name-handler-alist): Rename from
5462 `tramp-file-name-handler-alist'.
5463 (tramp-send-command-and-check): Return t or nil. Remove all
5464 `zerop' checks, where called.
5465 (tramp-handle-set-file-modes)
5466 (tramp-do-copy-or-rename-file-directly)
5467 (tramp-handle-delete-directory, tramp-handle-delete-file)
5468 (tramp-maybe-send-script): Use `tramp-barf-unless-okay'.
5469 (tramp-sh-file-name-handler, tramp-send-command-and-check)
5470 (tramp-get-remote-ln): Set tramp-autoload cookie.
5472 * net/tramp-fish.el: Remove file.
5474 2010-09-13 Daiki Ueno <ueno@unixuser.org>
5476 * epa-file.el (epa-file-insert-file-contents): If visiting, bind
5477 buffer-file-name to avoid file-locking. (Bug#7026)
5479 2010-09-13 Julien Danjou <julien@danjou.info>
5481 * notifications.el (notifications-notify): Add support for
5482 image-path and sound-name.
5483 (notifications-specification-version): Add this variable.
5485 2010-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5487 * subr.el (y-or-n-p): New function, moved from src/fns.c; use read-key.
5489 2010-09-12 Leo <sdl.web@gmail.com>
5491 * net/rcirc.el (rcirc-server-commands, rcirc-client-commands)
5492 (rcirc-completion-start): New variables.
5493 (rcirc-nick-completions): Rename to rcirc-completions.
5494 (rcirc-nick-completion-start-offset): Delete.
5495 (rcirc-completion-at-point): New function for constructing
5496 completion data for both nicks and irc commands. Add to
5497 completion-at-point-functions in rcirc mode.
5498 (rcirc-complete): Rename from rcirc-nick-complete; use
5499 rcirc-completion-at-point.
5500 (defun-rcirc-command): Update rcirc-client-commands.
5502 2010-09-11 Glenn Morris <rgm@gnu.org>
5504 * emacs-lisp/bytecomp.el (byte-compile-file): Create .elc files
5505 atomically, to avoid parallel build errors. (Bug#4196)
5507 2010-09-11 Michael R. Mauger <mmaug@yahoo.com>
5509 * progmodes/sql.el: Version 2.6
5510 (sql-dialect): Synonym for "sql-product".
5511 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
5512 (sql-set-sqli-buffer, sql-show-sqli-buffer, sql-interactive-mode):
5513 Set "sql-buffer" to buffer name not buffer object so multiple sql
5514 interactive buffers work properly. Reverts misguided changes in
5516 (sql-comint): Make sure different buffer name is used if "*SQL*"
5517 buffer is for a different product.
5518 (sql-make-alternate-buffer-name): Fix bug with "sql-database"
5520 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
5521 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
5522 (sql-db2, sql-linter, sql-product-interactive, sql-rename-buffer):
5523 Accept new buffer name or prompt for one.
5524 (sql-port): Default to zero.
5525 (sql-comint-mysql): Handle "sql-port" as a numeric.
5526 (sql-port-history): Delete unused variable.
5527 (sql-get-login): Default "sql-port" to a number.
5528 (sql-product-alist): Correct Postgres prompt and terminator regexp.
5529 (sql-sqlite-program): Dynamically detect presence of "sqlite" or
5530 "sqlite3" executables.
5531 (sql-sqlite-login-params): Add "*.sqlite[23]?" database name pattern.
5532 (sql-buffer-live-p): New function.
5533 (sql-mode-menu, sql-send-string): Use it.
5534 (sql-mode-oracle-font-lock-keywords): Improve SQL*Plus REMARK
5536 (sql-mode-postgres-font-lock-keywords): Support Postgres V9.
5537 (sql-mode-sqlite-font-lock-keywords): Hilight sqlite commands.
5539 2010-09-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
5541 * net/netrc.el (netrc-credentials): New convenience function.
5543 2010-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
5545 * textmodes/texinfo.el (texinfo-syntax-propertize-function): New fun
5546 to replace texinfo-font-lock-syntactic-keywords.
5547 (texinfo-mode): Use it.
5549 * textmodes/tex-mode.el (tex-common-initialization, doctex-mode):
5550 Use syntax-propertize-function.
5552 * textmodes/sgml-mode.el (sgml-syntax-propertize-function): New var to
5553 replace sgml-font-lock-syntactic-keywords.
5554 (sgml-mode): Use it.
5556 * textmodes/reftex.el (font-lock-syntactic-keywords): Don't declare
5557 since we don't use it.
5559 * textmodes/bibtex.el (bibtex-mode): Use syntax-propertize-function.
5561 * progmodes/vhdl-mode.el (vhdl-mode): Use syntax-propertize-function
5563 (vhdl-fontify-buffer): Adjust.
5565 * progmodes/tcl.el (tcl-syntax-propertize-function): New var to
5566 replace tcl-font-lock-syntactic-keywords.
5569 * progmodes/simula.el (simula-syntax-propertize-function): New var to
5570 replace simula-font-lock-syntactic-keywords.
5571 (simula-mode): Use it.
5573 * progmodes/sh-script.el (sh-st-symbol): Remove.
5574 (sh-font-lock-close-heredoc, sh-font-lock-open-heredoc): Add eol arg.
5575 (sh-font-lock-flush-syntax-ppss-cache, sh-font-lock-here-doc): Remove.
5576 (sh-font-lock-quoted-subshell): Assume we've already matched $(.
5577 (sh-font-lock-paren): Set syntax-multiline.
5578 (sh-font-lock-syntactic-keywords): Remove.
5579 (sh-syntax-propertize-function): New function to replace it.
5582 * progmodes/ruby-mode.el (ruby-here-doc-beg-re):
5583 Define while compiling.
5584 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
5585 (ruby-font-lock-syntactic-keywords, ruby-comment-beg-syntax)
5586 (syntax-ppss, ruby-in-ppss-context-p, ruby-in-here-doc-p)
5587 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
5588 (ruby-here-doc-end-syntax): Only define when
5589 syntax-propertize is not available.
5590 (ruby-syntax-propertize-function, ruby-syntax-propertize-heredoc):
5592 (ruby-in-ppss-context-p): Update to new syntax of heredocs.
5593 (electric-indent-chars): Silence bytecompiler.
5594 (ruby-mode): Use prog-mode, syntax-propertize-function, and
5595 electric-indent-chars.
5597 * progmodes/python.el (python-syntax-propertize-function): New var to
5598 replace python-font-lock-syntactic-keywords.
5599 (python-mode): Use it.
5600 (python-quote-syntax): Simplify and adjust to new use.
5602 * progmodes/perl-mode.el (perl-syntax-propertize-function): New fun to
5603 replace perl-font-lock-syntactic-keywords.
5604 (perl-syntax-propertize-special-constructs): New fun to replace
5605 perl-font-lock-special-syntactic-constructs.
5606 (perl-font-lock-syntactic-face-function): New fun.
5607 (perl-mode): Use it.
5609 * progmodes/octave-mod.el (octave-syntax-propertize-sqs): New function
5610 to replace octave-font-lock-close-quotes.
5611 (octave-syntax-propertize-function): New function to replace
5612 octave-font-lock-syntactic-keywords.
5613 (octave-mode): Use it.
5615 * progmodes/mixal-mode.el (mixal-syntax-propertize-function): New var;
5616 replaces mixal-font-lock-syntactic-keywords.
5617 (mixal-mode): Use it.
5619 * progmodes/make-mode.el (makefile-syntax-propertize-function):
5620 New var; replaces makefile-font-lock-syntactic-keywords.
5621 (makefile-mode): Use it.
5622 (makefile-imake-mode): Adjust.
5624 * progmodes/js.el (js--regexp-literal): Define while compiling.
5625 (js-syntax-propertize-function): New var; replaces
5626 js-font-lock-syntactic-keywords.
5629 * progmodes/gud.el (gdb-script-syntax-propertize-function): New var;
5630 replaces gdb-script-font-lock-syntactic-keywords.
5631 (gdb-script-mode): Use it.
5633 * progmodes/fortran.el (fortran-mode): Use syntax-propertize-function.
5634 (fortran--font-lock-syntactic-keywords): New var.
5635 (fortran-line-length): Update syntax-propertize-function and
5636 fortran--font-lock-syntactic-keywords.
5638 * progmodes/cperl-mode.el (cperl-mode): Use syntax-propertize-function.
5640 * progmodes/cfengine.el (cfengine-mode):
5641 Use syntax-propertize-function.
5642 (cfengine-font-lock-syntactic-keywords): Remove.
5644 * progmodes/autoconf.el (autoconf-mode):
5645 Use syntax-propertize-function.
5646 (autoconf-font-lock-syntactic-keywords): Remove.
5648 * progmodes/ada-mode.el (ada-set-syntax-table-properties)
5649 (ada-after-change-function, ada-initialize-syntax-table-properties)
5650 (ada-handle-syntax-table-properties): Only define when
5651 syntax-propertize is not available.
5652 (ada-mode): Use syntax-propertize-function.
5654 * font-lock.el (font-lock-syntactic-keywords): Make obsolete.
5655 (font-lock-fontify-syntactic-keywords-region): Move handling of
5656 font-lock-syntactically-fontified to...
5657 (font-lock-default-fontify-region): ...here.
5658 Let syntax-propertize-function take precedence.
5659 (font-lock-fontify-syntactically-region): Cal syntax-propertize.
5661 * emacs-lisp/syntax.el (syntax-propertize-function)
5662 (syntax-propertize-chunk-size, syntax-propertize--done)
5663 (syntax-propertize-extend-region-functions): New vars.
5664 (syntax-propertize-wholelines, syntax-propertize-multiline)
5665 (syntax-propertize--shift-groups, syntax-propertize-via-font-lock)
5666 (syntax-propertize): New functions.
5667 (syntax-propertize-rules): New macro.
5668 (syntax-ppss-flush-cache): Set syntax-propertize--done.
5669 (syntax-ppss): Call syntax-propertize.
5671 * emacs-lisp/regexp-opt.el (regexp-opt-depth): Skip named groups.
5673 2010-09-10 Agustín Martín <agustin.martin@hispalinux.es>
5675 * textmodes/ispell.el (ispell-init-process): Improve comments.
5676 XEmacs compatibility changes regarding (add-hook) 'local option
5677 and (set-process-query-on-exit-flag).
5679 2010-09-09 Michael Albinus <michael.albinus@gmx.de>
5681 * net/tramp-cache.el (tramp-parse-connection-properties):
5682 Set tramp-autoload cookie.
5684 2010-09-09 Glenn Morris <rgm@gnu.org>
5686 * image.el (imagemagick-types-inhibit): Add :type, :version, :group.
5687 (imagemagick-register-types): Doc fix.
5689 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
5691 * progmodes/octave-mod.el (electric-indent-chars): Silence bytecomp.
5693 * progmodes/js.el (require): Require is already "eval-and-compile".
5694 (js--re-search-forward): Avoid `eval'. Preserve the error data.
5695 (js--re-search-backward): Use js--re-search-forward.
5697 * progmodes/fortran.el (fortran-line-length): Don't recompute
5698 syntactic keywords redundantly a second time.
5700 * progmodes/ada-mode.el: Replace "(set '" with setq.
5701 (ada-mode): Simplify.
5702 (ada-create-case-exception, ada-adjust-case-interactive)
5703 (ada-adjust-case-region, ada-format-paramlist, ada-indent-current)
5704 (ada-search-ignore-string-comment, ada-move-to-start)
5705 (ada-move-to-end): Use with-syntax-table.
5707 * font-lock.el (save-buffer-state): Remove `varlist' arg.
5708 (font-lock-unfontify-region, font-lock-default-fontify-region):
5709 Update usage correspondingly.
5710 (font-lock-fontify-syntactic-keywords-region):
5711 Set parse-sexp-lookup-properties buffer-locally here.
5712 (font-lock-fontify-syntactically-region): Remove unused `ppss' arg.
5714 * simple.el (blink-matching-open): Don't burp if we can't find a match.
5716 2010-09-08 Glenn Morris <rgm@gnu.org>
5718 * emacs-lisp/bytecomp.el (byte-compile-report-ops):
5719 Error if not compiled with -DBYTE_CODE_METER.
5721 * emacs-lisp/bytecomp.el (byte-recompile-directory):
5722 Ignore dir-locals-file.
5724 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
5726 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5728 (compilation-error-regexp-alist-alist): Rule out ": " in file names
5729 for the `gnu' messages.
5730 (compilation-set-skip-threshold): New command.
5731 (compilation-start): Use \' rather than $.
5732 (compilation-forget-errors): Use clrhash.
5734 2010-09-08 Agustín Martín <agustin.martin@hispalinux.es>
5736 * textmodes/ispell.el (ispell-valid-dictionary-list):
5739 2010-09-08 Michael Albinus <michael.albinus@gmx.de>
5741 Migrate to Tramp 2.2. Rearrange load dependencies.
5742 (Bug#1529, Bug#5448, Bug#5705)
5744 * Makefile.in (TRAMP_DIR, TRAMP_SRC): New variables.
5745 ($(TRAMP_DIR)/tramp-loaddefs.el): New target.
5746 (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
5748 * net/tramp.el (top): Remove all other tramp-* loads except
5749 tramp-compat.el. Remove all changes to tramp-unload-hook for
5750 other tramp-* packages. Rearrange defun order. Change calls of
5751 `tramp-compat-call-process', `tramp-compat-decimal-to-octal',
5752 `tramp-compat-octal-to-decimal' to new function names.
5753 (tramp-terminal-type, tramp-initial-end-of-output)
5754 (tramp-methods, tramp-foreign-file-name-handler-alist)
5755 (tramp-tramp-file-p, tramp-completion-mode-p)
5756 (tramp-send-command-and-check, tramp-get-remote-path)
5757 (tramp-get-remote-tmpdir, tramp-get-remote-ln)
5758 (tramp-shell-quote-argument): Set tramp-autoload cookie.
5759 (with-file-property, with-connection-property): Move to
5761 (tramp-local-call-process, tramp-decimal-to-octal)
5762 (tramp-octal-to-decimal): Move to tramp-compat.el.
5763 (tramp-handle-shell-command): Do not require 'shell.
5764 (tramp-compute-multi-hops): No special handling for tramp-gw-*
5766 (tramp-unload-tramp): Do not call `tramp-unload-file-name-handlers'.
5768 * net/tramp-cache.el (top): Require 'tramp. Add to
5769 `tramp-unload-hook'.
5770 (tramp-cache-data, tramp-get-file-property)
5771 (tramp-set-file-property, tramp-flush-file-property)
5772 (tramp-flush-directory-property, tramp-get-connection-property)
5773 (tramp-set-connection-property, tramp-flush-connection-property)
5774 (tramp-cache-print, tramp-list-connections): Set tramp-autoload
5776 (with-file-property, with-connection-property): New defuns, moved
5778 (tramp-flush-file-function): Use `with-parsed-tramp-file-name'
5781 * net/tramp-cmds.el (top): Add to `tramp-unload-hook'.
5782 (tramp-version): Set tramp-autoload cookie.
5784 * net/tramp-compat.el (top): Require 'tramp-loaddefs. Remove all
5785 changes to tramp-unload-hook for other tramp-* packages. Add to
5786 `tramp-unload-hook'.
5787 (tramp-compat-decimal-to-octal, tramp-compat-octal-to-decimal)
5788 (tramp-compat-call-process): New defuns, moved from tramp.el.
5790 * net/tramp-fish.el (top) Require just 'tramp. Add objects to
5791 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
5792 Add to `tramp-unload-hook'. Change call of
5793 `tramp-compat-decimal-to-octal' to new function name.
5794 (tramp-fish-method): Make it a defconst.
5795 (tramp-fish-file-name-p): Make it a defsubst.
5796 (tramp-fish-method, tramp-fish-file-name-handler)
5797 (tramp-fish-file-name-p): Set tramp-autoload cookie.
5799 * net/tramp-ftp.el (top) Add objects to `tramp-methods' and
5800 `tramp-foreign-file-name-handler-alist'. Add to
5801 `tramp-unload-hook'.
5802 (tramp-ftp-method): Make it a defconst.
5803 (tramp-ftp-file-name-p): Make it a defsubst.
5804 (tramp-ftp-method, tramp-ftp-file-name-handler)
5805 (tramp-ftp-file-name-p): Set tramp-autoload cookie.
5807 * net/tramp-gvfs.el (top) Add objects to `tramp-methods' and
5808 `tramp-foreign-file-name-handler-alist'. Add to
5809 `tramp-unload-hook'. Change checks, whether package can be
5811 (tramp-gvfs-file-name-p): Make it a defsubst.
5812 (tramp-gvfs-methods, tramp-gvfs-file-name-handler)
5813 (tramp-gvfs-file-name-p): Set tramp-autoload cookie.
5814 (tramp-gvfs-handle-file-directory-p): New defun.
5815 (tramp-gvfs-file-name-handler-alist): Use it.
5817 * net/tramp-gw.el (top) Add objects to `tramp-methods' and
5818 `tramp-foreign-file-name-handler-alist'. Add to
5819 `tramp-unload-hook'.
5820 (tramp-gw-tunnel-method, tramp-gw-default-tunnel-port)
5821 (tramp-gw-socks-method, tramp-gw-default-socks-port): Make it a
5823 (tramp-gw-tunnel-method, tramp-gw-socks-method)
5824 (tramp-gw-open-connection): Set tramp-autoload cookie.
5826 * net/tramp-imap.el (top) Require just 'tramp. Add objects to
5827 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
5828 Add to `tramp-unload-hook'. Change checks, whether package can be
5830 (tramp-imap-file-name-p): Make it a defsubst.
5831 (tramp-imap-method, tramp-imaps-method)
5832 (tramp-imap-file-name-handler)
5833 (tramp-imap-file-name-p): Set tramp-autoload cookie.
5835 * net/tramp-smb.el (top) Require just 'tramp. Add objects to
5836 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
5837 Add to `tramp-unload-hook'. Change checks, whether package can be
5838 loaded. Change call of `tramp-compat-decimal-to-octal' to new
5840 (tramp-smb-tunnel-method): Make it a defconst.
5841 (tramp-smb-file-name-p): Make it a defsubst.
5842 (tramp-smb-method, tramp-smb-file-name-handler)
5843 (tramp-smb-file-name-p): Set tramp-autoload cookie.
5845 * net/tramp-uu.el (top) Add to `tramp-unload-hook'.
5846 (tramp-uuencode-region): Set tramp-autoload cookie.
5848 * net/trampver.el (top) Add to `tramp-unload-hook'.
5849 (tramp-version, tramp-bug-report-address): Set tramp-autoload
5850 cookie. Update release number.
5852 2010-09-07 Agustín Martín <agustin.martin@hispalinux.es>
5854 * textmodes/ispell.el (ispell-start-process): Make sure original
5855 arg list is properly initialized (Bug#6993, Bug#6994).
5857 2010-09-06 Alexander Klimov <alserkli@inbox.ru> (tiny change)
5859 * files.el (directory-abbrev-alist): Use \` as default regexp.
5861 * emacs-lisp/rx.el (rx-any): Don't explode ranges that end in special
5862 chars like - or ] (bug#6984).
5863 (rx-any-condense-range): Explode 2-char ranges.
5865 2010-09-06 Glenn Morris <rgm@gnu.org>
5867 * desktop.el (desktop-path): Bump :version after 2009-09-15 change.
5869 2010-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5871 * textmodes/bibtex.el:
5872 * proced.el: Update to new email for Roland Winkler <winkler@gnu.org>.
5874 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
5876 * net/imap.el (imap-message-map): Remove optional buffer parameter,
5877 since no callers use it.
5878 (imap-message-get): Ditto.
5879 (imap-message-put): Ditto.
5880 (imap-mailbox-map): Ditto.
5881 (imap-mailbox-put): Ditto.
5882 (imap-mailbox-get): Ditto.
5883 (imap-mailbox-get): Revert last change for this function.
5885 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
5887 * net/imap.el (imap-fetch-safe): Remove function, and alter all
5888 callers to use `imap-fetch' instead. According to the comments, this
5889 should be safe, since all other IMAP clients use the 1:* syntax.
5890 (imap-enable-exchange-bug-workaround): Remove.
5891 (imap-debug): Remove -- doesn't seem very useful.
5893 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
5895 * net/imap.el (imap-log): New convenience function used throughout
5896 instead of repeating the same code all over the place.
5898 2010-09-05 David De La Harpe Golden <david@harpegolden.net>
5900 * mouse.el (mouse-save-then-kill): Save region to kill-ring
5901 when mouse-drag-copy-region is non-nil (Bug#6956).
5903 2010-09-05 Chong Yidong <cyd@stupidchicken.com>
5905 * dired.el (dired-ls-sorting-switches, dired-sort-by-name-regexp):
5906 Improve regexps (Bug#6987).
5907 (dired-sort-toggle): Search more robustly for -t flag.
5909 * files.el (get-free-disk-space): Search more robustly for
5910 "available" column. Suggested by Ehud Karni
5911 <ehud@unix.mvs.co.il>.
5913 2010-09-05 Juanma Barranquero <lekktu@gmail.com>
5915 * international/uni-bidi.el:
5916 * international/uni-category.el:
5917 * international/uni-combining.el:
5918 * international/uni-decimal.el:
5919 * international/uni-mirrored.el:
5920 * international/uni-name.el: Regenerate.
5922 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
5924 * electric.el (electric-indent-post-self-insert-function):
5925 Don't reindent with a sloppy indentation function.
5927 * emacs-lisp/syntax.el (syntax-ppss): More sanity check to catch
5928 border case in change-log-mode.
5930 2010-09-04 Chong Yidong <cyd@stupidchicken.com>
5932 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5933 Remove ruby regexp; handle Ruby errors with gcc-include and gnu.
5934 Recognize leading tab in gcc-include regexp. Ignore names with
5935 leading "from" or "in" in gnu regexp (Bug#6937).
5937 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
5939 Avoid global recursive calls to kill-buffer-hooks; fit into 80 cols.
5940 * textmodes/ispell.el (ispell-process-buffer-name): Remove.
5941 (ispell-start-process): Avoid setq and simplify logic.
5942 (ispell-init-process): Setup kill-buffer-hook locally when needed.
5943 (kill-buffer-hook): Don't use it globally with code that uses
5944 expand-file-name since that may call kill-buffer via
5945 code_conversion_restore.
5947 2010-09-04 Noorul Islam K M <noorul@noorul.com> (tiny change)
5949 * emacs-lisp/package.el (package-directory-list): Only call
5950 file-name-nondirectory on a string.
5952 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
5954 * emacs-lisp/package.el (package--download-one-archive):
5955 Ensure that archive-contents is valid before saving it.
5956 (package-activate-1, package-mark-obsolete, define-package)
5957 (package-compute-transaction, package-list-maybe-add): Use push.
5959 2010-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
5961 Use SMIE's blink-paren for octave-mode.
5962 * progmodes/octave-mod.el (octave-font-lock-close-quotes):
5963 Backslashes do not escape single-quotes, single-quotes do.
5964 (octave-block-else-regexp, octave-block-end-regexp)
5965 (octave-block-match-alist): Remove.
5966 (octave-smie-bnf-table): New var, with old content.
5967 (octave-smie-op-levels): Use it.
5968 (octave-smie-closer-alist): New var.
5969 (octave-mode): Use it. Setup smie-blink-matching and electric-indent.
5970 (octave-blink-matching-block-open): Remove.
5971 (octave-reindent-then-newline-and-indent, octave-electric-semi)
5972 (octave-electric-space): Let self-insert-command run expand-abbrev and
5975 * electric.el (electricity): New group.
5976 (electric-indent-chars): New var.
5977 (electric-indent-post-self-insert-function): New fun.
5978 (electric-indent-mode): New minor mode.
5979 (electric-pair-skip-self): New custom.
5980 (electric-pair-post-self-insert-function): New function.
5981 (electric-pair-mode): New minor mode.
5983 * calc/calc-aent.el (calcAlg-blink-matching-check): New fun, to replace
5984 calcAlg-blink-matching-open.
5985 (calc-alg-ent-map, calc-alg-ent-esc-map): Initialize in the declaration.
5986 (calc-do-alg-entry): Only touch the part of the keymap that varies.
5987 Use the new blink-matching-check-function.
5989 Provide blink-matching support to SMIE.
5990 * emacs-lisp/smie.el (smie-bnf-closer-alist): New function.
5991 (smie-blink-matching-triggers, smie-blink-matching-inners): New vars.
5992 (smie-blink-matching-check, smie-blink-matching-open): New functions.
5994 * simple.el (newline): Fix last change to properly remove itself from
5997 2010-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
5999 * simple.el (newline): Eliminate optimization.
6000 Use post-self-insert-hook to set hard-newline and things before
6001 running post-self-insert-hook.
6002 (blink-matching-check-mismatch): New function.
6003 (blink-matching-check-function): New variable.
6004 (blink-matching-open): Use them.
6005 Skip back forward over prefix chars skipped by forward-sexp.
6006 Don't check if the parens are backslash escaped.
6007 (blink-paren-post-self-insert-function): Check backslash escaping here.
6009 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
6011 * emacs-lisp/package.el (package-menu-mode-map):
6012 Change package-menu-revert bindings to revert-buffer.
6013 (package-menu-mode): Set revert-buffer-function.
6014 (package-menu-revert): Doc fix.
6016 2010-09-02 Agustín Martín <agustin.martin@hispalinux.es>
6018 * textmodes/ispell.el (ispell-init-process): Use "~/" as
6019 `default-directory' unless using Ispell per-directory personal
6020 dictionaries and not in a mini-buffer under XEmacs.
6021 (kill-buffer-hook): Do not kill ispell process on exit when
6022 `ispell-process-directory' is "~/". (Bug#6143)
6024 2010-09-02 Jan Djärv <jan.h.d@swipnet.se>
6026 * simple.el (kill-new): Call interprogram-cut-function with only
6029 * term.el (term-mouse-paste): Don't call x-get-cutbuffer.
6030 Remove cut buffer from error message.
6032 * term/x-win.el (x-select-text):
6033 * term/pc-win.el (x-selection-value):
6034 * term/ns-win.el (x-selection-value):
6035 * eshell/em-term.el:
6036 * w32-fns.el (x-get-selection-value):
6037 * mouse-sel.el (mouse-sel-set-selection-function):
6038 * frame.el (display-selections-p): Remove cut-buffer in documentation.
6040 * term/x-win.el: Update documentation for x-last-selected-text-*.
6041 (x-last-selected-text-cut, x-last-selected-text-cut-encoded)
6042 (x-last-cut-buffer-coding, x-cut-buffer-max): Remove.
6043 (x-select-text): Remove argument PUSH, update documentation.
6044 Remove cut-buffer code.
6045 (x-selection-value-internal): Was previously x-selection-value.
6046 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
6047 Update documentation, remove cut-buffer code.
6048 Call x-selection-value-internal.
6049 (x-clipboard-yank): Call x-selection-value-internal.
6050 (x-initialize-window-system): Remove setting of x-cut-buffer-max.
6052 * term/pc-win.el (x-last-selected-text):
6053 x-cut-buffer-or-selection-value renamed to x-selection-value
6054 (x-select-text): Remove argument PUSH, update documentation.
6056 * term/ns-win.el (x-setup-function-keys, ns-last-selected-text):
6057 x-cut-buffer-or-selection-value renamed to x-selection-value
6058 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
6059 (x-select-text): Remove argument PUSH, update documentation.
6061 * emacs-lisp/cl-macs.el (x-get-cutbuffer, x-get-cut-buffer): Remove.
6063 * w32-fns.el (x-last-selected-text):
6064 x-cut-buffer-or-selection-value renamed to x-selection-value.
6065 (x-cut-buffer-max): Remove.
6066 (x-select-text): Remove argument PUSH, update documentation.
6068 * simple.el (interprogram-cut-function): Remove mention of PUSH.
6070 * select.el (x-get-cut-buffer, x-set-cut-buffer): Remove.
6072 * mouse-sel.el (mouse-sel-get-selection-function):
6073 x-cut-buffer-or-selection-value renamed to x-selection-value.
6074 (x-select-text): Remove optional push.
6076 2010-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
6078 * simple.el (blink-paren-function): Move from C to here.
6079 (blink-paren-post-self-insert-function): New function.
6080 (post-self-insert-hook): Use it.
6082 * emacs-lisp/pcase.el (pcase-split-memq):
6083 Fix overenthusiastic optimisation.
6084 (pcase-u1): Handle the case of a lambda pred.
6086 2010-08-31 Kenichi Handa <handa@m17n.org>
6088 * international/mule-cmds.el (standard-display-european-internal):
6089 Setup standard-display-table for 8-bit characters by storing 8-bit
6090 characters in the element vector.
6092 * disp-table.el (standard-display-8bit):
6093 Setup standard-display-table for 8-bit characters by storing 8-bit
6094 characters in the element vector.
6095 (standard-display-european): Likewise.
6097 2010-08-31 Masatake YAMATO <yamato@redhat.com>
6099 * textmodes/nroff-mode.el (nroff-view): New command.
6100 (nroff-mode-map): Bind it to C-c C-c.
6102 2010-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
6104 * emacs-lisp/smie.el (smie-down-list): New command.
6106 Remove old indentation and navigation code on octave-mode.
6107 * progmodes/octave-mod.el (octave-mode-map): Remap down-list to
6108 smie-down-list rather than add a binding for octave-down-block.
6109 (octave-mark-block, octave-blink-matching-block-open):
6110 Rely on forward-sexp-function.
6111 (octave-fill-paragraph): Don't narrow, so you can use
6112 indent-according-to-mode.
6113 (octave-block-begin-regexp, octave-block-begin-or-end-regexp): Remove.
6114 (octave-in-block-p, octave-re-search-forward-kw)
6115 (octave-re-search-backward-kw, octave-indent-calculate)
6116 (octave-end-as-array-index-p, octave-block-end-offset)
6117 (octave-scan-blocks, octave-forward-block, octave-backward-block)
6118 (octave-down-block, octave-backward-up-block, octave-up-block)
6119 (octave-before-magic-comment-p, octave-indent-line): Remove.
6121 2010-08-31 Chong Yidong <cyd@stupidchicken.com>
6123 * emacs-lisp/package.el (package--read-archive-file): Just use
6124 `read', to avoid copying an additional string.
6125 (package-menu-mode): Set header-line-format here.
6126 (package-menu-refresh, package-menu-revert): Signal an error if
6127 not in the Package Menu.
6128 (package-menu-package-list): New var.
6129 (package--generate-package-list): Operate on the current buffer;
6130 don't assume that it is *Packages*, since the user may rename it.
6131 Allow persistent package listings and sort keys using
6132 package-menu-package-list and package-menu-package-sort-key.
6133 (package-menu--version-predicate): Fix version calculation.
6134 (package-menu-sort-by-column): Don't select the window.
6135 (package--list-packages): Create the *Packages* buffer.
6136 Set package-menu-package-list-key.
6137 (list-packages): Sorting by status is now the default.
6138 (package-buffer-info): Use match-string-no-properties.
6139 (define-package): Add a &rest argument for future proofing, but
6141 (package-install-from-buffer, package-install-buffer-internal):
6142 Merge into a single function, package-install-from-buffer.
6143 (package-install-file): Change caller.
6145 * finder.el: Load finder-inf using `require'.
6146 (finder-list-matches): Sorting by status is now the default.
6147 (finder-compile-keywords): Simpify printing.
6149 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
6151 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
6152 (octave-mode-map): Remove special bindings for forward/backward-block
6153 and octave-backward-up-block. Use smie-close-block.
6154 (octave-continuation-marker-regexp): New var.
6155 (octave-continuation-regexp): Use it.
6156 (octave-operator-table, octave-smie-op-levels)
6157 (octave-operator-regexp, octave-smie-indent-rules): New vars.
6158 (octave-smie-backward-token, octave-smie-forward-token): New funs.
6159 (octave-mode): Use SMIE.
6160 (octave-close-block): Delete.
6162 2010-08-30 Eli Zaretskii <eliz@gnu.org>
6164 * menu-bar.el (menu-bar-edit-menu) <"Paste">: Check selection in
6165 CLIPBOARD, not in PRIMARY. (Bug#6944)
6167 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
6169 * emacs-lisp/smie.el (smie-indent-offset-rule): Let :parent take
6171 (smie-indent-column): Allow indirection through variables.
6173 * composite.el (save-buffer-state): Delete, unused.
6174 * font-lock.el (save-buffer-state): Use with-silent-modifications.
6175 (font-lock-default-fontify-region): Use with-syntax-table.
6176 * jit-lock.el (with-buffer-unmodified): Remove.
6177 (with-buffer-prepared-for-jit-lock): Use with-silent-modifications.
6179 Use `declare' in defmacros.
6180 * window.el (save-selected-window):
6181 * subr.el (with-temp-file, with-temp-message, with-syntax-table):
6182 * progmodes/python.el (def-python-skeleton):
6183 * net/dbus.el (dbus-ignore-errors):
6184 * jka-cmpr-hook.el (with-auto-compression-mode):
6185 * international/mule.el (with-category-table):
6186 * emacs-lisp/timer.el (with-timeout):
6187 * emacs-lisp/lisp-mnt.el (lm-with-file):
6188 * emacs-lisp/eieio.el (with-slots):
6189 * emacs-lisp/easymenu.el (easy-menu-define):
6190 * emacs-lisp/debug.el (debugger-env-macro):
6191 * emacs-lisp/cl-compat.el (Multiple-value-bind, Multiple-value-setq)
6192 (Multiple-value-call, Multiple-value-prog1):
6193 * emacs-lisp/cl-seq.el (cl-parsing-keywords, cl-check-key)
6194 (cl-check-test-nokey, cl-check-test, cl-check-match): Move indent and
6195 edebug rule to definition.
6196 * emacs-lisp/lisp-mode.el (save-selected-window)
6197 (with-current-buffer, combine-after-change-calls)
6198 (with-output-to-string, with-temp-file, with-temp-buffer)
6199 (with-temp-message, with-syntax-table, read-if, eval-after-load)
6200 (dolist, dotimes, when, unless):
6201 * emacs-lisp/byte-run.el (inline): Remove indent rule, redundant.
6203 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
6205 * finder.el: Require `package'.
6206 (finder-known-keywords): Tweak descriptions. Retire `oop' keyword.
6207 (finder-package-info): Var deleted.
6208 (finder-keywords-hash, finder--builtins-alist): New vars.
6209 (finder-compile-keywords): Compute package--builtins and
6210 finder-keywords-hash instead of finder-keywords-hash, respecting
6211 the "Package" header.
6212 (finder-unknown-keywords, finder-list-matches):
6213 Use finder-keywords-hash and package--list-packages.
6214 (finder-mode): Don't set font-lock-defaults.
6215 (finder-exit): We don't use "*Finder-package*" and "*Finder
6216 Category*" buffers anymore.
6218 * emacs-lisp/package.el (package--builtins-base): Var deleted.
6219 (package--builtins): Set default value to nil.
6220 (package-initialize): Load precomputed value of package--builtins
6222 (package-alist, package-compute-transaction)
6223 (package-download-transaction): Improve docstring.
6224 (package-read-all-archive-contents): Do not change
6225 package--builtins here.
6226 (list-packages): Make package-list-packages an alias for this.
6227 Sort by status by default.
6228 (package--list-packages): Add optional PACKAGES arg.
6229 (describe-package-1): Use font-lock-face property. For built-in
6230 packages, insert file commentary.
6231 (package--generate-package-list): Rename from
6232 package-list-packages-internal; all callers changed. Add optional
6233 PACKAGES arg. Add alphabetical sort fallbacks.
6234 (package-menu--version-predicate, package-menu--status-predicate)
6235 (package-menu--description-predicate)
6236 (package-menu--name-predicate): New functions.
6238 * info.el (Info-finder-find-node): Search package-alist instead of
6239 finder-package-info.
6241 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
6243 * subr.el (version-regexp-alist): Don't use "a" and "b" for
6245 (version-to-list): Handle versions like "10.3d".
6247 2010-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6249 * emacs-lisp/macroexp.el (macroexpand-all-1): Use pcase.
6250 (macroexp-accumulate): Use `declare'.
6252 2010-08-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
6254 * whitespace.el (whitespace-style): Adjust type declaration.
6256 2010-08-26 Magnus Henoch <magnus.henoch@gmail.com>
6258 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
6259 empty argument to gvfs-copy.
6261 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
6263 * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
6264 handle new TRASH arg of `delete-file'.
6266 2010-08-26 Christian Lynbech <christian.lynbech@tieto.com> (tiny change)
6268 * net/tramp.el (tramp-handle-insert-directory): Don't use
6269 `forward-word', its default syntax could be changed.
6271 2010-08-26 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
6272 Michael Albinus <michael.albinus@gmx.de>
6274 Implement compression for inline methods.
6276 * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
6277 (tramp-copy-size-limit): Allow also nil.
6278 (tramp-inline-compress-commands): New defconst.
6279 (tramp-find-inline-compress, tramp-get-inline-compress)
6280 (tramp-get-inline-coding): New defuns.
6281 (tramp-get-remote-coding, tramp-get-local-coding): Remove,
6282 replaced by `tramp-get-inline-coding'.
6283 (tramp-handle-file-local-copy, tramp-handle-write-region)
6284 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
6286 2010-08-26 Noah Lavine <noah549@gmail.com> (tiny change)
6288 Detect ssh 'ControlMaster' argument automatically in some cases.
6290 * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
6291 (tramp-default-method): Use it.
6293 2010-08-26 Karel Klíč <kklic@redhat.com>
6295 * net/tramp.el (tramp-file-name-for-operation):
6296 Add file-selinux-context.
6298 2010-08-26 Łukasz Stelmach <lukasz.stelmach@iem.pw.edu.pl> (tiny change)
6300 * play/cookie1.el (read-cookie): Fix off-by-one error (bug#6921).
6302 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
6304 * simple.el (beginning-of-buffer, end-of-buffer): Doc fix
6307 2010-08-26 Nathan Weizenbaum <nweiz@cressida.sea.corp.google.com> (tiny change)
6309 * progmodes/js.el: Make indentation more customizable (Bug#6914).
6310 (js-paren-indent-offset, js-square-indent-offset)
6311 (js-curly-indent-offset): New options.
6312 (js--proper-indentation): Use them.
6314 2010-08-26 Daniel Colascione <dan.colascione@gmail.com>
6316 * progmodes/sh-script.el (sh-get-indent-info): Use syntax-ppss
6317 instead of inspecting font-lock properties (Bug#6916).
6319 2010-08-26 David Reitter <david.reitter@gmail.com>
6321 * server.el (server-visit-files): Run pre-command-hook and
6322 post-command-hook for each buffer while it is current (Bug#6910).
6323 (server-execute): Do not run hooks here.
6325 2010-08-26 Michael Albinus <michael.albinus@gmx.de>
6327 Sync with Tramp 2.1.19.
6329 * net/tramp-cmds.el (tramp-cleanup-all-connections)
6330 (tramp-reporter-dump-variable, tramp-load-report-modules)
6331 (tramp-append-tramp-buffers): Use `tramp-compat-funcall'.
6332 (tramp-bug): Recommend setting of `tramp-verbose' to 9.
6334 * net/tramp-compat.el (top): Do not autoload
6335 `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el
6336 only when `start-file-process' is not bound.
6337 (byte-compile-not-obsolete-vars): Define if not bound.
6338 (tramp-compat-funcall): New defmacro.
6339 (tramp-compat-line-beginning-position)
6340 (tramp-compat-line-end-position)
6341 (tramp-compat-temporary-file-directory)
6342 (tramp-compat-make-temp-file, tramp-compat-file-attributes)
6343 (tramp-compat-copy-file, tramp-compat-copy-directory)
6344 (tramp-compat-delete-file, tramp-compat-delete-directory)
6345 (tramp-compat-number-sequence, tramp-compat-process-running-p):
6347 (tramp-advice-file-expand-wildcards): Do not use
6348 `tramp-handle-file-remote-p'.
6349 (tramp-compat-make-temp-file): Simplify fallback implementation.
6350 (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
6351 (tramp-compat-copy-tree): Remove function.
6352 (tramp-compat-delete-file): New defun.
6353 (tramp-compat-delete-directory): Provide implementation for older
6355 (tramp-compat-file-attributes): Handle only
6356 `wrong-number-of-arguments' error.
6358 * net/tramp-fish.el (tramp-fish-handle-copy-file):
6359 Add PRESERVE_SELINUX_CONTEXT.
6360 (tramp-fish-handle-delete-file): Add TRASH arg.
6361 (tramp-fish-handle-directory-files-and-attributes):
6362 Do not use `tramp-fish-handle-file-attributes.
6363 (tramp-fish-handle-file-local-copy)
6364 (tramp-fish-handle-insert-file-contents)
6365 (tramp-fish-maybe-open-connection): Use `with-progress-reporter'.
6367 * net/tramp-gvfs.el (top): Require url-util.
6368 (tramp-gvfs-mount-point): Remove.
6369 (tramp-gvfs-file-name-handler-alist): Add `file-selinux-context'
6370 and `set-file-selinux-context'.
6371 (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command)
6372 (tramp-gvfs-handle-file-selinux-context)
6373 (tramp-gvfs-handle-set-file-selinux-context): New defuns.
6374 (with-tramp-dbus-call-method): Format trace message.
6375 (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
6376 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
6377 Implement backup call, when operation on local files fails.
6378 Use progress reporter. Flush properties of changed files.
6379 (tramp-gvfs-handle-delete-file): Add TRASH arg.
6380 Use `tramp-compat-delete-file'.
6381 (tramp-gvfs-handle-expand-file-name): Expand "~/".
6382 (tramp-gvfs-handle-make-directory): Make more traces.
6383 (tramp-gvfs-handle-write-region): Protect deleting tmpfile.
6384 (tramp-gvfs-url-file-name): Hexify file name in url.
6385 (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
6386 into account for the resulting file name.
6387 (tramp-gvfs-handler-askquestion): Preserve current message, in
6388 order to let progress reporter continue afterwards. (Bug#6257)
6389 Return dummy mountpoint, when the answer is "no".
6390 See `tramp-gvfs-maybe-open-connection'.
6391 (tramp-gvfs-handler-mounted-unmounted)
6392 (tramp-gvfs-connection-mounted-p): Test also for new mountspec
6393 attribute "default_location". Set "prefix" property.
6394 Handle default-location.
6395 (tramp-gvfs-mount-spec): Return both prefix and mountspec.
6396 (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
6397 exists. Raise an error, if not (due to a corresponding answer
6398 "no" in interactive questions, for example).
6399 Use `tramp-compat-funcall'.
6401 * net/tramp-imap.el (top): Autoload `epg-make-context'.
6402 (tramp-imap-handle-copy-file): Add PRESERVE-SELINUX-CONTEXT.
6403 (tramp-imap-do-copy-or-rename-file)
6404 (tramp-imap-handle-insert-file-contents)
6405 (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
6406 (tramp-imap-handle-delete-file): Add TRASH arg.
6408 * net/tramp-smb.el (tramp-smb-handle-copy-file):
6409 Add PRESERVE-SELINUX-CONTEXT.
6410 (tramp-smb-handle-copy-file)
6411 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
6412 (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
6413 Use `with-progress-reporter'.
6414 (tramp-smb-handle-delete-file): Add TRASH arg.
6416 * net/tramp.el (tramp-methods): Move hostname to the end in all
6417 ssh `tramp-login-args'. Add `tramp-async-args' attribute where
6419 (tramp-verbose): Describe verbose level 9.
6420 (tramp-completion-function-alist)
6421 (tramp-file-name-regexp, tramp-chunksize)
6422 (tramp-local-coding-commands, tramp-remote-coding-commands)
6423 (with-connection-property, tramp-completion-mode-p)
6424 (tramp-action-process-alive, tramp-action-out-of-band)
6425 (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
6426 (tramp-exists-file-name-handler): Fix docstring.
6427 (tramp-remote-process-environment): Use `format' instead of
6428 `concat'. Protect version string by apostroph.
6429 (tramp-shell-prompt-pattern): Do not use a shy group in case of
6431 (tramp-file-name-regexp-unified)
6432 (tramp-completion-file-name-regexp-unified): On W32 systems, do
6433 not regard the volume letter as remote filename. (Bug#5447)
6434 (tramp-perl-file-attributes)
6435 (tramp-perl-directory-files-and-attributes): Don't pass "$3".
6436 (tramp-vc-registered-read-file-names): Read input as
6437 here-document, otherwise the command could exceed maximum length
6439 (tramp-file-name-handler-alist): Add `file-selinux-context' and
6440 `set-file-selinux-context'.
6441 (tramp-debug-message): Add `tramp-compat-funcall' to ignored
6442 backtrace functions.
6443 (tramp-error-with-buffer): Don't show the connection buffer when
6444 we are in completion mode.
6445 (tramp-progress-reporter-update, tramp-remote-selinux-p)
6446 (tramp-handle-file-selinux-context)
6447 (tramp-handle-set-file-selinux-context, tramp-process-sentinel)
6448 (tramp-connectable-p, tramp-open-shell, tramp-get-remote-trash):
6450 (with-progress-reporter): New defmacro.
6451 (tramp-debug-outline-regexp): New defconst.
6452 (top, tramp-rfn-eshadow-setup-minibuffer)
6453 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
6454 (tramp-handle-dired-compress-file, tramp-handle-shell-command)
6455 (tramp-completion-mode-p, tramp-check-for-regexp)
6456 (tramp-open-connection-setup-interactive-shell)
6457 (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
6458 (tramp-time-diff, tramp-coding-system-change-eol-conversion)
6459 (tramp-set-process-query-on-exit-flag, tramp-unload-tramp):
6460 Use `tramp-compat-funcall'.
6461 (tramp-handle-make-symbolic-link): Flush file properties.
6462 (tramp-handle-load, tramp-handle-file-local-copy)
6463 (tramp-handle-insert-file-contents, tramp-handle-write-region)
6464 (tramp-handle-vc-registered, tramp-maybe-send-script)
6465 (tramp-find-shell): Use `with-progress-reporter'.
6466 (tramp-do-file-attributes-with-stat): Add space in format string,
6467 in order to work around a bug in pdksh. Reported by Gilles Pion
6469 (tramp-handle-verify-visited-file-modtime): Do not send a command
6470 when the connection is not established.
6471 (tramp-handle-set-file-times): Simplify the check for utc.
6472 (tramp-handle-directory-files-and-attributes)
6473 (tramp-get-remote-path): Use `copy-tree'.
6474 (tramp-completion-handle-file-name-all-completions): Ensure, that
6475 non remote files are still checked. Oops.
6476 (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
6477 Handle PRESERVE-SELINUX-CONTEXT.
6478 (tramp-do-copy-or-rename-file): Add progress reporter.
6479 (tramp-do-copy-or-rename-file-directly): Do not use
6480 `tramp-handle-file-remote-p'.
6481 (tramp-do-copy-or-rename-file-out-of-band):
6482 Use `tramp-compat-delete-directory'.
6483 (tramp-do-copy-or-rename-file-out-of-band)
6484 (tramp-compute-multi-hops, tramp-maybe-open-connection):
6485 Use `format-spec-make'.
6486 (tramp-handle-delete-file): Add TRASH arg.
6487 (tramp-handle-dired-uncache): Flush directory cache, not only file
6489 (tramp-handle-expand-file-name)
6490 (tramp-completion-handle-file-name-all-completions)
6491 (tramp-completion-handle-file-name-completion):
6492 Use `tramp-connectable-p'.
6493 (tramp-handle-start-file-process): Set connection property "vec".
6494 Use it, in order to invalidate file caches. Check only for
6495 `remote-tty' process property.
6496 Implement tty setting. (Bug#4604, Bug#6360)
6497 (tramp-file-name-for-operation): Add `call-process-region' and
6498 `set-file-selinux-context'.
6499 (tramp-find-foreign-file-name-handler)
6500 (tramp-advice-make-auto-save-file-name)
6501 (tramp-set-auto-save-file-modes): Remove superfluous check for
6502 `stringp'. This is done inside `tramp-tramp-file-p'.
6503 (tramp-file-name-handler): Trace 'quit. Catch the error for some
6504 operations when we are in completion mode. This gives the user
6505 the chance to correct the file name in the minibuffer.
6506 (tramp-completion-mode-p): Use `non-essential'.
6507 (tramp-handle-file-name-all-completions): Backward/ XEmacs
6508 compatibility: Use `completion-ignore-case' if
6509 `read-file-name-completion-ignore-case' does not exist.
6510 (tramp-get-debug-buffer): Use `tramp-debug-outline-regexp'.
6511 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
6513 (tramp-action-password): Hide password prompt before next run.
6514 (tramp-process-actions): Widen connection buffer for the trace.
6515 (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
6516 process property. Trace stty settings if `tramp-verbose' >= 9.
6517 Apply workaround for IRIX64 bug. Move argument of last
6518 `tramp-send-command' where it belongs to.
6519 (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
6520 front of `login-args'.
6521 (tramp-get-ls-command, tramp-get-ls-command-with-dired): Run tests
6522 on "/dev/null" instead of "/".
6523 (tramp-get-ls-command-with-dired): Make test for "--dired"
6525 (tramp-set-auto-save-file-modes): Adapt version check.
6526 (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
6527 (tramp-handle-process-file): Call the program in a subshell, in
6528 order to preserve working directory.
6529 (tramp-handle-shell-command): Don't use hard-wired "/bin/sh" but
6530 `tramp-remote-sh' from `tramp-methods'.
6531 (tramp-get-ls-command): Make test for "--color=never" stronger.
6532 (tramp-check-for-regexp): Use (forward-line 1).
6534 * net/trampver.el: Update release number.
6536 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
6538 * help.el (help-map): Bind `C-h P' to describe-package.
6540 * menu-bar.el (menu-bar-describe-menu): Add describe-package.
6542 * emacs-lisp/package.el (package-refresh-contents): Catch errors
6543 when downloading archives.
6544 (describe-package-1): Add package commentary.
6545 (package-install-button-action): New function.
6546 (package-menu-mode-map): Bind ? to package-menu-describe-package.
6547 (package-menu-view-commentary): Function removed.
6548 (package-list-packages-internal): Hide the `package' package too.
6550 2010-08-25 Kenichi Handa <handa@m17n.org>
6552 * language/misc-lang.el ("Arabic"): New language environment.
6553 Setup composition-function-table for Arabic characters.
6555 * international/fontset.el (setup-default-fontset): Fix typo for
6556 arabic OTF spec (fini->fina).
6558 2010-08-25 Jan Djärv <jan.h.d@swipnet.se>
6560 * menu-bar.el (menu-bar-set-tool-bar-position): Set frame parameter
6563 2010-08-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
6565 * whitespace.el: Allow cleaning up blanks without blank
6566 visualization (Bug#6651). Adjust help window for
6567 whitespace-toggle-options (Bug#6479). Allow to use fill-column
6568 instead of whitespace-line-column (from EmacsWiki). New version
6570 (whitespace-style): Add new value 'face. Adjust docstring.
6571 (whitespace-space, whitespace-hspace, whitespace-tab):
6572 Adjust foreground property face.
6573 (whitespace-line-column): Adjust docstring and type declaration.
6574 (whitespace-style-value-list, whitespace-toggle-option-alist)
6575 (whitespace-help-text): Adjust const initialization.
6576 (whitespace-toggle-options, global-whitespace-toggle-options):
6578 (whitespace-display-window, whitespace-interactive-char)
6579 (whitespace-style-face-p, whitespace-color-on): Adjust code.
6580 (whitespace-help-scroll): New fun.
6582 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
6584 * emacs-lisp/package.el (list-packages): Alias for
6585 package-list-packages.
6587 2010-08-24 Kevin Ryde <user42@zip.com.au>
6589 * textmodes/flyspell.el (flyspell-check-tex-math-command): Doc fix
6592 * progmodes/ruby-mode.el (ruby): Add defgroup.
6594 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
6596 * progmodes/python.el: Add Ipython support (Bug#5390).
6597 (python-shell-prompt-alist)
6598 (python-shell-continuation-prompt-alist): New options.
6599 (python--set-prompt-regexp): New function.
6600 (inferior-python-mode, run-python, python-shell):
6601 Require ansi-color. Use python--set-prompt-regexp to set the comint
6602 prompt based on the Python interpreter.
6603 (python--prompt-regexp): New var.
6604 (python-check-comint-prompt)
6605 (python-comint-output-filter-function): Use it.
6606 (run-python): Use a pipe (Bug#5694).
6608 2010-08-24 Fabian Ezequiel Gallina <galli.87@gmail.com> (tiny change)
6610 * progmodes/python.el (python-send-region): Send a different
6611 Python command if Ipython is in use.
6612 (python-check-version): Use a Python command to find the version.
6614 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
6616 * mouse.el (mouse-yank-primary): Avoid setting primary when
6617 deactivating the mark (Bug#6872).
6619 2010-08-23 Chris Foote <chris@foote.com.au> (tiny change)
6621 * progmodes/python.el (python-block-pairs): Allow use of "finally"
6622 with "else" (Bug#3991).
6624 2010-08-23 Michael Albinus <michael.albinus@gmx.de>
6626 * net/dbus.el: Accept UNIX domain sockets as bus address.
6627 (top): Don't initialize `dbus-registered-objects-table' anymore,
6628 this is done in dbusbind,c.
6629 (dbus-check-event): Adapt test for bus.
6630 (dbus-return-values-table, dbus-unregister-service)
6631 (dbus-event-bus-name, dbus-introspect, dbus-register-property):
6634 2010-08-23 Juanma Barranquero <lekktu@gmail.com>
6636 * ido.el (ido-use-virtual-buffers): Fix typo in docstring.
6638 2010-08-22 Juri Linkov <juri@jurta.org>
6640 * simple.el (read-extended-command): New function with the logic
6641 for `completing-read' moved to Elisp from `execute-extended-command'.
6642 Use `function-called-at-point' in `minibuffer-default-add-function'
6643 to get a command name for M-n (bug#5364, bug#5214).
6645 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
6647 * startup.el (command-line-1): Issue warning for ignored arguments
6648 --unibyte, etc (Bug#6886).
6650 2010-08-22 Leo <sdl.web@gmail.com>
6652 * net/rcirc.el (rcirc-add-or-remove): Accept a list of elements.
6653 (ignore, bright, dim, keyword): Split list of nicknames before
6654 passing to rcirc-add-or-remove (Bug#6894).
6656 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
6658 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix (Bug#6880).
6660 2010-08-22 Leo <sdl.web@gmail.com>
6662 Fix buffer-list rename&refresh after killing a buffer in ido.
6663 * ido.el: Revert Óscar's.
6664 (ido-kill-buffer-at-head): Exit the minibuffer with ido-exit=refresh.
6665 Remember the buffers at head, rather than their name.
6666 * iswitchb.el (iswitchb-kill-buffer): Re-make the list.
6668 2010-08-22 Kirk Kelsey <kirk.kelsey@0x4b.net> (tiny change)
6669 Stefan Monnier <monnier@iro.umontreal.ca>
6671 * progmodes/make-mode.el (makefile-fill-paragraph): Account for the
6672 extra backslash added to each line (bug#6890).
6674 2010-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
6676 * subr.el (read-key): Don't echo keystrokes (bug#6883).
6678 2010-08-22 Glenn Morris <rgm@gnu.org>
6680 * menu-bar.el (menu-bar-games-menu): Add landmark.
6682 2010-08-22 Glenn Morris <rgm@gnu.org>
6684 * align.el (align-regexp): Make group and spacing arguments
6685 use the interactive defaults when non-interactive. (Bug#6698)
6687 * mail/rmail.el (rmail-forward): Replace mail-text-start with its
6688 expansion, so as not to need sendmail.
6689 (mail-text-start): Remove declaration.
6690 (rmail-retry-failure): Require sendmail.
6692 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
6694 * subr.el (read-key): Don't hide the menu-bar entries (bug#6881).
6696 2010-08-22 Michael Albinus <michael.albinus@gmx.de>
6698 * progmodes/flymake.el (flymake-start-syntax-check-process):
6699 Use `start-file-process' in order to let it run also on remote hosts.
6701 2010-08-22 Kenichi Handa <handa@m17n.org>
6703 * files.el: Add `word-wrap' as safe local variable.
6705 2010-08-22 Glenn Morris <rgm@gnu.org>
6707 * woman.el (woman-translate): Case matters. (Bug#6849)
6709 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
6711 * simple.el (kill-region): Doc fix (Bug#6787).
6713 2010-08-22 Glenn Morris <rgm@gnu.org>
6715 * calendar/diary-lib.el (diary-header-line-format):
6716 Fit it to the window, not the frame.
6718 2010-08-22 Andreas Schwab <schwab@linux-m68k.org>
6720 * subr.el (ignore-errors): Add debug declaration.
6722 2010-08-22 Geoff Gole <geoffgole@gmail.com> (tiny change)
6724 * whitespace.el (whitespace-color-off): Remove post-command-hook
6727 2010-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
6729 * vc/add-log.el (add-log-file-name): Don't get confused by symlinks.
6731 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
6733 * cus-edit.el (custom-group-value-create): Add extra newline
6734 before end line (Bug#6876).
6736 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
6738 * mouse.el (mouse-save-then-kill): Don't save region to kill ring
6739 when extending it. Before killing on the second click, check if
6740 the buffer is the correct one. Doc fix.
6741 (mouse-secondary-save-then-kill): Allow usage without first
6742 calling mouse-start-secondary, by defaulting to point. Don't save
6743 an empty secondary selection. Doc fix.
6745 2010-08-21 Vinicius Jose Latorre <viniciusjl@ig.com.br>
6747 * whitespace.el: Fix slow cursor movement (Bug#6172). Reported by
6748 Christoph Groth <cwg@falma.de> and Liu Xin <x_liu@neusoft.com>.
6750 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
6751 Adjust initialization.
6752 (whitespace-bob-marker, whitespace-eob-marker)
6753 (whitespace-buffer-changed): New vars.
6754 (whitespace-cleanup, whitespace-color-on, whitespace-color-off)
6755 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp)
6756 (whitespace-post-command-hook, whitespace-display-char-on):
6758 (whitespace-looking-back, whitespace-buffer-changed): New funs.
6759 (whitespace-space-regexp, whitespace-tab-regexp): Fun eliminated.
6761 2010-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
6763 * files.el (locate-file-completion-table): Only list the .el and .elc
6764 extensions if there's no other choice (bug#5955).
6766 * facemenu.el (facemenu-self-insert-data): New var.
6767 (facemenu-post-self-insert-function, facemenu-set-self-insert-face):
6769 (facemenu-add-face): Use them.
6771 * simple.el (blink-matching-open): Obey forward-sexp-function.
6773 2010-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
6775 * simple.el (prog-mode-map): New var.
6776 (prog-indent-sexp): New command.
6778 * progmodes/octave-mod.el (octave-mode-menu): Make toggle buttons.
6780 * progmodes/prolog.el (smie): Require.
6782 * emacs-lisp/smie.el (smie-default-backward-token)
6783 (smie-default-forward-token): Strip properties.
6784 (smie-next-sexp): Be more careful with associative operators.
6785 (smie-forward-sexp-command): Generalize.
6786 (smie-backward-sexp-command): Simplify.
6787 (smie-closer-alist): New var.
6788 (smie-close-block): New command.
6789 (smie-indent-debug-log): New var.
6790 (smie-indent-offset-rule): Add a few more cases.
6791 (smie-indent-column): New function.
6792 (smie-indent-after-keyword): Use it.
6793 (smie-indent-keyword): Use it.
6794 Fix up the opener code's point position.
6795 (smie-indent-comment): Only applies at BOL.
6796 (smie-indent-debug): New command.
6798 * emacs-lisp/autoload.el (make-autoload): Preload the macros's
6799 declarations that are useful before running the macro.
6801 2010-08-18 Joakim Verona <joakim@verona.se>
6803 * image.el (imagemagick-types-inhibit): New variable.
6804 (imagemagick-register-types): New function.
6805 * image-mode.el (image-transform-properties): New function.
6806 (image-transform-set-scale, image-transform-fit-to-height)
6807 (image-transform-set-rotation, image-transform-set-resize)
6808 (image-transform-fit-to-width, image-transform-fit-to-height):
6810 (image-toggle-display-image): Support image transforms.
6812 2010-08-18 Katsumi Yamaoka <yamaoka@jpl.org>
6814 * image.el (create-animated-image): Don't add heuristic mask to image
6817 2010-08-18 Jan Djärv <jan.h.d@swipnet.se>
6819 * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard):
6820 Use QCLIPBOARD instead of QPRIMARY (Bug#6677).
6822 2010-08-17 Stefan Monnier <monnier@iro.umontreal.ca>
6824 * emacs-lisp/lisp.el (up-list): Obey forward-sexp-function if set.
6826 Font-lock '...' strings, plus various simplifications and fixes.
6827 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
6828 (octave-font-lock-close-quotes): New function.
6829 (octave-font-lock-syntactic-keywords): New var.
6830 (octave-mode): Use it. Set beginning-of-defun-function.
6831 (octave-mode-map): Don't override the <foo>-defun commands.
6832 (octave-mode-menu): Pass it directly to easy-menu-define;
6833 remove (now generic) <foo>-defun commands; use info-lookup-symbol.
6834 (octave-block-match-alist): Fix up last change so that
6835 octave-close-block uses the more specific keyword.
6836 (info-lookup-mode): Silence byte-compiler.
6837 (octave-beginning-of-defun): Not interactive any more.
6839 (octave-end-of-defun, octave-mark-defun, octave-in-defun-p): Remove.
6840 (octave-indent-defun, octave-send-defun): Use mark-defun instead.
6841 (octave-completion-at-point-function): Make sure point is within
6843 (octave-reindent-then-newline-and-indent):
6844 Use reindent-then-newline-and-indent.
6845 (octave-add-octave-menu): Remove.
6847 2010-08-17 Jan Djärv <jan.h.d@swipnet.se>
6849 * mail/emacsbug.el (report-emacs-bug-insert-to-mailer)
6850 (report-emacs-bug-can-use-xdg-email): New functions.
6851 (report-emacs-bug): Set can-xdg-email to result of
6852 report-emacs-bug-can-use-xdg-email. If can-xdg-email bind
6853 \C-cm to report-emacs-bug-insert-to-mailer and add help text
6856 * net/browse-url.el (browse-url-default-browser): Add cond
6857 for browse-url-xdg-open.
6858 (browse-url-can-use-xdg-open, browse-url-xdg-open): New functions.
6860 2010-08-17 Glenn Morris <rgm@gnu.org>
6862 * progmodes/cc-engine.el (c-new-BEG, c-new-END)
6863 (c-fontify-recorded-types-and-refs): Define for compiler.
6864 * progmodes/cc-mode.el (c-new-BEG, c-new-END): Move definitions
6867 * calendar/icalendar.el (icalendar--convert-recurring-to-diary):
6870 2010-08-17 Michael Albinus <michael.albinus@gmx.de>
6872 * net/tramp.el (tramp-handle-make-symbolic-link): Flush file
6874 (tramp-handle-process-file): Call the program in a subshell, in
6875 order to preserve working directory.
6876 (tramp-action-password): Hide password prompt before next run.
6877 (tramp-process-actions): Widen connection buffer for the trace.
6879 2010-08-16 Deniz Dogan <deniz.a.m.dogan@gmail.com>
6881 * net/rcirc.el (rcirc-log-process-buffers): New option.
6882 (rcirc-print): Use it.
6883 (rcirc-generate-log-filename): New function.
6884 (rcirc-log-filename-function): Change default to
6885 rcirc-generate-log-filename (Bug#6828).
6887 2010-08-16 Chong Yidong <cyd@stupidchicken.com>
6889 * simple.el (deactivate-mark): If select-active-regions is `only',
6890 only set selection for temporarily active regions.
6892 * cus-start.el: Change defcustom for select-active-regions.
6894 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
6896 * mouse.el (mouse--drag-set-mark-and-point): New function.
6897 (mouse-drag-track): Use LOCATION arg to push-mark.
6898 Use mouse--drag-set-mark-and-point to take click-count into
6899 consideration when updating point and mark (Bug#6840).
6901 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
6903 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6904 Give the Ruby rule a lower priority than Gnu (Bug#6778).
6906 2010-08-14 Štěpán Němec <stepnem@gmail.com> (tiny change)
6908 * font-lock.el (lisp-font-lock-keywords-2):
6909 Add combine-after-change-calls, condition-case-no-debug,
6910 with-demoted-errors, and with-silent-modifications (Bug#6025).
6912 2010-08-14 Kevin Ryde <user42@zip.com.au>
6914 * emacs-lisp/copyright.el (copyright-update-year)
6915 (copyright-update): Temporary switch-to-buffer to ensure the
6916 buffer change being queried is visible (Bug#5394).
6918 2010-08-14 Tom Tromey <tromey@redhat.com>
6920 * progmodes/etags.el (tags-file-name): Mark safe if stringp
6923 2010-08-14 Eli Zaretskii <eliz@gnu.org>
6925 * mouse.el (mouse-yank-primary): Fix mouse-2 on MS-Windows and
6928 2010-08-13 Jan Djärv <jan.h.d@swipnet.se>
6930 * menu-bar.el (menu-bar-set-tool-bar-position): New function.
6931 (menu-bar-showhide-tool-bar-menu-customize-enable-left)
6932 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
6933 (menu-bar-showhide-tool-bar-menu-customize-enable-top)
6934 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom):
6935 Call menu-bar-set-tool-bar-position.
6937 2010-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
6939 * progmodes/octave-mod.el (octave-mode-syntax-table): Use the new "c"
6940 comment style (bug#6834).
6941 * progmodes/scheme.el (scheme-mode-syntax-table):
6942 * emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Remove spurious
6943 "b" flag in "' 14b" syntax.
6945 * progmodes/octave-mod.el (octave-mode-map): Remove special bindings
6946 for (un)commenting the region and performing completion.
6947 (octave-mode-menu): Use standard commands for help and completion.
6948 (octave-mode-syntax-table): Support %{..%} comments (sort of).
6949 (octave-mode): Use define-derived-mode.
6950 Set completion-at-point-functions and don't set columns.
6951 Don't disable adaptive-fill-regexp.
6952 (octave-describe-major-mode, octave-comment-region)
6953 (octave-uncomment-region, octave-comment-indent)
6954 (octave-indent-for-comment): Remove.
6955 (octave-indent-calculate): Rename from calculate-octave-indent.
6956 (octave-indent-line, octave-fill-paragraph): Update caller.
6957 (octave-initialize-completions): No need to make an alist.
6958 (octave-completion-at-point-function): New function.
6959 (octave-complete-symbol): Use it.
6960 (octave-insert-defun): Use define-skeleton.
6962 * progmodes/octave-mod.el (octave-mode): Set comment-add.
6963 (octave-mode-map): Use comment-dwim (bug#6829).
6965 2010-08-12 Antoine Levitt <antoine.levitt@gmail.com> (tiny change)
6967 * cus-edit.el (custom-save-variables, custom-save-faces): Fix up
6968 indentation of inserted comment.
6970 2010-08-11 Jan Djärv <jan.h.d@swipnet.se>
6972 * faces.el (region): Add type gtk that uses gtk colors.
6974 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
6975 Handle theme-name change.
6977 2010-08-10 Michael R. Mauger <mmaug@yahoo.com>
6979 * progmodes/sql.el: Version 2.5
6980 (sql-product-alist): Add :prompt-cont-regexp property for several
6982 (sql-prompt-cont-regexp): New variable.
6983 (sql-output-newline-count, sql-output-by-send):
6984 New variables. Record number of newlines in input text.
6985 (sql-send-string): Handle multiple filters and count newlines.
6986 (sql-send-magic-terminator): Count terminator newline.
6987 (sql-interactive-remove-continuation-prompt): Filters output to
6988 remove continuation prompts; one for each newline.
6989 (sql-interactive-mode): Set up new variables, prompt regexp and
6991 (sql-mode-sqlite-font-lock-keywords): Correct some keywords.
6992 (sql-make-alternate-buffer-name): Correct buffer name in edge cases.
6994 2010-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
6996 * emacs-lisp/pcase.el: New file.
6998 2010-08-10 Michael Albinus <michael.albinus@gmx.de>
7000 * net/tramp.el (tramp-vc-registered-read-file-names): Read input
7001 as here-document, otherwise the command could exceed maximum
7002 length of command line.
7003 (tramp-handle-vc-registered): Call script accordingly.
7004 Reported by Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>.
7006 2010-08-10 Kenichi Handa <handa@m17n.org>
7008 * language/hebrew.el: Exclude U+05C3 (Hebrew SOF PASUQ) from the
7011 2010-08-09 Chong Yidong <cyd@stupidchicken.com>
7013 * emacs-lisp/package.el (package-version-split)
7014 (package--version-first-nonzero, package-version-compare):
7016 (package-directory-list, package-load-all-descriptors)
7017 (package--built-in, package-activate, define-package)
7018 (package-installed-p, package-compute-transaction)
7019 (package-read-all-archive-contents)
7020 (package--add-to-archive-contents, package-buffer-info)
7021 (package-tar-file-info, package-list-packages-internal):
7022 Use version-to-list and version-list-*.
7024 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7025 Use version-to-list.
7026 (package-upload-buffer-internal): Use version-list-<=.
7028 2010-08-09 Kenichi Handa <handa@m17n.org>
7030 * language/hebrew.el: Exclude U+05BD (Hebrew MAQAF) from the
7033 2010-08-08 Chong Yidong <cyd@stupidchicken.com>
7035 * tutorial.el (tutorial--default-keys): C-d is now bound to
7036 delete-forward-char (Bug#6826).
7038 * mouse.el (mouse-drag-track): Remove accidentally-removed check
7039 for `double' value of mouse-1-click-follows-link (Bug#6807).
7041 2010-08-08 Johan Bockgård <bojohan@gnu.org>
7043 * replace.el (replace-highlight): Bind isearch-forward and
7044 isearch-error, ensuring that highlighting is updated if the user
7045 switches the search direction (Bug#6808).
7047 * isearch.el (isearch-lazy-highlight-forward): New var.
7048 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
7049 (isearch-lazy-highlight-update): Use it.
7051 2010-08-08 Kenichi Handa <handa@m17n.org>
7053 * international/mule.el (define-charset): Store NAME as :base property.
7054 (ctext-non-standard-encodings-table): Pay attention to charset aliases.
7055 (ctext-pre-write-conversion): Sort ctext-standard-encodings by the
7056 current priority. Force using the designation of the specific
7057 charset by adding `charset' text property. Improve the whole algorithm.
7059 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
7061 * emulation/pc-select.el (pc-selection-mode-hook)
7062 (copy-region-as-kill-nomark, beginning-of-buffer-mark)
7063 (pc-selection-mode): Fix typos in docstrings.
7065 2010-08-08 Kenichi Handa <handa@m17n.org>
7067 * language/cyrillic.el: Don't add "microsoft-cp1251" to
7068 ctext-non-standard-encodings-alist here.
7070 * international/mule.el (ctext-non-standard-encodings-alist):
7071 Add "koi8-r" and "microsoft-cp1251".
7072 (ctext-standard-encodings): New variable.
7073 (ctext-non-standard-encodings-table): List only elements for
7074 non-standard encodings.
7075 (ctext-pre-write-conversion): Adjust for the above change.
7076 Check ctext-standard-encodings.
7078 * international/mule-conf.el (compound-text): Doc fix.
7079 (ctext-no-compositions): Doc fix.
7080 (compound-text-with-extensions): Doc fix.
7082 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
7084 * simple.el (exchange-dot-and-mark): Mark obsolete, finally.
7086 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
7088 * progmodes/which-func.el (which-func-format): Split help-echo text
7089 into lines, like other mode-line tooltips.
7091 * server.el (server-start): When using TCP sockets, force IPv4
7092 and use a literal 127.0.0.1 for localhost. (Related to bug#6781.)
7094 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
7096 * bindings.el (complete-symbol): Run completion-at-point as a fallback.
7098 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
7100 * term.el (term-delimiter-argument-list): Reflow docstring.
7101 (term-read-input-ring, term-write-input-ring, term-send-input)
7102 (term-bol, term-erase-in-display, serial-supported-or-barf):
7103 Fix typos in docstrings.
7105 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
7107 * bindings.el (function-key-map): Add a S-tab => backtab fallback.
7109 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
7111 * dabbrev.el (dabbrev-completion): Fix typo in docstring.
7113 2010-08-08 MON KEY <monkey@sandpframing.com> (tiny change)
7115 * emacs-lisp/syntax.el (syntax-ppss-toplevel-pos):
7116 Fix typo in docstring (bug#6747).
7118 2010-08-08 Leo <sdl.web@gmail.com>
7120 * eshell/esh-io.el (eshell-get-target): Better detection of
7121 read-only file (Bug#6762).
7123 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
7125 * align.el (align-default-spacing): Doc fix.
7126 (align-region-heuristic, align-regexp): Fix typos in docstrings.
7128 2010-08-08 Stephen Peters <speters@itasoftware.com>
7130 * calendar/icalendar.el
7131 (icalendar--split-value): Fix splitting regexp. (Bug#6766)
7132 (icalendar--get-weekday-numbers): New.
7133 (icalendar--convert-recurring-to-diary): Handle multiple byday
7134 values in weekly rules. (Bug#6766)
7136 2010-08-08 Ulf Jasper <ulf.jasper@web.de>
7138 * calendar/icalendar.el (icalendar-uid-format): Doc fix.
7139 (icalendar--create-uid, icalendar-export-region)
7140 (icalendar--parse-summary-and-rest): Code formatting.
7142 2010-08-08 Jay Belanger <jay.p.belanger@gmail.com>
7144 * calc/calc.el (calc-trail-mode,calc-refresh): Use `face' property
7145 to italicize headers.
7146 (calc-highlight-selections-with-faces): New variable.
7147 (calc-selected-face, calc-nonselected-face): New faces.
7149 * calc/calccomp.el (math-comp-highlight-string): Use
7150 `calc-highlight-selections-with-faces' to determine how to highlight
7153 * calc/calc-sel.el (calc-show-selections): Change message to when
7154 using faces to highlight selections.
7156 2010-08-07 Michael R. Mauger <mmaug@yahoo.com>
7158 * progmodes/sql.el (sql-mode-sqlite-font-lock-keywords):
7159 Add SQLite 3 keywords, functions and datatypes.
7160 (sql-interactive-mode): Remove `comint-process-echoes' set to t
7163 2010-08-07 Chong Yidong <cyd@stupidchicken.com>
7165 * simple.el (select-active-regions): Move to keyboard.c.
7166 (deactivate-mark): Used saved-region-selection.
7167 (select-active-region): Function removed.
7168 (activate-mark, set-mark, push-mark-command)
7169 (handle-shift-selection): Don't call it.
7170 (keyboard-quit): Avoid adding the region to the window selection.
7172 * mouse.el (mouse-drag-track): Remove hacks to deal with old
7173 select-active-regions implementation.
7174 (mouse-yank-at-click): Doc fix.
7176 * cus-start.el: Add custom declaration for select-active-regions.
7178 2010-08-07 Eli Zaretskii <eliz@gnu.org>
7180 * simple.el (delete-forward-char): Doc fix.
7182 * tutorial.el (help-with-tutorial): Hack safe file-local variables
7183 after reading the tutorial.
7185 2010-08-06 Alan Mackenzie <bug-cc-mode@gnu.org>
7187 * progmodes/cc-cmds.el (c-mask-paragraph, c-fill-paragraph):
7188 Fix for the case that a C style comment has its delimiters alone on
7189 their respective lines.
7191 2010-08-06 Michael Albinus <michael.albinus@gmx.de>
7193 * net/tramp.el (tramp-handle-start-file-process): Set connection
7195 (tramp-process-sentinel): Use it for flushing the cache.
7196 We cannot do it via the process buffer, the buffer could be deleted
7197 already when running the sentinel.
7199 2010-08-06 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
7201 * comint.el (comint-mode): Make directory tracking functions
7202 functional on remote files. (Bug#6764)
7204 2010-08-06 Dan Nicolaescu <dann@ics.uci.edu>
7206 * vc/diff-mode.el (diff-mode-shared-map): Bind g to revert-buffer.
7208 2010-08-05 Eli Zaretskii <eliz@gnu.org>
7210 * emacs-lisp/find-gc.el (find-gc-source-files):
7211 Rename unexec.c => unexcoff.c.
7213 * emacs-lisp/authors.el (authors-fixed-entries):
7214 Rename unexec.c => unexcoff.c.
7216 2010-08-05 Michael Albinus <michael.albinus@gmx.de>
7218 * net/tramp.el (tramp-handle-dired-uncache): Flush directory
7219 cache, not only file cache.
7220 (tramp-process-sentinel): New defun.
7221 (tramp-handle-start-file-process): Use it, in order to invalidate
7224 2010-08-03 Leo <sdl.web@gmail.com>
7226 * server.el (server-start): Simplify loop.
7228 2010-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
7230 * frame.el (screen-height, screen-width, set-screen-width)
7231 (set-screen-height): Remove ancient compatibility aliases.
7233 * textmodes/fill.el (justify-current-line): Don't add 1 to nspaces
7234 when justifying. It seems useless and harmful for ncols=1 (bug#6738).
7236 * emacs-lisp/timer.el (timer-event-handler): Protect against timers
7237 that change current buffer.
7239 2010-08-01 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
7241 * mouse.el (mouse-fixup-help-message): Match "mouse-2" only at the
7242 beginning of the string. Use `string-match-p'. (Bug#6765)
7244 2010-08-01 Jan Djärv <jan.h.d@swipnet.se>
7246 * cus-start.el (x-gtk-use-system-tooltips): New variable.
7248 2010-08-01 Chong Yidong <cyd@stupidchicken.com>
7250 * emacs-lisp/package.el (package--list-packages): Fix column alignment.
7251 (package--builtins): Tweak descriptions.
7252 (package-print-package): Upcase descriptions if necessary.
7253 Show all built-in packages in font-lock-builtin-face.
7254 (package-list-packages-internal): Omit "emacs" package.
7255 Show status of built-in packages as "built-in".
7257 2010-07-31 Chong Yidong <cyd@stupidchicken.com>
7259 * mouse.el (mouse-save-then-kill): Doc fix. Deactivate mark
7260 before killing to preserve the primary selection (Bug#6701).
7262 * term/x-win.el (x-select-text): Doc fix.
7264 2010-07-31 Nathaniel Flath <flat0103@gmail.com>
7266 * progmodes/cc-vars.el (c-offsets-alist, c-inside-block-syms)
7267 (objc-font-lock-extra-types):
7268 * progmodes/cc-mode.el (c-basic-common-init):
7269 * progmodes/cc-langs.el (c-make-mode-syntax-table)
7270 (c++-make-template-syntax-table)
7271 (c-identifier-syntax-modifications, c-symbol-start, c-operators)
7272 (c-<-op-cont-regexp, c->-op-cont-regexp, c-class-decl-kwds)
7273 (c-brace-list-decl-kwds, c-modifier-kwds, c-prefix-spec-kwds-re)
7274 (c-type-list-kwds, c-decl-prefix-re, c-opt-type-suffix-key):
7275 * progmodes/cc-fonts.el (c-make-inverse-face)
7276 (c-basic-matchers-after):
7277 * progmodes/cc-engine.el (c-forward-keyword-clause)
7278 (c-forward-<>-arglist, c-forward-<>-arglist-recur)
7279 (c-forward-name, c-forward-type, c-forward-decl-or-cast-1)
7280 (c-guess-continued-construct, c-guess-basic-syntax):
7281 Enhance Java Mode to handle Java 5.0 (Tiger) and Java 6 (Mustang).
7282 The above functions were modified or created.
7284 2010-07-31 Jan Djärv <jan.h.d@swipnet.se>
7286 * faces.el (face-all-attributes): Improve documentation (Bug#6767).
7288 2010-07-31 Eli Zaretskii <eliz@gnu.org>
7290 * files.el (bidi-paragraph-direction): Define safe local values.
7292 * language/hebrew.el ("Hebrew"): Add TUTORIAL.he to
7293 language-info-alist. Remove outdated FIXME in a comment.
7295 2010-07-31 Alan Mackenzie <acm@muc.de>
7297 * progmodes/cc-cmds.el (c-mask-paragraph): Fix bug #6688:
7298 Auto-fill broken in C/C++ modes.
7300 2010-07-29 Jan Djärv <jan.h.d@swipnet.se>
7302 * menu-bar.el (menu-bar-showhide-tool-bar-menu-customize-enable-left)
7303 (menu-bar-showhide-tool-bar-menu-customize-disable)
7304 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
7305 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom)
7306 (menu-bar-showhide-tool-bar-menu-customize-enable-top): New functions
7307 (menu-bar-showhide-tool-bar-menu): If tool bar is moveable,
7308 make a menu for Options => toolbar that can move it.
7310 2010-07-29 Chong Yidong <cyd@stupidchicken.com>
7312 * emacs-lisp/package-x.el (package--make-rss-entry):
7313 (package-maint-add-news-item, package--update-news)
7314 (package-upload-buffer-internal): New arg ARCHIVE-URL.
7316 * emacs-lisp/package.el (package-archive-url): Rename from
7318 (package-install): Doc fix.
7319 (package-download-single, package-download-tar, package-install)
7320 (package-menu-view-commentary): Callers changed.
7322 2010-07-29 Michael Albinus <michael.albinus@gmx.de>
7324 * net/tramp.el (tramp-handle-start-file-process): Check only for
7325 `remote-tty' process property.
7326 (tramp-open-shell): Don't check for tty.
7327 (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
7330 * progmodes/gdb-mi.el (gdb-init-1): Check also for tty on a remote
7333 2010-07-28 Chong Yidong <cyd@stupidchicken.com>
7335 * emacs-lisp/package.el (package-load-list, package-archives)
7336 (package-archive-contents, package-user-dir)
7337 (package-directory-list, package--builtins, package-alist)
7338 (package-activated-list, package-obsolete-alist): Mark as risky.
7340 2010-07-28 Phil Hagelberg <phil@evri.com>
7342 Add support for non-default package repositories.
7343 * emacs-lisp/package.el (package-archive-base): Var deleted.
7344 (package-archives): New variable.
7345 (package-archive-contents): Doc fix.
7346 (package-load-descriptor): Do nothing if descriptor file is missing.
7347 (package--write-file-no-coding): New function.
7348 (package-unpack-single): Use it.
7349 (package-archive-id): New function.
7350 (package-download-single, package-download-tar)
7351 (package-menu-view-commentary): Use it.
7352 (package-installed-p): Make second argument optional.
7353 (package-read-all-archive-contents): New function.
7354 (package-initialize): Use it.
7355 (package-read-archive-contents): Add ARCHIVE argument.
7356 (package--add-to-archive-contents): New function.
7357 (package-install): Don't call package-read-archive-contents.
7358 (package--download-one-archive): Store archive file in a
7359 subdirectory of package-user-dir.
7360 (package-menu-execute): Remove spurious line movement.
7362 2010-07-28 Jan Djärv <jan.h.d@swipnet.se>
7364 * cus-start.el (tool-bar-style): Add text-image-horiz.
7366 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
7368 * progmodes/gud.el (gud-common-init): Check for remoteness of
7369 `file', and not of `default-directory'.
7371 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
7373 * net/tramp.el (tramp-methods): Move hostname to the end in all
7374 ssh `tramp-login-args'.
7375 (tramp-verbose): Describe verbose level 9.
7376 (tramp-open-shell): Check for tty if `tramp-verbose' >= 9.
7377 (tramp-open-connection-setup-interactive-shell): Trace stty
7378 settings if `tramp-verbose' >= 9.
7379 (tramp-handle-start-file-process): Implement tty setting.
7380 (Bug#4604, Bug#6360)
7382 * net/tramp-cmds.el (tramp-bug): Recommend setting of
7383 `tramp-verbose' to 9.
7385 2010-07-27 Aaron S. Hawley <ashawley@burlingtontelecom.net>
7387 * emacs-lisp/re-builder.el (reb-re-syntax, reb-lisp-mode)
7388 (reb-lisp-syntax-p, reb-change-syntax, reb-cook-regexp):
7389 Remove references to package `lisp-re' (bug#4369).
7391 2010-07-27 Tom Tromey <tromey@redhat.com>
7393 * progmodes/js.el (js-mode):
7394 * progmodes/make-mode.el (makefile-mode):
7395 * progmodes/simula.el (simula-mode):
7396 * progmodes/tcl.el (tcl-mode): Derive from prog-mode.
7398 2010-07-27 Juanma Barranquero <lekktu@gmail.com>
7400 * help-fns.el (find-lisp-object-file-name): Doc fix (bug#6494).
7402 * time.el (display-time-day-and-date): Remove spurious * in docstring.
7403 (display-time-world-buffer-name, display-time-world-mode-map):
7404 Fix typos in docstrings.
7406 2010-07-27 Shyam Karanatt <shyam@swathanthran.in> (tiny change)
7408 * image-mode.el (image-display-size): New function.
7409 (image-forward-hscroll, image-next-line, image-eol, image-eob)
7410 (image-mode-fit-frame): Use it (Bug#6639).
7412 2010-07-27 Chong Yidong <cyd@stupidchicken.com>
7414 * dired.el (dired-buffers-for-dir): Handle list values of
7415 dired-directory (Bug#6636).
7417 2010-07-26 Sam Steingold <sds@gnu.org>
7419 * mouse.el (mouse-yank-primary, mouse-yank-secondary):
7420 Do not call `x-get-selection' the second time, reuse the value.
7422 2010-07-26 Daiki Ueno <ueno@unixuser.org>
7424 * epa-mail.el (epa-mail-mode-map): Add alternative key bindings
7425 which consist of control chars only. Suggested by Richard Stallman.
7427 2010-07-25 Daiki Ueno <ueno@unixuser.org>
7429 * epa-file.el (epa-file-insert-file-contents): Check if LOCAL-FILE
7430 exists before passing an error to find-file-not-found-functions
7433 2010-07-23 Lukas Huonker <l.huonker@gmail.com>
7435 * play/tetris.el (tetris-tty-colors, tetris-x-colors, tetris-blank):
7436 Remove leading nil element, adjust values.
7437 (tetris-shapes, tetris-shape-scores):
7438 Change representation of shapes and remove some redundancy.
7439 (tetris-get-shape-cell, tetris-shape-width, tetris-draw-next-shape)
7440 (tetris-draw-shape, tetris-erase-shape, tetris-test-shape):
7441 Adjust for working with new representation of shapes.
7442 (tetris-shape-rotations): New function.
7443 (tetris-move-bottom, tetris-move-left, tetris-move-right)
7444 (tetris-rotate-prev, tetris-rotate-next):
7445 Adjust for working with the new version of tetris-test-shape.
7447 2010-07-23 Markus Triska <markus.triska@gmx.at>
7449 * progmodes/ps-mode.el: Use comint (bug#5954).
7450 (ps-run-mode-map): Adapt for comint-mode; omit "\r", [return]..
7451 (ps-mode-other-newline): Simplify.
7452 (ps-run-mode): Derive from comint-mode instead of
7453 fundamental-mode, yielding input history etc.
7454 (ps-run-start, ps-run-quit, ps-run-clear, ps-run-region)
7455 (ps-run-send-string): Adapt for comint-mode.
7456 (ps-run-newline): Remove now unneeded function.
7458 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
7460 * net/tramp.el (tramp-methods): Move hostname to the end in all
7461 plink `tramp-login-args'.
7463 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
7465 * net/tramp.el (tramp-open-shell): New defun.
7466 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
7469 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
7471 * net/tramp.el (tramp-file-name-regexp-unified)
7472 (tramp-completion-file-name-regexp-unified): On W32 systems, do
7473 not regard the volume letter as remote filename. (Bug#5447)
7475 2010-07-23 Juanma Barranquero <lekktu@gmail.com>
7477 * custom.el (custom-declare-variable): Give a clearer error message
7478 when the docstring is missing (bug#6476).
7480 2010-07-22 Michael R. Mauger <mmaug@yahoo.com>
7482 * progmodes/sql.el: Version 2.4. Improved Login prompting.
7483 (sql-login-params): New widget definition.
7484 (sql-oracle-login-params, sql-mysql-login-params)
7485 (sql-solid-login-params, sql-sybase-login-params)
7486 (sql-informix-login-params, sql-ingres-login-params)
7487 (sql-ms-login-params, sql-postgres-login-params)
7488 (sql-interbase-login-params, sql-db2-login-params)
7489 (sql-linter-login-params): Use it.
7490 (sql-sqlite-login-params): Use it; Define "database" parameter as
7492 (sql-sqlite-program): Change to "sqlite3".
7493 (sql-comint-sqlite): Make sure database name is complete.
7494 (sql-for-each-login): New function.
7495 (sql-connect, sql-save-connection): Use it.
7496 (sql-get-login-ext): New function.
7497 (sql-get-login): Use it.
7498 (sql-make-alternate-buffer-name): Handle :file parameters.
7500 2010-07-22 Juanma Barranquero <lekktu@gmail.com>
7502 * dired.el (dired-no-confirm): Document value t and fix defcustom to
7503 accept it (bug#6597). Suggested by Drew Adams <drew.adams@oracle.com>.
7505 2010-07-22 Teemu Likonen <tlikonen@iki.fi> (tiny change)
7507 * dired.el (dired-mode-map): Use command remapping (bug#6632).
7509 2010-07-22 Lawrence Mitchell <wence@gmx.li>
7511 * term/vt100.el (vt100-wide-mode): Fix :init-value keyword (bug#6620).
7513 2010-07-21 Michael Albinus <michael.albinus@gmx.de>
7515 * net/tramp.el (tramp-get-ls-command)
7516 (tramp-get-ls-command-with-dired): Run tests on "/dev/null"
7519 2010-07-20 Michael R. Mauger <mmaug@yahoo.com>
7521 * progmodes/sql.el: Version 2.3.
7522 (sql-connection-alist): Change keys from symbols to strings;
7523 enhanced the widget definition.
7524 (sql-mode-menu): Add submenu to select connections.
7525 (sql-interactive-mode-menu): Add "Save Connection" item.
7526 (sql-add-product): Fix menu item.
7527 (sql-get-product-feature): Improved error handling.
7528 (sql--alt-buffer-part, sql--alt-if-not-empty): Removed.
7529 (sql-make-alternate-buffer-name): Simplified.
7530 (sql-product-interactive): Handle missing product.
7531 (sql-connect): Support string keys, minor improvements.
7532 (sql-save-connection): New function.
7533 (sql-connection-menu-filter): New function.
7535 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
7537 * net/tramp.el (tramp-file-name-handler): Trace 'quit.
7538 (tramp-open-connection-setup-interactive-shell):
7539 Apply workaround for IRIX64 bug. Move argument of last
7540 `tramp-send-command' where it belongs to.
7542 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
7544 * net/tramp.el (tramp-perl-file-attributes)
7545 (tramp-perl-directory-files-and-attributes): Don't pass "$3".
7546 (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
7547 front of `login-args'.
7549 2010-07-19 Juanma Barranquero <lekktu@gmail.com>
7551 * time.el (display-time-world-mode): Define with `define-derived-mode'.
7552 Set `show-trailing-whitespace' to nil.
7553 (display-time-world-display): Simplify.
7555 2010-07-18 Alan Mackenzie <acm@muc.de>
7557 Enhance `c-file-style' in file/directory local variables.
7558 * progmodes/cc-mode.el (c-count-cfss): New function.
7559 (c-before-hack-hook): Call `c-set-style' differently according to
7560 whether c-file-style was set in file or directory local
7563 2010-07-18 Michael R. Mauger <mmaug@yahoo.com>
7565 * progmodes/sql.el: Version 2.2.
7566 (sql-product, sql-user, sql-database, sql-server, sql-port):
7567 Use defcustom :safe keyword rather than putting safe-local-variable
7569 (sql-password): Use defcustom :risky keyword rather than putting
7570 risky-local-variable property.
7571 (sql-oracle-login-params, sql-sqlite-login-params)
7572 (sql-solid-login-params, sql-sybase-login-params)
7573 (sql-informix-login-params, sql-ingres-login-params)
7574 (sql-ms-login-params, sql-postgres-login-params)
7575 (sql-interbase-login-params, sql-db2-login-params)
7576 (sql-linter-login-params): Add `port' option.
7577 (sql-get-product-feature): Add NO-INDIRECT parameter.
7578 (sql-comint-oracle, sql-comint-sybase)
7579 (sql-comint-informix, sql-comint-sqlite, sql-comint-mysql)
7580 (sql-comint-solid, sql-comint-ingres, sql-comint-ms)
7581 (sql-comint-postgres, sql-comint-interbase, sql-comint-db2)
7582 (sql-comint-linter): Rename sql-connect-* functions to
7584 (sql-product-alist, sql-mode-menu): Rename as above and
7585 :sqli-connect-func to :sqli-comint-func.
7586 (sql-connection): New variable.
7587 (sql-interactive-mode): Set it.
7588 (sql-connection-alist): New variable.
7589 (sql-connect): New function.
7590 (sql--alt-buffer-part, sql--alt-if-not-empty)
7591 (sql-make-alternate-buffer-name): Improved alternative buffer name.
7593 2010-07-17 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7595 * image-mode.el (image-bookmark-make-record): Do not set context
7596 in an image (Bug#6650).
7598 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
7600 * simple.el (select-active-region): New function.
7601 (push-mark-command, set-mark, activate-mark)
7602 (handle-shift-selection): Use it.
7603 (deactivate-mark): Don't check for size of region.
7605 * mouse.el (mouse-drag-track): Use select-active-region.
7607 2010-07-17 Michael Albinus <michael.albinus@gmx.de>
7609 * net/tramp.el (tramp-get-ls-command-with-dired): Make test for
7612 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
7614 * term/x-win.el (x-select-enable-primary): Change default to nil.
7615 (x-select-enable-clipboard): Add :version keyword.
7617 * mouse.el (mouse-drag-copy-region):
7618 * simple.el (select-active-regions): Likewise.
7620 2010-07-16 Reiner Steib <Reiner.Steib@gmx.de>
7622 * vc/vc.el (vc-coding-system-inherit-eol): New defvar.
7623 (vc-coding-system-for-diff): Use it to decide whether to inherit
7624 from the file the EOL format for reading the diffs of that file.
7627 2010-07-16 Eli Zaretskii <eliz@gnu.org>
7629 * mail/rmailmm.el (rmail-mime-save): Make the temp buffer
7630 unibyte, so compressed attachments are not compressed again.
7632 2010-07-16 Michael Albinus <michael.albinus@gmx.de>
7634 * net/tramp.el (tramp-handle-shell-command): Don't use hard-wired
7635 "/bin/sh" but `tramp-remote-sh' from `tramp-methods'.
7636 (tramp-find-shell): Simplify setting connection property.
7637 (tramp-get-ls-command): Make test for "--color=never" stronger.
7639 2010-07-15 Simon South <ssouth@member.fsf.org>
7641 * progmodes/delphi.el (delphi-previous-indent-of): Indent case
7642 blocks within record declarations (i.e. variant parts) correctly.
7644 2010-07-15 Simon South <ssouth@member.fsf.org>
7646 * progmodes/delphi.el (delphi-token-at): Give newlines precedence
7647 over literal tokens when parsing so newlines aren't "absorbed" by
7648 single-line comments. Corrects the indentation of case blocks
7649 that have a comment on the first line.
7651 2010-07-14 Karl Fogel <kfogel@red-bean.com>
7653 * bookmark.el (bookmark-load-hook): Fix doc string as suggested
7654 by Drew Adams (Bug#5504).
7656 2010-07-14 Jan Djärv <jan.h.d@swipnet.se>
7658 * xt-mouse.el (xterm-mouse-event-read): Fix for characters > 127
7659 now that Unicode is used (Bug#6594).
7661 2010-07-14 Chong Yidong <cyd@stupidchicken.com>
7663 * term/x-win.el (x-select-enable-clipboard): Default to t.
7664 (x-initialize-window-system): Don't overwrite Paste menu item.
7666 * simple.el (select-active-regions): Default to t.
7667 (push-mark-command): Don't overwrite primary with empty string.
7669 * mouse.el: Bind mouse-2 to mouse-yank-primary.
7670 (mouse-drag-copy-region): Default to nil.
7672 * menu-bar.el (menu-bar-enable-clipboard): Don't overwrite
7673 Cut/Copy/Paste menu bar items.
7675 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7677 Allow C-w when setting a bookmark in a Gnus Article buffer (Bug#5975).
7678 Patch applied by Karl Fogel.
7680 * bookmark.el (bookmark-set): Don't set `bookmark-yank-point'
7681 and `bookmark-current-buffer' if they have been already set in
7682 another buffer (e.g gnus-art).
7684 2010-07-13 Karl Fogel <kfogel@red-bean.com>
7685 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7687 Preparation for setting bookmarks in Gnus article buffers (Bug#5975).
7689 * bookmark.el (bookmark-make-record-default): Allow unneeded
7690 information to be omitted from the record.
7692 Adjust declarations and calls:
7694 * info.el (bookmark-make-record-default): Adjust declaration.
7695 (Info-bookmark-make-record): Adjust call.
7697 * woman.el (bookmark-make-record-default): Adjust declaration.
7698 (woman-bookmark-make-record): Adjust call.
7700 * man.el (bookmark-make-record-default): Adjust declaration.
7701 (Man-bookmark-make-record): Adjust call.
7703 * image-mode.el (bookmark-make-record-default): Adjust declaration.
7705 * doc-view.el (bookmark-make-record-default): Adjust declaration.
7707 2010-07-13 Karl Fogel <kfogel@red-bean.com>
7709 * bookmark.el (bookmark-show-annotation): Use `when' instead of `if'.
7710 This is also from Thierry Volpiatto's patch in bug #6444. However,
7711 because it was extraneous to the functional change in that patch,
7712 and causes a re-indendation, I am committing it separately.
7714 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7716 * bookmark.el (bookmark-show-annotation): Ensure annotations show,
7717 e.g. in Info bookmarks, by using `switch-to-buffer-other-window'.
7718 Patch applied by Karl Fogel (Bug#6444).
7720 2010-07-13 Chong Yidong <cyd@stupidchicken.com>
7722 * frame.el (make-frame): Fix typo in 2010-06-30 change (Bug#6625).
7724 2010-07-13 Adrian Robert <Adrian.B.Robert@gmail.com>
7726 * term/ns-win.el: Bind M-~ to 'ns-prev-frame (due to Matthew
7727 Dempsky; bug#5084). Remove incorrect binding for S-tab.
7728 (ns-alternatives-map): Change S-tab binding to backtab
7731 * simple.el (normal-erase-is-backspace-setup-frame): Set mode on
7734 2010-07-12 Andreas Schwab <schwab@linux-m68k.org>
7736 * language/tai-viet.el ("TaiViet"): Try to fix re-encoding bugs.
7739 * language/tv-util.el (tai-viet-re): Remove format.
7741 2010-07-12 Kenichi Handa <handa@m17n.org>
7743 * language/hebrew.el: Remove no-byte-compile declaration.
7744 Change coding: tag to utf-8. Register hebrew-shape-gstring in
7745 composition-function-table for 3-character looking back.
7746 (hebrew-font-get-precomposed): New function.
7747 (hebrew-shape-gstring): Utilize precomposed glyphs if available.
7749 2010-07-11 Chong Yidong <cyd@stupidchicken.com>
7751 * mouse.el (mouse-drag-track): Handle select-active-regions
7754 2010-07-11 Magnus Henoch <magnus.henoch@gmail.com>
7756 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
7757 empty argument to gvfs-copy.
7759 2010-07-10 Glenn Morris <rgm@gnu.org>
7761 * calendar/calendar.el (calendar-week-end-day): New function.
7762 * calendar/cal-tex.el (cal-tex-cursor-month): Remove unused vars.
7763 Respect calendar-week-start-day. (Bug#6606)
7764 (cal-tex-insert-day-names, cal-tex-insert-blank-days)
7765 (cal-tex-insert-blank-days-at-end): Respect calendar-week-start-day.
7766 (cal-tex-first-blank-p, cal-tex-last-blank-p): Simplify, and
7767 respect calendar-week-start-day.
7769 2010-07-10 Chong Yidong <cyd@stupidchicken.com>
7771 * simple.el (use-region-p): Doc fix (Bug#6607).
7773 2010-07-10 Aleksei Gusev <aleksei.gusev@gmail.com> (tiny change)
7775 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7776 Add regexps for cucumber and ruby.
7778 2010-07-08 Daiki Ueno <ueno@unixuser.org>
7780 * epa-file.el (epa-file-error, epa-file--find-file-not-found-function)
7781 (epa-file-insert-file-contents): Hack to prevent
7782 find-file from opening empty buffer when decryption failed
7785 2010-07-07 Agustín Martín <agustin.martin@hispalinux.es>
7787 * textmodes/ispell.el (ispell-alternate-dictionary):
7788 Use file-readable-p.
7789 Return nil if no word-list is found at default locations.
7790 (ispell-complete-word-dict): Default to nil.
7791 (ispell-command-loop): Use 'word-list' when using lookup-words.
7792 (lookup-words): Use ispell-complete-word-dict or
7793 ispell-alternate-dictionary. Check for word-list availability
7794 and handle errors if needed with better messages (Bug#6539).
7795 (ispell-complete-word): Use ispell-complete-word-dict or
7796 ispell-alternate-dictionary.
7798 2010-07-07 Christoph Scholtes <cschol2112@gmail.com>
7800 * progmodes/python.el (python-font-lock-keywords): Add Python 2.7
7801 builtins (BufferError, BytesWarning, WindowsError; callables
7802 bin, bytearray, bytes, format, memoryview, next, print; __package__).
7804 2010-07-07 Glenn Morris <rgm@gnu.org>
7806 * play/zone.el (top-level): Do not require timer, tabify, or cl.
7807 (zone-shift-left): Ignore intangibility, and any errors from
7809 (zone-shift-right): Remove no-op end-of-line. Ignore intangibility.
7810 (zone-pgm-putz-with-case): Use upcase-region rather than inserting,
7811 deleting, and copying text properties.
7812 (zone-line-specs, zone-pgm-stress): Check forward-line exit status.
7813 (zone-pgm-rotate): Handle odd buffers like that of gomoku, where getting
7814 to point-max is hard.
7815 (zone-fret, zone-fill-out-screen): Replace cl's do with dotimes.
7816 (zone-fill-out-screen): Ignore intangibility.
7818 2010-07-05 Chong Yidong <cyd@stupidchicken.com>
7820 * menu-bar.el (menu-bar-mode):
7821 * tool-bar.el (tool-bar-mode): Replace default-frame-alist element
7824 * mouse.el (mouse-drag-track): Call mouse-start-end to handle
7825 word/line selection (Bug#6565).
7827 2010-07-04 Juanma Barranquero <lekktu@gmail.com>
7829 * net/dbus.el (dbus-send-signal): Declare function.
7831 2010-07-04 Michael Albinus <michael.albinus@gmx.de>
7833 * net/dbus.el: Implement signal "PropertiesChanged" (from D-Bus 1.3.1).
7834 (dbus-register-property): New optional argument EMITS-SIGNAL.
7835 (dbus-property-handler): Send signal "PropertiesChanged" if requested.
7837 2010-07-03 Chong Yidong <cyd@stupidchicken.com>
7839 * mouse.el (mouse-drag-overlay): Variable deleted.
7840 (mouse-move-drag-overlay, mouse-show-mark): Functions deleted.
7841 (mouse--remap-link-click-p): New function.
7842 (mouse-drag-track): Handle dragging by using temporary Transient
7843 Mark mode, instead of a special overlay.
7844 (mouse-kill-ring-save, mouse-save-then-kill): Don't call
7847 * mouse-sel.el (mouse-sel-selection-alist): mouse-drag-overlay
7850 2010-07-02 Juri Linkov <juri@jurta.org>
7852 * autoinsert.el (auto-insert-alist): Fix readability
7853 by using dotted pair notation for lambda.
7855 2010-07-02 Juri Linkov <juri@jurta.org>
7857 * faces.el (read-face-name): Rename arg `string-describing-default'
7858 to `default'. Doc fix. Display the default value in quotes
7859 in the prompt. With empty input, return the `default' arg,
7860 unless the default value is a string (in which case return nil).
7861 (describe-face): Replace the string `default' arg of `read-face-name'
7862 with the symbol `default'.
7864 2010-07-02 Chong Yidong <cyd@stupidchicken.com>
7866 * emulation/viper-cmd.el (viper-delete-backward-char)
7867 (viper-del-backward-char-in-insert)
7868 (viper-del-backward-char-in-replace, viper-change)
7869 (viper-backward-indent): Replace delete-backward-char with
7870 delete-char (Bug#6552).
7872 2010-07-01 Chong Yidong <cyd@stupidchicken.com>
7874 * ruler-mode.el (ruler--save-header-line-format): Fix typos.
7876 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
7878 * frame.el (make-frame): Add default-frame-alist to the PARAMETERS
7879 argument passed to frame-creation-function (Bug#5378).
7881 * faces.el (x-handle-named-frame-geometry)
7882 (x-handle-reverse-video, x-create-frame-with-faces)
7883 (face-set-after-frame-default, tty-create-frame-with-faces):
7884 Don't separately consult default-frame-alist. It is now passed as the
7887 2010-06-30 Andreas Schwab <schwab@linux-m68k.org>
7889 * startup.el (command-line): Don't call tool-bar-setup in a
7892 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
7894 * ruler-mode.el (ruler--save-header-line-format): New fun.
7895 (ruler-mode): Use it as a setter function, so as not to overwrite
7896 ruler-mode-header-line-format-old if Ruler mode is on (Bug#5370).
7898 2010-06-29 Chong Yidong <cyd@stupidchicken.com>
7900 * vc/vc.el (vc-deduce-backend): New fun. Handle diff buffers.
7901 (vc-root-diff, vc-print-root-log, vc-log-incoming)
7902 (vc-log-outgoing): Use it.
7903 (vc-diff-internal): Set diff-vc-backend.
7905 * vc/diff-mode.el (diff-vc-backend): New var.
7907 2010-06-28 Jan Djärv <jan.h.d@swipnet.se>
7909 * dynamic-setting.el (font-setting-change-default-font):
7910 Remove call to message.
7912 2010-06-28 Kenichi Handa <handa@m17n.org>
7914 * international/quail.el (quail-insert-kbd-layout): Fix the
7915 showing of untranslated characters.
7917 2010-06-28 Chong Yidong <cyd@stupidchicken.com>
7919 * simple.el (delete-active-region): New option.
7920 (delete-backward-char): Implement in Lisp.
7921 (delete-forward-char): New command.
7923 * mouse.el (mouse-region-delete-keys): Deleted.
7924 (mouse-show-mark): Simplify.
7926 * bindings.el (global-map): Bind delete and DEL, the former to
7927 delete-forward-char.
7929 2010-06-27 Lennart Borgman <lennart.borgman@gmail.com>
7931 * progmodes/ruby-mode.el (ruby-mode-map): Don't bind TAB.
7932 (ruby-mode): Bind indent-line-function (Bug#5119).
7934 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
7936 * startup.el (command-line): Recognize "0" X resource value.
7938 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
7940 * startup.el (command-line): Use X resources to set the value of
7941 menu-bar-mode and tool-bar-mode, before calling frame-initialize.
7943 * menu-bar.el (menu-bar-mode):
7944 * tool-bar.el (tool-bar-mode): Don't change default-frame-alist.
7945 Set init-value to t.
7947 * frame.el (frame-notice-user-settings): Don't change
7948 default-frame-alist based on menu-bar-mode and tool-bar-mode, or
7949 vice versa (Bug#2249).
7951 2010-06-26 Eli Zaretskii <eliz@gnu.org>
7953 * w32-fns.el (w32-convert-standard-filename): Doc fix.
7955 2010-06-25 Agustín Martín <agustin.martin@hispalinux.es>
7957 * textmodes/flyspell.el (flyspell-check-previous-highlighted-word):
7958 Make sure `flyspell-word' re-checks word after function run (Bug#6504).
7960 * textmodes/ispell.el (ispell-init-process): Make sure ispell and
7961 default directories are expanded (Bug#6143).
7963 2010-06-24 Juri Linkov <juri@jurta.org>
7965 * minibuffer.el (completions-format): Change default from nil to
7966 `horizontal'. Remove `nil' value from :type. Doc fix. (Bug#6459)
7968 2010-06-24 Juri Linkov <juri@jurta.org>
7970 * vc/vc.el (vc-diff-internal): Set `revert-buffer-function'
7971 buffer-locally to lambda that re-runs the vc diff command.
7974 2010-06-24 Chong Yidong <cyd@stupidchicken.com>
7976 * kmacro.el (kmacro-call-macro): Don't issue hint message if the
7977 echo area is in use (Bug#3412).
7979 2010-06-22 Glenn Morris <rgm@gnu.org>
7981 * textmodes/texinfmt.el (texinfo-format-region)
7982 (texinfo-raise-lower-sections, texinfo-format-separate-node)
7983 (texinfo-itemize-item, texinfo-multitable-item, texinfo-alias)
7984 (texinfo-format-option, texinfo-noindent):
7985 Use line-beginning-position and line-end-position.
7987 * calc/calc-aent.el, calc/calc-ext.el, calc/calc-lang.el:
7988 * calc/calc-store.el, calc/calc-units.el, calc/calc.el:
7989 * calc/calccomp.el: Add explicit utf-8 coding cookies to files with
7992 2010-06-21 Karl Fogel <kfogel@red-bean.com>
7994 * play/zone.el (zone-fall-through-ws): Fix next-line ->
7995 forward-line fallout.
7997 2010-07-06 Chong Yidong <cyd@stupidchicken.com>
7999 * mouse.el (mouse-appearance-menu): Add docstring.
8001 * help.el (describe-key): Print up-event using key-description.
8003 2010-07-03 Michael Albinus <michael.albinus@gmx.de>
8005 * net/zeroconf.el (zeroconf-resolve-service)
8006 (zeroconf-service-resolver-handler): Use `dbus-byte-array-to-string'.
8007 (zeroconf-publish-service): Use `dbus-string-to-byte-array'.
8009 2010-07-03 Jan Moringen <jan.moringen@uni-bielefeld.de>
8011 * net/zeroconf.el (zeroconf-service-remove-hook): New defun.
8013 2010-06-30 Dan Nicolaescu <dann@ics.uci.edu>
8015 Avoid displaying files with a nil state in vc-dir.
8016 * vc/vc-dir.el (vc-dir-update): Obey the noinsert argument in all
8017 cases that cause insertion.
8018 (vc-dir-resynch-file): Tell vc-dir-update to avoid inserting files
8021 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
8023 * xml.el (xml-parse-region): Avoid infloop (Bug#5281).
8025 2010-06-29 Leo <sdl.web@gmail.com>
8027 * emacs-lisp/rx.el (rx): Doc fix. (Bug#6537)
8029 2010-06-27 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
8031 * generic-x.el (bat-generic-mode): Fix regexp for command line
8032 switches (Bug#5719).
8034 2010-06-27 Masatake YAMATO <yamato@redhat.com>
8036 * htmlfontify.el (hfy-face-attr-for-class): Use append instead
8037 of nconc to avoid pure storage error (Bug#6239).
8039 2010-06-27 Christoph <cschol2112@googlemail.com> (tiny change)
8041 * bookmark.el (bookmark-bmenu-2-window, bookmark-bmenu-other-window)
8042 (bookmark-bmenu-other-window-with-mouse): Remove unnecessary
8043 bindings of bookmark-automatically-show-annotations (Bug#6515).
8045 2010-06-25 Eli Zaretskii <eliz@gnu.org>
8047 * arc-mode.el (archive-zip-extract): Don't quote the file name on
8048 MS-Windows and MS-DOS. (Bug#6467, Bug#6144)
8050 2010-06-24 Štěpán Němec <stepnem@gmail.com> (tiny change)
8052 * comint.el (make-comint, make-comint-in-buffer): Mention return
8053 value in the docstrings. (Bug#6498)
8055 2010-06-24 Yoni Rabkin <yoni@rabkins.net>
8057 * bs.el (bs-mode-font-lock-keywords): Remove "by" from Dired pattern,
8058 since it is not present when using some non-default switches.
8060 2010-06-23 Karl Fogel <kfogel@red-bean.com>
8062 * simple.el (compose-mail): Fix doc string to refer to
8063 `compose-mail-user-agent-warnings', instead of to the
8064 nonexistent `compose-mail-check-user-agent'.
8066 2010-06-21 Alan Mackenzie <bug-cc-mode@gnu.org>
8068 Fix an indentation bug:
8070 * progmodes/cc-mode.el (c-common-init): Initialise c-new-BEG/END.
8071 (c-neutralize-syntax-in-and-mark-CPP): c-new-BEG/END: Take account
8074 * progmodes/cc-engine.el (c-clear-<-pair-props-if-match-after)
8075 (c-clear->-pair-props-if-match-before): now return t when they've
8076 cleared properties, nil otherwise.
8077 (c-before-change-check-<>-operators): Set c-new-beg/end correctly
8078 by taking account of the existing value.
8080 * progmodes/cc-defs.el
8081 (c-clear-char-property-with-value-function): Fix this to clear the
8082 property rather than overwriting it with nil.
8084 2010-06-20 Chong Yidong <cyd@stupidchicken.com>
8086 * emacs-lisp/package.el (package-print-package): Add link to
8087 package description via describe-package.
8088 (describe-package-1): List package requirements. Add button to
8089 perform installation.
8090 (package-menu-describe-package): New command.
8092 * help-mode.el (help-package): New button type.
8094 2010-06-19 Chong Yidong <cyd@stupidchicken.com>
8096 * emacs-lisp/package.el: Move package-list-packages binding to
8098 (describe-package, describe-package-1, package--dir): New funs.
8099 (package-activate-1): Use package--dir.
8101 * emacs-lisp/package-x.el (gnus-article-buffer): Require package.
8103 * help-mode.el (help-package-def): New button type.
8105 * menu-bar.el: Move package-list-packages binding here from
8108 2010-06-19 Gustav Hållberg <gustav@gmail.com> (tiny change)
8110 * descr-text.el (describe-char): Avoid trailing whitespace. (Bug#6423)
8112 2010-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8114 * emacs-lisp/edebug.el (edebug-read-list):
8115 Phase out old-style backquotes.
8117 2010-06-17 Juri Linkov <juri@jurta.org>
8119 * help-mode.el (help-mode): Set buffer-local variable
8120 revert-buffer-function to help-mode-revert-buffer.
8121 (help-mode-revert-buffer): New function.
8123 * info.el (Info-revert-find-node): Check for major-mode Info-mode
8124 before popping to "*info*" (like in other Info functions).
8125 Keep buffer-name in old-buffer-name. Keep Info-history-forward in
8126 old-history-forward. Pop to old-buffer-name or "*info*" to
8127 recreate the killed buffer. Set Info-history-forward from
8128 old-history-forward.
8129 (Info-breadcrumbs-depth): Add :group and :version.
8131 2010-06-17 Dan Nicolaescu <dann@ics.uci.edu>
8133 * emacs-lisp/package.el (package-menu-mode-map): Add a menu.
8135 2010-06-17 Agustín Martín <agustin.martin@hispalinux.es>
8137 * textmodes/ispell.el (ispell-aspell-find-dictionary): Fix regexp
8138 for languages like Portuguese with pt_{BR,PT} and no plain pt.
8140 2010-06-17 Juanma Barranquero <lekktu@gmail.com>
8142 * emacs-lisp/package.el (package-menu-mode-map):
8143 Move initialization into declaration.
8145 * menu-bar.el (menu-bar-options-menu): Fix typo in menu entry.
8147 2010-06-17 Chong Yidong <cyd@stupidchicken.com>
8149 * emacs-lisp/package.el (package-archive-base): Point to
8151 (package-enable, package-load-list): New defcustoms.
8152 (package-user-dir, package-directory-list): Turn into defcustoms.
8153 Don't include package-user-dir in package-directory-list.
8154 (package--builtins-base): Don't include Emacs as a "package".
8155 (package-subdirectory-regexp): New var.
8156 (package-load-all-descriptors, package-compute-transaction)
8157 (package-download-transaction): Obey package-load-list.
8158 (package-activate-1): Rename from package-do-activate.
8159 (package-list-packages-internal): Check package-load-list.
8160 (package-load-descriptor, package-generate-autoloads)
8161 (package-unpack, package-unpack-single)
8162 (package--read-archive-file, package-delete):
8163 Use expand-file-name.
8165 * emacs-lisp/package-x.el: New file. Package uploading
8166 functionality split out from package.el.
8168 * startup.el (command-line): Load packages after reading init file.
8170 2010-06-17 Tom Tromey <tromey@redhat.com>
8172 * emacs-lisp/package.el: New file.
8174 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
8176 Fix vc-annotate for renamed files when using Git.
8177 * vc/vc-git.el (vc-git-find-revision): Deal with empty results from
8178 ls-files. Doe not pass the object as a file name to cat-file, it
8180 (vc-git-annotate-command): Pass the file name using -- to avoid
8181 ambiguity with the revision.
8182 (vc-git-previous-revision): Pass a relative file name.
8184 2010-06-22 Glenn Morris <rgm@gnu.org>
8186 * progmodes/js.el (js-mode-map): Use standard capitalization and
8187 ellipses for menu entries.
8189 * wid-edit.el (widget-complete): Doc fix.
8191 2010-06-22 Jürgen Hötzel <juergen@hoetzel.info> (tiny change)
8193 * wid-edit.el (widget-complete): Fix typo in 2009-12-02 change.
8195 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
8197 Fix annotating other revisions for renamed files in vc-annotate.
8198 * vc/vc-annotate.el (vc-annotate): Add an optional argument for the
8199 VC backend. Use it when non-nil.
8200 (vc-annotate-warp-revision): Pass the VC backend to vc-annotate.
8203 Fix vc-annotate-show-changeset-diff-revision-at-line for git.
8204 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
8205 Do not pass the file name to the 'previous-revision call when we
8206 don't want a file diff. (Bug#6489)
8208 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
8210 Fix finding revisions for renamed files in vc-annotate.
8211 * vc/vc.el (vc-find-revision): Add an optional argument for
8212 the VC backend. Use it when non-nil.
8213 * vc/vc-annotate.el (vc-annotate-find-revision-at-line): Pass the VC
8214 backend to vc-find-revision. (Bug#6487)
8216 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
8218 Fix reading file names in Git annotate buffers.
8219 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line):
8220 Remove trailing whitespace. Suggested by Eric Hanchrow. (Bug#6481)
8222 2010-06-20 Alan Mackenzie <acm@muc.de>
8224 * progmodes/cc-mode.el (c-before-hack-hook): When the mode is set
8225 in file local variables, set it first.
8227 2010-06-19 Glenn Morris <rgm@gnu.org>
8229 * descr-text.el (describe-char-unicode-data): Insert separating
8230 space when needed. (Bug#6422)
8232 * progmodes/idlwave.el (idlwave-action-and-binding):
8233 Fix typo in 2009-12-03 change. (Bug#6450)
8235 2010-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
8237 * emacs-lisp/macroexp.el (macroexpand-all-1): Put back special
8238 handling for `lambda' (misunderstanding).
8240 2010-06-16 Jay Belanger <jay.p.belanger@gmail.com>
8242 * calc/calc-poly.el (math-accum-factors): Make sure that
8243 constants aren't distributed after they are factored out.
8245 2010-06-16 Juri Linkov <juri@jurta.org>
8247 * facemenu.el (list-colors-display): Call `pop-to-buffer' before
8248 `list-colors-print'. (Bug#6332)
8250 * subr.el (read-quoted-char): Fix up last change (bug#6290).
8252 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
8254 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't handle `lambda'
8255 specially, since it's a macro. Fix up wrong hint passed to maybe-cons.
8257 * font-lock.el (font-lock-major-mode): Rename from
8258 font-lock-mode-major-mode to distinguish it from
8259 global-font-lock-mode's own font-lock-mode-major-mode (bug#6135).
8260 (font-lock-set-defaults):
8261 * font-core.el (font-lock-default-function): Adjust users.
8262 (font-lock-mode): Don't set it at all.
8264 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
8266 * vc/vc-annotate.el (vc-annotate): Use vc-read-revision.
8268 2010-06-16 Glenn Morris <rgm@gnu.org>
8270 * calendar/appt.el (appt-time-msg-list): Doc fix.
8271 (appt-check): Let-bind appt-warn-time.
8272 (appt-add): Make the 3rd argument optional.
8273 Simplify argument names. Doc fix. Check for integer WARNTIME.
8274 Only add WARNTIME to the output list if non-nil.
8276 2010-06-16 Ivan Kanis <apple@kanis.eu>
8278 * calendar/appt.el (appt-check): Let the 3rd element of
8279 appt-time-msg-list specify the warning time.
8280 (appt-add): Add new argument with the warning time. (Bug#5176)
8282 2010-06-16 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
8284 * vc/vc-svn.el (vc-svn-after-dir-status): Fix regexp for Subversions
8285 older than version 1.6. (Bug#6361)
8287 2010-06-16 Helmut Eller <eller.helmut@gmail.com>
8289 * emacs-lisp/cl-macs.el (destructuring-bind): Bind `bind-enquote',
8290 used by cl-do-arglist. (Bug#6408)
8292 2010-06-16 Agustín Martín <agustin.martin@hispalinux.es>
8294 * textmodes/ispell.el (ispell-dictionary-base-alist):
8295 Fix portuguese casechars/not-casechars for missing 'çÇ'.
8296 Suggested by Rolando Pereira (bug#6434).
8298 2010-06-15 Juanma Barranquero <lekktu@gmail.com>
8300 * facemenu.el (list-colors-sort): Doc fix.
8302 2010-06-15 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
8304 * progmodes/sql.el (sql-connect-mysql): Fix typo.
8306 2010-06-14 Juri Linkov <juri@jurta.org>
8308 Add sort option `list-colors-sort'. (Bug#6332)
8309 * facemenu.el (color-rgb-to-hsv): New function.
8310 (list-colors-sort): New defcustom.
8311 (list-colors-sort-key): New function.
8312 (list-colors-display): Doc fix. Sort list according to the option
8314 (list-colors-print): Add HSV values to `help-echo' property of
8317 2010-06-14 Juri Linkov <juri@jurta.org>
8319 * compare-w.el: Move to the "vc" subdirectory.
8321 2010-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
8323 * image-mode.el (image-mode-map): Remap left-char and right-char.
8325 * nxml/nxml-mode.el (nxml-indent-line): Standardize indent behavior.
8327 2010-06-12 Chong Yidong <cyd@stupidchicken.com>
8329 * term/common-win.el (x-colors): Add all the color names defined
8330 in rgb.txt (Bug#6332).
8332 * facemenu.el (list-colors-print): Don't print extra names if it
8333 will overflow the window width.
8335 * vc/log-edit.el (log-edit-font-lock-keywords): Revert 2010-06-02
8338 2010-06-12 Eli Zaretskii <eliz@gnu.org>
8340 * files.el (make-directory): Doc fix (bug#6396).
8342 2010-06-12 Michael Albinus <michael.albinus@gmx.de>
8344 * net/tramp.el (tramp-remote-process-environment): Protect version
8345 string by apostroph.
8346 (tramp-shell-prompt-pattern): Do not use a shy group in case of
8348 (tramp-file-name-for-operation): Add `call-process-region'.
8349 (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
8351 * net/tramp-compat.el (top): Do not autoload
8352 `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el
8353 only when `start-file-process' is not bound.
8354 (tramp-advice-file-expand-wildcards): Do not use
8355 `tramp-handle-file-remote-p'.
8356 (tramp-compat-make-temp-file): Handle the case, that
8357 `make-temp-file' has no third argument EXTENSION.
8359 2010-06-11 Juanma Barranquero <lekktu@gmail.com>
8361 * makefile.w32-in (WINS_BASIC): Include new directory vc.
8363 * loadup.el ("vc-hooks", "ediff-hook"): Load from lisp/vc/.
8365 2010-06-11 Juri Linkov <juri@jurta.org>
8367 * finder.el (finder-known-keywords): Add keyword "vc"
8368 for version control.
8370 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff.el,
8371 * emerge.el, log-edit.el, log-view.el, pcvs.el, smerge-mode.el,
8372 * vc-annotate.el, vc-bzr.el, vc-dir.el, vc-dispatcher.el, vc-git.el,
8373 * vc-hg.el, vc-mtn.el, vc.el: Add keyword "vc".
8375 2010-06-11 Juri Linkov <juri@jurta.org>
8377 Move version control related files to the "vc" subdirectory.
8378 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff-diff.el,
8379 * ediff.el, ediff-help.el, ediff-hook.el, ediff-init.el,
8380 * ediff-merg.el, ediff-mult.el, ediff-ptch.el, ediff-util.el,
8381 * ediff-vers.el, ediff-wind.el, emerge.el, log-edit.el, log-view.el,
8382 * pcvs-defs.el, pcvs.el, pcvs-info.el, pcvs-parse.el, pcvs-util.el,
8383 * smerge-mode.el, vc-annotate.el, vc-arch.el, vc-bzr.el, vc-cvs.el,
8384 * vc-dav.el, vc-dir.el, vc-dispatcher.el, vc.el, vc-git.el,
8385 * vc-hg.el, vc-hooks.el, vc-mtn.el, vc-rcs.el, vc-sccs.el, vc-svn.el:
8386 Move files to the "vc" subdirectory.
8388 2010-06-11 Chong Yidong <cyd@stupidchicken.com>
8390 * comint.el (comint-password-prompt-regexp): Fix 2010-04-10 change
8393 2010-06-11 Stephen Eglen <stephen@gnu.org>
8395 * shell.el: Bind `shell-resync-dirs' to M-RET.
8397 2010-06-10 Michael Albinus <michael.albinus@gmx.de>
8399 * notifications.el: Move file from lisp/net, because it is
8400 supposed to talk locally to the user.
8402 2010-06-10 Julien Danjou <julien@danjou.info>
8404 * net/notifications.el (notifications-on-action-signal)
8405 (notifications-on-closed-signal): Pass notification id as first
8406 argument to the callback functions. Add docstrings.
8407 (notifications-notify): Fix docstring.
8409 2010-06-10 Glenn Morris <rgm@gnu.org>
8411 * emacs-lisp/authors.el (authors-ignored-files)
8412 (authors-valid-file-names): Add some files.
8414 2010-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
8416 * net/rcirc.el (rcirc-server-alist, rcirc, rcirc-connect): Resolve
8417 merge conflict, giving preference to the emacs-23 version of the code.
8419 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
8421 * emacs-lisp/advice.el (ad-compile-function):
8422 Define warning-suppress-types before we let-bind it (bug#6275).
8424 * vc-dispatcher.el: Rename mode-line-hook to vc-mode-line-hook;
8425 declare it, make it buffer-local and permanent-local (bug#6324).
8426 (vc-resynch-window): Adjust name.
8427 * vc-hooks.el (vc-find-file-hook): Adjust name.
8429 2010-06-09 Michael Albinus <michael.albinus@gmx.de>
8431 * net/notifications.el (notifications-notify): Fix docstring.
8433 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
8435 Update to Unicode 6.0.0 beta.
8436 * international/charprop.el: Update copyright.
8437 * international/mule-cmds.el (ucs-names): Update character ranges.
8438 * international/uni-bidi.el:
8439 * international/uni-category.el:
8440 * international/uni-combining.el:
8441 * international/uni-comment.el:
8442 * international/uni-decimal.el:
8443 * international/uni-decomposition.el:
8444 * international/uni-digit.el:
8445 * international/uni-lowercase.el:
8446 * international/uni-mirrored.el:
8447 * international/uni-name.el:
8448 * international/uni-numeric.el:
8449 * international/uni-old-name.el:
8450 * international/uni-titlecase.el:
8451 * international/uni-uppercase.el: Regenerate.
8453 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
8455 * emacs-lisp/smie.el (comment-string-strip): Declare function.
8456 (smie-precs-precedence-table): Fix typo in docstring.
8458 * vc-mtn.el (log-edit-extract-headers): Declare function.
8460 * vc-hg.el (log-edit-extract-headers): Remove duplicate declaration.
8462 * net/notifications.el (dbus-register-signal): Declare function.
8463 (notifications-notify): Fix typos and reflow docstring.
8465 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
8467 Improve VC create/retrieve tag/branch.
8468 * vc.el (vc-create-tag): Do not read the directory name for VCs
8469 with repository revision granularity. Adjust the tag/branch
8470 prompt. Reset VC properties.
8471 (vc-retrieve-tag): Do not read the directory name for VCs
8472 with repository revision granularity. Reset VC properties.
8474 2010-06-09 Julien Danjou <julien@danjou.info>
8476 * net/notifications.el: New file.
8478 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
8480 Add optional support for resetting VC properties.
8481 * vc-dispatcher.el (vc-resynch-window): Add new optional argument,
8482 call vc-file-clearprops when true.
8483 (vc-resynch-buffer): Add new optional argument, pass it down.
8484 (vc-resynch-buffers-in-directory): Likewise.
8486 Improve support for special markup in the VC commit message.
8487 * vc-mtn.el (vc-mtn-checkin): Add support for Author: and Date: markup.
8488 * vc-hg.el (vc-hg-checkin): Add support for Date:.
8489 * vc-git.el (vc-git-checkin):
8490 * vc-bzr.el (vc-bzr-checkin): Likewise.
8492 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
8494 * emacs-lisp/smie.el (smie-indent-keyword): Remove special case that
8495 can be handled with a ((:before "fn") (:prev "=>" parent)) rule.
8497 2010-06-07 Martin Pohlack <mp26@os.inf.tu-dresden.de>
8499 * iimage.el: Remove images as soon as the underlying text is modified.
8500 (iimage-modification-hook): New function.
8501 (iimage-mode-buffer): Use it.
8503 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
8505 * emacs-lisp/smie.el (smie-indent-offset-rule): Rename from
8506 smie-indent-offset-after. Add :prev case. Make a bit more generic.
8507 (smie-indent-virtual): Remove `virtual' arg. Update callers.
8508 (smie-indent-keyword): Add handling of open-paren keywords.
8509 (smie-indent-comment-continue): Don't assume comment-continue.
8511 2010-06-07 Martin Rudalics <rudalics@gmx.at>
8513 * window.el (pop-to-buffer): Remove the conditional that
8514 compares new-window and old-window, so it will reselect
8515 the selected window unconditionally.
8516 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00078.html
8518 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
8520 * emacs-lisp/smie.el (smie-indent-offset-after)
8521 (smie-indent-forward-token, smie-indent-backward-token): New functions.
8522 (smie-indent-after-keyword): Use them.
8523 (smie-indent-fixindent): Only applies to the indentation of the BOL.
8524 (smie-indent-keyword): Tweak the black magic.
8525 (smie-indent-comment-continue): Strip comment-continue before use.
8526 (smie-indent-functions): Indent comments before keywords.
8528 2010-06-06 Juri Linkov <juri@jurta.org>
8530 * isearch.el (isearch-lazy-highlight-search): Fix looping
8531 by checking for empty match. This syncs this loop with the
8532 similar loop in `isearch-search'. (Bug#6362)
8534 2010-06-05 Juanma Barranquero <lekktu@gmail.com>
8536 * net/dbus.el (dbus-register-method): Declare function.
8537 (dbus-handle-event, dbus-property-handler): Fix typos in docstrings.
8538 (dbus-introspect): Doc fix.
8539 (dbus-event-bus-name, dbus-introspect-get-interface)
8540 (dbus-introspect-get-argument): Reflow docstrings.
8542 2010-06-05 Dan Nicolaescu <dann@ics.uci.edu>
8544 vc-log-incoming/vc-log-outgoing fixes for Git.
8545 * vc-git.el (vc-git-log-view-mode): Fix font lock for
8546 incoming/outgoing logs.
8547 (vc-git-log-outgoing, vc-git-log-incoming): Use @{upstream}
8548 instead of vc-git-compute-remote.
8549 (vc-git-compute-remote): Remove.
8551 2010-06-04 Chong Yidong <cyd@stupidchicken.com>
8553 * term/common-win.el (x-colors): Add "dark green" and "dark
8554 turquoise" (Bug#6332).
8556 2010-06-04 Juri Linkov <juri@jurta.org>
8558 * simple.el (kill-new): Fix logic of kill-do-not-save-duplicates.
8559 Instead of setting `replace' to t and replacing the same string
8560 with itself, don't do certain actions when
8561 kill-do-not-save-duplicates is non-nil and string is equal to car
8562 of kill-ring: don't call menu-bar-update-yank-menu, don't push
8563 interprogram-paste strings to kill-ring, and don't push the input
8564 argument `string' to kill-ring.
8565 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00072.html
8567 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
8569 * subr.el (directory-sep-char): Move from fileio.c and make a defconst.
8571 2010-06-04 Michael Albinus <michael.albinus@gmx.de>
8573 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name): Expand "~/".
8574 (tramp-gvfs-handler-mounted-unmounted)
8575 (tramp-gvfs-connection-mounted-p): Handle default-location.
8577 * net/tramp-smb.el (tramp-smb-handle-delete-directory): Don't try to
8578 move files to trash.
8580 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
8582 * international/mule-cmds.el (nonascii-insert-offset)
8583 (nonascii-translation-table): Add obsolescence information.
8585 * international/mule.el (make-translation-table-from-vector): Doc fix.
8587 2010-06-03 Glenn Morris <rgm@gnu.org>
8589 * desktop.el (desktop-clear-preserve-buffers):
8590 Add "*Warnings*" buffer. (Bug#6336)
8592 2010-06-03 Dan Nicolaescu <dann@ics.uci.edu>
8594 vc-log-incoming/vc-log-outgoing improvements for Git.
8595 * vc-git.el (vc-git-log-outgoing): Use the same format as the
8597 (vc-git-log-incoming): Likewise. Run "git fetch" before the log command.
8599 Add bindings for vc-log-incoming and vc-log-outgoing.
8600 * vc-hooks.el (vc-prefix-map): Add bindings for vc-log-incoming
8601 and vc-log-outgoing.
8602 * vc-dir.el (vc-dir-menu-map): Add menu bindings for vc-log-incoming
8603 and vc-log-outgoing.
8605 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
8607 * net/rcirc.el (rcirc-sort-nicknames): Remove.
8608 (rcirc-handler-366): Always sort nicknames.
8610 2010-06-03 Juanma Barranquero <lekktu@gmail.com>
8612 * emacs-lisp/smie.el (comment-continue): Declare for byte-compiler.
8614 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
8616 * net/rcirc.el (rcirc-nickname<, rcirc-sort-nicknames-join): Doc fix.
8618 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
8620 * net/rcirc.el (rcirc-sort-nicknames): Change default.
8621 (rcirc-sort-nicknames-join): Avoid setq.
8623 2010-06-03 Deniz Dogan <deniz.a.m.dogan@gmail.com>
8625 * net/rcirc.el (rcirc-sort-nicknames): New custom.
8626 (rcirc-nickname<, rcirc-sort-nicknames-join): New funs.
8627 (rcirc-handler-366): Use them.
8629 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
8631 Split smie-indent-calculate into more manageable chunks.
8632 * emacs-lisp/smie.el (smie-indent-virtual, smie-indent-fixindent)
8633 (smie-indent-comment, smie-indent-after-keyword, smie-indent-keyword)
8634 (smie-indent-close, smie-indent-comment-continue, smie-indent-bob)
8635 (smie-indent-exps): Extract from smie-indent-calculate.
8636 (smie-indent-functions): New var.
8637 (smie-indent-functions): Use them.
8639 2010-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
8641 * emacs-lisp/smie.el (smie-indent-hanging-p): Use smie-bolp.
8642 (smie-indent-calculate): Simplify and cleanup.
8644 2010-06-02 Michael Albinus <michael.albinus@gmx.de>
8646 * net/tramp-gvfs.el (top): Require url-util.
8647 (tramp-gvfs-mount-point): Remove.
8648 (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command):
8650 (with-tramp-dbus-call-method): Format trace message.
8651 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
8652 Implement backup call, when operation on local files fails.
8653 Use progress reporter. Flush properties of changed files.
8654 (tramp-gvfs-handle-make-directory): Make more traces.
8655 (tramp-gvfs-url-file-name): Hexify file name in url.
8656 (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
8657 into account for the resulting file name.
8658 (tramp-gvfs-handler-askquestion): Return dummy mountpoint, when
8659 the answer is "no". See `tramp-gvfs-maybe-open-connection'.
8660 (tramp-gvfs-handler-mounted-unmounted)
8661 (tramp-gvfs-connection-mounted-p): Test also for new mountspec
8662 attribute "default_location". Set "prefix" property.
8663 (tramp-gvfs-mount-spec): Return both prefix and mountspec.
8664 (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
8665 exists. Raise an error, if not (due to a corresponding answer
8666 "no" in interactive questions, for example).
8668 2010-06-02 Dan Nicolaescu <dann@ics.uci.edu>
8670 * log-edit.el (log-edit-font-lock-keywords): Make group 4 match lax.
8672 2010-06-01 Juanma Barranquero <lekktu@gmail.com>
8674 * emacs-lisp/eldoc.el: Add completions for new commands left-* and
8677 2010-06-01 Dan Nicolaescu <dann@ics.uci.edu>
8679 Add support for vc-log-incoming, improve vc-log-outgoing for Git.
8680 * vc-git.el (vc-git-compute-remote): New function.
8681 (vc-git-log-outgoing): Use it instead of hard coding a value.
8682 (vc-git-log-incoming): New function.
8684 Improve state updating for VC tag commands.
8685 * vc.el (vc-create-tag, vc-retrieve-tag): Call vc-resynch-buffer
8686 to update the state of all buffers in the directory.
8688 * vc-dir.el (vc-dir-update): Remove entries with a nil state (bug#5539).
8690 2010-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
8692 * vc-bzr.el (vc-bzr-revision-completion-table): Apply
8693 `file-directory-p' to the filename part rather than to the whole text.
8695 2010-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
8697 * man.el (Man-completion-table): Let the user type "-k " (bug#6319).
8699 2010-05-31 Drew Adams <drew.adams@oracle.com>
8701 * files.el (directory-files-no-dot-files-regexp): Doc fix (bug#6298).
8703 2010-05-31 Juanma Barranquero <lekktu@gmail.com>
8705 * subr.el (momentary-string-display): Just use read-event to read
8706 the exit event (Bug#6238).
8708 2010-05-30 Eli Zaretskii <eliz@gnu.org>
8710 * international/mule.el (define-coding-system): Doc fix (bug#6313).
8712 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
8714 * emulation/cua-base.el: Recognize also `right-word' and `left-word'.
8715 Suggested by Eli Zaretskii <eliz@gnu.org>.
8717 2010-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8719 * minibuffer.el (completion-file-name-table): Don't return a boundary
8720 past the end of `string' (bug#6299).
8721 (completion--file-name-table): Delegate to completion-file-name-table
8722 for the `boundaries' case.
8724 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
8726 * emulation/cua-base.el: Recognize `right-char' and `left-char' as
8729 * progmodes/ada-xref.el (ada-prj-ada-project-path-sep): Set from
8730 `path-separator', but maintain compatibility with Emacs 20.2.
8732 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
8734 * server.el (server-process-filter): Receive parent-id argument
8736 (server-create-window-system-frame): New arg. Pass parent-id as
8739 2010-05-29 Eli Zaretskii <eliz@gnu.org>
8741 Bidi-sensitive word movement with arrow keys.
8742 * subr.el (right-arrow-command, left-arrow-command): Move to
8745 * bindings.el (right-char, left-char): Move from subr.el and
8746 rename from right-arrow-command and left-arrow-command.
8747 (right-word, left-word): New functions.
8748 (global-map) <right>: Bind to right-char.
8749 (global-map) <left>: Bind to left-char.
8750 (global-map) <C-right>: Bind to right-word.
8751 (global-map) <C-left>: Bind to left-word.
8753 * ls-lisp.el (ls-lisp-classify-file): New function.
8754 (ls-lisp-insert-directory): Call it if switches include -F (bug#6294).
8755 (ls-lisp-classify): Call ls-lisp-classify-file.
8756 (insert-directory): Remove blanks from switches.
8758 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
8760 * ansi-color.el: Delete unused escape sequences (Bug#6085).
8761 (ansi-color-drop-regexp): New constant.
8762 (ansi-color-apply, ansi-color-filter-region)
8763 (ansi-color-apply-on-region): Delete unrecognized control sequences.
8764 (ansi-color-apply): Build string list before calling concat.
8766 2010-05-28 Juri Linkov <juri@jurta.org>
8768 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
8769 Replace LOCALP arg of `dired-get-filename' 'no-dir with nil.
8772 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
8774 * net/tramp.el (tramp-debug-message): Add `tramp-compat-funcall'
8775 to ignored backtrace functions.
8776 (with-progress-reporter): Expand docstring.
8777 (tramp-handle-delete-file): Implement TRASH argument.
8778 (tramp-get-remote-trash): New defun.
8780 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
8782 * net/tramp-compat.el (tramp-compat-delete-file):
8783 Use `symbol-value' for backward compatibility.
8785 * net/tramp.el (tramp-handle-make-symbolic-link)
8787 (tramp-do-copy-or-rename-file-via-buffer)
8788 (tramp-do-copy-or-rename-file-directly)
8789 (tramp-do-copy-or-rename-file-out-of-band)
8790 (tramp-handle-process-file, tramp-handle-call-process-region)
8791 (tramp-handle-shell-command, tramp-handle-file-local-copy)
8792 (tramp-handle-insert-file-contents, tramp-handle-write-region)
8793 (tramp-delete-temp-file-function): Use `delete-file' instead
8794 of `tramp-compat-delete-file'.
8796 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
8797 (tramp-fish-handle-make-symbolic-link)
8798 (tramp-fish-handle-process-file): Use `delete-file' instead
8799 of `tramp-compat-delete-file'.
8801 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
8802 Use `delete-file' instead of `tramp-compat-delete-file'.
8804 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
8805 (tramp-gvfs-handle-write-region): Use `delete-file' instead of
8806 `tramp-compat-delete-file'.
8808 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file):
8809 Use `delete-file' instead of `tramp-compat-delete-file'.
8811 * net/tramp-smb.el (tramp-smb-handle-copy-file)
8812 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
8813 (tramp-smb-handle-write-region): Use `delete-file' instead of
8814 `tramp-compat-delete-file'.
8815 (tramp-smb-handle-delete-directory): Use 'trash as arg.
8817 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
8819 * dired.el (dired-delete-file): New arg TRASH.
8820 (dired-internal-do-deletions): New arg TRASH. Use progress reporter.
8821 (dired-do-flagged-delete, dired-do-delete): Use trash.
8823 * speedbar.el (speedbar-item-delete): Allow trashing.
8825 * files.el (delete-directory): New arg TRASH.
8827 * net/ange-ftp.el (ange-ftp-del-tmp-name, ange-ftp-delete-file)
8828 (ange-ftp-rename-remote-to-remote)
8829 (ange-ftp-rename-local-to-remote)
8830 (ange-ftp-rename-remote-to-local, ange-ftp-load)
8831 (ange-ftp-compress, ange-ftp-uncompress): Remove optional arg from
8833 (ange-ftp-delete-directory): Add optional arg to `delete-file', to
8836 * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
8837 handle new TRASH arg of `delete-file'.
8839 * net/tramp.el (tramp-handle-delete-file): Change FORCE arg to TRASH.
8840 (tramp-handle-make-symbolic-link, tramp-handle-load)
8841 (tramp-do-copy-or-rename-file-via-buffer)
8842 (tramp-do-copy-or-rename-file-directly)
8843 (tramp-do-copy-or-rename-file-out-of-band)
8844 (tramp-handle-process-file, tramp-handle-call-process-region)
8845 (tramp-handle-shell-command, tramp-handle-file-local-copy)
8846 (tramp-handle-insert-file-contents, tramp-handle-write-region)
8847 (tramp-delete-temp-file-function): Use null TRASH arg in
8848 tramp-compat-delete-file call.
8850 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
8851 (tramp-fish-handle-delete-file)
8852 (tramp-fish-handle-make-symbolic-link)
8853 (tramp-fish-handle-process-file): Use null TRASH arg in
8854 `tramp-compat-delete-file' call.
8856 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use null TRASH
8857 arg in `tramp-compat-delete-file' call.
8859 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
8860 (tramp-gvfs-handle-write-region): Use null TRASH arg in
8861 `tramp-compat-delete-file' call.
8863 * net/tramp-imap.el (tramp-imap-handle-delete-file): Rename arg.
8864 (tramp-imap-do-copy-or-rename-file): Use null TRASH arg in
8865 `tramp-compat-delete-file' call.
8867 * net/tramp-smb.el (tramp-smb-handle-copy-file)
8868 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
8869 (tramp-smb-handle-write-region): Use null TRASH arg in
8870 tramp-compat-delete-file call.
8871 (tramp-smb-handle-delete-directory): Use tramp-compat-delete-file.
8872 (tramp-smb-handle-delete-file): Rename arg.
8874 * diff.el (diff-sentinel):
8875 * epg.el (epg--make-temp-file, epg-decrypt-string)
8876 (epg-verify-string, epg-sign-string, epg-encrypt-string):
8877 * jka-compr.el (jka-compr-partial-uncompress)
8878 (jka-compr-call-process, jka-compr-write-region):
8879 * server.el (server-sentinel): Remove optional arg from
8880 delete-file, reverting 2010-05-03 change.
8882 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
8884 * progmodes/verilog-mode.el (verilog-type-font-keywords):
8885 Use font-lock-constant-face, not obsolete font-lock-reference-face.
8887 2010-05-27 Kenichi Handa <handa@m17n.org>
8889 * language/hebrew.el (hebrew-shape-gstring): Check if a glyph
8890 element of GSTRING is nil.
8892 2010-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
8894 * emacs-lisp/smie.el (smie-forward-token-function)
8895 (smie-backward-token-function): New vars.
8896 (smie-backward-sexp, smie-forward-sexp)
8897 (smie-indent-hanging-p, smie-indent-calculate): Use them.
8898 (smie-default-backward-token): Rename from smie-backward-token and
8900 (smie-default-forward-token): Rename from smie-forward-token and
8902 (smie-next-sexp): Handle nil results from next-token.
8903 (smie-indent-calculate): Add a new case for special `fixindent' comments.
8905 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
8907 * progmodes/verilog-mode.el (verilog-type-font-keywords):
8908 Use font-lock-constant-face, not obsolete font-lock-reference-face.
8910 2010-05-27 Masatake YAMATO <yamato@redhat.com>
8912 * htmlfontify.el (hfy-face-resolve-face): New function.
8913 (hfy-face-to-style): Use it (Bug#6279).
8915 2010-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
8917 * progmodes/ada-xref.el (ada-gnat-parse-gpr):
8918 * emulation/edt.el (edt-load-keys): Avoid (expand-file-name ".").
8920 2010-05-26 Glenn Morris <rgm@gnu.org>
8922 * emulation/edt.el (edt-load-keys): Use locate-library.
8924 2010-05-25 Chong Yidong <cyd@stupidchicken.com>
8926 * log-edit.el (log-edit-strip-single-file-name): Default to nil.
8927 (log-edit-changelog-entries): Doc fix.
8928 (log-edit-changelog-insert-entries): Args changed.
8929 Rename relative filenames in ChangeLog entries. Delete tabs.
8930 (log-edit-insert-changelog-entries): Reorganize return value of
8931 `log-edit-changelog-entries' to pass filenames to
8932 log-edit-changelog-insert-entries.
8934 2010-05-25 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8936 * dired.el (dired-mode-map): Rebind "\C-t\C-t" from
8937 `image-dired-dired-insert-marked-thumbs' to
8938 `image-dired-dired-toggle-marked-thumbs'.
8940 * image-dired.el: Require cl when compiling.
8941 (image-dired-dired-toggle-marked-thumbs): Rename from
8942 `image-dired-dired-insert-marked-thumbs'. Add ARG. Doc fix.
8943 Use interactive spec "P". Set LOCALP arg of `dired-get-filename'
8944 to 'no-dir. Skip files whose names don't match
8945 `image-file-name-regexp'. When file has a thumbnail overlay,
8946 delete it. (Bug#5270)
8948 2010-05-25 Juri Linkov <juri@jurta.org>
8950 * image-mode.el (image-mode): Add image-after-revert-hook to
8952 (image-after-revert-hook): New function. (Bug#5669)
8954 2010-05-25 Juri Linkov <juri@jurta.org>
8956 * image.el (image-animated-p): When delay between animated images
8957 is 0, set it to 10 (0.1 sec). (Bug#6258)
8959 2010-05-25 Christian Lynbech <christian.lynbech@tieto.com> (tiny change)
8961 * net/tramp.el (tramp-handle-insert-directory): Don't use
8962 `forward-word', its default syntax could be changed.
8964 2010-05-25 Michael Albinus <michael.albinus@gmx.de>
8966 * net/tramp.el (tramp-progress-reporter-update): New defun.
8967 (with-progress-reporter): Use it.
8968 (tramp-process-actions):
8969 * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion):
8970 Preserve current message, in order to let progress reporter continue
8971 afterwards. (Bug#6257)
8973 2010-05-25 Glenn Morris <rgm@gnu.org>
8975 * net/rcirc.el (rcirc-default-user-name, rcirc-default-full-name):
8978 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
8980 * net/rcirc.el (rcirc-default-user-name): Change to "user".
8981 (rcirc-default-full-name): Change to "unknown".
8982 (rcirc-user-name-history): Add variable.
8984 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
8985 Jonathan Rockway <jon@jrock.us>
8987 * net/rcirc.el (rcirc-server-alist): Add :pass.
8988 (rcirc): When prompting for connection parameters, also prompt for
8989 username and password.
8990 (rcirc-connect): Take a PASS argument. If PASS is non-nil, send
8991 value to server when connecting.
8993 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
8995 * emacs-lisp/smie.el (smie-set-prec2tab): Check override before use.
8996 (smie-merge-prec2s): Pass the tables as separate args.
8997 (smie-bnf-precedence-table): Adjust call accordingly.
8998 (smie-prec2-levels): Set levels at the end.
9000 Replace Lisp calls to delete-backward-char by delete-char.
9001 * bs.el, expand.el, ido.el, image-dired.el, lpr.el, pcomplete.el,
9002 * skeleton.el, term.el, time.el, wid-edit.el, woman.el,
9003 * calc/calc-graph.el, calc/calc-help.el, calc/calc-incom.el,
9004 * calc/calc.el, emacs-lisp/cl-extra.el, emacs-lips/cl-loaddefs.el,
9005 * emulation/cua-rect.el, emulation/viper-ex.el, eshell/esh-test.el,
9006 * eshell/eshell.el, gnus/gnus-uu.el, gnus/nndoc.el, gnus/nnrss.el,
9007 * gnus/rfc2047.el, gnus/utf7.el, international/utf-7.el,
9008 * language/ethio-util.el, mh-e/mh-alias.el, mh-e/mh-search.el,
9009 * net/imap.el, net/rcirc.el, obsolete/complete.el, play/decipher.el,
9010 * progmodes/ada-mode.el, progmodes/cc-awk.el, progmodes/dcl-mode.el,
9011 * progmodes/ps-mode.el, progmodes/verilog-mode.el,
9012 * progmodes/vhdl-mode.el, textmodes/bibtex.el, textmodes/fill.el,
9013 * textmodes/reftex-auc.el, textmodes/rst.el, textmodes/sgml-mode.el,
9014 * textmodes/table.el, textmodes/texinfmt.el: Replace Lisp calls to
9015 delete-backward-char by calls to delete-char.
9017 2010-05-25 Kenichi Handa <handa@m17n.org>
9019 * language/hebrew.el (hebrew-shape-gstring): New function.
9020 Register it in composition-function-table for all Hebrew combining
9023 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9025 * epa.el (epa--select-keys): Don't explicitly delete the window since
9026 that can fail (e.g. sole window in frame). Use dedication instead.
9028 2010-05-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
9030 * textmodes/fill.el (fill-region): Don't fill past the end (bug#6201).
9032 2010-05-22 Chong Yidong <cyd@stupidchicken.com>
9034 * image.el (image-refresh): Define as an alias for image-flush.
9036 * image-mode.el (image-toggle-display-image): Caller changed.
9038 2010-05-21 Juri Linkov <juri@jurta.org>
9040 * progmodes/grep.el (grep-read-files): Fix multi-pattern aliases.
9041 Remove "all" from grep-files-aliases. Split grep-files-aliases by
9042 whitespace, call wildcard-to-regexp on substrings and concat them
9043 with "\\|". (Bug#6114)
9045 2010-05-21 Alan Mackenzie <acm@muc.de>
9047 * progmodes/cc-engine.el (c-parse-state-get-strategy):
9048 Replace parameter `here' with `here-' and `here-plus', which sandwich
9049 any pertinent CPP construct.
9050 (c-remove-stale-state-cache-backwards): Fix a bug which happens
9051 when doing (c-parse-state) in a CPP construct: Exclude any "new"
9052 CPP construct from taking part in the scanning.
9054 2010-05-21 Michael Albinus <michael.albinus@gmx.de>
9056 * net/tramp.el (tramp-do-copy-or-rename-file)
9057 (tramp-handle-file-local-copy, tramp-maybe-open-connection):
9058 Tune `with-progress-reporter' messages.
9059 (tramp-handle-vc-registered):
9060 * net/tramp-fish.el (tramp-fish-handle-file-local-copy)
9061 (tramp-fish-handle-insert-file-contents)
9062 (tramp-fish-maybe-open-connection):
9063 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
9064 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file)
9065 (tramp-imap-handle-insert-file-contents)
9066 (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
9068 2010-05-21 Juanma Barranquero <lekktu@gmail.com>
9070 * add-log.el (change-log-font-lock-keywords):
9071 Highlight all authors in multi-author entries.
9073 * smerge-mode.el (smerge-refine-ignore-whitespace)
9074 (smerge-refine-weight-hack, smerge-refine, smerge-makeup-conflict):
9075 Fix typos in docstrings.
9076 (smerge-resolve, smerge-refine-subst): Reflow docstrings.
9078 2010-05-21 Glenn Morris <rgm@gnu.org>
9080 * progmodes/fortran.el (fortran-mode):
9081 * progmodes/f90.el (f90-mode): Derive from prog-mode.
9083 * loadup.el [CANNOT_DUMP]: Update for bootstrap-emacs no longer
9084 having a relative path in src/Makefile.in.
9086 2010-05-20 Kevin Ryde <user42@zip.com.au>
9088 * help-mode.el (help-make-xrefs): For Info node links turn
9089 newlines into spaces. Link node names with newlines are matched
9090 by help-xref-info-regexp and buttonized, this change ensures they
9091 can be followed successfully with RET. (Bug#6206)
9093 2010-05-20 Juri Linkov <juri@jurta.org>
9095 * locate.el (locate): Use pop-to-buffer instead of
9096 switch-to-buffer-other-window. (Bug#6204)
9098 2010-05-20 Juri Linkov <juri@jurta.org>
9100 * replace.el (replace-highlight): Fix lazy-highlighting
9101 for `M-s w str M-% str RET'.
9103 2009-12-15 Masatake YAMATO <yamato@redhat.com>
9105 * isearch.el (isearch-yank-word-or-char): Pull next subword
9106 when `subword-mode' is activated. (Bug#6220)
9108 2010-05-20 Mark A. Hershberger <mah@everybody.org>
9110 * isearch.el (isearch-update-post-hook): New hook.
9111 (isearch-update): Use the new hook. (Bug#6225)
9113 2010-05-20 Juri Linkov <juri@jurta.org>
9115 * isearch.el (isearch-mode-map): Bind more keys to isearch-help-map:
9116 [f1], [help], and (char-to-string help-char) instead of "\C-h".
9119 2010-05-20 Juri Linkov <juri@jurta.org>
9121 * isearch.el (isearch-yank-string): Use isearch-process-search-string.
9124 2010-05-20 Juri Linkov <juri@jurta.org>
9126 * dired-x.el (dired-jump, dired-jump-other-window): Add arg
9127 FILE-NAME to read from the minibuffer when called interactively
9128 with prefix argument instead of using buffer-file-name.
9129 http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00534.html
9131 * dired.el: Update autoloads.
9133 2010-05-20 Chong Yidong <cyd@stupidchicken.com>
9135 * nxml/nxml-mode.el (nxml-mode-map): Bind C-c / to
9136 nxml-finish-element, for consistency with SGML mode.
9138 * progmodes/octave-mod.el (octave-mode-map): Bind C-c / to
9141 2010-05-20 Juanma Barranquero <lekktu@gmail.com>
9143 * composite.el: Require cl when compiling.
9144 (reference-point-alist, compose-gstring-for-graphic)
9145 (compose-gstring-for-terminal): Fix typos in docstrings.
9147 2010-05-19 Juri Linkov <juri@jurta.org>
9149 * emacs-lisp/cl-macs.el (window-parameter): Add defsetf with
9150 set-window-parameter.
9152 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
9154 * net/tramp.el (tramp-methods): Add `tramp-async-args' attribute
9156 (tramp-maybe-open-connection): Use it.
9158 2010-05-19 Eli Zaretskii <eliz@gnu.org>
9160 * simple.el (move-end-of-line): Make sure we are at line beginning
9161 before backing up to end of previous line.
9163 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
9165 * password-cache.el (password-cache-remove): Fix docstring.
9167 * net/secrets.el: Autoload the widget functions.
9168 (secrets-search-items, secrets-create-item)
9169 (secrets-get-attributes, secrets-expand-item): Attributes will be
9170 stored on the password database without leading ":", as all other
9172 (secrets-mode): Fix docstring.
9173 (secrets-show-secrets): Provide it as autoloaded command only when
9174 D-Bus support is available. Check existence of Secret Service API.
9176 2010-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
9178 * indent.el (indent-region): Deactivate region (bug#6200).
9180 2010-05-19 Glenn Morris <rgm@gnu.org>
9182 * vc-dir.el (vc-dir): Don't pop-up-windows. (Bug#6204)
9184 2010-05-19 Kenichi Handa <handa@m17n.org>
9186 * composite.el: Register compose-gstring-for-graphic in
9187 composition-function-table only for combining characters (Mn, Mc, Me).
9189 2010-05-18 Jay Belanger <jay.p.belanger@gmail.com>
9191 * calc/calc-trail.el (calc-trail-isearch-forward)
9192 (calc-trail-isearch-backward): Ensure that the new window
9193 point is set correctly.
9195 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
9197 * subr.el (read-quoted-char): Resolve modifiers after key
9198 remapping (bug#6212).
9200 2010-05-18 Michael Albinus <michael.albinus@gmx.de>
9202 Add visualization code for secrets.
9203 * net/secrets.el (secrets-mode): New major mode.
9204 (secrets-show-secrets, secrets-show-collections)
9205 (secrets-expand-collection, secrets-expand-item)
9206 (secrets-tree-widget-after-toggle-function)
9207 (secrets-tree-widget-show-password): New defuns.
9209 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
9211 * emacs-lisp/smie.el (smie-next-sexp): Break inf-loop at BOB.
9212 (smie-backward-sexp, smie-forward-sexp): Remove boundary condition now
9213 handled in smie-next-sexp.
9214 (smie-indent-calculate): Provide a starting indentation (so the
9215 recursion is well-founded ;-).
9217 Fix handling of non-associative equal levels.
9218 * emacs-lisp/smie.el (smie-prec2-levels): Choose distinct levels even
9219 when it's not needed.
9220 (smie-op-left, smie-op-right): New functions.
9221 (smie-next-sexp): New function, extracted from smie-backward-sexp.
9222 Better handle equal levels to distinguish the associative case from
9223 the "multi-keyword construct" case.
9224 (smie-backward-sexp, smie-forward-sexp): Use it.
9226 2010-05-18 Juanma Barranquero <lekktu@gmail.com>
9228 * progmodes/prolog.el (smie-indent-basic): Declare for byte-compiler.
9230 * emacs-lisp/smie.el (smie-precs-precedence-table, smie-backward-sexp)
9231 (smie-forward-sexp, smie-indent-calculate): Fix typos in docstrings.
9233 2010-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
9235 Provide a simple generic indentation engine and use it for Prolog.
9236 * emacs-lisp/smie.el: New file.
9237 * progmodes/prolog.el (prolog-smie-op-levels)
9238 (prolog-smie-indent-rules): New var.
9239 (prolog-mode-variables): Use them to configure SMIE.
9240 (prolog-indent-line, prolog-indent-level): Remove.
9242 2010-05-17 Jay Belanger <jay.p.belanger@gmail.com>
9244 * calc/calc-vec.el (math-vector-avg): Put the vector elements in
9245 order before computing the averages.
9247 2010-05-16 Jay Belanger <jay.p.belanger@gmail.com>
9249 * calc/calc-vec.el (calc-histogram):
9250 (calcFunc-histogram): Allow vectors as inputs.
9251 (math-vector-avg): New function.
9253 * calc/calc-ext.el (math-group-float): Have the number of digits
9254 being grouped depend on the radix (Bug#6189).
9256 2010-05-15 Ken Raeburn <raeburn@raeburn.org>
9258 * version.el (emacs-copyright, emacs-version): Don't define here,
9259 now that emacs.c defines it.
9261 2010-05-15 Eli Zaretskii <eliz@gnu.org>
9263 * international/mule-cmds.el (mule-menu-keymap): Fix definition of
9264 "Describe Language Environment" menu item.
9266 * language/hebrew.el ("Hebrew", "Windows-1255"): Doc fix.
9268 Bidi-sensitive movement with arrow keys.
9269 * subr.el (right-arrow-command, left-arrow-command): New functions.
9271 * bindings.el (global-map): Bind them to right and left arrow keys.
9273 Don't override standard definition of convert-standard-filename.
9274 * files.el (convert-standard-filename):
9275 Call w32-convert-standard-filename and dos-convert-standard-filename on
9276 the corresponding systems.
9278 * w32-fns.el (w32-convert-standard-filename): Rename from
9279 convert-standard-filename. Doc fix.
9281 * dos-fns.el (dos-convert-standard-filename): Doc fix.
9282 (convert-standard-filename): Don't defalias.
9283 (register-name-alist, make-register, register-value)
9284 (set-register-value, intdos): Obsolete aliases for the
9285 corresponding dos-* functions and variables.
9286 (dos-intdos): Add a doc string.
9288 2010-05-15 Jay Belanger <jay.p.belanger@gmail.com>
9290 * calc/calc-aent.el (math-read-token, math-find-user-tokens):
9291 * calc/calc-lang.el (math-read-big-rec, math-lang-read-symbol):
9292 (math-compose-tex-func):
9293 * calc/calccomp.el (math-compose-expr):
9294 * calc/calc-ext.el (math-format-flat-expr-fancy):
9295 * calc/calc-store.el (calc-read-var-name):
9296 * calc/calc-units.el (calc-explain-units-rec): Allow Greek letters.
9298 * calc/calc.el (var-π, var-φ, var-γ): New variables.
9299 * calc/calc-aent.el (math-read-replacement-list): Add "micro" symbol.
9300 * calc/calc-units.el (math-unit-prefixes): Add mu for micro.
9301 (math-standard-units): Add units.
9303 2010-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
9305 * progmodes/asm-mode.el (asm-mode):
9306 * progmodes/prolog.el (prolog-mode): Use define-derived-mode.
9308 * pcomplete.el (pcomplete-completions-at-point): New function,
9309 extracted from pcomplete-std-complete.
9310 (pcomplete-std-complete): Use it.
9312 2010-05-15 Glenn Morris <rgm@gnu.org>
9314 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
9315 Remove references to CVS, RCS and Old directories.
9317 2010-05-14 Jay Belanger <jay.p.belanger@gmail.com>
9319 * calc/calc-bin.el (math-format-twos-complement): Group digits when
9322 2010-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
9324 * progmodes/sh-script.el (sh-mode-default-syntax-table): Remove.
9325 (sh-mode-syntax-table): Give it a default value instead.
9326 (sh-header-marker): Make buffer-local.
9327 (sh-mode): Move make-local-variable to the corresponding setq.
9328 (sh-add-completer): Avoid gratuitously let-binding a buffer-local var.
9329 Use complete-with-action.
9331 * simple.el (prog-mode): New (abstract) major mode.
9332 * emacs-lisp/lisp-mode.el (emacs-lisp-mode, lisp-mode): Use it.
9333 * progmodes/sh-script.el (sh-mode): Remove redundant var assignment.
9335 2010-05-14 Juanma Barranquero <lekktu@gmail.com>
9337 * progmodes/sql.el (sql-oracle-program): Reflow docstring.
9338 (sql-oracle-scan-on, sql-sybase-program, sql-product-font-lock)
9339 (sql-add-product-keywords, sql-highlight-product, sql-set-product)
9340 (sql-make-alternate-buffer-name, sql-placeholders-filter)
9341 (sql-escape-newlines-filter, sql-input-sender)
9342 (sql-send-magic-terminator, sql-sybase): Fix typos in docstrings.
9344 2010-05-13 Chong Yidong <cyd@stupidchicken.com>
9346 Add TeX open-block and close-block keybindings to SGML, and vice versa.
9348 * textmodes/tex-mode.el (tex-mode-map): Bind C-c C-t to
9349 latex-open-block and C-c / to latex-close-block.
9351 * textmodes/sgml-mode.el (sgml-mode-map): Bind C-c C-o to sgml-tag
9352 and C-c C-e to sgml-close-tag.
9354 2010-05-13 Michael Albinus <michael.albinus@gmx.de>
9356 * net/tramp.el (with-progress-reporter): Create reporter object
9357 only when the message would be displayed. Handle nested calls.
9358 (tramp-handle-load, tramp-handle-file-local-copy)
9359 (tramp-handle-insert-file-contents, tramp-handle-write-region)
9360 (tramp-maybe-send-script, tramp-find-shell):
9361 Use `with-progress-reporter'.
9362 (tramp-handle-dired-compress-file, tramp-maybe-open-connection):
9365 * net/tramp-smb.el (tramp-smb-handle-copy-file)
9366 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
9367 (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
9368 Use `with-progress-reporter'.
9370 2010-05-13 Agustín Martín <agustin.martin@hispalinux.es>
9372 * textmodes/ispell.el (ispell-init-process): Do not kill ispell
9373 process everytime when spellchecking from the minibuffer (bug#6143).
9375 2010-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
9377 * progmodes/sh-script.el (sh-mode): Use define-derived-mode.
9379 * dos-fns.el: Add "dos-" prefix for namespace control.
9380 (convert-standard-filename): Define as alias for
9381 dos-convert-standard-filename but only if applicable.
9383 2010-05-12 Alan Mackenzie <acm@muc.de>
9385 * progmodes/cc-cmds.el (c-beginning-of-defun, c-end-of-defun):
9386 Push the mark at the start of these functions when appropriate.
9388 2010-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
9390 * minibuffer.el (completion-cycle-threshold): New custom var.
9391 (completion--do-completion): Use it.
9392 (minibuffer-complete): Use cycling if appropriate.
9394 2010-05-11 Juanma Barranquero <lekktu@gmail.com>
9396 * dirtrack.el (dirtrackp): Remove defcustom; don't make automatically
9397 buffer-local (it's an obsolete alias for `dirtrack-mode') (bug#6173).
9399 2010-05-11 Juri Linkov <juri@jurta.org>
9401 * scroll-all.el (scroll-all-check-to-scroll):
9402 Add `scroll-up-command' and `scroll-down-command' (bug#6164).
9404 2010-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
9406 * iimage.el (iimage-mode-map): Move initialization into declaration.
9407 (iimage-mode-buffer): Use with-silent-modifications.
9408 Simplify calling convention. Adjust callers.
9409 (iimage-mode): Don't run hook redundantly.
9411 * minibuffer.el (completion-pcm--pattern->regex):
9412 Fix last change (bug#6160).
9414 2010-05-10 Juri Linkov <juri@jurta.org>
9416 Remove nodes visited during Isearch from the Info history.
9417 * info.el (Info-isearch-initial-history)
9418 (Info-isearch-initial-history-list): New variables.
9419 (Info-isearch-start): Record initial values of
9420 Info-isearch-initial-history and Info-isearch-initial-history-list.
9421 Add Info-isearch-end to isearch-mode-end-hook.
9422 (Info-isearch-end): New function.
9424 2010-05-10 Michael Albinus <michael.albinus@gmx.de>
9426 * net/tramp.el (tramp-do-file-attributes-with-stat): Add space in
9427 format string, in order to work around a bug in pdksh.
9428 Reported by Gilles Pion <gpion@lfdj.com>.
9429 (tramp-handle-verify-visited-file-modtime): Do not send a command
9430 when the connection is not established.
9431 (tramp-handle-set-file-times): Simplify the check for utc.
9433 2010-05-10 Juanma Barranquero <lekktu@gmail.com>
9435 Fix use of `filter-buffer-substring' (rework previous change).
9436 * emulation/cua-base.el (cua--filter-buffer-noprops): New function.
9437 (cua-repeat-replace-region):
9438 * emulation/cua-rect.el (cua--extract-rectangle, cua-incr-rectangle):
9439 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
9440 (cua-cut-region-to-global-mark): Use it.
9442 2010-05-09 Michael R. Mauger <mmaug@yahoo.com>
9444 * progmodes/sql.el: Version 2.1.
9445 (sql-product-alist): Redesign structure of product info.
9446 (sql-product, sql-user, sql-server, sql-database): Safe variables.
9447 (sql-port, sql-port-history): New variables.
9448 (sql-interactive-product): New variable.
9449 (sql-send-terminator): New variable.
9450 (sql-imenu-generic-expression): Add "Types" imenu entry.
9451 (sql-oracle-login-params, sql-sqlite-login-params)
9452 (sql-mysql-login-params, sql-solid-login-params)
9453 (sql-sybase-login-params, sql-informix-login-params)
9454 (sql-ingres-login-params, sql-ms-login-params)
9455 (sql-postgres-login-params, sql-interbase-login-params)
9456 (sql-db2-login-params, sql-linter-login-params)
9457 (sql-oracle-scan-on): New variables.
9458 (sql-mode-map): Add C-c C-i to start interactive mode.
9459 (sql-mode-menu): Update existing menu entries.
9460 (sql-font-lock-keywords-builder): Compile-time font-lock optimization.
9461 (sql-mode-oracle-font-lock-keywords)
9462 (sql-mode-postgres-font-lock-keywords)
9463 (sql-mode-ms-font-lock-keywords)
9464 (sql-mode-sybase-font-lock-keywords)
9465 (sql-mode-informix-font-lock-keywords)
9466 (sql-mode-interbase-font-lock-keywords)
9467 (sql-mode-ingres-font-lock-keywords)
9468 (sql-mode-solid-font-lock-keywords)
9469 (sql-mode-mysql-font-lock-keywords)
9470 (sql-mode-sqlite-font-lock-keywords)
9471 (sql-mode-db2-font-lock-keywords)
9472 (sql-mode-linter-font-lock-keywords): Update initialization to
9473 reduce run-time complexity.
9474 (sql-add-product, sql-del-product): New functions.
9475 (sql-set-product-feature, sql-get-product-feature): New functions.
9476 (sql-product-font-lock): Update product API.
9477 (sql-add-product-keywords): New function.
9478 (sql-highlight-product): Update product API.
9479 (sql-help-list-products): New function.
9480 (sql-help): Dynamically lists free and non-free products.
9481 (sql-get-login): Correct bug in handling history and added
9483 (sql-copy-column): Copy without properties.
9484 (sqli-input-sender): Apply filters to SQLi input.
9485 (sql-query-placeholders-and-send): Obey `sql-oracle-scan-on' setting.
9486 Implement as a filter.
9487 (sql-escape-newlines-filter): Implement as a filter.
9488 (sql-remove-tabs-filter): New function.
9489 (sql-send-magic-terminator): New function.
9490 (sql-send-string): Implement magic terminator.
9491 (sql-send-region): Use `sql-send-string'.
9492 (sql-interactive-mode): Use product API.
9493 (sql-product-interactive): Use product API.
9494 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
9495 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
9496 (sql-db2, sql-linter): Use `sql-product-interactive'.
9497 (sql-connect): New function.
9498 (sql-connect-oracle, sql-connect-sybase, sql-connect-informix)
9499 (sql-connect-sqlite, sql-connect-mysql, sql-connect-solid)
9500 (sql-connect-ingres, sql-connect-ms, sql-connect-postgres)
9501 (sql-connect-interbase, sql-connect-db2, sql-connect-linter):
9504 2010-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
9506 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
9507 New custom variable.
9508 (completion-pcm--string->pattern): Use it.
9509 (completion-pcm--pattern->regex, completion-pcm--pattern->string):
9510 Make it handle any symbol as `any'.
9511 (completion-pcm--merge-completions): Extract common suffix for the new
9512 `prefix' symbol as well.
9513 (completion-substring--all-completions): Use the new `prefix' symbol.
9515 2010-05-09 Michael Albinus <michael.albinus@gmx.de>
9517 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Define if
9519 (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
9520 (tramp-compat-funcall): New defmacro.
9521 (tramp-compat-line-beginning-position)
9522 (tramp-compat-line-end-position)
9523 (tramp-compat-temporary-file-directory)
9524 (tramp-compat-make-temp-file, tramp-compat-file-attributes)
9525 (tramp-compat-copy-file, tramp-compat-copy-directory)
9526 (tramp-compat-delete-file, tramp-compat-delete-directory)
9527 (tramp-compat-number-sequence, tramp-compat-process-running-p)
9528 * net/tramp.el (top, with-progress-reporter)
9529 (tramp-rfn-eshadow-setup-minibuffer)
9530 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
9531 (tramp-handle-dired-compress-file, tramp-handle-shell-command)
9532 (tramp-completion-mode-p, tramp-check-for-regexp)
9533 (tramp-open-connection-setup-interactive-shell)
9534 (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
9535 (tramp-time-diff, tramp-coding-system-change-eol-conversion)
9536 (tramp-set-process-query-on-exit-flag, tramp-unload-tramp)
9537 * net/tramp-cmds.el (tramp-cleanup-all-connections)
9538 (tramp-reporter-dump-variable, tramp-load-report-modules)
9539 (tramp-append-tramp-buffers)
9540 * net/tramp-gvfs.el (tramp-gvfs-handle-file-selinux-context): Use it.
9542 * net/tramp-imap.el (top): Autoload `epg-make-context'.
9544 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9546 * progmodes/compile.el (compilation-buffer-modtime): Rename from
9547 buffer-modtime. Adjust users.
9549 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
9551 * international/mule.el (auto-coding-alist): Only purecopy
9552 car of each item, not the whole list (Bug#6083).
9554 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
9556 * progmodes/js.el (js-mode): Make paragraph variables local before
9557 calling c-setup-paragraph-variables (Bug#6071).
9559 2010-05-08 Eli Zaretskii <eliz@gnu.org>
9561 * composite.el (compose-region, reference-point-alist): Fix typos
9564 2010-05-08 Alexander Klimov <alserkli@inbox.ru> (tiny change)
9566 * calc/calc-graph.el (calc-graph-plot): Use the proper form for
9567 gnuplot's "set" command.
9569 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
9571 * abbrev.el (last-abbrev-text): Doc fix.
9572 (abbrev-prefix-mark): Don't escape parenthesis.
9574 2010-05-08 Andreas Schwab <schwab@linux-m68k.org>
9576 * composite.el (find-composition): Doc fix.
9578 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
9580 * progmodes/sql.el (sql-electric-stuff): Fix typo in tag.
9581 (sql-oracle-program, sql-sqlite-options)
9582 (sql-query-placeholders-and-send): Doc fixes.
9583 (sql-set-product, sql-interactive-mode): Reflow docstrings.
9584 (sql-imenu-generic-expression, sql-buffer)
9585 (sql-mode-ansi-font-lock-keywords, sql-mode-oracle-font-lock-keywords)
9586 (sql-mode-postgres-font-lock-keywords, sql-mode-ms-font-lock-keywords)
9587 (sql-mode-sybase-font-lock-keywords)
9588 (sql-mode-informix-font-lock-keywords)
9589 (sql-mode-interbase-font-lock-keywords)
9590 (sql-mode-ingres-font-lock-keywords, sql-mode-solid-font-lock-keywords)
9591 (sql-mode-mysql-font-lock-keywords, sql-mode-sqlite-font-lock-keywords)
9592 (sql-mode-db2-font-lock-keywords, sql-mode-font-lock-keywords)
9593 (sql-product-feature, sql-highlight-product)
9594 (comint-line-beginning-position, sql-rename-buffer)
9595 (sql-toggle-pop-to-buffer-after-send-region sql-oracle)
9596 (sql-sybase, sql-informix, sql-sqlite, sql-mysql, sql-solid)
9597 (sql-ingres, sql-ms, sql-postgres, sql-interbase, sql-db2, sql-linter):
9598 Fix typos in docstrings.
9600 2010-05-08 Juri Linkov <juri@jurta.org>
9602 * info.el (Info-fontify-node): Put Info-breadcrumbs to the `display'
9603 property instead of `invisible' and `after-string' (bug#5998).
9605 2010-05-08 Juri Linkov <juri@jurta.org>
9607 * image-mode.el (image-mode-as-text): Fix typo in docstring.
9609 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
9611 * filecache.el (file-cache-add-directory-list)
9612 (file-cache-add-directory-recursively): Fix typos in docstrings.
9614 2010-05-08 Kenichi Handa <handa@m17n.org>
9616 * language/indian.el (gurmukhi-composable-pattern): Fix typo.
9617 (gujarati-composable-pattern): Fix typo.
9619 2010-05-08 Kenichi Handa <handa@m17n.org>
9621 * language/indian.el (oriya-composable-pattern)
9622 (tamil-composable-pattern, malayalam-composable-pattern):
9623 Add two-part vowels to "v" (vowel sign).
9625 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
9627 * files.el (copy-directory): Handle symlinks (Bug#5982).
9629 2010-05-08 Dan Nicolaescu <dann@ics.uci.edu>
9631 * vc-hg.el (vc-hg-state): Use HGRCPATH, not HGRC.
9632 (vc-hg-working-revision): Likewise. Use hg parents, not hg parent
9635 2010-05-08 Glenn Morris <rgm@gnu.org>
9637 * emacs-lisp/lisp.el (lisp-completion-at-point): Give it a doc string.
9639 * minibuffer.el (completion-at-point): Doc fix.
9641 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9643 * electric.el (Electric-command-loop): Minor tweak.
9645 * ebuff-menu.el (electric-buffer-list): Try and make it behave a bit
9646 better with dedicated windows.
9648 2010-05-07 Chong Yidong <cyd@stupidchicken.com>
9650 * Version 23.2 released.
9652 2010-05-07 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
9653 Stefan Monnier <monnier@iro.umontreal.ca>
9655 Highlight vendor specific properties.
9656 * textmodes/css-mode.el (css-proprietary-nmstart-re): New var.
9657 (css-proprietary-property): New face.
9658 (css-font-lock-keywords): Use them.
9660 2010-05-07 Eli Zaretskii <eliz@gnu.org>
9662 * cus-start.el (all): Add native condition for tool-bar-* symbols.
9664 2010-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
9666 * textmodes/dns-mode.el (auto-mode-alist): Add entry for .zone files.
9667 * files.el (auto-mode-alist): Remove redundant entries.
9669 * files.el (auto-save-mode): Move to simple.el to fix bootstrap.
9670 * simple.el (auto-save-mode): Move from files.el.
9671 * minibuffer.el (completion--common-suffix): Fix copy&paste error.
9673 2010-05-07 Christian von Roques <roques@mti.ag> (tiny change)
9675 * epg.el (epg-key-capablity-alist): Add "D" flag (Bug#5592).
9677 2010-05-07 Katsumi Yamaoka <yamaoka@jpl.org>
9679 * mail/binhex.el (binhex-decode-region-internal)
9680 * mail/uudecode.el (uudecode-decode-region-internal)
9681 * net/dns.el (dns-read-string-name, dns-write, dns-read)
9682 (dns-read-type, dns-query)
9683 * pgg-parse.el (pgg-parse-armor)
9684 * pgg.el (pgg-verify-region)
9685 * sha1.el (sha1-string-external): Don't run set-buffer-multibyte for
9688 * net/imap.el (imap-disable-multibyte): Redefine it as a macro.
9690 2010-05-07 Juanma Barranquero <lekktu@gmail.com>
9692 * progmodes/cperl-mode.el (cperl-mode-unload-function): New function.
9694 Fix use of `filter-buffer-substring' (4th arg NOPROPS removed).
9695 * emulation/cua-base.el (cua-repeat-replace-region):
9696 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
9697 (cua-cut-region-to-global-mark):
9698 Remove text properties with `set-text-properties'.
9700 2010-05-06 Michael Albinus <michael.albinus@gmx.de>
9702 * net/tramp.el (top, with-progress-reporter):
9703 Use `symbol-function' inside `funcall'.
9705 * net/tramp-compat.el (tramp-compat-file-attributes)
9706 (tramp-compat-delete-file, tramp-compat-delete-directory):
9707 Handle only `wrong-number-of-arguments' error.
9709 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Fix typo.
9710 (tramp-gvfs-handle-file-selinux-context): Use `symbol-function'
9713 2010-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9715 * minibuffer.el (completion--sreverse, completion--common-suffix):
9717 (completion-pcm--merge-completions): Extract common suffix when safe.
9719 * emacs-lisp/easy-mmode.el (define-minor-mode):
9720 Make :variable more flexible.
9721 * files.el (auto-save-mode): Use it to define using define-minor-mode.
9723 2010-05-05 Juri Linkov <juri@jurta.org>
9725 Add `slow' and `history' tags to the desktop data.
9727 * info.el (Info-virtual-nodes) [*Index*]: Add `slow' tag.
9728 (Info-virtual-files) [*Apropos*]: Add `slow' tag.
9729 (Info-finder-find-node): Require `finder.el' to be able
9730 to restore node from the desktop.
9731 (Info-desktop-buffer-misc-data): Save all nodes. Save additional
9732 data `Info-history' and `slow' tag in the assoc list.
9733 (Info-restore-desktop-buffer): Don't restore nodes with the
9734 `slow' tag. Restore `Info-history'.
9736 2010-05-05 Michael Albinus <michael.albinus@gmx.de>
9738 Add FORCE argument to `delete-file'.
9740 * net/ange-ftp.el (ange-ftp-del-tmp-name): Make it a defun,
9741 forcing to delete the temporary file.
9742 (ange-ftp-delete-file): Add FORCE arg.
9743 (ange-ftp-rename-remote-to-remote)
9744 (ange-ftp-rename-local-to-remote, ange-ftp-rename-remote-to-local)
9745 (ange-ftp-load, ange-ftp-compress, ange-ftp-uncompress):
9746 Force file deletion.
9748 * net/tramp-compat.el (tramp-compat-delete-file): New defun.
9750 * net/tramp.el (tramp-handle-delete-file): Add FORCE arg.
9751 (tramp-handle-make-symbolic-link, tramp-handle-load)
9752 (tramp-do-copy-or-rename-file-via-buffer)
9753 (tramp-do-copy-or-rename-file-directly)
9754 (tramp-do-copy-or-rename-file-out-of-band)
9755 (tramp-handle-process-file, tramp-handle-call-process-region)
9756 (tramp-handle-shell-command, tramp-handle-file-local-copy)
9757 (tramp-handle-insert-file-contents, tramp-handle-write-region)
9758 (tramp-delete-temp-file-function): Use `tramp-compat-delete-file'.
9760 * net/tramp-fish.el (tramp-fish-handle-delete-file): Add FORCE arg.
9761 (tramp-fish-handle-make-symbolic-link)
9762 (tramp-fish-handle-process-file): Use `tramp-compat-delete-file'.
9764 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
9765 Use `tramp-compat-delete-file'.
9767 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Add FORCE arg.
9768 (tramp-gvfs-handle-write-region): Use `tramp-compat-delete-file'.
9770 * net/tramp-imap.el (tramp-imap-handle-delete-file): Add FORCE arg.
9771 (tramp-imap-do-copy-or-rename-file): Use `tramp-compat-delete-file'.
9773 * net/tramp-smb.el (tramp-smb-handle-delete-file): Add FORCE arg.
9774 (tramp-smb-handle-copy-file, tramp-smb-handle-file-local-copy)
9775 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
9776 Use `tramp-compat-delete-file'.
9778 2010-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
9781 * subr.el (add-minor-mode): Use push.
9782 * mail/supercite.el (sc-electric-mode): Use more descriptive arg name.
9783 * emulation/edt.el (edt-select-mode): Simplify.
9785 Use define-minor-mode in more cases.
9786 * term/tvi970.el (tvi970-set-keypad-mode):
9787 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
9788 (normal-erase-is-backspace-mode):
9789 * scroll-bar.el (scroll-bar-mode): Use it and define-minor-mode.
9790 (set-scroll-bar-mode-1): (Re)move to its sole caller.
9791 (get-scroll-bar-mode): New function.
9792 * emacs-lisp/cl-macs.el (eq): Handle a non-variable first arg.
9794 Use define-minor-mode for less obvious cases.
9795 * emacs-lisp/easy-mmode.el (define-minor-mode): Add :variable keyword.
9796 * emacs-lisp/cl-macs.el (terminal-parameter, eq): Add setf method.
9797 * international/iso-ascii.el (iso-ascii-mode):
9798 * frame.el (auto-raise-mode, auto-lower-mode):
9799 * composite.el (global-auto-composition-mode): Use define-minor-mode.
9801 2010-05-04 Michael Albinus <michael.albinus@gmx.de>
9803 * net/tramp.el (tramp-methods): Remove "-q" from `tramp-login-args'
9804 in order to see error messages for failed logins.
9806 2010-05-03 Chong Yidong <cyd@stupidchicken.com>
9808 * diff.el (diff-sentinel):
9810 * epg.el (epg--make-temp-file, epg-decrypt-string)
9811 (epg-verify-string, epg-sign-string, epg-encrypt-string):
9813 * jka-compr.el (jka-compr-partial-uncompress)
9814 (jka-compr-call-process, jka-compr-write-region, jka-compr-load):
9816 * server.el (server-sentinel): Use delete-file's new FORCE arg
9819 2010-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
9821 Use define-minor-mode where applicable.
9822 * view.el (view-mode):
9823 * type-break.el (type-break-query-mode)
9824 (type-break-mode-line-message-mode):
9825 * textmodes/reftex.el (reftex-mode):
9826 * term/vt100.el (vt100-wide-mode):
9827 * tar-mode.el (tar-subfile-mode):
9828 * savehist.el (savehist-mode):
9829 * ibuf-ext.el (ibuffer-auto-mode):
9830 * composite.el (auto-composition-mode):
9831 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
9832 Use define-minor-mode.
9833 (vhdl-mode): Use static mode-line format.
9834 (vhdl-mode-line-update): Delete.
9835 (vhdl-create-mode-menu, vhdl-activate-customizations)
9836 (vhdl-hs-minor-mode): Don't bother calling it.
9838 2010-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
9840 * simple.el (with-wrapper-hook): Move.
9841 (buffer-substring-filters): Mark obsolete.
9842 (filter-buffer-substring-functions): New variable.
9843 (filter-buffer-substring): Use it. Remove unused arg `noprops'.
9845 2010-05-01 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
9846 Michael Albinus <michael.albinus@gmx.de>
9848 Implement compression for inline methods.
9850 * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
9851 (tramp-copy-size-limit): Allow also nil.
9852 (tramp-inline-compress-commands): New defconst.
9853 (tramp-find-inline-compress, tramp-get-inline-compress)
9854 (tramp-get-inline-coding): New defuns.
9855 (tramp-get-remote-coding, tramp-get-local-coding): Remove,
9856 replaced by `tramp-get-inline-coding'.
9857 (tramp-handle-file-local-copy, tramp-handle-write-region)
9858 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
9860 2010-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
9862 * bindings.el (mode-line-abbrev-mode, mode-line-auto-fill-mode):
9863 Remove unused functions.
9865 * emacs-lisp/lisp-mode.el (lisp-mode): Use define-derived-mode.
9866 Set find-tag-default-function as a variable rather than a property.
9868 * minibuffer.el (tags-completion-at-point-function): Move to etags.el.
9869 * progmodes/etags.el (tags-completion-at-point-function):
9870 Remove left over interactive spec. Add autoloading stub.
9871 (complete-tag): Use tags-completion-at-point-function.
9873 2010-04-30 Chong Yidong <cyd@stupidchicken.com>
9875 * minibuffer.el (tags-completion-at-point-function): Fix return value.
9877 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
9879 * ido.el (ido-init-completion-maps): Remove C-v binding.
9880 (ido-minibuffer-setup): Don't set cua-inhibit-cua-keys (Bug#5765).
9882 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
9884 * minibuffer.el (tags-completion-at-point-function): New function.
9885 (completion-at-point-functions): Use it.
9887 * progmodes/etags.el (complete-tag): Revert last change.
9889 2010-04-29 Alan Mackenzie <acm@muc.de>
9891 * progmodes/cc-mode.el (c-extend-region-for-CPP): Fix an
9892 off-by-one error (in end of macro position).
9894 2010-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
9896 * net/browse-url.el (browse-url-firefox-program): Use iceweasel if
9897 firefox is absent. Don't autoload.
9898 (browse-url-galeon-program): Don't autoload.
9900 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
9902 * bindings.el (complete-symbol): Move into minibuffer.el.
9904 * minibuffer.el (complete-tag): Move from etags.el. If tags
9905 completion cannot be performed, return nil instead of signalling
9907 (completion-at-point): Make it an alias for complete-symbol.
9908 (complete-symbol): Move from bindings.el, and replace with the
9909 body of completion-at-point.
9911 * progmodes/etags.el (complete-tag): Move to minibuffer.el.
9913 2010-04-28 Michael Albinus <michael.albinus@gmx.de>
9915 * net/tramp.el (tramp-remote-selinux-p): New defun.
9916 (tramp-handle-file-selinux-context)
9917 (tramp-handle-set-file-selinux-context): Use it.
9919 2010-04-28 Sam Steingold <sds@gnu.org>
9921 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
9922 `safe-local-variable' if the value is a string or a symbol with
9923 the property `bug-reference-url-format'.
9925 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
9927 * progmodes/bug-reference.el (bug-reference-url-format):
9928 Revert 2010-04-27 change due to security risk.
9930 2010-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
9932 Make it possible to locally disable a globally enabled mode.
9933 * simple.el (fundamental-mode): Run fundamental-mode-hook.
9934 * emacs-lisp/derived.el (define-derived-mode): Use fundamental-mode
9935 rather than kill-all-local-variables so it runs fundamental-mode-hook.
9936 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9937 Use fundamental-mode-hook to run MODE-enable-in-buffers earlier, so
9938 that subsequent hooks get a chance to disable it.
9940 2010-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
9942 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9943 Avoid re-enabling a minor mode after the user turned the minor mode
9944 off if MODE-enable-in-buffers is run twice (typically once from
9945 fundamental-mode's after-change-major-mode-hook and a second time from
9946 run-mode-hook's own after-change-major-mode-hook).
9948 * emacs-lisp/lisp.el (lisp-complete-symbol): Fail gracefully.
9950 2010-04-27 Sam Steingold <sds@gnu.org>
9952 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
9953 `safe-local-variable' if the value is a string or a function, as
9954 documented and implemented on 2010-04-02.
9956 2010-04-27 Juanma Barranquero <lekktu@gmail.com>
9958 * ido.el (ido-buffer-internal): Bind `ido-use-virtual-buffers' to nil
9959 when method is 'kill.
9961 2010-04-27 Agustín Martín <agustin.martin@hispalinux.es>
9963 * textmodes/ispell.el (ispell-init-process): Fix personal dictionary
9964 condition in default directory check.
9965 (ispell-init-process,ispell-kill-ispell,kill-buffer-hook):
9966 Kill ispell process when killing its associated buffer.
9968 2010-04-27 Jan Djärv <jan.h.d@swipnet.se>
9970 * desktop.el (desktop-kill): ask-if-new: Ask if desktop file exists,
9971 but we aren't using it.
9973 2010-04-25 Jan Djärv <jan.h.d@swipnet.se>
9975 * tool-bar.el (tool-bar-local-item-from-menu): Revert unintended
9976 checkin in 2010-04-23T16:26:11Z!monnier@iro.umontreal.ca.
9978 2010-04-24 Glenn Morris <rgm@gnu.org>
9980 * emacs-lisp/authors.el (authors-obsolete-files-regexps):
9981 Ignore VCS-ignore files, and deleted nextstep preferences files.
9982 (authors-ignored-files): Ignore deleted cedet test files, and "*.el".
9983 (authors-ambiguous-files): New list.
9984 (authors-valid-file-names): Add some deleted files.
9985 (authors-renamed-files-alist): Add font-setting.el, edt-user.doc.
9986 (authors-disambiguate-file-name): New function. (Bug#5501)
9987 (authors-canonical-file-name): Doc fix.
9988 Don't warn about obsolete files.
9989 (authors-canonical-file-name, authors-scan-el):
9990 Use authors-disambiguate-file-name.
9992 * hfy-cmap.el (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
9993 Add autoload cookies.
9994 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values): Add docs.
9995 (generated-autoload-file): Set file-local value to "htmlfontify.el".
9996 * htmlfontify.el (caddr, cadddr): Remove fallback definitions.
9997 They have definitions / compiler macros in cl.el.
9998 (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
9999 Replace manual autoloads with generated ones.
10000 (htmlfontify-unload-rgb-file): Remove autoload.
10001 * Makefile.in (autoloads): Ensure htmlfontify.el is writable.
10003 2010-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
10005 * emacs-lisp/bytecomp.el (byte-compile-set-default): New function.
10006 (byte-compile-setq-default): Optimize for the
10007 single-var case and don't call byte-compile-form in this case to avoid
10008 inf-loop with byte-compile-set-default.
10010 * progmodes/compile.el (compilation-start): Abbreviate default directory.
10012 2010-04-23 Michael Albinus <michael.albinus@gmx.de>
10014 Implement SELINUX backends.
10016 * net/tramp.el (tramp-file-name-handler-alist):
10017 Add `file-selinux-context' and `set-file-selinux-context'.
10018 (tramp-handle-file-selinux-context)
10019 (tramp-handle-set-file-selinux-context): New defuns.
10020 (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
10021 Handle PRESERVE-SELINUX-CONTEXT.
10023 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
10024 Add `file-selinux-context' and `set-file-selinux-context'.
10025 (tramp-gvfs-handle-file-selinux-context)
10026 (tramp-gvfs-handle-set-file-selinux-context): New defuns.
10027 (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
10029 * net/ange-ftp.el (ange-ftp-copy-file):
10030 * net/tramp-fish.el (tramp-fish-handle-copy-file):
10031 * net/tramp-imap.el (tramp-imap-handle-copy-file):
10032 * net/tramp-smb.el (tramp-smb-handle-copy-file):
10033 Add PRESERVE-SELINUX-CONTEXT.
10035 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
10037 Synchronize with Tramp repository.
10039 * net/tramp.el (with-connection-property, tramp-completion-mode-p)
10040 (tramp-action-process-alive, tramp-action-out-of-band)
10041 (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
10042 (tramp-exists-file-name-handler): Fix docstring.
10043 (with-progress-reporter): New defmacro.
10044 (tramp-do-copy-or-rename-file, tramp-handle-dired-compress-file)
10045 (tramp-maybe-open-connection): Use it.
10047 2010-04-22 Noah Lavine <noah549@gmail.com> (tiny change)
10049 Detect ssh 'ControlMaster' argument automatically in some cases.
10051 * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
10052 (tramp-default-method): Use it.
10054 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
10056 * net/tramp.el (tramp-handle-copy-file): Add new optional
10057 parameter `preserve-selinux-context'.
10058 (tramp-file-name-for-operation): Add `set-file-selinux-context'.
10060 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
10062 * net/tramp.el (tramp-completion-handle-file-name-all-completions):
10063 Ensure, that non remote files are still checked. Oops.
10065 2010-04-21 Michael Albinus <michael.albinus@gmx.de>
10069 * icomplete.el (icomplete-completions): Use `non-essential'.
10071 * net/tramp.el (tramp-connectable-p): New defun.
10072 (tramp-handle-expand-file-name)
10073 (tramp-completion-handle-file-name-all-completions)
10074 (tramp-completion-handle-file-name-completion): Use it.
10076 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
10078 * emacs-lisp/lisp.el (lisp-completion-at-point): Try and handle errors.
10080 2010-04-21 Jan Djärv <jan.h.d@swipnet.se>
10082 * vc-dir.el (vc-dir-tool-bar-map): Add :label on some tool bar items.
10084 * tool-bar.el (tool-bar-setup): Add :label on some tool bar items.
10086 * loadup.el: Load dynamic-setting.el if feature dynamic-setting
10089 * info.el (info-tool-bar-map): Add labels.
10091 * cus-start.el (all): Add tool-bar-style and tool-bar-max-label-size.
10093 * cus-edit.el (custom-commands): Add labels for tool bar.
10094 (custom-buffer-create-internal, Custom-mode): Adjust for
10095 labels in custom-commands.
10097 * dynamic-setting.el: Renamed from font-setting.el.
10099 2010-04-21 John Wiegley <jwiegley@gmail.com>
10101 * ido.el (ido-init-completion-maps): For ido-switch-buffer, C-o
10102 toggles the use of virtual buffers.
10103 (ido-buffer-internal): Guard `ido-use-virtual-buffers' global value.
10104 (ido-toggle-virtual-buffers): New function.
10106 2010-04-21 Juanma Barranquero <lekktu@gmail.com>
10108 Use `define-derived-mode'; fix window selection; doc fixes.
10109 * play/tetris.el (tetris, tetris-update-speed-function)
10110 (tetris-tty-colors, tetris-x-colors, tetris-move-bottom)
10111 (tetris-move-left, tetris-move-right, tetris-rotate-prev)
10112 (tetris-rotate-next, tetris-end-game, tetris-start-game)
10113 (tetris-pause-game): Fix typos in docstrings.
10114 (tetris-mode-map, tetris-null-map):
10115 Move initialization into declaration.
10116 (tetris-mode): Define with `define-derived-mode';
10117 set show-trailing-whitespace to nil.
10118 (tetris): Prefer window already displaying the "*Tetris*" buffer.
10120 2010-04-21 Karel Klíč <kklic@redhat.com>
10122 * files.el (backup-buffer): Handle SELinux context, and return it
10123 if a backup was made by renaming.
10124 (backup-buffer-copy): Set SELinux context to the target file.
10125 (basic-save-buffer): Set SELinux context of the newly written file.
10126 (basic-save-buffer-1): Now it also returns any SELinux context.
10127 (basic-save-buffer-2): Set SELinux context of the newly created file,
10129 * net/tramp.el (tramp-file-name-for-operation):
10130 Add file-selinux-context.
10132 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
10134 Make the log-edit comments use RFC822 format throughout.
10136 * vc.el (vc-checkin, vc-modify-change-comment):
10137 Adjust to new vc-start/finish-logentry.
10138 (vc-find-conflicted-file): New command.
10139 (vc-transfer-file): Adjust to new vc-checkin.
10140 (vc-next-action): Improve scoping.
10142 * vc-hg.el (vc-hg-log-edit-mode): Remove.
10143 (vc-hg-checkin): Remove extra arg. Use log-edit-extract-headers.
10145 * vc-git.el (vc-git-log-edit-mode): Remove.
10146 (vc-git-checkin): Remove extra arg. Use log-edit-extract-headers.
10147 (vc-git-commits-coding-system): Rename from git-commits-coding-system.
10149 * vc-dispatcher.el (vc-log-edit): Shorten names for log-edit-show-files.
10150 (vc-start-logentry): Remove argument `extra'.
10151 (vc-finish-logentry): Remove extra args.
10153 * vc-bzr.el (vc-bzr-log-edit-mode): Remove.
10154 (vc-bzr-checkin): Remove extra arg. Use log-edit-extract-headers.
10155 (vc-bzr-conflicted-files): New function.
10157 * log-edit.el (log-edit-extra-flags)
10158 (log-edit-before-checkin-process): Remove.
10159 (log-edit-summary, log-edit-header, log-edit-unknown-header): New faces.
10160 (log-edit-headers-alist): New var.
10161 (log-edit-header-contents-regexp): New const.
10162 (log-edit-match-to-eoh): New function.
10163 (log-edit-font-lock-keywords): Use them.
10164 (log-edit): Insert a "Summary:" header as default.
10165 (log-edit-mode): Mark font-lock rules as case-insensitive.
10166 (log-edit-done): Cleanup headers.
10167 (log-view-process-buffer): Remove.
10168 (log-edit-extract-headers): New function to replace it.
10170 2010-04-20 Juanma Barranquero <lekktu@gmail.com>
10172 * subr.el (default-direction-reversed): Remove obsolescence info.
10174 2010-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
10176 * vc-dispatcher.el (vc-finish-logentry): Don't mess so badly with the
10179 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete around point.
10180 I.e. include text after point in the completion region.
10181 Also, return nil when we're not after/in a symbol.
10183 * international/mule-cmds.el (view-hello-file): Don't fiddle with the
10184 default enable-multibyte-characters.
10186 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
10188 * international/mule.el: Help the user choose a valid coding-system.
10189 (read-buffer-file-coding-system): New function.
10190 (set-buffer-file-coding-system): Use it. Prompt the user if the
10191 coding-system cannot encode all the chars.
10193 * vc-bzr.el: Use standard *vc* and *vc-diff* buffers.
10194 (vc-bzr-shelve-show, vc-bzr-shelve-apply)
10195 (vc-bzr-shelve-apply-and-keep, vc-bzr-shelve-snapshot):
10196 Don't use *vc-bzr-shelve*.
10198 2010-04-19 Dan Nicolaescu <dann@ics.uci.edu>
10200 Fix the version number for added files.
10201 * vc-hg.el (vc-hg-working-revision): Check if the file is
10202 registered after hg parent fails (Bug#5961).
10204 2010-04-19 Glenn Morris <rgm@gnu.org>
10206 * htmlfontify.el (htmlfontify-buffer)
10207 (htmlfontify-copy-and-link-dir): Autoload entry points.
10209 2010-04-19 Magnus Henoch <magnus.henoch@gmail.com>
10211 * vc-hg.el (vc-hg-annotate-extract-revision-at-line): Expand file
10212 name relative to the project root (Bug#5960).
10214 2010-04-19 Glenn Morris <rgm@gnu.org>
10216 * vc-git.el (vc-git-print-log): Doc fix.
10218 2010-04-19 Óscar Fuentes <ofv@wanadoo.es>
10220 * ido.el (ido-file-internal): Fix 2009-12-02 change.
10222 2010-04-19 Christoph <cschol2112@googlemail.com> (tiny change)
10224 * progmodes/grep.el (grep-compute-defaults): Fix handling of host
10225 default settings (Bug#5928).
10227 2010-04-19 Glenn Morris <rgm@gnu.org>
10229 * progmodes/fortran.el (fortran-match-and-skip-declaration):
10231 (fortran-font-lock-keywords-3): Use it. (Bug#1385)
10233 2010-04-19 Kenichi Handa <handa@m17n.org>
10235 * language/indian.el (malayalam-composable-pattern): Fix previous
10236 change (add U+0D4D "SIGN VIRAMA").
10237 (oriya-composable-pattern): Add U+0B30 and fix typo in the regexp.
10238 (tamil-composable-pattern): Fix typo in the regexp.
10239 (telugu-composable-pattern): Fix U+0C4D and typo in the regexp.
10240 (kannada-composable-pattern): Fix U+0CB0 and typo in the regexp.
10241 (malayalam-composable-pattern): Fix U+0D4D and typo in the regexp.
10243 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
10245 * textmodes/tex-mode.el (latex-mode): Revert 2008-03-03 change to
10246 paragraph-separate (Bug#5821).
10248 2010-04-19 Juri Linkov <juri@jurta.org>
10250 Put breadcrumbs on overlay instead of inserting to buffer (bug#5809).
10252 * info.el (Info-find-node-2): Comment out code that skips
10254 (Info-mouse-follow-link): New command.
10255 (Info-link-keymap): New keymap.
10256 (Info-breadcrumbs): Rename from `Info-insert-breadcrumbs'.
10257 Return a string with links instead of inserting breadcrumbs
10258 to the Info buffer.
10259 (Info-fontify-node): Comment out code that inserts breadcrumbs.
10260 Instead of putting the `invisible' text property over the Info
10261 header, make an overlay over the Info header with the `invisible'
10262 property and `after-string' set to the string returned by
10263 `Info-breadcrumbs'.
10265 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
10267 * help.el (help-window-setup-finish): Doc fix (Bug#5830).
10268 Reported by monkey@sandpframing.com.
10270 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
10272 * tmm.el (tmm-prompt): Remove obsolete call to x-popup-menu.
10273 (tmm-get-keymap): Add key-binding shortcuts now that they're not
10274 available in the "keyseq cache" any more.
10276 * custom.el (defcustom): Add edebug spec.
10278 2010-04-18 Juri Linkov <juri@jurta.org>
10280 Test for special mode-class in view-buffer instead of view-file (bug#5513).
10282 * view.el (view-file, view-buffer): Move test for special mode-class
10283 from view-file to view-buffer.
10285 * tar-mode.el (tar-extract): Turn if's into one cond
10286 like in arc-mode.el.
10288 2010-04-18 Juri Linkov <juri@jurta.org>
10290 Add 7z archive format support (bug#5475).
10292 * arc-mode.el (archive-zip-extract): Try to find 7z executable.
10293 (archive-7z-extract): New defcustom.
10294 (archive-find-type): Add magic string for 7z.
10295 (archive-extract-by-stdout): Add new optional arg `stderr-file'.
10296 If `stderr-file' is non-nil, use `(t stderr-file)' for the
10297 `buffer' arg of `call-process'.
10298 (archive-zip-extract): Check `archive-zip-extract' for "7z" and
10299 call the function `archive-7z-extract' with the variable
10300 `archive-7z-extract' let-bound to `archive-zip-extract'.
10301 (archive-7z-summarize, archive-7z-extract): New functions.
10303 * international/mule.el (auto-coding-alist):
10304 * files.el (auto-mode-alist): Add 7z file extension.
10306 2010-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
10308 * loadup.el: Setup hash-cons for pure data.
10310 Fix duplicate entries in cedet's loaddefs.el files.
10311 * emacs-lisp/autoload.el (autoload-file-load-name): Be more clever.
10312 Should make most file-local generated-autoload-file unnecessary.
10313 (print-readably): Silence warnings.
10314 (autoload-find-destination): Take load-name as an arg to make sure
10315 it's the same as the one that will be in the file.
10316 (autoload-generate-file-autoloads): Adjust to above changes.
10317 Try to make the dataflow a bit simpler.
10319 * cvs-status.el (cvs-refontify): Remove unused.
10321 2010-04-18 Jay Belanger <jay.p.belanger@gmail.com>
10323 * calc/calc.el (calc-mode-map): Bind "O" to `calc-missing-key'.
10325 * calc/calc-bin.el (calc-radix): Have the "O" option turn on
10326 twos-complement mode.
10328 2010-04-17 Jay Belanger <jay.p.belanger@gmail.com>
10330 * calc/calc-ext.el (calc-init-extensions): Add keybinding for
10331 'calc-option'. Add `calc-option-prefix-help' to calc-help autoloads.
10332 (calc-inverse): Add "Option" to message, as appropriate.
10333 (calc-hyperbolic): Add "Option" to message, as appropriate.
10334 (calc-option, calc-is-option): New functions.
10336 * calc/calc-help.el (calc-full-help): Add `calc-option-help'.
10337 (calc-option-prefix-help): New function.
10339 * calc/calc-misc.el (calc-help): Add "Option" entry.
10341 * calc/calc.el (calc-local-var-list): Add `calc-option-flag'.
10342 (calc-option-flag): New variable.
10343 (calc-do): Set `calc-option-flag to nil.
10344 (calc-set-mode-line): Add "Opt " as appropriate.
10346 2010-04-16 Juri Linkov <juri@jurta.org>
10348 Move scrolling commands from simple.el to window.el
10349 because their primitives are implemented in window.c.
10351 * simple.el (scroll-error-top-bottom)
10352 (scroll-up-command, scroll-down-command, scroll-up-line)
10353 (scroll-down-line, scroll-other-window-down)
10354 (beginning-of-buffer-other-window, end-of-buffer-other-window):
10355 * window.el (scroll-error-top-bottom)
10356 (scroll-up-command, scroll-down-command, scroll-up-line)
10357 (scroll-down-line, scroll-other-window-down)
10358 (beginning-of-buffer-other-window, end-of-buffer-other-window):
10359 Move from simple.el to window.el because their primitives are
10360 implemented in window.c.
10362 2010-04-16 Juri Linkov <juri@jurta.org>
10364 * isearch.el (isearch-lookup-scroll-key): Check both
10365 `isearch-scroll' and `scroll-command' properties.
10366 (scroll-up, scroll-down): Remove `isearch-scroll' property.
10368 * mwheel.el (mwheel-scroll): Remove `isearch-scroll' property.
10370 * simple.el (scroll-up-command, scroll-down-command)
10371 (scroll-up-line, scroll-down-line): Remove `isearch-scroll' property.
10373 2010-04-15 Juri Linkov <juri@jurta.org>
10375 * simple.el (scroll-up-command, scroll-down-command)
10376 (scroll-up-line, scroll-down-line): Put `scroll-command'
10377 property on the these symbols. Remove them from
10378 `scroll-preserve-screen-position-commands'.
10380 * mwheel.el (mwheel-scroll): Put `scroll-command' and
10381 `isearch-scroll' properties on the `mwheel-scroll' symbol.
10382 Remove it from `scroll-preserve-screen-position-commands'.
10384 * isearch.el (isearch-allow-scroll): Doc fix.
10386 2010-04-15 Michael Albinus <michael.albinus@gmx.de>
10388 * net/tramp.el (tramp-error-with-buffer): Don't show the
10389 connection buffer when we are in completion mode.
10390 (tramp-file-name-handler): Catch the error for some operations
10391 when we are in completion mode. This gives the user the chance to
10392 correct the file name in the minibuffer.
10394 2010-04-15 Glenn Morris <rgm@gnu.org>
10396 * progmodes/verilog-mode.el (verilog-forward-sexp): Avoid free variable.
10398 2010-04-15 Juanma Barranquero <lekktu@gmail.com>
10400 Simplify by using `define-derived-mode'.
10401 * info.el (Info-mode):
10402 * calendar/todo-mode.el (todo-mode):
10403 * play/gomoku.el (gomoku-mode): Define with `define-derived-mode'.
10404 (gomoku-mode-map): Move initialization into declaration.
10406 2010-04-14 Michael Albinus <michael.albinus@gmx.de>
10409 * ido.el (ido-file-name-all-completions-1):
10410 * minibuffer.el (minibuffer-completion-help):
10411 * net/tramp.el (tramp-completion-mode-p): Use `non-essential'.
10413 2010-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
10415 * simple.el (non-essential): New var.
10417 Add a new field `location' to bookmarks for non-file bookmarks.
10418 * bookmark.el (bookmark-location): Use the new field, if present.
10419 (bookmark-insert-location): Undo last change, not needed any more.
10420 * man.el (Man-bookmark-make-record):
10421 * woman.el (woman-bookmark-make-record): Add `location' field.
10423 2010-04-14 Juri Linkov <juri@jurta.org>
10425 * simple.el (scroll-error-top-bottom): New defcustom.
10426 (scroll-up-command, scroll-down-command): Use it. Doc fix.
10428 * emulation/pc-select.el (pc-select-override-scroll-error):
10429 Obsolete in favor of `scroll-error-top-bottom'.
10431 2010-04-14 Juri Linkov <juri@jurta.org>
10433 * tutorial.el (tutorial--default-keys): Rebind `C-v' to
10434 `scroll-up-command' and `M-v' to `scroll-down-command'.
10436 * emulation/cua-rect.el (cua--init-rectangles):
10437 * forms.el (forms--change-commands):
10438 * image-mode.el (image-mode-map):
10439 Remap scroll-down-command and scroll-up-command
10440 in addition to scroll-down and scroll-up.
10442 2010-04-14 Juri Linkov <juri@jurta.org>
10444 * mwheel.el (scroll-preserve-screen-position-commands):
10445 Add mwheel-scroll to this list of commands.
10447 * simple.el (scroll-preserve-screen-position-commands):
10448 Add scroll-up-command, scroll-down-command, scroll-up-line,
10449 scroll-down-line to this list of commands.
10451 2010-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
10453 * obsolete/complete.el: Move from lisp/complete.el.
10455 * pcomplete.el (pcomplete-here*): Fix mistaken change (bug#5935).
10457 * emacs-lisp/easy-mmode.el (define-minor-mode): Passing a nil argument
10458 to the minor mode function now turns the mode ON unconditionally.
10460 2010-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
10462 * vc-dir.el (vc-dir-kill-line): New command.
10463 (vc-dir-mode-map): Bind it to C-k.
10465 * bookmark.el (bookmark-insert-location): Handle a nil filename.
10467 * woman.el: Add bookmark declarations to silence the compiler.
10468 (bookmark-prop-get): Use `man-args' rather than `filename' as a first
10469 step to compatibility between man and woman bookmarks.
10470 Adjust for Man-default-bookmark-title renaming.
10471 (woman-bookmark-jump): Adjust accordingly. Don't forget to autoload.
10473 * man.el: Add bookmark declarations to silence the compiler.
10474 (Man-name-local-regexp): Make it match NAME as well.
10475 (Man-getpage-in-background): Return the buffer.
10476 (Man-notify-when-ready): Use `case'.
10477 (man-set-default-bookmark-title): Rename to Man-default-bookmark-title.
10478 Don't hardcode "NAME". Simplify.
10479 (Man-bookmark-make-record): Use Man-arguments rather than buffer-name.
10480 Rename from Man-bookmark-make-record.
10481 (Man-bookmark-jump): Rename from man-bookmark-jump. Simplify now that
10482 we have the actual man-args. Use Man-getpage-in-background rather
10483 than `man' since the arg is already processed. Let bookmark.el do the
10484 window handling. Only wait for the relevant process.
10485 Don't forget to autoload.
10487 * bookmark.el (bookmark-default-file): Use locate-user-emacs-file.
10489 2010-04-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10491 * woman.el (woman-bookmark-make-record, woman-bookmark-jump):
10493 (woman-mode): Setup bookmark support.
10495 * man.el (man-set-default-bookmark-title, man-bookmark-make-record)
10496 (man-bookmark-jump): New functions.
10497 (Man-mode): Setup bookmark support.
10499 2010-04-10 Jari Aalto <jari.aalto@cante.net>
10501 * comint.el (comint-password-prompt-regexp): Use regexp-opt, and
10502 recognize ssh-keygen prompt (Bug#2817).
10504 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
10506 * net/tramp.el (tramp-do-copy-or-rename-file): Add progress reporter.
10508 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
10510 Synchronize with Tramp repository.
10512 * net/tramp.el (tramp-completion-function-alist)
10513 (tramp-file-name-regexp, tramp-chunksize)
10514 (tramp-local-coding-commands, tramp-remote-coding-commands):
10516 (tramp-remote-process-environment): Use `format' instead of `concat'.
10517 (tramp-handle-directory-files-and-attributes)
10518 (tramp-get-remote-path): Use `copy-tree'.
10519 (tramp-handle-file-name-all-completions): Backward/ XEmacs
10520 compatibility: Use `completion-ignore-case' if
10521 `read-file-name-completion-ignore-case' does not exist.
10522 (tramp-do-copy-or-rename-file-directly): Do not use
10523 `tramp-handle-file-remote-p'.
10524 (tramp-do-copy-or-rename-file-out-of-band):
10525 Use `tramp-compat-delete-directory'.
10526 (tramp-do-copy-or-rename-file-out-of-band)
10527 (tramp-compute-multi-hops, tramp-maybe-open-connection):
10528 Use `format-spec-make'.
10529 (tramp-find-foreign-file-name-handler)
10530 (tramp-advice-make-auto-save-file-name)
10531 (tramp-set-auto-save-file-modes): Remove superfluous check for
10532 `stringp'. This is done inside `tramp-tramp-file-p'.
10533 (tramp-debug-outline-regexp): New defconst.
10534 (tramp-get-debug-buffer): Use it.
10535 (tramp-check-for-regexp): Use (forward-line 1).
10536 (tramp-set-auto-save-file-modes): Adapt version check.
10538 * net/tramp-compat.el (tramp-advice-file-expand-wildcards):
10539 Wrap call of `featurep' for 2nd argument.
10540 (tramp-compat-make-temp-file): Simplify fallback implementation.
10541 (tramp-compat-copy-tree): Remove function.
10542 (tramp-compat-delete-directory): Provide implementation for older
10545 * net/tramp-fish.el (tramp-fish-handle-directory-files-and-attributes):
10546 Do not use `tramp-fish-handle-file-attributes.
10548 * net/trampver.el: Update release number.
10550 2010-04-10 Glenn Morris <rgm@gnu.org>
10552 * progmodes/compile.el (compilation-save-buffers-predicate):
10553 Add missing :version tag.
10555 2010-04-09 Sam Steingold <sds@gnu.org>
10557 * progmodes/compile.el (compilation-save-buffers-predicate):
10558 Remove the "autoload" cookie.
10560 * progmodes/bug-reference.el (turn-on-bug-reference-mode)
10561 (turn-on-bug-reference-prog-mode): Remove, `bug-reference-mode'
10562 and `bug-reference-prog-mode' can be used in hooks directly.
10564 2010-04-09 Dan Nicolaescu <dann@ics.uci.edu>
10566 Add --author support to git commit.
10567 * vc-git.el (vc-git-checkin): Pass extra-args to the commit command.
10568 (vc-git-log-edit-mode): New minor mode.
10569 (log-edit-mode, log-edit-extra-flags, log-edit-mode):
10572 2010-04-09 Eric Raymond <esr@snark.thyrsus.com>
10574 * vc-hooks.el, vc-git.el: Improve documentation comments.
10576 2010-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
10578 Fix some of the problems in defsubst* (bug#5728).
10579 * emacs-lisp/cl-macs.el (defsubst*): Don't substitute non-trivial args.
10580 (cl-defsubst-expand): Do the substitutions simultaneously (bug#5728).
10582 2010-04-07 Sam Steingold <sds@gnu.org>
10584 * progmodes/compile.el (compilation-save-buffers-predicate):
10585 New custom variable.
10586 (compile, recompile): Pass it to `save-some-buffers'.
10588 2010-04-07 Jan Djärv <jan.h.d@swipnet.se>
10590 * wid-edit.el (widget-choose): Move cursor to the second line of
10591 the buffer (Bug#5695).
10593 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
10595 Add new VC methods: vc-log-incoming and vc-log-outgoing.
10596 * vc.el (vc-print-log-setup-buttons): New function split out from
10597 vc-print-log-internal.
10598 (vc-log-internal-common): New function, a parametrized version of
10599 vc-print-log-internal.
10600 (vc-print-log-internal): Just call vc-log-internal-common with the
10602 (vc-incoming-outgoing-internal):
10603 (vc-log-incoming, vc-log-outgoing): New functions.
10604 (vc-log-view-type): New permanent local variable.
10606 * vc-hooks.el (vc-menu-map): Bind vc-log-incoming and vc-log-outgoing.
10608 * vc-bzr.el (vc-bzr-log-view-mode): Use vc-log-view-type instead
10609 of the dynamic bound vc-short-log.
10610 (vc-bzr-log-incoming, vc-bzr-log-outgoing): New functions.
10612 * vc-git.el (vc-git-log-outgoing): New function.
10613 (vc-git-log-view-mode): Use vc-log-view-type instead
10614 of the dynamic bound vc-short-log.
10616 * vc-hg.el (vc-hg-log-view-mode): Use vc-log-view-type instead
10617 of the dynamic bound vc-short-log. Highlight the tag.
10618 (vc-hg-log-incoming, vc-hg-log-outgoing): New functions.
10619 (vc-hg-outgoing, vc-hg-incoming, vc-hg-outgoing-mode):
10620 (vc-hg-incoming-mode): Remove.
10621 (vc-hg-extra-menu-map): Do not bind vc-hg-incoming and vc-hg-outgoing.
10623 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
10625 Fix default-directory for vc-root-diff.
10626 * vc.el (vc-root-diff): Bind default-directory to the root
10627 directory for the diff command.
10629 2010-04-07 Michael McNamara <mac@mail.brushroad.com>
10631 * progmodes/verilog-mode.el (verilog-forward-sexp):
10632 (verilog-calc-1): Support "disable fork" and "fork wait" multi
10633 word keywords, suggested by Steve Pearlmutter.
10634 (verilog-pretty-declarations): Support lineup of declarations in
10636 (verilog-skip-backward-comments, verilog-skip-forward-comment-p):
10637 fix bug for /* / comments.
10638 (verilog-backward-syntactic-ws, verilog-forward-syntactic-ws):
10639 Speed up and simplfy as this is never called with a bound.
10640 (verilog-pretty-declarations): Enhance to line up declarations
10641 inside a parameter list, suggested by Alan Morgan.
10642 (verilog-pretty-expr): Tune assignment regular expression match
10643 string for corner cases; also use markers instead of character
10644 number as indent changes the later.
10646 2010-04-07 Wilson Snyder <wsnyder@wsnyder.org>
10648 * progmodes/verilog-mode.el (verilog-type-keywords): Fix pulldown
10649 as missing keyword.
10650 (verilog-read-sub-decls-line): Fix comments in AUTO_TEMPLATE
10651 causing truncation of AUTOWIRE signals. Reported by Bruce Tennant.
10652 (verilog-auto-inst, verilog-auto-inst-port): Add vl_mbits for
10653 AUTO_TEMPLATEs needing multiple array bits. Suggested by Bruce
10655 (verilog-keywords):
10656 (verilog-1800-2005-keywords, verilog-1800-2009-keywords): Add IEEE
10657 1800-2009 keywords, including "global.".
10659 2010-04-06 John Wiegley <jwiegley@gmail.com>
10661 * ido.el (ido-add-virtual-buffers-to-list): Fix duplicated names
10662 appearing in buffer list (if a live buffer name matched a recentf
10663 file basename). Should use uniquify to offer a real solution.
10665 2010-04-06 John Wiegley <jwiegley@gmail.com>
10667 * ido.el (ido-use-virtual-buffers, ido-virtual): Move a ChangeLog
10668 comment to code, and add a :version tag.
10669 (ido-virtual-buffers): Move defvar to fix byte-compiler warning.
10671 2010-04-06 Juanma Barranquero <lekktu@gmail.com>
10673 Enable recentf-mode if using virtual buffers.
10674 * ido.el (recentf-list): Declare for byte-compiler.
10675 (ido-virtual-buffers): Move up to silence byte-compiler. Add docstring.
10676 (ido-make-buffer-list): Simplify.
10677 (ido-add-virtual-buffers-to-list): Simplify. Enable recentf-mode.
10679 2010-04-05 Juri Linkov <juri@jurta.org>
10681 Scrolling commands which scroll a line instead of full screen.
10682 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
10684 * simple.el (scroll-up-line, scroll-down-line): New commands.
10685 Put property isearch-scroll=t on them.
10687 * emulation/ws-mode.el (scroll-down-line, scroll-up-line):
10690 2010-04-05 Juri Linkov <juri@jurta.org>
10692 Scrolling commands which do not signal errors at top/bottom.
10693 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
10695 * simple.el (scroll-up-command, scroll-down-command): New commands.
10696 Put property isearch-scroll=t on them.
10698 * bindings.el (global-map): Rebind [prior] from `scroll-down' to
10699 `scroll-down-command' and [next] from `scroll-up' to
10700 `scroll-up-command'.
10702 * emulation/cua-base.el: Put property CUA=move on
10703 `scroll-up-command' and `scroll-down-command'.
10704 (cua--init-keymaps): Remap `scroll-up-command' to `cua-scroll-up'
10705 and `scroll-down-command' to `cua-scroll-down'.
10707 2010-04-05 Juanma Barranquero <lekktu@gmail.com>
10709 * help.el (describe-mode): Return nil.
10711 2010-04-04 John Wiegley <jwiegley@gmail.com>
10713 * ido.el (ido-use-virtual-buffers): New variable to indicate
10714 whether "virtual buffer" support is enabled for IDO.
10715 (ido-virtual): Face used to indicate virtual buffers in the list.
10716 (ido-buffer-internal): If a buffer is chosen, and no such buffer
10717 exists, but a virtual buffer of that name does (which would be why
10718 it was in the list), recreate the buffer by reopening the file.
10719 (ido-make-buffer-list): If virtual buffers are being used, call
10720 `ido-add-virtual-buffers-to-list' before the make list hook.
10721 (ido-virtual-buffers): New variable which contains a copy of the
10722 current contents of the `recentf-list', albeit pared down for the
10723 sake of speed, and with proper faces applied.
10724 (ido-add-virtual-buffers-to-list): Using the `recentf-list',
10725 create a list of "virtual buffers" to present to the user in
10726 addition to the currently open set. Note that this logic could
10727 get rather slow if that list is too large. With the default
10728 `recentf-max-saved-items' of 200, there is little speed penalty.
10730 2010-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
10732 * font-lock.el: Require CL when compiling.
10733 (font-lock-turn-on-thing-lock): Use `case'.
10735 2010-04-03 Eli Zaretskii <eliz@gnu.org>
10737 * emacs-lisp/authors.el (authors-fixed-entries): Add entry for Eli
10740 2010-04-02 Juri Linkov <juri@jurta.org>
10742 * ehelp.el (electric-help-orig-major-mode):
10743 New buffer-local variable.
10744 (electric-help-mode): Set it to original major-mode. Doc fix.
10745 (with-electric-help): Use `electric-help-orig-major-mode' instead
10746 of (default-value 'major-mode). Doc fix.
10747 http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00069.html
10749 2010-04-02 Sam Steingold <sds@gnu.org>
10751 * vc-hg.el (vc-hg-push, vc-hg-pull): Use `apply' when calling
10752 `vc-hg-command' with a list of flags.
10754 * progmodes/bug-reference.el (bug-reference-bug-regexp):
10755 Also accept "patch" and "RFE".
10756 (bug-reference-fontify): `bug-reference-url-format' can also be a
10757 function to be able to handle the bug kind.
10758 (turn-on-bug-reference-mode, turn-on-bug-reference-prog-mode): Add.
10760 2010-04-02 Jan Djärv <jan.h.d@swipnet.se>
10762 * tmm.el (tmm-get-keymap): Check with symbolp before passing
10763 value to fboundp, it may not be a symbol.
10765 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
10767 * cus-edit.el (custom-buffer-sort-alphabetically): Update :version.
10769 2010-03-31 Juri Linkov <juri@jurta.org>
10771 * simple.el (next-line, previous-line): Re-throw a signal
10772 with `signal' instead of using `ding'.
10773 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01432.html
10775 2010-03-31 Juri Linkov <juri@jurta.org>
10777 * simple.el (keyboard-escape-quit): Raise deselecting the active
10778 region higher than exiting the minibuffer.
10779 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00904.html
10781 2010-03-31 Juri Linkov <juri@jurta.org>
10783 * image.el (image-animated-p): Use `image-metadata' instead of
10784 `image-extension-data'. Get GIF extenstion data from metadata
10785 property `extension-data'.
10787 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
10789 * simple.el (append-to-buffer): Simplify.
10791 2010-03-31 Tomas Abrahamsson <tab@lysator.liu.se>
10793 * textmodes/artist.el (artist-mode): Fix typo in docstring.
10794 Reported by Alex Schröder <kensanata@gmail.com>. (Bug#5807)
10796 2010-03-31 Kenichi Handa <handa@m17n.org>
10798 * language/sinhala.el (composition-function-table): Fix regexp for
10799 the new Unicode specification.
10801 * language/indian.el (devanagari-composable-pattern)
10802 (tamil-composable-pattern, kannada-composable-pattern)
10803 (malayalam-composable-pattern): Adjust for the new Unicode
10805 (bengali-composable-pattern, gurmukhi-composable-pattern)
10806 (gujarati-composable-pattern, oriya-composable-pattern)
10807 (telugu-composable-pattern): New variables to cope with the new
10808 Unicode specification. Use them in composition-function-table.
10810 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
10812 Make tmm-menubar work for the Buffers menu again (bug#5726).
10813 * tmm.el (tmm-prompt): Also handle keymap entries in the form of
10814 vectors rather than cons cells, as used in menu-bar-update-buffers.
10816 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
10818 * progmodes/js.el (js-auto-indent-flag, js-mode-map)
10819 (js-insert-and-indent): Revert 2009-08-15 change, restoring
10820 electric punctuation for "{}();,:" (Bug#5586).
10822 * mail/sendmail.el (mail-default-directory): Doc fix.
10824 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
10826 * mail/sendmail.el (mail-default-directory): Doc fix.
10828 2010-03-31 Eli Zaretskii <eliz@gnu.org>
10830 * subr.el (version-regexp-alist, version-to-list)
10831 (version-list-<, version-list-=, version-list-<=)
10832 (version-list-not-zero, version<, version<=, version=): Doc fix.
10835 2010-02-31 Dan Nicolaescu <dann@ics.uci.edu>
10837 * vc.el (vc-root-diff): Doc fix.
10839 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
10841 * vc.el (vc-print-log, vc-print-root-log): Doc fix.
10843 * simple.el (append-to-buffer): Fix last change.
10845 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
10847 * simple.el (append-to-buffer): Ensure that point is preserved if
10848 BUFFER is the current buffer. Suggested by YAMAMOTO Mitsuharu.
10851 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
10853 * files.el (auto-mode-case-fold): Change default to t.
10855 2010-03-30 Juri Linkov <juri@jurta.org>
10857 * dired-x.el (dired-omit-mode): Doc fix.
10859 2010-03-30 Juri Linkov <juri@jurta.org>
10861 * replace.el (occur-accumulate-lines): Move occur-engine related
10862 functions `occur-accumulate-lines' and `occur-engine-add-prefix'
10863 to be located after `occur-engine'.
10865 2010-03-30 Juri Linkov <juri@jurta.org>
10867 Make occur handle multi-line matches cleanly with context.
10868 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01280.html
10870 * replace.el (occur-accumulate-lines): Add optional arg `pt'.
10871 (occur-engine): Add local variables `ret', `prev-after-lines',
10872 `prev-lines'. Use more arguments for `occur-context-lines'.
10873 Set first elem of its returned list to `data', and the second elem
10874 to `prev-after-lines'. Don't print the separator line.
10875 In the end, print remaining context after-lines.
10876 (occur-context-lines): Add new arguments `begpt', `endpt',
10877 `lines', `prev-lines', `prev-after-lines'. Rewrite to combine
10878 after-lines of the previous match with before-lines of the
10879 current match and not overlap them. Return a list with two
10880 values: the output line and the list of context after-lines.
10882 2010-03-30 Juri Linkov <juri@jurta.org>
10884 * replace.el (occur-accumulate-lines): Fix a bug where the first
10885 context line at the beginning of the buffer was missing.
10887 2010-03-30 Eli Zaretskii <eliz@gnu.org>
10889 * files.el: Make bidi-display-reordering safe variable for boolean
10892 2010-03-29 Phil Hagelberg <phil@evri.com>
10893 Chong Yidong <cyd@stupidchicken.com>
10895 * subr.el: Extend progress reporters to perform "spinning".
10896 (progress-reporter-update, progress-reporter-do-update):
10897 Handle non-numeric value arguments.
10898 (progress-reporter--pulse-characters): New var.
10900 2010-03-28 Chong Yidong <cyd@stupidchicken.com>
10902 * progmodes/compile.el (compilation-start): Fix regexp detection
10903 of initial cd command (Bug#5771).
10905 2010-03-28 Stefan Guath <stefan@automata.se> (tiny change)
10907 * find-dired.el (find-dired): Use read-directory-name (Bug#5777).
10909 2010-03-27 Nick Roberts <nickrob@snap.net.nz>
10911 Restore GDB/MI fuctionality removed by 2009-12-29T07:15:34Z!nickrob@snap.net.nz.
10912 * progmodes/gdb-mi.el: Restore.
10913 * progmodes/gdb-ui.el: Remove.
10914 * progmodes/gud.el: Re-accommodate for gdb-mi.el.
10916 2010-03-25 Glenn Morris <rgm@gnu.org>
10918 * desktop.el (desktop-save-buffer-p): Don't mistakenly include
10919 all dired buffers, even tramp ones. (Bug#5755)
10921 2010-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
10923 Add "union tags" in mpc.el.
10924 * mpc.el: Remove backward compatibility code.
10925 (mpc-browser-tags): Change default.
10926 (mpc--find-memoize-union-tags): New var.
10927 (mpc-cmd-flush, mpc-cmd-special-tag-p): New fun.
10928 (mpc-cmd-find): Handle the case where the playlist does not exist.
10930 (mpc-cmd-list): Use mpc-cmd-special-tag-p. Handle union-tags.
10931 (mpc-cmd-add): Use mpc-cmd-flush.
10932 (mpc-tagbrowser-tag-name): New fun.
10933 (mpc-tagbrowser-buf): Use it.
10934 (mpc-songs-refresh): Use cond. Move to point-min as a fallback.
10936 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
10939 * progmodes/make-mode.el (makefile-bsdmake-rule-action-regex):
10940 Use replace-regexp-in-string.
10941 (makefile-mode-abbrev-table): Merge defvar and define-abbrev-table.
10942 (makefile-imake-mode-syntax-table): Move init into defvar.
10943 (makefile-mode): Use define-derived-mode.
10945 * progmodes/make-mode.el (makefile-rule-action-regex): Backtrack less.
10946 (makefile-make-font-lock-keywords): Adjust rule since submatch 1 may
10947 not be present any more.
10949 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
10951 * faces.el (set-face-attribute): Fix typo in docstring.
10952 (face-valid-attribute-values): Reflow docstring.
10954 2010-03-24 Glenn Morris <rgm@gnu.org>
10956 * textmodes/flyspell.el (sgml-lexical-context): Autoload it (Bug#5752).
10958 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
10960 * indent.el (indent-for-tab-command): Doc fix.
10962 2010-03-24 Alan Mackenzie <acm@muc.de>
10964 * progmodes/cc-engine.el (c-remove-stale-state-cache):
10965 Fix off-by-one error. Fixes bug #5747.
10967 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
10969 * image-dired.el (image-dired-display-thumbs): Fix typo in docstring.
10970 (image-dired-read-comment): Doc fix.
10972 * json.el (json-object-type, json-array-type, json-key-type)
10973 (json-false, json-null, json-read-number):
10974 * minibuffer.el (completion-in-region-functions):
10975 * calendar/cal-tex.el (cal-tex-daily-end, cal-tex-number-weeks)
10976 (cal-tex-cursor-week):
10977 * emacs-lisp/trace.el (trace-function):
10978 * eshell/em-basic.el (eshell/printnl):
10979 * eshell/em-dirs.el (eshell-last-dir-ring, eshell-parse-drive-letter)
10980 (eshell-read-last-dir-ring, eshell-write-last-dir-ring):
10981 * obsolete/levents.el (allocate-event, event-key, event-object)
10982 (event-point, event-process, event-timestamp, event-to-character)
10983 (event-window, event-x, event-x-pixel, event-y, event-y-pixel):
10984 * textmodes/reftex-vars.el (reftex-index-macros-builtin)
10985 (reftex-section-levels, reftex-auto-recenter-toc, reftex-toc-mode-hook)
10986 (reftex-cite-punctuation, reftex-search-unrecursed-path-first)
10987 (reftex-highlight-selection): Fix typos in docstrings.
10989 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
10991 * minibuffer.el (completion-in-region-functions): Fix docstring typos.
10993 2010-03-24 Glenn Morris <rgm@gnu.org>
10995 * mail/rmail.el (rmail-highlight-face): Restore option deleted
10996 2008-02-13 without comment; mark it obsolete.
10997 (rmail-highlight-headers): Use rmail-highlight-face once more.
10999 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
11001 * woman.el (woman2-process-escapes): Only consume the newline if
11002 the filler character is on a line by itself (Bug#5729).
11004 2010-03-24 Kenichi Handa <handa@m17n.org>
11006 * language/indian.el (devanagari-composable-pattern): Add more
11009 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
11011 * net/trampver.el: Update release number.
11013 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
11015 * net/tramp.el (tramp-find-executable):
11016 Use `tramp-get-connection-buffer'. Make the regexp for checking
11017 output of "wc -l" more robust.
11018 (tramp-find-shell): Use another shell but /bin/sh on OpenSolaris.
11019 (tramp-open-connection-setup-interactive-shell): Remove workaround
11020 for OpenSolaris bug, it is not needed anymore.
11022 2010-03-24 Glenn Morris <rgm@gnu.org>
11024 * emacs-lisp/cl-macs.el (defsubst*): Add autoload cookie. (Bug#4427)
11026 2010-03-24 Wilson Snyder <wsnyder@wsnyder.org>
11028 * files.el (auto-mode-alist): Accept more verilog file patterns.
11030 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
11032 * vc-dir.el (vc-dir-headers): Abbreviate the working dir.
11034 2010-03-24 Glenn Morris <rgm@gnu.org>
11036 * vc-bzr.el (vc-bzr-log-edit-mode): Add --fixes support to
11037 log-edit-before-checkin-process.
11039 * vc.el (vc-modify-change-comment): Pass MODE to vc-start-logentry.
11041 * vc.el, vc-bzr.el, vc-hg.el (log-edit-mode): Declare.
11043 * vc-dispatcher.el (vc-start-logentry): Doc fix.
11044 (log-view-process-buffer, log-edit-extra-flags): Declare.
11046 * log-edit.el (log-edit-before-checkin-process): Doc fix.
11048 2010-03-23 Sam Steingold <sds@gnu.org>
11050 Fix bug#5620: recalculate all markers on compilation buffer
11051 modifications, not on file modifications.
11052 * progmodes/compile.el (compilation-buffer-modtime): New buffer-local
11053 variable: the buffer modification time, for buffers not associated with
11055 (compilation-mode): Create it.
11056 (compilation-filter): Update it.
11057 (compilation-next-error-function): Use it instead of
11058 `visited-file-modtime' for timestamp.
11060 2010-03-23 Juri Linkov <juri@jurta.org>
11062 Implement Occur multi-line matches.
11063 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01044.html
11065 * replace.el (occur): Doc fix.
11066 (occur-engine): Set `begpt' to the beginning of the first line.
11067 Set `endpt' to the end of the last match line. At first, count
11068 line numbers between `origpt' and `begpt'. Split out code from
11069 `out-line' variable to new let-bindings `match-prefix' and
11070 `match-str'. In `out-line' add non-numeric prefix to all
11071 non-first lines of multi-line matches. Finally, count lines
11072 between `begpt' and `endpt' and add to `lines'.
11074 2010-03-23 Juri Linkov <juri@jurta.org>
11076 * replace.el (occur-accumulate-lines, occur-engine):
11077 Use `occur-engine-line' instead of duplicate code.
11078 (occur-engine-line): New function created from duplicate code
11079 in `occur-accumulate-lines' and `occur-engine'.
11081 * replace.el (occur-engine-line): Add optional arg `keep-props'.
11082 (occur-accumulate-lines, occur-engine): Add arg `keep-props'.
11084 2010-03-23 Juri Linkov <juri@jurta.org>
11086 * finder.el: Remove TODO tasks.
11088 * info.el (Info-finder-find-node): Add node "all"
11089 with all package info. Handle a list of multiple keywords
11090 separated by comma.
11091 (info-finder): In interactive use with a prefix argument,
11092 use `completing-read-multiple' to read a list of keywords
11093 separated by comma.
11095 2010-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
11097 Add a new completion style `substring'.
11098 * minibuffer.el (completion-basic--pattern): New function.
11099 (completion-basic-try-completion, completion-basic-all-completions):
11101 (completion-substring--all-completions)
11102 (completion-substring-try-completion)
11103 (completion-substring-all-completions): New functions.
11104 (completion-styles-alist): New style `substring'.
11106 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
11108 Get rid of .elc files after removal of the corresponding .el.
11109 * Makefile.in (compile-clean): New target.
11110 (compile-main): Use it.
11112 2010-03-22 Jan Djärv <jan.h.d@swipnet.se>
11114 * Makefile.in (compile-main): cd to $(lisp) in a sub-shell, so we
11115 don't do make there. When compiling with separate object dir, there
11116 is no Makefile there.
11118 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
11120 Get rid of the ELCFILES abomination, again.
11121 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
11122 (all, compile): Don't call compile-last.
11123 (compile-main): Build the "elcfiles" list dynamically.
11124 (compile-targets): New (internal) target.
11126 2010-03-21 Andreas Schwab <schwab@linux-m68k.org>
11128 * Makefile.in (top_srcdir): Define.
11129 (abs_top_builddir): Define.
11130 (srcdir): Don't append `/..'.
11131 (EMACS): Use ${abs_top_builddir}.
11132 (all, compile, compile-always, compile-last): Don't set emacswd.
11133 (update-subdirs, update-authors): Use $(top_srcdir) instead of
11135 (lisp): Use $(srcdir) instead of @srcdir@.
11137 2010-03-21 Juri Linkov <juri@jurta.org>
11139 Fix message of multi-line occur regexps and multi-buffer header lines.
11140 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00457.html
11142 * replace.el (occur-1): Don't display regexp if it is longer
11143 than window-width. Use `query-replace-descr' to display regexp.
11144 (occur-engine): Don't display regexp in the buffer header for
11145 multi-buffer occur. Display a separate header line with total
11146 match count and regexp for multi-buffer occur.
11147 Use `query-replace-descr' to display regexp.
11149 2010-03-20 Teodor Zlatanov <tzz@lifelogs.com>
11151 * net/secrets.el: Fix parenthesis.
11152 (secrets-enabled): Fix parenthesis.
11154 2010-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
11156 Use more relative file and directory names.
11157 * Makefile.in (EMACS): Arrange for it to work when we chdir.
11158 (setwins, setwins_almost, setwins_for_subdirs):
11159 Don't `cd'; output relative names.
11160 (all, compile, compile-always, compile-last): Set emacswd.
11161 (custom-deps, finder-data, autoloads, update-subdirs, compile-last):
11162 Just cd to the lisp source dir so we can use relative file names.
11164 * outline.el (hide-sublevels): Unfix the paren non-typo! (bug#5738).
11166 2010-03-20 Glenn Morris <rgm@gnu.org>
11168 * textmodes/rst.el: Use faces for font-lock customization, and make the
11169 old -face variables obsolete.
11170 (rst-block, rst-external, rst-definition, rst-directive, rst-comment)
11171 (rst-emphasis1, rst-emphasis2, rst-literal, rst-reference): New faces.
11172 (rst-block-face, rst-external-face, rst-definition-face)
11173 (rst-directive-face, rst-comment-face, rst-emphasis1-face)
11174 (rst-emphasis2-face, rst-literal-face, rst-reference-face):
11176 (rst-font-lock-keywords-function): Update for above changes.
11178 2010-03-20 Juri Linkov <juri@jurta.org>
11181 * obsolete/s-region.el: Move to obsolete.
11183 2010-03-19 Juanma Barranquero <lekktu@gmail.com>
11185 * vc-dispatcher.el (vc-do-command): Remove reference to `vc-path'.
11187 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
11189 * vc-hooks.el (vc-path): Remove variable and obsolete declaration.
11191 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
11193 Add special markup processing for commit logs.
11194 * log-edit.el (log-edit-extra-flags): New variable.
11195 (log-edit): Add new argument MODE. Use that mode when non-nil
11196 instead of the log-view-mode.
11197 (log-view-process-buffer): New function.
11199 * vc.el: Document that the checkin method takes optional
11200 arguments. Document new backend specific method: log-view-mode.
11201 (vc-default-log-edit-mode): New function.
11202 (vc-checkin): Use a backend specific log-view-mode.
11203 Pass extra arguments to the checkin method.
11204 (vc-modify-change-comment): Pass a dummy extra argument.
11206 * vc-dispatcher.el (vc-log-edit): Add a mode argument, pass it to
11208 (vc-start-logentry): Add a mode argument, pass it to vc-log-edit.
11209 (vc-finish-logentry): Process the log buffer before passing it
11210 down. Pass log-edit-extra-flags.
11212 * vc-bzr.el (vc-bzr-checkin): Pass extra arguments to the commit
11214 (log-edit-extra-flags, log-edit-before-checkin-process):
11217 * vc-hg.el (vc-hg-checkin): Pass extra arguments to the commit
11219 (log-edit-extra-flags, log-edit-before-checkin-process):
11221 (vc-hg-log-edit-mode): New derived mode.
11223 * vc-arch.el (vc-arch-checkin):
11224 * vc-cvs.el (vc-cvs-checkin):
11225 * vc-git.el (vc-git-checkin):
11226 * vc-mtn.el (vc-mtn-checkin):
11227 * vc-rcs.el (vc-rcs-checkin):
11228 * vc-sccs.el (vc-sccs-checkin):
11229 * vc-svn.el (vc-svn-checkin): Add an optional ignored argument.
11231 2010-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
11233 * outline.el (hide-sublevels): Don't hide trailing newline (and fix
11236 2010-03-19 Glenn Morris <rgm@gnu.org>
11238 * password-cache.el (password-cache, password-cache-expiry): Autoload.
11240 2010-03-18 Glenn Morris <rgm@gnu.org>
11242 * emacs-lisp/autoload.el (autoload-rubric): Doc fix.
11244 * replace.el (query-replace-history): Give it a doc string.
11245 (map-query-replace-regexp): Use query-replace-from-history-variable
11246 and query-replace-to-history-variable.
11248 * mail/hashcash.el (declare-function): Remove duplicate definition.
11250 * mail/emacsbug.el (report-emacs-bug-pretest-address):
11251 Make it an obsolete alias for report-emacs-bug-address.
11252 (message-strip-special-text-properties): Declare.
11253 (report-emacs-bug): Remove test for a pretest bug address.
11254 Combine message-mode-specific code.
11256 * mail/supercite.el: Don't require sendmail.
11257 (mh-in-header-p): Declare rather than using with-no-warnings.
11258 (sc-no-blank-line-or-header): Use rfc822-goto-eoh rather than
11259 mail-header-end. Don't bind mysterious variable `kill-lines-magic'.
11261 * calendar/cal-french.el: Convert to utf-8.
11263 * files.el (interpreter-mode-alist): Use emacs-lisp-mode for
11266 2010-03-16 Michael Albinus <michael.albinus@gmx.de>
11268 * net/secrets.el (secrets-enabled): New variable. Use it instead
11271 2010-03-15 Michael Albinus <michael.albinus@gmx.de>
11273 * net/secrets.el (top): Register the D-Bus signals only when the
11274 service "org.freedesktop.secrets" can be pinged.
11275 Provide subfeature `enabled'.
11277 2010-03-14 Juri Linkov <juri@jurta.org>
11279 Add finder unknown keywords.
11281 * finder.el (finder-unknown-keywords): New function.
11283 * info.el (Info-finder-find-node): Use `finder-unknown-keywords'
11284 to create a Finder node with unknown keywords.
11286 2010-03-14 Juri Linkov <juri@jurta.org>
11288 * finder.el (finder-compile-keywords): Replace `princ' with
11289 `prin1' on a list of symbols interned from keyword strings.
11291 * emacs-lisp/lisp-mnt.el (lm-keywords-list): If `keywords' contains
11292 a comma, then split keywords using a comma and optional whitespace.
11293 Otherwise, split by whitespace.
11301 * progmodes/mixal-mode.el: Fix keywords.
11303 2010-03-13 Michael Albinus <michael.albinus@gmx.de>
11305 * Makefile.in (ELCFILES): Add net/secrets.elc.
11307 * net/secrets.el: New file.
11309 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
11311 * facemenu.el (list-colors-display, list-colors-print): New arg
11312 callback. Use it to allow selecting colors.
11314 * wid-edit.el (widget-image-insert): Insert image prop even if the
11315 current display is non-graphic.
11316 (widget-field-value-set): New fun.
11317 (editable-field): Use it.
11318 (widget-field-value-get): Clean up unused var.
11319 (widget-color-value-create, widget-color--choose-action):
11320 New funs. Allow using list-colors-display to choose color.
11322 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
11324 * cus-edit.el: Resort topmost custom groups.
11325 (custom-buffer-sort-alphabetically): Default to t.
11326 (customize-apropos): Use apropos-parse-pattern.
11327 (custom-search-field): New var.
11328 (custom-buffer-create-internal): Add custom-apropos search field.
11329 (custom-add-parent-links): Don't display parent doc.
11330 (custom-group-value-create): Don't sort top-level custom group.
11331 (custom-magic-value-create): Show visibility button before option name.
11333 (custom-variable-state): New fun, from custom-variable-state-set.
11334 (custom-variable-state-set): Use it.
11335 (custom-group-value-create): Hide options with standard values
11336 using the :hidden-states property. Use progress reporter.
11338 (custom-show): Simplify.
11339 (custom-visibility): Disable images by default.
11340 (custom-variable): New property :hidden-states.
11341 (custom-variable-value-create): Enable images for
11342 custom-visibility widgets. Use :hidden-states property to
11343 determine initial visibility.
11345 * wid-edit.el (widget-image-find): Give images center ascent.
11346 (visibility): Add :on-image and :off-image properties.
11347 (widget-visibility-value-create): Use them.
11349 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
11351 * cus-edit.el (processes): Remove from development group.
11352 (oop, hypermedia): Delete group.
11353 (comm): Promote to top-level group.
11355 * net/browse-url.el (browse-url):
11356 * net/xesam.el (xesam):
11357 * net/tramp.el (tramp):
11358 * net/goto-addr.el (goto-address):
11359 * net/ange-ftp.el (ange-ftp): Put in comm group.
11361 * view.el (view): Remove from editing group.
11363 * uniquify.el (uniquify): Put in files group.
11365 * net/browse-url.el (browse-url):
11366 * ps-print.el (postscript): Put in external group.
11368 * cus-edit.el (outlines):
11369 * textmodes/text-mode.el (text-mode-hook):
11370 * textmodes/table.el (table):
11371 * textmodes/picture.el (picture):
11372 * outline.el (outlines): Put in wp group.
11374 * nxml/nxml-mode.el (nxml): Remove from wp group.
11376 * net/tramp-imap.el (tramp-imap): Put in tramp group.
11378 * mail/metamail.el (metamail): Remove from hypermedia group.
11380 * cus-edit.el (abbrev):
11381 * whitespace.el (whitespace):
11382 * vcursor.el (vcursor):
11383 * reveal.el (reveal):
11384 * hl-line.el (hl-line): Put in convenience group.
11386 * epg-config.el (epg): Put in data group.
11388 * emulation/pc-select.el (pc-select): Put in emulations group.
11390 * calculator.el (calculator): Put in applications group.
11392 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
11394 Add .dir-locals.el support for file-less buffers.
11395 * files.el (hack-local-variables): Split out code to apply local
11396 variable settings ...
11397 (hack-local-variables-apply): ... here. New function.
11398 (hack-dir-local-variables): Use the default directory for when the
11399 buffer does not have an associated file.
11400 (hack-dir-local-variables-non-file-buffer): New function.
11401 * diff-mode.el (diff-mode):
11402 * vc-annotate.el (vc-annotate-mode):
11403 * vc-dir.el (vc-dir-mode):
11404 * log-edit.el (log-edit-mode):
11405 * log-view.el (log-view-mode): Call hack-dir-local-variables-non-file-buffer.
11407 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
11409 Add support for shelving snapshots and for showing shelves.
11410 * vc-bzr.el (vc-bzr-shelve-show, vc-bzr-shelve-show-at-point)
11411 (vc-bzr-shelve-apply-and-keep-at-point, vc-bzr-shelve-snapshot):
11413 (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
11414 (vc-bzr-extra-menu-map): Map them.
11416 2010-03-11 Glenn Morris <rgm@gnu.org>
11418 * cus-edit.el (customize-changed-options-previous-release):
11421 * image.el (image-animate-max-time): Fix :version tag.
11423 2010-03-10 Chong Yidong <cyd@stupidchicken.com>
11427 2010-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
11429 * vc-git.el (vc-git-revision-table): Include remote branches.
11431 2010-03-10 Kim F. Storm <storm@cua.dk>
11433 Animated image API.
11434 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00211.html
11436 * image.el (image-animate-max-time): New defcustom.
11437 (image-animated-types): New defconst.
11438 (create-animated-image, image-animate-timer)
11439 (image-animate-start, image-animate-stop, image-animate-timeout)
11440 (image-animated-p): New functions.
11442 * image-mode.el (image-toggle-display-image):
11443 Replace `create-image' with `create-animated-image'.
11445 2010-03-09 Miles Bader <miles@gnu.org>
11447 * vc-git.el (vc-git-print-log): Use "tformat:" for shortlog,
11448 instead of "format:"; this ensures that the output is
11449 newline-terminated.
11451 2010-03-08 Chong Yidong <cyd@stupidchicken.com>
11453 * mail/rfc822.el (rfc822-addresses): Use nested catches to ensure
11454 that all errors are caught, and that the return value is always a
11457 2010-03-08 Kenichi Handa <handa@m17n.org>
11459 * language/misc-lang.el (windows-1256): New coding system.
11460 (cp1256): New alias of windows-1256 (bug#5690).
11462 2010-03-07 Andreas Schwab <schwab@linux-m68k.org>
11464 * mail/rfc822.el (rfc822-addresses): Move catch clause down around
11465 call to rfc822-bad-address. (Bug#5692)
11467 2010-03-07 Štěpán Němec <stepnem@gmail.com> (tiny change)
11469 * vc-git.el (vc-git-annotate-extract-revision-at-line):
11470 Use vc-git-root as default directory for revision path (Bug#5657).
11472 2010-03-06 Chong Yidong <cyd@stupidchicken.com>
11474 * calculator.el (calculator): Don't bind split-window-keep-point
11477 2010-03-06 Stefan Monnier <monnier@iro.umontreal.ca>
11479 * vc-git.el: Re-flow to fit into 80 columns.
11480 (vc-git-after-dir-status-stage, vc-git-dir-status-goto-stage):
11481 Remove spurious `quote' element in each case alternative.
11482 (vc-git-show-log-entry): Use prog1.
11483 (vc-git-after-dir-status-stage): Remove unused var `remaining'.
11485 2010-03-05 Stefan Monnier <monnier@iro.umontreal.ca>
11487 * man.el (Man-files-regexp): Tighten up the regexp (bug#5686).
11489 2010-03-03 Chong Yidong <cyd@stupidchicken.com>
11491 * macros.el (insert-kbd-macro): Look up keyboard macro using the
11492 definition, not the name (Bug#5481).
11494 2010-03-03 Štěpán Němec <stepnem@gmail.com> (tiny change)
11496 * subr.el (momentary-string-display): Don't overwrite the MESSAGE
11497 argument with a local variable. (Bug#5670)
11499 2010-03-02 Juri Linkov <juri@jurta.org>
11501 * info.el (Info-index-next): Decrement line number by 2. (Bug#5652)
11503 2010-03-02 Michael Albinus <michael.albinus@gmx.de>
11505 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Fix an
11506 error when FILENAME and NEWNAME are existing remote directories.
11508 * net/tramp-compat.el (tramp-compat-make-temp-file): Add optional
11509 parameter DIR-FLAG.
11511 2010-03-02 Glenn Morris <rgm@gnu.org>
11513 * calendar/cal-hebrew.el (holiday-hebrew-passover): Fix date
11514 of Yom HaAtzma'ut when it falls on a Monday (rule changed in 2004).
11516 2010-03-01 Kenichi Handa <handa@m17n.org>
11518 * language/burmese.el (burmese-composable-pattern): Rename from
11519 myanmar-composable-pattern.
11521 * international/characters.el (script-list):
11522 * international/fontset.el (script-representative-chars):
11523 Change myanmar to burmese.
11524 (otf-script-alist): Likewise.
11525 (setup-default-fontset): Likewise. Re-fix :otf spec.
11527 2010-02-28 Katsumi Yamaoka <yamaoka@jpl.org>
11529 * menu-bar.el (menu-bar-manuals-menu): Fix typo.
11531 2010-02-28 Jan Djärv <jan.h.d@swipnet.se>
11533 * scroll-bar.el (scroll-bar-drag-1): Add save-excursion, bug #5654.
11535 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
11537 * net/tramp.el (tramp-handle-write-region): START can be a string.
11538 Take care in the checks. Reported by Dan Davison
11539 <davison@stats.ox.ac.uk>.
11541 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
11543 * net/dbus.el (dbus-introspect, dbus-get-property)
11544 (dbus-set-property, dbus-get-all-properties):
11545 Use `dbus-call-method' when noninteractive. (Bug#5645)
11547 2010-02-28 Chong Yidong <cyd@stupidchicken.com>
11549 * textmodes/reftex-toc.el (reftex-toc-promote-prepare):
11550 * emacs-lisp/elint.el (elint-add-required-env):
11551 * calendar/icalendar.el (icalendar--add-diary-entry):
11552 * calc/calcalg2.el (math-tracing-integral):
11553 * files.el (recover-session-finish): Use with-current-buffer
11554 instead of save-excursion.
11556 2010-02-27 Stefan Monnier <monnier@iro.umontreal.ca>
11558 Fix in-buffer completion when after-change-functions modify the buffer.
11559 * minibuffer.el (completion--replace): New function.
11560 (completion--do-completion): Use it and use relative movement.
11562 2010-02-27 Chong Yidong <cyd@stupidchicken.com>
11564 * international/fontset.el (setup-default-fontset): Fix :otf spec.
11566 2010-02-27 Jeremy Whitlock <jcscoobyrs@gmail.com> (tiny change)
11568 * progmodes/python.el (python-pdbtrack-stack-entry-regexp):
11569 Allow the characters _<> in the stack entry (Bug#5653).
11571 2010-02-26 Kenichi Handa <handa@m17n.org>
11573 * language/burmese.el: Fix entries in composition-function-table.
11574 (myanmar-composable-pattern): New variable.
11576 * international/fontset.el (setup-default-fontset): Add an entry
11579 * international/characters.el (script-list): Add Myanmar
11582 2010-02-26 Glenn Morris <rgm@gnu.org>
11584 * custom.el (custom-initialize-delay): Doc fix.
11586 * mail/sendmail.el (send-mail-function): Autoload the call
11587 to custom-initialize-delay, not otherwise preserved in loaddefs.el.
11589 2010-02-24 Chong Yidong <cyd@stupidchicken.com>
11591 * files.el (hack-local-variables-filter): For eval forms, also
11592 check safe-local-variable-p (Bug#5636).
11594 2010-02-22 Michael Albinus <michael.albinus@gmx.de>
11596 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Protect
11597 setting the modes by `ignore-errors'. It might fail, for example
11598 if the file is not owned by the user but the group.
11599 (tramp-handle-write-region): Ensure, that `tmpfile' is always readable.
11601 2010-02-21 Chong Yidong <cyd@stupidchicken.com>
11603 * files.el (directory-listing-before-filename-regexp):
11604 Use stricter matching for iso-style dates, to avoid false matches with
11605 date-like filenames (Bug#5597).
11607 * htmlfontify.el (htmlfontify): Doc fix.
11609 * eshell/eshell.el (eshell): Doc fix.
11611 * startup.el (fancy-about-screen): In mode-line, apply
11612 mode-line-buffer-id face only to the buffer name (Bug#5613).
11614 2010-02-20 Kevin Ryde <user42@zip.com.au>
11616 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11617 In `watcom' anchor regexp to start of line, to avoid slowness
11620 2010-02-20 Eli Zaretskii <eliz@gnu.org>
11622 * subr.el (remove-yank-excluded-properties): Explain in a comment
11623 why `category' property is removed.
11625 2010-02-19 Chong Yidong <cyd@stupidchicken.com>
11627 * isearch.el (isearch-update-post-hook, isearch-update):
11628 Revert 2010-02-17 change.
11630 2010-02-19 Ulf Jasper <ulf.jasper@web.de>
11632 * calendar/icalendar.el (icalendar--convert-ordinary-to-ical)
11633 (icalendar--convert-weekly-to-ical)
11634 (icalendar--convert-yearly-to-ical)
11635 (icalendar--convert-block-to-ical)
11636 (icalendar--convert-cyclic-to-ical)
11637 (icalendar--convert-anniversary-to-ical): Take care of time
11638 specifications where hour has 1-digit only (Bug#5549).
11640 2010-02-19 Nick Roberts <nickrob@snap.net.nz>
11642 * progmodes/gdb-ui.el (gdb-assembler-handler): Accommodate change
11643 of disassemble output in GDB 7.1.
11645 2010-02-19 Glenn Morris <rgm@gnu.org>
11647 * progmodes/f90.el (f90-electric-insert): Give it a delete-selection
11648 property. (Bug#5593)
11650 2010-02-18 Sam Steingold <sds@gnu.org>
11652 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
11654 2010-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
11656 Use abbreviated file names in bookmarks (bug#5591).
11657 * bookmark.el (bookmark-maybe-load-default-file): Remove redundant
11658 calls to expand-file-name.
11659 (bookmark-relocate): Use abbreviated file names in bookmarks.
11660 (bookmark-load): Use abbreviated file names in messages.
11662 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
11664 * net/tramp.el (tramp-handle-directory-files): When FULL, do not
11665 expand "." and "..". Reported by Thierry Volpiatto
11666 <thierry.volpiatto@gmail.com>.
11668 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
11670 * net/tramp.el (tramp-handle-insert-file-contents): Set always the
11671 permissions of the temporary file to "0600". In case the remote
11672 file has no read permissions for the owner, there might be
11673 problems otherwise. Reported by Ole Laursen <olau@iola.dk>.
11675 22010-02-18 Glenn Morris <rgm@gnu.org>
11677 * emacs-lisp/authors.el (authors-renamed-files-alist):
11678 Add entries for INSTALL.CVS.
11680 2010-02-17 Mark A. Hershberger <mah@everybody.org>
11682 * vc-bzr.el: Fix typo in Known Bugs section.
11684 * isearch.el (isearch-update-post-hook): New hook.
11685 (isearch-update): Use the new hook.
11687 2010-02-16 Michael Albinus <michael.albinus@gmx.de>
11689 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
11690 Fix errors in copying directories.
11691 (tramp-handle-add-name-to-file, tramp-handle-copy-directory)
11692 (tramp-do-copy-or-rename-file, tramp-handle-delete-directory)
11693 (tramp-handle-delete-file)
11694 (tramp-handle-dired-recursive-delete-directory)
11695 (tramp-handle-write-region): Flush also the cache for the upper
11698 2010-02-16 Chong Yidong <cyd@stupidchicken.com>
11700 * simple.el (save-interprogram-paste-before-kill): Doc fix.
11702 * cus-edit.el (hardware): Doc fix.
11704 * man.el (man): Add to external custom group.
11706 * delim-col.el (columns): Move to wp custom group.
11708 * doc-view.el (doc-view): Add to data custom group.
11710 * nxml/nxml-mode.el (nxml-faces): Remove from font-lock-faces group.
11712 * textmodes/flyspell.el (flyspell-word): Obey the offset specified
11713 by ispell-parse-output (Bug#5575).
11715 2010-02-16 Kenichi Handa <handa@m17n.org>
11717 * international/ja-dic-cnv.el (iso-2022-7bit-short): Delete it.
11718 (skkdic-convert-okuri-ari): Ignore lines starting with '>'.
11719 (skkdic-convert): Use `euc-japan' coding system for writing.
11721 2010-02-16 Glenn Morris <rgm@gnu.org>
11723 * textmodes/tex-mode.el (tex-bibtex-file): Expand the result of
11724 tex-main-file before using it. (Bug#5562)
11726 2010-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
11728 * emacs-lisp/advice.el (ad-compile-function): Suppress byte-compiler
11729 warnings, since it is annoying for the user to see them each time he
11732 2010-02-15 Michael Albinus <michael.albinus@gmx.de>
11734 * net/tramp.el (tramp-process-actions, tramp-read-passwd):
11735 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection): Use VEC
11736 instead of PROC for caching "first-password-request". Otherwise,
11737 new processes would not profit from passwords already entered.
11739 * net/tramp-cache.el (tramp-dump-connection-properties):
11740 Don't save "first-password-request" property.
11742 2010-02-14 Juanma Barranquero <lekktu@gmail.com>
11744 * outline.el (outline-head-from-level):
11745 * simple.el (with-wrapper-hook):
11746 * emacs-lisp/elint.el (elint-extra-errors, elint-current-buffer)
11747 (elint-defun, elint-buffer-env, elint-top-form-logged)
11748 (elint-unbound-variable):
11749 * textmodes/reftex-toc.el (reftex-toc-newhead-from-alist):
11750 Fix typos in docstrings.
11752 2010-02-14 Michael Albinus <michael.albinus@gmx.de>
11754 * files.el (insert-directory): When WILDCARD-REGEXP and
11755 FULL-DIRECTORY-P are nil, insert the file entry instead of the
11756 whole directory. (Bug#5551)
11758 * net/ange-ftp.el (ange-ftp-insert-directory): Insert " " for
11759 dired's alignment sanity. (Bug#5516)
11761 2010-02-14 Juri Linkov <juri@jurta.org>
11763 * man.el (Man-fontify-manpage, Man-cleanup-manpage):
11764 Remove remaining ^H with their preceding chars. (Bug#5566)
11766 2010-02-13 Glenn Morris <rgm@gnu.org>
11768 * simple.el (transpose-subr): Give it a doc-string.
11770 * textmodes/paragraphs.el (transpose-paragraphs, transpose-sentences):
11773 2010-02-12 Juri Linkov <juri@jurta.org>
11775 * arc-mode.el (archive-unique-fname): Make directories for nested
11776 archives. (Bug#5540)
11778 2010-02-12 Juri Linkov <juri@jurta.org>
11780 * ffap.el (dired-at-point): Fix docstring. (Bug#5565)
11782 2010-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
11784 * subr.el (copy-overlay): Handle deleted overlays.
11786 * man.el (Man-completion-table): Don't signal an error if we can't run
11787 manual-program (bug#4056).
11789 2010-02-10 Juanma Barranquero <lekktu@gmail.com>
11791 * textmodes/artist.el (artist-mt): Fix typos in docstring.
11793 2010-02-10 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11795 * info.el (Info-bookmark-jump): Simplify.
11797 * bookmark.el (bookmark-handle-bookmark): Catch the right error.
11798 (bookmark-default-handler): Accept new bookmark field `buffer'.
11800 2010-02-10 Chong Yidong <cyd@stupidchicken.com>
11802 * iswitchb.el (iswitchb-completions): Revert last change.
11804 2010-02-10 Michael Albinus <michael.albinus@gmx.de>
11806 * ls-lisp.el (ls-lisp-insert-directory): When WILDCARD-REGEXP and
11807 FULL-DIRECTORY-P are nil, and FILE is absolute, expand it.
11808 This prevents file names like "~/" being listed literally.
11810 2010-02-10 Dan Nicolaescu <dann@ics.uci.edu>
11812 * term/xterm.el (xterm-maybe-set-dark-background-mode):
11813 Remove dead code. (Bug#5546)
11815 2010-02-09 Chong Yidong <cyd@stupidchicken.com>
11817 * eshell/em-ls.el (eshell-ls-applicable): Frob file attributes
11818 correctly (Bug#5548).
11820 2010-02-08 Jose E. Marchesi <jemarch@gnu.org>
11822 * progmodes/ada-mode.el (ada-in-numeric-literal-p): New function.
11823 (ada-adjust-case): Don't adjust case in hexadecimal number literals.
11825 2010-02-08 Kenichi Handa <handa@m17n.org>
11827 * international/mule-util.el (with-coding-priority): Add autoload
11828 cookie for putting `lisp-indent-function'.
11830 2010-02-07 Glenn Morris <rgm@gnu.org>
11832 * progmodes/f90.el (f90-font-lock-keywords-1, f90-font-lock-keywords-2):
11833 Move F2003 named interfaces from keywords-2 to keywords-1, and
11834 use function-name-face rather than constant-face.
11835 Simplify "abstract interface" regexp.
11837 2010-02-07 Chong Yidong <cyd@stupidchicken.com>
11839 * eshell/esh-util.el (eshell-file-attributes): New optional arg
11840 ID-FORMAT. Pass it to `file-attributes'.
11842 * eshell/em-ls.el (eshell-do-ls): Use it (Bug#5528).
11844 2010-02-07 sj <prime.wizard+emacs@gmail.com> (tiny change)
11846 * faces.el (set-face-attribute): Allow calling
11847 internal-set-lisp-face-attribute with 'unspecified family and
11848 foundry argument (Bug#5536).
11850 2010-02-07 Glenn Morris <rgm@gnu.org>
11852 * progmodes/f90.el (f90-font-lock-keywords-2)
11853 (f90-looking-at-type-like, f90-looking-at-program-block-end):
11854 Handle F2003 named interfaces.
11856 2010-02-06 Chong Yidong <cyd@stupidchicken.com>
11858 * progmodes/cc-mode.el (c-common-init): Bind temporary variables
11859 beg and end before calling c-get-state-before-change-functions.
11861 2010-02-06 Dan Nicolaescu <dann@ics.uci.edu>
11863 * vc-bzr.el (vc-bzr-dir-extra-headers):
11864 Disable the pending merges header.
11866 2010-02-05 Juri Linkov <juri@jurta.org>
11868 * doc-view.el (doc-view-mode):
11869 * image-mode.el (image-mode): Put property mode-class=special.
11872 2010-02-05 Mark A. Hershberger <mah@everybody.org>
11874 * vc-svn.el (vc-svn-revision-table): New function.
11876 2010-02-05 Michael Albinus <michael.albinus@gmx.de>
11878 * net/ange-ftp.el (ange-ftp-insert-directory):
11879 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
11880 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
11881 Handle also directories. (Bug#5478)
11883 2010-02-05 Glenn Morris <rgm@gnu.org>
11885 * progmodes/f90.el (f90-font-lock-keywords-2): Fix `enum'.
11887 2010-02-05 Chong Yidong <cyd@stupidchicken.com>
11889 * startup.el (command-line-1): Convert options beginning with a
11890 single dash as well (Bug#5519).
11892 2010-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
11894 Make `initials' completion work for /hh -> /home/horn again (bug#5524).
11895 * minibuffer.el (completion-initials-expand): Only check the presence
11896 of delims *within* the boundaries, since otherwise the / delim is
11897 always found for files.
11899 Fix up various corner case problems.
11900 * doc-view.el (doc-view-last-page-number): New function.
11901 (doc-view-mode, doc-view-last-page, doc-view-goto-page): Use it.
11902 (doc-view-goto-page): Avoid inf-loops when the conversion fails.
11903 (doc-view-kill-proc): Avoid inf-loop in freak cases.
11904 (doc-view-reconvert-doc): Use the new recursive delete-directory.
11905 (doc-view-convert-current-doc): Don't create the resolution.el file
11907 (doc-view-pdf/ps->png): Do it here instead.
11908 (doc-view-already-converted-p): Check that resolution.el is present.
11909 (doc-view-pdf->png): Don't rely on doc-view-pdf/ps->png for the few
11910 windows that are not yet showing images.
11912 2010-02-04 Michael Albinus <michael.albinus@gmx.de>
11914 * dired.el (dired-revert): If DIRED-DIRECTORY is a cons cell, call
11915 `dired-uncache' for every elemnt which is an absolute file name.
11917 * net/tramp.el (tramp-handle-dired-uncache): When DIR is not a
11918 directory, handle its directory component.
11919 (tramp-handle-file-remote-p): Let-bind `tramp-verbose' to 3; this
11920 function is called permanently and creates noise, otherwise.
11922 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
11923 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
11924 Handle the case, FILENAME is not in `default-directory'. (Bug#5478)
11926 2010-02-04 David Burger <dburger@google.com> (tiny change)
11928 * macros.el (apply-macro-to-region-lines):
11929 Minor simplification. (Bug#5485)
11931 2010-02-04 Glenn Morris <rgm@gnu.org>
11933 * mail/rmail.el (rmail-show-message-1): Handle malformed
11934 quoted-printable text. (Bug#5441)
11936 * mail/mail-utils.el (mail-unquote-printable-region): Doc fix.
11938 * simple.el (visual-line-mode): Capitalize lighter.
11940 2010-02-03 John Wiegley <jwiegley@gmail.com>
11942 * iswitchb.el (iswitchb-completions): Add bookmark files to the
11943 list of files considered for "virtual buffer" completions.
11945 2010-02-03 Michael Albinus <michael.albinus@gmx.de>
11947 * net/ange-ftp.el (ange-ftp-insert-directory): Parse directory
11948 also in case of (and (not full) (not wildcard)). This is needed
11949 when dired is called with a list of files, which are not in
11950 `default-directory'. (Bug#5478)
11952 2010-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
11954 * vc-hooks.el (vc-path): Make it an obsolete var, rather than function.
11956 2010-02-02 Juri Linkov <juri@jurta.org>
11958 * textmodes/ispell.el (ispell-message-text-end): Remove final newline
11959 from unidiff to allow function-line after @@.
11961 2010-02-02 Juri Linkov <juri@jurta.org>
11963 * ediff-util.el (ediff-file-checked-in-p): Replace '(nil CVS) by
11964 '(RCS SCCS) with inverted condition.
11966 2010-02-02 Michael Albinus <michael.albinus@gmx.de>
11968 * net/ange-ftp.el (ange-ftp-skip-msgs): Ignore all ""^500 .*AUTH"
11971 2010-02-01 Juri Linkov <juri@jurta.org>
11973 * arc-mode.el (archive-zip-extract): Use `member-ignore-case' to
11974 compare with "pkunzip" and "pkzip" instead of only "pkzip".
11975 In the `archive-extract-by-stdout' branch use `shell-quote-argument'
11976 only when (car archive-zip-extract) is "unzip". (Bug#5475)
11978 2010-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
11980 * doc-view.el (doc-view-new-window-function): Be a bit more defensive.
11981 (doc-view-revert-buffer): New command.
11982 (doc-view-mode-map): Use it.
11984 2010-02-01 Dan Nicolaescu <dann@ics.uci.edu>
11986 * vc-bzr.el (vc-bzr-dir-extra-headers): Add a header when a
11987 pending merge is detected.
11989 2010-01-31 Juri Linkov <juri@jurta.org>
11991 * progmodes/grep.el (zrgrep): Call `grep-compute-defaults' at the
11992 beginning of interactive spec like all other grep commands do.
11993 Put "all" in front of "gz". (Bug#5260)
11995 2010-01-29 Dan Nicolaescu <dann@ics.uci.edu>
11997 * vc-bzr.el (vc-bzr-after-dir-status): Match another renaming indicator.
11999 2010-01-29 Chong Yidong <cyd@stupidchicken.com>
12001 * dirtrack.el (dirtrack): Warn instead of signalling error if the
12002 regexp is incorrect (Bug#5476).
12004 2010-01-29 Michael Albinus <michael.albinus@gmx.de>
12006 * net/tramp.el (tramp-handle-insert-directory): Handle also
12007 symlinks, when FILENAME is not in `default-directory'.
12009 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
12011 * net/ange-ftp.el (ange-ftp-insert-directory): Handle the case,
12012 FILE is not in `default-directory'. (Bug#5478)
12014 * net/tramp.el (tramp-handle-insert-directory): Simplify handling
12015 of SWITCHES. Handle the case, FILENAME is not in
12016 `default-directory'. (Bug#5478)
12017 (tramp-register-file-name-handlers): Add safe-magic property.
12019 2010-01-28 Chong Yidong <cyd@stupidchicken.com>
12021 * arc-mode.el (archive-zip-extract): Quote the argument passed to
12024 2010-01-28 Nil Geisweiller <ngeiswei@googlemail.com> (tiny change)
12026 * progmodes/flymake.el (flymake-allowed-file-name-masks)
12027 (flymake-master-make-header-init): Add other C++ filename masks.
12028 (flymake-find-possible-master-files)
12029 (flymake-check-patch-master-file-buffer): Doc fixes (Bug#5488).
12031 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
12033 Fix some busybox annoyances.
12035 * net/tramp.el (tramp-wrong-passwd-regexp): Add "Timeout, server
12036 not responding." string.
12037 (tramp-open-connection-setup-interactive-shell): Dump stty
12038 settings. Enable "neveropen" arg for all `tramp-send-command'
12039 calls. Handle "=" in variable values properly.
12040 (tramp-find-inline-encoding): Raise an error, when no encoding is
12042 (tramp-wait-for-output): Check, whether PROC buffer is available.
12043 Remove spurious " ^H" sequences, sent by busybox.
12044 (tramp-get-ls-command): Suppress coloring, if possible.
12046 2010-01-28 Glenn Morris <rgm@gnu.org>
12048 * vc-svn.el (vc-svn-update): Use "svn --non-interactive". (Bug#4280)
12050 * log-edit.el (log-edit-strip-single-file-name): Add missing
12051 :safe, :group, and :version tags.
12053 2010-01-27 Stephen Berman <stephen.berman@gmx.net>
12055 * calendar/diary-lib.el (diary-unhide-everything): Handle narrowed
12056 buffers. (Bug#5477)
12058 2010-01-27 David De La Harpe Golden <david@harpegolden.net>
12060 * files.el (delete-directory): Handle moving to trash without
12061 first doing recursion (Bug#5436).
12063 2010-01-26 Dan Nicolaescu <dann@ics.uci.edu>
12065 * vc-hooks.el (vc-path): Mark as obsolete.
12067 2010-01-25 Dan Nicolaescu <dann@ics.uci.edu>
12069 * vc-annotate.el (vc-annotate-revision-at-line): Compare file
12072 * vc-bzr.el (vc-bzr-print-log): Use the more compact --line option
12074 (vc-bzr-log-view-mode): Adjust regexp for the above change.
12076 2010-01-25 Mark A. Hershberger <mah@everybody.org>
12078 * progmodes/python.el: Replace reference to obsolete c-subword-mode.
12080 * vc-bzr.el (vc-bzr-revision-table): New function.
12082 2010-01-25 Eric Hanchrow <eric.hanchrow@gmail.com>
12084 * vc-git.el (vc-git-dir-status-goto-stage): Pass --relative to the
12085 diff-index command. This requires at least git-1.5.5. (Bug#1589).
12087 2010-01-24 Dan Nicolaescu <dann@ics.uci.edu>
12089 Remove support for adding --signoff on commit.
12090 Future support will use an incompatible generic mechanism.
12091 * vc-git.el (vc-git-add-signoff): Remove variable.
12092 (vc-git-toggle-signoff): Remove function.
12093 (vc-git-extra-menu-map): Do not bind vc-git-toggle-signoff.
12095 * term/xterm.el (xterm-maybe-set-dark-background-mode):
12096 Rename from xterm-set-background-mode. Return t if the background mode
12098 (terminal-init-xterm): Move tty-set-up-initial-frame-faces
12099 earlier, call it again in case the background mode has changed.
12101 2010-01-23 Dmitri Paduchikh <dpaduch@k66.ru> (tiny change)
12103 * emacs-lisp/advice.el (ad-set-orig-definition): Fix typo
12106 2010-01-23 Chong Yidong <cyd@stupidchicken.com>
12108 * emacs-lisp/assoc.el (aelement): Doc fix.
12109 (aput, adelete, amake): Use lexical-let (Bug#5450).
12111 2010-01-23 Stephen Leake <stephen_leake@member.fsf.org>
12113 * progmodes/ada-mode.el (ada-in-paramlist-p): Pragma syntax
12114 is the same as subprogram call, not declaration. (Bug#5435).
12116 2010-01-23 Michael Albinus <michael.albinus@gmx.de>
12118 * net/tramp-smb.el (tramp-smb-conf): New defcustom.
12119 (tramp-smb-maybe-open-connection): Use it.
12121 2010-01-22 Michael Albinus <michael.albinus@gmx.de>
12123 * net/tramp-imap.el (top): Autoload needed packages. (Bug#5448)
12125 2010-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
12127 * mail/rmailmm.el (rmail-mime-handle): Don't set the buffer to unibyte
12128 just because we see "encoding: 8bit".
12129 * mail/rmail.el (rmail-show-message-1): Decode the body's QP into bytes.
12131 2010-01-22 Chong Yidong <cyd@stupidchicken.com>
12133 * isearch.el (isearch-allow-scroll): Doc fix (Bug#5446).
12135 2010-01-22 Eli Zaretskii <eliz@gnu.org>
12137 * jka-compr.el (jka-compr-load): If load-file is not in
12138 load-history, try its file-truename version. (bug#5447)
12140 2010-01-21 Alan Mackenzie <acm@muc.de>
12142 Fix a situation where deletion of a cpp construct throws an error.
12143 * progmodes/cc-engine.el (c-invalidate-state-cache):
12144 Before invoking c-with-all-but-one-cpps-commented-out, check that the
12145 special cpp construct is still in the buffer.
12146 (c-parse-state): Record the special cpp with markers, not numbers.
12148 2010-01-21 Kenichi Handa <handa@m17n.org>
12150 * textmodes/sgml-mode.el (sgml-maybe-name-self): No need to
12151 process last-command-event, as it is now decoded first (Bug#5380).
12153 2010-01-20 Chong Yidong <cyd@stupidchicken.com>
12155 * term.el (term-send-raw-meta): Revert 2009-12-04 change (Bug#5330).
12157 2010-01-20 Glenn Morris <rgm@gnu.org>
12159 * indent.el (tab-always-indent): Fix custom-type.
12161 2010-01-19 Alan Mackenzie <acm@muc.de>
12163 * progmodes/cc-defs.el: Fix bug#5395: typing '#' in an empty
12164 buffer throws "args out of range".
12165 (c-set-cpp-delimiters, c-clear-cpp-delimiters): Check for EOB
12166 playing the role of delimiter.
12168 2010-01-18 Stephen Leake <stephen_leake@member.fsf.org>
12170 * progmodes/ada-mode.el: Fix bug#5400.
12171 (ada-matching-decl-start-re): Move into ada-goto-decl-start.
12172 (ada-goto-decl-start): Rename from ada-goto-matching-decl-start; callers
12173 changed. Delete RECURSIVE parameter; never used. Improve doc string.
12174 Improve comments in "is" portion. Handle null procedure declaration.
12175 (ada-move-to-end): Improve doc string.
12177 2010-01-18 Óscar Fuentes <ofv@wanadoo.es>
12179 * ido.el (ido-cur-list): Initialize to nil.
12180 Remove obsolete information from commentary.
12181 (ido-choice-list): Initialize to nil.
12182 (ido-get-bufname): Reject minibuffers.
12183 (ido-make-buffer-list): If "default" is a nonexistent
12184 buffer, ignore it, as per the function's comment.
12185 (ido-kill-buffer-internal): New function.
12186 (ido-kill-buffer-at-head): Use it.
12187 (ido-visit-buffer): Likewise.
12189 2010-01-18 Chong Yidong <cyd@stupidchicken.com>
12191 * calendar/time-date.el (date-to-time): Doc fix (Bug#5408).
12193 2010-01-18 Juanma Barranquero <lekktu@gmail.com>
12195 * emacs-lisp/chart.el (chart-file-count, chart-rmail-from):
12196 Fix typos in chart titles.
12198 * whitespace.el (whitespace-style, global-whitespace-newline-mode):
12199 * emacs-lisp/eieio.el (eieio-error-unsupported-class-tags)
12200 (eieio-generic-form, eieio-help-mode-augmentation-maybee, eieio-browse)
12201 (describe-class, eieio-describe-generic, describe-generic):
12202 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click)
12203 (eieio-speedbar-expand):
12204 * emulation/viper-cmd.el (viper-exec-form-in-vi)
12205 (viper-exec-form-in-emacs, viper-harness-minor-mode, viper-ESC)
12206 (viper-repeat, viper-replace-state-exit-cmd, viper-toggle-search-style)
12207 (viper-del-backward-char-in-replace, viper-backward-indent)
12208 (viper-brac-function, viper-register-to-point, viper-submit-report):
12209 * net/tramp.el (tramp-remote-coding-commands):
12210 * term/x-win.el (emacs-session-save, x-menu-bar-open, icon-map-list):
12211 Fix typos in docstrings.
12213 2010-01-17 Chong Yidong <cyd@stupidchicken.com>
12215 * mail/sendmail.el (mail-yank-original): Set the mark if the
12216 specified function for yanking does not do it.
12218 2010-01-17 Dan Nicolaescu <dann@ics.uci.edu>
12220 * vc.el (with-vc-properties): Deal with directory arguments. (Bug#5298)
12222 * vc-dir.el (vc-dir-resynch-file): Update the vc-dir header when
12223 resyncing a directory.
12225 2010-01-17 Stephen Leake <stephen_leake@member.fsf.org>
12227 * progmodes/ada-mode.el: Fix bug#1920.
12228 (ada-ident-re): Delete ., allow multibyte characters.
12229 (ada-goto-label-re): New; matches goto labels.
12230 (ada-block-label-re): New; matches block labels.
12231 (ada-label-re): New; matches both.
12232 (ada-named-block-re): Deleted; callers changed to use
12233 `ada-block-label-re' instead.
12234 (ada-get-current-indent, ada-get-indent-noindent, ada-get-indent-loop):
12235 Use `ada-block-label-re'.
12236 (ada-indent-on-previous-lines): Improve handling of goto labels.
12237 (ada-get-indent-block-start): Special-case block label.
12238 (ada-get-indent-label): Split into `ada-indent-block-label' and
12239 `ada-indent-goto-label'.
12240 (ada-goto-stmt-start, ada-goto-next-non-ws):
12241 Optionally ignore goto labels.
12242 (ada-goto-next-word): Simplify.
12243 (ada-indent-newline-indent-conditional): Insert newline before
12244 trying to fix indentation; doc fix.
12246 2010-01-17 Jay Belanger <jay.p.belanger@gmail.com>
12248 * calc/calc.el (calc-command-flags): Give it an initial value.
12250 2010-01-17 Juanma Barranquero <lekktu@gmail.com>
12252 * files.el (minibuffer-with-setup-hook):
12253 * textmodes/artist.el (artist-mt, artist-key-undraw-continously)
12254 (artist-key-draw-continously, artist-key-do-continously-continously)
12255 (artist-key-set-point-continously, artist-mouse-draw-continously):
12256 Fix typos in docstrings.
12258 2010-01-16 Lennart Borgman <lennart.borgman@gmail.com>
12260 * nxml/nxml-mode.el (nxml-extend-after-change-region):
12261 Never return t (Bug#3898).
12263 2010-01-16 Frédéric Perrin <frederic.perrin@resel.fr> (tiny change)
12265 * vc-dispatcher.el (vc-do-command): Set LC_MESSAGES, so that we
12266 can parse the output of the external commands (Bug#5279).
12268 2010-01-16 Jari Aalto <jari.aalto@cante.net>
12270 * pcmpl-unix.el (pcmpl-unix-read-passwd-file): Doc fix.
12272 2010-01-16 Chong Yidong <cyd@stupidchicken.com>
12274 * emacs-lisp/advice.el (ad-add-advice): Doc fix (Bug#5274)
12276 * emacs-lisp/cl-macs.el (defstruct): Doc fix (Bug#5267).
12278 * startup.el (command-line): Remove unused --icon-type arg.
12279 Handle --display arg, passing it to command-line-1 (Bug#5392).
12281 2010-01-16 Mario Lang <mlang@delysid.org>
12283 * emacs-lisp/chart.el (chart-translate-namezone):
12284 * textmodes/artist.el (artist-compute-popup-menu-table):
12285 Remove duplicated words in doc-strings.
12287 2010-01-15 David Abrahams <dave@boostpro.com> (tiny change)
12289 * net/mairix.el (mairix-widget-send-query): Send -1 instead of nil
12290 to mairix-search to suppress threading (Bug#5342).
12292 2010-01-15 Kenichi Handa <handa@m17n.org>
12294 * international/mule-cmds.el (canonicalize-coding-system-name):
12295 Convert "msXXX", "ibmXXX", "windows-XXX" to "cpXXX" (Bug#5387).
12297 2010-01-15 Glenn Morris <rgm@gnu.org>
12299 * log-view.el (top-level): Require 'wid-edit. (Bug#5311)
12301 * wid-edit.el (widget-keymap): Doc fix.
12303 * vc-svn.el (vc-svn-print-log): Use --limit rather than -l since the
12304 former seems to be more widely accepted by various svn versions.
12306 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
12308 * find-cmd.el (find-constituents):
12309 * vc-arch.el (vc-arch-root):
12310 * window.el (window-body-height, pop-up-frames):
12311 * emacs-lisp/eieio-base.el (eieio-singleton, slot-missing):
12312 * progmodes/ada-stmt.el (ada-if):
12313 * progmodes/gdb-ui.el (gdb-jsonify-buffer):
12314 * textmodes/ispell.el (ispell-grep-options, ispell-dictionary-alist)
12315 (ispell-encoding8-command, ispell-aspell-supports-utf8)
12316 (ispell-last-program-name, ispell-help): Fix typos in docstrings.
12318 * progmodes/flymake.el (flymake-post-syntax-check):
12319 Fix typo in error message.
12321 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
12323 * hexl.el (hexl-printable-character): Fix check of `hexl-iso',
12324 which is always a string. (Bug#5313)
12326 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
12328 * progmodes/ada-xref.el (ada-default-prj-properties):
12329 Simplify previous change.
12331 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
12333 * progmodes/ada-xref.el (ada-default-prj-properties):
12334 Default ada_project_path to $ADA_PROJECT_PATH.
12336 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
12338 * progmodes/ada-mode.el (ada-create-keymap):
12339 Override `narrow-to-defun' with `ada-narrow-to-defun'.
12341 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
12343 * progmodes/ada-mode.el: Deal with Ada 2005 "overriding" keyword.
12344 (ada-subprog-start-re, ada-imenu-subprogram-menu-re): Add keyword.
12345 (ada-get-current-indent, ada-imenu-generic-expression)
12346 (ada-which-function): Check for it.
12348 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
12350 * progmodes/ada-mode.el (ada-clean-buffer-before-saving): Make obsolete.
12351 (ada-mode): Don't obey `ada-clean-buffer-before-saving' anymore.
12353 2010-01-14 Glenn Morris <rgm@gnu.org>
12355 * frame.el (show-trailing-whitespace): Safe if boolean. (Bug#5312)
12357 2010-01-14 Kenichi Handa <handa@m17n.org>
12359 * composite.el (auto-composition-mode): Make it a buffer local
12360 variable (permanent-local).
12361 (auto-composition-function): Set the default value to
12362 auto-compose-chars.
12363 (auto-composition-mode): Make it a simple function, not a minor mode.
12364 (global-auto-composition-mode): Likewise.
12365 (turn-on-auto-composition-if-enabled): Delete it.
12367 2010-01-13 Karl Fogel <kfogel@red-bean.com>
12369 * bookmark.el (bookmark-bmenu-execute-deletions): Doc fix (Bug#5276).
12371 2010-01-12 Michael Albinus <michael.albinus@gmx.de>
12373 * files.el (copy-directory): Compute target for recursive
12374 directories with identical names. (Bug#5343)
12376 2010-01-12 Glenn Morris <rgm@gnu.org>
12378 * mail/emacsbug.el (report-emacs-bug-pretest-address):
12379 Set it to bug-gnu-emacs rather than emacs-pretest-bug.
12381 2010-01-11 Sam Steingold <sds@gnu.org>
12383 * imenu.el (imenu-default-create-index-function): Detect infinite
12384 loops caused by imenu-prev-index-position-function.
12386 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
12388 * htmlfontify.el (htmlfontify-load-rgb-file)
12389 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values)
12390 (htmlfontify-manual, htmlfontify, hfy-page-header, hfy-page-footer)
12391 (hfy-src-doc-link-style, hfy-src-doc-link-unstyle, hfy-link-extn)
12392 (hfy-link-style-fun, hfy-index-file, hfy-instance-file)
12393 (hfy-html-quote-regex, hfy-init-kludge-hook, hfy-post-html-hooks)
12394 (hfy-default-face-def, hfy-etag-regex, hfy-html-quote-map)
12395 (hfy-etags-cmd-alist-default, hfy-etags-bin, hfy-ignored-properties)
12396 (hfy-which-etags, hfy-etags-cmd, hfy-istext-command, hfy-display-class)
12397 (hfy-optimisations, hfy-tags-cache, hfy-tags-sortl, hfy-tags-rmap)
12398 (hfy-style-assoc, hfy-sheet-assoc, hfy-facemap-assoc, hfy-interq)
12399 (hfy-colour-vals, hfy-default-header, hfy-link-style-string)
12400 (hfy-triplet, hfy-slant, hfy-weight, hfy-combined-face-spec)
12401 (hfy-face-attr-for-class, hfy-face-to-style-i, hfy-size-to-int)
12402 (hfy-flatten-style, hfy-face-to-style, hfy-face-or-def-to-name)
12403 (hfy-face-to-css, hfy-p-to-face, hfy-p-to-face-lennart, hfy-face-at)
12404 (hfy-fontified-p, hfy-merge-adjacent-spans, hfy-buffer)
12405 (hfy-html-enkludge-buffer, hfy-html-quote, hfy-html-dekludge-buffer)
12406 (hfy-force-fontification, htmlfontify-buffer, hfy-dirname)
12407 (hfy-make-directory, hfy-text-p, hfy-mark-tag-names, hfy-relstub)
12408 (hfy-href-stub, hfy-href, hfy-mark-tag-hrefs, hfy-prepare-index-i)
12409 (hfy-prepare-index, hfy-prepare-tag-map, hfy-subtract-maps)
12410 (htmlfontify-run-etags): Fix typos in docstrings and remove superfluous
12411 backslash-quoting from parentheses, etc.
12413 2010-01-11 Chong Yidong <cyd@stupidchicken.com>
12415 * progmodes/js.el: Autoload javascript-mode alias.
12417 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
12419 * ffap.el (ffap-shell-prompt-regexp, ffap-all-subdirs, ffap-url-p)
12420 (ffap-alist, ffap-tex-path, ffap-url-at-point, ffap-gopher-regexp)
12421 (ffap-gopher-at-point, ffap-file-at-point, ffap-read-file-or-url)
12422 (ffap-read-url-internal, ffap-menu, ffap-at-mouse):
12423 Fix typos in docstrings.
12424 (ffap-url-regexp): Doc fix.
12425 (ffap-at-mouse): Fix typo in message.
12427 2010-01-11 Glenn Morris <rgm@gnu.org>
12429 * version.el (emacs-copyright): Set copyright year to 2010.
12431 2010-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
12433 * format.el (format-annotate-function): Only set
12434 write-region-post-annotation-function after running to-fn so as not to
12435 affect nested write-region calls (bug#5273).
12437 2010-01-10 Chong Yidong <cyd@stupidchicken.com>
12439 * Makefile.in (ELCFILES): Add wisent/python-wy.el and
12442 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
12444 * man.el (Man-goto-section): Signal error if the section is not
12447 2010-01-09 Juanma Barranquero <lekktu@gmail.com>
12449 * vc-bzr.el (vc-bzr-working-revision): On Windows and MS-DOS, accept
12450 URLs with a leading triple slash in the file: scheme. (Bug#5345)
12452 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
12454 * progmodes/compile.el: Don't treat compile-command as safe if
12455 compilation-read-command might be nil (Bug#4218).
12457 2010-01-09 Jan Djärv <jan.h.d@swipnet.se>
12459 * startup.el (command-line-1): Use orig-argi to check for ignored X and
12462 2010-01-08 Kenichi Handa <handa@m17n.org>
12464 * international/fontset.el (build-default-fontset-data):
12465 Exclude characters in scripts kana, hangul, han, or cjk-misc.
12467 2010-01-07 Juanma Barranquero <lekktu@gmail.com>
12469 * vc-dir.el (vc-dir-prepare-status-buffer): Pass a (fake) filename
12470 to `create-file-buffer' as it expects, not just a buffer name.
12471 (vc-dir-mode): Include the buffer name in `list-buffers-directory',
12472 to help uniquify. (Bug#3224)
12474 2010-01-06 Jan Djärv <jan.h.d@swipnet.se>
12476 * font-setting.el (font-setting-change-default-font): Use user-spec
12479 2010-01-06 Dan Nicolaescu <dann@ics.uci.edu>
12481 * vc-bzr.el (vc-bzr-after-dir-status): Ignore pending merges.
12483 2010-01-05 Tom Tromey <tromey@redhat.com>
12485 * progmodes/python.el (python-font-lock-keywords):
12486 Handle qualified decorators (Bug#881).
12488 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
12490 * vc-bzr.el (vc-bzr-working-revision): Fix looking for a revision
12491 in a lightweight checkout.
12493 2010-01-05 Kenichi Handa <handa@m17n.org>
12495 * language/indian.el (malayalam-composable-pattern): Fix ZWNJ and ZWJ.
12497 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
12499 * vc-bzr.el (vc-bzr-diff): Obey vc-disable-async-diff.
12501 2010-01-04 Dan Nicolaescu <dann@ics.uci.edu>
12503 * vc-bzr.el (vc-bzr-state-heuristic): Make it work for lightweight
12504 checkouts. (Bug#618)
12505 (vc-bzr-log-view-mode): Also highlight the author.
12506 (vc-bzr-shelve-map): Change binding for vc-bzr-shelve-apply-at-point.
12507 (vc-bzr-shelve-menu-map):
12508 (vc-bzr-dir-extra-headers): Improve menu and tooltip text.
12509 (vc-bzr-shelve-apply): Make prompt more explicit.
12511 2010-01-02 Chong Yidong <cyd@stupidchicken.com>
12513 * net/browse-url.el (browse-url-encode-url): Don't escape commas.
12514 They are valid characters in URL paths (rfc3986), and at least
12515 Firefox does not understand the encoded version (Bug#3166).
12517 2010-01-02 Daniel Elliott <danelliottster@gmail.com> (tiny change)
12519 * progmodes/octave-mod.el (octave-end-keywords)
12520 (octave-block-begin-or-end-regexp, octave-block-match-alist):
12521 Add "end" keyword (Bug#3061).
12522 (octave-end-as-array-index-p): New function.
12523 (calculate-octave-indent): Use it.
12525 2010-01-02 Karl Fogel <kfogel@red-bean.com>
12527 * bookmark.el: Consistently put the text property on the bookmark name.
12528 (bookmark-bmenu-marks-width): Bump back to 2, to include
12530 (bookmark-bmenu-hide-filenames): Adjust for above, and put the text
12531 property on the bookmark name, instead of not putting it at all.
12532 (bookmark-bmenu-list): Fix where we put the text property.
12534 2010-01-02 Karl Fogel <kfogel@red-bean.com>
12536 * bookmark.el (bookmark-bmenu-save): Just depend on the new logic
12537 for showing buffer modified state (as added in the previous change).
12539 2010-01-02 Karl Fogel <kfogel@red-bean.com>
12541 * bookmark.el: Show modified state of bookmark buffer more accurately.
12542 (bookmark-bmenu-list): Initialize buffer-modified-p properly.
12543 (bookmark-send-edited-annotation): Mark bookmark-alist as modified.
12544 (with-buffer-modified-unmodified): New macro.
12545 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
12546 (bookmark-bmenu-mark, bookmark-bmenu-unmark, bookmark-bmenu-delete):
12547 Use new macro to preserve the buffer modified state.
12549 2010-01-02 Karl Fogel <kfogel@red-bean.com>
12551 * bookmark.el (bookmark-bmenu-select, bookmark-bmenu-1-window)
12552 (bookmark-bmenu-2-window, bookmark-bmenu-this-window)
12553 (bookmark-bmenu-other-window, bookmark-bmenu-switch-other-window)
12554 (bookmark-bmenu-show-annotation, bookmark-bmenu-edit-annotation)
12555 (bookmark-bmenu-rename, bookmark-bmenu-locate)
12556 (bookmark-bmenu-relocate, bookmark-bmenu-goto-bookmark):
12557 Remove unnecessary calls to `bookmark-bmenu-ensure-position'.
12559 2010-01-02 Eli Zaretskii <eliz@gnu.org>
12561 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
12562 Make the lines in the generated doc string shorter. (Bug#4668)
12564 2010-01-02 Ryan Yeske <rcyeske@gmail.com>
12566 * net/rcirc.el: Add follow-link binding (Bug#4738).
12568 2010-01-02 Eli Zaretskii <eliz@gnu.org>
12570 * Makefile.in (bzr-update): Rename from cvs-update.
12571 (cvs-update): New target for backward compatibility.
12573 * makefile.w32-in (bzr-update): Rename from cvs-update.
12574 (cvs-update): New target for backward compatibility.
12576 2010-01-02 Karl Fogel <kfogel@red-bean.com>
12578 * bookmark.el: Remove gratuitous gratitude.
12580 2010-01-02 Karl Fogel <kfogel@red-bean.com>
12582 * bookmark.el (bookmark-bmenu-any-marks): New function.
12583 (bookmark-bmenu-save): Clear buffer modification if no marks.
12585 2010-01-02 Karl Fogel <kfogel@red-bean.com>
12587 * bookmark.el (bookmark-bmenu-marks-width): Define to 1, not 2.
12588 (bookmark-bmenu-list, bookmark-bmenu-bookmark): Calculate property
12589 positions by using `bookmark-bmenu-marks-width', instead of hardcoding.
12590 This fixes the `bookmark-bmenu-execute-deletions' bug reported here:
12592 http://lists.gnu.org/archive/html/emacs-devel/2009-12/msg00819.html
12593 From: Sun Yijiang <sunyijiang {_AT_} gmail.com>
12594 To: emacs-devel {_AT_} gnu.org
12595 Subject: bookmark.el bug report
12596 Date: Mon, 28 Dec 2009 14:19:16 +0800
12597 Message-ID: 5065e2900912272219y3734fc9fsdaee41167ef99ad7@mail.gmail.com
12599 2010-01-02 Karl Fogel <kfogel@red-bean.com>
12601 * bookmark.el: Improvements suggested by Drew Adams:
12602 (bookmark-bmenu-ensure-position): New name for
12603 `bookmark-bmenu-check-position'. Just ensure the position,
12604 don't return any meaningful value.
12605 (bookmark-bmenu-header-height, bookmark-bmenu-marks-width):
12608 2010-01-02 Juanma Barranquero <lekktu@gmail.com>
12610 * bookmark.el (bookmarks-already-loaded): Doc fix (don't use `iff').
12611 (bookmark-yank-point, bookmark-bmenu-check-position):
12612 Fix typos in docstrings.
12613 (bookmark-save-flag, bookmark-bmenu-toggle-filenames)
12614 (bookmark-name-from-full-record, bookmark-get-position)
12615 (bookmark-set-position, bookmark-set, bookmark-handle-bookmark)
12616 (bookmark-delete, bookmark-save, bookmark-save, bookmark-bmenu-mode):
12617 Remove useless quoting of parenthesis, etc. in docstrings.
12619 * ediff-mult.el (ediff-prepare-meta-buffer): Fix typo in help message.
12620 (ediff-append-custom-diff): Fix typo in error message.
12621 (ediff-meta-mark-equal-files): Fix typos in messages.
12623 * mpc.el (mpc-playlist-delete): Fix typo in error messages.
12625 * net/imap-hash.el (imap-hash-make): Doc fix.
12626 (imap-hash-test): Fix typo in error message; reflow docstring.
12627 (imap-hash-p, imap-hash-get, imap-hash-put, imap-hash-make-message)
12628 (imap-hash-count, imap-hash-server, imap-hash-port, imap-hash-ssl)
12629 (imap-hash-mailbox, imap-hash-user, imap-hash-password):
12630 Fix typos in docstrings.
12631 (imap-hash-open-connection): Fix typo in error message.
12633 * play/gomoku.el (gomoku): Fix typos in docstring.
12635 * progmodes/gdb-ui.el (gdb-location-alist): Reflow docstring.
12636 (gdb-jsonify-buffer): Fix typos in docstring.
12637 (gdb-goto-breakpoint): Fix typo in error message.
12638 ("Display Other Windows"): Fix typo in help message.
12639 (gdb-speedbar-expand-node): Fix typo in question.
12641 * progmodes/idlw-help.el (idlwave-help-browse-url-available)
12642 (idlwave-html-system-help-location, idlwave-html-help-location)
12643 (idlwave-help-browser-function, idlwave-help-browser-generic-program)
12644 (idlwave-help-browser-generic-args, idlwave-help-directory)
12645 (idlwave-html-help-is-available, idlwave-help-mode-line-indicator)
12646 (idlwave-help-mode-map, idlwave-help-mode, idlwave-do-context-help)
12647 (idlwave-online-help, idlwave-help-html-link)
12648 (idlwave-help-show-help-frame, idlwave-help-assistant-command):
12649 Fix typos in docstrings.
12650 (idlwave-help-with-source, idlwave-help-find-routine-definition):
12652 (idlwave-help-assistant-start): Fix typo in error message.
12654 * progmodes/octave-mod.el (octave-mode, octave-electric-semi)
12655 (octave-electric-space): Fix typos in docstrings.
12657 2010-01-01 Chong Yidong <cyd@stupidchicken.com>
12659 * files.el (minibuffer-with-setup-hook): Doc fix (Bug#5149).
12661 2010-01-01 Juri Linkov <juri@jurta.org>
12663 * comint.el (comint-input-ring-size): Make it a defcustom and
12664 increase the default to 500 (Bug#5148).
12666 2009-12-31 Nick Roberts <nickrob@snap.net.nz>
12668 Further changes from EMACS_23_1_RC branch (2009-12-29 contd).
12669 * term/x-win.el (x-gtk-stock-map): Map some GUD buttons.
12670 * progmodes/gud.el (gud-menu-map): Add reverse-execution commands.
12672 2009-12-30 Nick Roberts <nickrob@snap.net.nz>
12674 Show working revision correctly for mercurial.
12675 * vc-hg.el (vc-hg-working-revision): Use hg parent instead of
12676 hg log as suggested by Alex Harsanyi <alexharsanyi@gmail.com>.
12678 2009-12-29 Juanma Barranquero <lekktu@gmail.com>
12680 Declare some functions for the byte-compiler.
12681 * progmodes/gdb-ui.el (speedbar-change-initial-expansion-list)
12682 (speedbar-timer-fn, speedbar-change-expand-button-char)
12683 (speedbar-delete-subblock, speedbar-center-buffer-smartly): Declare.
12685 2009-12-29 Nick Roberts <nickrob@snap.net.nz>
12687 This changeset reverts GDB Graphical Interface to use annotations.
12688 * progmodes/gdb-ui.el, progmodes/gud.el: Import from EMACS_23_1_RC.
12690 2009-12-29 Dan Nicolaescu <dann@ics.uci.edu>
12692 Make vc-dir work on subdirectories of the bzr root.
12693 * vc-bzr.el (vc-bzr-after-dir-status): Add new argument.
12694 Return file names relative to it.
12695 (vc-bzr-dir-status, vc-bzr-dir-status-files): Pass the bzr root
12696 relative directory to vc-bzr-after-dir-status.
12698 2009-12-28 Tassilo Horn <tassilo@member.fsf.org>
12700 * font-lock.el (font-lock-refresh-defaults): New function, which
12701 can be used to let font-lock react to external changes in
12702 variables like font-lock-defaults and keywords.
12703 See http://thread.gmane.org/gmane.emacs.devel/118777/focus=118802
12705 2009-12-28 Dan Nicolaescu <dann@ics.uci.edu>
12707 * vc-rcs.el (vc-rcs-register): Fix registering a specific version.
12709 * vc-bzr.el (vc-bzr-log-view-mode): Fix short log regexp.
12711 2009-12-28 Juanma Barranquero <lekktu@gmail.com>
12713 Supersede color.diff settings in git log (bug#5211).
12715 * vc-git.el (vc-git-print-log): Pass "--no-color" to log to avoid
12716 escape chars in its output when the user has color.diff set to `always'.
12717 This fix works on git 1.4.2 and newer (released on 2006-08-13).
12719 2009-12-26 Kevin Ryde <user42@zip.com.au>
12721 * info-look.el (sh-mode): Look for coreutils new "Concept Index"
12722 node. Keep previous "Index" name to work with past coreutils too.
12724 * man.el (man): Revise docstring a bit to show -a and -l as
12725 examples. Add -k description since support for it has otherwise
12726 been a secret. (Further to bug#3717.)
12727 (Man-bgproc-sentinel): When "-k foo" produces no output show error
12728 "no matches" rather than "Can't find manpage", as the latter reads
12729 like -k was interpreted as a page name, which is not so. (Bug#5431)
12731 2009-12-26 Michael Albinus <michael.albinus@gmx.de>
12733 * net/tramp.el (tramp-handle-insert-directory): Quote "'" in the
12734 switches. Check also for //SUBDIRED// line.
12736 2009-12-25 Kenichi Handa <handa@m17n.org>
12738 * language/indian.el (devanagari-composable-pattern): Fix to
12739 handle ZWNJ and ZWJ. Use it in composition-function-table for
12741 (malayalam-composable-pattern): Fix previous change.
12743 2009-12-23 Vinicius Jose Latorre <viniciusjl@ig.com.br>
12745 * ps-print.el (ps-face-attributes): It was not returning the
12746 attribute face for faces specified as string. Reported by harven
12747 <harven@free.fr>. (Bug#5254)
12748 (ps-print-version): New version 7.3.5.
12750 2009-12-18 Ulf Jasper <ulf.jasper@web.de>
12752 * calendar/icalendar.el (icalendar--convert-tz-offset):
12753 Fix timezone names.
12754 (icalendar--convert-tz-offset): Fix the "last-day-problem".
12755 (icalendar--add-diary-entry): Remove the trailing blank that
12756 diary-make-entry inserts.
12758 2009-12-17 Michael Albinus <michael.albinus@gmx.de>
12760 Make `file-expand-wildcards' work for remote files.
12762 * files.el (file-expand-wildcards): In case of remote files, check
12763 only local file name part for wildcards. Provide feature 'files
12764 and subfeature 'remote-wildcards. (Bug#5198)
12766 * net/tramp.el (tramp-handle-file-remote-p): Expand file name only
12767 if there is already an established connection.
12768 (tramp-advice-file-expand-wildcards): Remove it.
12770 * net/tramp-compat.el (top): Autoload `tramp-handle-file-remote-p'.
12771 (tramp-advice-file-expand-wildcards): Move from tramp.el.
12772 Activate advice for older GNU Emacs versions. (Bug#5237)
12774 2009-12-17 Juanma Barranquero <lekktu@gmail.com>
12776 Some doc fixes (more needed).
12778 * find-cmd.el (find-constituents): Reflow docstring.
12779 (find-cmd, find-prune, find-command): Fix typos in docstrings.
12780 (find-generic): Doc fix.
12782 2009-12-17 Juri Linkov <juri@jurta.org>
12784 Fix regression from 23.1 to allow multiple modes in Local Variables.
12786 * files.el (hack-local-variables-filter): While ignoring duplicates,
12787 don't take `mode' into account.
12788 (hack-local-variables-filter, hack-dir-local-variables):
12789 Don't remove duplicate `mode' from local-variables-alist (like `eval').
12791 2009-12-17 Juri Linkov <juri@jurta.org>
12793 Make `dired-diff' safer. (Bug#5225)
12795 * dired-aux.el (dired-diff): Signal an error when `file' equals to
12796 `current' or when `file' is a directory of the `current' file.
12798 2009-12-17 Andreas Schwab <schwab@linux-m68k.org>
12800 * emacs-lisp/autoload.el (batch-update-autoloads): Only exclude
12801 unconditionally preloaded files.
12803 2009-12-16 Juri Linkov <juri@jurta.org>
12805 Revert to old 23.1 logic of using the file at the mark as default.
12806 * dired-aux.el (dired-diff): Use the file at the mark as default
12807 if it's not the same as the current file, and the target dir is
12808 the current dir or the mark is active. Add the current file
12809 as the arg of `dired-dwim-target-defaults'. Use the default file
12810 in the prompt. (Bug#5225)
12812 2009-12-15 Michael Albinus <michael.albinus@gmx.de>
12814 * net/tramp.el (tramp-echo-mark-marker-length): New defconst.
12815 (tramp-echo-mark, tramp-echoed-echo-mark-regexp): Use it.
12816 (tramp-check-for-regexp): Check also, when an echoing shell stops
12817 to echo sent commands.
12819 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
12821 * Makefile.in: Revert last change (Bug#5191).
12823 2009-12-14 Dan Nicolaescu <dann@ics.uci.edu>
12825 * vc-hg.el (vc-hg-print-log): Fix argument order.
12826 (vc-hg-working-revision): Make sure the command is executed in a
12827 known environment so that we can parse the output. (Bug#4417)
12829 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
12831 * progmodes/python.el (python-symbol-completions): Remove text
12832 properties from symbol string before calling python-send-receive.
12834 2009-12-14 Nick Roberts <nickrob@snap.net.nz>
12836 * progmodes/gdb-mi.el (gdb-frame-handler): Only set gud-lat-frame
12837 when there are values for both file and line. (Bug#5060)
12839 2009-12-14 Juri Linkov <juri@jurta.org>
12841 * ediff-ptch.el (ediff-context-diff-label-regexp): Don't match
12842 whitespace after the file name of the first line of unified format,
12843 because git-diff doesn't output whitespace and file modification time
12844 after the file name.
12846 2009-12-14 David Kastrup <dak@gnu.org>
12848 * info.el (Info-hide-cookies-node): Before hiding a cookie,
12849 check if it already has the `display' property added by
12850 `Info-display-images-node', and not put the `invisible' property
12853 2009-12-13 Glenn Morris <rgm@gnu.org>
12855 * mail/emacsbug.el (message-sort-headers): Define for compiler.
12856 (report-emacs-bug): In message-mode, sort manually before storing
12857 original report text. (Bug#5178)
12858 Remove superfluous save-excursion.
12860 2009-12-12 Michael Albinus <michael.albinus@gmx.de>
12862 * net/dbus.el (dbus-property-handler): Filter lambda forms out
12863 when responding to "GetAll" properties.
12865 2009-12-12 Chong Yidong <cyd@stupidchicken.com>
12867 * simple.el (compose-mail): Remove mail-setup-with-from from
12868 customization checks.
12870 2009-12-12 Eli Zaretskii <eliz@gnu.org>
12872 * arc-mode.el (archive-rar-summarize): Support Attribute fields in
12873 RAR archives created on Unix systems.
12875 2009-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
12877 * minibuffer.el (minibuffer-local-must-match-filename-map): Re-instate
12878 the varalias that was accidentally removed by the 2009-11-19 change
12881 2009-12-12 Kenichi Handa <handa@m17n.org>
12883 * language/indian.el (indian-compose-regexp): New function.
12884 (malayalam-composable-pattern): Fix the pattern.
12885 (composition-function-table): Set malayalam-composable-pattern for
12886 Malayalam characters.
12888 2009-12-11 Chong Yidong <cyd@stupidchicken.com>
12890 * progmodes/bug-reference.el (bug-reference-map): Bind mouse-2
12891 rather than down-mouse-1, based on follow-link conventions.
12893 * makefile.w32-in: Ensure that Lisp files in CEDET subdirectories
12896 2009-12-11 Michael McNamara <mac@mail.brushroad.com>
12898 * progmodes/verilog-mode.el (verilog-vmm-begin-re, verilog-vmm-end-re)
12899 (verilog-vmm-statement-re, verilog-ovm-statement-re)
12900 (verilog-defun-level-not-generate-re, verilog-calculate-indent)
12901 (verilog-leap-to-head, verilog-backward-token):
12902 Fix indenting VMM macros. Reported by Jonathan Ashbrook.
12904 2009-12-11 Wilson Snyder <wsnyder@wsnyder.org>
12906 * progmodes/verilog-mode.el (verilog-auto-lineup)
12907 (verilog-nameable-item-re): Cleanup user-visible spelling and
12908 documentation errors. One reported by Gary Delp.
12909 (verilog-submit-bug-report): Mention bug tracking and CC co-author.
12910 (verilog-read-decls): Fix AUTOWIRE with types declared in a
12911 package, bug195. Reported by Pierre-David Pfister.
12913 2009-12-11 Glenn Morris <rgm@gnu.org>
12915 * progmodes/cc-engine.el (safe-pos-list): Define for compiler.
12917 * mail/emacsbug.el: No longer require sendmail.
12918 Replace sendmail's `mail-text' by `rfc822-goto-eoh'. (Bug#5174)
12919 (report-emacs-bug-orig-text): Doc fix.
12920 (report-emacs-bug-send-command, report-emacs-bug-send-hook):
12921 New local variables, to adapt to different mail-user-agents.
12922 (report-emacs-bug): Fix test for a gnu.org address.
12923 Use overlays for emphasis, since font-lock defeats 'face property.
12924 Pretest bugs also end up at the newsgroup these days.
12925 Stop message-mode stripping text properties.
12926 Set and use the new buffer-local variables.
12927 (report-emacs-bug-hook): Add doc-string.
12928 Remove some unnecessary save-excursions and simplify.
12929 Use the appropriate hook and send-command.
12931 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Standardize the
12932 capitalization of some menu entries.
12934 2009-12-10 Vinicius Jose Latorre <viniciusjl@ig.com.br>
12936 * whitespace.el (whitespace-display-char-on):
12937 Ensure `buffer-display-table' is unique when two or more windows are
12938 visible. Reported by Martin Pohlack <mp26@os.inf.tu-dresden.de>.
12941 2009-12-10 Eli Zaretskii <eliz@gnu.org>
12943 * arc-mode.el (archive-rar-summarize): Allow between 6 and 7
12944 characters in the Attribute field.
12946 2009-12-10 Dan Nicolaescu <dann@ics.uci.edu>
12948 * vc-svn.el (vc-svn-after-dir-status): Fix regexp. (Bug#4741)
12950 2009-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
12952 Let loaddefs.el adjust to changes in autoload-excludes (bug#5162).
12953 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
12954 Disregard autoload-excludes.
12955 (update-directory-autoloads): Obey autoload-excludes here instead.
12956 But don't store its contents in no-autoloads and remove entries that
12957 refer to excludes files.
12959 2009-12-10 Glenn Morris <rgm@gnu.org>
12961 * mail/feedmail.el (top-level): Move require 'mail-utils to start.
12962 (expand-mail-aliases): Define for compiler.
12964 * vc-annotate.el (log-view-vc-backend, log-view-vc-fileset):
12965 Define for compiler.
12967 * mail/emacsbug.el (report-emacs-bug): Use whichever send command is
12968 appropriate for the mail-user-agent in use.
12970 2009-12-09 Michael Albinus <michael.albinus@gmx.de>
12972 * net/tramp.el (tramp-handle-insert-directory): Suppress error messages.
12974 2009-12-09 Dan Nicolaescu <dann@ics.uci.edu>
12976 Fix short log parsing and fontification.
12977 * vc-bzr.el (vc-bzr-log-view-mode): Match dot in revision number.
12978 Fix fontification for the [merge] label.
12980 2009-12-09 Vivek Dasmohapatra <vivek@etla.org>
12982 Drop some properties to avoid surprises (bug#5002).
12983 * htmlfontify.el (hfy-ignored-properties): New defcustom.
12984 (hfy-fontify-buffer): Use it.
12986 2009-12-09 Stefan Monnier <monnier@iro.umontreal.ca>
12989 * ffap.el (ffap-symbol-value): Replace ffap-soft-value.
12990 Adjust all callers.
12991 (ffap-locate-file): Remove unused arg `dir-ok' and make other
12992 args compulsory. Adjust callers.
12993 (ffap-gopher-at-point): Remove unused var `name'.
12995 Get rid of the ELCFILES abomination.
12996 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
12997 (compile-elcfiles): New phony target.
12998 (compile-main): Compute ELCFILES dynamically.
12999 (compile-clean): New target to remove left-over elc files.
13000 (compile, all): Use it.
13002 2009-12-09 Kenichi Handa <handa@etlken>
13004 * international/mule-diag.el: Require help-mode instead of help-fns.
13006 2009-12-09 Kenichi Handa <handa@m17n.org>
13008 * international/mule-cmds.el (ucs-names): Supply sufficiently
13009 fine ranges instead of pre-calculating accurate ranges.
13010 Iterate with bigger gc-cons-threshold.
13012 2009-12-08 Dan Nicolaescu <dann@ics.uci.edu>
13014 Add support for stashing a snapshot of the current tree.
13015 * vc-git.el (vc-git-stash-snapshot): New function.
13016 (vc-git-stash-map, vc-git-extra-menu-map): Add a mapping for it.
13018 2009-12-08 Jose E. Marchesi <jemarch@gnu.org>
13020 * play/gomoku.el (gomoku-mode-map): Remap `move-(beginning|end)-of-line'
13021 instead of `(beginning|end)-of-line'.
13023 2009-12-08 Glenn Morris <rgm@gnu.org>
13025 * vc-mtn.el (vc-mtn-print-log): Fix typo in previous.
13027 * Makefile.in (ELCFILES): Regenerate.
13029 2009-12-07 Juri Linkov <juri@jurta.org>
13031 Don't lazy-highlight the comint output in history Isearch mode.
13033 * comint.el (comint-history-isearch-search): Instead of
13034 `comint-line-beginning-position', use `comint-after-pmark-p'
13035 to check if point if before the process mark, and go to
13036 `process-mark' in this case.
13038 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
13040 * textmodes/tex-mode.el (latex-complete)
13041 (latex-indent-or-complete): Remove.
13042 (latex-mode): Set completion-at-point-functions instead.
13044 Provide a standard completion command and hook it into TAB.
13045 * minibuffer.el (completion-at-point-functions): New var.
13046 (completion-at-point): New command.
13047 * indent.el (indent-for-tab-command): Handle the `complete' behavior.
13048 * progmodes/python.el (python-mode-map): Use completion-at-point.
13049 (python-completion-at-point): Rename from python-partial-symbol and
13050 adjust for use in completion-at-point-functions.
13051 (python-mode): Setup completion-at-point for Python completion.
13052 * emacs-lisp/lisp.el (lisp-completion-at-point): New function
13053 extracted from lisp-complete-symbol.
13054 (lisp-complete-symbol): Use it.
13055 * emacs-lisp/lisp-mode.el (emacs-lisp-mode): Use define-derived-mode,
13056 setup completion-at-point for Elisp completion.
13057 (emacs-lisp-mode-map, lisp-interaction-mode-map):
13058 Use completion-at-point.
13059 * ielm.el (ielm-map): Use completion-at-point.
13060 (inferior-emacs-lisp-mode): Setup completion-at-point-functions.
13061 * progmodes/sym-comp.el: Move to...
13062 * obsolete/sym-comp.el: Move from progmodes.
13064 2009-12-07 Eli Zaretskii <eliz@gnu.org>
13066 Prevent save-buffer in Rmail buffers from using the coding-system
13067 of the current message, and from clobbering the encoding mnemonics
13068 in the mode line (Bug#4623).
13070 * mail/rmail.el (rmail-swap-buffers): Swap encoding and modified
13072 (rmail-message-encoding): New variable.
13073 (rmail-write-region-annotate): Record the encoding of the current
13074 message in rmail-message-encoding.
13075 (rmail-after-save-hook): New function, restores the encoding of
13076 the current message after the message collection is saved.
13078 2009-12-07 Juri Linkov <juri@jurta.org>
13080 * progmodes/grep.el (grep-read-files): Use `completing-read'
13081 instead of `read-string'. Set its `collection' arg to
13082 `read-file-name-internal'. (Bug#4301)
13084 2009-12-07 Juri Linkov <juri@jurta.org>
13086 Correctly restore original Isearch point. (Bug#4994)
13088 * isearch.el (isearch-mode): Move `isearch-push-state' after
13089 `(run-hooks 'isearch-mode-hook)'.
13090 (isearch-cancel): When `isearch-push-state-function' is defined,
13091 let-bind `isearch-cmds' to the first state (the last element of
13092 `isearch-cmds') and call `isearch-top-state' (it calls pop-state
13093 function and restores the original point). Otherwise, move point
13094 to `isearch-opoint'.
13096 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
13098 * international/mule-cmds.el (ucs-names): Weed out at compile-time the
13099 chars that don't have names, so the table can be built much faster at
13102 2009-12-07 Chong Yidong <cyd@stupidchicken.com>
13104 * vc-bzr.el (vc-bzr-annotate-command): More elegant form for last
13105 change. Suggested by David Kastrup.
13107 * simple.el (compose-mail): Check for incompatibilities and warn.
13108 (compose-mail-user-agent-warnings): New option.
13110 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
13112 Support showing a single log entry from vc-annotate.
13113 * vc.el (print-log): Add a new argument: START-REVISION.
13114 (vc-print-log-internal): Add a new optional argument and
13115 pass it to the backend.
13116 (vc-print-log, vc-print-root-log): Adjust callers.
13117 * vc-annotate.el (vc-annotate-show-log-revision-at-line): If a
13118 buffer already displays the requested log entry, use it.
13119 Otherwise display only the log entry in question.
13120 * vc-svn.el (vc-svn-print-log):
13121 * vc-mtn.el (vc-mtn-print-log):
13122 * vc-hg.el (vc-hg-state):
13123 * vc-git.el (vc-git-print-log): Add support for new argument START-REVISION.
13124 (vc-git-show-log-entry): Return t on success.
13125 * vc-bzr.el (vc-bzr-print-log): Add support new argument START-REVISION.
13126 (vc-bzr-show-log-entry): Return t on success.
13127 * vc-rcs.el (vc-rcs-print-log):
13128 * vc-sccs.el (vc-sccs-print-log):
13129 * vc-cvs.el (vc-cvs-print-log): Add new argument, ignore it.
13131 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
13133 * ediff-mult.el (ediff-setup-meta-map, ediff-prepare-meta-buffer):
13134 Add menus to the meta mode. (Bug#5043)
13136 2009-12-07 Michael Kifer <kifer@cs.stonybrook.edu>
13138 * ediff-init.el (ediff-event-key): Use event-to-character instead of
13141 * ediff.el (ediff-buffers-internal): Add unwind-protect.
13143 2009-12-07 Michael Albinus <michael.albinus@gmx.de>
13145 Handle prompt rules of ksh in OpenBSD 4.5. Reported by Raphaël
13146 Berbain <raphael.berbain@gmail.com>.
13148 * net/tramp.el (tramp-end-of-output): Move up. Use `#' and `$'
13150 (tramp-initial-end-of-output): New defconst.
13151 (tramp-methods, tramp-find-shell)
13152 (tramp-open-connection-setup-interactive-shell)
13153 (tramp-maybe-open-connection): Use it.
13154 (tramp-shell-prompt-pattern, tramp-wait-for-output):
13155 Handle existence of `#' and `$'.
13157 * net/tramp-fish.el (tramp-fish-maybe-open-connection):
13158 Use `tramp-initial-end-of-output'.
13160 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
13162 Get the background mode from the terminal for xterm, and set
13164 * term/xterm.el (xterm-set-background-mode): New function.
13165 (terminal-init-xterm): Use it in case xterm supports background
13166 color queries. Recompute faces after getting the background
13169 2009-12-07 Ulrich Mueller <ulm@gentoo.org>
13171 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Put the version
13172 number comment back on its own line, for easier parsing.
13174 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
13176 Make it work for non-file buffers (bug#5102).
13177 * doc-view.el (doc-view-current-cache-dir):
13178 Use doc-view-buffer-file-name rather than buffer-file-name.
13179 (doc-view-mode): Use buffer-name when buffer-file-name is nil.
13181 2009-12-06 Óscar Fuentes <ofv@wanadoo.es>
13183 * vc-bzr.el (vc-bzr-annotate-command): Handle the case where the
13184 author field is too short.
13186 2009-12-06 Dan Nicolaescu <dann@ics.uci.edu>
13188 * vc-git.el (vc-git-print-log): Handle a limit argument.
13189 Display the short log in graph form and with labels.
13190 (vc-git-log-view-mode): Handle labels.
13192 Make vc-revert change VC state from 'added to 'unregistered.
13193 * vc-git.el (vc-git-revert): Call git reset first.
13195 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
13197 * net/newst-backend.el, net/newst-plainview.el:
13198 * net/newst-reader.el, net/newst-ticker.el:
13199 * net/newst-treeview.el, net/newsticker.el:
13200 Require/provide newst-... (instead of newsticker-...). (Bug#5096)
13202 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
13204 * log-view.el (log-view-mode-map): Bind "=" to log-view-diff too.
13206 * vc-bzr.el (vc-bzr-annotate-command): Show author in annotation.
13207 Handle empty author field (Bug#4144). Suggested by Óscar Fuentes.
13208 (vc-bzr-annotate-time, vc-bzr-annotate-extract-revision-at-line):
13209 Update annotation regexp.
13211 * simple.el (beginning-of-visual-line): Constrain to field
13212 boundaries (Bug#5106).
13214 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
13216 * xml.el (xml-substitute-numeric-entities):
13217 Move newsticker--decode-numeric-entities in newst-backend.el to
13218 xml-substitute-numeric-entities in xml.el. (Bug#5008)
13219 * net/newst-backend.el (newsticker--parse-generic-feed)
13220 (newsticker--parse-generic-items)
13221 (newsticker--decode-numeric-entities):
13222 Move newsticker--decode-numeric-entities in newst-backend.el to
13223 xml-substitute-numeric-entities in xml.el. (Bug#5008)
13225 2009-12-06 Daniel Colascione <dan.colascione@gmail.com>
13227 * progmodes/js.el (js--js-not): Add null to the list of values.
13229 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
13231 * ansi-color.el (ansi-color-for-comint-mode): Add :version keyword.
13233 2009-12-06 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
13235 * textmodes/bibtex.el (bibtex-enclosing-field): Exclude entry
13236 delimiter if it is at the end of the current line.
13237 (bibtex-generate-url-list): Fix docstring.
13239 2009-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
13241 * minibuffer.el (minibuffer-complete-and-exit): Don't replace the
13242 minibuffer's content with itself.
13243 Fold the confirm-after-completion case into the `confirm' case.
13244 (completion-pcm-word-delimiters): Add : and / to the delimiters.
13246 2009-12-06 Kevin Ryde <user42@zip.com.au>
13248 * ffap.el (ffap-rfc-path): Make this a defcustom since
13249 `ffap-rfc-directories' is also a defcustom. (Bug#4514.)
13251 * info-look.el: Add setup for apropos-mode to use emacs-lisp-mode
13252 manuals, similar to existing setup for help-mode. (Bug#3913.)
13254 2009-12-05 Juri Linkov <juri@jurta.org>
13256 Save and restore dired buffer's point positions too. (Bug#4880)
13258 * dired.el (dired-save-positions): Return in the first element
13259 buffer's position in format (BUFFER DIRED-FILENAME BUFFER-POINT).
13261 (dired-restore-positions): First restore buffer's position.
13262 While restoring window's positions, check if window still displays
13263 the original buffer.
13265 2009-12-05 Chong Yidong <cyd@stupidchicken.com>
13267 * bindings.el (complete-symbol): Call semantic-ia-complete-symbol
13270 * shell.el (shell): Require ansi-color (Bug#5113).
13272 * ansi-color.el (ansi-color-for-comint-mode): Default to t.
13274 * hl-line.el (global-hl-line-highlight): Minor doc fix (Bug#4925).
13276 2009-12-05 Alan Mackenzie <acm@muc.de>
13278 * progmodes/cc-mode.el (c-before-hack-hook)
13279 (c-postprocess-file-styles): Revert change 2009-07-18T21:03:43Z!acm@muc.de to permit
13280 `c-file-style' to work again. This reversion restores the current
13281 software to its state in Emacs 23.1. (Bug#4146)
13283 2009-12-05 Kevin Ryde <user42@zip.com.au>
13285 * textmodes/sgml-mode.el (sgml-lexical-context):
13286 Recognise comment-start-skip to comment-end-skip as comment (Bug#4781).
13288 2009-12-05 Juri Linkov <juri@jurta.org>
13290 * info.el (Info-find-node-2): Set `Info-current-subfile' to nil
13291 for virtual nodes. (Bug#4147)
13292 (Info-find-node-2): Set `Info-current-node-virtual' to nil
13293 when moving from a virtual node.
13294 (Info-mode-menu): Add `Info-virtual-index' to the menu.
13295 (Info-mode): Add `Info-virtual-index' to the docstring.
13297 2009-12-05 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
13299 * textmodes/bibtex.el (bibtex-map-entries): Use marker to keep
13300 track of the buffer position of the end of a BibTeX entry as this
13301 position may change during reformatting.
13302 (bibtex-format-entry): Remove whitespace before processing
13303 numerical fields so that we recognize the latter properly.
13304 (bibtex-reformat): Do not use push which changes the global value
13305 of bibtex-entry-format.
13306 (bibtex-field-braces-alist, bibtex-field-strings-alist)
13307 (bibtex-field-re-init): Replace only space characters by regexp
13309 (bibtex-generate-url-list, bibtex-cite-matcher-alist): Fix docstring.
13310 (bibtex-initialize): Also update bibtex-strings.
13311 (bibtex-kill-field): Preserve white space at end of entry.
13312 (bibtex-kill-entry, bibtex-yank-pop, bibtex-insert-kill):
13313 Update bibtex-reference-keys.
13315 2009-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
13317 * minibuffer.el (completion-pcm--merge-try): Also consider placing
13318 point after a star, if that's the only place where modifications can
13321 2009-12-05 Dan Nicolaescu <dann@ics.uci.edu>
13323 * vc-dir.el (vc-dir): Use the correct markup for showing keymaps
13326 2009-12-04 Juri Linkov <juri@jurta.org>
13328 * proced.el (proced): Call `(proced-update t)' to update process
13329 information instead of only running proced-post-display-hook.
13330 (proced-send-signal): Add a leading space to the buffer name
13331 " *Marked Processes*" to make this buffer ephemeral.
13333 2009-12-04 Juri Linkov <juri@jurta.org>
13335 * dired.el (dired-auto-revert-buffer): New defcustom.
13336 (dired-internal-noselect): Use it.
13338 2009-12-04 Juri Linkov <juri@jurta.org>
13340 Change roles of modes and functions in image-mode.el (Bug#5062).
13342 * image-mode.el: Replace `image-mode-maybe' with `image-mode'
13343 in `auto-mode-alist'.
13344 (image-mode-previous-major-mode): New variable.
13345 (image-minor-mode-map): Rename from `image-mode-text-map'.
13346 (image-mode): Move graceful error-handling code from
13347 `image-minor-mode' to here. On errors call `image-mode-as-text'.
13348 (image-minor-mode): Remove all image-handling code.
13349 Replace `image-mode-text-map' with `image-minor-mode-map'.
13350 Check for `image-type' in mode-line format string.
13351 (image-mode-maybe): Make obsolete with an alias to `image-mode'.
13352 (image-mode-as-text): New function with most code from
13353 `image-mode-maybe'.
13354 (image-toggle-display-text): Move code that removes image
13355 properties from `image-toggle-display' to here.
13356 (image-toggle-display-image): New function with code that adds
13357 image properties copied from `image-toggle-display'.
13358 (image-toggle-display): Remove most code with leaving only code
13359 that toggles between `image-mode-as-text' and `image-mode'.
13361 2009-12-04 Ulf Jasper <ulf.jasper@web.de>
13363 * net/newst-treeview.el
13364 (newsticker--treeview-list-highlight-start): Restored call to
13365 save-excursion: Selected item was stuck.
13366 (newsticker--treeview-list-select): New.
13367 (newsticker--treeview-item-show-text)
13368 (newsticker--treeview-item-show)
13369 (newsticker--treeview-item-update): Use new
13370 newsticker-treeview-item-mode.
13371 (newsticker-treeview-update): Keep current item.
13372 (newsticker-treeview-next-new-or-immortal-item): Doc change.
13373 (newsticker--treeview-first-feed): Doc change.
13374 (newsticker-treeview-list-menu)
13375 (newsticker-treeview-item-menu): Add menu entries.
13376 (newsticker-treeview-item-mode): New.
13378 * net/newst-backend.el (newsticker-customize): Delete other
13381 2009-12-04 Sam Steingold <sds@gnu.org>
13383 * log-view.el (log-view-mode-map): "q" calls quit-window,
13384 like in all the other non-self-insert buffers.
13386 2009-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
13389 * term.el (term-send-raw, term-send-raw-meta): Use read-key-sequence's
13390 key decoding rather than do it manually via last-input-event +
13392 (term-exec): Use delete-and-extract-region.
13393 (term-handle-ansi-terminal-messages): Remove unused var `end'.
13394 (term-process-pager): Remove unused var `i'.
13395 (term-dynamic-simple-complete): Make obsolete.
13396 (serial-update-config-menu): Remove unused vars `y' and `str'.
13397 (term-update-mode-line): Remove unused var `temp'.
13399 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
13401 Limit the number of log entries displayed by default.
13402 * vc.el (vc-print-log-internal): Fix check for limit-unsupported.
13403 (vc-print-log, vc-print-root-log): Use vc-log-show-limit when not
13404 using a prefix argument.
13406 2009-12-03 Glenn Morris <rgm@gnu.org>
13408 * progmodes/idlwave.el (class): Restore still useful declaration.
13410 2009-12-03 Alan Mackenzie <acm@muc.de>
13412 Enhance `c-parse-state' to run efficiently in "brace deserts".
13414 * progmodes/cc-mode.el (c-basic-common-init):
13415 Call c-state-cache-init.
13416 (c-neutralize-syntax-in-and-mark-CPP): Rename from
13417 c-extend-and-neutralize-syntax-in-CPP. Mark each CPP construct by
13418 placing `category' properties value 'c-cpp-delimiter at its boundaries.
13420 * progmodes/cc-langs.el (c-before-font-lock-function):
13421 c-extend-and-neutralize-syntax-in-CPP has been renamed
13422 c-neutralize-syntax-in-and-mark-CPP.
13424 * progmodes/cc-fonts.el (c-cpp-matchers): Mark template brackets
13425 with `category' properties now, not `syntax-table' ones.
13427 * progmodes/cc-engine.el (c-syntactic-end-of-macro): A new
13428 enhanced (but slower) version of c-end-of-macro that won't land
13429 inside a literal or on another awkward character.
13430 (c-state-cache-too-far, c-state-cache-start)
13431 (c-state-nonlit-pos-interval, c-state-nonlit-pos-cache)
13432 (c-state-nonlit-pos-cache-limit, c-state-point-min)
13433 (c-state-point-min-lit-type, c-state-point-min-lit-start)
13434 (c-state-min-scan-pos, c-state-brace-pair-desert)
13435 (c-state-old-cpp-beg, c-state-old-cpp-end): New constants and
13436 buffer local variables.
13437 (c-state-literal-at, c-state-lit-beg)
13438 (c-state-cache-non-literal-place, c-state-get-min-scan-pos)
13439 (c-state-mark-point-min-literal, c-state-cache-top-lparen)
13440 (c-state-cache-top-paren, c-state-cache-after-top-paren)
13441 (c-get-cache-scan-pos, c-get-fallback-scan-pos)
13442 (c-state-balance-parens-backwards, c-parse-state-get-strategy)
13443 (c-renarrow-state-cache)
13444 (c-append-lower-brace-pair-to-state-cache)
13445 (c-state-push-any-brace-pair, c-append-to-state-cache)
13446 (c-remove-stale-state-cache)
13447 (c-remove-stale-state-cache-backwards, c-state-cache-init)
13448 (c-invalidate-state-cache-1, c-parse-state-1)
13449 (c-invalidate-state-cache): New defuns/defmacros/defsubsts.
13450 (c-parse-state): Enhance and refactor.
13451 (c-debug-parse-state): Amend to deal with all the new variables.
13453 * progmodes/cc-defs.el (c-<-as-paren-syntax, c-mark-<-as-paren)
13454 (c->-as-paren-syntax, c-mark->-as-paren, c-unmark-<->-as-paren):
13455 modify to use category text properties rather than syntax-table ones.
13456 (c-suppress-<->-as-parens, c-restore-<->-as-parens): New defsubsts
13457 to switch off/on the syntactic paren property of C++ template
13458 delimiters using the category property.
13459 (c-with-<->-as-parens-suppressed): Macro to invoke code with
13460 template delims suppressed.
13461 (c-cpp-delimiter, c-set-cpp-delimiters, c-clear-cpp-delimiters):
13462 New constant/macros which apply category properties to the start
13463 and end of preprocessor constructs.
13464 (c-comment-out-cpps, c-uncomment-out-cpps): Defsubsts which
13465 "comment out" the syntactic value of characters in preprocessor
13467 (c-with-cpps-commented-out)
13468 (c-with-all-but-one-cpps-commented-out): Macros to invoke code
13469 with characters in all or all but one preprocessor constructs
13472 2009-12-03 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
13474 * proced.el (proced-filter-alist): Use regexp-quote.
13476 2009-12-03 Michael Albinus <michael.albinus@gmx.de>
13479 * eshell/em-unix.el (top): Require 'esh-opt and 'pcomplete.
13480 (eshell/su, eshell/sudo): Require 'tramp. Fix problems reading
13481 arguments. Expand `default-directory'.
13483 * net/tramp.el (tramp-handle-file-remote-p): Expand FILENAME for
13484 the benefit of returning an expanded localname.
13485 (tramp-tramp-file-p): Handle the case NAME is not a string.
13487 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
13489 Add support for bzr shelve/unshelve.
13490 * vc-bzr.el (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
13491 (vc-bzr-extra-menu-map): New variables.
13492 (vc-bzr-extra-menu, vc-bzr-extra-status-menu, vc-bzr-shelve)
13493 (vc-bzr-shelve-apply, vc-bzr-shelve-list)
13494 (vc-bzr-shelve-get-at-point, vc-bzr-shelve-delete-at-point)
13495 (vc-bzr-shelve-apply-at-point, vc-bzr-shelve-menu): New functions.
13496 (vc-bzr-dir-extra-headers): Display shelves.
13498 * vc-bzr.el (vc-bzr-print-log): Deal with nil arguments better.
13500 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
13502 * textmodes/bibtex.el (bibtex-complete-internal):
13503 Use completion-in-region.
13504 (bibtex-text-in-field-bounds): Remove unused var `opoint'.
13506 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
13508 Support applying stashes. Improve UI.
13509 * vc-git.el (vc-git-dir-extra-headers): Add tooltips.
13510 (vc-git-stash-apply, vc-git-stash-pop)
13511 (vc-git-stash-apply-at-point, vc-git-stash-pop-at-point)
13512 (vc-git-stash-menu): New functions.
13513 (vc-git-stash-menu-map): New variable.
13514 (vc-git-stash-map): Add bindings to popup a menu and to apply stashes.
13516 2009-12-03 Glenn Morris <rgm@gnu.org>
13518 * vc.el (log-view-vc-backend, log-view-vc-fileset): Declare.
13519 (vc-print-log-internal): Fix previous change.
13520 (vc-revert): Correct pluralization.
13522 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
13524 * progmodes/make-mode.el (makefile-special-targets-list): No need for
13525 it to be an alist any more.
13526 (makefile-complete): Use completion-in-region.
13528 * progmodes/octave-mod.el (octave-complete-symbol):
13529 Use completion-in-region.
13532 * progmodes/idlwave.el (idlwave-comment-hook): Simplify with `or'.
13533 (idlwave-code-abbrev, idlwave-display-user-catalog-widget)
13534 (idlwave-complete-class): Don't quote lambda.
13535 (idlwave-find-symbol-syntax-table, idlwave-mode-syntax-table)
13536 (idlwave-mode-map): Move initialization into declaration.
13537 (idlwave-action-and-binding): Use backquotes.
13538 (idlwave-in-quote, idlwave-reset-sintern, idlwave-complete-in-buffer):
13540 (idlwave-is-pointer-dereference): Remove unused var `pos'.
13541 (idlwave-xml-create-rinfo-list): Remove unused var `entry'.
13542 (idlwave-convert-xml-clean-sysvar-aliases): Remove unused vars `new',
13543 `parts', and `all-parts'.
13544 (idlwave-xml-create-sysvar-alist): Remove unused var `fields'.
13545 (idlwave-convert-xml-system-routine-info): Remove unused string
13547 (idlwave-display-user-catalog-widget): Use dolist.
13548 (idlwave-scanning-lib): Declare dynamically-scoped var.
13549 (idlwave-scan-library-catalogs): Remove unused var `flags'.
13550 (completion-highlight-first-word-only): Declare to silence bytecomp.
13551 (idlwave-popup-select): Tighten scope of `resp'.
13552 (idlwave-find-struct-tag): Remove unused var `beg'.
13553 (idlwave-after-load-rinfo-hook): Declare.
13554 (idlwave-sintern-class-info): Remove unused var `taglist'.
13555 (idlwave-find-class-definition): Remove unused var `list'.
13556 (idlwave-complete-sysvar-tag-help): Remove unused var `main-base'.
13557 (idlwave-what-module-find-class): Remove unused var `classes'.
13559 2009-12-03 Juanma Barranquero <lekktu@gmail.com>
13561 * progmodes/pascal.el: Require CL when compiling (for lexical-let).
13563 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
13565 * hippie-exp.el (try-expand-dabbrev-visible): Preserve point in the
13566 buffers visited. Remove redundant current-buffer-saving.
13568 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
13570 Use completion-in-buffer and remove uses of dynamic scoping.
13571 * progmodes/pascal.el (pascal-str, pascal-all, pascal-pred)
13572 (pascal-buffer-to-use, pascal-flag): Don't declare.
13573 (pascal-func-completion, pascal-type-completion, pascal-var-completion)
13574 (pascal-get-completion-decl, pascal-keyword-completion):
13575 Add `pascal-str' argument, save-excursion,
13576 return the found completions, and don't filter with pascal-pred.
13577 (pascal-completion-cache): New var.
13578 (pascal-completion): Don't switch buffer any more (it was never
13579 necessary). Don't save-excursion any more (it's done by the called
13580 subroutines). Use a cache to avoid redundant computations.
13581 Use complete-with-action rather than pascal-completion-response and
13582 let it apply the predicate as well.
13583 (pascal-complete-word): Use completion-in-buffer when
13584 pascal-toggle-completions is nil.
13585 (pascal-show-completions): Don't bind pascal-buffer-to-use since it's
13587 (pascal-comp-defun): Don't change buffer any more.
13588 Use complete-with-action rather than pascal-completion-response and
13589 let it apply the predicate as well.
13590 (pascal-goto-defun): Change buffer before calling pascal-comp-defun
13593 2009-12-02 Kenichi Handa <handa@m17n.org>
13595 * language/indian.el: Include ZWJ and ZWNJ in the patterns to
13596 shape for all Indic scripts.
13598 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
13600 Use completion-in-buffer.
13601 * wid-edit.el (widget-field-text-end): New function.
13602 (widget-field-value-get): Use it.
13603 (widget-string-complete, widget-file-complete)
13604 (widget-color-complete): Use it and completion-in-region.
13605 (widget-complete): Don't narrow the buffer.
13607 2009-12-02 Glenn Morris <rgm@gnu.org>
13609 * mail/rmail.el (rmail-pop-to-buffer): New function. (Bug#2282)
13610 (rmail-select-summary): Use rmail-pop-to-buffer.
13611 * mail/rmailsum.el: Replace all pop-to-buffer calls with
13612 rmail-pop-to-buffer, to prevent horizontal splits.
13614 * calendar/diary-lib.el (diary-list-entries): Replace superfluous
13615 save-excursion with save-current-buffer.
13616 Widen before searching. (Bug#5093)
13617 (diary-list-sexp-entries): Remove superfluous save-excursion.
13619 2009-12-02 Michael Welsh Duggan <mwd@cert.org>
13621 * woman.el (woman-make-bufname): Handle man-pages with "." in the
13624 2009-12-02 Andreas Politz <politza@fh-trier.de> (tiny change)
13626 * ido.el (ido-file-internal): Handle filenames at point that do
13627 not have a directory part. (Bug#5049)
13629 2009-12-02 Juanma Barranquero <lekktu@gmail.com>
13631 * mpc.el (mpc-intersection, mpc-host, mpc-songs-playlist)
13632 (mpc-songs-jump-to, mpc-resume): Doc fixes.
13634 2009-12-01 Rob Riepel <riepel@networking.Stanford.EDU>
13636 * emulation/tpu-extras.el (tpu-cursor-free-mode): Emit message.
13637 (tpu-set-cursor-free, tpu-set-cursor-bound): Don't emit a message
13640 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
13642 * comint.el (comint-insert-input): Ignore clicks to the right of
13643 the field. Reported by Bob Nnamtrop <bobnnamtrop@gmail.com>.
13645 * vc.el (vc-print-log-internal): Don't wait for the process to
13646 terminate before setting up the major mode.
13648 * pcmpl-unix.el (pcomplete/cd): Complete more than one argument, just
13651 * pcomplete.el (pcomplete-std-complete): Don't try to complete past
13654 * simple.el (normal-erase-is-backspace-mode): Fix thinko in message.
13656 2009-12-01 Glenn Morris <rgm@gnu.org>
13658 * window.el (window--display-buffer-2): Fix previous changes.
13660 2009-12-01 Chong Yidong <cyd@stupidchicken.com>
13662 * mail/sendmail.el (mail-setup-hook, mail-send-hook): Doc fixes.
13664 2009-12-01 Glenn Morris <rgm@gnu.org>
13666 * Makefile.in (ELCFILES): Add mpc.elc.
13668 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
13670 * mpc.el: New file.
13672 2009-12-01 Glenn Morris <rgm@gnu.org>
13674 * window.el (window-to-use): Define for compiler.
13676 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Make message
13677 consistent with others (no final period).
13679 * mail/rmailmm.el (rmail-mime-handle): Doc fix.
13680 (rmail-mime-show): Downcase the encoding. (Bug#5070)
13682 2009-12-01 Dan Nicolaescu <dann@ics.uci.edu>
13684 Make vc-print-log buttons work.
13685 * log-view.el (log-view-mode-map): Inherit from widget-keymap.
13687 2009-11-30 Ryan C. Thompson <rct@thompsonclan.org> (tiny change)
13689 * savehist.el (savehist-autosave-interval): Allow setting to nil
13690 through customize. (Bug#5056)
13692 2009-11-30 Juanma Barranquero <lekktu@gmail.com>
13694 Fix references to jit-lock properties.
13695 * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
13696 Refer to jit-lock-defer-multiline, not jit-lock-multiline.
13697 (perl-font-lock-special-syntactic-constructs):
13698 Quote jit-lock-defer-multiline property.
13700 2009-11-30 Dan Nicolaescu <dann@ics.uci.edu>
13702 * vc-git.el (vc-git-registered): Call vc-git-root only once.
13704 2009-11-30 Juri Linkov <juri@jurta.org>
13706 * misearch.el (multi-isearch-search-fun): Always provide a non-nil
13707 value `buffer' of `multi-isearch-next-buffer-current-function'.
13708 Use `(current-buffer)' when `buffer' is nil.
13709 (multi-isearch-next-buffer-from-list): Don't fallback to
13710 `(current-buffer)' when `buffer' is nil. (Bug#4947)
13712 2009-11-30 Juri Linkov <juri@jurta.org>
13714 * misearch.el (multi-isearch-read-buffers): Move canonicalization
13715 of buffers with `get-buffer' to `multi-isearch-buffers'.
13716 (multi-isearch-buffers, multi-isearch-buffers-regexp):
13717 Canonicalize BUFFERS with `get-buffer'. Doc fix.
13718 (multi-isearch-files, multi-isearch-files-regexp): Canonicalize
13719 FILES with `expand-file-name' converting relative file names
13720 to absolute. Doc fix. (Bug#4727)
13722 2009-11-30 Juri Linkov <juri@jurta.org>
13724 * misearch.el (multi-isearch-read-buffers)
13725 (multi-isearch-read-matching-buffers): New functions.
13726 (multi-isearch-buffers, multi-isearch-buffers-regexp):
13727 Use them in the `interactive' spec. Doc fix.
13728 (multi-isearch-read-files, multi-isearch-read-matching-files):
13730 (multi-isearch-files, multi-isearch-files-regexp):
13731 Use them in the `interactive' spec. Doc fix. (Bug#4725)
13733 2009-11-30 Juri Linkov <juri@jurta.org>
13735 * doc-view.el (doc-view-continuous):
13736 Rename from `doc-view-continuous-mode'.
13737 (doc-view-menu): Move "Toggle display" to the top.
13738 Add submenu "Continuous" with radio buttons "Off"/"On"
13739 and "Save as Default".
13740 (doc-view-scroll-up-or-next-page)
13741 (doc-view-scroll-down-or-previous-page)
13742 (doc-view-next-line-or-next-page)
13743 (doc-view-previous-line-or-previous-page):
13744 Rename `doc-view-continuous-mode' to `doc-view-continuous'. (Bug#4896)
13746 2009-11-30 Juri Linkov <juri@jurta.org>
13748 * comint.el (comint-mode-map): Rebind `M-r' from
13749 `comint-previous-matching-input' to
13750 `comint-history-isearch-backward-regexp'.
13751 Unbind `M-s' to allow global key binding `M-s'.
13752 Add menu items for `comint-history-isearch-backward' and
13753 `comint-history-isearch-backward-regexp'. (Bug#3746)
13755 2009-11-30 Juri Linkov <juri@jurta.org>
13757 * replace.el (perform-replace): Let-bind recenter-last-op to nil.
13758 For def=recenter, replace `recenter' with `recenter-top-bottom'
13759 that is called with `this-command' and `last-command' let-bound
13760 to `recenter-top-bottom'. When the last `def' was not `recenter',
13761 set `recenter-last-op' to nil. (Bug#4981)
13763 2009-11-30 Stefan Monnier <monnier@iro.umontreal.ca>
13765 Minor cleanup and simplification.
13766 * filecache.el (file-cache-add-directory)
13767 (file-cache-add-directory-recursively)
13768 (file-cache-add-from-file-cache-buffer)
13769 (file-cache-delete-file-regexp, file-cache-delete-directory)
13770 (file-cache-files-matching-internal, file-cache-display): Use dolist.
13771 (file-cache-temp-minibuffer-message): Delete function.
13772 (file-cache-minibuffer-complete): Use minibuffer-message instead.
13774 * progmodes/perl-mode.el (perl-font-lock-special-syntactic-constructs):
13775 Don't signal an error when bumping into EOB in tr, s, or y.
13777 2009-11-29 Juri Linkov <juri@jurta.org>
13779 * startup.el (fancy-about-text): Fix wording of Guided Tour.
13782 * descr-text.el (describe-char-unidata-list): Use lowercase name
13783 for "Unicode name" like in other tags.
13785 2009-11-29 Juri Linkov <juri@jurta.org>
13787 * ediff-util.el (ediff-minibuffer-with-setup-hook):
13788 New compatibility macro.
13789 (ediff-read-file-name): Use it instead of `minibuffer-with-setup-hook'.
13791 2009-11-29 Juri Linkov <juri@jurta.org>
13793 Add defcustom to define the cycling order of `recenter-top-bottom'.
13796 * window.el (recenter-last-op): Doc fix.
13797 (recenter-positions): New defcustom.
13798 (recenter-top-bottom): Rewrite to use `recenter-positions'.
13799 (move-to-window-line-top-bottom): Rewrite to use `recenter-positions'.
13801 2009-11-29 Michael Albinus <michael.albinus@gmx.de>
13803 Improve integration of Tramp and ange-ftp in eshell.
13805 * eshell/em-unix.el (eshell/whoami): Make it a defun but a defalias.
13806 (eshell/su): Flatten args. Apply better args parsing. Use "cd".
13807 (eshell/sudo): Flatten args. Let-bind `default-directory'.
13809 * eshell/esh-util.el (top): Require also Tramp when compiling.
13810 (eshell-directory-files-and-attributes): Check for FTP remote
13812 (eshell-parse-ange-ls): Let-bind `ange-ftp-name-format',
13813 `ange-ftp-ftp-name-arg', `ange-ftp-ftp-name-res'.
13814 (eshell-file-attributes): Handle ".". Return `entry'.
13816 * net/ange-ftp.el (ange-ftp-parse-filename): Use `save-match-data'.
13817 (ange-ftp-directory-files-and-attributes)
13818 (ange-ftp-real-directory-files-and-attributes): New defuns.
13820 * net/tramp.el (tramp-maybe-open-connection): Open the remote
13821 shell with "exec" when possible. This prevents trailing prompts
13822 in `start-file-process'.
13824 2009-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
13826 Try and remove assumptions about point-min==1.
13827 * nxml/rng-valid.el (rng-validate-mode): Don't hardcode point-min==1.
13828 (rng-compute-mode-line-string): Show the validation percentage in
13829 terms of the narrowed text, not the widened text.
13830 (rng-do-some-validation): Don't catch internal errors when debugging.
13831 (rng-first-error): Simplify.
13832 (rng-after-change-function): Remove work around. AFAIK the bug has
13833 been fixed a while ago.
13835 * image-mode.el (image-minor-mode): Exit more gracefully when the image
13836 cannot be displayed (e.g. when doing C-x C-f some-new-file.svg RET).
13838 * man.el (Man-completion-table): Make it easier to enter "<sec> <name>".
13840 * eshell/em-prompt.el (eshell-prompt-function): Abbreviate pwd, since
13841 `cd' doesn't always do it for us (bug#5067).
13843 * pcomplete.el (pcomplete-entries): Revert change installed mistakenly
13844 on 2009-10-25 as part of some other change (bug#5067).
13846 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
13848 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
13850 (byte-compile-warnings): Use byte-compile-warning-types.
13851 (byte-compile-save-excursion): Warn about use of set-buffer right
13852 after save-excursion.
13854 * progmodes/gud.el (gud-basic-call): Don't only save the buffer but
13855 the excursion as well.
13857 2009-11-27 Michael Albinus <michael.albinus@gmx.de>
13859 * eshell/em-unix.el (eshell/su, eshell/sudo): New defuns,
13860 providing a Tramp related implementation of "su" and "sudo".
13861 (eshell-unix-initialize): Add "su" and "sudo".
13863 2009-11-27 Daiki Ueno <ueno@unixuser.org>
13865 * net/socks.el (socks-send-command): Convert binary request to
13866 unibyte before sending. This fixes mishandling of some port
13867 numbers such as 129.
13869 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
13871 * help.el (describe-bindings-internal): Remove `interactive'.
13873 * man.el (Man-completion-table): Trim a terminating "(".
13874 Remove the space between name page a section.
13875 Add the command's description on the `help-echo' property.
13876 Remove `process-connection-type' binding since it's unused by
13878 Provide completion for the "<section> <name>" format as well.
13879 (Man-default-man-entry): Remove spurious var shadowing the argument.
13881 2009-11-26 Kevin Ryde <user42@zip.com.au>
13883 * log-view.el: Add "Keywords: tools", since its other keywords
13884 aren't in finder-known-keywords, and following vc.el.
13886 * sha1.el (sha1-string-external): default-directory "/" in case
13887 otherwise non-existent. process-connection-type pipe for touch of
13888 efficiency recommended by elisp manual. (An aside in Bug#3911.)
13890 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
13892 Misc coding convention cleanups.
13893 * htmlfontify.el (hfy-init-kludge-hook): Rename from
13894 hfy-init-kludge-hooks.
13895 (hfy-etags-cmd, hfy-flatten-style, hfy-invisible-name, hfy-face-at)
13896 (hfy-fontify-buffer, hfy-prepare-index-i, hfy-subtract-maps)
13897 (hfy-save-kill-buffers, htmlfontify-copy-and-link-dir): Use dolist
13899 (hfy-slant, hfy-weight): Use tables rather than code.
13900 (hfy-box-to-border-assoc, hfy-box-to-style, hfy-decor)
13901 (hfy-face-to-style-i, hfy-fontify-buffer): Use `case'.
13902 (hfy-face-attr-for-class): Initialize `face-spec' directly.
13903 (hfy-face-to-css): Remove `nconc' with single arg.
13904 (hfy-p-to-face-lennart): Use `or'.
13905 (hfy-face-at): Hoist common code. Remove spurious quotes in `case'.
13906 (hfy-overlay-props-at, hfy-mark-tag-hrefs): Eta-reduce.
13907 (hfy-compile-stylesheet, hfy-merge-adjacent-spans)
13908 (hfy-compile-face-map, hfy-parse-tags-buffer): Use push.
13909 (hfy-force-fontification): Use run-hooks.
13911 2009-11-26 Vivek Dasmohapatra <vivek@etla.org>
13913 Various minor fixes.
13914 * htmlfontify.el (hfy-default-header): Add toggle_invis since
13915 Javascript belongs in the header, not the body.
13916 (hfy-javascript): Remove.
13917 (hfy-fontify-buffer): Don't insert it any more.
13918 (hfy-face-at): Handle (face0 face1 face2) style face properties.
13919 Fix bug in invis handling when there were no invis props in a chunk.
13921 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
13923 * vc-bzr.el (vc-bzr-annotate-command): Make operation asynchronous.
13925 2009-11-26 Dan Nicolaescu <dann@ics.uci.edu>
13927 * finder.el (finder-mode-map): Add a menu.
13929 2009-11-26 Michael McNamara <mac@mail.brushroad.com>
13931 * progmodes/verilog-mode.el (verilog-at-struct-p): Support "signed" and
13932 "unsigned" structs.
13934 (verilog-leap-to-head, verilog-backward-token): Handle "disable
13935 fork" statement better.
13937 2009-11-26 Wilson Snyder <wsnyder@wsnyder.org>
13939 * progmodes/verilog-mode.el (verilog-auto-insert-lisp)
13940 (verilog-delete-auto, verilog-delete-empty-auto-pair)
13941 (verilog-library-filenames): Fix AUTOINSERTLISP to support insert-file.
13942 Reported by Clay Douglass.
13944 (verilog-auto-inst, verilog-auto-star-safe)
13945 (verilog-delete-auto-star-implicit, verilog-read-sub-decls):
13946 Fix removing "// Interfaces" when saving .* expansions.
13947 Reported by Pierre-David Pfister.
13949 2009-11-26 Glenn Morris <rgm@gnu.org>
13951 * eshell/em-dirs.el (eshell/cd): Don't throw to a tag outside
13954 2009-11-25 Johan Bockgård <bojohan@gnu.org>
13956 * vc-annotate.el (vc-annotate-revision-previous-to-line):
13957 Really use previous revision.
13959 2009-11-25 Kevin Ryde <user42@zip.com.au>
13961 * man.el (Man-completion-table): default-directory "/" in case
13962 doesn't otherwise exist. process-environment COLUMNS=999 so as
13963 not to truncate long names. process-connection-type pipe to avoid
13964 any chance of hitting the pseudo-tty TIOCGWINSZ.
13965 (man): completion-ignore-case t for friendliness and since man
13966 itself is case-insensitive on the command line.
13967 Further to Bug#3717.
13969 * arc-mode.el: Add "Keywords: files", so the details in its
13970 commentary can be reached from finder-by-keyword.
13971 * textmodes/dns-mode.el: Add "Keywords: comm". It's only an
13972 editing mode, but it's comms related and sgml-mode.el has "comm"
13974 * textmodes/bibtex-style.el: Add "Keywords: tex".
13975 * international/isearch-x.el, international/ja-dic-cnv.el:
13976 * international/ja-dic-utl.el, international/kkc.el:
13977 Add "Keywords: i18n", so they can be reached from finder-by-keyword.
13979 2009-11-25 Juri Linkov <juri@jurta.org>
13981 * man.el (Man-completion-table): Modify regexp to include
13982 section names to completion strings. (Bug#3717)
13984 2009-11-25 Juri Linkov <juri@jurta.org>
13986 Search recursively in gzipped files. (Bug#4982)
13988 * progmodes/grep.el (grep-highlight-matches): Add new options
13989 `always' and `auto'. Doc fix.
13990 (grep-process-setup): Check `grep-highlight-matches' for
13991 `auto-detect' to determine the need to compute grep defaults.
13992 Move Windows/DOS specific --colors settings handling
13993 to `grep-compute-defaults'. Check `grep-highlight-matches'
13994 to get the value of "--color=".
13995 (grep-compute-defaults): Compute `grep-highlight-matches' when it
13996 has the value `auto-detect'. Move Windows/DOS specific settings
13997 from `grep-process-setup'.
13998 (zrgrep): New command with alias `rzgrep'.
14000 2009-11-25 Juri Linkov <juri@jurta.org>
14002 * doc-view.el (doc-view-mode): Set buffer-local `view-read-only'
14003 to nil instead of switching off view-mode. (Bug#4896)
14005 2009-11-25 Juri Linkov <juri@jurta.org>
14007 Mouse-wheel scrolling for DocView Continuous mode. (Bug#4896)
14009 * mwheel.el (mwheel-scroll-up-function)
14010 (mwheel-scroll-down-function): New defvars.
14011 (mwheel-scroll): Funcall `mwheel-scroll-up-function' instead of
14012 `scroll-up', and `mwheel-scroll-down-function' instead of
14015 * doc-view.el (doc-view-scroll-up-or-next-page)
14016 (doc-view-scroll-down-or-previous-page): Add optional ARG.
14017 Use this ARG in the call to image-scroll-up/image-scroll-down.
14018 Change `interactive' spec to "P". Goto next/previous page only
14019 when `doc-view-continuous-mode' is non-nil or ARG is nil (for the
14020 SPC/DEL case). Doc fix.
14021 (doc-view-next-line-or-next-page)
14022 (doc-view-previous-line-or-previous-page): Rename arg to ARG
14024 (doc-view-mode): Set buffer-local `mwheel-scroll-up-function' to
14025 `doc-view-scroll-up-or-next-page', and buffer-local
14026 `mwheel-scroll-down-function' to
14027 `doc-view-scroll-down-or-previous-page'.
14029 2009-11-25 Juri Linkov <juri@jurta.org>
14031 Provide additional default values (directories at other Dired
14032 windows) via M-n in the minibuffer of some Dired commands.
14034 * dired-aux.el (dired-diff, dired-compare-directories)
14035 (dired-do-create-files): Use `dired-dwim-target-defaults' to set
14036 `minibuffer-default' in `minibuffer-with-setup-hook'.
14037 (dired-dwim-target-directory): Find a window that displays Dired
14038 buffer instead of failing when the next window is not Dired.
14039 Use `get-window-with-predicate' to find for the next Dired window.
14040 (dired-dwim-target-defaults): New function.
14042 * ediff-util.el (ediff-read-file-name):
14043 Use `dired-dwim-target-defaults' to set `minibuffer-default'
14044 in `minibuffer-with-setup-hook'.
14046 2009-11-25 Juri Linkov <juri@jurta.org>
14048 Provide additional default values (file name at point or at the
14049 current Dired line) via M-n for file reading minibuffers. (Bug#5010)
14051 * minibuffer.el (read-file-name-defaults): New function.
14052 (read-file-name): Reset `minibuffer-default' to nil when
14053 it duplicates initial input `insdef'.
14054 Bind `minibuffer-default-add-function' to lambda that
14055 calls `read-file-name-defaults' in `minibuffer-selected-window'.
14056 (minibuffer-insert-file-name-at-point): New command.
14058 * files.el (file-name-at-point-functions): New defcustom.
14059 (find-file-default): Remove defvar.
14060 (find-file-read-args): Don't use `find-file-default'.
14061 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
14062 to `read-file-name'.
14063 (find-file-literally): Use `read-file-name' with
14064 `confirm-nonexistent-file-or-buffer'.
14066 * ffap.el (ffap-guess-file-name-at-point): New autoloaded function.
14068 * dired.el (dired-read-dir-and-switches):
14069 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
14070 to `read-file-name'.
14071 (dired-file-name-at-point): New function.
14072 (dired-mode): Add hook `dired-file-name-at-point' to
14073 `file-name-at-point-functions'.
14075 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
14077 Really make the *Completions* window soft-dedicated (bug#5030).
14078 * window.el (window--display-buffer-2): Add `dedicated' argument.
14079 (display-buffer): Pass it when needed so the dedicated flag is set
14080 after calling set-window-buffer, which would otherwise reset it.
14082 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
14084 * progmodes/meta-mode.el (meta-complete-symbol):
14085 * progmodes/etags.el (complete-tag):
14086 * mail/mailabbrev.el (mail-abbrev-complete-alias):
14087 Use completion-in-region.
14089 * dabbrev.el (dabbrev--minibuffer-origin): Use minibuffer-selected-window.
14090 (dabbrev-completion): Use completion-in-region.
14091 (dabbrev--abbrev-at-point): Simplify regexp.
14093 * abbrev.el (abbrev--before-point): Use word-motion functions
14094 if :regexp is not specified (bug#5031).
14096 * subr.el (string-prefix-p): New function.
14098 * man.el (Man-completion-cache): New var.
14099 (Man-completion-table): Use it.
14101 * vc.el (vc-print-log-internal): Make `limit' optional for better
14102 compatibility (e.g. with vc-annotate.el).
14104 2009-11-24 Kevin Ryde <user42@zip.com.au>
14106 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp):
14107 Build value with regexp-opt instead of explicit joining loop. (Bug#4927)
14109 * emacs-lisp/elint.el (elint-add-required-env): Better error message
14110 when .el source file not found or other error.
14112 2009-11-24 Markus Triska <markus.triska@gmx.at>
14114 * linum.el (linum-update-window): Ignore intangible (bug#4996).
14116 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
14118 Handle the [back] button properly (bug#4979).
14119 * descr-text.el (describe-text-properties): Add a `buffer' argument.
14120 Use help-setup-xref, help-buffer, and with-help-window.
14121 (describe-char): Add `buffer' argument.
14122 Pass proper command to help-setup-xref. Don't meddle with
14123 help-xref-stack-item directly.
14124 (describe-text-category): Use with-help-window and help-buffer.
14126 * emacs-lisp/shadow.el (list-load-path-shadows): Setup a major mode
14127 for the displayed buffer (bug#4887).
14129 * man.el (Man-completion-table): New function.
14132 2009-11-24 David Reitter <david.reitter@gmail.com>
14134 * vc-git.el (vc-git-registered): Use checkout directory (where
14135 .git is) rather than the file's directory and a relative path spec
14136 to work around a bug in git.
14138 2009-11-24 Michael Albinus <michael.albinus@gmx.de>
14140 Improve handling of processes on remote hosts.
14142 * eshell/esh-util.el (eshell-path-env): New defvar.
14143 (eshell-parse-colon-path): New defun.
14144 (eshell-file-attributes): Use `eshell-parse-colon-path'.
14146 * eshell/esh-ext.el (eshell-search-path):
14147 Use `eshell-parse-colon-path'.
14148 (eshell-remote-command): Remove argument HANDLER.
14149 (eshell-external-command): Check for FTP remote connection.
14151 * eshell/esh-proc.el (eshell-gather-process-output):
14152 Use `file-truename', in order to start also symlinked files.
14153 Apply `start-file-process' instead of `start-process'.
14154 Shorten `command' to the local file name part.
14156 * eshell/em-cmpl.el (eshell-complete-commands-list):
14157 Use `eshell-parse-colon-path'.
14159 * eshell/em-unix.el (eshell/du): Check for FTP remote connection.
14161 * net/tramp.el (tramp-eshell-directory-change): New defun. Add it
14162 to `eshell-directory-change-hook'.
14164 2009-11-24 Tassilo Horn <tassilo@member.fsf.org>
14166 * doc-view.el (doc-view-mode): Switch off view-mode explicitly,
14167 because it could be enabled automatically if view-read-only is non-nil.
14169 2009-11-24 Michael Kifer <kifer@cs.stonybrook.edu>
14171 * ediff-vers.el (ediff-rcs-get-output-buffer): Revert the change
14172 made on 2009-11-22.
14174 2009-11-24 Glenn Morris <rgm@gnu.org>
14176 * bookmark.el (bookmark-bmenu-hide-filenames): Remove assignment to
14177 deleted variable bookmark-bmenu-bookmark-column.
14179 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
14181 * bookmark.el (bookmark-bmenu-search): Clear echo area when exiting.
14183 2009-11-23 Ken Brown <kbrown@cornell.edu> (tiny change)
14185 * net/browse-url.el (browse-url-filename-alist): On Windows, add
14186 two slashes to the "file:" prefix.
14187 (browse-url-file-url): De-munge Cygwin filenames before passing
14188 them to Windows browser.
14189 (browse-url-default-windows-browser): Use call-process.
14191 2009-11-23 Juri Linkov <juri@jurta.org>
14193 Implement DocView Continuous mode. (Bug#4896)
14194 * doc-view.el (doc-view-continuous-mode): New defcustom.
14195 (doc-view-mode-map): Bind C-n/<down> to
14196 `doc-view-next-line-or-next-page', C-p/<up> to
14197 `doc-view-previous-line-or-previous-page'.
14198 (doc-view-next-line-or-next-page)
14199 (doc-view-previous-line-or-previous-page): New commands.
14201 2009-11-23 Juri Linkov <juri@jurta.org>
14203 Implement Isearch in comint input history. (Bug#3746)
14204 * comint.el (comint-mode): Add `comint-history-isearch-setup' to
14205 `isearch-mode-hook'.
14206 (comint-history-isearch): New defcustom.
14207 (comint-history-isearch-backward)
14208 (comint-history-isearch-backward-regexp): New commands.
14209 (comint-history-isearch-message-overlay): New buffer-local variable.
14210 (comint-history-isearch-setup, comint-history-isearch-end)
14211 (comint-goto-input, comint-history-isearch-search)
14212 (comint-history-isearch-message, comint-history-isearch-wrap)
14213 (comint-history-isearch-push-state)
14214 (comint-history-isearch-pop-state): New functions.
14216 2009-11-23 Michael Albinus <michael.albinus@gmx.de>
14218 * net/tramp.el (tramp-shell-prompt-pattern): Use \r for carriage
14220 (tramp-handle-make-symbolic-link)
14221 (tramp-handle-dired-compress-file, tramp-handle-expand-file-name):
14223 (tramp-send-command-and-check): New argument DONT-SUPPRESS-ERR.
14224 (tramp-handle-process-file): Use it.
14226 2009-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
14228 * window.el (move-to-window-line-last-op): Remove.
14229 (move-to-window-line-top-bottom): Reuse recenter-last-op instead.
14231 2009-11-23 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
14233 Make M-r mirror the new cycling behavior of C-l.
14234 * window.el (move-to-window-line-last-op): New var.
14235 (move-to-window-line-top-bottom): New command.
14236 (global-map): Bind M-r move-to-window-line-top-bottom.
14238 2009-11-23 Sven Joachim <svenjoac@gmx.de>
14240 * dired-x.el (dired-guess-shell-alist-default):
14241 Support xz format. (Bug#4953)
14243 2009-11-22 Michael Kifer <kifer@cs.stonybrook.edu>
14245 * emulation/viper-cmd.el: Use viper-last-command-char instead of
14246 last-command-char/last-command-event.
14247 (viper-prefix-arg-value): Do correct conversion of event-char for
14250 * emulation/viper-util.el, emulation/viper.el:
14251 Use viper-last-command-char instead of
14252 last-command-char/last-command-event.
14254 * ediff-init.el, ediff-mult.el, ediff-util.el:
14255 Replace last-command-char and last-command-event
14256 with (ediff-last-command-char) everywhere.
14258 * ediff-vers.el (ediff-rcs-get-output-buffer): Make sure the buffer is
14259 created in fundamental mode.
14261 * ediff.el (ediff-version): Revert the change of interactive-p to
14262 called-interactively-p.
14264 2009-11-22 Tassilo Horn <tassilo@member.fsf.org>
14266 * progmodes/subword.el (subword-mode-map): Fix subword-mode-map
14267 generation from word-movement command names.
14269 2009-11-21 Jan Djärv <jan.h.d@swipnet.se>
14271 * cus-start.el (all): Add native condition for font-use-system-font.
14273 2009-11-21 Nathaniel Flath <flat0103@gmail.com>
14275 * progmodes/cc-menus.el (cc-imenu-java-generic-expression):
14276 Correct the patch from 2009-11-18. (Bug#3910)
14278 2009-11-21 Tassilo Horn <tassilo@member.fsf.org>
14280 * progmodes/subword.el: Rename from lisp/subword.el.
14282 * subword.el: Rename to progmodes/subword.el.
14284 * Makefile.in (ELCFILES): Adapt to subword.el move.
14286 2009-11-21 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14287 Stefan Monnier <monnier@iro.umontreal.ca>
14289 * bookmark.el (bookmark-bmenu-bookmark-column): Remove var.
14290 (bookmark-bmenu-list): Save name on `bookmark-name-prop' text-prop.
14291 (bookmark-bmenu-show-filenames): Use push.
14292 (bookmark-bmenu-hide-filenames): Use local var instead of
14293 bookmark-bmenu-bookmark-column. Use pop. Don't save window-excursion.
14294 (bookmark-bmenu-bookmark): Use the new `bookmark-name-prop' text-prop.
14295 (bookmark-bmenu-execute-deletions): Don't bother adding/removing the
14296 filenames now that the bookmark names are always available.
14298 2009-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
14300 * bookmark.el (bookmark-search-prompt, bookmark-search-timer): Remove.
14301 (bookmark-search-pattern): Move and leave unbound.
14302 (bookmark-bmenu-mode-map): Change binding.
14303 (bookmark-read-search-input): Simplify.
14304 Don't use text-char-description. Don't error on non-char events.
14305 (bookmark-filtered-alist-by-regexp-only): Remove by folding into the
14306 only caller (i.e. bookmark-bmenu-filter-alist-by-regexp).
14307 (bookmark-bmenu-search): Don't check we're in a bookmark-list buffer.
14308 Use a local var for the timer.
14309 (bookmark-bmenu-cancel-search): Remove by folding into the only caller
14310 (i.e. bookmark-bmenu-search).
14312 2009-11-21 Glenn Morris <rgm@gnu.org>
14314 * mail/rmailmm.el (rmail-mime): Decode in fundamental-mode. (Bug#4993)
14316 2009-11-20 Ken Brown <kbrown@cornell.edu> (tiny change)
14318 * net/browse-url.el (browse-url-default-windows-browser):
14319 Use cygstart for cygwin.
14321 2009-11-20 Karl Fogel <karl.fogel@red-bean.com>
14323 * bookmark.el: Formatting and doc fixes only:
14324 (bookmark-search-delay): Shorten doc string to fit in 80 columns.
14325 (bookmark-bmenu-search): Wrap to fit within 80 columns.
14326 Minor grammar and punctuation fixes in doc string.
14327 (bookmark-read-search-input): Adjust to fit within 80 columns.
14329 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
14331 * progmodes/cc-cmds.el (c-forward-into-nomenclature)
14332 (c-backward-into-nomenclature): Adapt to subword renaming.
14334 * subword.el (subword-forward, subword-backward, subword-mark)
14335 (subword-kill, subword-backward-kill, subword-transpose)
14336 (subword-downcase, subword-upcase, subword-capitalize)
14337 (subword-forward-internal, subword-backward-internal):
14338 Rename from forward-subword, backward-subword, mark-subword,
14339 kill-subword, backward-kill-subword, transpose-subwords,
14340 downcase-subword, upcase-subword, capitalize-subword,
14341 forward-subword-internal, backward-subword-internal.
14343 2009-11-20 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14345 * bookmark.el (bookmark-search-delay, bookmark-search-prompt):
14347 (bookmark-search-pattern, bookmark-search-timer, bookmark-quit-flag):
14349 (bookmark-read-search-input, bookmark-filtered-alist-by-regexp-only)
14350 (bookmark-bmenu-filter-alist-by-regexp)
14351 (bookmark-bmenu-goto-bookmark, bookmark-bmenu-cancel-search): New funs.
14352 (bookmark-bmenu-search): New command.
14353 (bookmark-bmenu-mode-map): Bind it.
14355 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
14357 * progmodes/cc-cmds.el: declare-functioned forward-subword and
14358 backward-subword to quit the byte-compiler.
14360 * makefile.w32-in: Don't refer cc-subword.elc but subword.elc.
14362 * Makefile.in: Don't refer cc-subword.elc but subword.elc.
14364 * progmodes/cc-cmds.el (c-update-modeline)
14365 (c-forward-into-nomenclature, c-backward-into-nomenclature):
14366 Refer to subword.el functions instead of cc-subword.el.
14368 * progmodes/cc-mode.el (subword-mode, c-mode-base-map): Refer to
14369 subword.el functions instead of cc-subword.el.
14371 * progmodes/cc-subword.el: Rename to subword.el.
14372 * subword.el: Rename from progmodes/cc-subword.el.
14373 (subword-mode-map): Rename from c-subword-mode-map.
14374 (subword-mode): Rename from c-subword-mode.
14375 (global-subword-mode): New global minor mode.
14376 (forward-subword): Rename from c-forward-subword.
14377 (backward-subword): Rename from c-backward-subword.
14378 (mark-subword): Rename from c-mark-subword.
14379 (kill-subword): Rename from c-kill-subword.
14380 (backward-kill-subword): Rename from c-backward-kill-subword.
14381 (transpose-subwords): Rename from c-tranpose-subword.
14382 (downcase-subword): Rename from c-downcase-subword.
14383 (capitalize-subword): Rename from c-capitalize-subword.
14384 (forward-subword-internal): Rename from c-forward-subword-internal.
14385 (backward-subword-internal): Rename from c-backward-subword-internal.
14387 2009-11-20 Dan Nicolaescu <dann@ics.uci.edu>
14389 * vc.el (vc-deduce-fileset): Allow non-state changing operations
14390 from a dired buffer.
14391 (vc-dired-deduce-fileset): New function.
14392 (vc-root-diff, vc-print-root-log): Use it.
14394 * vc-annotate.el (vc-annotate-show-log-revision-at-line): Pass a
14395 nil LIMIT argument to vc-print-log-internal.
14397 2009-11-20 Glenn Morris <rgm@gnu.org>
14399 * Makefile.in (ELCFILES): Regenerate.
14401 2009-11-20 Jay Belanger <jay.p.belanger@gmail.com>
14403 * calc/calc.el (calc-set-mode-line):
14404 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
14405 (math-format-number): Rename `math-format-complement-signed' to
14406 `math-format-twos-complement'.
14408 * calc/calc-bin.el (math-format-twos-complement): Rename from
14409 math-format-complement-signed.
14410 (calc-radix): Rename `calc-complement-signed-mode' to
14411 `calc-twos-complement-mode'.
14412 (calc-octal-radix, calc-hex-radix): Add an argument for
14415 * calc/calc-embed.el (calc-embedded-mode-vars):
14416 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
14418 * calc/calc-ext.el (calc-init-extensions):
14419 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
14420 (math-format-number-fancy): Let `calc-twos-complement-mode' be nil.
14422 * calc/calc-units.el (math-build-units-table-buffer):
14423 Let `calc-twos-complement-mode' be nil.
14425 * calc/calc-menu.el (calc-modes-menu): Clean up two's complement
14428 * calc/calc-vec.el (calcFunc-vunpack):
14429 * calc/calc-aent.el (calc-do-calc-eval):
14430 * calc/calc-forms.el (math-format-date):
14431 * calc/calc-graph.el (calc-graph-plot):
14432 * calc/calc-math.el (math-use-emacs-fn):
14433 * calc/calccomp.el (math-compose-expr):
14434 Let `calc-twos-complement-mode' be nil.
14436 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
14438 * abbrev.el (abbrev-with-wrapper-hook): (re)move...
14439 * simple.el (with-wrapper-hook): ...to here. Add argument `args'.
14440 * minibuffer.el (completion-in-region-functions): New hook.
14441 (completion-in-region): New function.
14442 * emacs-lisp/lisp.el (lisp-complete-symbol):
14443 * pcomplete.el (pcomplete-std-complete): Use it.
14445 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
14447 * textmodes/tex-mode.el (latex-complete-bibtex-cache)
14448 (latex-complete-alist): New vars.
14449 (latex-string-prefix-p, latex-complete-bibtex-keys)
14450 (latex-complete-envnames, latex-complete-refkeys)
14451 (latex-complete-data): New functions.
14452 (latex-complete, latex-indent-or-complete): New commands.
14454 * window.el (display-buffer-mark-dedicated): New var.
14455 (display-buffer): Obey it.
14456 * minibuffer.el (minibuffer-completion-help): Use it.
14458 * progmodes/sym-comp.el (symbol-complete): Use completion-in-region.
14460 * filecache.el (file-cache-add-file): Use push and cons.
14461 (file-cache-delete-file-regexp): Use push.
14462 (file-cache-complete): Use completion-in-region.
14464 * simple.el (with-wrapper-hook): Fix thinko.
14466 * hfy-cmap.el (hfy-rgb-file): Use locate-file.
14467 (htmlfontify-load-rgb-file): Remove unnused var `ff'.
14468 Use with-current-buffer and string-to-number.
14469 (hfy-fallback-colour-values): Use assoc-string.
14470 * htmlfontify.el (hfy-face-to-css): Remove unused var `style'.
14471 (hfy-face-at): Remove unused var `found-face'.
14472 (hfy-compile-stylesheet): Remove unused var `css'.
14473 (hfy-fontify-buffer): Remove unused vars `in-style', `invis-button',
14475 (hfy-buffer, hfy-copy-and-fontify-file, hfy-parse-tags-buffer):
14476 Use with-current-buffer.
14477 (hfy-text-p): Use expand-file-name and fewer setq.
14479 2009-11-19 Vivek Dasmohapatra <vivek@etla.org>
14481 * htmlfontify.el, hfy-cmap.el: New files.
14483 2009-11-19 Juri Linkov <juri@jurta.org>
14485 * minibuffer.el (completions-format): New defcustom.
14486 (completion--insert-strings): Implement vertical format.
14488 * simple.el (switch-to-completions): Move point to the first
14489 completion when point was at the beginning of the buffer.
14491 2009-11-19 Juri Linkov <juri@jurta.org>
14493 * find-dired.el (find-name-arg): Remove autoload. (Bug#4387)
14495 * progmodes/grep.el (rgrep): Require `find-dired' for `find-name-arg'.
14497 2009-11-19 Chong Yidong <cyd@stupidchicken.com>
14499 * mail/sendmail.el (mail-yank-prefix): Change default to "> ".
14500 (mail-signature): Change default to t.
14501 (mail-from-style): Deprecate `system-default' value.
14502 (mail-insert-from-field): For default value of mail-from-style,
14503 default to `angles' unless `angles' needs quoting and `parens'
14505 (mail-citation-prefix-regexp): Use citation regexp from
14508 2009-11-19 Michael Albinus <michael.albinus@gmx.de>
14510 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
14511 Set variables for computing the prompt for reading password.
14513 2009-11-19 Glenn Morris <rgm@gnu.org>
14515 * dired-aux.el (dired-compress-file-suffixes): Add ".xz". (Bug#4953)
14517 * textmodes/flyspell.el (sgml-lexical-context): Declare.
14519 * net/newst-treeview.el (newsticker-treeview-treewindow-width)
14520 (newsticker-treeview-listwindow-height): Fix custom type.
14522 2009-11-19 Kenichi Handa <handa@m17n.org>
14524 * descr-text.el (describe-char-padded-string): Compose with TAB
14525 only if there's a font for CH.
14526 (describe-char): Fix the condition for detecting a trivial composition.
14528 2009-11-18 Nathaniel Flath <flat0103@gmail.com>
14530 * progmodes/cc-menus.el (cc-imenu-java-generic-expression): A new,
14531 more accurate version of the regexp. (Bug#3910)
14533 2009-11-18 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
14535 * vc-hg.el (vc-hg-diff): Fix last patch: do not change directory.
14537 2009-11-18 Juanma Barranquero <lekktu@gmail.com>
14539 * font-setting.el (font-use-system-font): Declare for byte-compiler.
14540 (font-setting-change-default-font): Fix typo in docstring.
14542 2009-11-18 Alan Mackenzie <acm@muc.de>
14544 * progmodes/cc-defs.el (c-version): Bump to 5.31.8.
14546 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
14548 * font-setting.el (font-use-system-font): Move ...
14550 * cus-start.el (all): ... to here.
14552 2009-11-17 Michael Albinus <michael.albinus@gmx.de>
14554 * net/tramp.el (tramp-advice-file-expand-wildcards): Simplify.
14555 Don't set `ad-return-value' if `ad-do-it' doesn't.
14557 * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Set file
14560 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
14562 * menu-bar.el: Put "Use system font" in Option-menu.
14563 (menu-bar-options-save): Add font-use-system-font.
14565 * loadup.el: If feature system-font-setting or font-render-setting is
14566 there, load font-setting.
14568 * Makefile.in (ELCFILES): Add font-settings.el.
14569 * font-setting.el: New file.
14571 2009-11-17 Glenn Morris <rgm@gnu.org>
14573 * vc-svn.el (vc-svn-print-log): Fix typo in previous.
14575 * net/newst-treeview.el (newsticker--treeview-list-update-faces):
14576 Preserve point in the list buffer. (Bug#4939)
14578 (newsticker--treeview-list-update-highlight)
14579 (newsticker--treeview-tree-update-highlight): Use point-at-bol/eol.
14581 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
14583 * calc/calc-bin.el (math-symclip, calcFunc-symclip, calc-symclip):
14586 * calc/calc-ext.el (calc-init-extensions): Remove references to
14589 * calc/calc-menu.el (calc-arithmetic-menu): Remove `calc-symclip'.
14591 * calc/calc-map.el (calc-get-operator, calc-b-oper-keys):
14592 * calc/calc-help.el (calc-b-prefix-help): Remove references to
14595 2009-11-16 Kevin Ryde <user42@zip.com.au>
14597 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
14598 Use `sgml-lexical-context' instead of own parse for tag (Bug#4511).
14600 * emacs-lisp/lisp-mnt.el (lm-keywords): Allow multi-line keywords.
14601 (lm-keywords-list): Allow comma-only separator like "foo,bar".
14602 Ignore trailing spaces by omit-nulls to split-string (fixing
14603 regression from Emacs 21 due to the incompatible split-string
14604 change). (Bug #4928.)
14606 2009-11-16 Dan Nicolaescu <dann@ics.uci.edu>
14608 * vc.el (vc-log-show-limit): Default to 2000.
14609 (vc-print-log-internal): Insert buttons to request more entries
14610 when limiting the output.
14612 * vc-sccs.el (vc-sccs-print-log):
14613 * vc-rcs.el (vc-rcs-print-log):
14614 * vc-cvs.el (vc-cvs-print-log):
14615 * vc-git.el (vc-git-print-log): Return 'limit-unsupported when
14618 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
14620 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Raise only an
14621 error when `tramp-gvfs-dbus-event-vector' is set.
14622 (tramp-gvfs-maybe-open-connection): Loop over `read-event'.
14624 2009-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
14626 * vc-rcs.el (vc-rcs-consult-headers): Add missing save-excursion.
14628 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
14630 * net/dbus.el (dbus-unregister-service): New defun.
14631 (dbus-register-property): Register the handlers of
14632 "org.freedesktop.DBus.Properties" for SERVICE.
14633 (dbus-property-handler): Fix docstring.
14635 2009-11-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
14637 * emacs-lisp/bytecomp.el (byte-compile-output-file-form):
14638 Quote doc string reference in defvaralias as it is not in special form.
14639 (byte-compile-output-docform): Doc fix.
14641 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
14643 * calc/calc.el (math-2-word-size, math-half-2-word-size)
14644 (calc-complement-signed-mode): New variables.
14645 (calc-set-mode-line): Add indicator for twos-complements.
14646 (math-format-number): Format twos-complement notation.
14648 * calc/calc-bin.el (calc-word-size): Reset the variables
14649 `math-2-word-size' and `math-half-2-word-size'.
14650 (math-format-complement-signed, math-symclip, calcFunc-symclip)
14651 (calc-symclip): New functions.
14653 * calc/calc-aent.el (math-read-token): Read complement signed numbers.
14655 * calc/calc-embed.el (calc-embedded-mode-vars):
14656 Add `calc-complement-signed-mode' to the list of modes.
14658 * calc/calc-map.el (calc-get-operator): Add `calc-symclip'.
14659 (calc-b-oper-keys): Add `calc-symclip' to list.
14661 * calc/calc-ext.el (math-read-number-fancy): Read complement
14663 (calc-init-extensions): Add binding for `calc-symclip'.
14664 Add autoload for `calcFunc-symclip' and `calc-symclip'.
14666 * calc/calc-menu.el (calc-arithmetic-menu): Add item for
14668 (calc-modes-menu): Add item for twos complement mode.
14670 * calc/calc-help.el (calc-b-prefix-help): Add help for `calc-symclip'.
14672 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
14674 * register.el (jump-to-register, insert-register): Handle Semantic
14675 tags. From commented-out advice in semantic/senator.el.
14677 2009-11-15 Dan Nicolaescu <dann@ics.uci.edu>
14679 * vc.el (vc-log-show-limit): New variable.
14680 (vc-print-log, vc-print-root-log): Add new argument LIMIT. Set it
14681 when using a prefix argument.
14682 (vc-print-log-internal): Add new argument LIMIT.
14684 * vc-svn.el (vc-svn-print-log):
14685 * vc-mtn.el (vc-mtn-print-log):
14686 * vc-hg.el (vc-hg-print-log):
14687 * vc-bzr.el (vc-bzr-print-log): Add new optional argument LIMIT,
14688 pass it to the log command when set. Make the BUFFER argument
14691 * vc-sccs.el (vc-sccs-print-log):
14692 * vc-rcs.el (vc-rcs-print-log):
14693 * vc-git.el (vc-git-print-log):
14694 * vc-cvs.el (vc-cvs-print-log): Add new optional argument LIMIT,
14695 ignore it. Make the BUFFER argument non-optional
14697 * bindings.el (mode-line-buffer-identification): Do not purecopy.
14699 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
14701 * dired.el (dired-mode-map): Move encryption items to "Operate"
14704 * strokes.el (strokes-update-window-configuration): Make strokes
14705 buffer current before erasing (Bug#4906).
14707 2009-11-15 Juri Linkov <juri@jurta.org>
14709 * simple.el (set-mark-default-inactive): Add :type, :group
14710 and :version. (Bug#4876)
14712 2009-11-15 Michael Albinus <michael.albinus@gmx.de>
14714 * arc-mode.el (archive-maybe-copy): Move creation of directory ...
14715 (archive-unique-fname): ... here. (Bug#4929)
14717 2009-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
14719 * help-mode.el (help-make-xrefs): Undo the last revert, and replace it
14722 * novice.el (disabled-command-function): Add useful args.
14723 Setup the help buffer so that [back] works.
14724 Remove redundant call to help-mode.
14725 (disabled-command-function): Use `case'.
14726 (en/disable-command): New function extracted from enable-command.
14727 (enable-command, disable-command): Use it.
14729 2009-11-14 Glenn Morris <rgm@gnu.org>
14731 * menu-bar.el (menu-bar-tools-menu): Read and send mail entries are not
14732 constants. (Bug#4913)
14734 * emacs-lisp/elint.el (elint-standard-variables): Doc fix.
14736 2009-11-14 Shigeru Fukaya <shigeru.fukaya@gmail.com>
14738 * emacs-lisp/elint.el (elint-standard-variables): Add some variables
14739 defined in C that have no doc-strings. (Bug#1063)
14741 2009-11-14 Francis Wright <F.J.Wright@qmul.ac.uk>
14743 * cus-edit.el (data, files):
14744 * ps-print.el (postscript): Doc fixes for custom groups. (Bug#3327)
14746 2009-11-14 Chong Yidong <cyd@stupidchicken.com>
14748 * simple.el (shell-command): Doc fix (Bug#4891).
14750 * help-mode.el (help-make-xrefs): Revert 2009-11-13 change.
14752 2009-11-14 Glenn Morris <rgm@gnu.org>
14754 * emulation/viper.el (viper-set-hooks): Remove duplicate advice
14755 statements for vc-diff, emerge-quit, and rmail-cease-edit.
14756 If they are already loaded, eval-after-load will do the right thing.
14758 * speedbar.el (top-level): Remove unnecessary load of ange-ftp when
14761 * emacs-lisp/bytecomp.el (byte-compile-single-version): Remove, unused.
14763 * simple.el (x-selection-owner-p): Declare.
14764 (read-mail-command): Use custom radio type rather than choice.
14765 (completion-no-auto-exit): Doc fix.
14767 * custom.el (defgroup):
14768 * epg-config.el (epg): Doc fixes.
14770 2009-11-14 Dan Nicolaescu <dann@ics.uci.edu>
14772 * bindings.el (mode-line-buffer-identification): Purecopy only the string.
14773 * international/ccl.el (define-ccl-program): Do not purecopy the
14774 docstring, defconst does it anyway.
14776 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
14778 * add-log.el (add-change-log-entry): Avoid displaying the changelog
14781 * x-dnd.el (x-dnd-maybe-call-test-function):
14782 * window.el (split-window-vertically):
14783 * whitespace.el (whitespace-help-on):
14784 * vc-rcs.el (vc-rcs-consult-headers):
14785 * userlock.el (ask-user-about-lock-help)
14786 (ask-user-about-supersession-help):
14787 * type-break.el (type-break-force-mode-line-update):
14788 * time-stamp.el (time-stamp-conv-warn):
14789 * terminal.el (te-set-output-log, te-more-break, te-filter)
14790 (te-sentinel, terminal-emulator):
14791 * term.el (make-term, term-exec, term-sentinel, term-read-input-ring)
14792 (term-write-input-ring, term-check-source, term-start-output-log):
14793 (term-display-buffer-line, term-dynamic-list-completions):
14794 (term-ansi-make-term, serial-term):
14795 * subr.el (selective-display):
14796 * strokes.el (strokes-xpm-to-compressed-string, strokes-decode-buffer)
14797 (strokes-encode-buffer, strokes-xpm-for-compressed-string):
14798 * speedbar.el (speedbar-buffers-tail-notes, speedbar-buffers-item-info)
14799 (speedbar-reconfigure-keymaps, speedbar-add-localized-speedbar-support)
14800 (speedbar-remove-localized-speedbar-support)
14801 (speedbar-set-mode-line-format, speedbar-create-tag-hierarchy)
14802 (speedbar-update-special-contents, speedbar-buffer-buttons-engine)
14803 (speedbar-buffers-line-directory):
14804 * simple.el (shell-command-on-region, append-to-buffer)
14805 (prepend-to-buffer):
14806 * shadowfile.el (shadow-save-todo-file):
14807 * scroll-bar.el (scroll-bar-set-window-start, scroll-bar-drag-1)
14808 (scroll-bar-maybe-set-window-start):
14809 * sb-image.el (speedbar-image-dump):
14810 * saveplace.el (save-place-alist-to-file, save-places-to-alist)
14811 (load-save-place-alist-from-file):
14812 * ps-samp.el (ps-print-message-from-summary):
14813 * ps-print.el (ps-flush-output, ps-insert-file, ps-get-boundingbox)
14814 (ps-background-image, ps-begin-job, ps-do-despool):
14815 * ps-bdf.el (bdf-find-file, bdf-read-font-info):
14816 * printing.el (pr-interface, pr-ps-file-print, pr-find-buffer-visiting)
14817 (pr-ps-message-from-summary, pr-lpr-message-from-summary):
14818 (pr-call-process, pr-file-list, pr-interface-save):
14819 * novice.el (disabled-command-function)
14820 (enable-command, disable-command):
14821 * mouse.el (mouse-buffer-menu-alist):
14822 * mouse-copy.el (mouse-kill-preserving-secondary):
14823 * macros.el (kbd-macro-query):
14824 * ledit.el (ledit-go-to-lisp, ledit-go-to-liszt):
14825 * informat.el (batch-info-validate):
14826 * ido.el (ido-copy-current-word, ido-initiate-auto-merge):
14827 * hippie-exp.el (try-expand-dabbrev-visible):
14828 * help-mode.el (help-make-xrefs):
14829 * help-fns.el (describe-variable):
14830 * generic-x.el (bat-generic-mode-run-as-comint):
14831 * finder.el (finder-mouse-select):
14832 * find-dired.el (find-dired-sentinel):
14833 * filesets.el (filesets-file-close):
14834 * files.el (list-directory):
14835 * faces.el (list-faces-display, describe-face):
14836 * facemenu.el (list-colors-display):
14837 * ezimage.el (ezimage-image-association-dump, ezimage-image-dump):
14838 * epg.el (epg--process-filter, epg-cancel):
14839 * epa.el (epa--marked-keys, epa--select-keys, epa-display-info)
14840 (epa--read-signature-type):
14841 * emerge.el (emerge-copy-as-kill-A, emerge-copy-as-kill-B)
14842 (emerge-file-names):
14843 * ehelp.el (electric-helpify):
14844 * ediff.el (ediff-regions-wordwise, ediff-regions-linewise):
14845 * ediff-vers.el (rcs-ediff-view-revision):
14846 * ediff-util.el (ediff-setup):
14847 * ediff-mult.el (ediff-append-custom-diff):
14848 * ediff-diff.el (ediff-exec-process, ediff-process-sentinel)
14850 * echistory.el (Electric-command-history-redo-expression):
14851 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
14852 * disp-table.el (describe-display-table):
14853 * dired.el (dired-find-buffer-nocreate):
14854 * dired-aux.el (dired-rename-subdir, dired-dwim-target-directory):
14855 * dabbrev.el (dabbrev--same-major-mode-p):
14856 * chistory.el (list-command-history):
14857 * apropos.el (apropos-documentation):
14858 * allout.el (allout-obtain-passphrase):
14859 (allout-copy-exposed-to-buffer):
14860 (allout-verify-passphrase): Use with-current-buffer.
14862 2009-11-13 Glenn Morris <rgm@gnu.org>
14864 * Makefile.in (ELCFILES): Regenerate.
14866 2009-11-13 Michael Albinus <michael.albinus@gmx.de>
14868 * net/dbus.el (dbus-registered-objects-table): Rename from
14869 `dbus-registered-functions-table', because it contains also properties.
14870 (dbus-unregister-object): Unregister also properties.
14871 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
14872 Use a timeout of 500 msec, in order to not block.
14873 (dbus-register-property, dbus-property-handler): New defuns.
14875 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
14877 * simple.el (minibuffer-default-add-completions): Drop deprecated
14880 2009-11-13 Tomas Abrahamsson <tab@lysator.liu.se>
14882 * textmodes/artist.el (artist-mouse-choose-operation):
14883 Call `tmm-prompt' instead of `x-popup-menu' if we cannot popup
14884 menus. Bug noticed by Eli Zaretskii <eliz@gnu.org>.
14885 (artist-compute-up-event-key): New function.
14886 (artist-mouse-choose-operation, artist-down-mouse-1): Call it.
14888 2009-11-13 Kenichi Handa <handa@m17n.org>
14890 * language/japan-util.el: Make sure that the value of jisx0208
14891 property is jisx0208 character.
14893 2009-11-13 Dan Nicolaescu <dann@ics.uci.edu>
14895 * international/mule.el (auto-coding-regexp-alist): Only purecopy
14896 car or each item, not the whole list.
14898 2009-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
14900 * minibuffer.el (minibuffer-completion-help):
14901 Use minibuffer-hide-completions.
14903 2009-11-12 Per Starbäck <per@starback.se> (tiny change)
14905 * dired.el (dired-save-positions, dired-restore-positions): New funs.
14906 (dired-revert): Use them (bug#4880).
14908 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
14910 * tooltip.el (tooltip-frame-parameters): Undo previous change.
14912 2009-11-12 Juri Linkov <juri@jurta.org>
14914 * ffap.el (ffap-alternate-file-other-window, ffap-literally):
14916 (find-file-literally-at-point): Alias of `ffap-literally'.
14918 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
14920 * textmodes/ispell.el (ispell-skip-region-alist):
14921 * textmodes/css-mode.el (auto-mode-alist):
14922 * progmodes/compile.el (auto-mode-alist):
14923 * international/mule.el (ctext-non-standard-encodings-alist)
14924 (ctext-non-standard-encodings-regexp):
14925 * simple.el (shell-command-switch, text-read-only):
14926 * replace.el (occur-mode-map):
14927 * paths.el (rmail-file-name):
14928 * jka-cmpr-hook.el (jka-compr-build-file-regexp):
14929 * find-file.el (ff-special-constructs):
14930 * files.el (file-name-handler-alist):
14931 * composite.el: Purecopy strings.
14933 * emacs-lisp/cl-macs.el (define-compiler-macro): Purecopy the file name.
14935 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
14937 * widget.el (define-widget): Purecopy the docstring.
14938 * international/mule-cmds.el (charset): Do not purecopy the
14939 docstring here, define-widget does it.
14941 * textmodes/texinfo.el (texinfo-open-quote, texinfo-close-quote):
14942 * textmodes/bibtex-style.el (auto-mode-alist):
14943 * progmodes/inf-lisp.el (inferior-lisp-prompt):
14944 * progmodes/compile.el (compile-command):
14945 * language/korea-util.el (default-korean-keyboard):
14946 * international/mule-conf.el (file-coding-system-alist):
14947 * emacs-lisp/eldoc.el (eldoc-minor-mode-string):
14948 * tooltip.el (tooltip-frame-parameters):
14949 * newcomment.el (comment-end, comment-padding):
14950 * dired.el (dired-trivial-filenames):
14951 * comint.el (comint-file-name-prefix): Purecopy initial values.
14953 2009-11-11 Michael Albinus <michael.albinus@gmx.de>
14955 * net/tramp.el (tramp-advice-minibuffer-electric-separator)
14956 (tramp-advice-minibuffer-electric-tilde): Unload advices via
14958 (tramp-advice-make-auto-save-file-name)
14959 (tramp-advice-file-expand-wildcards): Apply also `ad-activate'
14960 after removing the advice.
14962 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
14964 * progmodes/grep.el (grep-regexp-alist):
14965 * international/mule-cmds.el (iso-2022-control-alist):
14966 * emacs-lisp/timer.el (timer-duration-words):
14967 * subr.el (version-separator, version-regexp-alist):
14968 * minibuffer.el (completion-styles-alist):
14969 * faces.el (face-attribute-name-alist, list-faces-sample-text):
14970 Change defvars to defconsts.
14972 * Makefile.in (ELCFILES): Add international/mule-conf.elc.
14973 * loadup.el ("international/mule-conf"): Load the byte compiled version.
14974 * international/mule-conf.el: Allow to be byte compiled.
14976 * international/mule.el (define-charset): Purecopy props.
14977 (load-with-code-conversion): Purecopy doc string and file name.
14978 (put-charset-property): Purecopy strings.
14979 (auto-coding-alist, auto-coding-regexp-alist): Purecopy initial value.
14981 * international/mule-cmds.el (register-input-method): Purecopy arguments.
14982 (define-char-code-property): Correctly purecopy the table.
14984 * international/ccl.el (define-ccl-program): Purecopy the docstring.
14986 * emacs-lisp/easy-mmode.el (define-minor-mode): Purecopy :lighter.
14988 * subr.el (add-hook): Purecopy strings.
14989 (eval-after-load): Purecopy load-history-regexp and the form.
14991 * custom.el (custom-declare-group): Purecopy load-file-name.
14993 * subr.el (menu-bar-separator): New defconst.
14994 * net/eudc.el (eudc-tools-menu):
14995 * international/mule-cmds.el (set-coding-system-map)
14996 (mule-menu-keymap):
14997 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
14998 * vc-hooks.el (vc-menu-map):
14999 * replace.el (occur-mode-map):
15000 * menu-bar.el (menu-bar-file-menu, menu-bar-search-menu)
15001 (menu-bar-edit-menu, menu-bar-goto-menu)
15002 (menu-bar-custom-menu, menu-bar-showhide-menu)
15003 (menu-bar-options-menu, menu-bar-tools-menu)
15004 (menu-bar-encryption-decryption-menu, menu-bar-describe-menu)
15005 (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
15006 (menu-bar-help-menu):
15007 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu):
15008 * buff-menu.el (Buffer-menu-mode-map): Use menu-bar-separator.
15010 * term/x-win.el (x-gtk-stock-map):
15011 * progmodes/vera-mode.el (auto-mode-alist):
15012 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
15013 (inferior-lisp-program, inferior-lisp-load-command):
15014 * progmodes/hideshow.el (hs-special-modes-alist):
15015 * progmodes/gud.el (same-window-regexps):
15016 * progmodes/grep.el (grep-program, find-program, xargs-program):
15017 * net/telnet.el (same-window-regexps):
15018 * net/rlogin.el (same-window-regexps):
15019 * language/ethiopic.el (font-ccl-encoder-alist):
15020 * vc-sccs.el (vc-sccs-master-templates):
15021 * vc-rcs.el (vc-rcs-master-templates):
15022 * subr.el (cl-assertion-failed):
15023 * simple.el (next-error-overlay-arrow-position):
15024 * lpr.el (lpr-command):
15025 * locate.el (locate-ls-subdir-switches):
15026 * info.el (same-window-regexps, info)
15027 (Info-goto-emacs-command-node, Info-goto-emacs-key-command-node):
15028 * image-mode.el (image-mode, auto-mode-alist):
15029 * hippie-exp.el (hippie-expand-ignore-buffers):
15030 * format.el (format-alist):
15031 * find-dired.el (find-ls-subdir-switches, find-grep-options)
15033 * facemenu.el (facemenu-keybindings):
15034 * dired.el (dired-listing-switches, dired-chown-program):
15035 * diff.el (diff-switches, diff-command):
15036 * cus-edit.el (same-window-regexps):
15037 * bindings.el (mode-line-mule-info)
15038 (mode-line-buffer-identification): Purecopy strings.
15040 2009-11-11 Juri Linkov <juri@jurta.org>
15042 * simple.el (dired-get-filename) <declare-function>:
15043 Tell the byte-compiler about dired-get-filename.
15044 (shell-command): In Dired mode, get filename from the current line
15045 as the default value.
15047 2009-11-10 Glenn Morris <rgm@gnu.org>
15049 * dired.el, hi-lock.el, calendar/cal-menu.el, calendar/calendar.el:
15050 * calendar/holidays.el, progmodes/cperl-mode.el:
15051 Update x-popup-menu declarations.
15053 * emacs-lisp/shadow.el (find-emacs-lisp-shadows)
15054 (list-load-path-shadows): Use dolist.
15055 (list-load-path-shadows): Use with-current-buffer.
15057 2009-11-10 Juri Linkov <juri@jurta.org>
15059 * minibuffer.el (read-file-name): Support a list of default values
15060 in `default-filename'. Use the first file name where only one
15061 element is required. Doc fix.
15063 2009-11-09 Michael Albinus <michael.albinus@gmx.de>
15065 * net/dbus.el (dbus-unregister-object): Release service, if no
15066 other method is registered for it.
15068 2009-11-08 Markus Rost <rost@math.uni-bielefeld.de>
15070 * bookmark.el (bookmark-completing-read): Sort bookmark names if
15071 bookmark-sort-flag is non-nil (Bug#4653).
15073 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
15075 * emulation/cua-base.el: Add CUA property to some CC mode commands
15078 2009-11-08 Kevin Ryde <user42@zip.com.au>
15080 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp): Match noun
15081 at end of sentence (Bug#4818).
15083 2009-11-08 Jared Finder <jfinder@crypticstudios.com>
15085 * progmodes/compile.el (compilation-error-regexp-alist-alist):
15086 Handle "see declaration of" MSFT statements (Bug#4100).
15088 2009-11-08 Michael Albinus <michael.albinus@gmx.de>
15090 * net/tramp.el (tramp-advice-make-auto-save-file-name)
15091 (tramp-advice-file-expand-wildcards): Unload via
15092 `ad-remove-advice'.
15094 * net/trampver.el: Update release number.
15096 2009-11-08 Kevin Ryde <user42@zip.com.au>
15098 * net/tramp.el (tramp-advice-file-expand-wildcards): Don't rely on
15101 2009-11-08 Andr <m00naticus@gmail.com> (tiny change)
15103 * net/tramp.el (tramp-handle-write-region): Copy but rename temp file,
15104 in order to keep context in SELinux.
15106 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
15108 * dired-aux.el (dired-query): Place cursor in echo area and allow
15111 * dired.el (dired-mode-map): Disable dired-maybe-insert-subdir
15112 menu item if not on a directory (Bug#4701).
15114 2009-11-07 Michael Albinus <michael.albinus@gmx.de>
15116 Sync with Tramp 2.1.17.
15118 * net/tramp.el (tramp-handle-copy-directory): Don't use
15119 `file-remote-p' (due to compatibility).
15121 * net/tramp-compat.el (tramp-compat-copy-directory)
15122 (tramp-compat-delete-directory): New defuns.
15124 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
15125 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
15126 Use `tramp-compat-delete-directory'.
15128 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
15129 (tramp-smb-handle-delete-directory):
15130 Use `tramp-compat-copy-directory' and `tramp-compat-delete-directory'.
15132 * net/trampver.el: Update release number.
15134 2009-11-07 Chong Yidong <cyd@stupidchicken.com>
15136 * tar-mode.el (tar-copy): Call write-region on the right buffer
15139 * mail/rmailsum.el (rmail-summary-rmail-update): Call linum-update
15140 by hand, if necessary (Bug#4878).
15142 2009-11-06 Chong Yidong <cyd@stupidchicken.com>
15144 * buff-menu.el (Buffer-menu-buffer+size): Use display property to
15145 align size column (Bug#4839).
15147 * emacs-lisp/autoload.el (autoload-rubric): Always issue a provide
15150 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
15152 * progmodes/ld-script.el (auto-mode-alist):
15153 * vc-hooks.el (vc-directory-exclusion-list): Purecopy strings.
15155 * cus-face.el (custom-declare-face): Purecopy face spec.
15157 2009-11-06 Kenichi Handa <handa@m17n.org>
15159 * international/uni-bidi.el: Re-generated.
15160 * international/uni-category.el: Re-generated.
15161 * international/uni-combining.el: Re-generated.
15162 * international/uni-mirrored.el: Re-generated.
15164 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
15166 * textmodes/tex-mode.el (tex-alt-dvi-print-command)
15167 (tex-dvi-print-command, tex-bibtex-command, tex-start-commands)
15168 (tex-start-options, slitex-run-command, latex-run-command)
15169 (tex-run-command, tex-directory):
15170 * textmodes/ispell.el (ispell-html-skip-alists)
15171 (ispell-tex-skip-alists, ispell-tex-skip-alists):
15172 * textmodes/fill.el (adaptive-fill-first-line-regexp):
15173 (adaptive-fill-regexp):
15174 * textmodes/dns-mode.el (auto-mode-alist):
15175 * progmodes/python.el (interpreter-mode-alist):
15176 * progmodes/etags.el (tags-compression-info-list):
15177 * progmodes/etags.el (tags-file-name):
15178 * net/browse-url.el (browse-url-galeon-program)
15179 (browse-url-firefox-program):
15180 * mail/sendmail.el (mail-signature-file)
15181 (mail-citation-prefix-regexp):
15182 * international/mule-conf.el (eight-bit):
15183 * international/latexenc.el (latex-inputenc-coding-alist):
15184 * international/fontset.el (x-pixel-size-width-font-regexp):
15185 * emacs-lisp/warnings.el (warning-type-format):
15186 * emacs-lisp/trace.el (trace-buffer):
15187 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-map)
15188 (emacs-lisp-mode-map):
15189 * calendar/holidays.el (holiday-solar-holidays)
15190 (holiday-bahai-holidays, holiday-islamic-holidays)
15191 (holiday-christian-holidays, holiday-hebrew-holidays)
15192 (hebrew-holidays-4, hebrew-holidays-3, hebrew-holidays-2)
15193 (hebrew-holidays-1, holiday-oriental-holidays)
15194 (holiday-general-holidays):
15195 * x-dnd.el (x-dnd-known-types):
15196 * tool-bar.el (tool-bar):
15197 * startup.el (site-run-file):
15198 * shell.el (shell-dumb-shell-regexp):
15199 * rfn-eshadow.el (file-name-shadow-tty-properties)
15200 (file-name-shadow-properties):
15201 * paths.el (remote-shell-program, news-directory):
15202 * mouse.el ([C-down-mouse-3]):
15203 * menu-bar.el (menu-bar-tools-menu):
15204 * jka-cmpr-hook.el (jka-compr-load-suffixes)
15205 (jka-compr-mode-alist-additions, jka-compr-compression-info-list)
15206 (jka-compr-compression-info-list):
15207 * isearch.el (search-whitespace-regexp):
15208 * image-file.el (image-file-name-extensions):
15209 * find-dired.el (find-ls-option):
15210 * files.el (directory-listing-before-filename-regexp)
15211 (directory-free-space-args, insert-directory-program)
15212 (list-directory-brief-switches, magic-fallback-mode-alist)
15213 (magic-fallback-mode-alist, auto-mode-interpreter-regexp)
15214 (automount-dir-prefix):
15215 * faces.el (face-x-resources, x-font-regexp, x-font-regexp-head)
15216 (x-font-regexp-slant, x-font-regexp-weight, face-x-resources)
15217 (face-font-registry-alternatives, face-font-registry-alternatives)
15218 (face-font-family-alternatives):
15219 * facemenu.el (facemenu-add-new-face, facemenu-background-menu)
15220 (facemenu-foreground-menu, facemenu-face-menu):
15221 * epa-hook.el (epa-file-name-regexp):
15222 * dnd.el (dnd-protocol-alist):
15223 * textmodes/rst.el (auto-mode-alist):
15224 * button.el (default-button): Purecopy strings.
15226 2009-11-06 Glenn Morris <rgm@gnu.org>
15228 * Makefile.in (ELCFILES): Update.
15230 2009-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
15232 * emacs-lisp/lucid.el: Move to obsolete/lucid.el.
15233 * emacs-lisp/levents.el: Move to obsolete/levents.el.
15235 * nxml/xsd-regexp.el (xsdre-gen-categories):
15236 * nxml/xmltok.el (xmltok-parse-entity):
15237 * nxml/rng-parse.el (rng-parse-validate-file):
15238 * nxml/rng-maint.el (rng-format-manual)
15239 (rng-manual-output-force-new-line):
15240 * nxml/rng-loc.el (rng-save-schema-location-1):
15241 * nxml/rng-cmpct.el (rng-c-parse-file):
15242 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
15243 * nxml/nxml-parse.el (nxml-parse-file): Use with-current-buffer.
15245 2009-11-05 Wilson Snyder <wsnyder@wsnyder.org>
15247 * progmodes/verilog-mode.el (verilog-getopt-file, verilog-set-define):
15248 Remove extra save-excursions and make-variable-buffer-local's.
15249 Suggested by Stefan Monnier.
15251 (verilog-getopt-file, verilog-module-inside-filename-p)
15252 (verilog-set-define): Merge GNU 1.35 and repair changes from
15253 switching to using with-current-buffer.
15255 (verilog-read-always-signals-recurse): Fix "a == 2'b00 ? b : c"
15256 being treated as a number and confusing AUTORESET.
15257 Reported by Dan Dever.
15259 (verilog-auto-ignore-concat, verilog-read-sub-decls-expr):
15260 Add verilog-auto-ignore-concat to fix backward compatibility with
15261 older verilog-modes. Reported by Dan Katz.
15263 (verilog-read-auto-template): Fix AUTO_TEMPLATEs with regexps
15264 containing closing anchors "...$".
15266 (verilog-read-decls): Fix AUTOREG not detecting "assign {a,b}".
15267 Reported by Wade Smith.
15269 (verilog-batch-execute-func): Comment on function usage.
15271 2009-11-05 Michael McNamara <mac@mail.brushroad.com>
15273 * progmodes/verilog-mode.el (verilog-label-re): Fix regular expression
15276 (verilog-label-re, verilog-calc-1): Support proper indent of named
15279 (verilog-backward-token, verilog-basic-complete-re)
15280 (verilog-beg-of-statement, verilog-indent-re): Support proper
15281 indent of the assert statement at the beginning of a block of text.
15283 (verilog-beg-block-re, verilog-ovm-begin-re): Support the
15284 `ovm_object_param_utils_begin and `ovm_component_param_utils_begin
15287 2009-11-05 Glenn Morris <rgm@gnu.org>
15289 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Drop test for
15290 Emacs 19. (Bug#1531)
15291 (byte-compile-fix-header): Update for the above change.
15292 Drop test for epoch::version.
15294 * emacs-lisp/autoload.el (autoload-rubric): Add optional feature arg.
15295 * cus-dep.el (custom-make-dependencies):
15296 * finder.el (finder-compile-keywords):
15297 Use autoload-rubric's feature argument.
15299 * calendar/diary-lib.el (top-level): Make load behave more like require.
15301 * vc-git.el (vc-git-stash-map): Move definition before use.
15303 2009-11-04 Dan Nicolaescu <dann@ics.uci.edu>
15305 * custom.el (custom-declare-group): Purecopy standard-value.
15306 (custom-declare-group): Purecopy custom-prefix.
15308 * international/mule.el (load-with-code-conversion):
15309 Call do-after-load-evaluation unconditionally.
15311 * emacs-lisp/bytecomp.el (byte-compile-output-file-form): Handle defvaralias.
15313 2009-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
15315 * descr-text.el: Require help-mode rather than help-fns (bug#4861).
15317 2009-11-04 Glenn Morris <rgm@gnu.org>
15319 * emacs-lisp/bytecomp.el (byte-compile-version-cond): Remove macro.
15320 (byte-compile-compatibility): Remove option.
15321 (byte-compile-close-variables, byte-compile-fix-header)
15322 (byte-compile-insert-header, byte-compile-output-docform)
15323 (byte-compile-file-form-defmumble, byte-compile-byte-code-maker)
15324 (byte-compile-lambda, byte-compile-form, byte-defop-compiler19)
15325 (byte-compile-list, byte-compile-concat, byte-compile-function-form)
15326 (byte-compile-insert, byte-compile-defun):
15327 Remove support for byte-compile-compatibility and Emacs 18. (Bug#4571)
15328 (byte-defop-compiler19): Remove.
15329 Without byte-compile-compatibility, the 'emacs19-opcode property is not
15330 used by anything. Replace all calls with byte-defop-compiler.
15332 2009-11-04 Juri Linkov <juri@jurta.org>
15334 * menu-bar.el (menu-bar-make-mm-toggle): Quote each element of `props'.
15335 (menu-bar-options-menu): Don't quote the `prop' arg of
15336 `menu-bar-make-mm-toggle'.
15338 2009-11-04 Juanma Barranquero <lekktu@gmail.com>
15340 * calendar/calendar.el (cal-loaddefs):
15341 * calendar/diary-lib.el (diary-loaddefs):
15342 * calendar/holidays.el (hol-loaddefs):
15343 * eshell/esh-module.el (esh-groups): Load rather than require.
15345 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
15347 * calendar/todo-mode.el (todo-add-category): Don't hardcode
15349 (todo-top-priorities): Only display-buffer when called interactively.
15350 (todo-item-start): Don't save excursion point.
15351 (todo-item-end): Be slightly more careful. Add `include-sep' arg.
15352 (todo-insert-item-here, todo-file-item, todo-remove-item):
15353 Adjust uses of todo-item-start and todo-item-end.
15355 * emacs-lisp/autoload.el (generated-autoload-feature): Remove.
15356 (autoload-rubric): Don't use any more.
15358 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Use dolist,
15359 and only put a prop if it is non-nil.
15361 2009-11-03 Juri Linkov <juri@jurta.org>
15363 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle)
15364 (menu-bar-options-menu): Fix list quoting (Bug#4429).
15366 * buff-menu.el (Buffer-menu-mode-map): Add hyphen between "Buffer"
15367 and "Menu" to make top-level menu item visually one unit (like
15368 it's done for "Lisp-Interaction", "Emacs-Lisp" and other
15369 multi-word menu items). Fix :help string for quit-window.
15371 2009-11-03 Glenn Morris <rgm@gnu.org>
15373 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
15374 (byte-compile-file-form-define-abbrev-table)
15375 (byte-compile-file-form-custom-declare-variable)
15376 (byte-compile-variable-ref, byte-compile-defvar):
15377 Whether or not a warning is enabled should only affect whether we issue
15378 the warning, not whether or not we collect the relevant data.
15379 Eg warnings can be turned on and off throughout the course of a file.
15381 * eshell/esh-mode.el (ansi-color-apply-on-region): Autoload it...
15382 (eshell-handle-ansi-color): ... Rather than requiring ansi-color.
15384 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
15386 * term/ns-win.el (ns-scroll-bar-move, ns-face-at-pos):
15387 * play/mpuz.el (mpuz-create-buffer):
15388 * play/landmark.el (lm-prompt-for-move, lm-print-wts, lm-print-smell)
15389 (lm-print-y,s,noise, lm-print-w0, lm-init):
15390 * play/gomoku.el (gomoku-prompt-for-move):
15391 * play/fortune.el (fortune-in-buffer):
15392 * play/dissociate.el (dissociated-press):
15393 * play/decipher.el (decipher-adjacency-list, decipher-display-regexp)
15394 (decipher-analyze-buffer, decipher-stats-buffer, decipher-stats-buffer):
15395 * mail/supercite.el (sc-eref-show):
15396 * mail/smtpmail.el (smtpmail-send-it):
15397 * mail/rmailsum.el (rmail-summary-next-labeled-message)
15398 (rmail-summary-previous-labeled-message, rmail-summary-wipe)
15399 (rmail-summary-undelete-many, rmail-summary-rmail-update)
15400 (rmail-summary-goto-msg, rmail-summary-expunge)
15401 (rmail-summary-get-new-mail, rmail-summary-search-backward)
15402 (rmail-summary-add-label, rmail-summary-output-menu)
15403 (rmail-summary-output-body):
15404 * mail/rfc822.el (rfc822-addresses):
15405 * mail/reporter.el (reporter-dump-variable, reporter-dump-state):
15406 * mail/mailpost.el (post-mail-send-it):
15407 * mail/hashcash.el (hashcash-generate-payment):
15408 * mail/feedmail.el (feedmail-run-the-queue)
15409 (feedmail-queue-send-edit-prompt-help-first)
15410 (feedmail-send-it-immediately, feedmail-give-it-to-buffer-eater)
15411 (feedmail-deduce-address-list):
15412 * eshell/esh-ext.el (eshell-remote-command):
15413 * eshell/em-unix.el (eshell-occur-mode-mouse-goto):
15414 * emulation/viper-util.el (viper-glob-unix-files, viper-save-setting)
15415 (viper-wildcard-to-regexp, viper-glob-mswindows-files)
15416 (viper-save-string-in-file, viper-valid-marker):
15417 * emulation/viper-keym.el (viper-toggle-key):
15418 * emulation/viper-ex.el (ex-expand-filsyms, viper-get-ex-file)
15419 (ex-edit, ex-global, ex-mark, ex-next-related-buffer, ex-quit)
15420 (ex-get-inline-cmd-args, ex-tag, ex-command, ex-compile):
15421 * emulation/viper-cmd.el (viper-exec-form-in-vi)
15422 (viper-exec-form-in-emacs, viper-brac-function):
15423 * emulation/viper.el (viper-delocalize-var):
15424 * emulation/vip.el (vip-mode, vip-get-ex-token, vip-ex, vip-get-ex-pat)
15425 (vip-get-ex-command, vip-get-ex-opt-gc, vip-get-ex-buffer)
15426 (vip-get-ex-count, vip-get-ex-file, ex-edit, ex-global, ex-mark)
15427 (ex-map, ex-unmap, ex-quit, ex-read, ex-tag, ex-command):
15428 * emulation/vi.el (vi-switch-mode, vi-ex-cmd):
15429 * emulation/edt.el (edt-electric-helpify):
15430 * emulation/cua-rect.el (cua--rectangle-aux-replace):
15431 * emulation/cua-gmrk.el (cua--insert-at-global-mark)
15432 (cua--delete-at-global-mark, cua--copy-rectangle-to-global-mark)
15433 (cua-indent-to-global-mark-column):
15434 * calendar/diary-lib.el (calendar-mark-1):
15435 * calendar/cal-hebrew.el (calendar-hebrew-mark-date-pattern):
15436 Use with-current-buffer.
15437 * emulation/viper.el (viper-delocalize-var): Use dolist.
15439 2009-11-03 Chong Yidong <cyd@stupidchicken.com>
15441 * comint.el (comint-replace-by-expanded-history-before-point):
15442 Replace !! with the previous input string literally (Bug#1795).
15444 2009-11-02 Jay Belanger <jay.p.belanger@gmail.com>
15446 * calc/calc-forms.el (calc-date-notation): Allow a "blank string"
15447 to be made up of whitespace.
15449 2009-11-02 Chong Yidong <cyd@stupidchicken.com>
15451 * minibuffer.el (read-file-name): Don't use file dialogs for
15452 remote directories (Bug#99).
15454 2009-11-01 Chong Yidong <cyd@stupidchicken.com>
15456 * progmodes/sh-script.el (sh-font-lock-paren): Fix last change.
15458 2009-11-01 Andreas Schwab <schwab@linux-m68k.org>
15460 * view.el (view-mode-exit): If OLD-BUF is dead bury the buffer
15461 instead of deleting the window or frame.
15463 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
15465 * textmodes/sgml-mode.el (sgml-mode-facemenu-add-face-function):
15466 Support face colors.
15468 * textmodes/tex-mode.el (tex-facemenu-add-face-function):
15469 New function. Support face colors (Bug#1168).
15470 (tex-common-initialization): Use it.
15472 * facemenu.el (facemenu-enable-faces-p): Enable facemenu if the
15473 mode allows it (Bug#1168).
15475 2009-10-31 Juri Linkov <juri@jurta.org>
15477 * facemenu.el (list-colors-display): Don't mark buffer as
15478 modified (Bug#3948).
15480 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
15482 * international/mule-diag.el (list-character-sets-1):
15483 Minor message fix (Bug#3526).
15485 * progmodes/etags.el (etags-list-tags, etags-tags-apropos):
15486 Fix face property (Bug#4834).
15487 (etags-list-tags, etags-tags-apropos-additional)
15488 (etags-tags-apropos, tags-select-tags-table): Add follow-link
15491 * menu-bar.el (menu-bar-tools-menu): Add Semantic and EDE menu
15494 2009-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
15496 * textmodes/two-column.el (2C-split):
15497 * textmodes/texnfo-upd.el (texinfo-multi-file-included-list):
15498 * textmodes/tex-mode.el (tex-set-buffer-directory):
15499 * textmodes/spell.el (spell-region, spell-string):
15500 * textmodes/reftex.el (reftex-erase-buffer):
15501 (reftex-get-file-buffer-force, reftex-kill-temporary-buffers):
15502 * textmodes/reftex-toc.el (reftex-toc-promote-action):
15503 * textmodes/reftex-sel.el (reftex-get-offset, reftex-insert-docstruct)
15504 (reftex-select-item):
15505 * textmodes/reftex-ref.el (reftex-label-info-update)
15506 (reftex-offer-label-menu):
15507 * textmodes/reftex-index.el (reftex-index-change-entry)
15508 (reftex-index-phrases-info):
15509 * textmodes/reftex-global.el (reftex-create-tags-file)
15510 (reftex-save-all-document-buffers, reftex-ensure-write-access):
15511 * textmodes/reftex-dcr.el (reftex-echo-ref, reftex-echo-cite)
15512 (reftex-view-crossref-from-bibtex):
15513 * textmodes/reftex-cite.el (reftex-bibtex-selection-callback)
15514 (reftex-extract-bib-entries-from-thebibliography)
15515 (reftex-all-used-citation-keys, reftex-create-bibtex-file):
15516 * textmodes/refbib.el (r2b-capitalize-title):
15517 (r2b-convert-buffer, r2b-help):
15518 * textmodes/page-ext.el (pages-directory)
15519 (pages-directory-goto-with-mouse):
15520 * textmodes/bibtex.el (bibtex-validate-globally):
15521 * textmodes/bib-mode.el (bib-capitalize-title):
15522 * textmodes/artist.el (artist-clear-buffer, artist-system):
15523 * progmodes/xscheme.el (global-set-scheme-interaction-buffer):
15524 (local-set-scheme-interaction-buffer, xscheme-process-filter)
15525 (verify-xscheme-buffer, xscheme-enter-interaction-mode)
15526 (xscheme-enter-debugger-mode, xscheme-debugger-mode-p)
15527 (xscheme-send-control-g-interrupt, xscheme-start-process)
15528 (xscheme-process-sentinel, xscheme-cd):
15529 * progmodes/verilog-mode.el (verilog-read-always-signals)
15530 (verilog-set-define, verilog-getopt-file)
15531 (verilog-module-inside-filename-p):
15532 * progmodes/sh-script.el:
15533 * progmodes/python.el (python-pdbtrack-get-source-buffer)
15534 (python-pdbtrack-grub-for-buffer, python-execute-file):
15535 * progmodes/octave-inf.el (inferior-octave):
15536 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
15537 (idlwave-shell-compile-helper-routines, idlwave-set-local)
15538 (idlwave-display-completion-list-xemacs, idlwave-list-abbrevs)
15539 (idlwave-display-completion-list-emacs, idlwave-list-load-path-shadows)
15540 (idlwave-completion-fontify-classes, idlwave-display-calling-sequence):
15541 * progmodes/idlw-shell.el (idlwave-shell-examine-display-clear)
15542 (idlwave-shell-filter, idlwave-shell-examine-highlight)
15543 (idlwave-shell-sentinel, idlwave-shell-filter-directory)
15544 (idlwave-shell-display-line, idlwave-shell-set-bp-in-module)
15545 (idlwave-shell-examine-display, idlwave-shell-run-region)
15546 (idlwave-shell-filter-bp, idlwave-shell-save-and-action)
15547 (idlwave-shell-sources-filter, idlwave-shell-goto-next-error):
15548 * progmodes/idlw-help.el (idlwave-help-get-special-help)
15549 (idlwave-help-get-help-buffer):
15550 * progmodes/gud.el (gud-basic-call, gud-find-class)
15551 (gud-tooltip-activate-mouse-motions-if-enabled):
15552 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
15553 * progmodes/ebrowse.el (ebrowse-member-table, ebrowse-save-tree-as)
15554 (ebrowse-view-exit-fn, ebrowse-tags-list-members-in-file)
15555 (ebrowse-tags-next-file):
15556 * progmodes/ebnf2ps.el (ebnf-generate-eps, ebnf-generate-eps)
15557 (ebnf-eps-production-list, ebnf-begin-file, ebnf-log)
15558 (ebnf-eps-finish-and-write):
15559 * progmodes/cpp.el (cpp-edit-save):
15560 * progmodes/cperl-mode.el (cperl-pod-to-manpage):
15561 * progmodes/cc-defs.el (c-emacs-features):
15562 * progmodes/antlr-mode.el (antlr-invalidate-context-cache)
15563 (antlr-directory-dependencies):
15564 * progmodes/ada-xref.el (ada-gnat-parse-gpr, ada-get-ali-file-name)
15565 (ada-run-application, ada-find-in-src-path, ada-goto-parent)
15566 (ada-find-any-references, ada-make-filename-from-adaname)
15567 (ada-make-body-gnatstub):
15568 * obsolete/rnews.el (news-list-news-groups):
15569 * obsolete/resume.el (resume-suspend-hook, resume-write-buffer-to-file):
15570 * obsolete/iso-acc.el (iso-acc-minibuf-setup):
15571 * net/rcirc.el (rcirc-debug):
15572 * net/newst-treeview.el (newsticker--treeview-list-add-item)
15573 (newsticker--treeview-list-clear, newsticker-treeview-browse-url)
15574 (newsticker--treeview-list-update-faces, newsticker-treeview-save)
15575 (newsticker--treeview-item-show-text, newsticker--treeview-item-show)
15576 (newsticker--treeview-tree-update-tag, newsticker--treeview-buffer-init)
15577 (newsticker-treeview-show-item, newsticker--treeview-unfold-node)
15578 (newsticker--treeview-list-clear-highlight)
15579 (newsticker--treeview-list-update-highlight)
15580 (newsticker--treeview-list-highlight-start)
15581 (newsticker--treeview-tree-update-highlight)
15582 (newsticker--treeview-get-selected-item)
15583 (newsticker-treeview-mark-list-items-old)
15584 (newsticker--treeview-set-current-node):
15585 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
15586 * net/newst-backend.el (newsticker--get-news-by-funcall)
15587 (newsticker--get-news-by-wget, newsticker--image-get)
15588 (newsticker--image-sentinel):
15589 * net/mairix.el (mairix-rmail-fetch-field, mairix-gnus-fetch-field):
15590 * net/eudcb-ph.el (eudc-ph-do-request, eudc-ph-open-session):
15591 (eudc-ph-close-session):
15592 * net/eudc.el (eudc-save-options):
15593 * language/thai-word.el (thai-update-word-table):
15594 * language/japan-util.el (japanese-string-conversion):
15595 * international/titdic-cnv.el (tsang-quick-converter)
15596 (ziranma-converter, ctlau-converter):
15597 * international/mule-cmds.el (describe-language-environment):
15598 * international/ja-dic-cnv.el (skkdic-convert-okuri-ari)
15599 (skkdic-convert-postfix, skkdic-convert-prefix):
15600 (skkdic-convert-okuri-nasi, skkdic-convert):
15601 * emacs-lisp/re-builder.el (reb-update-overlays):
15602 * emacs-lisp/pp.el (pp-to-string, pp-display-expression):
15603 * emacs-lisp/gulp.el (gulp-send-requests):
15604 * emacs-lisp/find-gc.el (trace-call-tree):
15605 * emacs-lisp/eieio-opt.el (eieio-browse, eieio-describe-class)
15606 (eieio-describe-generic):
15607 * emacs-lisp/eieio-base.el (eieio-persistent-read):
15608 * emacs-lisp/edebug.el (edebug-outside-excursion):
15609 * emacs-lisp/debug.el (debugger-make-xrefs):
15610 * emacs-lisp/cust-print.el (custom-prin1-to-string):
15611 * emacs-lisp/chart.el (chart-new-buffer):
15612 * emacs-lisp/authors.el (authors-scan-el, authors-scan-change-log):
15613 Use with-current-buffer.
15614 * textmodes/artist.el (artist-system): Don't call
15615 copy-sequence on a fresh string.
15616 * progmodes/idlw-shell.el (easymenu setup): Use dolist.
15618 2009-10-31 Stephen Berman <stephen.berman@gmx.net>
15620 * calendar/todo-mode.el (todo-edit-item): Signal an error if there
15621 is no item to edit. (Bug#4820)
15622 (todo-top-priorities): Restore point and restore narrowing in Todo
15625 2009-10-31 Glenn Morris <rgm@gnu.org>
15627 * net/ange-ftp.el (top-level): Don't require dired when compiling.
15628 (comint-last-output-start, comint-last-input-start)
15629 (comint-last-input-end): Don't defvar when compiling.
15630 (ange-ftp-process-file): Use bound-and-true-p.
15632 * pcmpl-rpm.el (top-level): Move provide statement to end.
15633 (pcmpl-rpm): Remove unused custom group.
15635 * pcmpl-gnu.el (tar-parse-info, tar-header-name): Declare for compiler.
15637 * mail/emacsbug.el (report-emacs-bug): Request `emacs -Q' recipes.
15639 * emacs-lisp/bytecomp.el (byte-compile-warning-types)
15640 (byte-compile-warnings): Add `constants' as an option.
15641 (byte-compile-callargs-warn, byte-compile-arglist-warn)
15642 (display-call-tree): Update for byte-compile-fdefinition possibly
15643 returning `(macro lambda ...)'. (Bug#4778)
15644 (byte-compile-variable-ref, byte-compile-setq-default):
15645 Respect `constants' member of byte-compile-warnings.
15647 2009-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
15649 * vc-bzr.el (vc-bzr-revision-keywords): New var.
15650 (vc-bzr-revision-completion-table): Use it to fix completion of "s:"
15653 2009-10-30 Dan Nicolaescu <dann@ics.uci.edu>
15655 * textmodes/ispell.el (ispell-skip-region-alist):
15656 * international/mule-conf.el (eight-bit):
15657 * international/fontset.el (font-encoding-alist):
15658 * startup.el (pure-space-overflow-message):
15659 * simple.el (overwrite-mode-textual, overwrite-mode-binary):
15660 * paths.el (gnus-nntp-service, rmail-spool-directory)
15661 (term-file-prefix):
15662 * files.el (save-some-buffers-action-alist):
15663 * cmuscheme.el (same-window-buffer-names):
15664 * ielm.el (same-window-buffer-names):
15665 * shell.el (same-window-buffer-names):
15666 * mail/sendmail.el (same-window-buffer-names):
15667 * progmodes/inf-lisp.el (same-window-buffer-names):
15668 * bindings.el (mode-line-client)
15669 (mode-line-column-line-number-mode-map):
15670 * language/tibetan.el (tibetan-precomposition-rule-regexp)
15671 (tibetan-precomposed-regexp): Purecopy string arguments.
15673 2009-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
15675 * calc/calc.el (calc, calc-refresh, calc-trail-buffer, calc-record)
15676 (calcDigit-nondigit):
15677 * calc/calc-yank.el (calc-copy-to-buffer):
15678 * calc/calc-units.el (calc-invalidate-units-table):
15679 * calc/calc-trail.el (calc-trail-yank):
15680 * calc/calc-store.el (calc-insert-variables):
15681 * calc/calc-rewr.el (math-rewrite, math-rewrite-phase):
15682 * calc/calc-prog.el (calc-read-parse-table):
15683 * calc/calc-keypd.el (calc-do-keypad, calc-keypad-right-click):
15684 * calc/calc-help.el (calc-describe-bindings, calc-describe-key):
15685 * calc/calc-graph.el (calc-graph-delete, calc-graph-add-curve)
15686 (calc-graph-juggle, calc-graph-count-curves, calc-graph-plot)
15687 (calc-graph-plot, calc-graph-format-data, calc-graph-set-styles)
15688 (calc-graph-name, calc-graph-find-command, calc-graph-view)
15689 (calc-graph-view, calc-gnuplot-command, calc-graph-init):
15690 * calc/calc-ext.el (calc-realign):
15691 * calc/calc-embed.el (calc-do-embedded, calc-do-embedded)
15692 (calc-embedded-finish-edit, calc-embedded-make-info)
15693 (calc-embedded-finish-command, calc-embedded-stack-change):
15694 * calc/calc-aent.el (calcAlg-enter): Use with-current-buffer.
15696 * pcomplete.el (pcomplete-comint-setup): If there's a choice, replace
15697 shell-dynamic-complete-filename in preference to
15698 comint-dynamic-complete-filename.
15700 * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
15701 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
15702 Don't consider whether the display supports colors.
15703 (bookmark-import-new-list): Use dolist.
15704 (bookmark-bmenu-mode-map): Move initialization into declaration.
15705 (bookmark-bmenu-list): Use dolist, simplify.
15706 (bookmark-show-all-annotations): Use save-selected-window and dolist.
15707 (menu-bar-final-items): Use push.
15709 2009-10-28 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
15711 * vc-hg.el (vc-hg-state, vc-hg-working-revision): Use process-file so
15712 it works on remote files.
15713 (vc-hg-diff): Don't pass any `--cwd' argument.
15715 2009-10-27 Kevin Ryde <user42@zip.com.au>
15717 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
15718 Use help-xref-info-regexp and help-xref-url-regexp to identify links.
15719 (Further to Bug#3921).
15721 2009-10-27 Michael Albinus <michael.albinus@gmx.de>
15723 * net/tramp-imap.el (top): Add `X-Size' to `imap-hash-headers'.
15724 (tramp-imap-do-copy-or-rename-file): Don't use the inode, when
15725 calling `tramp-imap-put-file'. Add file size to the call.
15726 (tramp-imap-get-file-entries): Compute also user name, file size,
15728 (tramp-imap-handle-insert-directory): Insert uid and gid.
15729 (tramp-imap-handle-file-attributes): Transform uid and gid
15730 according to `id-format'.
15731 (tramp-imap-put-file): New optional parameter SIZE. Encode file
15732 size in header X-Size.
15734 2009-10-26 Juanma Barranquero <lekktu@gmail.com>
15736 * simple.el (transpose-subr): Give clearer error when the mark
15737 is not set. (Bug#4807)
15739 2009-10-26 Michael Albinus <michael.albinus@gmx.de>
15741 * net/tramp.el (tramp-perl-file-truename): New defconst.
15742 Perl code contributed by yary <not.com@gmail.com> (tiny change).
15743 (tramp-handle-file-truename, tramp-get-remote-perl): Use it.
15744 Check also for "perl-file-spec" and "perl-cwd-realpath" properties.
15745 (tramp-handle-write-region): In case of APPEND, reuse the tmpfile name.
15747 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
15748 Ignore `dired-call-process'.
15749 (tramp-imap-make-iht): Use `user' and `ssl' with `imap-hash-make'.
15751 2009-10-26 Julian Scheid <julians37@gmail.com>
15753 * net/tramp.el (tramp-perl-file-name-all-completions): New defconst.
15754 (tramp-get-remote-readlink): New defun.
15755 (tramp-handle-file-truename): Use it.
15756 (tramp-handle-file-exists-p): Check file-attributes cache, assume
15757 file exists if cache value present.
15758 (tramp-check-cached-permissions): New defun.
15759 (tramp-handle-file-readable-p): Use it.
15760 (tramp-handle-file-writable-p): Likewise.
15761 (tramp-handle-file-executable-p): Likewise.
15762 (tramp-handle-file-name-all-completions): Try using Perl to get
15763 partial completions. When perl not available, combine `cd' and
15764 `ls' into single remote operation and use shell expansion to get
15765 partial remote directory contents. Set `file-exists-p' cache for
15766 directory and any files returned by ls. Change cache handling to
15767 support partial directory contents. Use error message emitted by
15768 remote `cd' or Perl code for local tramp-error.
15769 (tramp-do-copy-or-rename-file-directly): Avoid separate
15770 tramp-send-command-and-check call.
15771 (tramp-handle-process-file): Merge three remote ops into one.
15772 Do not flush all caches when `process-file-side-effects' is set.
15773 (tramp-handle-write-region): Avoid tramp-set-file-uid-gid if
15774 file-attributes shows uid/gid to be set already.
15776 2009-10-26 Dan Nicolaescu <dann@ics.uci.edu>
15778 * textmodes/tex-mode.el (tex-dvi-view-command)
15779 (tex-show-queue-command, tex-open-quote):
15780 * progmodes/ruby-mode.el (auto-mode-alist)
15781 (interpreter-mode-alist): Purecopy strings.
15783 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Purecopy item names.
15785 * emacs-lisp/derived.el (define-derived-mode): Purecopy the doc
15786 string for the hook, keymap and abbrev table.
15788 * emacs-lisp/byte-run.el (make-obsolete): Purecopy the current name.
15790 * x-dnd.el (x-dnd-xdnd-to-action):
15791 * startup.el (fancy-startup-text, fancy-about-text): Change to
15792 defconst from defvar.
15794 * ps-print.el (ps-page-dimensions-database): Purecopy initial value.
15796 * mouse.el (mouse-buffer-menu-mode-groups, x-fixed-font-alist):
15797 Purecopy initialization strings.
15799 * mail/sendmail.el (mail-header-separator)
15800 (mail-personal-alias-file):
15801 * mail/rmail.el (rmail-default-dont-reply-to-names)
15802 (rmail-ignored-headers, rmail-retry-ignored-headers)
15803 (rmail-highlighted-headers, rmail-secondary-file-directory)
15804 (rmail-secondary-file-regexp):
15805 * files.el (null-device, file-name-invalid-regexp)
15806 (locate-dominating-stop-dir-regexp)
15807 (inhibit-first-line-modes-regexps): Purecopy initialization strings.
15808 (interpreter-mode-alist): Use mapcar instead of mapc.
15810 * buff-menu.el (Buffer-menu-mode-map): Purecopy name.
15812 * bindings.el (mode-line-major-mode-keymap): Purecopy name.
15813 (completion-ignored-extensions):
15814 (debug-ignored-errors): Purecopy strings.
15816 2009-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
15818 * pcomplete.el (pcomplete-std-complete): Obey pcomplete-use-paring.
15819 (pcomplete, pcomplete-parse-buffer-arguments, pcomplete-opt)
15820 (pcomplete--here): Use push.
15822 * subr.el (all-completions): Declare the 4th arg obsolete.
15824 2009-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
15826 * pcomplete.el (pcomplete-unquote-argument-function): New var.
15827 (pcomplete-unquote-argument): New function.
15828 (pcomplete--common-suffix): Always pay attention to case.
15829 (pcomplete--table-subvert): Quote and unquote the text.
15830 (pcomplete--common-quoted-suffix): New function.
15831 (pcomplete-std-complete): Use it and pcomplete-begin.
15833 * bookmark.el (bookmark-bmenu-list): Don't use switch-to-buffer if
15834 we're inside a dedicated or minibuffer window.
15836 2009-10-24 Karl Fogel <kfogel@red-bean.com>
15838 * bookmark.el: Update documentation, especially documentation
15839 of `bookmark-alist' and of the bookmark file format.
15840 Patch by Drew Adams, with minor tweaks from me. (Bug#4195)
15842 2009-10-24 Chong Yidong <cyd@stupidchicken.com>
15844 * mail/emacsbug.el (report-emacs-bug): Clarify that the
15845 keybindings apply to the mail buffer (Bug#4003). Shrink help
15848 * whitespace.el (whitespace-mode, whitespace-newline-mode)
15849 (global-whitespace-mode, global-whitespace-newline-mode)
15850 (whitespace-toggle-options, global-whitespace-toggle-options):
15851 Doc fix (Bug#3660).
15853 * nxml/nxml-mode.el (nxml-balanced-close-start-tag): Use the value
15854 of xmltok-start before the end tag was inserted (Bug#2840).
15856 * progmodes/sh-script.el (sh-font-lock-paren): Handle case
15857 patterns that are preceded by an open-paren (Bug#1320).
15859 2009-10-24 Sven Joachim <svenjoac@gmx.de>
15861 * files.el (delete-directory): Delete symlinks to directories with
15862 delete-file (Bug#4739).
15864 2009-10-24 Dan Nicolaescu <dann@ics.uci.edu>
15866 * vc.el (vc-backend-for-registration): Rename from
15867 vc-get-backend-for-registration. Update callers.
15869 * international/mule-cmds.el (set-language-info-alist):
15871 (leim-list-header, leim-list-entry-regexp): Change defvars to defconst.
15872 (charset): Purecopy the name.
15873 (define-char-code-property): Purecopy string arguments.
15875 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
15876 Purecopy string arguments.
15878 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
15879 * ediff-hook.el (menu-bar-ediff-menu):
15880 * buff-menu.el (Buffer-menu-mode-map): Purecopy names and tooltips.
15881 * bookmark.el (menu-bar-bookmark-map): Add :help and purecopy the name.
15883 2009-10-24 Glenn Morris <rgm@gnu.org>
15885 * comint.el (comint-dynamic-list-completions):
15886 * term.el (term-dynamic-list-completions): Use choose-completion rather
15887 than obsolete alias mouse-choose-completion.
15889 * filecache.el (file-cache-completions-keymap): Bind mouse-2 to
15890 file-cache-choose-completion.
15891 (file-cache-choose-completion): Handle an optional event argument.
15892 (file-cache-mouse-choose-completion): Make it an obsolete alias.
15894 * progmodes/octave-mod.el (octave-complete-symbol):
15895 Use choose-completion if mouse-choose-completion is ever removed.
15897 * textmodes/sgml-mode.el (sgml-looking-back-at): Move definition before
15900 * emacs-lisp/checkdoc.el (generate-autoload-cookie): Define for
15903 * vc-hooks.el (vc-responsible-backend): Fix declaration.
15905 2009-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
15907 * minibuffer.el (completion--embedded-envvar-table): Fix last change.
15908 Ignore `pred' now that we receive one.
15909 Handle test-completion specially.
15911 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
15913 * vc.el (vc-responsible-backend): Throw an error if not backend is
15914 found. Remove the REGISTER argument. Move the code dealing with
15916 (vc-get-backend-for-registration): ... here. New function.
15917 (vc-deduce-fileset): Call vc-get-backend-for-registration instead
15918 of vc-responsible-backend, pass the file name instead of the
15921 2009-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
15923 * pcomplete.el (pcomplete-common-suffix, pcomplete-table-subvert):
15925 (pcomplete-std-complete): Use them. Obey pcomplete-termination-string.
15926 (pcomplete-comint-setup): Don't modify a global var via
15927 accidental side-effects.
15928 (pcomplete-shell-setup): Adjust call accordingly.
15929 (pcomplete-parse-comint-arguments): Use push.
15931 2009-10-23 Chong Yidong <cyd@stupidchicken.com>
15933 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
15934 Allow uncapitalized info node names (Bug#3921).
15936 * mail/emacsbug.el (report-emacs-bug): Tweak the sentence pointing
15937 to the DEBUG file (Bug#3781).
15939 2009-10-23 Jari Aalto <jari.aalto@cante.net>
15941 * textmodes/ispell.el (ispell-dictionary-base-alist): Add finnish
15942 dictionary entry (Bug#4579).
15944 2009-10-23 Michael Albinus <michael.albinus@gmx.de>
15946 * net/tramp.el (top): Remove `tramp-rfn-eshadow-update-overlay'
15947 from `rfn-eshadow-update-overlay-hook' when unloading.
15948 (tramp-methods): Add `tramp-copy-keep-tmpfile' for "rsync" and
15949 "rsyncc". Adjust doc string.
15950 (tramp-temp-buffer-file-name): New buffer-local defvar.
15951 (tramp-handle-insert-file-contents, tramp-handle-write-region):
15952 Keep temporary file when indicated by method ("rsync" and
15954 (tramp-handle-write-region): Handle APPEND.
15955 (tramp-delete-temp-file-function): New defun. Added to
15956 `kill-buffer-hook'.
15958 2009-10-23 Juanma Barranquero <lekktu@gmail.com>
15960 * menu-bar.el (cua-enable-cua-keys): Declare for the byte-compiler.
15962 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
15964 * term/tty-colors.el (msdos-color-values): Remove declaration, unused.
15965 (color-name-rgb-alist, tty-standard-colors)
15966 (tty-color-mode-alist): Change to defconst.
15968 * simple.el (mark-inactive): Purecopy message.
15970 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle): Fix macro.
15971 (global-map, yank-menu):
15972 * textmodes/ispell.el (ispell-menu-map):
15973 * net/eudc.el (eudc-tools-menu):
15974 * international/mule-cmds.el (describe-language-environment-map)
15975 (setup-language-environment-map, set-coding-system-map)
15976 (mule-menu-keymap):
15977 * vc-hooks.el (vc-menu-entry, vc-menu-map):
15978 * replace.el (occur-mode-map):
15979 * pcvs-defs.el (cvs-global-menu): Purecopy names and tooltips.
15981 2009-10-23 Jay Belanger <jay.p.belanger@gmail.com>
15983 * calc/calc.el (math-read-number, math-read-number-simple):
15984 Use `save-match-data'.
15986 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
15988 * simple.el (normal-erase-is-backspace-mode): Use input-decode-map
15989 rather than fiddling with global-map bindings, since it should only
15990 affect per-terminal settings.
15991 See http://bugs.gentoo.org/show_bug.cgi?id=289709.
15993 * minibuffer.el (completion-table-with-terminator): Allow to specify
15994 the terminator-regexp.
15996 * simple.el (switch-to-completions): Look for *Completions* in other
15999 * pcomplete.el: Allow the use of completion-tables.
16000 (pcomplete-std-complete): New command.
16001 (pcomplete-dirs-or-entries): Use a single call to pcomplete-entries.
16002 (pcomplete--here): Use a function for `form' rather than an expression,
16003 so it can be byte-compiled.
16004 (pcomplete-here, pcomplete-here*): Adjust accordingly.
16005 Add edebug declaration.
16006 (pcomplete-show-completions): Remove unused var `curbuf'.
16007 (pcomplete-do-complete, pcomplete-stub):
16008 Don't assume `completions' is a list of strings any more.
16010 2009-10-22 Juanma Barranquero <lekktu@gmail.com>
16012 * find-dired.el (find-name-arg): Fix typo in docstring.
16014 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
16016 * pcmpl-linux.el (pcomplete/kill): Don't abuse pcomplete-entries.
16017 (pcmpl-linux-fs-types): Same, and update to new modules layout.
16019 * pcmpl-gnu.el (pcmpl-gnu-makefile-names): Use a single call to
16022 * comint.el (comint-read-input-ring, comint-write-input-ring)
16023 (comint-substitute-in-file-name)
16024 (comint-dynamic-complete-as-filename)
16025 (comint-dynamic-simple-complete)
16026 (comint-dynamic-list-filename-completions)
16027 (comint-dynamic-list-completions)
16028 (comint-redirect-results-list-from-process): Minor simplifications.
16030 2009-10-21 Kevin Ryde <user42@zip.com.au>
16032 * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
16033 When inserting ";;; Code" put it before any ";;;###autoload" cookie on
16034 the first form. And insert a blank line after ";;; Code" since
16035 that's usual style. (Bug#4612)
16037 * net/dns.el: Add "Keywords: comm", as per net/net-utils.el.
16039 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
16041 * minibuffer.el (completion-table-with-terminator): Properly implement
16042 boundaries, in case `terminator' appears in the suffix.
16043 (completion--embedded-envvar-table): Don't return boundaries if
16044 there's no valid completion. Simplify.
16045 (completion-file-name-table): New completion table extracted from
16046 completion--file-name-table.
16047 (completion--file-name-table): Use it.
16048 (read-file-name-predicate): Declare obsolete.
16049 (read-file-name): Use the pred arg i.s.o read-file-name-predicate.
16050 * vc-bzr.el (vc-bzr-revision-completion-table): Use the new
16051 completion-file-name-table, and use the `pred' argument.
16052 * files.el (locate-file-completion-table): Use the `pred' arg rather
16053 than read-file-name-predicate.
16054 (abbreviate-file-name): Use \` rather than ^ for BOS.
16056 2009-10-21 Dan Nicolaescu <dann@ics.uci.edu>
16058 * vc.el (vc-deduce-fileset): Undo previous change, do not tell
16059 vc-responsible-backend to register, it causes problems.
16061 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
16063 * help-fns.el: Don't require help-mode (to avoid bootstrap issues).
16065 2009-10-21 Michael Albinus <michael.albinus@gmx.de>
16067 * net/tramp-smb.el (tramp-smb-get-stat-capability): New defun.
16068 (tramp-smb-handle-file-attributes): Use it.
16069 (tramp-smb-do-file-attributes-with-stat): Don't raise an error.
16070 (tramp-smb-handle-insert-directory): Use `mapc' rather than
16071 `mapcar'. Use `tramp-smb-get-stat-capability'.
16072 Add `dired-filename' text properties.
16073 (tramp-smb-get-cifs-capabilities): Apply `save-match-data'.
16074 (tramp-smb-maybe-open-connection): Simplify check for smbclient
16077 2009-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
16079 * subr.el (read-key-delay): Reduce to 0.01.
16080 (read-key): Use read-key-sequence-vector to avoid turning M-t into 244
16083 2009-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
16085 * bindings.el (function-key-map): Map C-@ to C-SPC if C-@ is unbound.
16087 * info.el (Info-complete-menu-item): Handle `boundaries' explicitly.
16088 (Info-menu): Remove unused vars `last' and `completions'.
16089 (Info-index-nodes): Remove unused var `node'.
16091 * info.el (Info-complete-menu-item): Use complete-with-action.
16093 2009-10-19 Dan Nicolaescu <dann@ics.uci.edu>
16095 Make vc-annotate work through copies and renames.
16096 * vc-annotate.el (vc-annotate-extract-revision-at-line):
16097 Return the file name too.
16098 (vc-annotate-revision-at-line)
16099 (vc-annotate-find-revision-at-line)
16100 (vc-annotate-revision-previous-to-line)
16101 (vc-annotate-show-log-revision-at-line): Update to get the file
16102 name from vc-annotate-extract-revision-at-line.
16103 (vc-annotate-show-diff-revision-at-line-internal): Change the
16104 argument to mean whether to show a file diff or not. Get the file
16105 name from vc-annotate-extract-revision-at-line.
16106 (vc-annotate-show-diff-revision-at-line):
16107 Update vc-annotate-show-diff-revision-at-line call.
16108 (vc-annotate-warp-revision): Add an optional file argument.
16110 * vc-git.el (vc-git-annotate-command): Pass -C -C to the blame command.
16111 (vc-git-annotate-extract-revision-at-line): Also return the file
16114 * vc-hg.el (vc-hg-annotate-command): Pass --follow to the annotate
16115 command. Remove unused code.
16116 (vc-hg-annotate-re): Update to match --follow output.
16117 (vc-hg-annotate-extract-revision-at-line): Also return the file
16120 * vc.el: Update annotate-extract-revision-at-line documentation.
16122 2009-10-18 Kevin Ryde <user42@zip.com.au>
16124 * ibuffer.el (ibuffer-confirm-operation-on): Correction to error
16125 re-throw, `err' is a pair not a list so can't use apply (Bug#4740).
16127 * net/browse-url.el (browse-url): Identify alist with "consp and
16128 not functionp" and let all other things go down the `apply' leg,
16129 as suggested by Stefan. (Further to bug#4531.)
16131 2009-10-18 Chong Yidong <cyd@stupidchicken.com>
16133 * minibuffer.el (read-file-name): Check for repeat before putting
16134 a default argument in file-name-history (Bug#4657).
16136 * emacs-lisp/lisp-mode.el (preceding-sexp): Recognize hash table
16137 read syntax (Bug#4737).
16139 * textmodes/sgml-mode.el (sgml-delete-tag): Use sgml-looking-back-at.
16141 2009-10-18 Aaron S. Hawley <aaron.s.hawley@gmail.com>
16143 * textmodes/sgml-mode.el (sgml-tag-help): Prompt user for tag.
16144 (html-tag-alist, html-tag-help): Add descriptions for undocumented
16145 entries and make note of obsolete tags.
16147 2009-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
16149 * net/ange-ftp.el (ange-ftp-file-size): Use unwind-protect.
16151 2009-10-18 Glenn Morris <rgm@gnu.org>
16153 * Makefile.in (compile-last): Ensure GREP_OPTIONS is null before calling
16154 grep, so that binary files (eg international/uni-bidi.el) can match.
16155 Remove test for "UnicodeData" files, since it is hopefully unnecessary
16156 now, and in any case the file header format has changed.
16158 2009-10-17 Glenn Morris <rgm@gnu.org>
16160 * textmodes/flyspell.el (flyspell-large-region, flyspell-word)
16161 (flyspell-get-word, flyspell-large-region)
16162 (flyspell-auto-correct-previous-word): Doc/error message fixes.
16164 2009-10-17 Chong Yidong <cyd@stupidchicken.com>
16166 * Makefile.in (ELCFILES): Add ede/shell.
16168 2009-10-17 Dan Nicolaescu <dann@ics.uci.edu>
16170 * term/common-win.el (x-colors): Purecopy it.
16172 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
16174 * tar-mode.el (tar-data-swapped-p): Make the assertion a bit more
16175 permissive for when the buffer is empty.
16176 (tar-header-block-tokenize): Decode the username and groupname.
16177 (tar-chown-entry, tar-chgrp-entry): Encode the names (bug#4730).
16179 2009-10-17 Eric Ludlam <zappo@gnu.org>
16181 * emacs-lisp/eieio-base.el (eieio-persistent-save): If buffer
16182 contains multibyte characters, choose first applicable coding
16183 system automatically.
16185 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
16187 * international/mule-cmds.el (select-safe-coding-system): If the file
16188 has a coding cookie, use it regardless of any other setting (bug#4712).
16190 2009-10-17 Glenn Morris <rgm@gnu.org>
16192 * foldout.el (foldout-mouse-swallow-events):
16193 * gs.el (gs-load-image): Replace obsolete forms of sit-for, sleep-for.
16195 * dired.el (dired-ls-F-marks-symlinks, dired-keep-marker-rename)
16196 (dired-keep-marker-copy, dired-keep-marker-hardlink)
16197 (dired-keep-marker-symlink, dired-dwim-target)
16198 (dired-copy-preserve-time): Do not autoload these defcustoms.
16200 * mail/rmail.el (rmail-write-region-annotate): Prevent viewing different
16201 messages from messing up the file coding. (Bug#4623)
16203 2009-10-17 Jari Aalto <jari.aalto@cante.net>
16205 * textmodes/ispell.el (ispell-get-decoded-string): Give an error
16206 if no match is found for the current dictionary. (Bug#4578)
16208 * textmodes/flyspell.el (flyspell-get-word): Make `following' argument
16209 optional, since that is how it is documented, and this is often called
16210 with a nil argument. (Bug#4577)
16211 (flyspell-external-point-words, flyspell-auto-correct-word)
16212 (flyspell-correct-word-before-point, flyspell-word-search-forward)
16213 (flyspell-word-search-backward): Remove nil argument in calls to
16214 flyspell-get-word, since it is not needed now.
16216 2009-10-17 Ulrich Mueller <ulm@gentoo.org>
16218 * play/doctor.el (doctor-adverbp): Exclude some nouns. (Bug#4565)
16220 2009-10-16 Glenn Morris <rgm@gnu.org>
16222 * net/rcirc.el (rcirc-authenticate): Simplify previous change.
16224 2009-10-16 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
16226 * net/ange-ftp.el (ange-ftp-send-cmd): Handle `size' like `mdtm'.
16227 (ange-ftp-file-size): New function.
16228 (ange-ftp-file-attributes): Use it.
16230 2009-10-16 Michael Albinus <michael.albinus@gmx.de>
16232 * net/tramp-smb.el (tramp-smb-version): New defvar.
16233 (tramp-smb-maybe-open-connection): Use it, in order to avoid
16236 2009-10-16 Glenn Morris <rgm@gnu.org>
16238 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Doc fix.
16239 Maybe copy some custom properties from old to new name. (Bug#4706)
16241 2009-10-16 Juanma Barranquero <lekktu@gmail.com>
16243 * subr.el (error, sit-for, start-process-shell-command)
16244 (start-file-process-shell-command): Set the calling convention
16245 after the function definition.
16247 2009-10-16 Stefan Monnier <monnier@iro.umontreal.ca>
16249 * subr.el (error, sit-for, start-process-shell-command)
16250 (start-file-process-shell-command): Use the new
16251 set-advertised-calling-convention feature.
16253 2009-10-16 Taichi Kawabata <kawabata.taichi@gmail.com>
16255 * international/ucs-normalize.el (ucs-normalize-version):
16257 (check-range): Adjust for Unicode 5.2.
16259 2009-10-15 Juri Linkov <juri@jurta.org>
16261 * menu-bar.el (menu-bar-file-menu): Convert `separator-exit'
16262 to the `menu-item' format.
16264 2009-10-15 Michael Albinus <michael.albinus@gmx.de>
16266 * net/tramp.el (tramp-replace-environment-variables): Do not fail
16267 if the environment variable does not exist.
16269 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
16270 (tramp-smb-get-share, tramp-smb-get-localname): Use only VEC as
16272 (tramp-smb-handle-add-name-to-file)
16273 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
16274 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
16275 (tramp-smb-handle-file-attributes)
16276 (tramp-smb-do-file-attributes-with-stat)
16277 (tramp-smb-handle-file-local-copy)
16278 (tramp-smb-handle-insert-directory)
16279 (tramp-smb-handle-make-directory)
16280 (tramp-smb-handle-make-directory-internal)
16281 (tramp-smb-handle-make-symbolic-link)
16282 (tramp-smb-handle-rename-file, tramp-smb-handle-set-file-modes)
16283 (tramp-smb-handle-write-region, tramp-smb-get-file-entries)
16284 (tramp-smb-maybe-open-connection): Apply the changed parameters.
16285 (tramp-smb-read-file-entry): Read Disk names in compressed format.
16286 Handle long file names.
16287 (tramp-smb-get-cifs-capabilities): Check, whether the connection
16288 process is running.
16289 (tramp-smb-maybe-open-connection): Trace "smbclient -V" command.
16290 Read share names with "-g" option.
16292 2009-10-15 Ryan Yeske <rcyeske@gmail.com>
16294 * net/rcirc.el (rcirc-view-log-file): New command.
16295 (rcirc-track-minor-mode-map): Remove C-c ` binding.
16296 (rcirc-authenticate, rcirc-authinfo): Allow nickserv-nick to be
16299 2009-10-15 Glenn Morris <rgm@gnu.org>
16301 * w32-fns.el (w32-batch-update-autoloads): Take autoload-make-program
16302 from the second command-line argument.
16303 * makefile.w32-in (autoloads, $(lisp)/calendar/cal-loaddefs.el)
16304 ($(lisp)/calendar/diary-loaddefs.el, $(lisp)/calendar/hol-loaddefs.el)
16305 ($(lisp)/mh-e/mh-loaddefs.el): Pass $(MAKE) as second argument to
16306 w32-batch-update-autoloads.
16307 * emacs-lisp/autoload.el (autoload-make-program): New variable.
16308 (batch-update-autoloads): Handle autoload-excludes on windows-nt.
16310 * mail/rmailedit.el (rmail-cease-edit): Give an error if the end of
16311 the headers cannot be located. Simplify, subtracting superflous
16314 2009-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
16316 Replace completion-base-size by completion-base-position to fix bugs
16317 such as (bug#4699).
16318 * simple.el (completion-base-position): New var.
16319 (completion-base-size): Mark as obsolete.
16320 (choose-completion): Make it work for mouse events as well.
16321 Pass the new base-position to choose-completion-string.
16322 (choose-completion-guess-base-position): New function, extracted from
16323 choose-completion-delete-max-match.
16324 (choose-completion-delete-max-match): Use it. Make obsolete.
16325 (choose-completion-string): Use the new base-position info.
16326 (completion-root-regexp): Delete.
16327 (completion-setup-function): Preserve completion-base-position.
16328 Eliminate obsolete base-size manipulation.
16329 * minibuffer.el (display-completion-list): Don't mess with base-size.
16330 (minibuffer-completion-help): Set completion-base-position instead.
16331 * mouse.el (mouse-choose-completion): Redefine as a mere alias to
16333 * textmodes/bibtex.el (bibtex-complete):
16334 * emacs-lisp/crm.el (crm--choose-completion-string):
16335 Adjust to new calling convention.
16336 * complete.el (partial-completion-mode): Use minibufferp to avoid
16337 bumping into incompatible change to choose-completion-string-functions.
16338 * ido.el (ido-choose-completion-string): Make its calling convention
16340 * comint.el (comint-dynamic-list-input-ring-select): Remove obsolete
16341 base-size manipulation.
16342 (comint-dynamic-list-input-ring): Use dotimes and push.
16343 * iswitchb.el (iswitchb-completion-help): Remove dead-code call to
16344 fundamental-mode. Use `or'.
16346 2009-10-14 Juri Linkov <juri@jurta.org>
16348 * misearch.el (multi-isearch-next-buffer-from-list)
16349 (multi-isearch-next-file-buffer-from-list): Doc fix. (Bug#4723)
16351 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
16353 * Makefile.in (compile-onefile): Load `bytecomp' rather than
16356 * minibuffer.el (completion-pcm--merge-completions): Make sure the
16357 string we return is all made up of text from the completions rather
16358 than part from the completions and part from the input (bug#4219).
16360 * ido.el (ido-everywhere): Use define-minor-mode.
16362 * buff-menu.el (list-buffers, ctl-x-map):
16363 Mark the entry points with ;;;###autoload cookies.
16365 2009-10-14 Dan Nicolaescu <dann@ics.uci.edu>
16367 * vc-git.el (vc-git-dir-extra-headers): Set the branch name
16368 correctly in the detached head case.
16369 (vc-git-print-log): Remove unused binding.
16371 * vc.el (vc-responsible-backend): When a directory is passed for
16372 for registration create a VC repository if no backend is
16373 responsible for the directory argument.
16374 (vc-deduce-fileset): Tell vc-responsible-backend to register.
16376 * vc.el: Move comments about RCS and SCCS ...
16378 * vc-sccs.el: ... here, respectively.
16380 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
16382 * minibuffer.el (completion--file-name-table): Return nil if there's
16383 no file completion, even if substitute-in-file-name changed
16384 the string (bug#4708).
16386 2009-10-13 Juri Linkov <juri@jurta.org>
16388 * files-x.el (read-file-local-variable-value): Don't filter out
16389 minor modes from mode name completion (bug#4664).
16391 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
16393 * international/mule-cmds.el (ucs-names): Remove exclusion of
16394 "Enclosed Ideographic Supplement" range (U+1F200..U+1F2FF).
16396 2009-10-13 Kenichi Handa <handa@m17n.org>
16398 * international/uni-name.el: Regenerated.
16400 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
16402 * bs.el (bs-mode): Fix last change. (`revert-buffer-function'
16403 should be automatically buffer-local, but isn't.)
16405 2009-10-12 Sam Steingold <sds@gnu.org>
16407 * progmodes/compile.el (compilation-next-error-function): Fix the
16408 timestamps if the buffer has been visited before.
16409 (compilation-mode-font-lock-keywords): Do not prepend "^ *" to
16410 non-anchored patterns, like the perl one (bug#3928).
16412 2009-10-12 Glenn Morris <rgm@gnu.org>
16414 * net/tramp-smb.el (tramp-smb-do-file-attributes-with-stat):
16417 2009-10-12 Juanma Barranquero <lekktu@gmail.com>
16419 * proced.el (proced-unload-function): New function.
16421 * bs.el (bs-mode): Set `revert-buffer-function' to `bs-refresh'.
16422 (bs-refresh): Add IGNORED arg for `revert-buffer' compatibility.
16425 * menu-bar.el (menu-bar-file-menu): Fix format of `separator-exit' item.
16427 2009-10-11 Juri Linkov <juri@jurta.org>
16429 * files-x.el (read-file-local-variable-value):
16430 Provide default value only for bound variables (bug#4664).
16432 2009-10-11 Michael Albinus <michael.albinus@gmx.de>
16434 * net/tramp.el (tramp-local-host-p): Function shall return nil for
16435 connection methods like smb.
16437 * net/tramp-cache.el (tramp-flush-connection-property): The hash
16440 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
16441 (tramp-smb-file-name-handler-alist): Add handlers for
16442 `add-name-to-file', `make-symbolic-link'.
16443 (tramp-smb-handle-add-name-to-file)
16444 (tramp-smb-do-file-attributes-with-stat)
16445 (tramp-smb-handle-make-symbolic-link)
16446 (tramp-smb-get-cifs-capabilities): New defuns.
16447 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
16448 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
16449 (tramp-smb-handle-file-local-copy)
16450 (tramp-smb-handle-make-directory-internal)
16451 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
16452 The file name syntax depends on cifs capabilities.
16453 (tramp-smb-handle-file-attributes):
16454 Call `tramp-smb-do-file-attributes-with-stat' if possible.
16455 (tramp-smb-handle-insert-directory): Use posix attributes if possible.
16456 (tramp-smb-handle-set-file-modes): It is applicable for posix only.
16458 2009-10-11 Chong Yidong <cyd@stupidchicken.com>
16460 * emacs-lisp/eieio.el: Avoid requiring cl at runtime.
16461 (eieio-defclass): Apply deftype handler and setf-method properties
16463 (eieio-add-new-slot): Avoid union function from cl library.
16464 (eieio--typep): New function.
16465 (eieio-perform-slot-validation): Use it.
16467 2009-10-10 Karl Fogel <kfogel@red-bean.com>
16469 * bookmark.el (bookmark-yank-word, bookmark-insert-current-bookmark):
16470 Update documentation to refer to the variables documented in r1.135.
16473 2009-10-10 Karl Fogel <kfogel@red-bean.com>
16475 * bookmark.el (Info-suffix-list): Remove this unused variable.
16476 (bookmark-current-point): Remove this obsolete variable.
16477 (bookmark-set, bookmark-rename, bookmark-send-edited-annotation):
16478 Adjust for removal of bookmark-current-point.
16480 (bookmarks-already-loaded, bookmark-current-buffer)
16481 (bookmark-yank-point): Document. (Bug#4188)
16483 2009-10-10 Glenn Morris <rgm@gnu.org>
16485 * frame.el (frame-height): Doc fix.
16487 * calendar/calendar.el (calendar-split-width-threshold): New option.
16488 (calendar-basic-setup): Use calendar-split-width-threshold.
16490 2009-10-09 Juanma Barranquero <lekktu@gmail.com>
16492 * international/mule-cmds.el (ucs-names): Exclude new "Enclosed
16493 Ideographic Supplement" range (U+1F200..U+1F2FF).
16495 2009-10-09 Karl Fogel <kfogel@red-bean.com>
16497 * bookmark.el (bookmark-bmenu-rename): Don't call bookmark-bmenu-list,
16498 since the list will have been rebuilt anyway. (Bug#4349)
16500 2009-10-09 Karl Fogel <kfogel@red-bean.com>
16502 * bookmark.el (bookmark-delete): Don't let batch arg prevent saving.
16503 (bookmark-bmenu-execute-deletions): Don't save here, as
16504 bookmark-delete will now do so if necessary.
16505 Suggested by Thierry Volpiatto <thierry.volpiatto {_AT_} gmail.com>.
16508 2009-10-09 Glenn Morris <rgm@gnu.org>
16510 * mail/emacsbug.el (report-emacs-bug): Also print `features'.
16512 2009-10-09 Karl Fogel <kfogel@red-bean.com>
16514 * bookmark.el (bookmark-jump): Add new `display-func' parameter.
16515 (bookmark-jump-other-window): Just invoke bookmark-jump with new
16516 argument now, so the two function's behaviors will match. (Bug#3645)
16518 2009-10-08 Michael Albinus <michael.albinus@gmx.de>
16520 * net/tramp.el (tramp-file-name-real-user, tramp-file-name-domain)
16521 (tramp-file-name-real-host, tramp-file-name-port):
16522 Apply `save-match-data'.
16524 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Handle the
16525 case both directories are remote.
16526 (tramp-smb-handle-expand-file-name): Implement "~" expansion.
16527 (tramp-smb-maybe-open-connection): Flush the cache only if necessary.
16529 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
16531 * makefile.w32-in (WINS_UPDATES): Fix typo in previous change.
16533 2009-10-07 Glenn Morris <rgm@gnu.org>
16535 * emacs-lisp/autoload.el (batch-update-autoloads): Remove useless use
16538 2009-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
16540 * files-x.el (read-file-local-variable): Include some
16541 non-user-variables in the completion table (bug#4664).
16543 2009-10-07 Michael Albinus <michael.albinus@gmx.de>
16545 * net/tramp-cache.el (tramp-flush-connection-property): Add trace
16548 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
16549 (tramp-smb-file-name-handler-alist): Add handler for
16550 `copy-directory', `expand-file-name', `set-file-modes'.
16551 (tramp-smb-handle-copy-directory)
16552 (tramp-smb-handle-expand-file-name)
16553 (tramp-smb-handle-set-file-modes): New defuns.
16554 (tramp-smb-handle-copy-file): Handle KEEP-DATE.
16555 (tramp-smb-handle-file-attributes): Simplify check for retrieving
16557 (tramp-smb-handle-insert-directory): Don't flush the cache.
16558 (tramp-smb-maybe-open-connection): Check for samba client and
16561 2009-10-07 Eli Zaretskii <eliz@gnu.org>
16563 * emacs-lisp/autoload.el (batch-update-autoloads): Fix last change
16564 to not error out of search for "^lisp=" fails.
16566 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
16568 * makefile.w32-in (WINS_UPDATES): New macro.
16569 (custom-deps, finder-data, autoloads): Use it.
16571 2009-10-07 Glenn Morris <rgm@gnu.org>
16573 * Makefile.in (autoloads): Revert previous change.
16574 * emacs-lisp/autoload.el (batch-update-autoloads): Rather than having
16575 the list of preloaded files passed on the command-line, get
16576 it from src/Makefile.
16578 * calendar/calendar.el (calendar-basic-setup): In the wide frame case,
16579 show the original buffer rather than a random one.
16581 2009-10-07 Markus Rost <rost@math.uni-bielefeld.de>
16583 * help.el (describe-no-warranty): Place point in a slightly better
16584 position in the GPLv3 text.
16586 2009-10-06 Sam Steingold <sds@gnu.org>
16588 * net/tramp-compat.el (tramp-compat-process-running-p): Check that
16589 the comm attribute is present before calling regexp-quote.
16591 2009-10-06 Juanma Barranquero <lekktu@gmail.com>
16593 * play/animate.el (animate-string): For good effect, make sure
16594 `indent-tabs-mode' and `show-trailing-whitespace' are nil.
16596 * play/animate.el (animate-sequence, animate-birthday-present):
16597 * misc.el (butterfly): Don't set `indent-tabs-mode'.
16599 2009-10-06 Glenn Morris <rgm@gnu.org>
16601 * emacs-lisp/byte-run.el (define-obsolete-face-alias): Doc fix.
16603 * emacs-lisp/autoload.el (autoload-excludes): New variable.
16604 (autoload-generate-file-autoloads): Skip files in autoload-excludes.
16605 (batch-update-autoloads): Process a string value of autoload-excludes,
16606 set during the build process.
16607 * Makefile.in (autoloads): Skip preloaded files. (Bug#4446)
16609 * net/tramp.el (tramp-handle-start-file-process): Move tramp-error call
16610 inside with-parsed... macro so that `v' is defined.
16612 * progmodes/f90.el (f90-end-of-block, f90-beginning-of-block):
16613 * progmodes/fortran.el (fortran-end-of-block)
16614 (fortran-beginning-of-block):
16615 Also push mark in the macro case.
16617 * emerge.el (emerge-show-file-name):
16618 * calc/calc.el (calc-quit):
16619 * calc/calc-misc.el (calc-big-or-small):
16620 * calc/calc-graph.el (calc-graph-view):
16621 * calc/calc-ext.el (calc-reset):
16622 * calendar/calendar.el (calendar-basic-setup):
16623 Use window-full-height-p.
16625 * mail/rmailedit.el (rmail-cease-edit): If there is a Content-Type
16626 header we don't understand, don't insert another. (Bug#4624)
16627 If changing mime charset, insert the new one in the right place.
16629 2009-10-06 Matthew Junker <matthew.junker@sbcglobal.net> (tiny change)
16631 * calendar/cal-tex.el (cal-tex-cursor-month-landscape)
16632 (cal-tex-cursor-month): Correctly increment the end date for diary and
16633 holiday listing. (Bug#4626)
16635 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
16637 * help-fns.el (describe-function-1): Don't burp if the function is not
16640 2009-10-05 Juanma Barranquero <lekktu@gmail.com>
16642 * emacs-lisp/chart.el (chart-face-pixmap-list, chart-new-buffer, chart)
16643 (chart-axis-range, chart-axis-names, chart-sequece, chart-bar)
16644 (chart-draw, chart-axis-draw, chart-sort, chart-sort-matchlist)
16645 (chart-draw-line, chart-bar-quickie): Fix typos in docstrings.
16647 * emacs-lisp/eieio.el (generic-p, eieiomt-next, eieio-generic-form)
16648 (eieio-default-superclass): Reflow docstrings.
16649 (this, class-option-assoc, defclass, eieio-class-un-autoload)
16650 (eieio-unbind-method-implementations, defmethod)
16651 (eieio-validate-slot-value, eieio-validate-class-slot-value)
16652 (oref-default, eieio-oref-default, eieio-oset, eieio-oset-default)
16653 (with-slots, eieio-add-new-slot, object-assoc, object-remove-from-list)
16654 (eieio-slot-originating-class-p, eieio-slot-name-index)
16655 (eieio-pre-method-execution-hooks, eieio-initarg-to-attribute)
16656 (constructor, initialize-instance, no-next-method, object-print)
16657 (object-write, eieio-override-prin1, eieio-edebug-prin1-to-string):
16658 Fix typos in docstrings.
16659 (eieio-defclass, eieio-perform-slot-validation-for-default, defgeneric)
16660 (child-of-class-p, object-slots, slot-boundp, slot-exists-p)
16661 (next-method-p): Doc fixes.
16662 (eieio-add-new-slot, call-next-method, eieiomt-add, change-class):
16663 Fix typos in error messages.
16664 (eieio-defmethod): Fix typo in description of generic method.
16666 * emacs-lisp/eieio-base.el (eieio-instance-inheritor, slot-unbound)
16667 (eieio-persistent-save-interactive, slot-missing):
16668 Fix typos in docstrings.
16669 (eieio-instance-inheritor-slot-boundp): Doc fix.
16671 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod)
16672 (byte-compile-defmethod-param-convert): Fix typos in docstrings.
16674 * emacs-lisp/eieio-custom.el (eieio-done-customizing)
16675 (eieio-custom-object-apply-reset):
16676 Fix typos in docstrings and error messages.
16678 * emacs-lisp/eieio-datadebug.el (data-debug-show):
16679 Fix typo in docstring.
16681 * emacs-lisp/eieio-opt.el (top): Fix typo in error message.
16682 (eieio-browse-tree): Doc fix.
16683 (eieio-all-generic-functions, eieio-class-speedbar): Reflow docstrings.
16684 (eieio-help-mode-augmentation-maybee, eieio-class-speedbar-make-map):
16685 Fix typos in docstrings.
16687 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-file-button): Doc fix.
16688 (eieio-speedbar-key-map, eieio-speedbar-create-engine)
16689 (eieio-speedbar-buttons, eieio-speedbar, eieio-speedbar-object-children)
16690 (eieio-speedbar-make-tag-line, eieio-speedbar-object-expand):
16693 2009-10-05 Dan Nicolaescu <dann@ics.uci.edu>
16695 * vc-hg.el (log-view-vc-backend): Declare for compiler.
16696 (vc-hg-outgoing-mode, vc-hg-incoming-mode):
16697 Set log-view-vc-backend so that diff can work.
16699 * log-view.el (log-view-diff): Use vc-diff-internal instead of
16701 (vc-diff-internal): Autoload this instead of vc-version-diff.
16703 2009-10-05 Eli Zaretskii <eliz@gnu.org>
16705 * simple.el (eval-expression): Doc fix.
16707 * progmodes/cwarn.el (cwarn-mode): Doc fix.
16709 2009-10-05 Michael Albinus <michael.albinus@gmx.de>
16711 * files.el (directory-files-no-dot-files-regexp): New defconst.
16712 (delete-directory): Use it.
16713 (copy-directory): Use it. Remove parameter PRESERVE-UID-GID.
16715 * net/tramp.el (tramp-verbose): Fix docstring.
16716 (tramp-methods): Add recursive option to `tramp-copy-args'.
16717 Add `tramp-copy-recursive'. Valid for "rcp", "scp", "scp1", "scp2",
16718 "scp1_old", "scp2_old", "rsync", "rsyncc".
16719 (tramp-default-method): Check also for `auth-source-user-or-password'.
16720 (tramp-file-name-handler-alist, tramp-file-name-for-operation):
16721 Add handler for `copy-directory'.
16722 (tramp-handle-copy-directory): New defun.
16723 (tramp-do-copy-or-rename-file-out-of-band): Handle directory case.
16724 (tramp-handle-start-file-process): Raise an error when PROGRAM is nil.
16725 Optimize sent command.
16727 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
16729 * calendar/diary-lib.el (diary-show-all-entries): Re-fit the calendar
16730 window if necessary.
16732 * calendar/calendar.el (calendar-basic-setup): Don't call
16733 switch-to-buffer in a dedicated window.
16735 2009-10-05 Karl Fogel <kfogel@red-bean.com>
16737 * bookmark.el (bookmark-handle-bookmark): If bookmark has no file,
16738 don't do anything related to relocating, just return nil.
16739 (bookmark-error-no-filename): New error.
16740 (bookmark-default-handler): Signal `bookmark-error-no-filename' if
16741 bookmark has no file. Don't even attempt to handle things that
16742 are not files; the whole point of custom handlers is to keep that
16743 knowledge elsewhere anyway. Tighten some comments.
16744 (bookmark-file-or-variation-thereof): Remove now-unused function.
16745 (bookmark-location): Doc string fix.
16748 2009-10-04 Karl Fogel <kfogel@red-bean.com>
16750 * bookmark.el (bookmark-handle-bookmark): When relocating a bookmark,
16751 don't use a file dialog, because they usually don't know how to read
16752 a directory target from the user. (Bug#4230)
16753 Also, make sure the prompt can display directories as well as files.
16755 2009-10-04 Karl Fogel <kfogel@red-bean.com>
16757 * bookmark.el (bookmark-set, bookmark-buffer-name):
16758 Improve doc strings. (Bug#1193)
16760 2009-10-04 Karl Fogel <kfogel@red-bean.com>
16762 * bookmark.el (bookmark-get-bookmark, bookmark-get-bookmark-record)
16763 (bookmark-set-name, bookmark-prop-get, bookmark-prop-set)
16764 (bookmark-get-annotation, bookmark-set-annotation)
16765 (bookmark-get-filename, bookmark-set-filename, bookmark-get-position)
16766 (bookmark-set-position, bookmark-get-front-context-string)
16767 (bookmark-set-front-context-string, bookmark-get-rear-context-string)
16768 (bookmark-set-rear-context-string, bookmark-location, bookmark-jump)
16769 (bookmark-jump-other-window, bookmark-handle-bookmark)
16770 (bookmark-relocate, bookmark-insert-location, bookmark-rename)
16771 (bookmark-insert, bookmark-delete, bookmark-time-to-save-p)
16772 (bookmark-edit-annotation-mode, bookmark-edit-annotation):
16773 Improve doc strings to say whether bookmark can be a string or
16774 a record or both, and make other consistency and clarity fixes.
16775 (bookmark-get-handler, bookmark--jump-via, bookmark-write-file)
16776 (bookmark-default-annotation-text, bookmark-yank-word)
16777 (bookmark-maybe-load-default-file, bookmark-maybe-sort-alist)
16778 (bookmark-import-new-list, bookmark-maybe-rename)
16779 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
16780 (bookmark-bmenu-bookmark): Give these doc strings.
16781 (bookmark-bmenu-check-position): Give this a doc string, but also
16782 add a FIXME comment about how the function may be pointless.
16783 (bookmark-default-handler): Rework doc string and change a
16784 parameter name, to clarify that this takes a bookmark record
16785 not a bookmark name.
16786 (bookmark-set): Change a parameter name to indicate its meaning,
16787 and improve the doc string a bit.
16790 2009-10-04 Karl Fogel <kfogel@red-bean.com>
16792 * bookmark.el (bookmark-alist): Document the new `handler' element
16793 in the param alist.
16794 (bookmark-make-record-function): Adjust documentation for above.
16797 2009-10-04 Karl Fogel <kfogel@red-bean.com>
16799 * info.el (Info-bookmark-make-record): Document this function.
16800 (Info-bookmark-jump): Document with a doc string, not just a comment.
16803 2009-10-04 Michael Albinus <michael.albinus@gmx.de>
16805 * files.el (copy-directory): New defun.
16807 * dired-aux.el (dired-copy-file-recursive): Use it.
16809 2009-10-04 Juanma Barranquero <lekktu@gmail.com>
16811 * files-x.el (modify-dir-local-variable)
16812 (copy-dir-locals-to-file-locals-prop-line): Fix typos in
16815 * recentf.el (recentf-unload-function): New function.
16817 2009-10-04 Glenn Morris <rgm@gnu.org>
16819 * window.el (window-full-height-p): Add doc string.
16821 2009-10-04 Martin Rudalics <rudalics@gmx.at>
16823 * window.el (window-full-height-p): New function. (Bug#4543)
16825 2009-10-03 Dan Nicolaescu <dann@ics.uci.edu>
16827 * vc.el: Remove commented out code.
16828 (vc-derived-from-dir-mode): Remove, unused.
16829 (vc-version-diff, vc-diff): Consistently pass t to vc-deduce-fileset.
16831 2009-10-03 Michael Albinus <michael.albinus@gmx.de>
16833 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
16834 Disable `file-name-handler-alist' when loading 'ange-ftp. Otherwise,
16835 there could be recursive loading when `default-directory' is a
16836 remote file name. (Bug#4614)
16838 2009-10-03 Glenn Morris <rgm@gnu.org>
16840 * calendar/calendar.el (calendar-basic-setup): Handle the case where
16842 (calendar-generate-window): Test for shrinkability rather than width.
16844 * mail/rmail.el (rmail-generate-viewer-buffer): Be more careful about
16845 reusing existing buffers, in case we happen to visit two files with the
16846 same basename. (Bug#4593)
16848 2009-10-02 Eli Zaretskii <eliz@gnu.org>
16850 * makefile.w32-in (update-subdirs-CMD): Add cedet to $(WINS_SUBDIR).
16851 (WINS_CEDET_SUBDIRS): List of subdirectories of cedet.
16852 (bootstrap-clean-CMD, bootstrap-clean-SH): Remove *.elc files in
16853 subdirs of cedet as well.
16854 (AUTOGENEL): Add loaddefs.el files in cedet subdirectories.
16856 2009-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
16858 * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string):
16859 Obey advertised-signature-table.
16861 * help-fns.el (help-function-arglist): Don't check
16862 advertised-signature-table.
16863 (describe-function-1): Do it here instead so it also applies to subrs.
16865 2009-10-02 Michael Albinus <michael.albinus@gmx.de>
16867 * simple.el (start-file-process): Say in the doc-string, that file
16868 handlers might not support pty association, if PROGRAM is nil.
16870 * net/ange-ftp.el (ange-ftp-generate-passwd-key): Check, whether
16871 HOST and USER are strings. They are nil, when there are
16872 incomplete entries in ~/.netrc, for example.
16873 (ange-ftp-delete-directory): Implement RECURSIVE case. Change to
16874 root directory ("device busy" error otherwise).
16876 * net/tramp-smb.el (tramp-smb-handle-make-directory-internal):
16877 Flush file properties of created directory.
16879 2009-10-02 Eli Zaretskii <eliz@gnu.org>
16881 * makefile.w32-in (WINS_BASIC): Remove cedet.
16882 (WINS_CEDET): Add cedet.
16883 (update-subdirs-SH): Use $(WINS_SUBDIR), not $(WINS).
16885 2009-10-02 Kevin Ryde <user42@zip.com.au>
16887 * net/browse-url.el (browse-url): Pass any symbol in
16888 browse-url-browser-function to `apply', since if you've mistakenly put
16889 an unbound symbol then the error is clearer. (Bug#4531)
16891 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
16893 * allout.el (allout-init, allout-back-to-current-heading)
16894 (allout-beginning-of-current-entry, allout-ascend-to-depth)
16895 (allout-ascend, allout-up-current-level, allout-end-of-level)
16896 (allout-previous-visible-heading, allout-forward-current-level)
16897 (allout-backward-current-level, allout-show-children):
16898 * apropos.el (apropos-describe-plist):
16899 * bookmark.el (bookmark-maybe-historicize-string, bookmark-bmenu-list):
16900 * comint.el (comint-strip-ctrl-m, comint-goto-process-mark):
16901 * completion.el (add-completion, add-permanent-completion):
16902 * descr-text.el (describe-text-category, describe-char):
16903 * desktop.el (desktop-lazy-abort):
16904 * dired-x.el (dired-omit-expunge, dired-x-bind-find-file):
16905 * dired.el (dired-build-subdir-alist):
16906 * ediff.el (ediff-version):
16907 * elide-head.el (elide-head, elide-head-show):
16908 * emerge.el (emerge-version):
16910 * face-remap.el (variable-pitch-mode):
16911 * faces.el (describe-face):
16912 * ffap.el (ffap-next-url, find-file-at-point, ffap-at-mouse)
16914 * files.el (find-file-existing, auto-save-mode):
16915 * font-lock.el (font-lock-fontify-buffer):
16916 * help-fns.el (describe-function, describe-variable)
16917 (describe-syntax, describe-categories):
16918 * help.el (view-lossage, describe-bindings, describe-key)
16920 * hexl.el (hexl-current-address):
16921 * hi-lock.el (hi-lock-mode, hi-lock-find-patterns):
16922 * info.el (Info-goto-emacs-key-command-node):
16923 * log-edit.el (log-edit-insert-cvs-template)
16924 (log-edit-insert-cvs-rcstemplate):
16925 * menu-bar.el (menu-bar-mode):
16926 * mouse.el (mouse-appearance-menu):
16927 * newcomment.el (comment-indent-new-line):
16928 * pgg.el (pgg-save-coding-system, pgg-encrypt-region)
16929 (pgg-encrypt-symmetric-region, pgg-encrypt-symmetric)
16930 (pgg-encrypt, pgg-decrypt-region, pgg-decrypt)
16931 (pgg-sign-region, pgg-sign, pgg-verify-region, pgg-verify):
16932 * recentf.el (recentf-mode):
16933 * savehist.el (savehist-mode, savehist-save):
16934 * shadowfile.el (shadow-copy-files):
16935 * simple.el (kill-ring-save, next-line, previous-line)
16936 (normal-erase-is-backspace-mode):
16937 * strokes.el (strokes-update-window-configuration)
16938 (strokes-load-user-strokes, strokes-prompt-user-save-strokes)
16939 (strokes-xpm-for-stroke):
16940 * time.el (emacs-uptime, emacs-init-time):
16941 * tutorial.el (tutorial--describe-nonstandard-key)
16942 (tutorial--detailed-help):
16943 * type-break.el (type-break-mode)
16944 (type-break-mode-line-message-mode, type-break-query-mode)
16945 (type-break-guesstimate-keystroke-threshold):
16946 * vc.el (vc-version-diff, vc-diff, vc-root-diff):
16947 * version.el (emacs-version):
16948 * vt-control.el (vt-keypad-on, vt-keypad-off, vt-numlock):
16949 * winner.el (winner-mode):
16950 * calendar/timeclock.el (timeclock-in, timeclock-out)
16951 (timeclock-status-string, timeclock-change)
16952 (timeclock-workday-remaining-string)
16953 (timeclock-workday-elapsed-string)
16954 (timeclock-when-to-leave-string):
16955 * calendar/todo-mode.el (todo-add-category):
16956 * emacs-lisp/advice.el (ad-enable-regexp, ad-disable-regexp):
16957 * emacs-lisp/autoload.el (update-file-autoloads):
16958 * emacs-lisp/checkdoc.el (checkdoc-current-buffer)
16959 (checkdoc-start, checkdoc-continue, checkdoc-rogue-spaces)
16960 (checkdoc-message-text, checkdoc-defun):
16961 * emacs-lisp/debug.el (debugger-list-functions):
16962 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
16963 * emacs-lisp/eieio-opt.el (eieio-describe-class)
16964 (eieio-describe-generic):
16965 * emacs-lisp/lisp-mnt.el (lm-synopsis):
16966 * emacs-lisp/shadow.el (list-load-path-shadows):
16967 * emulation/cua-base.el (cua-mode):
16968 * emulation/edt.el (edt-set-scroll-margins):
16969 * emulation/tpu-edt.el (tpu-toggle-newline-and-indent)
16970 (tpu-toggle-regexp, tpu-toggle-search-direction)
16971 (tpu-toggle-rectangle, tpu-toggle-control-keys):
16972 * emulation/tpu-extras.el (tpu-set-scroll-margins):
16973 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
16974 (viper-set-parsing-style-toggling-macro)
16975 (viper-set-emacs-state-searchstyle-macros):
16976 * emulation/viper.el (viper-set-hooks):
16977 * eshell/esh-mode.el (eshell-truncate-buffer):
16978 * international/mule-cmds.el (prefer-coding-system)
16979 (describe-input-method, describe-language-environment):
16980 * international/mule-diag.el (list-character-sets)
16981 (describe-character-set, describe-coding-system)
16982 (describe-fontset, list-fontsets, list-input-methods):
16983 * mail/sendmail.el (mail-signature):
16984 * net/ange-ftp.el (ange-ftp-copy-file):
16985 * net/browse-url.el (browse-url):
16986 * net/eudc.el (eudc-set-server, eudc-get-attribute-list):
16987 * net/quickurl.el (quickurl-add-url):
16988 * net/rcirc.el (names, topic):
16989 * net/xesam.el (xesam-mode):
16990 * play/5x5.el (5x5-new-game):
16991 * play/yow.el (apropos-zippy):
16992 * progmodes/ada-mode.el (ada-mode-version):
16993 * progmodes/f90.el (f90-beginning-of-subprogram, f90-end-of-subprogram)
16995 (f90-beginning-of-block):
16996 * progmodes/fortran.el (fortran-end-of-block)
16997 (fortran-beginning-of-block):
16998 * progmodes/js.el (js-syntactic-context, js-gc, js-eval):
16999 * progmodes/python.el (python-describe-symbol, python-shell):
17000 * term/ns-win.el (ns-print-buffer):
17001 * textmodes/bibtex.el (bibtex-end-of-entry, bibtex-url):
17002 * textmodes/flyspell.el (flyspell-mode-on):
17003 * textmodes/page-ext.el (set-page-delimiter, pages-directory)
17004 (pages-directory-for-addresses):
17005 * textmodes/table.el (table-recognize-cell)
17006 (table-query-dimension, table-generate-source)
17007 (table-insert-sequence, table--warn-incompatibility):
17008 * textmodes/tex-mode.el (tex-validate-buffer):
17009 * textmodes/texinfmt.el (texinfmt-version)
17010 (texinfo-format-buffer):
17011 Use `called-interactively-p' instead of `interactive-p'.
17013 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
17015 * image-mode.el (image-toggle-display):
17016 * emacs-lisp/elp.el (elp-instrument-function):
17017 * emacs-lisp/advice.el (ad-make-advised-definition):
17018 * emacs-lisp/easy-mmode.el (define-minor-mode):
17019 * net/browse-url.el (browse-url-maybe-new-window):
17020 * progmodes/sh-script.el (sh-learn-buffer-indent):
17021 Pass new argument 'any to `called-interactively-p'.
17023 2009-10-01 Juanma Barranquero <lekktu@gmail.com>
17025 * international/uni-bidi.el:
17026 * international/uni-category.el:
17027 * international/uni-combining.el:
17028 * international/uni-comment.el:
17029 * international/uni-decimal.el:
17030 * international/uni-decomposition.el:
17031 * international/uni-digit.el:
17032 * international/uni-lowercase.el:
17033 * international/uni-mirrored.el:
17034 * international/uni-name.el:
17035 * international/uni-numeric.el:
17036 * international/uni-old-name.el:
17037 * international/uni-titlecase.el:
17038 * international/uni-uppercase.el:
17039 Regenerate from Unicode 5.2.0 data.
17041 2009-10-01 Glenn Morris <rgm@gnu.org>
17043 * Makefile.in (ELCFILES): Regenerate.
17045 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
17047 * subr.el (interactive-p): Mark obsolete.
17048 (called-interactively-p): Make the optional-ness of `kind' obsolete.
17049 * emacs-lisp/bytecomp.el (byte-compile-fdefinition): Make it obey
17050 advertised-signature-table for subroutines as well.
17052 * emacs-lisp/byte-run.el (advertised-signature-table): New var.
17053 (set-advertised-calling-convention): New function.
17054 (make-obsolete, define-obsolete-function-alias)
17055 (make-obsolete-variable, define-obsolete-variable-alias):
17056 Make the optional-ness of `when' obsolete.
17057 (define-obsolete-face-alias): Make `when' non-optional.
17058 * help-fns.el (help-function-arglist):
17059 * emacs-lisp/bytecomp.el (byte-compile-fdefinition):
17060 Use advertised-signature-table.
17062 2009-10-01 Michael Albinus <michael.albinus@gmx.de>
17064 * files.el (delete-directory): New defun. The original function
17065 in fileio.c has been renamed to `delete-directory-internal'.
17067 * dired.el (dired-delete-file): Call `delete-directory' with
17068 RECURSIVE parameter.
17070 * net/ange-ftp.el (ange-ftp-delete-directory): Add optional
17071 parameter RECURSIVE. Implementation is missing.
17073 * net/tramp.el (tramp-handle-make-directory): Flush upper
17074 directory's file properties.
17075 (tramp-handle-delete-directory): Handle optional parameter RECURSIVE.
17076 (tramp-handle-dired-recursive-delete-directory): Flush directory
17077 properties after the remove command only.
17079 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
17080 Handle optional parameter RECURSIVE.
17082 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
17083 Handle optional parameter RECURSIVE.
17085 * net/tramp-smb.el (tramp-smb-errors): Add error message for
17086 connection timeout.
17087 (tramp-smb-handle-delete-directory): Handle optional parameter
17090 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
17092 * emacs-lisp/bytecomp.el (byte-compile-defmacro-declaration): New fun.
17093 (byte-compile-file-form-defmumble, byte-compile-defmacro): Use it.
17094 (byte-compile-defmacro): Use backquotes.
17096 * files.el (cd-absolute): Don't abbreviate-file-name (bug#4599).
17098 * vc-dispatcher.el (vc-resynch-window): Don't revert a buffer which
17099 has no associated file.
17100 (vc-resynch-buffer): Use vc-dir-buffers.
17102 2009-10-01 Glenn Morris <rgm@gnu.org>
17104 * emacs-lisp/chart.el (chart-zap-chars, chart-bar-quickie)
17105 (chart-file-count):
17106 * emacs-lisp/eieio-comp.el (byte-compile-defmethod-param-convert):
17107 * emacs-lisp/eieio-datadebug.el (data-debug-insert-object-button):
17108 * emacs-lisp/eieio-opt.el (eieio-describe-class):
17109 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-create):
17110 * emacs-lisp/eieio.el (defclass, eieio-defclass-autoload)
17111 (eieio-copy-parents-into-subclass, make-instance, class-children)
17112 (eieio-generic-form):
17114 * vc-cvs.el (vc-cvs-parse-entry): Be more careful with the
17115 match-data. (Bug#4555).
17117 * emacs-lisp/check-declare.el (check-declare-scan): Read the declaration
17118 rather than parsing it as a regexp. This relaxes the layout
17119 requirements and makes errors easier to detect.
17120 (check-declare-verify): Check file is regular.
17121 (check-declare-directory): Doc fix.
17122 * subr.el (declare-function): Doc fix.
17124 * ibuffer.el (ibuffer-format-qualifier):
17125 * isearch.el (hi-lock-regexp-okay):
17126 * calc/calc.el (math-zerop):
17127 * mail/uce.el (rmail-msgbeg, rmail-msgend):
17128 * term/w32-win.el (setup-default-fontset, set-fontset-font):
17129 Remove unused declarations.
17131 2009-09-30 Eric Ludlam <zappo@gnu.org>
17133 * emacs-lisp/eieio.el (boolean-p): Delete.
17135 2009-09-30 Glenn Morris <rgm@gnu.org>
17137 * emacs-lisp/authors.el (authors-ignored-files): Add "js2-mode.el".
17139 * emacs-lisp/elint.el (elint-init-form): Report declarations where the
17140 filename is not a string.
17142 2009-09-29 Chong Yidong <cyd@stupidchicken.com>
17144 * files.el (safe-local-eval-forms): Fix typo.
17146 2009-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
17148 * vc-hooks.el (vc-dir-buffers): New var.
17149 (vc-state-refresh): New function.
17150 (vc-state): Use it.
17151 (vc-after-save): Always ask the backend to recompute the new state.
17152 Always call vc-dir if necessary, using vc-dir-buffers.
17153 * vc-dir.el (vc-dir-prepare-status-buffer, vc-dir-resynch-file):
17154 Use vc-dir-buffers.
17155 (vc-dir-mode): Use vc-dir-buffers rather than after-save-hook.
17156 (vc-dir-prepare-status-buffer, vc-dir-update)
17157 (vc-dir-resync-directory-files, vc-dir-resynch-file, vc-dir-mode):
17158 Don't call expand-file-name on default-directory.
17160 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
17162 * speedbar.el (speedbar-item-delete):
17163 * calc/calc-prog.el (calc-kbd-if):
17164 * language/hanja-util.el (hanja-init-load): Fix typos in messages.
17166 * epa.el (epa-key-list-mode-map):
17167 * hi-lock.el (hi-lock-menu): Fix typos in menus.
17169 * progmodes/hideshow.el (hs-allow-nesting): Reflow docstring.
17170 (hs-show-hook): Fix typo in docstring.
17172 2009-09-29 Glenn Morris <rgm@gnu.org>
17174 * emacs-lisp/check-declare.el (check-declare-locate): Remove pointless
17175 file-name-nondirectory call preventing location of cedet files.
17176 (check-declare-verify): Use literal search rather than re-search.
17177 Add basic defmethod and defclass, and define-overloadable-function.
17179 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
17180 Use tramp-compat-file-attributes rather than nonexistent
17181 tramp-compat-handle-file-attributes.
17183 * Makefile.in (lisptagsfiles4): New.
17184 (AUTOGENEL): Add cedet loaddefs files.
17185 (TAGS, TAGS-LISP): Use $lisptagsfiles4.
17186 (update-elclist, compile-always, backup-compiled-files)
17187 (bootstrap-clean): Add yet another directory level.
17188 (update-elclist): Use LC_COLLATE rather than COLLATE.
17189 (ELCFILES): Update, via `make update-elclist'.
17191 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
17193 * makefile.w32-in (WINS_CEDET, WINS_BASIC, WINS_SUBDIR): New macros.
17194 (WINS_ALMOST): Set from WINS_BASIC and WINS_CEDET.
17195 (update-subdirs-CMD): Use WINS_SUBDIR, not WINS_ALMOST.
17197 2009-09-28 Andreas Schwab <schwab@linux-m68k.org>
17199 * Makefile.in (lisptagsfiles3): Define.
17200 (TAGS, TAGS-LISP): Use it.
17201 (update-elclist): Add third directory level to look for elc files.
17202 (compile-always): Likewise.
17203 (backup-compiled-files): Likewise.
17204 (bootstrap-clean): Likewise.
17205 (ELCFILES): Update.
17207 2009-09-28 Chong Yidong <cyd@stupidchicken.com>
17209 * Makefile.in (ELCFILES): Add CEDET files.
17211 2009-09-28 Michael Albinus <michael.albinus@gmx.de>
17213 * Makefile.in (ELCFILES): Add net/tramp-imap.elc.
17215 * net/tramp.el (top): Require tramp-imap.
17217 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
17218 Use `tramp-compat-handle-file-attributes'.
17220 2009-09-28 Teodor Zlatanov <tzz@lifelogs.com>
17222 * net/tramp-imap.el: New package.
17224 2009-09-28 Eric Ludlam <zappo@gnu.org>
17226 * emacs-lisp/chart.el:
17227 * emacs-lisp/eieio-base.el:
17228 * emacs-lisp/eieio-comp.el:
17229 * emacs-lisp/eieio-custom.el:
17230 * emacs-lisp/eieio-datadebug.el:
17231 * emacs-lisp/eieio-opt.el:
17232 * emacs-lisp/eieio-speedbar.el:
17233 * emacs-lisp/eieio.el: New files.
17235 2009-09-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
17237 * whitespace.el (whitespace-trailing-regexp)
17238 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
17241 2009-09-27 Chong Yidong <cyd@stupidchicken.com>
17243 * menu-bar.el: Remove menu-bar-ediff-misc-menu from the Tools
17246 * ediff-hook.el: Move menu-bar-ediff-misc-menu into
17247 menu-bar-ediff-menu.
17249 * emacs-lisp/lisp-mode.el: Add doc-string-elt property to
17250 define-overloadable-function.
17252 * progmodes/autoconf.el: Provide autoconf as well, so that this
17253 file can be `require'd.
17255 * emacs-lisp/cl-macs.el (deftype): Add to cl-loaddefs.
17257 * emacs-lisp/autoload.el (generated-autoload-feature)
17258 (generated-autoload-load-name): New vars.
17259 (autoload-rubric, autoload-generate-file-autoloads): Use them.
17260 (make-autoload): Recognize define-overloadable-function and
17261 defclass forms (for EIEIO).
17263 * Makefile.in (update-subdirs): Exclude cedet directory.
17265 2009-09-27 Adrian Robert <Adrian.B.Robert@gmail.com>
17267 * term/ns-win.el: Don't set the region face background. (Bug#4381)
17269 * faces.el: Default light-background background for region face to
17270 ns_selection_color under NS.
17272 2009-09-27 Teodor Zlatanov <tzz@lifelogs.com>
17274 * net/imap-hash.el: New library, see NEWS.
17276 * Makefile.in (ELCFILES): Add imap-hash.el.
17278 2009-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
17280 * help.el (help-for-help-internal): Don't purecopy the text (bug#4560).
17281 * isearch.el (isearch-help-for-help-internal): Purecopy the second arg.
17282 * help-macro.el (make-help-screen): Avoid using an ambiguous function
17283 definition where the docstring could be taken for the return value.
17285 2009-09-26 Glenn Morris <rgm@gnu.org>
17287 * mail/rmailmm.el (rmail-mime-show-images, rmail-mime-bulk-handler):
17288 Add option to only show images below a certain size.
17289 (rmail-mime-multipart-handler): Remove unnecessary save-match-data and
17290 save-excursion calls.
17292 2009-09-26 Eli Zaretskii <eliz@gnu.org>
17294 * makefile.w32-in (WINS_ALMOST): Add cedet (with its
17295 subdirectories) and eieio.
17297 2009-09-26 Alan Mackenzie <acm@muc.de>
17299 * progmodes/cc-engine.el (c-beginning-of-statement-1):
17300 Correct buggy bracketing. (Bug#4289)
17302 * progmodes/cc-langs.el (c-nonlabel-token-key): Allow quoted
17303 character constants (as case labels). (Bug#4289)
17305 2009-09-25 Juri Linkov <juri@jurta.org>
17307 * files.el (safe-local-eval-forms): Allow time-stamp in
17308 before-save-hook (Bug#4554).
17310 2009-09-25 Drew Adams <drew.adams@oracle.com>
17312 * menu-bar.el (list-buffers-directory): Doc fix.
17314 2009-09-25 Stefan Monnier <monnier@iro.umontreal.ca>
17316 * log-edit.el (log-edit-changelog-entries): Avoid inf-loops.
17317 Try and avoid copying twice the same paragraph.
17318 (log-edit-changelog-paragraph, log-edit-changelog-subparagraph):
17319 Remove save-excursion.
17320 (log-edit-changelog-entry): Do it here instead.
17322 2009-09-25 Juanma Barranquero <lekktu@gmail.com>
17324 * bs.el (bs--get-file-name): Use `list-buffers-directory'
17325 when available, instead of hardcoding mode names. Doc fix.
17327 * menu-bar.el (list-buffers-directory): Add docstring.
17328 Make automatically buffer-local.
17330 * dired.el (dired-mode):
17331 * files.el (cd-absolute):
17332 * pcvs.el (cvs-temp-buffer):
17333 * pcvs-util.el (cvs-get-buffer-create):
17334 * shell.el (shell-mode):
17335 * vc-dir.el (vc-dir-mode):
17336 Don't make `list-buffers-directory' buffer local.
17338 2009-09-25 Devon Sean McCullough <emacs-hacker@Jovi.Net>
17340 * comint.el (comint-exec, comint-run, make-comint):
17341 Doc fixes (Bug#4542).
17343 2009-09-25 Glenn Morris <rgm@gnu.org>
17345 * mail/rmailmm.el (rmail-mime): New custom group.
17346 Move all defcustoms in this file into this group.
17347 (rmail-mime-media-type-handlers-alist): Revert previous change.
17348 (rmail-mime-show-images): New option.
17349 (rmail-mime-total-number-of-bulk-attachments): Remove variable and all
17350 references to it, since it wasn't actually used for anything.
17351 (rmail-mime-insert-image): New function.
17352 (rmail-mime-image): Use rmail-mime-insert-image.
17353 (rmail-mime-bulk-handler): Remove optional `image' argument, instead
17354 obey the value of `rmail-mime-show-images' option. Print the size of
17357 2009-09-25 David Engster <deng@randomsample.de>
17359 * progmodes/hideshow.el (hs-show-block): Run `hs-show-hook'. (Bug#4548)
17361 2009-09-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
17363 * whitespace.el: Does not highlight trailing spaces While point is
17364 at end of line. Does not highligt spaces at beginning of buffer
17365 while point is at beginning of buffer. Does not highlight spaces
17366 at end of buffer while point is at end of buffer. (Bug#4177)
17368 (whitespace-display-mappings): Adjust initialization.
17369 (whitespace-point, whitespace-font-lock-refontify): New vars.
17370 (whitespace-color-on, whitespace-color-off): Adjust code.
17371 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
17372 (whitespace-empty-at-eob-regexp, whitespace-space-regexp)
17373 (whitespace-tab-regexp, whitespace-post-command-hook): New funs.
17375 2009-09-24 Chong Yidong <cyd@stupidchicken.com>
17377 * nxml/nxml-mode.el: Alias xml-mode to nxml-mode.
17379 * textmodes/sgml-mode.el: Remove xml-mode alias.
17381 * files.el (auto-mode-alist, conf-mode-maybe)
17382 (magic-fallback-mode-alist): Revert 2009-09-18 and 2009-09-21 changes.
17384 2009-09-24 Alan Mackenzie <acm@muc.de>
17386 * progmodes/cc-cmds.el (c-scan-conditionals): A new function like
17387 c-forward-conditionals, but it doesn't move point and doesn't set
17389 (c-up-conditional, c-up-conditional-with-else, c-down-conditional)
17390 (c-down-conditional-with-else, c-backward-conditional)
17391 (c-forward-conditional): Refactor to use c-scan-conditionals.
17393 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
17395 * help-fns.el (help-downcase-arguments): New option, defaulting to nil.
17396 (help-default-arg-highlight): Remove.
17397 (help-highlight-arg): New function.
17398 (help-do-arg-highlight): Use it.
17399 Suggested by Drew Adams <drew.adams@oracle.com>. (Bug#4510, bug#4520)
17401 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
17403 * term.el (term-set-scroll-region, term-handle-ansi-escape):
17404 Undo last change, which didn't fix the problem and introduced others.
17406 2009-09-24 Nick Roberts <nickrob@snap.net.nz>
17408 * progmodes/gdb-mi.el: Don't require speedbar.
17409 (gdb-jsonify-buffer): Handle case where "=" is part of value string.
17411 2009-09-24 Glenn Morris <rgm@gnu.org>
17413 * calendar/diary-lib.el (diary-fancy-display): Always run the hook.
17415 * term/ns-win.el (ns-reg-to-script): Define for compiler.
17417 * mail/rmailmm.el (rmail-mime-multipart-handler): Accept the case where
17418 there is no newline after the final mime boundary. (Bug#4539)
17419 Move markers on insertion so that any buttons inserted don't end up in
17420 the next part of a multipart message.
17421 (rmail-mime-media-type-handlers-alist): Doc fix. Add image handler.
17422 (rmail-mime-bulk-handler): Optionally handle images.
17423 (rmail-mime-image): New button action.
17424 (rmail-mime-image-handler): New function.
17425 (rmail-mime-mode): New mode.
17426 (rmail-mime): Doc fix. Use rmail-mime-mode (for font-lock).
17428 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
17430 * minibuffer.el (minibuffer-force-complete): Cycle the list, rather
17431 than just dropping elements from it (bug#4504).
17433 * term.el (term-set-scroll-region): Don't move cursor any more.
17434 (term-handle-ansi-escape): Call term-goto here instead.
17435 Suggested by Ivan Kanis <apple@kanis.eu>.
17437 * term.el: Require CL.
17438 (term-ansi-reset): New function.
17439 (term-mode, term-emulate-terminal, term-handle-colors-array): Use it.
17440 (term-handle-colors-array): Simplify.
17442 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
17444 * allout.el (allout-overlay-interior-modification-handler)
17445 (allout-obtain-passphrase):
17446 * epa-file.el (epa-file-write-region):
17447 * ps-print.el (ps-begin-job):
17448 * vc-hooks.el (vc-toggle-read-only):
17449 * vc-rcs.el (vc-rcs-rollback):
17450 * vc-sccs.el (vc-sccs-rollback):
17451 * vc.el (vc-deduce-fileset, vc-next-action, vc-register-with)
17452 (vc-version-diff, vc-revert, vc-rollback):
17453 * wdired.el (wdired-check-kill-buffer):
17454 * emacs-lisp/authors.el (authors):
17455 * net/socks.el (socks-open-connection):
17456 * net/zeroconf.el (zeroconf-service-add-hook):
17457 * obsolete/vc-mcvs.el (vc-mcvs-register):
17458 * progmodes/gdb-mi.el (def-gdb-thread-buffer-gud-command)
17459 (gdb-select-frame):
17460 * progmodes/grep.el (lgrep, rgrep):
17461 * progmodes/idlw-help.el (idlwave-help-check-locations)
17462 (idlwave-help-html-link, idlwave-help-assistant-open-link):
17463 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
17464 * textmodes/reftex-toc.el (reftex-toc-promote-prepare)
17465 (reftex-toc-rename-label): Fix typos in error messages.
17467 * dired-aux.el (dired-do-shell-command): Reflow docstring.
17468 (dired-copy-how-to-fn): Doc fix.
17469 (dired-files-attributes, dired-read-shell-command):
17470 Fix typos in docstrings.
17472 * dired-x.el (dired-enable-local-variables, dired-filename-at-point)
17473 (dired-x-find-file-other-window): Reflow docstrings.
17474 (dired-omit-marker-char, dired-read-shell-command)
17475 (dired-x-submit-report): Fix typos in docstrings.
17477 * shell.el (shell-mode-hook):
17478 * view.el (View-scroll-line-forward):
17479 * progmodes/inf-lisp.el (inferior-lisp-mode-hook):
17480 Fix typos in docstrings.
17482 * net/dig.el (dig-invoke): Fix typo in docstring.
17483 (query-dig): Reflow docstring.
17485 * progmodes/idlwave.el (idlwave-create-user-catalog-file)
17486 (idlwave-quoted, idlwave-rinfo-max-source-lines): Doc fixes.
17487 (idlwave-abbrev-move, idlwave-auto-routine-info-updates)
17488 (idlwave-begin-block-reg, idlwave-begin-unit-reg)
17489 (idlwave-beginning-of-subprogram, idlwave-block-jump-out)
17490 (idlwave-block-match-regexp, idlwave-calculate-paren-indent)
17491 (idlwave-check-abbrev, idlwave-class-file-or-buffer)
17492 (idlwave-class-found-in, idlwave-complete, idlwave-complete-in-buffer)
17493 (idlwave-completion-map, idlwave-current-indent)
17494 (idlwave-custom-ampersand-surround, idlwave-customize)
17495 (idlwave-default-font-lock-items, idlwave-default-insert-timestamp)
17496 (idlwave-define-abbrev, idlwave-determine-class-special)
17497 (idlwave-do-action, idlwave-doc-header, idlwave-doc-modification)
17498 (idlwave-end-block-reg, idlwave-end-of-statement)
17499 (idlwave-end-of-statement0, idlwave-end-of-subprogram)
17500 (idlwave-end-unit-reg, idlwave-entry-find-keyword)
17501 (idlwave-explicit-class-listed, idlwave-file-header)
17502 (idlwave-fill-paragraph, idlwave-find-class-definition)
17503 (idlwave-fix-keywords, idlwave-hang-indent-regexp, idlwave-hard-tab)
17504 (idlwave-idlwave_routine_info-compiled, idlwave-in-comment)
17505 (idlwave-in-quote, idlwave-indent-action-table)
17506 (idlwave-indent-expand-table, idlwave-indent-line)
17507 (idlwave-indent-subprogram, idlwave-indent-to-open-paren)
17508 (idlwave-is-comment-line, idlwave-is-comment-or-empty-line)
17509 (idlwave-is-continuation-line, idlwave-is-pointer-dereference)
17510 (idlwave-kill-autoloaded-buffers, idlwave-lib-p, idlwave-look-at)
17511 (idlwave-make-tags, idlwave-mode, idlwave-mode-abbrev-table)
17512 (idlwave-mouse-active-rinfo, idlwave-newline, idlwave-no-change-comment)
17513 (idlwave-outlawed-buffers, idlwave-popup-select)
17514 (idlwave-previous-statement, idlwave-rescan-catalog-directories)
17515 (idlwave-routine-entry-compare, idlwave-routine-info.pro)
17516 (idlwave-scan-all-buffers-for-routine-info, idlwave-scan-class-info)
17517 (idlwave-shell-automatic-start, idlwave-shell-explicit-file-name)
17518 (idlwave-show-begin, idlwave-split-line, idlwave-split-link-target)
17519 (idlwave-statement-type, idlwave-struct-skip)
17520 (idlwave-substitute-link-target, idlwave-toggle-comment-region)
17521 (idlwave-update-current-buffer-info, idlwave-use-library-catalogs)
17522 (idlwave-what-module-find-class): Fix typos in docstrings.
17523 (idlwave-all-method-classes, idlwave-calc-hanging-indent)
17524 (idlwave-calculate-cont-indent, idlwave-expand-equal)
17525 (idlwave-find-module, idlwave-find-structure-definition)
17526 (idlwave-init-rinfo-when-idle-after, idlwave-insert-source-location)
17527 (idlwave-list-load-path-shadows, idlwave-next-statement)
17528 (idlwave-routine-entry-compare-twins, idlwave-routine-info)
17529 (idlwave-routines, idlwave-sintern-rinfo-list, idlwave-statement-match)
17530 (idlwave-template): Reflow docstrings.
17532 * progmodes/idlw-shell.el (idlwave-shell-syntax-error): Doc fix.
17533 (idlwave-shell-batch-command, idlwave-shell-bp-alist)
17534 (idlwave-shell-bp-get, idlwave-shell-bp-overlays)
17535 (idlwave-shell-bp-query, idlwave-shell-break-here, idlwave-shell-buffer)
17536 (idlwave-shell-display-line, idlwave-shell-display-wframe)
17537 (idlwave-shell-electric-debug-mode, idlwave-shell-examine-select)
17538 (idlwave-shell-file-name-chars, idlwave-shell-filter-bp)
17539 (idlwave-shell-goto-frame, idlwave-shell-halt-messages-re)
17540 (idlwave-shell-highlighting-and-faces, idlwave-shell-idl-wframe)
17541 (idlwave-shell-mode-hook, idlwave-shell-mode-line-info)
17542 (idlwave-shell-mode-map, idlwave-shell-module-source-filter)
17543 (idlwave-shell-mouse-help, idlwave-shell-mouse-print)
17544 (idlwave-shell-pc-frame, idlwave-shell-pending-commands)
17545 (idlwave-shell-print, idlwave-shell-quit, idlwave-shell-redisplay)
17546 (idlwave-shell-scan-for-state, idlwave-shell-send-command)
17547 (idlwave-shell-sentinel-hook, idlwave-shell-separate-examine-output)
17548 (idlwave-shell-shell-command, idlwave-shell-sources-alist)
17549 (idlwave-shell-sources-bp, idlwave-shell-sources-filter)
17550 (idlwave-shell-step, idlwave-shell-use-breakpoint-glyph)
17551 (idlwave-toolbar-add-everywhere, idlwave-toolbar-toggle):
17552 Fix typos in docstrings.
17553 (idlwave-shell-bp, idlwave-shell-clear-current-bp)
17554 (idlwave-shell-hide-output, idlwave-shell-mode)
17555 (idlwave-shell-run-region, idlwave-shell-set-bp-in-module):
17558 * textmodes/bibtex.el (bibtex-sort-entry-class): Fix group name.
17560 2009-09-24 Ivan Kanis <apple@kanis.eu>
17562 * term.el (term-bold-attribute): New var.
17563 (term-handle-colors-array): Use it.
17565 2009-09-23 Nick Roberts <nickrob@snap.net.nz>
17567 * progmodes/gdb-mi.el (gdb-version): New variable.
17568 (gdb-non-stop-handler): Set gdb-version.
17569 (gdb-gud-context-command, gdb-current-context-command, gdb-stopped):
17570 Condition "--thread" option on gdb-version.
17571 (gdb-invalidate-threads): Remove unused argument.
17573 2009-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
17575 * textmodes/flyspell.el (sgml-mode-flyspell-verify): Pass limit args
17576 to looking-back to avoid ridiculous slow down in large files (bug#4511).
17578 2009-09-23 Glenn Morris <rgm@gnu.org>
17580 * mail/rmail.el (rmail-reply): Don't try to add a References header when
17581 replying to mail without References or Message-Id. (Bug#4525)
17583 2009-09-23 Adrian Robert <Adrian.B.Robert@gmail.com>
17585 * term/ns-win.el (ns-reg-to-script): New variable.
17587 2009-09-23 Daiki Ueno <ueno@unixuser.org>
17589 * epg.el (epg-wait-for-status): Preserve existing 'error results.
17591 2009-09-22 Sam Steingold <sds@gnu.org>
17593 * vc-hg.el (vc-hg-print-log): Fix shortlog arg passing.
17594 (vc-hg-outgoing, vc-hg-incoming): Bump okstatus in `vc-hg-command'
17595 to 1 because hg returns status 1 when nothing is found.
17596 Bind `vc-short-log' for the sake of `vc-hg-log-view-mode'.
17598 2009-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
17600 * textmodes/fill.el: Convert to utf-8 encoding.
17601 (fill-french-nobreak-p): Remove redundant » and « inherited from our
17604 * add-log.el (change-log-fill-forward-paragraph): New function.
17605 (change-log-mode): Use it so fill-region DTRT.
17606 Set fill-indent-according-to-mode here rather than in
17607 change-log-fill-paragraph.
17608 (change-log-fill-paragraph): Remove.
17610 2009-09-22 Juanma Barranquero <lekktu@gmail.com>
17612 * info.el (Info-try-follow-nearest-node): Use the URL extracted by
17613 `Info-get-token', instead of `browse-url-url-at-point'. (Bug#4508)
17615 2009-09-22 Glenn Morris <rgm@gnu.org>
17617 * calendar/calendar.el (calendar-mode-map): Make mouse-1 and 3 clicks on
17618 the scroll-bar scroll the calendar window rather than the buffer.
17620 * calendar/cal-menu.el (cal-menu-scroll-menu): Add a sub-section with
17621 commands that move point (as opposed to scrolling).
17623 * emulation/tpu-edt.el (tpu-copy-keyfile): Fix condition-case handler.
17625 * emacs-lisp/elint.el (elint): New custom group.
17626 (elint-log-buffer): Make it a defcustom.
17627 (elint-scan-preloaded, elint-ignored-warnings)
17628 (elint-directory-skip-re): New options.
17629 (elint-builtin-variables): Doc fix.
17630 (elint-preloaded-env): New variable.
17631 (elint-unknown-builtin-args): Add an entry for encode-time.
17632 (elint-extra-errors): Make it a variable rather than a constant.
17633 (elint-preloaded-skip-re): New constant.
17634 (elint-directory): Skip files matching elint-directory-skip-re.
17635 (elint-features): New variable, local to linted buffers.
17636 (elint-update-env): Initialize elint-features. Possibly add
17637 elint-preloaded-env to the buffer's environment.
17638 (elint-get-top-forms): Bind elint-current-pos, for log messages.
17640 (elint-init-form): New function, extracted from elint-init-env.
17641 Make non-list forms a warning rather than an error.
17642 Add the mode-map for define-derived-mode. Handle define-minor-mode,
17643 easy-menu-define, put that adds an error-condition, and provide.
17644 When requiring cl, also require cl-macs. Really require cl, to handle
17645 some cl macros. Store required libraries in the list elint-features,
17646 so as not to re-load them. Treat cc-require like require.
17647 (elint-init-env): Call elint-init-form to do the work.
17648 Handle eval-and-compile and such like.
17649 (elint-add-required-env): Do not clear messages.
17650 (elint-special-forms): Add handlers for function, defalias, if, when,
17652 (elint-form): Add optional argument to ignore elint-special-forms,
17653 useful to prevent recursive calls from handlers. Doc fix.
17654 Respect elint-ignored-warnings.
17655 (elint-form): Respect elint-ignored-warnings.
17656 (elint-bound-variable, elint-bound-function): New variables.
17657 (elint-unbound-variable): Respect elint-bound-variable.
17658 (elint-get-args): Respect elint-bound-function.
17659 (elint-check-cond-form): Add some simple handling for (f)boundp and
17661 (elint-check-defalias-form): New handler.
17662 (elint-check-let-form): Make an empty let a warning rather than an
17664 (elint-check-setq-form): Make an empty setq a warning rather than an
17665 error. Respect elint-ignored-warnings.
17666 (elint-check-defvar-form): Accept null doc-strings.
17667 (elint-check-conditional-form): New handler. Does some simple-minded
17668 checking of featurep and (f)boundp tests.
17669 (elint-put-function-args): New function.
17670 (elint-initialize): Use elint-scan-doc-file rather than
17671 elint-find-builtin-variables. Use elint-put-function-args.
17672 Possibly scan preloaded-file-list.
17673 (elint-scan-doc-file): Rename from elint-find-builtin-variables and
17674 extend to handle functions as well.
17676 2009-09-22 Lennart Borgman <lennart.borgman@gmail.com>
17678 * linum.el (linum-delete-overlays, linum-update-window):
17679 Do not modify the right margin. (Bug#3971)
17681 2009-09-21 Chong Yidong <cyd@stupidchicken.com>
17683 * files.el (conf-mode-maybe, magic-fallback-mode-alist):
17684 Use nxml-mode instead of xml-mode.
17686 2009-09-21 Kevin Ryde <user42@zip.com.au>
17688 * net/dig.el: Add "Keywords: comm", as per net-utils.el. (Bug#4501)
17690 2009-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
17692 * net/dig.el (dig-mode): Use define-derived-mode.
17694 2009-09-20 Dan Nicolaescu <dann@ics.uci.edu>
17696 * vc-dispatcher.el (vc-do-command): Return the process object in
17697 the asynchronous case. Use when instead of if. Do not run
17698 vc-exec-after to display a message if not enabled. (Bug#4463)
17700 * vc-git.el (vc-git-dir-extra-headers): Add keymap and mouse-face
17701 properties to the stash strings.
17702 (vc-git-stash-list): Return a list of strings.
17703 (vc-git-stash-get-at-point, vc-git-stash-delete-at-point)
17704 (vc-git-stash-show-at-point): New functions.
17705 (vc-git-stash-map): New keymap.
17707 * register.el (ctl-x-r-map): Define the keys here instead of
17710 2009-09-20 Thierry Volpiatto <thierry.volpiatto@gmail.com> (tiny change)
17712 * bookmark.el (bookmark-write-file): Avoid calling `pp' with large
17713 list, to workaround performance problem (bug#4485).
17715 2009-09-20 Nick Roberts <nickrob@snap.net.nz>
17717 * progmodes/gud.el (gud-sentinel): Revert indavertant change.
17719 2009-09-20 Daiki Ueno <ueno@unixuser.org>
17721 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
17722 Document that this option is not recommended to use.
17724 2009-09-19 Glenn Morris <rgm@gnu.org>
17726 * calc/calc-graph.el (calc-graph-lookup): Avoid assignment to free
17729 * calc/calc-alg.el (var):
17730 * calc/calcalg2.el (var): Define for compiler.
17732 2009-09-19 Chong Yidong <cyd@stupidchicken.com>
17734 * emacs-lisp/advice.el (ad-get-argument, ad-set-argument):
17735 Doc fix (Bug#3932).
17737 * subr.el (baud-rate): Remove long-obsolete function (Bug#4372).
17739 * time-stamp.el (time-stamp-month-dd-yyyy)
17740 (time-stamp-dd/mm/yyyy, time-stamp-mon-dd-yyyy)
17741 (time-stamp-dd-mon-yy, time-stamp-yy/mm/dd)
17742 (time-stamp-yyyy/mm/dd, time-stamp-yyyy-mm-dd)
17743 (time-stamp-yymmdd, time-stamp-hh:mm:ss, time-stamp-hhmm):
17744 Remove functions that have been obsolete since 1995 (Bug#4436).
17746 * progmodes/sh-script.el (sh-learn-buffer-indent): Pop to the
17747 indent buffer only if called interactively (Bug#4452).
17749 2009-09-19 Juanma Barranquero <lekktu@gmail.com>
17750 Eli Zaretskii <eliz@gnu.org>
17752 This fixes bug#4197 (merged to bug#865, though not identical).
17753 * server.el (server-auth-dir): Add docstring note about FAT32.
17754 (server-ensure-safe-dir): Accept FAT32 directories as "safe",
17755 but warn against using them.
17757 2009-09-19 Nick Roberts <nickrob@snap.net.nz>
17759 * progmodes/gdb-mi.el (gdb-var-update-handler-1): Include case of
17760 older GDB where there is no has_more field.
17762 2009-09-19 Glenn Morris <rgm@gnu.org>
17764 * pgg-pgp.el (pgg-pgp-encrypt-region): Add missing mapconcat separator.
17766 2009-09-18 Chong Yidong <cyd@stupidchicken.com>
17768 * files.el (auto-mode-alist): Change default for XML files to nXML
17771 2009-09-18 Juanma Barranquero <lekktu@gmail.com>
17773 * server.el (server-ensure-safe-dir): Pass 'integer
17774 to `file-attributes', as suggested.
17776 2009-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
17778 * dired-aux.el (dired-query-alist): Remove spurious backslash.
17779 (dired-query): Use read-key.
17781 2009-09-18 Adrian Robert <Adrian.B.Robert@gmail.com>
17783 * cus-start.el (ns-use-qd-smoothing): Remove.
17785 2009-09-18 Glenn Morris <rgm@gnu.org>
17787 * allout.el (top-level): Remove unnecessary progn.
17789 * progmodes/js.el (js-end-of-defun): Remove malformed and unneeded let.
17791 * emacs-lisp/derived.el (define-derived-mode): Fix paren typo in
17792 definition of abbrev table.
17794 * speedbar.el (speedbar-track-mouse):
17795 * net/eudc-bob.el (eudc-bob-pipe-object-to-external-program):
17796 * net/eudc.el (eudc-expand-inline):
17797 * net/newst-backend.el (newsticker--cache-read-feed):
17798 * nxml/nxml-outln.el (nxml-end-of-heading): Fix typos in
17799 condition-case handlers.
17801 2009-09-18 Nick Roberts <nickrob@snap.net.nz>
17803 * progmodes/gdb-mi.el (gdb-frame-address): New variable.
17804 (gdb-var-list): Add an element for has_more field.
17805 (gdb-non-stop-handler): Enable pretty printing for STL containers.
17806 (gdb-var-create-handler, gdb-var-list-children-handler-1)
17807 (gdb-var-update-handler-1): Parse output of dynamic variable
17808 objects (STL containers).
17809 (gdb-var-delete-1): Pass var1 as an explicit second argument.
17810 (gdb-get-field): Delete alias. Use bindat-get-field directly.
17812 * progmodes/gud.el (gud-speedbar-item-info): Adjust for change to
17814 (gud-speedbar-buttons): Make node expandable if expression "has more"
17817 2009-09-17 Juanma Barranquero <lekktu@gmail.com>
17819 * startup.el (emacs-quick-startup): Remove variable and all uses.
17820 (command-line): Set `inhibit-x-resources' instead.
17821 (command-line-1): Use `inhibit-x-resources' instead.
17823 2009-09-17 Chong Yidong <cyd@stupidchicken.com>
17825 * subr.el: Fix last change to avoid using the `unless' macro,
17826 which breaks bootstrapping.
17828 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
17830 * subr.el (push, pop, dolist, dotimes, declare): Don't overwrite CL's
17831 extended definitions, in case we reload subr.el after having
17833 (eval-next-after-load): Mark as obsolete.
17835 2009-09-17 Juri Linkov <juri@jurta.org>
17837 * menu-bar.el (menu-bar-search-menu, menu-bar-edit-menu)
17838 (menu-bar-options-menu, menu-bar-showhide-fringe-menu)
17839 (menu-bar-showhide-menu, menu-bar-tools-menu)
17840 (menu-bar-describe-menu, menu-bar-help-menu)
17841 (minibuffer-local-completion-map, minibuffer-local-map):
17844 2009-09-17 Glenn Morris <rgm@gnu.org>
17846 * emacs-lisp/bytecomp.el (byte-compile-form): Always check the function
17847 arguments, whether or not it has a handler.
17849 * ansi-color.el (ansi-color-get-face-1): Fix typo in handler.
17851 * simple.el (hard-newline): Give it a doc-string.
17853 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
17854 (lisp-mode-syntax-table): Give them doc-strings.
17856 2009-09-17 Dan Nicolaescu <dann@ics.uci.edu>
17858 * menu-bar.el (menu-bar-file-menu, menu-bar-file-menu)
17859 (menu-bar-i-search-menu, menu-bar-edit-menu, menu-bar-custom-menu)
17860 (menu-bar-options-menu, menu-bar-showhide-menu)
17861 (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
17862 (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
17863 (menu-bar-options-menu, menu-bar-line-wrapping-menu)
17864 (menu-bar-options-menu, menu-bar-tools-menu)
17865 (menu-bar-describe-menu, menu-bar-search-documentation-menu)
17866 (menu-bar-help-menu):
17867 (menu-bar-make-mm-toggle, menu-bar-make-toggle): Purecopy the
17870 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu)
17871 (menu-bar-epatch-menu, menu-bar-ediff-misc-menu): Add purecopy
17872 calls for the menu names and :help.
17874 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
17876 * mouse.el (minor-mode-menu-from-indicator): Pay attention
17877 to :minor-mode-function (bug#4455).
17879 2009-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
17881 * startup.el (command-line): Initialize the window-system after
17882 processing the command-line.
17884 * textmodes/page.el (what-page): Make sure we don't inf-loop if
17885 page-delimiter matches the empty string.
17887 2009-09-16 Glenn Morris <rgm@gnu.org>
17889 * emacs-lisp/bytecomp.el (byte-compile-not-obsolete-vars): Rename from
17890 byte-compile-not-obsolete-var. It's a list now.
17891 (byte-compile-not-obsolete-funcs): New variable.
17892 (byte-compile-warn-obsolete): Don't warn about functions if they are in
17893 byte-compile-not-obsolete-funcs.
17894 (byte-compile-variable-ref, byte-compile-defvar): Update for
17895 byte-compile-not-obsolete-vars name-change and list nature.
17896 (byte-compile-maybe-guarded): Suppress warnings about obsolete functions
17897 and variables behind (f)boundp tests.
17898 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Set if bound.
17900 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
17902 * vc-git.el (vc-git-log-view-mode): Undo inadvertent change.
17904 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
17906 * Makefile.in (compile-onefile): Use byte-compile-refresh-preloaded.
17907 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded):
17910 2009-09-15 Stephen Eglen <stephen@gnu.org>
17912 * iswitchb.el (iswitchb-read-buffer): When selecting a match from
17913 the virtual-buffers, use the name of the buffer specified by
17914 find-file-noselect, as the match may be a symlink. (This was a
17915 problem if the target and the symlink had different names.)
17917 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
17919 * custom.el (custom-initialize-default, custom-initialize-set): CSE.
17921 * desktop.el (desktop-path): Check user-emacs-directory.
17923 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): New function.
17925 * loadup.el: Use after-load-functions to GC after loading each file.
17926 Remove the explicit GC calls that used to be sprinkled around.
17928 * subr.el (after-load-functions): New hook.
17929 (do-after-load-evaluation): Run it. Use string-match-p to detect
17930 `obsolete' packages, rather than painfully extracting the relevant
17933 2009-09-15 Glenn Morris <rgm@gnu.org>
17935 * apropos.el (apropos-documentation-check-doc-file): Avoid assignment to
17936 free variable `doc'.
17938 * dired.el (dired-mode-map): Add menu entry for async shell command.
17940 * help-fns.el (find-lisp-object-file-name): When looking for autoloaded
17941 variables, also consider the .elc files, since the .el files are
17942 normally gzipped (subsequent code locates the .el.gz from the .elc).
17944 * calc/calc-prog.el (arglist): Define for compiler.
17946 * calendar/diary-lib.el (diary-display-function): Change the default to
17948 (body): Define for compiler.
17950 * emacs-lisp/bytecomp.el (byte-compile-keep-pending)
17951 (byte-compile-file-form, byte-compile-lambda)
17952 (byte-compile-top-level-body, byte-compile-form)
17953 (byte-compile-variable-ref, byte-compile-setq)
17954 (byte-compile-setq-default, byte-compile-body)
17955 (byte-compile-body-do-effect, byte-compile-and, byte-compile-or)
17956 (batch-byte-compile): Give some more local variables with common names
17957 a "bytecomp-" prefix to avoid masking warnings about free variables.
17959 * startup.el (command-line-1): Give local variables with common names a
17960 distinguishing prefix, so as not to hide free variable warnings during
17963 * mail/rmailmm.el (rmail-mime-save): If file exists, don't try to be
17964 clever and add a suffix to make a unique name, just let the user decide
17965 whether or not to overwrite it. If the input is a directory, write the
17966 default filename to that directory. (Bug#4388)
17967 (rmail-mime-bulk-handler): Ensure the save button's 'directory property
17968 is a filename-as-a-directory.
17970 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
17972 * textmodes/page.el (what-page): Don't move to beginning of line.
17973 See <87tyz5ajte.fsf@x2.delysid.org> in emacs-devel.
17975 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
17977 * vc-git.el (vc-git-dir-extra-headers): Show the remote location.
17979 2009-09-14 Dan Nicolaescu <dann@ics.uci.edu>
17981 * bindings.el (mode-line-mode-menu): Add purecopy calls for :help.
17982 * help.el (help-for-help-internal): Add purecopy calls for text.
17984 * vc.el (top): print-log method now takes an optional SHORTLOG
17985 argument. Add a new method: root.
17986 (vc-root-diff, vc-print-root-log): New functions.
17987 (vc-log-short-style): New variable.
17988 (vc-print-log-internal): Add support for showing short logs.
17990 * vc-hooks.el (vc-prefix-map, vc-menu-map): Add bindings for
17991 vc-print-root-log and vc-print-root-diff.
17993 * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-print-log):
17994 * vc-git.el (vc-git-print-log, vc-git-log-view-mode):
17995 * vc-hg.el (vc-hg-print-log, vc-hg-log-view-mode): Add support for
17998 * vc-cvs.el (vc-cvs-print-log):
17999 * vc-mtn.el (vc-mtn-print-log):
18000 * vc-rcs.el (vc-rcs-print-log):
18001 * vc-sccs.el (vc-sccs-print-log):
18002 * vc-svn.el (vc-svn-print-log): Add an optional argument shortlog
18003 that is ignored for now.
18005 * vc-mtn.el (vc-mtn-annotate-command):
18006 * vc-svn.el (vc-svn-annotate-command): Run asynchronously.
18008 2009-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
18010 * simple.el: Add mapping for backspace/delete/clear/tab/escape/return
18011 to function-key-map, and give them ascii-character property.
18012 * term/x-win.el (x-alternatives-map):
18013 * term/ns-win.el (ns-alternatives-map):
18014 * term/internal.el (msdos-key-remapping-map):
18015 * w32-fns.el (x-alternatives-map): Remove redundant mappings.
18017 2009-09-14 Glenn Morris <rgm@gnu.org>
18019 * emacs-lisp/elint.el (elint-add-required-env): Revert to not using
18020 temp-buffers (2009-09-12).
18022 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
18024 * textmodes/ispell.el (ispell-command-loop): Improve last fix, using
18025 the new read-key function.
18027 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
18029 * term/x-win.el (x-menu-bar-open): Only call accelerate-menu if it
18030 is defined (Bug#4405).
18032 2009-09-13 Vincent Belaïche <vincent.belaiche@gmail.com>
18034 * recentf.el (recentf-cleanup): Use a hash table to find
18035 duplicates (Bug#4407).
18037 2009-09-13 Per Starbäck <per@starback.se> (tiny change)
18039 * textmodes/ispell.el (ispell-command-loop): Convert keys such as
18040 kp-0 to ascii equivalents (Bug#4325).
18042 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
18044 * progmodes/cperl-mode.el (cperl-init-faces): Revert last change.
18046 * eshell/em-hist.el:
18047 * eshell/em-dirs.el (eshell-complete-user-reference):
18048 Declare pcomplete functions and variables to avoid compiler warnings.
18050 2009-09-13 Leo <sdl.web@gmail.com> (tiny change)
18052 * eshell/em-script.el (eshell-login-script, eshell-rc-script):
18053 * eshell/em-dirs.el (eshell-last-dir-ring-file-name):
18054 * eshell/em-alias.el (eshell-aliases-file):
18055 * eshell/em-hist.el (eshell-history-file-name):
18056 Use expand-file-name instead of concat to make file names (Bug#4308).
18058 2009-09-13 Glenn Morris <rgm@gnu.org>
18060 * ediff-merg.el (ediff-do-merge):
18061 * filesets.el (filesets-run-cmd):
18062 * emulation/ws-mode.el (ws-show-markers, ws-move-block, ws-delete-block)
18063 (ws-find-marker-0, ws-find-marker-1, ws-find-marker-2, ws-find-marker-3)
18064 (ws-find-marker-4, ws-find-marker-5, ws-find-marker-6, ws-find-marker-7)
18065 (ws-find-marker-8, ws-find-marker-9, ws-goto-block-begin)
18066 (ws-goto-block-end, ws-goto-last-cursorposition, ws-copy-block):
18067 Replace empty `let's with `progn'.
18069 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
18071 * mail/sendmail.el (send-mail-function):
18072 * tooltip.el (tooltip-mode):
18073 * simple.el (transient-mark-mode):
18074 * rfn-eshadow.el (file-name-shadow-mode):
18075 * frame.el (blink-cursor-mode):
18076 * font-core.el (global-font-lock-mode):
18077 * files.el (temporary-file-directory)
18078 (small-temporary-file-directory, auto-save-file-name-transforms):
18079 * epa-hook.el (auto-encryption-mode):
18080 * composite.el (global-auto-composition-mode):
18081 Use custom-initialize-delay.
18082 * startup.el (command-line): Don't explicitly call
18083 custom-reevaluate-setting for all the above vars.
18084 * custom.el (custom-initialize-safe-set)
18085 (custom-initialize-safe-default): Delete.
18087 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
18089 * term/x-win.el (x-initialize-window-system):
18090 * term/w32-win.el (w32-initialize-window-system):
18091 * term/ns-win.el (ns-initialize-window-system): Don't call
18092 mouse-wheel-mode since it's enabled globally by default already.
18094 * mwheel.el (mouse-wheel-mode): Make sure the new defvar doesn't
18095 actually define the variable, but only silences the byte-compiler.
18096 (mouse-wheel-change-button): Check whether mouse-wheel-mode is bound
18097 before looking it up.
18098 (mouse-wheel-scroll-amount): Also reset the bindings if this value
18101 2009-09-12 Glenn Morris <rgm@gnu.org>
18103 * emacs-lisp/elint.el (elint-file): Make max-lisp-eval-depth at least
18105 (elint-add-required-env): Don't beep on error.
18106 (elint-forms): In case of error, return ENV unchanged.
18107 (elint-init-env): Skip non-list forms.
18108 (elint-log): Handle unknown file positions.
18110 2009-09-12 Daiki Ueno <ueno@unixuser.org>
18112 * epg.el (epg-make-context): Add autoload cookie.
18113 (epg-list-keys, epg-cancel, epg-start-decrypt, epg-decrypt-file)
18114 (epg-decrypt-string, epg-start-verify, epg-verify-file)
18115 (epg-verify-string, epg-start-sign, epg-sign-file)
18116 (epg-sign-string, epg-start-encrypt, epg-encrypt-file)
18117 (epg-encrypt-string, epg-start-export-keys)
18118 (epg-export-keys-to-file, epg-export-keys-to-string)
18119 (epg-start-import-keys, epg-import-keys-from-file)
18120 (epg-import-keys-from-string, epg-start-receive-keys)
18121 (epg-receive-keys, epg-import-keys-from-server)
18122 (epg-start-delete-keys, epg-delete-keys, epg-start-sign-keys)
18123 (epg-sign-keys, epg-start-generate-key)
18124 (epg-generate-key-from-file, epg-generate-key-from-string):
18125 Remove autoload cookie.
18127 2009-09-12 Eli Zaretskii <eliz@gnu.org>
18129 * dos-fns.el (dos-reevaluate-defcustoms): Comment out the
18130 reevaluation of trash-directory.
18132 * mwheel.el: Fix last change.
18133 (mouse-wheel-mode): New defvar.
18134 (mouse-wheel-mode): Remove autoload cookie.
18136 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
18138 * mwheel.el (mwheel-installed-bindings): New var.
18139 (mouse-wheel-mode): Use it, so as to make sure we really remove all
18140 the bindings we set last time. Use custom-initialize-delay.
18141 * loadup.el: Load mwheel after term/*-win.el.
18142 * startup.el (command-line): Don't reevaluate mouse-wheel-down-event
18143 and mouse-wheel-up-event now that their first evaluation is done
18144 sufficiently late to be correct.
18146 * startup.el (tutorial-directory): Make it a defcustom.
18147 Use custom-initialize-delay rather than eval-at-startup to set it.
18148 * image.el (image-load-path): Make it a defcustom.
18149 Use custom-initialize-delay rather than eval-at-startup to set it.
18150 * subr.el (eval-at-startup): Remove.
18151 * font-lock.el (lisp-font-lock-keywords-2): Remove eval-at-startup.
18153 * subr.el (do-after-load-evaluation): Warn the user after loading an
18156 2009-09-12 Glenn Morris <rgm@gnu.org>
18158 * proced.el (proced-mark-alt): Remove alias.
18159 (proced-mode-map): Remove proced-mark-alt.
18161 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries to
18162 Elint file and directory. Remove initialization entry.
18164 * emacs-lisp/elint.el (elint-file, elint-directory): New autoloaded
18166 (elint-current-buffer): Set mode-line-process.
18167 (elint-init-env): Handle define-derived-mode.
18168 Fix declare-function with unspecified arglist. Guard against odd
18169 defalias statements (eg iso-insert's 8859-1-map).
18170 (elint-add-required-env): Use a temp buffer.
18171 (elint-form): Just print the function/macro name, not the whole form.
18172 Return env unchanged if we fail to parse a macro.
18173 (elint-forms): Guard against parse errors.
18174 (elint-output): New function, to handle batch mode.
18175 (elint-log-message): Add optional argument. Use elint-output.
18176 (elint-set-mode-line): New function.
18178 2009-09-12 Andreas Politz <politza@fh-trier.de> (tiny change)
18180 * emacs-lisp/elp.el (elp-not-profilable): Add more
18181 functions (Bug#4233).
18183 2009-09-12 Chong Yidong <cyd@stupidchicken.com>
18185 * emulation/pc-select.el (scroll-down-mark, scroll-down-nomark)
18186 (scroll-up-mark, scroll-up-nomark): Doc fix (Bug#4190).
18188 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
18190 * progmodes/gdb-mi.el (gdb-var-list-children-regexp): Delete.
18191 (gdb-var-list-children): Use json parsing.
18193 2009-09-11 Daniel Colascione <dan.colascione@gmail.com>
18195 * progmodes/js.el (js--proper-indentation): Handle the case where
18196 char-before is null. Reported by Deniz Dogan.
18198 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
18200 * emacs-lisp/cl-macs.el (help-add-fundoc-usage): Declare.
18202 2009-09-11 Daiki Ueno <ueno@unixuser.org>
18204 * epg.el (epg-cipher-algorithm-alist): Add CAMELLIA.
18205 (epg-digest-algorithm-alist): Add SHA224.
18206 (epg-context-set-passphrase-callback)
18207 (epg-context-set-progress-callback): Add description about
18210 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
18212 * custom.el (custom-delayed-init-variables): New var.
18213 (custom-initialize-delay): New function.
18214 * startup.el (command-line): "Re"evaluate all vars in
18215 custom-delayed-init-variables. Don't reevaluate abbrev-file-name
18216 explicitly any more.
18217 * abbrev.el (abbrev-file-name): Use custom-initialize-delay
18218 to avoid creating a ~/.emacs.d at build-time (bug#4347).
18220 * proced.el (proced-mode-map): Prefer "m" for proced-mark (bug#4362).
18222 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
18224 * progmodes/gdb-mi.el (gdb-var-update-regexp): Delete.
18225 (gdb-var-update-handler): Use json parsing.
18227 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
18229 * vc-annotate.el (vc-annotate): Use the main file's coding-system to
18230 decode annotated text, regardless of language environment. (Bug#2741)
18232 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
18234 * Makefile.in (autoloads): Make rmail.el writable as well.
18236 2009-09-11 Glenn Morris <rgm@gnu.org>
18238 * dired-aux.el, dired-x.el: Put autoloads in dired.el rather than
18240 * dired.el: Regenerate with extracted autoloads.
18241 * Makefile.in (autoloads): Make dired.el writable.
18243 * ibuf-ext.el: Put autoloads in ibuffer.el rather than loaddefs.el.
18244 * ibuffer.el: Regenerate with extracted autoloads.
18245 * Makefile.in (autoloads): Make ibuffer.el writable.
18247 * paths.el (prune-directory-list, gnus-nntp-service, rmail-file-name):
18248 * version.el (emacs-copyright, emacs-major-version)
18249 (emacs-minor-version): Reformat doc-strings for make-docfile.
18251 * apropos.el (apropos-documentation-check-doc-file): Exclude unbound
18252 functions and variables, since they must be stuff specific to some other
18254 (apropos-print): Make mouse-click message less specific about button.
18256 * emacs-lisp/cl-macs.el (define-compiler-macro): Add a property
18257 that records where a macro was defined.
18258 * help-fns.el (describe-function-1): Mention if a function has a
18260 * help-mode.el (help-function-cmacro): New button.
18262 * locate.el (top-level): Always require dired.
18263 (locate-mode-map): Initialize inside the defvar.
18265 * net/ange-ftp.el (dired-compress-file): Declare.
18266 (ange-ftp-dired-compress-file): Add doc string.
18268 * term/ns-win.el (x-display-name, x-setup-function-keys):
18269 Unify doc-strings with X versions.
18271 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
18273 * emulation/crisp.el (crisp-mode-map): Move initialization
18275 (crisp-mode): Use define-minor-mode.
18277 * progmodes/xscheme.el (xscheme-evaluation-commands):
18278 Put a :advertised-binding property rather than using
18279 advertised-xscheme-send-previous-expression.
18280 (advertised-xscheme-send-previous-expression): Declare obsolete.
18281 * emulation/crisp.el (crisp-mode-map): Use `undo' rather than
18283 (crisp-mode): Add corresponding bindings to
18284 undo's :advertised-binding instead.
18285 * dired.el (dired-mode-map): Put a :advertised-binding property rather
18286 than using dired-advertised-find-file.
18287 (dired-advertised-find-file):
18288 * simple.el (advertised-undo):
18289 * wid-edit.el (advertised-widget-backward): Declare obsolete.
18290 (widget-keymap): Put a :advertised-binding property rather
18291 than using advertised-widget-backward.
18292 * bindings.el (ctl-x-map): Put a :advertised-binding property rather
18293 than using advertised-undo.
18294 * tutorial.el (tutorial--default-keys): Adjust accordingly.
18296 2009-09-10 Simon South <ssouth@slowcomputing.org>
18298 * progmodes/delphi.el (delphi-tab): Indent region when Transient
18299 Mark mode is enabled and region is active; otherwise indent or
18300 insert TAB as usual.
18301 (delphi-mode): Update description of TAB-key binding.
18303 2009-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
18305 * subr.el (define-key-rebound-commands): Mark obsolete.
18306 * startup.el (precompute-menubar-bindings): Remove.
18307 (normal-top-level): Remove obsolete code that tried to precompute
18309 * loadup.el (define-key-rebound-commands): Don't bother fiddling with
18310 define-key-rebound-commands and precompute-menubar-bindings.
18312 2009-09-10 Teodor Zlatanov <tzz@lifelogs.com>
18314 * net/imap.el (imap-interactive-login): Better messages.
18315 (imap-open): Fix bug with renamed buffer on reconnect.
18316 (imap-authenticate): Add buffer-local imap-last-authenticator variable
18317 for easier debugging and cleaner code. On successful (guessed based on
18318 server capabilities) secondary authentication, set imap-state
18320 (imap-last-authenticator): Define imap-last-authenticator as a variable
18323 2009-09-10 Glenn Morris <rgm@gnu.org>
18325 * pcvs.el (cvs-mode-find-file): Use forward-line rather than goto-line.
18327 * emacs-lisp/bytecomp.el (byte-compile-function-environment): Doc fix.
18328 (byte-compile-file-form-autoload): Don't warn about unknown functions
18329 where the autoload statement comes after the use.
18330 (with-no-warnings): Give it a byte-hunk-handler like than of progn, so
18331 that any handlers inside the body (eg require) are in turn respected.
18333 * emacs-lisp/byte-opt.el (degrees-to-radians): Mark as free from side
18336 * emacs-lisp/derived.el (define-derived-mode): Give the mode's map,
18337 and syntax and abbrev tables basic docs, if they don't have any.
18339 * emacs-lisp/easy-mmode.el (easy-mmode-defmap): Add doc-string.
18341 * international/mule-cmds.el (top-level): Require cl when compiling.
18342 (view-hello-file): Use default-value rather than
18343 default-enable-multibyte-characters.
18345 * progmodes/fortran.el: Move all safe and risky properties into the
18348 * mail/rmailedit.el, mail/rmailkwd.el, mail/rmailmm.el:
18349 * mail/rmailmsc.el, mail/rmailsort.el, mail/rmailsum.el:
18350 * mail/undigest.el:
18351 Put autoloads in rmail.el rather than loaddefs.el.
18352 * mail/rmail.el: Regenerate with extracted autoloads.
18354 * mail/rmailsum.el (rmail-user-mail-address-regexp): Move to rmail.el.
18355 * mail/rmail.el (rmail-user-mail-address-regexp): Move from rmailsum.el.
18357 2009-09-10 Nick Roberts <nickrob@snap.net.nz>
18359 Reported in thread for Bug#4375.
18360 * progmodes/gud.el (gud-tooltip-print-command): Use MI command
18361 "-data-evaluate-expression" instead of print.
18362 * progmodes/gdb-mi.el (gdb-tooltip-print-1): Ditto.
18363 (gdb-tooltip-print): Parse output from above MI command.
18364 (gdb): Revert 2009-08-11 change. User should detach inferior
18367 Remove the word "separate" from IO functions as inferior
18368 output is now never displayed in the GUD buffer.
18370 2009-09-10 Juanma Barranquero <lekktu@gmail.com>
18372 * startup.el (command-line-normalize-file-name): On Windows and
18373 MS-DOS, also convert C:\/ and C:\\ (two backslashes) into C:/.
18375 2009-09-10 Juri Linkov <juri@jurta.org>
18377 * isearch.el (isearch-text-char-description): Propertize escape
18378 character sequences with the `escape-glyph' face. (Bug#4344)
18380 * simple.el (shell-command): Set asynchronous process filter to
18381 `comint-output-filter'. (Bug#4343)
18383 * progmodes/grep.el (grep-template): Add "<X>" to docstring.
18384 (grep-files-aliases): Add "all". Move "el" and "ch" to the top of
18385 the list. Move "asm" to the bottom.
18386 (grep-find-ignored-directories): Add `choice' with nil value
18387 to empty the list easily.
18388 (grep-find-ignored-files): New option.
18389 (grep-files-history): Set to nil by default instead of '("ch" "el").
18390 (grep-compute-defaults): Add "<X>" to `grep-template'.
18391 (grep-read-files): Bind new local variables `default-alias' and
18392 `default-extension'. Use a list of default values for the file prompt.
18393 (lgrep): Add `--exclude=' command line options composed from
18394 `grep-find-ignored-files'.
18395 (rgrep): Add `-name' command line options composed from
18396 `grep-find-ignored-files'. (Bug#4301)
18398 2009-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
18400 * diff-mode.el (diff-hunk-kill): Fix the search of the next hunk
18403 2009-09-09 Katsumi Yamaoka <yamaoka@jpl.org>
18405 * calendar/time-date.el (autoload):
18406 Expand define-obsolete-function-alias into defalias and make-obsolete
18407 for old Emacsen that Gnus supports.
18408 (with-no-warnings): Define it for old Emacsen.
18409 (time-to-seconds): Don't use (featurep 'xemacs) to check if float-time
18411 (time-to-number-of-days): Don't use (featurep 'xemacs) to check if
18412 float-time is available; suppress compile warning for time-to-seconds.
18414 2009-09-09 Teodor Zlatanov <tzz@lifelogs.com>
18416 * net/imap.el (imap-message-map): Docstring fix.
18418 2009-09-09 Glenn Morris <rgm@gnu.org>
18420 * ffap.el (ffap-file-at-point): Handle absolute (non-remote) files with
18421 line numbers too. (Bug#4374)
18423 2009-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
18425 * smerge-mode.el (smerge-remove-props, smerge-refine):
18426 Use with-silent-modifications (bug#4342).
18428 * subr.el (with-silent-modifications): New macro.
18430 2009-09-07 Juanma Barranquero <lekktu@gmail.com>
18432 * files.el (top-level): Require `cl' when compiling.
18434 2009-09-07 Glenn Morris <rgm@gnu.org>
18436 * files.el (auto-mode-alist): Use delphi-mode for .dpr files.
18438 * proced.el (proced-mode-map): Bind "d" to proced-mark-alt.
18439 (proced-mark-alt): New alias, to control the advertised key. (Bug#4362)
18441 2009-09-06 Nick Roberts <nickrob@snap.net.nz>
18443 * vc-git.el (vc-git-annotate-command): Use separator to parse
18444 arguments correctly.
18446 2009-09-06 Eli Zaretskii <eliz@gnu.org>
18448 * proced.el (proced-mode): Doc fix.
18450 2009-09-06 Julian Scheid <julians37@gmail.com> (tiny change)
18452 * net/tramp.el (tramp-perl-file-attributes): Print "nil" when
18454 (tramp-do-file-attributes-with-ls): Check for file existence at
18456 (tramp-do-file-attributes-with-stat): Likewise.
18457 (tramp-convert-file-attributes): Return nil when attr is nil.
18459 2009-09-05 Glenn Morris <rgm@gnu.org>
18461 * calendar/diary-lib.el (diary-entry): Add help-echo and follow-link
18462 properties to this button.
18463 (diary-fancy-display): Don't extend the button to the final newline.
18464 (diary-fancy-display-mode): Continue to define "q" as a local key.
18466 * calendar/cal-china.el (holiday-chinese): Make it slightly more
18469 * font-lock.el (lisp-font-lock-keywords-2): Add letf.
18471 * emacs-lisp/bytecomp.el (emacs-lisp-file-regexp): Doc fix.
18472 (byte-compile-dest-file-function): New option.
18473 (byte-compile-dest-file): Doc fix.
18474 Obey byte-compile-dest-file-function.
18475 (byte-compile-cl-file-p): New function.
18476 (byte-compile-eval): Only suppress noruntime warnings about cl functions
18477 if the cl-functions warning is enabled. Use byte-compile-cl-file-p.
18478 (byte-compile-eval): Check for non-nil byte-compile-cl-functions rather
18479 than for file being previously loaded.
18480 (byte-compile-find-cl-functions): Use byte-compile-cl-file-p.
18481 (byte-compile-file-form-require): Handle the case where requiring a file
18482 indirectly causes CL to be loaded.
18484 2009-09-05 Karl Fogel <kfogel@red-bean.com>
18486 * files.el (find-alternate-file): Run `kill-buffer-hook' manually
18487 before killing the old buffer, since by the time `kill-buffer' is
18488 run so many buffer variables have been set to nil that it may not
18489 behave as expected. (Bug#4061)
18491 2009-09-05 Karl Fogel <kfogel@red-bean.com>
18493 * files.el (find-alternate-file): If the old buffer is modified
18494 and visiting a file, behave similarly to `kill-buffer' when
18495 killing it, thus reverting to the pre-1.878 behavior; see
18496 http://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00101.html
18497 for discussion. Also, consult `buffer-file-name' as a variable
18498 not as a function, for consistency with the rest of the code.
18500 2009-09-04 Michael Albinus <michael.albinus@gmx.de>
18502 * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
18503 also when adding a new directory.
18505 * net/tramp-compat.el (tramp-compat-line-beginning-position):
18508 2009-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
18510 * files.el (locate-file-completion-table): Make it provide boundary
18511 information, so partial-completion works better.
18513 2009-09-04 Leo <sdl.web@gmail.com> (tiny change)
18515 * mail/footnote.el (Footnote-text-under-cursor):
18516 Check footnote-text-marker-alist before using it (bug#4324).
18518 2009-09-04 Glenn Morris <rgm@gnu.org>
18520 * play/5x5.el, play/decipher.el, play/gametree.el, play/handwrite.el:
18521 * play/hanoi.el, play/landmark.el, play/mpuz.el, play/pong.el:
18522 * play/solitaire.el, play/tetris.el:
18523 Remove leading * from defcustom and defface docs.
18525 * calendar/diary-lib.el (diary-fancy-display): Only switch modes if
18527 (diary-fancy-overriding-map): New variable.
18528 (diary-fancy-display-mode): Set minor-mode-overriding-map-alist.
18531 * vc-rcs.el (vc-rcs-annotate-command): Use forward-line rather than
18534 2009-09-03 Glenn Morris <rgm@gnu.org>
18536 * arc-mode.el (archive-mode):
18537 * dos-fns.el (set-default-process-coding-system):
18538 * man.el (Man-getpage-in-background):
18539 * menu-bar.el (menu-bar-describe-menu):
18540 * server.el (server-process-filter):
18541 * startup.el (command-line):
18542 * tar-mode.el (tar-header-block-tokenize, tar-extract):
18543 * w32-fns.el (set-default-process-coding-system):
18544 * x-dnd.el (x-dnd-handle-file-name):
18545 * international/mule-cmds.el (mule-menu-keymap)
18546 (set-default-coding-systems, language-info-alist, set-language-info)
18547 (set-language-environment, standard-display-european-internal)
18548 (set-locale-environment):
18549 * international/mule-diag.el (mule-diag):
18550 * mail/emacsbug.el (report-emacs-bug):
18551 * mail/rmail.el (rmail-mode):
18552 * mail/sendmail.el (mail-setup):
18553 Use default-value rather than default-enable-multibyte-characters.
18555 * progmodes/f90.el: Move all safe properties into the defcustoms.
18556 (f90-get-correct-indent, f90-indent-region, f90-abbrev-start): Use memq.
18558 * calendar/appt.el (appt-check):
18559 * calendar/diary-lib.el (diary-set-header, diary-live-p)
18560 (diary-check-diary-file, diary-list-entries)
18561 (diary-include-other-diary-files, diary-simple-display)
18562 (diary-fancy-display, diary-print-entries)
18563 (diary-mark-included-diary-files, diary-make-entry):
18564 Don't call substitute-in-file-name on diary-file.
18566 2009-09-03 Eduard Wiebe <usenet@pusto.de>
18567 Stefan Monnier <monnier@iro.umontreal.ca>
18569 * mail/footnote.el (footnote-prefix): Make it a defcustom.
18570 (footnote-mode-map): Move initialization into the declaration.
18571 (footnote-minor-mode-map): Define it rather than changing global-map.
18572 (footnote-mode): Use define-minor-mode.
18574 2009-09-02 Michael Albinus <michael.albinus@gmx.de>
18576 * net/tramp.el (tramp-handle-file-attributes-with-ls)
18577 (tramp-do-file-attributes-with-perl)
18578 (tramp-do-file-attributes-with-stat): Rename from
18579 `tramp-handle-file-attributes-with-*'.
18580 (tramp-handle-file-attributes): Use them.
18581 (tramp-do-directory-files-and-attributes-with-perl)
18582 (tramp-do-directory-files-and-attributes-with-stat): Rename from
18583 `tramp-handle-directory-files-and-attributes-with-*'.
18584 (tramp-handle-directory-files-and-attributes): Use them.
18585 (tramp-method-out-of-band-p): Additional parameter SIZE.
18586 (tramp-do-copy-or-rename-file, tramp-handle-file-local-copy)
18587 (tramp-handle-write-region): Use it.
18588 (tramp-handle-insert-directory): Use "?\ " for compatibility reasons.
18589 (tramp-handle-vc-registered): Check, whether the first run did
18590 return files to be tested.
18591 (tramp-advice-make-auto-save-file-name): Do not call directly
18592 `tramp-handle-make-auto-save-file-name', because this would bypass
18593 the locking mechanism.
18595 * net/tramp-compat.el (top): Autoload used functions from tramp.el.
18596 (file-remote-p, process-file, start-file-process, set-file-times)
18597 (tramp-compat-file-attributes): Compatibility functions shall not
18598 call directly `tramp-handle-*', because this would bypass the
18600 (tramp-compat-number-sequence): New defun.
18602 2009-09-02 Glenn Morris <rgm@gnu.org>
18604 * calendar/time-date.el (time-to-seconds): In Emacs, make it an obsolete
18605 alias for float-time.
18606 (time-to-number-of-days): In Emacs, use float-time.
18607 * net/newst-backend.el (time-add): Suppress warnings from compat
18609 * time.el (emacs-uptime, emacs-init-time):
18610 * net/rcirc.el (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE):
18611 Use float-time rather than time-to-seconds.
18613 * minibuffer.el (completion-initials-expand): Fix typo.
18615 * faces.el (modeline, modeline-inactive, modeline-highlight)
18616 (modeline-buffer-id):
18617 * info.el (info-menu-5): Mark these face aliases as obsolete.
18619 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
18621 * progmodes/gdb-mi.el (gdb-current-context-command): Move the
18623 (gdb-gud-context-call): ... to here for pre GDB 7.0 when there is
18624 no "--thread" option.
18625 (gdb-stopped): Don't print "Switched to thread" message when it is
18628 2009-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
18630 * minibuffer.el (completion-try-completion)
18631 (completion-all-completions): Remove ill-defined (and
18632 mistakenly installed and luckily never used nor documented)
18633 `completion-styles' property.
18634 (completion-initials-expand, completion-initials-all-completions)
18635 (completion-initials-try-completion): New functions.
18636 (completion-styles-alist): Add doc to each entry.
18637 Add new `initials' entry.
18639 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
18641 * progmodes/gdb-mi.el (gdb-var-create-handler): Remove redundant
18642 MI command -var-evaluate-expression.
18643 (gdb-var-list-children-regexp): Update from regexp-1 in gdb-ui.el
18644 and tweak for case of string child.
18645 (gdb-var-list-children-handler): Update from handler-1 in gdb-ui.el.
18647 2009-09-01 Glenn Morris <rgm@gnu.org>
18649 * add-log.el (change-log-date-face, change-log-name-face)
18650 (change-log-email-face, change-log-file-face, change-log-list-face)
18651 (change-log-conditionals-face, change-log-function-face)
18652 (change-log-acknowledgement-face):
18653 * cus-edit.el (custom-invalid-face, custom-rogue-face)
18654 (custom-modified-face, custom-set-face, custom-changed-face)
18655 (custom-saved-face, custom-button-face, custom-button-pressed-face)
18656 (custom-documentation-face, custom-state-face, custom-comment-face)
18657 (custom-comment-tag-face, custom-variable-tag-face)
18658 (custom-variable-button-face, custom-face-tag-face)
18659 (custom-group-tag-face-1, custom-group-tag-face):
18660 * diff-mode.el (diff-header-face, diff-file-header-face)
18661 (diff-index-face, diff-hunk-header-face, diff-removed-face)
18662 (diff-added-face, diff-changed-face, diff-function-face)
18663 (diff-context-face, diff-nonexistent-face):
18664 * generic-x.el (show-tabs-tab-face, show-tabs-space-face):
18665 * hilit-chg.el (highlight-changes-face, highlight-changes-delete-face):
18666 * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face)
18667 (Info-title-4-face):
18668 * isearch.el (isearch-lazy-highlight-face):
18669 * log-view.el (log-view-file-face, log-view-message-face):
18670 * paren.el (show-paren-match-face, show-paren-mismatch-face):
18671 * pcvs-info.el (cvs-header-face, cvs-filename-face, cvs-unknown-face)
18672 (cvs-handled-face, cvs-need-action-face, cvs-marked-face)
18674 * smerge-mode.el (smerge-mine-face, smerge-other-face)
18675 (smerge-base-face, smerge-markers-face):
18676 * wid-edit.el (widget-documentation-face, widget-button-face)
18677 (widget-field-face, widget-single-line-field-face)
18678 (widget-inactive-face, widget-button-pressed-face):
18679 * woman.el (woman-italic-face, woman-bold-face, woman-unknown-face)
18680 (woman-addition-face):
18681 * eshell/em-ls.el (eshell-ls-directory-face, eshell-ls-symlink-face)
18682 (eshell-ls-executable-face, eshell-ls-readonly-face)
18683 (eshell-ls-unreadable-face, eshell-ls-special-face)
18684 (eshell-ls-missing-face, eshell-ls-archive-face)
18685 (eshell-ls-backup-face, eshell-ls-product-face)
18686 (eshell-ls-clutter-face):
18687 * eshell/em-prompt.el (eshell-prompt-face):
18688 * eshell/esh-test.el (eshell-test-ok-face, eshell-test-failed-face):
18689 * obsolete/old-whitespace.el (whitespace-highlight-face):
18690 * progmodes/antlr-mode.el (antlr-font-lock-default-face)
18691 (antlr-font-lock-keyword-face, antlr-font-lock-syntax-face)
18692 (antlr-font-lock-ruledef-face, antlr-font-lock-tokendef-face)
18693 (antlr-font-lock-ruleref-face, antlr-font-lock-tokenref-face)
18694 (antlr-font-lock-literal-face):
18695 * progmodes/ebrowse.el (ebrowse-tree-mark-face)
18696 (ebrowse-root-class-face, ebrowse-file-name-face)
18697 (ebrowse-default-face, ebrowse-member-attribute-face)
18698 (ebrowse-member-class-face, ebrowse-progress-face):
18699 * progmodes/make-mode.el (makefile-space-face):
18700 * progmodes/sh-script.el (sh-heredoc-face):
18701 * textmodes/flyspell.el (flyspell-incorrect-face)
18702 (flyspell-duplicate-face):
18703 * textmodes/tex-mode.el (tex-math-face, tex-verbatim-face):
18704 * textmodes/texinfo.el (texinfo-heading-face):
18705 Mark face aliases with "-face" suffix as obsolete.
18707 * mail/feedmail.el (file-name-buffer-file-type-alist): Define for
18710 * net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-image-menu)
18711 (eudc-bob-sound-menu): Use defvar rather than defconst, since
18712 easy-menu-define wants to modify these.
18714 * net/net-utils.el (nslookup): Use make-comint rather than comint-run.
18716 * net/browse-url.el (browse-url-file-url):
18717 * term/internal.el (dos-codepage-setup):
18718 Use default-value rather than default-enable-multibyte-characters.
18720 * progmodes/etags.el (etags-goto-tag-location):
18721 * progmodes/flymake.el (flymake-highlight-line)
18722 (flymake-goto-file-and-line, flymake-goto-line):
18723 * progmodes/gdb-mi.el (gdb-mouse-until, gdb-mouse-jump)
18724 (gdb-goto-breakpoint):
18725 * progmodes/idlw-shell.el (idlwave-shell-move-to-bp):
18726 * progmodes/python.el (python-find-function)
18727 (python-pdbtrack-track-stack-file):
18728 * progmodes/verilog-mode.el (verilog-surelint-off):
18729 * term/ns-win.el (ns-open-file-select-line):
18730 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
18731 Use forward-line rather than goto-line.
18733 * textmodes/reftex-cite.el (reftex-offer-bib-menu):
18734 * textmodes/reftex-index.el (reftex-display-index):
18735 * textmodes/reftex-ref.el (reftex-offer-label-menu):
18736 * textmodes/reftex-toc.el (reftex-toc):
18737 Remove unnecessary bindings of default-major-mode (all are followed by
18738 major-mode check and possible mode switch).
18740 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
18742 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
18743 Handle watchpoints (bug#4282).
18744 (def-gdb-thread-buffer-command): Enable thread to be selected by
18745 clicking without selecting threads buffer first.
18746 (gdb-current-context-command): Use selected frame so that "up",
18747 "down" etc work in the GUD buffer.
18748 (gdb-update): Find selected frame before rendering stack buffer.
18749 (gdb-frame-handler): Set gdb-frame-number for stack buffer.
18751 2009-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
18753 * progmodes/sym-comp.el (displayed-completions): Remove.
18754 (symbol-complete): Use minibuffer-complete.
18756 2009-08-31 Glenn Morris <rgm@gnu.org>
18758 * emacs-lisp/byte-run.el (define-obsolete-face-alias): New macro.
18760 * apropos.el (apropos-symbols-internal):
18761 Handle (obsolete) face aliases.
18763 * faces.el (describe-face): Adjust the output format to be more like
18764 describe-variable, and to mention (obsolete) face aliases.
18765 Adjust the whitespace so that help-setup-xref works.
18767 * calendar/calendar.el (calendar-today-face, diary-face, holiday-face):
18768 * calendar/diary-lib.el (diary-button-face):
18769 Mark these face aliases as obsolete.
18771 * calendar/calendar.el (calendar-today): Doc fix.
18773 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
18775 * progmodes/gdb-mi.el (gdb-control-all-threads)
18776 (gdb-control-current-thread): Force tool bar update.
18777 (gdb-non-stop-handler): New function.
18778 (gdb-init-1): Use it to test if non-stop mode is supported.
18779 Remove unused gdbmi buffer type.
18781 2009-08-30 Kevin Rodgers <kevin.d.rodgers@gmail.com>
18783 * progmodes/grep.el (grep-read-files): Strip trailing <N> from
18784 buffer names not visiting a file (e.g. cloned buffers). (Bug#4210)
18786 2009-08-30 Nick Roberts <nickrob@snap.net.nz>
18788 * comint.el (comint-exec-1): Check command is non-null first.
18789 Part of gdb-mi.el change (2009-08-28).
18791 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
18793 * emacs-lisp/lisp.el (lisp-complete-symbol): Use minibuffer-complete.
18795 2009-08-30 Juanma Barranquero <lekktu@gmail.com>
18797 * subr.el (do-after-load-evaluation): Fix last change: use `mapc'
18798 instead of `dolist' to avoid a recursive require when bootstrapping.
18800 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
18802 * emacs-lisp/lisp.el (field-complete): Use minibuffer-complete.
18804 * net/ldap.el (ldap-search-internal): Use with-current-buffer and push.
18806 * net/imap.el (imap-send-command): Simplify.
18807 (imap-wait-for-tag): point-max -> buffer-size.
18809 * net/ange-ftp.el (internal-ange-ftp-mode): Use define-derived-mode.
18811 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't use symbol-value
18812 with constant argument.
18814 * emacs-lisp/debug.el (debugger-setup-buffer): Make it multibyte.
18816 * emacs-lisp/cl.el (cl-macro-environment): Don't define it here.
18818 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag):
18819 Change default, since most of our files don't have a history.
18820 (checkdoc-display-status-buffer): Don't use a hidden buffer to show to
18823 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
18826 * calc/calc.el: Improve commenting convention.
18827 (calc-digit-map, toplevel): Simplify.
18829 * comint.el (comint-insert-input): Be careful to only set point if we
18830 don't delegate to some other command.
18832 * proced.el (proced-signal-list): Make it an alist.
18833 (proced-grammar-alist): Capitalize names.
18834 (proced-send-signal): Use a non-hidden buffer (since it's displayed).
18835 Disable undo manually and make it read-only.
18836 Use completion-annotate-function.
18838 * minibuffer.el (minibuffer-message): If the current buffer is not
18839 a minibuffer, insert the message in the echo area rather than at the
18841 (completion-annotate-function): New variable.
18842 (minibuffer-completion-help): Use it.
18843 (completion--embedded-envvar-table): Environment vars are
18844 always case-sensitive.
18846 2009-08-30 Glenn Morris <rgm@gnu.org>
18848 * progmodes/fortran.el (fortran-start-prog-re): New constant, extracted
18849 from fortran-current-defun.
18850 (fortran-beginning-of-subprogram): Be more precise about finding the
18851 start, to avoid an infinite loop in end-of-defun. (Bug#4259)
18852 (fortran-end-of-subprogram): Simplify.
18853 (fortran-current-defun): Use fortran-start-prog-re.
18855 2009-08-29 Juanma Barranquero <lekktu@gmail.com>
18857 * subr.el (do-after-load-evaluation): Simplify.
18859 2009-08-29 Dan Nicolaescu <dann@ics.uci.edu>
18861 * vc.el (vc-print-log-internal): Move RCS/CVS specific code ...
18863 * vc-rcs.el (vc-rcs-print-log-cleanup): ... here. New function.
18864 (vc-rcs-print-log): Use it.
18866 * vc-cvs.el (vc-cvs-print-log): Use vc-rcs-print-log-cleanup.
18868 2009-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
18870 * paths.el (abbrev-file-name): Move to abbrev.el.
18871 * abbrev.el (abbrev-file-name): Move from paths.el.
18872 Obey user-emacs-directory.
18873 * calc/calc.el (calc-settings-file): Don't autoload and instead obey
18874 user-emacs-directory.
18875 * dos-fns.el (dos-reevaluate-defcustoms): Don't reevaluate
18876 abbrev-file-name and calc-settings-file any more.
18877 * startup.el (command-line): Recompute abbrev-file-name and
18878 abbreviated-home-dir.
18879 (normal-no-mouse-startup-screen): Improve the generic code and get rid
18880 of the special code for when C-h bindings haven't been changed.
18881 (display-startup-echo-area-message): Use with-current-buffer.
18882 (command-line-1): Use a list of strings, rather than a list of lists
18883 of strings for longopts.
18885 * files.el (get-free-disk-space): Use / for default-directory.
18887 * textmodes/ispell.el (ispell-accept-output, ispell-command-loop):
18888 Use with-current-buffer.
18890 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p):
18891 Recognize immutable variables like most-positive-fixnum.
18892 (byte-compile-setq-default): Check and warn if trying to assign
18893 to an immutable variable, or a non-variable.
18895 * progmodes/cc-vars.el (c-comment-continuation-stars):
18896 * progmodes/cc-engine.el (c-looking-at-bos):
18897 * progmodes/cc-cmds.el (c-toggle-auto-state)
18898 (c-forward-into-nomenclature, c-backward-into-nomenclature)
18899 (c-comment-line-break-function): Add version of obsolescence.
18901 2009-08-28 Juri Linkov <juri@jurta.org>
18903 * files.el (magic-fallback-mode-alist): Add ZIP magic number
18904 associated with `archive-mode'.
18906 * image.el (image-type-header-regexps): Use only JPEG magic number
18907 to determine JPEG images, and don't use `image-jpeg-p' because
18908 Emacs can display non-JFIF non-Exif JPEG images.
18910 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
18912 * arc-mode.el (archive-mode):
18913 * emacs-lisp/re-builder.el (re-builder-unload-function):
18914 Protect against the default value of `major-mode' being nil.
18916 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
18918 * international/ucs-normalize.el (ucs-normalize-sort, quick-check-list):
18919 Fix typos in docstrings.
18921 * progmodes/js.el (js--macro-decl-re): Doc fix.
18922 (js--plain-method-re, js--split-name): Refloc docstring.
18923 (js--class-styles, js--make-merged-item, js--splice-into-items):
18924 Fix typos in docstrings; reflow docstrings.
18925 (js--maybe-join, js--function-prologue-beginning, js--flush-caches)
18926 (js--variable-decl-matcher, js--inside-pitem-p)
18927 (js--parse-state-at-point, js--get-all-known-symbols)
18928 (js--symbol-history, js-find-symbol, js--js-references)
18929 (js--moz-interactor, js--js-encode-value, js--read-tab):
18930 Fix typos in docstrings.
18932 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
18934 * textmodes/reftex.el (reftex-get-file-buffer-force):
18935 * progmodes/verilog-mode.el (verilog-batch-execute-func):
18936 * emulation/viper.el (viper-go-away, viper-set-hooks):
18937 * emacs-lisp/re-builder.el (re-builder-unload-function):
18938 * emacs-lisp/bytecomp.el (byte-compile-file):
18939 * ses.el (ses-unload-function):
18940 * hexl.el (hexl-find-file):
18941 * files.el (normal-mode):
18942 * ehelp.el (with-electric-help):
18943 * autoinsert.el (auto-insert-alist):
18944 * arc-mode.el (archive-mode):
18945 Use (default-value 'major-mode) instead of default-major-mode.
18947 * textmodes/ispell.el (ispell-check-version, ispell-send-string):
18948 * international/mule.el (load-with-code-conversion):
18949 * emacs-lisp/debug.el (debug):
18950 * ediff-vers.el (ediff-rcs-get-output-buffer):
18951 * dired.el (dired-internal-noselect): Don't let-bind
18952 default-major-mode around code that doesn't use it.
18953 E.g. buffer creation via get-buffer-create doesn't use it.
18955 2009-08-28 Michael Albinus <michael.albinus@gmx.de>
18957 * net/tramp.el (all): Replace "'(lambda" by "(lambda".
18958 (tramp-handle-file-local-copy): Unset `file-name-handler-alist'
18959 when writing the temp file. Otherwise, epa-file gets confused.
18960 (tramp-register-file-name-handlers): Make it a defun. Move also
18961 `epa-file-handler' to the front of `file-name-handler-alist'.
18963 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
18965 * net/tramp.el (tramp-shell-prompt-pattern): Allow a prompt to
18966 start right after a ^M.
18967 (tramp-root-regexp, tramp-completion-file-name-regexp-unified)
18968 (tramp-completion-file-name-regexp-separate)
18969 (tramp-completion-file-name-regexp-url): Use \\` and \\'.
18970 (tramp-handle-file-attributes, tramp-set-file-uid-gid):
18971 Don't modify last-coding-system-used by accident.
18972 (tramp-completion-file-name-handler): Apply the checks here,
18973 instead during registration.
18974 (tramp-register-file-name-handlers): Rename from
18975 `tramp-register-file-name-handler'. Register both
18976 `tramp-file-name-handler' and `tramp-completion-file-name-handler'.
18977 (tramp-register-completion-file-name-handler): Remove. (Bug#4260)
18979 2009-08-28 Nick Roberts <nickrob@snap.net.nz>
18981 * progmodes/gdb-mi.el (gdb-use-separate-io-buffer):
18982 Remove variable ...
18983 (gdb-init-1, gdb-display-separate-io-buffer)
18984 (gdb-frame-separate-io-buffer, gdb-setup-windows): ... and
18986 (gdb-inferior-io-mode): Use make-comint-in-buffer.
18987 (gdb-inferior-filter): Use comint-output-filter to stop
18988 echoing and remove ^M characters.
18990 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
18992 * emulation/viper-init.el (viper-restore-cursor-type):
18993 * emulation/cua-base.el (cua--update-indications):
18994 Replace default-cursor-type with (default-value 'cursor-type).
18996 * mail/sendmail.el (mail-recover-1):
18997 * international/mule-diag.el (describe-current-coding-system-briefly)
18998 (describe-current-coding-system):
18999 * international/mule-cmds.el (select-safe-coding-system)
19000 (select-message-coding-system)
19001 (set-language-environment-coding-systems, set-locale-environment):
19002 * hexl.el (hexl-insert-multibyte-char):
19003 * dos-w32.el (find-buffer-file-type-coding-system):
19004 * simple.el (what-cursor-position):
19005 Replace uses of default-buffer-file-coding-system
19006 with (default-value 'buffer-file-coding-system).
19008 * emacs-lisp/edebug.el (edebug-display, edebug-outside-excursion):
19009 Replace uses of default-cursor-in-non-selected-windows
19010 with (default-value 'cursor-in-non-selected-windows).
19011 Use with-current-buffer.
19013 * mail/feedmail.el: Use CL macros.
19014 (feedmail-run-the-queue, feedmail-send-it-immediately):
19015 * dos-w32.el (find-buffer-file-type): Replace uses of
19016 default-buffer-file-type with (default-value 'buffer-file-type).
19018 2009-08-28 Glenn Morris <rgm@gnu.org>
19020 * calendar/diary-lib.el (diary-list-entries, diary-goto-entry)
19021 (diary-show-all-entries, diary-mark-entries, diary-make-entry):
19022 Use default-value of major-mode rather than default-major-mode.
19024 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
19026 * Makefile.in (update-elcfiles): Report left over elc files.
19028 * mail/mailalias.el (build-mail-aliases): Use with-temp-buffer,
19029 expand-file-name and with-current-buffer.
19030 (mail-get-names, mail-directory): Use with-current-buffer.
19032 * vc.el (vc-read-revision): New function.
19033 (vc-version-diff, vc-merge): Use it.
19035 2009-08-27 Sam Steingold <sds@gnu.org>
19037 * simple.el (kill-do-not-save-duplicates): New user option.
19038 (kill-new): When it is non-nil, and the new string is the same as
19039 the latest kill, set replace to t to avoid duplicates in kill-ring.
19041 2009-08-27 Julian Scheid <julians37@gmail.com> (tiny change)
19043 * net/tramp.el (tramp-handle-process-file): Do not flush all
19044 caches when `process-file-side-effects' is set.
19045 (tramp-handle-vc-registered): Use `tramp-get-file-exists-command'
19046 instead of `tramp-find-file-exists-command'.
19047 Unset `process-file-side-effects'.
19049 2009-08-27 Michael Albinus <michael.albinus@gmx.de>
19051 * net/tramp.el (tramp-methods): New method "rsyncc".
19052 (top): Add completion function for "rsyncc".
19053 (tramp-message-show-message): New defvar.
19054 (tramp-message, tramp-error): Use it.
19055 (tramp-do-copy-or-rename-file-directly): Extend check for direct
19057 (tramp-do-copy-or-rename-file-out-of-band): Handle new
19058 `tramp-methods' entry `copy-env' of "rsyncc".
19059 (tramp-vc-registered-read-file-names): New defconst.
19060 (tramp-vc-registered-file-names): New defvar.
19061 (tramp-handle-vc-registered): Implement optimization strategy.
19062 (tramp-run-real-handler): Add `tramp-vc-file-name-handler'.
19063 (tramp-vc-file-name-handler): New defun.
19064 (tramp-get-ls-command, tramp-get-test-command)
19065 (tramp-get-file-exists-command, tramp-get-remote-ln)
19066 (tramp-get-remote-perl, tramp-get-remote-stat)
19067 (tramp-get-remote-id): Remove superfluous `with-current-buffer'.
19069 * net/tramp-cache.el (top): Autoload `tramp-time-less-p'.
19070 (tramp-cache-inhibit-cache): Extend doc string. It allows also
19072 (tramp-get-file-property): Check for timestamps in
19073 `tramp-cache-inhibit-cache'.
19074 (tramp-set-file-property): Write timestamp.
19076 2009-08-27 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
19078 * language/japan-util.el (japanese-symbol-table): Add entries for
19081 * international/characters.el: Add category `j' to cp932-2-byte.
19083 2009-08-27 Kenichi Handa <handa@m17n.org>
19085 * international/fontset.el (build-default-fontset-data): New macro.
19086 (setup-default-fontset): Use build-default-fontset-data for CJK,
19087 tibetan, ethiopic, and ipa.
19089 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
19091 * cus-start.el (default-major-mode): Customize `major-mode' instead.
19092 (enable-multibyte-characters): Not customizable any more.
19094 * subr.el (default-mode-line-format, default-header-line-format)
19095 (default-line-spacing, default-abbrev-mode, default-ctl-arrow)
19096 (default-direction-reversed, default-truncate-lines)
19097 (default-left-margin, default-tab-width, default-case-fold-search)
19098 (default-left-margin-width, default-right-margin-width)
19099 (default-left-fringe-width, default-right-fringe-width)
19100 (default-fringes-outside-margins, default-scroll-bar-width)
19101 (default-vertical-scroll-bar, default-indicate-empty-lines)
19102 (default-indicate-buffer-boundaries, default-fringe-indicator-alist)
19103 (default-fringe-cursor-alist, default-scroll-up-aggressively)
19104 (default-scroll-down-aggressively, default-fill-column)
19105 (default-cursor-type, default-buffer-file-type)
19106 (default-cursor-in-non-selected-windows)
19107 (default-buffer-file-coding-system, default-major-mode)
19108 (default-enable-multibyte-characters): Mark as obsolete.
19110 2009-08-27 Dan Nicolaescu <dann@ics.uci.edu>
19112 * vc-dir.el (vc-dir-update): Remove debug helper.
19114 * vc-cvs.el (vc-cvs-update-changelog): Fix typo.
19116 2009-08-26 Sam Steingold <sds@gnu.org>
19118 * simple.el (save-interprogram-paste-before-kill): New user option.
19119 (kill-new): When `save-interprogram-paste-before-kill' is non-nil,
19120 save the interprogram-paste into kill-ring before overriding it
19121 with the Emacs kill.
19123 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
19125 * vc.el (vc-trunk-p): Rename to vc-rcs-trunk-p and move to vc-rcs.el.
19126 (vc-minor-part): Rename to vc-rcs-minor-part and move to vc-rcs.el.
19127 (vc-default-previous-revision): Rename to vc-rcs-previous-revision
19128 and move to vc-rcs.el.
19129 (vc-default-next-revision): Rename to vc-rcs-next-revision and
19131 (vc-cvs-update-changelog): Move to vc-cvs.el, use vc-call-backend.
19132 (vc-rcs-update-changelog): Remove.
19133 (vc-update-changelog-rcs2log): Rename to vc-rcs-update-changelog
19134 and move to vc-rcs.el.
19136 * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-checkin)
19137 (vc-rcs-checkout, vc-rcs-rollback): Adjust for the vc-rcs-trunk-p
19139 (vc-rcs-trunk-p, vc-rcs-minor-part, vc-rcs-previous-revision)
19140 (vc-rcs-next-revision, vc-rcs-update-changelog): Move here from
19141 vc.el, renamed to be RCS specific.
19143 * vc-cvs.el (vc-cvs-previous-revision, vc-cvs-next-revision):
19145 (vc-cvs-update-changelog): Move here from vc.el.
19147 * vc-sccs.el (vc-sccs-previous-revision, vc-sccs-next-revision):
19150 2009-08-26 Stefan Monnier <monnier@iro.umontreal.ca>
19152 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix up last change.
19154 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
19156 * vc-git.el (vc-git-register): Use "git add" for directories.
19157 (vc-git-stash, vc-git-stash-show): New functions.
19158 (vc-git-extra-menu-map): Bind them.
19160 * vc-dir.el (vc-dir-node-directory, vc-dir-update): Get the parent
19161 directory correctly in case the item is a directory itself.
19163 * vc.el: Document the desired behavior for reverted files in the
19165 (vc-default-prettify-state-info): Remove function, unused.
19167 * vc-bzr.el (vc-bzr-prettify-state-info): Remove function, unused.
19169 2009-08-26 Glenn Morris <rgm@gnu.org>
19171 * bindings.el (standard-mode-line-format): Reposition dashes in
19172 which-func entry. (Bug#4217)
19174 * files.el (enable-local-variables, enable-local-eval)
19175 (safe-local-variable-values, safe-local-eval-forms): Mark as risky in
19177 (auto-mode-alist, ignored-local-variables)
19178 (save-some-buffers-action-alist): Move risky declarations to the
19180 (dabbrev-case-fold-search, dabbrev-case-replace, display-time-string)
19181 (font-lock-defaults, format-alist, imenu--index-alist)
19182 (imenu-generic-expression, input-method-alist, minor-mode-alist)
19183 (mode-line-buffer-identification, mode-line-client, mode-line-modes)
19184 (mode-line-modified, mode-line-mule-info, mode-line-position)
19185 (mode-line-process, mode-line-remote, outline-level)
19186 (parse-time-rules, rmail-output-file-alist)
19187 (special-display-buffer-names, vc-mode):
19188 Move risky declarations to the relevant files.
19189 * bindings.el (mode-line-client, mode-line-mule-info, mode-line-remote)
19190 (mode-line-modified, mode-line-process, mode-line-position)
19191 (mode-line-modes, mode-line-buffer-identification, minor-mode-alist)
19192 * font-core.el (font-lock-defaults):
19193 * format.el (format-alist):
19194 * vc-hooks.el (vc-mode):
19195 * window.el (special-display-buffer-names):
19196 * international/mule-cmds.el (input-method-alist):
19197 Define riskiness here (dumped file) rather than in files.el.
19198 * dabbrev.el (dabbrev-case-fold-search, dabbrev-case-replace):
19199 * imenu.el (imenu-generic-expression, imenu--index-alist):
19200 * outline.el (outline-level):
19201 * time.el (display-time-string):
19202 * calendar/parse-time.el (parse-time-rules):
19203 * mail/rmailout.el (rmail-output-file-alist):
19204 Autoload riskiness here, rather than placing in files.el.
19206 2009-08-26 Andreas Schwab <schwab@linux-m68k.org>
19208 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Signal overflow.
19210 2009-08-25 Michael Albinus <michael.albinus@gmx.de>
19212 * simple.el (process-file-side-effects): New defvar.
19214 * dired-aux.el (dired-show-file-type):
19215 * vc.el (vc-diff-internal):
19216 * vc-arch.el (vc-arch-diff):
19217 * vc-bzr.el (vc-bzr-sha1, vc-bzr-revision-completion-table):
19218 * vc-cvs.el (vc-cvs-state, vc-cvs-diff, vc-cvs-revision-table):
19219 * vc-git.el (vc-git-registered, vc-git-working-revision)
19220 (vc-git-find-revision, vc-git-diff, vc-git-revision-table)
19221 (vc-git--empty-db-p):
19222 * vc-hooks.el (vc-user-login-name):
19223 * vc-svn.el (vc-svn-registered, vc-svn-state)
19224 (vc-svn-dir-extra-headers, vc-svn-find-revision):
19225 * progmodes/grep.el (grep-probe): Let-bind
19226 `process-file-side-effects' with nil.
19228 * net/dbus.el (dbus-ping): Add optional parameter TIMEOUT.
19230 * net/tramp-gvfs.el (top): Use timeout of 100 msec pinging GVFS
19231 daemon. Replace ping by checking for running service for bluez
19232 and zeroconf. (Bug#4239)
19234 2009-08-25 Kevin Ryde <user42@zip.com.au>
19236 * net/dig.el (dig): Add autoload cookie.
19238 2009-08-25 Glenn Morris <rgm@gnu.org>
19240 * emacs-lisp/bytecomp.el (byte-compile-eval): Fix test for cl in
19241 load-history for absolute file-names.
19242 (byte-compile-file-form-require): Warn about use of the cl package.
19244 * format.el (format-alist): Doc fix.
19246 * play/bubbles.el (top-level): Don't require cl at run-time.
19248 * progmodes/verilog-mode.el (top-level): Don't require lucid (and hence
19251 2009-08-24 Dmitry Dzhus <dima@sphinx.net.ru>
19253 * progmodes/gdb-mi.el (gdb-mapcar*): Replacement for `mapcar*'
19255 (gdb-table-add-row, gdb-table-string): Use `gdb-mapcar*'.
19257 2009-08-24 Jay Belanger <jay.p.belanger@gmail.com>
19259 * calc/calc-alg.el (math-trig-rewrite)
19260 (math-hyperbolic-trig-rewrite): New functions.
19261 (calc-simplify): Simplify trig functions when asked.
19263 2009-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
19265 * diff-mode.el (diff-find-source-location): Avoid goto-line.
19267 2009-08-24 Kenichi Handa <handa@m17n.org>
19269 * language/ind-util.el (mapthread): Delete it.
19270 (combinatorial): New function.
19271 (indian--puthash-cv): Use combinatorial instead of mapthread.
19273 2009-08-22 Kevin Ryde <user42@zip.com.au>
19275 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag)
19276 (checkdoc-arguments-in-order-flag): Add safe-local-variable booleanp.
19277 (checkdoc-symbol-words): Add safe-local-variable for list of strings.
19278 Clarify docstring that the value is strings not symbols.
19279 (checkdoc-list-of-strings-p): New function.
19281 2009-08-22 Glenn Morris <rgm@gnu.org>
19283 * files.el (auto-mode-alist):
19284 * hippie-exp.el (he-concat-directory-file-name):
19285 * lpr.el (lpr-windows-system, printer-name):
19286 * ls-lisp.el (ls-lisp-emulation, ls-lisp-use-insert-directory-program):
19287 * ps-print.el (ps-windows-system):
19288 * startup.el (command-line):
19289 * emulation/viper-ex.el (viper-glob-function):
19290 * international/mule-cmds.el (set-language-environment-coding-systems):
19291 * net/ange-ftp.el (ange-ftp-write-region):
19292 * obsolete/fast-lock.el (fast-lock-cache-name):
19293 Remove code for defunct system-types emx, macos, mswindows, next-mach,
19294 unisoft-unix, vax-vms, win32, w32.
19296 * calendar/diary-lib.el (diary-mark-entries-1): Only mark all days of a
19297 given name if the pattern is not more specific.
19299 * calendar/lunar.el (lunar-phase-names): New option.
19300 (lunar-phase): Doc fix.
19301 (lunar-cycles-per-year): New constant.
19302 (lunar-index): New function.
19303 (lunar-phase-list, diary-lunar-phases): Use lunar-index.
19304 (lunar-phase-name): Use lunar-phase-names.
19305 (calendar-lunar-phases): Use format.
19306 (lunar-new-moon-on-or-after): Use lunar-cycles-per-year.
19308 * progmodes/cperl-mode.el (cperl-imenu-name-and-position):
19309 Copy imenu-example--name-and-position function here for own use.
19310 (cperl-xsub-scan): Use cperl-imenu-name-and-position.
19312 * bs.el (bs--redisplay):
19313 * cus-edit.el (custom-redraw):
19314 * ibuffer.el (ibuffer-bury-buffer):
19315 * server.el (server-goto-line-column):
19316 * startup.el (command-line-1):
19317 * strokes.el (strokes-xpm-for-stroke):
19318 * term.el (term-display-buffer-line):
19319 * view.el (View-goto-line):
19320 * calc/calc.el (calc-do, calc-trail-buffer):
19321 * play/gamegrid.el (gamegrid-add-score-insecure):
19322 * progmodes/ada-mode.el (ada-compile-goto-error):
19323 * progmodes/ada-xref.el (ada-xref-find-in-modified-ali):
19324 (ebrowse-select-1st-to-9nth):
19325 * progmodes/cperl-mode.el (cperl-time-fontification):
19326 * progmodes/ebrowse.el (ebrowse-toggle-file-name-display)
19327 * progmodes/gud.el (gud-display-line):
19328 (idlwave-shell-display-line):
19329 * progmodes/idlw-shell.el (idlwave-shell-goto-frame)
19330 * progmodes/make-mode.el (makefile-browser-toggle):
19331 (vhdl-speedbar-port-copy, vhdl-compose-components-package):
19332 * progmodes/vhdl-mode.el (vhdl-speedbar-find-file)
19333 * textmodes/picture.el (picture-draw-rectangle):
19334 * textmodes/reftex-index.el (reftex-index-goto-letter):
19335 (reftex-select-jump-to-previous):
19336 * textmodes/reftex-sel.el (reftex-find-start-point)
19337 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-restore-region):
19338 (rst-straighten-deco-spacing, rst-section-tree, rst-toc):
19339 * textmodes/rst.el (rst-promote-region, rst-straighten-decorations)
19340 * textmodes/tex-mode.el (tex-compilation-parse-errors):
19341 * textmodes/two-column.el (2C-associated-buffer):
19342 Use forward-line rather than goto-line.
19344 * emulation/vi.el (vi-goto-line): Don't warn about non-interactive
19347 * international/ucs-normalize.el (nfd, decomposition-translation-alist)
19348 (decomposition-char-recursively, alist-list-to-vector, quick-check-list)
19349 (quick-check-list-to-regexp): Declare.
19351 * progmodes/make-mode.el (makefile-browser-insert-selection):
19352 Use goto-char rather than goto-line.
19354 * progmodes/prolog.el (compilation-error-regexp-alist)
19355 (compilation-forget-errors): Declare.
19357 2009-08-22 Juri Linkov <juri@jurta.org>
19359 * progmodes/grep.el (lgrep, rgrep): At the beginning
19360 set `dir' to `default-directory' unless `dir' is a non-nil
19361 readable directory. (Bug#4052)
19362 (lgrep, rgrep): Change a weird way to report an error
19363 from using `read-string' to using `error'.
19364 Instead of using interactive arguments in the function body,
19365 add new argument `confirm'.
19367 2009-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
19369 * textmodes/remember.el (remember-buffer):
19370 * progmodes/cperl-mode.el (cperl-vc-header-alist):
19371 * calendar/icalendar.el (icalendar-convert-diary-to-ical)
19372 (icalendar-extract-ical-from-buffer):
19373 * net/newst-treeview.el (newsticker-groups-filename):
19374 * net/newst-backend.el (newsticker-cache-filename):
19375 * speedbar.el (speedbar-update-speed, speedbar-navigating-speed)
19376 (speedbar-ignored-path-expressions, speedbar-ignored-path-regexp)
19377 (speedbar-add-ignored-path-regexp, speedbar-line-path)
19378 (speedbar-buffers-line-path, speedbar-path-line)
19379 (speedbar-buffers-line-path):
19380 * epg.el (epg-passphrase-callback-function, epg-start-sign-keys)
19382 * epa.el (epa-display-verify-result):
19383 * progmodes/pascal.el (pascal-outline): Add version of obsolescence.
19385 2009-08-21 Glenn Morris <rgm@gnu.org>
19387 * progmodes/js.el (inferior-moz-process): Fix declaration.
19389 * imenu.el (imenu-example--name-and-position): Fix obsolescence message.
19391 * obsolete/rnewspost.el (news-mail-reply):
19392 Use goto-char rather than goto-line.
19394 * term/ns-win.el (ns-open-file-select-line):
19395 Use line-beginning-position rather than goto-line.
19397 * apropos.el (apropos-command):
19398 * ehelp.el (electric-helpify):
19399 * printing.el (pr-show-setup):
19400 * strokes.el (strokes-help):
19401 * tutorial.el (tutorial--describe-nonstandard-key)
19402 (tutorial--detailed-help):
19403 * woman.el (woman-mini-help, woman-display-extended-fonts):
19404 * calc/calc-help.el (calc-describe-key):
19405 * emulation/edt.el (edt-electric-helpify):
19406 * international/mule-diag.el (mule-diag):
19407 * play/yow.el (apropos-zippy):
19408 * progmodes/python.el (python-describe-symbol):
19409 * progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode):
19410 * textmodes/table.el (*table--cell-describe-mode)
19411 (*table--cell-describe-bindings):
19412 Use help-print-return-message rather than the now obsolete alias.
19414 * calendar/cal-move.el (calendar-cursor-to-nearest-date)
19415 (calendar-cursor-to-visible-date):
19416 * play/5x5.el (5x5-position-cursor):
19417 * play/decipher.el (decipher):
19418 * play/gomoku.el (gomoku-goto-xy):
19419 * play/landmark.el (lm-goto-xy):
19420 * play/mpuz.el (mpuz-paint-errors, mpuz-paint-statistics)
19421 (mpuz-paint-digit):
19422 Use forward-line, not goto-line.
19424 * mail/rmail.el (rmail-obsolete): Delete custom group.
19425 (rmail-pop-password, rmail-pop-password-required): Make into aliases.
19426 (rmail-remote-password, rmail-remote-password-required):
19427 Remove unneeded :set-after and :set properties.
19429 2009-08-21 Michael Albinus <michael.albinus@gmx.de>
19431 * net/dbus.el (top): Initialize only when `dbusbind' is loaded.
19433 2009-08-21 Dan Nicolaescu <dann@ics.uci.edu>
19435 * loadup.el: Remove leftover macos code.
19437 * vc-git.el (vc-git-annotate-command): Run asynchronously.
19438 Explicitly pass the date format to git blame so that user local
19439 so that the output format can be parsed.
19441 2009-08-20 Michael Albinus <michael.albinus@gmx.de>
19443 * net/dbus.el (top): Don't check for (getenv
19444 "DBUS_SESSION_BUS_ADDRESS"). It's done in dbusbind.c now.
19446 2009-08-19 Magnus Henoch <magnus.henoch@gmail.com>
19448 * log-edit.el (log-edit-strip-single-file-name): New var.
19449 (log-edit-insert-changelog): Use it. Bug#3571
19451 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
19453 * subr.el (read-passwd): Use read-key so keypad keys work as well.
19456 * help.el (help-print-return-message): Rename from
19457 print-help-return-message.
19459 * log-view.el (log-view-mode-map): Remove `q' binding, and unreliable
19460 cvs-mode-map parent hack.
19461 (log-view-mode): Derive from special-mode.
19463 * linum.el (linum-mode): window-size-change-functions is redundant.
19464 Adapt to new window-configuration-change-hook behavior.
19465 (linum-after-size, linum-after-config): Remove.
19467 * imenu.el (imenu-example--name-and-position)
19468 (imenu-example--lisp-extract-index-name)
19469 (imenu-example--create-lisp-index, imenu-example--create-c-index):
19472 * progmodes/prolog.el (inferior-prolog-error-regexp-alist): New var.
19473 (inferior-prolog-mode): Use it.
19474 (inferior-prolog-load-file): Reset list of errors.
19476 2009-08-19 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
19478 * language/tibetan.el ("Tibetan"): Fix sample-text entry.
19480 * language/tai-viet.el ("TaiViet"): Fix sample-text entry.
19482 2009-08-19 Michael Albinus <michael.albinus@gmx.de>
19484 * net/dbus.el (top): Apply `dbus-init-bus' only if the session bus
19485 is running already.
19487 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
19489 * subr.el (listify-key-sequence-1): Use normal syntax since those
19490 integers are nowadays always represented by the same (positive) number
19492 (read-key-empty-map): New const.
19493 (read-key-delay): New var.
19494 (read-key): New function.
19495 (force-mode-line-update): Use with-current-buffer.
19496 (locate-user-emacs-file): Don't forget to abbreviate the file name.
19497 (start-process-shell-command, start-file-process-shell-command):
19498 Discourage the use of command-args.
19500 2009-08-19 Glenn Morris <rgm@gnu.org>
19502 * emacs-lisp/authors.el (authors-fixed-entries): Remove cvtmail.
19504 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
19506 * simple.el (choose-completion-string): Don't rely on
19507 minibuffer-completing-file-name and ad-hoc checks to decide whether
19508 to continue completion or not.
19510 * minibuffer.el (minibuffer-hide-completions): New function.
19511 (completion--do-completion): Use it.
19512 (completions-annotations): New face.
19513 (completion--insert-strings): Use it.
19514 (completion-pcm--delim-wild-regex): Add docstring.
19515 (completion-pcm--string->pattern): Add support for 0-width delimiters
19516 in completion-pcm--delim-wild-regex.
19518 2009-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
19520 * international/ucs-normalize.el (ucs-normalize-hfs-nfd-post-read-conversion):
19521 Remove unused var `buffer-modified-p'.
19523 * minibuffer.el (completion--do-completion): Move point for the #b001
19524 case as well (bug#4176).
19525 (minibuffer-complete, minibuffer-complete-word): Don't move point.
19527 2009-08-18 Michael Albinus <michael.albinus@gmx.de>
19529 * net/dbus.el (dbus-init-bus): Declare. Apply it for the :system
19530 and :session buses.
19532 2009-08-18 Kenichi Handa <handa@m17n.org>
19534 * international/ucs-normalize.el (ucs-normalize-version):
19536 (ucs-normalize-hfs-nfd-pre-write-conversion): New function.
19537 (utf-8-hfs): Make it perform normalization on encoding too.
19539 * textmodes/paragraphs.el: Change to utf-8. Adjust coding cookie.
19540 (sentence-end-without-space): Delete duplicated chars.
19541 (sentence-end-base): Likewise.
19543 * textmodes/sgml-mode.el: Change to utf-8. Adjust coding cookie.
19544 (html-mode): Delete duplicated chars from sentence-end-base.
19546 * textmodes/texinfo.el: Change to utf-8. Adjust coding cookie.
19547 (texinfo-mode): Delete duplicated chars from sentence-end-base.
19549 2009-08-17 Chong Yidong <cyd@stupidchicken.com>
19551 * files.el (hack-one-local-variable): If the mode function is for
19552 a minor mode, pass it an argument (Bug#4148).
19554 2009-08-17 Michael Albinus <michael.albinus@gmx.de>
19556 * net/tramp.el (tramp-register-completion-file-name-handler):
19557 Check also for (member 'partial-completion completion-styles).
19559 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
19561 * progmodes/cperl-mode.el (cperl-electric-paren): Don't expand
19564 2009-08-16 Ilya Zakharevich <ilyaz@cpan.org>
19566 * progmodes/cperl-mode.el: Merge upstream 6.2.
19567 (cperl-mode-syntax-table): Modify syntax entry for ["'`].
19568 (cperl-forward-re): Check cperl-brace-recursing.
19569 (cperl-highlight-charclass): New function.
19570 (cperl-find-pods-heres): Use it.
19571 (cperl-fill-paragraph): Synch to save-excursion placement used upstream.
19572 (cperl-beautify-regexp-piece): Fix column calculation.
19573 (cperl-make-regexp-x): Handle case where point is between "q" and "rs".
19574 (cperl-beautify-level): Don't process entire regexp.
19575 (cperl-build-manpage, cperl-perldoc): Bind Man-switches before
19577 (cperl-tips-faces, cperl-mode, cperl-electric-backspace): Doc fix.
19578 (cperl-init-faces): Build a list in the normal way.
19580 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
19582 * calendar/parse-time.el (parse-time-string-chars): Save match
19585 2009-08-16 Stefan Monnier <monnier@iro.umontreal.ca>
19587 * progmodes/sql.el (sql-product-alist): Add :name tag to entries.
19588 (sql-product): Use it.
19589 (sql-mode-menu): Auto-generate the menu based on sql-product-alist.
19590 (sql-set-product): Add completion.
19591 (sql-highlight-oracle-keywords, sql-highlight-postgres-keywords)
19592 (sql-highlight-linter-keywords, sql-highlight-ms-keywords)
19593 (sql-highlight-ansi-keywords, sql-highlight-sybase-keywords)
19594 (sql-highlight-informix-keywords, sql-highlight-interbase-keywords)
19595 (sql-highlight-ingres-keywords, sql-highlight-solid-keywords)
19596 (sql-highlight-mysql-keywords, sql-highlight-sqlite-keywords)
19597 (sql-highlight-db2-keywords): Remove.
19598 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
19599 (sql-highlight-product): Use derived-mode-p.
19600 (sql-set-sqli-buffer): Use with-current-buffer.
19601 (sql-connect-informix, sql-connect-ingres, sql-connect-oracle):
19604 * emacs-lisp/lisp-mode.el (lisp-indent-region): Remove unused function.
19606 * term.el: Fix commenting convention, turn comments into docstrings.
19608 2009-08-16 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
19610 * whitespace.el (whitespace-style): Doc fix (Bug#3661).
19612 2009-08-16 Jan Seeger <jan.seeger@thenybble.de> (tiny change)
19614 * calendar/parse-time.el (parse-time-string-chars): Compute using
19615 character classes, to handle non-ascii characters (Bug#3190).
19617 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
19619 * progmodes/sh-script.el (sh-maybe-here-document): Avoid inserting
19620 another heredoc if the user adds another < (Bug#3226).
19622 * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
19623 Don't initialize based on window-system (Bug#4124).
19625 * facemenu.el (facemenu-read-color): Use a completion function
19626 that accepts any defined color, such as RGB triplets (Bug#3677).
19628 * files.el (get-free-disk-space): Change fallback default
19629 directory to /. Expand DIR argument before switching to fallback.
19630 Suggested by Kevin Ryde (Bug#2631, Bug#3911).
19632 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
19634 * files.el (load-library): Doc fix.
19636 2009-08-15 Michael Kifer <kifer@cs.stonybrook.edu>
19638 * emulation/viper-cmd.el (viper-insert-isearch-string): New function.
19639 (viper-if-string): Redefine C-s in the minibuffer to insert the last
19640 incremental search string.
19642 * ediff-init.el (ediff-coding-system): Use escape-quoted in case of
19645 * ediff-merg.el (ediff-merge-region-is-non-clash-to-skip)
19646 (ediff-merge-region-is-non-clash)
19647 (ediff-skip-merge-region-if-changed-from-default-p): Use defun.
19648 Also check if the job is really a merge job.
19650 * ediff.el (ediff-current-file): New function.
19652 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
19654 * progmodes/js.el: Edit docstrings throughout to follow Emacs
19656 (js-insert-and-indent): Delete function.
19657 (js-mode-map): Don't bind keys to js-insert-and-indent.
19658 (js-beginning-of-defun): Rename from js--beginning-of-defun.
19659 (js-end-of-defun): Rename from js--end-of-defun.
19660 (js-auto-indent-flag): Delete variable.
19662 2009-08-14 Chong Yidong <cyd@stupidchicken.com>
19664 * progmodes/js.el: Remove proclaim statement.
19665 Defvar which-func-imenu-joiner-function to silence compiler.
19667 * files.el (auto-mode-alist): Use js-mode for .js files.
19669 * progmodes/js2-mode.el: Remove file.
19671 * Makefile.in (ELCFILES): Add js.el, and remove js2-mode.el.
19673 * speedbar.el (speedbar-supported-extension-expressions): Add .js.
19675 * progmodes/hideshow.el (hs-special-modes-alist): Add js-mode entry.
19677 2009-08-14 Daniel Colascione <dan.colascione@gmail.com>
19678 Karl Landstrom <karl.landstrom@brgeight.se>
19680 * progmodes/js.el: New file.
19682 2009-08-14 Mark A. Hershberger <mah@everybody.org>
19684 * timezone.el (timezone-parse-date): Add ability to understand ISO
19685 basic format (minimal separators) dates in addition to the
19686 already-supported extended format dates.
19688 2009-08-14 Eli Zaretskii <eliz@gnu.org>
19690 * international/ucs-normalize.el: Add a `coding' file variable.
19692 * Makefile.in (ELCFILES): Add international/ucs-normalize.elc.
19694 2009-08-14 Sam Steingold <sds@gnu.org>
19696 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
19698 2009-08-13 Chong Yidong <cyd@stupidchicken.com>
19700 * faces.el (help-argument-name): Define it here instead of
19701 help-fns.el, because in daemon mode help-fns.el may be loaded when
19702 faces are still uninitialized (Bug#1078).
19704 * help-fns.el (help-argument-name): Move defface to faces.el.
19706 2009-08-13 Nick Roberts <nickrob@snap.net.nz>
19708 * progmodes/gdb-mi.el (gdb-inferior-io-mode): Use start-process to
19709 create buffer with a pty but no process so that GDB can make the
19710 inferior the controlling process.
19712 2009-08-13 Taichi Kawabata <kawabata.taichi@gmail.com>
19714 * international/ucs-normalize.el: New file.
19716 2009-08-13 Richard Stallman <rms@gnu.org>
19718 * mail/rmail.el (rmail-get-attr-names):
19719 Accept an attribute header that is too short.
19721 * mail/rmail.el (rmail-forget-messages):
19722 Ignore nil elt in rmail-message-vector. Use dotimes.
19724 * progmodes/compile.el (compilation-goto-locus):
19725 Use next-error-move-function.
19727 * simple.el (next-error-move-function): New variable.
19729 2009-08-12 Juri Linkov <juri@jurta.org>
19731 * progmodes/grep.el (lgrep): Ensure that `default-directory' is
19732 always non-nil. (Bug#4052)
19734 * replace.el (read-regexp): Return empty string when
19735 `default-value' is nil.
19736 (keep-lines-read-args): Don't use empty string as the
19737 default value for `read-regexp'. (Bug#2495)
19739 2009-08-12 Juri Linkov <juri@jurta.org>
19741 * international/mule-cmds.el (ucs-insert): Change arguments
19742 from `arg' to `character', `count', `inherit' to be the same
19743 as in `insert-char'. Doc fix. (Bug#4039)
19745 * international/mule-conf.el (utf-16be-with-signature): Doc fix.
19747 2009-08-12 Juri Linkov <juri@jurta.org>
19749 * files-x.el: New file.
19751 * files.el: Move code that deals with adding/deleting
19752 file/directory-local variables to files-x.el.
19754 * Makefile.in (ELCFILES): Add files-x.elc.
19756 2009-08-11 Dmitry Dzhus <dima@sphinx.net.ru>
19758 * progmodes/gdb-mi.el (gdb-line-posns): New helper which helps not
19759 to use `goto-line'.
19760 (gdb-place-breakpoints, gdb-get-location): Rewritten without
19762 (gdb-invalidate-disassembly): Do not refresh upon receiving
19763 'update signal. Instead, update all disassembly buffers only after
19765 (gdb): Send -target-detach when buffer is killed (Bug#3794).
19766 (gdb-starting): Move -data-list-register-names...
19767 (gdb-stopped): ...here so it's sent when first thread stops.
19768 (gdb-registers-handler-custom): Do nothing if register names are
19771 * progmodes/gud.el (gud-stop-subjob): Rewritten without macros
19772 from `gdb-mi.el' to avoid extra tangling.
19774 * progmodes/gdb-mi.el (gdb-gud-context-call): Reverting previous
19775 change which breaks `gud-def' definitions used in `gdb'.
19776 (gdb-update-gud-running): No extra fuss for updating frame number.
19778 2009-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
19780 * international/mule-cmds.el (mule-keymap, mule-menu-keymap)
19781 (describe-language-environment-map, setup-language-environment-map)
19782 (set-coding-system-map): Move initialization into declaration.
19783 (set-language-info-alist): Last arg to define-key-after can be skipped.
19785 * international/quail.el (quail-completion-1): Simplify.
19786 (quail-define-rules): Use slightly more compact code.
19787 (quail-insert-decode-map): Propertize keys, compact columns.
19789 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
19792 2009-08-10 Miles Bader <miles@gnu.org>
19794 * progmodes/js2-mode.el (js2-warning, js2-error, js2-jsdoc-tag)
19795 (js2-jsdoc-type, js2-jsdoc-value, js2-function-param)
19796 (js2-instance-member, js2-private-member, js2-private-function-call)
19797 (js2-jsdoc-html-tag-name, js2-jsdoc-html-tag-delimiter)
19798 (js2-magic-paren, js2-external-variable):
19799 Remove "-face" suffix from face names.
19800 (js2-jsdoc-highlight-helper, js2-highlight-jsdoc)
19801 (js2-highlight-undeclared-vars, js2-peek-token)
19802 (js2-parse-function-params, js2-mode-show-errors)
19803 (js2-mode-show-warnings, js2-make-magic-delimiter)
19804 (js2-mode-highlight-magic-parens): Update to use new face names.
19806 2009-08-09 Michael Albinus <michael.albinus@gmx.de>
19808 * net/tramp.el (tramp-get-ls-command-with-dired): New defun.
19809 (tramp-handle-insert-directory): Handle "--dired". (Bug#4075)
19811 2009-08-09 Chong Yidong <cyd@stupidchicken.com>
19813 * subr.el: Provide hashtable-print-readable.
19815 * progmodes/hideshow.el (hs-special-modes-alist): Don't use
19816 hs-c-like-adjust-block-beginning.
19817 (hs-hide-block-at-point): Stop hiding at the beginning of
19818 hs-block-end-regexp (Bug#700).
19820 2009-08-09 Dmitry Dzhus <dima@sphinx.net.ru>
19822 * progmodes/gdb-mi.el (gdb-gud-context-call): Does not need to be
19824 (gdb-registers-handler-custom): Do not fail when register names
19827 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
19829 * progmodes/gdb-mi.el (gdb-control-all-threads)
19830 (gdb-control-current-thread): Interactive setters for
19831 `gdb-gud-control-all-threads' to use in menu.
19832 (gdb-show-run-p): Show «Go» when process is not active.
19833 (gud-tool-bar-map): Add non-stop/A,T indicator.
19834 Uses gud/thread.xpm and gud/all.xpm.
19836 2009-08-08 Yoni Rabkin <yoni@rabkins.net>
19838 * net/net-utils.el (net-utils-font-lock-keywords): New var.
19839 (nslookup-font-lock-keywords): Make it a variable.
19840 (net-utils-mode): New mode for viewing diagnostic network output.
19841 (net-utils-remove-ctrl-m-filter): Set inhibit-read-only.
19842 (net-utils-run-simple): New function.
19843 (ifconfig, iwconfig, netstat, arp, route): Use it.
19845 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
19847 * progmodes/gdb-mi.el (gdb-read-memory-custom)
19848 (gdb-memory-set-address, def-gdb-set-positive-number)
19849 (def-gdb-memory-format, def-gdb-memory-unit): Update memory buffer
19850 after changing settings.
19851 (gdb-invalidate-disassembly): Update when first shown.
19852 (gdb-edit-locals-value): Fixed.
19853 (gdb-registers-handler-custom): Print registers in right order and
19854 allow changing register values (only for current thread yet).
19855 (gdb-breakpoints-mode-map): Don't assume threads buffer is present.
19856 (gdb-threads-mode-map): Don't assume breakpoints buffer is present.
19857 (gdb-disassembly-handler-custom, gdb-stack-list-frames-custom)
19858 (gdb-locals-handler-custom, gdb-registers-handler-custom):
19859 Thread info in mode name.
19860 (gdb-registers-mode-map): TAB to switch to locals.
19862 2009-08-08 Eli Zaretskii <eliz@gnu.org>
19864 * mail/rmail.el (rmail-add-mbox-headers)
19865 (rmail-set-message-counters-counter): Search for
19866 rmail-unix-mail-delimiter instead of just "From ". (Bug#4076)
19868 2009-08-08 Glenn Morris <rgm@gnu.org>
19870 * Makefile.in (ELCFILES): Update.
19872 2009-08-07 Eli Zaretskii <eliz@gnu.org>
19874 * mail/sendmail.el (mail-yank-original):
19875 Set buffer-file-coding-system from the one used by the message whose
19878 * calc/calc-graph.el (calc-graph-plot): Set calc-graph-last-device
19879 to "windows" when "pgnuplot" is used.
19880 (calc-graph-command, calc-gnuplot-command, calc-graph-init):
19881 Don't call accept-process-output if "pgnuplot" is used.
19882 (calc-graph-init): Don't send -display and -geometry to
19883 "pgnuplot". If "pgnuplot" is used, glean gnuplot version by
19884 running "pgnuplot -V" with shell-command-to-string.
19886 * calc/calc.el (calc-gnuplot-name) [windows-nt]: Use "pgnuplot" as
19889 2009-08-07 Eli Zaretskii <eliz@gnu.org>
19891 * Makefile.in (ELCFILES): org/org-export-latex.elc renamed to
19894 2009-08-07 Dan Nicolaescu <dann@ics.uci.edu>
19896 * vc-dispatcher.el (vc-resynch-window): Update comment.
19898 * term.el (term-handle-ansi-escape): Add comments with the
19899 terminfo capabilities implemented.
19901 2009-08-06 Dmitry Dzhus <dima@sphinx.net.ru>
19903 * progmodes/gdb-mi.el (gdb-var-create-regexp): Removed.
19904 (gdb-var-create-handler): Rewritten using JSON parser.
19905 (gdb-propertize-header): Move earlier.
19906 (gdb-set-header): Remove to avoid duplication.
19907 (gdb-thread-list-handler-custom, gdb-invalidate-disassembly):
19908 Refresh disassembly buffers only after threads list have been
19910 (gdb-threads-header, gdb-registers-header): Per-buffer header line
19913 2009-08-04 Juri Linkov <juri@jurta.org>
19915 * files.el: Commands to add/delete file/directory-local variables.
19916 (read-file-local-variable, read-file-local-variable-value)
19917 (read-file-local-variable-mode, modify-file-local-variable)
19918 (modify-file-local-variable-prop-line)
19919 (modify-dir-local-variable): New functions.
19920 (add-file-local-variable, delete-file-local-variable)
19921 (add-file-local-variable-prop-line, delete-file-local-variable-prop-line)
19922 (add-dir-local-variable, delete-dir-local-variable)
19923 (copy-file-locals-to-dir-locals, copy-dir-locals-to-file-locals)
19924 (copy-dir-locals-to-file-locals-prop-line): New commands.
19926 2009-08-04 Chong Yidong <cyd@stupidchicken.com>
19928 * abbrev.el (insert-abbrev-table-description): Prettify output.
19929 Suggested by Karl Chen.
19931 2009-08-04 Dmitry Dzhus <dima@sphinx.net.ru>
19933 * progmodes/gdb-mi.el (gdb-frame-number): Initialize with nil.
19934 (gdb-overlay-arrow-position): Rename to `gdb-disassembly-position'.
19935 (gdb-overlay-arrow-position, gdb-thread-position)
19936 (gdb-disassembly-position): Declare variables.
19937 (gdb-wait-for-pending): Function now.
19938 (gdb-add-subscriber, gdb-delete-subscriber, gdb-get-subscribers)
19939 (gdb-emit-signal, gdb-buf-publisher): Declare before first use so
19940 compilation goes smoothly.
19941 (gdb, gdb-non-stop, gdb-buffers): New customization groups.
19942 (gdb-non-stop-setting): New customization setting which replaces
19943 `gdb-non-stop' so changing it doesn't break active GDB session.
19944 (gdb-stack-buffer-locations, gdb-stack-buffer-addresses)
19945 (gdb-thread-buffer-verbose-names, gdb-thread-buffer-arguments)
19946 (gdb-thread-buffer-locations, gdb-thread-buffer-addresses)
19947 (gdb-show-threads-by-default): New customization options.
19948 (gdb-buffer-type, gdb-buffer-shows-main-thread-p): New helper
19950 (gdb-get-buffer-create): Send buffers update signal when they are
19952 (gdb-invalidate-locals, gdb-invalidate-registers)
19953 (gdb-invalidate-breakpoints)
19954 (gdb-invalidate-threads, gdb-invalidate-disassembly)
19955 (gdb-invalidate-memory): Accept update signal.
19956 (gdb-current-context-command): Use --frame option.
19957 (gdb-update-gud-running, gdb-running, gdb-setq-thread-number):
19958 Implement `gdb-frame-number' selection logic.
19959 (gdb-show-run-p, gdb-show-stop-p): Helper functions which decide
19960 whether to show GUD toolbar buttons.
19961 (gdb-thread-exited): Unselect current thread when it exits.
19962 (gdb-stopped): Typo fixed (now really runs `gdb-stopped-hooks').
19963 (gdb-mark-line): Routine which sets overlay arrow or inverses
19964 video on fringeless displays.
19965 (gdb-table, gdb-table-add-row, gdb-table-string): Structure used
19966 to build aligned columns of data in GDB buffers and set text
19967 properties line-by-line.
19968 (gdb-invalidate-breakpoints)
19969 (gdb-breakpoints-list-handler-custom)
19970 (gdb-thread-list-handler-custom, gdb-disassembly-handler-custom)
19971 (gdb-stack-list-frames-custom, gdb-locals-handler-custom)
19972 (gdb-registers-handler-custom): Align data columns.
19973 (gdb-locals-handler-custom): Now prints data like in variable
19975 (gdb-jump-to, gdb-file-button, gdb-insert-file-location-button):
19976 Remove confusing buttons.
19977 (gdb-invalidate-threads): Append --frame.
19978 (gdb-threads-mode-map, gdb-breakpoints-mode-map): TAB to switch
19979 between breakpoints/threads buffers.
19980 (gdb-set-window-buffer): Now can ignore dedicated windows.
19981 (gdb-propertize-header): Use `gdb-set-window-buffer'.
19982 (def-gdb-thread-buffer-simple-command): Numerous typos fixed.
19983 (def-gdb-thread-buffer-gud-command): Replaces
19984 `def-gdb-thread-buffer-gdb-command' and uses standard GUD commands
19985 for fine thread control.
19986 (gdb-preempt-existing-or-display-buffer): New function used to
19987 display bound buffers without breaking window layout.
19988 (gdb-frame-location): Replaces `gdb-insert-frame-location'.
19989 (gdb-select-frame): New version of `gdb-frames-select' which now
19990 sets `gdb-frame-number' so commands may use --frame option instead
19991 of inner debugger state.
19992 (gdb-frame-handler): Do not set `gdb-frame-number'.
19993 (gdb-threads-mode-map): Select threads with mouse.
19995 * progmodes/gud.el (gdb-gud-context-call): Declare function to
19996 avoid compilation warning.
19997 (gud-menu-map, gud-minor-mode-map): Use `gdb-show-run-p` and
20000 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create):
20001 Argument `key' renamed to `buffer-type'.
20002 (gdb-current-context-buffer-name): Do not add thread info to
20003 buffer name when no thread is selected.
20004 (gdbmi-record-list, gdb-shell): Try to handle GDB `shell'
20005 command (bug 3794).
20006 (gdb-thread-selected): Handle `=thread-selected' notification.
20007 (gdb-wait-for-pending): New macro to deal with congestion problems.
20008 (gdb-breakpoints-list-handler-custom): Don't fail on pending
20010 (gdb-invalidate-disassembly): Use 'fullname instead of 'file.
20011 This fixes problem similar to one described in bug 3947.
20012 (gud-menu-map): More menu items.
20013 (gdb-init-1): Reset `gdb-thread-number' to nil.
20015 * progmodes/gud.el (gud-stop-subjob, gud-menu-map): Respect GDB
20018 * progmodes/gdb-mi.el (gdb-thread-number): Initialize with nil.
20019 (gdb-current-context-command): Do not append --thread if
20020 `gdb-thread-number' is nil.
20021 (gdb-running-threads-count, gdb-stopped-threads-count):
20023 (gdb-non-stop, gdb-gud-control-all-threads, gdb-switch-reasons)
20024 (gdb-stopped-hooks, gdb-switch-when-another-stopped):
20025 New customization options.
20026 (gdb-gud-context-command, gdb-gud-context-call): New wrappers for
20028 (gdb): `gud-def' definitions changed to use `gdb-gud-context-call'.
20029 (gdb-init-1): Activate non-stop mode if `gdb-non-stop' is enabled.
20030 (gdb-setq-thread-number, gdb-update-gud-running): New functions to
20031 set `gdb-thread-number' and update `gud-running' properly.
20032 (gdb-running): Update threads list when new threads appear.
20033 (gdb-stopped): Support non-stop operation and new thread switching
20035 (gdb-jsonify-buffer, gdb-json-read-buffer, gdb-json-string)
20036 (gdb-json-partial-output): New set of JSON routines.
20037 (def-gdb-auto-update-trigger): New `signal-list' optional
20039 (gdb-thread-list-handler-custom): Update `gud-running',
20040 `gdb-stopped-threads-count' and `gdb-running-threads-count'.
20041 (def-gdb-thread-buffer-gdb-command, gdb-interrupt-thread)
20042 (gdb-continue-thread, gdb-step-thread): New commands for fine
20043 thread execution control.
20044 (gud-menu-map): New menu items to switch non-stop options.
20045 (gdb-reset): Cleanup `gdb-thread-position' overlay arrow marker.
20046 (gdb-send): Mimic RET properly (bug 3794).
20048 * progmodes/gdb-mi.el (gdb-rules-name-maker)
20049 (gdb-rules-buffer-mode, gdb-rules-update-trigger): Accessors for
20051 (def-gdb-auto-update-handler): New nopreserve optional argument.
20052 (gdb-stack-list-frames-custom): Print stack from top to bottom.
20054 * progmodes/gdb-mi.el (gdb-pc-address): Remove unused variable.
20055 (gdb-threads-list, gdb-breakpoints-list): New assoc lists.
20056 (gdb-parent-mode): New mode to derive other GDB modes from.
20057 (gdb-display-disassembly-for-thread)
20058 (gdb-frame-disassembly-for-thread): New commands for threads
20061 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create)
20062 (gdb-init-1, gdb-bind-function-to-buffer, gdb-add-subscriber)
20063 (gdb-get-subscribers, gdb-emit-signal, gdb-buf-publisher)
20064 (gdb-update): We now store all GDB buffers in a list so that they
20065 can be updated by traversing a list instead of calling invalidate
20066 triggers explicitly.
20067 (def-gdb-trigger-and-handler): New macro to define trigger-handler
20068 pair for GDB buffer.
20069 (gdb-stack-buffer-name): Add thread information.
20070 (gdb-add-pending, gdb-pending-p, gdb-delete-pending): Macros to
20071 handle pending triggers.
20072 (gdb-threads-mode-map, def-gdb-thread-buffer-command)
20073 (def-gdb-thread-buffer-simple-command)
20074 (gdb-display-stack-for-thread, gdb-display-locals-for-thread)
20075 (gdb-display-registers-for-thread, gdb-frame-stack-for-thread)
20076 (gdb-frame-locals-for-thread, gdb-frame-registers-for-thread):
20077 New commands which show buffers bound to thread.
20078 (gdb-stack-list-locals-regexp): Remove unused regexp.
20080 * progmodes/gdb-mi.el (gdb-breakpoints-buffer-name)
20081 (gdb-locals-buffer-name, gdb-registers-buffer-name)
20082 (gdb-memory-buffer-name, gdb-stack-buffer-name): Do not switch
20083 to (gud-comint-buffer) in *-buffer-name functions
20084 because (gdb-get-target-string) already does that.
20085 (gdb-locals-handler-custom, gdb-registers-handler-custom)
20086 (gdb-changed-registers-handler): Rewritten without regexps.
20088 * progmodes/gdb-mi.el: Basic thread selection support.
20089 (gdb-thread-number): New variable.
20090 (gdb-current-context-command): New macro which adds --thread
20092 (gdb-threads-mode-map): Select thread with SPC.
20093 (gdb-thread-list-handler-custom): Mark current thread with overlay
20094 arrow. Synchronize GDB thread and Emacs thread.
20095 (gdb-select-thread): New command which selects current thread.
20096 (gdb-invalidate-frames, gdb-invalidate-locals)
20097 (gdb-invalidate-registers): Use --thread option.
20099 2009-08-04 Michael Albinus <michael.albinus@gmx.de>
20101 * net/tramp.el (top): Make check for tramp-gvfs loading more
20103 (tramp-handle-insert-file-contents): `unwind-protect' must be
20104 inside `with-parsed-tramp-file-name'.
20106 * net/tramp-gvfs.el (top): Remove superfluous message when loading
20109 2009-08-03 Nick Roberts <nickrob@snap.net.nz>
20111 * progmodes/gud.el (jdb): Set gud-jdb-classpath-string to current
20112 directory if CLASSPATH is not set.
20114 2009-08-03 Michael Albinus <michael.albinus@gmx.de>
20116 * net/tramp.el (tramp-rfn-eshadow-update-overlay-regexp):
20118 (tramp-rfn-eshadow-update-overlay): Use it. (Bug#4004)
20120 2009-08-02 Kevin Ryde <user42@zip.com.au>
20122 * net/newst-backend.el (newsticker--raw-url-list-defaults):
20123 Update freshmeat link. Delete newsforge.com as it seems gone.
20125 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
20127 * select.el (x-set-selection): Doc fix (Bug#4021).
20129 * w32-fns.el (x-set-selection): Doc fix (Bug#4021).
20131 * help-fns.el (describe-variable): Treat list return values from
20132 dir-locals-find-file properly (Bug#4005).
20134 2009-08-02 Julian Scheid <julians37@googlemail.com> (tiny change)
20136 * net/tramp.el (tramp-debug-message): Print also microseconds.
20138 2009-08-02 Michael Albinus <michael.albinus@gmx.de>
20140 * net/tramp.el (tramp-handle-insert-file-contents): Optimize, when BEG
20142 (tramp-handle-vc-registered): Use `tramp-cache-inhibit-cache'.
20143 (tramp-get-debug-buffer): Change `outline-regexp' according to new
20146 * net/tramp-cache.el (tramp-cache-inhibit-cache): New defvar.
20147 (tramp-get-file-property): Use it.
20149 * autorevert.el (auto-revert-handler):
20150 Allow `auto-revert-tail-mode' for remote files.
20152 2009-08-02 Jason Rumney <jasonr@gnu.org>
20154 * minibuffer.el (read-file-name): Treat confirm options to
20155 MUSTMATCH as nil when invoking x-file-dialog. (Bug#3969)
20157 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
20159 * font-lock.el (font-lock-string-face, font-lock-builtin-face)
20160 (font-lock-variable-name-face, font-lock-constant-face):
20161 Darken the colors for light backgrounds.
20163 2009-08-01 Eli Zaretskii <eliz@gnu.org>
20165 * mail/rmailsum.el (rmail-header-summary): Ignore letter-case of
20166 month names. (Bug#3987)
20168 2009-07-31 Chong Yidong <cyd@stupidchicken.com>
20170 * simple.el (line-move-finish): Pass whole number to
20171 line-move-to-column.
20172 (line-move-visual): Perform hscroll to the recorded position.
20174 2009-07-30 Jay Belanger <jay.p.belanger@gmail.com>
20176 * calc/calc-mode.el (calc-matrix-brackets): Remove "P" from prompt.
20178 2009-07-29 Alan Mackenzie <acm@muc.de>
20180 * progmodes/cc-defs.el (c-version): Bump to 5.31.7.
20182 2009-07-29 Dmitry Dzhus <dima@sphinx.net.ru>
20184 * progmodes/gdb-mi.el (gdb-goto-breakpoint)
20185 (gdb-place-breakpoints): Use full path when setting breakpoints.
20187 2009-07-29 Jay Belanger <jay.p.belanger@gmail.com>
20189 * calc/calc.el (calc-mode-map): Add keybinding for
20190 `calc-transpose-lines'.
20192 2009-07-29 Vincent Belaïche <vincent.belaiche@gmail.com>
20194 * calc/calc-misc.el (calc-transpose-lines): New function.
20196 2009-07-28 Michael Albinus <michael.albinus@gmx.de>
20198 * net/tramp.el (tramp-do-copy-or-rename-file): Add messages.
20199 Simplify check for out-of-band methods.
20200 (tramp-do-copy-or-rename-file-out-of-band): Allow both files to be
20201 remote. Remove messages which are in `tramp-do-copy-or-rename-file'.
20203 2009-07-28 Dan Nicolaescu <dann@ics.uci.edu>
20205 * vc-git.el (vc-git-checkin): Fix typo.
20207 2009-07-28 Steve Yegge <steve.yegge@gmail.com>
20209 * progmodes/js2-mode.el: New file.
20211 2009-07-28 Nick Roberts <nickrob@snap.net.nz>
20213 * progmodes/gud.el (jdb): Add gud-pstar to dump object information.
20214 (gud-menu-map): Adjust tooltip accordingly.
20216 2009-07-27 Dan Nicolaescu <dann@ics.uci.edu>
20218 * vc-bzr.el (vc-bzr-print-log): Pass multiple arguments to bzr log.
20219 (vc-bzr-log-view-mode): Adjust log-view-file-re.
20221 * add-log.el (change-log-mode-map): Add a menu.
20223 2009-07-27 Michael Albinus <michael.albinus@gmx.de>
20225 * net/dbus.el (dbus-call-method-non-blocking): Handle the case the
20226 function returns nil.
20227 (dbus-handle-event): Handle special return value :ignore.
20228 Reported by Jan Moringen <jan.moringen@uni-bielefeld.de>.
20230 2009-07-26 Chong Yidong <cyd@stupidchicken.com>
20232 * view.el (view-mode-enable): Don't define Helper-return-blurb if
20235 2009-07-25 Eli Zaretskii <eliz@gnu.org>
20239 * w32-vars.el (x-select-enable-clipboard): Doc fix.
20241 * term/pc-win.el (x-display-name, x-colors)
20242 (x-select-enable-clipboard, x-select-text): Doc fix.
20244 * term/common-win.el (x-display-name, x-colors): Doc fix.
20246 * term/ns-win.el (x-select-text, x-setup-function-keys, x-colors)
20247 (xw-defined-colors): Doc fix.
20249 * w32-fns.el (x-select-text, x-setup-function-keys)
20250 (x-get-selection, x-set-selection): Doc fix.
20252 * term/x-win.el (x-select-text, x-setup-function-keys)
20253 (x-select-enable-clipboard, xw-defined-colors): Doc fix.
20255 * select.el (x-set-selection): Doc fix.
20257 2009-07-25 Michael Albinus <michael.albinus@gmx.de>
20259 * net/zeroconf.el (zeroconf-init): Check for "GetVersionString"
20260 instead of "IsNSSSupportAvailable". Avahi ought to work also when
20261 "IsNSSSupportAvailable" method is not available.
20262 Reported by Steve Youngs <steve@sxemacs.org>.
20264 2009-07-24 Kenichi Handa <handa@m17n.org>
20266 * international/characters.el: Fix setting of category ?C, ?|, ?K,
20267 and ?H. Fix setting of case for Latin Extended and Greek Extended.
20268 (build-unicode-category-table): Fix range checks.
20270 2009-07-24 Dan Nicolaescu <dann@ics.uci.edu>
20272 * vc-dispatcher.el (vc-resynch-buffers-in-directory): Make sure
20273 the buffer we try to sync is current when calling
20276 * vc-dir.el (vc-dir-resynch-file): Make sure vc-dir-update does
20277 not show up to date files.
20279 2009-07-24 Glenn Morris <rgm@gnu.org>
20281 * emacs-lisp/elint.el (elint-current-buffer, elint-defun):
20282 Add autoload cookies. If necessary, initialize.
20283 (elint-log): Handle non-file buffers.
20284 (elint-initialize): Add optional argument to reinitialize.
20285 (elint-find-builtin-variables): Save excursion.
20287 2009-07-23 Dan Nicolaescu <dann@ics.uci.edu>
20289 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
20292 2009-07-22 Dan Nicolaescu <dann@ics.uci.edu>
20294 * vc.el (vc-print-log-internal): New function, split out from ...
20295 (vc-print-log): ... here.
20296 (vc-dir-move-to-goal-column): Declare.
20298 * vc-git.el (vc-git-add-signoff): New variable.
20299 (vc-git-checkin): Use it.
20300 (vc-git-toggle-signoff): New function.
20301 (vc-git-extra-menu-map): Bind it to menu.
20302 (vc-git--run-command-string): Accept a nil FILE argument.
20303 (vc-git-stash-list): New function.
20304 (vc-git-dir-extra-headers): Use it.
20306 2009-07-23 Glenn Morris <rgm@gnu.org>
20308 * help-fns.el (describe-variable): Describe ignored and risky local
20309 variables in a similar way to that in which we describe safe ones.
20311 * emacs-lisp/bytecomp.el (byte-compile-from-buffer)
20312 (byte-compile-output-file-form, byte-compile-output-docform)
20313 (byte-compile-file-form-defmumble, byte-compile-output-as-comment):
20314 Give some more local variables with common names a "bytecomp-" prefix,
20315 so as not to shadow things during compilation.
20316 * emacs-lisp/cl-macs.el (load-time-value)
20317 * emacs-lisp/cl.el (cl-compiling-file): Update for the name-change
20318 `outbuffer' to `bytecomp-outbuffer'.
20320 * emacs-lisp/elint.el (elint-standard-variables): Remove most members,
20321 since the next two variables cover them automatically now.
20322 (elint-builtin-variables, elint-autoloaded-variables): New.
20323 (elint-unknown-builtin-args): Remove all members, since they can be
20324 parsed automatically now.
20325 (elint-extra-errors): New.
20326 (elint-env-add-env, elint-env-add-macro): Use cadr.
20327 (elint-current-buffer): Use or. Change final message.
20328 (elint-get-top-forms): Use line-end-position.
20329 (elint-init-env): Use cadr. Handle autoload, declare-function,
20331 (elint-add-required-env): Doc fix. Use or. Standardize error.
20332 (regexp-assoc): Remove unused function.
20333 (elint-top-form): Set elint-current-pos, to record the start of the
20334 top-level form, for compilation-mode.
20335 (elint-form): Trap errors in macro expansion. Use dolist.
20336 (elint-unbound-variable): Use elint-builtin-variables and
20337 elint-autoloaded-variables.
20338 (elint-get-args): Use cadr, or.
20339 (elint-check-cond-form): Use dolist, cadr.
20340 (elint-check-condition-case-form): Doc fix. Use cadr.
20341 Use elint-extra-errors.
20342 (elint-log): New function.
20343 (elint-error, elint-warning): Use elint-log for a bytecomp-style format.
20344 Distinguish errors and warnings.
20345 (elint-log-message): Use with-current-buffer. Inhibit read-only.
20346 Use a bytecomp-style format.
20347 (elint-clear-log): Preserve default-directory. Inhibit read-only.
20348 (elint-get-log-buffer): Use compilation mode. Disable undo.
20349 Don't truncate lines.
20350 (elint-initialize): Set builtin and autoloaded variable lists.
20351 Only process elint-unknown-builtin-args if non-nil.
20352 (elint-find-builtin-variables, elint-find-autoloaded-variables):
20354 (elint-find-builtin-args): Doc fix. Handle "BODY...)".
20356 2009-07-22 Kevin Ryde <user42@zip.com.au>
20358 * net/newst-backend.el (newsticker--parse-atom-1.0)
20359 (newsticker--parse-rss-0.91, newsticker--parse-rss-0.92)
20360 (newsticker--parse-rss-1.0):
20361 * progmodes/idlwave.el (idlwave-mode):
20362 * progmodes/idlw-shell.el (idlwave-shell-mode):
20363 * progmodes/vera-mode.el (vera-mode):
20364 * progmodes/verilog-mode.el (verilog-auto-inst, verilog-auto):
20365 * progmodes/vhdl-mode.el (vhdl-mode):
20366 * textmodes/table.el (table-generate-source)
20367 (table--warn-incompatibility):
20368 Hyperlink urls in docstrings with URL `...'.
20370 2009-07-22 Glenn Morris <rgm@gnu.org>
20372 * emacs-lisp/advice.el, emacs-lisp/checkdoc.el:
20373 * emacs-lisp/debug.el, emacs-lisp/elp.el, emacs-lisp/gulp.el:
20374 * emacs-lisp/lisp.el, emacs-lisp/pp.el, emacs-lisp/trace.el:
20375 Remove leading * from defcustom docs.
20377 * simple.el (blink-matching-paren-distance): Bump to 100k. (Bug#3889)
20379 * emacs-lisp/shadow.el (shadows-compare-text-p): Remove leading * from
20381 (list-load-path-shadows): Optionally, just return shadows as a string.
20383 * mail/emacsbug.el (report-emacs-bug): Include any load-path shadows.
20385 2009-07-21 Chong Yidong <cyd@stupidchicken.com>
20387 * mail/rmailedit.el (rmail-edit-mode):
20388 Use auto-save-include-big-deletions.
20390 * mail/rmail.el (rmail-variables):
20391 Use auto-save-include-big-deletions.
20393 * files.el (auto-save-mode): Revert 2009-07-21 and 2009-07-16
20396 2009-07-21 Jay Belanger <jay.p.belanger@gmail.com>
20398 * calc/calc.el (calc-undo-length): New variable.
20399 (calc-quit): Truncate rather than eliminate `calc-undo-list'.
20401 2009-07-21 Richard Stallman <rms@gnu.org>
20403 * files.el (auto-save-mode): Handle buffer-save-size = -2
20406 2009-07-21 Glenn Morris <rgm@gnu.org>
20408 * textmodes/ispell.el (ispell-looking-back): Update declaration.
20410 * calendar/todo-mode.el (calendar-current-date): Update declaration.
20412 * ps-print.el (ps-jitify, ps-lazify): Remove aliases only used to
20413 silence compiler. Instead...
20414 (jit-lock-fontify-now, lazy-lock-fontify-region): ...Declare.
20415 (ps-print-ensure-fontified): Update for above function name changes.
20417 * printing.el (pr-mh-get-msg-num, pr-mh-show)
20418 (pr-mh-start-of-uncleaned-message): Remove aliases only used to
20419 silence compiler. Instead...
20420 (mh-get-msg-num, mh-show, mh-start-of-uncleaned-message): ...Declare.
20421 (mh-show-buffer): Only define for compiler.
20422 (pr-mh-current-message): Update for above function name changes.
20424 * files.el (abort-if-file-too-large): Explicitly pass `filename'
20426 (find-file-noselect, insert-file-1): Update for above change.
20428 * mail/rmail.el (rmail-retry-ignored-headers): Bump :version.
20430 * mail/mailclient.el (mailclient-send-it): Fix message.
20432 * emacs-lisp/edebug.el (cl-debug-env): Only define for compiler.
20433 (edebug-eval): Check cl-debug-env is bound.
20434 (print-level, print-circle): Don't redefine built-in variables.
20436 * emacs-lisp/cust-print.el: Remove leading * from defcustom docs.
20437 (custom-print-vectors): Remove old comments from doc.
20439 * emerge.el (menu-bar-emerge-menu): Remove unused variable.
20440 (emerge-version): Make the variable an obsolete alias for the
20441 emacs-version variable. Make the function obsolete.
20442 (emerge-fast-keymap, emerge-edit-keymap): Make a separate menu for
20443 Emerge options, rather than merging in into the main Options menu.
20444 (emerge-options-menu): Adjust menu text. Use buttons for skip prefers
20445 and auto advance modes. Disable edit/fast items when not relevant.
20447 2009-07-20 Dan Nicolaescu <dann@ics.uci.edu>
20449 * term/vt420.el (terminal-init-vt420): Fix typo.
20451 2009-07-20 Sam Steingold <sds@gnu.org>
20453 * progmodes/ada-mode.el (compile-auto-highlight): Remove the
20454 variable (removed from compile.el on 2004-03-11).
20456 2009-07-20 Chong Yidong <cyd@stupidchicken.com>
20458 * files.el (hack-local-variables-filter): Fix last change.
20460 2009-07-19 Juri Linkov <juri@jurta.org>
20462 * files.el (ignored-local-variables): Add `dir-local-variables-alist'.
20463 (dir-local-variables-alist): New buffer-local variable.
20464 (hack-local-variables-filter): If variable is not dir-local,
20465 i.e. `dir-name' is nil, then remove it from `dir-local-variables-alist',
20466 because file-local overrides dir-local.
20467 (c-postprocess-file-styles) <declare-function>:
20468 Remove obsolete declaration.
20469 (hack-dir-local-variables): Add dir-local variable/value pair to
20470 `dir-local-variables-alist' and remove duplicates. Doc fix.
20472 * help-fns.el (describe-variable): Add information about
20473 file-local and dir-local variables.
20475 2009-07-19 Chong Yidong <cyd@stupidchicken.com>
20477 * files.el (hack-local-variables-filter): Rewrite.
20479 2009-07-19 Glenn Morris <rgm@gnu.org>
20481 * progmodes/verilog-mode.el (verilog-error-regexp-add-xemacs):
20482 Silence compiler by only defining on XEmacs.
20484 * international/mule.el (auto-coding-regexp-alist): Only match
20485 BABYL... at the start of buffer, not of lines. (Bug#3790)
20487 * calendar/cal-menu.el (cal-menu-set-date-title): Handle calls from
20488 non-calendar buffers (Bug#3862). Restore "not on a date" message.
20489 (cal-menu-context-mouse-menu): Doc fix.
20491 * desktop.el (desktop-buffers-not-to-save): Set :version tag.
20493 * simple.el (mail-user-agent): Doc fix. Set :version tag.
20495 2009-07-18 Juri Linkov <juri@jurta.org>
20497 * info.el: Virtual Info keyword finder.
20498 (add-to-list) <Info-virtual-files>: Add "\\`\\*Finder.*\\*\\'".
20499 (Info-finder-file): New variable.
20500 (Info-finder-find-file): New function.
20501 (finder-known-keywords, finder-package-info)
20502 (find-library-name, lm-commentary): Use defvar and
20503 declare-function to silence compiler warnings.
20504 (Info-finder-find-node): New function.
20505 (info-finder): New command.
20507 * subr.el (process-kill-buffer-query-function): New function.
20508 (add-hook)<kill-buffer-query-functions>: Add hook
20509 `process-kill-buffer-query-function'.
20511 2009-07-18 Alan Mackenzie <acm@muc.de>
20513 * progmodes/cc-mode.el (c-before-hack-hook)
20514 (c-postprocess-file-styles): Give invocation of `c-set-style'
20515 DONT-OVERRIDE parameter of t. Already set style variables will
20516 thus not be overridden by style settings given by `c-file-syle'.
20518 * files.el (hack-local-variables-filter): Remove entries with
20519 duplicate keys from `file-local-variables-alist'.
20521 2009-07-18 Eli Zaretskii <eliz@gnu.org>
20523 * simple.el (deactivate-mark, activate-mark, set-mark): Don't call
20524 x-set-selection if display-selections-p returns nil for the
20527 2009-07-18 Chong Yidong <cyd@stupidchicken.com>
20529 * simple.el (region-active-p, use-region-p): Doc fix (Bug#3873).
20531 2009-07-18 Eli Zaretskii <eliz@gnu.org>
20533 * desktop.el (desktop-buffers-not-to-save): Default value is nil.
20534 Accept nil in addition to a regexp.
20535 (desktop-files-not-to-save): Add "(ftp)$" to the default regexp.
20536 Accept nil in addition to a regexp.
20537 (desktop-save-buffer-p): Don't use desktop-buffers-not-to-save for
20538 buffers that have an associated file. Handle nil values of
20539 desktop-buffers-not-to-save and desktop-files-not-to-save.
20542 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
20543 (x-disown-selection-internal): New functions.
20545 2009-07-18 Nick Roberts <nickrob@snap.net.nz>
20547 * progmodes/gdb-mi.el (speedbar-frame): Declare to avoid compiler
20549 (gdb-breakpoints-header): Move forward to avoid compiler warning.
20550 (gdb-make-header-line-mouse-map): Remove duplicate definition.
20552 2009-07-18 David De La Harpe Golden <david@harpegolden.net>
20554 * simple.el (set-mark): Revert last change.
20556 2009-07-17 Tassilo Horn <tassilo@member.fsf.org>
20558 * doc-view.el (doc-view-initiate-display): Add yes-or-no-p if
20559 rendering of pngs is not possible instead of messaging a long
20562 2009-07-17 David De La Harpe Golden <david@harpegolden.net>
20564 * w32-fns.el (x-selection-owner-p): New function.
20566 * mouse.el (mouse-drag-track): Call deactivate-mark earlier.
20567 (mouse-yank-at-click, mouse-yank-primary):
20568 If select-active-regions is non-nil, deactivate the mark before
20571 * simple.el (deactivate-mark, set-mark): Only save selection if we
20574 2009-07-17 Kenichi Handa <handa@m17n.org>
20576 * case-table.el (describe-buffer-case-table): Fix for the case
20577 that KEY is a cons.
20579 2009-07-16 Dan Nicolaescu <dann@ics.uci.edu>
20581 * vc-rcs.el (vc-rcs-find-file-hook):
20582 * vc-sccs.el (vc-sccs-find-file-hook): Fix cut and paste error.
20584 2009-07-16 Michael Albinus <michael.albinus@gmx.de>
20586 * net/tramp.el (tramp-wait-for-output): Handle the case when
20587 commands do not return a newline but a null byte before the shell
20590 2009-07-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
20592 * term/ns-win.el (ns-set-alpha): Don't declare.
20593 (ns-set-background-alpha): Remove function.
20595 2009-07-16 Kevin Ryde <user42@zip.com.au>
20597 * emacs-lisp/copyright.el (copyright-update): Save match-data across
20598 y-or-n-p, for safety.
20600 2009-07-16 Richard Stallman <rms@gnu.org>
20602 * files.el (auto-save-mode): If buffer-saved-size is -2,
20605 * mail/rmail.el (rmail-variables): Set buffer-saved-size to -2.
20606 (rmail-retry-ignored-headers): Add more uninteresting fields.
20608 2009-07-15 Jari Aalto <jari.aalto@cante.net>
20610 * net/rcirc.el (rcirc): Use history variables.
20611 (rcirc-server-name-history, rcirc-nick-name-history)
20612 (rcirc-server-port-history): New variables.
20614 2009-07-15 Kenichi Handa <handa@m17n.org>
20616 * international/mule-cmds.el (set-language-environment-charset):
20617 If coding-system-charset-list returns `iso-2022' or `emacs-mule',
20620 * language/misc-lang.el ("IPA"): Change coding systems to utf-8.
20621 Delete unibyte-display.
20623 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
20625 * simple.el (kill-visual-line): Obey kill-whole-line (Bug#3695).
20627 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
20629 * simple.el (deactivate-mark): Optional argument FORCE.
20630 (set-mark): Use deactivate-mark.
20632 * info.el (Info-search): No need to check transient-mark-mode
20633 before calling deactivate-mark.
20635 * select.el (x-set-selection): Doc fix.
20636 (x-valid-simple-selection-p): Allow buffer values.
20637 (xselect--selection-bounds): Handle buffer values.
20638 Suggested by David De La Harpe Golden.
20640 * mouse.el (mouse-set-region, mouse-drag-track):
20641 Call copy-region-as-kill before setting the mark, to let
20642 select-active-regions work.
20644 2009-07-15 David De La Harpe Golden <david@harpegolden.net>
20646 * simple.el (deactivate-mark): If select-active-regions is
20647 non-nil, copy the selection data into a string.
20648 (activate-mark): If select-active-regions is non-nil, set the
20649 selection to the current buffer.
20650 (set-mark): Update selection if select-active-regions is non-nil.
20652 * select.el (x-valid-simple-selection-p): Allow buffer values.
20654 2009-07-14 Stefan Monnier <monnier@iro.umontreal.ca>
20656 * simple.el (mail-user-agent): Default to the upwardly-UI-compatible
20657 and more featureful message-mode.
20659 2009-07-14 Chong Yidong <cyd@stupidchicken.com>
20661 * select.el (x-set-selection): Doc fix.
20662 (x-valid-simple-selection-p): Disallow selection data consisting
20663 of a list or cons of integers, since that is not used.
20664 (xselect--selection-bounds, xselect--int-to-cons): New functions.
20665 (xselect-convert-to-string, xselect-convert-to-length)
20666 (xselect-convert-to-filename, xselect-convert-to-charpos)
20667 (xselect-convert-to-lineno, xselect-convert-to-colno): Use them.
20669 2009-07-14 Dmitry Dzhus <dima@sphinx.net.ru>
20671 * progmodes/gdb-mi.el (json-partial-output): Fix broken GDB/MI
20672 output in -break-info command (Emacs bug #3794).
20674 2009-07-14 Glenn Morris <rgm@gnu.org>
20676 * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-forms)
20677 (edebug-eval-macro-args, edebug-save-displayed-buffer-points)
20678 (edebug-print-length, edebug-print-level, edebug-print-circle)
20679 (edebug-sit-for-seconds, edebug-view-outside)
20680 (edebug-bounce-point, edebug-set-global-break-condition)
20681 (edebug-Go-nonstop-mode, edebug-trace-mode)
20682 (edebug-Trace-fast-mode, edebug-continue-mode)
20683 (edebug-Continue-fast-mode, edebug-forward-sexp, edebug-help)
20684 (edebug-visit-eval-list): Doc fixes.
20686 * subr.el (def-edebug-spec): Doc fix.
20688 2009-07-14 Kenichi Handa <handa@m17n.org>
20690 * international/characters.el: Fix setting of category ?C.
20692 2009-07-13 Jan Djärv <jan.h.d@swipnet.se>
20694 * term/ns-win.el (x-select-font): defalias x-select-font to
20695 ns-popup-font-panel instead of generate-fontset-menu.
20697 2009-07-12 Eli Zaretskii <eliz@gnu.org>
20699 * desktop.el (desktop-buffers-not-to-save): Remove ".log". (Bug#3833)
20701 2009-07-12 Peter Jolly <peter@jollys.org> (tiny change)
20703 * arc-mode.el (archive-find-type): Allow for a PK00 string before
20704 the PK\003\004 header (Bug#3770).
20706 2009-07-12 Guanpeng Xu <herberteuler@hotmail.com>
20708 * pcomplete.el (pcomplete-comint-setup): Check for
20709 shell-dynamic-complete-filename too.
20711 2009-07-11 Chong Yidong <cyd@stupidchicken.com>
20713 * simple.el (temporary-goal-column): Change the value for
20714 line-move-visual to a cons cell.
20715 (line-move-visual): Record or set the window hscroll, if
20716 necessary (Bug#3494).
20717 (line-move-1): Handle cons value of temporary-goal-column.
20719 2009-07-11 Kenichi Handa <handa@m17n.org>
20721 * international/mule-diag.el (describe-character-set): Don't show
20724 2009-07-10 Sam Steingold <sds@gnu.org>
20726 * progmodes/compile.el (compilation-mode-font-lock-keywords):
20727 Omake sometimes indents the errors it prints, so allow all
20728 regexps to start with spaces.
20730 2009-07-10 Eli Zaretskii <eliz@gnu.org>
20732 * cus-edit.el (customize-changed-options-previous-release):
20733 Bump value to 22.1. (Bug#3804)
20735 2009-07-08 Sam Steingold <sds@gnu.org>
20737 * progmodes/grep.el (rgrep): Allow grep-find-ignored-directories
20738 to be a cons cell (test . ignored-directory) to selectively ignore
20739 some directories depending on the location of the search.
20741 2009-07-08 Michael Albinus <michael.albinus@gmx.de>
20743 * net/tramp.el (tramp-set-file-uid-gid): Handle the case the
20744 remote user is root, on the local host.
20745 (tramp-local-host-p): Either the local user or the remote user
20746 must be root. (Bug#3771)
20748 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
20750 * progmodes/gdb-mi.el (gdb): Remove description of
20751 gdb-use-separate-io-buffer.
20752 (menu): Don't allow toggling of or enable
20753 gdb-use-separate-io-buffer from menubar.
20755 2009-07-08 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
20757 * mail/unrmail.el (unrmail): Make sure the message ends with two
20758 newlines (Bug#3769).
20760 2009-07-08 Glenn Morris <rgm@gnu.org>
20762 * calendar/calendar.el (calendar-current-date): Rework previous change.
20764 2009-07-08 Ed Reingold <reingold@emr.cs.iit.edu>
20766 * calendar/calendar.el (calendar-current-date):
20767 Add an optional argument giving an offset from today.
20769 2009-07-08 Glenn Morris <rgm@gnu.org>
20771 * tutorial.el (tutorial--describe-nonstandard-key):
20772 Adjust the message for when a key has been unbound.
20773 (help-with-tutorial): Hide the arch-tag.
20775 2009-07-08 Kenichi Handa <handa@m17n.org>
20777 * international/fontset.el (setup-default-fontset): For each
20778 script, append (not set) font-specs.
20780 * language/japanese.el (japanese-shift-jis-2004): Fix typo in the
20783 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
20785 * progmodes/gdb-mi.el (gdb-init-1): Move sending
20786 -data-list-register-names to ...
20787 (gdb-starting): ... here because GDB 7.0 requires execution to
20788 have started when using this MI command.
20789 (gdb-set-header): New function to distinguish select and
20790 unselected tabs in gdb buffers.
20791 (gdb-propertize-header): New macro that uses gdb-set-header.
20792 (gdb-breakpoints-header, gdb-locals-header): Use it.
20793 (gdb-disassembly-mode-map): Add keybinding to kill buffer.
20795 2009-07-07 Chong Yidong <cyd@stupidchicken.com>
20797 * Makefile.in (ELCFILES): Remove fadr.elc.
20799 2009-07-07 Dmitry Dzhus <dima@sphinx.net.ru>
20801 * progmodes/gdb-mi.el (gdb-init-1): Disassembly buffer mode name
20802 may contain frame information, so `string-match' should be used.
20803 (gdb-update): Disassembly is invalidated through
20804 `gdb-get-selected-frame'.
20805 (gdb-pad-string): New function to pad string with spaces.
20806 (gdb-invalidate-disassembly): Invalidate only if the buffer
20808 (gdb-disassembly-handler-custom): Column alignment.
20809 (gdb-disassembly-place-breakpoints): Clear old breakpoints before
20811 (gdb-toggle-breakpoint, gdb-delete-breakpoint): Now work from the
20813 (gdb-frame-handler): Match convention to for disassembly buffer
20815 (gdb-stack-list-frames-handler): Rewritten without regexps.
20816 (gdb-breakpoints-list-handler-custom): y/n instead of on/off; do
20817 not highlight breakpoints without line information.
20818 (gdb-input): Add trailing newline to command.
20820 * progmodes/gdb-mi.el (gdb-init-1): Set mode name for disassembly
20822 (gdb-breakpoints-list-handler-custom): Replacement for
20823 `gdb-break-list-handler'. Using real parser instead of regexps
20825 (gdb-place-breakpoints): Replacement for `gdb-break-list-custom'.
20826 Use `gdb-breakpoints-list' instead of parsing breakpoints buffer
20827 to place breakpoints.
20828 (def-gdb-memory-unit): A new macro to define gdb-memory-unit-..
20830 (gdb-disassembly-handler-custom): Show overlay arrow.
20831 (gdb-disassembly-place-breakpoints): Show breakpoints in
20832 disassembly buffer.
20833 (gdb-toggle-breakpoint, gdb-delete-breakpoint)
20834 (gdb-goto-breakpoint): Using `gdb-breakpoint' text properties
20835 instead of parsing breakpoints buffer. Fixed old menu references
20840 * progmodes/gdb-mi.el: Port memory buffer from gdb-ui.el.
20841 (gdb-memory-address): New variable which holds top address of
20842 memory page shown in memory buffer.
20843 (gdb-memory-repeat-count, gdb-memory-format, gdb-memory-unit):
20844 New customization variables.
20846 (gdb-display-memory-buffer, gdb-frame-memory-buffer): Functions to
20847 display the memory buffer.
20848 (gdb-memory-set-address, gdb-memory-set-repeat-count): Set memory
20849 buffer display parameters.
20850 (def-gdb-memory-format, gdb-memory-format-binary)
20851 (gdb-memory-format-octal, gdb-memory-format-unsigned)
20852 (gdb-memory-format-signed, gdb-memory-format-hexadecimal):
20853 Functions for setting memory buffer format.
20854 (gdb-memory-unit-word, gdb-memory-unit-halfword)
20855 (gdb-memory-unit-giant, gdb-memory-unit-byte): Functions to set
20856 unit size used in memory buffer.
20857 (gdb-memory-show-next-page, gdb-memory-show-previous-page):
20858 Switch to next/previous page of memory buffer.
20859 Now using (bindat-get-field) instead of fadr functions.
20861 2009-07-07 Sam Steingold <sds@gnu.org>
20863 * vc-cvs.el (vc-cvs-merge-news): Fix message parsing for
20864 non-top-level files.
20866 2009-07-07 Kenichi Handa <handa@m17n.org>
20868 * international/mule-cmds.el (reset-language-environment):
20869 Put the highset priority to the charset iso-8859-1.
20871 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
20873 * progmodes/hideshow.el (hs-hide-block-at-point): Don't move point
20874 to the end of the line when locating the block (Bug#700).
20876 2009-07-06 Michael Albinus <michael.albinus@gmx.de>
20878 * net/tramp.el (tramp-handle-write-region): Flush file properties
20879 in case of short track.
20881 2009-07-06 Michael McNamara <mac@mail.brushroad.com>
20883 * progmodes/verilog-mode.el (verilog-error-regexp-emacs-alist):
20884 Coded custom representation of verilog error regular expressions
20885 to work with Emacs-22's new format.
20886 (verilog-error-regexp-xemacs-alist): Coded custom representation
20887 of verilog error regular expressions to work with XEmacs format.
20888 (verilog-error-regexp-add-xemacs): Hook routine to install verilog
20889 error recognition into XEmacs.
20890 (verilog-error-regexp-add-emacs): Hook routine to install verilog
20891 error recognition into Emacs-22.
20893 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
20895 * woman.el: Remove stand-alone closing parentheses.
20896 (woman-file-name, woman2-format-paragraphs)
20897 (woman-leave-blank-lines): Code cleanup.
20898 (woman-use-own-frame): Change default to nil.
20899 (woman-italic, woman-bold, woman-unknown, woman-addition):
20900 Change defaults to inherit from default faces.
20901 (woman2-process-escapes): Consume the newline after a stand-alone
20902 filler character (Bug#3651).
20904 2009-07-06 Glenn Morris <rgm@gnu.org>
20906 * ffap.el (ffap-version): Make it an obsolete alias for emacs-version.
20907 (top-level): Move provide to the end.
20908 (ffap): Remove defunct URL from custom group.
20910 * subr.el (eval-after-load): Doc fix.
20912 2009-07-06 Vincent Belaïche <vincent.belaiche@gmail.com>
20914 * calc/calc-embed.el (calc-embedded-make-info): Don't force when
20915 `calc-embedded-word' is called twice.
20917 2009-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
20919 * files.el (find-alternate-file-other-window, find-alternate-file):
20920 Obey confirm-nonexistent-file-or-buffer.
20922 2009-07-05 Michael Albinus <michael.albinus@gmx.de>
20924 * dired-aux.el (dired-show-file-type): Handle remote files.
20926 2009-07-05 Jari Aalto <jari.aalto@cante.net>
20928 * desktop.el (desktop-globals-to-save):
20929 Add file-name-history (Bug#2750).
20931 2009-07-05 Chong Yidong <cyd@stupidchicken.com>
20933 * add-log.el (add-log-current-defun-header-regexp): Doc fix (Bug#2217).
20935 2009-07-04 Johan Bockgård <bojohan@gnu.org>
20937 * eshell/esh-arg.el (eshell-parse-argument-hook): Put `number'
20938 property on entire argument since this is what eshell-lisp-command
20941 2009-07-03 Michael Albinus <michael.albinus@gmx.de>
20943 * net/tramp-gvfs.el (tramp-gvfs-methods)
20944 (tramp-gvfs-zeroconf-domain)
20945 (tramp-bluez-discover-devices-timeout): Add version flag.
20946 (tramp-gvfs-handler-mounted-unmounted)
20947 (tramp-gvfs-connection-mounted-p): Polish handling of
20948 incompatibilities between GVFS 0.2 and 1.0.
20950 2009-07-03 Jan Djärv <jan.h.d@swipnet.se>
20952 * cus-start.el (all): Add make-pointer-invisible.
20954 2009-07-03 Jay Belanger <jay.p.belanger@gmail.com>
20956 * calc/calc-math.el (math-use-emacs-fn): Make sure that the number is
20957 formatted correctly.
20959 2009-07-02 Juri Linkov <juri@jurta.org>
20961 * info.el: Virtual Info files and nodes.
20962 (Info-virtual-files, Info-virtual-nodes): New variables.
20963 (Info-current-node-virtual): New variable.
20964 (Info-virtual-file-p, Info-virtual-fun, Info-virtual-call):
20966 (Info-file-supports-index-cookies): Use Info-virtual-file-p
20967 to check for a virtual file instead of checking a fixed list
20969 (Info-find-file): Use Info-virtual-fun and Info-virtual-call
20970 instead of ad-hoc processing of "dir" and (apropos history toc).
20971 (Info-find-node-2): Use Info-virtual-fun and Info-virtual-call
20972 instead of ad-hoc processing of "dir" and (apropos history toc).
20973 Reread a file when moving from a virtual node.
20974 (add-to-list)<Info-virtual-files>: Add "\\`dir\\'".
20975 (Info-directory-toc-nodes, Info-directory-find-file)
20976 (Info-directory-find-node): New functions.
20977 (add-to-list)<Info-virtual-files>: Add "\\`\\*History\\*\\'".
20978 (Info-history): Move part of code to
20979 `Info-history-find-node'.
20980 (Info-history-toc-nodes, Info-history-find-file)
20981 (Info-history-find-node): New functions.
20982 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*TOC\\*\\'".
20983 (Info-toc): Move part of code to `Info-toc-find-node'.
20984 (Info-toc-find-node): New function.
20985 (Info-toc-insert): Rename from `Info-insert-toc'. Don't insert
20986 the current Info file name to references because now the node
20987 "*TOC*" belongs to the same Info manual.
20988 (Info-toc-build): Rename from `Info-build-toc'.
20989 (Info-toc-nodes): Rename input argument `file' to `filename'.
20990 Use Info-virtual-fun, Info-virtual-call and Info-virtual-file-p
20991 instead of ad-hoc processing of ("dir" apropos history toc).
20992 (Info-index-nodes): Use Info-virtual-file-p
20993 to check for a virtual file instead of checking a fixed list
20995 (Info-index-node): Add check for `Info-current-node-virtual'.
20996 Raise `save-match-data' higher up the tree to contain
20997 `search-forward' too (bug fix).
20998 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*Index.*\\*\\'".
20999 (Info-virtual-index-nodes): New variable.
21000 (Info-virtual-index-find-node, Info-virtual-index): New functions.
21001 (add-to-list)<Info-virtual-files>: Add "\\`\\*Apropos\\*\\'".
21002 (Info-apropos-file, Info-apropos-nodes): New variables.
21003 (Info-apropos-toc-nodes, Info-apropos-find-file)
21004 (Info-apropos-find-node, Info-apropos-matches): New functions.
21005 (info-apropos): Move part of code to `Info-apropos-find-node' and
21006 `Info-apropos-matches'.
21007 (Info-mode-map): Bind "I" to `Info-virtual-index'.
21008 (Info-desktop-buffer-misc-data): Use Info-virtual-file-p to check
21009 for a virtual file instead of checking a fixed list of node names.
21011 * simple.el (async-shell-command): New command.
21013 * bindings.el (esc-map): Bind "&" to `async-shell-command'.
21015 * net/tramp-gvfs.el (tramp-gvfs-connection-mounted-p): Use `elt'
21016 instead of `mount-info'.
21018 2009-07-02 Michael Albinus <michael.albinus@gmx.de>
21020 * net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted)
21021 (tramp-gvfs-connection-mounted-p): Handle changed mount-info interface.
21023 2009-07-02 Kenichi Handa <handa@m17n.org>
21025 * international/mule.el (set-keyboard-coding-system): Force *-unix
21026 coding-system to avoid eol conversion.
21028 2009-07-01 Michael Albinus <michael.albinus@gmx.de>
21030 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
21031 Add handler for `process-file', `shell-command' and
21032 `start-file-process'.
21033 (tramp-gvfs-handle-shell-command)
21034 (tramp-gvfs-handle-start-file-process)
21035 (tramp-gvfs-handle-process-file): New defuns.
21036 (tramp-synce-list-devices): Simplify check for existence of property.
21038 2009-07-01 Jan Djärv <jan.h.d@swipnet.se>
21040 * startup.el (command-line-x-option-alist): Add -mm and --maximized.
21042 2009-07-01 Eduard Wiebe <usenet@pusto.de> (tiny change)
21044 * language/korean.el (set-language-info-alist): Add korean-cp949,
21047 2009-07-01 Kenichi Handa <handa@m17n.org>
21049 * Makefile.in (ELCFILES): Delete encoded-kb.elc.
21051 * international/encoded-kb.el: Deleted.
21053 * international/mule.el (set-keyboard-coding-system): Perform the
21054 necessary setup here instead of calling encoded-kbd-setup-display.
21056 2009-07-01 Glenn Morris <rgm@gnu.org>
21058 * progmodes/f90.el (f90-break-delimiters, f90-no-break-re): Doc fixes.
21060 2009-07-01 Evangelos Evangelou <vangelis@email.unc.edu> (tiny change)
21062 * progmodes/f90.el (f90-no-break-re): Add "(/" and "/)". (Bug#3730)
21064 2009-06-30 Michael Albinus <michael.albinus@gmx.de>
21066 * net/tramp.el (tramp-do-copy-or-rename-file-directly):
21067 Handle also the 'rename case, when setting file modes. (Bug#3712)
21068 (tramp-default-file-modes): Remove execute permissions.
21070 * net/tramp-gvfs.el (tramp-gvfs-methods): Add "synce" method.
21071 (top): Add a default for "synce" in `tramp-default-user-alist'.
21072 Add completion function for "synce" method.
21073 (tramp-hal-service, tramp-hal-path-manager)
21074 (tramp-hal-interface-manager, tramp-hal-interface-device):
21076 (tramp-gvfs-connection-mounted-p): Handle empty user name for synce.
21077 (tramp-synce-list-devices, tramp-synce-parse-device-names):
21080 * net/trampver.el: Update release number.
21082 2009-06-30 Kenichi Handa <handa@m17n.org>
21084 * international/fontset.el (setup-default-fontset): Add CJK fonts
21085 for symbols and the other miscellaneous characters.
21087 * language/korea-util.el (setup-korean-environment-internal):
21088 Make char-width-table suitable for Korean environments.
21089 (exit-korean-environment): Cancel above.
21091 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
21092 ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK"): Add a
21093 setup-function to make char-width-table suitable for respective
21094 environments, and an exit-function to cancel that.
21096 * language/japan-util.el (setup-japanese-environment-internal):
21097 Call use-cjk-char-width-table with arg `ja_JP'.
21099 * international/characters.el (cjk-char-width-table): Delete it.
21100 (cjk-char-width-table-list): New variable.
21101 (use-cjk-char-width-table): New arg local-name.
21102 (use-default-char-width-table): Fix for the case that Emacs is
21103 already using the default char-width-table.
21105 2009-06-29 Michael Albinus <michael.albinus@gmx.de>
21107 * net/tramp.el (tramp-do-copy-or-rename-file-directly): Set file
21108 modes mandatory. (Bug#3712)
21110 2009-06-29 Alan Mackenzie <acm@muc.de>
21112 * progmodes/cc-cmds.el (c-mask-paragraph): Remove a spurious
21113 correction between the visible width of TABs and their number of bytes.
21115 2009-06-29 Chong Yidong <cyd@stupidchicken.com>
21117 * server.el (server-buffer-done): Prevent kill-buffer from
21118 prompting by clearing the buffer modification flag (Bug#3696).
21120 2009-06-28 Michael McNamara <mac@mail.brushroad.com>
21122 * progmodes/verilog-mode.el (verilog-beg-of-statement)
21123 (verilog-endcomment-reason-re): Support unique case and priority case.
21124 (verilog-basic-complete-re): Support localparam lineup.
21125 (verilog-beg-of-statement-1): Fix for robustness, unique case.
21126 (verilog-set-auto-endcomments): Fix for unique case, always_comb
21128 (verilog-leap-to-case-head): Now support *nested* unique &
21129 priority case statements.
21130 (verilog-auto-lineup): Make just declarations the default (as it
21132 (verilog-leap-to-case-head): Support priority/unique case statements.
21133 (verilog-auto-lineup): Rework to give users radio buttons to
21134 select the various styles of automatic lineup.
21135 (verilog-error-regexp-alist): Rework to support the XEmacs style
21136 of error regular expressions from compilers, lint tools &
21137 simulators. Note that GNU Emacs has made it impossible for a mode
21138 to load such things.
21139 (electric-verilog-terminate-line, verilog-indent-declaration)
21140 (verilog-auto-wiure): Rework for radio button selection of
21141 auto-lineup selection of specification of auto lineup.
21142 (verilog-beg-of-statement-1): Redesign to support proper operation
21143 in additional code, based on testing with auto-lineup.
21144 (verilog-calculate-indent, assignments & declarations)
21145 (verilog-backward-token): Enhance to support auto-lineup of
21146 assignments & declarations.
21147 (verilog-in-directive-p, verilog-at-struct-p): New function for
21148 easy test of whether we are.
21149 (verilog-pretty-declarations, verilog-pretty-expr): Massive rework
21150 to support safe execution at almost anyline.
21151 (verilog-calc-1): Properly support indenting deep inside generate
21153 (verilog-init-font): Remove definition & use of verilog-init-font,
21154 as it is redundant with font-lock-defaults.
21155 (verilog-mode): Alter the definition of verilog-font-lock-defaults
21156 to avoid circular calls if syntax-ppss is a function (as is the
21157 case now in 22.x GNU Emacs) as that function would sometimes call
21158 itself, leading to (nearly) infinite recursion.
21159 (verilog-ovm-begin-re, verilog-ovm-end-re)
21160 (verilog-ovm-statement-re, verilog-leap-to-head)
21161 (verilog-backward-token): Add support for OVM macros. Some are
21162 complete statements, and others open and close scopes like begin
21164 (verilog-defun-level-not-generate-re, verilog-defun-level-re)
21165 (verilog-defun-level-generate-only-re): Really fix the defun-list
21167 (verilog-calc-1, verilog-beg-of-statement): Enhance support for
21168 coverpoint, constraint and cross statements.
21169 (verilog-defun-level-list, verilog-generate-defun-level-list)
21170 (verilog-all-defun-level-list): Redo these specifications - it is
21171 too hard to support eval-when compile aggregation of lists also
21172 built at when-compile time.
21173 (verilog-defun-level-list): Place defconsts of variables used in
21174 building regular expressions which are built in eval-when-compile
21175 bodies in the same eval-when-compile body to facilitate compile
21177 (verilog-beg-block-re-ordered): Support indenting
21178 virtual/protected tasks and functions.
21179 (verilog-defun-level-list, verilog-in-generate-region-p)
21180 (verilog-backward-ws&directives, verilog-calc-1): Speed up
21181 indentation of some module items (generate items).
21182 (verilog-forward-sexp, verilog-leap-to-head): Support stepping
21183 across virtual/protected tasks and functions.
21185 2009-06-28 Wilson Snyder <wsnyder@wsnyder.org>
21187 * progmodes/verilog-mode.el (verilog-auto-arg, verilog-auto-arg-sort):
21188 Allow sorting AUTOARG lists. Suggested by Andrea Fedeli.
21189 (verilog-read-sub-decls-line): Fix AUTOWIRE signals getting lost
21190 in concatenations. Reported by Yishay Belkind.
21191 (verilog-auto-ascii-enum): Support one-hot state machines in
21192 AUTOASCIIENUM. Suggested by Lloyd Gomez.
21193 (verilog-auto-inst, verilog-auto-inst-port): Include interface
21194 modport in AUTOINST and add vl-modport for users.
21195 Reported by David Rogoff.
21196 (verilog-auto-inout-module, verilog-auto-inst)
21197 (verilog-decls-get-interfaces, verilog-insert-definition)
21198 (verilog-insert-one-definition, verilog-read-decls)
21199 (verilog-read-sub-decls, verilog-read-sub-decls-sig)
21200 (verilog-sig-modport, verilog-signals-combine-bus)
21201 (verilog-subdecls-get-interfaces): Fix expansion of SystemVerilog
21202 interfaces in AUTOINOUTMODULE, AUTOINOUTCOMP, and AUTOINST.
21203 Suggested by David Rogoff.
21204 (verilog-repair-open-comma): Fix non-insertion of comma when
21205 `DEFINE occurs in V2K argument list. Reported by Lane Brooks.
21206 (verilog-make-width-expression): Simplify [A-1:0] expression
21207 widths to just {A{1'b0}}.
21208 (verilog-mode): Cleanup checkdoc warnings.
21209 (verilog-auto-inout-module, verilog-signals-matching-dir-re):
21210 Add third optional regexp to AUTOINOUTMODULE to allow selecting only
21211 inputs/outputs or data type. Suggested by Vasu Kandadi.
21212 (next-error-last-buffer): Fix byte-compiler warning.
21213 (verilog-auto, verilog-auto-insert-lisp, verilog-auto-inst)
21214 (verilog-delete-auto): Add AUTOINSERTLISP to insert arbitrary lisp
21215 or shell command text during AUTO expansion. Suggested by Tad Truex.
21216 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line)
21217 (verilog-read-sub-decls-sig, verilog-symbol-detick-text):
21218 Fix dotted nets {a.b,c.d} and excaped identifiers being mis-included
21219 in AUTOINOUT. Reported by Matthew Lovell.
21220 (verilog-read-always-signals-recurse): Fix AUTORESET "if (a<=b)"
21221 causing use of <= assignments. Reported by Alex Reed.
21222 (verilog-read-decls): Fix triand, trior, wand, wor to be
21223 recognized by AUTOWIRE. Reported by Spencer Isaacson.
21224 (verilog-extended-complete-re): Support import "DPI-C" functions.
21225 (verilog-read-always-signals-recurse): Fix AUTORESET of "x <=
21226 y[a+1:a+1]" to not include a in reset list. Reported by Dan Dever.
21227 (verilog-insert-date, verilog-insert-year)
21228 (verilog-sk-header-tmpl): Fix verilog-header inserting error on
21229 Windows systems. Reported by Michael Potts.
21230 (verilog-read-module-name): Fix AUTOINST when the child module
21231 declaration's name is a tick define. Reported by Elliot Mednick.
21232 (verilog-read-decls): Fix V2K parameter bit subscripts getting
21233 passed to next parameter's definition. Reported by Bruce T.
21234 (verilog-read-decls): Fix detecting "parameter int" when using
21235 AUTOINSTPARAM. Reported by Bruce T.
21236 (verilog-goto-defun): Fix goto not finding modules unless first
21237 perform a verilog-auto expansion. Suggested by Lawrence Butcher.
21238 (verilog-mode): Expand -f flag arguments on entry to mode so
21239 verilog-goto-defun will work. Reported by Lawrence Butcher.
21240 (verilog-getopt): Expand environment variables in -f file
21241 arguments. Suggested by Lawrence Butcher.
21242 (verilog-set-define): Fix "Symbol's value as variable is void"
21243 when reading enumerations.
21244 (verilog-auto-ascii-enum): Fix duplicate labels in AUTOASCIIENUM.
21245 Suggested by Stephen Peltan.
21246 (verilog-read-defines): Fix reading of enumerations in include
21247 files. Reported by Steve Peltan.
21249 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
21251 * files.el (trash-directory): Fix defcustom type.
21253 2009-06-28 Juri Linkov <juri@jurta.org>
21255 * help-fns.el (describe-function-1): Correctly locate adviced
21256 functions in hyperlink (Bug#2438).
21258 2009-06-28 Chong Yidong <cyd@stupidchicken.com>
21260 * files.el (trash-directory): Change default to nil.
21261 (move-file-to-trash): If trash-directory is nil and
21262 system-move-file-to-trash is unbound, perform freedesktop-style
21265 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
21267 * files.el (move-file-to-trash): Add freedesktop trash
21270 2009-06-28 Glenn Morris <rgm@gnu.org>
21272 * autorevert.el (global-auto-revert-non-file-buffers)
21273 (global-auto-revert-mode): Doc fixes.
21275 2009-06-27 Johan Bockgård <bojohan@gnu.org>
21277 * emacs-lisp/cl-specs.el (defstruct): Fix :conc-name spec.
21279 2009-06-27 Chong Yidong <cyd@stupidchicken.com>
21281 * faces.el (x-handle-named-frame-geometry): Ensure that we have
21282 opened an X connection before calling x-get-resource (Bug#3194).
21284 * play/doctor.el: Remove reference to obsolete website.
21285 (make-doctor-variables): Correct grammar mistake (Bug#2633).
21287 2009-06-26 Dan Nicolaescu <dann@ics.uci.edu>
21289 Remove find-file-not-found-hook VC method. (Bug#2757)
21290 * vc-hooks.el (vc-file-not-found-hook)
21291 (vc-default-find-file-not-found-hook): Remove functions.
21292 (find-file-not-found-functions): Do not add vc-file-not-found-hook.
21293 * vc-rcs.el (vc-rcs-find-file-not-found-hook): Remove function.
21296 * vc-git.el: Do not mention find-file-not-found-hook VC method.
21298 2009-06-25 Agustín Martín <agustin.martin@hispalinux.es>
21300 * textmodes/ispell.el: Add `ispell-looking-back' XEmacs
21301 compatibility function for `looking-back'.
21303 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
21304 Use `ispell-looking-back'.
21306 2009-06-24 Michael Albinus <michael.albinus@gmx.de>
21308 * net/tramp-gvfs.el (tramp-gvfs-handle-make-directory): Use `dir'
21309 rather than `filename'.
21311 2009-06-23 Miles Bader <miles@gnu.org>
21313 * face-remap.el (text-scale-set): New function.
21315 2009-06-23 Glenn Morris <rgm@gnu.org>
21317 * pcmpl-rpm.el (pcomplete/rpm): Doc fix.
21319 * bindings.el (mode-line-modified): Fix case of "Buffer is modified".
21321 * textmodes/ispell.el (ispell-local-dictionary): Doc fix.
21323 * progmodes/gdb-mi.el (gud-remove, gud-break): Update declarations.
21325 * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
21326 Simplify Persian conditionals.
21328 * calc/calc-graph.el (calc-graph-plot): Avoid assignment to free
21329 variable `filename'.
21331 * comint.el (comint-insert-input): Doc fix.
21333 * Makefile.in (ELCFILES): Fix typo in previous change.
21335 2009-06-23 Miles Bader <miles@gnu.org>
21337 * cus-start.el: Add entry for `recenter-redisplay'.
21339 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
21341 * vc-hooks.el (vc-stay-local-p, vc-state, vc-working-revision):
21342 Add an optional argument for the backend, use it instead of
21343 calling vc-backend.
21344 (vc-mode-line): Add an optional argument for the backend.
21345 Pass the backend to vc-state and vc-working-revision. Move code for
21346 special handling for vc-state being a buffer to ...
21348 * vc-rcs.el (vc-rcs-find-file-hook):
21349 * vc-sccs.el (vc-sccs-find-file-hook): ... here. New functions.
21351 * vc-svn.el (vc-svn-state, vc-svn-dir-status, vc-svn-checkout)
21352 (vc-svn-print-log, vc-svn-diff): Pass 'SVN to vc-state,
21353 vc-stay-local-p and vc-mode-line calls.
21355 * vc-cvs.el (vc-cvs-state, vc-cvs-checkout, vc-cvs-print-log)
21356 (vc-cvs-diff, vc-cvs-annotate-command)
21357 (vc-cvs-make-version-backups-p, vc-cvs-stay-local-p)
21358 (vc-cvs-dir-status): Pass 'CVS to vc-state, vc-stay-local-p and
21359 vc-mode-line calls.
21361 * vc.el (vc-deduce-fileset): Use vc-deduce-fileset instead of
21363 (vc-next-action, vc-transfer-file, vc-rename-file): Also pass the
21364 backend when calling vc-mode-line.
21365 (vc-register): Do not create a closure for calling the vc register
21366 function, call it directly.
21368 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
21370 * emacs-lisp/elp.el (elp-output-insert-symname): Add a link face
21371 to make it obvious item can be clicked.
21373 * vc-mtn.el (vc-mtn-after-dir-status, vc-mtn-dir-status): New functions.
21375 2009-06-23 Kenichi Handa <handa@m17n.org>
21377 * language/korea-util.el (korean-key-bindings): Change the binding
21378 of F9 to hangul-to-hanja-conversion. Bind Hangul_Hanja to the
21381 2009-06-22 Michael Albinus <michael.albinus@gmx.de>
21383 Sync with Tramp 2.1.16.
21385 * Makefile.in (ELCFILES): Add net/tramp-gvfs.elc.
21387 * net/tramp.el (top): Require tramp-gvfs. Catch `tramp-loading',
21388 when a loading of a package fails. Completion function for rsync
21389 is `tramp-completion-function-alist-ssh'.
21390 (all): Replace all calls of `split-string' and
21391 `tramp-split-string' by `tramp-compat-split-string'.
21392 (tramp-default-method): Use `tramp-compat-process-running-p'.
21393 (tramp-default-proxies-alist): Allow also Lisp forms.
21394 (tramp-remote-path): Add choice "Private Directories".
21395 (tramp-wrong-passwd-regexp): Remove "Tramp connection closed" option.
21396 (tramp-domain-regexp): Allow also "-", "_" and ".".
21397 (tramp-end-of-output): Remove newlines, and add "$" at the end.
21398 (tramp-file-name-handler-alist): Add handler for `dired-uncache'.
21399 (tramp-debug-message): Insert header line in debug buffer.
21400 (tramp-handle-directory-files-and-attributes-with-stat):
21401 Care about filenames with spaces, or starting with "-".
21402 (tramp-handle-dired-uncache): New defun.
21403 (tramp-handle-insert-directory): Don't flush the directory from
21404 cache, this is handled by `dired-uncache' now.
21405 (tramp-handle-insert-file-contents): Improve error handling.
21406 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
21407 Quote `tramp-end-of-output'.
21408 (tramp-action-password): Improve trace message.
21409 (tramp-check-for-regexp): Both echoes must be present, before removing.
21410 (tramp-open-connection-setup-interactive-shell): Trace coding system.
21411 (tramp-compute-multi-hops): Eval cons cells of
21412 `tramp-default-proxies-alist'.
21413 (tramp-maybe-open-connection): Use the same command pattern for
21414 first hop and further hops.
21415 (tramp-wait-for-output): Remove handling of newlines.
21416 (tramp-get-remote-path): Handle also `tramp-own-remote-path'.
21417 (tramp-split-string): Remove function. It is handled in
21420 * net/tramp-cmds.el (tramp-bug):
21421 Recommend `tramp-cleanup-all-connections' in the bug mail.
21423 * net/tramp-compat.el (tramp-compat-split-string)
21424 (tramp-compat-process-running-p): New defuns.
21426 * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add handler
21427 for `dired-uncache'.
21429 * net/tramp-gvfs.el: New package.
21431 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
21432 Add handler for `dired-uncache'.
21433 (tramp-smb-handle-file-local-copy): Cleanup in case of error.
21435 * net/trampver.el: Update release number. Make version check fit
21438 2009-06-22 Jim Meyering <meyering@redhat.com>
21440 Automatically handle .xz suffix (XZ-compressed files), too.
21441 * jka-cmpr-hook.el (jka-compr-compression-info-list): Add xz.
21442 XZ is the successor to LZMA: <http://tukaani.org/xz/>
21444 2009-06-22 Dmitry Dzhus <dima@sphinx.net.ru>
21445 Nick Roberts <nickrob@snap.net.nz>
21447 * progmodes/gdb-mi.el: Pull further modified changes from Dmitry's
21448 repository (http://sphinx.net.ru/hg/gdb-mi/).
21450 2009-06-22 Glenn Morris <rgm@gnu.org>
21452 * files.el (dir-locals-collect-mode-variables): Allow for any number of
21453 `mode' and `eval' entries. (Bug#3430)
21455 * Makefile.in (ELCFILES): Add fadr.elc.
21457 * calendar/appt.el (appt-make-list): Fix off-by-one error caused by
21458 differing behavior of \n and ^ in strings. (Bug#3385)
21460 * emacs-lisp/cl-indent.el: Remove leading "*" from defcustom docs.
21462 * emacs-lisp/lisp-mode.el (lisp-indent-offset): Fix safe-local-variable
21464 (lisp-indent-function): Make it a defcustom.
21466 2009-06-21 Nick Roberts <nickrob@snap.net.nz>
21468 * progmodes/gdb-ui.el: Replace with ...
21469 * progmodes/gdb-mi.el: ... this file.
21470 * progmodes/gud.el: Modify for gdb-mi.el.
21472 2009-06-21 Dmitry Dzhus <dima@sphinx.net.ru>
21474 * fadr.el: New file.
21476 See ChangeLog.14 for earlier changes.
21478 ;; Local Variables:
21482 Copyright (C) 2009-2011 Free Software Foundation, Inc.
21484 This file is part of GNU Emacs.
21486 GNU Emacs is free software: you can redistribute it and/or modify
21487 it under the terms of the GNU General Public License as published by
21488 the Free Software Foundation, either version 3 of the License, or
21489 (at your option) any later version.
21491 GNU Emacs is distributed in the hope that it will be useful,
21492 but WITHOUT ANY WARRANTY; without even the implied warranty of
21493 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21494 GNU General Public License for more details.
21496 You should have received a copy of the GNU General Public License
21497 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.