1 2011-02-02 Eli Zaretskii <eliz@gnu.org>
3 * dired.el (dired-insert-directory): Don't invoke `ls' when
4 ls-lisp.el is used to emulate it.
6 2011-02-01 Julien Danjou <julien@danjou.info>
8 * color.el (color-gradient): Add a color-gradient function.
10 2011-02-01 Sam Steingold <sds@gnu.org>
12 * simple.el (special-mode-map): Bind "h" to `describe-mode';
13 bind "z" to `kill-this-buffer'.
14 (completion-list-mode-map): Bind "z" to `kill-this-buffer'.
15 * apropos.el (apropos-mode-map): Inherit from `special-mode-map'.
16 (apropos-mode): Inherit from `special-mode'.
17 * arc-mode.el (archive-mode-map): Inherit from `special-mode-map'.
18 * bookmark.el (bookmark-bmenu-mode): Define using
19 `define-derived-mode' inheriting from `special-mode'.
20 * dired.el (dired-mode-map): Inherit from `special-mode-map'.
21 * image-mode.el (image-mode-map): Ditto.
22 * replace.el (occur-mode): Define using
23 `define-derived-mode' inheriting from `special-mode'.
24 * tar-mode.el (tar-mode): Inherit from `special-mode'.
25 * calendar/diary-lib.el (diary-fancy-display-mode):
26 Inherit from `special-mode-map'.
27 * emacs-lisp/ert.el (ert-simple-view-mode, ert-results-mode):
28 Inherit from `special-mode'.
29 * emacs-lisp/package.el (package-menu-mode-map): Copy from
31 (package-menu-mode): Define using `define-derived-mode'
32 inheriting from `special-mode'.
33 * erc/erc-list.el (erc-list-menu-mode): Inherit from `special-mode'.
34 * net/xesam.el (xesam-mode): Inherit from `special-mode'.
35 (xesam-mode-map): Define separately.
36 * play/solitaire.el (solitaire-mode): Inherit from `special-mode'.
37 * progmodes/compile.el (compilation-minor-mode-map)
38 (compilation-mode-map): Inherit from `special-mode-map'.
39 * vc/diff-mode.el (diff-mode-shared-map):
40 Inherit from `special-mode-map'.
41 * vc/log-view.el (log-view-mode-map): Add a comment.
43 2011-02-01 Chong Yidong <cyd@stupidchicken.com>
45 * custom.el (load-theme): Define return value. Drop use of
46 unsafep; call custom-theme-load-confirm for non-known-safe themes.
47 (custom-theme-load-confirm): Scroll in the correct window.
48 (custom-enabled-themes): Add custom-safe-themes to :set-after.
50 * cus-theme.el (custom-theme-checkbox-toggle): Don't activate the
51 checkbox if load-theme fails.
53 2011-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
55 * progmodes/compile.el (compilation-next-error): Check there's
56 a message before using it (bug#7941).
58 2011-02-01 Jay Belanger <jay.p.belanger@gmail.com>
60 * calc/calc-mtx.el (math-lud-pivot-check): New function.
61 (math-do-matrix-lud): Use `math-lud-pivot-check' to check the size
64 2011-01-31 Alan Mackenzie <acm@muc.de>
66 * progmodes/cc-cmds.el (c-forward-over-illiterals):
67 Continue parsing if we encounter a naked # (Bug#7595).
68 (c-beginning-of-statement): Avoid loop in locating the beginning
71 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
73 * files.el (copy-directory): Fix arguments to recursive call.
75 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
77 * files.el (copy-directory): If destination is an existing
78 directory, copy into a subdirectory there.
80 2011-01-31 Andreas Schwab <schwab@linux-m68k.org>
82 * emacs-lisp/shadow.el (load-path-shadows-find): Ignore leim-list
85 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
87 * image-dired.el (image-dired-mouse-display-image): No-op if no
88 file is found (Bug#7817).
90 * mouse.el (mouse-menu-non-singleton): Doc fix (Bug#7801).
92 2011-01-31 Kenichi Handa <handa@m17n.org>
94 * international/quail.el (quail-keyboard-layout-alist):
95 Remove superfluous SPC for "pc105-uk" (bug#7927).
97 2011-01-31 Glenn Morris <rgm@gnu.org>
99 * msb.el (msb-menu-bar-update-buffers): Update for changed
100 argument handling of menu-bar-select-frame. (Bug#7902)
102 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
104 * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Set a limit
105 to the recursion depth (Bug#7722).
107 2011-01-31 Roy Liu <carsomyr@gmail.com> (tiny change)
109 * term/ns-win.el (ns-find-file): Expand ns-input-file with
110 command-line-default-directory (Bug#7872).
112 2011-01-31 Stefan Monnier <monnier@iro.umontreal.ca>
114 * progmodes/compile.el (compilation--flush-directory-cache):
115 New function, extracted from compilation--remove-properties.
116 (compilation--remove-properties, compilation--parse-region): Use it.
117 (compilation--previous-directory): Handle one more case.
118 (compilation-enable-debug-messages): Remove.
119 (compilation-parse-errors, compilation--flush-parse): Just remove the
120 left over debug messages.
122 2011-01-31 Sam Steingold <sds@gnu.org>
124 * progmodes/compile.el (compilation-enable-debug-messages):
125 Add a variable to make the parsing messages introduced in
126 2011-01-28T22:12:05Z!monnier@iro.umontreal.ca optional.
127 (compilation-parse-errors, compilation--flush-parse): Use it.
129 2011-01-31 Deniz Dogan <deniz.a.m.dogan@gmail.com>
131 * net/rcirc.el: New customizable nick completion format. (Bug#6314)
132 (rcirc-nick-completion-format): New defcustom.
133 (rcirc-complete): Use it.
135 2011-01-31 Deniz Dogan <deniz.a.m.dogan@gmail.com>
137 * net/rcirc.el: Clean log filenames (Bug#7933).
138 (rcirc-log-write): Use convert-standard-filename.
139 (rcirc-log-filename-function): Documentation updates.
141 2011-01-30 Jan Djärv <jan.h.d@swipnet.se>
143 * mail/emacsbug.el (report-emacs-bug-insert-to-mailer):
144 Check report-emacs-bug-can-use-osx-open and use that if t.
145 (report-emacs-bug-can-use-osx-open): New function.
146 (report-emacs-bug): Rename can-xdg-email to can-insert-mail.
147 Check report-emacs-bug-can-use-osx-open also for can-insert-mail.
149 2011-01-29 Chong Yidong <cyd@stupidchicken.com>
151 * vc/vc-dispatcher.el (vc-set-async-update): New function for
152 updating Dired or VC-dir buffers after async command completes.
154 * vc/vc-bzr.el (vc-bzr-async-command): Return the process buffer.
155 (vc-bzr-pull, vc-bzr-merge-branch): Use vc-set-async-update.
157 * vc/vc-git.el (vc-git-merge-branch): Add FETCH_HEAD to branch
158 completions if it exists. Use vc-set-async-update.
159 (vc-git-pull): Use vc-set-async-update.
161 * vc/vc-hg.el (vc-hg-pull): Fix default-contents arg to
162 read-shell-command. Use vc-set-async-update.
163 (vc-hg-merge-branch): Use vc-set-async-update.
165 2011-01-29 Daiki Ueno <ueno@unixuser.org>
167 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED):
168 Don't presume KEYEXPIRED and KEYREVOKED to be a fatal error status
171 2011-01-29 Stefan Monnier <monnier@iro.umontreal.ca>
173 * progmodes/compile.el: Avoid an N² behavior in grep.
174 (compilation--previous-directory): New fun.
175 (compilation--previous-directory-cache): New var.
176 (compilation--remove-properties): Flush it.
177 (compilation-directory-properties, compilation-error-properties):
178 Use the new fun to speed up looking for the current directory.
180 2011-01-29 Chong Yidong <cyd@stupidchicken.com>
182 * vc/vc-hg.el (vc-hg-history): New var.
183 (vc-hg-pull): Perform default pull if called via Lisp by vc-pull.
184 (vc-hg-merge-branch): New function.
186 * vc/vc.el (vc-pull): Make vc-update an alias for this, instead of
187 the other way around.
189 * vc/vc-git.el (vc-git-branches, vc-git-pull)
190 (vc-git-merge-branch): New functions.
191 (vc-git-history): New var.
193 2011-01-28 Chong Yidong <cyd@stupidchicken.com>
195 * vc/vc-dispatcher.el (vc-do-async-command): New function.
197 * vc/vc-bzr.el (vc-bzr-async-command): Convert into a wrapper for
200 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch):
203 2011-01-28 Leo <sdl.web@gmail.com>
205 * emacs-lisp/advice.el (ad-make-advised-docstring): Don't apply
206 highlighting to the "this function is advised" message.
208 * help-mode.el (help-mode-finish): Apply highlighting here, to
209 avoid clobbering by substitute-command-keys (Bug#6304).
211 2011-01-28 Chong Yidong <cyd@stupidchicken.com>
213 * woman.el (woman0-roff-buffer): Process roff escape sequences
214 occurring prior to the first request (Bug#7843).
216 2011-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
218 * progmodes/compile.el: Don't use font-lock any more.
219 (compilation-error-regexp-alist-alist): Change handling of makepp
220 so it preserves the warning/error distinction on subsequent files.
221 Simplify various rules.
222 (compilation-directory-properties): Use font-lock-face.
223 Add a compilation-message property.
224 (compilation-internal-error-properties): Use font-lock-face.
225 Don't set the compilation-debug property here.
226 (compilation--put-prop, compilation--remove-properties)
227 (compilation--parse-region, compilation--ensure-parse)
228 (compilation--ensure-parse): New functions.
229 (compilation-parse-errors): New function, largely inspired of
230 compilation-mode-font-lock-keywords. Set compilation-debug here.
231 (compilation--parsed): New var.
232 (compilation--flush-parse): Use compilation--ensure-parse.
233 (compilation-start): Don't call font-lock.
234 (compilation-turn-on-font-lock): Remove.
235 (compilation-setup): Don't set font-lock-extra-managed-props not change
236 other font-lock settings, other than keywords.
237 Don't activate font-lock-mode.
238 Set change-major-mode-hook and before-change-functions.
239 (compilation--unsetup): Remove properties and hooks.
240 (compilation-next-single-property-change): New function.
241 (compilation-next-error): Use it to parse when needed.
242 (compile-goto-error): Parse buffer as needed.
243 (compilation--compat-error-properties): Don't need a dummy `face'
246 2011-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
248 * progmodes/compile.el: Use accessors for clarity and fix omake hack.
249 (compilation-process-setup-function): Fix docstring's false promises.
250 (compilation-error-regexp-alist-alist): Catch omake's continuous
251 recompilation message and avoid reuse of old markers.
252 (compilation-parse-errors-function): Declare obsolete.
253 (compilation-buffer-modtime): Remove.
254 (compilation--make-cdrloc, compilation--loc->col)
255 (compilation--loc->line, compilation--loc->file-struct)
256 (compilation--loc->marker, compilation--loc->visited)
257 (compilation--make-file-struct, compilation--file-struct->file-spec)
258 (compilation--file-struct->formats)
259 (compilation--file-struct->loc-tree): New macros. Use them.
260 (compilation--message): New defstruct. Use them.
261 (compilation-next-error-function): Don't mess with timestamps to try
262 and guess when to reparse.
264 2011-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
266 * textmodes/tex-mode.el: Get rid of compilation-parse-errors-function
267 (tex-old-error-file-name): New function,
268 extracted from tex-compilation-parse-errors.
269 (tex-compilation-parse-errors): Remove.
270 (tex-error-regexp-alist): New var.
271 (tex-shell): Use it to avoid compilation-parse-errors-function.
273 * progmodes/grep.el (grep-regexp-alist): Tighten regexp.
274 (grep-mode-font-lock-keywords): Remove regexp that seems like
275 a left-over from before we used compile.el.
276 (grep-mode-font-lock-keywords): Call syntax-ppss-flush-cache when
277 modifying the buffer within with-silent-modifications.
279 * progmodes/compile.el: Cleanup text-properties namespace by using
280 `compilation-message' instead of `message', `compilation-directory'
281 instead of `directory', and `compilation-debug' instead of `debug'.
282 (compilation-last-buffer, compilation-parsing-end)
283 (compilation-error-list, compilation-old-error-list): Move to the
284 compatibility part of the code.
285 (compilation-error-properties): If `file' is a function, let it return
287 (compilation-mode-font-lock-keywords): Be more conservative with the
288 omake "^ *" pattern prefix, to try and minimize the risk of
289 pathologically slow regexp matching.
290 (compilation-start): Use inhibit-read-only.
291 (compilation--unsetup): New function.
292 (compilation-shell-minor-mode, compilation-minor-mode): Use it.
293 (compilation-filter): Minor tweaks.
294 (compilation-next-error-function): Try and avoid abusing variables.
295 (compilation--flush-file-structure): New fun.
296 (compilation-fake-loc): Use it to improve behavior when file is reused.
297 (debug-ignored-errors): Add "Moved past last ...".
298 (compilation--compat-error-properties)
299 (compilation--compat-parse-errors): Rename by doubling the "-".
301 Port features from the previous prolog.el to the new one.
302 * progmodes/prolog.el (prolog-system): Add GNU and ECLiPSe options.
303 (prolog-program-name, prolog-program-switches, prolog-consult-string)
304 (prolog-compile-string, prolog-prompt-regexp): Get rid of the <foo>-i
305 variable and use a function to compute the value dynamically.
306 (prolog-prompt-regexp): Add regexp for GNU Prolog.
307 (prolog-continued-prompt-regexp): Remove, unused.
308 (prolog-find-value-by-system): Try and use the value of prolog-system
309 in the *prolog* buffer if it helps.
310 (prolog-mode-keybindings-common): Bind C-c C-z unconditionally...
311 (prolog-zip-on): ..and check prolog-system and version here instead.
312 (prolog-inferior-self-insert-command): New command.
313 (prolog-inferior-mode-map): Use it.
314 (prolog-inferior-error-regexp-alist): New var.
315 (prolog-inferior-mode): Use it, with compilation-shell-minor-mode.
316 (prolog-input-filter): Use derived-mode-p.
317 (prolog-inferior-guess-flavor): New function.
318 (prolog-ensure-process): Use it. Use make-comint-in-buffer rather than
319 make-comint to avoid running comint-mode twice.
320 (prolog-inferior-buffer): New fun.
321 (prolog-old-process-region, prolog-old-process-file):
322 Don't call prolog-bsts here...
323 (prolog-build-prolog-command): ...do it here instead.
324 (prolog-old-process-region, prolog-old-process-file):
325 Use compilation-fake-loc and compilation-forget-errors.
326 (prolog-consult-compile-region): Use bolp.
328 2011-01-28 Chong Yidong <cyd@stupidchicken.com>
330 * image-mode.el (image-display-size): Doc fix (Bug#7820).
332 2011-01-27 Sam Steingold <sds@gnu.org>
334 * midnight.el (clean-buffer-list-kill-never-buffer-names):
335 Remove "*server*" which is never created by emacs server.
337 2011-01-27 Deniz Dogan <deniz.a.m.dogan@gmail.com>
339 * vc/vc-bzr.el (vc-bzr-diff): Don't pass --diff-options unless
340 there are some diff switches.
342 2011-01-27 Stefan Monnier <monnier@iro.umontreal.ca>
344 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
345 Copy change made to ruby-font-lock-syntactic-keywords.
347 * htmlfontify.el: Make it obey the font-lock-face text property.
348 Miscellaneous cleanup such as:
349 - Don't hide expressions after a closing paren.
350 - Move initial setq into let.
351 - Hoist common parts out of ifs.
352 (hfy-p-to-face, hfy-p-to-face-lennart): Remove.
353 (hfy-face-at): Use get-text-property instead.
354 (hfy-prop-invisible-p): Use invisible-p if available.
355 (htmlfontify-manual): Use \\[...].
356 (hfy-html-quote-regex): Use [...].
357 (hfy-combined-face-spec): Simplify.
358 (hfy-compile-face-map): Don't presume point-min==1.
359 (hfy-css-name, hfy-buffer, htmlfontify-buffer): Use \' rather than $ to
361 (hfy-text-p): η-reduce.
362 (hfy-tags-for-file): Receive cache-hash directly.
363 (hfy-mark-tag-names): Adjust call.
365 2011-01-27 Glenn Morris <rgm@gnu.org>
367 * msb.el (msb-after-load-hooks): Make it an obsolete alias.
368 (msb-after-load-hook): Remove eval-after-load wackiness.
370 2011-01-25 Sam Steingold <sds@gnu.org>
372 * vc/vc-svn.el (vc-svn-diff): Use `diff-command' instead of the
373 literal "diff" (important for windows-nt).
375 2011-01-25 Glenn Morris <rgm@gnu.org>
377 * emacs-lisp/copyright.el (copyright-at-end-flag)
378 (copyright-names-regexp): Add safety properties.
379 (copyright-year-ranges): New option.
380 (copyright-find-end): New function, split from copyright-update-year.
381 (copyright-update-year): Use copyright-find-end.
382 (copyright-fix-years): Optionally, convert years to ranges.
383 Handle years continued over comment lines.
384 Do not mess with the fill-prefix.
385 Do not call copyright-update.
386 (copyright-update-directory): Optionally, fix years rather than update.
387 Skip directories. Find files with only safe local vars.
389 2011-01-25 Stefan Monnier <monnier@iro.umontreal.ca>
391 * files.el (file-name-non-special): Only change buffer-file-name after
392 insert-file-contents if it's `visit'ing the file (bug#7854).
394 2011-01-25 Chong Yidong <cyd@stupidchicken.com>
396 * dired.el (dired-revert): Doc fix (Bug#7758).
398 * simple.el (line-move-visual): Doc fix (Bug#7594).
400 2011-01-25 Nobuyoshi Nakada <nobu@ruby-lang.org>
402 * progmodes/ruby-mode.el (ruby-here-doc-beg-match): Fix for
403 here-doc which ends with an underscore.
404 (ruby-mode-set-encoding): Skip shebang line always.
405 (ruby-mode-map): Bind C-c C-c to comment-region.
406 (ruby-font-lock-keywords): Highlight literal hash key labels as symbols.
407 (ruby-forward-sexp): Stop after literal hash key labels.
408 (ruby-font-lock-syntactic-keywords): Highlight regexp after open
411 2011-01-25 Keitaro Miyazaki <keitaro.miyazaki@gmail.com> (tiny change)
413 * emacs-lisp/re-builder.el (reb-mode-map): Set case-fold-search in
414 the correct buffer (Bug#7650).
416 2011-01-25 Glenn Morris <rgm@gnu.org>
418 * comint.el (comint-mode): Doc fix. (Bug#7897)
420 * simple.el (do-auto-fill): Give it a doc string.
422 * button.el (make-text-button): Doc fix. (See bug#7881)
424 2011-01-24 Stefan Monnier <monnier@iro.umontreal.ca>
426 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
427 Don't move backward, so as not to fall in an inf-loop (bug#7736).
429 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): (bug#7735)
430 Handle ?" and friends differently (e.g. don't use backrefs).
432 2011-01-24 Jay Belanger <jay.p.belanger@gmail.com>
434 * calc/calc.el (calc-default-power-reference-level)
435 (calc-default-field-reference-level): New variables.
436 * calc/calc-units.el (math-standard-units): Add dB and Np.
437 (math-logunits): New variable.
438 (math-extract-logunits, math-logcombine, calcFunc-luplus)
439 (calcFunc-luminus, calc-luplus, calc-luminus, math-logunit-level)
440 (calcFunc-fieldlevel, calcFunc-powerlevel, calc-level):
442 (math-find-base-units-rec): Add entry for ln(10).
443 * calc/calc-help.el (calc-u-prefix-help): Add logarithmic help.
444 (calc-ul-prefix-help): New function.
445 * calc/calc-ext.el (calc-init-extensions): Autoload new units
446 functions. Add keybindings for new units functions.
448 2011-01-22 Giorgos Keramidas <keramida@ceid.upatras.gr> (tiny change)
450 * net/rcirc.el (rcirc-kill-buffer-hook): Flush logs when killing
451 rcirc buffers. (Bug#4940)
453 2011-01-22 Glenn Morris <rgm@gnu.org>
455 * emacs-lisp/copyright.el (copyright-find-copyright): New function,
456 split out from copyright-update-year.
457 (copyright-update): Don't mess with the GPL version if we don't own the
458 copyright. Update license regexp, and remove no longer needed
460 (copyright-fix-years): Use copyright-find-copyright.
462 2011-01-22 Chong Yidong <cyd@stupidchicken.com>
464 * vc/diff.el (diff-sentinel): Doc fix (Bug#7682).
466 2011-01-22 Jari Aalto <jari.aalto@cante.net>
468 * play/landmark.el: Change `lm-' prefix to `landmark-' (Bug#7672).
469 (lm): Rename to landmark.
470 (lm-test-run): Rename to landmark-test-run.
472 2011-01-22 Chong Yidong <cyd@stupidchicken.com>
474 * emacs-lisp/re-builder.el (reb-mode-map): Fix logic error in
475 "Case sensitive" menu item.
477 2011-01-22 Roland McGrath <roland@frob.com>
479 * comint.el (comint-replace-by-expanded-history-before-point): Fix
480 expansion of !$ and !!:N syntax to pick the indicated word (bug#7883).
482 2011-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
484 * progmodes/js.el (js--regexp-literal): Count backslashes (bug#7882).
486 2011-01-22 Jari Aalto <jari.aalto@cante.net>
488 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
489 Assume foo(bar) is a manpage reference rather than some unquoted
492 2011-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
494 * subr.el (shell-quote-argument): Properly quote \n (bug#7687).
495 Suggested by Flo <sensorflo@gmail.com>.
497 2011-01-22 Glenn Morris <rgm@gnu.org>
499 * progmodes/compile.el (compilation-error-regexp-alist):
500 Fix custom type. (Bug#7812)
502 2011-01-22 Ken Manheimer <ken.manheimer@gmail.com>
504 * allout.el (allout-prefixed-keybindings): Bind (prefixed) '#' to
505 allout-number-siblings, in keeping with what obtained due to
506 (now-defunct) allout-keybindings-list. Ditch repeat binding to
508 (allout-before-change-handler): Better expose spots affected by
511 2011-01-22 Chong Yidong <cyd@stupidchicken.com>
513 * man.el (Man-highlight-references0): Use make-button (Bug#7881).
515 2011-01-22 Phil Hagelberg <phil@evri.com>
517 * pcmpl-unix.el (pcmpl-ssh-config-file): New option.
518 (pcmpl-ssh-known-hosts): Rename from pcmpl-ssh-hosts.
519 (pcmpl-ssh-config-hosts): New function.
520 (pcmpl-ssh-hosts): Use pcmpl-ssh-config-hosts in addition to
521 pcmpl-ssh-known-hosts.
523 2011-01-21 Jay Belanger <jay.p.belanger@gmail.com>
525 * calc/calc-undo.el (calc-undo): Autoload it.
526 * calc/calc-ext.el (calc-init-extensions): Remove keybindings
527 and autoload for `calc-undo'.
528 * calc/calc.el (calc-mode-map): Add keybindings for `calc-undo'.
530 * calc/calc-graph.el:
531 * calc/calc-map.el: Change `arglist' to `math-arglist' throughout.
533 2011-01-21 Štěpán Němec <stepnem@gmail.com> (tiny change)
535 * calc/calc-ext.el (calc-init-extensions): Map all `undo'
536 keybindings to `calc-undo'.
538 2011-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
540 Don't mess with *temp*.
541 * obsolete/spell.el: Move from textmodes/spell.el.
543 * term.el (term-read-input-ring):
544 * startup.el (display-startup-echo-area-message):
545 * progmodes/antlr-mode.el (antlr-directory-dependencies):
546 * comint.el (comint-read-input-ring): Use with-temp-buffer.
547 * international/mule.el (ctext-pre-write-conversion): Don't hardcode
550 2011-01-20 Ken Manheimer <ken.manheimer@gmail.com>
552 * allout.el: (allout-institute-keymap): Use fset instead of
555 (allout-hotspot-key-handler): Check for non-control-modified
556 bindings for hotspot characters if there are no control-modified
559 * allout.el: Summary - migrate to defining allout mode using
560 define-minor-mode instead of defun. Significantly clean-up
561 internal keymap provisions, refactoring and, in the process,
562 removing a lot of accumulated cruft.
564 allout-mode-map is now a keymap by virtue of being a defalias to
565 allout-mode-map-value, which contains the actual keymap structure.
567 (allout-mode): Use define-minor-mode rather than defun.
568 Remove now-unnecessary minor-mode setup activities from the body.
569 Specify :keymap as allout-mode-map so the minor-mode-map-alist
570 entry will be '(allout-mode . allout-mode-map) - see
571 allout-mode-map-value, below. Adjust docstring to track changes.
572 (allout-minor-mode): Remove this defalias, now that we're using
574 (allout-mode-map): Set value to be 'allout-mode-map. The actual
575 keymap is allout-mode-map-value, via defalias.
576 (allout-mode-map-value): The variable holding the actual mode
577 keymap structure, by virtue of defalias from allout-mode-map.
578 (allout-compose-and-institute-keymap): Rename from
579 allout-bind-keys, and including the binding-composition
580 functionality of the former produce-allout-mode-map and
581 allout-setup-mode-map.
582 (allout-institute-keymap): Take over the "setup" part of the former
583 allout-setup-mode-map. Reassign allout-mode-map-value value and
585 (allout-command-prefix) (allout-prefixed-keybindings)
586 (allout-unprefixed-keybindings):
587 Use allout-compose-and-institute-keymap to process the bindings.
588 (allout-unprefixed-keybindings): Remove extraneous '?' question
590 (allout-prefixed-keybindings): Elide binding to (prefixed) \C-h -
591 user can customize if they want to use that binding.
592 Bind allout-copy-topic-as-kill to (prefixed) \M-k.
593 Bind allout-up-current-level to (prefixed) \C-u. (I think i mistakenly
594 elided that, previously, instead of the one for \C-h.)
595 (allout-hotspot-key-handler): Remove attempt to resolve the key
596 through the literal key-string lookup on allout-keybindings-list.
597 That probably hasn't worked for a Long Time, and removal of
598 allout-keybindings-list further simplifies the keybindings
600 (allout-pre-command-business): Use allout-mode-map-value instead
602 (allout-preempt-trailing-ctrl-h): Remove. The user can customize
603 the bindings if they want to use a keybinding having a trailing
604 \C-h. No deprecation needed since this feature was never in a
606 (allout-keybindings-list): Remove. It's not been useful for a
607 while. (See allout-hotspot-key-handler changes, above.)
608 (produce-allout-mode-map): Remove. Consolidate into
609 allout-compose-and-institute-keymap.
610 (allout-mode-map-adjustments): Remove. No longer necessary with
611 removal of allout-preempt-trailing-ctrl-h.
612 (allout-setup-mode-map): Remove. Consolidate into
613 allout-compose-and-institute-keymap and allout-institute-keymap.
615 2011-01-20 Glenn Morris <rgm@gnu.org>
617 * vc/vc-svn.el (vc-svn-after-dir-status): Tweak previous change.
619 * simple.el (read-expression-history): Remove, it's in minibuf.c.
621 2011-01-20 Chong Yidong <cyd@stupidchicken.com>
623 * subr.el (y-or-n-p): Revert 2011-01-07 change, removing ARGS.
625 * files.el (find-alternate-file, basic-save-buffer)
626 (basic-save-buffer-2, revert-buffer, recover-file)
627 (kill-buffer-ask, abort-if-file-too-large)
628 (set-visited-file-name, write-file, backup-buffer)
629 (basic-save-buffer, save-some-buffers):
630 * dired-aux.el (dired-compress-file): Callers changed.
632 2011-01-19 Glenn Morris <rgm@gnu.org>
634 * vc/vc-svn.el (vc-svn-after-dir-status, vc-svn-parse-status):
635 Also check the property status. (Bug#7861)
637 2011-01-18 Michael Albinus <michael.albinus@gmx.de>
639 * net/tramp.el (tramp-debug-message): Extend function exclude
640 list. Use `regexp-opt'.
642 2011-01-18 Stefan Monnier <monnier@iro.umontreal.ca>
644 * textmodes/tex-mode.el (tex-font-lock-verb): Make sure \verb
645 highlighting doesn't spill over subsequent lines.
647 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't re-evaluate the
648 keymap expression. Improve docstring.
650 * electric.el (electric-indent-post-self-insert-function):
651 Don't auto-indent for indent-to-left-margin, it's too often
654 2011-01-16 Tassilo Horn <tassilo@member.fsf.org>
656 * strokes.el (strokes-read-stroke): Re-fill strokes buffer with
657 spaces if the frame was resized, so that the full visible buffer
658 serves as canvas for strokes.
660 2011-01-16 Glenn Morris <rgm@gnu.org>
662 * info-xref.el (info-xref-docstrings): Replace cl function.
663 Also skip directories.
665 2011-01-16 Kevin Ryde <user42@zip.com.au>
667 * info-xref.el: Version 3.
668 (info-xref-check, info-xref-check-all): Move commentary details
669 into docstrings for better visibility.
670 Use compilation-mode for the results buffer.
671 (info-xref-output, info-xref-output-error, info-xref-with-output)
672 (info-xref-filename, info-xref-in-progress):
673 New internals for this.
674 (info-xref-check-list, info-xref-check-buffer)
675 (info-xref-check-all-custom): Use those.
676 (info-xref-output-buffer): Rename from info-xref-results-buffer.
677 (info-xref-output-heading): Rename from info-xref-filename-heading.
678 (info-xref-good, info-xref-bad, info-xref-xfile-alist)
679 (info-xref-filename-heading): Move to output managing section.
680 (info-xref-docstrings): New command checking "Info node `(foo)Bar'"
681 (info-xref-lock-file-p, info-xref-with-file): New helpers for it.
682 (info-xref-subfile-p): Move to generic section with those two.
683 (info-xref-check-node): New function split from
684 info-xref-check-buffer, shared by info-xref-docstrings.
685 (info-xref-goto-node-p): Move to a checking section with that func.
686 (info-xref-unavail): New counter.
687 (info-xref-check-node): Use it.
688 (info-xref-with-output): Show count of unavailables at end of output.
689 (info-xref-all-info-files): Exclude ".*" dotfiles. Ignore broken
690 symlinks. Exclude .texi files. Exclude Emacs backup files.
691 (info-xref-check-all-custom): Fix quietening viper-mode and
692 gnus-registry-install -- use setq not let so as not to unbind
695 2011-01-16 Juri Linkov <juri@jurta.org>
697 * isearch.el (isearch-abort): Don't quit if search has
698 an incomplete regexp (isearch-error is non-nil). (Bug#7534)
700 2011-01-15 Mark Diekhans <markd@soe.ucsc.edu>
702 * files.el (backup-buffer): Make last-resort backup file in
705 * subr.el (locate-user-emacs-file): If .emacs.d does not exist,
706 make it with permission 700.
708 2011-01-15 Kenichi Handa <handa@m17n.org>
710 * mail/rmailmm.el (rmail-mime-insert-header):
711 Set rmail-mime-coding-system to a cons whose car is the last coding
712 system used to decode the header.
713 (rmail-mime-find-header-encoding): New function.
714 (rmail-mime-insert-decoded-text):
715 Override rmail-mime-coding-system if it is a cons.
716 (rmail-show-mime): If only a header part was decoded, find the
717 coding system while ignoring mm-charset-override-alist.
719 2011-01-15 Chong Yidong <cyd@stupidchicken.com>
721 * subr.el (event-start, event-end): Doc fix (Bug#7826).
723 2011-01-15 Kenichi Handa <handa@m17n.org>
725 * mail/rmailmm.el (rmail-mime-next-item)
726 (rmail-mime-previous-item): Delete them.
727 (rmail-mime-shown-mode): Recursively call for children.
728 (rmail-mime-hidden-mode): Delete the 2nd arg TOP.
730 (rmail-mime-raw-mode): Recursively call for children.
731 (rmail-mode-map): Change mapping of tab and backtab to
732 forward-button and backward-button respectively.
733 (rmail-mime-insert-tagline): Always insert "Hide" or "Show"
735 (rmail-mime-update-tagline): New function.
736 (rmail-mime-insert-text): Call rmail-mime-update-tagline if the
737 body display is changed.
738 (rmail-mime-toggle-button): Rename from rmail-mime-image.
739 (rmail-mime-image): Delete this button type.
740 (rmail-mime-toggle): New button type.
741 (rmail-mime-insert-bulk): Call rmail-mime-update-tagline if the
742 body display is changed. Change the save button label to "Save".
743 Don't process show/hide button here.
744 (rmail-mime-insert-multipart): Call rmail-mime-update-tagline if
745 the body display is changed. Unconditionally call
746 rmail-mime-insert for children.
747 (rmail-mime-handle): Update `display' vector of the just inserted
749 (rmail-mime-process): If mail-header-parse-content-type returns
750 nil, use "text/plain" as the fallback type.
751 (rmail-mime-insert): For raw-mode, recursively call
752 rmail-mim-insert for children.
753 (rmail-mime): Handle the case that the current buffer is not rmail
754 buffer (e.g. in summary buffer).
756 2011-01-15 Kenichi Handa <handa@m17n.org>
758 * mail/rmailmm.el (rmail-mime-next-item)
759 (rmail-mime-previous-item): Skip the body of a non-multipart
760 entity if a tagline is shown.
762 2011-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
764 * tmm.el (tmm-get-keymap): Skip bindings without labels (bug#7721).
765 (tmm-prompt): Simplify.
766 (tmm-add-prompt): Remove unused var `win'.
768 * whitespace.el (global-whitespace-newline-mode): Fix call (bug#7810)
769 to minor mode which used nil accidentally to mean "turn off".
771 2011-01-15 Michael Albinus <michael.albinus@gmx.de>
773 * net/tramp-sh.el (tramp-find-inline-compress)
774 (tramp-get-inline-coding): Quote command after pipe symbol for
775 local calls under W32. (Bug#6784)
777 2011-01-15 Michael Albinus <michael.albinus@gmx.de>
779 * net/tramp.el (tramp-default-method): Initialize with pscp/plink
780 only when running under W32.
782 2011-01-15 Eli Zaretskii <eliz@gnu.org>
784 * progmodes/grep.el (grep-compute-defaults): Quote the program
785 file name after the pipe symbol in Grep templates. (Bug#6784)
786 * jka-compr.el (jka-compr-partial-uncompress): Likewise.
788 2011-01-15 Lennart Borgman <lennart.borgman@gmail.com>
790 * buff-menu.el (Buffer-menu-buffer-list): New var.
791 (Buffer-menu-revert-function, list-buffers-noselect): Use it, so a
792 restricted buffer list is not lost on revert (Bug#7749).
794 2011-01-15 Eric Hanchrow <eric.hanchrow@gmail.com>
796 * net/ldap.el (ldap-search-internal): Discard stderr output.
798 2011-01-15 Eli Zaretskii <eliz@gnu.org>
800 * files.el (directory-abbrev-alist): Doc fix. (Bug#7777)
802 2011-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
804 * vc-bzr.el (vc-bzr-annotate-time): Tweak previous change.
806 2011-01-15 Kenichi Handa <handa@m17n.org>
808 * mail/rmailmm.el (rmail-mime-insert-bulk): Display an unknown
809 part as a plain text.
810 (rmail-mime-process-multipart): Set the default content-type to
811 nil for unknown multipart subtypes (bug#7651).
813 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
815 * hexl.el (hexl-mode-old-*): Remove.
816 (hexl-mode--old-var-vals): New var to replace them.
817 (hexl-mode--minor-mode-p, hexl-mode--setq-local): New funs.
818 (hexl-mode, hexl-follow-line, hexl-activate-ruler):
819 Use them to set local vars (bug#7846).
820 (hexl-mode-exit): Use hexl-mode--old-var-vals to restore state.
821 (hexl-backward-short, hexl-backward-word, hexl-scroll-down)
822 (hexl-scroll-up, hexl-end-of-1k-page, hexl-end-of-512b-page): Simplify.
824 * vc/smerge-mode.el: Resolve comment conflicts more aggressively.
825 (smerge-resolve--normalize-re): New var.
826 (smerge-resolve--extract-comment, smerge-resolve--normalize): New funs.
827 (smerge-resolve): Use them.
828 * newcomment.el (comment-only-p): New function.
829 (comment-or-uncomment-region): Use it.
831 2011-01-14 Brent Goodrick <bgoodr@gmail.com> (tiny change)
833 * abbrev.el (prepare-abbrev-list-buffer): If listing local abbrev
834 table, get the value before switching to the output buffer. (Bug#7733)
836 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
838 * progmodes/python.el (python-mode): Don't impose font-lock (bug#3628).
840 2011-01-14 Kim F. Storm <storm@cua.dk>
842 * emulation/cua-base.el (cua--init-keymaps):
843 Remap exchange-point-and-mark in cua-global-keymap.
845 2011-01-14 Tassilo Horn <tassilo@member.fsf.org>
847 * progmodes/sh-script.el (sh-other-keywords): Add ZSH's foreach
850 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
852 * emacs-lisp/easymenu.el: Add :enable (bug#7754), and obey :label.
854 (easy-menu-create-menu, easy-menu-convert-item-1):
855 Use :label rather than nil for labels. Use `case'.
856 Add :enable as alias for :active.
857 (easy-menu-binding): Obey :label.
859 2011-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
861 Use run-mode-hooks for major mode hooks (bug#513).
862 * textmodes/reftex-toc.el (reftex-toc-mode-map):
863 Rename from reftex-toc-map.
864 (reftex-toc-mode): Use define-derived-mode.
865 * textmodes/reftex-sel.el (reftex-select-shared-map): New map.
866 (reftex-select-label-mode-map, reftex-select-bib-mode-map):
867 Rename from reftex-select-(label|bib)-map. Move init into declaration.
868 (reftex-select-label-mode, reftex-select-bib-mode):
869 Use define-derived-mode.
870 * textmodes/reftex-index.el (reftex-index-phrases-mode-map)
871 (reftex-index-mode-map): Rename from reftex-index(-phrases)-map.
872 Move init into delcaration.
873 (reftex-index-mode, reftex-index-phrases-mode):
874 Use define-derived-mode.
875 * speedbar.el (speedbar-mode-syntax-table): Renaqme from
876 speedbar-syntax-table. Move init into declaration.
877 (speedbar-mode-map): Rename from speedbar-key-map.
878 Move init into declaration.
879 (speedbar-file-key-map): Move init into declaration.
880 (speedbar-mode): Use define-derived-mode.
881 * recentf.el (recentf-mode): Don't run hook (or message) redundantly.
882 * net/rcirc.el (rcirc-mode): Use run-mode-hooks.
883 * emacs-lisp/chart.el (chart-mode-map): Rename from chart-map.
884 (chart-face-list): Move initialization into declaration.
885 (chart-mode): Use define-derived-mode.
886 * calculator.el (calculator-mode-map): Move init into declaration.
887 (calculator-mode): Use define-derived-mode.
889 * mail/mail-utils.el (mail-strip-quoted-names): Make the regexp code
890 work for nested comments.
892 * progmodes/prolog.el: Use syntax-propertize. Further code cleanup.
893 (prolog-use-prolog-tokenizer-flag): Change default when
894 syntax-propertize can be used.
895 (prolog-syntax-propertize-function): New var.
896 (prolog-mode-variables): Move make-local-variable into `set'.
897 Don't make comment-column local since we don't set it.
898 Set comment-add (as it was in previous prolog.el). Use dolist.
899 Set syntax-propertize-function.
900 (prolog-mode, prolog-inferior-mode):
901 Call prolog(-inferior)-menu directly, not through the mode-hook.
902 (prolog-buffer-module, prolog-indent-level)
903 (prolog-paren-is-the-first-on-line-p, prolog-paren-balance)
904 (prolog-comment-limits, prolog-goto-comment-column):
905 Use line-(end|beginning)-position.
906 (prolog-build-prolog-command): Tighten up regexp.
907 (prolog-consult-compile): Move make-local-variable into `set'.
908 (prolog-consult-compile-filter, prolog-goto-next-paren)
909 (prolog-help-on-predicate, prolog-clause-info)
910 (prolog-mark-predicate): Don't let+setq.
911 (prolog-indent-line): Use indent-line-to.
912 Only call prolog-goto-comment-column if necessary.
913 (prolog-indent-level): Use bobp.
914 (prolog-first-pos-on-line): Remove, not used any more.
915 (prolog-in-string-or-comment): Use syntax-ppss if available.
916 (prolog-help-on-predicate): Use read-string.
917 (prolog-goto-predicate-info): Simplify.
918 (prolog-read-predicate): Use `default' rather than `initial'.
919 (prolog-temporary-file): Use make-temp-file to close a security hole.
920 (prolog-toggle-sicstus-sd): New command.
921 (prolog-electric-underscore, prolog-variables-to-anonymous):
922 Use dynamic-scoping as it was meant.
923 (prolog-menu): Move menu definitions to top-level.
924 Use a toggle-button for Sicstus's source debugger.
925 Change "Code" to the more usual "Prolog", and hence change "Prolog"
927 (prolog-inferior-menu): Reuse prolog-menu's help menu.
928 Move other menu definition to top-level.
930 2011-01-13 Tassilo Horn <tassilo@member.fsf.org>
932 * doc-view.el (doc-view-open-text): Use meaningful text buffer
933 name. Keep original document's directory as default-directory
935 (doc-view-initiate-display): Fall back to normal mode when
936 doc-view-mode cannot be enabled, also when extracting the document
937 text into a separate buffer (bug#6446).
939 * simple.el (shell-command): Don't error out if shell command
940 buffer contains text with non-nil read-only property when erasing
943 2011-01-13 Kim F. Storm <storm@cua.dk>
945 * ido.el (ido-may-cache-directory): Move "too-big" check later.
946 (ido-next-match, ido-prev-match): Fix stray reordering of matching
947 items when cycling through the matches.
949 2011-01-13 Tassilo Horn <tassilo@member.fsf.org>
951 * dired-x.el (dired-omit-verbose): New defcustom that allows
952 disabling the omit messages.
953 (dired-omit-expunge): Use it.
955 2011-01-13 Christian Ohler <ohler@gnu.org>
957 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: New files.
959 2011-01-13 Chong Yidong <cyd@stupidchicken.com>
961 * font-lock.el (font-lock-verbose): Default to nil.
963 2011-01-13 Chong Yidong <cyd@stupidchicken.com>
965 * simple.el (sendmail-user-agent-compose): Move to sendmail.el.
966 (compose-mail): New arg RETURN-ACTION.
967 (compose-mail-other-window, compose-mail-other-frame): Likewise.
969 * mail/sendmail.el (mail-return-action): New var.
970 (mail-mode): Make it buffer-local.
971 (mail-bury): Obey it. Move special Rmail window handling to
973 (mail, mail-setup): New arg RETURN-ACTION.
974 (sendmail-user-agent-compose): Move from simple.el.
976 * mail/rmail.el (rmail-mail-return): New function.
977 (rmail-start-mail): Pass it to compose-mail.
979 2011-01-12 Chong Yidong <cyd@stupidchicken.com>
981 * menu-bar.el (menu-bar-custom-menu): Tweak Mule and Customize
982 menus. Add menu item for customize-themes.
984 * cus-theme.el (customize-themes):
985 * emacs-lisp/package.el (package--list-packages):
986 Use switch-to-buffer.
988 2011-01-11 Johan Bockgård <bojohan@gnu.org>
990 * emacs-lisp/unsafep.el (unsafep): Handle backquoted forms.
992 2011-01-11 Stefan Monnier <monnier@iro.umontreal.ca>
994 * progmodes/prolog.el: Fix up coding convention and such.
995 (prolog-indent-width): Use the same default as in
996 previous prolog.el rather than tab-width which depends on which buffer
997 is current when the file is loaded.
998 (prolog-electric-newline-flag): Only enable if electric-indent-mode
1000 (prolog-emacs): Remove. Use (featurep 'xemacs) instead.
1001 (prolog-known-systems): Remove.
1002 (prolog-mode-syntax-table, prolog-inferior-mode-map):
1003 Move initialization into declaration.
1004 (prolog-mode-map): Move initialization into declaration.
1005 Remove system-specific mode-map vars, since they referred to the same
1007 (prolog-mode-variables): Obey the user's preference w.r.t
1008 adaptive-fill-mode. Prefer symbol-value to `eval'.
1009 (prolog-mode-keybindings-edit): Add compatibility bindings.
1010 (prolog-mode): Use define-derived-mode. Don't handle mercury here.
1011 (mercury-mode-map): New var.
1012 (mercury-mode, prolog-inferior-mode): Use define-derived-mode.
1013 (prolog-ensure-process, prolog-process-insert-string)
1014 (prolog-consult-compile): Use with-current-buffer.
1015 (prolog-guess-fill-prefix): Simplify data flow.
1016 (prolog-replace-in-string): New function to use instead of
1018 (prolog-enable-sicstus-sd): Don't abuse `eval'.
1019 (prolog-uncomment-region): Use `uncomment-region' when available.
1020 (prolog-electric-colon, prolog-electric-dash): Use `eolp'.
1021 (prolog-int-to-char, prolog-char-to-int): New functions to use instead
1022 of int-to-char and char-to-int.
1023 (prolog-mode-hook, prolog-inferior-mode-hook): Don't force font-lock.
1025 2011-01-11 Stefan Bruda <stefan@bruda.ca>
1027 * progmodes/prolog.el: Replace by a whole new file.
1029 2011-01-11 Stefan Monnier <monnier@iro.umontreal.ca>
1031 * subr.el (eval-after-load): Fix timing for features (bug#7769).
1032 (declare-function, undefined, insert-for-yank)
1033 (replace-regexp-in-string): Follow checkdoc's recommendations.
1035 2011-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
1037 * calendar/diary-lib.el (diary-mode): Refresh *Calendar* after
1038 refreshing the diary buffer.
1040 2011-01-10 Ken Manheimer <ken.manheimer@gmail.com>
1042 * allout.el: Add 2011 to the file copyright.
1043 (allout-encrypt-string): Prevent encryption from adding an extra
1044 newline at the end of the topic body.
1045 (allout-version): Increment to 2.3.
1047 2011-01-10 Michael Albinus <michael.albinus@gmx.de>
1049 * net/dbus.el (dbus-unregister-service): Complete doc.
1050 Fix call of dbus-error signal.
1051 (dbus-register-property): Use `dont-register' keyword.
1053 2011-01-10 Jan Moringen <jan.moringen@uni-bielefeld.de>
1055 * net/dbus.el (dbus-unregister-service): Translate returned
1056 integer into a symbol.
1057 (dbus-register-property): Use `dbus-register-service' to do the
1060 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
1062 * progmodes/idlw-help.el (idlwave-help-link): Inherit from link face.
1063 Suggested by Joakim Verona.
1065 * comint.el (comint-highlight-prompt): Inherit minibuffer-prompt.
1067 * wid-edit.el (visibility): Replace :on-image and :off-image
1068 widget properties with :on-glyph and :off-glyph, for consistency
1069 with the `visibility' widget.
1070 (widget-toggle-value-create, widget-visibility-value-create):
1071 Merge into a single function `widget-toggle-value-create'.
1073 * cus-edit.el (custom-variable-value-create, custom-visibility)
1074 (custom-face-edit-value-create, custom-face-value-create):
1075 Replace :on-image and :off-image widget properties with :on-glyph and
1076 :off-glyph, for consistency with the `visibility' widget.
1078 2011-01-09 Andreas Schwab <schwab@linux-m68k.org>
1080 * net/ldap.el (ldap-search-internal): Don't use eval.
1082 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
1084 * subr.el (read-char-choice): Use read-key.
1086 * custom.el (custom-safe-themes): Rename from
1087 custom-safe-theme-files. Add :risky tag.
1088 (load-theme, custom-theme-load-confirm): Save sha1 hashes to
1089 custom-safe-themes, not filenames. Suggested by Stefan Monnier.
1091 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
1093 * tool-bar.el (tool-bar-setup): Remove Help button. Remove label
1094 from Search and add a label to Undo.
1096 * vc/vc-dir.el (vc-dir-tool-bar-map): Rearrange, removing
1097 inappropriate buttons and adding :vert-only tags.
1099 * progmodes/compile.el (compilation-mode-tool-bar-map): Adjust to
1100 removal of Help tool-bar button. Remove Undo button for space.
1102 * info.el (info-tool-bar-map): Add :vert-only tags.
1104 2011-01-08 Tassilo Horn <tassilo@member.fsf.org>
1106 * doc-view.el (doc-view-mode-p): Check for png or imagemagick
1107 image backend support. Either of them is fine.
1109 2011-01-08 Chong Yidong <cyd@stupidchicken.com>
1111 * subr.el (y-or-n-p): Doc fix.
1113 * custom.el (custom-safe-theme-files): New defcustom.
1114 (custom-theme-load-confirm): New function.
1115 (load-theme): Load theme using `load', confirming with
1116 custom-theme-load-confirm if necessary.
1118 * subr.el (read-char-choice): New function, factored out from
1119 dired-query and hack-local-variables-confirm.
1121 * dired-aux.el (dired-query):
1122 * files.el (hack-local-variables-confirm): Use it.
1124 * dired-aux.el (dired-compress-file):
1125 * files.el (abort-if-file-too-large, find-alternate-file)
1126 (set-visited-file-name, write-file, backup-buffer)
1127 (basic-save-buffer, basic-save-buffer-2, save-some-buffers)
1128 (delete-directory, revert-buffer, recover-file, kill-buffer-ask):
1129 Use new format string args for y-or-n-p and yes-or-no-p.
1131 2011-01-08 Andreas Schwab <schwab@linux-m68k.org>
1133 * progmodes/compile.el (compilation-error-regexp-alist-alist)
1134 [gcc-include]: Tighten file name match, add match for column
1136 [gnu]: Remove unused group.
1138 2011-01-08 Glenn Morris <rgm@gnu.org>
1140 * makefile.w32-in (EMACSOPT): Add --no-site-lisp.
1142 * makefile.w32-in (EMACSOPT): -batch implies --no-init-file.
1144 2011-01-07 Sam Steingold <sds@gnu.org>
1146 * w32-fns.el (w32-shell-name): Use `shell-file-name' instead of
1147 the `explicit-shell-file-name' because that is the
1148 non-interactive shell.
1150 2011-01-07 Chong Yidong <cyd@stupidchicken.com>
1152 * subr.el (y-or-n-p): Accept format string args.
1154 2011-01-07 Glenn Morris <rgm@gnu.org>
1156 * Makefile.in (EMACSOPT): Add --no-site-lisp.
1158 2011-01-06 Ken Manheimer <ken.manheimer@gmail.com>
1160 * allout.el (allout-back-to-current-heading): Ensure return to
1161 the visible containing topic, rather than a collapsed one.
1162 (allout-view-change-hook): Remove hook that was deprecated long ago.
1163 (allout-exposure-change-hook): Remove documentation remarks
1164 concerning removed allout-view-change-hook.
1165 (allout-flag-region): Remove invocation of and documentation
1166 remarks concerning allout-view-change-hook.
1168 2011-01-06 Glenn Morris <rgm@gnu.org>
1170 * vc/vc-bzr.el (vc-bzr-annotate-command, vc-bzr-annotate-time)
1171 (vc-bzr-annotate-extract-revision-at-line):
1172 Handle authors with embedded spaces. (Bug#7792)
1174 2011-01-05 Tassilo Horn <tassilo@member.fsf.org>
1176 * doc-view.el (doc-view-image-width): New variable.
1177 (doc-view-enlarge, doc-view-insert-image): Prefer imagemagick
1178 backend for PNG images, and do dynamic rescaling instead of
1179 reconverting the whole doc.
1181 2011-01-05 Glenn Morris <rgm@gnu.org>
1183 * emacs-lisp/rx.el (rx-repeat): Replace CL function.
1185 2011-01-04 Ken Manheimer <ken.manheimer@gmail.com>
1187 * allout.el: Reconcile with changes in line movement behavior for
1188 long text lines that cross more than a single physical window
1189 line, ie when truncate-lines is nil.
1190 (allout-next-visible-heading): Provide for change in line-move
1191 behavior on long lines when truncate-lines is nil. In that case,
1192 line-move can wind up on the same textual line when it moves to
1193 the next window line, and moving to the bullet position after the
1194 move yields zero advancement. Add logic to detect and compensate
1195 for the lack of progress.
1196 (allout-current-topic-collapsed-p): move-end-of-line respect for
1197 field boundaries is different when operating with body lines
1198 shorter than window width versus ones greater than window width,
1199 which can yield false negatives in this function. Avoid
1200 difference by applying move-end-of-line while field-text-motion is
1203 2011-01-04 Glenn Morris <rgm@gnu.org>
1205 * textmodes/rst.el (rst-compile-toolsets):
1206 Add pdf and s5 to option alist.
1208 2011-01-04 Jan Moringen <jan.moringen@uni-bielefeld.de>
1210 * net/dbus.el (dbus-register-property): Add optional parameter
1211 dont-register-service. Updated docstring accordingly.
1213 2011-01-04 Andreas Schwab <schwab@linux-m68k.org>
1215 * textmodes/rst.el (rst-compile-pdf-preview)
1216 (rst-compile-slides-preview): Remove extra line.
1218 2011-01-04 Glenn Morris <rgm@gnu.org>
1220 * textmodes/rst.el (rst-compile-toolsets): Make it a defcustom.
1221 Add `pdf' and `s5' entries. Use `prog.py' if found, otherwise
1222 default to `prog' without a .py extension.
1223 (rst-compile-pdf-preview, rst-compile-slides-preview):
1224 Use program names from rst-compile-toolsets, rather than hard-coding.
1225 (rst-portable-mark-active-p): Fix presumed typo.
1227 2011-01-02 Eli Zaretskii <eliz@gnu.org>
1229 * term/w32-win.el (dynamic-library-alist): Set up correctly for
1230 libpng versions both before and after 1.4.0. (Bug#7716)
1232 2011-01-02 Eli Zaretskii <eliz@gnu.org>
1234 * time.el (display-time-mode): Mention display-time-interval in
1235 the doc string. (Bug#7713)
1237 2011-01-02 Kenichi Handa <handa@m17n.org>
1239 * mail/rmailmm.el (rmail-mime-parse): Perform parsing in
1240 condition-case and return an error message string if something
1242 (rmail-show-mime): Adjust for the above change. Insert the
1243 header by rmail-mime-insert-header.
1245 2011-01-02 Kenichi Handa <handa@m17n.org>
1247 * mail/rmailmm.el: New key bindings for rmail-mime-next-item,
1248 rmail-mime-previous-item, and rmail-mime-toggle-hidden.
1249 (rmail-mime-mbox-buffer)
1250 (rmail-mime-view-buffer, rmail-mime-coding-system): New variables.
1251 (rmail-mime-entity): Argument changed. All codes handling an
1252 entity object are changed.
1253 (rmail-mime-entity-header, rmail-mime-entity-body): Adjust for
1255 (rmail-mime-entity-children, rmail-mime-entity-handler)
1256 (rmail-mime-entity-tagline): New functions.
1257 (rmail-mime-message-p): New function.
1258 (rmail-mime-save): Bind rmail-mime-mbox-buffer.
1259 (rmail-mime-entity-segment, rmail-mime-next-item)
1260 (rmail-mime-previous-item, rmail-mime-shown-mode)
1261 (rmail-mime-hidden-mode, rmail-mime-raw-mode)
1262 (rmail-mime-toggle-raw, rmail-mime-toggle-hidden)
1263 (rmail-mime-insert-tagline, rmail-mime-insert-header):
1265 (rmail-mime-text-handler): Call rmail-mime-insert-text.
1266 (rmail-mime-insert-decoded-text): New function.
1267 (rmail-mime-insert-text): Call rmail-mime-insert-decoded-text.
1268 (rmail-mime-insert-image): Argument changed. Caller changed.
1269 (rmail-mime-image): Call rmail-mime-toggle-hidden.
1270 (rmail-mime-set-bulk-data): New funciton.
1271 (rmail-mime-insert-bulk): Argument changed.
1272 (rmail-mime-multipart-handler): Return t.
1273 (rmail-mime-process-multipart): Argument changed.
1274 Handle "multipart/alternative" here.
1275 (rmail-mime-process): Argument changed.
1276 (rmail-mime-parse): Bind rmail-mime-mbox-buffer.
1277 (rmail-mime-insert): Argument changed. Handle raw display mode.
1278 (rmail-mime): Argument changed. Handle toggling of raw display
1280 (rmail-show-mime): Bind rmail-mime-mbox-buffer and
1281 rmail-mime-view-buffer.
1282 (rmail-insert-mime-forwarded-message): Likewise.
1283 (rmail-search-mime-message): Likewise. Don't bind rmail-buffer.
1285 * mail/rmail.el (rmail-show-message-1): If rmail-enable-mime is
1286 non-nil, handle the header in rmail-show-mime-function.
1288 2011-01-02 Leo <sdl.web@gmail.com>
1290 * help-fns.el (describe-variable): Fix previous change.
1292 2011-01-02 Juri Linkov <juri@jurta.org>
1294 * isearch.el (isearch-lazy-highlight-error): New variable.
1295 (isearch-lazy-highlight-new-loop): Compare `isearch-error' and
1296 `isearch-lazy-highlight-error'. Set `isearch-lazy-highlight-error'
1297 to the current value of `isearch-error' (Bug#7468).
1299 2011-01-02 Chong Yidong <cyd@stupidchicken.com>
1301 * help-fns.el (describe-variable): Don't emit trailing whitespace
1304 2011-01-02 Chong Yidong <cyd@stupidchicken.com>
1306 * textmodes/rst.el (rst-compile-pdf-preview)
1307 (rst-compile-slides-preview): Use make-temp-file (Bug#7646).
1309 2011-01-02 Kevin Gallagher <Kevin.Gallagher@boeing.com>
1311 * emulation/edt-mapper.el: Override mapping of function keys so
1312 that the later call to read-key-sequence works.
1314 2011-01-02 Eli Zaretskii <eliz@gnu.org>
1316 * mail/smtpmail.el (smtpmail-send-it): Write queued mail body with
1317 Unix EOLs. (Bug#7589)
1319 2011-01-02 Leo <sdl.web@gmail.com>
1321 * eshell/em-hist.el (eshell-previous-matching-input): Signal error
1322 if point is not behind eshell-last-output-end (Bug#7585).
1324 2011-01-02 Stefan Monnier <monnier@iro.umontreal.ca>
1326 * files.el (file-local-variables-alist):
1327 Make permanent-local (bug#7767).
1329 2011-01-02 Glenn Morris <rgm@gnu.org>
1331 * version.el (emacs-copyright): Set short copyright year to 2011.
1333 2011-01-02 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
1335 * mail/mail-utils.el (mail-strip-quoted-names): Avoid clobbering
1336 an existing temp buffer. (Bug#7746)
1338 2011-01-02 Glenn Morris <rgm@gnu.org>
1340 * mail/mail-utils.el (mail-mbox-from): Handle From: headers with
1341 multiple addresses. (Bug#7760)
1343 2011-01-01 Ken Manheimer <ken.manheimer@gmail.com>
1345 * allout.el (allout-auto-fill): Do not infinitely recurse - use
1346 do-auto-fill if everything points back to allout-auto-fill.
1347 (allout-mode-deactivate-hook): Declare obsolete, in favor of
1348 standard-formed minor-mode deactivate hook, allout-mode-off-hook.
1350 2010-12-31 Michael Albinus <michael.albinus@gmx.de>
1352 * net/tramp-sh.el (tramp-methods): Add recursive options to "scpc"
1355 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
1357 * doc-view.el (doc-view-set-doc-type): New function refactored
1359 (doc-view-fallback-mode): New function.
1360 (doc-view-mode): Use it.
1361 (doc-view-mode-maybe): New function that checks if doc-view-mode
1362 can be used and falls back to the next best mode otherwise.
1364 * files.el (auto-mode-alist): Use doc-view-mode-maybe for PDF,
1365 DVI, OpenDocument, and MS Office files.
1367 2010-12-30 Andreas Schwab <schwab@linux-m68k.org>
1369 * emacs-lisp/rx.el (rx-syntax): Fix typo.
1371 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
1373 * doc-view.el (doc-view-toggle-display): Perform rassq-delete-all
1374 on a copy of auto-mode-alist, because that deletes with side
1377 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
1379 * doc-view.el (doc-view-mode, doc-view-toggle-display):
1380 Use normal-mode without doc-view-mode bindings in auto-mode-alist as
1381 fallback instead of hard coding fundamental mode.
1383 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
1385 * doc-view.el (doc-view-doc->txt): Handle OpenDocument (or MS
1386 Office) files also for searching.
1388 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
1390 * doc-view.el: Implement viewing of OpenDocument (and Microsoft
1391 Office) files. Not yet enabled via auto-mode-list.
1392 (doc-view-unoconv-program): New custom variable.
1393 (doc-view-mode-p): Handle new odf document type.
1394 (doc-view-odf->pdf): New conversion function.
1395 (doc-view-convert-current-doc): Call it for odf files.
1396 (doc-view-mode): Recognize newly supported file extensions.
1398 2010-12-30 Michael Albinus <michael.albinus@gmx.de>
1400 * net/tramp.el (tramp-default-method-alist)
1401 (tramp-default-user-alist)
1402 (tramp-local-host-regexp, tramp-prefix-domain-format)
1403 (tramp-prefix-domain-regexp): Set tramp-autoload cookie.
1406 * net/tramp-gvfs.el:
1408 * net/tramp-imap.el:
1410 * net/tramp-smb.el: Add tramp-autoload cookie for initialisation
1411 code of `tramp-default-method-alist' and `tramp-default-user-alist'.
1413 2010-12-29 Karl Fogel <kfogel@red-bean.com>
1415 * saveplace.el (save-place-alist-to-file): Save list sorted and
1416 pretty-printed, so that it is mergeable by line-based text merging,
1417 as suggested by Iain Dalton <iain.dalton {_AT_} gmail.com>.
1419 2010-12-28 Ken Manheimer <ken.manheimer@gmail.com>
1421 * allout.el (allout-v18/19-file-var-hack): Obsolete, remove.
1422 (allout-mode): Argument "toggle" => "force".
1423 Refine the docstring.
1424 Remove special provisions for reactivation, besides the 'force'
1426 Consolidate layout provisions coce directly into the activation
1427 condition branch, now that we've removed those provisions.
1428 (allout-unload-function): Explicitly activate the mode before
1429 deactivating, if it's initially deactivated.
1430 (allout-set-buffer-multibyte): Properly prevent byte-compiler
1431 warnings for version of function used only where
1432 set-buffer-multibyte is unavailable.
1434 2010-12-28 Chong Yidong <cyd@stupidchicken.com>
1436 * tool-bar.el (tool-bar-setup): Remove :enable conditions, which
1437 are handled by the menu-bar entries. As before, don't use
1438 :visibile to avoid changing the tool-bar.
1440 2010-12-27 Michael Albinus <michael.albinus@gmx.de>
1442 * net/secrets.el (secrets-delete-alias): New defun.
1444 2010-12-27 Michael Albinus <michael.albinus@gmx.de>
1446 * net/tramp.el (tramp-default-user-alist): Do not add "ssh" based
1447 methods, otherwise ~/.ssh/config would be ignored.
1449 2010-12-26 Stefan Monnier <monnier@iro.umontreal.ca>
1451 * emacs-lisp/rx.el: Make it a superset of sregex.
1452 (rx-constituents): Add `any => "."', mark `repeat' as taking any number
1453 of args, add `regex' alias.
1454 (rx-info): Add arg to distinguish head and standalone forms.
1455 (rx-check, rx-form): Pass the corresponding arg.
1457 (rx-repeat): Make it work for any number of args.
1458 (rx-syntax): Make it accept syntax chars as is.
1459 * obsolete/sregex.el: Move from emacs-lisp/.
1460 * emacs-lisp/re-builder.el: Remove sregex support.
1461 * emacs-lisp/edebug.el (sregexq, rx): Remove redundant defs.
1463 2010-12-25 Eli Zaretskii <eliz@gnu.org>
1465 * mouse.el (mouse-yank-primary): On MS-Windows, try the (emulated)
1466 PRIMARY first, then the clipboard. (Bug#7699)
1468 2010-12-22 Stefan Monnier <monnier@iro.umontreal.ca>
1470 * emacs-lisp/bytecomp.el (byte-compile-output-docform): Fix up use of
1473 2010-12-21 Chong Yidong <cyd@stupidchicken.com>
1475 * help-fns.el (find-lisp-object-file-name): Locate .emacs from
1476 .emacs.elc (Bug#7530).
1478 * wid-edit.el (widget-image-find): Remove bogus :ascent spec from
1479 image spec (Bug#7480).
1481 2010-12-21 Daiki Ueno <ueno@unixuser.org>
1483 * obsolete/pgg-parse.el, obsolete/pgg-pgp5.el, obsolete/pgg-pgp.el,
1484 * obsolete/pgg-gpg.el, obsolete/pgg-def.el, obsolete/pgg.el:
1487 2010-12-20 Leo <sdl.web@gmail.com>
1489 * dnd.el (dnd-get-local-file-name): Unhex of file name shall
1490 always be performed (Bug#7680).
1492 2010-12-20 Chong Yidong <cyd@stupidchicken.com>
1494 * menu-bar.el (menu-bar-kill-ring-save): Make obsolete.
1495 (menu-bar-edit-menu): Bind "Copy" to kill-ring-save. Don't use
1498 * color.el: Move from gnus/.
1500 * vc/diff.el (diff-better-file-name): Function deleted.
1501 abbreviating file names causes problems with shell-quote-argument.
1502 (diff-no-select): Just use expand-file-name.
1504 * tool-bar.el (tool-bar--image-expression): New function.
1505 (tool-bar-local-item, tool-bar--image-exp): Use it.
1506 (tool-bar-setup): Initialize tool-bar-separator-image-expression.
1507 Use :enable instead of :visible to avoid changing the tool-bar
1508 configuration unnecessarily.
1510 * info.el (info-tool-bar-map): Add separators.
1512 2010-12-17 Ken Brown <kbrown@cornell.edu>
1514 * loadup.el: Use version numbers in Cygwin build.
1516 2010-12-17 Ryan Twitchell <metatheorem@gmail.com> (tiny change)
1518 * ido.el (ido-file-internal): Ask for confirmation before
1519 overwriting an existing file (Bug#1238).
1521 2010-12-16 Chong Yidong <cyd@stupidchicken.com>
1523 * tool-bar.el (tool-bar-setup): Add separators.
1525 * menu-bar.el (featurep): Use menu-bar-separator.
1527 2010-12-16 Ken Manheimer <ken.manheimer@gmail.com>
1529 Migrate allout encryption provisions from pgg to epg.
1531 * allout.el (allout-toggle-current-subtree-encryption)
1532 (allout-toggle-subtree-encryption): Adjust docstrings to reflect
1533 defaulting policy and other changes. Change fetch-pass to keymode-cue,
1534 for simpler universal argument interpretation.
1535 (allout-toggle-subtree-encryption): Adjust docstring to describe
1536 changed encryption provisions. Change fetch-pass to keymode-cue, for
1537 simpler universal argument interpretation. Remove provisions for
1538 handling key type and identity - they'll all be within
1539 allout-encrypt-string or epg/epg or even contained all the way in gpg.
1540 (allout-encrypt-string): Include keymode-cue, for optionally prompting
1541 for keypair recipients (universal argument > 1) and, in addition,
1542 associating the specified recipients with the outline (universal
1543 argument > 4) using a file local variable setting for
1544 'epa-file-encrypt-to'.
1545 Require epa, for recipients handling.
1546 Change how regexp filtering elements are named.
1547 Describe the problem with caching of incorrect symmetric-decryption
1549 Use the epa-passphrase-callback-function, in case the user is using
1551 Support saving of the selected keypair recipients when invoked with a
1553 Remove obsolete arguments 'fetch-pass', 'target-cache-id', 'retried'.
1555 Establish epg-context with armoring and default epg-protocol.
1556 Remove all passphrase cache, verification, and hinting code.
1557 (allout-passphrase-verifier-handling, allout-passphrase-hint-handling):
1558 No longer used, delete.
1559 (allout-mode): Adjust docstring to describe changed encryption
1560 provisions. Describe the problem with caching of incorrect
1561 symmetric-decryption keys.
1562 (allout-obtain-passphrase, allout-epg-passphrase-callback-function)
1563 (allout-make-passphrase-state, allout-passphrase-state-passphrase)
1564 (allout-encrypted-key-info, allout-update-passphrase-mnemonic-aids)
1565 (allout-get-encryption-passphrase-verifier, allout-verify-passphrase):
1568 2010-12-16 Daiki Ueno <ueno@unixuser.org>
1570 * epa-file.el (epa-file-select-keys): Accept 'silent to inhibit
1571 key selection prompt; make 'silent as default (Bug#7487).
1573 2010-12-16 Leo <sdl.web@gmail.com>
1575 * eshell/eshell.el (eshell-directory-name):
1576 Use locate-user-emacs-file (Bug#7578).
1578 2010-12-15 Glenn Morris <rgm@gnu.org>
1580 * loadup.el (symbol-file-load-history-loaded): Remove; unused.
1582 2010-12-15 Jari Aalto <jari.aalto@cante.net>
1583 Scott Evans <gse@antisleep.com>
1585 * rect.el (rectange--default-line-number-format)
1586 (rectangle-number-line-callback): New functions.
1587 (rectangle-number-lines): New command, bound to C-x r N (Bug#4382).
1589 2010-12-15 Chong Yidong <cyd@stupidchicken.com>
1591 * rect.el (operate-on-rectangle-lines, string-rectangle-string):
1592 Delete unused variables.
1593 (move-to-column-force): Remove function obsolete since 21.2.
1595 2010-12-14 Michael Albinus <michael.albinus@gmx.de>
1597 * net/tramp.el (tramp-temp-buffer-file-name): Make it permanent-local.
1598 (tramp-handle-insert-file-contents): Do not set permanent-local
1601 * net/tramp-cache.el (tramp-persistency-file-name):
1602 Use `locate-user-emacs-file' if fboundp.
1604 * net/tramp-sh.el (tramp-methods): Add "ksu".
1605 (tramp-default-user-alist): Add "ksu". Use `regexp-opt' for
1608 2010-12-14 Glenn Morris <rgm@gnu.org>
1610 * progmodes/js.el: Doc't require font-lock, etags, or easymenu.
1611 (find-tag-marker-ring): Declare.
1612 (js-find-symbol): Require etags.
1614 * mail/sendmail.el: Don't require rmail or mailalias when compiling.
1616 (mail-alias-file): Don't autoload. Doc fix.
1617 (mail-bury-selects-summary, mail-send-nonascii): Don't autoload.
1618 (mail-mailer-swallows-blank-line): Default to nil. Doc fix.
1619 Mark as obsolete, and risky.
1620 (mail-setup): Simplify.
1622 * mail/mailalias.el (build-mail-aliases): Make it interactive.
1623 * mail/sendmail.el (build-mail-aliases): Update autoload.
1625 * dired.el (dired-trivial-filenames, dired-chown-program)
1626 (dired-auto-revert-buffer): Remove autoload cookies.
1627 * mail/sendmail.el (mail-recover-1): Require 'dired.
1629 * dired.el (dired-subdir-switches, dired-chown-program)
1630 (dired-use-ls-dired, dired-chmod-program, dired-touch-program):
1631 Make into defcustoms.
1632 (dired-chown-program): Simplify initialization.
1634 * mail/mail-utils.el: No need to require lisp-mode, it's in loadup.
1636 2010-12-13 Romain Francoise <romain@orebokech.com>
1638 * net/gnutls.el (gnutls-negotiate): Fix setting of default trustfiles.
1640 2010-12-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
1642 * net/netrc.el (netrc-point-at-eol): Remove the unused
1643 netrc-point-at-old and netrc-bound-and-true-p bindings.
1644 (netrc-parse): Cache the netrc contents.
1646 2010-12-13 Eli Zaretskii <eliz@gnu.org>
1648 * subr.el (posn-col-row): Evaluate header-line-format in the
1649 context of the POSITION window's buffer.
1651 2010-12-13 Glenn Morris <rgm@gnu.org>
1653 * subr.el (member-ignore-case, run-mode-hooks, insert-for-yank-1)
1654 (with-silent-modifications): Doc fixes.
1656 2010-12-13 Michael Albinus <michael.albinus@gmx.de>
1658 * net/tramp.el (tramp-action-password, tramp-process-actions):
1659 Revert previous from. Use `save-restriction'.
1661 2010-12-13 Stephen Berman <stephen.berman@gmx.net>
1663 * calendar/diary-lib.el (diary-list-sexp-entries):
1664 Handle case of no newline at end of file. (Bug#7536)
1666 2010-12-13 Glenn Morris <rgm@gnu.org>
1668 * mail/smtpmail.el (smtpmail-send-it): Revert previous change.
1670 2010-12-13 Michael Albinus <michael.albinus@gmx.de>
1672 * net/tramp.el (tramp-action-password): Delete region, do not narrow.
1673 (tramp-process-actions): Do not widen.
1675 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1676 Protect buffer-modified value. (Bug#7557)
1678 2010-12-13 Jan Moringen <jmoringe@techfak.uni-bielefeld.de>
1680 * log-edit.el (log-edit-changelog-entries):
1681 Regexp quote filename. (Bug#7505)
1683 2010-12-13 Tom Breton <tehom@panix.com>
1685 * cus-edit.el (custom-save-all):
1686 Bind print-length and print-level to nil. (Bug#7581)
1688 2010-12-13 Glenn Morris <rgm@gnu.org>
1690 * mouse.el (mouse-menu-major-mode-map, mouse-menu-bar-map):
1691 Run hooks to update menu contents. (Bug#7586)
1693 * mail/smtpmail.el (smtpmail-send-it): Avoid colons in the queued
1694 file names, for the sake of MS Windows. (Bug#7588)
1696 2010-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
1698 * diff-mode.el (diff-refine-hunk): Make it work when the hunk contains
1699 empty lines without a leading space.
1701 2010-12-13 Leo <sdl.web@gmail.com>
1703 * dired-aux.el (dired-do-redisplay): Postpone dired-after-readin-hook
1704 while mapping over marks (Bug#6810).
1706 2010-12-13 Chong Yidong <cyd@stupidchicken.com>
1708 * image-dired.el (image-dired-db-file)
1709 (image-dired-temp-image-file, image-dired-gallery-dir)
1710 (image-dired-temp-rotate-image-file): Set default values relative
1711 to image-dired-dir (Bug#7518).
1713 2010-12-13 Lawrence Mitchell <wence@gmx.li>
1715 * format.el (format-decode-run-method): Pass args FROM and TO, not
1716 point-min and point-max, to shell-command-on-region (Bug#7488).
1718 2010-12-13 Jan Djärv <jan.h.d@swipnet.se>
1720 * frame.el (blink-cursor-mode): Make default t for ns.
1722 2010-12-13 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
1724 * vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
1726 2010-12-13 Chong Yidong <cyd@stupidchicken.com>
1728 * comint.el (comint-dynamic-list-input-ring)
1729 (comint-dynamic-complete-filename)
1730 (comint-replace-by-expanded-filename)
1731 (comint-dynamic-simple-complete)
1732 (comint-dynamic-list-filename-completions)
1733 (comint-dynamic-list-completions): Doc fix (Bug#7499).
1735 * subr.el (posn-x-y, posn-object-x-y, posn-object-width-height):
1738 2010-12-13 Martin Rudalics <rudalics@gmx.at>
1740 * dired.el (dired-pop-to-buffer): Bind pop-up-frames to nil
1743 2010-12-13 W. Martin Borgert <debacle@debian.org> (tiny change)
1745 * files.el (auto-mode-alist): Handle .dbk (DocBook) with xml-mode.
1748 2010-12-13 Eli Zaretskii <eliz@gnu.org>
1750 * files.el (file-relative-name): Handle UNC file names on
1751 DOS/Windows. (Bug#4674)
1753 2010-12-13 Daiki Ueno <ueno@unixuser.org>
1755 * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
1756 "RIPEMD160" (Bug#7490). Reported by Daniel Kahn Gillmor.
1757 (epg-context-set-passphrase-callback): Mention that the callback
1758 is not called when used with GnuPG 2.x.
1760 2010-12-13 Glenn Morris <rgm@gnu.org>
1762 * ps-print.el (ps-line-lengths-internal, ps-nb-pages):
1763 Ensure ps-footer-font-size-internal is initialized.
1764 Call ps-get-page-dimensions before trying to use ps-font-for-text.
1766 2010-12-13 Kenichi Handa <handa@m17n.org>
1768 * mail/rmailmm.el (rmail-mime-parse): Call rmail-mime-process
1769 within condition-case.
1770 (rmail-show-mime): Don't use condition-case.
1771 (rmail-search-mime-message): New function.
1772 (rmail-search-mime-message-function): Set to
1773 rmail-search-mime-message.
1775 2010-12-13 Leo <sdl.web@gmail.com>
1777 * ido.el (ido-common-initialization): New function. (bug#3274)
1779 (ido-completing-read): Call it.
1781 2010-12-12 Karl Fogel <kfogel@red-bean.com>
1783 * bookmark.el (bookmark-name-from-full-record): Rename back to
1784 this original name from `bookmark-name-from-record' reverting part
1785 of 2010-12-08T08:09:27Z!kfogel@red-bean.com / kfogel@red-bean.com-20101208080927-5j9jqnb2xvcw4ogm.
1786 As Drew Adams pointed out, there was no reason to cause churn for
1787 third-party callers.
1789 2010-12-12 Alan Mackenzie <acm@muc.de>
1791 * progmodes/cc-engine.el (c-forward-type): Before scanning a
1792 template arglist, check that the current language supports this.
1794 2010-12-11 Glenn Morris <rgm@gnu.org>
1796 * vc/vc-bzr.el (vc-bzr-state-heuristic): Also check that the executable
1797 state of the file matches. (Bug#7544)
1798 (vc-bzr-register, vc-bzr-checkin)
1799 (vc-bzr-annotate-extract-revision-at-line): Doc fixes.
1800 (vc-directory-exclusion-list): Remove unnecessary eval-after-load.
1802 * textmodes/sgml-mode.el (sgml-xml-guess): Add .xhtml extension.
1804 2010-12-11 Karel Klíč <kklic@redhat.com>
1806 * files.el (auto-mode-alist): Use html-mode for *.xhtml. (Bug#7606)
1808 2010-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
1810 Derive from prog-mode, use derived-mode-p, and fix up various
1811 minor style issues in lisp/progmodes.
1813 * progmodes/vhdl-mode.el (vhdl-mode):
1814 * progmodes/verilog-mode.el (verilog-mode):
1815 * progmodes/vera-mode.el (vera-mode):
1816 * progmodes/sql.el (sql-mode):
1817 * progmodes/scheme.el (scheme-mode):
1818 * progmodes/perl-mode.el (perl-mode):
1819 * progmodes/octave-inf.el (inferior-octave-mode):
1820 * progmodes/autoconf.el (autoconf-mode):
1821 * progmodes/m4-mode.el (m4-mode):
1822 * progmodes/inf-lisp.el (inferior-lisp-mode):
1823 * progmodes/idlwave.el (idlwave-mode):
1824 * progmodes/icon.el (icon-mode):
1825 * progmodes/idlw-help.el (idlwave-help-mode):
1826 * progmodes/dcl-mode.el (dcl-mode):
1827 * progmodes/idlw-shell.el (idlwave-shell-mode):
1828 * progmodes/ebrowse.el (ebrowse-tree-mode, ebrowse-electric-list-mode)
1829 (ebrowse-member-mode, ebrowse-electric-position-mode):
1830 Use define-derived-mode.
1832 * progmodes/xscheme.el (exit-scheme-interaction-mode)
1833 (xscheme-enter-interaction-mode, xscheme-enter-debugger-mode)
1834 (xscheme-debugger-mode-p, xscheme-send-string-1):
1835 * progmodes/tcl.el (inferior-tcl-proc, tcl-current-word)
1836 (tcl-load-file, tcl-restart-with-file):
1837 * progmodes/ps-mode.el (ps-run-running):
1838 * progmodes/gdb-mi.el (gud-watch, gdb-mouse-set-clear-breakpoint):
1839 * progmodes/js.el (js--get-all-known-symbols):
1840 * progmodes/inf-lisp.el (inferior-lisp-proc):
1841 * progmodes/idlwave.el (idlwave-beginning-of-statement)
1842 (idlwave-template, idlwave-update-buffer-routine-info)
1843 (idlwave-update-current-buffer-info)
1844 (idlwave-get-routine-info-from-buffers, idlwave-choose)
1845 (idlwave-scan-class-info, idlwave-fix-keywords)
1846 (idlwave-list-buffer-load-path-shadows):
1847 * progmodes/idlw-toolbar.el (idlwave-toolbar, idlwave-toolbar-add)
1848 (idlwave-toolbar-remove):
1849 * progmodes/idlw-shell.el (idlwave-shell-save-and-action)
1850 (idlwave-shell-file-name, idlwave-shell-electric-debug-all-off)
1851 (idlwave-shell-menu-def):
1852 * progmodes/idlw-complete-structtag.el
1853 (idlwave-prepare-structure-tag-completion):
1854 * progmodes/gud.el (gud-set-buffer):
1855 * progmodes/f90.el (f90-backslash-not-special):
1856 * progmodes/delphi.el (delphi-find-unit): Use derived-mode-p.
1858 * progmodes/xscheme.el (xscheme-start)
1859 (local-set-scheme-interaction-buffer, scheme-interaction-mode):
1860 * progmodes/which-func.el (which-function):
1861 * progmodes/vhdl-mode.el (vhdl-set-style):
1862 * progmodes/verilog-mode.el (verilog-set-compile-command)
1863 (verilog-modify-compile-command, verilog-error-regexp-add-xemacs)
1864 (verilog-set-define, verilog-auto-reeval-locals):
1865 * progmodes/sql.el (sql-product-font-lock, sql-interactive-mode):
1866 * progmodes/simula.el (simula-mode):
1867 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
1868 * progmodes/python.el (python-check, python-mode):
1869 * progmodes/prolog.el (prolog-mode-variables):
1870 * progmodes/gud.el (gud-tooltip-activate-mouse-motions):
1871 * progmodes/ebrowse.el (ebrowse-view-file-other-frame):
1872 * progmodes/delphi.el (delphi-mode):
1873 * progmodes/cc-styles.el (c-setup-paragraph-variables):
1874 * progmodes/cc-mode.el (c-basic-common-init, c-common-init)
1875 (c-font-lock-init): Move make-local-variable to their setq.
1877 * progmodes/vhdl-mode.el (vhdl-write-file-hooks-init)
1878 (vhdl-hs-minor-mode, vhdl-ps-print-init): Fix make-local-variable ->
1880 * progmodes/sh-script.el (sh-require-final-newline): Remove.
1881 (sh-set-shell): Don't set require-final-newline since it's already done
1883 * progmodes/modula2.el (m2-mode): Don't make m2-end-comment-column
1884 since we never set it.
1885 * progmodes/ebrowse.el (ebrowse-set-tree-indentation):
1886 Use read-string and standard prompt.
1887 * progmodes/dcl-mode.el (dcl-mode-map): Move init into declaration.
1888 * progmodes/meta-mode.el (meta-mode-abbrev-table): Merge init and decl.
1889 (meta-common-mode-syntax-table): Rename from meta-mode-syntax-table.
1890 (meta-common-mode-map): Rename from meta-mode-map.
1891 Remove C-m binding, which is a user preference, not mode specific.
1892 (meta-common-mode): New major mode; replace meta-common-initialization.
1893 * progmodes/js.el (js-mode): Call syntax-propertize rather than messing
1894 around with font-lock.
1895 * progmodes/etags.el (select-tags-table-mode):
1896 Derive from special-mode.
1897 * progmodes/octave-mod.el (octave-mode):
1898 * progmodes/gdb-mi.el (gdb-inferior-io-mode, gdb-threads-mode)
1899 (gdb-memory-mode, gdb-disassembly-mode, gdb-breakpoints-mode)
1900 (gdb-frames-mode, gdb-locals-mode, gdb-registers-mode):
1901 Let define-derived-mode do its job.
1902 * progmodes/cpp.el (cpp-edit-mode-map):
1903 Move initialization into declaration.
1904 (cpp-edit-mode): Use define-derived-mode.
1905 (cpp-edit-load): Use derived-mode-p.
1906 * progmodes/mixal-mode.el (mixal-mode):
1907 * progmodes/f90.el (f90-mode):
1908 * progmodes/cfengine.el (cfengine-mode): Don't bother setting
1909 require-final-newline since prog-mode does it already.
1910 * progmodes/cc-cmds.el (c-update-modeline): Use match-string.
1911 * progmodes/asm-mode.el (asm-mode-map): Fix menu setup.
1912 * progmodes/antlr-mode.el: Require cc-mode upfront.
1913 (antlr-mode-syntax-table, antlr-action-syntax-table): Initialize in
1915 (antlr-directory-dependencies, antlr-show-makefile-rules):
1917 (antlr-language-option): Don't assume point-min==1.
1918 (antlr-mode): Use define-derived-mode.
1919 * progmodes/ada-mode.el: Use derived-mode-p.
1920 (ada-mode): Use define-derived-mode.
1921 Use hack-local-variables-hook.
1923 2010-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
1925 * textmodes/texinfo.el (texinfo-mode-map): Bind texinfo-insert-@end.
1926 (texinfo-mode): Don't disable adaptive-fill-mode.
1927 (texinfo-insert-block): Adjust cursor placement for blocks with arg.
1928 (texinfo-insert-@end, texinfo-insert-braces, texinfo-insert-@code)
1929 (texinfo-insert-@dfn, texinfo-insert-@email, texinfo-insert-@emph)
1930 (texinfo-insert-@example, texinfo-insert-@file, texinfo-insert-@item)
1931 (texinfo-insert-@kbd, texinfo-insert-@node, texinfo-insert-@noindent)
1932 (texinfo-insert-@quotation, texinfo-insert-@samp)
1933 (texinfo-insert-@strong, texinfo-insert-@table, texinfo-insert-@var)
1934 (texinfo-insert-@uref): Use define-skeleton.
1935 (texinfo-insert-@-with-arg): Delete.
1937 2010-12-10 Eli Zaretskii <eliz@gnu.org>
1939 * arc-mode.el (archive-zip-extract): If w32-quote-process-args is
1940 nil, do quote archive member names. (Bug#6144)
1942 2010-12-10 Glenn Morris <rgm@gnu.org>
1944 * files.el (diff-no-select): Declare.
1946 * mail/emacsbug.el (report-emacs-bug): Use mail-user-agent properties.
1947 (report-emacs-bug-create-existing-bugs-buffer): Avoid free variables.
1949 * comint.el (comint-input-ring-file-name): Doc fix.
1951 2010-12-09 Eli Zaretskii <eliz@gnu.org>
1953 * menu-bar.el (menu-bar-frame-for-menubar, menu-bar-positive-p):
1955 (menu-bar-showhide-menu) <menu-bar-mode, showhide-tool-bar>:
1956 Use them instead of `nil' and `>', respectively.
1957 (menu-bar-showhide-tool-bar-menu): Use menu-bar-frame-for-menubar
1959 (toggle-menu-bar-mode-from-frame): Use menu-bar-frame-for-menubar
1960 and menu-bar-positive-p instead of `nil' and `>', respectively.
1963 2010-12-09 Vinicius Jose Latorre <viniciusjl@ig.com.br>
1965 * whitespace.el (whitespace-newline-mode): Code fix.
1967 2010-12-09 Glenn Morris <rgm@gnu.org>
1969 * play/landmark.el (lm-print-y,s,noise-int, lm-print-y,s,noise):
1970 Rename functions without commas, update callers.
1972 2010-12-08 Jeff Dairiki <dairiki@dairiki.org> (tiny change)
1974 * whitespace.el (whitespace-cleanup-region):
1975 Clean up spaces before tabs. (Bug#7582)
1977 2010-12-08 Karl Fogel <kfogel@red-bean.com>
1979 * bookmark.el: Adjust parameter names and doc strings to resolve
1980 confusion over whether "bookmark" meant a bookmark name or a
1981 bookmark record. Along the way, shorten one function's name for
1982 similar reasons. (Issue #7548)
1983 (bookmark-name-from-record): New name for
1984 `bookmark-name-from-full-record'. All callers changed.
1985 (bookmark-get-bookmark, bookmark-get-bookmark-record)
1986 (bookmark-default-annotation-text, bookmark-prop-get, bookmark-prop-set)
1987 (bookmark-get-annotation, bookmark-set-annotation)
1988 (bookmark-get-filename, bookmark-set-filename)
1989 (bookmark-get-position, bookmark-set-position)
1990 (bookmark-get-front-context-string, bookmark-set-front-context-string)
1991 (bookmark-get-rear-context-string, bookmark-set-rear-context-string)
1992 (bookmark-get-handler, bookmark-edit-annotation, bookmark--jump-via)
1993 (bookmark-handle-bookmark, bookmark-location, bookmark-show-annotation):
1994 Rename `bookmark' parameter to `bookmark-name-or-record', to
1995 clearly show its role, and shorten or adjust doc strings accordingly.
1996 (bookmark-set-name): Same, and pass the parameter directly to
1997 `bookmark-get-bookmark' instead of redundantly doing the callee's work.
1998 (bookmark-default-annotation-text, bookmark-send-edited-annotation)
1999 (bookmark-relocate, bookmark-insert-location, bookmark-insert)
2000 (bookmark-delete): Rename `bookmark' parameter to `bookmark-name',
2001 and in some cases shorten doc string accordingly.
2002 (bookmark-rename): Change `old' and `new' parameters to `old-name'
2003 and `new-name', and adjust an internal variable to avoid confusion.
2004 (bookmark-jump, bookmark-jump-noselect): Clarify `bookmark'
2005 parameter in doc string.
2007 2010-12-08 Glenn Morris <rgm@gnu.org>
2009 * progmodes/gdb-mi.el (gdb): Try to initialize comint input history
2010 from gdb's history file. (Bug#7575)
2012 * mail/emacsbug.el (report-emacs-bug):
2013 Try to handle some other mail clients.
2015 2010-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
2017 * files.el (dir-locals-collect-variables): Don't let errors stop us.
2018 Use string-prefix-p.
2019 (file-name-version-regexp): New var.
2020 (file-name-sans-versions):
2021 * jka-cmpr-hook.el (jka-compr-build-file-regexp): Use it,
2022 (jka-compr-get-compression-info): Use dolist.
2023 (jka-compr-compression-info-list): Don't bother specifying
2024 version/backup regexps.
2026 2010-12-07 Tassilo Horn <tassilo@member.fsf.org>
2028 * simple.el (just-one-space): Make argument n default to 1 if
2031 2010-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
2033 * electric.el (electric-indent-post-self-insert-function):
2034 Delete trailing newlines even if we don't reindent.
2036 2010-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2038 * minibuffer.el (completion-at-point): Remove the `arg'.
2039 * bindings.el (complete-symbol): Move back from minibuffer.el.
2041 2010-12-06 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2043 * simple.el (just-one-space): Delete newlines for negative arg.
2045 2010-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2047 * ansi-color.el (ansi-color-unfontify-region): Replace by trivial def.
2048 (ansi-color-filter-apply): Simplify.
2049 (ansi-color-apply): Use `font-lock-face' rather than `face'.
2051 2010-12-05 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
2053 * vc/vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
2055 2010-12-04 Chong Yidong <cyd@stupidchicken.com>
2057 * dired.el (dired-use-ls-dired): Set default to a special
2058 "unspecified" value.
2059 (dired-insert-directory): When called the first time, check
2060 whether "ls --dired" succeeds and set dired-use-ls-dired (Bug#7546).
2062 2010-12-04 Tak Ota <Takaaki.Ota@am.sony.com>
2064 * replace.el: Add "collect" feature to occur.
2065 (occur-collect-regexp-history): New var.
2066 (occur-read-primary-args): Return a replace string for nlines,
2068 (occur): Extend the meaning of nlines.
2070 2010-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
2072 * progmodes/which-func.el (which-func-ff-hook): Log the error message.
2073 (which-func-update-1): Distinguish symbols from strings.
2074 (which-function): Stay within 80 columns.
2076 2010-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
2078 * subr.el (with-demoted-errors): Distinguish symbols from strings.
2080 * newcomment.el (comment-styles): Add docs to each style (bug#7509).
2082 (comment-style): Use comment-styles's docs to describe values.
2084 2010-12-03 Jan Djärv <jan.h.d@swipnet.se>
2086 * term/common-win.el (x-setup-function-keys): Restore ns-new-frame
2087 and ns-show-prefs (Bug#7535).
2089 * term/ns-win.el (global-map): Restore ns-new-frame and ns-show-prefs
2090 bindings (Bug#7535).
2092 2010-12-03 Glenn Morris <rgm@gnu.org>
2094 * nxml/nxml-mode.el: Require rng-nxml.
2095 (rng-nxml-mode-init, nxml-enable-unicode-char-name-sets):
2096 Remove declarations.
2098 * nxml/nxml-mode.el, nxml/nxml-outln.el, nxml/rng-loc.el:
2099 * nxml/rng-nxml.el, nxml/rng-valid.el:
2100 Remove leading `*' from defcustom docs.
2102 * startup.el (normal-top-level-add-subdirs-to-load-path): Simplify.
2103 (normal-top-level-add-to-load-path, tty-handle-args):
2104 Convert comments to basic doc-strings.
2106 * net/browse-url.el (browse-url-url-at-point)
2107 (browse-url-default-browser): Remove autoload cookies.
2109 * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
2110 Remove more undefined cl functions.
2112 * vc/diff.el (diff-sentinel): Make new arguments optional.
2113 * ibuf-ext.el (diff-sentinel): Update declaration.
2115 2010-12-03 Daiki Ueno <ueno@unixuser.org>
2117 * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
2118 "RIPEMD160" (Bug#7490). Reported by Daniel Kahn Gillmor.
2119 (epg-context-set-passphrase-callback): Mention that the callback
2120 is not called when used with GnuPG 2.x.
2122 2010-12-02 Michael Albinus <michael.albinus@gmx.de>
2124 * net/tramp.el (tramp-local-host-regexp): Add "localhost6".
2125 (tramp-file-name-port): Check also for `tramp-default-port'.
2126 (tramp-get-connection-name): New defun.
2127 (tramp-get-connection-process): Use it.
2128 (tramp-debug-message): Extend function exclude list.
2129 (tramp-drop-volume-letter): Fix doc string.
2131 * net/tramp-cmds.el: Remove solved todo item.
2135 * net/tramp-gvfs.el:
2137 * net/tramp-imap.el:
2138 * net/tramp-smb.el: Fix regexps added to `tramp-default-method-alist'
2139 and `tramp-default-user-alist', respectively.
2141 * net/tramp-gw.el (tramp-gw-open-connection):
2142 Use `tramp-get-connection-name' and `tramp-get-connection-buffer'.
2144 * net/tramp-imap.el (tramp-imap-make-iht): Use just
2145 `tramp-file-name-port'.
2147 * net/tramp-sh.el (tramp-methods): Add recursive options to "pscp"
2148 and "psftp". Exchange "%k" marker with options.
2149 (tramp-do-copy-or-rename-file, tramp-sh-handle-file-local-copy):
2150 Compute size of link target.
2151 (tramp-do-copy-or-rename-file-out-of-band). Move setting of
2152 `tramp-current-*' up due to gateway methods. Optimze computing of
2153 copy arguments. Use `tramp-get-connection-name' and
2154 `tramp-get-connection-buffer'. Improve debug messages.
2155 (tramp-compute-multi-hops): Remove port determination.
2156 (tramp-maybe-open-connection): Use `tramp-get-connection-name'.
2158 * net/trampver.el: Update release number.
2160 2010-12-02 Glenn Morris <rgm@gnu.org>
2162 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
2163 Avoid infinite loop over windows. (Bug#7492)
2165 * progmodes/flymake.el (flymake-check-file-limit):
2166 Allow nil to mean "no limit".
2167 (flymake-check-patch-master-file-buffer): Update for above change.
2168 Allow a .tex file-name extension to be optional.
2169 (flymake-master-tex-init): Also match \include statements.
2171 2010-11-30 Sam Steingold <sds@gnu.org>
2173 * nxml/nxml-mode.el (nxml-parent-document): Add a variable.
2174 (nxml-parent-document-set): A function to set `nxml-parent-document'.
2175 (nxml-mode): Define using `define-derived-mode' instead of `defun'.
2176 (nxml-mode-hook): Remove `defcustom' (auto-defined by
2177 define-derived-mode').
2178 * nxml/rng-valid.el (rng-dtd-trivial-p): Add a helper function for
2179 users who want to call `nxml-parent-document-set'.
2181 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
2183 * log-edit.el (log-edit-font-lock-keywords): Don't try matching
2184 stand-alone lines, since that is handled by log-edit-match-to-eoh
2187 2010-11-27 Eduard Wiebe <usenet@pusto.de>
2189 * dired.el (dired-get-filename): Replace backslashes with slashes
2190 in file names on MS-Windows, needed by `locate'. (Bug#7308)
2191 * locate.el (locate-default-make-command-line): Don't consider
2192 drive letter and root directory part of
2193 `directory-listing-before-filename-regexp'. (Bug#7308)
2194 (locate-post-command-hook, locate-post-command-hook): New defcustoms.
2196 2010-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
2198 * emacs-lisp/smie.el (smie-prec2->grammar): Simplify handling
2199 of :smie-open/close-alist.
2200 (smie-next-sexp): Make it accept a "start token" as argument.
2201 (smie-indent-keyword): Be careful not to misidentify tokens that span
2202 more than one line, as empty lines. Add argument `token'.
2204 2010-11-27 Kenichi Handa <handa@m17n.org>
2206 * mail/rmailmm.el (rmail-mime-insert-multipart): For unsupported
2207 multipart subtypes, insert all as usual.
2209 * mail/rmail.el: Require rfc2047.
2211 2010-11-27 Kenichi Handa <handa@m17n.org>
2213 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-type)
2214 (rmail-mime-entity-disposition)
2215 (rmail-mime-entity-transfer-encoding, rmail-mime-entity-header)
2216 (rmail-mime-entity-body, rmail-mime-entity-children): New functions.
2217 (rmail-mime-save): Handle the case that the button's `data' is a
2219 (rmail-mime-insert-text): New function.
2220 (rmail-mime-insert-image): Handle the case that DATA is a MIME entity.
2221 (rmail-mime-bulk-handler): Just call rmail-mime-insert-bulk.
2222 (rmail-mime-insert-bulk): New function mostly copied from the old
2223 rmail-mime-bulk-handler.
2224 (rmail-mime-multipart-handler): Just call rmail-mime-process-multipart.
2225 (rmail-mime-process-multipart): New function mostly copied from
2226 the old rmail-mime-multipart-handler.
2227 (rmail-mime-show): Just call rmail-mime-process.
2228 (rmail-mime-process): New function mostly copied from the old
2230 (rmail-mime-insert-multipart, rmail-mime-parse)
2231 (rmail-mime-insert, rmail-show-mime)
2232 (rmail-insert-mime-forwarded-message)
2233 (rmail-insert-mime-resent-message): New functions.
2234 (rmail-insert-mime-forwarded-message-function): Set to
2235 rmail-insert-mime-forwarded-message.
2236 (rmail-insert-mime-resent-message-function): Set to
2237 rmail-insert-mime-resent-message.
2239 * mail/rmailsum.el: Require rfc2047.
2240 (rmail-header-summary): Handle multiline Subject: field.
2241 (rmail-summary-line-decoder): Change the default to
2242 rfc2047-decode-string.
2244 * mail/rmail.el (rmail-enable-mime): Change the default to t.
2245 (rmail-mime-feature): Change the default to `rmailmm'.
2246 (rmail-quit): Delete the specifal code for rmail-enable-mime.
2247 (rmail-display-labels): Likewise.
2248 (rmail-show-message-1): Check rmail-enable-mime, and use
2249 rmail-show-mime-function for a MIME message. Decode the headers
2250 according to RFC2047.
2252 2010-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
2254 * progmodes/which-func.el (which-func-imenu-joiner-function):
2255 Return a string, as expected.
2256 (which-function-mode): Make sure we stop any previous timer before
2259 2010-11-27 Michael Albinus <michael.albinus@gmx.de>
2261 * net/tramp.el (tramp-default-method-alist)
2262 (tramp-default-user-alist, tramp-default-proxies-alist):
2263 Adapt custom options type. (Bug#7445)
2265 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
2267 * progmodes/python.el: Add Ipython support (Bug#5390).
2268 (python-shell-prompt-alist)
2269 (python-shell-continuation-prompt-alist): New options.
2270 (python--set-prompt-regexp): New function.
2271 (inferior-python-mode, run-python, python-shell):
2272 Require ansi-color. Use python--set-prompt-regexp to set the comint
2273 prompt based on the Python interpreter.
2274 (python--prompt-regexp): New var.
2275 (python-check-comint-prompt)
2276 (python-comint-output-filter-function): Use it.
2277 (run-python): Use a pipe (Bug#5694).
2279 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
2281 * progmodes/python.el (run-python): Doc fix.
2282 (python-keep-current-directory-in-path): New var (Bug#7454).
2284 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
2286 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
2287 Prompt user before actually printing.
2289 2010-11-27 Glenn Morris <rgm@gnu.org>
2291 * startup.el (package-enable-at-startup, package-initialize):
2292 Remove unnecessary declarations.
2294 2010-11-27 Eli Zaretskii <eliz@gnu.org>
2296 * international/characters.el (glyphless-char-display-control):
2297 Exclude newline and TAB from the c0-control group.
2299 2010-11-27 Glenn Morris <rgm@gnu.org>
2301 * mail/sendmail.el (build-mail-aliases): Doc fix for autoload.
2302 (expand-mail-aliases): Remove unnecessary autoload.
2304 * allout.el (allout-command-prefix, allout-mode-map): Declare.
2306 * shell.el (shell-dir-cookie-re): Move definition before use.
2308 * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
2309 Replace undefined CL functions.
2311 2010-11-26 Eli Zaretskii <eliz@gnu.org>
2313 * simple.el (prog-mode): Set bidi-paragraph-direction to
2316 * term/pc-win.el (x-get-selection-internal): Emulation for MS-DOS.
2318 2010-11-26 Glenn Morris <rgm@gnu.org>
2320 * calendar/diary-lib.el (diary-outlook-format-1): New function, so that
2321 diary-outlook-formats can be sensitive to calendar-date-style.
2322 (diary-outlook-formats): Simplify the default setting.
2323 (diary-from-outlook-internal): Pass subject and body as arguments.
2324 Use dolist rather than dotimes. Don't save the diary buffer.
2325 (diary-from-outlook-gnus, diary-from-outlook-rmail):
2326 Pass subject and body as explicit arguments to the -internal function.
2328 2010-11-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
2330 * mail/rfc2368.el (rfc2368-parse-mailto-url): Unfold URLs before
2331 parsing them. This makes mailto:...?subject=foo\nbar work.
2333 2010-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
2335 * vc/diff.el (diff): Fix last change.
2337 2010-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
2339 * emacs-lisp/pcase.el: Improve pcase-let. Use "pcase--" prefix.
2340 (pcase--dontcare-upats): New var.
2341 (pcase-let, pcase-let*): Generate better code.
2342 Accept the same bodies as `let'.
2343 (pcase-dolist): New macro.
2344 (pcase--trivial-upat-p): New helper function.
2345 (pcase--expand): Strip leading "(let nil" if any.
2347 2010-11-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
2349 * mail/mailclient.el (browse-url): Require.
2350 (mailclient-send-it): Bind `browse-url-mailto-function' to nil to
2351 use the external browser function to send the mail (bug#7469).
2353 * net/browse-url.el (browse-url-browser-function): Revert the
2354 default back to the previous value, since the new value broke
2356 (browse-url-mailto-function): New variable for mailto: URLs.
2357 (browse-url): Use the new variable for mailto: URLs.
2359 2010-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
2361 * eshell/esh-cmd.el (eshell-parse-command):
2362 * eshell/esh-arg.el (eshell-parse-arguments):
2363 * eshell/em-script.el (eshell-source-file):
2364 Use with-silent-modifications.
2366 2010-11-23 Chong Yidong <cyd@stupidchicken.com>
2368 * vc/vc.el (vc-merge): Remove optional arg PROMPT. Always prompt
2369 for a merge location.
2371 * vc/vc-bzr.el (vc-bzr-pull): Remove unused var.
2372 (vc-bzr-merge-branch): Always prompt.
2373 (vc-bzr-async-command): Use the full branch filename.
2375 2010-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
2377 * shell.el (shell): Use current-buffer by default if it's already
2378 a shell mode buffer and its process is dead.
2379 Suggested by Jose E. Marchesi <jemarch@gnu.org>.
2381 2010-11-23 Tassilo Horn <tassilo@member.fsf.org>
2383 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
2384 Mention that the keywords should be comma separated.
2386 2010-11-23 Chong Yidong <cyd@stupidchicken.com>
2388 * vc/vc.el (vc-merge): Use vc-BACKEND-merge-branch if available.
2389 Accept optional prefix arg meaning to prompt for a command.
2390 (vc-update): Use vc-BACKEND-pull if available. Accept optional
2391 prefix arg meaning to prompt for a command.
2392 (vc-pull): Alias for vc-update.
2394 * vc/vc-bzr.el (vc-bzr-admin-branchconf, vc-bzr-history): New vars.
2395 (vc-bzr--branch-conf, vc-bzr-async-command, vc-bzr-pull)
2396 (vc-bzr-merge-branch): New functions, implementing merge-branch
2397 and pull operations.
2399 2010-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
2401 * Makefile.in: Fix up last merge.
2403 * vc/diff.el (diff-old-temp-file, diff-new-temp-file): Remove.
2404 (diff-sentinel): Get them as arguments instead.
2405 (diff-old-file, diff-new-file, diff-extra-args): Remove.
2406 (diff-file-local-copy, diff-better-file-name): New funs.
2407 (diff-no-select): Rename from diff-into-buffer.
2408 Support buffers additionally to files. Move `buf' arg. Don't display buf.
2409 Prefer closures to buffer-local variables.
2410 (diff): Adjust accordingly.
2411 (diff-buffer-with-file): Move from files.el.
2412 * files.el (diff-buffer-with-file): Move to vc/diff.el.
2413 (diff-buffer-internal): Remove.
2414 (diff-buffer-buffer): Remove.
2415 (save-some-buffers-action-alist): Use diff-no-select so as not to guess
2416 the buffer name used, and so as not to mess up windows and frames.
2418 2010-11-22 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
2420 * files.el: Make revert work with diff-buffer-with-file (bug#7277).
2421 (diff-buffer-internal): New function extracted from diff-buffer-with-file
2422 (diff-buffer-with-file): Use it.
2423 * vc/diff.el (diff-into-buffer): New fun, extracted from diff.
2426 2010-11-22 Tassilo Horn <tassilo@member.fsf.org>
2428 * textmodes/reftex-ref.el (reftex-goto-label): Use the current
2429 \ref's or \pageref's value as default instead of initial input.
2431 2010-11-21 Michael Albinus <michael.albinus@gmx.de>
2433 * files.el (backup-by-copying-when-mismatch): The default value is
2436 * startup.el (normal-top-level):
2437 * net/tramp.el (tramp-handle-insert-file-contents): Do not set
2438 `backup-by-copying-when-mismatch'.
2440 2010-11-21 Jan Djärv <jan.h.d@swipnet.se>
2442 * tool-bar.el (tool-bar-setup): Remove save as, print and customize.
2444 2010-11-21 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2446 * progmodes/python.el (python-font-lock-keywords):
2447 Highlight top-level augmented assignments (Bug#6445).
2449 2010-11-21 Jan Djärv <jan.h.d@swipnet.se>
2451 * term/ns-win.el (ns-right-control-modifier)
2452 (ns-right-command-modifier): Defvar them.
2454 * cus-start.el (all): Add ns-right-control-modifier and
2455 ns-right-command-modifier (Bug#7458).
2457 2010-11-20 Glenn Morris <rgm@gnu.org>
2459 * emacs-lisp/authors.el (authors-ignored-files)
2460 (authors-valid-file-names, authors-renamed-files-alist): Add entries.
2462 2010-11-20 Tassilo Horn <tassilo@member.fsf.org>
2464 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs)
2465 (report-emacs-bug-parse-query-results)
2466 (report-emacs-bug-create-existing-bugs-buffer): Pass through
2467 keywords used for querying the bug database to show them in the
2468 existing bugs buffer.
2470 2010-11-20 Jan Djärv <jan.h.d@swipnet.se>
2472 * tool-bar.el (tool-bar-setup): Add some :vert-only keywords.
2474 * info.el (info-tool-bar-map): Add some :vert-only keywords.
2476 2010-11-20 Eli Zaretskii <eliz@gnu.org>
2478 * international/characters.el (glyphless-char-display-control):
2479 Make it a defcustom, with update-glyphless-char-display as its
2481 (top level): Don't call update-glyphless-char-display.
2483 2010-11-20 Michael Albinus <michael.albinus@gmx.de>
2485 Sync with Tramp 2.2.0.
2487 * net/tramp.el (tramp-handle-insert-file-contents): Don't use
2488 `file-remote-p' (due to compatibility).
2490 * net/tramp-sh.el (tramp-do-copy-or-rename-file-directly)
2491 (tramp-do-copy-or-rename-file-out-of-band): Use `ignore-errors'.
2493 * net/trampver.el: Update release number.
2495 2010-11-20 Eli Zaretskii <eliz@gnu.org>
2497 * faces.el (glyphless-char): Define value for `pc'.
2499 2010-11-20 Tassilo Horn <tassilo@member.fsf.org>
2501 Implemented a bug querying mechanism.
2502 * mail/emacsbug.el (report-emacs-bug-tracker-url): New variable.
2503 (report-emacs-bug-create-existing-bugs-buffer)
2504 (report-emacs-bug-parse-query-results)
2505 (report-emacs-bug-query-existing-bugs): New functions.
2507 2010-11-19 Tassilo Horn <tassilo@member.fsf.org>
2509 * textmodes/reftex-ref.el (reftex-goto-label): If point is inside
2510 a \ref{} or \pageref{} macro, then use its value as initial input.
2512 2010-11-19 Jay Belanger <jay.p.belanger@gmail.com>
2514 * calc/calc-units.el (math-build-units-table-buffer):
2515 calc/README: Mention that the TeX specific units won't use the
2516 `tex' prefix in TeX mode.
2517 calc/calc-lang.el (math-variable-table): Don't use the `tex'
2518 prefix for units in TeX mode.
2520 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2522 * simple.el (kill-new, kill-append, kill-region):
2523 * comint.el (comint-kill-region): Make the yank-handler argument
2526 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2528 * emacs-lisp/smie.el (smie-bnf-classify): Signal errors for tokens
2529 that are both openers (resp. closers) and something else.
2530 (smie-grammar): Loosen definition of valid values.
2531 (smie-next-sexp, smie-down-list, smie-blink-matching-open)
2532 (smie-indent--parent, smie-rule-parent, smie-indent-keyword)
2533 (smie-indent-after-keyword): Adjust users.
2534 (smie-indent-keyword): Don't indent empty lines.
2536 * vc-hg.el (vc-hg-program): New var.
2537 Suggested by Norman Gray <norman@astro.gla.ac.uk>.
2538 (vc-hg-state, vc-hg-working-revision, vc-hg-command): Use it.
2540 2010-11-18 Glenn Morris <rgm@gnu.org>
2542 * emacs-lisp/autoload.el (autoload-find-destination): The function
2543 coding-system-eol-type may return non-numeric values. (Bug#7414)
2545 2010-11-18 Ulrich Mueller <ulm@gentoo.org>
2547 * server.el (server-force-stop): Ensure the server is stopped (Bug#7409).
2549 2010-11-18 Eli Zaretskii <eliz@gnu.org>
2551 * subr.el (posn-col-row): Pay attention to header line. (Bug#7390)
2553 2010-11-18 Chong Yidong <cyd@stupidchicken.com>
2555 * textmodes/picture.el (picture-mouse-set-point): Don't use
2556 posn-col-row; explicitly compute the motion based on the posn at
2557 the window-start (Bug#7390).
2559 2010-11-18 Glenn Morris <rgm@gnu.org>
2561 * novice.el (disabled-command-function):
2562 Fix 2009-11-15 change. (Bug#7384)
2564 2010-11-18 Glenn Morris <rgm@gnu.org>
2566 * calendar/calendar.el (diary-iso-date-forms): Make elements
2567 mutually exclusive. (Bug#7377)
2569 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2571 * emacs-lisp/smie.el (smie-prec2->grammar): Obey equality constraints
2572 when filling the remaining "unconstrained" values.
2574 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2576 * emacs-lisp/bytecomp.el (byte-compile-warnings): Simplify the
2579 * files.el (safe-local-variable-p): Gracefully handle errors.
2581 * emacs-lisp/smie.el (smie-rule-parent, smie-indent--rule):
2582 Use smie-indent-virtual when indenting relative to an opener.
2583 (smie-rule-separator): Use smie-rule-parent.
2584 (smie-indent-keyword): Consult rules, even for openers at bol.
2585 (smie-indent-comment-close): Try to align closer's content.
2587 2010-11-18 Glenn Morris <rgm@gnu.org>
2589 * ls-lisp.el (ls-lisp-dired-ignore-case): Make it an obsolete alias.
2591 2010-11-18 Glenn Morris <rgm@gnu.org>
2593 * printing.el (pr-menu-bind): Doc fix.
2595 * speedbar.el (speedbar-toggle-images): Doc fix.
2597 * progmodes/python.el (python-shell): Doc fix.
2599 * wid-edit.el (widget-field-use-before-change)
2600 (widget-use-overlay-change): Doc fixes.
2602 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2604 Minor cleanup to improve style.
2605 * textmodes/rst.el (rst-update-section): Use point-marker.
2606 (rst-get-decoration): Eliminate unneeded assignment.
2607 (rst-promote-region, rst-straighten-decorations)
2608 (rst-section-tree, rst-adjust): Use point-marker.
2609 (rst-toc-mode-mouse-goto): Avoid setq.
2610 (rst-shift-region-guts, rst-shift-region-left)
2611 (rst-iterate-leftmost-paragraphs, rst-iterate-leftmost-paragraphs-2)
2612 (rst-convert-bullets-to-enumeration): Use copy-marker.
2614 * minibuffer.el (completion-fail-discreetly): New var.
2615 (completion--do-completion): Use it.
2617 * electric.el (electric-pair-pairs): New var.
2618 (electric-pair-post-self-insert-function): Use it.
2619 (electric-layout-post-self-insert-function): Don't insert a before
2620 newline unless it's actually needed.
2622 2010-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
2624 * progmodes/python.el (run-python): Explain why we remove the current
2625 directory from sys.path. Suggested by Eric Hanchrow <erich@cozi.com>.
2627 * progmodes/grep.el (grep-regexp-alist): Tighten the regexp (bug#7378).
2629 2010-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
2631 * progmodes/octave-mod.el: Rely on elecric-*-modes.
2632 (octave-mode-map): Don't bind ;, SPC, and LF.
2633 (octave-auto-indent, octave-auto-newline): Remove.
2634 (electric-layout-rules): Declare.
2635 (octave-mode): Set electric-layout-rules.
2636 (octave-indent-new-comment-line): Use reindent-then-newline-and-indent.
2637 (octave-reindent-then-newline-and-indent, octave-electric-semi)
2638 (octave-electric-space): Remove.
2640 * electric.el (electric-layout-mode): New minor mode.
2641 (electric--after-char-pos): New function.
2642 (electric-indent-post-self-insert-function): Use it.
2643 (electric-layout-rules): New var.
2644 (electric-layout-post-self-insert-function): New function.
2645 (electric-indent-mode): Make them interact better.
2647 2010-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
2649 * emacs-lisp/checkdoc.el (checkdoc-syntax-table): Fix last change.
2650 (checkdoc-sentencespace-region-engine, checkdoc-this-string-valid)
2651 (checkdoc-proper-noun-region-engine): Use with-syntax-table.
2653 2010-11-15 Agustín Martín <agustin.martin@hispalinux.es>
2655 * textmodes/flyspell.el (flyspell-generic-progmode-verify):
2656 Make sure to check inside the word (Bug#6761).
2658 2010-11-14 Chong Yidong <cyd@stupidchicken.com>
2660 * startup.el (command-line): If the cursorColor resource is set,
2661 change the cursor face-spec (Bug#7392).
2663 2010-11-13 Ken Manheimer <ken.manheimer@gmail.com>
2665 The main features of the following allout.el changes are:
2666 - implement user customization for the allout key bindings
2667 - add a customization control by which the user can inhibit use of
2668 a trailing Ctrl-H, so by default it's reserved for use with
2669 describe-prefix-bindings
2670 - adapt to new version of called-interactively-p, while
2671 maintaining backwards compatibility with old version
2672 - fix hotspot navigation so i works properly with meta-modified keys
2674 * allout.el (allout-keybindings, allout-bind-keys)
2675 (allout-keybindings-binding, allout-prefixed-keybindings)
2676 (allout-unprefixed-keybindings, allout-preempt-trailing-ctrl-h)
2677 (allout-keybindings-list, allout-mode-map-adjustments)
2678 (allout-setup-mode-map): Establish allout-mode keymaps as user
2679 customizable settings, and also establish a customizable setting which
2680 regulates whether or not a trailing control-h is reserved for use with
2681 describe-prefix-bindings - and inhibit it by default, so that control-h
2682 *is* reserved for describe-prefix-bindings unless the user changes it.
2684 * allout.el (allout-hotspot-key-handler): Distinguish more explicitly
2685 and accurately between modified and unmodified events, and handle
2686 modified events more comprehensively.
2688 * allout.el (allout-substring-no-properties):
2689 Alias to use or provide version of `substring-no-properties'.
2690 (allout-solicit-alternate-bullet): Use `allout-substring-no-properties'.
2692 * allout.el (allout-next-single-char-property-change):
2693 Alias to use or provide version of `next-single-char-property-change'.
2694 (allout-annotate-hidden, allout-hide-by-annotation):
2695 Use `allout-next-single-char-property-change'.
2697 * allout.el (allout-select-safe-coding-system):
2698 Alias to use or provide version of `select-safe-coding-system'.
2699 (allout-toggle-subtree-encryption):
2700 Use `allout-select-safe-coding-system'.
2702 * allout.el (allout-set-buffer-multibyte):
2703 Alias to use or provide version of `set-buffer-multibyte'.
2704 (allout-encrypt-string): Use `allout-set-buffer-multibyte'.
2706 * allout.el (allout-called-interactively-p): Macro for using the
2707 different versions of called-interactively-p identically, depending on
2708 the subroutine's argument signature.
2709 (allout-back-to-current-heading, allout-beginning-of-current-entry):
2710 Use `(interactive "p")' instead of `(called-interactively-p)'.
2712 * allout.el (allout-init, allout-ascend, allout-end-of-level)
2713 (allout-previous-visible-heading, allout-forward-current-level)
2714 (allout-backward-current-level, allout-show-children):
2715 Use `allout-called-interactively-p' instead of `called-interactively-p'.
2717 * allout.el (allout-before-change-handler):
2718 Exempt edits to the (overlaid) character after the allout outline
2719 bullet from edit confirmation prompt.
2721 * allout.el (allout-add-resumptions):
2722 Ensure that it respects correct buffer for keybindings.
2724 * allout.el (allout-beginning-of-line):
2725 Use `allout-previous-single-char-property-change' alias for the sake of
2726 diverse compatibility.
2728 * allout.el (allout-end-of-line):
2729 Use `allout-mark-active-p' to encapsulate respect for mark activity.
2731 2010-11-13 Chong Yidong <cyd@stupidchicken.com>
2733 * frame.el (frame-notice-user-settings): Don't clobber other
2734 user-set parameters when calling face-set-after-frame-default in
2735 response to background-color parameter (Bug#7373).
2737 2010-11-13 Eli Zaretskii <eliz@gnu.org>
2739 * international/characters.el (glyphless-char-display-control):
2740 Rename from glyphless-char-control; all users changed. Doc fix.
2741 Signal an error if display method is not one of the recognized
2744 2010-11-13 Michael Albinus <michael.albinus@gmx.de>
2746 * net/tramp-compat.el (tramp-compat-line-beginning-position)
2747 (tramp-compat-line-end-position): Remove them.
2749 * net/tramp.el (tramp-parse-rhosts-group)
2750 (tramp-parse-shosts-group, tramp-parse-sconfig-group)
2751 (tramp-parse-hosts-group, tramp-parse-passwd-group)
2752 (tramp-parse-netrc-group, tramp-parse-putty-group)
2753 * net/tramp-cmds.el (tramp-append-tramp-buffers)
2754 * net/tramp-sh.el (tramp-do-file-attributes-with-ls)
2755 (tramp-sh-handle-file-selinux-context)
2756 (tramp-sh-handle-file-name-all-completions)
2757 (tramp-sh-handle-insert-directory)
2758 (tramp-sh-handle-expand-file-name, tramp-find-executable)
2759 (tramp-wait-for-output, tramp-send-command-and-read)
2760 * net/tramp-smb.el (tramp-smb-read-file-entry)
2761 (tramp-smb-get-cifs-capabilities): Use `point-at-eol'.
2763 * net/tramp-sh.el (tramp-sh-handle-insert-directory) Use
2765 (tramp-remote-coding-commands): Add an alternative using "base64
2766 -d -i". This is needed for older base64 versions from GNU
2767 coreutils. Reported by Klaus Reichl
2768 <Klaus.Reichl@thalesgroup.com>.
2770 2010-11-13 Hrvoje Niksic <hniksic@xemacs.org>
2772 * simple.el (count-words-region): New function.
2774 2010-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
2776 * shell.el (shell-dir-cookie-re): New custom variable.
2777 (shell-dir-cookie-watcher): New function.
2779 * vc/vc.el (vc-deduce-backend): Use default-directory in shell-mode
2780 and compilation-mode (bug#7350).
2782 * vc/smerge-mode.el (smerge-refine): Choose better default part to
2783 highlight when one of them is empty.
2785 * skeleton.el (skeleton-read): Don't use `newline' since it may strip
2787 (skeleton-newline): New function.
2788 (skeleton-internal-1): Use it.
2790 * simple.el (open-line): `newline' may strip trailing space.
2792 2010-11-12 Kevin Ryde <user42@zip.com.au>
2794 * international/mule-cmds.el (princ-list): Use mapc.
2796 2010-11-12 Glenn Morris <rgm@gnu.org>
2798 * emacs-lisp/bytecomp.el (byte-compile-log-buffer): New constant.
2799 Use it to replace all instances of "*Compile-Log*"
2801 2010-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
2803 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Add debug and
2806 2010-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2808 * progmodes/modula2.el: Use SMIE and skeleton.
2809 (m2-mode-syntax-table): (*..*) can be nested.
2810 Add //...\n. Fix paren syntax.
2811 (m2-mode-map): Remove LF and TAB bindings.
2812 (m2-indent): Add safety property.
2813 (m2-smie-grammar): New var.
2814 (m2-smie-refine-colon, m2-smie-refine-of, m2-smie-backward-token)
2815 (m2-smie-forward-token, m2-smie-refine-semi, m2-smie-rules): New funs.
2816 (m2-mode): Use define-derived-mode.
2817 (m2-newline, m2-tab): Remove.
2818 (m2-begin, m2-case, m2-definition, m2-else, m2-for, m2-header)
2819 (m2-if, m2-loop, m2-module, m2-or, m2-procedure, m2-with, m2-record)
2820 (m2-stdio, m2-type, m2-until, m2-var, m2-while, m2-export)
2821 (m2-import): Use define-skeleton.
2823 2010-11-11 Glenn Morris <rgm@gnu.org>
2825 * obsolete/lucid.el: Don't warn about any CL functions in this file.
2827 * ls-lisp.el (ls-lisp-ignore-case, ls-lisp-dirs-first)
2828 (ls-lisp-verbosity): Add custom :set-after property.
2829 (ls-lisp-verbosity, ls-lisp-use-localized-time-format): Doc fixes.
2830 (ls-lisp-format, ls-lisp-format-time): Don't take `now' as an argument.
2831 (ls-lisp-insert-directory): Update caller.
2832 (ls-lisp-set-options): New function.
2833 (ls-lisp-emulation): Use ls-lisp-set-options for custom :set.
2836 * play/landmark.el (lm-prompt-for-move):
2837 * play/gomoku.el (gomoku-prompt-for-move): Remove nonsensical code.
2839 * progmodes/idlw-complete-structtag.el: Remove unused dec `name'.
2841 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins)
2842 (idlwave-study-twins): Prefix dynamic local variable `name'.
2843 (idlwave-routine-twin-compare): Update for above change.
2845 * progmodes/idlw-help.el (idlwave-do-mouse-completion-help):
2846 Prefix dynamic local variables `name', `kwd', and `link'.
2847 * progmodes/idlw-shell.el (idlwave-shell-complete-execcomm-help):
2848 * progmodes/idlw-complete-structtag.el
2849 (idlwave-complete-structure-tag-help):
2850 * progmodes/idlwave.el (idlwave-complete-sysvar-help)
2851 (idlwave-complete-sysvar-tag-help)
2852 (idlwave-complete-class-structure-tag-help):
2853 Update for above name changes.
2855 2010-11-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
2857 * net/browse-url.el (browse-url-browser-function): Change the
2858 default to use `browse-url-mail' on mailto: URLs.
2860 2010-11-10 Chong Yidong <cyd@stupidchicken.com>
2862 * emacs-lisp/package.el (package-read-all-archive-contents):
2863 Reset package-archive-contents to nil before re-reading.
2865 2010-11-10 Brandon Craig Rhodes <brandon@rhodesmill.org> (tiny change)
2867 * textmodes/flyspell.el (flyspell-word): Do not re-check words
2868 already found as misspellings by (flyspell-large-region), just
2869 do highlighting (bug#7322).
2871 2010-11-10 Glenn Morris <rgm@gnu.org>
2873 * progmodes/octave-mod.el (octave-mark-block): Update for smie change.
2875 * emulation/edt.el (edt-with-position): New macro.
2876 (edt-find-forward, edt-find-backward, edt-find-next-forward)
2877 (edt-find-next-backward, edt-sentence-forward, edt-sentence-backward)
2878 (edt-paragraph-forward, edt-paragraph-backward): Use it.
2880 * emulation/tpu-extras.el (tpu-with-position): New macro.
2881 (tpu-paragraph, tpu-page, tpu-search-internal): Use it.
2883 * textmodes/texnfo-upd.el (texinfo-pointer-name): Fix typo.
2885 * textmodes/texnfo-upd.el (texinfo-all-menus-update)
2886 (texinfo-menu-copy-old-description, texinfo-start-menu-description)
2887 (texinfo-master-menu, texinfo-insert-node-lines)
2888 (texinfo-multiple-files-update):
2889 * textmodes/texinfmt.el (texinfo-append-refill, texinfo-copying):
2890 Use line-beginning-position.
2892 * progmodes/cperl-mode.el (cperl-find-pods-heres, cperl-write-tags):
2893 No recent Emacs supports system-type `emx'.
2895 * progmodes/ada-xref.el (is-windows): Rename to ada-on-ms-windows.
2896 (ada-command-separator, ada-default-prj-properties)
2897 (ada-find-any-references): Update for above name change.
2899 * dirtrack.el (dirtrack-directory-function)
2900 (dirtrack-canonicalize-function):
2901 * filecache.el (file-cache-completion-ignore-case)
2902 (file-cache-case-fold-search, file-cache-ignore-case):
2903 * term.el (serial-port-is-file-p): Cosmetic change.
2905 * emulation/viper-init.el (viper-ms-style-os-p): Doc fix.
2906 Remove non-existent `windows-95' system-type.
2907 * dired.el (dired-chown-program): Remove non-existent `linux'
2910 * net/net-utils.el (net-utils-remove-ctl-m): Use memq for system-types.
2911 (ping-program-options): Remove non-existent `linux' system-type.
2913 * startup.el (package-initialize): Update declaration.
2915 * ls-lisp.el (ls-lisp-time-lessp, ls-lisp-time-to-seconds): Remove.
2916 (ls-lisp-handle-switches): Use time-less-p.
2917 (ls-lisp-format-time): Use float-time.
2919 * textmodes/remember.el (remember-time-to-seconds): Remove.
2920 (remember-store-in-mailbox): Use float-time.
2922 * calendar/timeclock.el (timeclock-time-to-seconds): Make it an alias.
2924 * calendar/time-date.el (time-to-seconds): Always an alias on Emacs,
2925 never a real function.
2926 (with-no-warnings): Remove compat stub, now unused.
2927 (time-less-p): Doc fix.
2928 (time-to-number-of-days): Simplify.
2930 * eshell/esh-util.el (eshell-time-less-p, eshell-time-to-seconds):
2932 (eshell-read-passwd, eshell-read-hosts): Use time-less-p.
2933 * eshell/esh-test.el (eshell-test, eshell-show-usage-metrics):
2934 * eshell/em-unix.el (eshell-show-elapsed-time, eshell/time):
2935 * eshell/em-pred.el (eshell-pred-file-time): Use float-time.
2936 * eshell/em-ls.el (eshell-ls-sort-entries): Use time-less-p.
2938 * eshell/em-unix.el (eshell-remove-entries, eshell/rm)
2939 (eshell-shuffle-files, eshell-shorthand-tar-command)
2940 (eshell-mvcpln-template, eshell/mv, eshell/cp, eshell/ln):
2941 Prefix dynamic locals `interactive', `preview', `recursive', `verbose'.
2942 * eshell/em-glob.el (eshell-extended-glob, eshell-glob-entries):
2943 Prefix dynamic local variable `matches'.
2945 * skeleton.el (skeleton-internal-list, skeleton-internal-1):
2946 Prefix dynamic local variable `skeleton'.
2948 2010-11-10 Katsumi Yamaoka <yamaoka@jpl.org>
2950 * net/browse-url.el (browse-url-mail): Insert body part of mailto url
2951 in mail buffer; make yank-action always a command that yanks original
2954 2010-11-09 Glenn Morris <rgm@gnu.org>
2956 * progmodes/tcl.el (tcl-hairy-scan-for-comment): Doc fix.
2958 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
2960 * minibuffer.el (minibuffer-completion-help): Specify the end of the
2961 completion field (bug#7211).
2963 * progmodes/python.el (python-font-lock-syntactic-keywords): (bug#7322)
2964 Fix handling of backslash escapes.
2965 (python-quote-syntax): Adjust accordingly.
2967 2010-11-09 Richard Levitte <richard@levitte.org> (tiny change)
2969 * vc-mtn.el (vc-mtn-working-revision, vc-mtn-after-dir-status)
2970 (vc-mtn-workfile-branch): Adjust to new output format.
2972 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
2974 * international/mule-cmds.el (princ-list): Mark as obsolete.
2976 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
2978 * emacs-lisp/smie.el: New package.
2980 2010-11-09 Michael Albinus <michael.albinus@gmx.de>
2982 * files.el (backup-by-copying-when-mismatch):
2983 Set `permanent-local' property.
2985 * net/tramp.el (tramp-handle-insert-file-contents): Do not set
2986 `permanent-local' property for `backup-by-copying-when-mismatch'.
2988 2010-11-09 Eli Zaretskii <eliz@gnu.org>
2990 * ls-lisp.el (insert-directory): Doc fix. (bug#7285)
2992 2010-11-09 Wilson Snyder <wsnyder@wsnyder.org>
2994 * progmodes/verilog-mode.el (verilog-insert-one-definition)
2995 (verilog-read-decls, verilog-read-sub-decls-sig): Fix AUTOWIRE and
2996 AUTOINOUT for SV style multidimensional arrays, bug294.
2997 Reported by Eric Mastromarchi.
2998 (verilog-preprocess): Use with-current-buffer and
2999 font-lock-fontify-buffer to cleanup style issues.
3001 2010-11-09 Glenn Morris <rgm@gnu.org>
3003 * locate.el (locate, locate-mode): Doc fixes.
3005 2010-11-09 Chong Yidong <cyd@stupidchicken.com>
3007 * server.el (server-start): New arg INHIBIT-PROMPT prevents asking
3008 user for confirmation.
3009 (server-force-stop): Use it.
3010 (server-start): Use server-force-stop for kill-emacs-hook, to
3011 avoid user interaction while killing Emacs.
3013 2010-11-09 Glenn Morris <rgm@gnu.org>
3015 * progmodes/meta-mode.el: Remove leading `*' from defcustom docs.
3016 (meta-indent-line): Simplify.
3018 * vc/emerge.el (emerge-line-number-in-buf):
3019 * textmodes/ispell.el (ispell-region):
3020 * textmodes/fill.el (current-fill-column):
3021 * progmodes/xscheme.el (xscheme-send-current-line):
3022 * progmodes/vhdl-mode.el (vhdl-current-line, vhdl-line-copy):
3023 * progmodes/tcl.el (tcl-hairy-scan-for-comment):
3024 * progmodes/sh-script.el (sh-handle-prev-do):
3025 * progmodes/meta-mode.el (meta-indent-line):
3026 * progmodes/idlwave.el (idlwave-goto-comment, idlwave-fill-paragraph)
3028 * progmodes/idlw-shell.el (idlwave-shell-current-frame)
3029 (idlwave-shell-update-bp-overlays, idlwave-shell-sources-filter):
3030 * progmodes/fortran.el (fortran-looking-at-if-then):
3031 * progmodes/etags.el (find-tag-in-order, etags-snarf-tag):
3032 * progmodes/cperl-mode.el (cperl-sniff-for-indent)
3033 (cperl-find-pods-heres):
3034 * progmodes/ada-mode.el (ada-get-current-indent, ada-narrow-to-defun):
3035 * net/quickurl.el (quickurl-list-insert):
3036 * net/ldap.el (ldap-search-internal):
3037 * net/eudc.el (eudc-expand-inline):
3038 * mail/sendmail.el (sendmail-send-it):
3039 * mail/mspools.el (mspools-visit-spool, mspools-get-spool-name):
3040 * emulation/viper-cmd.el (viper-paren-match, viper-backward-indent)
3041 (viper-brac-function):
3042 * calc/calc-yank.el (calc-do-grab-region):
3043 * calc/calc-keypd.el (calc-keypad-press):
3044 * term.el (term-move-columns, term-insert-spaces):
3045 * speedbar.el (speedbar-highlight-one-tag-line):
3046 * simple.el (current-word):
3047 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
3048 * info.el (Info-find-node-in-buffer-1, Info-follow-reference)
3050 * hippie-exp.el (he-line-beg):
3051 * epa.el (epa--marked-keys):
3052 * dired-aux.el (dired-kill-line, dired-do-kill-lines)
3053 (dired-update-file-line, dired-add-entry, dired-remove-entry)
3054 (dired-relist-entry):
3055 * buff-menu.el (Buffer-menu-buffer):
3056 * array.el (current-line):
3057 * allout.el (allout-resolve-xref)
3058 (allout-latex-verbatim-quote-curr-line):
3059 Replace yet more uses of end-of-line etc with line-end-position, etc.
3061 2010-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3063 * emacs-lisp/checkdoc.el (checkdoc-display-status-buffer)
3064 (checkdoc-interactive-loop, checkdoc-recursive-edit): Avoid princ-list.
3065 (checkdoc-syntax-table): Initialize in the declaration.
3066 (emacs-lisp-mode-hook): Use just checkdoc-minor-mode now that it turns
3067 the mode on unconditionally.
3069 * emacs-lisp/cl-macs.el (extent-data, extent-face, extent-priority)
3070 (extent-end-position, extent-start-position): Remove setf method for
3071 non-existing functions (bug#7319).
3073 2010-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
3075 * emacs-lisp/smie.el: Simplify the smie-rules-function return values.
3076 (smie-precs->prec2): Rename from smie-precs-precedence-table.
3077 (smie-bnf->prec2): Rename from smie-bnf-precedence-table.
3078 (smie-prec2->grammar): Rename from smie-prec2-levels.
3079 (smie-grammar): Rename from smie-op-levels.
3080 (smie-indent--hanging-p): Rename from smie-hanging-p.
3081 (smie-rule-hanging-p): New alias.
3082 (smie-indent--bolp): Rename from smie-bolp.
3083 (smie-indent--hanging-p): New alias.
3084 (smie--token): New dynamically bound variable.
3085 (smie-indent--parent): New function.
3086 (smie-rule-parent-p): Use it; rename from smie-parent-p.
3087 (smie-rule-next-p): Rename from smie-next-p.
3088 (smie-rule-prev-p): Rename from smie-prev-p.
3089 (smie-rule-sibling-p, smie-rule-parent)
3090 (smie-indent--separator-outdent, smie-rule-separator): New functions.
3091 (smie-rule-separator-outdent): New var.
3092 (smie-indent--rule): Merge with smie-indent--column.
3093 (smie-indent-forward-token, smie-indent-backward-token):
3094 Also recognize close parens.
3095 (smie-indent-keyword): Don't use smie-indent--column any more.
3096 (smie-indent-after-keyword): Ignore closers by default.
3097 (smie-indent-line): Use with-demoted-errors.
3098 * progmodes/octave-mod.el (octave-smie-grammar):
3099 Rename from octave-smie-op-levels.
3100 (octave-smie-rules): Adjust to new behavior.
3101 * progmodes/prolog.el (prolog-smie-grammar):
3102 Rename from prolog-smie-op-levels.
3104 2010-11-07 Glenn Morris <rgm@gnu.org>
3106 * eshell/esh-util.el (subst-char-in-string)
3107 (directory-files-and-attributes): These compatibility definitions are
3108 not needed on any version of Emacs since at least 21.4.
3110 * progmodes/verilog-mode.el (verilog-get-beg-of-line)
3111 (verilog-get-end-of-line): Remove.
3112 (verilog-within-string, verilog-re-search-forward-substr)
3113 (verilog-re-search-backward-substr, verilog-set-auto-endcomments)
3114 (verilog-surelint-off, verilog-getopt-file, verilog-highlight-region):
3115 Use point-at-bol, point-at-eol.
3116 * progmodes/pascal.el (pascal-get-beg-of-line, pascal-get-end-of-line):
3118 (pascal-declaration-end, pascal-declaration-beg, pascal-within-string)
3119 (electric-pascal-terminate-line, pascal-set-auto-comments)
3120 (pascal-indent-paramlist, pascal-indent-declaration)
3121 (pascal-get-lineup-indent, pascal-func-completion)
3122 (pascal-get-completion-decl, pascal-var-completion, pascal-completion):
3123 Use point-at-bol, point-at-eol.
3124 * progmodes/flymake.el (flymake-line-beginning-position)
3125 (flymake-line-end-position): Remove.
3126 (flymake-highlight-line): Use point-at-bol, point-at-eol.
3127 * eshell/esh-util.el (line-end-position, line-beginning-position):
3128 Remove compat definitions.
3130 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
3132 (checkdoc-this-string-valid-engine, checkdoc-file-comments-engine):
3133 Use line-end-position.
3135 * emacs-lisp/chart.el (chart-zap-chars):
3136 * play/decipher.el (decipher-set-map):
3137 * progmodes/ada-mode.el (ada-get-current-indent)
3138 (ada-search-ignore-string-comment, ada-tab-hard, ada-untab-hard):
3139 * progmodes/ada-prj.el (ada-prj-load-from-file, ada-prj-display-help):
3140 * progmodes/ada-xref.el (ada-initialize-runtime-library)
3141 (ada-get-all-references):
3142 * progmodes/cperl-mode.el (cperl-electric-paren)
3143 (cperl-electric-rparen, cperl-electric-keyword, cperl-electric-else)
3144 (cperl-linefeed, cperl-sniff-for-indent, cperl-to-comment-or-eol)
3145 (cperl-find-pods-heres, cperl-indent-exp, cperl-fix-line-spacing)
3146 (cperl-word-at-point-hard):
3147 * progmodes/idlw-shell.el (idlwave-shell-move-or-history)
3148 (idlwave-shell-filename-string, idlwave-shell-batch-command)
3149 (idlwave-shell-display-line):
3150 * progmodes/idlwave.el (idlwave-show-begin, idlwave-fill-paragraph)
3151 (idlwave-calc-hanging-indent, idlwave-auto-fill, idlwave-template):
3152 * progmodes/js.el (js--re-search-forward-inner)
3153 (js--re-search-backward-inner):
3154 * progmodes/vhdl-mode.el (vhdl-align-region-1, vhdl-align-region-2)
3155 (vhdl-fix-clause, vhdl-compose-configuration-architecture):
3156 * progmodes/ruby-mode.el (ruby-parse-partial, eval-when-compile):
3157 * textmodes/flyspell.el (flyspell-process-localwords):
3158 * textmodes/ispell.el (ispell-buffer-local-parsing)
3159 (ispell-buffer-local-dict, ispell-buffer-local-words):
3160 Use point-at-bol and point-at-eol.
3162 * speedbar.el (speedbar-generic-item-info)
3163 (speedbar-item-info-tag-helper, speedbar-change-expand-button-char)
3164 (speedbar-add-indicator, speedbar-check-vc-this-line)
3165 (speedbar-check-obj-this-line, speedbar-extract-one-symbol)
3166 (speedbar-buffers-line-directory, speedbar-buffer-revert-buffer):
3167 Replace more uses of end-of-line etc with line-end-position.
3169 2010-11-06 Glenn Morris <rgm@gnu.org>
3171 * textmodes/texnfo-upd.el (texinfo-start-menu-description)
3172 (texinfo-update-menu-region-beginning, texinfo-menu-first-node)
3173 (texinfo-delete-existing-pointers, texinfo-find-pointer)
3174 (texinfo-clean-up-node-line, texinfo-insert-node-lines)
3175 (texinfo-multiple-files-update):
3176 * textmodes/table.el (table--probe-cell-left-up)
3177 (table--probe-cell-right-bottom):
3178 * textmodes/picture.el (picture-tab-search):
3179 * textmodes/page-ext.el (pages-copy-header-and-position)
3180 (pages-directory-for-addresses):
3181 * progmodes/vera-mode.el (vera-get-offset):
3182 * progmodes/simula.el (simula-calculate-indent):
3183 * progmodes/python.el (python-pdbtrack-overlay-arrow):
3184 * progmodes/prolog.el (end-of-prolog-clause):
3185 * progmodes/perl-mode.el (perl-calculate-indent, perl-indent-exp):
3186 * progmodes/icon.el (indent-icon-exp):
3187 * progmodes/etags.el (tag-re-match-p):
3188 * progmodes/ebrowse.el (ebrowse-show-file-name-at-point):
3189 * progmodes/ebnf2ps.el (ebnf-begin-file):
3190 * progmodes/dcl-mode.el (dcl-back-to-indentation-1)
3191 (dcl-save-local-variable):
3192 * play/life.el (life-setup):
3193 * play/gametree.el (gametree-looking-at-ply):
3194 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
3195 * mail/sendmail.el (mail-mode-auto-fill):
3196 * emacs-lisp/lisp-mode.el (calculate-lisp-indent):
3197 * emacs-lisp/edebug.el (edebug-overlay-arrow):
3198 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid):
3199 * woman.el (woman-parse-numeric-value, woman2-TH, woman2-SH)
3200 (woman-tab-to-tab-stop, WoMan-warn-ignored):
3201 * type-break.el (type-break-file-keystroke-count):
3202 * term.el (term-replace-by-expanded-history-before-point)
3203 (term-skip-prompt, term-extract-string):
3204 * speedbar.el (speedbar-edit-line, speedbar-expand-line)
3205 (speedbar-contract-line, speedbar-toggle-line-expansion)
3206 (speedbar-parse-c-or-c++tag, speedbar-parse-tex-string)
3207 (speedbar-buffer-revert-buffer, speedbar-highlight-one-tag-line):
3208 * sort.el (sort-skip-fields):
3209 * skeleton.el (skeleton-internal-list):
3210 * simple.el (line-move-finish, line-move-to-column):
3211 * shell.el (shell-forward-command):
3212 * misc.el (copy-from-above-command):
3213 * makesum.el (double-column):
3214 * ebuff-menu.el (electric-buffer-update-highlight):
3215 * dired.el (dired-move-to-end-of-filename):
3216 * dframe.el (dframe-popup-kludge):
3217 * bookmark.el (bookmark-kill-line, bookmark-bmenu-show-filenames):
3218 * arc-mode.el (archive-get-lineno):
3219 Use line-end-position and line-beginning-position.
3221 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins):
3222 (idlwave-study-twins): Prefix dynamic local `class'.
3223 (idlwave-routine-twin-compare): Update for above name change.
3225 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod):
3226 Use boundp tests to silence compiler. Update for changed name of
3227 bytecomp-filename variable.
3229 * emulation/viper-cmd.el (viper-read-string-with-history):
3230 Prefix dynamic local `initial'.
3231 (viper-minibuffer-standard-hook): Update for above name change.
3233 * emacs-lisp/elint.el (elint-init-env): Prefix dynamic local `env'.
3234 (elint-init-form): Update for above name change.
3236 * mail/mail-extr.el (mail-extract-address-components): Give dynamic
3237 local variables `cbeg' and `cend' a prefix.
3238 (mail-extr-voodoo): Update for above name change.
3240 * textmodes/reftex-toc.el (reftex-toc-do-promote)
3241 (reftex-toc-promote-prepare): Pass `delta' as an explicit argument.
3242 (reftex-toc-promote-action): Doc fix.
3244 * textmodes/reftex-sel.el (reftex-select-item): Give local variables
3245 `prompt', `data' a prefix.
3246 (reftex-select-post-command-hook, reftex-select-callback)
3247 (reftex-select-mouse-accept, reftex-select-read-cite):
3248 Update for above name changes.
3250 * textmodes/reftex-ref.el (reftex-reference): Rename local variable
3251 `refstyle' to reftex-refstyle.
3252 (reftex-offer-label-menu): Update for above name change.
3253 * textmodes/reftex-sel.el (reftex-select-toggle-varioref): Update for
3254 `refstyle' name change.
3256 * vc/emerge.el (emerge-eval-in-buffer): Remove, and replace all uses
3257 with with-current-buffer.
3258 (diff, template): Give dynamic local variables a prefix.
3259 (emerge-line-numbers): Rename local `diff' to emerge-line-diff.
3260 (emerge-line-number-in-buf): Update for above name change.
3261 (emerge-combine-versions-internal): Rename local `template' to
3262 emerge-combine-template.
3263 (emerge-combine-versions-edit): Update for above name change.
3265 2010-11-06 Ralf Angeli <angeli@caeruleus.net>
3267 * textmodes/reftex-cite.el
3268 (reftex-extract-bib-entries-from-thebibliography): Match bibitem
3269 entries with whitespace after \bibitem.
3270 (reftex-create-bibtex-file): Match entries containing numbers and
3271 symbol constituents. Make sure that entries with whitespace at
3272 various places are found.
3274 2010-11-05 Christian Millour <cm@abtela.com> (tiny change)
3276 * shell.el (shell-process-popd): Made aware of comint-file-name-prefix.
3278 2010-11-05 Jan Djärv <jan.h.d@swipnet.se>
3280 * mouse.el (mouse-yank-primary): Update comment (Bug#6802).
3282 2010-11-05 Glenn Morris <rgm@gnu.org>
3284 * woman.el (woman0-roff-buffer, woman1-roff-buffer)
3285 (woman2-roff-buffer): Give local variable `request' a prefix.
3286 (woman0-macro): Rename argument `request' in the same way.
3287 (woman-request): New name for `request' dynamic variable.
3288 (woman-unquote, woman-forward-arg): Update for above name change.
3289 (woman1-roff-buffer): Give local variable `unquote' a prefix.
3290 (woman1-unquote): New name for `unquote' dynamic variable.
3291 (woman1-B-or-I, woman1-alt-fonts): Update for above name change.
3292 (woman-translations): Rename from `translations'. No longer global.
3293 (woman2-tr, woman-translate): Update for above name change.
3294 (woman-translate): Check for bound variable.
3295 (woman2-roff-buffer): Give local variable `translations' a prefix.
3297 * play/doctor.el: Give all local variables a prefix. Update callers.
3298 (doc$, doctor-put-meaning): Use backquote.
3300 * emacs-lisp/cl-macs.el (loop): Give local variable args a prefix.
3301 (cl-parse-loop-clause, cl-loop-handle-accum): Update for above change.
3303 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Give local
3304 variables bytes, ptr, op a prefix.
3305 (disassemble-offset): Update for above change.
3307 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
3309 * emacs-lisp/package.el (package-unpack): Remove no-op.
3310 (package--builtins, package--dir): Doc fix.
3311 (package-activate-1, package-activate, package-install)
3312 (package-compute-transaction): Fix error message.
3313 (package-delete): Use delete-directory. Omit system packages.
3314 (package-initialize): Set package-alist to nil first.
3315 (package-menu-mark-delete, package-menu-mark-install): Don't add
3316 symbols that are inconsistent with the package state.
3317 (package-menu-execute): Perform deletions and installations as
3318 single batch operations.
3320 2010-11-03 Glenn Morris <rgm@gnu.org>
3322 * progmodes/idlwave.el (idlwave-pset): Only used on XEmacs.
3323 (props): Remove unnecessary declaration.
3325 * textmodes/ispell.el (ispell-init-process): On Emacs, always use
3326 set-process-query-on-exit-flag.
3328 * textmodes/reftex-toc.el (name1, dummy, dummy2): Remove unused decs.
3329 (reftex-toc-do-promote): Remove unused local `mpos'.
3330 (reftex-toc-restore-region): Make `mpos' local to this function.
3332 * net/dbus.el (dbus-name-owner-changed-handler): Doc fix.
3334 * play/landmark.el (lm-losing-threshold): Correct spelling.
3335 (lm-human-plays): Use new name.
3337 * play/gomoku.el (gomoku-loosing-threshold): Correct spelling.
3338 (gomoku-human-plays): Use new name.
3340 * play/gomoku.el (nil-score, Xscore, XXscore, XXXscore, XXXXscore)
3341 (Oscore, OOscore, OOOscore, OOOOscore): Rename with gomoku- prefix.
3342 (gomoku-score-trans-table, gomoku-winning-threshold)
3343 (gomoku-loosing-threshold, gomoku-init-score-table): Use new names.
3345 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
3347 * emacs-lisp/package.el: Don't put built-in packages in
3348 package-alist, to avoid loading inefficiencies.
3349 (package-built-in-p): Make VERSION optional, and treat it as a
3350 minimum acceptable version.
3351 (package-activate): Search separately for built-in packages.
3352 Emit a warning if a dependency fails.
3353 (define-package): Handle most common case, where there is no
3354 obsolete package, first.
3355 (package-compute-transaction): Print required version in error.
3356 (package--initialized): New variable.
3357 (list-packages): Use it.
3358 (package-initialize): Optional arg NO-ACTIVATE. Don't put
3359 built-in packages in packages-alist; keep it separate.
3360 Set package--initialized.
3361 (describe-package): Avoid activating packages as a side-effect.
3362 Search separately for built-in packages.
3363 (describe-package-1): Handle the case where an elpa package is
3364 simultaneously built-in and available/installed.
3365 (package-installed-p, package--generate-package-list):
3366 Search separately for built-in packages.
3367 (package-load-descriptor): Doc fix.
3369 2010-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
3371 * progmodes/perl-mode.el (perl-syntax-propertize-function):
3372 Handle __DATA__ and __END__.
3374 2010-11-02 Noah Friedman <friedman@splode.com>
3376 * emacs-lisp/bytecomp.el (byte-recompile-file): If bytecomp-arg is
3377 nil, do not ask to recompile files that are not already compiled,
3378 and do not recompile them.
3380 2010-11-02 Chong Yidong <cyd@stupidchicken.com>
3382 * emacs-lisp/package.el (package-initialize): Ensure that
3383 obsoleted built-in packages are not in package-activated-list
3385 (describe-package-1): Make the "installed" status override
3388 2010-11-01 Vinicius Jose Latorre <viniciusjl@ig.com.br>
3390 * subr.el (version-separator, version-regexp-alist): Remove '*'
3392 (version-list-<=, version<=, version=): Doc fix.
3394 2010-11-01 Kenichi Handa <handa@m17n.org>
3396 * faces.el (glyphless-char): Inherit underline for tty.
3398 2010-11-01 Kenichi Handa <handa@m17n.org>
3400 Implement various display methods for glyphless characters.
3402 * international/characters.el (char-acronym-table): New variable.
3403 (glyphless-char-control): New variable.
3404 (update-glyphless-char-display): New funciton.
3406 * faces.el (glyphless-char): New face.
3408 2010-11-01 Glenn Morris <rgm@gnu.org>
3410 * calendar/holidays.el (general-holidays, oriental-holidays)
3411 (local-holidays, other-holidays, hebrew-holidays, christian-holidays)
3412 (islamic-holidays, bahai-holidays, solar-holidays): Move aliases before
3413 the definitions of their targets.
3415 * emacs-lisp/smie.el (smie): New custom group.
3416 (smie-blink-matching-inners, smie-indent-basic): Add :group.
3418 * faces.el (xw-defined-colors, x-setup-function-keys):
3419 * mouse-sel.el (x-select-text):
3420 * term/w32console.el (x-setup-function-keys): Update declarations.
3422 * progmodes/ruby-mode.el (ruby-syntax-propertize-heredoc): Declare.
3424 * textmodes/ispell.el (comment-add): Declare.
3426 * net/gnutls.el (gnutls-boot, gnutls-errorp, gnutls-error-string):
3429 * info.el (finder-keywords-hash, package-alist): Declare.
3431 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
3433 * finder.el (finder-compile-keywords): Don't use intern-soft,
3434 since package names may not yet exist in the obarray.
3436 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
3438 * vc/vc-arch.el (vc-arch-checkin):
3439 * vc/vc-cvs.el (vc-cvs-checkin):
3440 * vc/vc-mtn.el (vc-mtn-checkin):
3441 * vc/vc-rcs.el (vc-rcs-checkin):
3442 * vc/vc-sccs.el (vc-sccs-checkin):
3443 * vc/vc-svn.el (vc-svn-checkin): Remove optional extra arg, unused
3444 since 2010-04-21 commit by Stefan Monnier.
3446 2010-11-01 Glenn Morris <rgm@gnu.org>
3448 * emacs-lisp/bytecomp.el (byte-recompile-file): Fix previous change.
3450 * startup.el (package-enable-at-startup, package-initialize):
3453 * progmodes/ada-mode.el (ada-font-lock-syntactic-keywords):
3456 2010-10-31 Julien Danjou <julien@danjou.info>
3458 * emacs-lisp/bytecomp.el (byte-recompile-file): New fun (bug#7297).
3459 (byte-recompile-directory):
3460 * emacs-lisp/lisp-mode.el (emacs-lisp-byte-compile-and-load):
3461 Use `byte-recompile-file'.
3463 2010-10-31 Glenn Morris <rgm@gnu.org>
3465 * cus-start.el: Handle standard values via a keyword.
3466 Only set version property if specified.
3467 (cursor-in-non-selected-windows, menu-bar-mode)
3468 (tool-bar-mode, show-trailing-whitespace):
3469 Do not specify standard values.
3470 (transient-mark-mode, temporary-file-directory): Use :standard.
3472 2010-10-31 Jan Djärv <jan.h.d@swipnet.se>
3474 * term/x-win.el (x-get-selection-value): New function that gets
3475 PRIMARY with type as specified in x-select-request-type. (Bug#6802).
3477 2010-10-31 Michael Albinus <michael.albinus@gmx.de>
3479 * net/tramp.el (tramp-handle-insert-file-contents): For root,
3480 preserve owner and group when editing files. (Bug#7289)
3482 2010-10-31 Glenn Morris <rgm@gnu.org>
3484 * speedbar.el (speedbar-mode):
3485 * play/fortune.el (fortune-in-buffer, fortune):
3486 * play/gomoku.el (gomoku-mode):
3487 * play/landmark.el (lm-mode):
3488 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
3489 Replace inappropriate uses of toggle-read-only. (Bug#7292)
3491 * select.el (x-selection): Mark it as an obsolete alias.
3493 2010-10-31 Aaron S. Hawley <aaron.s.hawley@gmail.com>
3495 * vc/add-log.el (find-change-log): Use derived-mode-p rather than
3496 major-mode (bug#7284).
3498 2010-10-31 Glenn Morris <rgm@gnu.org>
3500 * menu-bar.el (menu-bar-files-menu): Make it into an actual alias,
3501 rather than just an unused variable that inherits from the real one.
3503 2010-10-31 Alan Mackenzie <acm@muc.de>
3505 * progmodes/cc-cmds.el (c-mask-paragraph): Fix an off-by-1 error.
3506 This fixes bug #7185.
3508 2010-10-30 Chong Yidong <cyd@stupidchicken.com>
3510 * startup.el (command-line): Search for package directories, and
3511 don't load package.el if none are found.
3513 * emacs-lisp/package.el (describe-package, list-packages):
3514 Call package-initialize if it has not been called yet.
3516 2010-10-30 Alan Mackenzie <acm@muc.de>
3518 * progmodes/cc-fonts.el (c-font-lock-enum-tail): New function
3519 which fontifies the tail of an enum.
3520 (c-basic-matchers-after): Insert a call to the above new function.
3521 This fixes bug #7264.
3523 2010-10-30 Glenn Morris <rgm@gnu.org>
3525 * cus-start.el: Add :set properties for minor modes menu-bar-mode,
3526 tool-bar-mode, transient-mark-mode. (Bug#7306)
3527 Include the :set property in the dumped Emacs.
3529 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
3531 SMIE: change indent rules format, improve smie-setup.
3532 * emacs-lisp/smie.el (smie-precs-precedence-table)
3533 (smie-merge-prec2s, smie-bnf-precedence-table, smie-prec2-levels):
3534 Mark them pure so the tables gets built at compile time.
3535 (smie-bnf-precedence-table): Store the closer-alist in the table.
3536 (smie-prec2-levels): Preserve the closer-alist.
3537 (smie-blink-matching-open): Be more forgiving in case of indentation.
3538 (smie-hanging-p): Rename from smie-indent--hanging-p.
3539 (smie-bolp): Rename from smie-indent--bolp.
3540 (smie--parent, smie--after): New dynamic vars.
3541 (smie-parent-p, smie-next-p, smie-prev-p): New funs.
3542 (smie-indent-rules): Remove.
3543 (smie-indent--offset-rule): Remove fun.
3544 (smie-rules-function): New var.
3545 (smie-indent--rule): New fun.
3546 (smie-indent--offset, smie-indent-keyword, smie-indent-after-keyword)
3547 (smie-indent-exps): Use it.
3548 (smie-setup): Setup paren blinking; add keyword args for token
3549 functions; extract closer-alist from op-levels.
3550 (smie-indent-debug-log): Remove var.
3551 (smie-indent-debug): Remove fun.
3552 * progmodes/prolog.el (prolog-smie-indent-rules): Remove.
3553 (prolog-smie-rules): New fun to replace it.
3554 (prolog-mode-variables): Simplify.
3555 * progmodes/octave-mod.el (octave-smie-closer-alist): Remove, now that
3556 it's setup automatically.
3557 (octave-smie-indent-rules): Remove.
3558 (octave-smie-rules): New fun to replace it.
3559 (octave-mode): Simplify.
3561 2010-10-29 Glenn Morris <rgm@gnu.org>
3563 * files.el (temporary-file-directory): Remove (already defined in C).
3564 * cus-start.el: Add temporary-file-directory.
3566 * abbrev.el (abbrev-mode):
3567 * composite.el (auto-composition-mode):
3568 * menu-bar.el (menu-bar-mode):
3569 * simple.el (transient-mark-mode):
3570 * tool-bar.el (tool-bar-mode): Adjust the define-minor-mode calls so
3571 that they do not define the associated variables twice.
3572 * simple.el (transient-mark-mode): Remove defvar.
3573 * composite.el (auto-composition-mode): Make variable auto-buffer-local.
3574 * cus-start.el: Add transient-mark-mode, menu-bar-mode, tool-bar-mode.
3575 Handle multiple groups, and also custom-delayed-init-variables.
3576 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
3578 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
3580 * emacs-lisp/pcase.el (pcase): New `string' and `guard' patterns.
3581 (pcase-if): Add one minor optimization.
3582 (pcase-split-equal): Rename from pcase-split-eq.
3583 (pcase-split-member): Rename from pcase-split-memq.
3584 (pcase-u1): Add strings to the member optimization.
3585 Add `guard' variant of predicates.
3586 (pcase-q1): Add string patterns.
3588 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
3590 * vc/log-edit.el (log-edit-rewrite-fixes): State its safety pred.
3592 2010-10-28 Glenn Morris <rgm@gnu.org>
3594 * term/ns-win.el (global-map, menu-bar-final-items, menu-bar-help-menu):
3595 Move menu-bar related settings to ../menu-bar.el.
3596 * menu-bar.el (global-map, menu-bar-final-items, menu-bar-help-menu):
3597 Move ns-specific settings here from term/ns-win.el.
3599 * simple.el (x-selection-owner-p): Remove unused declaration.
3601 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
3603 * minibuffer.el (completion-cycling): New var (bug#7266).
3604 (minibuffer-complete, completion--do-completion):
3605 Use completion--flush-all-sorted-completions.
3606 (minibuffer-complete): Only cycle if completion-cycling is set.
3607 (completion--flush-all-sorted-completions): Unset completion-cycling.
3608 (minibuffer-force-complete): Set completion-cycling.
3609 (completion-all-sorted-completions): Move declaration before first use.
3611 2010-10-28 Leo <sdl.web@gmail.com>
3613 * iswitchb.el (iswitchb-kill-buffer): Avoid `iswitchb-make-buflist'
3614 which changes the order of matches seen by users (bug#7231).
3616 2010-10-28 Jes Bodi Klinke <jes@bodi-klinke.dk> (tiny change)
3618 * progmodes/compile.el (compilation-mode-font-lock-keywords):
3619 Don't confuse -omega as "-o mega".
3621 2010-10-27 Stefan Monnier <monnier@iro.umontreal.ca>
3623 * vc/log-edit.el (log-edit-rewrite-fixes): New var.
3624 (log-edit-author): New dynamic var.
3625 (log-edit-changelog-ours-p, log-edit-insert-changelog-entries): Use it
3626 to return the author if different from committer.
3627 (log-edit-insert-changelog): Use them to add Author: and Fixes headers.
3629 * play/landmark.el: Adjust commenting convention.
3630 (lm-nil-score): Rename from nil-score.
3631 (Xscore, XXscore, XXXscore, XXXXscore, Oscore, OOscore, OOOscore)
3632 (OOOOscore): Move into a let in lm-score-trans-table.
3633 (lm-winning-threshold, lm-loosing-threshold): Use lm-score-trans-table.
3635 * electric.el (electric-indent-chars): Autoload.
3636 * progmodes/octave-mod.el (octave-mode):
3637 * progmodes/ruby-mode.el (ruby-mode): Take advantage of it.
3638 (ruby-mode-abbrev-table): Merge initialization and declaration.
3640 2010-10-27 Glenn Morris <rgm@gnu.org>
3642 * abbrev.el (abbrev-mode): Remove one of the three definitions of this
3645 * server.el (server-host, server-port, server-auth-dir): Autoload risky.
3647 * term/ns-win.el: Restore require of cl when compiling.
3648 (menu-bar-final-items): Remove non-existent `windows' menu.
3649 (ns-handle-nxopen): Optionally handle the temp-case.
3650 (ns-handle-nxopentemp): Just call ns-handle-nxopen.
3651 (ns-insert-file, ns-find-file): Use `pop'.
3653 2010-10-26 Glenn Morris <rgm@gnu.org>
3655 * term/common-win.el (xw-defined-colors): Simplify the 'ns case.
3657 2010-10-26 Adrian Robert <Adrian.B.Robert@gmail.com>
3659 * term/ns-win.el (ns-new-frame, ns-show-prefs): Don't add to
3661 * term/common-win.el (x-setup-function-keys): Remove most of the
3662 keymappings. Comment on the remaining ones.
3664 2010-10-26 Peter Oliver <p.d.oliver@mavit.org.uk> (tiny change)
3666 * server.el (server-port): New option. (Bug#854)
3667 (server-start): Use server-port.
3669 2010-10-26 Glenn Morris <rgm@gnu.org>
3671 * term/ns-win.el (ns-version-string): Remove unused declaration.
3672 (ns-invocation-args): Change to x-invocation-args.
3673 (ns-handle-switch, ns-handle-numeric-switch, ns-handle-iconic)
3674 (ns-handle-name-switch, ns-ignore-2-arg): Remove.
3675 (ns-handle-nxopen, ns-handle-nxopentemp, ns-ignore-1-arg):
3676 Use x-invocation-args instead of ns-invocation-args.
3677 (ns-initialize-window-system, handle-args-function-alist):
3678 Use x-handle-args instead of ns-handle-args.
3679 * term/common-win.el (x-handle-args): Also handle nextstep arguments.
3680 * startup.el (command-line-ns-option-alist): Replace
3681 ns-handle-name-switch, ns-handle-switch, ns-handle-numeric-switch,
3682 ns-handle-iconic with the x- equivalents.
3684 * term/common-win.el (x-select-enable-clipboard):
3685 * term/pc-win.el (x-select-enable-clipboard): Doc fix.
3687 * term/ns-win.el: No need to require cl when compiling.
3688 (x-display-name, x-setup-function-keys, x-select-text, x-colors)
3689 (xw-defined-colors): Use the common-win definitions.
3690 (ns-alternatives-map): Make it an obsolete alias for x-alternatives-map.
3691 (ns-handle-iconic): Make it an alias for x-handle-iconic.
3692 * term/common-win.el (x-select-text, x-alternatives-map)
3693 (x-setup-function-keys, x-colors, xw-defined-colors): Handle 'ns case.
3694 * loadup.el [ns]: Load common-win.
3696 2010-10-26 Daiki Ueno <ueno@unixuser.org>
3698 * epa-mail.el (epa-mail-encrypt): Handle local-part only
3699 recipients; expand mail aliases (Bug#7280).
3701 2010-10-25 Glenn Morris <rgm@gnu.org>
3703 * term/common-win.el (x-handle-switch): Simplify with pop.
3704 Optionally handle numeric switches.
3705 (x-handle-numeric-switch): Just call x-handle-switch.
3706 (x-handle-initial-switch, x-handle-xrm-switch, x-handle-geometry)
3707 (x-handle-name-switch, x-handle-display, x-handle-args):
3710 * term/ns-win.el: Do not require easymenu.
3711 (menu-bar-edit-menu) <copy, paste, paste-from-menu, separator-undo>:
3712 <spell>: Move adjustments to menu-bar.el.
3713 * menu-bar.el (menu-bar-edit-menu) <copy, paste, paste-from-menu>:
3714 <separator-undo, spell>: Move ns-win's adjustments here.
3715 * loadup.el [ns]: Do not load easymenu.
3717 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
3719 * image.el (image-checkbox-checked, image-checkbox-unchecked):
3722 * startup.el (fancy-startup-tail): Instead of using inline images,
3723 refer to image files from etc/.
3725 * wid-edit.el (checkbox): Likewise.
3726 (widget-image-find): Center image specs.
3728 2010-10-24 Glenn Morris <rgm@gnu.org>
3730 * term/ns-win.el (x-select-text): Doc fix.
3731 * w32-fns.el (x-alternatives-map, x-setup-function-keys)
3732 (x-select-text): Move to term/common-win.
3733 * term/w32-win.el (xw-defined-colors): Move to common-win.
3734 * term/x-win.el (xw-defined-colors, x-alternatives-map)
3735 (x-setup-function-keys, x-select-text): Move to common-win.
3736 * term/common-win.el (x-select-text, x-alternatives-map)
3737 (x-setup-function-keys, xw-defined-colors): Merge x- and w32-
3740 2010-10-24 T.V. Raman <tv.raman.tv@gmail.com> (tiny change)
3742 * net/mairix.el (mairix-searches-mode-map):
3743 * mail/mspools.el (mspools-mode-map): Fix 2010-10-10 change.
3745 2010-10-24 Michael McNamara <mac@mail.brushroad.com>
3747 * verilog-mode.el (verilog-directive-re): Make this variable
3748 auto-built for efficiency of execution and updating.
3749 (verilog-extended-complete-re): Support 'pure' fucntion & task
3750 declarations (these have no bodies).
3751 (verilog-beg-of-statement): General cleanup to enable support of
3752 'pure' fucntion & task declarations (these have no bodies).
3753 These efforts together fix Verilog bug210 from veripool; which was also
3754 noticed by Steve Pearlmutter.
3755 (verilog-directive-re, verilog-directive-begin, verilog-indent-re)
3756 (verilog-directive-nest-re, verilog-set-auto-endcomments):
3757 Support `elsif. Reported by Shankar Giri.
3758 (verilog-forward-ws&directives, verilog-in-attribute-p): Fixes for
3759 attribute handling for lining up declarations and assignments.
3760 (verilog-beg-of-statement-1): Fix issue where continued declaration
3761 is indented differently if it is after a begin..end clock.
3762 (verilog-in-attribute-p, verilog-skip-backward-comments)
3763 (verilog-skip-forward-comment-p): Support proper treatment of
3764 attributes by indent code. Reported by Jeff Steele.
3765 (verilog-in-directive-p): Fix comment to correctly describe function.
3766 (verilog-backward-up-list, verilog-in-struct-region-p)
3767 (verilog-backward-token, verilog-in-struct-p)
3768 (verilog-in-coverage-p, verilog-do-indent)
3769 (verilog-pretty-declarations): Use verilog-backward-up-list as
3770 wrapper around backward-up-list inorder to properly skip comments.
3771 Reported by David Rogoff.
3772 (verilog-property-re, verilog-endcomment-reason-re)
3773 (verilog-beg-of-statement, verilog-set-auto-endcomments)
3774 (verilog-calc-1 ): Fix for assert a; else b; indentation (new form
3775 of if). Reported by Max Bjurling and
3776 (verilog-calc-1): Fix for clocking block in modport
3777 declaration. Reported by Brian Hunter.
3779 2010-10-24 Wilson Snyder <wsnyder@wsnyder.org>
3781 * verilog-mode.el (verilog-auto-inst, verilog-gate-ios)
3782 (verilog-gate-keywords, verilog-read-sub-decls)
3783 (verilog-read-sub-decls-gate, verilog-read-sub-decls-gate-ios)
3784 (verilog-read-sub-decls-line, verilog-read-sub-decls-sig): Support
3785 AUTOINST for gate primitives, bug284. Reported by Mark Johnson.
3786 (verilog-read-decls): Fix spaces in V2K module parameters causing
3787 mis-identification as interfaces, bug287.
3788 (verilog-read-decls): Fix not treating "parameter string" as a
3789 parameter in AUTOINSTPARAM.
3790 (verilog-read-always-signals-recurse, verilog-read-decls): Fix not
3791 treating `elsif similar to `endif inside AUTOSENSE.
3792 (verilog-do-indent): Implement correct automatic or static task or
3793 function end comment highlight. Reported by Steve Pearlmutter.
3794 (verilog-font-lock-keywords-2): Fix highlighting of single
3795 character pins, bug264. Reported by Michael Laajanen.
3796 (verilog-auto-inst, verilog-read-decls, verilog-read-sub-decls)
3797 (verilog-read-sub-decls-in-interfaced, verilog-read-sub-decls-sig)
3798 (verilog-subdecls-get-interfaced, verilog-subdecls-new):
3799 Support interfaces with AUTOINST, bug270. Reported by Luis Gutierrez.
3800 (verilog-pretty-expr): Fix interactive arguments, bug272.
3801 Reported by Mark Johnson.
3802 (verilog-auto-tieoff, verilog-auto-tieoff-ignore-regexp):
3803 Add 'verilog-auto-tieoff-ignore-regexp' for AUTOTIEOFF,
3804 bug269. Suggested by Gary Delp.
3805 (verilog-mode-map, verilog-preprocess, verilog-preprocess-history)
3806 (verilog-preprocessor, verilog-set-compile-command):
3807 Create verilog-preprocess and verilog-preprocessor to show
3808 preprocessed output.
3809 (verilog-get-beg-of-line, verilog-get-end-of-line)
3810 (verilog-modi-file-or-buffer, verilog-modi-name)
3811 (verilog-modi-point, verilog-within-string): Move defmacro's
3812 before first use to avoid warning. Reported by Steve Pearlmutter.
3813 (verilog-colorize-buffer, verilog-colorize-include-files-buffer)
3814 (verilog-colorize-region, verilog-highlight-buffer)
3815 (verilog-highlight-includes, verilog-highlight-modules)
3816 (verilog-highlight-region, verilog-mode): Rename colorize to
3817 highlight to match other packages. Disable module highlighting,
3818 as received speed complaints, reenable for experimentation only
3819 using new verilog-highlight-modules.
3820 (verilog-read-decls): Fix regexp stack overflow in very large
3821 AUTO_TEMPLATEs, bug250.
3822 (verilog-auto, verilog-delete-auto, verilog-save-buffer-state)
3823 (verilog-scan): Create verilog-save-buffer-state to standardize
3824 making insignificant changes that shouldn't call hooks.
3825 (verilog-save-no-change-functions, verilog-save-scan-cache)
3826 (verilog-scan, verilog-scan-cache-ok-p, verilog-scan-region):
3827 Create verilog-save-no-change-functions to wrap verilog-scan
3828 preservation, and fix to work with nested preserved calls.
3829 (verilog-auto-inst, verilog-auto-inst-dot-name): Support .name
3830 port syntax for AUTOWIRE, and with new verilog-auto-inst-dot-name
3831 generate .name with AUTOINST, bug245. Suggested by David Rogoff.
3832 (verilog-submit-bug-report): Update variable list to be complete.
3833 (verilog-auto, verilog-colorize-region): Fix AUTO expansion
3834 breaking on-the-fly font-locking.
3835 (verilog-colorize-buffer, verilog-colorize-include-files)
3836 (verilog-colorize-include-files-buffer, verilog-colorize-region)
3837 (verilog-load-file-at-mouse, verilog-load-file-at-point)
3838 (verilog-mode, verilog-read-inst-module-matcher): With point on a
3839 AUTOINST cell instance name, middle mouse button now finds-file on
3840 it. Suggested by Brad Dobbie.
3841 (verilog-alw-get-temps, verilog-auto-reset)
3842 (verilog-auto-sense-sigs, verilog-read-always-signals)
3843 (verilog-read-always-signals-recurse): Fix loop indexes being
3844 AUTORESET. AUTORESET now assumes any variables in the
3845 initialization section of a for() should be ignored.
3846 Reported by Dan Dever.
3847 (verilog-error-font-lock-keywords)
3848 (verilog-error-regexp-emacs-alist)
3849 (verilog-error-regexp-xemacs-alist): Fix error detection of
3850 Cadence HAL, reported by David Asher. Repair drift between the
3851 three similar error variables.
3852 (verilog-modi-lookup, verilog-modi-lookup-cache)
3853 (verilog-modi-lookup-last-current, verilog-modi-lookup-last-mod)
3854 (verilog-modi-lookup-last-modi, verilog-modi-lookup-last-tick):
3855 Fix slow verilog-auto expansion on very large files.
3856 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line):
3857 Fix AUTOOUTPUT treating "1*2" as a signal name in submodule connection
3858 "{1*2{...". Broke in last revision.
3859 (verilog-read-sub-decls-expr): Fix AUTOOUTPUT not detecting
3860 submodule connections with replications "{#{a},#{b}}".
3862 2010-10-24 Juanma Barranquero <lekktu@gmail.com>
3864 * progmodes/dcl-mode.el (dcl-electric-reindent-regexps):
3865 Fix typo in docstring.
3867 2010-10-24 Kenichi Handa <handa@m17n.org>
3869 * face-remap.el (text-scale-adjust): Call read-event with a proper
3872 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
3874 * emacs-lisp/unsafep.el: Don't mark functions that display
3875 messages as safe. Suggested by Johan Bockgård.
3877 2010-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
3879 * emacs-lisp/regexp-opt.el (regexp-opt-group, regexp-opt-charset):
3880 Turn comments into docstrings.
3882 * minibuffer.el (completion--replace): Move point where it belongs
3883 when there's a common suffix (bug#7215).
3885 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
3887 Merge read-color and facemenu-read-color (Bug#7242).
3889 * faces.el (read-color): Use the completion code from
3890 facemenu-read-color. Require match in completion. Doc fix.
3892 * facemenu.el (facemenu-read-color): Alias for read-color.
3893 (facemenu-set-foreground, facemenu-set-background):
3896 * frame.el (set-background-color, set-foreground-color)
3897 (set-cursor-color, set-mouse-color, set-border-color):
3900 2010-10-24 Leo <sdl.web@gmail.com>
3902 * eshell/em-unix.el (eshell-remove-entries): Use the TRASH
3903 argument of delete-file and delete-directory (Bug#7011).
3905 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
3907 * emacs-lisp/package.el (package-menu-mode-map): Inherit from
3910 2010-10-24 Ralf Angeli <angeli@caeruleus.net>
3912 * emacs-lisp/package.el (package--generate-package-list): Make the
3913 *Packages* buffer read-only.
3915 2010-10-24 Alan Mackenzie <acm@muc.de>
3917 * progmodes/cc-fonts.el (c-font-lock-declarations): Cache the
3918 result of `c-beginning-of-decl-1' between invocations of a lambda
3919 function (Bug #7265).
3921 2010-10-24 Daiki Ueno <ueno@unixuser.org>
3923 * epg-config.el (epg-gpg-program): Try to use "gpg2" if "gpg"
3924 executable is not available on the system (Bug#7268).
3926 2010-10-24 Glenn Morris <rgm@gnu.org>
3928 * select.el (selection-coding-system, next-selection-coding-system):
3929 Sync doc with C versions.
3931 * w32-vars.el (x-select-enable-clipboard):
3932 * term/x-win.el (x-select-enable-clipboard): Move to common-win.
3933 * term/common-win.el (x-select-enable-clipboard): Move here.
3935 * term/tty-colors.el (tty-defined-color-alist): Remove duplicate
3936 definition of C variable.
3938 * frame.el (show-trailing-whitespace, auto-hscroll-mode)
3939 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
3940 Don't redefine things that are defined in C.
3941 * cus-start.el: Also handle :risky, :safe, :set, and :tag.
3942 (show-trailing-whitespace, auto-hscroll-mode)
3943 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
3944 Set up the appropriate custom properties.
3946 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
3949 * progmodes/f90.el (f90-mode-map): ... f90-insert-end.
3950 * nxml/nxml-mode.el (nxml-mode-map): ... nxml-finish-element.
3951 * textmodes/tex-mode.el (tex-mode-map): ... latex-close-block.
3952 * textmodes/sgml-mode.el (sgml-mode-map): ... sgml-close-tag.
3954 2010-10-23 Glenn Morris <rgm@gnu.org>
3956 * textmodes/flyspell.el (flyspell-mode): If there was an error,
3959 * frame.el (auto-hscroll-mode, cursor-in-non-selected-windows):
3960 Sync docs with C version.
3962 * term/ns-win.el (xw-defined-colors):
3963 * term/x-win.el (xw-defined-colors): Make docs identical to w32-win.
3965 * term/pc-win.el (x-select-enable-clipboard):
3966 * term/x-win.el (x-select-enable-clipboard):
3967 * w32-vars.el (x-select-enable-clipboard): Make doc-strings identical.
3969 * comint.el (comint-password-prompt-regexp): Make it less vague.
3972 * help-fns.el (doc-file-to-man, doc-file-to-info): New commands.
3974 * help.el (finder-by-keyword): Remove unnecessary autoload.
3976 2010-10-22 Glenn Morris <rgm@gnu.org>
3978 * loadup.el: Unconditionally load float-sup.
3979 * paren.el (show-paren-delay):
3980 * emacs-lisp/float-sup.el:
3981 * emulation/cua-base.el (cua-prefix-override-inhibit-delay):
3982 * obsolete/lazy-lock.el (lazy-lock-defer-time, lazy-lock-stealth-nice)
3983 (lazy-lock-stealth-verbose): Assume float support.
3984 * ps-print.el: Assume float support on Emacs.
3985 * emacs-lisp/timer.el (timer-next-integral-multiple-of-time):
3986 Remove non-float branch.
3988 * emacs-lisp/autoload.el (batch-update-autoloads): Update for
3989 src/Makefile no longer being pre-processed.
3991 2010-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
3993 * emacs-lisp/find-func.el (find-library): Use test-completion.
3995 2010-10-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
3997 * newcomment.el (comment-dwim): Fix the intentation in the doc string.
3999 2010-10-21 Michael Albinus <michael.albinus@gmx.de>
4001 * net/tramp-sh.el (tramp-do-file-attributes-with-stat): Do not use
4002 space in stat format string.
4003 (tramp-send-command): Unset $PS1 when using here documents, in
4004 order not to get several prompts.
4005 (tramp-get-inline-coding): Return `nil' in case of errors.
4007 2010-10-21 Daiki Ueno <ueno@unixuser.org>
4009 * hexl.el (hexl-mode, hexl-mode-exit):
4010 Tweak revert-buffer-function to inhibit auto-mode-alist (Bug#7252).
4011 (hexl-revert-buffer-function): New function.
4012 (hexl-before-revert-hook, hexl-after-revert-hook): Abolish.
4014 2010-10-19 Alan Mackenzie <acm@muc.de>
4016 * progmodes/cc-langs.el (c-type-decl-prefix-key): C++ bit:
4017 Move "\(const\|throw\|volatile\)\>" nearer the start of the regexp, so
4018 that these keywords aren't wrongly matched as identifiers.
4020 * progmodes/cc-mode.el (c-before-change, c-after-change): Move the
4021 setting of c-new-BEG and c-new-END from c-before-change to
4022 c-after-change. (Bug#7181)
4024 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
4026 * cus-face.el (custom-theme-set-faces): Revert 2010-10-18 change.
4029 * custom.el (custom-theme-set-variables): Likewise.
4030 (load-theme): Add custom-theme-set-faces and
4031 custom-theme-set-variables to safe-functions while loading.
4032 (custom-enabled-themes): Mark as risky.
4034 2010-10-18 Julien Danjou <julien@danjou.info>
4036 * bindings.el: Remove end dashes in default mode-line-format.
4038 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
4040 * bindings.el (global-map): Bind C-d to delete-char and deletechar
4041 to delete-forward-char.
4043 * simple.el (normal-erase-is-backspace-mode): Remap delete to
4044 deletechar, and hence delete-forward-char.
4046 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
4048 * repeat.el (repeat): Use read-key (bug#6256).
4050 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
4052 * emacs-lisp/unsafep.el: Don't mark functions that display
4053 messages as safe. Suggested by Johan Bockgård.
4055 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
4057 * minibuffer.el (completion--replace): Move point where it belongs
4058 when there's a common suffix (bug#7215).
4060 2010-10-19 Kenichi Handa <handa@m17n.org>
4062 * international/characters.el: Add category '|' (word breakable)
4063 to fullwidth characters.
4065 2010-10-19 Michael Albinus <michael.albinus@gmx.de>
4067 * net/tramp-sh.el (tramp-do-file-attributes-with-stat)
4068 (tramp-do-directory-files-and-attributes-with-stat): Use "e0" in
4069 order to make stat results a float. Patch by Andreas Schwab
4070 <schwab@linux-m68k.org>.
4072 2010-10-18 Julien Danjou <julien@danjou.info>
4074 * avoid.el (mouse-avoidance-ignore-p): Ignore mouse when it is
4075 hidden by `make-pointer-invisible'.
4077 2010-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
4079 * files.el (locate-file-completion-table): Strip non-matching elements
4080 before checking length of list (bug#7238).
4082 2010-10-18 Chong Yidong <cyd@stupidchicken.com>
4084 * custom.el (custom-theme-set-variables): Mark as a safe function.
4085 (load-theme): Check forms using unsafep.
4087 * cus-face.el (custom-theme-set-faces): Mark as a safe function.
4089 2010-10-17 Agustín Martín <agustin.martin@hispalinux.es>
4091 * textmodes/ispell.el (ispell-aspell-find-dictionary):
4092 Fix aspell data file searching (bug#7230).
4094 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
4096 * cus-theme.el (custom-theme--migrate-settings): New var.
4097 (customize-create-theme): Allow editing the `user' theme.
4098 (custom-theme-add-variable, custom-theme-add-var-1)
4099 (custom-theme-add-face, custom-theme-add-face-1): Add a checkbox
4100 to the front of each variable or face widget.
4101 (custom-theme-write): Save theme settings in the correct order.
4102 Optionally, remove saved settings from user customizations.
4103 (custom-theme-write-variables, custom-theme-write-faces):
4104 Save only the checked widgets.
4105 (customize-themes): Add a link for migrating custom settings.
4107 * custom.el (custom-declare-theme, provide-theme):
4108 Use custom-theme-name-valid-p.
4109 (custom-theme-name-valid-p): Remove checks that are now
4110 unnecessary since themes no longer obey load-path.
4112 * cus-edit.el (custom-variable-value-create): For the simple
4113 style, hide documentation string when hidden.
4115 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
4117 * cus-edit.el (custom-variable, custom-face): Combine the
4118 :inhibit-magic and :display-style properties into a single
4119 :custom-style property.
4120 (custom-toggle-hide-variable, custom-toggle-hide-face):
4121 New functions. If hiding an edited value, save it to :shown-value.
4122 (custom-variable-value-create, custom-face-value-create): Use them.
4123 (custom-magic-reset): Allow magic property to be unset.
4125 * custom.el: Custom themes no longer use load-path.
4126 (custom-theme-load-path): New option. Change built-in theme
4128 (custom-enabled-themes): Add custom-theme-load-path dependency.
4129 (custom-theme--load-path): New function.
4130 (load-theme, custom-available-themes): Use it.
4132 * cus-theme.el (describe-theme-1): Use custom-theme--load-path.
4133 (customize-themes): Link to custom-theme-load-path variable.
4134 (custom-theme-add-var-1, custom-theme-add-face-1): Use the
4135 :custom-style property.
4137 * themes/*.el: Moved to etc/.
4139 2010-10-16 Ralf Angeli <angeli@caeruleus.net>
4141 * textmodes/reftex-cite.el
4142 (reftex-extract-bib-entries-from-thebibliography): Do not move
4143 point when searching for \bibitem entries. Match entries with
4144 spaces or tabs in front of arguments.
4146 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
4148 * cus-theme.el (customize-create-theme): Delete overlays after
4149 erasing. If given a THEME arg, display only the faces of that arg
4150 instead of custom-theme--listed-faces.
4151 (custom-theme-variable-menu, custom-theme-variable-action)
4152 (custom-variable-reset-theme, custom-theme-delete-variable): Delete.
4153 (custom-theme-add-variable, custom-theme-add-face): Apply value
4154 from the theme settings, instead of the current value.
4155 (custom-theme-add-var-1, custom-theme-add-face-1): New functions.
4156 (custom-theme-visit-theme): Allow calling outside theme buffers.
4157 (custom-theme-merge-theme): Don't enable the theme when merging.
4158 (custom-theme-write-variables, custom-theme-write-faces): Use the
4159 :shown-value properties to save buffer values, not global ones.
4160 (customize-themes): Display a warning about user customizations.
4162 * cus-edit.el (custom-variable-value-create)
4163 (custom-face-value-create): Obey new special properties
4164 :shown-value and :inhibit-magic.
4166 2010-10-15 Michael Albinus <michael.albinus@gmx.de>
4168 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
4169 Suppress expansion of tabs to spaces. Reported by Dale Sedivec
4172 2010-10-14 Kenichi Handa <handa@m17n.org>
4174 * mail/rmail.el (rmail-show-message-1): Catch an error of
4175 base64-decode-region and just show an error message (bug#7165).
4177 * ps-mule.el (ps-mule-font-spec-list): Delete it. Not used anymore.
4178 (ps-mule-begin-job): Fix for the case that only ENCODING is set in
4179 a font-spec (bug#7197).
4181 2010-10-14 Glenn Morris <rgm@gnu.org>
4183 * mail/emacsbug.el (report-emacs-bug): Mention debbugs.gnu.org.
4185 2010-10-14 Juanma Barranquero <lekktu@gmail.com>
4187 * international/mule.el (define-coding-system):
4188 * international/titdic-cnv.el (quail-cxterm-package-ext-info):
4189 * composite.el (compose-region): Fix typo in docstring.
4191 2010-10-14 Chong Yidong <cyd@stupidchicken.com>
4193 * cus-face.el (custom-theme-set-faces): Call custom-push-theme
4194 only after checking the theme-face property.
4196 * faces.el (face-spec-reset-face): Reset all attributes in one
4197 single call to set-face-attribute.
4198 (face-spec-match-p): Make it a defsubst.
4199 (frame-set-background-mode): New arg KEEP-FACE-SPECS.
4200 (x-create-frame-with-faces, tty-create-frame-with-faces)
4201 (tty-set-up-initial-frame-faces): Don't recompute face specs in
4202 frame-set-background-mode, since they are recomputed immediately
4203 afterwards in face-set-after-frame-default.
4204 (face-set-after-frame-default): Minor optimization.
4205 (cursor): Provide non-trivial defface spec.
4207 * custom.el (custom-theme-recalc-face): Simplify.
4209 2010-10-14 Jay Belanger <jay.p.belanger@gmail.com>
4211 * calc/calc-alg.el (math-var): Rename from `var'.
4212 (math-is-polynomial, math-is-poly-rec): Replace `var'
4215 * calc/calcalg2.el (math-var): Rename from `var'.
4216 (calcFunc-table, math-scan-for-limits): Replace `var'
4219 2010-10-13 Glenn Morris <rgm@gnu.org>
4221 * subr.el (last): Deal with dotted lists (reported in bug#7174).
4223 2010-10-13 Stephen Berman <stephen.berman@gmx.net>
4225 * subr.el (last): Use `safe-length' instead of `length' (bug#7206).
4227 2010-10-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
4229 * net/tls.el (tls-program): Remove spurious %s from openssl.
4230 (tls-starttls-switches): Remove starttls hack.
4231 (open-tls-stream): Ditto.
4232 (tls-find-starttls-argument): Ditto.
4234 2010-10-13 Juanma Barranquero <lekktu@gmail.com>
4236 * image.el (image-library-alist): Declare as obsolete alias.
4237 (image-type-available-p): Use `dynamic-library-alist'.
4239 * term/w32-win.el (dynamic-library-alist):
4240 Use instead of `image-library-alist'.
4242 2010-10-13 IRIE Shinsuke <irieshinsuke@yahoo.co.jp> (tiny change)
4244 * subr.el (last): Make it faster. (Bug#7174)
4246 2010-10-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> (tiny change)
4248 * Makefile.in (compile-clean): Use `` instead of $(). (Bug#7178)
4250 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
4252 * cus-theme.el (custom-theme--listed-faces): Add cursor face.
4253 (describe-theme-1): Extract doc from unloaded themes.
4255 * custom.el (custom-theme-name-valid-p): Don't list color-themes.
4257 * themes/tango-theme.el:
4258 * themes/tango-dark-theme.el:
4259 * themes/wheatgrass-theme.el: New files.
4261 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
4263 * cus-theme.el (describe-theme, customize-themes)
4264 (custom-theme-save): New commands.
4265 (custom-new-theme-mode-map): Bind C-x C-s.
4266 (custom-new-theme-mode): Use custom--initialize-widget-variables.
4267 (customize-create-theme): New optional arg THEME.
4268 (custom-theme-revert): Use it.
4269 (custom-theme-visit-theme): Remove dead code.
4270 (custom-theme-merge-theme): Use custom-available-themes.
4271 (custom-theme-write): Make interactive.
4272 (custom-theme-write): Use custom-theme-name-valid-p.
4273 (describe-theme-1, custom-theme-choose-revert)
4274 (custom-theme-checkbox-toggle, custom-theme-selections-toggle):
4276 (custom-theme-allow-multiple-selections): New option.
4277 (custom-theme-choose-mode): New major mode.
4279 * custom.el (custom-theme-set-variables): Remove dead code.
4280 Obey custom--inhibit-theme-enable.
4281 (custom--inhibit-theme-enable): New var.
4282 (provide-theme): Obey it.
4283 (load-theme): Replace load with manual read/eval, in order to
4284 check for correctness. Use custom-theme-name-valid-p.
4285 (custom-theme-name-valid-p): New function.
4286 (custom-available-themes): Use it.
4288 * cus-edit.el (custom--initialize-widget-variables): New function.
4289 (Custom-mode): Use it.
4291 * cus-face.el (custom-theme-set-faces): Remove dead code.
4292 Obey custom--inhibit-theme-enable.
4294 * help-mode.el (help-theme-def, help-theme-edit): New buttons.
4296 2010-10-12 Juanma Barranquero <lekktu@gmail.com>
4298 * net/telnet.el (telnet-mode-map): Fix previous change (bug#7193).
4300 2010-10-12 Jan Djärv <jan.h.d@swipnet.se>
4302 * term/ns-win.el (ns-right-alternate-modifier): New defvar.
4303 (ns-right-option-modifier): New alias for ns-right-alternate-modifier.
4304 (mac-right-option-modifier): New alias for ns-right-option-modifier.
4306 * cus-start.el (all): ns-right-alternate-modifier is new.
4308 2010-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
4310 * emacs-lisp/lisp.el (lisp-completion-at-point):
4311 Use emacs-lisp-mode-syntax-table for the whole function.
4313 2010-10-12 David Koppelman <koppel@ece.lsu.edu>
4315 * hi-lock.el (hi-lock-font-lock-hook): Check font-lock-fontified
4316 instead of font-lock-mode before adding keywords.
4317 Remove hi-lock-mode off code. Remove inhibit hack.
4318 (hi-lock-set-pattern): Only add keywords if font-lock-fontified
4319 non-nil; removed hook inhibit hack.
4321 2010-10-12 Glenn Morris <rgm@gnu.org>
4323 * emacs-lisp/shadow.el (find-emacs-lisp-shadows): Rename it...
4324 (load-path-shadows-find): ... to this.
4325 (list-load-path-shadows): Update for above change.
4327 * mail/mail-utils.el (mail-mbox-from): Also try return-path.
4329 2010-10-11 Katsumi Yamaoka <yamaoka@jpl.org>
4331 * mail/hashcash.el, net/imap.el, pgg-parse.el, pgg.el:
4332 Fix comment for declare-function.
4334 2010-10-11 Chong Yidong <cyd@stupidchicken.com>
4336 * custom.el (custom-fix-face-spec): New function; code moved from
4337 custom-face-edit-fix-value.
4338 (custom-push-theme): Use it when checking if a face has been
4339 changed outside customize.
4340 (custom-available-themes): New function.
4341 (load-theme): Use it.
4343 * cus-edit.el (custom-face-edit-fix-value): Use custom-fix-face-spec.
4345 * custom.el (custom-push-theme): Cleanup (use cond).
4346 (disable-theme): Recompute the saved-face property.
4347 (custom-theme-recalc-face): Follow face alias before setting prop.
4349 * image.el (image-checkbox-checked, image-checkbox-unchecked):
4350 New variables, containing checkbox images.
4352 * startup.el (fancy-startup-tail):
4353 * wid-edit.el (checkbox): Use them.
4355 2010-10-10 Dan Nicolaescu <dann@ics.uci.edu>
4357 * shell.el (shell-mode-map):
4358 * progmodes/modula2.el (m2-mode-map):
4359 * progmodes/inf-lisp.el (inferior-lisp-mode-map):
4360 * play/mpuz.el (mpuz-mode-map):
4361 * play/landmark.el (lm-mode-map):
4362 * play/decipher.el (decipher-mode-map):
4363 * play/5x5.el (5x5-mode-map):
4364 * net/telnet.el (telnet-mode-map):
4365 * net/quickurl.el (quickurl-list-mode-map):
4366 * net/mairix.el (mairix-searches-mode-map):
4367 * net/eudc-hotlist.el (eudc-hotlist-mode-map):
4368 * net/dig.el (dig-mode-map):
4369 * mail/mspools.el (mspools-mode-map):
4370 * hexl.el (hexl-mode-map):
4371 * emulation/ws-mode.el (wordstar-C-k-map, wordstar-mode-map)
4372 (wordstar-C-o-map, wordstar-C-q-map):
4373 * emacs-lisp/edebug.el (edebug-eval-mode-map):
4374 * emacs-lisp/chart.el (chart-map):
4375 * edmacro.el (edmacro-mode-map):
4376 * erc/erc-list.el (erc-list-menu-mode-map):
4377 * array.el (array-mode-map): Declare and define in one step.
4379 * vc/log-view.el (log-view-mode-map): Bind revert-buffer.
4381 2010-10-10 Daiki Ueno <ueno@unixuser.org>
4383 * epa.el (epa-passphrase-callback-function): Display filename
4384 passed as the 3rd arg.
4385 * epa-file.el (epa-file-passphrase-callback-function):
4386 Pass filename to epa-passphrase-callback-function.
4388 2010-10-09 Chong Yidong <cyd@stupidchicken.com>
4390 * cus-edit.el (custom-face-widget-to-spec)
4391 (custom-face-get-current-spec, custom-face-state): New functions.
4392 (custom-face-set, custom-face-mark-to-save)
4393 (custom-face-value-create, custom-face-state-set): Use them.
4395 * cus-theme.el (custom-theme--listed-faces): New var.
4396 (customize-create-theme): Use *Custom Theme* as the buffer name.
4397 Set revert-buffer-function. Optional arg BUFFER. Insert all
4398 faces listed in custom-theme--listed-faces.
4399 (custom-theme-revert): New function.
4400 (custom-theme-add-variable, custom-theme-add-face): Insert at the
4402 (custom-theme-write): Prompt for theme name if empty.
4403 (custom-theme-write-variables): Use dolist.
4404 (custom-theme-write-faces): Handle hidden (collapsed) widgets.
4406 2010-10-09 Alan Mackenzie <acm@muc.de>
4408 Enhance fontification of declarators to take account of the
4409 presence/absence of "typedef".
4411 * cc-engine.el (c-forward-type): New &optional param
4413 (c-forward-decl-or-cast-1): cdr of return value now indicates the
4414 presence of either or both of a "struct"-like keyword and "typedef".
4416 * cc-fonts.el (c-complex-decl-matchers): Remove the heuristic
4417 fontification of declarators which follow a "}".
4418 (c-font-lock-declarations): Fontify declarators according to the
4419 presence/absence of "typedef".
4421 * cc-langs.el (c-typedef-kwds c-typedef-key): New lang variable
4423 (c-typedef-decl-key): New lang variable built from
4424 c-typedef-decl-kwds.
4426 2010-10-09 Lars Magne Ingebrigtsen <larsi@gnus.org>
4428 * ibuffer.el (ibuffer-mode-map): Don't redefine the cursor keys,
4429 since that's too annoying. Move the filter groups commands to
4432 * epa.el (epa-passphrase-callback-function): Say what we're
4433 querying the password for.
4435 * ibuffer.el (ibuffer-visit-buffer): To mimick list-buffers
4436 behaviour, don't bury the ibuffer buffer when visiting other buffers.
4438 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
4440 * cus-edit.el (custom-commands, custom-buffer-create-internal)
4441 (custom-magic-value-create): Pad button tags with spaces.
4442 (custom-face-edit): New variable.
4443 (custom-face-value-create): Determine whether to use the usual
4444 face editor here, instead of using custom-face-selected.
4445 Pass face defaults to custom-face-edit widget.
4446 (custom-face-selected, custom-display-unselected): Delete widgets.
4447 (custom-display-unselected-match): Function removed.
4448 (custom-face-set, custom-face-mark-to-save):
4449 Accept custom-face-edit widgets as the direct widget child.
4451 * wid-edit.el (widget--completing-widget): New var.
4452 (widget-default-complete): Bind it when doing completion.
4453 (widget-string-complete, widget-file-complete): Use it.
4455 2010-10-09 Glenn Morris <rgm@gnu.org>
4457 * calendar/cal-hebrew.el (holiday-hebrew-rosh-hashanah)
4458 (holiday-hebrew-passover, holiday-hebrew-tisha-b-av)
4459 (holiday-hebrew-misc): Small simplifications.
4461 * emacs-lisp/authors.el (authors-valid-file-names): Add b2m.c.
4463 * net/browse-url.el: Don't require thingatpt, term, dired,
4464 executable, or w3-auto when compiling.
4465 (dired-get-filename, term-char-mode, term-send-down, term-send-string):
4467 (browse-url-text-emacs): Require term.
4469 2010-10-08 Andreas Schwab <schwab@linux-m68k.org>
4471 * net/browse-url.el (browse-url-xdg-open): Remove use of /bin/sh.
4473 2010-10-08 Glenn Morris <rgm@gnu.org>
4475 * emacs-lisp/cl-compat.el, emacs-lisp/lmenu.el: Move to obsolete/.
4477 * emacs-lisp/shadow.el (lisp-shadow): Change prefix.
4478 (shadows-compare-text-p): Make it an obsolete alias for...
4479 (load-path-shadows-compare-text): ... new name.
4480 (find-emacs-lisp-shadows): Update for above name change.
4481 (load-path-shadows-same-file-or-nonexistent): New name for the old
4482 shadow-same-file-or-nonexistent.
4484 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
4486 * minibuffer.el (completion--some, completion--do-completion)
4487 (minibuffer-complete-and-exit, minibuffer-completion-help)
4488 (completion-basic-try-completion)
4489 (completion-basic-all-completions)
4490 (completion-pcm--find-all-completions): Use lexical-let to
4491 avoid some false matches in variable completion (Bug#7056)
4493 2010-10-08 Olof Ohlsson Sax <olof.ohlsson.sax@gmail.com> (tiny change)
4495 * vc-svn.el (vc-svn-merge-news): Use --non-interactive. (Bug#7152)
4497 2010-10-08 Leo <sdl.web@gmail.com>
4499 * dnd.el (dnd-get-local-file-name): If MUST-EXIST is non-nil, only
4500 return non-nil if the file exists (Bug#7090).
4502 2010-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
4504 * minibuffer.el (completion--replace):
4505 Better preserve markers (bug#7138).
4507 2010-10-08 Juanma Barranquero <lekktu@gmail.com>
4509 * server.el (server-process-filter): Doc fix.
4511 2010-10-08 Drew Adams <drew.adams@oracle.com>
4513 * dired.el (dired-save-positions): Doc fix. (Bug#7119)
4515 2010-10-08 Glenn Morris <rgm@gnu.org>
4517 * vc/ediff-wind.el (ediff-setup-control-frame):
4518 * vc/ediff-ptch.el (ediff-default-backup-extension):
4519 * vc/ediff-diff.el (ediff-shell, ediff-diff-options)
4520 (ediff-exec-process): Remove system-types emx, windows-95.
4522 * net/browse-url.el (browse-url-xdg-open): Shell-quote url. (Bug#7166)
4524 2010-10-07 Chong Yidong <cyd@stupidchicken.com>
4526 * cus-edit.el (custom-variable, custom-face): Doc fix.
4527 (custom-face-edit): Add value-create attribute.
4528 (custom-face-edit-value-create)
4529 (custom-face-edit-value-visibility-action): New functions.
4530 Hide unused face attributes by default, and add a visibility toggle.
4531 (custom-face-edit-deactivate): Show empty values with shadow face.
4532 (custom-face-selected): Only use this for face specs with default
4534 (custom-face-value-create): Cleanup.
4536 * wid-edit.el (widget-checklist-value-create): Use dolist.
4537 (widget-checklist-match-find): Make second arg optional.
4539 2010-10-07 Glenn Morris <rgm@gnu.org>
4541 * hilit-chg.el (hilit-chg-get-diff-info, hilit-chg-get-diff-list-hk):
4544 * emacs-lisp/shadow.el (shadow-font-lock-keywords)
4545 (load-path-shadows-mode, list-load-path-shadows): Rename shadow-mode to
4546 load-path-shadows-mode, update references.
4547 (load-path-shadows-font-lock-keywords, load-path-shadows-find-file):
4548 Rename variable and button.
4549 (list-load-path-shadows): Update button caller.
4551 2010-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4553 * emacs-lisp/smie.el (smie-bnf-classify): New function.
4554 (smie-bnf-precedence-table): Use it to remember the closers/openers.
4555 (smie-merge-prec2s): Handle those new entries.
4556 (smie-prec2-levels): Only set precedence to nil for actual
4558 * progmodes/octave-mod.el (octave-smie-op-levels): Remove dummy entry
4559 that is now unnecessary.
4561 2010-10-07 Miles Bader <miles@gnu.org>
4563 * emacs-lisp/regexp-opt.el (regexp-opt): Add `symbols' mode.
4565 2010-10-07 Glenn Morris <rgm@gnu.org>
4567 * mail/rmail.el (mail-sendmail-delimit-header, mail-header-end)
4568 (mail-position-on-field): Remove declarations.
4569 (mail-position-on-field): Autoload it.
4570 (rmail-retry-failure): Replace use of mail-sendmail-delimit-header
4571 and mail-header-end. Don't require sendmail.
4573 * emacs-lisp/shadow.el (shadow-font-lock-keywords): New variable.
4574 (shadow-mode): New mode.
4575 (shadow-find-file): New button.
4576 (list-load-path-shadows): Use shadow-mode and buttons.
4578 * iimage.el (iimage-version): Remove.
4579 (iimage-mode-image-search-path, iimage-mode-image-regex-alist):
4580 Turn into defcustoms.
4581 (iimage-mode-map): Give it a doc string.
4583 * calendar/appt.el (appt-activate): Give a warning rather than an error
4584 if there is no diary-file.
4586 2010-10-06 Michael Albinus <michael.albinus@gmx.de>
4588 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4589 Use `tramp-handle-find-backup-file-name'.
4591 2010-10-06 Glenn Morris <rgm@gnu.org>
4593 * font-core.el (font-lock-defaults-alist): Remove variable.
4594 (font-lock-mode): Doc fix.
4595 (font-lock-default-function): Do not consult font-lock-defaults-alist.
4596 * font-lock.el (font-lock-refresh-defaults): Doc fix.
4597 (font-lock-set-defaults): Doc fix.
4598 Do not consult font-lock-defaults-alist.
4600 * hilit-chg.el (hilit-chg-get-diff-list-hk): Declare `e' for compiler.
4602 * emacs-lisp/cl.el: No longer provide cl-19.
4604 2010-10-05 Michael Albinus <michael.albinus@gmx.de>
4606 * net/tramp.el (tramp-handle-directory-files-and-attributes)
4607 (tramp-handle-file-exists-p, tramp-handle-file-newer-than-file-p):
4608 New defuns, taken from tramp-smb.el.
4609 (tramp-coding-system-change-eol-conversion)
4610 (tramp-set-process-query-on-exit-flag): Remove.
4612 * net/tramp-compat.el (top): Do not check for byte-compiler objects.
4613 (tramp-compat-coding-system-change-eol-conversion)
4614 (tramp-compat-set-process-query-on-exit-flag): New defuns, taken
4617 * net/tramp-gvfs.el:
4618 * net/tramp-gw.el: Replace `tramp-set-process-query-on-exit-flag'
4619 by `tramp-compat-set-process-query-on-exit-flag'.
4621 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
4622 Use `tramp-handle-directory-files-and-attributes',
4623 `tramp-handle-file-exists-p' and
4624 `tramp-handle-file-newer-than-file-p'.
4625 (tramp-imap-handle-file-exists-p)
4626 (tramp-imap-handle-file-executable-p)
4627 (tramp-imap-handle-file-readable-p)
4628 (tramp-imap-handle-directory-files-and-attributes)
4629 (tramp-imap-handle-file-newer-than-file-p): Remove.
4631 * net/tramp-sh.el: Replace `tramp-set-process-query-on-exit-flag'
4632 by `tramp-compat-set-process-query-on-exit-flag' and
4633 `tramp-coding-system-change-eol-conversion' by
4634 `tramp-compat-coding-system-change-eol-conversion'.
4636 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4637 Use `tramp-handle-directory-files-and-attributes',
4638 `tramp-handle-file-exists-p' and
4639 `tramp-handle-file-newer-than-file-p'.
4640 (tramp-smb-handle-directory-files-and-attributes)
4641 (tramp-smb-handle-file-exists-p)
4642 (tramp-smb-handle-file-newer-than-file-p): Remove.
4643 (tramp-smb-maybe-open-connection):
4644 Replace `tramp-set-process-query-on-exit-flag' by
4645 `tramp-compat-set-process-query-on-exit-flag'.
4647 2010-10-05 Glenn Morris <rgm@gnu.org>
4649 * obsolete/rnews.el, obsolete/rnewspost.el: Remove files.
4651 2010-10-04 Michael Albinus <michael.albinus@gmx.de>
4653 Continue reorganization of load dependencies. (Bug#7156)
4655 * net/tramp.el (tramp-handle-file-local-copy-hook)
4656 (tramp-delete-temp-file-function): Move down.
4657 (tramp-exists-file-name-handler): Move up.
4658 (tramp-register-file-name-handlers): Simplify autoload.
4659 (tramp-handle-write-region-hook, tramp-handle-directory-file-name)
4660 (tramp-handle-directory-files, tramp-handle-dired-uncache)
4661 (tramp-handle-file-modes, tramp-handle-file-name-as-directory)
4662 (tramp-handle-file-name-completion)
4663 (tramp-handle-file-name-directory)
4664 (tramp-handle-file-name-nondirectory, tramp-handle-file-regular-p)
4665 (tramp-handle-file-remote-p, tramp-handle-file-symlink-p)
4666 (tramp-handle-find-backup-file-name)
4667 (tramp-handle-insert-file-contents, tramp-handle-load)
4668 (tramp-handle-substitute-in-file-name)
4669 (tramp-handle-unhandled-file-name-directory)
4670 (tramp-mode-string-to-int, tramp-local-host-p)
4671 (tramp-make-tramp-temp-file): Move from tramp-sh.el.
4673 * net/tramp-gvfs.el (top):
4674 * net/tramp-smb.el (top): Do not require 'tramp-sh.
4676 * net/tramp-sh.el (all): Move several objects to tramp.el, see
4677 there. Rename `tramp-handle-*' to `tramp-sh-handle-*'.
4679 2010-10-04 Glenn Morris <rgm@gnu.org>
4681 * calendar/appt.el (appt-add): Ensure reminders are enabled.
4682 (appt-activate): Give status messages.
4684 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
4686 * net/gnutls.el: Improve docs. Remove starttls and ssl emulation.
4687 Provide only `open-gnutls-stream' (formerly `open-ssl-stream') and
4688 `gnutls-negotiate' (formerly `starttls-negotiate').
4689 Remove trivial wrapper `starttls-open-stream'.
4691 2010-10-03 Dan Nicolaescu <dann@ics.uci.edu>
4693 Make 'g' (AKA revert-buffer) rerun the VC log, log-incoming and
4694 log-outgoing commands.
4695 * vc/vc.el (vc-log-internal-common): Add a new argument and use it
4696 to create a buffer local revert-buffer-function variable.
4697 (vc-print-log-internal, vc-log-incoming, vc-log-outgoing): Pass a
4698 revert-buffer-function lambda.
4700 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
4702 * net/gnutls.el (starttls-negotiate): Use the plist interface to
4703 `gnutls-boot'. Make TYPE the only required parameter.
4704 Allow TRUSTFILES and KEYFILES to be lists.
4705 (open-ssl-stream): Use it.
4707 2010-10-03 Glenn Morris <rgm@gnu.org>
4709 * subr.el (directory-sep-char): Remove obsolete variable.
4710 * net/tramp-compat.el: Don't mess about with the byte-compiler unless
4713 * vc/vc-hooks.el (vc-header-alist): Remove obsolete variable.
4714 * vc/vc.el (vc-static-header-alist): Doc fix.
4715 * vc/vc-cvs.el (vc-cvs-header):
4716 * vc/vc-rcs.el (vc-rcs-header):
4717 * vc/vc-sccs.el (vc-sccs-header):
4718 * vc/vc-svn.el (vc-svn-header): Do not consult vc-header-alist.
4719 * obsolete/vc-mcvs.el (vc-mcvs-header):
4720 * progmodes/cperl-mode.el (cperl-mode): Only set vc-header-alist
4723 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
4725 * emacs-lisp/bytecomp.el (byte-compile-from-buffer):
4726 Remove obsolete use of binary-overwrite-mode (Bug#7001).
4728 2010-10-03 Glenn Morris <rgm@gnu.org>
4730 * obsolete/x-menu.el: Remove file, obsolete since 21.1
4732 * textmodes/rst.el (rst-font-lock-keywords-function):
4735 * textmodes/artist.el (artist-replace-char): Drop Emacs 20 code.
4737 * printing.el: Drop Emacs 20 code.
4739 * calendar/appt.el (appt-delete): Don't autoload it (you can't use it
4740 without having used appt.el already).
4742 * subr.el (make-local-hook): Remove function obsolete since 21.1.
4743 * progmodes/cc-mode.el (make-local-hook): Don't do cc-bytecomp stuff.
4744 (c-basic-common-init, c-font-lock-init): Only call make-local-hook on
4746 * progmodes/cc-styles.el (make-local-hook): Don't do cc-bytecomp stuff.
4747 (c-make-styles-buffer-local): Only call make-local-hook on XEmacs.
4749 * ps-def.el (leading-code-private-22, charset-bytes, charset-id)
4750 (charset-width, find-charset-region, chars-in-region, forward-point)
4751 (encode-coding-string, coding-system-p, ccl-execute-on-string)
4752 (define-ccl-program, multibyte-string-p, string-make-multibyte):
4753 Remove compatibility cruft (none of these are used by ps*.el).
4755 2010-10-03 Kevin Rodgers <kevin.d.rodgers@gmail.com>
4757 * subr.el (booleanp): Return t instead of a list (Bug#7086).
4759 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
4761 * server.el (server-process-filter, server-return-error):
4762 Give emacsclient time to shut down after receiving an error string.
4764 2010-10-02 Michael Albinus <michael.albinus@gmx.de>
4766 * files.el (remote-file-name-inhibit-cache): New defcustom.
4768 * time.el (display-time-file-nonempty-p):
4769 Use `remote-file-name-inhibit-cache'.
4771 * net/tramp.el (tramp-completion-reread-directory-timeout):
4774 * net/tramp-cache.el (tramp-cache-inhibit-cache): Remove.
4775 (tramp-get-file-property): Replace `tramp-cache-inhibit-cache' by
4776 `remote-file-name-inhibit-cache'. Check also for an integer
4777 value. Add/increase counter when `tramp-verbose' >= 10.
4778 (tramp-set-file-property): Add/increase counter when
4779 `tramp-verbose' >= 10.
4781 * net/tramp-cmds.el (tramp-cleanup-all-connections)
4782 (tramp-cleanup-all-buffers): Set tramp-autoload cookie.
4783 (tramp-bug): Set tramp-autoload cookie. Report all interned
4784 tramp-* variables. Report also `remote-file-name-inhibit-cache'.
4785 (tramp-reporter-dump-variable): Fix docstring. Mask non-7bit
4786 characters only in strings.
4788 * net/tramp-compat.el (remote-file-name-inhibit-cache): Define due
4789 to backward compatibility.
4791 * net/tramp-sh.el (tramp-handle-verify-visited-file-modtime)
4792 (tramp-handle-file-name-all-completions)
4793 (tramp-handle-vc-registered): Use `remote-file-name-inhibit-cache'.
4794 (tramp-open-connection-setup-interactive-shell):
4795 Call `tramp-cleanup-connection' directly.
4797 2010-10-02 Glenn Morris <rgm@gnu.org>
4799 * emacs-lisp/checkdoc.el (checkdoc-minor-keymap): Remove obsolete alias.
4801 * subr.el (char-bytes): Remove obsolete function.
4803 * isearch.el (isearch-return-char): Remove obsolete function.
4805 * mouse.el: No longer provide mldrag.
4806 (mldrag-drag-mode-line, mldrag-drag-vertical-line):
4807 Remove obsolete aliases.
4809 * comint.el (comint-kill-output): Remove obsolete alias.
4811 * composite.el (decompose-composite-char): Remove obsolete function.
4812 * ps-def.el (decompose-composite-char): Remove unused function.
4814 * iswitchb.el (iswitchb-default-keybindings): Remove obsolete function.
4816 * outline.el (outline-visible): Remove obsolete function.
4818 * term/pc-win.el (x-frob-font-slant, x-frob-font-weight):
4819 * faces.el (internal-find-face, internal-get-face)
4820 (frame-update-faces, frame-update-face-colors)
4821 (x-frob-font-weight, x-frob-font-slant)
4822 (internal-frob-font-weight, internal-frob-font-slant)
4823 (x-make-font-bold, x-make-font-demibold, x-make-font-unbold)
4824 (x-make-font-italic, x-make-font-oblique, x-make-font-unitalic)
4825 (x-make-font-bold-italic): Remove functions and aliases, obsolete
4827 * emulation/viper-util.el (viper-get-face):
4828 * obsolete/lucid.el (find-face, get-face): Use facep.
4829 * vc/ediff-init.el (ediff-valid-color-p, ediff-get-face):
4830 Remove unused functions.
4831 * vc/ediff-util.el (ediff-submit-report): Doc fix.
4833 * emacs-lisp/bytecomp.el (byte-compile-file): Use kill-emacs-hook to
4834 delete tempfile if interrupted during compilation.
4836 2010-10-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
4838 * net/tls.el (tls-starttls-switches): Give up on using starttls with
4840 (tls-program): Add --insecure to be consistent with the defaults from
4841 openssl s_client. Now all three commands are insecure.
4843 2010-10-01 Eli Zaretskii <eliz@gnu.org>
4845 * makefile.w32-in (DEST, TAGS, TAGS-LISP, TAGS-nmake)
4846 (TAGS-LISP-nmake, TAGS-gmake, TAGS-LISP-gmake, TAGS-SH)
4847 (TAGS-LISP-SH, TAGS-CMD, TAGS-LISP-CMD): New targets.
4849 2010-10-01 Glenn Morris <rgm@gnu.org>
4851 * obsolete/sc.el: Remove file.
4853 * files.el (temporary-file-directory): On darwin, also try
4854 DARWIN_USER_TEMP_DIR (see discussion in bug#7135).
4856 2010-10-01 Juanma Barranquero <lekktu@gmail.com>
4858 * server.el (server-start): Revert part of 2010-09-30T02:53:26Z!lekktu@gmail.com.
4859 Let's not break compatibility gratuitously, shall we?
4861 2010-09-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
4863 * net/tls.el (tls-starttls-switches): New variable.
4864 (tls-find-starttls-argument): Use it.
4865 (open-tls-stream): Ditto.
4867 * net/netrc.el (netrc-credentials): Return the value of the "default"
4869 (netrc-machine): Ditto.
4871 2010-09-30 Eli Zaretskii <eliz@gnu.org>
4873 * vc/vc-hooks.el (vc-default-mode-line-string): Doc fix.
4875 2010-09-30 Juanma Barranquero <lekktu@gmail.com>
4877 * server.el (server-start): Don't write pid to the authentication file.
4878 (server-create-tty-frame): Don't send pid.
4879 (server-process-filter): Send pid at the start of every connection.
4881 2010-09-30 Glenn Morris <rgm@gnu.org>
4883 * calendar/diary-lib.el (view-diary-entries, list-diary-entries)
4884 (show-all-diary-entries): Remove obsolete function aliases.
4886 * calendar/appt.el (appt-issue-message, appt-visible, appt-msg-window):
4887 Remove options, obsolete since 22.1.
4888 (appt-display-format, appt-display-message):
4889 Remove backwards-compatibility code.
4890 (appt-check): No longer check appt-issue-message.
4891 (appt-make-list): No longer autoload it. Doc fix. No longer
4892 activate the package.
4894 2010-09-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
4896 * net/gnutls.el (starttls-negotiate): Loop a lot longer.
4897 (starttls-negotiate): Just call boot, and let the handshake be
4898 triggered from the read loop.
4900 2010-09-29 Glenn Morris <rgm@gnu.org>
4902 * calendar/diary-lib.el (diary-list-entries): Use temp buffers when
4903 not displaying the diary.
4904 (diary-add-to-list): If no buffer-file-name, fall back to diary-file.
4905 * calendar/appt.el (appt-check): No longer need to kill diary.
4907 * calendar/diary-lib.el (diary-list-entries): Move the
4908 "Preparing..." message entirely here.
4909 (diary-simple-display, diary-fancy-display): Move "Preparing..."
4910 messages to diary-list-entries.
4911 (diary-include-other-diary-files): Use LIST-ONLY rather than setting
4912 diary-display-function.
4914 * calendar/diary-lib.el (diary-include-other-diary-files):
4915 Trap some recursive includes.
4917 * calendar/appt.el (appt-activate): Check diary file.
4919 2010-09-29 Katsumi Yamaoka <yamaoka@jpl.org>
4921 * pgg.el (pgg-run-at-time-1): Define it for XEmacs only; fix if/else
4924 * calendar/time-date.el: No need to require cl for Emacs 21.
4926 2010-09-28 Glenn Morris <rgm@gnu.org>
4928 * calendar/appt.el (appt-check): Minor simplification.
4930 2010-09-28 Katsumi Yamaoka <yamaoka@jpl.org>
4932 * mail/sendmail.el (mail-citation-prefix-regexp): Remove "}" from
4935 2010-09-27 Andreas Schwab <schwab@linux-m68k.org>
4937 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
4938 Avoid infinite recursion on erroneous lambda form. (Bug#7114)
4940 2010-09-27 Kenichi Handa <handa@m17n.org>
4942 * tar-mode.el (tar-header-block-tokenize): Decode filenames in
4945 2010-09-27 Kenichi Handa <handa@m17n.org>
4947 * international/mule.el (define-coding-system): Docstring fixed.
4949 * international/mule-diag.el (describe-character-set): Use princ
4950 with proper print-length and print-level instead of insert.
4952 2010-09-27 Juanma Barranquero <lekktu@gmail.com>
4954 * window.el (walk-windows): Doc fix (bug#7105).
4956 2010-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
4958 * emacs-lisp/float-sup.el (e): Remove.
4960 2010-09-27 Teodor Zlatanov <tzz@lifelogs.com>
4962 * net/gnutls.el (gnutls, gnutls-log-level): Add group and custom
4964 (starttls-negotiate): Use it.
4966 2010-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
4968 * net/gnutls.el (starttls-negotiate): Stop looping when we get a t
4971 2010-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
4973 * emacs-lisp/pcase.el (pcase-let*, pcase-let): plet -> pcase-let.
4975 2010-09-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
4977 * net/gnutls.el (starttls-negotiate): Avoid the cl.el decf function.
4979 * net/netrc.el (netrc-store-data): New function.
4981 2010-09-26 Teodor Zlatanov <tzz@lifelogs.com>
4983 * net/gnutls.el: GnuTLS glue code to set up a connection.
4985 2010-09-25 Julien Danjou <julien@danjou.info>
4987 * notifications.el: Call dbus-register-signal only if it is bound.
4989 2010-09-25 Glenn Morris <rgm@gnu.org>
4991 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
4992 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
4993 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
4994 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
4995 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
4996 * eshell/esh-cmd.el, eshell/esh-ext.el, eshell/esh-io.el:
4997 * eshell/esh-mode.el, eshell/esh-proc.el, eshell/esh-test.el:
4998 * eshell/esh-util.el, eshell/esh-var.el:
4999 Remove leading `*' from docs of faces and defcustoms.
5001 2010-09-25 Ulrich Mueller <ulm@gentoo.org>
5003 * eshell/em-ls.el (eshell-ls-archive-regexp):
5004 * eshell/esh-util.el (eshell-tar-regexp):
5005 * ibuffer.el (ibuffer-compressed-file-name-regexp):
5006 * info.el (Info-suffix-list):
5007 * international/mule.el (auto-coding-alist):
5008 * woman.el (woman-file-regexp, woman-file-compression-regexp):
5009 * progmodes/etags.el (tags-compression-info-list):
5010 Support xz compression.
5012 2010-09-25 Chong Yidong <cyd@stupidchicken.com>
5014 * files.el (get-free-disk-space): Don't assume the "df" output
5015 columns line up (Bug#6995).
5017 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
5019 * finder.el (finder-unknown-keywords):
5020 * progmodes/gdb-mi.el (gdb-jsonify-buffer, gdb-running-threads-count):
5021 * progmodes/etags.el (tags-table-including): Fix typos in docstrings.
5023 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
5025 * server.el (server-start): Revert part of 2010-08-08 change. Using
5026 address 127.0.0.1 for local host is now done in Fmake_network_process.
5028 2010-09-24 Glenn Morris <rgm@gnu.org>
5030 * image-mode.el, progmodes/compile.el, progmodes/gud.el:
5031 * progmodes/mixal-mode.el, textmodes/bibtex-style.el:
5032 * textmodes/css-mode.el, textmodes/dns-mode.el:
5033 Move autoloaded auto-mode-alist entries to files.el.
5034 * files.el (auto-mode-alist): Move entries here.
5036 2010-09-23 Glenn Morris <rgm@gnu.org>
5038 * isearch.el (isearch-lazy-highlight-cleanup)
5039 (isearch-lazy-highlight-initial-delay)
5040 (isearch-lazy-highlight-interval)
5041 (isearch-lazy-highlight-max-at-a-time, isearch-lazy-highlight-face):
5042 * net/net-utils.el (ipconfig-program-options):
5043 Move aliases to options before the associated definitions.
5045 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
5047 * newcomment.el (comment-normalize-vars): Better test validity of
5050 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
5052 * emacs-lisp/float-sup.el (float-pi): New name for `pi'.
5053 (float-e): New name for `e'.
5054 (degrees-to-radians, radians-to-degrees):
5055 * calendar/solar.el (solar-longitude):
5056 * calculator.el (calculator-registers, calculator-funcall):
5057 * textmodes/artist.el (artist-spray-random-points):
5058 * play/bubbles.el (bubbles--initialize-images): Use new names.
5060 2010-09-23 Eric M. Ludlam <zappo@gnu.org>
5062 Update to CEDET 1.0's version of EIEIO.
5064 * emacs-lisp/eieio.el (eieio-specialized-key-to-generic-key):
5066 (eieio-defmethod, eieio-generic-form, eieio-generic-call): Use it.
5067 (eieio-default-eval-maybe): Eval val instead of unquoting only.
5068 (class-precedence-list): If class is nil, return nil.
5069 (eieio-generic-call): If class of first input arg is nil, don't
5070 look up static methods, and do check for primary methods.
5071 (initialize-instance): See if the default needs to be evaluated
5072 during the constructor.
5073 (eieio-perform-slot-validation-for-default): Don't do the check
5074 for values that will eventually be evaluated.
5075 (eieio-eval-default-p): New function.
5076 (eieio-default-eval-maybe): Use it.
5078 2010-09-23 Jan Moringen <jan.moringen@uni-bielefeld.de>
5080 * emacs-lisp/eieio.el (eieio-defclass): Allow :c3
5081 method-invocation-order.
5082 (eieio-c3-candidate, eieio-c3-merge-lists): New functions.
5083 (eieio-class-precedence-dfs): Compute class precedence list using
5085 (eieio-class-precedence-bfs): Compute class precedence list using
5087 (eieio-class-precedence-c3): Compute class precedence list using
5089 (class-precedence-list): New function.
5090 (eieiomt-method-list, eieiomt-sym-optimize): Use it.
5091 (inconsistent-class-hierarchy): New error symbol.
5092 (call-next-method): Stow the replacement argument list for future
5093 call-next-method invocations.
5095 2010-09-23 Glenn Morris <rgm@gnu.org>
5097 * calendar/appt.el (appt-check): If not displaying the diary,
5098 use (diary 1) to only get the entries we need.
5099 (appt-make-list): Sort diary-list-entries, if we cannot guarantee
5100 that it is in day order. (Bug#7019)
5102 * calendar/appt.el (appt-check): Rather than showing the diary,
5103 just turn off invisible display, and only if needed.
5105 * calendar/diary-lib.el (diary-list-entries): Doc fix. (Bug#7019)
5107 2010-09-23 Glenn Morris <rgm@gnu.org>
5109 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
5110 (byte-compile-defvar, byte-compile-cl-warn):
5111 Start warnings with lower-case, like the majority.
5113 * files.el (auto-mode-alist): Add .xa, .xw, .xsw for ld-script-mode.
5115 * files.el (auto-mode-alist): Prefer C-mode for .xs. (Bug#7071)
5117 * progmodes/ld-script.el (auto-mode-alist): Move to files.el.
5118 * files.el (auto-mode-alist): Move ld-script entries here, further down
5121 * vc/add-log.el: Don't require timezone when compiling.
5122 (timezone-make-date-sortable): Autoload it.
5123 (change-log-sortable-date-at): Don't require timezone.
5124 Use `ignore-errors'.
5126 * comint.el (comint-use-prompt-regexp-instead-of-fields):
5127 Move alias before definition, so it does not need autoloading.
5129 * emulation/crisp.el, emulation/cua-base.el, emulation/edt.el:
5130 * emulation/pc-select.el, emulation/vip.el, international/iso-ascii.el:
5131 * international/kkc.el, international/ogonek.el, mail/feedmail.el:
5132 * net/browse-url.el, net/eudc-vars.el, net/net-utils.el:
5133 * net/rcompile.el, net/rlogin.el, textmodes/enriched.el:
5134 * textmodes/makeinfo.el, textmodes/page-ext.el, textmodes/picture.el:
5135 * textmodes/refer.el, textmodes/spell.el, textmodes/table.el:
5136 * textmodes/tex-mode.el, textmodes/two-column.el:
5137 Remove leading `*' from docs of defcustoms etc.
5139 2010-09-23 Teodor Zlatanov <tzz@lifelogs.com>
5141 * net/netrc.el (netrc-parse): Remove encrypt.el mentions.
5143 2010-09-22 Dan Christensen <jdc@uwo.ca>
5145 * calendar/time-date.el (date-to-time): Try using parse-time-string
5146 first before using the slower timezone-make-date-arpa-standard.
5148 2010-09-22 Katsumi Yamaoka <yamaoka@jpl.org>
5150 * calendar/time-date.el (format-seconds): Comment fix.
5152 2010-09-22 Glenn Morris <rgm@gnu.org>
5154 * emacs-lisp/package.el (package-menu-mode): `revert-buffer-function'
5155 is not automatically buffer-local.
5157 2010-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
5159 * emacs-lisp/smie.el (smie-debug--describe-cycle): Fix typo.
5160 (smie-indent-comment): Be more careful with comment-start-skip.
5161 (smie-indent-comment-close, smie-indent-comment-inside): New funs.
5162 (smie-indent-functions): Use them.
5164 2010-09-21 Michael Albinus <michael.albinus@gmx.de>
5166 * net/ange-ftp.el (ange-ftp-skip-msgs): Add "^504 ..." message.
5168 2010-09-21 Jan Djärv <jan.h.d@swipnet.se>
5170 * menu-bar.el (menu-bar-set-tool-bar-position): customize-set-variable
5171 tool-bar-position. Don't modify frame parameters here.
5172 (menu-bar-options-save): Add tool-bar-position.
5174 * tool-bar.el (tool-bar-position): New defcustom (Bug#7049).
5176 2010-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
5178 * textmodes/reftex-parse.el (reftex-what-macro)
5179 (reftex-context-substring): Let-bind forward-sexp-function to nil
5180 since we don't need/want to treat \begin...\end as a block (bug#7053).
5182 * emacs-lisp/lisp.el (up-list): Don't do nothing silently.
5184 * simple.el (blink-matching-open): Use syntax-class.
5186 * progmodes/pascal.el (pascal-mode): Use define-derived-mode.
5187 Set invisibility spec for pascal's outline mode.
5188 (pascal-outline-change): Clean up calling convention.
5189 (pascal-show-all, pascal-hide-other-defuns): Update callers.
5191 * progmodes/prolog.el (prolog-smie-forward-token)
5192 (prolog-smie-backward-token): New functions.
5193 (prolog-mode-variables): Use them to parse "!," correctly.
5194 Set up smie-blink-matching for ".".
5196 * textmodes/ispell.el (ispell-start, ispell-end): Rename from `start'
5198 (ispell-region, ispell-process-line): Update users.
5200 * textmodes/reftex-parse.el (reftex-what-macro): Don't hardcode
5203 * textmodes/ispell.el: Fix commenting convention.
5204 (ispell-parse-output): Simplify, use push.
5205 (ispell-region): Use match-string-no-properties.
5206 (ispell-begin-skip-region-regexp): Use mapconcat to simplify.
5207 (ispell-minor-mode): Use define-minor-mode.
5208 (ispell-message): Remove unused var `skip-regexp'.
5209 (ispell-add-per-file-word-list): Use dynamic let-binding.
5210 Try and use the proper comment marker.
5212 * mail/sendmail.el: Fix commenting convention.
5213 (sendmail-send-it): Use line-beginning-position.
5215 * help-fns.el (describe-variable): Add original value, if applicable.
5217 2010-09-20 Juanma Barranquero <lekktu@gmail.com>
5219 * subr.el (y-or-n-p): Remove leftover code from 2010-09-17T13:30:30Z!monnier@iro.umontreal.ca.
5221 * emacs-lisp/smie.el (smie-indent--hanging-p): Use `smie-indent--bolp'.
5223 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5225 * emacs-lisp/smie.el (smie-bnf-precedence-table): Improve error message.
5226 (smie-debug--prec2-cycle, smie-debug--describe-cycle): New functions.
5227 (smie-prec2-levels): Use them to better diagnose precedence cycles.
5228 (smie-blink-matching-check): Don't signal a mismatch if car is t.
5229 (smie-blink-matching-open): Rewrite to remove assumptions, so that
5230 something like "." can also be a closer.
5231 (smie--associative-p, smie-indent--hanging-p, smie-indent--bolp)
5232 (smie-indent--offset, smie-indent--offset-rule, smie-indent--column):
5233 Rename internal functions to use "--". Update callers.
5235 * frame.el (make-frame-names-alist): Don't list frames on other displays.
5237 * fringe.el (fringe-styles): New var.
5238 (fringe-mode, fringe-query-style): Use it.
5240 2010-09-18 Michael R. Mauger <mmaug@yahoo.com>
5242 * progmodes/sql.el: Version 2.8
5243 (sql-login-params): Update widget structure; changes still needed.
5244 (sql-product-alist): Add :list-all and :list-table features for
5245 SQLite, Postgres and MySQL products.
5246 (sql-redirect): Handle default value.
5247 (sql-execute, sql-execute-feature): New functions.
5248 (sql-read-table-name): New function.
5249 (sql-list-all, sql-list-table): New functions. User API.
5250 (sql-mode-map, sql-interactive-mode-map): Add key definitions
5251 for above functions.
5252 (sql-mode-menu, sql-interactive-mode-menu): Add menu definitions
5253 for above functions.
5254 (sql-postgres-login-params): Add user and database defaults.
5255 (sql-buffer-live-p): Bug fix.
5256 (sql-product-history): New variable.
5257 (sql-read-product): New function. Use it.
5258 (sql-set-product, sql-product-interactive): Use it.
5259 (sql-connection-history): New variable.
5260 (sql-read-connection): New function. Use it.
5261 (sql-connect): New function.
5262 (sql-for-each-login): Redesign function interface.
5263 (sql-make-alternate-buffer-name, sql-save-connection): Use it.
5264 (sql-get-login-ext, sql-get-login): Use it. Handle default values.
5265 (sql-comint): Check for program. Existing live buffer.
5266 (sql-comint-postgres): Add port parameter.
5268 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5270 * emacs-lisp/warnings.el: Fix commenting convention.
5271 (display-warning): Use special mode and make the buffer read-only.
5273 2010-09-18 Jay Belanger <jay.p.belanger@gmail.com>
5275 * calc/calc-prog.el (calc-read-parse-table-part): Don't "fix" the
5276 empty string when it follows a repeated or optional pattern.
5278 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
5280 * indent.el (indent-according-to-mode): Apply syntax-propertize.
5281 (indent-region): Use indent-according-to-mode.
5283 2010-09-18 Eli Zaretskii <eliz@gnu.org>
5285 * fringe.el (fringe-mode): Doc fix.
5287 2010-09-14 Kan-Ru Chen <kanru@kanru.info> (tiny change)
5289 * textmodes/nroff-mode.el (nroff-view): Kill old buffer before
5290 refreshing the preview buffer.
5292 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
5294 * textmodes/tex-mode.el (tex-syntax-propertize-rules)
5295 (latex-syntax-propertize-rules): New consts; replace
5296 tex-font-lock-syntactic-keywords.
5297 (tex-env-mark, latex-env-before-change): New functions.
5298 (latex-electric-env-pair-mode): New minor mode.
5299 (tex-font-lock-verb): Change arguments; do move point.
5300 (tex-font-lock-syntactic-face-function): Adjust to new verbatim
5301 representation as a form of comment.
5302 (tex-font-lock-keywords-1): Remove workaround, now unneeded.
5303 (doctex-syntax-propertize-rules): New const; replaces
5304 doctex-font-lock-syntactic-keywords.
5305 (tex-common-initialization, doctex-mode): Use syntax-propertize-rules.
5307 * progmodes/fortran.el (fortran--font-lock-syntactic-keywords): Remove.
5308 (fortran-make-syntax-propertize-function): New function; replaces
5309 fortran-font-lock-syntactic-keywords.
5310 (fortran-mode): Use it.
5311 (fortran-line-length): Use it. Improve interactive spec.
5313 * emacs-lisp/syntax.el (syntax-propertize-precompile-rules): New macro.
5314 (syntax-propertize-rules): Add var-ref case. Fix offset computation
5315 when adding surrounding \(..\).
5317 * progmodes/js.el (js-mode): Fix last change (bug#7054).
5319 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
5321 * obsolete/old-whitespace.el (whitespace-rescan-files-in-buffers):
5322 Use with-current-buffer.
5324 * isearch.el (isearch-face): Rename from `isearch'.
5325 (isearch-highlight): Use new name.
5327 2010-09-17 Eli Zaretskii <eliz@gnu.org>
5329 * fringe.el (fringe-mode, fringe-query-style): Use 4 pixels, not
5330 5, for `half' width fringes. (Bug#6933)
5332 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
5334 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
5335 (byte-compile-defvar): "foo/bar" does not lack a prefix.
5337 * subr.el (y-or-n-p): Add the "(y or n)" that was lost somehow.
5339 2010-09-17 Stephen Berman <stephen.berman@gmx.net>
5341 * dframe.el (dframe-reposition-frame-emacs): Use tool-bar-pixel-width
5342 in calculating new frame position. Add more space between new and
5343 parent on the left (Bug#7048).
5345 2010-09-17 Michael Albinus <michael.albinus@gmx.de>
5347 * net/tramp-compat.el (tramp-compat-with-temp-message): Make it a
5350 2010-09-16 Chong Yidong <cyd@stupidchicken.com>
5352 * mail/sendmail.el: Add "*unsent mail*" to same-window-buffer-names.
5354 * term/x-win.el (x-cut-buffer-or-selection-value): Define as
5355 obsolete alias for x-selection-value.
5357 * ido.el (ido-make-buffer-list): Fix error in 2010-08-22 merge.
5359 2010-09-16 Michael Albinus <michael.albinus@gmx.de>
5361 * net/tramp-cmds.el (tramp-cleanup-connection): Set tramp-autoload
5364 2010-09-15 Michael Albinus <michael.albinus@gmx.de>
5366 * net/tramp-compat.el (tramp-compat-with-temp-message)
5367 (tramp-compat-font-lock-add-keywords, tramp-compat-process-get)
5368 (tramp-compat-process-put): New defuns.
5370 * net/tramp.el (top):
5371 * net/tramp-gvfs.el (top):
5372 * net/tramp-cache.el (top): Use `tramp-compat-font-lock-add-keywords'.
5374 * net/tramp.el (tramp-progress-reporter-update):
5375 Use `tramp-compat-funcall'.
5377 * net/tramp.el (tramp-process-actions):
5378 * net/tramp-gvfs.el (tramp-handle-vc-registered):
5379 * net/tramp-sh.el (tramp-gvfs-handler-askquestion)
5380 (tramp-get-remote-stat, tramp-get-remote-readlink):
5381 Use `tramp-compat-with-temp-message'.
5383 * net/tramp-sh.el (top): Require 'cl.
5384 (tramp-handle-start-file-process): Use `tramp-compat-process-get'.
5385 (tramp-open-connection-setup-interactive-shell):
5386 Use `tramp-compat-process-put'.
5388 2010-09-15 Alan Mackenzie <acm@muc.de>
5390 * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Correct the
5392 (c-forward-<>-arglist-recur): Fix an infinite recursion.
5394 2010-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
5396 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
5397 `lexical' for warnings related to lexical scoping.
5398 (byte-compile-file-form-defvar, byte-compile-defvar): Warn about
5399 global vars which don't have a prefix and could hence affect lexical
5400 scoping in unrelated files.
5402 2010-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
5404 * net/imap.el: Revert back to version
5405 cb950ed8ff3e0f40dac437a51b269166f9ffb60d, since some of the changes
5408 2010-09-14 Juanma Barranquero <lekktu@gmail.com>
5410 * obsolete/old-whitespace.el (whitespace-unload-function):
5411 Explicitly pass `obarray' to `unintern' to avoid a warning.
5413 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
5415 * emacs-lisp/byte-run.el (set-advertised-calling-convention):
5416 Add `when' argument. Update callers.
5418 * subr.el (unintern): Declare the obarray arg mandatory.
5420 2010-09-14 Glenn Morris <rgm@gnu.org>
5422 * calendar/diary-lib.el (diary-list-entries-hook, diary-sort-entries):
5425 * calendar/diary-lib.el (diary-included-files): New variable.
5426 (diary-list-entries): Maybe initialize diary-included-files.
5427 (diary-include-other-diary-files): Append to diary-included-files.
5428 * calendar/appt.el (appt-update-list): Also check the members of
5429 diary-included-files. (Bug#6999)
5430 (appt-check): Doc fix.
5432 2010-09-14 David Reitter <david.reitter@gmail.com>
5434 * simple.el (line-move-visual): Do not truncate goal column to
5435 integer size. (Bug#7020)
5437 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
5439 * repeat.el (repeat): Allow repeating when the last event is a click.
5440 Suggested by Drew Adams (bug#6256).
5442 2010-09-14 Sascha Wilde <wilde@sha-bang.de>
5444 * vc/vc-hg.el (vc-hg-state,vc-hg-working-revision):
5445 Replace setting HGRCPATH to "" by some less invasive --config options.
5447 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
5449 * font-lock.el (font-lock-beginning-of-syntax-function):
5452 2010-09-14 Glenn Morris <rgm@gnu.org>
5454 * menu-bar.el (menu-bar-options-save): Fix handling of menu-bar
5455 and tool-bar modes. (Bug#6211)
5456 (menu-bar-mode): Move setting of standard-value after the
5457 minor-mode definition, otherwise it seems to have no effect.
5459 2010-09-14 Masatake YAMATO <yamato@redhat.com>
5461 * progmodes/antlr-mode.el (antlr-font-lock-additional-keywords):
5462 Fix typo. (Bug#6976)
5464 2010-09-14 Vinicius Jose Latorre <viniciusjl@ig.com.br>
5466 * whitespace.el: Allow cleaning up blanks without blank
5467 visualization (Bug#6651). Adjust help window for
5468 whitespace-toggle-options (Bug#6479). Allow to use fill-column
5469 instead of whitespace-line-column (from EmacsWiki). New version 13.1.
5470 (whitespace-style): Add new value 'face. Adjust docstring.
5471 (whitespace-space, whitespace-hspace, whitespace-tab):
5472 Adjust foreground property face.
5473 (whitespace-line-column): Adjust docstring and type declaration.
5474 (whitespace-style-value-list, whitespace-toggle-option-alist)
5475 (whitespace-help-text): Adjust const initialization.
5476 (whitespace-toggle-options, global-whitespace-toggle-options):
5478 (whitespace-display-window, whitespace-interactive-char)
5479 (whitespace-style-face-p, whitespace-color-on): Adjust code.
5480 (whitespace-help-scroll): New fun.
5482 2010-09-14 Katsumi Yamaoka <yamaoka@jpl.org>
5484 * calendar/time-date.el (format-seconds): Comment fix.
5486 2010-09-13 Michael R. Mauger <mmaug@yahoo.com>
5488 * progmodes/sql.el: Version 2.7.
5489 (sql-buffer-live-p): Improve detection.
5490 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
5491 (sql-set-sqli-buffer): Use it.
5492 (sql-product-interactive): Run `sql-set-sqli-hook'.
5493 (sql-rename-buffer): Code cleanup.
5494 (sql-redirect, sql-redirect-value): New functions. More to come.
5496 2010-09-13 Juanma Barranquero <lekktu@gmail.com>
5498 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.
5499 * makefile.w32-in (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
5500 (TRAMP_SRC): New macro.
5501 ($(lisp)/net/tramp-loaddefs.el): New target.
5503 2010-09-13 Michael Albinus <michael.albinus@gmx.de>
5505 Major code cleanup. Split tramp.el into tramp.el and tramp-sh.el.
5507 * Makefile.in (TRAMP_SRC): Remove tramp-fish.el. Add tramp-sh.el.
5509 * net/tramp.el (top): Don't show loading message. Require just
5510 'tramp-compat, everything else is required there.
5511 Use `ignore-errors' where appropriate.
5512 (tramp-inline-compress-start-size, tramp-copy-size-limit)
5513 (tramp-terminal-type, tramp-end-of-output)
5514 (tramp-initial-end-of-output, tramp-completion-function-alist-rsh)
5515 (tramp-completion-function-alist-ssh)
5516 (tramp-completion-function-alist-telnet)
5517 (tramp-completion-function-alist-su)
5518 (tramp-completion-function-alist-putty, tramp-remote-path)
5519 (tramp-remote-process-environment, tramp-sh-extra-args)
5520 (tramp-actions-before-shell, tramp-uudecode)
5521 (tramp-perl-file-truename, tramp-perl-file-name-all-completions)
5522 (tramp-perl-file-attributes)
5523 (tramp-perl-directory-files-and-attributes)
5524 (tramp-perl-encode-with-module, tramp-perl-decode-with-module)
5525 (tramp-perl-encode, tramp-perl-decode)
5526 (tramp-vc-registered-read-file-names, tramp-file-mode-type-map)
5527 (tramp-file-name-handler-alist, tramp-make-tramp-temp-file)
5528 (tramp-handle-make-symbolic-link, tramp-handle-load)
5529 (tramp-handle-file-name-as-directory)
5530 (tramp-handle-file-name-directory)
5531 (tramp-handle-file-name-nondirectory, tramp-handle-file-truename)
5532 (tramp-handle-file-exists-p, tramp-handle-file-attributes)
5533 (tramp-do-file-attributes-with-ls)
5534 (tramp-do-file-attributes-with-perl)
5535 (tramp-do-file-attributes-with-stat)
5536 (tramp-handle-set-visited-file-modtime)
5537 (tramp-handle-verify-visited-file-modtime)
5538 (tramp-handle-set-file-modes, tramp-handle-set-file-times)
5539 (tramp-set-file-uid-gid, tramp-remote-selinux-p)
5540 (tramp-handle-file-selinux-context)
5541 (tramp-handle-set-file-selinux-context)
5542 (tramp-handle-file-executable-p, tramp-handle-file-readable-p)
5543 (tramp-handle-file-newer-than-file-p, tramp-handle-file-modes)
5544 (tramp-handle-file-directory-p, tramp-handle-file-regular-p)
5545 (tramp-handle-file-symlink-p, tramp-handle-file-writable-p)
5546 (tramp-handle-file-ownership-preserved-p)
5547 (tramp-handle-directory-file-name, tramp-handle-directory-files)
5548 (tramp-handle-directory-files-and-attributes)
5549 (tramp-do-directory-files-and-attributes-with-perl)
5550 (tramp-do-directory-files-and-attributes-with-stat)
5551 (tramp-handle-file-name-all-completions)
5552 (tramp-handle-file-name-completion, tramp-handle-add-name-to-file)
5553 (tramp-handle-copy-file, tramp-handle-copy-directory)
5554 (tramp-handle-rename-file, tramp-do-copy-or-rename-file)
5555 (tramp-do-copy-or-rename-file-via-buffer)
5556 (tramp-do-copy-or-rename-file-directly)
5557 (tramp-do-copy-or-rename-file-out-of-band)
5558 (tramp-handle-make-directory, tramp-handle-delete-directory)
5559 (tramp-handle-delete-file)
5560 (tramp-handle-dired-recursive-delete-directory)
5561 (tramp-handle-dired-compress-file, tramp-handle-dired-uncache)
5562 (tramp-handle-insert-directory)
5563 (tramp-handle-unhandled-file-name-directory)
5564 (tramp-handle-expand-file-name)
5565 (tramp-handle-substitute-in-file-name)
5566 (tramp-handle-executable-find, tramp-process-sentinel)
5567 (tramp-handle-start-file-process, tramp-handle-process-file)
5568 (tramp-handle-call-process-region, tramp-handle-shell-command)
5569 (tramp-handle-file-local-copy, tramp-handle-file-remote-p)
5570 (tramp-handle-insert-file-contents)
5571 (tramp-handle-insert-file-contents-literally)
5572 (tramp-handle-find-backup-file-name)
5573 (tramp-handle-make-auto-save-file-name, tramp-handle-write-region)
5574 (tramp-vc-registered-file-names, tramp-handle-vc-registered)
5575 (tramp-sh-file-name-handler, tramp-vc-file-name-handler)
5576 (tramp-maybe-send-script, tramp-set-auto-save, tramp-run-test)
5577 (tramp-run-test2, tramp-find-executable, tramp-set-remote-path)
5578 (tramp-find-file-exists-command, tramp-open-shell)
5579 (tramp-find-shell, tramp-barf-if-no-shell-prompt)
5580 (tramp-open-connection-setup-interactive-shell)
5581 (tramp-local-coding-commands, tramp-remote-coding-commands)
5582 (tramp-find-inline-encoding, tramp-call-local-coding-command)
5583 (tramp-inline-compress-commands, tramp-find-inline-compress)
5584 (tramp-compute-multi-hops, tramp-maybe-open-connection)
5585 (tramp-send-command, tramp-wait-for-output)
5586 (tramp-send-command-and-check, tramp-barf-unless-okay)
5587 (tramp-send-command-and-read, tramp-mode-string-to-int)
5588 (tramp-convert-file-attributes, tramp-check-cached-permissions)
5589 (tramp-file-mode-from-int, tramp-file-mode-permissions)
5590 (tramp-shell-case-fold, tramp-make-copy-program-file-name)
5591 (tramp-method-out-of-band-p, tramp-local-host-p)
5592 (tramp-get-remote-path, tramp-get-remote-tmpdir)
5593 (tramp-get-ls-command, tramp-get-ls-command-with-dired)
5594 (tramp-get-test-command, tramp-get-test-nt-command)
5595 (tramp-get-file-exists-command, tramp-get-remote-ln)
5596 (tramp-get-remote-perl, tramp-get-remote-stat)
5597 (tramp-get-remote-readlink, tramp-get-remote-trash)
5598 (tramp-get-remote-id, tramp-get-remote-uid, tramp-get-remote-gid)
5599 (tramp-get-local-uid, tramp-get-local-gid)
5600 (tramp-get-inline-compress, tramp-get-inline-coding): Move to
5602 (tramp-methods, tramp-default-method-alist)
5603 (tramp-default-user-alist, tramp-foreign-file-name-handler-alist):
5604 Move initialization to tramp-sh.el.
5605 (tramp-temp-name-prefix): Make it a defconst.
5606 (tramp-dissect-file-name): Don't check anymore for multi-hop
5608 (tramp-debug-outline-regexp): Add a docstring.
5609 (tramp-debug-outline-level): Rename from `tramp-outline-level'.
5610 (tramp-get-debug-buffer): Use it.
5612 * net/tramp-cache.el (top): Set tramp-autoload cookie for
5613 initialization forms.
5614 (tramp-set-connection-property): Don't protect `tramp-message'
5615 call, it isn't necessary any longer.
5616 (tramp-dump-connection-properties): Use `ignore-errors'.
5618 * net/tramp-compat.el (top): Require 'advice, 'format-spec,
5619 'password-cache and 'auth-source.
5621 * net/tramp-gvfs.el (top):
5622 * net/tramp-smb.el (top): Require 'tramp-sh.
5624 * net/tramp-gw.el (tramp-gw-open-network-stream): Use `ignore-errors'.
5626 * net/tramp-sh.el: New file, derived from tramp.el.
5627 (top): Initialize `tramp-methods', `tramp-default-method-alist',
5628 `tramp-default-user-alist', `tramp-foreign-file-name-handler-alist'.
5629 Remove "scp1_old", "scp2_old", "ssh1_old", "ssh2_old".
5630 Use `ignore-errors' where appropriate.
5631 (tramp-sh-file-name-handler-alist): Rename from
5632 `tramp-file-name-handler-alist'.
5633 (tramp-send-command-and-check): Return t or nil. Remove all
5634 `zerop' checks, where called.
5635 (tramp-handle-set-file-modes)
5636 (tramp-do-copy-or-rename-file-directly)
5637 (tramp-handle-delete-directory, tramp-handle-delete-file)
5638 (tramp-maybe-send-script): Use `tramp-barf-unless-okay'.
5639 (tramp-sh-file-name-handler, tramp-send-command-and-check)
5640 (tramp-get-remote-ln): Set tramp-autoload cookie.
5642 * net/tramp-fish.el: Remove file.
5644 2010-09-13 Daiki Ueno <ueno@unixuser.org>
5646 * epa-file.el (epa-file-insert-file-contents): If visiting, bind
5647 buffer-file-name to avoid file-locking. (Bug#7026)
5649 2010-09-13 Julien Danjou <julien@danjou.info>
5651 * notifications.el (notifications-notify): Add support for
5652 image-path and sound-name.
5653 (notifications-specification-version): Add this variable.
5655 2010-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5657 * subr.el (y-or-n-p): New function, moved from src/fns.c; use read-key.
5659 2010-09-12 Leo <sdl.web@gmail.com>
5661 * net/rcirc.el (rcirc-server-commands, rcirc-client-commands)
5662 (rcirc-completion-start): New variables.
5663 (rcirc-nick-completions): Rename to rcirc-completions.
5664 (rcirc-nick-completion-start-offset): Delete.
5665 (rcirc-completion-at-point): New function for constructing
5666 completion data for both nicks and irc commands. Add to
5667 completion-at-point-functions in rcirc mode.
5668 (rcirc-complete): Rename from rcirc-nick-complete; use
5669 rcirc-completion-at-point.
5670 (defun-rcirc-command): Update rcirc-client-commands.
5672 2010-09-11 Glenn Morris <rgm@gnu.org>
5674 * emacs-lisp/bytecomp.el (byte-compile-file): Create .elc files
5675 atomically, to avoid parallel build errors. (Bug#4196)
5677 2010-09-11 Michael R. Mauger <mmaug@yahoo.com>
5679 * progmodes/sql.el: Version 2.6
5680 (sql-dialect): Synonym for "sql-product".
5681 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
5682 (sql-set-sqli-buffer, sql-show-sqli-buffer, sql-interactive-mode):
5683 Set "sql-buffer" to buffer name not buffer object so multiple sql
5684 interactive buffers work properly. Reverts misguided changes in
5686 (sql-comint): Make sure different buffer name is used if "*SQL*"
5687 buffer is for a different product.
5688 (sql-make-alternate-buffer-name): Fix bug with "sql-database"
5690 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
5691 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
5692 (sql-db2, sql-linter, sql-product-interactive, sql-rename-buffer):
5693 Accept new buffer name or prompt for one.
5694 (sql-port): Default to zero.
5695 (sql-comint-mysql): Handle "sql-port" as a numeric.
5696 (sql-port-history): Delete unused variable.
5697 (sql-get-login): Default "sql-port" to a number.
5698 (sql-product-alist): Correct Postgres prompt and terminator regexp.
5699 (sql-sqlite-program): Dynamically detect presence of "sqlite" or
5700 "sqlite3" executables.
5701 (sql-sqlite-login-params): Add "*.sqlite[23]?" database name pattern.
5702 (sql-buffer-live-p): New function.
5703 (sql-mode-menu, sql-send-string): Use it.
5704 (sql-mode-oracle-font-lock-keywords): Improve SQL*Plus REMARK
5706 (sql-mode-postgres-font-lock-keywords): Support Postgres V9.
5707 (sql-mode-sqlite-font-lock-keywords): Hilight sqlite commands.
5709 2010-09-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
5711 * net/netrc.el (netrc-credentials): New convenience function.
5713 2010-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
5715 * textmodes/texinfo.el (texinfo-syntax-propertize-function): New fun
5716 to replace texinfo-font-lock-syntactic-keywords.
5717 (texinfo-mode): Use it.
5719 * textmodes/tex-mode.el (tex-common-initialization, doctex-mode):
5720 Use syntax-propertize-function.
5722 * textmodes/sgml-mode.el (sgml-syntax-propertize-function): New var to
5723 replace sgml-font-lock-syntactic-keywords.
5724 (sgml-mode): Use it.
5726 * textmodes/reftex.el (font-lock-syntactic-keywords): Don't declare
5727 since we don't use it.
5729 * textmodes/bibtex.el (bibtex-mode): Use syntax-propertize-function.
5731 * progmodes/vhdl-mode.el (vhdl-mode): Use syntax-propertize-function
5733 (vhdl-fontify-buffer): Adjust.
5735 * progmodes/tcl.el (tcl-syntax-propertize-function): New var to
5736 replace tcl-font-lock-syntactic-keywords.
5739 * progmodes/simula.el (simula-syntax-propertize-function): New var to
5740 replace simula-font-lock-syntactic-keywords.
5741 (simula-mode): Use it.
5743 * progmodes/sh-script.el (sh-st-symbol): Remove.
5744 (sh-font-lock-close-heredoc, sh-font-lock-open-heredoc): Add eol arg.
5745 (sh-font-lock-flush-syntax-ppss-cache, sh-font-lock-here-doc): Remove.
5746 (sh-font-lock-quoted-subshell): Assume we've already matched $(.
5747 (sh-font-lock-paren): Set syntax-multiline.
5748 (sh-font-lock-syntactic-keywords): Remove.
5749 (sh-syntax-propertize-function): New function to replace it.
5752 * progmodes/ruby-mode.el (ruby-here-doc-beg-re):
5753 Define while compiling.
5754 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
5755 (ruby-font-lock-syntactic-keywords, ruby-comment-beg-syntax)
5756 (syntax-ppss, ruby-in-ppss-context-p, ruby-in-here-doc-p)
5757 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
5758 (ruby-here-doc-end-syntax): Only define when
5759 syntax-propertize is not available.
5760 (ruby-syntax-propertize-function, ruby-syntax-propertize-heredoc):
5762 (ruby-in-ppss-context-p): Update to new syntax of heredocs.
5763 (electric-indent-chars): Silence bytecompiler.
5764 (ruby-mode): Use prog-mode, syntax-propertize-function, and
5765 electric-indent-chars.
5767 * progmodes/python.el (python-syntax-propertize-function): New var to
5768 replace python-font-lock-syntactic-keywords.
5769 (python-mode): Use it.
5770 (python-quote-syntax): Simplify and adjust to new use.
5772 * progmodes/perl-mode.el (perl-syntax-propertize-function): New fun to
5773 replace perl-font-lock-syntactic-keywords.
5774 (perl-syntax-propertize-special-constructs): New fun to replace
5775 perl-font-lock-special-syntactic-constructs.
5776 (perl-font-lock-syntactic-face-function): New fun.
5777 (perl-mode): Use it.
5779 * progmodes/octave-mod.el (octave-syntax-propertize-sqs): New function
5780 to replace octave-font-lock-close-quotes.
5781 (octave-syntax-propertize-function): New function to replace
5782 octave-font-lock-syntactic-keywords.
5783 (octave-mode): Use it.
5785 * progmodes/mixal-mode.el (mixal-syntax-propertize-function): New var;
5786 replaces mixal-font-lock-syntactic-keywords.
5787 (mixal-mode): Use it.
5789 * progmodes/make-mode.el (makefile-syntax-propertize-function):
5790 New var; replaces makefile-font-lock-syntactic-keywords.
5791 (makefile-mode): Use it.
5792 (makefile-imake-mode): Adjust.
5794 * progmodes/js.el (js--regexp-literal): Define while compiling.
5795 (js-syntax-propertize-function): New var; replaces
5796 js-font-lock-syntactic-keywords.
5799 * progmodes/gud.el (gdb-script-syntax-propertize-function): New var;
5800 replaces gdb-script-font-lock-syntactic-keywords.
5801 (gdb-script-mode): Use it.
5803 * progmodes/fortran.el (fortran-mode): Use syntax-propertize-function.
5804 (fortran--font-lock-syntactic-keywords): New var.
5805 (fortran-line-length): Update syntax-propertize-function and
5806 fortran--font-lock-syntactic-keywords.
5808 * progmodes/cperl-mode.el (cperl-mode): Use syntax-propertize-function.
5810 * progmodes/cfengine.el (cfengine-mode):
5811 Use syntax-propertize-function.
5812 (cfengine-font-lock-syntactic-keywords): Remove.
5814 * progmodes/autoconf.el (autoconf-mode):
5815 Use syntax-propertize-function.
5816 (autoconf-font-lock-syntactic-keywords): Remove.
5818 * progmodes/ada-mode.el (ada-set-syntax-table-properties)
5819 (ada-after-change-function, ada-initialize-syntax-table-properties)
5820 (ada-handle-syntax-table-properties): Only define when
5821 syntax-propertize is not available.
5822 (ada-mode): Use syntax-propertize-function.
5824 * font-lock.el (font-lock-syntactic-keywords): Make obsolete.
5825 (font-lock-fontify-syntactic-keywords-region): Move handling of
5826 font-lock-syntactically-fontified to...
5827 (font-lock-default-fontify-region): ...here.
5828 Let syntax-propertize-function take precedence.
5829 (font-lock-fontify-syntactically-region): Cal syntax-propertize.
5831 * emacs-lisp/syntax.el (syntax-propertize-function)
5832 (syntax-propertize-chunk-size, syntax-propertize--done)
5833 (syntax-propertize-extend-region-functions): New vars.
5834 (syntax-propertize-wholelines, syntax-propertize-multiline)
5835 (syntax-propertize--shift-groups, syntax-propertize-via-font-lock)
5836 (syntax-propertize): New functions.
5837 (syntax-propertize-rules): New macro.
5838 (syntax-ppss-flush-cache): Set syntax-propertize--done.
5839 (syntax-ppss): Call syntax-propertize.
5841 * emacs-lisp/regexp-opt.el (regexp-opt-depth): Skip named groups.
5843 2010-09-10 Agustín Martín <agustin.martin@hispalinux.es>
5845 * textmodes/ispell.el (ispell-init-process): Improve comments.
5846 XEmacs compatibility changes regarding (add-hook) 'local option
5847 and (set-process-query-on-exit-flag).
5849 2010-09-09 Michael Albinus <michael.albinus@gmx.de>
5851 * net/tramp-cache.el (tramp-parse-connection-properties):
5852 Set tramp-autoload cookie.
5854 2010-09-09 Glenn Morris <rgm@gnu.org>
5856 * image.el (imagemagick-types-inhibit): Add :type, :version, :group.
5857 (imagemagick-register-types): Doc fix.
5859 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
5861 * progmodes/octave-mod.el (electric-indent-chars): Silence bytecomp.
5863 * progmodes/js.el (require): Require is already "eval-and-compile".
5864 (js--re-search-forward): Avoid `eval'. Preserve the error data.
5865 (js--re-search-backward): Use js--re-search-forward.
5867 * progmodes/fortran.el (fortran-line-length): Don't recompute
5868 syntactic keywords redundantly a second time.
5870 * progmodes/ada-mode.el: Replace "(set '" with setq.
5871 (ada-mode): Simplify.
5872 (ada-create-case-exception, ada-adjust-case-interactive)
5873 (ada-adjust-case-region, ada-format-paramlist, ada-indent-current)
5874 (ada-search-ignore-string-comment, ada-move-to-start)
5875 (ada-move-to-end): Use with-syntax-table.
5877 * font-lock.el (save-buffer-state): Remove `varlist' arg.
5878 (font-lock-unfontify-region, font-lock-default-fontify-region):
5879 Update usage correspondingly.
5880 (font-lock-fontify-syntactic-keywords-region):
5881 Set parse-sexp-lookup-properties buffer-locally here.
5882 (font-lock-fontify-syntactically-region): Remove unused `ppss' arg.
5884 * simple.el (blink-matching-open): Don't burp if we can't find a match.
5886 2010-09-08 Glenn Morris <rgm@gnu.org>
5888 * emacs-lisp/bytecomp.el (byte-compile-report-ops):
5889 Error if not compiled with -DBYTE_CODE_METER.
5891 * emacs-lisp/bytecomp.el (byte-recompile-directory):
5892 Ignore dir-locals-file.
5894 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
5896 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5898 (compilation-error-regexp-alist-alist): Rule out ": " in file names
5899 for the `gnu' messages.
5900 (compilation-set-skip-threshold): New command.
5901 (compilation-start): Use \' rather than $.
5902 (compilation-forget-errors): Use clrhash.
5904 2010-09-08 Agustín Martín <agustin.martin@hispalinux.es>
5906 * textmodes/ispell.el (ispell-valid-dictionary-list):
5909 2010-09-08 Michael Albinus <michael.albinus@gmx.de>
5911 Migrate to Tramp 2.2. Rearrange load dependencies.
5912 (Bug#1529, Bug#5448, Bug#5705)
5914 * Makefile.in (TRAMP_DIR, TRAMP_SRC): New variables.
5915 ($(TRAMP_DIR)/tramp-loaddefs.el): New target.
5916 (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
5918 * net/tramp.el (top): Remove all other tramp-* loads except
5919 tramp-compat.el. Remove all changes to tramp-unload-hook for
5920 other tramp-* packages. Rearrange defun order. Change calls of
5921 `tramp-compat-call-process', `tramp-compat-decimal-to-octal',
5922 `tramp-compat-octal-to-decimal' to new function names.
5923 (tramp-terminal-type, tramp-initial-end-of-output)
5924 (tramp-methods, tramp-foreign-file-name-handler-alist)
5925 (tramp-tramp-file-p, tramp-completion-mode-p)
5926 (tramp-send-command-and-check, tramp-get-remote-path)
5927 (tramp-get-remote-tmpdir, tramp-get-remote-ln)
5928 (tramp-shell-quote-argument): Set tramp-autoload cookie.
5929 (with-file-property, with-connection-property): Move to
5931 (tramp-local-call-process, tramp-decimal-to-octal)
5932 (tramp-octal-to-decimal): Move to tramp-compat.el.
5933 (tramp-handle-shell-command): Do not require 'shell.
5934 (tramp-compute-multi-hops): No special handling for tramp-gw-*
5936 (tramp-unload-tramp): Do not call `tramp-unload-file-name-handlers'.
5938 * net/tramp-cache.el (top): Require 'tramp. Add to
5939 `tramp-unload-hook'.
5940 (tramp-cache-data, tramp-get-file-property)
5941 (tramp-set-file-property, tramp-flush-file-property)
5942 (tramp-flush-directory-property, tramp-get-connection-property)
5943 (tramp-set-connection-property, tramp-flush-connection-property)
5944 (tramp-cache-print, tramp-list-connections): Set tramp-autoload
5946 (with-file-property, with-connection-property): New defuns, moved
5948 (tramp-flush-file-function): Use `with-parsed-tramp-file-name'
5951 * net/tramp-cmds.el (top): Add to `tramp-unload-hook'.
5952 (tramp-version): Set tramp-autoload cookie.
5954 * net/tramp-compat.el (top): Require 'tramp-loaddefs. Remove all
5955 changes to tramp-unload-hook for other tramp-* packages. Add to
5956 `tramp-unload-hook'.
5957 (tramp-compat-decimal-to-octal, tramp-compat-octal-to-decimal)
5958 (tramp-compat-call-process): New defuns, moved from tramp.el.
5960 * net/tramp-fish.el (top) Require just 'tramp. Add objects to
5961 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
5962 Add to `tramp-unload-hook'. Change call of
5963 `tramp-compat-decimal-to-octal' to new function name.
5964 (tramp-fish-method): Make it a defconst.
5965 (tramp-fish-file-name-p): Make it a defsubst.
5966 (tramp-fish-method, tramp-fish-file-name-handler)
5967 (tramp-fish-file-name-p): Set tramp-autoload cookie.
5969 * net/tramp-ftp.el (top) Add objects to `tramp-methods' and
5970 `tramp-foreign-file-name-handler-alist'. Add to
5971 `tramp-unload-hook'.
5972 (tramp-ftp-method): Make it a defconst.
5973 (tramp-ftp-file-name-p): Make it a defsubst.
5974 (tramp-ftp-method, tramp-ftp-file-name-handler)
5975 (tramp-ftp-file-name-p): Set tramp-autoload cookie.
5977 * net/tramp-gvfs.el (top) Add objects to `tramp-methods' and
5978 `tramp-foreign-file-name-handler-alist'. Add to
5979 `tramp-unload-hook'. Change checks, whether package can be
5981 (tramp-gvfs-file-name-p): Make it a defsubst.
5982 (tramp-gvfs-methods, tramp-gvfs-file-name-handler)
5983 (tramp-gvfs-file-name-p): Set tramp-autoload cookie.
5984 (tramp-gvfs-handle-file-directory-p): New defun.
5985 (tramp-gvfs-file-name-handler-alist): Use it.
5987 * net/tramp-gw.el (top) Add objects to `tramp-methods' and
5988 `tramp-foreign-file-name-handler-alist'. Add to
5989 `tramp-unload-hook'.
5990 (tramp-gw-tunnel-method, tramp-gw-default-tunnel-port)
5991 (tramp-gw-socks-method, tramp-gw-default-socks-port): Make it a
5993 (tramp-gw-tunnel-method, tramp-gw-socks-method)
5994 (tramp-gw-open-connection): Set tramp-autoload cookie.
5996 * net/tramp-imap.el (top) Require just 'tramp. Add objects to
5997 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
5998 Add to `tramp-unload-hook'. Change checks, whether package can be
6000 (tramp-imap-file-name-p): Make it a defsubst.
6001 (tramp-imap-method, tramp-imaps-method)
6002 (tramp-imap-file-name-handler)
6003 (tramp-imap-file-name-p): Set tramp-autoload cookie.
6005 * net/tramp-smb.el (top) Require just 'tramp. Add objects to
6006 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
6007 Add to `tramp-unload-hook'. Change checks, whether package can be
6008 loaded. Change call of `tramp-compat-decimal-to-octal' to new
6010 (tramp-smb-tunnel-method): Make it a defconst.
6011 (tramp-smb-file-name-p): Make it a defsubst.
6012 (tramp-smb-method, tramp-smb-file-name-handler)
6013 (tramp-smb-file-name-p): Set tramp-autoload cookie.
6015 * net/tramp-uu.el (top) Add to `tramp-unload-hook'.
6016 (tramp-uuencode-region): Set tramp-autoload cookie.
6018 * net/trampver.el (top) Add to `tramp-unload-hook'.
6019 (tramp-version, tramp-bug-report-address): Set tramp-autoload
6020 cookie. Update release number.
6022 2010-09-07 Agustín Martín <agustin.martin@hispalinux.es>
6024 * textmodes/ispell.el (ispell-start-process): Make sure original
6025 arg list is properly initialized (Bug#6993, Bug#6994).
6027 2010-09-06 Alexander Klimov <alserkli@inbox.ru> (tiny change)
6029 * files.el (directory-abbrev-alist): Use \` as default regexp.
6031 * emacs-lisp/rx.el (rx-any): Don't explode ranges that end in special
6032 chars like - or ] (bug#6984).
6033 (rx-any-condense-range): Explode 2-char ranges.
6035 2010-09-06 Glenn Morris <rgm@gnu.org>
6037 * desktop.el (desktop-path): Bump :version after 2009-09-15 change.
6039 2010-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
6041 * textmodes/bibtex.el:
6042 * proced.el: Update to new email for Roland Winkler <winkler@gnu.org>.
6044 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
6046 * net/imap.el (imap-message-map): Remove optional buffer parameter,
6047 since no callers use it.
6048 (imap-message-get): Ditto.
6049 (imap-message-put): Ditto.
6050 (imap-mailbox-map): Ditto.
6051 (imap-mailbox-put): Ditto.
6052 (imap-mailbox-get): Ditto.
6053 (imap-mailbox-get): Revert last change for this function.
6055 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
6057 * net/imap.el (imap-fetch-safe): Remove function, and alter all
6058 callers to use `imap-fetch' instead. According to the comments, this
6059 should be safe, since all other IMAP clients use the 1:* syntax.
6060 (imap-enable-exchange-bug-workaround): Remove.
6061 (imap-debug): Remove -- doesn't seem very useful.
6063 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
6065 * net/imap.el (imap-log): New convenience function used throughout
6066 instead of repeating the same code all over the place.
6068 2010-09-05 David De La Harpe Golden <david@harpegolden.net>
6070 * mouse.el (mouse-save-then-kill): Save region to kill-ring
6071 when mouse-drag-copy-region is non-nil (Bug#6956).
6073 2010-09-05 Chong Yidong <cyd@stupidchicken.com>
6075 * dired.el (dired-ls-sorting-switches, dired-sort-by-name-regexp):
6076 Improve regexps (Bug#6987).
6077 (dired-sort-toggle): Search more robustly for -t flag.
6079 * files.el (get-free-disk-space): Search more robustly for
6080 "available" column. Suggested by Ehud Karni
6081 <ehud@unix.mvs.co.il>.
6083 2010-09-05 Juanma Barranquero <lekktu@gmail.com>
6085 * international/uni-bidi.el:
6086 * international/uni-category.el:
6087 * international/uni-combining.el:
6088 * international/uni-decimal.el:
6089 * international/uni-mirrored.el:
6090 * international/uni-name.el: Regenerate.
6092 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
6094 * electric.el (electric-indent-post-self-insert-function):
6095 Don't reindent with a sloppy indentation function.
6097 * emacs-lisp/syntax.el (syntax-ppss): More sanity check to catch
6098 border case in change-log-mode.
6100 2010-09-04 Chong Yidong <cyd@stupidchicken.com>
6102 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6103 Remove ruby regexp; handle Ruby errors with gcc-include and gnu.
6104 Recognize leading tab in gcc-include regexp. Ignore names with
6105 leading "from" or "in" in gnu regexp (Bug#6937).
6107 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
6109 Avoid global recursive calls to kill-buffer-hooks; fit into 80 cols.
6110 * textmodes/ispell.el (ispell-process-buffer-name): Remove.
6111 (ispell-start-process): Avoid setq and simplify logic.
6112 (ispell-init-process): Setup kill-buffer-hook locally when needed.
6113 (kill-buffer-hook): Don't use it globally with code that uses
6114 expand-file-name since that may call kill-buffer via
6115 code_conversion_restore.
6117 2010-09-04 Noorul Islam K M <noorul@noorul.com> (tiny change)
6119 * emacs-lisp/package.el (package-directory-list): Only call
6120 file-name-nondirectory on a string.
6122 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
6124 * emacs-lisp/package.el (package--download-one-archive):
6125 Ensure that archive-contents is valid before saving it.
6126 (package-activate-1, package-mark-obsolete, define-package)
6127 (package-compute-transaction, package-list-maybe-add): Use push.
6129 2010-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
6131 Use SMIE's blink-paren for octave-mode.
6132 * progmodes/octave-mod.el (octave-font-lock-close-quotes):
6133 Backslashes do not escape single-quotes, single-quotes do.
6134 (octave-block-else-regexp, octave-block-end-regexp)
6135 (octave-block-match-alist): Remove.
6136 (octave-smie-bnf-table): New var, with old content.
6137 (octave-smie-op-levels): Use it.
6138 (octave-smie-closer-alist): New var.
6139 (octave-mode): Use it. Setup smie-blink-matching and electric-indent.
6140 (octave-blink-matching-block-open): Remove.
6141 (octave-reindent-then-newline-and-indent, octave-electric-semi)
6142 (octave-electric-space): Let self-insert-command run expand-abbrev and
6145 * electric.el (electricity): New group.
6146 (electric-indent-chars): New var.
6147 (electric-indent-post-self-insert-function): New fun.
6148 (electric-indent-mode): New minor mode.
6149 (electric-pair-skip-self): New custom.
6150 (electric-pair-post-self-insert-function): New function.
6151 (electric-pair-mode): New minor mode.
6153 * calc/calc-aent.el (calcAlg-blink-matching-check): New fun, to replace
6154 calcAlg-blink-matching-open.
6155 (calc-alg-ent-map, calc-alg-ent-esc-map): Initialize in the declaration.
6156 (calc-do-alg-entry): Only touch the part of the keymap that varies.
6157 Use the new blink-matching-check-function.
6159 Provide blink-matching support to SMIE.
6160 * emacs-lisp/smie.el (smie-bnf-closer-alist): New function.
6161 (smie-blink-matching-triggers, smie-blink-matching-inners): New vars.
6162 (smie-blink-matching-check, smie-blink-matching-open): New functions.
6164 * simple.el (newline): Fix last change to properly remove itself from
6167 2010-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
6169 * simple.el (newline): Eliminate optimization.
6170 Use post-self-insert-hook to set hard-newline and things before
6171 running post-self-insert-hook.
6172 (blink-matching-check-mismatch): New function.
6173 (blink-matching-check-function): New variable.
6174 (blink-matching-open): Use them.
6175 Skip back forward over prefix chars skipped by forward-sexp.
6176 Don't check if the parens are backslash escaped.
6177 (blink-paren-post-self-insert-function): Check backslash escaping here.
6179 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
6181 * emacs-lisp/package.el (package-menu-mode-map):
6182 Change package-menu-revert bindings to revert-buffer.
6183 (package-menu-mode): Set revert-buffer-function.
6184 (package-menu-revert): Doc fix.
6186 2010-09-02 Agustín Martín <agustin.martin@hispalinux.es>
6188 * textmodes/ispell.el (ispell-init-process): Use "~/" as
6189 `default-directory' unless using Ispell per-directory personal
6190 dictionaries and not in a mini-buffer under XEmacs.
6191 (kill-buffer-hook): Do not kill ispell process on exit when
6192 `ispell-process-directory' is "~/". (Bug#6143)
6194 2010-09-02 Jan Djärv <jan.h.d@swipnet.se>
6196 * simple.el (kill-new): Call interprogram-cut-function with only
6199 * term.el (term-mouse-paste): Don't call x-get-cutbuffer.
6200 Remove cut buffer from error message.
6202 * term/x-win.el (x-select-text):
6203 * term/pc-win.el (x-selection-value):
6204 * term/ns-win.el (x-selection-value):
6205 * eshell/em-term.el:
6206 * w32-fns.el (x-get-selection-value):
6207 * mouse-sel.el (mouse-sel-set-selection-function):
6208 * frame.el (display-selections-p): Remove cut-buffer in documentation.
6210 * term/x-win.el: Update documentation for x-last-selected-text-*.
6211 (x-last-selected-text-cut, x-last-selected-text-cut-encoded)
6212 (x-last-cut-buffer-coding, x-cut-buffer-max): Remove.
6213 (x-select-text): Remove argument PUSH, update documentation.
6214 Remove cut-buffer code.
6215 (x-selection-value-internal): Was previously x-selection-value.
6216 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
6217 Update documentation, remove cut-buffer code.
6218 Call x-selection-value-internal.
6219 (x-clipboard-yank): Call x-selection-value-internal.
6220 (x-initialize-window-system): Remove setting of x-cut-buffer-max.
6222 * term/pc-win.el (x-last-selected-text):
6223 x-cut-buffer-or-selection-value renamed to x-selection-value
6224 (x-select-text): Remove argument PUSH, update documentation.
6226 * term/ns-win.el (x-setup-function-keys, ns-last-selected-text):
6227 x-cut-buffer-or-selection-value renamed to x-selection-value
6228 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
6229 (x-select-text): Remove argument PUSH, update documentation.
6231 * emacs-lisp/cl-macs.el (x-get-cutbuffer, x-get-cut-buffer): Remove.
6233 * w32-fns.el (x-last-selected-text):
6234 x-cut-buffer-or-selection-value renamed to x-selection-value.
6235 (x-cut-buffer-max): Remove.
6236 (x-select-text): Remove argument PUSH, update documentation.
6238 * simple.el (interprogram-cut-function): Remove mention of PUSH.
6240 * select.el (x-get-cut-buffer, x-set-cut-buffer): Remove.
6242 * mouse-sel.el (mouse-sel-get-selection-function):
6243 x-cut-buffer-or-selection-value renamed to x-selection-value.
6244 (x-select-text): Remove optional push.
6246 2010-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
6248 * simple.el (blink-paren-function): Move from C to here.
6249 (blink-paren-post-self-insert-function): New function.
6250 (post-self-insert-hook): Use it.
6252 * emacs-lisp/pcase.el (pcase-split-memq):
6253 Fix overenthusiastic optimisation.
6254 (pcase-u1): Handle the case of a lambda pred.
6256 2010-08-31 Kenichi Handa <handa@m17n.org>
6258 * international/mule-cmds.el (standard-display-european-internal):
6259 Setup standard-display-table for 8-bit characters by storing 8-bit
6260 characters in the element vector.
6262 * disp-table.el (standard-display-8bit):
6263 Setup standard-display-table for 8-bit characters by storing 8-bit
6264 characters in the element vector.
6265 (standard-display-european): Likewise.
6267 2010-08-31 Masatake YAMATO <yamato@redhat.com>
6269 * textmodes/nroff-mode.el (nroff-view): New command.
6270 (nroff-mode-map): Bind it to C-c C-c.
6272 2010-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
6274 * emacs-lisp/smie.el (smie-down-list): New command.
6276 Remove old indentation and navigation code on octave-mode.
6277 * progmodes/octave-mod.el (octave-mode-map): Remap down-list to
6278 smie-down-list rather than add a binding for octave-down-block.
6279 (octave-mark-block, octave-blink-matching-block-open):
6280 Rely on forward-sexp-function.
6281 (octave-fill-paragraph): Don't narrow, so you can use
6282 indent-according-to-mode.
6283 (octave-block-begin-regexp, octave-block-begin-or-end-regexp): Remove.
6284 (octave-in-block-p, octave-re-search-forward-kw)
6285 (octave-re-search-backward-kw, octave-indent-calculate)
6286 (octave-end-as-array-index-p, octave-block-end-offset)
6287 (octave-scan-blocks, octave-forward-block, octave-backward-block)
6288 (octave-down-block, octave-backward-up-block, octave-up-block)
6289 (octave-before-magic-comment-p, octave-indent-line): Remove.
6291 2010-08-31 Chong Yidong <cyd@stupidchicken.com>
6293 * emacs-lisp/package.el (package--read-archive-file): Just use
6294 `read', to avoid copying an additional string.
6295 (package-menu-mode): Set header-line-format here.
6296 (package-menu-refresh, package-menu-revert): Signal an error if
6297 not in the Package Menu.
6298 (package-menu-package-list): New var.
6299 (package--generate-package-list): Operate on the current buffer;
6300 don't assume that it is *Packages*, since the user may rename it.
6301 Allow persistent package listings and sort keys using
6302 package-menu-package-list and package-menu-package-sort-key.
6303 (package-menu--version-predicate): Fix version calculation.
6304 (package-menu-sort-by-column): Don't select the window.
6305 (package--list-packages): Create the *Packages* buffer.
6306 Set package-menu-package-list-key.
6307 (list-packages): Sorting by status is now the default.
6308 (package-buffer-info): Use match-string-no-properties.
6309 (define-package): Add a &rest argument for future proofing, but
6311 (package-install-from-buffer, package-install-buffer-internal):
6312 Merge into a single function, package-install-from-buffer.
6313 (package-install-file): Change caller.
6315 * finder.el: Load finder-inf using `require'.
6316 (finder-list-matches): Sorting by status is now the default.
6317 (finder-compile-keywords): Simpify printing.
6319 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
6321 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
6322 (octave-mode-map): Remove special bindings for forward/backward-block
6323 and octave-backward-up-block. Use smie-close-block.
6324 (octave-continuation-marker-regexp): New var.
6325 (octave-continuation-regexp): Use it.
6326 (octave-operator-table, octave-smie-op-levels)
6327 (octave-operator-regexp, octave-smie-indent-rules): New vars.
6328 (octave-smie-backward-token, octave-smie-forward-token): New funs.
6329 (octave-mode): Use SMIE.
6330 (octave-close-block): Delete.
6332 2010-08-30 Eli Zaretskii <eliz@gnu.org>
6334 * menu-bar.el (menu-bar-edit-menu) <"Paste">: Check selection in
6335 CLIPBOARD, not in PRIMARY. (Bug#6944)
6337 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
6339 * emacs-lisp/smie.el (smie-indent-offset-rule): Let :parent take
6341 (smie-indent-column): Allow indirection through variables.
6343 * composite.el (save-buffer-state): Delete, unused.
6344 * font-lock.el (save-buffer-state): Use with-silent-modifications.
6345 (font-lock-default-fontify-region): Use with-syntax-table.
6346 * jit-lock.el (with-buffer-unmodified): Remove.
6347 (with-buffer-prepared-for-jit-lock): Use with-silent-modifications.
6349 Use `declare' in defmacros.
6350 * window.el (save-selected-window):
6351 * subr.el (with-temp-file, with-temp-message, with-syntax-table):
6352 * progmodes/python.el (def-python-skeleton):
6353 * net/dbus.el (dbus-ignore-errors):
6354 * jka-cmpr-hook.el (with-auto-compression-mode):
6355 * international/mule.el (with-category-table):
6356 * emacs-lisp/timer.el (with-timeout):
6357 * emacs-lisp/lisp-mnt.el (lm-with-file):
6358 * emacs-lisp/eieio.el (with-slots):
6359 * emacs-lisp/easymenu.el (easy-menu-define):
6360 * emacs-lisp/debug.el (debugger-env-macro):
6361 * emacs-lisp/cl-compat.el (Multiple-value-bind, Multiple-value-setq)
6362 (Multiple-value-call, Multiple-value-prog1):
6363 * emacs-lisp/cl-seq.el (cl-parsing-keywords, cl-check-key)
6364 (cl-check-test-nokey, cl-check-test, cl-check-match): Move indent and
6365 edebug rule to definition.
6366 * emacs-lisp/lisp-mode.el (save-selected-window)
6367 (with-current-buffer, combine-after-change-calls)
6368 (with-output-to-string, with-temp-file, with-temp-buffer)
6369 (with-temp-message, with-syntax-table, read-if, eval-after-load)
6370 (dolist, dotimes, when, unless):
6371 * emacs-lisp/byte-run.el (inline): Remove indent rule, redundant.
6373 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
6375 * finder.el: Require `package'.
6376 (finder-known-keywords): Tweak descriptions. Retire `oop' keyword.
6377 (finder-package-info): Var deleted.
6378 (finder-keywords-hash, finder--builtins-alist): New vars.
6379 (finder-compile-keywords): Compute package--builtins and
6380 finder-keywords-hash instead of finder-keywords-hash, respecting
6381 the "Package" header.
6382 (finder-unknown-keywords, finder-list-matches):
6383 Use finder-keywords-hash and package--list-packages.
6384 (finder-mode): Don't set font-lock-defaults.
6385 (finder-exit): We don't use "*Finder-package*" and "*Finder
6386 Category*" buffers anymore.
6388 * emacs-lisp/package.el (package--builtins-base): Var deleted.
6389 (package--builtins): Set default value to nil.
6390 (package-initialize): Load precomputed value of package--builtins
6392 (package-alist, package-compute-transaction)
6393 (package-download-transaction): Improve docstring.
6394 (package-read-all-archive-contents): Do not change
6395 package--builtins here.
6396 (list-packages): Make package-list-packages an alias for this.
6397 Sort by status by default.
6398 (package--list-packages): Add optional PACKAGES arg.
6399 (describe-package-1): Use font-lock-face property. For built-in
6400 packages, insert file commentary.
6401 (package--generate-package-list): Rename from
6402 package-list-packages-internal; all callers changed. Add optional
6403 PACKAGES arg. Add alphabetical sort fallbacks.
6404 (package-menu--version-predicate, package-menu--status-predicate)
6405 (package-menu--description-predicate)
6406 (package-menu--name-predicate): New functions.
6408 * info.el (Info-finder-find-node): Search package-alist instead of
6409 finder-package-info.
6411 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
6413 * subr.el (version-regexp-alist): Don't use "a" and "b" for
6415 (version-to-list): Handle versions like "10.3d".
6417 2010-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6419 * emacs-lisp/macroexp.el (macroexpand-all-1): Use pcase.
6420 (macroexp-accumulate): Use `declare'.
6422 2010-08-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
6424 * whitespace.el (whitespace-style): Adjust type declaration.
6426 2010-08-26 Magnus Henoch <magnus.henoch@gmail.com>
6428 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
6429 empty argument to gvfs-copy.
6431 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
6433 * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
6434 handle new TRASH arg of `delete-file'.
6436 2010-08-26 Christian Lynbech <christian.lynbech@tieto.com> (tiny change)
6438 * net/tramp.el (tramp-handle-insert-directory): Don't use
6439 `forward-word', its default syntax could be changed.
6441 2010-08-26 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
6442 Michael Albinus <michael.albinus@gmx.de>
6444 Implement compression for inline methods.
6446 * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
6447 (tramp-copy-size-limit): Allow also nil.
6448 (tramp-inline-compress-commands): New defconst.
6449 (tramp-find-inline-compress, tramp-get-inline-compress)
6450 (tramp-get-inline-coding): New defuns.
6451 (tramp-get-remote-coding, tramp-get-local-coding): Remove,
6452 replaced by `tramp-get-inline-coding'.
6453 (tramp-handle-file-local-copy, tramp-handle-write-region)
6454 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
6456 2010-08-26 Noah Lavine <noah549@gmail.com> (tiny change)
6458 Detect ssh 'ControlMaster' argument automatically in some cases.
6460 * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
6461 (tramp-default-method): Use it.
6463 2010-08-26 Karel Klíč <kklic@redhat.com>
6465 * net/tramp.el (tramp-file-name-for-operation):
6466 Add file-selinux-context.
6468 2010-08-26 Łukasz Stelmach <lukasz.stelmach@iem.pw.edu.pl> (tiny change)
6470 * play/cookie1.el (read-cookie): Fix off-by-one error (bug#6921).
6472 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
6474 * simple.el (beginning-of-buffer, end-of-buffer): Doc fix
6477 2010-08-26 Nathan Weizenbaum <nweiz@cressida.sea.corp.google.com> (tiny change)
6479 * progmodes/js.el: Make indentation more customizable (Bug#6914).
6480 (js-paren-indent-offset, js-square-indent-offset)
6481 (js-curly-indent-offset): New options.
6482 (js--proper-indentation): Use them.
6484 2010-08-26 Daniel Colascione <dan.colascione@gmail.com>
6486 * progmodes/sh-script.el (sh-get-indent-info): Use syntax-ppss
6487 instead of inspecting font-lock properties (Bug#6916).
6489 2010-08-26 David Reitter <david.reitter@gmail.com>
6491 * server.el (server-visit-files): Run pre-command-hook and
6492 post-command-hook for each buffer while it is current (Bug#6910).
6493 (server-execute): Do not run hooks here.
6495 2010-08-26 Michael Albinus <michael.albinus@gmx.de>
6497 Sync with Tramp 2.1.19.
6499 * net/tramp-cmds.el (tramp-cleanup-all-connections)
6500 (tramp-reporter-dump-variable, tramp-load-report-modules)
6501 (tramp-append-tramp-buffers): Use `tramp-compat-funcall'.
6502 (tramp-bug): Recommend setting of `tramp-verbose' to 9.
6504 * net/tramp-compat.el (top): Do not autoload
6505 `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el
6506 only when `start-file-process' is not bound.
6507 (byte-compile-not-obsolete-vars): Define if not bound.
6508 (tramp-compat-funcall): New defmacro.
6509 (tramp-compat-line-beginning-position)
6510 (tramp-compat-line-end-position)
6511 (tramp-compat-temporary-file-directory)
6512 (tramp-compat-make-temp-file, tramp-compat-file-attributes)
6513 (tramp-compat-copy-file, tramp-compat-copy-directory)
6514 (tramp-compat-delete-file, tramp-compat-delete-directory)
6515 (tramp-compat-number-sequence, tramp-compat-process-running-p):
6517 (tramp-advice-file-expand-wildcards): Do not use
6518 `tramp-handle-file-remote-p'.
6519 (tramp-compat-make-temp-file): Simplify fallback implementation.
6520 (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
6521 (tramp-compat-copy-tree): Remove function.
6522 (tramp-compat-delete-file): New defun.
6523 (tramp-compat-delete-directory): Provide implementation for older
6525 (tramp-compat-file-attributes): Handle only
6526 `wrong-number-of-arguments' error.
6528 * net/tramp-fish.el (tramp-fish-handle-copy-file):
6529 Add PRESERVE_SELINUX_CONTEXT.
6530 (tramp-fish-handle-delete-file): Add TRASH arg.
6531 (tramp-fish-handle-directory-files-and-attributes):
6532 Do not use `tramp-fish-handle-file-attributes.
6533 (tramp-fish-handle-file-local-copy)
6534 (tramp-fish-handle-insert-file-contents)
6535 (tramp-fish-maybe-open-connection): Use `with-progress-reporter'.
6537 * net/tramp-gvfs.el (top): Require url-util.
6538 (tramp-gvfs-mount-point): Remove.
6539 (tramp-gvfs-file-name-handler-alist): Add `file-selinux-context'
6540 and `set-file-selinux-context'.
6541 (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command)
6542 (tramp-gvfs-handle-file-selinux-context)
6543 (tramp-gvfs-handle-set-file-selinux-context): New defuns.
6544 (with-tramp-dbus-call-method): Format trace message.
6545 (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
6546 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
6547 Implement backup call, when operation on local files fails.
6548 Use progress reporter. Flush properties of changed files.
6549 (tramp-gvfs-handle-delete-file): Add TRASH arg.
6550 Use `tramp-compat-delete-file'.
6551 (tramp-gvfs-handle-expand-file-name): Expand "~/".
6552 (tramp-gvfs-handle-make-directory): Make more traces.
6553 (tramp-gvfs-handle-write-region): Protect deleting tmpfile.
6554 (tramp-gvfs-url-file-name): Hexify file name in url.
6555 (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
6556 into account for the resulting file name.
6557 (tramp-gvfs-handler-askquestion): Preserve current message, in
6558 order to let progress reporter continue afterwards. (Bug#6257)
6559 Return dummy mountpoint, when the answer is "no".
6560 See `tramp-gvfs-maybe-open-connection'.
6561 (tramp-gvfs-handler-mounted-unmounted)
6562 (tramp-gvfs-connection-mounted-p): Test also for new mountspec
6563 attribute "default_location". Set "prefix" property.
6564 Handle default-location.
6565 (tramp-gvfs-mount-spec): Return both prefix and mountspec.
6566 (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
6567 exists. Raise an error, if not (due to a corresponding answer
6568 "no" in interactive questions, for example).
6569 Use `tramp-compat-funcall'.
6571 * net/tramp-imap.el (top): Autoload `epg-make-context'.
6572 (tramp-imap-handle-copy-file): Add PRESERVE-SELINUX-CONTEXT.
6573 (tramp-imap-do-copy-or-rename-file)
6574 (tramp-imap-handle-insert-file-contents)
6575 (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
6576 (tramp-imap-handle-delete-file): Add TRASH arg.
6578 * net/tramp-smb.el (tramp-smb-handle-copy-file):
6579 Add PRESERVE-SELINUX-CONTEXT.
6580 (tramp-smb-handle-copy-file)
6581 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
6582 (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
6583 Use `with-progress-reporter'.
6584 (tramp-smb-handle-delete-file): Add TRASH arg.
6586 * net/tramp.el (tramp-methods): Move hostname to the end in all
6587 ssh `tramp-login-args'. Add `tramp-async-args' attribute where
6589 (tramp-verbose): Describe verbose level 9.
6590 (tramp-completion-function-alist)
6591 (tramp-file-name-regexp, tramp-chunksize)
6592 (tramp-local-coding-commands, tramp-remote-coding-commands)
6593 (with-connection-property, tramp-completion-mode-p)
6594 (tramp-action-process-alive, tramp-action-out-of-band)
6595 (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
6596 (tramp-exists-file-name-handler): Fix docstring.
6597 (tramp-remote-process-environment): Use `format' instead of
6598 `concat'. Protect version string by apostroph.
6599 (tramp-shell-prompt-pattern): Do not use a shy group in case of
6601 (tramp-file-name-regexp-unified)
6602 (tramp-completion-file-name-regexp-unified): On W32 systems, do
6603 not regard the volume letter as remote filename. (Bug#5447)
6604 (tramp-perl-file-attributes)
6605 (tramp-perl-directory-files-and-attributes): Don't pass "$3".
6606 (tramp-vc-registered-read-file-names): Read input as
6607 here-document, otherwise the command could exceed maximum length
6609 (tramp-file-name-handler-alist): Add `file-selinux-context' and
6610 `set-file-selinux-context'.
6611 (tramp-debug-message): Add `tramp-compat-funcall' to ignored
6612 backtrace functions.
6613 (tramp-error-with-buffer): Don't show the connection buffer when
6614 we are in completion mode.
6615 (tramp-progress-reporter-update, tramp-remote-selinux-p)
6616 (tramp-handle-file-selinux-context)
6617 (tramp-handle-set-file-selinux-context, tramp-process-sentinel)
6618 (tramp-connectable-p, tramp-open-shell, tramp-get-remote-trash):
6620 (with-progress-reporter): New defmacro.
6621 (tramp-debug-outline-regexp): New defconst.
6622 (top, tramp-rfn-eshadow-setup-minibuffer)
6623 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
6624 (tramp-handle-dired-compress-file, tramp-handle-shell-command)
6625 (tramp-completion-mode-p, tramp-check-for-regexp)
6626 (tramp-open-connection-setup-interactive-shell)
6627 (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
6628 (tramp-time-diff, tramp-coding-system-change-eol-conversion)
6629 (tramp-set-process-query-on-exit-flag, tramp-unload-tramp):
6630 Use `tramp-compat-funcall'.
6631 (tramp-handle-make-symbolic-link): Flush file properties.
6632 (tramp-handle-load, tramp-handle-file-local-copy)
6633 (tramp-handle-insert-file-contents, tramp-handle-write-region)
6634 (tramp-handle-vc-registered, tramp-maybe-send-script)
6635 (tramp-find-shell): Use `with-progress-reporter'.
6636 (tramp-do-file-attributes-with-stat): Add space in format string,
6637 in order to work around a bug in pdksh. Reported by Gilles Pion
6639 (tramp-handle-verify-visited-file-modtime): Do not send a command
6640 when the connection is not established.
6641 (tramp-handle-set-file-times): Simplify the check for utc.
6642 (tramp-handle-directory-files-and-attributes)
6643 (tramp-get-remote-path): Use `copy-tree'.
6644 (tramp-completion-handle-file-name-all-completions): Ensure, that
6645 non remote files are still checked. Oops.
6646 (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
6647 Handle PRESERVE-SELINUX-CONTEXT.
6648 (tramp-do-copy-or-rename-file): Add progress reporter.
6649 (tramp-do-copy-or-rename-file-directly): Do not use
6650 `tramp-handle-file-remote-p'.
6651 (tramp-do-copy-or-rename-file-out-of-band):
6652 Use `tramp-compat-delete-directory'.
6653 (tramp-do-copy-or-rename-file-out-of-band)
6654 (tramp-compute-multi-hops, tramp-maybe-open-connection):
6655 Use `format-spec-make'.
6656 (tramp-handle-delete-file): Add TRASH arg.
6657 (tramp-handle-dired-uncache): Flush directory cache, not only file
6659 (tramp-handle-expand-file-name)
6660 (tramp-completion-handle-file-name-all-completions)
6661 (tramp-completion-handle-file-name-completion):
6662 Use `tramp-connectable-p'.
6663 (tramp-handle-start-file-process): Set connection property "vec".
6664 Use it, in order to invalidate file caches. Check only for
6665 `remote-tty' process property.
6666 Implement tty setting. (Bug#4604, Bug#6360)
6667 (tramp-file-name-for-operation): Add `call-process-region' and
6668 `set-file-selinux-context'.
6669 (tramp-find-foreign-file-name-handler)
6670 (tramp-advice-make-auto-save-file-name)
6671 (tramp-set-auto-save-file-modes): Remove superfluous check for
6672 `stringp'. This is done inside `tramp-tramp-file-p'.
6673 (tramp-file-name-handler): Trace 'quit. Catch the error for some
6674 operations when we are in completion mode. This gives the user
6675 the chance to correct the file name in the minibuffer.
6676 (tramp-completion-mode-p): Use `non-essential'.
6677 (tramp-handle-file-name-all-completions): Backward/ XEmacs
6678 compatibility: Use `completion-ignore-case' if
6679 `read-file-name-completion-ignore-case' does not exist.
6680 (tramp-get-debug-buffer): Use `tramp-debug-outline-regexp'.
6681 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
6683 (tramp-action-password): Hide password prompt before next run.
6684 (tramp-process-actions): Widen connection buffer for the trace.
6685 (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
6686 process property. Trace stty settings if `tramp-verbose' >= 9.
6687 Apply workaround for IRIX64 bug. Move argument of last
6688 `tramp-send-command' where it belongs to.
6689 (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
6690 front of `login-args'.
6691 (tramp-get-ls-command, tramp-get-ls-command-with-dired): Run tests
6692 on "/dev/null" instead of "/".
6693 (tramp-get-ls-command-with-dired): Make test for "--dired"
6695 (tramp-set-auto-save-file-modes): Adapt version check.
6696 (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
6697 (tramp-handle-process-file): Call the program in a subshell, in
6698 order to preserve working directory.
6699 (tramp-handle-shell-command): Don't use hard-wired "/bin/sh" but
6700 `tramp-remote-sh' from `tramp-methods'.
6701 (tramp-get-ls-command): Make test for "--color=never" stronger.
6702 (tramp-check-for-regexp): Use (forward-line 1).
6704 * net/trampver.el: Update release number.
6706 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
6708 * help.el (help-map): Bind `C-h P' to describe-package.
6710 * menu-bar.el (menu-bar-describe-menu): Add describe-package.
6712 * emacs-lisp/package.el (package-refresh-contents): Catch errors
6713 when downloading archives.
6714 (describe-package-1): Add package commentary.
6715 (package-install-button-action): New function.
6716 (package-menu-mode-map): Bind ? to package-menu-describe-package.
6717 (package-menu-view-commentary): Function removed.
6718 (package-list-packages-internal): Hide the `package' package too.
6720 2010-08-25 Kenichi Handa <handa@m17n.org>
6722 * language/misc-lang.el ("Arabic"): New language environment.
6723 Setup composition-function-table for Arabic characters.
6725 * international/fontset.el (setup-default-fontset): Fix typo for
6726 arabic OTF spec (fini->fina).
6728 2010-08-25 Jan Djärv <jan.h.d@swipnet.se>
6730 * menu-bar.el (menu-bar-set-tool-bar-position): Set frame parameter
6733 2010-08-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
6735 * whitespace.el: Allow cleaning up blanks without blank
6736 visualization (Bug#6651). Adjust help window for
6737 whitespace-toggle-options (Bug#6479). Allow to use fill-column
6738 instead of whitespace-line-column (from EmacsWiki). New version
6740 (whitespace-style): Add new value 'face. Adjust docstring.
6741 (whitespace-space, whitespace-hspace, whitespace-tab):
6742 Adjust foreground property face.
6743 (whitespace-line-column): Adjust docstring and type declaration.
6744 (whitespace-style-value-list, whitespace-toggle-option-alist)
6745 (whitespace-help-text): Adjust const initialization.
6746 (whitespace-toggle-options, global-whitespace-toggle-options):
6748 (whitespace-display-window, whitespace-interactive-char)
6749 (whitespace-style-face-p, whitespace-color-on): Adjust code.
6750 (whitespace-help-scroll): New fun.
6752 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
6754 * emacs-lisp/package.el (list-packages): Alias for
6755 package-list-packages.
6757 2010-08-24 Kevin Ryde <user42@zip.com.au>
6759 * textmodes/flyspell.el (flyspell-check-tex-math-command): Doc fix
6762 * progmodes/ruby-mode.el (ruby): Add defgroup.
6764 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
6766 * progmodes/python.el: Add Ipython support (Bug#5390).
6767 (python-shell-prompt-alist)
6768 (python-shell-continuation-prompt-alist): New options.
6769 (python--set-prompt-regexp): New function.
6770 (inferior-python-mode, run-python, python-shell):
6771 Require ansi-color. Use python--set-prompt-regexp to set the comint
6772 prompt based on the Python interpreter.
6773 (python--prompt-regexp): New var.
6774 (python-check-comint-prompt)
6775 (python-comint-output-filter-function): Use it.
6776 (run-python): Use a pipe (Bug#5694).
6778 2010-08-24 Fabian Ezequiel Gallina <galli.87@gmail.com> (tiny change)
6780 * progmodes/python.el (python-send-region): Send a different
6781 Python command if Ipython is in use.
6782 (python-check-version): Use a Python command to find the version.
6784 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
6786 * mouse.el (mouse-yank-primary): Avoid setting primary when
6787 deactivating the mark (Bug#6872).
6789 2010-08-23 Chris Foote <chris@foote.com.au> (tiny change)
6791 * progmodes/python.el (python-block-pairs): Allow use of "finally"
6792 with "else" (Bug#3991).
6794 2010-08-23 Michael Albinus <michael.albinus@gmx.de>
6796 * net/dbus.el: Accept UNIX domain sockets as bus address.
6797 (top): Don't initialize `dbus-registered-objects-table' anymore,
6798 this is done in dbusbind,c.
6799 (dbus-check-event): Adapt test for bus.
6800 (dbus-return-values-table, dbus-unregister-service)
6801 (dbus-event-bus-name, dbus-introspect, dbus-register-property):
6804 2010-08-23 Juanma Barranquero <lekktu@gmail.com>
6806 * ido.el (ido-use-virtual-buffers): Fix typo in docstring.
6808 2010-08-22 Juri Linkov <juri@jurta.org>
6810 * simple.el (read-extended-command): New function with the logic
6811 for `completing-read' moved to Elisp from `execute-extended-command'.
6812 Use `function-called-at-point' in `minibuffer-default-add-function'
6813 to get a command name for M-n (bug#5364, bug#5214).
6815 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
6817 * startup.el (command-line-1): Issue warning for ignored arguments
6818 --unibyte, etc (Bug#6886).
6820 2010-08-22 Leo <sdl.web@gmail.com>
6822 * net/rcirc.el (rcirc-add-or-remove): Accept a list of elements.
6823 (ignore, bright, dim, keyword): Split list of nicknames before
6824 passing to rcirc-add-or-remove (Bug#6894).
6826 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
6828 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix (Bug#6880).
6830 2010-08-22 Leo <sdl.web@gmail.com>
6832 Fix buffer-list rename&refresh after killing a buffer in ido.
6833 * ido.el: Revert Óscar's.
6834 (ido-kill-buffer-at-head): Exit the minibuffer with ido-exit=refresh.
6835 Remember the buffers at head, rather than their name.
6836 * iswitchb.el (iswitchb-kill-buffer): Re-make the list.
6838 2010-08-22 Kirk Kelsey <kirk.kelsey@0x4b.net> (tiny change)
6839 Stefan Monnier <monnier@iro.umontreal.ca>
6841 * progmodes/make-mode.el (makefile-fill-paragraph): Account for the
6842 extra backslash added to each line (bug#6890).
6844 2010-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
6846 * subr.el (read-key): Don't echo keystrokes (bug#6883).
6848 2010-08-22 Glenn Morris <rgm@gnu.org>
6850 * menu-bar.el (menu-bar-games-menu): Add landmark.
6852 2010-08-22 Glenn Morris <rgm@gnu.org>
6854 * align.el (align-regexp): Make group and spacing arguments
6855 use the interactive defaults when non-interactive. (Bug#6698)
6857 * mail/rmail.el (rmail-forward): Replace mail-text-start with its
6858 expansion, so as not to need sendmail.
6859 (mail-text-start): Remove declaration.
6860 (rmail-retry-failure): Require sendmail.
6862 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
6864 * subr.el (read-key): Don't hide the menu-bar entries (bug#6881).
6866 2010-08-22 Michael Albinus <michael.albinus@gmx.de>
6868 * progmodes/flymake.el (flymake-start-syntax-check-process):
6869 Use `start-file-process' in order to let it run also on remote hosts.
6871 2010-08-22 Kenichi Handa <handa@m17n.org>
6873 * files.el: Add `word-wrap' as safe local variable.
6875 2010-08-22 Glenn Morris <rgm@gnu.org>
6877 * woman.el (woman-translate): Case matters. (Bug#6849)
6879 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
6881 * simple.el (kill-region): Doc fix (Bug#6787).
6883 2010-08-22 Glenn Morris <rgm@gnu.org>
6885 * calendar/diary-lib.el (diary-header-line-format):
6886 Fit it to the window, not the frame.
6888 2010-08-22 Andreas Schwab <schwab@linux-m68k.org>
6890 * subr.el (ignore-errors): Add debug declaration.
6892 2010-08-22 Geoff Gole <geoffgole@gmail.com> (tiny change)
6894 * whitespace.el (whitespace-color-off): Remove post-command-hook
6897 2010-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
6899 * vc/add-log.el (add-log-file-name): Don't get confused by symlinks.
6901 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
6903 * cus-edit.el (custom-group-value-create): Add extra newline
6904 before end line (Bug#6876).
6906 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
6908 * mouse.el (mouse-save-then-kill): Don't save region to kill ring
6909 when extending it. Before killing on the second click, check if
6910 the buffer is the correct one. Doc fix.
6911 (mouse-secondary-save-then-kill): Allow usage without first
6912 calling mouse-start-secondary, by defaulting to point. Don't save
6913 an empty secondary selection. Doc fix.
6915 2010-08-21 Vinicius Jose Latorre <viniciusjl@ig.com.br>
6917 * whitespace.el: Fix slow cursor movement (Bug#6172). Reported by
6918 Christoph Groth <cwg@falma.de> and Liu Xin <x_liu@neusoft.com>.
6920 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
6921 Adjust initialization.
6922 (whitespace-bob-marker, whitespace-eob-marker)
6923 (whitespace-buffer-changed): New vars.
6924 (whitespace-cleanup, whitespace-color-on, whitespace-color-off)
6925 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp)
6926 (whitespace-post-command-hook, whitespace-display-char-on):
6928 (whitespace-looking-back, whitespace-buffer-changed): New funs.
6929 (whitespace-space-regexp, whitespace-tab-regexp): Fun eliminated.
6931 2010-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
6933 * files.el (locate-file-completion-table): Only list the .el and .elc
6934 extensions if there's no other choice (bug#5955).
6936 * facemenu.el (facemenu-self-insert-data): New var.
6937 (facemenu-post-self-insert-function, facemenu-set-self-insert-face):
6939 (facemenu-add-face): Use them.
6941 * simple.el (blink-matching-open): Obey forward-sexp-function.
6943 2010-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
6945 * simple.el (prog-mode-map): New var.
6946 (prog-indent-sexp): New command.
6948 * progmodes/octave-mod.el (octave-mode-menu): Make toggle buttons.
6950 * progmodes/prolog.el (smie): Require.
6952 * emacs-lisp/smie.el (smie-default-backward-token)
6953 (smie-default-forward-token): Strip properties.
6954 (smie-next-sexp): Be more careful with associative operators.
6955 (smie-forward-sexp-command): Generalize.
6956 (smie-backward-sexp-command): Simplify.
6957 (smie-closer-alist): New var.
6958 (smie-close-block): New command.
6959 (smie-indent-debug-log): New var.
6960 (smie-indent-offset-rule): Add a few more cases.
6961 (smie-indent-column): New function.
6962 (smie-indent-after-keyword): Use it.
6963 (smie-indent-keyword): Use it.
6964 Fix up the opener code's point position.
6965 (smie-indent-comment): Only applies at BOL.
6966 (smie-indent-debug): New command.
6968 * emacs-lisp/autoload.el (make-autoload): Preload the macros's
6969 declarations that are useful before running the macro.
6971 2010-08-18 Joakim Verona <joakim@verona.se>
6973 * image.el (imagemagick-types-inhibit): New variable.
6974 (imagemagick-register-types): New function.
6975 * image-mode.el (image-transform-properties): New function.
6976 (image-transform-set-scale, image-transform-fit-to-height)
6977 (image-transform-set-rotation, image-transform-set-resize)
6978 (image-transform-fit-to-width, image-transform-fit-to-height):
6980 (image-toggle-display-image): Support image transforms.
6982 2010-08-18 Katsumi Yamaoka <yamaoka@jpl.org>
6984 * image.el (create-animated-image): Don't add heuristic mask to image
6987 2010-08-18 Jan Djärv <jan.h.d@swipnet.se>
6989 * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard):
6990 Use QCLIPBOARD instead of QPRIMARY (Bug#6677).
6992 2010-08-17 Stefan Monnier <monnier@iro.umontreal.ca>
6994 * emacs-lisp/lisp.el (up-list): Obey forward-sexp-function if set.
6996 Font-lock '...' strings, plus various simplifications and fixes.
6997 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
6998 (octave-font-lock-close-quotes): New function.
6999 (octave-font-lock-syntactic-keywords): New var.
7000 (octave-mode): Use it. Set beginning-of-defun-function.
7001 (octave-mode-map): Don't override the <foo>-defun commands.
7002 (octave-mode-menu): Pass it directly to easy-menu-define;
7003 remove (now generic) <foo>-defun commands; use info-lookup-symbol.
7004 (octave-block-match-alist): Fix up last change so that
7005 octave-close-block uses the more specific keyword.
7006 (info-lookup-mode): Silence byte-compiler.
7007 (octave-beginning-of-defun): Not interactive any more.
7009 (octave-end-of-defun, octave-mark-defun, octave-in-defun-p): Remove.
7010 (octave-indent-defun, octave-send-defun): Use mark-defun instead.
7011 (octave-completion-at-point-function): Make sure point is within
7013 (octave-reindent-then-newline-and-indent):
7014 Use reindent-then-newline-and-indent.
7015 (octave-add-octave-menu): Remove.
7017 2010-08-17 Jan Djärv <jan.h.d@swipnet.se>
7019 * mail/emacsbug.el (report-emacs-bug-insert-to-mailer)
7020 (report-emacs-bug-can-use-xdg-email): New functions.
7021 (report-emacs-bug): Set can-xdg-email to result of
7022 report-emacs-bug-can-use-xdg-email. If can-xdg-email bind
7023 \C-cm to report-emacs-bug-insert-to-mailer and add help text
7026 * net/browse-url.el (browse-url-default-browser): Add cond
7027 for browse-url-xdg-open.
7028 (browse-url-can-use-xdg-open, browse-url-xdg-open): New functions.
7030 2010-08-17 Glenn Morris <rgm@gnu.org>
7032 * progmodes/cc-engine.el (c-new-BEG, c-new-END)
7033 (c-fontify-recorded-types-and-refs): Define for compiler.
7034 * progmodes/cc-mode.el (c-new-BEG, c-new-END): Move definitions
7037 * calendar/icalendar.el (icalendar--convert-recurring-to-diary):
7040 2010-08-17 Michael Albinus <michael.albinus@gmx.de>
7042 * net/tramp.el (tramp-handle-make-symbolic-link): Flush file
7044 (tramp-handle-process-file): Call the program in a subshell, in
7045 order to preserve working directory.
7046 (tramp-action-password): Hide password prompt before next run.
7047 (tramp-process-actions): Widen connection buffer for the trace.
7049 2010-08-16 Deniz Dogan <deniz.a.m.dogan@gmail.com>
7051 * net/rcirc.el (rcirc-log-process-buffers): New option.
7052 (rcirc-print): Use it.
7053 (rcirc-generate-log-filename): New function.
7054 (rcirc-log-filename-function): Change default to
7055 rcirc-generate-log-filename (Bug#6828).
7057 2010-08-16 Chong Yidong <cyd@stupidchicken.com>
7059 * simple.el (deactivate-mark): If select-active-regions is `only',
7060 only set selection for temporarily active regions.
7062 * cus-start.el: Change defcustom for select-active-regions.
7064 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
7066 * mouse.el (mouse--drag-set-mark-and-point): New function.
7067 (mouse-drag-track): Use LOCATION arg to push-mark.
7068 Use mouse--drag-set-mark-and-point to take click-count into
7069 consideration when updating point and mark (Bug#6840).
7071 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
7073 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7074 Give the Ruby rule a lower priority than Gnu (Bug#6778).
7076 2010-08-14 Štěpán Němec <stepnem@gmail.com> (tiny change)
7078 * font-lock.el (lisp-font-lock-keywords-2):
7079 Add combine-after-change-calls, condition-case-no-debug,
7080 with-demoted-errors, and with-silent-modifications (Bug#6025).
7082 2010-08-14 Kevin Ryde <user42@zip.com.au>
7084 * emacs-lisp/copyright.el (copyright-update-year)
7085 (copyright-update): Temporary switch-to-buffer to ensure the
7086 buffer change being queried is visible (Bug#5394).
7088 2010-08-14 Tom Tromey <tromey@redhat.com>
7090 * progmodes/etags.el (tags-file-name): Mark safe if stringp
7093 2010-08-14 Eli Zaretskii <eliz@gnu.org>
7095 * mouse.el (mouse-yank-primary): Fix mouse-2 on MS-Windows and
7098 2010-08-13 Jan Djärv <jan.h.d@swipnet.se>
7100 * menu-bar.el (menu-bar-set-tool-bar-position): New function.
7101 (menu-bar-showhide-tool-bar-menu-customize-enable-left)
7102 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
7103 (menu-bar-showhide-tool-bar-menu-customize-enable-top)
7104 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom):
7105 Call menu-bar-set-tool-bar-position.
7107 2010-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
7109 * progmodes/octave-mod.el (octave-mode-syntax-table): Use the new "c"
7110 comment style (bug#6834).
7111 * progmodes/scheme.el (scheme-mode-syntax-table):
7112 * emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Remove spurious
7113 "b" flag in "' 14b" syntax.
7115 * progmodes/octave-mod.el (octave-mode-map): Remove special bindings
7116 for (un)commenting the region and performing completion.
7117 (octave-mode-menu): Use standard commands for help and completion.
7118 (octave-mode-syntax-table): Support %{..%} comments (sort of).
7119 (octave-mode): Use define-derived-mode.
7120 Set completion-at-point-functions and don't set columns.
7121 Don't disable adaptive-fill-regexp.
7122 (octave-describe-major-mode, octave-comment-region)
7123 (octave-uncomment-region, octave-comment-indent)
7124 (octave-indent-for-comment): Remove.
7125 (octave-indent-calculate): Rename from calculate-octave-indent.
7126 (octave-indent-line, octave-fill-paragraph): Update caller.
7127 (octave-initialize-completions): No need to make an alist.
7128 (octave-completion-at-point-function): New function.
7129 (octave-complete-symbol): Use it.
7130 (octave-insert-defun): Use define-skeleton.
7132 * progmodes/octave-mod.el (octave-mode): Set comment-add.
7133 (octave-mode-map): Use comment-dwim (bug#6829).
7135 2010-08-12 Antoine Levitt <antoine.levitt@gmail.com> (tiny change)
7137 * cus-edit.el (custom-save-variables, custom-save-faces): Fix up
7138 indentation of inserted comment.
7140 2010-08-11 Jan Djärv <jan.h.d@swipnet.se>
7142 * faces.el (region): Add type gtk that uses gtk colors.
7144 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
7145 Handle theme-name change.
7147 2010-08-10 Michael R. Mauger <mmaug@yahoo.com>
7149 * progmodes/sql.el: Version 2.5
7150 (sql-product-alist): Add :prompt-cont-regexp property for several
7152 (sql-prompt-cont-regexp): New variable.
7153 (sql-output-newline-count, sql-output-by-send):
7154 New variables. Record number of newlines in input text.
7155 (sql-send-string): Handle multiple filters and count newlines.
7156 (sql-send-magic-terminator): Count terminator newline.
7157 (sql-interactive-remove-continuation-prompt): Filters output to
7158 remove continuation prompts; one for each newline.
7159 (sql-interactive-mode): Set up new variables, prompt regexp and
7161 (sql-mode-sqlite-font-lock-keywords): Correct some keywords.
7162 (sql-make-alternate-buffer-name): Correct buffer name in edge cases.
7164 2010-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
7166 * emacs-lisp/pcase.el: New file.
7168 2010-08-10 Michael Albinus <michael.albinus@gmx.de>
7170 * net/tramp.el (tramp-vc-registered-read-file-names): Read input
7171 as here-document, otherwise the command could exceed maximum
7172 length of command line.
7173 (tramp-handle-vc-registered): Call script accordingly.
7174 Reported by Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>.
7176 2010-08-10 Kenichi Handa <handa@m17n.org>
7178 * language/hebrew.el: Exclude U+05C3 (Hebrew SOF PASUQ) from the
7181 2010-08-09 Chong Yidong <cyd@stupidchicken.com>
7183 * emacs-lisp/package.el (package-version-split)
7184 (package--version-first-nonzero, package-version-compare):
7186 (package-directory-list, package-load-all-descriptors)
7187 (package--built-in, package-activate, define-package)
7188 (package-installed-p, package-compute-transaction)
7189 (package-read-all-archive-contents)
7190 (package--add-to-archive-contents, package-buffer-info)
7191 (package-tar-file-info, package-list-packages-internal):
7192 Use version-to-list and version-list-*.
7194 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7195 Use version-to-list.
7196 (package-upload-buffer-internal): Use version-list-<=.
7198 2010-08-09 Kenichi Handa <handa@m17n.org>
7200 * language/hebrew.el: Exclude U+05BD (Hebrew MAQAF) from the
7203 2010-08-08 Chong Yidong <cyd@stupidchicken.com>
7205 * tutorial.el (tutorial--default-keys): C-d is now bound to
7206 delete-forward-char (Bug#6826).
7208 * mouse.el (mouse-drag-track): Remove accidentally-removed check
7209 for `double' value of mouse-1-click-follows-link (Bug#6807).
7211 2010-08-08 Johan Bockgård <bojohan@gnu.org>
7213 * replace.el (replace-highlight): Bind isearch-forward and
7214 isearch-error, ensuring that highlighting is updated if the user
7215 switches the search direction (Bug#6808).
7217 * isearch.el (isearch-lazy-highlight-forward): New var.
7218 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
7219 (isearch-lazy-highlight-update): Use it.
7221 2010-08-08 Kenichi Handa <handa@m17n.org>
7223 * international/mule.el (define-charset): Store NAME as :base property.
7224 (ctext-non-standard-encodings-table): Pay attention to charset aliases.
7225 (ctext-pre-write-conversion): Sort ctext-standard-encodings by the
7226 current priority. Force using the designation of the specific
7227 charset by adding `charset' text property. Improve the whole algorithm.
7229 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
7231 * emulation/pc-select.el (pc-selection-mode-hook)
7232 (copy-region-as-kill-nomark, beginning-of-buffer-mark)
7233 (pc-selection-mode): Fix typos in docstrings.
7235 2010-08-08 Kenichi Handa <handa@m17n.org>
7237 * language/cyrillic.el: Don't add "microsoft-cp1251" to
7238 ctext-non-standard-encodings-alist here.
7240 * international/mule.el (ctext-non-standard-encodings-alist):
7241 Add "koi8-r" and "microsoft-cp1251".
7242 (ctext-standard-encodings): New variable.
7243 (ctext-non-standard-encodings-table): List only elements for
7244 non-standard encodings.
7245 (ctext-pre-write-conversion): Adjust for the above change.
7246 Check ctext-standard-encodings.
7248 * international/mule-conf.el (compound-text): Doc fix.
7249 (ctext-no-compositions): Doc fix.
7250 (compound-text-with-extensions): Doc fix.
7252 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
7254 * simple.el (exchange-dot-and-mark): Mark obsolete, finally.
7256 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
7258 * progmodes/which-func.el (which-func-format): Split help-echo text
7259 into lines, like other mode-line tooltips.
7261 * server.el (server-start): When using TCP sockets, force IPv4
7262 and use a literal 127.0.0.1 for localhost. (Related to bug#6781.)
7264 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
7266 * bindings.el (complete-symbol): Run completion-at-point as a fallback.
7268 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
7270 * term.el (term-delimiter-argument-list): Reflow docstring.
7271 (term-read-input-ring, term-write-input-ring, term-send-input)
7272 (term-bol, term-erase-in-display, serial-supported-or-barf):
7273 Fix typos in docstrings.
7275 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
7277 * bindings.el (function-key-map): Add a S-tab => backtab fallback.
7279 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
7281 * dabbrev.el (dabbrev-completion): Fix typo in docstring.
7283 2010-08-08 MON KEY <monkey@sandpframing.com> (tiny change)
7285 * emacs-lisp/syntax.el (syntax-ppss-toplevel-pos):
7286 Fix typo in docstring (bug#6747).
7288 2010-08-08 Leo <sdl.web@gmail.com>
7290 * eshell/esh-io.el (eshell-get-target): Better detection of
7291 read-only file (Bug#6762).
7293 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
7295 * align.el (align-default-spacing): Doc fix.
7296 (align-region-heuristic, align-regexp): Fix typos in docstrings.
7298 2010-08-08 Stephen Peters <speters@itasoftware.com>
7300 * calendar/icalendar.el
7301 (icalendar--split-value): Fix splitting regexp. (Bug#6766)
7302 (icalendar--get-weekday-numbers): New.
7303 (icalendar--convert-recurring-to-diary): Handle multiple byday
7304 values in weekly rules. (Bug#6766)
7306 2010-08-08 Ulf Jasper <ulf.jasper@web.de>
7308 * calendar/icalendar.el (icalendar-uid-format): Doc fix.
7309 (icalendar--create-uid, icalendar-export-region)
7310 (icalendar--parse-summary-and-rest): Code formatting.
7312 2010-08-08 Jay Belanger <jay.p.belanger@gmail.com>
7314 * calc/calc.el (calc-trail-mode,calc-refresh): Use `face' property
7315 to italicize headers.
7316 (calc-highlight-selections-with-faces): New variable.
7317 (calc-selected-face, calc-nonselected-face): New faces.
7319 * calc/calccomp.el (math-comp-highlight-string): Use
7320 `calc-highlight-selections-with-faces' to determine how to highlight
7323 * calc/calc-sel.el (calc-show-selections): Change message to when
7324 using faces to highlight selections.
7326 2010-08-07 Michael R. Mauger <mmaug@yahoo.com>
7328 * progmodes/sql.el (sql-mode-sqlite-font-lock-keywords):
7329 Add SQLite 3 keywords, functions and datatypes.
7330 (sql-interactive-mode): Remove `comint-process-echoes' set to t
7333 2010-08-07 Chong Yidong <cyd@stupidchicken.com>
7335 * simple.el (select-active-regions): Move to keyboard.c.
7336 (deactivate-mark): Used saved-region-selection.
7337 (select-active-region): Function removed.
7338 (activate-mark, set-mark, push-mark-command)
7339 (handle-shift-selection): Don't call it.
7340 (keyboard-quit): Avoid adding the region to the window selection.
7342 * mouse.el (mouse-drag-track): Remove hacks to deal with old
7343 select-active-regions implementation.
7344 (mouse-yank-at-click): Doc fix.
7346 * cus-start.el: Add custom declaration for select-active-regions.
7348 2010-08-07 Eli Zaretskii <eliz@gnu.org>
7350 * simple.el (delete-forward-char): Doc fix.
7352 * tutorial.el (help-with-tutorial): Hack safe file-local variables
7353 after reading the tutorial.
7355 2010-08-06 Alan Mackenzie <bug-cc-mode@gnu.org>
7357 * progmodes/cc-cmds.el (c-mask-paragraph, c-fill-paragraph):
7358 Fix for the case that a C style comment has its delimiters alone on
7359 their respective lines.
7361 2010-08-06 Michael Albinus <michael.albinus@gmx.de>
7363 * net/tramp.el (tramp-handle-start-file-process): Set connection
7365 (tramp-process-sentinel): Use it for flushing the cache.
7366 We cannot do it via the process buffer, the buffer could be deleted
7367 already when running the sentinel.
7369 2010-08-06 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
7371 * comint.el (comint-mode): Make directory tracking functions
7372 functional on remote files. (Bug#6764)
7374 2010-08-06 Dan Nicolaescu <dann@ics.uci.edu>
7376 * vc/diff-mode.el (diff-mode-shared-map): Bind g to revert-buffer.
7378 2010-08-05 Eli Zaretskii <eliz@gnu.org>
7380 * emacs-lisp/find-gc.el (find-gc-source-files):
7381 Rename unexec.c => unexcoff.c.
7383 * emacs-lisp/authors.el (authors-fixed-entries):
7384 Rename unexec.c => unexcoff.c.
7386 2010-08-05 Michael Albinus <michael.albinus@gmx.de>
7388 * net/tramp.el (tramp-handle-dired-uncache): Flush directory
7389 cache, not only file cache.
7390 (tramp-process-sentinel): New defun.
7391 (tramp-handle-start-file-process): Use it, in order to invalidate
7394 2010-08-03 Leo <sdl.web@gmail.com>
7396 * server.el (server-start): Simplify loop.
7398 2010-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
7400 * frame.el (screen-height, screen-width, set-screen-width)
7401 (set-screen-height): Remove ancient compatibility aliases.
7403 * textmodes/fill.el (justify-current-line): Don't add 1 to nspaces
7404 when justifying. It seems useless and harmful for ncols=1 (bug#6738).
7406 * emacs-lisp/timer.el (timer-event-handler): Protect against timers
7407 that change current buffer.
7409 2010-08-01 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
7411 * mouse.el (mouse-fixup-help-message): Match "mouse-2" only at the
7412 beginning of the string. Use `string-match-p'. (Bug#6765)
7414 2010-08-01 Jan Djärv <jan.h.d@swipnet.se>
7416 * cus-start.el (x-gtk-use-system-tooltips): New variable.
7418 2010-08-01 Chong Yidong <cyd@stupidchicken.com>
7420 * emacs-lisp/package.el (package--list-packages): Fix column alignment.
7421 (package--builtins): Tweak descriptions.
7422 (package-print-package): Upcase descriptions if necessary.
7423 Show all built-in packages in font-lock-builtin-face.
7424 (package-list-packages-internal): Omit "emacs" package.
7425 Show status of built-in packages as "built-in".
7427 2010-07-31 Chong Yidong <cyd@stupidchicken.com>
7429 * mouse.el (mouse-save-then-kill): Doc fix. Deactivate mark
7430 before killing to preserve the primary selection (Bug#6701).
7432 * term/x-win.el (x-select-text): Doc fix.
7434 2010-07-31 Nathaniel Flath <flat0103@gmail.com>
7436 * progmodes/cc-vars.el (c-offsets-alist, c-inside-block-syms)
7437 (objc-font-lock-extra-types):
7438 * progmodes/cc-mode.el (c-basic-common-init):
7439 * progmodes/cc-langs.el (c-make-mode-syntax-table)
7440 (c++-make-template-syntax-table)
7441 (c-identifier-syntax-modifications, c-symbol-start, c-operators)
7442 (c-<-op-cont-regexp, c->-op-cont-regexp, c-class-decl-kwds)
7443 (c-brace-list-decl-kwds, c-modifier-kwds, c-prefix-spec-kwds-re)
7444 (c-type-list-kwds, c-decl-prefix-re, c-opt-type-suffix-key):
7445 * progmodes/cc-fonts.el (c-make-inverse-face)
7446 (c-basic-matchers-after):
7447 * progmodes/cc-engine.el (c-forward-keyword-clause)
7448 (c-forward-<>-arglist, c-forward-<>-arglist-recur)
7449 (c-forward-name, c-forward-type, c-forward-decl-or-cast-1)
7450 (c-guess-continued-construct, c-guess-basic-syntax):
7451 Enhance Java Mode to handle Java 5.0 (Tiger) and Java 6 (Mustang).
7452 The above functions were modified or created.
7454 2010-07-31 Jan Djärv <jan.h.d@swipnet.se>
7456 * faces.el (face-all-attributes): Improve documentation (Bug#6767).
7458 2010-07-31 Eli Zaretskii <eliz@gnu.org>
7460 * files.el (bidi-paragraph-direction): Define safe local values.
7462 * language/hebrew.el ("Hebrew"): Add TUTORIAL.he to
7463 language-info-alist. Remove outdated FIXME in a comment.
7465 2010-07-31 Alan Mackenzie <acm@muc.de>
7467 * progmodes/cc-cmds.el (c-mask-paragraph): Fix bug #6688:
7468 Auto-fill broken in C/C++ modes.
7470 2010-07-29 Jan Djärv <jan.h.d@swipnet.se>
7472 * menu-bar.el (menu-bar-showhide-tool-bar-menu-customize-enable-left)
7473 (menu-bar-showhide-tool-bar-menu-customize-disable)
7474 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
7475 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom)
7476 (menu-bar-showhide-tool-bar-menu-customize-enable-top): New functions
7477 (menu-bar-showhide-tool-bar-menu): If tool bar is moveable,
7478 make a menu for Options => toolbar that can move it.
7480 2010-07-29 Chong Yidong <cyd@stupidchicken.com>
7482 * emacs-lisp/package-x.el (package--make-rss-entry):
7483 (package-maint-add-news-item, package--update-news)
7484 (package-upload-buffer-internal): New arg ARCHIVE-URL.
7486 * emacs-lisp/package.el (package-archive-url): Rename from
7488 (package-install): Doc fix.
7489 (package-download-single, package-download-tar, package-install)
7490 (package-menu-view-commentary): Callers changed.
7492 2010-07-29 Michael Albinus <michael.albinus@gmx.de>
7494 * net/tramp.el (tramp-handle-start-file-process): Check only for
7495 `remote-tty' process property.
7496 (tramp-open-shell): Don't check for tty.
7497 (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
7500 * progmodes/gdb-mi.el (gdb-init-1): Check also for tty on a remote
7503 2010-07-28 Chong Yidong <cyd@stupidchicken.com>
7505 * emacs-lisp/package.el (package-load-list, package-archives)
7506 (package-archive-contents, package-user-dir)
7507 (package-directory-list, package--builtins, package-alist)
7508 (package-activated-list, package-obsolete-alist): Mark as risky.
7510 2010-07-28 Phil Hagelberg <phil@evri.com>
7512 Add support for non-default package repositories.
7513 * emacs-lisp/package.el (package-archive-base): Var deleted.
7514 (package-archives): New variable.
7515 (package-archive-contents): Doc fix.
7516 (package-load-descriptor): Do nothing if descriptor file is missing.
7517 (package--write-file-no-coding): New function.
7518 (package-unpack-single): Use it.
7519 (package-archive-id): New function.
7520 (package-download-single, package-download-tar)
7521 (package-menu-view-commentary): Use it.
7522 (package-installed-p): Make second argument optional.
7523 (package-read-all-archive-contents): New function.
7524 (package-initialize): Use it.
7525 (package-read-archive-contents): Add ARCHIVE argument.
7526 (package--add-to-archive-contents): New function.
7527 (package-install): Don't call package-read-archive-contents.
7528 (package--download-one-archive): Store archive file in a
7529 subdirectory of package-user-dir.
7530 (package-menu-execute): Remove spurious line movement.
7532 2010-07-28 Jan Djärv <jan.h.d@swipnet.se>
7534 * cus-start.el (tool-bar-style): Add text-image-horiz.
7536 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
7538 * progmodes/gud.el (gud-common-init): Check for remoteness of
7539 `file', and not of `default-directory'.
7541 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
7543 * net/tramp.el (tramp-methods): Move hostname to the end in all
7544 ssh `tramp-login-args'.
7545 (tramp-verbose): Describe verbose level 9.
7546 (tramp-open-shell): Check for tty if `tramp-verbose' >= 9.
7547 (tramp-open-connection-setup-interactive-shell): Trace stty
7548 settings if `tramp-verbose' >= 9.
7549 (tramp-handle-start-file-process): Implement tty setting.
7550 (Bug#4604, Bug#6360)
7552 * net/tramp-cmds.el (tramp-bug): Recommend setting of
7553 `tramp-verbose' to 9.
7555 2010-07-27 Aaron S. Hawley <ashawley@burlingtontelecom.net>
7557 * emacs-lisp/re-builder.el (reb-re-syntax, reb-lisp-mode)
7558 (reb-lisp-syntax-p, reb-change-syntax, reb-cook-regexp):
7559 Remove references to package `lisp-re' (bug#4369).
7561 2010-07-27 Tom Tromey <tromey@redhat.com>
7563 * progmodes/js.el (js-mode):
7564 * progmodes/make-mode.el (makefile-mode):
7565 * progmodes/simula.el (simula-mode):
7566 * progmodes/tcl.el (tcl-mode): Derive from prog-mode.
7568 2010-07-27 Juanma Barranquero <lekktu@gmail.com>
7570 * help-fns.el (find-lisp-object-file-name): Doc fix (bug#6494).
7572 * time.el (display-time-day-and-date): Remove spurious * in docstring.
7573 (display-time-world-buffer-name, display-time-world-mode-map):
7574 Fix typos in docstrings.
7576 2010-07-27 Shyam Karanatt <shyam@swathanthran.in> (tiny change)
7578 * image-mode.el (image-display-size): New function.
7579 (image-forward-hscroll, image-next-line, image-eol, image-eob)
7580 (image-mode-fit-frame): Use it (Bug#6639).
7582 2010-07-27 Chong Yidong <cyd@stupidchicken.com>
7584 * dired.el (dired-buffers-for-dir): Handle list values of
7585 dired-directory (Bug#6636).
7587 2010-07-26 Sam Steingold <sds@gnu.org>
7589 * mouse.el (mouse-yank-primary, mouse-yank-secondary):
7590 Do not call `x-get-selection' the second time, reuse the value.
7592 2010-07-26 Daiki Ueno <ueno@unixuser.org>
7594 * epa-mail.el (epa-mail-mode-map): Add alternative key bindings
7595 which consist of control chars only. Suggested by Richard Stallman.
7597 2010-07-25 Daiki Ueno <ueno@unixuser.org>
7599 * epa-file.el (epa-file-insert-file-contents): Check if LOCAL-FILE
7600 exists before passing an error to find-file-not-found-functions
7603 2010-07-23 Lukas Huonker <l.huonker@gmail.com>
7605 * play/tetris.el (tetris-tty-colors, tetris-x-colors, tetris-blank):
7606 Remove leading nil element, adjust values.
7607 (tetris-shapes, tetris-shape-scores):
7608 Change representation of shapes and remove some redundancy.
7609 (tetris-get-shape-cell, tetris-shape-width, tetris-draw-next-shape)
7610 (tetris-draw-shape, tetris-erase-shape, tetris-test-shape):
7611 Adjust for working with new representation of shapes.
7612 (tetris-shape-rotations): New function.
7613 (tetris-move-bottom, tetris-move-left, tetris-move-right)
7614 (tetris-rotate-prev, tetris-rotate-next):
7615 Adjust for working with the new version of tetris-test-shape.
7617 2010-07-23 Markus Triska <markus.triska@gmx.at>
7619 * progmodes/ps-mode.el: Use comint (bug#5954).
7620 (ps-run-mode-map): Adapt for comint-mode; omit "\r", [return]..
7621 (ps-mode-other-newline): Simplify.
7622 (ps-run-mode): Derive from comint-mode instead of
7623 fundamental-mode, yielding input history etc.
7624 (ps-run-start, ps-run-quit, ps-run-clear, ps-run-region)
7625 (ps-run-send-string): Adapt for comint-mode.
7626 (ps-run-newline): Remove now unneeded function.
7628 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
7630 * net/tramp.el (tramp-methods): Move hostname to the end in all
7631 plink `tramp-login-args'.
7633 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
7635 * net/tramp.el (tramp-open-shell): New defun.
7636 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
7639 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
7641 * net/tramp.el (tramp-file-name-regexp-unified)
7642 (tramp-completion-file-name-regexp-unified): On W32 systems, do
7643 not regard the volume letter as remote filename. (Bug#5447)
7645 2010-07-23 Juanma Barranquero <lekktu@gmail.com>
7647 * custom.el (custom-declare-variable): Give a clearer error message
7648 when the docstring is missing (bug#6476).
7650 2010-07-22 Michael R. Mauger <mmaug@yahoo.com>
7652 * progmodes/sql.el: Version 2.4. Improved Login prompting.
7653 (sql-login-params): New widget definition.
7654 (sql-oracle-login-params, sql-mysql-login-params)
7655 (sql-solid-login-params, sql-sybase-login-params)
7656 (sql-informix-login-params, sql-ingres-login-params)
7657 (sql-ms-login-params, sql-postgres-login-params)
7658 (sql-interbase-login-params, sql-db2-login-params)
7659 (sql-linter-login-params): Use it.
7660 (sql-sqlite-login-params): Use it; Define "database" parameter as
7662 (sql-sqlite-program): Change to "sqlite3".
7663 (sql-comint-sqlite): Make sure database name is complete.
7664 (sql-for-each-login): New function.
7665 (sql-connect, sql-save-connection): Use it.
7666 (sql-get-login-ext): New function.
7667 (sql-get-login): Use it.
7668 (sql-make-alternate-buffer-name): Handle :file parameters.
7670 2010-07-22 Juanma Barranquero <lekktu@gmail.com>
7672 * dired.el (dired-no-confirm): Document value t and fix defcustom to
7673 accept it (bug#6597). Suggested by Drew Adams <drew.adams@oracle.com>.
7675 2010-07-22 Teemu Likonen <tlikonen@iki.fi> (tiny change)
7677 * dired.el (dired-mode-map): Use command remapping (bug#6632).
7679 2010-07-22 Lawrence Mitchell <wence@gmx.li>
7681 * term/vt100.el (vt100-wide-mode): Fix :init-value keyword (bug#6620).
7683 2010-07-21 Michael Albinus <michael.albinus@gmx.de>
7685 * net/tramp.el (tramp-get-ls-command)
7686 (tramp-get-ls-command-with-dired): Run tests on "/dev/null"
7689 2010-07-20 Michael R. Mauger <mmaug@yahoo.com>
7691 * progmodes/sql.el: Version 2.3.
7692 (sql-connection-alist): Change keys from symbols to strings;
7693 enhanced the widget definition.
7694 (sql-mode-menu): Add submenu to select connections.
7695 (sql-interactive-mode-menu): Add "Save Connection" item.
7696 (sql-add-product): Fix menu item.
7697 (sql-get-product-feature): Improved error handling.
7698 (sql--alt-buffer-part, sql--alt-if-not-empty): Removed.
7699 (sql-make-alternate-buffer-name): Simplified.
7700 (sql-product-interactive): Handle missing product.
7701 (sql-connect): Support string keys, minor improvements.
7702 (sql-save-connection): New function.
7703 (sql-connection-menu-filter): New function.
7705 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
7707 * net/tramp.el (tramp-file-name-handler): Trace 'quit.
7708 (tramp-open-connection-setup-interactive-shell):
7709 Apply workaround for IRIX64 bug. Move argument of last
7710 `tramp-send-command' where it belongs to.
7712 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
7714 * net/tramp.el (tramp-perl-file-attributes)
7715 (tramp-perl-directory-files-and-attributes): Don't pass "$3".
7716 (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
7717 front of `login-args'.
7719 2010-07-19 Juanma Barranquero <lekktu@gmail.com>
7721 * time.el (display-time-world-mode): Define with `define-derived-mode'.
7722 Set `show-trailing-whitespace' to nil.
7723 (display-time-world-display): Simplify.
7725 2010-07-18 Alan Mackenzie <acm@muc.de>
7727 Enhance `c-file-style' in file/directory local variables.
7728 * progmodes/cc-mode.el (c-count-cfss): New function.
7729 (c-before-hack-hook): Call `c-set-style' differently according to
7730 whether c-file-style was set in file or directory local
7733 2010-07-18 Michael R. Mauger <mmaug@yahoo.com>
7735 * progmodes/sql.el: Version 2.2.
7736 (sql-product, sql-user, sql-database, sql-server, sql-port):
7737 Use defcustom :safe keyword rather than putting safe-local-variable
7739 (sql-password): Use defcustom :risky keyword rather than putting
7740 risky-local-variable property.
7741 (sql-oracle-login-params, sql-sqlite-login-params)
7742 (sql-solid-login-params, sql-sybase-login-params)
7743 (sql-informix-login-params, sql-ingres-login-params)
7744 (sql-ms-login-params, sql-postgres-login-params)
7745 (sql-interbase-login-params, sql-db2-login-params)
7746 (sql-linter-login-params): Add `port' option.
7747 (sql-get-product-feature): Add NO-INDIRECT parameter.
7748 (sql-comint-oracle, sql-comint-sybase)
7749 (sql-comint-informix, sql-comint-sqlite, sql-comint-mysql)
7750 (sql-comint-solid, sql-comint-ingres, sql-comint-ms)
7751 (sql-comint-postgres, sql-comint-interbase, sql-comint-db2)
7752 (sql-comint-linter): Rename sql-connect-* functions to
7754 (sql-product-alist, sql-mode-menu): Rename as above and
7755 :sqli-connect-func to :sqli-comint-func.
7756 (sql-connection): New variable.
7757 (sql-interactive-mode): Set it.
7758 (sql-connection-alist): New variable.
7759 (sql-connect): New function.
7760 (sql--alt-buffer-part, sql--alt-if-not-empty)
7761 (sql-make-alternate-buffer-name): Improved alternative buffer name.
7763 2010-07-17 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7765 * image-mode.el (image-bookmark-make-record): Do not set context
7766 in an image (Bug#6650).
7768 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
7770 * simple.el (select-active-region): New function.
7771 (push-mark-command, set-mark, activate-mark)
7772 (handle-shift-selection): Use it.
7773 (deactivate-mark): Don't check for size of region.
7775 * mouse.el (mouse-drag-track): Use select-active-region.
7777 2010-07-17 Michael Albinus <michael.albinus@gmx.de>
7779 * net/tramp.el (tramp-get-ls-command-with-dired): Make test for
7782 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
7784 * term/x-win.el (x-select-enable-primary): Change default to nil.
7785 (x-select-enable-clipboard): Add :version keyword.
7787 * mouse.el (mouse-drag-copy-region):
7788 * simple.el (select-active-regions): Likewise.
7790 2010-07-16 Reiner Steib <Reiner.Steib@gmx.de>
7792 * vc/vc.el (vc-coding-system-inherit-eol): New defvar.
7793 (vc-coding-system-for-diff): Use it to decide whether to inherit
7794 from the file the EOL format for reading the diffs of that file.
7797 2010-07-16 Eli Zaretskii <eliz@gnu.org>
7799 * mail/rmailmm.el (rmail-mime-save): Make the temp buffer
7800 unibyte, so compressed attachments are not compressed again.
7802 2010-07-16 Michael Albinus <michael.albinus@gmx.de>
7804 * net/tramp.el (tramp-handle-shell-command): Don't use hard-wired
7805 "/bin/sh" but `tramp-remote-sh' from `tramp-methods'.
7806 (tramp-find-shell): Simplify setting connection property.
7807 (tramp-get-ls-command): Make test for "--color=never" stronger.
7809 2010-07-15 Simon South <ssouth@member.fsf.org>
7811 * progmodes/delphi.el (delphi-previous-indent-of): Indent case
7812 blocks within record declarations (i.e. variant parts) correctly.
7814 2010-07-15 Simon South <ssouth@member.fsf.org>
7816 * progmodes/delphi.el (delphi-token-at): Give newlines precedence
7817 over literal tokens when parsing so newlines aren't "absorbed" by
7818 single-line comments. Corrects the indentation of case blocks
7819 that have a comment on the first line.
7821 2010-07-14 Karl Fogel <kfogel@red-bean.com>
7823 * bookmark.el (bookmark-load-hook): Fix doc string as suggested
7824 by Drew Adams (Bug#5504).
7826 2010-07-14 Jan Djärv <jan.h.d@swipnet.se>
7828 * xt-mouse.el (xterm-mouse-event-read): Fix for characters > 127
7829 now that Unicode is used (Bug#6594).
7831 2010-07-14 Chong Yidong <cyd@stupidchicken.com>
7833 * term/x-win.el (x-select-enable-clipboard): Default to t.
7834 (x-initialize-window-system): Don't overwrite Paste menu item.
7836 * simple.el (select-active-regions): Default to t.
7837 (push-mark-command): Don't overwrite primary with empty string.
7839 * mouse.el: Bind mouse-2 to mouse-yank-primary.
7840 (mouse-drag-copy-region): Default to nil.
7842 * menu-bar.el (menu-bar-enable-clipboard): Don't overwrite
7843 Cut/Copy/Paste menu bar items.
7845 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7847 Allow C-w when setting a bookmark in a Gnus Article buffer (Bug#5975).
7848 Patch applied by Karl Fogel.
7850 * bookmark.el (bookmark-set): Don't set `bookmark-yank-point'
7851 and `bookmark-current-buffer' if they have been already set in
7852 another buffer (e.g gnus-art).
7854 2010-07-13 Karl Fogel <kfogel@red-bean.com>
7855 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7857 Preparation for setting bookmarks in Gnus article buffers (Bug#5975).
7859 * bookmark.el (bookmark-make-record-default): Allow unneeded
7860 information to be omitted from the record.
7862 Adjust declarations and calls:
7864 * info.el (bookmark-make-record-default): Adjust declaration.
7865 (Info-bookmark-make-record): Adjust call.
7867 * woman.el (bookmark-make-record-default): Adjust declaration.
7868 (woman-bookmark-make-record): Adjust call.
7870 * man.el (bookmark-make-record-default): Adjust declaration.
7871 (Man-bookmark-make-record): Adjust call.
7873 * image-mode.el (bookmark-make-record-default): Adjust declaration.
7875 * doc-view.el (bookmark-make-record-default): Adjust declaration.
7877 2010-07-13 Karl Fogel <kfogel@red-bean.com>
7879 * bookmark.el (bookmark-show-annotation): Use `when' instead of `if'.
7880 This is also from Thierry Volpiatto's patch in bug #6444. However,
7881 because it was extraneous to the functional change in that patch,
7882 and causes a re-indendation, I am committing it separately.
7884 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7886 * bookmark.el (bookmark-show-annotation): Ensure annotations show,
7887 e.g. in Info bookmarks, by using `switch-to-buffer-other-window'.
7888 Patch applied by Karl Fogel (Bug#6444).
7890 2010-07-13 Chong Yidong <cyd@stupidchicken.com>
7892 * frame.el (make-frame): Fix typo in 2010-06-30 change (Bug#6625).
7894 2010-07-13 Adrian Robert <Adrian.B.Robert@gmail.com>
7896 * term/ns-win.el: Bind M-~ to 'ns-prev-frame (due to Matthew
7897 Dempsky; bug#5084). Remove incorrect binding for S-tab.
7898 (ns-alternatives-map): Change S-tab binding to backtab
7901 * simple.el (normal-erase-is-backspace-setup-frame): Set mode on
7904 2010-07-12 Andreas Schwab <schwab@linux-m68k.org>
7906 * language/tai-viet.el ("TaiViet"): Try to fix re-encoding bugs.
7909 * language/tv-util.el (tai-viet-re): Remove format.
7911 2010-07-12 Kenichi Handa <handa@m17n.org>
7913 * language/hebrew.el: Remove no-byte-compile declaration.
7914 Change coding: tag to utf-8. Register hebrew-shape-gstring in
7915 composition-function-table for 3-character looking back.
7916 (hebrew-font-get-precomposed): New function.
7917 (hebrew-shape-gstring): Utilize precomposed glyphs if available.
7919 2010-07-11 Chong Yidong <cyd@stupidchicken.com>
7921 * mouse.el (mouse-drag-track): Handle select-active-regions
7924 2010-07-11 Magnus Henoch <magnus.henoch@gmail.com>
7926 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
7927 empty argument to gvfs-copy.
7929 2010-07-10 Glenn Morris <rgm@gnu.org>
7931 * calendar/calendar.el (calendar-week-end-day): New function.
7932 * calendar/cal-tex.el (cal-tex-cursor-month): Remove unused vars.
7933 Respect calendar-week-start-day. (Bug#6606)
7934 (cal-tex-insert-day-names, cal-tex-insert-blank-days)
7935 (cal-tex-insert-blank-days-at-end): Respect calendar-week-start-day.
7936 (cal-tex-first-blank-p, cal-tex-last-blank-p): Simplify, and
7937 respect calendar-week-start-day.
7939 2010-07-10 Chong Yidong <cyd@stupidchicken.com>
7941 * simple.el (use-region-p): Doc fix (Bug#6607).
7943 2010-07-10 Aleksei Gusev <aleksei.gusev@gmail.com> (tiny change)
7945 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7946 Add regexps for cucumber and ruby.
7948 2010-07-08 Daiki Ueno <ueno@unixuser.org>
7950 * epa-file.el (epa-file-error, epa-file--find-file-not-found-function)
7951 (epa-file-insert-file-contents): Hack to prevent
7952 find-file from opening empty buffer when decryption failed
7955 2010-07-07 Agustín Martín <agustin.martin@hispalinux.es>
7957 * textmodes/ispell.el (ispell-alternate-dictionary):
7958 Use file-readable-p.
7959 Return nil if no word-list is found at default locations.
7960 (ispell-complete-word-dict): Default to nil.
7961 (ispell-command-loop): Use 'word-list' when using lookup-words.
7962 (lookup-words): Use ispell-complete-word-dict or
7963 ispell-alternate-dictionary. Check for word-list availability
7964 and handle errors if needed with better messages (Bug#6539).
7965 (ispell-complete-word): Use ispell-complete-word-dict or
7966 ispell-alternate-dictionary.
7968 2010-07-07 Christoph Scholtes <cschol2112@gmail.com>
7970 * progmodes/python.el (python-font-lock-keywords): Add Python 2.7
7971 builtins (BufferError, BytesWarning, WindowsError; callables
7972 bin, bytearray, bytes, format, memoryview, next, print; __package__).
7974 2010-07-07 Glenn Morris <rgm@gnu.org>
7976 * play/zone.el (top-level): Do not require timer, tabify, or cl.
7977 (zone-shift-left): Ignore intangibility, and any errors from
7979 (zone-shift-right): Remove no-op end-of-line. Ignore intangibility.
7980 (zone-pgm-putz-with-case): Use upcase-region rather than inserting,
7981 deleting, and copying text properties.
7982 (zone-line-specs, zone-pgm-stress): Check forward-line exit status.
7983 (zone-pgm-rotate): Handle odd buffers like that of gomoku, where getting
7984 to point-max is hard.
7985 (zone-fret, zone-fill-out-screen): Replace cl's do with dotimes.
7986 (zone-fill-out-screen): Ignore intangibility.
7988 2010-07-05 Chong Yidong <cyd@stupidchicken.com>
7990 * menu-bar.el (menu-bar-mode):
7991 * tool-bar.el (tool-bar-mode): Replace default-frame-alist element
7994 * mouse.el (mouse-drag-track): Call mouse-start-end to handle
7995 word/line selection (Bug#6565).
7997 2010-07-04 Juanma Barranquero <lekktu@gmail.com>
7999 * net/dbus.el (dbus-send-signal): Declare function.
8001 2010-07-04 Michael Albinus <michael.albinus@gmx.de>
8003 * net/dbus.el: Implement signal "PropertiesChanged" (from D-Bus 1.3.1).
8004 (dbus-register-property): New optional argument EMITS-SIGNAL.
8005 (dbus-property-handler): Send signal "PropertiesChanged" if requested.
8007 2010-07-03 Chong Yidong <cyd@stupidchicken.com>
8009 * mouse.el (mouse-drag-overlay): Variable deleted.
8010 (mouse-move-drag-overlay, mouse-show-mark): Functions deleted.
8011 (mouse--remap-link-click-p): New function.
8012 (mouse-drag-track): Handle dragging by using temporary Transient
8013 Mark mode, instead of a special overlay.
8014 (mouse-kill-ring-save, mouse-save-then-kill): Don't call
8017 * mouse-sel.el (mouse-sel-selection-alist): mouse-drag-overlay
8020 2010-07-02 Juri Linkov <juri@jurta.org>
8022 * autoinsert.el (auto-insert-alist): Fix readability
8023 by using dotted pair notation for lambda.
8025 2010-07-02 Juri Linkov <juri@jurta.org>
8027 * faces.el (read-face-name): Rename arg `string-describing-default'
8028 to `default'. Doc fix. Display the default value in quotes
8029 in the prompt. With empty input, return the `default' arg,
8030 unless the default value is a string (in which case return nil).
8031 (describe-face): Replace the string `default' arg of `read-face-name'
8032 with the symbol `default'.
8034 2010-07-02 Chong Yidong <cyd@stupidchicken.com>
8036 * emulation/viper-cmd.el (viper-delete-backward-char)
8037 (viper-del-backward-char-in-insert)
8038 (viper-del-backward-char-in-replace, viper-change)
8039 (viper-backward-indent): Replace delete-backward-char with
8040 delete-char (Bug#6552).
8042 2010-07-01 Chong Yidong <cyd@stupidchicken.com>
8044 * ruler-mode.el (ruler--save-header-line-format): Fix typos.
8046 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
8048 * frame.el (make-frame): Add default-frame-alist to the PARAMETERS
8049 argument passed to frame-creation-function (Bug#5378).
8051 * faces.el (x-handle-named-frame-geometry)
8052 (x-handle-reverse-video, x-create-frame-with-faces)
8053 (face-set-after-frame-default, tty-create-frame-with-faces):
8054 Don't separately consult default-frame-alist. It is now passed as the
8057 2010-06-30 Andreas Schwab <schwab@linux-m68k.org>
8059 * startup.el (command-line): Don't call tool-bar-setup in a
8062 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
8064 * ruler-mode.el (ruler--save-header-line-format): New fun.
8065 (ruler-mode): Use it as a setter function, so as not to overwrite
8066 ruler-mode-header-line-format-old if Ruler mode is on (Bug#5370).
8068 2010-06-29 Chong Yidong <cyd@stupidchicken.com>
8070 * vc/vc.el (vc-deduce-backend): New fun. Handle diff buffers.
8071 (vc-root-diff, vc-print-root-log, vc-log-incoming)
8072 (vc-log-outgoing): Use it.
8073 (vc-diff-internal): Set diff-vc-backend.
8075 * vc/diff-mode.el (diff-vc-backend): New var.
8077 2010-06-28 Jan Djärv <jan.h.d@swipnet.se>
8079 * dynamic-setting.el (font-setting-change-default-font):
8080 Remove call to message.
8082 2010-06-28 Kenichi Handa <handa@m17n.org>
8084 * international/quail.el (quail-insert-kbd-layout): Fix the
8085 showing of untranslated characters.
8087 2010-06-28 Chong Yidong <cyd@stupidchicken.com>
8089 * simple.el (delete-active-region): New option.
8090 (delete-backward-char): Implement in Lisp.
8091 (delete-forward-char): New command.
8093 * mouse.el (mouse-region-delete-keys): Deleted.
8094 (mouse-show-mark): Simplify.
8096 * bindings.el (global-map): Bind delete and DEL, the former to
8097 delete-forward-char.
8099 2010-06-27 Lennart Borgman <lennart.borgman@gmail.com>
8101 * progmodes/ruby-mode.el (ruby-mode-map): Don't bind TAB.
8102 (ruby-mode): Bind indent-line-function (Bug#5119).
8104 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
8106 * startup.el (command-line): Recognize "0" X resource value.
8108 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
8110 * startup.el (command-line): Use X resources to set the value of
8111 menu-bar-mode and tool-bar-mode, before calling frame-initialize.
8113 * menu-bar.el (menu-bar-mode):
8114 * tool-bar.el (tool-bar-mode): Don't change default-frame-alist.
8115 Set init-value to t.
8117 * frame.el (frame-notice-user-settings): Don't change
8118 default-frame-alist based on menu-bar-mode and tool-bar-mode, or
8119 vice versa (Bug#2249).
8121 2010-06-26 Eli Zaretskii <eliz@gnu.org>
8123 * w32-fns.el (w32-convert-standard-filename): Doc fix.
8125 2010-06-25 Agustín Martín <agustin.martin@hispalinux.es>
8127 * textmodes/flyspell.el (flyspell-check-previous-highlighted-word):
8128 Make sure `flyspell-word' re-checks word after function run (Bug#6504).
8130 * textmodes/ispell.el (ispell-init-process): Make sure ispell and
8131 default directories are expanded (Bug#6143).
8133 2010-06-24 Juri Linkov <juri@jurta.org>
8135 * minibuffer.el (completions-format): Change default from nil to
8136 `horizontal'. Remove `nil' value from :type. Doc fix. (Bug#6459)
8138 2010-06-24 Juri Linkov <juri@jurta.org>
8140 * vc/vc.el (vc-diff-internal): Set `revert-buffer-function'
8141 buffer-locally to lambda that re-runs the vc diff command.
8144 2010-06-24 Chong Yidong <cyd@stupidchicken.com>
8146 * kmacro.el (kmacro-call-macro): Don't issue hint message if the
8147 echo area is in use (Bug#3412).
8149 2010-06-22 Glenn Morris <rgm@gnu.org>
8151 * textmodes/texinfmt.el (texinfo-format-region)
8152 (texinfo-raise-lower-sections, texinfo-format-separate-node)
8153 (texinfo-itemize-item, texinfo-multitable-item, texinfo-alias)
8154 (texinfo-format-option, texinfo-noindent):
8155 Use line-beginning-position and line-end-position.
8157 * calc/calc-aent.el, calc/calc-ext.el, calc/calc-lang.el:
8158 * calc/calc-store.el, calc/calc-units.el, calc/calc.el:
8159 * calc/calccomp.el: Add explicit utf-8 coding cookies to files with
8162 2010-06-21 Karl Fogel <kfogel@red-bean.com>
8164 * play/zone.el (zone-fall-through-ws): Fix next-line ->
8165 forward-line fallout.
8167 2010-07-06 Chong Yidong <cyd@stupidchicken.com>
8169 * mouse.el (mouse-appearance-menu): Add docstring.
8171 * help.el (describe-key): Print up-event using key-description.
8173 2010-07-03 Michael Albinus <michael.albinus@gmx.de>
8175 * net/zeroconf.el (zeroconf-resolve-service)
8176 (zeroconf-service-resolver-handler): Use `dbus-byte-array-to-string'.
8177 (zeroconf-publish-service): Use `dbus-string-to-byte-array'.
8179 2010-07-03 Jan Moringen <jan.moringen@uni-bielefeld.de>
8181 * net/zeroconf.el (zeroconf-service-remove-hook): New defun.
8183 2010-06-30 Dan Nicolaescu <dann@ics.uci.edu>
8185 Avoid displaying files with a nil state in vc-dir.
8186 * vc/vc-dir.el (vc-dir-update): Obey the noinsert argument in all
8187 cases that cause insertion.
8188 (vc-dir-resynch-file): Tell vc-dir-update to avoid inserting files
8191 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
8193 * xml.el (xml-parse-region): Avoid infloop (Bug#5281).
8195 2010-06-29 Leo <sdl.web@gmail.com>
8197 * emacs-lisp/rx.el (rx): Doc fix. (Bug#6537)
8199 2010-06-27 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
8201 * generic-x.el (bat-generic-mode): Fix regexp for command line
8202 switches (Bug#5719).
8204 2010-06-27 Masatake YAMATO <yamato@redhat.com>
8206 * htmlfontify.el (hfy-face-attr-for-class): Use append instead
8207 of nconc to avoid pure storage error (Bug#6239).
8209 2010-06-27 Christoph <cschol2112@googlemail.com> (tiny change)
8211 * bookmark.el (bookmark-bmenu-2-window, bookmark-bmenu-other-window)
8212 (bookmark-bmenu-other-window-with-mouse): Remove unnecessary
8213 bindings of bookmark-automatically-show-annotations (Bug#6515).
8215 2010-06-25 Eli Zaretskii <eliz@gnu.org>
8217 * arc-mode.el (archive-zip-extract): Don't quote the file name on
8218 MS-Windows and MS-DOS. (Bug#6467, Bug#6144)
8220 2010-06-24 Štěpán Němec <stepnem@gmail.com> (tiny change)
8222 * comint.el (make-comint, make-comint-in-buffer): Mention return
8223 value in the docstrings. (Bug#6498)
8225 2010-06-24 Yoni Rabkin <yoni@rabkins.net>
8227 * bs.el (bs-mode-font-lock-keywords): Remove "by" from Dired pattern,
8228 since it is not present when using some non-default switches.
8230 2010-06-23 Karl Fogel <kfogel@red-bean.com>
8232 * simple.el (compose-mail): Fix doc string to refer to
8233 `compose-mail-user-agent-warnings', instead of to the
8234 nonexistent `compose-mail-check-user-agent'.
8236 2010-06-21 Alan Mackenzie <bug-cc-mode@gnu.org>
8238 Fix an indentation bug:
8240 * progmodes/cc-mode.el (c-common-init): Initialise c-new-BEG/END.
8241 (c-neutralize-syntax-in-and-mark-CPP): c-new-BEG/END: Take account
8244 * progmodes/cc-engine.el (c-clear-<-pair-props-if-match-after)
8245 (c-clear->-pair-props-if-match-before): now return t when they've
8246 cleared properties, nil otherwise.
8247 (c-before-change-check-<>-operators): Set c-new-beg/end correctly
8248 by taking account of the existing value.
8250 * progmodes/cc-defs.el
8251 (c-clear-char-property-with-value-function): Fix this to clear the
8252 property rather than overwriting it with nil.
8254 2010-06-20 Chong Yidong <cyd@stupidchicken.com>
8256 * emacs-lisp/package.el (package-print-package): Add link to
8257 package description via describe-package.
8258 (describe-package-1): List package requirements. Add button to
8259 perform installation.
8260 (package-menu-describe-package): New command.
8262 * help-mode.el (help-package): New button type.
8264 2010-06-19 Chong Yidong <cyd@stupidchicken.com>
8266 * emacs-lisp/package.el: Move package-list-packages binding to
8268 (describe-package, describe-package-1, package--dir): New funs.
8269 (package-activate-1): Use package--dir.
8271 * emacs-lisp/package-x.el (gnus-article-buffer): Require package.
8273 * help-mode.el (help-package-def): New button type.
8275 * menu-bar.el: Move package-list-packages binding here from
8278 2010-06-19 Gustav Hållberg <gustav@gmail.com> (tiny change)
8280 * descr-text.el (describe-char): Avoid trailing whitespace. (Bug#6423)
8282 2010-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8284 * emacs-lisp/edebug.el (edebug-read-list):
8285 Phase out old-style backquotes.
8287 2010-06-17 Juri Linkov <juri@jurta.org>
8289 * help-mode.el (help-mode): Set buffer-local variable
8290 revert-buffer-function to help-mode-revert-buffer.
8291 (help-mode-revert-buffer): New function.
8293 * info.el (Info-revert-find-node): Check for major-mode Info-mode
8294 before popping to "*info*" (like in other Info functions).
8295 Keep buffer-name in old-buffer-name. Keep Info-history-forward in
8296 old-history-forward. Pop to old-buffer-name or "*info*" to
8297 recreate the killed buffer. Set Info-history-forward from
8298 old-history-forward.
8299 (Info-breadcrumbs-depth): Add :group and :version.
8301 2010-06-17 Dan Nicolaescu <dann@ics.uci.edu>
8303 * emacs-lisp/package.el (package-menu-mode-map): Add a menu.
8305 2010-06-17 Agustín Martín <agustin.martin@hispalinux.es>
8307 * textmodes/ispell.el (ispell-aspell-find-dictionary): Fix regexp
8308 for languages like Portuguese with pt_{BR,PT} and no plain pt.
8310 2010-06-17 Juanma Barranquero <lekktu@gmail.com>
8312 * emacs-lisp/package.el (package-menu-mode-map):
8313 Move initialization into declaration.
8315 * menu-bar.el (menu-bar-options-menu): Fix typo in menu entry.
8317 2010-06-17 Chong Yidong <cyd@stupidchicken.com>
8319 * emacs-lisp/package.el (package-archive-base): Point to
8321 (package-enable, package-load-list): New defcustoms.
8322 (package-user-dir, package-directory-list): Turn into defcustoms.
8323 Don't include package-user-dir in package-directory-list.
8324 (package--builtins-base): Don't include Emacs as a "package".
8325 (package-subdirectory-regexp): New var.
8326 (package-load-all-descriptors, package-compute-transaction)
8327 (package-download-transaction): Obey package-load-list.
8328 (package-activate-1): Rename from package-do-activate.
8329 (package-list-packages-internal): Check package-load-list.
8330 (package-load-descriptor, package-generate-autoloads)
8331 (package-unpack, package-unpack-single)
8332 (package--read-archive-file, package-delete):
8333 Use expand-file-name.
8335 * emacs-lisp/package-x.el: New file. Package uploading
8336 functionality split out from package.el.
8338 * startup.el (command-line): Load packages after reading init file.
8340 2010-06-17 Tom Tromey <tromey@redhat.com>
8342 * emacs-lisp/package.el: New file.
8344 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
8346 Fix vc-annotate for renamed files when using Git.
8347 * vc/vc-git.el (vc-git-find-revision): Deal with empty results from
8348 ls-files. Doe not pass the object as a file name to cat-file, it
8350 (vc-git-annotate-command): Pass the file name using -- to avoid
8351 ambiguity with the revision.
8352 (vc-git-previous-revision): Pass a relative file name.
8354 2010-06-22 Glenn Morris <rgm@gnu.org>
8356 * progmodes/js.el (js-mode-map): Use standard capitalization and
8357 ellipses for menu entries.
8359 * wid-edit.el (widget-complete): Doc fix.
8361 2010-06-22 Jürgen Hötzel <juergen@hoetzel.info> (tiny change)
8363 * wid-edit.el (widget-complete): Fix typo in 2009-12-02 change.
8365 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
8367 Fix annotating other revisions for renamed files in vc-annotate.
8368 * vc/vc-annotate.el (vc-annotate): Add an optional argument for the
8369 VC backend. Use it when non-nil.
8370 (vc-annotate-warp-revision): Pass the VC backend to vc-annotate.
8373 Fix vc-annotate-show-changeset-diff-revision-at-line for git.
8374 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
8375 Do not pass the file name to the 'previous-revision call when we
8376 don't want a file diff. (Bug#6489)
8378 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
8380 Fix finding revisions for renamed files in vc-annotate.
8381 * vc/vc.el (vc-find-revision): Add an optional argument for
8382 the VC backend. Use it when non-nil.
8383 * vc/vc-annotate.el (vc-annotate-find-revision-at-line): Pass the VC
8384 backend to vc-find-revision. (Bug#6487)
8386 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
8388 Fix reading file names in Git annotate buffers.
8389 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line):
8390 Remove trailing whitespace. Suggested by Eric Hanchrow. (Bug#6481)
8392 2010-06-20 Alan Mackenzie <acm@muc.de>
8394 * progmodes/cc-mode.el (c-before-hack-hook): When the mode is set
8395 in file local variables, set it first.
8397 2010-06-19 Glenn Morris <rgm@gnu.org>
8399 * descr-text.el (describe-char-unicode-data): Insert separating
8400 space when needed. (Bug#6422)
8402 * progmodes/idlwave.el (idlwave-action-and-binding):
8403 Fix typo in 2009-12-03 change. (Bug#6450)
8405 2010-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
8407 * emacs-lisp/macroexp.el (macroexpand-all-1): Put back special
8408 handling for `lambda' (misunderstanding).
8410 2010-06-16 Jay Belanger <jay.p.belanger@gmail.com>
8412 * calc/calc-poly.el (math-accum-factors): Make sure that
8413 constants aren't distributed after they are factored out.
8415 2010-06-16 Juri Linkov <juri@jurta.org>
8417 * facemenu.el (list-colors-display): Call `pop-to-buffer' before
8418 `list-colors-print'. (Bug#6332)
8420 * subr.el (read-quoted-char): Fix up last change (bug#6290).
8422 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
8424 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't handle `lambda'
8425 specially, since it's a macro. Fix up wrong hint passed to maybe-cons.
8427 * font-lock.el (font-lock-major-mode): Rename from
8428 font-lock-mode-major-mode to distinguish it from
8429 global-font-lock-mode's own font-lock-mode-major-mode (bug#6135).
8430 (font-lock-set-defaults):
8431 * font-core.el (font-lock-default-function): Adjust users.
8432 (font-lock-mode): Don't set it at all.
8434 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
8436 * vc/vc-annotate.el (vc-annotate): Use vc-read-revision.
8438 2010-06-16 Glenn Morris <rgm@gnu.org>
8440 * calendar/appt.el (appt-time-msg-list): Doc fix.
8441 (appt-check): Let-bind appt-warn-time.
8442 (appt-add): Make the 3rd argument optional.
8443 Simplify argument names. Doc fix. Check for integer WARNTIME.
8444 Only add WARNTIME to the output list if non-nil.
8446 2010-06-16 Ivan Kanis <apple@kanis.eu>
8448 * calendar/appt.el (appt-check): Let the 3rd element of
8449 appt-time-msg-list specify the warning time.
8450 (appt-add): Add new argument with the warning time. (Bug#5176)
8452 2010-06-16 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
8454 * vc/vc-svn.el (vc-svn-after-dir-status): Fix regexp for Subversions
8455 older than version 1.6. (Bug#6361)
8457 2010-06-16 Helmut Eller <eller.helmut@gmail.com>
8459 * emacs-lisp/cl-macs.el (destructuring-bind): Bind `bind-enquote',
8460 used by cl-do-arglist. (Bug#6408)
8462 2010-06-16 Agustín Martín <agustin.martin@hispalinux.es>
8464 * textmodes/ispell.el (ispell-dictionary-base-alist):
8465 Fix portuguese casechars/not-casechars for missing 'çÇ'.
8466 Suggested by Rolando Pereira (bug#6434).
8468 2010-06-15 Juanma Barranquero <lekktu@gmail.com>
8470 * facemenu.el (list-colors-sort): Doc fix.
8472 2010-06-15 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
8474 * progmodes/sql.el (sql-connect-mysql): Fix typo.
8476 2010-06-14 Juri Linkov <juri@jurta.org>
8478 Add sort option `list-colors-sort'. (Bug#6332)
8479 * facemenu.el (color-rgb-to-hsv): New function.
8480 (list-colors-sort): New defcustom.
8481 (list-colors-sort-key): New function.
8482 (list-colors-display): Doc fix. Sort list according to the option
8484 (list-colors-print): Add HSV values to `help-echo' property of
8487 2010-06-14 Juri Linkov <juri@jurta.org>
8489 * compare-w.el: Move to the "vc" subdirectory.
8491 2010-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
8493 * image-mode.el (image-mode-map): Remap left-char and right-char.
8495 * nxml/nxml-mode.el (nxml-indent-line): Standardize indent behavior.
8497 2010-06-12 Chong Yidong <cyd@stupidchicken.com>
8499 * term/common-win.el (x-colors): Add all the color names defined
8500 in rgb.txt (Bug#6332).
8502 * facemenu.el (list-colors-print): Don't print extra names if it
8503 will overflow the window width.
8505 * vc/log-edit.el (log-edit-font-lock-keywords): Revert 2010-06-02
8508 2010-06-12 Eli Zaretskii <eliz@gnu.org>
8510 * files.el (make-directory): Doc fix (bug#6396).
8512 2010-06-12 Michael Albinus <michael.albinus@gmx.de>
8514 * net/tramp.el (tramp-remote-process-environment): Protect version
8515 string by apostroph.
8516 (tramp-shell-prompt-pattern): Do not use a shy group in case of
8518 (tramp-file-name-for-operation): Add `call-process-region'.
8519 (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
8521 * net/tramp-compat.el (top): Do not autoload
8522 `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el
8523 only when `start-file-process' is not bound.
8524 (tramp-advice-file-expand-wildcards): Do not use
8525 `tramp-handle-file-remote-p'.
8526 (tramp-compat-make-temp-file): Handle the case, that
8527 `make-temp-file' has no third argument EXTENSION.
8529 2010-06-11 Juanma Barranquero <lekktu@gmail.com>
8531 * makefile.w32-in (WINS_BASIC): Include new directory vc.
8533 * loadup.el ("vc-hooks", "ediff-hook"): Load from lisp/vc/.
8535 2010-06-11 Juri Linkov <juri@jurta.org>
8537 * finder.el (finder-known-keywords): Add keyword "vc"
8538 for version control.
8540 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff.el,
8541 * emerge.el, log-edit.el, log-view.el, pcvs.el, smerge-mode.el,
8542 * vc-annotate.el, vc-bzr.el, vc-dir.el, vc-dispatcher.el, vc-git.el,
8543 * vc-hg.el, vc-mtn.el, vc.el: Add keyword "vc".
8545 2010-06-11 Juri Linkov <juri@jurta.org>
8547 Move version control related files to the "vc" subdirectory.
8548 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff-diff.el,
8549 * ediff.el, ediff-help.el, ediff-hook.el, ediff-init.el,
8550 * ediff-merg.el, ediff-mult.el, ediff-ptch.el, ediff-util.el,
8551 * ediff-vers.el, ediff-wind.el, emerge.el, log-edit.el, log-view.el,
8552 * pcvs-defs.el, pcvs.el, pcvs-info.el, pcvs-parse.el, pcvs-util.el,
8553 * smerge-mode.el, vc-annotate.el, vc-arch.el, vc-bzr.el, vc-cvs.el,
8554 * vc-dav.el, vc-dir.el, vc-dispatcher.el, vc.el, vc-git.el,
8555 * vc-hg.el, vc-hooks.el, vc-mtn.el, vc-rcs.el, vc-sccs.el, vc-svn.el:
8556 Move files to the "vc" subdirectory.
8558 2010-06-11 Chong Yidong <cyd@stupidchicken.com>
8560 * comint.el (comint-password-prompt-regexp): Fix 2010-04-10 change
8563 2010-06-11 Stephen Eglen <stephen@gnu.org>
8565 * shell.el: Bind `shell-resync-dirs' to M-RET.
8567 2010-06-10 Michael Albinus <michael.albinus@gmx.de>
8569 * notifications.el: Move file from lisp/net, because it is
8570 supposed to talk locally to the user.
8572 2010-06-10 Julien Danjou <julien@danjou.info>
8574 * net/notifications.el (notifications-on-action-signal)
8575 (notifications-on-closed-signal): Pass notification id as first
8576 argument to the callback functions. Add docstrings.
8577 (notifications-notify): Fix docstring.
8579 2010-06-10 Glenn Morris <rgm@gnu.org>
8581 * emacs-lisp/authors.el (authors-ignored-files)
8582 (authors-valid-file-names): Add some files.
8584 2010-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
8586 * net/rcirc.el (rcirc-server-alist, rcirc, rcirc-connect): Resolve
8587 merge conflict, giving preference to the emacs-23 version of the code.
8589 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
8591 * emacs-lisp/advice.el (ad-compile-function):
8592 Define warning-suppress-types before we let-bind it (bug#6275).
8594 * vc-dispatcher.el: Rename mode-line-hook to vc-mode-line-hook;
8595 declare it, make it buffer-local and permanent-local (bug#6324).
8596 (vc-resynch-window): Adjust name.
8597 * vc-hooks.el (vc-find-file-hook): Adjust name.
8599 2010-06-09 Michael Albinus <michael.albinus@gmx.de>
8601 * net/notifications.el (notifications-notify): Fix docstring.
8603 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
8605 Update to Unicode 6.0.0 beta.
8606 * international/charprop.el: Update copyright.
8607 * international/mule-cmds.el (ucs-names): Update character ranges.
8608 * international/uni-bidi.el:
8609 * international/uni-category.el:
8610 * international/uni-combining.el:
8611 * international/uni-comment.el:
8612 * international/uni-decimal.el:
8613 * international/uni-decomposition.el:
8614 * international/uni-digit.el:
8615 * international/uni-lowercase.el:
8616 * international/uni-mirrored.el:
8617 * international/uni-name.el:
8618 * international/uni-numeric.el:
8619 * international/uni-old-name.el:
8620 * international/uni-titlecase.el:
8621 * international/uni-uppercase.el: Regenerate.
8623 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
8625 * emacs-lisp/smie.el (comment-string-strip): Declare function.
8626 (smie-precs-precedence-table): Fix typo in docstring.
8628 * vc-mtn.el (log-edit-extract-headers): Declare function.
8630 * vc-hg.el (log-edit-extract-headers): Remove duplicate declaration.
8632 * net/notifications.el (dbus-register-signal): Declare function.
8633 (notifications-notify): Fix typos and reflow docstring.
8635 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
8637 Improve VC create/retrieve tag/branch.
8638 * vc.el (vc-create-tag): Do not read the directory name for VCs
8639 with repository revision granularity. Adjust the tag/branch
8640 prompt. Reset VC properties.
8641 (vc-retrieve-tag): Do not read the directory name for VCs
8642 with repository revision granularity. Reset VC properties.
8644 2010-06-09 Julien Danjou <julien@danjou.info>
8646 * net/notifications.el: New file.
8648 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
8650 Add optional support for resetting VC properties.
8651 * vc-dispatcher.el (vc-resynch-window): Add new optional argument,
8652 call vc-file-clearprops when true.
8653 (vc-resynch-buffer): Add new optional argument, pass it down.
8654 (vc-resynch-buffers-in-directory): Likewise.
8656 Improve support for special markup in the VC commit message.
8657 * vc-mtn.el (vc-mtn-checkin): Add support for Author: and Date: markup.
8658 * vc-hg.el (vc-hg-checkin): Add support for Date:.
8659 * vc-git.el (vc-git-checkin):
8660 * vc-bzr.el (vc-bzr-checkin): Likewise.
8662 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
8664 * emacs-lisp/smie.el (smie-indent-keyword): Remove special case that
8665 can be handled with a ((:before "fn") (:prev "=>" parent)) rule.
8667 2010-06-07 Martin Pohlack <mp26@os.inf.tu-dresden.de>
8669 * iimage.el: Remove images as soon as the underlying text is modified.
8670 (iimage-modification-hook): New function.
8671 (iimage-mode-buffer): Use it.
8673 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
8675 * emacs-lisp/smie.el (smie-indent-offset-rule): Rename from
8676 smie-indent-offset-after. Add :prev case. Make a bit more generic.
8677 (smie-indent-virtual): Remove `virtual' arg. Update callers.
8678 (smie-indent-keyword): Add handling of open-paren keywords.
8679 (smie-indent-comment-continue): Don't assume comment-continue.
8681 2010-06-07 Martin Rudalics <rudalics@gmx.at>
8683 * window.el (pop-to-buffer): Remove the conditional that
8684 compares new-window and old-window, so it will reselect
8685 the selected window unconditionally.
8686 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00078.html
8688 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
8690 * emacs-lisp/smie.el (smie-indent-offset-after)
8691 (smie-indent-forward-token, smie-indent-backward-token): New functions.
8692 (smie-indent-after-keyword): Use them.
8693 (smie-indent-fixindent): Only applies to the indentation of the BOL.
8694 (smie-indent-keyword): Tweak the black magic.
8695 (smie-indent-comment-continue): Strip comment-continue before use.
8696 (smie-indent-functions): Indent comments before keywords.
8698 2010-06-06 Juri Linkov <juri@jurta.org>
8700 * isearch.el (isearch-lazy-highlight-search): Fix looping
8701 by checking for empty match. This syncs this loop with the
8702 similar loop in `isearch-search'. (Bug#6362)
8704 2010-06-05 Juanma Barranquero <lekktu@gmail.com>
8706 * net/dbus.el (dbus-register-method): Declare function.
8707 (dbus-handle-event, dbus-property-handler): Fix typos in docstrings.
8708 (dbus-introspect): Doc fix.
8709 (dbus-event-bus-name, dbus-introspect-get-interface)
8710 (dbus-introspect-get-argument): Reflow docstrings.
8712 2010-06-05 Dan Nicolaescu <dann@ics.uci.edu>
8714 vc-log-incoming/vc-log-outgoing fixes for Git.
8715 * vc-git.el (vc-git-log-view-mode): Fix font lock for
8716 incoming/outgoing logs.
8717 (vc-git-log-outgoing, vc-git-log-incoming): Use @{upstream}
8718 instead of vc-git-compute-remote.
8719 (vc-git-compute-remote): Remove.
8721 2010-06-04 Chong Yidong <cyd@stupidchicken.com>
8723 * term/common-win.el (x-colors): Add "dark green" and "dark
8724 turquoise" (Bug#6332).
8726 2010-06-04 Juri Linkov <juri@jurta.org>
8728 * simple.el (kill-new): Fix logic of kill-do-not-save-duplicates.
8729 Instead of setting `replace' to t and replacing the same string
8730 with itself, don't do certain actions when
8731 kill-do-not-save-duplicates is non-nil and string is equal to car
8732 of kill-ring: don't call menu-bar-update-yank-menu, don't push
8733 interprogram-paste strings to kill-ring, and don't push the input
8734 argument `string' to kill-ring.
8735 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00072.html
8737 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
8739 * subr.el (directory-sep-char): Move from fileio.c and make a defconst.
8741 2010-06-04 Michael Albinus <michael.albinus@gmx.de>
8743 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name): Expand "~/".
8744 (tramp-gvfs-handler-mounted-unmounted)
8745 (tramp-gvfs-connection-mounted-p): Handle default-location.
8747 * net/tramp-smb.el (tramp-smb-handle-delete-directory): Don't try to
8748 move files to trash.
8750 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
8752 * international/mule-cmds.el (nonascii-insert-offset)
8753 (nonascii-translation-table): Add obsolescence information.
8755 * international/mule.el (make-translation-table-from-vector): Doc fix.
8757 2010-06-03 Glenn Morris <rgm@gnu.org>
8759 * desktop.el (desktop-clear-preserve-buffers):
8760 Add "*Warnings*" buffer. (Bug#6336)
8762 2010-06-03 Dan Nicolaescu <dann@ics.uci.edu>
8764 vc-log-incoming/vc-log-outgoing improvements for Git.
8765 * vc-git.el (vc-git-log-outgoing): Use the same format as the
8767 (vc-git-log-incoming): Likewise. Run "git fetch" before the log command.
8769 Add bindings for vc-log-incoming and vc-log-outgoing.
8770 * vc-hooks.el (vc-prefix-map): Add bindings for vc-log-incoming
8771 and vc-log-outgoing.
8772 * vc-dir.el (vc-dir-menu-map): Add menu bindings for vc-log-incoming
8773 and vc-log-outgoing.
8775 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
8777 * net/rcirc.el (rcirc-sort-nicknames): Remove.
8778 (rcirc-handler-366): Always sort nicknames.
8780 2010-06-03 Juanma Barranquero <lekktu@gmail.com>
8782 * emacs-lisp/smie.el (comment-continue): Declare for byte-compiler.
8784 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
8786 * net/rcirc.el (rcirc-nickname<, rcirc-sort-nicknames-join): Doc fix.
8788 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
8790 * net/rcirc.el (rcirc-sort-nicknames): Change default.
8791 (rcirc-sort-nicknames-join): Avoid setq.
8793 2010-06-03 Deniz Dogan <deniz.a.m.dogan@gmail.com>
8795 * net/rcirc.el (rcirc-sort-nicknames): New custom.
8796 (rcirc-nickname<, rcirc-sort-nicknames-join): New funs.
8797 (rcirc-handler-366): Use them.
8799 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
8801 Split smie-indent-calculate into more manageable chunks.
8802 * emacs-lisp/smie.el (smie-indent-virtual, smie-indent-fixindent)
8803 (smie-indent-comment, smie-indent-after-keyword, smie-indent-keyword)
8804 (smie-indent-close, smie-indent-comment-continue, smie-indent-bob)
8805 (smie-indent-exps): Extract from smie-indent-calculate.
8806 (smie-indent-functions): New var.
8807 (smie-indent-functions): Use them.
8809 2010-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
8811 * emacs-lisp/smie.el (smie-indent-hanging-p): Use smie-bolp.
8812 (smie-indent-calculate): Simplify and cleanup.
8814 2010-06-02 Michael Albinus <michael.albinus@gmx.de>
8816 * net/tramp-gvfs.el (top): Require url-util.
8817 (tramp-gvfs-mount-point): Remove.
8818 (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command):
8820 (with-tramp-dbus-call-method): Format trace message.
8821 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
8822 Implement backup call, when operation on local files fails.
8823 Use progress reporter. Flush properties of changed files.
8824 (tramp-gvfs-handle-make-directory): Make more traces.
8825 (tramp-gvfs-url-file-name): Hexify file name in url.
8826 (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
8827 into account for the resulting file name.
8828 (tramp-gvfs-handler-askquestion): Return dummy mountpoint, when
8829 the answer is "no". See `tramp-gvfs-maybe-open-connection'.
8830 (tramp-gvfs-handler-mounted-unmounted)
8831 (tramp-gvfs-connection-mounted-p): Test also for new mountspec
8832 attribute "default_location". Set "prefix" property.
8833 (tramp-gvfs-mount-spec): Return both prefix and mountspec.
8834 (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
8835 exists. Raise an error, if not (due to a corresponding answer
8836 "no" in interactive questions, for example).
8838 2010-06-02 Dan Nicolaescu <dann@ics.uci.edu>
8840 * log-edit.el (log-edit-font-lock-keywords): Make group 4 match lax.
8842 2010-06-01 Juanma Barranquero <lekktu@gmail.com>
8844 * emacs-lisp/eldoc.el: Add completions for new commands left-* and
8847 2010-06-01 Dan Nicolaescu <dann@ics.uci.edu>
8849 Add support for vc-log-incoming, improve vc-log-outgoing for Git.
8850 * vc-git.el (vc-git-compute-remote): New function.
8851 (vc-git-log-outgoing): Use it instead of hard coding a value.
8852 (vc-git-log-incoming): New function.
8854 Improve state updating for VC tag commands.
8855 * vc.el (vc-create-tag, vc-retrieve-tag): Call vc-resynch-buffer
8856 to update the state of all buffers in the directory.
8858 * vc-dir.el (vc-dir-update): Remove entries with a nil state (bug#5539).
8860 2010-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
8862 * vc-bzr.el (vc-bzr-revision-completion-table): Apply
8863 `file-directory-p' to the filename part rather than to the whole text.
8865 2010-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
8867 * man.el (Man-completion-table): Let the user type "-k " (bug#6319).
8869 2010-05-31 Drew Adams <drew.adams@oracle.com>
8871 * files.el (directory-files-no-dot-files-regexp): Doc fix (bug#6298).
8873 2010-05-31 Juanma Barranquero <lekktu@gmail.com>
8875 * subr.el (momentary-string-display): Just use read-event to read
8876 the exit event (Bug#6238).
8878 2010-05-30 Eli Zaretskii <eliz@gnu.org>
8880 * international/mule.el (define-coding-system): Doc fix (bug#6313).
8882 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
8884 * emulation/cua-base.el: Recognize also `right-word' and `left-word'.
8885 Suggested by Eli Zaretskii <eliz@gnu.org>.
8887 2010-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8889 * minibuffer.el (completion-file-name-table): Don't return a boundary
8890 past the end of `string' (bug#6299).
8891 (completion--file-name-table): Delegate to completion-file-name-table
8892 for the `boundaries' case.
8894 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
8896 * emulation/cua-base.el: Recognize `right-char' and `left-char' as
8899 * progmodes/ada-xref.el (ada-prj-ada-project-path-sep): Set from
8900 `path-separator', but maintain compatibility with Emacs 20.2.
8902 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
8904 * server.el (server-process-filter): Receive parent-id argument
8906 (server-create-window-system-frame): New arg. Pass parent-id as
8909 2010-05-29 Eli Zaretskii <eliz@gnu.org>
8911 Bidi-sensitive word movement with arrow keys.
8912 * subr.el (right-arrow-command, left-arrow-command): Move to
8915 * bindings.el (right-char, left-char): Move from subr.el and
8916 rename from right-arrow-command and left-arrow-command.
8917 (right-word, left-word): New functions.
8918 (global-map) <right>: Bind to right-char.
8919 (global-map) <left>: Bind to left-char.
8920 (global-map) <C-right>: Bind to right-word.
8921 (global-map) <C-left>: Bind to left-word.
8923 * ls-lisp.el (ls-lisp-classify-file): New function.
8924 (ls-lisp-insert-directory): Call it if switches include -F (bug#6294).
8925 (ls-lisp-classify): Call ls-lisp-classify-file.
8926 (insert-directory): Remove blanks from switches.
8928 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
8930 * ansi-color.el: Delete unused escape sequences (Bug#6085).
8931 (ansi-color-drop-regexp): New constant.
8932 (ansi-color-apply, ansi-color-filter-region)
8933 (ansi-color-apply-on-region): Delete unrecognized control sequences.
8934 (ansi-color-apply): Build string list before calling concat.
8936 2010-05-28 Juri Linkov <juri@jurta.org>
8938 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
8939 Replace LOCALP arg of `dired-get-filename' 'no-dir with nil.
8942 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
8944 * net/tramp.el (tramp-debug-message): Add `tramp-compat-funcall'
8945 to ignored backtrace functions.
8946 (with-progress-reporter): Expand docstring.
8947 (tramp-handle-delete-file): Implement TRASH argument.
8948 (tramp-get-remote-trash): New defun.
8950 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
8952 * net/tramp-compat.el (tramp-compat-delete-file):
8953 Use `symbol-value' for backward compatibility.
8955 * net/tramp.el (tramp-handle-make-symbolic-link)
8957 (tramp-do-copy-or-rename-file-via-buffer)
8958 (tramp-do-copy-or-rename-file-directly)
8959 (tramp-do-copy-or-rename-file-out-of-band)
8960 (tramp-handle-process-file, tramp-handle-call-process-region)
8961 (tramp-handle-shell-command, tramp-handle-file-local-copy)
8962 (tramp-handle-insert-file-contents, tramp-handle-write-region)
8963 (tramp-delete-temp-file-function): Use `delete-file' instead
8964 of `tramp-compat-delete-file'.
8966 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
8967 (tramp-fish-handle-make-symbolic-link)
8968 (tramp-fish-handle-process-file): Use `delete-file' instead
8969 of `tramp-compat-delete-file'.
8971 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
8972 Use `delete-file' instead of `tramp-compat-delete-file'.
8974 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
8975 (tramp-gvfs-handle-write-region): Use `delete-file' instead of
8976 `tramp-compat-delete-file'.
8978 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file):
8979 Use `delete-file' instead of `tramp-compat-delete-file'.
8981 * net/tramp-smb.el (tramp-smb-handle-copy-file)
8982 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
8983 (tramp-smb-handle-write-region): Use `delete-file' instead of
8984 `tramp-compat-delete-file'.
8985 (tramp-smb-handle-delete-directory): Use 'trash as arg.
8987 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
8989 * dired.el (dired-delete-file): New arg TRASH.
8990 (dired-internal-do-deletions): New arg TRASH. Use progress reporter.
8991 (dired-do-flagged-delete, dired-do-delete): Use trash.
8993 * speedbar.el (speedbar-item-delete): Allow trashing.
8995 * files.el (delete-directory): New arg TRASH.
8997 * net/ange-ftp.el (ange-ftp-del-tmp-name, ange-ftp-delete-file)
8998 (ange-ftp-rename-remote-to-remote)
8999 (ange-ftp-rename-local-to-remote)
9000 (ange-ftp-rename-remote-to-local, ange-ftp-load)
9001 (ange-ftp-compress, ange-ftp-uncompress): Remove optional arg from
9003 (ange-ftp-delete-directory): Add optional arg to `delete-file', to
9006 * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
9007 handle new TRASH arg of `delete-file'.
9009 * net/tramp.el (tramp-handle-delete-file): Change FORCE arg to TRASH.
9010 (tramp-handle-make-symbolic-link, tramp-handle-load)
9011 (tramp-do-copy-or-rename-file-via-buffer)
9012 (tramp-do-copy-or-rename-file-directly)
9013 (tramp-do-copy-or-rename-file-out-of-band)
9014 (tramp-handle-process-file, tramp-handle-call-process-region)
9015 (tramp-handle-shell-command, tramp-handle-file-local-copy)
9016 (tramp-handle-insert-file-contents, tramp-handle-write-region)
9017 (tramp-delete-temp-file-function): Use null TRASH arg in
9018 tramp-compat-delete-file call.
9020 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
9021 (tramp-fish-handle-delete-file)
9022 (tramp-fish-handle-make-symbolic-link)
9023 (tramp-fish-handle-process-file): Use null TRASH arg in
9024 `tramp-compat-delete-file' call.
9026 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use null TRASH
9027 arg in `tramp-compat-delete-file' call.
9029 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
9030 (tramp-gvfs-handle-write-region): Use null TRASH arg in
9031 `tramp-compat-delete-file' call.
9033 * net/tramp-imap.el (tramp-imap-handle-delete-file): Rename arg.
9034 (tramp-imap-do-copy-or-rename-file): Use null TRASH arg in
9035 `tramp-compat-delete-file' call.
9037 * net/tramp-smb.el (tramp-smb-handle-copy-file)
9038 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
9039 (tramp-smb-handle-write-region): Use null TRASH arg in
9040 tramp-compat-delete-file call.
9041 (tramp-smb-handle-delete-directory): Use tramp-compat-delete-file.
9042 (tramp-smb-handle-delete-file): Rename arg.
9044 * diff.el (diff-sentinel):
9045 * epg.el (epg--make-temp-file, epg-decrypt-string)
9046 (epg-verify-string, epg-sign-string, epg-encrypt-string):
9047 * jka-compr.el (jka-compr-partial-uncompress)
9048 (jka-compr-call-process, jka-compr-write-region):
9049 * server.el (server-sentinel): Remove optional arg from
9050 delete-file, reverting 2010-05-03 change.
9052 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
9054 * progmodes/verilog-mode.el (verilog-type-font-keywords):
9055 Use font-lock-constant-face, not obsolete font-lock-reference-face.
9057 2010-05-27 Kenichi Handa <handa@m17n.org>
9059 * language/hebrew.el (hebrew-shape-gstring): Check if a glyph
9060 element of GSTRING is nil.
9062 2010-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
9064 * emacs-lisp/smie.el (smie-forward-token-function)
9065 (smie-backward-token-function): New vars.
9066 (smie-backward-sexp, smie-forward-sexp)
9067 (smie-indent-hanging-p, smie-indent-calculate): Use them.
9068 (smie-default-backward-token): Rename from smie-backward-token and
9070 (smie-default-forward-token): Rename from smie-forward-token and
9072 (smie-next-sexp): Handle nil results from next-token.
9073 (smie-indent-calculate): Add a new case for special `fixindent' comments.
9075 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
9077 * progmodes/verilog-mode.el (verilog-type-font-keywords):
9078 Use font-lock-constant-face, not obsolete font-lock-reference-face.
9080 2010-05-27 Masatake YAMATO <yamato@redhat.com>
9082 * htmlfontify.el (hfy-face-resolve-face): New function.
9083 (hfy-face-to-style): Use it (Bug#6279).
9085 2010-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
9087 * progmodes/ada-xref.el (ada-gnat-parse-gpr):
9088 * emulation/edt.el (edt-load-keys): Avoid (expand-file-name ".").
9090 2010-05-26 Glenn Morris <rgm@gnu.org>
9092 * emulation/edt.el (edt-load-keys): Use locate-library.
9094 2010-05-25 Chong Yidong <cyd@stupidchicken.com>
9096 * log-edit.el (log-edit-strip-single-file-name): Default to nil.
9097 (log-edit-changelog-entries): Doc fix.
9098 (log-edit-changelog-insert-entries): Args changed.
9099 Rename relative filenames in ChangeLog entries. Delete tabs.
9100 (log-edit-insert-changelog-entries): Reorganize return value of
9101 `log-edit-changelog-entries' to pass filenames to
9102 log-edit-changelog-insert-entries.
9104 2010-05-25 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9106 * dired.el (dired-mode-map): Rebind "\C-t\C-t" from
9107 `image-dired-dired-insert-marked-thumbs' to
9108 `image-dired-dired-toggle-marked-thumbs'.
9110 * image-dired.el: Require cl when compiling.
9111 (image-dired-dired-toggle-marked-thumbs): Rename from
9112 `image-dired-dired-insert-marked-thumbs'. Add ARG. Doc fix.
9113 Use interactive spec "P". Set LOCALP arg of `dired-get-filename'
9114 to 'no-dir. Skip files whose names don't match
9115 `image-file-name-regexp'. When file has a thumbnail overlay,
9116 delete it. (Bug#5270)
9118 2010-05-25 Juri Linkov <juri@jurta.org>
9120 * image-mode.el (image-mode): Add image-after-revert-hook to
9122 (image-after-revert-hook): New function. (Bug#5669)
9124 2010-05-25 Juri Linkov <juri@jurta.org>
9126 * image.el (image-animated-p): When delay between animated images
9127 is 0, set it to 10 (0.1 sec). (Bug#6258)
9129 2010-05-25 Christian Lynbech <christian.lynbech@tieto.com> (tiny change)
9131 * net/tramp.el (tramp-handle-insert-directory): Don't use
9132 `forward-word', its default syntax could be changed.
9134 2010-05-25 Michael Albinus <michael.albinus@gmx.de>
9136 * net/tramp.el (tramp-progress-reporter-update): New defun.
9137 (with-progress-reporter): Use it.
9138 (tramp-process-actions):
9139 * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion):
9140 Preserve current message, in order to let progress reporter continue
9141 afterwards. (Bug#6257)
9143 2010-05-25 Glenn Morris <rgm@gnu.org>
9145 * net/rcirc.el (rcirc-default-user-name, rcirc-default-full-name):
9148 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
9150 * net/rcirc.el (rcirc-default-user-name): Change to "user".
9151 (rcirc-default-full-name): Change to "unknown".
9152 (rcirc-user-name-history): Add variable.
9154 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
9155 Jonathan Rockway <jon@jrock.us>
9157 * net/rcirc.el (rcirc-server-alist): Add :pass.
9158 (rcirc): When prompting for connection parameters, also prompt for
9159 username and password.
9160 (rcirc-connect): Take a PASS argument. If PASS is non-nil, send
9161 value to server when connecting.
9163 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9165 * emacs-lisp/smie.el (smie-set-prec2tab): Check override before use.
9166 (smie-merge-prec2s): Pass the tables as separate args.
9167 (smie-bnf-precedence-table): Adjust call accordingly.
9168 (smie-prec2-levels): Set levels at the end.
9170 Replace Lisp calls to delete-backward-char by delete-char.
9171 * bs.el, expand.el, ido.el, image-dired.el, lpr.el, pcomplete.el,
9172 * skeleton.el, term.el, time.el, wid-edit.el, woman.el,
9173 * calc/calc-graph.el, calc/calc-help.el, calc/calc-incom.el,
9174 * calc/calc.el, emacs-lisp/cl-extra.el, emacs-lips/cl-loaddefs.el,
9175 * emulation/cua-rect.el, emulation/viper-ex.el, eshell/esh-test.el,
9176 * eshell/eshell.el, gnus/gnus-uu.el, gnus/nndoc.el, gnus/nnrss.el,
9177 * gnus/rfc2047.el, gnus/utf7.el, international/utf-7.el,
9178 * language/ethio-util.el, mh-e/mh-alias.el, mh-e/mh-search.el,
9179 * net/imap.el, net/rcirc.el, obsolete/complete.el, play/decipher.el,
9180 * progmodes/ada-mode.el, progmodes/cc-awk.el, progmodes/dcl-mode.el,
9181 * progmodes/ps-mode.el, progmodes/verilog-mode.el,
9182 * progmodes/vhdl-mode.el, textmodes/bibtex.el, textmodes/fill.el,
9183 * textmodes/reftex-auc.el, textmodes/rst.el, textmodes/sgml-mode.el,
9184 * textmodes/table.el, textmodes/texinfmt.el: Replace Lisp calls to
9185 delete-backward-char by calls to delete-char.
9187 2010-05-25 Kenichi Handa <handa@m17n.org>
9189 * language/hebrew.el (hebrew-shape-gstring): New function.
9190 Register it in composition-function-table for all Hebrew combining
9193 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9195 * epa.el (epa--select-keys): Don't explicitly delete the window since
9196 that can fail (e.g. sole window in frame). Use dedication instead.
9198 2010-05-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
9200 * textmodes/fill.el (fill-region): Don't fill past the end (bug#6201).
9202 2010-05-22 Chong Yidong <cyd@stupidchicken.com>
9204 * image.el (image-refresh): Define as an alias for image-flush.
9206 * image-mode.el (image-toggle-display-image): Caller changed.
9208 2010-05-21 Juri Linkov <juri@jurta.org>
9210 * progmodes/grep.el (grep-read-files): Fix multi-pattern aliases.
9211 Remove "all" from grep-files-aliases. Split grep-files-aliases by
9212 whitespace, call wildcard-to-regexp on substrings and concat them
9213 with "\\|". (Bug#6114)
9215 2010-05-21 Alan Mackenzie <acm@muc.de>
9217 * progmodes/cc-engine.el (c-parse-state-get-strategy):
9218 Replace parameter `here' with `here-' and `here-plus', which sandwich
9219 any pertinent CPP construct.
9220 (c-remove-stale-state-cache-backwards): Fix a bug which happens
9221 when doing (c-parse-state) in a CPP construct: Exclude any "new"
9222 CPP construct from taking part in the scanning.
9224 2010-05-21 Michael Albinus <michael.albinus@gmx.de>
9226 * net/tramp.el (tramp-do-copy-or-rename-file)
9227 (tramp-handle-file-local-copy, tramp-maybe-open-connection):
9228 Tune `with-progress-reporter' messages.
9229 (tramp-handle-vc-registered):
9230 * net/tramp-fish.el (tramp-fish-handle-file-local-copy)
9231 (tramp-fish-handle-insert-file-contents)
9232 (tramp-fish-maybe-open-connection):
9233 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
9234 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file)
9235 (tramp-imap-handle-insert-file-contents)
9236 (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
9238 2010-05-21 Juanma Barranquero <lekktu@gmail.com>
9240 * add-log.el (change-log-font-lock-keywords):
9241 Highlight all authors in multi-author entries.
9243 * smerge-mode.el (smerge-refine-ignore-whitespace)
9244 (smerge-refine-weight-hack, smerge-refine, smerge-makeup-conflict):
9245 Fix typos in docstrings.
9246 (smerge-resolve, smerge-refine-subst): Reflow docstrings.
9248 2010-05-21 Glenn Morris <rgm@gnu.org>
9250 * progmodes/fortran.el (fortran-mode):
9251 * progmodes/f90.el (f90-mode): Derive from prog-mode.
9253 * loadup.el [CANNOT_DUMP]: Update for bootstrap-emacs no longer
9254 having a relative path in src/Makefile.in.
9256 2010-05-20 Kevin Ryde <user42@zip.com.au>
9258 * help-mode.el (help-make-xrefs): For Info node links turn
9259 newlines into spaces. Link node names with newlines are matched
9260 by help-xref-info-regexp and buttonized, this change ensures they
9261 can be followed successfully with RET. (Bug#6206)
9263 2010-05-20 Juri Linkov <juri@jurta.org>
9265 * locate.el (locate): Use pop-to-buffer instead of
9266 switch-to-buffer-other-window. (Bug#6204)
9268 2010-05-20 Juri Linkov <juri@jurta.org>
9270 * replace.el (replace-highlight): Fix lazy-highlighting
9271 for `M-s w str M-% str RET'.
9273 2009-12-15 Masatake YAMATO <yamato@redhat.com>
9275 * isearch.el (isearch-yank-word-or-char): Pull next subword
9276 when `subword-mode' is activated. (Bug#6220)
9278 2010-05-20 Mark A. Hershberger <mah@everybody.org>
9280 * isearch.el (isearch-update-post-hook): New hook.
9281 (isearch-update): Use the new hook. (Bug#6225)
9283 2010-05-20 Juri Linkov <juri@jurta.org>
9285 * isearch.el (isearch-mode-map): Bind more keys to isearch-help-map:
9286 [f1], [help], and (char-to-string help-char) instead of "\C-h".
9289 2010-05-20 Juri Linkov <juri@jurta.org>
9291 * isearch.el (isearch-yank-string): Use isearch-process-search-string.
9294 2010-05-20 Juri Linkov <juri@jurta.org>
9296 * dired-x.el (dired-jump, dired-jump-other-window): Add arg
9297 FILE-NAME to read from the minibuffer when called interactively
9298 with prefix argument instead of using buffer-file-name.
9299 http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00534.html
9301 * dired.el: Update autoloads.
9303 2010-05-20 Chong Yidong <cyd@stupidchicken.com>
9305 * nxml/nxml-mode.el (nxml-mode-map): Bind C-c / to
9306 nxml-finish-element, for consistency with SGML mode.
9308 * progmodes/octave-mod.el (octave-mode-map): Bind C-c / to
9311 2010-05-20 Juanma Barranquero <lekktu@gmail.com>
9313 * composite.el: Require cl when compiling.
9314 (reference-point-alist, compose-gstring-for-graphic)
9315 (compose-gstring-for-terminal): Fix typos in docstrings.
9317 2010-05-19 Juri Linkov <juri@jurta.org>
9319 * emacs-lisp/cl-macs.el (window-parameter): Add defsetf with
9320 set-window-parameter.
9322 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
9324 * net/tramp.el (tramp-methods): Add `tramp-async-args' attribute
9326 (tramp-maybe-open-connection): Use it.
9328 2010-05-19 Eli Zaretskii <eliz@gnu.org>
9330 * simple.el (move-end-of-line): Make sure we are at line beginning
9331 before backing up to end of previous line.
9333 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
9335 * password-cache.el (password-cache-remove): Fix docstring.
9337 * net/secrets.el: Autoload the widget functions.
9338 (secrets-search-items, secrets-create-item)
9339 (secrets-get-attributes, secrets-expand-item): Attributes will be
9340 stored on the password database without leading ":", as all other
9342 (secrets-mode): Fix docstring.
9343 (secrets-show-secrets): Provide it as autoloaded command only when
9344 D-Bus support is available. Check existence of Secret Service API.
9346 2010-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
9348 * indent.el (indent-region): Deactivate region (bug#6200).
9350 2010-05-19 Glenn Morris <rgm@gnu.org>
9352 * vc-dir.el (vc-dir): Don't pop-up-windows. (Bug#6204)
9354 2010-05-19 Kenichi Handa <handa@m17n.org>
9356 * composite.el: Register compose-gstring-for-graphic in
9357 composition-function-table only for combining characters (Mn, Mc, Me).
9359 2010-05-18 Jay Belanger <jay.p.belanger@gmail.com>
9361 * calc/calc-trail.el (calc-trail-isearch-forward)
9362 (calc-trail-isearch-backward): Ensure that the new window
9363 point is set correctly.
9365 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
9367 * subr.el (read-quoted-char): Resolve modifiers after key
9368 remapping (bug#6212).
9370 2010-05-18 Michael Albinus <michael.albinus@gmx.de>
9372 Add visualization code for secrets.
9373 * net/secrets.el (secrets-mode): New major mode.
9374 (secrets-show-secrets, secrets-show-collections)
9375 (secrets-expand-collection, secrets-expand-item)
9376 (secrets-tree-widget-after-toggle-function)
9377 (secrets-tree-widget-show-password): New defuns.
9379 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
9381 * emacs-lisp/smie.el (smie-next-sexp): Break inf-loop at BOB.
9382 (smie-backward-sexp, smie-forward-sexp): Remove boundary condition now
9383 handled in smie-next-sexp.
9384 (smie-indent-calculate): Provide a starting indentation (so the
9385 recursion is well-founded ;-).
9387 Fix handling of non-associative equal levels.
9388 * emacs-lisp/smie.el (smie-prec2-levels): Choose distinct levels even
9389 when it's not needed.
9390 (smie-op-left, smie-op-right): New functions.
9391 (smie-next-sexp): New function, extracted from smie-backward-sexp.
9392 Better handle equal levels to distinguish the associative case from
9393 the "multi-keyword construct" case.
9394 (smie-backward-sexp, smie-forward-sexp): Use it.
9396 2010-05-18 Juanma Barranquero <lekktu@gmail.com>
9398 * progmodes/prolog.el (smie-indent-basic): Declare for byte-compiler.
9400 * emacs-lisp/smie.el (smie-precs-precedence-table, smie-backward-sexp)
9401 (smie-forward-sexp, smie-indent-calculate): Fix typos in docstrings.
9403 2010-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
9405 Provide a simple generic indentation engine and use it for Prolog.
9406 * emacs-lisp/smie.el: New file.
9407 * progmodes/prolog.el (prolog-smie-op-levels)
9408 (prolog-smie-indent-rules): New var.
9409 (prolog-mode-variables): Use them to configure SMIE.
9410 (prolog-indent-line, prolog-indent-level): Remove.
9412 2010-05-17 Jay Belanger <jay.p.belanger@gmail.com>
9414 * calc/calc-vec.el (math-vector-avg): Put the vector elements in
9415 order before computing the averages.
9417 2010-05-16 Jay Belanger <jay.p.belanger@gmail.com>
9419 * calc/calc-vec.el (calc-histogram):
9420 (calcFunc-histogram): Allow vectors as inputs.
9421 (math-vector-avg): New function.
9423 * calc/calc-ext.el (math-group-float): Have the number of digits
9424 being grouped depend on the radix (Bug#6189).
9426 2010-05-15 Ken Raeburn <raeburn@raeburn.org>
9428 * version.el (emacs-copyright, emacs-version): Don't define here,
9429 now that emacs.c defines it.
9431 2010-05-15 Eli Zaretskii <eliz@gnu.org>
9433 * international/mule-cmds.el (mule-menu-keymap): Fix definition of
9434 "Describe Language Environment" menu item.
9436 * language/hebrew.el ("Hebrew", "Windows-1255"): Doc fix.
9438 Bidi-sensitive movement with arrow keys.
9439 * subr.el (right-arrow-command, left-arrow-command): New functions.
9441 * bindings.el (global-map): Bind them to right and left arrow keys.
9443 Don't override standard definition of convert-standard-filename.
9444 * files.el (convert-standard-filename):
9445 Call w32-convert-standard-filename and dos-convert-standard-filename on
9446 the corresponding systems.
9448 * w32-fns.el (w32-convert-standard-filename): Rename from
9449 convert-standard-filename. Doc fix.
9451 * dos-fns.el (dos-convert-standard-filename): Doc fix.
9452 (convert-standard-filename): Don't defalias.
9453 (register-name-alist, make-register, register-value)
9454 (set-register-value, intdos): Obsolete aliases for the
9455 corresponding dos-* functions and variables.
9456 (dos-intdos): Add a doc string.
9458 2010-05-15 Jay Belanger <jay.p.belanger@gmail.com>
9460 * calc/calc-aent.el (math-read-token, math-find-user-tokens):
9461 * calc/calc-lang.el (math-read-big-rec, math-lang-read-symbol):
9462 (math-compose-tex-func):
9463 * calc/calccomp.el (math-compose-expr):
9464 * calc/calc-ext.el (math-format-flat-expr-fancy):
9465 * calc/calc-store.el (calc-read-var-name):
9466 * calc/calc-units.el (calc-explain-units-rec): Allow Greek letters.
9468 * calc/calc.el (var-π, var-φ, var-γ): New variables.
9469 * calc/calc-aent.el (math-read-replacement-list): Add "micro" symbol.
9470 * calc/calc-units.el (math-unit-prefixes): Add mu for micro.
9471 (math-standard-units): Add units.
9473 2010-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
9475 * progmodes/asm-mode.el (asm-mode):
9476 * progmodes/prolog.el (prolog-mode): Use define-derived-mode.
9478 * pcomplete.el (pcomplete-completions-at-point): New function,
9479 extracted from pcomplete-std-complete.
9480 (pcomplete-std-complete): Use it.
9482 2010-05-15 Glenn Morris <rgm@gnu.org>
9484 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
9485 Remove references to CVS, RCS and Old directories.
9487 2010-05-14 Jay Belanger <jay.p.belanger@gmail.com>
9489 * calc/calc-bin.el (math-format-twos-complement): Group digits when
9492 2010-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
9494 * progmodes/sh-script.el (sh-mode-default-syntax-table): Remove.
9495 (sh-mode-syntax-table): Give it a default value instead.
9496 (sh-header-marker): Make buffer-local.
9497 (sh-mode): Move make-local-variable to the corresponding setq.
9498 (sh-add-completer): Avoid gratuitously let-binding a buffer-local var.
9499 Use complete-with-action.
9501 * simple.el (prog-mode): New (abstract) major mode.
9502 * emacs-lisp/lisp-mode.el (emacs-lisp-mode, lisp-mode): Use it.
9503 * progmodes/sh-script.el (sh-mode): Remove redundant var assignment.
9505 2010-05-14 Juanma Barranquero <lekktu@gmail.com>
9507 * progmodes/sql.el (sql-oracle-program): Reflow docstring.
9508 (sql-oracle-scan-on, sql-sybase-program, sql-product-font-lock)
9509 (sql-add-product-keywords, sql-highlight-product, sql-set-product)
9510 (sql-make-alternate-buffer-name, sql-placeholders-filter)
9511 (sql-escape-newlines-filter, sql-input-sender)
9512 (sql-send-magic-terminator, sql-sybase): Fix typos in docstrings.
9514 2010-05-13 Chong Yidong <cyd@stupidchicken.com>
9516 Add TeX open-block and close-block keybindings to SGML, and vice versa.
9518 * textmodes/tex-mode.el (tex-mode-map): Bind C-c C-t to
9519 latex-open-block and C-c / to latex-close-block.
9521 * textmodes/sgml-mode.el (sgml-mode-map): Bind C-c C-o to sgml-tag
9522 and C-c C-e to sgml-close-tag.
9524 2010-05-13 Michael Albinus <michael.albinus@gmx.de>
9526 * net/tramp.el (with-progress-reporter): Create reporter object
9527 only when the message would be displayed. Handle nested calls.
9528 (tramp-handle-load, tramp-handle-file-local-copy)
9529 (tramp-handle-insert-file-contents, tramp-handle-write-region)
9530 (tramp-maybe-send-script, tramp-find-shell):
9531 Use `with-progress-reporter'.
9532 (tramp-handle-dired-compress-file, tramp-maybe-open-connection):
9535 * net/tramp-smb.el (tramp-smb-handle-copy-file)
9536 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
9537 (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
9538 Use `with-progress-reporter'.
9540 2010-05-13 Agustín Martín <agustin.martin@hispalinux.es>
9542 * textmodes/ispell.el (ispell-init-process): Do not kill ispell
9543 process everytime when spellchecking from the minibuffer (bug#6143).
9545 2010-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
9547 * progmodes/sh-script.el (sh-mode): Use define-derived-mode.
9549 * dos-fns.el: Add "dos-" prefix for namespace control.
9550 (convert-standard-filename): Define as alias for
9551 dos-convert-standard-filename but only if applicable.
9553 2010-05-12 Alan Mackenzie <acm@muc.de>
9555 * progmodes/cc-cmds.el (c-beginning-of-defun, c-end-of-defun):
9556 Push the mark at the start of these functions when appropriate.
9558 2010-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
9560 * minibuffer.el (completion-cycle-threshold): New custom var.
9561 (completion--do-completion): Use it.
9562 (minibuffer-complete): Use cycling if appropriate.
9564 2010-05-11 Juanma Barranquero <lekktu@gmail.com>
9566 * dirtrack.el (dirtrackp): Remove defcustom; don't make automatically
9567 buffer-local (it's an obsolete alias for `dirtrack-mode') (bug#6173).
9569 2010-05-11 Juri Linkov <juri@jurta.org>
9571 * scroll-all.el (scroll-all-check-to-scroll):
9572 Add `scroll-up-command' and `scroll-down-command' (bug#6164).
9574 2010-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
9576 * iimage.el (iimage-mode-map): Move initialization into declaration.
9577 (iimage-mode-buffer): Use with-silent-modifications.
9578 Simplify calling convention. Adjust callers.
9579 (iimage-mode): Don't run hook redundantly.
9581 * minibuffer.el (completion-pcm--pattern->regex):
9582 Fix last change (bug#6160).
9584 2010-05-10 Juri Linkov <juri@jurta.org>
9586 Remove nodes visited during Isearch from the Info history.
9587 * info.el (Info-isearch-initial-history)
9588 (Info-isearch-initial-history-list): New variables.
9589 (Info-isearch-start): Record initial values of
9590 Info-isearch-initial-history and Info-isearch-initial-history-list.
9591 Add Info-isearch-end to isearch-mode-end-hook.
9592 (Info-isearch-end): New function.
9594 2010-05-10 Michael Albinus <michael.albinus@gmx.de>
9596 * net/tramp.el (tramp-do-file-attributes-with-stat): Add space in
9597 format string, in order to work around a bug in pdksh.
9598 Reported by Gilles Pion <gpion@lfdj.com>.
9599 (tramp-handle-verify-visited-file-modtime): Do not send a command
9600 when the connection is not established.
9601 (tramp-handle-set-file-times): Simplify the check for utc.
9603 2010-05-10 Juanma Barranquero <lekktu@gmail.com>
9605 Fix use of `filter-buffer-substring' (rework previous change).
9606 * emulation/cua-base.el (cua--filter-buffer-noprops): New function.
9607 (cua-repeat-replace-region):
9608 * emulation/cua-rect.el (cua--extract-rectangle, cua-incr-rectangle):
9609 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
9610 (cua-cut-region-to-global-mark): Use it.
9612 2010-05-09 Michael R. Mauger <mmaug@yahoo.com>
9614 * progmodes/sql.el: Version 2.1.
9615 (sql-product-alist): Redesign structure of product info.
9616 (sql-product, sql-user, sql-server, sql-database): Safe variables.
9617 (sql-port, sql-port-history): New variables.
9618 (sql-interactive-product): New variable.
9619 (sql-send-terminator): New variable.
9620 (sql-imenu-generic-expression): Add "Types" imenu entry.
9621 (sql-oracle-login-params, sql-sqlite-login-params)
9622 (sql-mysql-login-params, sql-solid-login-params)
9623 (sql-sybase-login-params, sql-informix-login-params)
9624 (sql-ingres-login-params, sql-ms-login-params)
9625 (sql-postgres-login-params, sql-interbase-login-params)
9626 (sql-db2-login-params, sql-linter-login-params)
9627 (sql-oracle-scan-on): New variables.
9628 (sql-mode-map): Add C-c C-i to start interactive mode.
9629 (sql-mode-menu): Update existing menu entries.
9630 (sql-font-lock-keywords-builder): Compile-time font-lock optimization.
9631 (sql-mode-oracle-font-lock-keywords)
9632 (sql-mode-postgres-font-lock-keywords)
9633 (sql-mode-ms-font-lock-keywords)
9634 (sql-mode-sybase-font-lock-keywords)
9635 (sql-mode-informix-font-lock-keywords)
9636 (sql-mode-interbase-font-lock-keywords)
9637 (sql-mode-ingres-font-lock-keywords)
9638 (sql-mode-solid-font-lock-keywords)
9639 (sql-mode-mysql-font-lock-keywords)
9640 (sql-mode-sqlite-font-lock-keywords)
9641 (sql-mode-db2-font-lock-keywords)
9642 (sql-mode-linter-font-lock-keywords): Update initialization to
9643 reduce run-time complexity.
9644 (sql-add-product, sql-del-product): New functions.
9645 (sql-set-product-feature, sql-get-product-feature): New functions.
9646 (sql-product-font-lock): Update product API.
9647 (sql-add-product-keywords): New function.
9648 (sql-highlight-product): Update product API.
9649 (sql-help-list-products): New function.
9650 (sql-help): Dynamically lists free and non-free products.
9651 (sql-get-login): Correct bug in handling history and added
9653 (sql-copy-column): Copy without properties.
9654 (sqli-input-sender): Apply filters to SQLi input.
9655 (sql-query-placeholders-and-send): Obey `sql-oracle-scan-on' setting.
9656 Implement as a filter.
9657 (sql-escape-newlines-filter): Implement as a filter.
9658 (sql-remove-tabs-filter): New function.
9659 (sql-send-magic-terminator): New function.
9660 (sql-send-string): Implement magic terminator.
9661 (sql-send-region): Use `sql-send-string'.
9662 (sql-interactive-mode): Use product API.
9663 (sql-product-interactive): Use product API.
9664 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
9665 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
9666 (sql-db2, sql-linter): Use `sql-product-interactive'.
9667 (sql-connect): New function.
9668 (sql-connect-oracle, sql-connect-sybase, sql-connect-informix)
9669 (sql-connect-sqlite, sql-connect-mysql, sql-connect-solid)
9670 (sql-connect-ingres, sql-connect-ms, sql-connect-postgres)
9671 (sql-connect-interbase, sql-connect-db2, sql-connect-linter):
9674 2010-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
9676 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
9677 New custom variable.
9678 (completion-pcm--string->pattern): Use it.
9679 (completion-pcm--pattern->regex, completion-pcm--pattern->string):
9680 Make it handle any symbol as `any'.
9681 (completion-pcm--merge-completions): Extract common suffix for the new
9682 `prefix' symbol as well.
9683 (completion-substring--all-completions): Use the new `prefix' symbol.
9685 2010-05-09 Michael Albinus <michael.albinus@gmx.de>
9687 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Define if
9689 (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
9690 (tramp-compat-funcall): New defmacro.
9691 (tramp-compat-line-beginning-position)
9692 (tramp-compat-line-end-position)
9693 (tramp-compat-temporary-file-directory)
9694 (tramp-compat-make-temp-file, tramp-compat-file-attributes)
9695 (tramp-compat-copy-file, tramp-compat-copy-directory)
9696 (tramp-compat-delete-file, tramp-compat-delete-directory)
9697 (tramp-compat-number-sequence, tramp-compat-process-running-p)
9698 * net/tramp.el (top, with-progress-reporter)
9699 (tramp-rfn-eshadow-setup-minibuffer)
9700 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
9701 (tramp-handle-dired-compress-file, tramp-handle-shell-command)
9702 (tramp-completion-mode-p, tramp-check-for-regexp)
9703 (tramp-open-connection-setup-interactive-shell)
9704 (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
9705 (tramp-time-diff, tramp-coding-system-change-eol-conversion)
9706 (tramp-set-process-query-on-exit-flag, tramp-unload-tramp)
9707 * net/tramp-cmds.el (tramp-cleanup-all-connections)
9708 (tramp-reporter-dump-variable, tramp-load-report-modules)
9709 (tramp-append-tramp-buffers)
9710 * net/tramp-gvfs.el (tramp-gvfs-handle-file-selinux-context): Use it.
9712 * net/tramp-imap.el (top): Autoload `epg-make-context'.
9714 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9716 * progmodes/compile.el (compilation-buffer-modtime): Rename from
9717 buffer-modtime. Adjust users.
9719 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
9721 * international/mule.el (auto-coding-alist): Only purecopy
9722 car of each item, not the whole list (Bug#6083).
9724 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
9726 * progmodes/js.el (js-mode): Make paragraph variables local before
9727 calling c-setup-paragraph-variables (Bug#6071).
9729 2010-05-08 Eli Zaretskii <eliz@gnu.org>
9731 * composite.el (compose-region, reference-point-alist): Fix typos
9734 2010-05-08 Alexander Klimov <alserkli@inbox.ru> (tiny change)
9736 * calc/calc-graph.el (calc-graph-plot): Use the proper form for
9737 gnuplot's "set" command.
9739 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
9741 * abbrev.el (last-abbrev-text): Doc fix.
9742 (abbrev-prefix-mark): Don't escape parenthesis.
9744 2010-05-08 Andreas Schwab <schwab@linux-m68k.org>
9746 * composite.el (find-composition): Doc fix.
9748 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
9750 * progmodes/sql.el (sql-electric-stuff): Fix typo in tag.
9751 (sql-oracle-program, sql-sqlite-options)
9752 (sql-query-placeholders-and-send): Doc fixes.
9753 (sql-set-product, sql-interactive-mode): Reflow docstrings.
9754 (sql-imenu-generic-expression, sql-buffer)
9755 (sql-mode-ansi-font-lock-keywords, sql-mode-oracle-font-lock-keywords)
9756 (sql-mode-postgres-font-lock-keywords, sql-mode-ms-font-lock-keywords)
9757 (sql-mode-sybase-font-lock-keywords)
9758 (sql-mode-informix-font-lock-keywords)
9759 (sql-mode-interbase-font-lock-keywords)
9760 (sql-mode-ingres-font-lock-keywords, sql-mode-solid-font-lock-keywords)
9761 (sql-mode-mysql-font-lock-keywords, sql-mode-sqlite-font-lock-keywords)
9762 (sql-mode-db2-font-lock-keywords, sql-mode-font-lock-keywords)
9763 (sql-product-feature, sql-highlight-product)
9764 (comint-line-beginning-position, sql-rename-buffer)
9765 (sql-toggle-pop-to-buffer-after-send-region sql-oracle)
9766 (sql-sybase, sql-informix, sql-sqlite, sql-mysql, sql-solid)
9767 (sql-ingres, sql-ms, sql-postgres, sql-interbase, sql-db2, sql-linter):
9768 Fix typos in docstrings.
9770 2010-05-08 Juri Linkov <juri@jurta.org>
9772 * info.el (Info-fontify-node): Put Info-breadcrumbs to the `display'
9773 property instead of `invisible' and `after-string' (bug#5998).
9775 2010-05-08 Juri Linkov <juri@jurta.org>
9777 * image-mode.el (image-mode-as-text): Fix typo in docstring.
9779 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
9781 * filecache.el (file-cache-add-directory-list)
9782 (file-cache-add-directory-recursively): Fix typos in docstrings.
9784 2010-05-08 Kenichi Handa <handa@m17n.org>
9786 * language/indian.el (gurmukhi-composable-pattern): Fix typo.
9787 (gujarati-composable-pattern): Fix typo.
9789 2010-05-08 Kenichi Handa <handa@m17n.org>
9791 * language/indian.el (oriya-composable-pattern)
9792 (tamil-composable-pattern, malayalam-composable-pattern):
9793 Add two-part vowels to "v" (vowel sign).
9795 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
9797 * files.el (copy-directory): Handle symlinks (Bug#5982).
9799 2010-05-08 Dan Nicolaescu <dann@ics.uci.edu>
9801 * vc-hg.el (vc-hg-state): Use HGRCPATH, not HGRC.
9802 (vc-hg-working-revision): Likewise. Use hg parents, not hg parent
9805 2010-05-08 Glenn Morris <rgm@gnu.org>
9807 * emacs-lisp/lisp.el (lisp-completion-at-point): Give it a doc string.
9809 * minibuffer.el (completion-at-point): Doc fix.
9811 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9813 * electric.el (Electric-command-loop): Minor tweak.
9815 * ebuff-menu.el (electric-buffer-list): Try and make it behave a bit
9816 better with dedicated windows.
9818 2010-05-07 Chong Yidong <cyd@stupidchicken.com>
9820 * Version 23.2 released.
9822 2010-05-07 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
9823 Stefan Monnier <monnier@iro.umontreal.ca>
9825 Highlight vendor specific properties.
9826 * textmodes/css-mode.el (css-proprietary-nmstart-re): New var.
9827 (css-proprietary-property): New face.
9828 (css-font-lock-keywords): Use them.
9830 2010-05-07 Eli Zaretskii <eliz@gnu.org>
9832 * cus-start.el (all): Add native condition for tool-bar-* symbols.
9834 2010-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
9836 * textmodes/dns-mode.el (auto-mode-alist): Add entry for .zone files.
9837 * files.el (auto-mode-alist): Remove redundant entries.
9839 * files.el (auto-save-mode): Move to simple.el to fix bootstrap.
9840 * simple.el (auto-save-mode): Move from files.el.
9841 * minibuffer.el (completion--common-suffix): Fix copy&paste error.
9843 2010-05-07 Christian von Roques <roques@mti.ag> (tiny change)
9845 * epg.el (epg-key-capablity-alist): Add "D" flag (Bug#5592).
9847 2010-05-07 Katsumi Yamaoka <yamaoka@jpl.org>
9849 * mail/binhex.el (binhex-decode-region-internal)
9850 * mail/uudecode.el (uudecode-decode-region-internal)
9851 * net/dns.el (dns-read-string-name, dns-write, dns-read)
9852 (dns-read-type, dns-query)
9853 * pgg-parse.el (pgg-parse-armor)
9854 * pgg.el (pgg-verify-region)
9855 * sha1.el (sha1-string-external): Don't run set-buffer-multibyte for
9858 * net/imap.el (imap-disable-multibyte): Redefine it as a macro.
9860 2010-05-07 Juanma Barranquero <lekktu@gmail.com>
9862 * progmodes/cperl-mode.el (cperl-mode-unload-function): New function.
9864 Fix use of `filter-buffer-substring' (4th arg NOPROPS removed).
9865 * emulation/cua-base.el (cua-repeat-replace-region):
9866 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
9867 (cua-cut-region-to-global-mark):
9868 Remove text properties with `set-text-properties'.
9870 2010-05-06 Michael Albinus <michael.albinus@gmx.de>
9872 * net/tramp.el (top, with-progress-reporter):
9873 Use `symbol-function' inside `funcall'.
9875 * net/tramp-compat.el (tramp-compat-file-attributes)
9876 (tramp-compat-delete-file, tramp-compat-delete-directory):
9877 Handle only `wrong-number-of-arguments' error.
9879 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Fix typo.
9880 (tramp-gvfs-handle-file-selinux-context): Use `symbol-function'
9883 2010-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9885 * minibuffer.el (completion--sreverse, completion--common-suffix):
9887 (completion-pcm--merge-completions): Extract common suffix when safe.
9889 * emacs-lisp/easy-mmode.el (define-minor-mode):
9890 Make :variable more flexible.
9891 * files.el (auto-save-mode): Use it to define using define-minor-mode.
9893 2010-05-05 Juri Linkov <juri@jurta.org>
9895 Add `slow' and `history' tags to the desktop data.
9897 * info.el (Info-virtual-nodes) [*Index*]: Add `slow' tag.
9898 (Info-virtual-files) [*Apropos*]: Add `slow' tag.
9899 (Info-finder-find-node): Require `finder.el' to be able
9900 to restore node from the desktop.
9901 (Info-desktop-buffer-misc-data): Save all nodes. Save additional
9902 data `Info-history' and `slow' tag in the assoc list.
9903 (Info-restore-desktop-buffer): Don't restore nodes with the
9904 `slow' tag. Restore `Info-history'.
9906 2010-05-05 Michael Albinus <michael.albinus@gmx.de>
9908 Add FORCE argument to `delete-file'.
9910 * net/ange-ftp.el (ange-ftp-del-tmp-name): Make it a defun,
9911 forcing to delete the temporary file.
9912 (ange-ftp-delete-file): Add FORCE arg.
9913 (ange-ftp-rename-remote-to-remote)
9914 (ange-ftp-rename-local-to-remote, ange-ftp-rename-remote-to-local)
9915 (ange-ftp-load, ange-ftp-compress, ange-ftp-uncompress):
9916 Force file deletion.
9918 * net/tramp-compat.el (tramp-compat-delete-file): New defun.
9920 * net/tramp.el (tramp-handle-delete-file): Add FORCE arg.
9921 (tramp-handle-make-symbolic-link, tramp-handle-load)
9922 (tramp-do-copy-or-rename-file-via-buffer)
9923 (tramp-do-copy-or-rename-file-directly)
9924 (tramp-do-copy-or-rename-file-out-of-band)
9925 (tramp-handle-process-file, tramp-handle-call-process-region)
9926 (tramp-handle-shell-command, tramp-handle-file-local-copy)
9927 (tramp-handle-insert-file-contents, tramp-handle-write-region)
9928 (tramp-delete-temp-file-function): Use `tramp-compat-delete-file'.
9930 * net/tramp-fish.el (tramp-fish-handle-delete-file): Add FORCE arg.
9931 (tramp-fish-handle-make-symbolic-link)
9932 (tramp-fish-handle-process-file): Use `tramp-compat-delete-file'.
9934 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
9935 Use `tramp-compat-delete-file'.
9937 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Add FORCE arg.
9938 (tramp-gvfs-handle-write-region): Use `tramp-compat-delete-file'.
9940 * net/tramp-imap.el (tramp-imap-handle-delete-file): Add FORCE arg.
9941 (tramp-imap-do-copy-or-rename-file): Use `tramp-compat-delete-file'.
9943 * net/tramp-smb.el (tramp-smb-handle-delete-file): Add FORCE arg.
9944 (tramp-smb-handle-copy-file, tramp-smb-handle-file-local-copy)
9945 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
9946 Use `tramp-compat-delete-file'.
9948 2010-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
9951 * subr.el (add-minor-mode): Use push.
9952 * mail/supercite.el (sc-electric-mode): Use more descriptive arg name.
9953 * emulation/edt.el (edt-select-mode): Simplify.
9955 Use define-minor-mode in more cases.
9956 * term/tvi970.el (tvi970-set-keypad-mode):
9957 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
9958 (normal-erase-is-backspace-mode):
9959 * scroll-bar.el (scroll-bar-mode): Use it and define-minor-mode.
9960 (set-scroll-bar-mode-1): (Re)move to its sole caller.
9961 (get-scroll-bar-mode): New function.
9962 * emacs-lisp/cl-macs.el (eq): Handle a non-variable first arg.
9964 Use define-minor-mode for less obvious cases.
9965 * emacs-lisp/easy-mmode.el (define-minor-mode): Add :variable keyword.
9966 * emacs-lisp/cl-macs.el (terminal-parameter, eq): Add setf method.
9967 * international/iso-ascii.el (iso-ascii-mode):
9968 * frame.el (auto-raise-mode, auto-lower-mode):
9969 * composite.el (global-auto-composition-mode): Use define-minor-mode.
9971 2010-05-04 Michael Albinus <michael.albinus@gmx.de>
9973 * net/tramp.el (tramp-methods): Remove "-q" from `tramp-login-args'
9974 in order to see error messages for failed logins.
9976 2010-05-03 Chong Yidong <cyd@stupidchicken.com>
9978 * diff.el (diff-sentinel):
9980 * epg.el (epg--make-temp-file, epg-decrypt-string)
9981 (epg-verify-string, epg-sign-string, epg-encrypt-string):
9983 * jka-compr.el (jka-compr-partial-uncompress)
9984 (jka-compr-call-process, jka-compr-write-region, jka-compr-load):
9986 * server.el (server-sentinel): Use delete-file's new FORCE arg
9989 2010-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
9991 Use define-minor-mode where applicable.
9992 * view.el (view-mode):
9993 * type-break.el (type-break-query-mode)
9994 (type-break-mode-line-message-mode):
9995 * textmodes/reftex.el (reftex-mode):
9996 * term/vt100.el (vt100-wide-mode):
9997 * tar-mode.el (tar-subfile-mode):
9998 * savehist.el (savehist-mode):
9999 * ibuf-ext.el (ibuffer-auto-mode):
10000 * composite.el (auto-composition-mode):
10001 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
10002 Use define-minor-mode.
10003 (vhdl-mode): Use static mode-line format.
10004 (vhdl-mode-line-update): Delete.
10005 (vhdl-create-mode-menu, vhdl-activate-customizations)
10006 (vhdl-hs-minor-mode): Don't bother calling it.
10008 2010-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
10010 * simple.el (with-wrapper-hook): Move.
10011 (buffer-substring-filters): Mark obsolete.
10012 (filter-buffer-substring-functions): New variable.
10013 (filter-buffer-substring): Use it. Remove unused arg `noprops'.
10015 2010-05-01 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
10016 Michael Albinus <michael.albinus@gmx.de>
10018 Implement compression for inline methods.
10020 * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
10021 (tramp-copy-size-limit): Allow also nil.
10022 (tramp-inline-compress-commands): New defconst.
10023 (tramp-find-inline-compress, tramp-get-inline-compress)
10024 (tramp-get-inline-coding): New defuns.
10025 (tramp-get-remote-coding, tramp-get-local-coding): Remove,
10026 replaced by `tramp-get-inline-coding'.
10027 (tramp-handle-file-local-copy, tramp-handle-write-region)
10028 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
10030 2010-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
10032 * bindings.el (mode-line-abbrev-mode, mode-line-auto-fill-mode):
10033 Remove unused functions.
10035 * emacs-lisp/lisp-mode.el (lisp-mode): Use define-derived-mode.
10036 Set find-tag-default-function as a variable rather than a property.
10038 * minibuffer.el (tags-completion-at-point-function): Move to etags.el.
10039 * progmodes/etags.el (tags-completion-at-point-function):
10040 Remove left over interactive spec. Add autoloading stub.
10041 (complete-tag): Use tags-completion-at-point-function.
10043 2010-04-30 Chong Yidong <cyd@stupidchicken.com>
10045 * minibuffer.el (tags-completion-at-point-function): Fix return value.
10047 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
10049 * ido.el (ido-init-completion-maps): Remove C-v binding.
10050 (ido-minibuffer-setup): Don't set cua-inhibit-cua-keys (Bug#5765).
10052 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
10054 * minibuffer.el (tags-completion-at-point-function): New function.
10055 (completion-at-point-functions): Use it.
10057 * progmodes/etags.el (complete-tag): Revert last change.
10059 2010-04-29 Alan Mackenzie <acm@muc.de>
10061 * progmodes/cc-mode.el (c-extend-region-for-CPP): Fix an
10062 off-by-one error (in end of macro position).
10064 2010-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
10066 * net/browse-url.el (browse-url-firefox-program): Use iceweasel if
10067 firefox is absent. Don't autoload.
10068 (browse-url-galeon-program): Don't autoload.
10070 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
10072 * bindings.el (complete-symbol): Move into minibuffer.el.
10074 * minibuffer.el (complete-tag): Move from etags.el. If tags
10075 completion cannot be performed, return nil instead of signalling
10077 (completion-at-point): Make it an alias for complete-symbol.
10078 (complete-symbol): Move from bindings.el, and replace with the
10079 body of completion-at-point.
10081 * progmodes/etags.el (complete-tag): Move to minibuffer.el.
10083 2010-04-28 Michael Albinus <michael.albinus@gmx.de>
10085 * net/tramp.el (tramp-remote-selinux-p): New defun.
10086 (tramp-handle-file-selinux-context)
10087 (tramp-handle-set-file-selinux-context): Use it.
10089 2010-04-28 Sam Steingold <sds@gnu.org>
10091 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
10092 `safe-local-variable' if the value is a string or a symbol with
10093 the property `bug-reference-url-format'.
10095 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
10097 * progmodes/bug-reference.el (bug-reference-url-format):
10098 Revert 2010-04-27 change due to security risk.
10100 2010-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
10102 Make it possible to locally disable a globally enabled mode.
10103 * simple.el (fundamental-mode): Run fundamental-mode-hook.
10104 * emacs-lisp/derived.el (define-derived-mode): Use fundamental-mode
10105 rather than kill-all-local-variables so it runs fundamental-mode-hook.
10106 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10107 Use fundamental-mode-hook to run MODE-enable-in-buffers earlier, so
10108 that subsequent hooks get a chance to disable it.
10110 2010-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
10112 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10113 Avoid re-enabling a minor mode after the user turned the minor mode
10114 off if MODE-enable-in-buffers is run twice (typically once from
10115 fundamental-mode's after-change-major-mode-hook and a second time from
10116 run-mode-hook's own after-change-major-mode-hook).
10118 * emacs-lisp/lisp.el (lisp-complete-symbol): Fail gracefully.
10120 2010-04-27 Sam Steingold <sds@gnu.org>
10122 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
10123 `safe-local-variable' if the value is a string or a function, as
10124 documented and implemented on 2010-04-02.
10126 2010-04-27 Juanma Barranquero <lekktu@gmail.com>
10128 * ido.el (ido-buffer-internal): Bind `ido-use-virtual-buffers' to nil
10129 when method is 'kill.
10131 2010-04-27 Agustín Martín <agustin.martin@hispalinux.es>
10133 * textmodes/ispell.el (ispell-init-process): Fix personal dictionary
10134 condition in default directory check.
10135 (ispell-init-process,ispell-kill-ispell,kill-buffer-hook):
10136 Kill ispell process when killing its associated buffer.
10138 2010-04-27 Jan Djärv <jan.h.d@swipnet.se>
10140 * desktop.el (desktop-kill): ask-if-new: Ask if desktop file exists,
10141 but we aren't using it.
10143 2010-04-25 Jan Djärv <jan.h.d@swipnet.se>
10145 * tool-bar.el (tool-bar-local-item-from-menu): Revert unintended
10146 checkin in 2010-04-23T16:26:11Z!monnier@iro.umontreal.ca.
10148 2010-04-24 Glenn Morris <rgm@gnu.org>
10150 * emacs-lisp/authors.el (authors-obsolete-files-regexps):
10151 Ignore VCS-ignore files, and deleted nextstep preferences files.
10152 (authors-ignored-files): Ignore deleted cedet test files, and "*.el".
10153 (authors-ambiguous-files): New list.
10154 (authors-valid-file-names): Add some deleted files.
10155 (authors-renamed-files-alist): Add font-setting.el, edt-user.doc.
10156 (authors-disambiguate-file-name): New function. (Bug#5501)
10157 (authors-canonical-file-name): Doc fix.
10158 Don't warn about obsolete files.
10159 (authors-canonical-file-name, authors-scan-el):
10160 Use authors-disambiguate-file-name.
10162 * hfy-cmap.el (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
10163 Add autoload cookies.
10164 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values): Add docs.
10165 (generated-autoload-file): Set file-local value to "htmlfontify.el".
10166 * htmlfontify.el (caddr, cadddr): Remove fallback definitions.
10167 They have definitions / compiler macros in cl.el.
10168 (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
10169 Replace manual autoloads with generated ones.
10170 (htmlfontify-unload-rgb-file): Remove autoload.
10171 * Makefile.in (autoloads): Ensure htmlfontify.el is writable.
10173 2010-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
10175 * emacs-lisp/bytecomp.el (byte-compile-set-default): New function.
10176 (byte-compile-setq-default): Optimize for the
10177 single-var case and don't call byte-compile-form in this case to avoid
10178 inf-loop with byte-compile-set-default.
10180 * progmodes/compile.el (compilation-start): Abbreviate default directory.
10182 2010-04-23 Michael Albinus <michael.albinus@gmx.de>
10184 Implement SELINUX backends.
10186 * net/tramp.el (tramp-file-name-handler-alist):
10187 Add `file-selinux-context' and `set-file-selinux-context'.
10188 (tramp-handle-file-selinux-context)
10189 (tramp-handle-set-file-selinux-context): New defuns.
10190 (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
10191 Handle PRESERVE-SELINUX-CONTEXT.
10193 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
10194 Add `file-selinux-context' and `set-file-selinux-context'.
10195 (tramp-gvfs-handle-file-selinux-context)
10196 (tramp-gvfs-handle-set-file-selinux-context): New defuns.
10197 (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
10199 * net/ange-ftp.el (ange-ftp-copy-file):
10200 * net/tramp-fish.el (tramp-fish-handle-copy-file):
10201 * net/tramp-imap.el (tramp-imap-handle-copy-file):
10202 * net/tramp-smb.el (tramp-smb-handle-copy-file):
10203 Add PRESERVE-SELINUX-CONTEXT.
10205 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
10207 Synchronize with Tramp repository.
10209 * net/tramp.el (with-connection-property, tramp-completion-mode-p)
10210 (tramp-action-process-alive, tramp-action-out-of-band)
10211 (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
10212 (tramp-exists-file-name-handler): Fix docstring.
10213 (with-progress-reporter): New defmacro.
10214 (tramp-do-copy-or-rename-file, tramp-handle-dired-compress-file)
10215 (tramp-maybe-open-connection): Use it.
10217 2010-04-22 Noah Lavine <noah549@gmail.com> (tiny change)
10219 Detect ssh 'ControlMaster' argument automatically in some cases.
10221 * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
10222 (tramp-default-method): Use it.
10224 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
10226 * net/tramp.el (tramp-handle-copy-file): Add new optional
10227 parameter `preserve-selinux-context'.
10228 (tramp-file-name-for-operation): Add `set-file-selinux-context'.
10230 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
10232 * net/tramp.el (tramp-completion-handle-file-name-all-completions):
10233 Ensure, that non remote files are still checked. Oops.
10235 2010-04-21 Michael Albinus <michael.albinus@gmx.de>
10239 * icomplete.el (icomplete-completions): Use `non-essential'.
10241 * net/tramp.el (tramp-connectable-p): New defun.
10242 (tramp-handle-expand-file-name)
10243 (tramp-completion-handle-file-name-all-completions)
10244 (tramp-completion-handle-file-name-completion): Use it.
10246 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
10248 * emacs-lisp/lisp.el (lisp-completion-at-point): Try and handle errors.
10250 2010-04-21 Jan Djärv <jan.h.d@swipnet.se>
10252 * vc-dir.el (vc-dir-tool-bar-map): Add :label on some tool bar items.
10254 * tool-bar.el (tool-bar-setup): Add :label on some tool bar items.
10256 * loadup.el: Load dynamic-setting.el if feature dynamic-setting
10259 * info.el (info-tool-bar-map): Add labels.
10261 * cus-start.el (all): Add tool-bar-style and tool-bar-max-label-size.
10263 * cus-edit.el (custom-commands): Add labels for tool bar.
10264 (custom-buffer-create-internal, Custom-mode): Adjust for
10265 labels in custom-commands.
10267 * dynamic-setting.el: Renamed from font-setting.el.
10269 2010-04-21 John Wiegley <jwiegley@gmail.com>
10271 * ido.el (ido-init-completion-maps): For ido-switch-buffer, C-o
10272 toggles the use of virtual buffers.
10273 (ido-buffer-internal): Guard `ido-use-virtual-buffers' global value.
10274 (ido-toggle-virtual-buffers): New function.
10276 2010-04-21 Juanma Barranquero <lekktu@gmail.com>
10278 Use `define-derived-mode'; fix window selection; doc fixes.
10279 * play/tetris.el (tetris, tetris-update-speed-function)
10280 (tetris-tty-colors, tetris-x-colors, tetris-move-bottom)
10281 (tetris-move-left, tetris-move-right, tetris-rotate-prev)
10282 (tetris-rotate-next, tetris-end-game, tetris-start-game)
10283 (tetris-pause-game): Fix typos in docstrings.
10284 (tetris-mode-map, tetris-null-map):
10285 Move initialization into declaration.
10286 (tetris-mode): Define with `define-derived-mode';
10287 set show-trailing-whitespace to nil.
10288 (tetris): Prefer window already displaying the "*Tetris*" buffer.
10290 2010-04-21 Karel Klíč <kklic@redhat.com>
10292 * files.el (backup-buffer): Handle SELinux context, and return it
10293 if a backup was made by renaming.
10294 (backup-buffer-copy): Set SELinux context to the target file.
10295 (basic-save-buffer): Set SELinux context of the newly written file.
10296 (basic-save-buffer-1): Now it also returns any SELinux context.
10297 (basic-save-buffer-2): Set SELinux context of the newly created file,
10299 * net/tramp.el (tramp-file-name-for-operation):
10300 Add file-selinux-context.
10302 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
10304 Make the log-edit comments use RFC822 format throughout.
10306 * vc.el (vc-checkin, vc-modify-change-comment):
10307 Adjust to new vc-start/finish-logentry.
10308 (vc-find-conflicted-file): New command.
10309 (vc-transfer-file): Adjust to new vc-checkin.
10310 (vc-next-action): Improve scoping.
10312 * vc-hg.el (vc-hg-log-edit-mode): Remove.
10313 (vc-hg-checkin): Remove extra arg. Use log-edit-extract-headers.
10315 * vc-git.el (vc-git-log-edit-mode): Remove.
10316 (vc-git-checkin): Remove extra arg. Use log-edit-extract-headers.
10317 (vc-git-commits-coding-system): Rename from git-commits-coding-system.
10319 * vc-dispatcher.el (vc-log-edit): Shorten names for log-edit-show-files.
10320 (vc-start-logentry): Remove argument `extra'.
10321 (vc-finish-logentry): Remove extra args.
10323 * vc-bzr.el (vc-bzr-log-edit-mode): Remove.
10324 (vc-bzr-checkin): Remove extra arg. Use log-edit-extract-headers.
10325 (vc-bzr-conflicted-files): New function.
10327 * log-edit.el (log-edit-extra-flags)
10328 (log-edit-before-checkin-process): Remove.
10329 (log-edit-summary, log-edit-header, log-edit-unknown-header): New faces.
10330 (log-edit-headers-alist): New var.
10331 (log-edit-header-contents-regexp): New const.
10332 (log-edit-match-to-eoh): New function.
10333 (log-edit-font-lock-keywords): Use them.
10334 (log-edit): Insert a "Summary:" header as default.
10335 (log-edit-mode): Mark font-lock rules as case-insensitive.
10336 (log-edit-done): Cleanup headers.
10337 (log-view-process-buffer): Remove.
10338 (log-edit-extract-headers): New function to replace it.
10340 2010-04-20 Juanma Barranquero <lekktu@gmail.com>
10342 * subr.el (default-direction-reversed): Remove obsolescence info.
10344 2010-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
10346 * vc-dispatcher.el (vc-finish-logentry): Don't mess so badly with the
10349 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete around point.
10350 I.e. include text after point in the completion region.
10351 Also, return nil when we're not after/in a symbol.
10353 * international/mule-cmds.el (view-hello-file): Don't fiddle with the
10354 default enable-multibyte-characters.
10356 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
10358 * international/mule.el: Help the user choose a valid coding-system.
10359 (read-buffer-file-coding-system): New function.
10360 (set-buffer-file-coding-system): Use it. Prompt the user if the
10361 coding-system cannot encode all the chars.
10363 * vc-bzr.el: Use standard *vc* and *vc-diff* buffers.
10364 (vc-bzr-shelve-show, vc-bzr-shelve-apply)
10365 (vc-bzr-shelve-apply-and-keep, vc-bzr-shelve-snapshot):
10366 Don't use *vc-bzr-shelve*.
10368 2010-04-19 Dan Nicolaescu <dann@ics.uci.edu>
10370 Fix the version number for added files.
10371 * vc-hg.el (vc-hg-working-revision): Check if the file is
10372 registered after hg parent fails (Bug#5961).
10374 2010-04-19 Glenn Morris <rgm@gnu.org>
10376 * htmlfontify.el (htmlfontify-buffer)
10377 (htmlfontify-copy-and-link-dir): Autoload entry points.
10379 2010-04-19 Magnus Henoch <magnus.henoch@gmail.com>
10381 * vc-hg.el (vc-hg-annotate-extract-revision-at-line): Expand file
10382 name relative to the project root (Bug#5960).
10384 2010-04-19 Glenn Morris <rgm@gnu.org>
10386 * vc-git.el (vc-git-print-log): Doc fix.
10388 2010-04-19 Óscar Fuentes <ofv@wanadoo.es>
10390 * ido.el (ido-file-internal): Fix 2009-12-02 change.
10392 2010-04-19 Christoph <cschol2112@googlemail.com> (tiny change)
10394 * progmodes/grep.el (grep-compute-defaults): Fix handling of host
10395 default settings (Bug#5928).
10397 2010-04-19 Glenn Morris <rgm@gnu.org>
10399 * progmodes/fortran.el (fortran-match-and-skip-declaration):
10401 (fortran-font-lock-keywords-3): Use it. (Bug#1385)
10403 2010-04-19 Kenichi Handa <handa@m17n.org>
10405 * language/indian.el (malayalam-composable-pattern): Fix previous
10406 change (add U+0D4D "SIGN VIRAMA").
10407 (oriya-composable-pattern): Add U+0B30 and fix typo in the regexp.
10408 (tamil-composable-pattern): Fix typo in the regexp.
10409 (telugu-composable-pattern): Fix U+0C4D and typo in the regexp.
10410 (kannada-composable-pattern): Fix U+0CB0 and typo in the regexp.
10411 (malayalam-composable-pattern): Fix U+0D4D and typo in the regexp.
10413 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
10415 * textmodes/tex-mode.el (latex-mode): Revert 2008-03-03 change to
10416 paragraph-separate (Bug#5821).
10418 2010-04-19 Juri Linkov <juri@jurta.org>
10420 Put breadcrumbs on overlay instead of inserting to buffer (bug#5809).
10422 * info.el (Info-find-node-2): Comment out code that skips
10424 (Info-mouse-follow-link): New command.
10425 (Info-link-keymap): New keymap.
10426 (Info-breadcrumbs): Rename from `Info-insert-breadcrumbs'.
10427 Return a string with links instead of inserting breadcrumbs
10428 to the Info buffer.
10429 (Info-fontify-node): Comment out code that inserts breadcrumbs.
10430 Instead of putting the `invisible' text property over the Info
10431 header, make an overlay over the Info header with the `invisible'
10432 property and `after-string' set to the string returned by
10433 `Info-breadcrumbs'.
10435 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
10437 * help.el (help-window-setup-finish): Doc fix (Bug#5830).
10438 Reported by monkey@sandpframing.com.
10440 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
10442 * tmm.el (tmm-prompt): Remove obsolete call to x-popup-menu.
10443 (tmm-get-keymap): Add key-binding shortcuts now that they're not
10444 available in the "keyseq cache" any more.
10446 * custom.el (defcustom): Add edebug spec.
10448 2010-04-18 Juri Linkov <juri@jurta.org>
10450 Test for special mode-class in view-buffer instead of view-file (bug#5513).
10452 * view.el (view-file, view-buffer): Move test for special mode-class
10453 from view-file to view-buffer.
10455 * tar-mode.el (tar-extract): Turn if's into one cond
10456 like in arc-mode.el.
10458 2010-04-18 Juri Linkov <juri@jurta.org>
10460 Add 7z archive format support (bug#5475).
10462 * arc-mode.el (archive-zip-extract): Try to find 7z executable.
10463 (archive-7z-extract): New defcustom.
10464 (archive-find-type): Add magic string for 7z.
10465 (archive-extract-by-stdout): Add new optional arg `stderr-file'.
10466 If `stderr-file' is non-nil, use `(t stderr-file)' for the
10467 `buffer' arg of `call-process'.
10468 (archive-zip-extract): Check `archive-zip-extract' for "7z" and
10469 call the function `archive-7z-extract' with the variable
10470 `archive-7z-extract' let-bound to `archive-zip-extract'.
10471 (archive-7z-summarize, archive-7z-extract): New functions.
10473 * international/mule.el (auto-coding-alist):
10474 * files.el (auto-mode-alist): Add 7z file extension.
10476 2010-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
10478 * loadup.el: Setup hash-cons for pure data.
10480 Fix duplicate entries in cedet's loaddefs.el files.
10481 * emacs-lisp/autoload.el (autoload-file-load-name): Be more clever.
10482 Should make most file-local generated-autoload-file unnecessary.
10483 (print-readably): Silence warnings.
10484 (autoload-find-destination): Take load-name as an arg to make sure
10485 it's the same as the one that will be in the file.
10486 (autoload-generate-file-autoloads): Adjust to above changes.
10487 Try to make the dataflow a bit simpler.
10489 * cvs-status.el (cvs-refontify): Remove unused.
10491 2010-04-18 Jay Belanger <jay.p.belanger@gmail.com>
10493 * calc/calc.el (calc-mode-map): Bind "O" to `calc-missing-key'.
10495 * calc/calc-bin.el (calc-radix): Have the "O" option turn on
10496 twos-complement mode.
10498 2010-04-17 Jay Belanger <jay.p.belanger@gmail.com>
10500 * calc/calc-ext.el (calc-init-extensions): Add keybinding for
10501 'calc-option'. Add `calc-option-prefix-help' to calc-help autoloads.
10502 (calc-inverse): Add "Option" to message, as appropriate.
10503 (calc-hyperbolic): Add "Option" to message, as appropriate.
10504 (calc-option, calc-is-option): New functions.
10506 * calc/calc-help.el (calc-full-help): Add `calc-option-help'.
10507 (calc-option-prefix-help): New function.
10509 * calc/calc-misc.el (calc-help): Add "Option" entry.
10511 * calc/calc.el (calc-local-var-list): Add `calc-option-flag'.
10512 (calc-option-flag): New variable.
10513 (calc-do): Set `calc-option-flag to nil.
10514 (calc-set-mode-line): Add "Opt " as appropriate.
10516 2010-04-16 Juri Linkov <juri@jurta.org>
10518 Move scrolling commands from simple.el to window.el
10519 because their primitives are implemented in window.c.
10521 * simple.el (scroll-error-top-bottom)
10522 (scroll-up-command, scroll-down-command, scroll-up-line)
10523 (scroll-down-line, scroll-other-window-down)
10524 (beginning-of-buffer-other-window, end-of-buffer-other-window):
10525 * window.el (scroll-error-top-bottom)
10526 (scroll-up-command, scroll-down-command, scroll-up-line)
10527 (scroll-down-line, scroll-other-window-down)
10528 (beginning-of-buffer-other-window, end-of-buffer-other-window):
10529 Move from simple.el to window.el because their primitives are
10530 implemented in window.c.
10532 2010-04-16 Juri Linkov <juri@jurta.org>
10534 * isearch.el (isearch-lookup-scroll-key): Check both
10535 `isearch-scroll' and `scroll-command' properties.
10536 (scroll-up, scroll-down): Remove `isearch-scroll' property.
10538 * mwheel.el (mwheel-scroll): Remove `isearch-scroll' property.
10540 * simple.el (scroll-up-command, scroll-down-command)
10541 (scroll-up-line, scroll-down-line): Remove `isearch-scroll' property.
10543 2010-04-15 Juri Linkov <juri@jurta.org>
10545 * simple.el (scroll-up-command, scroll-down-command)
10546 (scroll-up-line, scroll-down-line): Put `scroll-command'
10547 property on the these symbols. Remove them from
10548 `scroll-preserve-screen-position-commands'.
10550 * mwheel.el (mwheel-scroll): Put `scroll-command' and
10551 `isearch-scroll' properties on the `mwheel-scroll' symbol.
10552 Remove it from `scroll-preserve-screen-position-commands'.
10554 * isearch.el (isearch-allow-scroll): Doc fix.
10556 2010-04-15 Michael Albinus <michael.albinus@gmx.de>
10558 * net/tramp.el (tramp-error-with-buffer): Don't show the
10559 connection buffer when we are in completion mode.
10560 (tramp-file-name-handler): Catch the error for some operations
10561 when we are in completion mode. This gives the user the chance to
10562 correct the file name in the minibuffer.
10564 2010-04-15 Glenn Morris <rgm@gnu.org>
10566 * progmodes/verilog-mode.el (verilog-forward-sexp): Avoid free variable.
10568 2010-04-15 Juanma Barranquero <lekktu@gmail.com>
10570 Simplify by using `define-derived-mode'.
10571 * info.el (Info-mode):
10572 * calendar/todo-mode.el (todo-mode):
10573 * play/gomoku.el (gomoku-mode): Define with `define-derived-mode'.
10574 (gomoku-mode-map): Move initialization into declaration.
10576 2010-04-14 Michael Albinus <michael.albinus@gmx.de>
10579 * ido.el (ido-file-name-all-completions-1):
10580 * minibuffer.el (minibuffer-completion-help):
10581 * net/tramp.el (tramp-completion-mode-p): Use `non-essential'.
10583 2010-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
10585 * simple.el (non-essential): New var.
10587 Add a new field `location' to bookmarks for non-file bookmarks.
10588 * bookmark.el (bookmark-location): Use the new field, if present.
10589 (bookmark-insert-location): Undo last change, not needed any more.
10590 * man.el (Man-bookmark-make-record):
10591 * woman.el (woman-bookmark-make-record): Add `location' field.
10593 2010-04-14 Juri Linkov <juri@jurta.org>
10595 * simple.el (scroll-error-top-bottom): New defcustom.
10596 (scroll-up-command, scroll-down-command): Use it. Doc fix.
10598 * emulation/pc-select.el (pc-select-override-scroll-error):
10599 Obsolete in favor of `scroll-error-top-bottom'.
10601 2010-04-14 Juri Linkov <juri@jurta.org>
10603 * tutorial.el (tutorial--default-keys): Rebind `C-v' to
10604 `scroll-up-command' and `M-v' to `scroll-down-command'.
10606 * emulation/cua-rect.el (cua--init-rectangles):
10607 * forms.el (forms--change-commands):
10608 * image-mode.el (image-mode-map):
10609 Remap scroll-down-command and scroll-up-command
10610 in addition to scroll-down and scroll-up.
10612 2010-04-14 Juri Linkov <juri@jurta.org>
10614 * mwheel.el (scroll-preserve-screen-position-commands):
10615 Add mwheel-scroll to this list of commands.
10617 * simple.el (scroll-preserve-screen-position-commands):
10618 Add scroll-up-command, scroll-down-command, scroll-up-line,
10619 scroll-down-line to this list of commands.
10621 2010-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
10623 * obsolete/complete.el: Move from lisp/complete.el.
10625 * pcomplete.el (pcomplete-here*): Fix mistaken change (bug#5935).
10627 * emacs-lisp/easy-mmode.el (define-minor-mode): Passing a nil argument
10628 to the minor mode function now turns the mode ON unconditionally.
10630 2010-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
10632 * vc-dir.el (vc-dir-kill-line): New command.
10633 (vc-dir-mode-map): Bind it to C-k.
10635 * bookmark.el (bookmark-insert-location): Handle a nil filename.
10637 * woman.el: Add bookmark declarations to silence the compiler.
10638 (bookmark-prop-get): Use `man-args' rather than `filename' as a first
10639 step to compatibility between man and woman bookmarks.
10640 Adjust for Man-default-bookmark-title renaming.
10641 (woman-bookmark-jump): Adjust accordingly. Don't forget to autoload.
10643 * man.el: Add bookmark declarations to silence the compiler.
10644 (Man-name-local-regexp): Make it match NAME as well.
10645 (Man-getpage-in-background): Return the buffer.
10646 (Man-notify-when-ready): Use `case'.
10647 (man-set-default-bookmark-title): Rename to Man-default-bookmark-title.
10648 Don't hardcode "NAME". Simplify.
10649 (Man-bookmark-make-record): Use Man-arguments rather than buffer-name.
10650 Rename from Man-bookmark-make-record.
10651 (Man-bookmark-jump): Rename from man-bookmark-jump. Simplify now that
10652 we have the actual man-args. Use Man-getpage-in-background rather
10653 than `man' since the arg is already processed. Let bookmark.el do the
10654 window handling. Only wait for the relevant process.
10655 Don't forget to autoload.
10657 * bookmark.el (bookmark-default-file): Use locate-user-emacs-file.
10659 2010-04-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10661 * woman.el (woman-bookmark-make-record, woman-bookmark-jump):
10663 (woman-mode): Setup bookmark support.
10665 * man.el (man-set-default-bookmark-title, man-bookmark-make-record)
10666 (man-bookmark-jump): New functions.
10667 (Man-mode): Setup bookmark support.
10669 2010-04-10 Jari Aalto <jari.aalto@cante.net>
10671 * comint.el (comint-password-prompt-regexp): Use regexp-opt, and
10672 recognize ssh-keygen prompt (Bug#2817).
10674 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
10676 * net/tramp.el (tramp-do-copy-or-rename-file): Add progress reporter.
10678 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
10680 Synchronize with Tramp repository.
10682 * net/tramp.el (tramp-completion-function-alist)
10683 (tramp-file-name-regexp, tramp-chunksize)
10684 (tramp-local-coding-commands, tramp-remote-coding-commands):
10686 (tramp-remote-process-environment): Use `format' instead of `concat'.
10687 (tramp-handle-directory-files-and-attributes)
10688 (tramp-get-remote-path): Use `copy-tree'.
10689 (tramp-handle-file-name-all-completions): Backward/ XEmacs
10690 compatibility: Use `completion-ignore-case' if
10691 `read-file-name-completion-ignore-case' does not exist.
10692 (tramp-do-copy-or-rename-file-directly): Do not use
10693 `tramp-handle-file-remote-p'.
10694 (tramp-do-copy-or-rename-file-out-of-band):
10695 Use `tramp-compat-delete-directory'.
10696 (tramp-do-copy-or-rename-file-out-of-band)
10697 (tramp-compute-multi-hops, tramp-maybe-open-connection):
10698 Use `format-spec-make'.
10699 (tramp-find-foreign-file-name-handler)
10700 (tramp-advice-make-auto-save-file-name)
10701 (tramp-set-auto-save-file-modes): Remove superfluous check for
10702 `stringp'. This is done inside `tramp-tramp-file-p'.
10703 (tramp-debug-outline-regexp): New defconst.
10704 (tramp-get-debug-buffer): Use it.
10705 (tramp-check-for-regexp): Use (forward-line 1).
10706 (tramp-set-auto-save-file-modes): Adapt version check.
10708 * net/tramp-compat.el (tramp-advice-file-expand-wildcards):
10709 Wrap call of `featurep' for 2nd argument.
10710 (tramp-compat-make-temp-file): Simplify fallback implementation.
10711 (tramp-compat-copy-tree): Remove function.
10712 (tramp-compat-delete-directory): Provide implementation for older
10715 * net/tramp-fish.el (tramp-fish-handle-directory-files-and-attributes):
10716 Do not use `tramp-fish-handle-file-attributes.
10718 * net/trampver.el: Update release number.
10720 2010-04-10 Glenn Morris <rgm@gnu.org>
10722 * progmodes/compile.el (compilation-save-buffers-predicate):
10723 Add missing :version tag.
10725 2010-04-09 Sam Steingold <sds@gnu.org>
10727 * progmodes/compile.el (compilation-save-buffers-predicate):
10728 Remove the "autoload" cookie.
10730 * progmodes/bug-reference.el (turn-on-bug-reference-mode)
10731 (turn-on-bug-reference-prog-mode): Remove, `bug-reference-mode'
10732 and `bug-reference-prog-mode' can be used in hooks directly.
10734 2010-04-09 Dan Nicolaescu <dann@ics.uci.edu>
10736 Add --author support to git commit.
10737 * vc-git.el (vc-git-checkin): Pass extra-args to the commit command.
10738 (vc-git-log-edit-mode): New minor mode.
10739 (log-edit-mode, log-edit-extra-flags, log-edit-mode):
10742 2010-04-09 Eric Raymond <esr@snark.thyrsus.com>
10744 * vc-hooks.el, vc-git.el: Improve documentation comments.
10746 2010-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
10748 Fix some of the problems in defsubst* (bug#5728).
10749 * emacs-lisp/cl-macs.el (defsubst*): Don't substitute non-trivial args.
10750 (cl-defsubst-expand): Do the substitutions simultaneously (bug#5728).
10752 2010-04-07 Sam Steingold <sds@gnu.org>
10754 * progmodes/compile.el (compilation-save-buffers-predicate):
10755 New custom variable.
10756 (compile, recompile): Pass it to `save-some-buffers'.
10758 2010-04-07 Jan Djärv <jan.h.d@swipnet.se>
10760 * wid-edit.el (widget-choose): Move cursor to the second line of
10761 the buffer (Bug#5695).
10763 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
10765 Add new VC methods: vc-log-incoming and vc-log-outgoing.
10766 * vc.el (vc-print-log-setup-buttons): New function split out from
10767 vc-print-log-internal.
10768 (vc-log-internal-common): New function, a parametrized version of
10769 vc-print-log-internal.
10770 (vc-print-log-internal): Just call vc-log-internal-common with the
10772 (vc-incoming-outgoing-internal):
10773 (vc-log-incoming, vc-log-outgoing): New functions.
10774 (vc-log-view-type): New permanent local variable.
10776 * vc-hooks.el (vc-menu-map): Bind vc-log-incoming and vc-log-outgoing.
10778 * vc-bzr.el (vc-bzr-log-view-mode): Use vc-log-view-type instead
10779 of the dynamic bound vc-short-log.
10780 (vc-bzr-log-incoming, vc-bzr-log-outgoing): New functions.
10782 * vc-git.el (vc-git-log-outgoing): New function.
10783 (vc-git-log-view-mode): Use vc-log-view-type instead
10784 of the dynamic bound vc-short-log.
10786 * vc-hg.el (vc-hg-log-view-mode): Use vc-log-view-type instead
10787 of the dynamic bound vc-short-log. Highlight the tag.
10788 (vc-hg-log-incoming, vc-hg-log-outgoing): New functions.
10789 (vc-hg-outgoing, vc-hg-incoming, vc-hg-outgoing-mode):
10790 (vc-hg-incoming-mode): Remove.
10791 (vc-hg-extra-menu-map): Do not bind vc-hg-incoming and vc-hg-outgoing.
10793 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
10795 Fix default-directory for vc-root-diff.
10796 * vc.el (vc-root-diff): Bind default-directory to the root
10797 directory for the diff command.
10799 2010-04-07 Michael McNamara <mac@mail.brushroad.com>
10801 * progmodes/verilog-mode.el (verilog-forward-sexp):
10802 (verilog-calc-1): Support "disable fork" and "fork wait" multi
10803 word keywords, suggested by Steve Pearlmutter.
10804 (verilog-pretty-declarations): Support lineup of declarations in
10806 (verilog-skip-backward-comments, verilog-skip-forward-comment-p):
10807 fix bug for /* / comments.
10808 (verilog-backward-syntactic-ws, verilog-forward-syntactic-ws):
10809 Speed up and simplfy as this is never called with a bound.
10810 (verilog-pretty-declarations): Enhance to line up declarations
10811 inside a parameter list, suggested by Alan Morgan.
10812 (verilog-pretty-expr): Tune assignment regular expression match
10813 string for corner cases; also use markers instead of character
10814 number as indent changes the later.
10816 2010-04-07 Wilson Snyder <wsnyder@wsnyder.org>
10818 * progmodes/verilog-mode.el (verilog-type-keywords): Fix pulldown
10819 as missing keyword.
10820 (verilog-read-sub-decls-line): Fix comments in AUTO_TEMPLATE
10821 causing truncation of AUTOWIRE signals. Reported by Bruce Tennant.
10822 (verilog-auto-inst, verilog-auto-inst-port): Add vl_mbits for
10823 AUTO_TEMPLATEs needing multiple array bits. Suggested by Bruce
10825 (verilog-keywords):
10826 (verilog-1800-2005-keywords, verilog-1800-2009-keywords): Add IEEE
10827 1800-2009 keywords, including "global.".
10829 2010-04-06 John Wiegley <jwiegley@gmail.com>
10831 * ido.el (ido-add-virtual-buffers-to-list): Fix duplicated names
10832 appearing in buffer list (if a live buffer name matched a recentf
10833 file basename). Should use uniquify to offer a real solution.
10835 2010-04-06 John Wiegley <jwiegley@gmail.com>
10837 * ido.el (ido-use-virtual-buffers, ido-virtual): Move a ChangeLog
10838 comment to code, and add a :version tag.
10839 (ido-virtual-buffers): Move defvar to fix byte-compiler warning.
10841 2010-04-06 Juanma Barranquero <lekktu@gmail.com>
10843 Enable recentf-mode if using virtual buffers.
10844 * ido.el (recentf-list): Declare for byte-compiler.
10845 (ido-virtual-buffers): Move up to silence byte-compiler. Add docstring.
10846 (ido-make-buffer-list): Simplify.
10847 (ido-add-virtual-buffers-to-list): Simplify. Enable recentf-mode.
10849 2010-04-05 Juri Linkov <juri@jurta.org>
10851 Scrolling commands which scroll a line instead of full screen.
10852 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
10854 * simple.el (scroll-up-line, scroll-down-line): New commands.
10855 Put property isearch-scroll=t on them.
10857 * emulation/ws-mode.el (scroll-down-line, scroll-up-line):
10860 2010-04-05 Juri Linkov <juri@jurta.org>
10862 Scrolling commands which do not signal errors at top/bottom.
10863 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
10865 * simple.el (scroll-up-command, scroll-down-command): New commands.
10866 Put property isearch-scroll=t on them.
10868 * bindings.el (global-map): Rebind [prior] from `scroll-down' to
10869 `scroll-down-command' and [next] from `scroll-up' to
10870 `scroll-up-command'.
10872 * emulation/cua-base.el: Put property CUA=move on
10873 `scroll-up-command' and `scroll-down-command'.
10874 (cua--init-keymaps): Remap `scroll-up-command' to `cua-scroll-up'
10875 and `scroll-down-command' to `cua-scroll-down'.
10877 2010-04-05 Juanma Barranquero <lekktu@gmail.com>
10879 * help.el (describe-mode): Return nil.
10881 2010-04-04 John Wiegley <jwiegley@gmail.com>
10883 * ido.el (ido-use-virtual-buffers): New variable to indicate
10884 whether "virtual buffer" support is enabled for IDO.
10885 (ido-virtual): Face used to indicate virtual buffers in the list.
10886 (ido-buffer-internal): If a buffer is chosen, and no such buffer
10887 exists, but a virtual buffer of that name does (which would be why
10888 it was in the list), recreate the buffer by reopening the file.
10889 (ido-make-buffer-list): If virtual buffers are being used, call
10890 `ido-add-virtual-buffers-to-list' before the make list hook.
10891 (ido-virtual-buffers): New variable which contains a copy of the
10892 current contents of the `recentf-list', albeit pared down for the
10893 sake of speed, and with proper faces applied.
10894 (ido-add-virtual-buffers-to-list): Using the `recentf-list',
10895 create a list of "virtual buffers" to present to the user in
10896 addition to the currently open set. Note that this logic could
10897 get rather slow if that list is too large. With the default
10898 `recentf-max-saved-items' of 200, there is little speed penalty.
10900 2010-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
10902 * font-lock.el: Require CL when compiling.
10903 (font-lock-turn-on-thing-lock): Use `case'.
10905 2010-04-03 Eli Zaretskii <eliz@gnu.org>
10907 * emacs-lisp/authors.el (authors-fixed-entries): Add entry for Eli
10910 2010-04-02 Juri Linkov <juri@jurta.org>
10912 * ehelp.el (electric-help-orig-major-mode):
10913 New buffer-local variable.
10914 (electric-help-mode): Set it to original major-mode. Doc fix.
10915 (with-electric-help): Use `electric-help-orig-major-mode' instead
10916 of (default-value 'major-mode). Doc fix.
10917 http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00069.html
10919 2010-04-02 Sam Steingold <sds@gnu.org>
10921 * vc-hg.el (vc-hg-push, vc-hg-pull): Use `apply' when calling
10922 `vc-hg-command' with a list of flags.
10924 * progmodes/bug-reference.el (bug-reference-bug-regexp):
10925 Also accept "patch" and "RFE".
10926 (bug-reference-fontify): `bug-reference-url-format' can also be a
10927 function to be able to handle the bug kind.
10928 (turn-on-bug-reference-mode, turn-on-bug-reference-prog-mode): Add.
10930 2010-04-02 Jan Djärv <jan.h.d@swipnet.se>
10932 * tmm.el (tmm-get-keymap): Check with symbolp before passing
10933 value to fboundp, it may not be a symbol.
10935 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
10937 * cus-edit.el (custom-buffer-sort-alphabetically): Update :version.
10939 2010-03-31 Juri Linkov <juri@jurta.org>
10941 * simple.el (next-line, previous-line): Re-throw a signal
10942 with `signal' instead of using `ding'.
10943 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01432.html
10945 2010-03-31 Juri Linkov <juri@jurta.org>
10947 * simple.el (keyboard-escape-quit): Raise deselecting the active
10948 region higher than exiting the minibuffer.
10949 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00904.html
10951 2010-03-31 Juri Linkov <juri@jurta.org>
10953 * image.el (image-animated-p): Use `image-metadata' instead of
10954 `image-extension-data'. Get GIF extenstion data from metadata
10955 property `extension-data'.
10957 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
10959 * simple.el (append-to-buffer): Simplify.
10961 2010-03-31 Tomas Abrahamsson <tab@lysator.liu.se>
10963 * textmodes/artist.el (artist-mode): Fix typo in docstring.
10964 Reported by Alex Schröder <kensanata@gmail.com>. (Bug#5807)
10966 2010-03-31 Kenichi Handa <handa@m17n.org>
10968 * language/sinhala.el (composition-function-table): Fix regexp for
10969 the new Unicode specification.
10971 * language/indian.el (devanagari-composable-pattern)
10972 (tamil-composable-pattern, kannada-composable-pattern)
10973 (malayalam-composable-pattern): Adjust for the new Unicode
10975 (bengali-composable-pattern, gurmukhi-composable-pattern)
10976 (gujarati-composable-pattern, oriya-composable-pattern)
10977 (telugu-composable-pattern): New variables to cope with the new
10978 Unicode specification. Use them in composition-function-table.
10980 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
10982 Make tmm-menubar work for the Buffers menu again (bug#5726).
10983 * tmm.el (tmm-prompt): Also handle keymap entries in the form of
10984 vectors rather than cons cells, as used in menu-bar-update-buffers.
10986 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
10988 * progmodes/js.el (js-auto-indent-flag, js-mode-map)
10989 (js-insert-and-indent): Revert 2009-08-15 change, restoring
10990 electric punctuation for "{}();,:" (Bug#5586).
10992 * mail/sendmail.el (mail-default-directory): Doc fix.
10994 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
10996 * mail/sendmail.el (mail-default-directory): Doc fix.
10998 2010-03-31 Eli Zaretskii <eliz@gnu.org>
11000 * subr.el (version-regexp-alist, version-to-list)
11001 (version-list-<, version-list-=, version-list-<=)
11002 (version-list-not-zero, version<, version<=, version=): Doc fix.
11005 2010-02-31 Dan Nicolaescu <dann@ics.uci.edu>
11007 * vc.el (vc-root-diff): Doc fix.
11009 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
11011 * vc.el (vc-print-log, vc-print-root-log): Doc fix.
11013 * simple.el (append-to-buffer): Fix last change.
11015 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
11017 * simple.el (append-to-buffer): Ensure that point is preserved if
11018 BUFFER is the current buffer. Suggested by YAMAMOTO Mitsuharu.
11021 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
11023 * files.el (auto-mode-case-fold): Change default to t.
11025 2010-03-30 Juri Linkov <juri@jurta.org>
11027 * dired-x.el (dired-omit-mode): Doc fix.
11029 2010-03-30 Juri Linkov <juri@jurta.org>
11031 * replace.el (occur-accumulate-lines): Move occur-engine related
11032 functions `occur-accumulate-lines' and `occur-engine-add-prefix'
11033 to be located after `occur-engine'.
11035 2010-03-30 Juri Linkov <juri@jurta.org>
11037 Make occur handle multi-line matches cleanly with context.
11038 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01280.html
11040 * replace.el (occur-accumulate-lines): Add optional arg `pt'.
11041 (occur-engine): Add local variables `ret', `prev-after-lines',
11042 `prev-lines'. Use more arguments for `occur-context-lines'.
11043 Set first elem of its returned list to `data', and the second elem
11044 to `prev-after-lines'. Don't print the separator line.
11045 In the end, print remaining context after-lines.
11046 (occur-context-lines): Add new arguments `begpt', `endpt',
11047 `lines', `prev-lines', `prev-after-lines'. Rewrite to combine
11048 after-lines of the previous match with before-lines of the
11049 current match and not overlap them. Return a list with two
11050 values: the output line and the list of context after-lines.
11052 2010-03-30 Juri Linkov <juri@jurta.org>
11054 * replace.el (occur-accumulate-lines): Fix a bug where the first
11055 context line at the beginning of the buffer was missing.
11057 2010-03-30 Eli Zaretskii <eliz@gnu.org>
11059 * files.el: Make bidi-display-reordering safe variable for boolean
11062 2010-03-29 Phil Hagelberg <phil@evri.com>
11063 Chong Yidong <cyd@stupidchicken.com>
11065 * subr.el: Extend progress reporters to perform "spinning".
11066 (progress-reporter-update, progress-reporter-do-update):
11067 Handle non-numeric value arguments.
11068 (progress-reporter--pulse-characters): New var.
11070 2010-03-28 Chong Yidong <cyd@stupidchicken.com>
11072 * progmodes/compile.el (compilation-start): Fix regexp detection
11073 of initial cd command (Bug#5771).
11075 2010-03-28 Stefan Guath <stefan@automata.se> (tiny change)
11077 * find-dired.el (find-dired): Use read-directory-name (Bug#5777).
11079 2010-03-27 Nick Roberts <nickrob@snap.net.nz>
11081 Restore GDB/MI fuctionality removed by 2009-12-29T07:15:34Z!nickrob@snap.net.nz.
11082 * progmodes/gdb-mi.el: Restore.
11083 * progmodes/gdb-ui.el: Remove.
11084 * progmodes/gud.el: Re-accommodate for gdb-mi.el.
11086 2010-03-25 Glenn Morris <rgm@gnu.org>
11088 * desktop.el (desktop-save-buffer-p): Don't mistakenly include
11089 all dired buffers, even tramp ones. (Bug#5755)
11091 2010-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
11093 Add "union tags" in mpc.el.
11094 * mpc.el: Remove backward compatibility code.
11095 (mpc-browser-tags): Change default.
11096 (mpc--find-memoize-union-tags): New var.
11097 (mpc-cmd-flush, mpc-cmd-special-tag-p): New fun.
11098 (mpc-cmd-find): Handle the case where the playlist does not exist.
11100 (mpc-cmd-list): Use mpc-cmd-special-tag-p. Handle union-tags.
11101 (mpc-cmd-add): Use mpc-cmd-flush.
11102 (mpc-tagbrowser-tag-name): New fun.
11103 (mpc-tagbrowser-buf): Use it.
11104 (mpc-songs-refresh): Use cond. Move to point-min as a fallback.
11106 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
11109 * progmodes/make-mode.el (makefile-bsdmake-rule-action-regex):
11110 Use replace-regexp-in-string.
11111 (makefile-mode-abbrev-table): Merge defvar and define-abbrev-table.
11112 (makefile-imake-mode-syntax-table): Move init into defvar.
11113 (makefile-mode): Use define-derived-mode.
11115 * progmodes/make-mode.el (makefile-rule-action-regex): Backtrack less.
11116 (makefile-make-font-lock-keywords): Adjust rule since submatch 1 may
11117 not be present any more.
11119 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
11121 * faces.el (set-face-attribute): Fix typo in docstring.
11122 (face-valid-attribute-values): Reflow docstring.
11124 2010-03-24 Glenn Morris <rgm@gnu.org>
11126 * textmodes/flyspell.el (sgml-lexical-context): Autoload it (Bug#5752).
11128 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
11130 * indent.el (indent-for-tab-command): Doc fix.
11132 2010-03-24 Alan Mackenzie <acm@muc.de>
11134 * progmodes/cc-engine.el (c-remove-stale-state-cache):
11135 Fix off-by-one error. Fixes bug #5747.
11137 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
11139 * image-dired.el (image-dired-display-thumbs): Fix typo in docstring.
11140 (image-dired-read-comment): Doc fix.
11142 * json.el (json-object-type, json-array-type, json-key-type)
11143 (json-false, json-null, json-read-number):
11144 * minibuffer.el (completion-in-region-functions):
11145 * calendar/cal-tex.el (cal-tex-daily-end, cal-tex-number-weeks)
11146 (cal-tex-cursor-week):
11147 * emacs-lisp/trace.el (trace-function):
11148 * eshell/em-basic.el (eshell/printnl):
11149 * eshell/em-dirs.el (eshell-last-dir-ring, eshell-parse-drive-letter)
11150 (eshell-read-last-dir-ring, eshell-write-last-dir-ring):
11151 * obsolete/levents.el (allocate-event, event-key, event-object)
11152 (event-point, event-process, event-timestamp, event-to-character)
11153 (event-window, event-x, event-x-pixel, event-y, event-y-pixel):
11154 * textmodes/reftex-vars.el (reftex-index-macros-builtin)
11155 (reftex-section-levels, reftex-auto-recenter-toc, reftex-toc-mode-hook)
11156 (reftex-cite-punctuation, reftex-search-unrecursed-path-first)
11157 (reftex-highlight-selection): Fix typos in docstrings.
11159 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
11161 * minibuffer.el (completion-in-region-functions): Fix docstring typos.
11163 2010-03-24 Glenn Morris <rgm@gnu.org>
11165 * mail/rmail.el (rmail-highlight-face): Restore option deleted
11166 2008-02-13 without comment; mark it obsolete.
11167 (rmail-highlight-headers): Use rmail-highlight-face once more.
11169 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
11171 * woman.el (woman2-process-escapes): Only consume the newline if
11172 the filler character is on a line by itself (Bug#5729).
11174 2010-03-24 Kenichi Handa <handa@m17n.org>
11176 * language/indian.el (devanagari-composable-pattern): Add more
11179 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
11181 * net/trampver.el: Update release number.
11183 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
11185 * net/tramp.el (tramp-find-executable):
11186 Use `tramp-get-connection-buffer'. Make the regexp for checking
11187 output of "wc -l" more robust.
11188 (tramp-find-shell): Use another shell but /bin/sh on OpenSolaris.
11189 (tramp-open-connection-setup-interactive-shell): Remove workaround
11190 for OpenSolaris bug, it is not needed anymore.
11192 2010-03-24 Glenn Morris <rgm@gnu.org>
11194 * emacs-lisp/cl-macs.el (defsubst*): Add autoload cookie. (Bug#4427)
11196 2010-03-24 Wilson Snyder <wsnyder@wsnyder.org>
11198 * files.el (auto-mode-alist): Accept more verilog file patterns.
11200 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
11202 * vc-dir.el (vc-dir-headers): Abbreviate the working dir.
11204 2010-03-24 Glenn Morris <rgm@gnu.org>
11206 * vc-bzr.el (vc-bzr-log-edit-mode): Add --fixes support to
11207 log-edit-before-checkin-process.
11209 * vc.el (vc-modify-change-comment): Pass MODE to vc-start-logentry.
11211 * vc.el, vc-bzr.el, vc-hg.el (log-edit-mode): Declare.
11213 * vc-dispatcher.el (vc-start-logentry): Doc fix.
11214 (log-view-process-buffer, log-edit-extra-flags): Declare.
11216 * log-edit.el (log-edit-before-checkin-process): Doc fix.
11218 2010-03-23 Sam Steingold <sds@gnu.org>
11220 Fix bug#5620: recalculate all markers on compilation buffer
11221 modifications, not on file modifications.
11222 * progmodes/compile.el (compilation-buffer-modtime): New buffer-local
11223 variable: the buffer modification time, for buffers not associated with
11225 (compilation-mode): Create it.
11226 (compilation-filter): Update it.
11227 (compilation-next-error-function): Use it instead of
11228 `visited-file-modtime' for timestamp.
11230 2010-03-23 Juri Linkov <juri@jurta.org>
11232 Implement Occur multi-line matches.
11233 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01044.html
11235 * replace.el (occur): Doc fix.
11236 (occur-engine): Set `begpt' to the beginning of the first line.
11237 Set `endpt' to the end of the last match line. At first, count
11238 line numbers between `origpt' and `begpt'. Split out code from
11239 `out-line' variable to new let-bindings `match-prefix' and
11240 `match-str'. In `out-line' add non-numeric prefix to all
11241 non-first lines of multi-line matches. Finally, count lines
11242 between `begpt' and `endpt' and add to `lines'.
11244 2010-03-23 Juri Linkov <juri@jurta.org>
11246 * replace.el (occur-accumulate-lines, occur-engine):
11247 Use `occur-engine-line' instead of duplicate code.
11248 (occur-engine-line): New function created from duplicate code
11249 in `occur-accumulate-lines' and `occur-engine'.
11251 * replace.el (occur-engine-line): Add optional arg `keep-props'.
11252 (occur-accumulate-lines, occur-engine): Add arg `keep-props'.
11254 2010-03-23 Juri Linkov <juri@jurta.org>
11256 * finder.el: Remove TODO tasks.
11258 * info.el (Info-finder-find-node): Add node "all"
11259 with all package info. Handle a list of multiple keywords
11260 separated by comma.
11261 (info-finder): In interactive use with a prefix argument,
11262 use `completing-read-multiple' to read a list of keywords
11263 separated by comma.
11265 2010-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
11267 Add a new completion style `substring'.
11268 * minibuffer.el (completion-basic--pattern): New function.
11269 (completion-basic-try-completion, completion-basic-all-completions):
11271 (completion-substring--all-completions)
11272 (completion-substring-try-completion)
11273 (completion-substring-all-completions): New functions.
11274 (completion-styles-alist): New style `substring'.
11276 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
11278 Get rid of .elc files after removal of the corresponding .el.
11279 * Makefile.in (compile-clean): New target.
11280 (compile-main): Use it.
11282 2010-03-22 Jan Djärv <jan.h.d@swipnet.se>
11284 * Makefile.in (compile-main): cd to $(lisp) in a sub-shell, so we
11285 don't do make there. When compiling with separate object dir, there
11286 is no Makefile there.
11288 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
11290 Get rid of the ELCFILES abomination, again.
11291 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
11292 (all, compile): Don't call compile-last.
11293 (compile-main): Build the "elcfiles" list dynamically.
11294 (compile-targets): New (internal) target.
11296 2010-03-21 Andreas Schwab <schwab@linux-m68k.org>
11298 * Makefile.in (top_srcdir): Define.
11299 (abs_top_builddir): Define.
11300 (srcdir): Don't append `/..'.
11301 (EMACS): Use ${abs_top_builddir}.
11302 (all, compile, compile-always, compile-last): Don't set emacswd.
11303 (update-subdirs, update-authors): Use $(top_srcdir) instead of
11305 (lisp): Use $(srcdir) instead of @srcdir@.
11307 2010-03-21 Juri Linkov <juri@jurta.org>
11309 Fix message of multi-line occur regexps and multi-buffer header lines.
11310 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00457.html
11312 * replace.el (occur-1): Don't display regexp if it is longer
11313 than window-width. Use `query-replace-descr' to display regexp.
11314 (occur-engine): Don't display regexp in the buffer header for
11315 multi-buffer occur. Display a separate header line with total
11316 match count and regexp for multi-buffer occur.
11317 Use `query-replace-descr' to display regexp.
11319 2010-03-20 Teodor Zlatanov <tzz@lifelogs.com>
11321 * net/secrets.el: Fix parenthesis.
11322 (secrets-enabled): Fix parenthesis.
11324 2010-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
11326 Use more relative file and directory names.
11327 * Makefile.in (EMACS): Arrange for it to work when we chdir.
11328 (setwins, setwins_almost, setwins_for_subdirs):
11329 Don't `cd'; output relative names.
11330 (all, compile, compile-always, compile-last): Set emacswd.
11331 (custom-deps, finder-data, autoloads, update-subdirs, compile-last):
11332 Just cd to the lisp source dir so we can use relative file names.
11334 * outline.el (hide-sublevels): Unfix the paren non-typo! (bug#5738).
11336 2010-03-20 Glenn Morris <rgm@gnu.org>
11338 * textmodes/rst.el: Use faces for font-lock customization, and make the
11339 old -face variables obsolete.
11340 (rst-block, rst-external, rst-definition, rst-directive, rst-comment)
11341 (rst-emphasis1, rst-emphasis2, rst-literal, rst-reference): New faces.
11342 (rst-block-face, rst-external-face, rst-definition-face)
11343 (rst-directive-face, rst-comment-face, rst-emphasis1-face)
11344 (rst-emphasis2-face, rst-literal-face, rst-reference-face):
11346 (rst-font-lock-keywords-function): Update for above changes.
11348 2010-03-20 Juri Linkov <juri@jurta.org>
11351 * obsolete/s-region.el: Move to obsolete.
11353 2010-03-19 Juanma Barranquero <lekktu@gmail.com>
11355 * vc-dispatcher.el (vc-do-command): Remove reference to `vc-path'.
11357 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
11359 * vc-hooks.el (vc-path): Remove variable and obsolete declaration.
11361 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
11363 Add special markup processing for commit logs.
11364 * log-edit.el (log-edit-extra-flags): New variable.
11365 (log-edit): Add new argument MODE. Use that mode when non-nil
11366 instead of the log-view-mode.
11367 (log-view-process-buffer): New function.
11369 * vc.el: Document that the checkin method takes optional
11370 arguments. Document new backend specific method: log-view-mode.
11371 (vc-default-log-edit-mode): New function.
11372 (vc-checkin): Use a backend specific log-view-mode.
11373 Pass extra arguments to the checkin method.
11374 (vc-modify-change-comment): Pass a dummy extra argument.
11376 * vc-dispatcher.el (vc-log-edit): Add a mode argument, pass it to
11378 (vc-start-logentry): Add a mode argument, pass it to vc-log-edit.
11379 (vc-finish-logentry): Process the log buffer before passing it
11380 down. Pass log-edit-extra-flags.
11382 * vc-bzr.el (vc-bzr-checkin): Pass extra arguments to the commit
11384 (log-edit-extra-flags, log-edit-before-checkin-process):
11387 * vc-hg.el (vc-hg-checkin): Pass extra arguments to the commit
11389 (log-edit-extra-flags, log-edit-before-checkin-process):
11391 (vc-hg-log-edit-mode): New derived mode.
11393 * vc-arch.el (vc-arch-checkin):
11394 * vc-cvs.el (vc-cvs-checkin):
11395 * vc-git.el (vc-git-checkin):
11396 * vc-mtn.el (vc-mtn-checkin):
11397 * vc-rcs.el (vc-rcs-checkin):
11398 * vc-sccs.el (vc-sccs-checkin):
11399 * vc-svn.el (vc-svn-checkin): Add an optional ignored argument.
11401 2010-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
11403 * outline.el (hide-sublevels): Don't hide trailing newline (and fix
11406 2010-03-19 Glenn Morris <rgm@gnu.org>
11408 * password-cache.el (password-cache, password-cache-expiry): Autoload.
11410 2010-03-18 Glenn Morris <rgm@gnu.org>
11412 * emacs-lisp/autoload.el (autoload-rubric): Doc fix.
11414 * replace.el (query-replace-history): Give it a doc string.
11415 (map-query-replace-regexp): Use query-replace-from-history-variable
11416 and query-replace-to-history-variable.
11418 * mail/hashcash.el (declare-function): Remove duplicate definition.
11420 * mail/emacsbug.el (report-emacs-bug-pretest-address):
11421 Make it an obsolete alias for report-emacs-bug-address.
11422 (message-strip-special-text-properties): Declare.
11423 (report-emacs-bug): Remove test for a pretest bug address.
11424 Combine message-mode-specific code.
11426 * mail/supercite.el: Don't require sendmail.
11427 (mh-in-header-p): Declare rather than using with-no-warnings.
11428 (sc-no-blank-line-or-header): Use rfc822-goto-eoh rather than
11429 mail-header-end. Don't bind mysterious variable `kill-lines-magic'.
11431 * calendar/cal-french.el: Convert to utf-8.
11433 * files.el (interpreter-mode-alist): Use emacs-lisp-mode for
11436 2010-03-16 Michael Albinus <michael.albinus@gmx.de>
11438 * net/secrets.el (secrets-enabled): New variable. Use it instead
11441 2010-03-15 Michael Albinus <michael.albinus@gmx.de>
11443 * net/secrets.el (top): Register the D-Bus signals only when the
11444 service "org.freedesktop.secrets" can be pinged.
11445 Provide subfeature `enabled'.
11447 2010-03-14 Juri Linkov <juri@jurta.org>
11449 Add finder unknown keywords.
11451 * finder.el (finder-unknown-keywords): New function.
11453 * info.el (Info-finder-find-node): Use `finder-unknown-keywords'
11454 to create a Finder node with unknown keywords.
11456 2010-03-14 Juri Linkov <juri@jurta.org>
11458 * finder.el (finder-compile-keywords): Replace `princ' with
11459 `prin1' on a list of symbols interned from keyword strings.
11461 * emacs-lisp/lisp-mnt.el (lm-keywords-list): If `keywords' contains
11462 a comma, then split keywords using a comma and optional whitespace.
11463 Otherwise, split by whitespace.
11471 * progmodes/mixal-mode.el: Fix keywords.
11473 2010-03-13 Michael Albinus <michael.albinus@gmx.de>
11475 * Makefile.in (ELCFILES): Add net/secrets.elc.
11477 * net/secrets.el: New file.
11479 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
11481 * facemenu.el (list-colors-display, list-colors-print): New arg
11482 callback. Use it to allow selecting colors.
11484 * wid-edit.el (widget-image-insert): Insert image prop even if the
11485 current display is non-graphic.
11486 (widget-field-value-set): New fun.
11487 (editable-field): Use it.
11488 (widget-field-value-get): Clean up unused var.
11489 (widget-color-value-create, widget-color--choose-action):
11490 New funs. Allow using list-colors-display to choose color.
11492 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
11494 * cus-edit.el: Resort topmost custom groups.
11495 (custom-buffer-sort-alphabetically): Default to t.
11496 (customize-apropos): Use apropos-parse-pattern.
11497 (custom-search-field): New var.
11498 (custom-buffer-create-internal): Add custom-apropos search field.
11499 (custom-add-parent-links): Don't display parent doc.
11500 (custom-group-value-create): Don't sort top-level custom group.
11501 (custom-magic-value-create): Show visibility button before option name.
11503 (custom-variable-state): New fun, from custom-variable-state-set.
11504 (custom-variable-state-set): Use it.
11505 (custom-group-value-create): Hide options with standard values
11506 using the :hidden-states property. Use progress reporter.
11508 (custom-show): Simplify.
11509 (custom-visibility): Disable images by default.
11510 (custom-variable): New property :hidden-states.
11511 (custom-variable-value-create): Enable images for
11512 custom-visibility widgets. Use :hidden-states property to
11513 determine initial visibility.
11515 * wid-edit.el (widget-image-find): Give images center ascent.
11516 (visibility): Add :on-image and :off-image properties.
11517 (widget-visibility-value-create): Use them.
11519 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
11521 * cus-edit.el (processes): Remove from development group.
11522 (oop, hypermedia): Delete group.
11523 (comm): Promote to top-level group.
11525 * net/browse-url.el (browse-url):
11526 * net/xesam.el (xesam):
11527 * net/tramp.el (tramp):
11528 * net/goto-addr.el (goto-address):
11529 * net/ange-ftp.el (ange-ftp): Put in comm group.
11531 * view.el (view): Remove from editing group.
11533 * uniquify.el (uniquify): Put in files group.
11535 * net/browse-url.el (browse-url):
11536 * ps-print.el (postscript): Put in external group.
11538 * cus-edit.el (outlines):
11539 * textmodes/text-mode.el (text-mode-hook):
11540 * textmodes/table.el (table):
11541 * textmodes/picture.el (picture):
11542 * outline.el (outlines): Put in wp group.
11544 * nxml/nxml-mode.el (nxml): Remove from wp group.
11546 * net/tramp-imap.el (tramp-imap): Put in tramp group.
11548 * mail/metamail.el (metamail): Remove from hypermedia group.
11550 * cus-edit.el (abbrev):
11551 * whitespace.el (whitespace):
11552 * vcursor.el (vcursor):
11553 * reveal.el (reveal):
11554 * hl-line.el (hl-line): Put in convenience group.
11556 * epg-config.el (epg): Put in data group.
11558 * emulation/pc-select.el (pc-select): Put in emulations group.
11560 * calculator.el (calculator): Put in applications group.
11562 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
11564 Add .dir-locals.el support for file-less buffers.
11565 * files.el (hack-local-variables): Split out code to apply local
11566 variable settings ...
11567 (hack-local-variables-apply): ... here. New function.
11568 (hack-dir-local-variables): Use the default directory for when the
11569 buffer does not have an associated file.
11570 (hack-dir-local-variables-non-file-buffer): New function.
11571 * diff-mode.el (diff-mode):
11572 * vc-annotate.el (vc-annotate-mode):
11573 * vc-dir.el (vc-dir-mode):
11574 * log-edit.el (log-edit-mode):
11575 * log-view.el (log-view-mode): Call hack-dir-local-variables-non-file-buffer.
11577 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
11579 Add support for shelving snapshots and for showing shelves.
11580 * vc-bzr.el (vc-bzr-shelve-show, vc-bzr-shelve-show-at-point)
11581 (vc-bzr-shelve-apply-and-keep-at-point, vc-bzr-shelve-snapshot):
11583 (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
11584 (vc-bzr-extra-menu-map): Map them.
11586 2010-03-11 Glenn Morris <rgm@gnu.org>
11588 * cus-edit.el (customize-changed-options-previous-release):
11591 * image.el (image-animate-max-time): Fix :version tag.
11593 2010-03-10 Chong Yidong <cyd@stupidchicken.com>
11597 2010-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
11599 * vc-git.el (vc-git-revision-table): Include remote branches.
11601 2010-03-10 Kim F. Storm <storm@cua.dk>
11603 Animated image API.
11604 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00211.html
11606 * image.el (image-animate-max-time): New defcustom.
11607 (image-animated-types): New defconst.
11608 (create-animated-image, image-animate-timer)
11609 (image-animate-start, image-animate-stop, image-animate-timeout)
11610 (image-animated-p): New functions.
11612 * image-mode.el (image-toggle-display-image):
11613 Replace `create-image' with `create-animated-image'.
11615 2010-03-09 Miles Bader <miles@gnu.org>
11617 * vc-git.el (vc-git-print-log): Use "tformat:" for shortlog,
11618 instead of "format:"; this ensures that the output is
11619 newline-terminated.
11621 2010-03-08 Chong Yidong <cyd@stupidchicken.com>
11623 * mail/rfc822.el (rfc822-addresses): Use nested catches to ensure
11624 that all errors are caught, and that the return value is always a
11627 2010-03-08 Kenichi Handa <handa@m17n.org>
11629 * language/misc-lang.el (windows-1256): New coding system.
11630 (cp1256): New alias of windows-1256 (bug#5690).
11632 2010-03-07 Andreas Schwab <schwab@linux-m68k.org>
11634 * mail/rfc822.el (rfc822-addresses): Move catch clause down around
11635 call to rfc822-bad-address. (Bug#5692)
11637 2010-03-07 Štěpán Němec <stepnem@gmail.com> (tiny change)
11639 * vc-git.el (vc-git-annotate-extract-revision-at-line):
11640 Use vc-git-root as default directory for revision path (Bug#5657).
11642 2010-03-06 Chong Yidong <cyd@stupidchicken.com>
11644 * calculator.el (calculator): Don't bind split-window-keep-point
11647 2010-03-06 Stefan Monnier <monnier@iro.umontreal.ca>
11649 * vc-git.el: Re-flow to fit into 80 columns.
11650 (vc-git-after-dir-status-stage, vc-git-dir-status-goto-stage):
11651 Remove spurious `quote' element in each case alternative.
11652 (vc-git-show-log-entry): Use prog1.
11653 (vc-git-after-dir-status-stage): Remove unused var `remaining'.
11655 2010-03-05 Stefan Monnier <monnier@iro.umontreal.ca>
11657 * man.el (Man-files-regexp): Tighten up the regexp (bug#5686).
11659 2010-03-03 Chong Yidong <cyd@stupidchicken.com>
11661 * macros.el (insert-kbd-macro): Look up keyboard macro using the
11662 definition, not the name (Bug#5481).
11664 2010-03-03 Štěpán Němec <stepnem@gmail.com> (tiny change)
11666 * subr.el (momentary-string-display): Don't overwrite the MESSAGE
11667 argument with a local variable. (Bug#5670)
11669 2010-03-02 Juri Linkov <juri@jurta.org>
11671 * info.el (Info-index-next): Decrement line number by 2. (Bug#5652)
11673 2010-03-02 Michael Albinus <michael.albinus@gmx.de>
11675 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Fix an
11676 error when FILENAME and NEWNAME are existing remote directories.
11678 * net/tramp-compat.el (tramp-compat-make-temp-file): Add optional
11679 parameter DIR-FLAG.
11681 2010-03-02 Glenn Morris <rgm@gnu.org>
11683 * calendar/cal-hebrew.el (holiday-hebrew-passover): Fix date
11684 of Yom HaAtzma'ut when it falls on a Monday (rule changed in 2004).
11686 2010-03-01 Kenichi Handa <handa@m17n.org>
11688 * language/burmese.el (burmese-composable-pattern): Rename from
11689 myanmar-composable-pattern.
11691 * international/characters.el (script-list):
11692 * international/fontset.el (script-representative-chars):
11693 Change myanmar to burmese.
11694 (otf-script-alist): Likewise.
11695 (setup-default-fontset): Likewise. Re-fix :otf spec.
11697 2010-02-28 Katsumi Yamaoka <yamaoka@jpl.org>
11699 * menu-bar.el (menu-bar-manuals-menu): Fix typo.
11701 2010-02-28 Jan Djärv <jan.h.d@swipnet.se>
11703 * scroll-bar.el (scroll-bar-drag-1): Add save-excursion, bug #5654.
11705 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
11707 * net/tramp.el (tramp-handle-write-region): START can be a string.
11708 Take care in the checks. Reported by Dan Davison
11709 <davison@stats.ox.ac.uk>.
11711 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
11713 * net/dbus.el (dbus-introspect, dbus-get-property)
11714 (dbus-set-property, dbus-get-all-properties):
11715 Use `dbus-call-method' when noninteractive. (Bug#5645)
11717 2010-02-28 Chong Yidong <cyd@stupidchicken.com>
11719 * textmodes/reftex-toc.el (reftex-toc-promote-prepare):
11720 * emacs-lisp/elint.el (elint-add-required-env):
11721 * calendar/icalendar.el (icalendar--add-diary-entry):
11722 * calc/calcalg2.el (math-tracing-integral):
11723 * files.el (recover-session-finish): Use with-current-buffer
11724 instead of save-excursion.
11726 2010-02-27 Stefan Monnier <monnier@iro.umontreal.ca>
11728 Fix in-buffer completion when after-change-functions modify the buffer.
11729 * minibuffer.el (completion--replace): New function.
11730 (completion--do-completion): Use it and use relative movement.
11732 2010-02-27 Chong Yidong <cyd@stupidchicken.com>
11734 * international/fontset.el (setup-default-fontset): Fix :otf spec.
11736 2010-02-27 Jeremy Whitlock <jcscoobyrs@gmail.com> (tiny change)
11738 * progmodes/python.el (python-pdbtrack-stack-entry-regexp):
11739 Allow the characters _<> in the stack entry (Bug#5653).
11741 2010-02-26 Kenichi Handa <handa@m17n.org>
11743 * language/burmese.el: Fix entries in composition-function-table.
11744 (myanmar-composable-pattern): New variable.
11746 * international/fontset.el (setup-default-fontset): Add an entry
11749 * international/characters.el (script-list): Add Myanmar
11752 2010-02-26 Glenn Morris <rgm@gnu.org>
11754 * custom.el (custom-initialize-delay): Doc fix.
11756 * mail/sendmail.el (send-mail-function): Autoload the call
11757 to custom-initialize-delay, not otherwise preserved in loaddefs.el.
11759 2010-02-24 Chong Yidong <cyd@stupidchicken.com>
11761 * files.el (hack-local-variables-filter): For eval forms, also
11762 check safe-local-variable-p (Bug#5636).
11764 2010-02-22 Michael Albinus <michael.albinus@gmx.de>
11766 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Protect
11767 setting the modes by `ignore-errors'. It might fail, for example
11768 if the file is not owned by the user but the group.
11769 (tramp-handle-write-region): Ensure, that `tmpfile' is always readable.
11771 2010-02-21 Chong Yidong <cyd@stupidchicken.com>
11773 * files.el (directory-listing-before-filename-regexp):
11774 Use stricter matching for iso-style dates, to avoid false matches with
11775 date-like filenames (Bug#5597).
11777 * htmlfontify.el (htmlfontify): Doc fix.
11779 * eshell/eshell.el (eshell): Doc fix.
11781 * startup.el (fancy-about-screen): In mode-line, apply
11782 mode-line-buffer-id face only to the buffer name (Bug#5613).
11784 2010-02-20 Kevin Ryde <user42@zip.com.au>
11786 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11787 In `watcom' anchor regexp to start of line, to avoid slowness
11790 2010-02-20 Eli Zaretskii <eliz@gnu.org>
11792 * subr.el (remove-yank-excluded-properties): Explain in a comment
11793 why `category' property is removed.
11795 2010-02-19 Chong Yidong <cyd@stupidchicken.com>
11797 * isearch.el (isearch-update-post-hook, isearch-update):
11798 Revert 2010-02-17 change.
11800 2010-02-19 Ulf Jasper <ulf.jasper@web.de>
11802 * calendar/icalendar.el (icalendar--convert-ordinary-to-ical)
11803 (icalendar--convert-weekly-to-ical)
11804 (icalendar--convert-yearly-to-ical)
11805 (icalendar--convert-block-to-ical)
11806 (icalendar--convert-cyclic-to-ical)
11807 (icalendar--convert-anniversary-to-ical): Take care of time
11808 specifications where hour has 1-digit only (Bug#5549).
11810 2010-02-19 Nick Roberts <nickrob@snap.net.nz>
11812 * progmodes/gdb-ui.el (gdb-assembler-handler): Accommodate change
11813 of disassemble output in GDB 7.1.
11815 2010-02-19 Glenn Morris <rgm@gnu.org>
11817 * progmodes/f90.el (f90-electric-insert): Give it a delete-selection
11818 property. (Bug#5593)
11820 2010-02-18 Sam Steingold <sds@gnu.org>
11822 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
11824 2010-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
11826 Use abbreviated file names in bookmarks (bug#5591).
11827 * bookmark.el (bookmark-maybe-load-default-file): Remove redundant
11828 calls to expand-file-name.
11829 (bookmark-relocate): Use abbreviated file names in bookmarks.
11830 (bookmark-load): Use abbreviated file names in messages.
11832 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
11834 * net/tramp.el (tramp-handle-directory-files): When FULL, do not
11835 expand "." and "..". Reported by Thierry Volpiatto
11836 <thierry.volpiatto@gmail.com>.
11838 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
11840 * net/tramp.el (tramp-handle-insert-file-contents): Set always the
11841 permissions of the temporary file to "0600". In case the remote
11842 file has no read permissions for the owner, there might be
11843 problems otherwise. Reported by Ole Laursen <olau@iola.dk>.
11845 22010-02-18 Glenn Morris <rgm@gnu.org>
11847 * emacs-lisp/authors.el (authors-renamed-files-alist):
11848 Add entries for INSTALL.CVS.
11850 2010-02-17 Mark A. Hershberger <mah@everybody.org>
11852 * vc-bzr.el: Fix typo in Known Bugs section.
11854 * isearch.el (isearch-update-post-hook): New hook.
11855 (isearch-update): Use the new hook.
11857 2010-02-16 Michael Albinus <michael.albinus@gmx.de>
11859 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
11860 Fix errors in copying directories.
11861 (tramp-handle-add-name-to-file, tramp-handle-copy-directory)
11862 (tramp-do-copy-or-rename-file, tramp-handle-delete-directory)
11863 (tramp-handle-delete-file)
11864 (tramp-handle-dired-recursive-delete-directory)
11865 (tramp-handle-write-region): Flush also the cache for the upper
11868 2010-02-16 Chong Yidong <cyd@stupidchicken.com>
11870 * simple.el (save-interprogram-paste-before-kill): Doc fix.
11872 * cus-edit.el (hardware): Doc fix.
11874 * man.el (man): Add to external custom group.
11876 * delim-col.el (columns): Move to wp custom group.
11878 * doc-view.el (doc-view): Add to data custom group.
11880 * nxml/nxml-mode.el (nxml-faces): Remove from font-lock-faces group.
11882 * textmodes/flyspell.el (flyspell-word): Obey the offset specified
11883 by ispell-parse-output (Bug#5575).
11885 2010-02-16 Kenichi Handa <handa@m17n.org>
11887 * international/ja-dic-cnv.el (iso-2022-7bit-short): Delete it.
11888 (skkdic-convert-okuri-ari): Ignore lines starting with '>'.
11889 (skkdic-convert): Use `euc-japan' coding system for writing.
11891 2010-02-16 Glenn Morris <rgm@gnu.org>
11893 * textmodes/tex-mode.el (tex-bibtex-file): Expand the result of
11894 tex-main-file before using it. (Bug#5562)
11896 2010-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
11898 * emacs-lisp/advice.el (ad-compile-function): Suppress byte-compiler
11899 warnings, since it is annoying for the user to see them each time he
11902 2010-02-15 Michael Albinus <michael.albinus@gmx.de>
11904 * net/tramp.el (tramp-process-actions, tramp-read-passwd):
11905 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection): Use VEC
11906 instead of PROC for caching "first-password-request". Otherwise,
11907 new processes would not profit from passwords already entered.
11909 * net/tramp-cache.el (tramp-dump-connection-properties):
11910 Don't save "first-password-request" property.
11912 2010-02-14 Juanma Barranquero <lekktu@gmail.com>
11914 * outline.el (outline-head-from-level):
11915 * simple.el (with-wrapper-hook):
11916 * emacs-lisp/elint.el (elint-extra-errors, elint-current-buffer)
11917 (elint-defun, elint-buffer-env, elint-top-form-logged)
11918 (elint-unbound-variable):
11919 * textmodes/reftex-toc.el (reftex-toc-newhead-from-alist):
11920 Fix typos in docstrings.
11922 2010-02-14 Michael Albinus <michael.albinus@gmx.de>
11924 * files.el (insert-directory): When WILDCARD-REGEXP and
11925 FULL-DIRECTORY-P are nil, insert the file entry instead of the
11926 whole directory. (Bug#5551)
11928 * net/ange-ftp.el (ange-ftp-insert-directory): Insert " " for
11929 dired's alignment sanity. (Bug#5516)
11931 2010-02-14 Juri Linkov <juri@jurta.org>
11933 * man.el (Man-fontify-manpage, Man-cleanup-manpage):
11934 Remove remaining ^H with their preceding chars. (Bug#5566)
11936 2010-02-13 Glenn Morris <rgm@gnu.org>
11938 * simple.el (transpose-subr): Give it a doc-string.
11940 * textmodes/paragraphs.el (transpose-paragraphs, transpose-sentences):
11943 2010-02-12 Juri Linkov <juri@jurta.org>
11945 * arc-mode.el (archive-unique-fname): Make directories for nested
11946 archives. (Bug#5540)
11948 2010-02-12 Juri Linkov <juri@jurta.org>
11950 * ffap.el (dired-at-point): Fix docstring. (Bug#5565)
11952 2010-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
11954 * subr.el (copy-overlay): Handle deleted overlays.
11956 * man.el (Man-completion-table): Don't signal an error if we can't run
11957 manual-program (bug#4056).
11959 2010-02-10 Juanma Barranquero <lekktu@gmail.com>
11961 * textmodes/artist.el (artist-mt): Fix typos in docstring.
11963 2010-02-10 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11965 * info.el (Info-bookmark-jump): Simplify.
11967 * bookmark.el (bookmark-handle-bookmark): Catch the right error.
11968 (bookmark-default-handler): Accept new bookmark field `buffer'.
11970 2010-02-10 Chong Yidong <cyd@stupidchicken.com>
11972 * iswitchb.el (iswitchb-completions): Revert last change.
11974 2010-02-10 Michael Albinus <michael.albinus@gmx.de>
11976 * ls-lisp.el (ls-lisp-insert-directory): When WILDCARD-REGEXP and
11977 FULL-DIRECTORY-P are nil, and FILE is absolute, expand it.
11978 This prevents file names like "~/" being listed literally.
11980 2010-02-10 Dan Nicolaescu <dann@ics.uci.edu>
11982 * term/xterm.el (xterm-maybe-set-dark-background-mode):
11983 Remove dead code. (Bug#5546)
11985 2010-02-09 Chong Yidong <cyd@stupidchicken.com>
11987 * eshell/em-ls.el (eshell-ls-applicable): Frob file attributes
11988 correctly (Bug#5548).
11990 2010-02-08 Jose E. Marchesi <jemarch@gnu.org>
11992 * progmodes/ada-mode.el (ada-in-numeric-literal-p): New function.
11993 (ada-adjust-case): Don't adjust case in hexadecimal number literals.
11995 2010-02-08 Kenichi Handa <handa@m17n.org>
11997 * international/mule-util.el (with-coding-priority): Add autoload
11998 cookie for putting `lisp-indent-function'.
12000 2010-02-07 Glenn Morris <rgm@gnu.org>
12002 * progmodes/f90.el (f90-font-lock-keywords-1, f90-font-lock-keywords-2):
12003 Move F2003 named interfaces from keywords-2 to keywords-1, and
12004 use function-name-face rather than constant-face.
12005 Simplify "abstract interface" regexp.
12007 2010-02-07 Chong Yidong <cyd@stupidchicken.com>
12009 * eshell/esh-util.el (eshell-file-attributes): New optional arg
12010 ID-FORMAT. Pass it to `file-attributes'.
12012 * eshell/em-ls.el (eshell-do-ls): Use it (Bug#5528).
12014 2010-02-07 sj <prime.wizard+emacs@gmail.com> (tiny change)
12016 * faces.el (set-face-attribute): Allow calling
12017 internal-set-lisp-face-attribute with 'unspecified family and
12018 foundry argument (Bug#5536).
12020 2010-02-07 Glenn Morris <rgm@gnu.org>
12022 * progmodes/f90.el (f90-font-lock-keywords-2)
12023 (f90-looking-at-type-like, f90-looking-at-program-block-end):
12024 Handle F2003 named interfaces.
12026 2010-02-06 Chong Yidong <cyd@stupidchicken.com>
12028 * progmodes/cc-mode.el (c-common-init): Bind temporary variables
12029 beg and end before calling c-get-state-before-change-functions.
12031 2010-02-06 Dan Nicolaescu <dann@ics.uci.edu>
12033 * vc-bzr.el (vc-bzr-dir-extra-headers):
12034 Disable the pending merges header.
12036 2010-02-05 Juri Linkov <juri@jurta.org>
12038 * doc-view.el (doc-view-mode):
12039 * image-mode.el (image-mode): Put property mode-class=special.
12042 2010-02-05 Mark A. Hershberger <mah@everybody.org>
12044 * vc-svn.el (vc-svn-revision-table): New function.
12046 2010-02-05 Michael Albinus <michael.albinus@gmx.de>
12048 * net/ange-ftp.el (ange-ftp-insert-directory):
12049 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
12050 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
12051 Handle also directories. (Bug#5478)
12053 2010-02-05 Glenn Morris <rgm@gnu.org>
12055 * progmodes/f90.el (f90-font-lock-keywords-2): Fix `enum'.
12057 2010-02-05 Chong Yidong <cyd@stupidchicken.com>
12059 * startup.el (command-line-1): Convert options beginning with a
12060 single dash as well (Bug#5519).
12062 2010-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
12064 Make `initials' completion work for /hh -> /home/horn again (bug#5524).
12065 * minibuffer.el (completion-initials-expand): Only check the presence
12066 of delims *within* the boundaries, since otherwise the / delim is
12067 always found for files.
12069 Fix up various corner case problems.
12070 * doc-view.el (doc-view-last-page-number): New function.
12071 (doc-view-mode, doc-view-last-page, doc-view-goto-page): Use it.
12072 (doc-view-goto-page): Avoid inf-loops when the conversion fails.
12073 (doc-view-kill-proc): Avoid inf-loop in freak cases.
12074 (doc-view-reconvert-doc): Use the new recursive delete-directory.
12075 (doc-view-convert-current-doc): Don't create the resolution.el file
12077 (doc-view-pdf/ps->png): Do it here instead.
12078 (doc-view-already-converted-p): Check that resolution.el is present.
12079 (doc-view-pdf->png): Don't rely on doc-view-pdf/ps->png for the few
12080 windows that are not yet showing images.
12082 2010-02-04 Michael Albinus <michael.albinus@gmx.de>
12084 * dired.el (dired-revert): If DIRED-DIRECTORY is a cons cell, call
12085 `dired-uncache' for every elemnt which is an absolute file name.
12087 * net/tramp.el (tramp-handle-dired-uncache): When DIR is not a
12088 directory, handle its directory component.
12089 (tramp-handle-file-remote-p): Let-bind `tramp-verbose' to 3; this
12090 function is called permanently and creates noise, otherwise.
12092 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
12093 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
12094 Handle the case, FILENAME is not in `default-directory'. (Bug#5478)
12096 2010-02-04 David Burger <dburger@google.com> (tiny change)
12098 * macros.el (apply-macro-to-region-lines):
12099 Minor simplification. (Bug#5485)
12101 2010-02-04 Glenn Morris <rgm@gnu.org>
12103 * mail/rmail.el (rmail-show-message-1): Handle malformed
12104 quoted-printable text. (Bug#5441)
12106 * mail/mail-utils.el (mail-unquote-printable-region): Doc fix.
12108 * simple.el (visual-line-mode): Capitalize lighter.
12110 2010-02-03 John Wiegley <jwiegley@gmail.com>
12112 * iswitchb.el (iswitchb-completions): Add bookmark files to the
12113 list of files considered for "virtual buffer" completions.
12115 2010-02-03 Michael Albinus <michael.albinus@gmx.de>
12117 * net/ange-ftp.el (ange-ftp-insert-directory): Parse directory
12118 also in case of (and (not full) (not wildcard)). This is needed
12119 when dired is called with a list of files, which are not in
12120 `default-directory'. (Bug#5478)
12122 2010-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
12124 * vc-hooks.el (vc-path): Make it an obsolete var, rather than function.
12126 2010-02-02 Juri Linkov <juri@jurta.org>
12128 * textmodes/ispell.el (ispell-message-text-end): Remove final newline
12129 from unidiff to allow function-line after @@.
12131 2010-02-02 Juri Linkov <juri@jurta.org>
12133 * ediff-util.el (ediff-file-checked-in-p): Replace '(nil CVS) by
12134 '(RCS SCCS) with inverted condition.
12136 2010-02-02 Michael Albinus <michael.albinus@gmx.de>
12138 * net/ange-ftp.el (ange-ftp-skip-msgs): Ignore all ""^500 .*AUTH"
12141 2010-02-01 Juri Linkov <juri@jurta.org>
12143 * arc-mode.el (archive-zip-extract): Use `member-ignore-case' to
12144 compare with "pkunzip" and "pkzip" instead of only "pkzip".
12145 In the `archive-extract-by-stdout' branch use `shell-quote-argument'
12146 only when (car archive-zip-extract) is "unzip". (Bug#5475)
12148 2010-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
12150 * doc-view.el (doc-view-new-window-function): Be a bit more defensive.
12151 (doc-view-revert-buffer): New command.
12152 (doc-view-mode-map): Use it.
12154 2010-02-01 Dan Nicolaescu <dann@ics.uci.edu>
12156 * vc-bzr.el (vc-bzr-dir-extra-headers): Add a header when a
12157 pending merge is detected.
12159 2010-01-31 Juri Linkov <juri@jurta.org>
12161 * progmodes/grep.el (zrgrep): Call `grep-compute-defaults' at the
12162 beginning of interactive spec like all other grep commands do.
12163 Put "all" in front of "gz". (Bug#5260)
12165 2010-01-29 Dan Nicolaescu <dann@ics.uci.edu>
12167 * vc-bzr.el (vc-bzr-after-dir-status): Match another renaming indicator.
12169 2010-01-29 Chong Yidong <cyd@stupidchicken.com>
12171 * dirtrack.el (dirtrack): Warn instead of signalling error if the
12172 regexp is incorrect (Bug#5476).
12174 2010-01-29 Michael Albinus <michael.albinus@gmx.de>
12176 * net/tramp.el (tramp-handle-insert-directory): Handle also
12177 symlinks, when FILENAME is not in `default-directory'.
12179 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
12181 * net/ange-ftp.el (ange-ftp-insert-directory): Handle the case,
12182 FILE is not in `default-directory'. (Bug#5478)
12184 * net/tramp.el (tramp-handle-insert-directory): Simplify handling
12185 of SWITCHES. Handle the case, FILENAME is not in
12186 `default-directory'. (Bug#5478)
12187 (tramp-register-file-name-handlers): Add safe-magic property.
12189 2010-01-28 Chong Yidong <cyd@stupidchicken.com>
12191 * arc-mode.el (archive-zip-extract): Quote the argument passed to
12194 2010-01-28 Nil Geisweiller <ngeiswei@googlemail.com> (tiny change)
12196 * progmodes/flymake.el (flymake-allowed-file-name-masks)
12197 (flymake-master-make-header-init): Add other C++ filename masks.
12198 (flymake-find-possible-master-files)
12199 (flymake-check-patch-master-file-buffer): Doc fixes (Bug#5488).
12201 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
12203 Fix some busybox annoyances.
12205 * net/tramp.el (tramp-wrong-passwd-regexp): Add "Timeout, server
12206 not responding." string.
12207 (tramp-open-connection-setup-interactive-shell): Dump stty
12208 settings. Enable "neveropen" arg for all `tramp-send-command'
12209 calls. Handle "=" in variable values properly.
12210 (tramp-find-inline-encoding): Raise an error, when no encoding is
12212 (tramp-wait-for-output): Check, whether PROC buffer is available.
12213 Remove spurious " ^H" sequences, sent by busybox.
12214 (tramp-get-ls-command): Suppress coloring, if possible.
12216 2010-01-28 Glenn Morris <rgm@gnu.org>
12218 * vc-svn.el (vc-svn-update): Use "svn --non-interactive". (Bug#4280)
12220 * log-edit.el (log-edit-strip-single-file-name): Add missing
12221 :safe, :group, and :version tags.
12223 2010-01-27 Stephen Berman <stephen.berman@gmx.net>
12225 * calendar/diary-lib.el (diary-unhide-everything): Handle narrowed
12226 buffers. (Bug#5477)
12228 2010-01-27 David De La Harpe Golden <david@harpegolden.net>
12230 * files.el (delete-directory): Handle moving to trash without
12231 first doing recursion (Bug#5436).
12233 2010-01-26 Dan Nicolaescu <dann@ics.uci.edu>
12235 * vc-hooks.el (vc-path): Mark as obsolete.
12237 2010-01-25 Dan Nicolaescu <dann@ics.uci.edu>
12239 * vc-annotate.el (vc-annotate-revision-at-line): Compare file
12242 * vc-bzr.el (vc-bzr-print-log): Use the more compact --line option
12244 (vc-bzr-log-view-mode): Adjust regexp for the above change.
12246 2010-01-25 Mark A. Hershberger <mah@everybody.org>
12248 * progmodes/python.el: Replace reference to obsolete c-subword-mode.
12250 * vc-bzr.el (vc-bzr-revision-table): New function.
12252 2010-01-25 Eric Hanchrow <eric.hanchrow@gmail.com>
12254 * vc-git.el (vc-git-dir-status-goto-stage): Pass --relative to the
12255 diff-index command. This requires at least git-1.5.5. (Bug#1589).
12257 2010-01-24 Dan Nicolaescu <dann@ics.uci.edu>
12259 Remove support for adding --signoff on commit.
12260 Future support will use an incompatible generic mechanism.
12261 * vc-git.el (vc-git-add-signoff): Remove variable.
12262 (vc-git-toggle-signoff): Remove function.
12263 (vc-git-extra-menu-map): Do not bind vc-git-toggle-signoff.
12265 * term/xterm.el (xterm-maybe-set-dark-background-mode):
12266 Rename from xterm-set-background-mode. Return t if the background mode
12268 (terminal-init-xterm): Move tty-set-up-initial-frame-faces
12269 earlier, call it again in case the background mode has changed.
12271 2010-01-23 Dmitri Paduchikh <dpaduch@k66.ru> (tiny change)
12273 * emacs-lisp/advice.el (ad-set-orig-definition): Fix typo
12276 2010-01-23 Chong Yidong <cyd@stupidchicken.com>
12278 * emacs-lisp/assoc.el (aelement): Doc fix.
12279 (aput, adelete, amake): Use lexical-let (Bug#5450).
12281 2010-01-23 Stephen Leake <stephen_leake@member.fsf.org>
12283 * progmodes/ada-mode.el (ada-in-paramlist-p): Pragma syntax
12284 is the same as subprogram call, not declaration. (Bug#5435).
12286 2010-01-23 Michael Albinus <michael.albinus@gmx.de>
12288 * net/tramp-smb.el (tramp-smb-conf): New defcustom.
12289 (tramp-smb-maybe-open-connection): Use it.
12291 2010-01-22 Michael Albinus <michael.albinus@gmx.de>
12293 * net/tramp-imap.el (top): Autoload needed packages. (Bug#5448)
12295 2010-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
12297 * mail/rmailmm.el (rmail-mime-handle): Don't set the buffer to unibyte
12298 just because we see "encoding: 8bit".
12299 * mail/rmail.el (rmail-show-message-1): Decode the body's QP into bytes.
12301 2010-01-22 Chong Yidong <cyd@stupidchicken.com>
12303 * isearch.el (isearch-allow-scroll): Doc fix (Bug#5446).
12305 2010-01-22 Eli Zaretskii <eliz@gnu.org>
12307 * jka-compr.el (jka-compr-load): If load-file is not in
12308 load-history, try its file-truename version. (bug#5447)
12310 2010-01-21 Alan Mackenzie <acm@muc.de>
12312 Fix a situation where deletion of a cpp construct throws an error.
12313 * progmodes/cc-engine.el (c-invalidate-state-cache):
12314 Before invoking c-with-all-but-one-cpps-commented-out, check that the
12315 special cpp construct is still in the buffer.
12316 (c-parse-state): Record the special cpp with markers, not numbers.
12318 2010-01-21 Kenichi Handa <handa@m17n.org>
12320 * textmodes/sgml-mode.el (sgml-maybe-name-self): No need to
12321 process last-command-event, as it is now decoded first (Bug#5380).
12323 2010-01-20 Chong Yidong <cyd@stupidchicken.com>
12325 * term.el (term-send-raw-meta): Revert 2009-12-04 change (Bug#5330).
12327 2010-01-20 Glenn Morris <rgm@gnu.org>
12329 * indent.el (tab-always-indent): Fix custom-type.
12331 2010-01-19 Alan Mackenzie <acm@muc.de>
12333 * progmodes/cc-defs.el: Fix bug#5395: typing '#' in an empty
12334 buffer throws "args out of range".
12335 (c-set-cpp-delimiters, c-clear-cpp-delimiters): Check for EOB
12336 playing the role of delimiter.
12338 2010-01-18 Stephen Leake <stephen_leake@member.fsf.org>
12340 * progmodes/ada-mode.el: Fix bug#5400.
12341 (ada-matching-decl-start-re): Move into ada-goto-decl-start.
12342 (ada-goto-decl-start): Rename from ada-goto-matching-decl-start; callers
12343 changed. Delete RECURSIVE parameter; never used. Improve doc string.
12344 Improve comments in "is" portion. Handle null procedure declaration.
12345 (ada-move-to-end): Improve doc string.
12347 2010-01-18 Óscar Fuentes <ofv@wanadoo.es>
12349 * ido.el (ido-cur-list): Initialize to nil.
12350 Remove obsolete information from commentary.
12351 (ido-choice-list): Initialize to nil.
12352 (ido-get-bufname): Reject minibuffers.
12353 (ido-make-buffer-list): If "default" is a nonexistent
12354 buffer, ignore it, as per the function's comment.
12355 (ido-kill-buffer-internal): New function.
12356 (ido-kill-buffer-at-head): Use it.
12357 (ido-visit-buffer): Likewise.
12359 2010-01-18 Chong Yidong <cyd@stupidchicken.com>
12361 * calendar/time-date.el (date-to-time): Doc fix (Bug#5408).
12363 2010-01-18 Juanma Barranquero <lekktu@gmail.com>
12365 * emacs-lisp/chart.el (chart-file-count, chart-rmail-from):
12366 Fix typos in chart titles.
12368 * whitespace.el (whitespace-style, global-whitespace-newline-mode):
12369 * emacs-lisp/eieio.el (eieio-error-unsupported-class-tags)
12370 (eieio-generic-form, eieio-help-mode-augmentation-maybee, eieio-browse)
12371 (describe-class, eieio-describe-generic, describe-generic):
12372 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click)
12373 (eieio-speedbar-expand):
12374 * emulation/viper-cmd.el (viper-exec-form-in-vi)
12375 (viper-exec-form-in-emacs, viper-harness-minor-mode, viper-ESC)
12376 (viper-repeat, viper-replace-state-exit-cmd, viper-toggle-search-style)
12377 (viper-del-backward-char-in-replace, viper-backward-indent)
12378 (viper-brac-function, viper-register-to-point, viper-submit-report):
12379 * net/tramp.el (tramp-remote-coding-commands):
12380 * term/x-win.el (emacs-session-save, x-menu-bar-open, icon-map-list):
12381 Fix typos in docstrings.
12383 2010-01-17 Chong Yidong <cyd@stupidchicken.com>
12385 * mail/sendmail.el (mail-yank-original): Set the mark if the
12386 specified function for yanking does not do it.
12388 2010-01-17 Dan Nicolaescu <dann@ics.uci.edu>
12390 * vc.el (with-vc-properties): Deal with directory arguments. (Bug#5298)
12392 * vc-dir.el (vc-dir-resynch-file): Update the vc-dir header when
12393 resyncing a directory.
12395 2010-01-17 Stephen Leake <stephen_leake@member.fsf.org>
12397 * progmodes/ada-mode.el: Fix bug#1920.
12398 (ada-ident-re): Delete ., allow multibyte characters.
12399 (ada-goto-label-re): New; matches goto labels.
12400 (ada-block-label-re): New; matches block labels.
12401 (ada-label-re): New; matches both.
12402 (ada-named-block-re): Deleted; callers changed to use
12403 `ada-block-label-re' instead.
12404 (ada-get-current-indent, ada-get-indent-noindent, ada-get-indent-loop):
12405 Use `ada-block-label-re'.
12406 (ada-indent-on-previous-lines): Improve handling of goto labels.
12407 (ada-get-indent-block-start): Special-case block label.
12408 (ada-get-indent-label): Split into `ada-indent-block-label' and
12409 `ada-indent-goto-label'.
12410 (ada-goto-stmt-start, ada-goto-next-non-ws):
12411 Optionally ignore goto labels.
12412 (ada-goto-next-word): Simplify.
12413 (ada-indent-newline-indent-conditional): Insert newline before
12414 trying to fix indentation; doc fix.
12416 2010-01-17 Jay Belanger <jay.p.belanger@gmail.com>
12418 * calc/calc.el (calc-command-flags): Give it an initial value.
12420 2010-01-17 Juanma Barranquero <lekktu@gmail.com>
12422 * files.el (minibuffer-with-setup-hook):
12423 * textmodes/artist.el (artist-mt, artist-key-undraw-continously)
12424 (artist-key-draw-continously, artist-key-do-continously-continously)
12425 (artist-key-set-point-continously, artist-mouse-draw-continously):
12426 Fix typos in docstrings.
12428 2010-01-16 Lennart Borgman <lennart.borgman@gmail.com>
12430 * nxml/nxml-mode.el (nxml-extend-after-change-region):
12431 Never return t (Bug#3898).
12433 2010-01-16 Frédéric Perrin <frederic.perrin@resel.fr> (tiny change)
12435 * vc-dispatcher.el (vc-do-command): Set LC_MESSAGES, so that we
12436 can parse the output of the external commands (Bug#5279).
12438 2010-01-16 Jari Aalto <jari.aalto@cante.net>
12440 * pcmpl-unix.el (pcmpl-unix-read-passwd-file): Doc fix.
12442 2010-01-16 Chong Yidong <cyd@stupidchicken.com>
12444 * emacs-lisp/advice.el (ad-add-advice): Doc fix (Bug#5274)
12446 * emacs-lisp/cl-macs.el (defstruct): Doc fix (Bug#5267).
12448 * startup.el (command-line): Remove unused --icon-type arg.
12449 Handle --display arg, passing it to command-line-1 (Bug#5392).
12451 2010-01-16 Mario Lang <mlang@delysid.org>
12453 * emacs-lisp/chart.el (chart-translate-namezone):
12454 * textmodes/artist.el (artist-compute-popup-menu-table):
12455 Remove duplicated words in doc-strings.
12457 2010-01-15 David Abrahams <dave@boostpro.com> (tiny change)
12459 * net/mairix.el (mairix-widget-send-query): Send -1 instead of nil
12460 to mairix-search to suppress threading (Bug#5342).
12462 2010-01-15 Kenichi Handa <handa@m17n.org>
12464 * international/mule-cmds.el (canonicalize-coding-system-name):
12465 Convert "msXXX", "ibmXXX", "windows-XXX" to "cpXXX" (Bug#5387).
12467 2010-01-15 Glenn Morris <rgm@gnu.org>
12469 * log-view.el (top-level): Require 'wid-edit. (Bug#5311)
12471 * wid-edit.el (widget-keymap): Doc fix.
12473 * vc-svn.el (vc-svn-print-log): Use --limit rather than -l since the
12474 former seems to be more widely accepted by various svn versions.
12476 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
12478 * find-cmd.el (find-constituents):
12479 * vc-arch.el (vc-arch-root):
12480 * window.el (window-body-height, pop-up-frames):
12481 * emacs-lisp/eieio-base.el (eieio-singleton, slot-missing):
12482 * progmodes/ada-stmt.el (ada-if):
12483 * progmodes/gdb-ui.el (gdb-jsonify-buffer):
12484 * textmodes/ispell.el (ispell-grep-options, ispell-dictionary-alist)
12485 (ispell-encoding8-command, ispell-aspell-supports-utf8)
12486 (ispell-last-program-name, ispell-help): Fix typos in docstrings.
12488 * progmodes/flymake.el (flymake-post-syntax-check):
12489 Fix typo in error message.
12491 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
12493 * hexl.el (hexl-printable-character): Fix check of `hexl-iso',
12494 which is always a string. (Bug#5313)
12496 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
12498 * progmodes/ada-xref.el (ada-default-prj-properties):
12499 Simplify previous change.
12501 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
12503 * progmodes/ada-xref.el (ada-default-prj-properties):
12504 Default ada_project_path to $ADA_PROJECT_PATH.
12506 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
12508 * progmodes/ada-mode.el (ada-create-keymap):
12509 Override `narrow-to-defun' with `ada-narrow-to-defun'.
12511 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
12513 * progmodes/ada-mode.el: Deal with Ada 2005 "overriding" keyword.
12514 (ada-subprog-start-re, ada-imenu-subprogram-menu-re): Add keyword.
12515 (ada-get-current-indent, ada-imenu-generic-expression)
12516 (ada-which-function): Check for it.
12518 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
12520 * progmodes/ada-mode.el (ada-clean-buffer-before-saving): Make obsolete.
12521 (ada-mode): Don't obey `ada-clean-buffer-before-saving' anymore.
12523 2010-01-14 Glenn Morris <rgm@gnu.org>
12525 * frame.el (show-trailing-whitespace): Safe if boolean. (Bug#5312)
12527 2010-01-14 Kenichi Handa <handa@m17n.org>
12529 * composite.el (auto-composition-mode): Make it a buffer local
12530 variable (permanent-local).
12531 (auto-composition-function): Set the default value to
12532 auto-compose-chars.
12533 (auto-composition-mode): Make it a simple function, not a minor mode.
12534 (global-auto-composition-mode): Likewise.
12535 (turn-on-auto-composition-if-enabled): Delete it.
12537 2010-01-13 Karl Fogel <kfogel@red-bean.com>
12539 * bookmark.el (bookmark-bmenu-execute-deletions): Doc fix (Bug#5276).
12541 2010-01-12 Michael Albinus <michael.albinus@gmx.de>
12543 * files.el (copy-directory): Compute target for recursive
12544 directories with identical names. (Bug#5343)
12546 2010-01-12 Glenn Morris <rgm@gnu.org>
12548 * mail/emacsbug.el (report-emacs-bug-pretest-address):
12549 Set it to bug-gnu-emacs rather than emacs-pretest-bug.
12551 2010-01-11 Sam Steingold <sds@gnu.org>
12553 * imenu.el (imenu-default-create-index-function): Detect infinite
12554 loops caused by imenu-prev-index-position-function.
12556 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
12558 * htmlfontify.el (htmlfontify-load-rgb-file)
12559 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values)
12560 (htmlfontify-manual, htmlfontify, hfy-page-header, hfy-page-footer)
12561 (hfy-src-doc-link-style, hfy-src-doc-link-unstyle, hfy-link-extn)
12562 (hfy-link-style-fun, hfy-index-file, hfy-instance-file)
12563 (hfy-html-quote-regex, hfy-init-kludge-hook, hfy-post-html-hooks)
12564 (hfy-default-face-def, hfy-etag-regex, hfy-html-quote-map)
12565 (hfy-etags-cmd-alist-default, hfy-etags-bin, hfy-ignored-properties)
12566 (hfy-which-etags, hfy-etags-cmd, hfy-istext-command, hfy-display-class)
12567 (hfy-optimisations, hfy-tags-cache, hfy-tags-sortl, hfy-tags-rmap)
12568 (hfy-style-assoc, hfy-sheet-assoc, hfy-facemap-assoc, hfy-interq)
12569 (hfy-colour-vals, hfy-default-header, hfy-link-style-string)
12570 (hfy-triplet, hfy-slant, hfy-weight, hfy-combined-face-spec)
12571 (hfy-face-attr-for-class, hfy-face-to-style-i, hfy-size-to-int)
12572 (hfy-flatten-style, hfy-face-to-style, hfy-face-or-def-to-name)
12573 (hfy-face-to-css, hfy-p-to-face, hfy-p-to-face-lennart, hfy-face-at)
12574 (hfy-fontified-p, hfy-merge-adjacent-spans, hfy-buffer)
12575 (hfy-html-enkludge-buffer, hfy-html-quote, hfy-html-dekludge-buffer)
12576 (hfy-force-fontification, htmlfontify-buffer, hfy-dirname)
12577 (hfy-make-directory, hfy-text-p, hfy-mark-tag-names, hfy-relstub)
12578 (hfy-href-stub, hfy-href, hfy-mark-tag-hrefs, hfy-prepare-index-i)
12579 (hfy-prepare-index, hfy-prepare-tag-map, hfy-subtract-maps)
12580 (htmlfontify-run-etags): Fix typos in docstrings and remove superfluous
12581 backslash-quoting from parentheses, etc.
12583 2010-01-11 Chong Yidong <cyd@stupidchicken.com>
12585 * progmodes/js.el: Autoload javascript-mode alias.
12587 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
12589 * ffap.el (ffap-shell-prompt-regexp, ffap-all-subdirs, ffap-url-p)
12590 (ffap-alist, ffap-tex-path, ffap-url-at-point, ffap-gopher-regexp)
12591 (ffap-gopher-at-point, ffap-file-at-point, ffap-read-file-or-url)
12592 (ffap-read-url-internal, ffap-menu, ffap-at-mouse):
12593 Fix typos in docstrings.
12594 (ffap-url-regexp): Doc fix.
12595 (ffap-at-mouse): Fix typo in message.
12597 2010-01-11 Glenn Morris <rgm@gnu.org>
12599 * version.el (emacs-copyright): Set copyright year to 2010.
12601 2010-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
12603 * format.el (format-annotate-function): Only set
12604 write-region-post-annotation-function after running to-fn so as not to
12605 affect nested write-region calls (bug#5273).
12607 2010-01-10 Chong Yidong <cyd@stupidchicken.com>
12609 * Makefile.in (ELCFILES): Add wisent/python-wy.el and
12612 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
12614 * man.el (Man-goto-section): Signal error if the section is not
12617 2010-01-09 Juanma Barranquero <lekktu@gmail.com>
12619 * vc-bzr.el (vc-bzr-working-revision): On Windows and MS-DOS, accept
12620 URLs with a leading triple slash in the file: scheme. (Bug#5345)
12622 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
12624 * progmodes/compile.el: Don't treat compile-command as safe if
12625 compilation-read-command might be nil (Bug#4218).
12627 2010-01-09 Jan Djärv <jan.h.d@swipnet.se>
12629 * startup.el (command-line-1): Use orig-argi to check for ignored X and
12632 2010-01-08 Kenichi Handa <handa@m17n.org>
12634 * international/fontset.el (build-default-fontset-data):
12635 Exclude characters in scripts kana, hangul, han, or cjk-misc.
12637 2010-01-07 Juanma Barranquero <lekktu@gmail.com>
12639 * vc-dir.el (vc-dir-prepare-status-buffer): Pass a (fake) filename
12640 to `create-file-buffer' as it expects, not just a buffer name.
12641 (vc-dir-mode): Include the buffer name in `list-buffers-directory',
12642 to help uniquify. (Bug#3224)
12644 2010-01-06 Jan Djärv <jan.h.d@swipnet.se>
12646 * font-setting.el (font-setting-change-default-font): Use user-spec
12649 2010-01-06 Dan Nicolaescu <dann@ics.uci.edu>
12651 * vc-bzr.el (vc-bzr-after-dir-status): Ignore pending merges.
12653 2010-01-05 Tom Tromey <tromey@redhat.com>
12655 * progmodes/python.el (python-font-lock-keywords):
12656 Handle qualified decorators (Bug#881).
12658 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
12660 * vc-bzr.el (vc-bzr-working-revision): Fix looking for a revision
12661 in a lightweight checkout.
12663 2010-01-05 Kenichi Handa <handa@m17n.org>
12665 * language/indian.el (malayalam-composable-pattern): Fix ZWNJ and ZWJ.
12667 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
12669 * vc-bzr.el (vc-bzr-diff): Obey vc-disable-async-diff.
12671 2010-01-04 Dan Nicolaescu <dann@ics.uci.edu>
12673 * vc-bzr.el (vc-bzr-state-heuristic): Make it work for lightweight
12674 checkouts. (Bug#618)
12675 (vc-bzr-log-view-mode): Also highlight the author.
12676 (vc-bzr-shelve-map): Change binding for vc-bzr-shelve-apply-at-point.
12677 (vc-bzr-shelve-menu-map):
12678 (vc-bzr-dir-extra-headers): Improve menu and tooltip text.
12679 (vc-bzr-shelve-apply): Make prompt more explicit.
12681 2010-01-02 Chong Yidong <cyd@stupidchicken.com>
12683 * net/browse-url.el (browse-url-encode-url): Don't escape commas.
12684 They are valid characters in URL paths (rfc3986), and at least
12685 Firefox does not understand the encoded version (Bug#3166).
12687 2010-01-02 Daniel Elliott <danelliottster@gmail.com> (tiny change)
12689 * progmodes/octave-mod.el (octave-end-keywords)
12690 (octave-block-begin-or-end-regexp, octave-block-match-alist):
12691 Add "end" keyword (Bug#3061).
12692 (octave-end-as-array-index-p): New function.
12693 (calculate-octave-indent): Use it.
12695 2010-01-02 Karl Fogel <kfogel@red-bean.com>
12697 * bookmark.el: Consistently put the text property on the bookmark name.
12698 (bookmark-bmenu-marks-width): Bump back to 2, to include
12700 (bookmark-bmenu-hide-filenames): Adjust for above, and put the text
12701 property on the bookmark name, instead of not putting it at all.
12702 (bookmark-bmenu-list): Fix where we put the text property.
12704 2010-01-02 Karl Fogel <kfogel@red-bean.com>
12706 * bookmark.el (bookmark-bmenu-save): Just depend on the new logic
12707 for showing buffer modified state (as added in the previous change).
12709 2010-01-02 Karl Fogel <kfogel@red-bean.com>
12711 * bookmark.el: Show modified state of bookmark buffer more accurately.
12712 (bookmark-bmenu-list): Initialize buffer-modified-p properly.
12713 (bookmark-send-edited-annotation): Mark bookmark-alist as modified.
12714 (with-buffer-modified-unmodified): New macro.
12715 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
12716 (bookmark-bmenu-mark, bookmark-bmenu-unmark, bookmark-bmenu-delete):
12717 Use new macro to preserve the buffer modified state.
12719 2010-01-02 Karl Fogel <kfogel@red-bean.com>
12721 * bookmark.el (bookmark-bmenu-select, bookmark-bmenu-1-window)
12722 (bookmark-bmenu-2-window, bookmark-bmenu-this-window)
12723 (bookmark-bmenu-other-window, bookmark-bmenu-switch-other-window)
12724 (bookmark-bmenu-show-annotation, bookmark-bmenu-edit-annotation)
12725 (bookmark-bmenu-rename, bookmark-bmenu-locate)
12726 (bookmark-bmenu-relocate, bookmark-bmenu-goto-bookmark):
12727 Remove unnecessary calls to `bookmark-bmenu-ensure-position'.
12729 2010-01-02 Eli Zaretskii <eliz@gnu.org>
12731 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
12732 Make the lines in the generated doc string shorter. (Bug#4668)
12734 2010-01-02 Ryan Yeske <rcyeske@gmail.com>
12736 * net/rcirc.el: Add follow-link binding (Bug#4738).
12738 2010-01-02 Eli Zaretskii <eliz@gnu.org>
12740 * Makefile.in (bzr-update): Rename from cvs-update.
12741 (cvs-update): New target for backward compatibility.
12743 * makefile.w32-in (bzr-update): Rename from cvs-update.
12744 (cvs-update): New target for backward compatibility.
12746 2010-01-02 Karl Fogel <kfogel@red-bean.com>
12748 * bookmark.el: Remove gratuitous gratitude.
12750 2010-01-02 Karl Fogel <kfogel@red-bean.com>
12752 * bookmark.el (bookmark-bmenu-any-marks): New function.
12753 (bookmark-bmenu-save): Clear buffer modification if no marks.
12755 2010-01-02 Karl Fogel <kfogel@red-bean.com>
12757 * bookmark.el (bookmark-bmenu-marks-width): Define to 1, not 2.
12758 (bookmark-bmenu-list, bookmark-bmenu-bookmark): Calculate property
12759 positions by using `bookmark-bmenu-marks-width', instead of hardcoding.
12760 This fixes the `bookmark-bmenu-execute-deletions' bug reported here:
12762 http://lists.gnu.org/archive/html/emacs-devel/2009-12/msg00819.html
12763 From: Sun Yijiang <sunyijiang {_AT_} gmail.com>
12764 To: emacs-devel {_AT_} gnu.org
12765 Subject: bookmark.el bug report
12766 Date: Mon, 28 Dec 2009 14:19:16 +0800
12767 Message-ID: 5065e2900912272219y3734fc9fsdaee41167ef99ad7@mail.gmail.com
12769 2010-01-02 Karl Fogel <kfogel@red-bean.com>
12771 * bookmark.el: Improvements suggested by Drew Adams:
12772 (bookmark-bmenu-ensure-position): New name for
12773 `bookmark-bmenu-check-position'. Just ensure the position,
12774 don't return any meaningful value.
12775 (bookmark-bmenu-header-height, bookmark-bmenu-marks-width):
12778 2010-01-02 Juanma Barranquero <lekktu@gmail.com>
12780 * bookmark.el (bookmarks-already-loaded): Doc fix (don't use `iff').
12781 (bookmark-yank-point, bookmark-bmenu-check-position):
12782 Fix typos in docstrings.
12783 (bookmark-save-flag, bookmark-bmenu-toggle-filenames)
12784 (bookmark-name-from-full-record, bookmark-get-position)
12785 (bookmark-set-position, bookmark-set, bookmark-handle-bookmark)
12786 (bookmark-delete, bookmark-save, bookmark-save, bookmark-bmenu-mode):
12787 Remove useless quoting of parenthesis, etc. in docstrings.
12789 * ediff-mult.el (ediff-prepare-meta-buffer): Fix typo in help message.
12790 (ediff-append-custom-diff): Fix typo in error message.
12791 (ediff-meta-mark-equal-files): Fix typos in messages.
12793 * mpc.el (mpc-playlist-delete): Fix typo in error messages.
12795 * net/imap-hash.el (imap-hash-make): Doc fix.
12796 (imap-hash-test): Fix typo in error message; reflow docstring.
12797 (imap-hash-p, imap-hash-get, imap-hash-put, imap-hash-make-message)
12798 (imap-hash-count, imap-hash-server, imap-hash-port, imap-hash-ssl)
12799 (imap-hash-mailbox, imap-hash-user, imap-hash-password):
12800 Fix typos in docstrings.
12801 (imap-hash-open-connection): Fix typo in error message.
12803 * play/gomoku.el (gomoku): Fix typos in docstring.
12805 * progmodes/gdb-ui.el (gdb-location-alist): Reflow docstring.
12806 (gdb-jsonify-buffer): Fix typos in docstring.
12807 (gdb-goto-breakpoint): Fix typo in error message.
12808 ("Display Other Windows"): Fix typo in help message.
12809 (gdb-speedbar-expand-node): Fix typo in question.
12811 * progmodes/idlw-help.el (idlwave-help-browse-url-available)
12812 (idlwave-html-system-help-location, idlwave-html-help-location)
12813 (idlwave-help-browser-function, idlwave-help-browser-generic-program)
12814 (idlwave-help-browser-generic-args, idlwave-help-directory)
12815 (idlwave-html-help-is-available, idlwave-help-mode-line-indicator)
12816 (idlwave-help-mode-map, idlwave-help-mode, idlwave-do-context-help)
12817 (idlwave-online-help, idlwave-help-html-link)
12818 (idlwave-help-show-help-frame, idlwave-help-assistant-command):
12819 Fix typos in docstrings.
12820 (idlwave-help-with-source, idlwave-help-find-routine-definition):
12822 (idlwave-help-assistant-start): Fix typo in error message.
12824 * progmodes/octave-mod.el (octave-mode, octave-electric-semi)
12825 (octave-electric-space): Fix typos in docstrings.
12827 2010-01-01 Chong Yidong <cyd@stupidchicken.com>
12829 * files.el (minibuffer-with-setup-hook): Doc fix (Bug#5149).
12831 2010-01-01 Juri Linkov <juri@jurta.org>
12833 * comint.el (comint-input-ring-size): Make it a defcustom and
12834 increase the default to 500 (Bug#5148).
12836 2009-12-31 Nick Roberts <nickrob@snap.net.nz>
12838 Further changes from EMACS_23_1_RC branch (2009-12-29 contd).
12839 * term/x-win.el (x-gtk-stock-map): Map some GUD buttons.
12840 * progmodes/gud.el (gud-menu-map): Add reverse-execution commands.
12842 2009-12-30 Nick Roberts <nickrob@snap.net.nz>
12844 Show working revision correctly for mercurial.
12845 * vc-hg.el (vc-hg-working-revision): Use hg parent instead of
12846 hg log as suggested by Alex Harsanyi <alexharsanyi@gmail.com>.
12848 2009-12-29 Juanma Barranquero <lekktu@gmail.com>
12850 Declare some functions for the byte-compiler.
12851 * progmodes/gdb-ui.el (speedbar-change-initial-expansion-list)
12852 (speedbar-timer-fn, speedbar-change-expand-button-char)
12853 (speedbar-delete-subblock, speedbar-center-buffer-smartly): Declare.
12855 2009-12-29 Nick Roberts <nickrob@snap.net.nz>
12857 This changeset reverts GDB Graphical Interface to use annotations.
12858 * progmodes/gdb-ui.el, progmodes/gud.el: Import from EMACS_23_1_RC.
12860 2009-12-29 Dan Nicolaescu <dann@ics.uci.edu>
12862 Make vc-dir work on subdirectories of the bzr root.
12863 * vc-bzr.el (vc-bzr-after-dir-status): Add new argument.
12864 Return file names relative to it.
12865 (vc-bzr-dir-status, vc-bzr-dir-status-files): Pass the bzr root
12866 relative directory to vc-bzr-after-dir-status.
12868 2009-12-28 Tassilo Horn <tassilo@member.fsf.org>
12870 * font-lock.el (font-lock-refresh-defaults): New function, which
12871 can be used to let font-lock react to external changes in
12872 variables like font-lock-defaults and keywords.
12873 See http://thread.gmane.org/gmane.emacs.devel/118777/focus=118802
12875 2009-12-28 Dan Nicolaescu <dann@ics.uci.edu>
12877 * vc-rcs.el (vc-rcs-register): Fix registering a specific version.
12879 * vc-bzr.el (vc-bzr-log-view-mode): Fix short log regexp.
12881 2009-12-28 Juanma Barranquero <lekktu@gmail.com>
12883 Supersede color.diff settings in git log (bug#5211).
12885 * vc-git.el (vc-git-print-log): Pass "--no-color" to log to avoid
12886 escape chars in its output when the user has color.diff set to `always'.
12887 This fix works on git 1.4.2 and newer (released on 2006-08-13).
12889 2009-12-26 Kevin Ryde <user42@zip.com.au>
12891 * info-look.el (sh-mode): Look for coreutils new "Concept Index"
12892 node. Keep previous "Index" name to work with past coreutils too.
12894 * man.el (man): Revise docstring a bit to show -a and -l as
12895 examples. Add -k description since support for it has otherwise
12896 been a secret. (Further to bug#3717.)
12897 (Man-bgproc-sentinel): When "-k foo" produces no output show error
12898 "no matches" rather than "Can't find manpage", as the latter reads
12899 like -k was interpreted as a page name, which is not so. (Bug#5431)
12901 2009-12-26 Michael Albinus <michael.albinus@gmx.de>
12903 * net/tramp.el (tramp-handle-insert-directory): Quote "'" in the
12904 switches. Check also for //SUBDIRED// line.
12906 2009-12-25 Kenichi Handa <handa@m17n.org>
12908 * language/indian.el (devanagari-composable-pattern): Fix to
12909 handle ZWNJ and ZWJ. Use it in composition-function-table for
12911 (malayalam-composable-pattern): Fix previous change.
12913 2009-12-23 Vinicius Jose Latorre <viniciusjl@ig.com.br>
12915 * ps-print.el (ps-face-attributes): It was not returning the
12916 attribute face for faces specified as string. Reported by harven
12917 <harven@free.fr>. (Bug#5254)
12918 (ps-print-version): New version 7.3.5.
12920 2009-12-18 Ulf Jasper <ulf.jasper@web.de>
12922 * calendar/icalendar.el (icalendar--convert-tz-offset):
12923 Fix timezone names.
12924 (icalendar--convert-tz-offset): Fix the "last-day-problem".
12925 (icalendar--add-diary-entry): Remove the trailing blank that
12926 diary-make-entry inserts.
12928 2009-12-17 Michael Albinus <michael.albinus@gmx.de>
12930 Make `file-expand-wildcards' work for remote files.
12932 * files.el (file-expand-wildcards): In case of remote files, check
12933 only local file name part for wildcards. Provide feature 'files
12934 and subfeature 'remote-wildcards. (Bug#5198)
12936 * net/tramp.el (tramp-handle-file-remote-p): Expand file name only
12937 if there is already an established connection.
12938 (tramp-advice-file-expand-wildcards): Remove it.
12940 * net/tramp-compat.el (top): Autoload `tramp-handle-file-remote-p'.
12941 (tramp-advice-file-expand-wildcards): Move from tramp.el.
12942 Activate advice for older GNU Emacs versions. (Bug#5237)
12944 2009-12-17 Juanma Barranquero <lekktu@gmail.com>
12946 Some doc fixes (more needed).
12948 * find-cmd.el (find-constituents): Reflow docstring.
12949 (find-cmd, find-prune, find-command): Fix typos in docstrings.
12950 (find-generic): Doc fix.
12952 2009-12-17 Juri Linkov <juri@jurta.org>
12954 Fix regression from 23.1 to allow multiple modes in Local Variables.
12956 * files.el (hack-local-variables-filter): While ignoring duplicates,
12957 don't take `mode' into account.
12958 (hack-local-variables-filter, hack-dir-local-variables):
12959 Don't remove duplicate `mode' from local-variables-alist (like `eval').
12961 2009-12-17 Juri Linkov <juri@jurta.org>
12963 Make `dired-diff' safer. (Bug#5225)
12965 * dired-aux.el (dired-diff): Signal an error when `file' equals to
12966 `current' or when `file' is a directory of the `current' file.
12968 2009-12-17 Andreas Schwab <schwab@linux-m68k.org>
12970 * emacs-lisp/autoload.el (batch-update-autoloads): Only exclude
12971 unconditionally preloaded files.
12973 2009-12-16 Juri Linkov <juri@jurta.org>
12975 Revert to old 23.1 logic of using the file at the mark as default.
12976 * dired-aux.el (dired-diff): Use the file at the mark as default
12977 if it's not the same as the current file, and the target dir is
12978 the current dir or the mark is active. Add the current file
12979 as the arg of `dired-dwim-target-defaults'. Use the default file
12980 in the prompt. (Bug#5225)
12982 2009-12-15 Michael Albinus <michael.albinus@gmx.de>
12984 * net/tramp.el (tramp-echo-mark-marker-length): New defconst.
12985 (tramp-echo-mark, tramp-echoed-echo-mark-regexp): Use it.
12986 (tramp-check-for-regexp): Check also, when an echoing shell stops
12987 to echo sent commands.
12989 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
12991 * Makefile.in: Revert last change (Bug#5191).
12993 2009-12-14 Dan Nicolaescu <dann@ics.uci.edu>
12995 * vc-hg.el (vc-hg-print-log): Fix argument order.
12996 (vc-hg-working-revision): Make sure the command is executed in a
12997 known environment so that we can parse the output. (Bug#4417)
12999 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
13001 * progmodes/python.el (python-symbol-completions): Remove text
13002 properties from symbol string before calling python-send-receive.
13004 2009-12-14 Nick Roberts <nickrob@snap.net.nz>
13006 * progmodes/gdb-mi.el (gdb-frame-handler): Only set gud-lat-frame
13007 when there are values for both file and line. (Bug#5060)
13009 2009-12-14 Juri Linkov <juri@jurta.org>
13011 * ediff-ptch.el (ediff-context-diff-label-regexp): Don't match
13012 whitespace after the file name of the first line of unified format,
13013 because git-diff doesn't output whitespace and file modification time
13014 after the file name.
13016 2009-12-14 David Kastrup <dak@gnu.org>
13018 * info.el (Info-hide-cookies-node): Before hiding a cookie,
13019 check if it already has the `display' property added by
13020 `Info-display-images-node', and not put the `invisible' property
13023 2009-12-13 Glenn Morris <rgm@gnu.org>
13025 * mail/emacsbug.el (message-sort-headers): Define for compiler.
13026 (report-emacs-bug): In message-mode, sort manually before storing
13027 original report text. (Bug#5178)
13028 Remove superfluous save-excursion.
13030 2009-12-12 Michael Albinus <michael.albinus@gmx.de>
13032 * net/dbus.el (dbus-property-handler): Filter lambda forms out
13033 when responding to "GetAll" properties.
13035 2009-12-12 Chong Yidong <cyd@stupidchicken.com>
13037 * simple.el (compose-mail): Remove mail-setup-with-from from
13038 customization checks.
13040 2009-12-12 Eli Zaretskii <eliz@gnu.org>
13042 * arc-mode.el (archive-rar-summarize): Support Attribute fields in
13043 RAR archives created on Unix systems.
13045 2009-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
13047 * minibuffer.el (minibuffer-local-must-match-filename-map): Re-instate
13048 the varalias that was accidentally removed by the 2009-11-19 change
13051 2009-12-12 Kenichi Handa <handa@m17n.org>
13053 * language/indian.el (indian-compose-regexp): New function.
13054 (malayalam-composable-pattern): Fix the pattern.
13055 (composition-function-table): Set malayalam-composable-pattern for
13056 Malayalam characters.
13058 2009-12-11 Chong Yidong <cyd@stupidchicken.com>
13060 * progmodes/bug-reference.el (bug-reference-map): Bind mouse-2
13061 rather than down-mouse-1, based on follow-link conventions.
13063 * makefile.w32-in: Ensure that Lisp files in CEDET subdirectories
13066 2009-12-11 Michael McNamara <mac@mail.brushroad.com>
13068 * progmodes/verilog-mode.el (verilog-vmm-begin-re, verilog-vmm-end-re)
13069 (verilog-vmm-statement-re, verilog-ovm-statement-re)
13070 (verilog-defun-level-not-generate-re, verilog-calculate-indent)
13071 (verilog-leap-to-head, verilog-backward-token):
13072 Fix indenting VMM macros. Reported by Jonathan Ashbrook.
13074 2009-12-11 Wilson Snyder <wsnyder@wsnyder.org>
13076 * progmodes/verilog-mode.el (verilog-auto-lineup)
13077 (verilog-nameable-item-re): Cleanup user-visible spelling and
13078 documentation errors. One reported by Gary Delp.
13079 (verilog-submit-bug-report): Mention bug tracking and CC co-author.
13080 (verilog-read-decls): Fix AUTOWIRE with types declared in a
13081 package, bug195. Reported by Pierre-David Pfister.
13083 2009-12-11 Glenn Morris <rgm@gnu.org>
13085 * progmodes/cc-engine.el (safe-pos-list): Define for compiler.
13087 * mail/emacsbug.el: No longer require sendmail.
13088 Replace sendmail's `mail-text' by `rfc822-goto-eoh'. (Bug#5174)
13089 (report-emacs-bug-orig-text): Doc fix.
13090 (report-emacs-bug-send-command, report-emacs-bug-send-hook):
13091 New local variables, to adapt to different mail-user-agents.
13092 (report-emacs-bug): Fix test for a gnu.org address.
13093 Use overlays for emphasis, since font-lock defeats 'face property.
13094 Pretest bugs also end up at the newsgroup these days.
13095 Stop message-mode stripping text properties.
13096 Set and use the new buffer-local variables.
13097 (report-emacs-bug-hook): Add doc-string.
13098 Remove some unnecessary save-excursions and simplify.
13099 Use the appropriate hook and send-command.
13101 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Standardize the
13102 capitalization of some menu entries.
13104 2009-12-10 Vinicius Jose Latorre <viniciusjl@ig.com.br>
13106 * whitespace.el (whitespace-display-char-on):
13107 Ensure `buffer-display-table' is unique when two or more windows are
13108 visible. Reported by Martin Pohlack <mp26@os.inf.tu-dresden.de>.
13111 2009-12-10 Eli Zaretskii <eliz@gnu.org>
13113 * arc-mode.el (archive-rar-summarize): Allow between 6 and 7
13114 characters in the Attribute field.
13116 2009-12-10 Dan Nicolaescu <dann@ics.uci.edu>
13118 * vc-svn.el (vc-svn-after-dir-status): Fix regexp. (Bug#4741)
13120 2009-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
13122 Let loaddefs.el adjust to changes in autoload-excludes (bug#5162).
13123 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
13124 Disregard autoload-excludes.
13125 (update-directory-autoloads): Obey autoload-excludes here instead.
13126 But don't store its contents in no-autoloads and remove entries that
13127 refer to excludes files.
13129 2009-12-10 Glenn Morris <rgm@gnu.org>
13131 * mail/feedmail.el (top-level): Move require 'mail-utils to start.
13132 (expand-mail-aliases): Define for compiler.
13134 * vc-annotate.el (log-view-vc-backend, log-view-vc-fileset):
13135 Define for compiler.
13137 * mail/emacsbug.el (report-emacs-bug): Use whichever send command is
13138 appropriate for the mail-user-agent in use.
13140 2009-12-09 Michael Albinus <michael.albinus@gmx.de>
13142 * net/tramp.el (tramp-handle-insert-directory): Suppress error messages.
13144 2009-12-09 Dan Nicolaescu <dann@ics.uci.edu>
13146 Fix short log parsing and fontification.
13147 * vc-bzr.el (vc-bzr-log-view-mode): Match dot in revision number.
13148 Fix fontification for the [merge] label.
13150 2009-12-09 Vivek Dasmohapatra <vivek@etla.org>
13152 Drop some properties to avoid surprises (bug#5002).
13153 * htmlfontify.el (hfy-ignored-properties): New defcustom.
13154 (hfy-fontify-buffer): Use it.
13156 2009-12-09 Stefan Monnier <monnier@iro.umontreal.ca>
13159 * ffap.el (ffap-symbol-value): Replace ffap-soft-value.
13160 Adjust all callers.
13161 (ffap-locate-file): Remove unused arg `dir-ok' and make other
13162 args compulsory. Adjust callers.
13163 (ffap-gopher-at-point): Remove unused var `name'.
13165 Get rid of the ELCFILES abomination.
13166 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
13167 (compile-elcfiles): New phony target.
13168 (compile-main): Compute ELCFILES dynamically.
13169 (compile-clean): New target to remove left-over elc files.
13170 (compile, all): Use it.
13172 2009-12-09 Kenichi Handa <handa@etlken>
13174 * international/mule-diag.el: Require help-mode instead of help-fns.
13176 2009-12-09 Kenichi Handa <handa@m17n.org>
13178 * international/mule-cmds.el (ucs-names): Supply sufficiently
13179 fine ranges instead of pre-calculating accurate ranges.
13180 Iterate with bigger gc-cons-threshold.
13182 2009-12-08 Dan Nicolaescu <dann@ics.uci.edu>
13184 Add support for stashing a snapshot of the current tree.
13185 * vc-git.el (vc-git-stash-snapshot): New function.
13186 (vc-git-stash-map, vc-git-extra-menu-map): Add a mapping for it.
13188 2009-12-08 Jose E. Marchesi <jemarch@gnu.org>
13190 * play/gomoku.el (gomoku-mode-map): Remap `move-(beginning|end)-of-line'
13191 instead of `(beginning|end)-of-line'.
13193 2009-12-08 Glenn Morris <rgm@gnu.org>
13195 * vc-mtn.el (vc-mtn-print-log): Fix typo in previous.
13197 * Makefile.in (ELCFILES): Regenerate.
13199 2009-12-07 Juri Linkov <juri@jurta.org>
13201 Don't lazy-highlight the comint output in history Isearch mode.
13203 * comint.el (comint-history-isearch-search): Instead of
13204 `comint-line-beginning-position', use `comint-after-pmark-p'
13205 to check if point if before the process mark, and go to
13206 `process-mark' in this case.
13208 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
13210 * textmodes/tex-mode.el (latex-complete)
13211 (latex-indent-or-complete): Remove.
13212 (latex-mode): Set completion-at-point-functions instead.
13214 Provide a standard completion command and hook it into TAB.
13215 * minibuffer.el (completion-at-point-functions): New var.
13216 (completion-at-point): New command.
13217 * indent.el (indent-for-tab-command): Handle the `complete' behavior.
13218 * progmodes/python.el (python-mode-map): Use completion-at-point.
13219 (python-completion-at-point): Rename from python-partial-symbol and
13220 adjust for use in completion-at-point-functions.
13221 (python-mode): Setup completion-at-point for Python completion.
13222 * emacs-lisp/lisp.el (lisp-completion-at-point): New function
13223 extracted from lisp-complete-symbol.
13224 (lisp-complete-symbol): Use it.
13225 * emacs-lisp/lisp-mode.el (emacs-lisp-mode): Use define-derived-mode,
13226 setup completion-at-point for Elisp completion.
13227 (emacs-lisp-mode-map, lisp-interaction-mode-map):
13228 Use completion-at-point.
13229 * ielm.el (ielm-map): Use completion-at-point.
13230 (inferior-emacs-lisp-mode): Setup completion-at-point-functions.
13231 * progmodes/sym-comp.el: Move to...
13232 * obsolete/sym-comp.el: Move from progmodes.
13234 2009-12-07 Eli Zaretskii <eliz@gnu.org>
13236 Prevent save-buffer in Rmail buffers from using the coding-system
13237 of the current message, and from clobbering the encoding mnemonics
13238 in the mode line (Bug#4623).
13240 * mail/rmail.el (rmail-swap-buffers): Swap encoding and modified
13242 (rmail-message-encoding): New variable.
13243 (rmail-write-region-annotate): Record the encoding of the current
13244 message in rmail-message-encoding.
13245 (rmail-after-save-hook): New function, restores the encoding of
13246 the current message after the message collection is saved.
13248 2009-12-07 Juri Linkov <juri@jurta.org>
13250 * progmodes/grep.el (grep-read-files): Use `completing-read'
13251 instead of `read-string'. Set its `collection' arg to
13252 `read-file-name-internal'. (Bug#4301)
13254 2009-12-07 Juri Linkov <juri@jurta.org>
13256 Correctly restore original Isearch point. (Bug#4994)
13258 * isearch.el (isearch-mode): Move `isearch-push-state' after
13259 `(run-hooks 'isearch-mode-hook)'.
13260 (isearch-cancel): When `isearch-push-state-function' is defined,
13261 let-bind `isearch-cmds' to the first state (the last element of
13262 `isearch-cmds') and call `isearch-top-state' (it calls pop-state
13263 function and restores the original point). Otherwise, move point
13264 to `isearch-opoint'.
13266 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
13268 * international/mule-cmds.el (ucs-names): Weed out at compile-time the
13269 chars that don't have names, so the table can be built much faster at
13272 2009-12-07 Chong Yidong <cyd@stupidchicken.com>
13274 * vc-bzr.el (vc-bzr-annotate-command): More elegant form for last
13275 change. Suggested by David Kastrup.
13277 * simple.el (compose-mail): Check for incompatibilities and warn.
13278 (compose-mail-user-agent-warnings): New option.
13280 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
13282 Support showing a single log entry from vc-annotate.
13283 * vc.el (print-log): Add a new argument: START-REVISION.
13284 (vc-print-log-internal): Add a new optional argument and
13285 pass it to the backend.
13286 (vc-print-log, vc-print-root-log): Adjust callers.
13287 * vc-annotate.el (vc-annotate-show-log-revision-at-line): If a
13288 buffer already displays the requested log entry, use it.
13289 Otherwise display only the log entry in question.
13290 * vc-svn.el (vc-svn-print-log):
13291 * vc-mtn.el (vc-mtn-print-log):
13292 * vc-hg.el (vc-hg-state):
13293 * vc-git.el (vc-git-print-log): Add support for new argument START-REVISION.
13294 (vc-git-show-log-entry): Return t on success.
13295 * vc-bzr.el (vc-bzr-print-log): Add support new argument START-REVISION.
13296 (vc-bzr-show-log-entry): Return t on success.
13297 * vc-rcs.el (vc-rcs-print-log):
13298 * vc-sccs.el (vc-sccs-print-log):
13299 * vc-cvs.el (vc-cvs-print-log): Add new argument, ignore it.
13301 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
13303 * ediff-mult.el (ediff-setup-meta-map, ediff-prepare-meta-buffer):
13304 Add menus to the meta mode. (Bug#5043)
13306 2009-12-07 Michael Kifer <kifer@cs.stonybrook.edu>
13308 * ediff-init.el (ediff-event-key): Use event-to-character instead of
13311 * ediff.el (ediff-buffers-internal): Add unwind-protect.
13313 2009-12-07 Michael Albinus <michael.albinus@gmx.de>
13315 Handle prompt rules of ksh in OpenBSD 4.5. Reported by Raphaël
13316 Berbain <raphael.berbain@gmail.com>.
13318 * net/tramp.el (tramp-end-of-output): Move up. Use `#' and `$'
13320 (tramp-initial-end-of-output): New defconst.
13321 (tramp-methods, tramp-find-shell)
13322 (tramp-open-connection-setup-interactive-shell)
13323 (tramp-maybe-open-connection): Use it.
13324 (tramp-shell-prompt-pattern, tramp-wait-for-output):
13325 Handle existence of `#' and `$'.
13327 * net/tramp-fish.el (tramp-fish-maybe-open-connection):
13328 Use `tramp-initial-end-of-output'.
13330 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
13332 Get the background mode from the terminal for xterm, and set
13334 * term/xterm.el (xterm-set-background-mode): New function.
13335 (terminal-init-xterm): Use it in case xterm supports background
13336 color queries. Recompute faces after getting the background
13339 2009-12-07 Ulrich Mueller <ulm@gentoo.org>
13341 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Put the version
13342 number comment back on its own line, for easier parsing.
13344 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
13346 Make it work for non-file buffers (bug#5102).
13347 * doc-view.el (doc-view-current-cache-dir):
13348 Use doc-view-buffer-file-name rather than buffer-file-name.
13349 (doc-view-mode): Use buffer-name when buffer-file-name is nil.
13351 2009-12-06 Óscar Fuentes <ofv@wanadoo.es>
13353 * vc-bzr.el (vc-bzr-annotate-command): Handle the case where the
13354 author field is too short.
13356 2009-12-06 Dan Nicolaescu <dann@ics.uci.edu>
13358 * vc-git.el (vc-git-print-log): Handle a limit argument.
13359 Display the short log in graph form and with labels.
13360 (vc-git-log-view-mode): Handle labels.
13362 Make vc-revert change VC state from 'added to 'unregistered.
13363 * vc-git.el (vc-git-revert): Call git reset first.
13365 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
13367 * net/newst-backend.el, net/newst-plainview.el:
13368 * net/newst-reader.el, net/newst-ticker.el:
13369 * net/newst-treeview.el, net/newsticker.el:
13370 Require/provide newst-... (instead of newsticker-...). (Bug#5096)
13372 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
13374 * log-view.el (log-view-mode-map): Bind "=" to log-view-diff too.
13376 * vc-bzr.el (vc-bzr-annotate-command): Show author in annotation.
13377 Handle empty author field (Bug#4144). Suggested by Óscar Fuentes.
13378 (vc-bzr-annotate-time, vc-bzr-annotate-extract-revision-at-line):
13379 Update annotation regexp.
13381 * simple.el (beginning-of-visual-line): Constrain to field
13382 boundaries (Bug#5106).
13384 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
13386 * xml.el (xml-substitute-numeric-entities):
13387 Move newsticker--decode-numeric-entities in newst-backend.el to
13388 xml-substitute-numeric-entities in xml.el. (Bug#5008)
13389 * net/newst-backend.el (newsticker--parse-generic-feed)
13390 (newsticker--parse-generic-items)
13391 (newsticker--decode-numeric-entities):
13392 Move newsticker--decode-numeric-entities in newst-backend.el to
13393 xml-substitute-numeric-entities in xml.el. (Bug#5008)
13395 2009-12-06 Daniel Colascione <dan.colascione@gmail.com>
13397 * progmodes/js.el (js--js-not): Add null to the list of values.
13399 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
13401 * ansi-color.el (ansi-color-for-comint-mode): Add :version keyword.
13403 2009-12-06 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
13405 * textmodes/bibtex.el (bibtex-enclosing-field): Exclude entry
13406 delimiter if it is at the end of the current line.
13407 (bibtex-generate-url-list): Fix docstring.
13409 2009-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
13411 * minibuffer.el (minibuffer-complete-and-exit): Don't replace the
13412 minibuffer's content with itself.
13413 Fold the confirm-after-completion case into the `confirm' case.
13414 (completion-pcm-word-delimiters): Add : and / to the delimiters.
13416 2009-12-06 Kevin Ryde <user42@zip.com.au>
13418 * ffap.el (ffap-rfc-path): Make this a defcustom since
13419 `ffap-rfc-directories' is also a defcustom. (Bug#4514.)
13421 * info-look.el: Add setup for apropos-mode to use emacs-lisp-mode
13422 manuals, similar to existing setup for help-mode. (Bug#3913.)
13424 2009-12-05 Juri Linkov <juri@jurta.org>
13426 Save and restore dired buffer's point positions too. (Bug#4880)
13428 * dired.el (dired-save-positions): Return in the first element
13429 buffer's position in format (BUFFER DIRED-FILENAME BUFFER-POINT).
13431 (dired-restore-positions): First restore buffer's position.
13432 While restoring window's positions, check if window still displays
13433 the original buffer.
13435 2009-12-05 Chong Yidong <cyd@stupidchicken.com>
13437 * bindings.el (complete-symbol): Call semantic-ia-complete-symbol
13440 * shell.el (shell): Require ansi-color (Bug#5113).
13442 * ansi-color.el (ansi-color-for-comint-mode): Default to t.
13444 * hl-line.el (global-hl-line-highlight): Minor doc fix (Bug#4925).
13446 2009-12-05 Alan Mackenzie <acm@muc.de>
13448 * progmodes/cc-mode.el (c-before-hack-hook)
13449 (c-postprocess-file-styles): Revert change 2009-07-18T21:03:43Z!acm@muc.de to permit
13450 `c-file-style' to work again. This reversion restores the current
13451 software to its state in Emacs 23.1. (Bug#4146)
13453 2009-12-05 Kevin Ryde <user42@zip.com.au>
13455 * textmodes/sgml-mode.el (sgml-lexical-context):
13456 Recognise comment-start-skip to comment-end-skip as comment (Bug#4781).
13458 2009-12-05 Juri Linkov <juri@jurta.org>
13460 * info.el (Info-find-node-2): Set `Info-current-subfile' to nil
13461 for virtual nodes. (Bug#4147)
13462 (Info-find-node-2): Set `Info-current-node-virtual' to nil
13463 when moving from a virtual node.
13464 (Info-mode-menu): Add `Info-virtual-index' to the menu.
13465 (Info-mode): Add `Info-virtual-index' to the docstring.
13467 2009-12-05 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
13469 * textmodes/bibtex.el (bibtex-map-entries): Use marker to keep
13470 track of the buffer position of the end of a BibTeX entry as this
13471 position may change during reformatting.
13472 (bibtex-format-entry): Remove whitespace before processing
13473 numerical fields so that we recognize the latter properly.
13474 (bibtex-reformat): Do not use push which changes the global value
13475 of bibtex-entry-format.
13476 (bibtex-field-braces-alist, bibtex-field-strings-alist)
13477 (bibtex-field-re-init): Replace only space characters by regexp
13479 (bibtex-generate-url-list, bibtex-cite-matcher-alist): Fix docstring.
13480 (bibtex-initialize): Also update bibtex-strings.
13481 (bibtex-kill-field): Preserve white space at end of entry.
13482 (bibtex-kill-entry, bibtex-yank-pop, bibtex-insert-kill):
13483 Update bibtex-reference-keys.
13485 2009-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
13487 * minibuffer.el (completion-pcm--merge-try): Also consider placing
13488 point after a star, if that's the only place where modifications can
13491 2009-12-05 Dan Nicolaescu <dann@ics.uci.edu>
13493 * vc-dir.el (vc-dir): Use the correct markup for showing keymaps
13496 2009-12-04 Juri Linkov <juri@jurta.org>
13498 * proced.el (proced): Call `(proced-update t)' to update process
13499 information instead of only running proced-post-display-hook.
13500 (proced-send-signal): Add a leading space to the buffer name
13501 " *Marked Processes*" to make this buffer ephemeral.
13503 2009-12-04 Juri Linkov <juri@jurta.org>
13505 * dired.el (dired-auto-revert-buffer): New defcustom.
13506 (dired-internal-noselect): Use it.
13508 2009-12-04 Juri Linkov <juri@jurta.org>
13510 Change roles of modes and functions in image-mode.el (Bug#5062).
13512 * image-mode.el: Replace `image-mode-maybe' with `image-mode'
13513 in `auto-mode-alist'.
13514 (image-mode-previous-major-mode): New variable.
13515 (image-minor-mode-map): Rename from `image-mode-text-map'.
13516 (image-mode): Move graceful error-handling code from
13517 `image-minor-mode' to here. On errors call `image-mode-as-text'.
13518 (image-minor-mode): Remove all image-handling code.
13519 Replace `image-mode-text-map' with `image-minor-mode-map'.
13520 Check for `image-type' in mode-line format string.
13521 (image-mode-maybe): Make obsolete with an alias to `image-mode'.
13522 (image-mode-as-text): New function with most code from
13523 `image-mode-maybe'.
13524 (image-toggle-display-text): Move code that removes image
13525 properties from `image-toggle-display' to here.
13526 (image-toggle-display-image): New function with code that adds
13527 image properties copied from `image-toggle-display'.
13528 (image-toggle-display): Remove most code with leaving only code
13529 that toggles between `image-mode-as-text' and `image-mode'.
13531 2009-12-04 Ulf Jasper <ulf.jasper@web.de>
13533 * net/newst-treeview.el
13534 (newsticker--treeview-list-highlight-start): Restored call to
13535 save-excursion: Selected item was stuck.
13536 (newsticker--treeview-list-select): New.
13537 (newsticker--treeview-item-show-text)
13538 (newsticker--treeview-item-show)
13539 (newsticker--treeview-item-update): Use new
13540 newsticker-treeview-item-mode.
13541 (newsticker-treeview-update): Keep current item.
13542 (newsticker-treeview-next-new-or-immortal-item): Doc change.
13543 (newsticker--treeview-first-feed): Doc change.
13544 (newsticker-treeview-list-menu)
13545 (newsticker-treeview-item-menu): Add menu entries.
13546 (newsticker-treeview-item-mode): New.
13548 * net/newst-backend.el (newsticker-customize): Delete other
13551 2009-12-04 Sam Steingold <sds@gnu.org>
13553 * log-view.el (log-view-mode-map): "q" calls quit-window,
13554 like in all the other non-self-insert buffers.
13556 2009-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
13559 * term.el (term-send-raw, term-send-raw-meta): Use read-key-sequence's
13560 key decoding rather than do it manually via last-input-event +
13562 (term-exec): Use delete-and-extract-region.
13563 (term-handle-ansi-terminal-messages): Remove unused var `end'.
13564 (term-process-pager): Remove unused var `i'.
13565 (term-dynamic-simple-complete): Make obsolete.
13566 (serial-update-config-menu): Remove unused vars `y' and `str'.
13567 (term-update-mode-line): Remove unused var `temp'.
13569 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
13571 Limit the number of log entries displayed by default.
13572 * vc.el (vc-print-log-internal): Fix check for limit-unsupported.
13573 (vc-print-log, vc-print-root-log): Use vc-log-show-limit when not
13574 using a prefix argument.
13576 2009-12-03 Glenn Morris <rgm@gnu.org>
13578 * progmodes/idlwave.el (class): Restore still useful declaration.
13580 2009-12-03 Alan Mackenzie <acm@muc.de>
13582 Enhance `c-parse-state' to run efficiently in "brace deserts".
13584 * progmodes/cc-mode.el (c-basic-common-init):
13585 Call c-state-cache-init.
13586 (c-neutralize-syntax-in-and-mark-CPP): Rename from
13587 c-extend-and-neutralize-syntax-in-CPP. Mark each CPP construct by
13588 placing `category' properties value 'c-cpp-delimiter at its boundaries.
13590 * progmodes/cc-langs.el (c-before-font-lock-function):
13591 c-extend-and-neutralize-syntax-in-CPP has been renamed
13592 c-neutralize-syntax-in-and-mark-CPP.
13594 * progmodes/cc-fonts.el (c-cpp-matchers): Mark template brackets
13595 with `category' properties now, not `syntax-table' ones.
13597 * progmodes/cc-engine.el (c-syntactic-end-of-macro): A new
13598 enhanced (but slower) version of c-end-of-macro that won't land
13599 inside a literal or on another awkward character.
13600 (c-state-cache-too-far, c-state-cache-start)
13601 (c-state-nonlit-pos-interval, c-state-nonlit-pos-cache)
13602 (c-state-nonlit-pos-cache-limit, c-state-point-min)
13603 (c-state-point-min-lit-type, c-state-point-min-lit-start)
13604 (c-state-min-scan-pos, c-state-brace-pair-desert)
13605 (c-state-old-cpp-beg, c-state-old-cpp-end): New constants and
13606 buffer local variables.
13607 (c-state-literal-at, c-state-lit-beg)
13608 (c-state-cache-non-literal-place, c-state-get-min-scan-pos)
13609 (c-state-mark-point-min-literal, c-state-cache-top-lparen)
13610 (c-state-cache-top-paren, c-state-cache-after-top-paren)
13611 (c-get-cache-scan-pos, c-get-fallback-scan-pos)
13612 (c-state-balance-parens-backwards, c-parse-state-get-strategy)
13613 (c-renarrow-state-cache)
13614 (c-append-lower-brace-pair-to-state-cache)
13615 (c-state-push-any-brace-pair, c-append-to-state-cache)
13616 (c-remove-stale-state-cache)
13617 (c-remove-stale-state-cache-backwards, c-state-cache-init)
13618 (c-invalidate-state-cache-1, c-parse-state-1)
13619 (c-invalidate-state-cache): New defuns/defmacros/defsubsts.
13620 (c-parse-state): Enhance and refactor.
13621 (c-debug-parse-state): Amend to deal with all the new variables.
13623 * progmodes/cc-defs.el (c-<-as-paren-syntax, c-mark-<-as-paren)
13624 (c->-as-paren-syntax, c-mark->-as-paren, c-unmark-<->-as-paren):
13625 modify to use category text properties rather than syntax-table ones.
13626 (c-suppress-<->-as-parens, c-restore-<->-as-parens): New defsubsts
13627 to switch off/on the syntactic paren property of C++ template
13628 delimiters using the category property.
13629 (c-with-<->-as-parens-suppressed): Macro to invoke code with
13630 template delims suppressed.
13631 (c-cpp-delimiter, c-set-cpp-delimiters, c-clear-cpp-delimiters):
13632 New constant/macros which apply category properties to the start
13633 and end of preprocessor constructs.
13634 (c-comment-out-cpps, c-uncomment-out-cpps): Defsubsts which
13635 "comment out" the syntactic value of characters in preprocessor
13637 (c-with-cpps-commented-out)
13638 (c-with-all-but-one-cpps-commented-out): Macros to invoke code
13639 with characters in all or all but one preprocessor constructs
13642 2009-12-03 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
13644 * proced.el (proced-filter-alist): Use regexp-quote.
13646 2009-12-03 Michael Albinus <michael.albinus@gmx.de>
13649 * eshell/em-unix.el (top): Require 'esh-opt and 'pcomplete.
13650 (eshell/su, eshell/sudo): Require 'tramp. Fix problems reading
13651 arguments. Expand `default-directory'.
13653 * net/tramp.el (tramp-handle-file-remote-p): Expand FILENAME for
13654 the benefit of returning an expanded localname.
13655 (tramp-tramp-file-p): Handle the case NAME is not a string.
13657 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
13659 Add support for bzr shelve/unshelve.
13660 * vc-bzr.el (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
13661 (vc-bzr-extra-menu-map): New variables.
13662 (vc-bzr-extra-menu, vc-bzr-extra-status-menu, vc-bzr-shelve)
13663 (vc-bzr-shelve-apply, vc-bzr-shelve-list)
13664 (vc-bzr-shelve-get-at-point, vc-bzr-shelve-delete-at-point)
13665 (vc-bzr-shelve-apply-at-point, vc-bzr-shelve-menu): New functions.
13666 (vc-bzr-dir-extra-headers): Display shelves.
13668 * vc-bzr.el (vc-bzr-print-log): Deal with nil arguments better.
13670 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
13672 * textmodes/bibtex.el (bibtex-complete-internal):
13673 Use completion-in-region.
13674 (bibtex-text-in-field-bounds): Remove unused var `opoint'.
13676 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
13678 Support applying stashes. Improve UI.
13679 * vc-git.el (vc-git-dir-extra-headers): Add tooltips.
13680 (vc-git-stash-apply, vc-git-stash-pop)
13681 (vc-git-stash-apply-at-point, vc-git-stash-pop-at-point)
13682 (vc-git-stash-menu): New functions.
13683 (vc-git-stash-menu-map): New variable.
13684 (vc-git-stash-map): Add bindings to popup a menu and to apply stashes.
13686 2009-12-03 Glenn Morris <rgm@gnu.org>
13688 * vc.el (log-view-vc-backend, log-view-vc-fileset): Declare.
13689 (vc-print-log-internal): Fix previous change.
13690 (vc-revert): Correct pluralization.
13692 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
13694 * progmodes/make-mode.el (makefile-special-targets-list): No need for
13695 it to be an alist any more.
13696 (makefile-complete): Use completion-in-region.
13698 * progmodes/octave-mod.el (octave-complete-symbol):
13699 Use completion-in-region.
13702 * progmodes/idlwave.el (idlwave-comment-hook): Simplify with `or'.
13703 (idlwave-code-abbrev, idlwave-display-user-catalog-widget)
13704 (idlwave-complete-class): Don't quote lambda.
13705 (idlwave-find-symbol-syntax-table, idlwave-mode-syntax-table)
13706 (idlwave-mode-map): Move initialization into declaration.
13707 (idlwave-action-and-binding): Use backquotes.
13708 (idlwave-in-quote, idlwave-reset-sintern, idlwave-complete-in-buffer):
13710 (idlwave-is-pointer-dereference): Remove unused var `pos'.
13711 (idlwave-xml-create-rinfo-list): Remove unused var `entry'.
13712 (idlwave-convert-xml-clean-sysvar-aliases): Remove unused vars `new',
13713 `parts', and `all-parts'.
13714 (idlwave-xml-create-sysvar-alist): Remove unused var `fields'.
13715 (idlwave-convert-xml-system-routine-info): Remove unused string
13717 (idlwave-display-user-catalog-widget): Use dolist.
13718 (idlwave-scanning-lib): Declare dynamically-scoped var.
13719 (idlwave-scan-library-catalogs): Remove unused var `flags'.
13720 (completion-highlight-first-word-only): Declare to silence bytecomp.
13721 (idlwave-popup-select): Tighten scope of `resp'.
13722 (idlwave-find-struct-tag): Remove unused var `beg'.
13723 (idlwave-after-load-rinfo-hook): Declare.
13724 (idlwave-sintern-class-info): Remove unused var `taglist'.
13725 (idlwave-find-class-definition): Remove unused var `list'.
13726 (idlwave-complete-sysvar-tag-help): Remove unused var `main-base'.
13727 (idlwave-what-module-find-class): Remove unused var `classes'.
13729 2009-12-03 Juanma Barranquero <lekktu@gmail.com>
13731 * progmodes/pascal.el: Require CL when compiling (for lexical-let).
13733 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
13735 * hippie-exp.el (try-expand-dabbrev-visible): Preserve point in the
13736 buffers visited. Remove redundant current-buffer-saving.
13738 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
13740 Use completion-in-buffer and remove uses of dynamic scoping.
13741 * progmodes/pascal.el (pascal-str, pascal-all, pascal-pred)
13742 (pascal-buffer-to-use, pascal-flag): Don't declare.
13743 (pascal-func-completion, pascal-type-completion, pascal-var-completion)
13744 (pascal-get-completion-decl, pascal-keyword-completion):
13745 Add `pascal-str' argument, save-excursion,
13746 return the found completions, and don't filter with pascal-pred.
13747 (pascal-completion-cache): New var.
13748 (pascal-completion): Don't switch buffer any more (it was never
13749 necessary). Don't save-excursion any more (it's done by the called
13750 subroutines). Use a cache to avoid redundant computations.
13751 Use complete-with-action rather than pascal-completion-response and
13752 let it apply the predicate as well.
13753 (pascal-complete-word): Use completion-in-buffer when
13754 pascal-toggle-completions is nil.
13755 (pascal-show-completions): Don't bind pascal-buffer-to-use since it's
13757 (pascal-comp-defun): Don't change buffer any more.
13758 Use complete-with-action rather than pascal-completion-response and
13759 let it apply the predicate as well.
13760 (pascal-goto-defun): Change buffer before calling pascal-comp-defun
13763 2009-12-02 Kenichi Handa <handa@m17n.org>
13765 * language/indian.el: Include ZWJ and ZWNJ in the patterns to
13766 shape for all Indic scripts.
13768 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
13770 Use completion-in-buffer.
13771 * wid-edit.el (widget-field-text-end): New function.
13772 (widget-field-value-get): Use it.
13773 (widget-string-complete, widget-file-complete)
13774 (widget-color-complete): Use it and completion-in-region.
13775 (widget-complete): Don't narrow the buffer.
13777 2009-12-02 Glenn Morris <rgm@gnu.org>
13779 * mail/rmail.el (rmail-pop-to-buffer): New function. (Bug#2282)
13780 (rmail-select-summary): Use rmail-pop-to-buffer.
13781 * mail/rmailsum.el: Replace all pop-to-buffer calls with
13782 rmail-pop-to-buffer, to prevent horizontal splits.
13784 * calendar/diary-lib.el (diary-list-entries): Replace superfluous
13785 save-excursion with save-current-buffer.
13786 Widen before searching. (Bug#5093)
13787 (diary-list-sexp-entries): Remove superfluous save-excursion.
13789 2009-12-02 Michael Welsh Duggan <mwd@cert.org>
13791 * woman.el (woman-make-bufname): Handle man-pages with "." in the
13794 2009-12-02 Andreas Politz <politza@fh-trier.de> (tiny change)
13796 * ido.el (ido-file-internal): Handle filenames at point that do
13797 not have a directory part. (Bug#5049)
13799 2009-12-02 Juanma Barranquero <lekktu@gmail.com>
13801 * mpc.el (mpc-intersection, mpc-host, mpc-songs-playlist)
13802 (mpc-songs-jump-to, mpc-resume): Doc fixes.
13804 2009-12-01 Rob Riepel <riepel@networking.Stanford.EDU>
13806 * emulation/tpu-extras.el (tpu-cursor-free-mode): Emit message.
13807 (tpu-set-cursor-free, tpu-set-cursor-bound): Don't emit a message
13810 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
13812 * comint.el (comint-insert-input): Ignore clicks to the right of
13813 the field. Reported by Bob Nnamtrop <bobnnamtrop@gmail.com>.
13815 * vc.el (vc-print-log-internal): Don't wait for the process to
13816 terminate before setting up the major mode.
13818 * pcmpl-unix.el (pcomplete/cd): Complete more than one argument, just
13821 * pcomplete.el (pcomplete-std-complete): Don't try to complete past
13824 * simple.el (normal-erase-is-backspace-mode): Fix thinko in message.
13826 2009-12-01 Glenn Morris <rgm@gnu.org>
13828 * window.el (window--display-buffer-2): Fix previous changes.
13830 2009-12-01 Chong Yidong <cyd@stupidchicken.com>
13832 * mail/sendmail.el (mail-setup-hook, mail-send-hook): Doc fixes.
13834 2009-12-01 Glenn Morris <rgm@gnu.org>
13836 * Makefile.in (ELCFILES): Add mpc.elc.
13838 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
13840 * mpc.el: New file.
13842 2009-12-01 Glenn Morris <rgm@gnu.org>
13844 * window.el (window-to-use): Define for compiler.
13846 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Make message
13847 consistent with others (no final period).
13849 * mail/rmailmm.el (rmail-mime-handle): Doc fix.
13850 (rmail-mime-show): Downcase the encoding. (Bug#5070)
13852 2009-12-01 Dan Nicolaescu <dann@ics.uci.edu>
13854 Make vc-print-log buttons work.
13855 * log-view.el (log-view-mode-map): Inherit from widget-keymap.
13857 2009-11-30 Ryan C. Thompson <rct@thompsonclan.org> (tiny change)
13859 * savehist.el (savehist-autosave-interval): Allow setting to nil
13860 through customize. (Bug#5056)
13862 2009-11-30 Juanma Barranquero <lekktu@gmail.com>
13864 Fix references to jit-lock properties.
13865 * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
13866 Refer to jit-lock-defer-multiline, not jit-lock-multiline.
13867 (perl-font-lock-special-syntactic-constructs):
13868 Quote jit-lock-defer-multiline property.
13870 2009-11-30 Dan Nicolaescu <dann@ics.uci.edu>
13872 * vc-git.el (vc-git-registered): Call vc-git-root only once.
13874 2009-11-30 Juri Linkov <juri@jurta.org>
13876 * misearch.el (multi-isearch-search-fun): Always provide a non-nil
13877 value `buffer' of `multi-isearch-next-buffer-current-function'.
13878 Use `(current-buffer)' when `buffer' is nil.
13879 (multi-isearch-next-buffer-from-list): Don't fallback to
13880 `(current-buffer)' when `buffer' is nil. (Bug#4947)
13882 2009-11-30 Juri Linkov <juri@jurta.org>
13884 * misearch.el (multi-isearch-read-buffers): Move canonicalization
13885 of buffers with `get-buffer' to `multi-isearch-buffers'.
13886 (multi-isearch-buffers, multi-isearch-buffers-regexp):
13887 Canonicalize BUFFERS with `get-buffer'. Doc fix.
13888 (multi-isearch-files, multi-isearch-files-regexp): Canonicalize
13889 FILES with `expand-file-name' converting relative file names
13890 to absolute. Doc fix. (Bug#4727)
13892 2009-11-30 Juri Linkov <juri@jurta.org>
13894 * misearch.el (multi-isearch-read-buffers)
13895 (multi-isearch-read-matching-buffers): New functions.
13896 (multi-isearch-buffers, multi-isearch-buffers-regexp):
13897 Use them in the `interactive' spec. Doc fix.
13898 (multi-isearch-read-files, multi-isearch-read-matching-files):
13900 (multi-isearch-files, multi-isearch-files-regexp):
13901 Use them in the `interactive' spec. Doc fix. (Bug#4725)
13903 2009-11-30 Juri Linkov <juri@jurta.org>
13905 * doc-view.el (doc-view-continuous):
13906 Rename from `doc-view-continuous-mode'.
13907 (doc-view-menu): Move "Toggle display" to the top.
13908 Add submenu "Continuous" with radio buttons "Off"/"On"
13909 and "Save as Default".
13910 (doc-view-scroll-up-or-next-page)
13911 (doc-view-scroll-down-or-previous-page)
13912 (doc-view-next-line-or-next-page)
13913 (doc-view-previous-line-or-previous-page):
13914 Rename `doc-view-continuous-mode' to `doc-view-continuous'. (Bug#4896)
13916 2009-11-30 Juri Linkov <juri@jurta.org>
13918 * comint.el (comint-mode-map): Rebind `M-r' from
13919 `comint-previous-matching-input' to
13920 `comint-history-isearch-backward-regexp'.
13921 Unbind `M-s' to allow global key binding `M-s'.
13922 Add menu items for `comint-history-isearch-backward' and
13923 `comint-history-isearch-backward-regexp'. (Bug#3746)
13925 2009-11-30 Juri Linkov <juri@jurta.org>
13927 * replace.el (perform-replace): Let-bind recenter-last-op to nil.
13928 For def=recenter, replace `recenter' with `recenter-top-bottom'
13929 that is called with `this-command' and `last-command' let-bound
13930 to `recenter-top-bottom'. When the last `def' was not `recenter',
13931 set `recenter-last-op' to nil. (Bug#4981)
13933 2009-11-30 Stefan Monnier <monnier@iro.umontreal.ca>
13935 Minor cleanup and simplification.
13936 * filecache.el (file-cache-add-directory)
13937 (file-cache-add-directory-recursively)
13938 (file-cache-add-from-file-cache-buffer)
13939 (file-cache-delete-file-regexp, file-cache-delete-directory)
13940 (file-cache-files-matching-internal, file-cache-display): Use dolist.
13941 (file-cache-temp-minibuffer-message): Delete function.
13942 (file-cache-minibuffer-complete): Use minibuffer-message instead.
13944 * progmodes/perl-mode.el (perl-font-lock-special-syntactic-constructs):
13945 Don't signal an error when bumping into EOB in tr, s, or y.
13947 2009-11-29 Juri Linkov <juri@jurta.org>
13949 * startup.el (fancy-about-text): Fix wording of Guided Tour.
13952 * descr-text.el (describe-char-unidata-list): Use lowercase name
13953 for "Unicode name" like in other tags.
13955 2009-11-29 Juri Linkov <juri@jurta.org>
13957 * ediff-util.el (ediff-minibuffer-with-setup-hook):
13958 New compatibility macro.
13959 (ediff-read-file-name): Use it instead of `minibuffer-with-setup-hook'.
13961 2009-11-29 Juri Linkov <juri@jurta.org>
13963 Add defcustom to define the cycling order of `recenter-top-bottom'.
13966 * window.el (recenter-last-op): Doc fix.
13967 (recenter-positions): New defcustom.
13968 (recenter-top-bottom): Rewrite to use `recenter-positions'.
13969 (move-to-window-line-top-bottom): Rewrite to use `recenter-positions'.
13971 2009-11-29 Michael Albinus <michael.albinus@gmx.de>
13973 Improve integration of Tramp and ange-ftp in eshell.
13975 * eshell/em-unix.el (eshell/whoami): Make it a defun but a defalias.
13976 (eshell/su): Flatten args. Apply better args parsing. Use "cd".
13977 (eshell/sudo): Flatten args. Let-bind `default-directory'.
13979 * eshell/esh-util.el (top): Require also Tramp when compiling.
13980 (eshell-directory-files-and-attributes): Check for FTP remote
13982 (eshell-parse-ange-ls): Let-bind `ange-ftp-name-format',
13983 `ange-ftp-ftp-name-arg', `ange-ftp-ftp-name-res'.
13984 (eshell-file-attributes): Handle ".". Return `entry'.
13986 * net/ange-ftp.el (ange-ftp-parse-filename): Use `save-match-data'.
13987 (ange-ftp-directory-files-and-attributes)
13988 (ange-ftp-real-directory-files-and-attributes): New defuns.
13990 * net/tramp.el (tramp-maybe-open-connection): Open the remote
13991 shell with "exec" when possible. This prevents trailing prompts
13992 in `start-file-process'.
13994 2009-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
13996 Try and remove assumptions about point-min==1.
13997 * nxml/rng-valid.el (rng-validate-mode): Don't hardcode point-min==1.
13998 (rng-compute-mode-line-string): Show the validation percentage in
13999 terms of the narrowed text, not the widened text.
14000 (rng-do-some-validation): Don't catch internal errors when debugging.
14001 (rng-first-error): Simplify.
14002 (rng-after-change-function): Remove work around. AFAIK the bug has
14003 been fixed a while ago.
14005 * image-mode.el (image-minor-mode): Exit more gracefully when the image
14006 cannot be displayed (e.g. when doing C-x C-f some-new-file.svg RET).
14008 * man.el (Man-completion-table): Make it easier to enter "<sec> <name>".
14010 * eshell/em-prompt.el (eshell-prompt-function): Abbreviate pwd, since
14011 `cd' doesn't always do it for us (bug#5067).
14013 * pcomplete.el (pcomplete-entries): Revert change installed mistakenly
14014 on 2009-10-25 as part of some other change (bug#5067).
14016 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
14018 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
14020 (byte-compile-warnings): Use byte-compile-warning-types.
14021 (byte-compile-save-excursion): Warn about use of set-buffer right
14022 after save-excursion.
14024 * progmodes/gud.el (gud-basic-call): Don't only save the buffer but
14025 the excursion as well.
14027 2009-11-27 Michael Albinus <michael.albinus@gmx.de>
14029 * eshell/em-unix.el (eshell/su, eshell/sudo): New defuns,
14030 providing a Tramp related implementation of "su" and "sudo".
14031 (eshell-unix-initialize): Add "su" and "sudo".
14033 2009-11-27 Daiki Ueno <ueno@unixuser.org>
14035 * net/socks.el (socks-send-command): Convert binary request to
14036 unibyte before sending. This fixes mishandling of some port
14037 numbers such as 129.
14039 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
14041 * help.el (describe-bindings-internal): Remove `interactive'.
14043 * man.el (Man-completion-table): Trim a terminating "(".
14044 Remove the space between name page a section.
14045 Add the command's description on the `help-echo' property.
14046 Remove `process-connection-type' binding since it's unused by
14048 Provide completion for the "<section> <name>" format as well.
14049 (Man-default-man-entry): Remove spurious var shadowing the argument.
14051 2009-11-26 Kevin Ryde <user42@zip.com.au>
14053 * log-view.el: Add "Keywords: tools", since its other keywords
14054 aren't in finder-known-keywords, and following vc.el.
14056 * sha1.el (sha1-string-external): default-directory "/" in case
14057 otherwise non-existent. process-connection-type pipe for touch of
14058 efficiency recommended by elisp manual. (An aside in Bug#3911.)
14060 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
14062 Misc coding convention cleanups.
14063 * htmlfontify.el (hfy-init-kludge-hook): Rename from
14064 hfy-init-kludge-hooks.
14065 (hfy-etags-cmd, hfy-flatten-style, hfy-invisible-name, hfy-face-at)
14066 (hfy-fontify-buffer, hfy-prepare-index-i, hfy-subtract-maps)
14067 (hfy-save-kill-buffers, htmlfontify-copy-and-link-dir): Use dolist
14069 (hfy-slant, hfy-weight): Use tables rather than code.
14070 (hfy-box-to-border-assoc, hfy-box-to-style, hfy-decor)
14071 (hfy-face-to-style-i, hfy-fontify-buffer): Use `case'.
14072 (hfy-face-attr-for-class): Initialize `face-spec' directly.
14073 (hfy-face-to-css): Remove `nconc' with single arg.
14074 (hfy-p-to-face-lennart): Use `or'.
14075 (hfy-face-at): Hoist common code. Remove spurious quotes in `case'.
14076 (hfy-overlay-props-at, hfy-mark-tag-hrefs): Eta-reduce.
14077 (hfy-compile-stylesheet, hfy-merge-adjacent-spans)
14078 (hfy-compile-face-map, hfy-parse-tags-buffer): Use push.
14079 (hfy-force-fontification): Use run-hooks.
14081 2009-11-26 Vivek Dasmohapatra <vivek@etla.org>
14083 Various minor fixes.
14084 * htmlfontify.el (hfy-default-header): Add toggle_invis since
14085 Javascript belongs in the header, not the body.
14086 (hfy-javascript): Remove.
14087 (hfy-fontify-buffer): Don't insert it any more.
14088 (hfy-face-at): Handle (face0 face1 face2) style face properties.
14089 Fix bug in invis handling when there were no invis props in a chunk.
14091 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
14093 * vc-bzr.el (vc-bzr-annotate-command): Make operation asynchronous.
14095 2009-11-26 Dan Nicolaescu <dann@ics.uci.edu>
14097 * finder.el (finder-mode-map): Add a menu.
14099 2009-11-26 Michael McNamara <mac@mail.brushroad.com>
14101 * progmodes/verilog-mode.el (verilog-at-struct-p): Support "signed" and
14102 "unsigned" structs.
14104 (verilog-leap-to-head, verilog-backward-token): Handle "disable
14105 fork" statement better.
14107 2009-11-26 Wilson Snyder <wsnyder@wsnyder.org>
14109 * progmodes/verilog-mode.el (verilog-auto-insert-lisp)
14110 (verilog-delete-auto, verilog-delete-empty-auto-pair)
14111 (verilog-library-filenames): Fix AUTOINSERTLISP to support insert-file.
14112 Reported by Clay Douglass.
14114 (verilog-auto-inst, verilog-auto-star-safe)
14115 (verilog-delete-auto-star-implicit, verilog-read-sub-decls):
14116 Fix removing "// Interfaces" when saving .* expansions.
14117 Reported by Pierre-David Pfister.
14119 2009-11-26 Glenn Morris <rgm@gnu.org>
14121 * eshell/em-dirs.el (eshell/cd): Don't throw to a tag outside
14124 2009-11-25 Johan Bockgård <bojohan@gnu.org>
14126 * vc-annotate.el (vc-annotate-revision-previous-to-line):
14127 Really use previous revision.
14129 2009-11-25 Kevin Ryde <user42@zip.com.au>
14131 * man.el (Man-completion-table): default-directory "/" in case
14132 doesn't otherwise exist. process-environment COLUMNS=999 so as
14133 not to truncate long names. process-connection-type pipe to avoid
14134 any chance of hitting the pseudo-tty TIOCGWINSZ.
14135 (man): completion-ignore-case t for friendliness and since man
14136 itself is case-insensitive on the command line.
14137 Further to Bug#3717.
14139 * arc-mode.el: Add "Keywords: files", so the details in its
14140 commentary can be reached from finder-by-keyword.
14141 * textmodes/dns-mode.el: Add "Keywords: comm". It's only an
14142 editing mode, but it's comms related and sgml-mode.el has "comm"
14144 * textmodes/bibtex-style.el: Add "Keywords: tex".
14145 * international/isearch-x.el, international/ja-dic-cnv.el:
14146 * international/ja-dic-utl.el, international/kkc.el:
14147 Add "Keywords: i18n", so they can be reached from finder-by-keyword.
14149 2009-11-25 Juri Linkov <juri@jurta.org>
14151 * man.el (Man-completion-table): Modify regexp to include
14152 section names to completion strings. (Bug#3717)
14154 2009-11-25 Juri Linkov <juri@jurta.org>
14156 Search recursively in gzipped files. (Bug#4982)
14158 * progmodes/grep.el (grep-highlight-matches): Add new options
14159 `always' and `auto'. Doc fix.
14160 (grep-process-setup): Check `grep-highlight-matches' for
14161 `auto-detect' to determine the need to compute grep defaults.
14162 Move Windows/DOS specific --colors settings handling
14163 to `grep-compute-defaults'. Check `grep-highlight-matches'
14164 to get the value of "--color=".
14165 (grep-compute-defaults): Compute `grep-highlight-matches' when it
14166 has the value `auto-detect'. Move Windows/DOS specific settings
14167 from `grep-process-setup'.
14168 (zrgrep): New command with alias `rzgrep'.
14170 2009-11-25 Juri Linkov <juri@jurta.org>
14172 * doc-view.el (doc-view-mode): Set buffer-local `view-read-only'
14173 to nil instead of switching off view-mode. (Bug#4896)
14175 2009-11-25 Juri Linkov <juri@jurta.org>
14177 Mouse-wheel scrolling for DocView Continuous mode. (Bug#4896)
14179 * mwheel.el (mwheel-scroll-up-function)
14180 (mwheel-scroll-down-function): New defvars.
14181 (mwheel-scroll): Funcall `mwheel-scroll-up-function' instead of
14182 `scroll-up', and `mwheel-scroll-down-function' instead of
14185 * doc-view.el (doc-view-scroll-up-or-next-page)
14186 (doc-view-scroll-down-or-previous-page): Add optional ARG.
14187 Use this ARG in the call to image-scroll-up/image-scroll-down.
14188 Change `interactive' spec to "P". Goto next/previous page only
14189 when `doc-view-continuous-mode' is non-nil or ARG is nil (for the
14190 SPC/DEL case). Doc fix.
14191 (doc-view-next-line-or-next-page)
14192 (doc-view-previous-line-or-previous-page): Rename arg to ARG
14194 (doc-view-mode): Set buffer-local `mwheel-scroll-up-function' to
14195 `doc-view-scroll-up-or-next-page', and buffer-local
14196 `mwheel-scroll-down-function' to
14197 `doc-view-scroll-down-or-previous-page'.
14199 2009-11-25 Juri Linkov <juri@jurta.org>
14201 Provide additional default values (directories at other Dired
14202 windows) via M-n in the minibuffer of some Dired commands.
14204 * dired-aux.el (dired-diff, dired-compare-directories)
14205 (dired-do-create-files): Use `dired-dwim-target-defaults' to set
14206 `minibuffer-default' in `minibuffer-with-setup-hook'.
14207 (dired-dwim-target-directory): Find a window that displays Dired
14208 buffer instead of failing when the next window is not Dired.
14209 Use `get-window-with-predicate' to find for the next Dired window.
14210 (dired-dwim-target-defaults): New function.
14212 * ediff-util.el (ediff-read-file-name):
14213 Use `dired-dwim-target-defaults' to set `minibuffer-default'
14214 in `minibuffer-with-setup-hook'.
14216 2009-11-25 Juri Linkov <juri@jurta.org>
14218 Provide additional default values (file name at point or at the
14219 current Dired line) via M-n for file reading minibuffers. (Bug#5010)
14221 * minibuffer.el (read-file-name-defaults): New function.
14222 (read-file-name): Reset `minibuffer-default' to nil when
14223 it duplicates initial input `insdef'.
14224 Bind `minibuffer-default-add-function' to lambda that
14225 calls `read-file-name-defaults' in `minibuffer-selected-window'.
14226 (minibuffer-insert-file-name-at-point): New command.
14228 * files.el (file-name-at-point-functions): New defcustom.
14229 (find-file-default): Remove defvar.
14230 (find-file-read-args): Don't use `find-file-default'.
14231 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
14232 to `read-file-name'.
14233 (find-file-literally): Use `read-file-name' with
14234 `confirm-nonexistent-file-or-buffer'.
14236 * ffap.el (ffap-guess-file-name-at-point): New autoloaded function.
14238 * dired.el (dired-read-dir-and-switches):
14239 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
14240 to `read-file-name'.
14241 (dired-file-name-at-point): New function.
14242 (dired-mode): Add hook `dired-file-name-at-point' to
14243 `file-name-at-point-functions'.
14245 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
14247 Really make the *Completions* window soft-dedicated (bug#5030).
14248 * window.el (window--display-buffer-2): Add `dedicated' argument.
14249 (display-buffer): Pass it when needed so the dedicated flag is set
14250 after calling set-window-buffer, which would otherwise reset it.
14252 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
14254 * progmodes/meta-mode.el (meta-complete-symbol):
14255 * progmodes/etags.el (complete-tag):
14256 * mail/mailabbrev.el (mail-abbrev-complete-alias):
14257 Use completion-in-region.
14259 * dabbrev.el (dabbrev--minibuffer-origin): Use minibuffer-selected-window.
14260 (dabbrev-completion): Use completion-in-region.
14261 (dabbrev--abbrev-at-point): Simplify regexp.
14263 * abbrev.el (abbrev--before-point): Use word-motion functions
14264 if :regexp is not specified (bug#5031).
14266 * subr.el (string-prefix-p): New function.
14268 * man.el (Man-completion-cache): New var.
14269 (Man-completion-table): Use it.
14271 * vc.el (vc-print-log-internal): Make `limit' optional for better
14272 compatibility (e.g. with vc-annotate.el).
14274 2009-11-24 Kevin Ryde <user42@zip.com.au>
14276 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp):
14277 Build value with regexp-opt instead of explicit joining loop. (Bug#4927)
14279 * emacs-lisp/elint.el (elint-add-required-env): Better error message
14280 when .el source file not found or other error.
14282 2009-11-24 Markus Triska <markus.triska@gmx.at>
14284 * linum.el (linum-update-window): Ignore intangible (bug#4996).
14286 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
14288 Handle the [back] button properly (bug#4979).
14289 * descr-text.el (describe-text-properties): Add a `buffer' argument.
14290 Use help-setup-xref, help-buffer, and with-help-window.
14291 (describe-char): Add `buffer' argument.
14292 Pass proper command to help-setup-xref. Don't meddle with
14293 help-xref-stack-item directly.
14294 (describe-text-category): Use with-help-window and help-buffer.
14296 * emacs-lisp/shadow.el (list-load-path-shadows): Setup a major mode
14297 for the displayed buffer (bug#4887).
14299 * man.el (Man-completion-table): New function.
14302 2009-11-24 David Reitter <david.reitter@gmail.com>
14304 * vc-git.el (vc-git-registered): Use checkout directory (where
14305 .git is) rather than the file's directory and a relative path spec
14306 to work around a bug in git.
14308 2009-11-24 Michael Albinus <michael.albinus@gmx.de>
14310 Improve handling of processes on remote hosts.
14312 * eshell/esh-util.el (eshell-path-env): New defvar.
14313 (eshell-parse-colon-path): New defun.
14314 (eshell-file-attributes): Use `eshell-parse-colon-path'.
14316 * eshell/esh-ext.el (eshell-search-path):
14317 Use `eshell-parse-colon-path'.
14318 (eshell-remote-command): Remove argument HANDLER.
14319 (eshell-external-command): Check for FTP remote connection.
14321 * eshell/esh-proc.el (eshell-gather-process-output):
14322 Use `file-truename', in order to start also symlinked files.
14323 Apply `start-file-process' instead of `start-process'.
14324 Shorten `command' to the local file name part.
14326 * eshell/em-cmpl.el (eshell-complete-commands-list):
14327 Use `eshell-parse-colon-path'.
14329 * eshell/em-unix.el (eshell/du): Check for FTP remote connection.
14331 * net/tramp.el (tramp-eshell-directory-change): New defun. Add it
14332 to `eshell-directory-change-hook'.
14334 2009-11-24 Tassilo Horn <tassilo@member.fsf.org>
14336 * doc-view.el (doc-view-mode): Switch off view-mode explicitly,
14337 because it could be enabled automatically if view-read-only is non-nil.
14339 2009-11-24 Michael Kifer <kifer@cs.stonybrook.edu>
14341 * ediff-vers.el (ediff-rcs-get-output-buffer): Revert the change
14342 made on 2009-11-22.
14344 2009-11-24 Glenn Morris <rgm@gnu.org>
14346 * bookmark.el (bookmark-bmenu-hide-filenames): Remove assignment to
14347 deleted variable bookmark-bmenu-bookmark-column.
14349 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
14351 * bookmark.el (bookmark-bmenu-search): Clear echo area when exiting.
14353 2009-11-23 Ken Brown <kbrown@cornell.edu> (tiny change)
14355 * net/browse-url.el (browse-url-filename-alist): On Windows, add
14356 two slashes to the "file:" prefix.
14357 (browse-url-file-url): De-munge Cygwin filenames before passing
14358 them to Windows browser.
14359 (browse-url-default-windows-browser): Use call-process.
14361 2009-11-23 Juri Linkov <juri@jurta.org>
14363 Implement DocView Continuous mode. (Bug#4896)
14364 * doc-view.el (doc-view-continuous-mode): New defcustom.
14365 (doc-view-mode-map): Bind C-n/<down> to
14366 `doc-view-next-line-or-next-page', C-p/<up> to
14367 `doc-view-previous-line-or-previous-page'.
14368 (doc-view-next-line-or-next-page)
14369 (doc-view-previous-line-or-previous-page): New commands.
14371 2009-11-23 Juri Linkov <juri@jurta.org>
14373 Implement Isearch in comint input history. (Bug#3746)
14374 * comint.el (comint-mode): Add `comint-history-isearch-setup' to
14375 `isearch-mode-hook'.
14376 (comint-history-isearch): New defcustom.
14377 (comint-history-isearch-backward)
14378 (comint-history-isearch-backward-regexp): New commands.
14379 (comint-history-isearch-message-overlay): New buffer-local variable.
14380 (comint-history-isearch-setup, comint-history-isearch-end)
14381 (comint-goto-input, comint-history-isearch-search)
14382 (comint-history-isearch-message, comint-history-isearch-wrap)
14383 (comint-history-isearch-push-state)
14384 (comint-history-isearch-pop-state): New functions.
14386 2009-11-23 Michael Albinus <michael.albinus@gmx.de>
14388 * net/tramp.el (tramp-shell-prompt-pattern): Use \r for carriage
14390 (tramp-handle-make-symbolic-link)
14391 (tramp-handle-dired-compress-file, tramp-handle-expand-file-name):
14393 (tramp-send-command-and-check): New argument DONT-SUPPRESS-ERR.
14394 (tramp-handle-process-file): Use it.
14396 2009-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
14398 * window.el (move-to-window-line-last-op): Remove.
14399 (move-to-window-line-top-bottom): Reuse recenter-last-op instead.
14401 2009-11-23 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
14403 Make M-r mirror the new cycling behavior of C-l.
14404 * window.el (move-to-window-line-last-op): New var.
14405 (move-to-window-line-top-bottom): New command.
14406 (global-map): Bind M-r move-to-window-line-top-bottom.
14408 2009-11-23 Sven Joachim <svenjoac@gmx.de>
14410 * dired-x.el (dired-guess-shell-alist-default):
14411 Support xz format. (Bug#4953)
14413 2009-11-22 Michael Kifer <kifer@cs.stonybrook.edu>
14415 * emulation/viper-cmd.el: Use viper-last-command-char instead of
14416 last-command-char/last-command-event.
14417 (viper-prefix-arg-value): Do correct conversion of event-char for
14420 * emulation/viper-util.el, emulation/viper.el:
14421 Use viper-last-command-char instead of
14422 last-command-char/last-command-event.
14424 * ediff-init.el, ediff-mult.el, ediff-util.el:
14425 Replace last-command-char and last-command-event
14426 with (ediff-last-command-char) everywhere.
14428 * ediff-vers.el (ediff-rcs-get-output-buffer): Make sure the buffer is
14429 created in fundamental mode.
14431 * ediff.el (ediff-version): Revert the change of interactive-p to
14432 called-interactively-p.
14434 2009-11-22 Tassilo Horn <tassilo@member.fsf.org>
14436 * progmodes/subword.el (subword-mode-map): Fix subword-mode-map
14437 generation from word-movement command names.
14439 2009-11-21 Jan Djärv <jan.h.d@swipnet.se>
14441 * cus-start.el (all): Add native condition for font-use-system-font.
14443 2009-11-21 Nathaniel Flath <flat0103@gmail.com>
14445 * progmodes/cc-menus.el (cc-imenu-java-generic-expression):
14446 Correct the patch from 2009-11-18. (Bug#3910)
14448 2009-11-21 Tassilo Horn <tassilo@member.fsf.org>
14450 * progmodes/subword.el: Rename from lisp/subword.el.
14452 * subword.el: Rename to progmodes/subword.el.
14454 * Makefile.in (ELCFILES): Adapt to subword.el move.
14456 2009-11-21 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14457 Stefan Monnier <monnier@iro.umontreal.ca>
14459 * bookmark.el (bookmark-bmenu-bookmark-column): Remove var.
14460 (bookmark-bmenu-list): Save name on `bookmark-name-prop' text-prop.
14461 (bookmark-bmenu-show-filenames): Use push.
14462 (bookmark-bmenu-hide-filenames): Use local var instead of
14463 bookmark-bmenu-bookmark-column. Use pop. Don't save window-excursion.
14464 (bookmark-bmenu-bookmark): Use the new `bookmark-name-prop' text-prop.
14465 (bookmark-bmenu-execute-deletions): Don't bother adding/removing the
14466 filenames now that the bookmark names are always available.
14468 2009-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
14470 * bookmark.el (bookmark-search-prompt, bookmark-search-timer): Remove.
14471 (bookmark-search-pattern): Move and leave unbound.
14472 (bookmark-bmenu-mode-map): Change binding.
14473 (bookmark-read-search-input): Simplify.
14474 Don't use text-char-description. Don't error on non-char events.
14475 (bookmark-filtered-alist-by-regexp-only): Remove by folding into the
14476 only caller (i.e. bookmark-bmenu-filter-alist-by-regexp).
14477 (bookmark-bmenu-search): Don't check we're in a bookmark-list buffer.
14478 Use a local var for the timer.
14479 (bookmark-bmenu-cancel-search): Remove by folding into the only caller
14480 (i.e. bookmark-bmenu-search).
14482 2009-11-21 Glenn Morris <rgm@gnu.org>
14484 * mail/rmailmm.el (rmail-mime): Decode in fundamental-mode. (Bug#4993)
14486 2009-11-20 Ken Brown <kbrown@cornell.edu> (tiny change)
14488 * net/browse-url.el (browse-url-default-windows-browser):
14489 Use cygstart for cygwin.
14491 2009-11-20 Karl Fogel <karl.fogel@red-bean.com>
14493 * bookmark.el: Formatting and doc fixes only:
14494 (bookmark-search-delay): Shorten doc string to fit in 80 columns.
14495 (bookmark-bmenu-search): Wrap to fit within 80 columns.
14496 Minor grammar and punctuation fixes in doc string.
14497 (bookmark-read-search-input): Adjust to fit within 80 columns.
14499 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
14501 * progmodes/cc-cmds.el (c-forward-into-nomenclature)
14502 (c-backward-into-nomenclature): Adapt to subword renaming.
14504 * subword.el (subword-forward, subword-backward, subword-mark)
14505 (subword-kill, subword-backward-kill, subword-transpose)
14506 (subword-downcase, subword-upcase, subword-capitalize)
14507 (subword-forward-internal, subword-backward-internal):
14508 Rename from forward-subword, backward-subword, mark-subword,
14509 kill-subword, backward-kill-subword, transpose-subwords,
14510 downcase-subword, upcase-subword, capitalize-subword,
14511 forward-subword-internal, backward-subword-internal.
14513 2009-11-20 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14515 * bookmark.el (bookmark-search-delay, bookmark-search-prompt):
14517 (bookmark-search-pattern, bookmark-search-timer, bookmark-quit-flag):
14519 (bookmark-read-search-input, bookmark-filtered-alist-by-regexp-only)
14520 (bookmark-bmenu-filter-alist-by-regexp)
14521 (bookmark-bmenu-goto-bookmark, bookmark-bmenu-cancel-search): New funs.
14522 (bookmark-bmenu-search): New command.
14523 (bookmark-bmenu-mode-map): Bind it.
14525 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
14527 * progmodes/cc-cmds.el: declare-functioned forward-subword and
14528 backward-subword to quit the byte-compiler.
14530 * makefile.w32-in: Don't refer cc-subword.elc but subword.elc.
14532 * Makefile.in: Don't refer cc-subword.elc but subword.elc.
14534 * progmodes/cc-cmds.el (c-update-modeline)
14535 (c-forward-into-nomenclature, c-backward-into-nomenclature):
14536 Refer to subword.el functions instead of cc-subword.el.
14538 * progmodes/cc-mode.el (subword-mode, c-mode-base-map): Refer to
14539 subword.el functions instead of cc-subword.el.
14541 * progmodes/cc-subword.el: Rename to subword.el.
14542 * subword.el: Rename from progmodes/cc-subword.el.
14543 (subword-mode-map): Rename from c-subword-mode-map.
14544 (subword-mode): Rename from c-subword-mode.
14545 (global-subword-mode): New global minor mode.
14546 (forward-subword): Rename from c-forward-subword.
14547 (backward-subword): Rename from c-backward-subword.
14548 (mark-subword): Rename from c-mark-subword.
14549 (kill-subword): Rename from c-kill-subword.
14550 (backward-kill-subword): Rename from c-backward-kill-subword.
14551 (transpose-subwords): Rename from c-tranpose-subword.
14552 (downcase-subword): Rename from c-downcase-subword.
14553 (capitalize-subword): Rename from c-capitalize-subword.
14554 (forward-subword-internal): Rename from c-forward-subword-internal.
14555 (backward-subword-internal): Rename from c-backward-subword-internal.
14557 2009-11-20 Dan Nicolaescu <dann@ics.uci.edu>
14559 * vc.el (vc-deduce-fileset): Allow non-state changing operations
14560 from a dired buffer.
14561 (vc-dired-deduce-fileset): New function.
14562 (vc-root-diff, vc-print-root-log): Use it.
14564 * vc-annotate.el (vc-annotate-show-log-revision-at-line): Pass a
14565 nil LIMIT argument to vc-print-log-internal.
14567 2009-11-20 Glenn Morris <rgm@gnu.org>
14569 * Makefile.in (ELCFILES): Regenerate.
14571 2009-11-20 Jay Belanger <jay.p.belanger@gmail.com>
14573 * calc/calc.el (calc-set-mode-line):
14574 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
14575 (math-format-number): Rename `math-format-complement-signed' to
14576 `math-format-twos-complement'.
14578 * calc/calc-bin.el (math-format-twos-complement): Rename from
14579 math-format-complement-signed.
14580 (calc-radix): Rename `calc-complement-signed-mode' to
14581 `calc-twos-complement-mode'.
14582 (calc-octal-radix, calc-hex-radix): Add an argument for
14585 * calc/calc-embed.el (calc-embedded-mode-vars):
14586 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
14588 * calc/calc-ext.el (calc-init-extensions):
14589 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
14590 (math-format-number-fancy): Let `calc-twos-complement-mode' be nil.
14592 * calc/calc-units.el (math-build-units-table-buffer):
14593 Let `calc-twos-complement-mode' be nil.
14595 * calc/calc-menu.el (calc-modes-menu): Clean up two's complement
14598 * calc/calc-vec.el (calcFunc-vunpack):
14599 * calc/calc-aent.el (calc-do-calc-eval):
14600 * calc/calc-forms.el (math-format-date):
14601 * calc/calc-graph.el (calc-graph-plot):
14602 * calc/calc-math.el (math-use-emacs-fn):
14603 * calc/calccomp.el (math-compose-expr):
14604 Let `calc-twos-complement-mode' be nil.
14606 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
14608 * abbrev.el (abbrev-with-wrapper-hook): (re)move...
14609 * simple.el (with-wrapper-hook): ...to here. Add argument `args'.
14610 * minibuffer.el (completion-in-region-functions): New hook.
14611 (completion-in-region): New function.
14612 * emacs-lisp/lisp.el (lisp-complete-symbol):
14613 * pcomplete.el (pcomplete-std-complete): Use it.
14615 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
14617 * textmodes/tex-mode.el (latex-complete-bibtex-cache)
14618 (latex-complete-alist): New vars.
14619 (latex-string-prefix-p, latex-complete-bibtex-keys)
14620 (latex-complete-envnames, latex-complete-refkeys)
14621 (latex-complete-data): New functions.
14622 (latex-complete, latex-indent-or-complete): New commands.
14624 * window.el (display-buffer-mark-dedicated): New var.
14625 (display-buffer): Obey it.
14626 * minibuffer.el (minibuffer-completion-help): Use it.
14628 * progmodes/sym-comp.el (symbol-complete): Use completion-in-region.
14630 * filecache.el (file-cache-add-file): Use push and cons.
14631 (file-cache-delete-file-regexp): Use push.
14632 (file-cache-complete): Use completion-in-region.
14634 * simple.el (with-wrapper-hook): Fix thinko.
14636 * hfy-cmap.el (hfy-rgb-file): Use locate-file.
14637 (htmlfontify-load-rgb-file): Remove unnused var `ff'.
14638 Use with-current-buffer and string-to-number.
14639 (hfy-fallback-colour-values): Use assoc-string.
14640 * htmlfontify.el (hfy-face-to-css): Remove unused var `style'.
14641 (hfy-face-at): Remove unused var `found-face'.
14642 (hfy-compile-stylesheet): Remove unused var `css'.
14643 (hfy-fontify-buffer): Remove unused vars `in-style', `invis-button',
14645 (hfy-buffer, hfy-copy-and-fontify-file, hfy-parse-tags-buffer):
14646 Use with-current-buffer.
14647 (hfy-text-p): Use expand-file-name and fewer setq.
14649 2009-11-19 Vivek Dasmohapatra <vivek@etla.org>
14651 * htmlfontify.el, hfy-cmap.el: New files.
14653 2009-11-19 Juri Linkov <juri@jurta.org>
14655 * minibuffer.el (completions-format): New defcustom.
14656 (completion--insert-strings): Implement vertical format.
14658 * simple.el (switch-to-completions): Move point to the first
14659 completion when point was at the beginning of the buffer.
14661 2009-11-19 Juri Linkov <juri@jurta.org>
14663 * find-dired.el (find-name-arg): Remove autoload. (Bug#4387)
14665 * progmodes/grep.el (rgrep): Require `find-dired' for `find-name-arg'.
14667 2009-11-19 Chong Yidong <cyd@stupidchicken.com>
14669 * mail/sendmail.el (mail-yank-prefix): Change default to "> ".
14670 (mail-signature): Change default to t.
14671 (mail-from-style): Deprecate `system-default' value.
14672 (mail-insert-from-field): For default value of mail-from-style,
14673 default to `angles' unless `angles' needs quoting and `parens'
14675 (mail-citation-prefix-regexp): Use citation regexp from
14678 2009-11-19 Michael Albinus <michael.albinus@gmx.de>
14680 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
14681 Set variables for computing the prompt for reading password.
14683 2009-11-19 Glenn Morris <rgm@gnu.org>
14685 * dired-aux.el (dired-compress-file-suffixes): Add ".xz". (Bug#4953)
14687 * textmodes/flyspell.el (sgml-lexical-context): Declare.
14689 * net/newst-treeview.el (newsticker-treeview-treewindow-width)
14690 (newsticker-treeview-listwindow-height): Fix custom type.
14692 2009-11-19 Kenichi Handa <handa@m17n.org>
14694 * descr-text.el (describe-char-padded-string): Compose with TAB
14695 only if there's a font for CH.
14696 (describe-char): Fix the condition for detecting a trivial composition.
14698 2009-11-18 Nathaniel Flath <flat0103@gmail.com>
14700 * progmodes/cc-menus.el (cc-imenu-java-generic-expression): A new,
14701 more accurate version of the regexp. (Bug#3910)
14703 2009-11-18 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
14705 * vc-hg.el (vc-hg-diff): Fix last patch: do not change directory.
14707 2009-11-18 Juanma Barranquero <lekktu@gmail.com>
14709 * font-setting.el (font-use-system-font): Declare for byte-compiler.
14710 (font-setting-change-default-font): Fix typo in docstring.
14712 2009-11-18 Alan Mackenzie <acm@muc.de>
14714 * progmodes/cc-defs.el (c-version): Bump to 5.31.8.
14716 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
14718 * font-setting.el (font-use-system-font): Move ...
14720 * cus-start.el (all): ... to here.
14722 2009-11-17 Michael Albinus <michael.albinus@gmx.de>
14724 * net/tramp.el (tramp-advice-file-expand-wildcards): Simplify.
14725 Don't set `ad-return-value' if `ad-do-it' doesn't.
14727 * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Set file
14730 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
14732 * menu-bar.el: Put "Use system font" in Option-menu.
14733 (menu-bar-options-save): Add font-use-system-font.
14735 * loadup.el: If feature system-font-setting or font-render-setting is
14736 there, load font-setting.
14738 * Makefile.in (ELCFILES): Add font-settings.el.
14739 * font-setting.el: New file.
14741 2009-11-17 Glenn Morris <rgm@gnu.org>
14743 * vc-svn.el (vc-svn-print-log): Fix typo in previous.
14745 * net/newst-treeview.el (newsticker--treeview-list-update-faces):
14746 Preserve point in the list buffer. (Bug#4939)
14748 (newsticker--treeview-list-update-highlight)
14749 (newsticker--treeview-tree-update-highlight): Use point-at-bol/eol.
14751 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
14753 * calc/calc-bin.el (math-symclip, calcFunc-symclip, calc-symclip):
14756 * calc/calc-ext.el (calc-init-extensions): Remove references to
14759 * calc/calc-menu.el (calc-arithmetic-menu): Remove `calc-symclip'.
14761 * calc/calc-map.el (calc-get-operator, calc-b-oper-keys):
14762 * calc/calc-help.el (calc-b-prefix-help): Remove references to
14765 2009-11-16 Kevin Ryde <user42@zip.com.au>
14767 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
14768 Use `sgml-lexical-context' instead of own parse for tag (Bug#4511).
14770 * emacs-lisp/lisp-mnt.el (lm-keywords): Allow multi-line keywords.
14771 (lm-keywords-list): Allow comma-only separator like "foo,bar".
14772 Ignore trailing spaces by omit-nulls to split-string (fixing
14773 regression from Emacs 21 due to the incompatible split-string
14774 change). (Bug #4928.)
14776 2009-11-16 Dan Nicolaescu <dann@ics.uci.edu>
14778 * vc.el (vc-log-show-limit): Default to 2000.
14779 (vc-print-log-internal): Insert buttons to request more entries
14780 when limiting the output.
14782 * vc-sccs.el (vc-sccs-print-log):
14783 * vc-rcs.el (vc-rcs-print-log):
14784 * vc-cvs.el (vc-cvs-print-log):
14785 * vc-git.el (vc-git-print-log): Return 'limit-unsupported when
14788 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
14790 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Raise only an
14791 error when `tramp-gvfs-dbus-event-vector' is set.
14792 (tramp-gvfs-maybe-open-connection): Loop over `read-event'.
14794 2009-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
14796 * vc-rcs.el (vc-rcs-consult-headers): Add missing save-excursion.
14798 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
14800 * net/dbus.el (dbus-unregister-service): New defun.
14801 (dbus-register-property): Register the handlers of
14802 "org.freedesktop.DBus.Properties" for SERVICE.
14803 (dbus-property-handler): Fix docstring.
14805 2009-11-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
14807 * emacs-lisp/bytecomp.el (byte-compile-output-file-form):
14808 Quote doc string reference in defvaralias as it is not in special form.
14809 (byte-compile-output-docform): Doc fix.
14811 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
14813 * calc/calc.el (math-2-word-size, math-half-2-word-size)
14814 (calc-complement-signed-mode): New variables.
14815 (calc-set-mode-line): Add indicator for twos-complements.
14816 (math-format-number): Format twos-complement notation.
14818 * calc/calc-bin.el (calc-word-size): Reset the variables
14819 `math-2-word-size' and `math-half-2-word-size'.
14820 (math-format-complement-signed, math-symclip, calcFunc-symclip)
14821 (calc-symclip): New functions.
14823 * calc/calc-aent.el (math-read-token): Read complement signed numbers.
14825 * calc/calc-embed.el (calc-embedded-mode-vars):
14826 Add `calc-complement-signed-mode' to the list of modes.
14828 * calc/calc-map.el (calc-get-operator): Add `calc-symclip'.
14829 (calc-b-oper-keys): Add `calc-symclip' to list.
14831 * calc/calc-ext.el (math-read-number-fancy): Read complement
14833 (calc-init-extensions): Add binding for `calc-symclip'.
14834 Add autoload for `calcFunc-symclip' and `calc-symclip'.
14836 * calc/calc-menu.el (calc-arithmetic-menu): Add item for
14838 (calc-modes-menu): Add item for twos complement mode.
14840 * calc/calc-help.el (calc-b-prefix-help): Add help for `calc-symclip'.
14842 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
14844 * register.el (jump-to-register, insert-register): Handle Semantic
14845 tags. From commented-out advice in semantic/senator.el.
14847 2009-11-15 Dan Nicolaescu <dann@ics.uci.edu>
14849 * vc.el (vc-log-show-limit): New variable.
14850 (vc-print-log, vc-print-root-log): Add new argument LIMIT. Set it
14851 when using a prefix argument.
14852 (vc-print-log-internal): Add new argument LIMIT.
14854 * vc-svn.el (vc-svn-print-log):
14855 * vc-mtn.el (vc-mtn-print-log):
14856 * vc-hg.el (vc-hg-print-log):
14857 * vc-bzr.el (vc-bzr-print-log): Add new optional argument LIMIT,
14858 pass it to the log command when set. Make the BUFFER argument
14861 * vc-sccs.el (vc-sccs-print-log):
14862 * vc-rcs.el (vc-rcs-print-log):
14863 * vc-git.el (vc-git-print-log):
14864 * vc-cvs.el (vc-cvs-print-log): Add new optional argument LIMIT,
14865 ignore it. Make the BUFFER argument non-optional
14867 * bindings.el (mode-line-buffer-identification): Do not purecopy.
14869 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
14871 * dired.el (dired-mode-map): Move encryption items to "Operate"
14874 * strokes.el (strokes-update-window-configuration): Make strokes
14875 buffer current before erasing (Bug#4906).
14877 2009-11-15 Juri Linkov <juri@jurta.org>
14879 * simple.el (set-mark-default-inactive): Add :type, :group
14880 and :version. (Bug#4876)
14882 2009-11-15 Michael Albinus <michael.albinus@gmx.de>
14884 * arc-mode.el (archive-maybe-copy): Move creation of directory ...
14885 (archive-unique-fname): ... here. (Bug#4929)
14887 2009-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
14889 * help-mode.el (help-make-xrefs): Undo the last revert, and replace it
14892 * novice.el (disabled-command-function): Add useful args.
14893 Setup the help buffer so that [back] works.
14894 Remove redundant call to help-mode.
14895 (disabled-command-function): Use `case'.
14896 (en/disable-command): New function extracted from enable-command.
14897 (enable-command, disable-command): Use it.
14899 2009-11-14 Glenn Morris <rgm@gnu.org>
14901 * menu-bar.el (menu-bar-tools-menu): Read and send mail entries are not
14902 constants. (Bug#4913)
14904 * emacs-lisp/elint.el (elint-standard-variables): Doc fix.
14906 2009-11-14 Shigeru Fukaya <shigeru.fukaya@gmail.com>
14908 * emacs-lisp/elint.el (elint-standard-variables): Add some variables
14909 defined in C that have no doc-strings. (Bug#1063)
14911 2009-11-14 Francis Wright <F.J.Wright@qmul.ac.uk>
14913 * cus-edit.el (data, files):
14914 * ps-print.el (postscript): Doc fixes for custom groups. (Bug#3327)
14916 2009-11-14 Chong Yidong <cyd@stupidchicken.com>
14918 * simple.el (shell-command): Doc fix (Bug#4891).
14920 * help-mode.el (help-make-xrefs): Revert 2009-11-13 change.
14922 2009-11-14 Glenn Morris <rgm@gnu.org>
14924 * emulation/viper.el (viper-set-hooks): Remove duplicate advice
14925 statements for vc-diff, emerge-quit, and rmail-cease-edit.
14926 If they are already loaded, eval-after-load will do the right thing.
14928 * speedbar.el (top-level): Remove unnecessary load of ange-ftp when
14931 * emacs-lisp/bytecomp.el (byte-compile-single-version): Remove, unused.
14933 * simple.el (x-selection-owner-p): Declare.
14934 (read-mail-command): Use custom radio type rather than choice.
14935 (completion-no-auto-exit): Doc fix.
14937 * custom.el (defgroup):
14938 * epg-config.el (epg): Doc fixes.
14940 2009-11-14 Dan Nicolaescu <dann@ics.uci.edu>
14942 * bindings.el (mode-line-buffer-identification): Purecopy only the string.
14943 * international/ccl.el (define-ccl-program): Do not purecopy the
14944 docstring, defconst does it anyway.
14946 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
14948 * add-log.el (add-change-log-entry): Avoid displaying the changelog
14951 * x-dnd.el (x-dnd-maybe-call-test-function):
14952 * window.el (split-window-vertically):
14953 * whitespace.el (whitespace-help-on):
14954 * vc-rcs.el (vc-rcs-consult-headers):
14955 * userlock.el (ask-user-about-lock-help)
14956 (ask-user-about-supersession-help):
14957 * type-break.el (type-break-force-mode-line-update):
14958 * time-stamp.el (time-stamp-conv-warn):
14959 * terminal.el (te-set-output-log, te-more-break, te-filter)
14960 (te-sentinel, terminal-emulator):
14961 * term.el (make-term, term-exec, term-sentinel, term-read-input-ring)
14962 (term-write-input-ring, term-check-source, term-start-output-log):
14963 (term-display-buffer-line, term-dynamic-list-completions):
14964 (term-ansi-make-term, serial-term):
14965 * subr.el (selective-display):
14966 * strokes.el (strokes-xpm-to-compressed-string, strokes-decode-buffer)
14967 (strokes-encode-buffer, strokes-xpm-for-compressed-string):
14968 * speedbar.el (speedbar-buffers-tail-notes, speedbar-buffers-item-info)
14969 (speedbar-reconfigure-keymaps, speedbar-add-localized-speedbar-support)
14970 (speedbar-remove-localized-speedbar-support)
14971 (speedbar-set-mode-line-format, speedbar-create-tag-hierarchy)
14972 (speedbar-update-special-contents, speedbar-buffer-buttons-engine)
14973 (speedbar-buffers-line-directory):
14974 * simple.el (shell-command-on-region, append-to-buffer)
14975 (prepend-to-buffer):
14976 * shadowfile.el (shadow-save-todo-file):
14977 * scroll-bar.el (scroll-bar-set-window-start, scroll-bar-drag-1)
14978 (scroll-bar-maybe-set-window-start):
14979 * sb-image.el (speedbar-image-dump):
14980 * saveplace.el (save-place-alist-to-file, save-places-to-alist)
14981 (load-save-place-alist-from-file):
14982 * ps-samp.el (ps-print-message-from-summary):
14983 * ps-print.el (ps-flush-output, ps-insert-file, ps-get-boundingbox)
14984 (ps-background-image, ps-begin-job, ps-do-despool):
14985 * ps-bdf.el (bdf-find-file, bdf-read-font-info):
14986 * printing.el (pr-interface, pr-ps-file-print, pr-find-buffer-visiting)
14987 (pr-ps-message-from-summary, pr-lpr-message-from-summary):
14988 (pr-call-process, pr-file-list, pr-interface-save):
14989 * novice.el (disabled-command-function)
14990 (enable-command, disable-command):
14991 * mouse.el (mouse-buffer-menu-alist):
14992 * mouse-copy.el (mouse-kill-preserving-secondary):
14993 * macros.el (kbd-macro-query):
14994 * ledit.el (ledit-go-to-lisp, ledit-go-to-liszt):
14995 * informat.el (batch-info-validate):
14996 * ido.el (ido-copy-current-word, ido-initiate-auto-merge):
14997 * hippie-exp.el (try-expand-dabbrev-visible):
14998 * help-mode.el (help-make-xrefs):
14999 * help-fns.el (describe-variable):
15000 * generic-x.el (bat-generic-mode-run-as-comint):
15001 * finder.el (finder-mouse-select):
15002 * find-dired.el (find-dired-sentinel):
15003 * filesets.el (filesets-file-close):
15004 * files.el (list-directory):
15005 * faces.el (list-faces-display, describe-face):
15006 * facemenu.el (list-colors-display):
15007 * ezimage.el (ezimage-image-association-dump, ezimage-image-dump):
15008 * epg.el (epg--process-filter, epg-cancel):
15009 * epa.el (epa--marked-keys, epa--select-keys, epa-display-info)
15010 (epa--read-signature-type):
15011 * emerge.el (emerge-copy-as-kill-A, emerge-copy-as-kill-B)
15012 (emerge-file-names):
15013 * ehelp.el (electric-helpify):
15014 * ediff.el (ediff-regions-wordwise, ediff-regions-linewise):
15015 * ediff-vers.el (rcs-ediff-view-revision):
15016 * ediff-util.el (ediff-setup):
15017 * ediff-mult.el (ediff-append-custom-diff):
15018 * ediff-diff.el (ediff-exec-process, ediff-process-sentinel)
15020 * echistory.el (Electric-command-history-redo-expression):
15021 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
15022 * disp-table.el (describe-display-table):
15023 * dired.el (dired-find-buffer-nocreate):
15024 * dired-aux.el (dired-rename-subdir, dired-dwim-target-directory):
15025 * dabbrev.el (dabbrev--same-major-mode-p):
15026 * chistory.el (list-command-history):
15027 * apropos.el (apropos-documentation):
15028 * allout.el (allout-obtain-passphrase):
15029 (allout-copy-exposed-to-buffer):
15030 (allout-verify-passphrase): Use with-current-buffer.
15032 2009-11-13 Glenn Morris <rgm@gnu.org>
15034 * Makefile.in (ELCFILES): Regenerate.
15036 2009-11-13 Michael Albinus <michael.albinus@gmx.de>
15038 * net/dbus.el (dbus-registered-objects-table): Rename from
15039 `dbus-registered-functions-table', because it contains also properties.
15040 (dbus-unregister-object): Unregister also properties.
15041 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
15042 Use a timeout of 500 msec, in order to not block.
15043 (dbus-register-property, dbus-property-handler): New defuns.
15045 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
15047 * simple.el (minibuffer-default-add-completions): Drop deprecated
15050 2009-11-13 Tomas Abrahamsson <tab@lysator.liu.se>
15052 * textmodes/artist.el (artist-mouse-choose-operation):
15053 Call `tmm-prompt' instead of `x-popup-menu' if we cannot popup
15054 menus. Bug noticed by Eli Zaretskii <eliz@gnu.org>.
15055 (artist-compute-up-event-key): New function.
15056 (artist-mouse-choose-operation, artist-down-mouse-1): Call it.
15058 2009-11-13 Kenichi Handa <handa@m17n.org>
15060 * language/japan-util.el: Make sure that the value of jisx0208
15061 property is jisx0208 character.
15063 2009-11-13 Dan Nicolaescu <dann@ics.uci.edu>
15065 * international/mule.el (auto-coding-regexp-alist): Only purecopy
15066 car or each item, not the whole list.
15068 2009-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
15070 * minibuffer.el (minibuffer-completion-help):
15071 Use minibuffer-hide-completions.
15073 2009-11-12 Per Starbäck <per@starback.se> (tiny change)
15075 * dired.el (dired-save-positions, dired-restore-positions): New funs.
15076 (dired-revert): Use them (bug#4880).
15078 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
15080 * tooltip.el (tooltip-frame-parameters): Undo previous change.
15082 2009-11-12 Juri Linkov <juri@jurta.org>
15084 * ffap.el (ffap-alternate-file-other-window, ffap-literally):
15086 (find-file-literally-at-point): Alias of `ffap-literally'.
15088 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
15090 * textmodes/ispell.el (ispell-skip-region-alist):
15091 * textmodes/css-mode.el (auto-mode-alist):
15092 * progmodes/compile.el (auto-mode-alist):
15093 * international/mule.el (ctext-non-standard-encodings-alist)
15094 (ctext-non-standard-encodings-regexp):
15095 * simple.el (shell-command-switch, text-read-only):
15096 * replace.el (occur-mode-map):
15097 * paths.el (rmail-file-name):
15098 * jka-cmpr-hook.el (jka-compr-build-file-regexp):
15099 * find-file.el (ff-special-constructs):
15100 * files.el (file-name-handler-alist):
15101 * composite.el: Purecopy strings.
15103 * emacs-lisp/cl-macs.el (define-compiler-macro): Purecopy the file name.
15105 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
15107 * widget.el (define-widget): Purecopy the docstring.
15108 * international/mule-cmds.el (charset): Do not purecopy the
15109 docstring here, define-widget does it.
15111 * textmodes/texinfo.el (texinfo-open-quote, texinfo-close-quote):
15112 * textmodes/bibtex-style.el (auto-mode-alist):
15113 * progmodes/inf-lisp.el (inferior-lisp-prompt):
15114 * progmodes/compile.el (compile-command):
15115 * language/korea-util.el (default-korean-keyboard):
15116 * international/mule-conf.el (file-coding-system-alist):
15117 * emacs-lisp/eldoc.el (eldoc-minor-mode-string):
15118 * tooltip.el (tooltip-frame-parameters):
15119 * newcomment.el (comment-end, comment-padding):
15120 * dired.el (dired-trivial-filenames):
15121 * comint.el (comint-file-name-prefix): Purecopy initial values.
15123 2009-11-11 Michael Albinus <michael.albinus@gmx.de>
15125 * net/tramp.el (tramp-advice-minibuffer-electric-separator)
15126 (tramp-advice-minibuffer-electric-tilde): Unload advices via
15128 (tramp-advice-make-auto-save-file-name)
15129 (tramp-advice-file-expand-wildcards): Apply also `ad-activate'
15130 after removing the advice.
15132 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
15134 * progmodes/grep.el (grep-regexp-alist):
15135 * international/mule-cmds.el (iso-2022-control-alist):
15136 * emacs-lisp/timer.el (timer-duration-words):
15137 * subr.el (version-separator, version-regexp-alist):
15138 * minibuffer.el (completion-styles-alist):
15139 * faces.el (face-attribute-name-alist, list-faces-sample-text):
15140 Change defvars to defconsts.
15142 * Makefile.in (ELCFILES): Add international/mule-conf.elc.
15143 * loadup.el ("international/mule-conf"): Load the byte compiled version.
15144 * international/mule-conf.el: Allow to be byte compiled.
15146 * international/mule.el (define-charset): Purecopy props.
15147 (load-with-code-conversion): Purecopy doc string and file name.
15148 (put-charset-property): Purecopy strings.
15149 (auto-coding-alist, auto-coding-regexp-alist): Purecopy initial value.
15151 * international/mule-cmds.el (register-input-method): Purecopy arguments.
15152 (define-char-code-property): Correctly purecopy the table.
15154 * international/ccl.el (define-ccl-program): Purecopy the docstring.
15156 * emacs-lisp/easy-mmode.el (define-minor-mode): Purecopy :lighter.
15158 * subr.el (add-hook): Purecopy strings.
15159 (eval-after-load): Purecopy load-history-regexp and the form.
15161 * custom.el (custom-declare-group): Purecopy load-file-name.
15163 * subr.el (menu-bar-separator): New defconst.
15164 * net/eudc.el (eudc-tools-menu):
15165 * international/mule-cmds.el (set-coding-system-map)
15166 (mule-menu-keymap):
15167 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
15168 * vc-hooks.el (vc-menu-map):
15169 * replace.el (occur-mode-map):
15170 * menu-bar.el (menu-bar-file-menu, menu-bar-search-menu)
15171 (menu-bar-edit-menu, menu-bar-goto-menu)
15172 (menu-bar-custom-menu, menu-bar-showhide-menu)
15173 (menu-bar-options-menu, menu-bar-tools-menu)
15174 (menu-bar-encryption-decryption-menu, menu-bar-describe-menu)
15175 (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
15176 (menu-bar-help-menu):
15177 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu):
15178 * buff-menu.el (Buffer-menu-mode-map): Use menu-bar-separator.
15180 * term/x-win.el (x-gtk-stock-map):
15181 * progmodes/vera-mode.el (auto-mode-alist):
15182 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
15183 (inferior-lisp-program, inferior-lisp-load-command):
15184 * progmodes/hideshow.el (hs-special-modes-alist):
15185 * progmodes/gud.el (same-window-regexps):
15186 * progmodes/grep.el (grep-program, find-program, xargs-program):
15187 * net/telnet.el (same-window-regexps):
15188 * net/rlogin.el (same-window-regexps):
15189 * language/ethiopic.el (font-ccl-encoder-alist):
15190 * vc-sccs.el (vc-sccs-master-templates):
15191 * vc-rcs.el (vc-rcs-master-templates):
15192 * subr.el (cl-assertion-failed):
15193 * simple.el (next-error-overlay-arrow-position):
15194 * lpr.el (lpr-command):
15195 * locate.el (locate-ls-subdir-switches):
15196 * info.el (same-window-regexps, info)
15197 (Info-goto-emacs-command-node, Info-goto-emacs-key-command-node):
15198 * image-mode.el (image-mode, auto-mode-alist):
15199 * hippie-exp.el (hippie-expand-ignore-buffers):
15200 * format.el (format-alist):
15201 * find-dired.el (find-ls-subdir-switches, find-grep-options)
15203 * facemenu.el (facemenu-keybindings):
15204 * dired.el (dired-listing-switches, dired-chown-program):
15205 * diff.el (diff-switches, diff-command):
15206 * cus-edit.el (same-window-regexps):
15207 * bindings.el (mode-line-mule-info)
15208 (mode-line-buffer-identification): Purecopy strings.
15210 2009-11-11 Juri Linkov <juri@jurta.org>
15212 * simple.el (dired-get-filename) <declare-function>:
15213 Tell the byte-compiler about dired-get-filename.
15214 (shell-command): In Dired mode, get filename from the current line
15215 as the default value.
15217 2009-11-10 Glenn Morris <rgm@gnu.org>
15219 * dired.el, hi-lock.el, calendar/cal-menu.el, calendar/calendar.el:
15220 * calendar/holidays.el, progmodes/cperl-mode.el:
15221 Update x-popup-menu declarations.
15223 * emacs-lisp/shadow.el (find-emacs-lisp-shadows)
15224 (list-load-path-shadows): Use dolist.
15225 (list-load-path-shadows): Use with-current-buffer.
15227 2009-11-10 Juri Linkov <juri@jurta.org>
15229 * minibuffer.el (read-file-name): Support a list of default values
15230 in `default-filename'. Use the first file name where only one
15231 element is required. Doc fix.
15233 2009-11-09 Michael Albinus <michael.albinus@gmx.de>
15235 * net/dbus.el (dbus-unregister-object): Release service, if no
15236 other method is registered for it.
15238 2009-11-08 Markus Rost <rost@math.uni-bielefeld.de>
15240 * bookmark.el (bookmark-completing-read): Sort bookmark names if
15241 bookmark-sort-flag is non-nil (Bug#4653).
15243 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
15245 * emulation/cua-base.el: Add CUA property to some CC mode commands
15248 2009-11-08 Kevin Ryde <user42@zip.com.au>
15250 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp): Match noun
15251 at end of sentence (Bug#4818).
15253 2009-11-08 Jared Finder <jfinder@crypticstudios.com>
15255 * progmodes/compile.el (compilation-error-regexp-alist-alist):
15256 Handle "see declaration of" MSFT statements (Bug#4100).
15258 2009-11-08 Michael Albinus <michael.albinus@gmx.de>
15260 * net/tramp.el (tramp-advice-make-auto-save-file-name)
15261 (tramp-advice-file-expand-wildcards): Unload via
15262 `ad-remove-advice'.
15264 * net/trampver.el: Update release number.
15266 2009-11-08 Kevin Ryde <user42@zip.com.au>
15268 * net/tramp.el (tramp-advice-file-expand-wildcards): Don't rely on
15271 2009-11-08 Andr <m00naticus@gmail.com> (tiny change)
15273 * net/tramp.el (tramp-handle-write-region): Copy but rename temp file,
15274 in order to keep context in SELinux.
15276 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
15278 * dired-aux.el (dired-query): Place cursor in echo area and allow
15281 * dired.el (dired-mode-map): Disable dired-maybe-insert-subdir
15282 menu item if not on a directory (Bug#4701).
15284 2009-11-07 Michael Albinus <michael.albinus@gmx.de>
15286 Sync with Tramp 2.1.17.
15288 * net/tramp.el (tramp-handle-copy-directory): Don't use
15289 `file-remote-p' (due to compatibility).
15291 * net/tramp-compat.el (tramp-compat-copy-directory)
15292 (tramp-compat-delete-directory): New defuns.
15294 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
15295 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
15296 Use `tramp-compat-delete-directory'.
15298 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
15299 (tramp-smb-handle-delete-directory):
15300 Use `tramp-compat-copy-directory' and `tramp-compat-delete-directory'.
15302 * net/trampver.el: Update release number.
15304 2009-11-07 Chong Yidong <cyd@stupidchicken.com>
15306 * tar-mode.el (tar-copy): Call write-region on the right buffer
15309 * mail/rmailsum.el (rmail-summary-rmail-update): Call linum-update
15310 by hand, if necessary (Bug#4878).
15312 2009-11-06 Chong Yidong <cyd@stupidchicken.com>
15314 * buff-menu.el (Buffer-menu-buffer+size): Use display property to
15315 align size column (Bug#4839).
15317 * emacs-lisp/autoload.el (autoload-rubric): Always issue a provide
15320 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
15322 * progmodes/ld-script.el (auto-mode-alist):
15323 * vc-hooks.el (vc-directory-exclusion-list): Purecopy strings.
15325 * cus-face.el (custom-declare-face): Purecopy face spec.
15327 2009-11-06 Kenichi Handa <handa@m17n.org>
15329 * international/uni-bidi.el: Re-generated.
15330 * international/uni-category.el: Re-generated.
15331 * international/uni-combining.el: Re-generated.
15332 * international/uni-mirrored.el: Re-generated.
15334 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
15336 * textmodes/tex-mode.el (tex-alt-dvi-print-command)
15337 (tex-dvi-print-command, tex-bibtex-command, tex-start-commands)
15338 (tex-start-options, slitex-run-command, latex-run-command)
15339 (tex-run-command, tex-directory):
15340 * textmodes/ispell.el (ispell-html-skip-alists)
15341 (ispell-tex-skip-alists, ispell-tex-skip-alists):
15342 * textmodes/fill.el (adaptive-fill-first-line-regexp):
15343 (adaptive-fill-regexp):
15344 * textmodes/dns-mode.el (auto-mode-alist):
15345 * progmodes/python.el (interpreter-mode-alist):
15346 * progmodes/etags.el (tags-compression-info-list):
15347 * progmodes/etags.el (tags-file-name):
15348 * net/browse-url.el (browse-url-galeon-program)
15349 (browse-url-firefox-program):
15350 * mail/sendmail.el (mail-signature-file)
15351 (mail-citation-prefix-regexp):
15352 * international/mule-conf.el (eight-bit):
15353 * international/latexenc.el (latex-inputenc-coding-alist):
15354 * international/fontset.el (x-pixel-size-width-font-regexp):
15355 * emacs-lisp/warnings.el (warning-type-format):
15356 * emacs-lisp/trace.el (trace-buffer):
15357 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-map)
15358 (emacs-lisp-mode-map):
15359 * calendar/holidays.el (holiday-solar-holidays)
15360 (holiday-bahai-holidays, holiday-islamic-holidays)
15361 (holiday-christian-holidays, holiday-hebrew-holidays)
15362 (hebrew-holidays-4, hebrew-holidays-3, hebrew-holidays-2)
15363 (hebrew-holidays-1, holiday-oriental-holidays)
15364 (holiday-general-holidays):
15365 * x-dnd.el (x-dnd-known-types):
15366 * tool-bar.el (tool-bar):
15367 * startup.el (site-run-file):
15368 * shell.el (shell-dumb-shell-regexp):
15369 * rfn-eshadow.el (file-name-shadow-tty-properties)
15370 (file-name-shadow-properties):
15371 * paths.el (remote-shell-program, news-directory):
15372 * mouse.el ([C-down-mouse-3]):
15373 * menu-bar.el (menu-bar-tools-menu):
15374 * jka-cmpr-hook.el (jka-compr-load-suffixes)
15375 (jka-compr-mode-alist-additions, jka-compr-compression-info-list)
15376 (jka-compr-compression-info-list):
15377 * isearch.el (search-whitespace-regexp):
15378 * image-file.el (image-file-name-extensions):
15379 * find-dired.el (find-ls-option):
15380 * files.el (directory-listing-before-filename-regexp)
15381 (directory-free-space-args, insert-directory-program)
15382 (list-directory-brief-switches, magic-fallback-mode-alist)
15383 (magic-fallback-mode-alist, auto-mode-interpreter-regexp)
15384 (automount-dir-prefix):
15385 * faces.el (face-x-resources, x-font-regexp, x-font-regexp-head)
15386 (x-font-regexp-slant, x-font-regexp-weight, face-x-resources)
15387 (face-font-registry-alternatives, face-font-registry-alternatives)
15388 (face-font-family-alternatives):
15389 * facemenu.el (facemenu-add-new-face, facemenu-background-menu)
15390 (facemenu-foreground-menu, facemenu-face-menu):
15391 * epa-hook.el (epa-file-name-regexp):
15392 * dnd.el (dnd-protocol-alist):
15393 * textmodes/rst.el (auto-mode-alist):
15394 * button.el (default-button): Purecopy strings.
15396 2009-11-06 Glenn Morris <rgm@gnu.org>
15398 * Makefile.in (ELCFILES): Update.
15400 2009-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
15402 * emacs-lisp/lucid.el: Move to obsolete/lucid.el.
15403 * emacs-lisp/levents.el: Move to obsolete/levents.el.
15405 * nxml/xsd-regexp.el (xsdre-gen-categories):
15406 * nxml/xmltok.el (xmltok-parse-entity):
15407 * nxml/rng-parse.el (rng-parse-validate-file):
15408 * nxml/rng-maint.el (rng-format-manual)
15409 (rng-manual-output-force-new-line):
15410 * nxml/rng-loc.el (rng-save-schema-location-1):
15411 * nxml/rng-cmpct.el (rng-c-parse-file):
15412 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
15413 * nxml/nxml-parse.el (nxml-parse-file): Use with-current-buffer.
15415 2009-11-05 Wilson Snyder <wsnyder@wsnyder.org>
15417 * progmodes/verilog-mode.el (verilog-getopt-file, verilog-set-define):
15418 Remove extra save-excursions and make-variable-buffer-local's.
15419 Suggested by Stefan Monnier.
15421 (verilog-getopt-file, verilog-module-inside-filename-p)
15422 (verilog-set-define): Merge GNU 1.35 and repair changes from
15423 switching to using with-current-buffer.
15425 (verilog-read-always-signals-recurse): Fix "a == 2'b00 ? b : c"
15426 being treated as a number and confusing AUTORESET.
15427 Reported by Dan Dever.
15429 (verilog-auto-ignore-concat, verilog-read-sub-decls-expr):
15430 Add verilog-auto-ignore-concat to fix backward compatibility with
15431 older verilog-modes. Reported by Dan Katz.
15433 (verilog-read-auto-template): Fix AUTO_TEMPLATEs with regexps
15434 containing closing anchors "...$".
15436 (verilog-read-decls): Fix AUTOREG not detecting "assign {a,b}".
15437 Reported by Wade Smith.
15439 (verilog-batch-execute-func): Comment on function usage.
15441 2009-11-05 Michael McNamara <mac@mail.brushroad.com>
15443 * progmodes/verilog-mode.el (verilog-label-re): Fix regular expression
15446 (verilog-label-re, verilog-calc-1): Support proper indent of named
15449 (verilog-backward-token, verilog-basic-complete-re)
15450 (verilog-beg-of-statement, verilog-indent-re): Support proper
15451 indent of the assert statement at the beginning of a block of text.
15453 (verilog-beg-block-re, verilog-ovm-begin-re): Support the
15454 `ovm_object_param_utils_begin and `ovm_component_param_utils_begin
15457 2009-11-05 Glenn Morris <rgm@gnu.org>
15459 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Drop test for
15460 Emacs 19. (Bug#1531)
15461 (byte-compile-fix-header): Update for the above change.
15462 Drop test for epoch::version.
15464 * emacs-lisp/autoload.el (autoload-rubric): Add optional feature arg.
15465 * cus-dep.el (custom-make-dependencies):
15466 * finder.el (finder-compile-keywords):
15467 Use autoload-rubric's feature argument.
15469 * calendar/diary-lib.el (top-level): Make load behave more like require.
15471 * vc-git.el (vc-git-stash-map): Move definition before use.
15473 2009-11-04 Dan Nicolaescu <dann@ics.uci.edu>
15475 * custom.el (custom-declare-group): Purecopy standard-value.
15476 (custom-declare-group): Purecopy custom-prefix.
15478 * international/mule.el (load-with-code-conversion):
15479 Call do-after-load-evaluation unconditionally.
15481 * emacs-lisp/bytecomp.el (byte-compile-output-file-form): Handle defvaralias.
15483 2009-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
15485 * descr-text.el: Require help-mode rather than help-fns (bug#4861).
15487 2009-11-04 Glenn Morris <rgm@gnu.org>
15489 * emacs-lisp/bytecomp.el (byte-compile-version-cond): Remove macro.
15490 (byte-compile-compatibility): Remove option.
15491 (byte-compile-close-variables, byte-compile-fix-header)
15492 (byte-compile-insert-header, byte-compile-output-docform)
15493 (byte-compile-file-form-defmumble, byte-compile-byte-code-maker)
15494 (byte-compile-lambda, byte-compile-form, byte-defop-compiler19)
15495 (byte-compile-list, byte-compile-concat, byte-compile-function-form)
15496 (byte-compile-insert, byte-compile-defun):
15497 Remove support for byte-compile-compatibility and Emacs 18. (Bug#4571)
15498 (byte-defop-compiler19): Remove.
15499 Without byte-compile-compatibility, the 'emacs19-opcode property is not
15500 used by anything. Replace all calls with byte-defop-compiler.
15502 2009-11-04 Juri Linkov <juri@jurta.org>
15504 * menu-bar.el (menu-bar-make-mm-toggle): Quote each element of `props'.
15505 (menu-bar-options-menu): Don't quote the `prop' arg of
15506 `menu-bar-make-mm-toggle'.
15508 2009-11-04 Juanma Barranquero <lekktu@gmail.com>
15510 * calendar/calendar.el (cal-loaddefs):
15511 * calendar/diary-lib.el (diary-loaddefs):
15512 * calendar/holidays.el (hol-loaddefs):
15513 * eshell/esh-module.el (esh-groups): Load rather than require.
15515 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
15517 * calendar/todo-mode.el (todo-add-category): Don't hardcode
15519 (todo-top-priorities): Only display-buffer when called interactively.
15520 (todo-item-start): Don't save excursion point.
15521 (todo-item-end): Be slightly more careful. Add `include-sep' arg.
15522 (todo-insert-item-here, todo-file-item, todo-remove-item):
15523 Adjust uses of todo-item-start and todo-item-end.
15525 * emacs-lisp/autoload.el (generated-autoload-feature): Remove.
15526 (autoload-rubric): Don't use any more.
15528 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Use dolist,
15529 and only put a prop if it is non-nil.
15531 2009-11-03 Juri Linkov <juri@jurta.org>
15533 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle)
15534 (menu-bar-options-menu): Fix list quoting (Bug#4429).
15536 * buff-menu.el (Buffer-menu-mode-map): Add hyphen between "Buffer"
15537 and "Menu" to make top-level menu item visually one unit (like
15538 it's done for "Lisp-Interaction", "Emacs-Lisp" and other
15539 multi-word menu items). Fix :help string for quit-window.
15541 2009-11-03 Glenn Morris <rgm@gnu.org>
15543 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
15544 (byte-compile-file-form-define-abbrev-table)
15545 (byte-compile-file-form-custom-declare-variable)
15546 (byte-compile-variable-ref, byte-compile-defvar):
15547 Whether or not a warning is enabled should only affect whether we issue
15548 the warning, not whether or not we collect the relevant data.
15549 Eg warnings can be turned on and off throughout the course of a file.
15551 * eshell/esh-mode.el (ansi-color-apply-on-region): Autoload it...
15552 (eshell-handle-ansi-color): ... Rather than requiring ansi-color.
15554 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
15556 * term/ns-win.el (ns-scroll-bar-move, ns-face-at-pos):
15557 * play/mpuz.el (mpuz-create-buffer):
15558 * play/landmark.el (lm-prompt-for-move, lm-print-wts, lm-print-smell)
15559 (lm-print-y,s,noise, lm-print-w0, lm-init):
15560 * play/gomoku.el (gomoku-prompt-for-move):
15561 * play/fortune.el (fortune-in-buffer):
15562 * play/dissociate.el (dissociated-press):
15563 * play/decipher.el (decipher-adjacency-list, decipher-display-regexp)
15564 (decipher-analyze-buffer, decipher-stats-buffer, decipher-stats-buffer):
15565 * mail/supercite.el (sc-eref-show):
15566 * mail/smtpmail.el (smtpmail-send-it):
15567 * mail/rmailsum.el (rmail-summary-next-labeled-message)
15568 (rmail-summary-previous-labeled-message, rmail-summary-wipe)
15569 (rmail-summary-undelete-many, rmail-summary-rmail-update)
15570 (rmail-summary-goto-msg, rmail-summary-expunge)
15571 (rmail-summary-get-new-mail, rmail-summary-search-backward)
15572 (rmail-summary-add-label, rmail-summary-output-menu)
15573 (rmail-summary-output-body):
15574 * mail/rfc822.el (rfc822-addresses):
15575 * mail/reporter.el (reporter-dump-variable, reporter-dump-state):
15576 * mail/mailpost.el (post-mail-send-it):
15577 * mail/hashcash.el (hashcash-generate-payment):
15578 * mail/feedmail.el (feedmail-run-the-queue)
15579 (feedmail-queue-send-edit-prompt-help-first)
15580 (feedmail-send-it-immediately, feedmail-give-it-to-buffer-eater)
15581 (feedmail-deduce-address-list):
15582 * eshell/esh-ext.el (eshell-remote-command):
15583 * eshell/em-unix.el (eshell-occur-mode-mouse-goto):
15584 * emulation/viper-util.el (viper-glob-unix-files, viper-save-setting)
15585 (viper-wildcard-to-regexp, viper-glob-mswindows-files)
15586 (viper-save-string-in-file, viper-valid-marker):
15587 * emulation/viper-keym.el (viper-toggle-key):
15588 * emulation/viper-ex.el (ex-expand-filsyms, viper-get-ex-file)
15589 (ex-edit, ex-global, ex-mark, ex-next-related-buffer, ex-quit)
15590 (ex-get-inline-cmd-args, ex-tag, ex-command, ex-compile):
15591 * emulation/viper-cmd.el (viper-exec-form-in-vi)
15592 (viper-exec-form-in-emacs, viper-brac-function):
15593 * emulation/viper.el (viper-delocalize-var):
15594 * emulation/vip.el (vip-mode, vip-get-ex-token, vip-ex, vip-get-ex-pat)
15595 (vip-get-ex-command, vip-get-ex-opt-gc, vip-get-ex-buffer)
15596 (vip-get-ex-count, vip-get-ex-file, ex-edit, ex-global, ex-mark)
15597 (ex-map, ex-unmap, ex-quit, ex-read, ex-tag, ex-command):
15598 * emulation/vi.el (vi-switch-mode, vi-ex-cmd):
15599 * emulation/edt.el (edt-electric-helpify):
15600 * emulation/cua-rect.el (cua--rectangle-aux-replace):
15601 * emulation/cua-gmrk.el (cua--insert-at-global-mark)
15602 (cua--delete-at-global-mark, cua--copy-rectangle-to-global-mark)
15603 (cua-indent-to-global-mark-column):
15604 * calendar/diary-lib.el (calendar-mark-1):
15605 * calendar/cal-hebrew.el (calendar-hebrew-mark-date-pattern):
15606 Use with-current-buffer.
15607 * emulation/viper.el (viper-delocalize-var): Use dolist.
15609 2009-11-03 Chong Yidong <cyd@stupidchicken.com>
15611 * comint.el (comint-replace-by-expanded-history-before-point):
15612 Replace !! with the previous input string literally (Bug#1795).
15614 2009-11-02 Jay Belanger <jay.p.belanger@gmail.com>
15616 * calc/calc-forms.el (calc-date-notation): Allow a "blank string"
15617 to be made up of whitespace.
15619 2009-11-02 Chong Yidong <cyd@stupidchicken.com>
15621 * minibuffer.el (read-file-name): Don't use file dialogs for
15622 remote directories (Bug#99).
15624 2009-11-01 Chong Yidong <cyd@stupidchicken.com>
15626 * progmodes/sh-script.el (sh-font-lock-paren): Fix last change.
15628 2009-11-01 Andreas Schwab <schwab@linux-m68k.org>
15630 * view.el (view-mode-exit): If OLD-BUF is dead bury the buffer
15631 instead of deleting the window or frame.
15633 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
15635 * textmodes/sgml-mode.el (sgml-mode-facemenu-add-face-function):
15636 Support face colors.
15638 * textmodes/tex-mode.el (tex-facemenu-add-face-function):
15639 New function. Support face colors (Bug#1168).
15640 (tex-common-initialization): Use it.
15642 * facemenu.el (facemenu-enable-faces-p): Enable facemenu if the
15643 mode allows it (Bug#1168).
15645 2009-10-31 Juri Linkov <juri@jurta.org>
15647 * facemenu.el (list-colors-display): Don't mark buffer as
15648 modified (Bug#3948).
15650 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
15652 * international/mule-diag.el (list-character-sets-1):
15653 Minor message fix (Bug#3526).
15655 * progmodes/etags.el (etags-list-tags, etags-tags-apropos):
15656 Fix face property (Bug#4834).
15657 (etags-list-tags, etags-tags-apropos-additional)
15658 (etags-tags-apropos, tags-select-tags-table): Add follow-link
15661 * menu-bar.el (menu-bar-tools-menu): Add Semantic and EDE menu
15664 2009-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
15666 * textmodes/two-column.el (2C-split):
15667 * textmodes/texnfo-upd.el (texinfo-multi-file-included-list):
15668 * textmodes/tex-mode.el (tex-set-buffer-directory):
15669 * textmodes/spell.el (spell-region, spell-string):
15670 * textmodes/reftex.el (reftex-erase-buffer):
15671 (reftex-get-file-buffer-force, reftex-kill-temporary-buffers):
15672 * textmodes/reftex-toc.el (reftex-toc-promote-action):
15673 * textmodes/reftex-sel.el (reftex-get-offset, reftex-insert-docstruct)
15674 (reftex-select-item):
15675 * textmodes/reftex-ref.el (reftex-label-info-update)
15676 (reftex-offer-label-menu):
15677 * textmodes/reftex-index.el (reftex-index-change-entry)
15678 (reftex-index-phrases-info):
15679 * textmodes/reftex-global.el (reftex-create-tags-file)
15680 (reftex-save-all-document-buffers, reftex-ensure-write-access):
15681 * textmodes/reftex-dcr.el (reftex-echo-ref, reftex-echo-cite)
15682 (reftex-view-crossref-from-bibtex):
15683 * textmodes/reftex-cite.el (reftex-bibtex-selection-callback)
15684 (reftex-extract-bib-entries-from-thebibliography)
15685 (reftex-all-used-citation-keys, reftex-create-bibtex-file):
15686 * textmodes/refbib.el (r2b-capitalize-title):
15687 (r2b-convert-buffer, r2b-help):
15688 * textmodes/page-ext.el (pages-directory)
15689 (pages-directory-goto-with-mouse):
15690 * textmodes/bibtex.el (bibtex-validate-globally):
15691 * textmodes/bib-mode.el (bib-capitalize-title):
15692 * textmodes/artist.el (artist-clear-buffer, artist-system):
15693 * progmodes/xscheme.el (global-set-scheme-interaction-buffer):
15694 (local-set-scheme-interaction-buffer, xscheme-process-filter)
15695 (verify-xscheme-buffer, xscheme-enter-interaction-mode)
15696 (xscheme-enter-debugger-mode, xscheme-debugger-mode-p)
15697 (xscheme-send-control-g-interrupt, xscheme-start-process)
15698 (xscheme-process-sentinel, xscheme-cd):
15699 * progmodes/verilog-mode.el (verilog-read-always-signals)
15700 (verilog-set-define, verilog-getopt-file)
15701 (verilog-module-inside-filename-p):
15702 * progmodes/sh-script.el:
15703 * progmodes/python.el (python-pdbtrack-get-source-buffer)
15704 (python-pdbtrack-grub-for-buffer, python-execute-file):
15705 * progmodes/octave-inf.el (inferior-octave):
15706 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
15707 (idlwave-shell-compile-helper-routines, idlwave-set-local)
15708 (idlwave-display-completion-list-xemacs, idlwave-list-abbrevs)
15709 (idlwave-display-completion-list-emacs, idlwave-list-load-path-shadows)
15710 (idlwave-completion-fontify-classes, idlwave-display-calling-sequence):
15711 * progmodes/idlw-shell.el (idlwave-shell-examine-display-clear)
15712 (idlwave-shell-filter, idlwave-shell-examine-highlight)
15713 (idlwave-shell-sentinel, idlwave-shell-filter-directory)
15714 (idlwave-shell-display-line, idlwave-shell-set-bp-in-module)
15715 (idlwave-shell-examine-display, idlwave-shell-run-region)
15716 (idlwave-shell-filter-bp, idlwave-shell-save-and-action)
15717 (idlwave-shell-sources-filter, idlwave-shell-goto-next-error):
15718 * progmodes/idlw-help.el (idlwave-help-get-special-help)
15719 (idlwave-help-get-help-buffer):
15720 * progmodes/gud.el (gud-basic-call, gud-find-class)
15721 (gud-tooltip-activate-mouse-motions-if-enabled):
15722 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
15723 * progmodes/ebrowse.el (ebrowse-member-table, ebrowse-save-tree-as)
15724 (ebrowse-view-exit-fn, ebrowse-tags-list-members-in-file)
15725 (ebrowse-tags-next-file):
15726 * progmodes/ebnf2ps.el (ebnf-generate-eps, ebnf-generate-eps)
15727 (ebnf-eps-production-list, ebnf-begin-file, ebnf-log)
15728 (ebnf-eps-finish-and-write):
15729 * progmodes/cpp.el (cpp-edit-save):
15730 * progmodes/cperl-mode.el (cperl-pod-to-manpage):
15731 * progmodes/cc-defs.el (c-emacs-features):
15732 * progmodes/antlr-mode.el (antlr-invalidate-context-cache)
15733 (antlr-directory-dependencies):
15734 * progmodes/ada-xref.el (ada-gnat-parse-gpr, ada-get-ali-file-name)
15735 (ada-run-application, ada-find-in-src-path, ada-goto-parent)
15736 (ada-find-any-references, ada-make-filename-from-adaname)
15737 (ada-make-body-gnatstub):
15738 * obsolete/rnews.el (news-list-news-groups):
15739 * obsolete/resume.el (resume-suspend-hook, resume-write-buffer-to-file):
15740 * obsolete/iso-acc.el (iso-acc-minibuf-setup):
15741 * net/rcirc.el (rcirc-debug):
15742 * net/newst-treeview.el (newsticker--treeview-list-add-item)
15743 (newsticker--treeview-list-clear, newsticker-treeview-browse-url)
15744 (newsticker--treeview-list-update-faces, newsticker-treeview-save)
15745 (newsticker--treeview-item-show-text, newsticker--treeview-item-show)
15746 (newsticker--treeview-tree-update-tag, newsticker--treeview-buffer-init)
15747 (newsticker-treeview-show-item, newsticker--treeview-unfold-node)
15748 (newsticker--treeview-list-clear-highlight)
15749 (newsticker--treeview-list-update-highlight)
15750 (newsticker--treeview-list-highlight-start)
15751 (newsticker--treeview-tree-update-highlight)
15752 (newsticker--treeview-get-selected-item)
15753 (newsticker-treeview-mark-list-items-old)
15754 (newsticker--treeview-set-current-node):
15755 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
15756 * net/newst-backend.el (newsticker--get-news-by-funcall)
15757 (newsticker--get-news-by-wget, newsticker--image-get)
15758 (newsticker--image-sentinel):
15759 * net/mairix.el (mairix-rmail-fetch-field, mairix-gnus-fetch-field):
15760 * net/eudcb-ph.el (eudc-ph-do-request, eudc-ph-open-session):
15761 (eudc-ph-close-session):
15762 * net/eudc.el (eudc-save-options):
15763 * language/thai-word.el (thai-update-word-table):
15764 * language/japan-util.el (japanese-string-conversion):
15765 * international/titdic-cnv.el (tsang-quick-converter)
15766 (ziranma-converter, ctlau-converter):
15767 * international/mule-cmds.el (describe-language-environment):
15768 * international/ja-dic-cnv.el (skkdic-convert-okuri-ari)
15769 (skkdic-convert-postfix, skkdic-convert-prefix):
15770 (skkdic-convert-okuri-nasi, skkdic-convert):
15771 * emacs-lisp/re-builder.el (reb-update-overlays):
15772 * emacs-lisp/pp.el (pp-to-string, pp-display-expression):
15773 * emacs-lisp/gulp.el (gulp-send-requests):
15774 * emacs-lisp/find-gc.el (trace-call-tree):
15775 * emacs-lisp/eieio-opt.el (eieio-browse, eieio-describe-class)
15776 (eieio-describe-generic):
15777 * emacs-lisp/eieio-base.el (eieio-persistent-read):
15778 * emacs-lisp/edebug.el (edebug-outside-excursion):
15779 * emacs-lisp/debug.el (debugger-make-xrefs):
15780 * emacs-lisp/cust-print.el (custom-prin1-to-string):
15781 * emacs-lisp/chart.el (chart-new-buffer):
15782 * emacs-lisp/authors.el (authors-scan-el, authors-scan-change-log):
15783 Use with-current-buffer.
15784 * textmodes/artist.el (artist-system): Don't call
15785 copy-sequence on a fresh string.
15786 * progmodes/idlw-shell.el (easymenu setup): Use dolist.
15788 2009-10-31 Stephen Berman <stephen.berman@gmx.net>
15790 * calendar/todo-mode.el (todo-edit-item): Signal an error if there
15791 is no item to edit. (Bug#4820)
15792 (todo-top-priorities): Restore point and restore narrowing in Todo
15795 2009-10-31 Glenn Morris <rgm@gnu.org>
15797 * net/ange-ftp.el (top-level): Don't require dired when compiling.
15798 (comint-last-output-start, comint-last-input-start)
15799 (comint-last-input-end): Don't defvar when compiling.
15800 (ange-ftp-process-file): Use bound-and-true-p.
15802 * pcmpl-rpm.el (top-level): Move provide statement to end.
15803 (pcmpl-rpm): Remove unused custom group.
15805 * pcmpl-gnu.el (tar-parse-info, tar-header-name): Declare for compiler.
15807 * mail/emacsbug.el (report-emacs-bug): Request `emacs -Q' recipes.
15809 * emacs-lisp/bytecomp.el (byte-compile-warning-types)
15810 (byte-compile-warnings): Add `constants' as an option.
15811 (byte-compile-callargs-warn, byte-compile-arglist-warn)
15812 (display-call-tree): Update for byte-compile-fdefinition possibly
15813 returning `(macro lambda ...)'. (Bug#4778)
15814 (byte-compile-variable-ref, byte-compile-setq-default):
15815 Respect `constants' member of byte-compile-warnings.
15817 2009-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
15819 * vc-bzr.el (vc-bzr-revision-keywords): New var.
15820 (vc-bzr-revision-completion-table): Use it to fix completion of "s:"
15823 2009-10-30 Dan Nicolaescu <dann@ics.uci.edu>
15825 * textmodes/ispell.el (ispell-skip-region-alist):
15826 * international/mule-conf.el (eight-bit):
15827 * international/fontset.el (font-encoding-alist):
15828 * startup.el (pure-space-overflow-message):
15829 * simple.el (overwrite-mode-textual, overwrite-mode-binary):
15830 * paths.el (gnus-nntp-service, rmail-spool-directory)
15831 (term-file-prefix):
15832 * files.el (save-some-buffers-action-alist):
15833 * cmuscheme.el (same-window-buffer-names):
15834 * ielm.el (same-window-buffer-names):
15835 * shell.el (same-window-buffer-names):
15836 * mail/sendmail.el (same-window-buffer-names):
15837 * progmodes/inf-lisp.el (same-window-buffer-names):
15838 * bindings.el (mode-line-client)
15839 (mode-line-column-line-number-mode-map):
15840 * language/tibetan.el (tibetan-precomposition-rule-regexp)
15841 (tibetan-precomposed-regexp): Purecopy string arguments.
15843 2009-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
15845 * calc/calc.el (calc, calc-refresh, calc-trail-buffer, calc-record)
15846 (calcDigit-nondigit):
15847 * calc/calc-yank.el (calc-copy-to-buffer):
15848 * calc/calc-units.el (calc-invalidate-units-table):
15849 * calc/calc-trail.el (calc-trail-yank):
15850 * calc/calc-store.el (calc-insert-variables):
15851 * calc/calc-rewr.el (math-rewrite, math-rewrite-phase):
15852 * calc/calc-prog.el (calc-read-parse-table):
15853 * calc/calc-keypd.el (calc-do-keypad, calc-keypad-right-click):
15854 * calc/calc-help.el (calc-describe-bindings, calc-describe-key):
15855 * calc/calc-graph.el (calc-graph-delete, calc-graph-add-curve)
15856 (calc-graph-juggle, calc-graph-count-curves, calc-graph-plot)
15857 (calc-graph-plot, calc-graph-format-data, calc-graph-set-styles)
15858 (calc-graph-name, calc-graph-find-command, calc-graph-view)
15859 (calc-graph-view, calc-gnuplot-command, calc-graph-init):
15860 * calc/calc-ext.el (calc-realign):
15861 * calc/calc-embed.el (calc-do-embedded, calc-do-embedded)
15862 (calc-embedded-finish-edit, calc-embedded-make-info)
15863 (calc-embedded-finish-command, calc-embedded-stack-change):
15864 * calc/calc-aent.el (calcAlg-enter): Use with-current-buffer.
15866 * pcomplete.el (pcomplete-comint-setup): If there's a choice, replace
15867 shell-dynamic-complete-filename in preference to
15868 comint-dynamic-complete-filename.
15870 * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
15871 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
15872 Don't consider whether the display supports colors.
15873 (bookmark-import-new-list): Use dolist.
15874 (bookmark-bmenu-mode-map): Move initialization into declaration.
15875 (bookmark-bmenu-list): Use dolist, simplify.
15876 (bookmark-show-all-annotations): Use save-selected-window and dolist.
15877 (menu-bar-final-items): Use push.
15879 2009-10-28 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
15881 * vc-hg.el (vc-hg-state, vc-hg-working-revision): Use process-file so
15882 it works on remote files.
15883 (vc-hg-diff): Don't pass any `--cwd' argument.
15885 2009-10-27 Kevin Ryde <user42@zip.com.au>
15887 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
15888 Use help-xref-info-regexp and help-xref-url-regexp to identify links.
15889 (Further to Bug#3921).
15891 2009-10-27 Michael Albinus <michael.albinus@gmx.de>
15893 * net/tramp-imap.el (top): Add `X-Size' to `imap-hash-headers'.
15894 (tramp-imap-do-copy-or-rename-file): Don't use the inode, when
15895 calling `tramp-imap-put-file'. Add file size to the call.
15896 (tramp-imap-get-file-entries): Compute also user name, file size,
15898 (tramp-imap-handle-insert-directory): Insert uid and gid.
15899 (tramp-imap-handle-file-attributes): Transform uid and gid
15900 according to `id-format'.
15901 (tramp-imap-put-file): New optional parameter SIZE. Encode file
15902 size in header X-Size.
15904 2009-10-26 Juanma Barranquero <lekktu@gmail.com>
15906 * simple.el (transpose-subr): Give clearer error when the mark
15907 is not set. (Bug#4807)
15909 2009-10-26 Michael Albinus <michael.albinus@gmx.de>
15911 * net/tramp.el (tramp-perl-file-truename): New defconst.
15912 Perl code contributed by yary <not.com@gmail.com> (tiny change).
15913 (tramp-handle-file-truename, tramp-get-remote-perl): Use it.
15914 Check also for "perl-file-spec" and "perl-cwd-realpath" properties.
15915 (tramp-handle-write-region): In case of APPEND, reuse the tmpfile name.
15917 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
15918 Ignore `dired-call-process'.
15919 (tramp-imap-make-iht): Use `user' and `ssl' with `imap-hash-make'.
15921 2009-10-26 Julian Scheid <julians37@gmail.com>
15923 * net/tramp.el (tramp-perl-file-name-all-completions): New defconst.
15924 (tramp-get-remote-readlink): New defun.
15925 (tramp-handle-file-truename): Use it.
15926 (tramp-handle-file-exists-p): Check file-attributes cache, assume
15927 file exists if cache value present.
15928 (tramp-check-cached-permissions): New defun.
15929 (tramp-handle-file-readable-p): Use it.
15930 (tramp-handle-file-writable-p): Likewise.
15931 (tramp-handle-file-executable-p): Likewise.
15932 (tramp-handle-file-name-all-completions): Try using Perl to get
15933 partial completions. When perl not available, combine `cd' and
15934 `ls' into single remote operation and use shell expansion to get
15935 partial remote directory contents. Set `file-exists-p' cache for
15936 directory and any files returned by ls. Change cache handling to
15937 support partial directory contents. Use error message emitted by
15938 remote `cd' or Perl code for local tramp-error.
15939 (tramp-do-copy-or-rename-file-directly): Avoid separate
15940 tramp-send-command-and-check call.
15941 (tramp-handle-process-file): Merge three remote ops into one.
15942 Do not flush all caches when `process-file-side-effects' is set.
15943 (tramp-handle-write-region): Avoid tramp-set-file-uid-gid if
15944 file-attributes shows uid/gid to be set already.
15946 2009-10-26 Dan Nicolaescu <dann@ics.uci.edu>
15948 * textmodes/tex-mode.el (tex-dvi-view-command)
15949 (tex-show-queue-command, tex-open-quote):
15950 * progmodes/ruby-mode.el (auto-mode-alist)
15951 (interpreter-mode-alist): Purecopy strings.
15953 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Purecopy item names.
15955 * emacs-lisp/derived.el (define-derived-mode): Purecopy the doc
15956 string for the hook, keymap and abbrev table.
15958 * emacs-lisp/byte-run.el (make-obsolete): Purecopy the current name.
15960 * x-dnd.el (x-dnd-xdnd-to-action):
15961 * startup.el (fancy-startup-text, fancy-about-text): Change to
15962 defconst from defvar.
15964 * ps-print.el (ps-page-dimensions-database): Purecopy initial value.
15966 * mouse.el (mouse-buffer-menu-mode-groups, x-fixed-font-alist):
15967 Purecopy initialization strings.
15969 * mail/sendmail.el (mail-header-separator)
15970 (mail-personal-alias-file):
15971 * mail/rmail.el (rmail-default-dont-reply-to-names)
15972 (rmail-ignored-headers, rmail-retry-ignored-headers)
15973 (rmail-highlighted-headers, rmail-secondary-file-directory)
15974 (rmail-secondary-file-regexp):
15975 * files.el (null-device, file-name-invalid-regexp)
15976 (locate-dominating-stop-dir-regexp)
15977 (inhibit-first-line-modes-regexps): Purecopy initialization strings.
15978 (interpreter-mode-alist): Use mapcar instead of mapc.
15980 * buff-menu.el (Buffer-menu-mode-map): Purecopy name.
15982 * bindings.el (mode-line-major-mode-keymap): Purecopy name.
15983 (completion-ignored-extensions):
15984 (debug-ignored-errors): Purecopy strings.
15986 2009-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
15988 * pcomplete.el (pcomplete-std-complete): Obey pcomplete-use-paring.
15989 (pcomplete, pcomplete-parse-buffer-arguments, pcomplete-opt)
15990 (pcomplete--here): Use push.
15992 * subr.el (all-completions): Declare the 4th arg obsolete.
15994 2009-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
15996 * pcomplete.el (pcomplete-unquote-argument-function): New var.
15997 (pcomplete-unquote-argument): New function.
15998 (pcomplete--common-suffix): Always pay attention to case.
15999 (pcomplete--table-subvert): Quote and unquote the text.
16000 (pcomplete--common-quoted-suffix): New function.
16001 (pcomplete-std-complete): Use it and pcomplete-begin.
16003 * bookmark.el (bookmark-bmenu-list): Don't use switch-to-buffer if
16004 we're inside a dedicated or minibuffer window.
16006 2009-10-24 Karl Fogel <kfogel@red-bean.com>
16008 * bookmark.el: Update documentation, especially documentation
16009 of `bookmark-alist' and of the bookmark file format.
16010 Patch by Drew Adams, with minor tweaks from me. (Bug#4195)
16012 2009-10-24 Chong Yidong <cyd@stupidchicken.com>
16014 * mail/emacsbug.el (report-emacs-bug): Clarify that the
16015 keybindings apply to the mail buffer (Bug#4003). Shrink help
16018 * whitespace.el (whitespace-mode, whitespace-newline-mode)
16019 (global-whitespace-mode, global-whitespace-newline-mode)
16020 (whitespace-toggle-options, global-whitespace-toggle-options):
16021 Doc fix (Bug#3660).
16023 * nxml/nxml-mode.el (nxml-balanced-close-start-tag): Use the value
16024 of xmltok-start before the end tag was inserted (Bug#2840).
16026 * progmodes/sh-script.el (sh-font-lock-paren): Handle case
16027 patterns that are preceded by an open-paren (Bug#1320).
16029 2009-10-24 Sven Joachim <svenjoac@gmx.de>
16031 * files.el (delete-directory): Delete symlinks to directories with
16032 delete-file (Bug#4739).
16034 2009-10-24 Dan Nicolaescu <dann@ics.uci.edu>
16036 * vc.el (vc-backend-for-registration): Rename from
16037 vc-get-backend-for-registration. Update callers.
16039 * international/mule-cmds.el (set-language-info-alist):
16041 (leim-list-header, leim-list-entry-regexp): Change defvars to defconst.
16042 (charset): Purecopy the name.
16043 (define-char-code-property): Purecopy string arguments.
16045 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
16046 Purecopy string arguments.
16048 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
16049 * ediff-hook.el (menu-bar-ediff-menu):
16050 * buff-menu.el (Buffer-menu-mode-map): Purecopy names and tooltips.
16051 * bookmark.el (menu-bar-bookmark-map): Add :help and purecopy the name.
16053 2009-10-24 Glenn Morris <rgm@gnu.org>
16055 * comint.el (comint-dynamic-list-completions):
16056 * term.el (term-dynamic-list-completions): Use choose-completion rather
16057 than obsolete alias mouse-choose-completion.
16059 * filecache.el (file-cache-completions-keymap): Bind mouse-2 to
16060 file-cache-choose-completion.
16061 (file-cache-choose-completion): Handle an optional event argument.
16062 (file-cache-mouse-choose-completion): Make it an obsolete alias.
16064 * progmodes/octave-mod.el (octave-complete-symbol):
16065 Use choose-completion if mouse-choose-completion is ever removed.
16067 * textmodes/sgml-mode.el (sgml-looking-back-at): Move definition before
16070 * emacs-lisp/checkdoc.el (generate-autoload-cookie): Define for
16073 * vc-hooks.el (vc-responsible-backend): Fix declaration.
16075 2009-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
16077 * minibuffer.el (completion--embedded-envvar-table): Fix last change.
16078 Ignore `pred' now that we receive one.
16079 Handle test-completion specially.
16081 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
16083 * vc.el (vc-responsible-backend): Throw an error if not backend is
16084 found. Remove the REGISTER argument. Move the code dealing with
16086 (vc-get-backend-for-registration): ... here. New function.
16087 (vc-deduce-fileset): Call vc-get-backend-for-registration instead
16088 of vc-responsible-backend, pass the file name instead of the
16091 2009-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
16093 * pcomplete.el (pcomplete-common-suffix, pcomplete-table-subvert):
16095 (pcomplete-std-complete): Use them. Obey pcomplete-termination-string.
16096 (pcomplete-comint-setup): Don't modify a global var via
16097 accidental side-effects.
16098 (pcomplete-shell-setup): Adjust call accordingly.
16099 (pcomplete-parse-comint-arguments): Use push.
16101 2009-10-23 Chong Yidong <cyd@stupidchicken.com>
16103 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
16104 Allow uncapitalized info node names (Bug#3921).
16106 * mail/emacsbug.el (report-emacs-bug): Tweak the sentence pointing
16107 to the DEBUG file (Bug#3781).
16109 2009-10-23 Jari Aalto <jari.aalto@cante.net>
16111 * textmodes/ispell.el (ispell-dictionary-base-alist): Add finnish
16112 dictionary entry (Bug#4579).
16114 2009-10-23 Michael Albinus <michael.albinus@gmx.de>
16116 * net/tramp.el (top): Remove `tramp-rfn-eshadow-update-overlay'
16117 from `rfn-eshadow-update-overlay-hook' when unloading.
16118 (tramp-methods): Add `tramp-copy-keep-tmpfile' for "rsync" and
16119 "rsyncc". Adjust doc string.
16120 (tramp-temp-buffer-file-name): New buffer-local defvar.
16121 (tramp-handle-insert-file-contents, tramp-handle-write-region):
16122 Keep temporary file when indicated by method ("rsync" and
16124 (tramp-handle-write-region): Handle APPEND.
16125 (tramp-delete-temp-file-function): New defun. Added to
16126 `kill-buffer-hook'.
16128 2009-10-23 Juanma Barranquero <lekktu@gmail.com>
16130 * menu-bar.el (cua-enable-cua-keys): Declare for the byte-compiler.
16132 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
16134 * term/tty-colors.el (msdos-color-values): Remove declaration, unused.
16135 (color-name-rgb-alist, tty-standard-colors)
16136 (tty-color-mode-alist): Change to defconst.
16138 * simple.el (mark-inactive): Purecopy message.
16140 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle): Fix macro.
16141 (global-map, yank-menu):
16142 * textmodes/ispell.el (ispell-menu-map):
16143 * net/eudc.el (eudc-tools-menu):
16144 * international/mule-cmds.el (describe-language-environment-map)
16145 (setup-language-environment-map, set-coding-system-map)
16146 (mule-menu-keymap):
16147 * vc-hooks.el (vc-menu-entry, vc-menu-map):
16148 * replace.el (occur-mode-map):
16149 * pcvs-defs.el (cvs-global-menu): Purecopy names and tooltips.
16151 2009-10-23 Jay Belanger <jay.p.belanger@gmail.com>
16153 * calc/calc.el (math-read-number, math-read-number-simple):
16154 Use `save-match-data'.
16156 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
16158 * simple.el (normal-erase-is-backspace-mode): Use input-decode-map
16159 rather than fiddling with global-map bindings, since it should only
16160 affect per-terminal settings.
16161 See http://bugs.gentoo.org/show_bug.cgi?id=289709.
16163 * minibuffer.el (completion-table-with-terminator): Allow to specify
16164 the terminator-regexp.
16166 * simple.el (switch-to-completions): Look for *Completions* in other
16169 * pcomplete.el: Allow the use of completion-tables.
16170 (pcomplete-std-complete): New command.
16171 (pcomplete-dirs-or-entries): Use a single call to pcomplete-entries.
16172 (pcomplete--here): Use a function for `form' rather than an expression,
16173 so it can be byte-compiled.
16174 (pcomplete-here, pcomplete-here*): Adjust accordingly.
16175 Add edebug declaration.
16176 (pcomplete-show-completions): Remove unused var `curbuf'.
16177 (pcomplete-do-complete, pcomplete-stub):
16178 Don't assume `completions' is a list of strings any more.
16180 2009-10-22 Juanma Barranquero <lekktu@gmail.com>
16182 * find-dired.el (find-name-arg): Fix typo in docstring.
16184 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
16186 * pcmpl-linux.el (pcomplete/kill): Don't abuse pcomplete-entries.
16187 (pcmpl-linux-fs-types): Same, and update to new modules layout.
16189 * pcmpl-gnu.el (pcmpl-gnu-makefile-names): Use a single call to
16192 * comint.el (comint-read-input-ring, comint-write-input-ring)
16193 (comint-substitute-in-file-name)
16194 (comint-dynamic-complete-as-filename)
16195 (comint-dynamic-simple-complete)
16196 (comint-dynamic-list-filename-completions)
16197 (comint-dynamic-list-completions)
16198 (comint-redirect-results-list-from-process): Minor simplifications.
16200 2009-10-21 Kevin Ryde <user42@zip.com.au>
16202 * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
16203 When inserting ";;; Code" put it before any ";;;###autoload" cookie on
16204 the first form. And insert a blank line after ";;; Code" since
16205 that's usual style. (Bug#4612)
16207 * net/dns.el: Add "Keywords: comm", as per net/net-utils.el.
16209 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
16211 * minibuffer.el (completion-table-with-terminator): Properly implement
16212 boundaries, in case `terminator' appears in the suffix.
16213 (completion--embedded-envvar-table): Don't return boundaries if
16214 there's no valid completion. Simplify.
16215 (completion-file-name-table): New completion table extracted from
16216 completion--file-name-table.
16217 (completion--file-name-table): Use it.
16218 (read-file-name-predicate): Declare obsolete.
16219 (read-file-name): Use the pred arg i.s.o read-file-name-predicate.
16220 * vc-bzr.el (vc-bzr-revision-completion-table): Use the new
16221 completion-file-name-table, and use the `pred' argument.
16222 * files.el (locate-file-completion-table): Use the `pred' arg rather
16223 than read-file-name-predicate.
16224 (abbreviate-file-name): Use \` rather than ^ for BOS.
16226 2009-10-21 Dan Nicolaescu <dann@ics.uci.edu>
16228 * vc.el (vc-deduce-fileset): Undo previous change, do not tell
16229 vc-responsible-backend to register, it causes problems.
16231 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
16233 * help-fns.el: Don't require help-mode (to avoid bootstrap issues).
16235 2009-10-21 Michael Albinus <michael.albinus@gmx.de>
16237 * net/tramp-smb.el (tramp-smb-get-stat-capability): New defun.
16238 (tramp-smb-handle-file-attributes): Use it.
16239 (tramp-smb-do-file-attributes-with-stat): Don't raise an error.
16240 (tramp-smb-handle-insert-directory): Use `mapc' rather than
16241 `mapcar'. Use `tramp-smb-get-stat-capability'.
16242 Add `dired-filename' text properties.
16243 (tramp-smb-get-cifs-capabilities): Apply `save-match-data'.
16244 (tramp-smb-maybe-open-connection): Simplify check for smbclient
16247 2009-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
16249 * subr.el (read-key-delay): Reduce to 0.01.
16250 (read-key): Use read-key-sequence-vector to avoid turning M-t into 244
16253 2009-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
16255 * bindings.el (function-key-map): Map C-@ to C-SPC if C-@ is unbound.
16257 * info.el (Info-complete-menu-item): Handle `boundaries' explicitly.
16258 (Info-menu): Remove unused vars `last' and `completions'.
16259 (Info-index-nodes): Remove unused var `node'.
16261 * info.el (Info-complete-menu-item): Use complete-with-action.
16263 2009-10-19 Dan Nicolaescu <dann@ics.uci.edu>
16265 Make vc-annotate work through copies and renames.
16266 * vc-annotate.el (vc-annotate-extract-revision-at-line):
16267 Return the file name too.
16268 (vc-annotate-revision-at-line)
16269 (vc-annotate-find-revision-at-line)
16270 (vc-annotate-revision-previous-to-line)
16271 (vc-annotate-show-log-revision-at-line): Update to get the file
16272 name from vc-annotate-extract-revision-at-line.
16273 (vc-annotate-show-diff-revision-at-line-internal): Change the
16274 argument to mean whether to show a file diff or not. Get the file
16275 name from vc-annotate-extract-revision-at-line.
16276 (vc-annotate-show-diff-revision-at-line):
16277 Update vc-annotate-show-diff-revision-at-line call.
16278 (vc-annotate-warp-revision): Add an optional file argument.
16280 * vc-git.el (vc-git-annotate-command): Pass -C -C to the blame command.
16281 (vc-git-annotate-extract-revision-at-line): Also return the file
16284 * vc-hg.el (vc-hg-annotate-command): Pass --follow to the annotate
16285 command. Remove unused code.
16286 (vc-hg-annotate-re): Update to match --follow output.
16287 (vc-hg-annotate-extract-revision-at-line): Also return the file
16290 * vc.el: Update annotate-extract-revision-at-line documentation.
16292 2009-10-18 Kevin Ryde <user42@zip.com.au>
16294 * ibuffer.el (ibuffer-confirm-operation-on): Correction to error
16295 re-throw, `err' is a pair not a list so can't use apply (Bug#4740).
16297 * net/browse-url.el (browse-url): Identify alist with "consp and
16298 not functionp" and let all other things go down the `apply' leg,
16299 as suggested by Stefan. (Further to bug#4531.)
16301 2009-10-18 Chong Yidong <cyd@stupidchicken.com>
16303 * minibuffer.el (read-file-name): Check for repeat before putting
16304 a default argument in file-name-history (Bug#4657).
16306 * emacs-lisp/lisp-mode.el (preceding-sexp): Recognize hash table
16307 read syntax (Bug#4737).
16309 * textmodes/sgml-mode.el (sgml-delete-tag): Use sgml-looking-back-at.
16311 2009-10-18 Aaron S. Hawley <aaron.s.hawley@gmail.com>
16313 * textmodes/sgml-mode.el (sgml-tag-help): Prompt user for tag.
16314 (html-tag-alist, html-tag-help): Add descriptions for undocumented
16315 entries and make note of obsolete tags.
16317 2009-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
16319 * net/ange-ftp.el (ange-ftp-file-size): Use unwind-protect.
16321 2009-10-18 Glenn Morris <rgm@gnu.org>
16323 * Makefile.in (compile-last): Ensure GREP_OPTIONS is null before calling
16324 grep, so that binary files (eg international/uni-bidi.el) can match.
16325 Remove test for "UnicodeData" files, since it is hopefully unnecessary
16326 now, and in any case the file header format has changed.
16328 2009-10-17 Glenn Morris <rgm@gnu.org>
16330 * textmodes/flyspell.el (flyspell-large-region, flyspell-word)
16331 (flyspell-get-word, flyspell-large-region)
16332 (flyspell-auto-correct-previous-word): Doc/error message fixes.
16334 2009-10-17 Chong Yidong <cyd@stupidchicken.com>
16336 * Makefile.in (ELCFILES): Add ede/shell.
16338 2009-10-17 Dan Nicolaescu <dann@ics.uci.edu>
16340 * term/common-win.el (x-colors): Purecopy it.
16342 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
16344 * tar-mode.el (tar-data-swapped-p): Make the assertion a bit more
16345 permissive for when the buffer is empty.
16346 (tar-header-block-tokenize): Decode the username and groupname.
16347 (tar-chown-entry, tar-chgrp-entry): Encode the names (bug#4730).
16349 2009-10-17 Eric Ludlam <zappo@gnu.org>
16351 * emacs-lisp/eieio-base.el (eieio-persistent-save): If buffer
16352 contains multibyte characters, choose first applicable coding
16353 system automatically.
16355 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
16357 * international/mule-cmds.el (select-safe-coding-system): If the file
16358 has a coding cookie, use it regardless of any other setting (bug#4712).
16360 2009-10-17 Glenn Morris <rgm@gnu.org>
16362 * foldout.el (foldout-mouse-swallow-events):
16363 * gs.el (gs-load-image): Replace obsolete forms of sit-for, sleep-for.
16365 * dired.el (dired-ls-F-marks-symlinks, dired-keep-marker-rename)
16366 (dired-keep-marker-copy, dired-keep-marker-hardlink)
16367 (dired-keep-marker-symlink, dired-dwim-target)
16368 (dired-copy-preserve-time): Do not autoload these defcustoms.
16370 * mail/rmail.el (rmail-write-region-annotate): Prevent viewing different
16371 messages from messing up the file coding. (Bug#4623)
16373 2009-10-17 Jari Aalto <jari.aalto@cante.net>
16375 * textmodes/ispell.el (ispell-get-decoded-string): Give an error
16376 if no match is found for the current dictionary. (Bug#4578)
16378 * textmodes/flyspell.el (flyspell-get-word): Make `following' argument
16379 optional, since that is how it is documented, and this is often called
16380 with a nil argument. (Bug#4577)
16381 (flyspell-external-point-words, flyspell-auto-correct-word)
16382 (flyspell-correct-word-before-point, flyspell-word-search-forward)
16383 (flyspell-word-search-backward): Remove nil argument in calls to
16384 flyspell-get-word, since it is not needed now.
16386 2009-10-17 Ulrich Mueller <ulm@gentoo.org>
16388 * play/doctor.el (doctor-adverbp): Exclude some nouns. (Bug#4565)
16390 2009-10-16 Glenn Morris <rgm@gnu.org>
16392 * net/rcirc.el (rcirc-authenticate): Simplify previous change.
16394 2009-10-16 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
16396 * net/ange-ftp.el (ange-ftp-send-cmd): Handle `size' like `mdtm'.
16397 (ange-ftp-file-size): New function.
16398 (ange-ftp-file-attributes): Use it.
16400 2009-10-16 Michael Albinus <michael.albinus@gmx.de>
16402 * net/tramp-smb.el (tramp-smb-version): New defvar.
16403 (tramp-smb-maybe-open-connection): Use it, in order to avoid
16406 2009-10-16 Glenn Morris <rgm@gnu.org>
16408 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Doc fix.
16409 Maybe copy some custom properties from old to new name. (Bug#4706)
16411 2009-10-16 Juanma Barranquero <lekktu@gmail.com>
16413 * subr.el (error, sit-for, start-process-shell-command)
16414 (start-file-process-shell-command): Set the calling convention
16415 after the function definition.
16417 2009-10-16 Stefan Monnier <monnier@iro.umontreal.ca>
16419 * subr.el (error, sit-for, start-process-shell-command)
16420 (start-file-process-shell-command): Use the new
16421 set-advertised-calling-convention feature.
16423 2009-10-16 Taichi Kawabata <kawabata.taichi@gmail.com>
16425 * international/ucs-normalize.el (ucs-normalize-version):
16427 (check-range): Adjust for Unicode 5.2.
16429 2009-10-15 Juri Linkov <juri@jurta.org>
16431 * menu-bar.el (menu-bar-file-menu): Convert `separator-exit'
16432 to the `menu-item' format.
16434 2009-10-15 Michael Albinus <michael.albinus@gmx.de>
16436 * net/tramp.el (tramp-replace-environment-variables): Do not fail
16437 if the environment variable does not exist.
16439 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
16440 (tramp-smb-get-share, tramp-smb-get-localname): Use only VEC as
16442 (tramp-smb-handle-add-name-to-file)
16443 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
16444 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
16445 (tramp-smb-handle-file-attributes)
16446 (tramp-smb-do-file-attributes-with-stat)
16447 (tramp-smb-handle-file-local-copy)
16448 (tramp-smb-handle-insert-directory)
16449 (tramp-smb-handle-make-directory)
16450 (tramp-smb-handle-make-directory-internal)
16451 (tramp-smb-handle-make-symbolic-link)
16452 (tramp-smb-handle-rename-file, tramp-smb-handle-set-file-modes)
16453 (tramp-smb-handle-write-region, tramp-smb-get-file-entries)
16454 (tramp-smb-maybe-open-connection): Apply the changed parameters.
16455 (tramp-smb-read-file-entry): Read Disk names in compressed format.
16456 Handle long file names.
16457 (tramp-smb-get-cifs-capabilities): Check, whether the connection
16458 process is running.
16459 (tramp-smb-maybe-open-connection): Trace "smbclient -V" command.
16460 Read share names with "-g" option.
16462 2009-10-15 Ryan Yeske <rcyeske@gmail.com>
16464 * net/rcirc.el (rcirc-view-log-file): New command.
16465 (rcirc-track-minor-mode-map): Remove C-c ` binding.
16466 (rcirc-authenticate, rcirc-authinfo): Allow nickserv-nick to be
16469 2009-10-15 Glenn Morris <rgm@gnu.org>
16471 * w32-fns.el (w32-batch-update-autoloads): Take autoload-make-program
16472 from the second command-line argument.
16473 * makefile.w32-in (autoloads, $(lisp)/calendar/cal-loaddefs.el)
16474 ($(lisp)/calendar/diary-loaddefs.el, $(lisp)/calendar/hol-loaddefs.el)
16475 ($(lisp)/mh-e/mh-loaddefs.el): Pass $(MAKE) as second argument to
16476 w32-batch-update-autoloads.
16477 * emacs-lisp/autoload.el (autoload-make-program): New variable.
16478 (batch-update-autoloads): Handle autoload-excludes on windows-nt.
16480 * mail/rmailedit.el (rmail-cease-edit): Give an error if the end of
16481 the headers cannot be located. Simplify, subtracting superflous
16484 2009-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
16486 Replace completion-base-size by completion-base-position to fix bugs
16487 such as (bug#4699).
16488 * simple.el (completion-base-position): New var.
16489 (completion-base-size): Mark as obsolete.
16490 (choose-completion): Make it work for mouse events as well.
16491 Pass the new base-position to choose-completion-string.
16492 (choose-completion-guess-base-position): New function, extracted from
16493 choose-completion-delete-max-match.
16494 (choose-completion-delete-max-match): Use it. Make obsolete.
16495 (choose-completion-string): Use the new base-position info.
16496 (completion-root-regexp): Delete.
16497 (completion-setup-function): Preserve completion-base-position.
16498 Eliminate obsolete base-size manipulation.
16499 * minibuffer.el (display-completion-list): Don't mess with base-size.
16500 (minibuffer-completion-help): Set completion-base-position instead.
16501 * mouse.el (mouse-choose-completion): Redefine as a mere alias to
16503 * textmodes/bibtex.el (bibtex-complete):
16504 * emacs-lisp/crm.el (crm--choose-completion-string):
16505 Adjust to new calling convention.
16506 * complete.el (partial-completion-mode): Use minibufferp to avoid
16507 bumping into incompatible change to choose-completion-string-functions.
16508 * ido.el (ido-choose-completion-string): Make its calling convention
16510 * comint.el (comint-dynamic-list-input-ring-select): Remove obsolete
16511 base-size manipulation.
16512 (comint-dynamic-list-input-ring): Use dotimes and push.
16513 * iswitchb.el (iswitchb-completion-help): Remove dead-code call to
16514 fundamental-mode. Use `or'.
16516 2009-10-14 Juri Linkov <juri@jurta.org>
16518 * misearch.el (multi-isearch-next-buffer-from-list)
16519 (multi-isearch-next-file-buffer-from-list): Doc fix. (Bug#4723)
16521 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
16523 * Makefile.in (compile-onefile): Load `bytecomp' rather than
16526 * minibuffer.el (completion-pcm--merge-completions): Make sure the
16527 string we return is all made up of text from the completions rather
16528 than part from the completions and part from the input (bug#4219).
16530 * ido.el (ido-everywhere): Use define-minor-mode.
16532 * buff-menu.el (list-buffers, ctl-x-map):
16533 Mark the entry points with ;;;###autoload cookies.
16535 2009-10-14 Dan Nicolaescu <dann@ics.uci.edu>
16537 * vc-git.el (vc-git-dir-extra-headers): Set the branch name
16538 correctly in the detached head case.
16539 (vc-git-print-log): Remove unused binding.
16541 * vc.el (vc-responsible-backend): When a directory is passed for
16542 for registration create a VC repository if no backend is
16543 responsible for the directory argument.
16544 (vc-deduce-fileset): Tell vc-responsible-backend to register.
16546 * vc.el: Move comments about RCS and SCCS ...
16548 * vc-sccs.el: ... here, respectively.
16550 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
16552 * minibuffer.el (completion--file-name-table): Return nil if there's
16553 no file completion, even if substitute-in-file-name changed
16554 the string (bug#4708).
16556 2009-10-13 Juri Linkov <juri@jurta.org>
16558 * files-x.el (read-file-local-variable-value): Don't filter out
16559 minor modes from mode name completion (bug#4664).
16561 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
16563 * international/mule-cmds.el (ucs-names): Remove exclusion of
16564 "Enclosed Ideographic Supplement" range (U+1F200..U+1F2FF).
16566 2009-10-13 Kenichi Handa <handa@m17n.org>
16568 * international/uni-name.el: Regenerated.
16570 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
16572 * bs.el (bs-mode): Fix last change. (`revert-buffer-function'
16573 should be automatically buffer-local, but isn't.)
16575 2009-10-12 Sam Steingold <sds@gnu.org>
16577 * progmodes/compile.el (compilation-next-error-function): Fix the
16578 timestamps if the buffer has been visited before.
16579 (compilation-mode-font-lock-keywords): Do not prepend "^ *" to
16580 non-anchored patterns, like the perl one (bug#3928).
16582 2009-10-12 Glenn Morris <rgm@gnu.org>
16584 * net/tramp-smb.el (tramp-smb-do-file-attributes-with-stat):
16587 2009-10-12 Juanma Barranquero <lekktu@gmail.com>
16589 * proced.el (proced-unload-function): New function.
16591 * bs.el (bs-mode): Set `revert-buffer-function' to `bs-refresh'.
16592 (bs-refresh): Add IGNORED arg for `revert-buffer' compatibility.
16595 * menu-bar.el (menu-bar-file-menu): Fix format of `separator-exit' item.
16597 2009-10-11 Juri Linkov <juri@jurta.org>
16599 * files-x.el (read-file-local-variable-value):
16600 Provide default value only for bound variables (bug#4664).
16602 2009-10-11 Michael Albinus <michael.albinus@gmx.de>
16604 * net/tramp.el (tramp-local-host-p): Function shall return nil for
16605 connection methods like smb.
16607 * net/tramp-cache.el (tramp-flush-connection-property): The hash
16610 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
16611 (tramp-smb-file-name-handler-alist): Add handlers for
16612 `add-name-to-file', `make-symbolic-link'.
16613 (tramp-smb-handle-add-name-to-file)
16614 (tramp-smb-do-file-attributes-with-stat)
16615 (tramp-smb-handle-make-symbolic-link)
16616 (tramp-smb-get-cifs-capabilities): New defuns.
16617 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
16618 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
16619 (tramp-smb-handle-file-local-copy)
16620 (tramp-smb-handle-make-directory-internal)
16621 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
16622 The file name syntax depends on cifs capabilities.
16623 (tramp-smb-handle-file-attributes):
16624 Call `tramp-smb-do-file-attributes-with-stat' if possible.
16625 (tramp-smb-handle-insert-directory): Use posix attributes if possible.
16626 (tramp-smb-handle-set-file-modes): It is applicable for posix only.
16628 2009-10-11 Chong Yidong <cyd@stupidchicken.com>
16630 * emacs-lisp/eieio.el: Avoid requiring cl at runtime.
16631 (eieio-defclass): Apply deftype handler and setf-method properties
16633 (eieio-add-new-slot): Avoid union function from cl library.
16634 (eieio--typep): New function.
16635 (eieio-perform-slot-validation): Use it.
16637 2009-10-10 Karl Fogel <kfogel@red-bean.com>
16639 * bookmark.el (bookmark-yank-word, bookmark-insert-current-bookmark):
16640 Update documentation to refer to the variables documented in r1.135.
16643 2009-10-10 Karl Fogel <kfogel@red-bean.com>
16645 * bookmark.el (Info-suffix-list): Remove this unused variable.
16646 (bookmark-current-point): Remove this obsolete variable.
16647 (bookmark-set, bookmark-rename, bookmark-send-edited-annotation):
16648 Adjust for removal of bookmark-current-point.
16650 (bookmarks-already-loaded, bookmark-current-buffer)
16651 (bookmark-yank-point): Document. (Bug#4188)
16653 2009-10-10 Glenn Morris <rgm@gnu.org>
16655 * frame.el (frame-height): Doc fix.
16657 * calendar/calendar.el (calendar-split-width-threshold): New option.
16658 (calendar-basic-setup): Use calendar-split-width-threshold.
16660 2009-10-09 Juanma Barranquero <lekktu@gmail.com>
16662 * international/mule-cmds.el (ucs-names): Exclude new "Enclosed
16663 Ideographic Supplement" range (U+1F200..U+1F2FF).
16665 2009-10-09 Karl Fogel <kfogel@red-bean.com>
16667 * bookmark.el (bookmark-bmenu-rename): Don't call bookmark-bmenu-list,
16668 since the list will have been rebuilt anyway. (Bug#4349)
16670 2009-10-09 Karl Fogel <kfogel@red-bean.com>
16672 * bookmark.el (bookmark-delete): Don't let batch arg prevent saving.
16673 (bookmark-bmenu-execute-deletions): Don't save here, as
16674 bookmark-delete will now do so if necessary.
16675 Suggested by Thierry Volpiatto <thierry.volpiatto {_AT_} gmail.com>.
16678 2009-10-09 Glenn Morris <rgm@gnu.org>
16680 * mail/emacsbug.el (report-emacs-bug): Also print `features'.
16682 2009-10-09 Karl Fogel <kfogel@red-bean.com>
16684 * bookmark.el (bookmark-jump): Add new `display-func' parameter.
16685 (bookmark-jump-other-window): Just invoke bookmark-jump with new
16686 argument now, so the two function's behaviors will match. (Bug#3645)
16688 2009-10-08 Michael Albinus <michael.albinus@gmx.de>
16690 * net/tramp.el (tramp-file-name-real-user, tramp-file-name-domain)
16691 (tramp-file-name-real-host, tramp-file-name-port):
16692 Apply `save-match-data'.
16694 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Handle the
16695 case both directories are remote.
16696 (tramp-smb-handle-expand-file-name): Implement "~" expansion.
16697 (tramp-smb-maybe-open-connection): Flush the cache only if necessary.
16699 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
16701 * makefile.w32-in (WINS_UPDATES): Fix typo in previous change.
16703 2009-10-07 Glenn Morris <rgm@gnu.org>
16705 * emacs-lisp/autoload.el (batch-update-autoloads): Remove useless use
16708 2009-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
16710 * files-x.el (read-file-local-variable): Include some
16711 non-user-variables in the completion table (bug#4664).
16713 2009-10-07 Michael Albinus <michael.albinus@gmx.de>
16715 * net/tramp-cache.el (tramp-flush-connection-property): Add trace
16718 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
16719 (tramp-smb-file-name-handler-alist): Add handler for
16720 `copy-directory', `expand-file-name', `set-file-modes'.
16721 (tramp-smb-handle-copy-directory)
16722 (tramp-smb-handle-expand-file-name)
16723 (tramp-smb-handle-set-file-modes): New defuns.
16724 (tramp-smb-handle-copy-file): Handle KEEP-DATE.
16725 (tramp-smb-handle-file-attributes): Simplify check for retrieving
16727 (tramp-smb-handle-insert-directory): Don't flush the cache.
16728 (tramp-smb-maybe-open-connection): Check for samba client and
16731 2009-10-07 Eli Zaretskii <eliz@gnu.org>
16733 * emacs-lisp/autoload.el (batch-update-autoloads): Fix last change
16734 to not error out of search for "^lisp=" fails.
16736 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
16738 * makefile.w32-in (WINS_UPDATES): New macro.
16739 (custom-deps, finder-data, autoloads): Use it.
16741 2009-10-07 Glenn Morris <rgm@gnu.org>
16743 * Makefile.in (autoloads): Revert previous change.
16744 * emacs-lisp/autoload.el (batch-update-autoloads): Rather than having
16745 the list of preloaded files passed on the command-line, get
16746 it from src/Makefile.
16748 * calendar/calendar.el (calendar-basic-setup): In the wide frame case,
16749 show the original buffer rather than a random one.
16751 2009-10-07 Markus Rost <rost@math.uni-bielefeld.de>
16753 * help.el (describe-no-warranty): Place point in a slightly better
16754 position in the GPLv3 text.
16756 2009-10-06 Sam Steingold <sds@gnu.org>
16758 * net/tramp-compat.el (tramp-compat-process-running-p): Check that
16759 the comm attribute is present before calling regexp-quote.
16761 2009-10-06 Juanma Barranquero <lekktu@gmail.com>
16763 * play/animate.el (animate-string): For good effect, make sure
16764 `indent-tabs-mode' and `show-trailing-whitespace' are nil.
16766 * play/animate.el (animate-sequence, animate-birthday-present):
16767 * misc.el (butterfly): Don't set `indent-tabs-mode'.
16769 2009-10-06 Glenn Morris <rgm@gnu.org>
16771 * emacs-lisp/byte-run.el (define-obsolete-face-alias): Doc fix.
16773 * emacs-lisp/autoload.el (autoload-excludes): New variable.
16774 (autoload-generate-file-autoloads): Skip files in autoload-excludes.
16775 (batch-update-autoloads): Process a string value of autoload-excludes,
16776 set during the build process.
16777 * Makefile.in (autoloads): Skip preloaded files. (Bug#4446)
16779 * net/tramp.el (tramp-handle-start-file-process): Move tramp-error call
16780 inside with-parsed... macro so that `v' is defined.
16782 * progmodes/f90.el (f90-end-of-block, f90-beginning-of-block):
16783 * progmodes/fortran.el (fortran-end-of-block)
16784 (fortran-beginning-of-block):
16785 Also push mark in the macro case.
16787 * emerge.el (emerge-show-file-name):
16788 * calc/calc.el (calc-quit):
16789 * calc/calc-misc.el (calc-big-or-small):
16790 * calc/calc-graph.el (calc-graph-view):
16791 * calc/calc-ext.el (calc-reset):
16792 * calendar/calendar.el (calendar-basic-setup):
16793 Use window-full-height-p.
16795 * mail/rmailedit.el (rmail-cease-edit): If there is a Content-Type
16796 header we don't understand, don't insert another. (Bug#4624)
16797 If changing mime charset, insert the new one in the right place.
16799 2009-10-06 Matthew Junker <matthew.junker@sbcglobal.net> (tiny change)
16801 * calendar/cal-tex.el (cal-tex-cursor-month-landscape)
16802 (cal-tex-cursor-month): Correctly increment the end date for diary and
16803 holiday listing. (Bug#4626)
16805 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
16807 * help-fns.el (describe-function-1): Don't burp if the function is not
16810 2009-10-05 Juanma Barranquero <lekktu@gmail.com>
16812 * emacs-lisp/chart.el (chart-face-pixmap-list, chart-new-buffer, chart)
16813 (chart-axis-range, chart-axis-names, chart-sequece, chart-bar)
16814 (chart-draw, chart-axis-draw, chart-sort, chart-sort-matchlist)
16815 (chart-draw-line, chart-bar-quickie): Fix typos in docstrings.
16817 * emacs-lisp/eieio.el (generic-p, eieiomt-next, eieio-generic-form)
16818 (eieio-default-superclass): Reflow docstrings.
16819 (this, class-option-assoc, defclass, eieio-class-un-autoload)
16820 (eieio-unbind-method-implementations, defmethod)
16821 (eieio-validate-slot-value, eieio-validate-class-slot-value)
16822 (oref-default, eieio-oref-default, eieio-oset, eieio-oset-default)
16823 (with-slots, eieio-add-new-slot, object-assoc, object-remove-from-list)
16824 (eieio-slot-originating-class-p, eieio-slot-name-index)
16825 (eieio-pre-method-execution-hooks, eieio-initarg-to-attribute)
16826 (constructor, initialize-instance, no-next-method, object-print)
16827 (object-write, eieio-override-prin1, eieio-edebug-prin1-to-string):
16828 Fix typos in docstrings.
16829 (eieio-defclass, eieio-perform-slot-validation-for-default, defgeneric)
16830 (child-of-class-p, object-slots, slot-boundp, slot-exists-p)
16831 (next-method-p): Doc fixes.
16832 (eieio-add-new-slot, call-next-method, eieiomt-add, change-class):
16833 Fix typos in error messages.
16834 (eieio-defmethod): Fix typo in description of generic method.
16836 * emacs-lisp/eieio-base.el (eieio-instance-inheritor, slot-unbound)
16837 (eieio-persistent-save-interactive, slot-missing):
16838 Fix typos in docstrings.
16839 (eieio-instance-inheritor-slot-boundp): Doc fix.
16841 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod)
16842 (byte-compile-defmethod-param-convert): Fix typos in docstrings.
16844 * emacs-lisp/eieio-custom.el (eieio-done-customizing)
16845 (eieio-custom-object-apply-reset):
16846 Fix typos in docstrings and error messages.
16848 * emacs-lisp/eieio-datadebug.el (data-debug-show):
16849 Fix typo in docstring.
16851 * emacs-lisp/eieio-opt.el (top): Fix typo in error message.
16852 (eieio-browse-tree): Doc fix.
16853 (eieio-all-generic-functions, eieio-class-speedbar): Reflow docstrings.
16854 (eieio-help-mode-augmentation-maybee, eieio-class-speedbar-make-map):
16855 Fix typos in docstrings.
16857 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-file-button): Doc fix.
16858 (eieio-speedbar-key-map, eieio-speedbar-create-engine)
16859 (eieio-speedbar-buttons, eieio-speedbar, eieio-speedbar-object-children)
16860 (eieio-speedbar-make-tag-line, eieio-speedbar-object-expand):
16863 2009-10-05 Dan Nicolaescu <dann@ics.uci.edu>
16865 * vc-hg.el (log-view-vc-backend): Declare for compiler.
16866 (vc-hg-outgoing-mode, vc-hg-incoming-mode):
16867 Set log-view-vc-backend so that diff can work.
16869 * log-view.el (log-view-diff): Use vc-diff-internal instead of
16871 (vc-diff-internal): Autoload this instead of vc-version-diff.
16873 2009-10-05 Eli Zaretskii <eliz@gnu.org>
16875 * simple.el (eval-expression): Doc fix.
16877 * progmodes/cwarn.el (cwarn-mode): Doc fix.
16879 2009-10-05 Michael Albinus <michael.albinus@gmx.de>
16881 * files.el (directory-files-no-dot-files-regexp): New defconst.
16882 (delete-directory): Use it.
16883 (copy-directory): Use it. Remove parameter PRESERVE-UID-GID.
16885 * net/tramp.el (tramp-verbose): Fix docstring.
16886 (tramp-methods): Add recursive option to `tramp-copy-args'.
16887 Add `tramp-copy-recursive'. Valid for "rcp", "scp", "scp1", "scp2",
16888 "scp1_old", "scp2_old", "rsync", "rsyncc".
16889 (tramp-default-method): Check also for `auth-source-user-or-password'.
16890 (tramp-file-name-handler-alist, tramp-file-name-for-operation):
16891 Add handler for `copy-directory'.
16892 (tramp-handle-copy-directory): New defun.
16893 (tramp-do-copy-or-rename-file-out-of-band): Handle directory case.
16894 (tramp-handle-start-file-process): Raise an error when PROGRAM is nil.
16895 Optimize sent command.
16897 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
16899 * calendar/diary-lib.el (diary-show-all-entries): Re-fit the calendar
16900 window if necessary.
16902 * calendar/calendar.el (calendar-basic-setup): Don't call
16903 switch-to-buffer in a dedicated window.
16905 2009-10-05 Karl Fogel <kfogel@red-bean.com>
16907 * bookmark.el (bookmark-handle-bookmark): If bookmark has no file,
16908 don't do anything related to relocating, just return nil.
16909 (bookmark-error-no-filename): New error.
16910 (bookmark-default-handler): Signal `bookmark-error-no-filename' if
16911 bookmark has no file. Don't even attempt to handle things that
16912 are not files; the whole point of custom handlers is to keep that
16913 knowledge elsewhere anyway. Tighten some comments.
16914 (bookmark-file-or-variation-thereof): Remove now-unused function.
16915 (bookmark-location): Doc string fix.
16918 2009-10-04 Karl Fogel <kfogel@red-bean.com>
16920 * bookmark.el (bookmark-handle-bookmark): When relocating a bookmark,
16921 don't use a file dialog, because they usually don't know how to read
16922 a directory target from the user. (Bug#4230)
16923 Also, make sure the prompt can display directories as well as files.
16925 2009-10-04 Karl Fogel <kfogel@red-bean.com>
16927 * bookmark.el (bookmark-set, bookmark-buffer-name):
16928 Improve doc strings. (Bug#1193)
16930 2009-10-04 Karl Fogel <kfogel@red-bean.com>
16932 * bookmark.el (bookmark-get-bookmark, bookmark-get-bookmark-record)
16933 (bookmark-set-name, bookmark-prop-get, bookmark-prop-set)
16934 (bookmark-get-annotation, bookmark-set-annotation)
16935 (bookmark-get-filename, bookmark-set-filename, bookmark-get-position)
16936 (bookmark-set-position, bookmark-get-front-context-string)
16937 (bookmark-set-front-context-string, bookmark-get-rear-context-string)
16938 (bookmark-set-rear-context-string, bookmark-location, bookmark-jump)
16939 (bookmark-jump-other-window, bookmark-handle-bookmark)
16940 (bookmark-relocate, bookmark-insert-location, bookmark-rename)
16941 (bookmark-insert, bookmark-delete, bookmark-time-to-save-p)
16942 (bookmark-edit-annotation-mode, bookmark-edit-annotation):
16943 Improve doc strings to say whether bookmark can be a string or
16944 a record or both, and make other consistency and clarity fixes.
16945 (bookmark-get-handler, bookmark--jump-via, bookmark-write-file)
16946 (bookmark-default-annotation-text, bookmark-yank-word)
16947 (bookmark-maybe-load-default-file, bookmark-maybe-sort-alist)
16948 (bookmark-import-new-list, bookmark-maybe-rename)
16949 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
16950 (bookmark-bmenu-bookmark): Give these doc strings.
16951 (bookmark-bmenu-check-position): Give this a doc string, but also
16952 add a FIXME comment about how the function may be pointless.
16953 (bookmark-default-handler): Rework doc string and change a
16954 parameter name, to clarify that this takes a bookmark record
16955 not a bookmark name.
16956 (bookmark-set): Change a parameter name to indicate its meaning,
16957 and improve the doc string a bit.
16960 2009-10-04 Karl Fogel <kfogel@red-bean.com>
16962 * bookmark.el (bookmark-alist): Document the new `handler' element
16963 in the param alist.
16964 (bookmark-make-record-function): Adjust documentation for above.
16967 2009-10-04 Karl Fogel <kfogel@red-bean.com>
16969 * info.el (Info-bookmark-make-record): Document this function.
16970 (Info-bookmark-jump): Document with a doc string, not just a comment.
16973 2009-10-04 Michael Albinus <michael.albinus@gmx.de>
16975 * files.el (copy-directory): New defun.
16977 * dired-aux.el (dired-copy-file-recursive): Use it.
16979 2009-10-04 Juanma Barranquero <lekktu@gmail.com>
16981 * files-x.el (modify-dir-local-variable)
16982 (copy-dir-locals-to-file-locals-prop-line): Fix typos in
16985 * recentf.el (recentf-unload-function): New function.
16987 2009-10-04 Glenn Morris <rgm@gnu.org>
16989 * window.el (window-full-height-p): Add doc string.
16991 2009-10-04 Martin Rudalics <rudalics@gmx.at>
16993 * window.el (window-full-height-p): New function. (Bug#4543)
16995 2009-10-03 Dan Nicolaescu <dann@ics.uci.edu>
16997 * vc.el: Remove commented out code.
16998 (vc-derived-from-dir-mode): Remove, unused.
16999 (vc-version-diff, vc-diff): Consistently pass t to vc-deduce-fileset.
17001 2009-10-03 Michael Albinus <michael.albinus@gmx.de>
17003 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
17004 Disable `file-name-handler-alist' when loading 'ange-ftp. Otherwise,
17005 there could be recursive loading when `default-directory' is a
17006 remote file name. (Bug#4614)
17008 2009-10-03 Glenn Morris <rgm@gnu.org>
17010 * calendar/calendar.el (calendar-basic-setup): Handle the case where
17012 (calendar-generate-window): Test for shrinkability rather than width.
17014 * mail/rmail.el (rmail-generate-viewer-buffer): Be more careful about
17015 reusing existing buffers, in case we happen to visit two files with the
17016 same basename. (Bug#4593)
17018 2009-10-02 Eli Zaretskii <eliz@gnu.org>
17020 * makefile.w32-in (update-subdirs-CMD): Add cedet to $(WINS_SUBDIR).
17021 (WINS_CEDET_SUBDIRS): List of subdirectories of cedet.
17022 (bootstrap-clean-CMD, bootstrap-clean-SH): Remove *.elc files in
17023 subdirs of cedet as well.
17024 (AUTOGENEL): Add loaddefs.el files in cedet subdirectories.
17026 2009-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
17028 * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string):
17029 Obey advertised-signature-table.
17031 * help-fns.el (help-function-arglist): Don't check
17032 advertised-signature-table.
17033 (describe-function-1): Do it here instead so it also applies to subrs.
17035 2009-10-02 Michael Albinus <michael.albinus@gmx.de>
17037 * simple.el (start-file-process): Say in the doc-string, that file
17038 handlers might not support pty association, if PROGRAM is nil.
17040 * net/ange-ftp.el (ange-ftp-generate-passwd-key): Check, whether
17041 HOST and USER are strings. They are nil, when there are
17042 incomplete entries in ~/.netrc, for example.
17043 (ange-ftp-delete-directory): Implement RECURSIVE case. Change to
17044 root directory ("device busy" error otherwise).
17046 * net/tramp-smb.el (tramp-smb-handle-make-directory-internal):
17047 Flush file properties of created directory.
17049 2009-10-02 Eli Zaretskii <eliz@gnu.org>
17051 * makefile.w32-in (WINS_BASIC): Remove cedet.
17052 (WINS_CEDET): Add cedet.
17053 (update-subdirs-SH): Use $(WINS_SUBDIR), not $(WINS).
17055 2009-10-02 Kevin Ryde <user42@zip.com.au>
17057 * net/browse-url.el (browse-url): Pass any symbol in
17058 browse-url-browser-function to `apply', since if you've mistakenly put
17059 an unbound symbol then the error is clearer. (Bug#4531)
17061 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
17063 * allout.el (allout-init, allout-back-to-current-heading)
17064 (allout-beginning-of-current-entry, allout-ascend-to-depth)
17065 (allout-ascend, allout-up-current-level, allout-end-of-level)
17066 (allout-previous-visible-heading, allout-forward-current-level)
17067 (allout-backward-current-level, allout-show-children):
17068 * apropos.el (apropos-describe-plist):
17069 * bookmark.el (bookmark-maybe-historicize-string, bookmark-bmenu-list):
17070 * comint.el (comint-strip-ctrl-m, comint-goto-process-mark):
17071 * completion.el (add-completion, add-permanent-completion):
17072 * descr-text.el (describe-text-category, describe-char):
17073 * desktop.el (desktop-lazy-abort):
17074 * dired-x.el (dired-omit-expunge, dired-x-bind-find-file):
17075 * dired.el (dired-build-subdir-alist):
17076 * ediff.el (ediff-version):
17077 * elide-head.el (elide-head, elide-head-show):
17078 * emerge.el (emerge-version):
17080 * face-remap.el (variable-pitch-mode):
17081 * faces.el (describe-face):
17082 * ffap.el (ffap-next-url, find-file-at-point, ffap-at-mouse)
17084 * files.el (find-file-existing, auto-save-mode):
17085 * font-lock.el (font-lock-fontify-buffer):
17086 * help-fns.el (describe-function, describe-variable)
17087 (describe-syntax, describe-categories):
17088 * help.el (view-lossage, describe-bindings, describe-key)
17090 * hexl.el (hexl-current-address):
17091 * hi-lock.el (hi-lock-mode, hi-lock-find-patterns):
17092 * info.el (Info-goto-emacs-key-command-node):
17093 * log-edit.el (log-edit-insert-cvs-template)
17094 (log-edit-insert-cvs-rcstemplate):
17095 * menu-bar.el (menu-bar-mode):
17096 * mouse.el (mouse-appearance-menu):
17097 * newcomment.el (comment-indent-new-line):
17098 * pgg.el (pgg-save-coding-system, pgg-encrypt-region)
17099 (pgg-encrypt-symmetric-region, pgg-encrypt-symmetric)
17100 (pgg-encrypt, pgg-decrypt-region, pgg-decrypt)
17101 (pgg-sign-region, pgg-sign, pgg-verify-region, pgg-verify):
17102 * recentf.el (recentf-mode):
17103 * savehist.el (savehist-mode, savehist-save):
17104 * shadowfile.el (shadow-copy-files):
17105 * simple.el (kill-ring-save, next-line, previous-line)
17106 (normal-erase-is-backspace-mode):
17107 * strokes.el (strokes-update-window-configuration)
17108 (strokes-load-user-strokes, strokes-prompt-user-save-strokes)
17109 (strokes-xpm-for-stroke):
17110 * time.el (emacs-uptime, emacs-init-time):
17111 * tutorial.el (tutorial--describe-nonstandard-key)
17112 (tutorial--detailed-help):
17113 * type-break.el (type-break-mode)
17114 (type-break-mode-line-message-mode, type-break-query-mode)
17115 (type-break-guesstimate-keystroke-threshold):
17116 * vc.el (vc-version-diff, vc-diff, vc-root-diff):
17117 * version.el (emacs-version):
17118 * vt-control.el (vt-keypad-on, vt-keypad-off, vt-numlock):
17119 * winner.el (winner-mode):
17120 * calendar/timeclock.el (timeclock-in, timeclock-out)
17121 (timeclock-status-string, timeclock-change)
17122 (timeclock-workday-remaining-string)
17123 (timeclock-workday-elapsed-string)
17124 (timeclock-when-to-leave-string):
17125 * calendar/todo-mode.el (todo-add-category):
17126 * emacs-lisp/advice.el (ad-enable-regexp, ad-disable-regexp):
17127 * emacs-lisp/autoload.el (update-file-autoloads):
17128 * emacs-lisp/checkdoc.el (checkdoc-current-buffer)
17129 (checkdoc-start, checkdoc-continue, checkdoc-rogue-spaces)
17130 (checkdoc-message-text, checkdoc-defun):
17131 * emacs-lisp/debug.el (debugger-list-functions):
17132 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
17133 * emacs-lisp/eieio-opt.el (eieio-describe-class)
17134 (eieio-describe-generic):
17135 * emacs-lisp/lisp-mnt.el (lm-synopsis):
17136 * emacs-lisp/shadow.el (list-load-path-shadows):
17137 * emulation/cua-base.el (cua-mode):
17138 * emulation/edt.el (edt-set-scroll-margins):
17139 * emulation/tpu-edt.el (tpu-toggle-newline-and-indent)
17140 (tpu-toggle-regexp, tpu-toggle-search-direction)
17141 (tpu-toggle-rectangle, tpu-toggle-control-keys):
17142 * emulation/tpu-extras.el (tpu-set-scroll-margins):
17143 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
17144 (viper-set-parsing-style-toggling-macro)
17145 (viper-set-emacs-state-searchstyle-macros):
17146 * emulation/viper.el (viper-set-hooks):
17147 * eshell/esh-mode.el (eshell-truncate-buffer):
17148 * international/mule-cmds.el (prefer-coding-system)
17149 (describe-input-method, describe-language-environment):
17150 * international/mule-diag.el (list-character-sets)
17151 (describe-character-set, describe-coding-system)
17152 (describe-fontset, list-fontsets, list-input-methods):
17153 * mail/sendmail.el (mail-signature):
17154 * net/ange-ftp.el (ange-ftp-copy-file):
17155 * net/browse-url.el (browse-url):
17156 * net/eudc.el (eudc-set-server, eudc-get-attribute-list):
17157 * net/quickurl.el (quickurl-add-url):
17158 * net/rcirc.el (names, topic):
17159 * net/xesam.el (xesam-mode):
17160 * play/5x5.el (5x5-new-game):
17161 * play/yow.el (apropos-zippy):
17162 * progmodes/ada-mode.el (ada-mode-version):
17163 * progmodes/f90.el (f90-beginning-of-subprogram, f90-end-of-subprogram)
17165 (f90-beginning-of-block):
17166 * progmodes/fortran.el (fortran-end-of-block)
17167 (fortran-beginning-of-block):
17168 * progmodes/js.el (js-syntactic-context, js-gc, js-eval):
17169 * progmodes/python.el (python-describe-symbol, python-shell):
17170 * term/ns-win.el (ns-print-buffer):
17171 * textmodes/bibtex.el (bibtex-end-of-entry, bibtex-url):
17172 * textmodes/flyspell.el (flyspell-mode-on):
17173 * textmodes/page-ext.el (set-page-delimiter, pages-directory)
17174 (pages-directory-for-addresses):
17175 * textmodes/table.el (table-recognize-cell)
17176 (table-query-dimension, table-generate-source)
17177 (table-insert-sequence, table--warn-incompatibility):
17178 * textmodes/tex-mode.el (tex-validate-buffer):
17179 * textmodes/texinfmt.el (texinfmt-version)
17180 (texinfo-format-buffer):
17181 Use `called-interactively-p' instead of `interactive-p'.
17183 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
17185 * image-mode.el (image-toggle-display):
17186 * emacs-lisp/elp.el (elp-instrument-function):
17187 * emacs-lisp/advice.el (ad-make-advised-definition):
17188 * emacs-lisp/easy-mmode.el (define-minor-mode):
17189 * net/browse-url.el (browse-url-maybe-new-window):
17190 * progmodes/sh-script.el (sh-learn-buffer-indent):
17191 Pass new argument 'any to `called-interactively-p'.
17193 2009-10-01 Juanma Barranquero <lekktu@gmail.com>
17195 * international/uni-bidi.el:
17196 * international/uni-category.el:
17197 * international/uni-combining.el:
17198 * international/uni-comment.el:
17199 * international/uni-decimal.el:
17200 * international/uni-decomposition.el:
17201 * international/uni-digit.el:
17202 * international/uni-lowercase.el:
17203 * international/uni-mirrored.el:
17204 * international/uni-name.el:
17205 * international/uni-numeric.el:
17206 * international/uni-old-name.el:
17207 * international/uni-titlecase.el:
17208 * international/uni-uppercase.el:
17209 Regenerate from Unicode 5.2.0 data.
17211 2009-10-01 Glenn Morris <rgm@gnu.org>
17213 * Makefile.in (ELCFILES): Regenerate.
17215 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
17217 * subr.el (interactive-p): Mark obsolete.
17218 (called-interactively-p): Make the optional-ness of `kind' obsolete.
17219 * emacs-lisp/bytecomp.el (byte-compile-fdefinition): Make it obey
17220 advertised-signature-table for subroutines as well.
17222 * emacs-lisp/byte-run.el (advertised-signature-table): New var.
17223 (set-advertised-calling-convention): New function.
17224 (make-obsolete, define-obsolete-function-alias)
17225 (make-obsolete-variable, define-obsolete-variable-alias):
17226 Make the optional-ness of `when' obsolete.
17227 (define-obsolete-face-alias): Make `when' non-optional.
17228 * help-fns.el (help-function-arglist):
17229 * emacs-lisp/bytecomp.el (byte-compile-fdefinition):
17230 Use advertised-signature-table.
17232 2009-10-01 Michael Albinus <michael.albinus@gmx.de>
17234 * files.el (delete-directory): New defun. The original function
17235 in fileio.c has been renamed to `delete-directory-internal'.
17237 * dired.el (dired-delete-file): Call `delete-directory' with
17238 RECURSIVE parameter.
17240 * net/ange-ftp.el (ange-ftp-delete-directory): Add optional
17241 parameter RECURSIVE. Implementation is missing.
17243 * net/tramp.el (tramp-handle-make-directory): Flush upper
17244 directory's file properties.
17245 (tramp-handle-delete-directory): Handle optional parameter RECURSIVE.
17246 (tramp-handle-dired-recursive-delete-directory): Flush directory
17247 properties after the remove command only.
17249 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
17250 Handle optional parameter RECURSIVE.
17252 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
17253 Handle optional parameter RECURSIVE.
17255 * net/tramp-smb.el (tramp-smb-errors): Add error message for
17256 connection timeout.
17257 (tramp-smb-handle-delete-directory): Handle optional parameter
17260 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
17262 * emacs-lisp/bytecomp.el (byte-compile-defmacro-declaration): New fun.
17263 (byte-compile-file-form-defmumble, byte-compile-defmacro): Use it.
17264 (byte-compile-defmacro): Use backquotes.
17266 * files.el (cd-absolute): Don't abbreviate-file-name (bug#4599).
17268 * vc-dispatcher.el (vc-resynch-window): Don't revert a buffer which
17269 has no associated file.
17270 (vc-resynch-buffer): Use vc-dir-buffers.
17272 2009-10-01 Glenn Morris <rgm@gnu.org>
17274 * emacs-lisp/chart.el (chart-zap-chars, chart-bar-quickie)
17275 (chart-file-count):
17276 * emacs-lisp/eieio-comp.el (byte-compile-defmethod-param-convert):
17277 * emacs-lisp/eieio-datadebug.el (data-debug-insert-object-button):
17278 * emacs-lisp/eieio-opt.el (eieio-describe-class):
17279 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-create):
17280 * emacs-lisp/eieio.el (defclass, eieio-defclass-autoload)
17281 (eieio-copy-parents-into-subclass, make-instance, class-children)
17282 (eieio-generic-form):
17284 * vc-cvs.el (vc-cvs-parse-entry): Be more careful with the
17285 match-data. (Bug#4555).
17287 * emacs-lisp/check-declare.el (check-declare-scan): Read the declaration
17288 rather than parsing it as a regexp. This relaxes the layout
17289 requirements and makes errors easier to detect.
17290 (check-declare-verify): Check file is regular.
17291 (check-declare-directory): Doc fix.
17292 * subr.el (declare-function): Doc fix.
17294 * ibuffer.el (ibuffer-format-qualifier):
17295 * isearch.el (hi-lock-regexp-okay):
17296 * calc/calc.el (math-zerop):
17297 * mail/uce.el (rmail-msgbeg, rmail-msgend):
17298 * term/w32-win.el (setup-default-fontset, set-fontset-font):
17299 Remove unused declarations.
17301 2009-09-30 Eric Ludlam <zappo@gnu.org>
17303 * emacs-lisp/eieio.el (boolean-p): Delete.
17305 2009-09-30 Glenn Morris <rgm@gnu.org>
17307 * emacs-lisp/authors.el (authors-ignored-files): Add "js2-mode.el".
17309 * emacs-lisp/elint.el (elint-init-form): Report declarations where the
17310 filename is not a string.
17312 2009-09-29 Chong Yidong <cyd@stupidchicken.com>
17314 * files.el (safe-local-eval-forms): Fix typo.
17316 2009-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
17318 * vc-hooks.el (vc-dir-buffers): New var.
17319 (vc-state-refresh): New function.
17320 (vc-state): Use it.
17321 (vc-after-save): Always ask the backend to recompute the new state.
17322 Always call vc-dir if necessary, using vc-dir-buffers.
17323 * vc-dir.el (vc-dir-prepare-status-buffer, vc-dir-resynch-file):
17324 Use vc-dir-buffers.
17325 (vc-dir-mode): Use vc-dir-buffers rather than after-save-hook.
17326 (vc-dir-prepare-status-buffer, vc-dir-update)
17327 (vc-dir-resync-directory-files, vc-dir-resynch-file, vc-dir-mode):
17328 Don't call expand-file-name on default-directory.
17330 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
17332 * speedbar.el (speedbar-item-delete):
17333 * calc/calc-prog.el (calc-kbd-if):
17334 * language/hanja-util.el (hanja-init-load): Fix typos in messages.
17336 * epa.el (epa-key-list-mode-map):
17337 * hi-lock.el (hi-lock-menu): Fix typos in menus.
17339 * progmodes/hideshow.el (hs-allow-nesting): Reflow docstring.
17340 (hs-show-hook): Fix typo in docstring.
17342 2009-09-29 Glenn Morris <rgm@gnu.org>
17344 * emacs-lisp/check-declare.el (check-declare-locate): Remove pointless
17345 file-name-nondirectory call preventing location of cedet files.
17346 (check-declare-verify): Use literal search rather than re-search.
17347 Add basic defmethod and defclass, and define-overloadable-function.
17349 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
17350 Use tramp-compat-file-attributes rather than nonexistent
17351 tramp-compat-handle-file-attributes.
17353 * Makefile.in (lisptagsfiles4): New.
17354 (AUTOGENEL): Add cedet loaddefs files.
17355 (TAGS, TAGS-LISP): Use $lisptagsfiles4.
17356 (update-elclist, compile-always, backup-compiled-files)
17357 (bootstrap-clean): Add yet another directory level.
17358 (update-elclist): Use LC_COLLATE rather than COLLATE.
17359 (ELCFILES): Update, via `make update-elclist'.
17361 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
17363 * makefile.w32-in (WINS_CEDET, WINS_BASIC, WINS_SUBDIR): New macros.
17364 (WINS_ALMOST): Set from WINS_BASIC and WINS_CEDET.
17365 (update-subdirs-CMD): Use WINS_SUBDIR, not WINS_ALMOST.
17367 2009-09-28 Andreas Schwab <schwab@linux-m68k.org>
17369 * Makefile.in (lisptagsfiles3): Define.
17370 (TAGS, TAGS-LISP): Use it.
17371 (update-elclist): Add third directory level to look for elc files.
17372 (compile-always): Likewise.
17373 (backup-compiled-files): Likewise.
17374 (bootstrap-clean): Likewise.
17375 (ELCFILES): Update.
17377 2009-09-28 Chong Yidong <cyd@stupidchicken.com>
17379 * Makefile.in (ELCFILES): Add CEDET files.
17381 2009-09-28 Michael Albinus <michael.albinus@gmx.de>
17383 * Makefile.in (ELCFILES): Add net/tramp-imap.elc.
17385 * net/tramp.el (top): Require tramp-imap.
17387 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
17388 Use `tramp-compat-handle-file-attributes'.
17390 2009-09-28 Teodor Zlatanov <tzz@lifelogs.com>
17392 * net/tramp-imap.el: New package.
17394 2009-09-28 Eric Ludlam <zappo@gnu.org>
17396 * emacs-lisp/chart.el:
17397 * emacs-lisp/eieio-base.el:
17398 * emacs-lisp/eieio-comp.el:
17399 * emacs-lisp/eieio-custom.el:
17400 * emacs-lisp/eieio-datadebug.el:
17401 * emacs-lisp/eieio-opt.el:
17402 * emacs-lisp/eieio-speedbar.el:
17403 * emacs-lisp/eieio.el: New files.
17405 2009-09-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
17407 * whitespace.el (whitespace-trailing-regexp)
17408 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
17411 2009-09-27 Chong Yidong <cyd@stupidchicken.com>
17413 * menu-bar.el: Remove menu-bar-ediff-misc-menu from the Tools
17416 * ediff-hook.el: Move menu-bar-ediff-misc-menu into
17417 menu-bar-ediff-menu.
17419 * emacs-lisp/lisp-mode.el: Add doc-string-elt property to
17420 define-overloadable-function.
17422 * progmodes/autoconf.el: Provide autoconf as well, so that this
17423 file can be `require'd.
17425 * emacs-lisp/cl-macs.el (deftype): Add to cl-loaddefs.
17427 * emacs-lisp/autoload.el (generated-autoload-feature)
17428 (generated-autoload-load-name): New vars.
17429 (autoload-rubric, autoload-generate-file-autoloads): Use them.
17430 (make-autoload): Recognize define-overloadable-function and
17431 defclass forms (for EIEIO).
17433 * Makefile.in (update-subdirs): Exclude cedet directory.
17435 2009-09-27 Adrian Robert <Adrian.B.Robert@gmail.com>
17437 * term/ns-win.el: Don't set the region face background. (Bug#4381)
17439 * faces.el: Default light-background background for region face to
17440 ns_selection_color under NS.
17442 2009-09-27 Teodor Zlatanov <tzz@lifelogs.com>
17444 * net/imap-hash.el: New library, see NEWS.
17446 * Makefile.in (ELCFILES): Add imap-hash.el.
17448 2009-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
17450 * help.el (help-for-help-internal): Don't purecopy the text (bug#4560).
17451 * isearch.el (isearch-help-for-help-internal): Purecopy the second arg.
17452 * help-macro.el (make-help-screen): Avoid using an ambiguous function
17453 definition where the docstring could be taken for the return value.
17455 2009-09-26 Glenn Morris <rgm@gnu.org>
17457 * mail/rmailmm.el (rmail-mime-show-images, rmail-mime-bulk-handler):
17458 Add option to only show images below a certain size.
17459 (rmail-mime-multipart-handler): Remove unnecessary save-match-data and
17460 save-excursion calls.
17462 2009-09-26 Eli Zaretskii <eliz@gnu.org>
17464 * makefile.w32-in (WINS_ALMOST): Add cedet (with its
17465 subdirectories) and eieio.
17467 2009-09-26 Alan Mackenzie <acm@muc.de>
17469 * progmodes/cc-engine.el (c-beginning-of-statement-1):
17470 Correct buggy bracketing. (Bug#4289)
17472 * progmodes/cc-langs.el (c-nonlabel-token-key): Allow quoted
17473 character constants (as case labels). (Bug#4289)
17475 2009-09-25 Juri Linkov <juri@jurta.org>
17477 * files.el (safe-local-eval-forms): Allow time-stamp in
17478 before-save-hook (Bug#4554).
17480 2009-09-25 Drew Adams <drew.adams@oracle.com>
17482 * menu-bar.el (list-buffers-directory): Doc fix.
17484 2009-09-25 Stefan Monnier <monnier@iro.umontreal.ca>
17486 * log-edit.el (log-edit-changelog-entries): Avoid inf-loops.
17487 Try and avoid copying twice the same paragraph.
17488 (log-edit-changelog-paragraph, log-edit-changelog-subparagraph):
17489 Remove save-excursion.
17490 (log-edit-changelog-entry): Do it here instead.
17492 2009-09-25 Juanma Barranquero <lekktu@gmail.com>
17494 * bs.el (bs--get-file-name): Use `list-buffers-directory'
17495 when available, instead of hardcoding mode names. Doc fix.
17497 * menu-bar.el (list-buffers-directory): Add docstring.
17498 Make automatically buffer-local.
17500 * dired.el (dired-mode):
17501 * files.el (cd-absolute):
17502 * pcvs.el (cvs-temp-buffer):
17503 * pcvs-util.el (cvs-get-buffer-create):
17504 * shell.el (shell-mode):
17505 * vc-dir.el (vc-dir-mode):
17506 Don't make `list-buffers-directory' buffer local.
17508 2009-09-25 Devon Sean McCullough <emacs-hacker@Jovi.Net>
17510 * comint.el (comint-exec, comint-run, make-comint):
17511 Doc fixes (Bug#4542).
17513 2009-09-25 Glenn Morris <rgm@gnu.org>
17515 * mail/rmailmm.el (rmail-mime): New custom group.
17516 Move all defcustoms in this file into this group.
17517 (rmail-mime-media-type-handlers-alist): Revert previous change.
17518 (rmail-mime-show-images): New option.
17519 (rmail-mime-total-number-of-bulk-attachments): Remove variable and all
17520 references to it, since it wasn't actually used for anything.
17521 (rmail-mime-insert-image): New function.
17522 (rmail-mime-image): Use rmail-mime-insert-image.
17523 (rmail-mime-bulk-handler): Remove optional `image' argument, instead
17524 obey the value of `rmail-mime-show-images' option. Print the size of
17527 2009-09-25 David Engster <deng@randomsample.de>
17529 * progmodes/hideshow.el (hs-show-block): Run `hs-show-hook'. (Bug#4548)
17531 2009-09-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
17533 * whitespace.el: Does not highlight trailing spaces While point is
17534 at end of line. Does not highligt spaces at beginning of buffer
17535 while point is at beginning of buffer. Does not highlight spaces
17536 at end of buffer while point is at end of buffer. (Bug#4177)
17538 (whitespace-display-mappings): Adjust initialization.
17539 (whitespace-point, whitespace-font-lock-refontify): New vars.
17540 (whitespace-color-on, whitespace-color-off): Adjust code.
17541 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
17542 (whitespace-empty-at-eob-regexp, whitespace-space-regexp)
17543 (whitespace-tab-regexp, whitespace-post-command-hook): New funs.
17545 2009-09-24 Chong Yidong <cyd@stupidchicken.com>
17547 * nxml/nxml-mode.el: Alias xml-mode to nxml-mode.
17549 * textmodes/sgml-mode.el: Remove xml-mode alias.
17551 * files.el (auto-mode-alist, conf-mode-maybe)
17552 (magic-fallback-mode-alist): Revert 2009-09-18 and 2009-09-21 changes.
17554 2009-09-24 Alan Mackenzie <acm@muc.de>
17556 * progmodes/cc-cmds.el (c-scan-conditionals): A new function like
17557 c-forward-conditionals, but it doesn't move point and doesn't set
17559 (c-up-conditional, c-up-conditional-with-else, c-down-conditional)
17560 (c-down-conditional-with-else, c-backward-conditional)
17561 (c-forward-conditional): Refactor to use c-scan-conditionals.
17563 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
17565 * help-fns.el (help-downcase-arguments): New option, defaulting to nil.
17566 (help-default-arg-highlight): Remove.
17567 (help-highlight-arg): New function.
17568 (help-do-arg-highlight): Use it.
17569 Suggested by Drew Adams <drew.adams@oracle.com>. (Bug#4510, bug#4520)
17571 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
17573 * term.el (term-set-scroll-region, term-handle-ansi-escape):
17574 Undo last change, which didn't fix the problem and introduced others.
17576 2009-09-24 Nick Roberts <nickrob@snap.net.nz>
17578 * progmodes/gdb-mi.el: Don't require speedbar.
17579 (gdb-jsonify-buffer): Handle case where "=" is part of value string.
17581 2009-09-24 Glenn Morris <rgm@gnu.org>
17583 * calendar/diary-lib.el (diary-fancy-display): Always run the hook.
17585 * term/ns-win.el (ns-reg-to-script): Define for compiler.
17587 * mail/rmailmm.el (rmail-mime-multipart-handler): Accept the case where
17588 there is no newline after the final mime boundary. (Bug#4539)
17589 Move markers on insertion so that any buttons inserted don't end up in
17590 the next part of a multipart message.
17591 (rmail-mime-media-type-handlers-alist): Doc fix. Add image handler.
17592 (rmail-mime-bulk-handler): Optionally handle images.
17593 (rmail-mime-image): New button action.
17594 (rmail-mime-image-handler): New function.
17595 (rmail-mime-mode): New mode.
17596 (rmail-mime): Doc fix. Use rmail-mime-mode (for font-lock).
17598 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
17600 * minibuffer.el (minibuffer-force-complete): Cycle the list, rather
17601 than just dropping elements from it (bug#4504).
17603 * term.el (term-set-scroll-region): Don't move cursor any more.
17604 (term-handle-ansi-escape): Call term-goto here instead.
17605 Suggested by Ivan Kanis <apple@kanis.eu>.
17607 * term.el: Require CL.
17608 (term-ansi-reset): New function.
17609 (term-mode, term-emulate-terminal, term-handle-colors-array): Use it.
17610 (term-handle-colors-array): Simplify.
17612 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
17614 * allout.el (allout-overlay-interior-modification-handler)
17615 (allout-obtain-passphrase):
17616 * epa-file.el (epa-file-write-region):
17617 * ps-print.el (ps-begin-job):
17618 * vc-hooks.el (vc-toggle-read-only):
17619 * vc-rcs.el (vc-rcs-rollback):
17620 * vc-sccs.el (vc-sccs-rollback):
17621 * vc.el (vc-deduce-fileset, vc-next-action, vc-register-with)
17622 (vc-version-diff, vc-revert, vc-rollback):
17623 * wdired.el (wdired-check-kill-buffer):
17624 * emacs-lisp/authors.el (authors):
17625 * net/socks.el (socks-open-connection):
17626 * net/zeroconf.el (zeroconf-service-add-hook):
17627 * obsolete/vc-mcvs.el (vc-mcvs-register):
17628 * progmodes/gdb-mi.el (def-gdb-thread-buffer-gud-command)
17629 (gdb-select-frame):
17630 * progmodes/grep.el (lgrep, rgrep):
17631 * progmodes/idlw-help.el (idlwave-help-check-locations)
17632 (idlwave-help-html-link, idlwave-help-assistant-open-link):
17633 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
17634 * textmodes/reftex-toc.el (reftex-toc-promote-prepare)
17635 (reftex-toc-rename-label): Fix typos in error messages.
17637 * dired-aux.el (dired-do-shell-command): Reflow docstring.
17638 (dired-copy-how-to-fn): Doc fix.
17639 (dired-files-attributes, dired-read-shell-command):
17640 Fix typos in docstrings.
17642 * dired-x.el (dired-enable-local-variables, dired-filename-at-point)
17643 (dired-x-find-file-other-window): Reflow docstrings.
17644 (dired-omit-marker-char, dired-read-shell-command)
17645 (dired-x-submit-report): Fix typos in docstrings.
17647 * shell.el (shell-mode-hook):
17648 * view.el (View-scroll-line-forward):
17649 * progmodes/inf-lisp.el (inferior-lisp-mode-hook):
17650 Fix typos in docstrings.
17652 * net/dig.el (dig-invoke): Fix typo in docstring.
17653 (query-dig): Reflow docstring.
17655 * progmodes/idlwave.el (idlwave-create-user-catalog-file)
17656 (idlwave-quoted, idlwave-rinfo-max-source-lines): Doc fixes.
17657 (idlwave-abbrev-move, idlwave-auto-routine-info-updates)
17658 (idlwave-begin-block-reg, idlwave-begin-unit-reg)
17659 (idlwave-beginning-of-subprogram, idlwave-block-jump-out)
17660 (idlwave-block-match-regexp, idlwave-calculate-paren-indent)
17661 (idlwave-check-abbrev, idlwave-class-file-or-buffer)
17662 (idlwave-class-found-in, idlwave-complete, idlwave-complete-in-buffer)
17663 (idlwave-completion-map, idlwave-current-indent)
17664 (idlwave-custom-ampersand-surround, idlwave-customize)
17665 (idlwave-default-font-lock-items, idlwave-default-insert-timestamp)
17666 (idlwave-define-abbrev, idlwave-determine-class-special)
17667 (idlwave-do-action, idlwave-doc-header, idlwave-doc-modification)
17668 (idlwave-end-block-reg, idlwave-end-of-statement)
17669 (idlwave-end-of-statement0, idlwave-end-of-subprogram)
17670 (idlwave-end-unit-reg, idlwave-entry-find-keyword)
17671 (idlwave-explicit-class-listed, idlwave-file-header)
17672 (idlwave-fill-paragraph, idlwave-find-class-definition)
17673 (idlwave-fix-keywords, idlwave-hang-indent-regexp, idlwave-hard-tab)
17674 (idlwave-idlwave_routine_info-compiled, idlwave-in-comment)
17675 (idlwave-in-quote, idlwave-indent-action-table)
17676 (idlwave-indent-expand-table, idlwave-indent-line)
17677 (idlwave-indent-subprogram, idlwave-indent-to-open-paren)
17678 (idlwave-is-comment-line, idlwave-is-comment-or-empty-line)
17679 (idlwave-is-continuation-line, idlwave-is-pointer-dereference)
17680 (idlwave-kill-autoloaded-buffers, idlwave-lib-p, idlwave-look-at)
17681 (idlwave-make-tags, idlwave-mode, idlwave-mode-abbrev-table)
17682 (idlwave-mouse-active-rinfo, idlwave-newline, idlwave-no-change-comment)
17683 (idlwave-outlawed-buffers, idlwave-popup-select)
17684 (idlwave-previous-statement, idlwave-rescan-catalog-directories)
17685 (idlwave-routine-entry-compare, idlwave-routine-info.pro)
17686 (idlwave-scan-all-buffers-for-routine-info, idlwave-scan-class-info)
17687 (idlwave-shell-automatic-start, idlwave-shell-explicit-file-name)
17688 (idlwave-show-begin, idlwave-split-line, idlwave-split-link-target)
17689 (idlwave-statement-type, idlwave-struct-skip)
17690 (idlwave-substitute-link-target, idlwave-toggle-comment-region)
17691 (idlwave-update-current-buffer-info, idlwave-use-library-catalogs)
17692 (idlwave-what-module-find-class): Fix typos in docstrings.
17693 (idlwave-all-method-classes, idlwave-calc-hanging-indent)
17694 (idlwave-calculate-cont-indent, idlwave-expand-equal)
17695 (idlwave-find-module, idlwave-find-structure-definition)
17696 (idlwave-init-rinfo-when-idle-after, idlwave-insert-source-location)
17697 (idlwave-list-load-path-shadows, idlwave-next-statement)
17698 (idlwave-routine-entry-compare-twins, idlwave-routine-info)
17699 (idlwave-routines, idlwave-sintern-rinfo-list, idlwave-statement-match)
17700 (idlwave-template): Reflow docstrings.
17702 * progmodes/idlw-shell.el (idlwave-shell-syntax-error): Doc fix.
17703 (idlwave-shell-batch-command, idlwave-shell-bp-alist)
17704 (idlwave-shell-bp-get, idlwave-shell-bp-overlays)
17705 (idlwave-shell-bp-query, idlwave-shell-break-here, idlwave-shell-buffer)
17706 (idlwave-shell-display-line, idlwave-shell-display-wframe)
17707 (idlwave-shell-electric-debug-mode, idlwave-shell-examine-select)
17708 (idlwave-shell-file-name-chars, idlwave-shell-filter-bp)
17709 (idlwave-shell-goto-frame, idlwave-shell-halt-messages-re)
17710 (idlwave-shell-highlighting-and-faces, idlwave-shell-idl-wframe)
17711 (idlwave-shell-mode-hook, idlwave-shell-mode-line-info)
17712 (idlwave-shell-mode-map, idlwave-shell-module-source-filter)
17713 (idlwave-shell-mouse-help, idlwave-shell-mouse-print)
17714 (idlwave-shell-pc-frame, idlwave-shell-pending-commands)
17715 (idlwave-shell-print, idlwave-shell-quit, idlwave-shell-redisplay)
17716 (idlwave-shell-scan-for-state, idlwave-shell-send-command)
17717 (idlwave-shell-sentinel-hook, idlwave-shell-separate-examine-output)
17718 (idlwave-shell-shell-command, idlwave-shell-sources-alist)
17719 (idlwave-shell-sources-bp, idlwave-shell-sources-filter)
17720 (idlwave-shell-step, idlwave-shell-use-breakpoint-glyph)
17721 (idlwave-toolbar-add-everywhere, idlwave-toolbar-toggle):
17722 Fix typos in docstrings.
17723 (idlwave-shell-bp, idlwave-shell-clear-current-bp)
17724 (idlwave-shell-hide-output, idlwave-shell-mode)
17725 (idlwave-shell-run-region, idlwave-shell-set-bp-in-module):
17728 * textmodes/bibtex.el (bibtex-sort-entry-class): Fix group name.
17730 2009-09-24 Ivan Kanis <apple@kanis.eu>
17732 * term.el (term-bold-attribute): New var.
17733 (term-handle-colors-array): Use it.
17735 2009-09-23 Nick Roberts <nickrob@snap.net.nz>
17737 * progmodes/gdb-mi.el (gdb-version): New variable.
17738 (gdb-non-stop-handler): Set gdb-version.
17739 (gdb-gud-context-command, gdb-current-context-command, gdb-stopped):
17740 Condition "--thread" option on gdb-version.
17741 (gdb-invalidate-threads): Remove unused argument.
17743 2009-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
17745 * textmodes/flyspell.el (sgml-mode-flyspell-verify): Pass limit args
17746 to looking-back to avoid ridiculous slow down in large files (bug#4511).
17748 2009-09-23 Glenn Morris <rgm@gnu.org>
17750 * mail/rmail.el (rmail-reply): Don't try to add a References header when
17751 replying to mail without References or Message-Id. (Bug#4525)
17753 2009-09-23 Adrian Robert <Adrian.B.Robert@gmail.com>
17755 * term/ns-win.el (ns-reg-to-script): New variable.
17757 2009-09-23 Daiki Ueno <ueno@unixuser.org>
17759 * epg.el (epg-wait-for-status): Preserve existing 'error results.
17761 2009-09-22 Sam Steingold <sds@gnu.org>
17763 * vc-hg.el (vc-hg-print-log): Fix shortlog arg passing.
17764 (vc-hg-outgoing, vc-hg-incoming): Bump okstatus in `vc-hg-command'
17765 to 1 because hg returns status 1 when nothing is found.
17766 Bind `vc-short-log' for the sake of `vc-hg-log-view-mode'.
17768 2009-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
17770 * textmodes/fill.el: Convert to utf-8 encoding.
17771 (fill-french-nobreak-p): Remove redundant » and « inherited from our
17774 * add-log.el (change-log-fill-forward-paragraph): New function.
17775 (change-log-mode): Use it so fill-region DTRT.
17776 Set fill-indent-according-to-mode here rather than in
17777 change-log-fill-paragraph.
17778 (change-log-fill-paragraph): Remove.
17780 2009-09-22 Juanma Barranquero <lekktu@gmail.com>
17782 * info.el (Info-try-follow-nearest-node): Use the URL extracted by
17783 `Info-get-token', instead of `browse-url-url-at-point'. (Bug#4508)
17785 2009-09-22 Glenn Morris <rgm@gnu.org>
17787 * calendar/calendar.el (calendar-mode-map): Make mouse-1 and 3 clicks on
17788 the scroll-bar scroll the calendar window rather than the buffer.
17790 * calendar/cal-menu.el (cal-menu-scroll-menu): Add a sub-section with
17791 commands that move point (as opposed to scrolling).
17793 * emulation/tpu-edt.el (tpu-copy-keyfile): Fix condition-case handler.
17795 * emacs-lisp/elint.el (elint): New custom group.
17796 (elint-log-buffer): Make it a defcustom.
17797 (elint-scan-preloaded, elint-ignored-warnings)
17798 (elint-directory-skip-re): New options.
17799 (elint-builtin-variables): Doc fix.
17800 (elint-preloaded-env): New variable.
17801 (elint-unknown-builtin-args): Add an entry for encode-time.
17802 (elint-extra-errors): Make it a variable rather than a constant.
17803 (elint-preloaded-skip-re): New constant.
17804 (elint-directory): Skip files matching elint-directory-skip-re.
17805 (elint-features): New variable, local to linted buffers.
17806 (elint-update-env): Initialize elint-features. Possibly add
17807 elint-preloaded-env to the buffer's environment.
17808 (elint-get-top-forms): Bind elint-current-pos, for log messages.
17810 (elint-init-form): New function, extracted from elint-init-env.
17811 Make non-list forms a warning rather than an error.
17812 Add the mode-map for define-derived-mode. Handle define-minor-mode,
17813 easy-menu-define, put that adds an error-condition, and provide.
17814 When requiring cl, also require cl-macs. Really require cl, to handle
17815 some cl macros. Store required libraries in the list elint-features,
17816 so as not to re-load them. Treat cc-require like require.
17817 (elint-init-env): Call elint-init-form to do the work.
17818 Handle eval-and-compile and such like.
17819 (elint-add-required-env): Do not clear messages.
17820 (elint-special-forms): Add handlers for function, defalias, if, when,
17822 (elint-form): Add optional argument to ignore elint-special-forms,
17823 useful to prevent recursive calls from handlers. Doc fix.
17824 Respect elint-ignored-warnings.
17825 (elint-form): Respect elint-ignored-warnings.
17826 (elint-bound-variable, elint-bound-function): New variables.
17827 (elint-unbound-variable): Respect elint-bound-variable.
17828 (elint-get-args): Respect elint-bound-function.
17829 (elint-check-cond-form): Add some simple handling for (f)boundp and
17831 (elint-check-defalias-form): New handler.
17832 (elint-check-let-form): Make an empty let a warning rather than an
17834 (elint-check-setq-form): Make an empty setq a warning rather than an
17835 error. Respect elint-ignored-warnings.
17836 (elint-check-defvar-form): Accept null doc-strings.
17837 (elint-check-conditional-form): New handler. Does some simple-minded
17838 checking of featurep and (f)boundp tests.
17839 (elint-put-function-args): New function.
17840 (elint-initialize): Use elint-scan-doc-file rather than
17841 elint-find-builtin-variables. Use elint-put-function-args.
17842 Possibly scan preloaded-file-list.
17843 (elint-scan-doc-file): Rename from elint-find-builtin-variables and
17844 extend to handle functions as well.
17846 2009-09-22 Lennart Borgman <lennart.borgman@gmail.com>
17848 * linum.el (linum-delete-overlays, linum-update-window):
17849 Do not modify the right margin. (Bug#3971)
17851 2009-09-21 Chong Yidong <cyd@stupidchicken.com>
17853 * files.el (conf-mode-maybe, magic-fallback-mode-alist):
17854 Use nxml-mode instead of xml-mode.
17856 2009-09-21 Kevin Ryde <user42@zip.com.au>
17858 * net/dig.el: Add "Keywords: comm", as per net-utils.el. (Bug#4501)
17860 2009-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
17862 * net/dig.el (dig-mode): Use define-derived-mode.
17864 2009-09-20 Dan Nicolaescu <dann@ics.uci.edu>
17866 * vc-dispatcher.el (vc-do-command): Return the process object in
17867 the asynchronous case. Use when instead of if. Do not run
17868 vc-exec-after to display a message if not enabled. (Bug#4463)
17870 * vc-git.el (vc-git-dir-extra-headers): Add keymap and mouse-face
17871 properties to the stash strings.
17872 (vc-git-stash-list): Return a list of strings.
17873 (vc-git-stash-get-at-point, vc-git-stash-delete-at-point)
17874 (vc-git-stash-show-at-point): New functions.
17875 (vc-git-stash-map): New keymap.
17877 * register.el (ctl-x-r-map): Define the keys here instead of
17880 2009-09-20 Thierry Volpiatto <thierry.volpiatto@gmail.com> (tiny change)
17882 * bookmark.el (bookmark-write-file): Avoid calling `pp' with large
17883 list, to workaround performance problem (bug#4485).
17885 2009-09-20 Nick Roberts <nickrob@snap.net.nz>
17887 * progmodes/gud.el (gud-sentinel): Revert indavertant change.
17889 2009-09-20 Daiki Ueno <ueno@unixuser.org>
17891 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
17892 Document that this option is not recommended to use.
17894 2009-09-19 Glenn Morris <rgm@gnu.org>
17896 * calc/calc-graph.el (calc-graph-lookup): Avoid assignment to free
17899 * calc/calc-alg.el (var):
17900 * calc/calcalg2.el (var): Define for compiler.
17902 2009-09-19 Chong Yidong <cyd@stupidchicken.com>
17904 * emacs-lisp/advice.el (ad-get-argument, ad-set-argument):
17905 Doc fix (Bug#3932).
17907 * subr.el (baud-rate): Remove long-obsolete function (Bug#4372).
17909 * time-stamp.el (time-stamp-month-dd-yyyy)
17910 (time-stamp-dd/mm/yyyy, time-stamp-mon-dd-yyyy)
17911 (time-stamp-dd-mon-yy, time-stamp-yy/mm/dd)
17912 (time-stamp-yyyy/mm/dd, time-stamp-yyyy-mm-dd)
17913 (time-stamp-yymmdd, time-stamp-hh:mm:ss, time-stamp-hhmm):
17914 Remove functions that have been obsolete since 1995 (Bug#4436).
17916 * progmodes/sh-script.el (sh-learn-buffer-indent): Pop to the
17917 indent buffer only if called interactively (Bug#4452).
17919 2009-09-19 Juanma Barranquero <lekktu@gmail.com>
17920 Eli Zaretskii <eliz@gnu.org>
17922 This fixes bug#4197 (merged to bug#865, though not identical).
17923 * server.el (server-auth-dir): Add docstring note about FAT32.
17924 (server-ensure-safe-dir): Accept FAT32 directories as "safe",
17925 but warn against using them.
17927 2009-09-19 Nick Roberts <nickrob@snap.net.nz>
17929 * progmodes/gdb-mi.el (gdb-var-update-handler-1): Include case of
17930 older GDB where there is no has_more field.
17932 2009-09-19 Glenn Morris <rgm@gnu.org>
17934 * pgg-pgp.el (pgg-pgp-encrypt-region): Add missing mapconcat separator.
17936 2009-09-18 Chong Yidong <cyd@stupidchicken.com>
17938 * files.el (auto-mode-alist): Change default for XML files to nXML
17941 2009-09-18 Juanma Barranquero <lekktu@gmail.com>
17943 * server.el (server-ensure-safe-dir): Pass 'integer
17944 to `file-attributes', as suggested.
17946 2009-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
17948 * dired-aux.el (dired-query-alist): Remove spurious backslash.
17949 (dired-query): Use read-key.
17951 2009-09-18 Adrian Robert <Adrian.B.Robert@gmail.com>
17953 * cus-start.el (ns-use-qd-smoothing): Remove.
17955 2009-09-18 Glenn Morris <rgm@gnu.org>
17957 * allout.el (top-level): Remove unnecessary progn.
17959 * progmodes/js.el (js-end-of-defun): Remove malformed and unneeded let.
17961 * emacs-lisp/derived.el (define-derived-mode): Fix paren typo in
17962 definition of abbrev table.
17964 * speedbar.el (speedbar-track-mouse):
17965 * net/eudc-bob.el (eudc-bob-pipe-object-to-external-program):
17966 * net/eudc.el (eudc-expand-inline):
17967 * net/newst-backend.el (newsticker--cache-read-feed):
17968 * nxml/nxml-outln.el (nxml-end-of-heading): Fix typos in
17969 condition-case handlers.
17971 2009-09-18 Nick Roberts <nickrob@snap.net.nz>
17973 * progmodes/gdb-mi.el (gdb-frame-address): New variable.
17974 (gdb-var-list): Add an element for has_more field.
17975 (gdb-non-stop-handler): Enable pretty printing for STL containers.
17976 (gdb-var-create-handler, gdb-var-list-children-handler-1)
17977 (gdb-var-update-handler-1): Parse output of dynamic variable
17978 objects (STL containers).
17979 (gdb-var-delete-1): Pass var1 as an explicit second argument.
17980 (gdb-get-field): Delete alias. Use bindat-get-field directly.
17982 * progmodes/gud.el (gud-speedbar-item-info): Adjust for change to
17984 (gud-speedbar-buttons): Make node expandable if expression "has more"
17987 2009-09-17 Juanma Barranquero <lekktu@gmail.com>
17989 * startup.el (emacs-quick-startup): Remove variable and all uses.
17990 (command-line): Set `inhibit-x-resources' instead.
17991 (command-line-1): Use `inhibit-x-resources' instead.
17993 2009-09-17 Chong Yidong <cyd@stupidchicken.com>
17995 * subr.el: Fix last change to avoid using the `unless' macro,
17996 which breaks bootstrapping.
17998 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
18000 * subr.el (push, pop, dolist, dotimes, declare): Don't overwrite CL's
18001 extended definitions, in case we reload subr.el after having
18003 (eval-next-after-load): Mark as obsolete.
18005 2009-09-17 Juri Linkov <juri@jurta.org>
18007 * menu-bar.el (menu-bar-search-menu, menu-bar-edit-menu)
18008 (menu-bar-options-menu, menu-bar-showhide-fringe-menu)
18009 (menu-bar-showhide-menu, menu-bar-tools-menu)
18010 (menu-bar-describe-menu, menu-bar-help-menu)
18011 (minibuffer-local-completion-map, minibuffer-local-map):
18014 2009-09-17 Glenn Morris <rgm@gnu.org>
18016 * emacs-lisp/bytecomp.el (byte-compile-form): Always check the function
18017 arguments, whether or not it has a handler.
18019 * ansi-color.el (ansi-color-get-face-1): Fix typo in handler.
18021 * simple.el (hard-newline): Give it a doc-string.
18023 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
18024 (lisp-mode-syntax-table): Give them doc-strings.
18026 2009-09-17 Dan Nicolaescu <dann@ics.uci.edu>
18028 * menu-bar.el (menu-bar-file-menu, menu-bar-file-menu)
18029 (menu-bar-i-search-menu, menu-bar-edit-menu, menu-bar-custom-menu)
18030 (menu-bar-options-menu, menu-bar-showhide-menu)
18031 (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
18032 (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
18033 (menu-bar-options-menu, menu-bar-line-wrapping-menu)
18034 (menu-bar-options-menu, menu-bar-tools-menu)
18035 (menu-bar-describe-menu, menu-bar-search-documentation-menu)
18036 (menu-bar-help-menu):
18037 (menu-bar-make-mm-toggle, menu-bar-make-toggle): Purecopy the
18040 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu)
18041 (menu-bar-epatch-menu, menu-bar-ediff-misc-menu): Add purecopy
18042 calls for the menu names and :help.
18044 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
18046 * mouse.el (minor-mode-menu-from-indicator): Pay attention
18047 to :minor-mode-function (bug#4455).
18049 2009-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
18051 * startup.el (command-line): Initialize the window-system after
18052 processing the command-line.
18054 * textmodes/page.el (what-page): Make sure we don't inf-loop if
18055 page-delimiter matches the empty string.
18057 2009-09-16 Glenn Morris <rgm@gnu.org>
18059 * emacs-lisp/bytecomp.el (byte-compile-not-obsolete-vars): Rename from
18060 byte-compile-not-obsolete-var. It's a list now.
18061 (byte-compile-not-obsolete-funcs): New variable.
18062 (byte-compile-warn-obsolete): Don't warn about functions if they are in
18063 byte-compile-not-obsolete-funcs.
18064 (byte-compile-variable-ref, byte-compile-defvar): Update for
18065 byte-compile-not-obsolete-vars name-change and list nature.
18066 (byte-compile-maybe-guarded): Suppress warnings about obsolete functions
18067 and variables behind (f)boundp tests.
18068 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Set if bound.
18070 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
18072 * vc-git.el (vc-git-log-view-mode): Undo inadvertent change.
18074 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
18076 * Makefile.in (compile-onefile): Use byte-compile-refresh-preloaded.
18077 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded):
18080 2009-09-15 Stephen Eglen <stephen@gnu.org>
18082 * iswitchb.el (iswitchb-read-buffer): When selecting a match from
18083 the virtual-buffers, use the name of the buffer specified by
18084 find-file-noselect, as the match may be a symlink. (This was a
18085 problem if the target and the symlink had different names.)
18087 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
18089 * custom.el (custom-initialize-default, custom-initialize-set): CSE.
18091 * desktop.el (desktop-path): Check user-emacs-directory.
18093 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): New function.
18095 * loadup.el: Use after-load-functions to GC after loading each file.
18096 Remove the explicit GC calls that used to be sprinkled around.
18098 * subr.el (after-load-functions): New hook.
18099 (do-after-load-evaluation): Run it. Use string-match-p to detect
18100 `obsolete' packages, rather than painfully extracting the relevant
18103 2009-09-15 Glenn Morris <rgm@gnu.org>
18105 * apropos.el (apropos-documentation-check-doc-file): Avoid assignment to
18106 free variable `doc'.
18108 * dired.el (dired-mode-map): Add menu entry for async shell command.
18110 * help-fns.el (find-lisp-object-file-name): When looking for autoloaded
18111 variables, also consider the .elc files, since the .el files are
18112 normally gzipped (subsequent code locates the .el.gz from the .elc).
18114 * calc/calc-prog.el (arglist): Define for compiler.
18116 * calendar/diary-lib.el (diary-display-function): Change the default to
18118 (body): Define for compiler.
18120 * emacs-lisp/bytecomp.el (byte-compile-keep-pending)
18121 (byte-compile-file-form, byte-compile-lambda)
18122 (byte-compile-top-level-body, byte-compile-form)
18123 (byte-compile-variable-ref, byte-compile-setq)
18124 (byte-compile-setq-default, byte-compile-body)
18125 (byte-compile-body-do-effect, byte-compile-and, byte-compile-or)
18126 (batch-byte-compile): Give some more local variables with common names
18127 a "bytecomp-" prefix to avoid masking warnings about free variables.
18129 * startup.el (command-line-1): Give local variables with common names a
18130 distinguishing prefix, so as not to hide free variable warnings during
18133 * mail/rmailmm.el (rmail-mime-save): If file exists, don't try to be
18134 clever and add a suffix to make a unique name, just let the user decide
18135 whether or not to overwrite it. If the input is a directory, write the
18136 default filename to that directory. (Bug#4388)
18137 (rmail-mime-bulk-handler): Ensure the save button's 'directory property
18138 is a filename-as-a-directory.
18140 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
18142 * textmodes/page.el (what-page): Don't move to beginning of line.
18143 See <87tyz5ajte.fsf@x2.delysid.org> in emacs-devel.
18145 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
18147 * vc-git.el (vc-git-dir-extra-headers): Show the remote location.
18149 2009-09-14 Dan Nicolaescu <dann@ics.uci.edu>
18151 * bindings.el (mode-line-mode-menu): Add purecopy calls for :help.
18152 * help.el (help-for-help-internal): Add purecopy calls for text.
18154 * vc.el (top): print-log method now takes an optional SHORTLOG
18155 argument. Add a new method: root.
18156 (vc-root-diff, vc-print-root-log): New functions.
18157 (vc-log-short-style): New variable.
18158 (vc-print-log-internal): Add support for showing short logs.
18160 * vc-hooks.el (vc-prefix-map, vc-menu-map): Add bindings for
18161 vc-print-root-log and vc-print-root-diff.
18163 * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-print-log):
18164 * vc-git.el (vc-git-print-log, vc-git-log-view-mode):
18165 * vc-hg.el (vc-hg-print-log, vc-hg-log-view-mode): Add support for
18168 * vc-cvs.el (vc-cvs-print-log):
18169 * vc-mtn.el (vc-mtn-print-log):
18170 * vc-rcs.el (vc-rcs-print-log):
18171 * vc-sccs.el (vc-sccs-print-log):
18172 * vc-svn.el (vc-svn-print-log): Add an optional argument shortlog
18173 that is ignored for now.
18175 * vc-mtn.el (vc-mtn-annotate-command):
18176 * vc-svn.el (vc-svn-annotate-command): Run asynchronously.
18178 2009-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
18180 * simple.el: Add mapping for backspace/delete/clear/tab/escape/return
18181 to function-key-map, and give them ascii-character property.
18182 * term/x-win.el (x-alternatives-map):
18183 * term/ns-win.el (ns-alternatives-map):
18184 * term/internal.el (msdos-key-remapping-map):
18185 * w32-fns.el (x-alternatives-map): Remove redundant mappings.
18187 2009-09-14 Glenn Morris <rgm@gnu.org>
18189 * emacs-lisp/elint.el (elint-add-required-env): Revert to not using
18190 temp-buffers (2009-09-12).
18192 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
18194 * textmodes/ispell.el (ispell-command-loop): Improve last fix, using
18195 the new read-key function.
18197 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
18199 * term/x-win.el (x-menu-bar-open): Only call accelerate-menu if it
18200 is defined (Bug#4405).
18202 2009-09-13 Vincent Belaïche <vincent.belaiche@gmail.com>
18204 * recentf.el (recentf-cleanup): Use a hash table to find
18205 duplicates (Bug#4407).
18207 2009-09-13 Per Starbäck <per@starback.se> (tiny change)
18209 * textmodes/ispell.el (ispell-command-loop): Convert keys such as
18210 kp-0 to ascii equivalents (Bug#4325).
18212 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
18214 * progmodes/cperl-mode.el (cperl-init-faces): Revert last change.
18216 * eshell/em-hist.el:
18217 * eshell/em-dirs.el (eshell-complete-user-reference):
18218 Declare pcomplete functions and variables to avoid compiler warnings.
18220 2009-09-13 Leo <sdl.web@gmail.com> (tiny change)
18222 * eshell/em-script.el (eshell-login-script, eshell-rc-script):
18223 * eshell/em-dirs.el (eshell-last-dir-ring-file-name):
18224 * eshell/em-alias.el (eshell-aliases-file):
18225 * eshell/em-hist.el (eshell-history-file-name):
18226 Use expand-file-name instead of concat to make file names (Bug#4308).
18228 2009-09-13 Glenn Morris <rgm@gnu.org>
18230 * ediff-merg.el (ediff-do-merge):
18231 * filesets.el (filesets-run-cmd):
18232 * emulation/ws-mode.el (ws-show-markers, ws-move-block, ws-delete-block)
18233 (ws-find-marker-0, ws-find-marker-1, ws-find-marker-2, ws-find-marker-3)
18234 (ws-find-marker-4, ws-find-marker-5, ws-find-marker-6, ws-find-marker-7)
18235 (ws-find-marker-8, ws-find-marker-9, ws-goto-block-begin)
18236 (ws-goto-block-end, ws-goto-last-cursorposition, ws-copy-block):
18237 Replace empty `let's with `progn'.
18239 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
18241 * mail/sendmail.el (send-mail-function):
18242 * tooltip.el (tooltip-mode):
18243 * simple.el (transient-mark-mode):
18244 * rfn-eshadow.el (file-name-shadow-mode):
18245 * frame.el (blink-cursor-mode):
18246 * font-core.el (global-font-lock-mode):
18247 * files.el (temporary-file-directory)
18248 (small-temporary-file-directory, auto-save-file-name-transforms):
18249 * epa-hook.el (auto-encryption-mode):
18250 * composite.el (global-auto-composition-mode):
18251 Use custom-initialize-delay.
18252 * startup.el (command-line): Don't explicitly call
18253 custom-reevaluate-setting for all the above vars.
18254 * custom.el (custom-initialize-safe-set)
18255 (custom-initialize-safe-default): Delete.
18257 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
18259 * term/x-win.el (x-initialize-window-system):
18260 * term/w32-win.el (w32-initialize-window-system):
18261 * term/ns-win.el (ns-initialize-window-system): Don't call
18262 mouse-wheel-mode since it's enabled globally by default already.
18264 * mwheel.el (mouse-wheel-mode): Make sure the new defvar doesn't
18265 actually define the variable, but only silences the byte-compiler.
18266 (mouse-wheel-change-button): Check whether mouse-wheel-mode is bound
18267 before looking it up.
18268 (mouse-wheel-scroll-amount): Also reset the bindings if this value
18271 2009-09-12 Glenn Morris <rgm@gnu.org>
18273 * emacs-lisp/elint.el (elint-file): Make max-lisp-eval-depth at least
18275 (elint-add-required-env): Don't beep on error.
18276 (elint-forms): In case of error, return ENV unchanged.
18277 (elint-init-env): Skip non-list forms.
18278 (elint-log): Handle unknown file positions.
18280 2009-09-12 Daiki Ueno <ueno@unixuser.org>
18282 * epg.el (epg-make-context): Add autoload cookie.
18283 (epg-list-keys, epg-cancel, epg-start-decrypt, epg-decrypt-file)
18284 (epg-decrypt-string, epg-start-verify, epg-verify-file)
18285 (epg-verify-string, epg-start-sign, epg-sign-file)
18286 (epg-sign-string, epg-start-encrypt, epg-encrypt-file)
18287 (epg-encrypt-string, epg-start-export-keys)
18288 (epg-export-keys-to-file, epg-export-keys-to-string)
18289 (epg-start-import-keys, epg-import-keys-from-file)
18290 (epg-import-keys-from-string, epg-start-receive-keys)
18291 (epg-receive-keys, epg-import-keys-from-server)
18292 (epg-start-delete-keys, epg-delete-keys, epg-start-sign-keys)
18293 (epg-sign-keys, epg-start-generate-key)
18294 (epg-generate-key-from-file, epg-generate-key-from-string):
18295 Remove autoload cookie.
18297 2009-09-12 Eli Zaretskii <eliz@gnu.org>
18299 * dos-fns.el (dos-reevaluate-defcustoms): Comment out the
18300 reevaluation of trash-directory.
18302 * mwheel.el: Fix last change.
18303 (mouse-wheel-mode): New defvar.
18304 (mouse-wheel-mode): Remove autoload cookie.
18306 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
18308 * mwheel.el (mwheel-installed-bindings): New var.
18309 (mouse-wheel-mode): Use it, so as to make sure we really remove all
18310 the bindings we set last time. Use custom-initialize-delay.
18311 * loadup.el: Load mwheel after term/*-win.el.
18312 * startup.el (command-line): Don't reevaluate mouse-wheel-down-event
18313 and mouse-wheel-up-event now that their first evaluation is done
18314 sufficiently late to be correct.
18316 * startup.el (tutorial-directory): Make it a defcustom.
18317 Use custom-initialize-delay rather than eval-at-startup to set it.
18318 * image.el (image-load-path): Make it a defcustom.
18319 Use custom-initialize-delay rather than eval-at-startup to set it.
18320 * subr.el (eval-at-startup): Remove.
18321 * font-lock.el (lisp-font-lock-keywords-2): Remove eval-at-startup.
18323 * subr.el (do-after-load-evaluation): Warn the user after loading an
18326 2009-09-12 Glenn Morris <rgm@gnu.org>
18328 * proced.el (proced-mark-alt): Remove alias.
18329 (proced-mode-map): Remove proced-mark-alt.
18331 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries to
18332 Elint file and directory. Remove initialization entry.
18334 * emacs-lisp/elint.el (elint-file, elint-directory): New autoloaded
18336 (elint-current-buffer): Set mode-line-process.
18337 (elint-init-env): Handle define-derived-mode.
18338 Fix declare-function with unspecified arglist. Guard against odd
18339 defalias statements (eg iso-insert's 8859-1-map).
18340 (elint-add-required-env): Use a temp buffer.
18341 (elint-form): Just print the function/macro name, not the whole form.
18342 Return env unchanged if we fail to parse a macro.
18343 (elint-forms): Guard against parse errors.
18344 (elint-output): New function, to handle batch mode.
18345 (elint-log-message): Add optional argument. Use elint-output.
18346 (elint-set-mode-line): New function.
18348 2009-09-12 Andreas Politz <politza@fh-trier.de> (tiny change)
18350 * emacs-lisp/elp.el (elp-not-profilable): Add more
18351 functions (Bug#4233).
18353 2009-09-12 Chong Yidong <cyd@stupidchicken.com>
18355 * emulation/pc-select.el (scroll-down-mark, scroll-down-nomark)
18356 (scroll-up-mark, scroll-up-nomark): Doc fix (Bug#4190).
18358 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
18360 * progmodes/gdb-mi.el (gdb-var-list-children-regexp): Delete.
18361 (gdb-var-list-children): Use json parsing.
18363 2009-09-11 Daniel Colascione <dan.colascione@gmail.com>
18365 * progmodes/js.el (js--proper-indentation): Handle the case where
18366 char-before is null. Reported by Deniz Dogan.
18368 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
18370 * emacs-lisp/cl-macs.el (help-add-fundoc-usage): Declare.
18372 2009-09-11 Daiki Ueno <ueno@unixuser.org>
18374 * epg.el (epg-cipher-algorithm-alist): Add CAMELLIA.
18375 (epg-digest-algorithm-alist): Add SHA224.
18376 (epg-context-set-passphrase-callback)
18377 (epg-context-set-progress-callback): Add description about
18380 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
18382 * custom.el (custom-delayed-init-variables): New var.
18383 (custom-initialize-delay): New function.
18384 * startup.el (command-line): "Re"evaluate all vars in
18385 custom-delayed-init-variables. Don't reevaluate abbrev-file-name
18386 explicitly any more.
18387 * abbrev.el (abbrev-file-name): Use custom-initialize-delay
18388 to avoid creating a ~/.emacs.d at build-time (bug#4347).
18390 * proced.el (proced-mode-map): Prefer "m" for proced-mark (bug#4362).
18392 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
18394 * progmodes/gdb-mi.el (gdb-var-update-regexp): Delete.
18395 (gdb-var-update-handler): Use json parsing.
18397 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
18399 * vc-annotate.el (vc-annotate): Use the main file's coding-system to
18400 decode annotated text, regardless of language environment. (Bug#2741)
18402 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
18404 * Makefile.in (autoloads): Make rmail.el writable as well.
18406 2009-09-11 Glenn Morris <rgm@gnu.org>
18408 * dired-aux.el, dired-x.el: Put autoloads in dired.el rather than
18410 * dired.el: Regenerate with extracted autoloads.
18411 * Makefile.in (autoloads): Make dired.el writable.
18413 * ibuf-ext.el: Put autoloads in ibuffer.el rather than loaddefs.el.
18414 * ibuffer.el: Regenerate with extracted autoloads.
18415 * Makefile.in (autoloads): Make ibuffer.el writable.
18417 * paths.el (prune-directory-list, gnus-nntp-service, rmail-file-name):
18418 * version.el (emacs-copyright, emacs-major-version)
18419 (emacs-minor-version): Reformat doc-strings for make-docfile.
18421 * apropos.el (apropos-documentation-check-doc-file): Exclude unbound
18422 functions and variables, since they must be stuff specific to some other
18424 (apropos-print): Make mouse-click message less specific about button.
18426 * emacs-lisp/cl-macs.el (define-compiler-macro): Add a property
18427 that records where a macro was defined.
18428 * help-fns.el (describe-function-1): Mention if a function has a
18430 * help-mode.el (help-function-cmacro): New button.
18432 * locate.el (top-level): Always require dired.
18433 (locate-mode-map): Initialize inside the defvar.
18435 * net/ange-ftp.el (dired-compress-file): Declare.
18436 (ange-ftp-dired-compress-file): Add doc string.
18438 * term/ns-win.el (x-display-name, x-setup-function-keys):
18439 Unify doc-strings with X versions.
18441 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
18443 * emulation/crisp.el (crisp-mode-map): Move initialization
18445 (crisp-mode): Use define-minor-mode.
18447 * progmodes/xscheme.el (xscheme-evaluation-commands):
18448 Put a :advertised-binding property rather than using
18449 advertised-xscheme-send-previous-expression.
18450 (advertised-xscheme-send-previous-expression): Declare obsolete.
18451 * emulation/crisp.el (crisp-mode-map): Use `undo' rather than
18453 (crisp-mode): Add corresponding bindings to
18454 undo's :advertised-binding instead.
18455 * dired.el (dired-mode-map): Put a :advertised-binding property rather
18456 than using dired-advertised-find-file.
18457 (dired-advertised-find-file):
18458 * simple.el (advertised-undo):
18459 * wid-edit.el (advertised-widget-backward): Declare obsolete.
18460 (widget-keymap): Put a :advertised-binding property rather
18461 than using advertised-widget-backward.
18462 * bindings.el (ctl-x-map): Put a :advertised-binding property rather
18463 than using advertised-undo.
18464 * tutorial.el (tutorial--default-keys): Adjust accordingly.
18466 2009-09-10 Simon South <ssouth@slowcomputing.org>
18468 * progmodes/delphi.el (delphi-tab): Indent region when Transient
18469 Mark mode is enabled and region is active; otherwise indent or
18470 insert TAB as usual.
18471 (delphi-mode): Update description of TAB-key binding.
18473 2009-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
18475 * subr.el (define-key-rebound-commands): Mark obsolete.
18476 * startup.el (precompute-menubar-bindings): Remove.
18477 (normal-top-level): Remove obsolete code that tried to precompute
18479 * loadup.el (define-key-rebound-commands): Don't bother fiddling with
18480 define-key-rebound-commands and precompute-menubar-bindings.
18482 2009-09-10 Teodor Zlatanov <tzz@lifelogs.com>
18484 * net/imap.el (imap-interactive-login): Better messages.
18485 (imap-open): Fix bug with renamed buffer on reconnect.
18486 (imap-authenticate): Add buffer-local imap-last-authenticator variable
18487 for easier debugging and cleaner code. On successful (guessed based on
18488 server capabilities) secondary authentication, set imap-state
18490 (imap-last-authenticator): Define imap-last-authenticator as a variable
18493 2009-09-10 Glenn Morris <rgm@gnu.org>
18495 * pcvs.el (cvs-mode-find-file): Use forward-line rather than goto-line.
18497 * emacs-lisp/bytecomp.el (byte-compile-function-environment): Doc fix.
18498 (byte-compile-file-form-autoload): Don't warn about unknown functions
18499 where the autoload statement comes after the use.
18500 (with-no-warnings): Give it a byte-hunk-handler like than of progn, so
18501 that any handlers inside the body (eg require) are in turn respected.
18503 * emacs-lisp/byte-opt.el (degrees-to-radians): Mark as free from side
18506 * emacs-lisp/derived.el (define-derived-mode): Give the mode's map,
18507 and syntax and abbrev tables basic docs, if they don't have any.
18509 * emacs-lisp/easy-mmode.el (easy-mmode-defmap): Add doc-string.
18511 * international/mule-cmds.el (top-level): Require cl when compiling.
18512 (view-hello-file): Use default-value rather than
18513 default-enable-multibyte-characters.
18515 * progmodes/fortran.el: Move all safe and risky properties into the
18518 * mail/rmailedit.el, mail/rmailkwd.el, mail/rmailmm.el:
18519 * mail/rmailmsc.el, mail/rmailsort.el, mail/rmailsum.el:
18520 * mail/undigest.el:
18521 Put autoloads in rmail.el rather than loaddefs.el.
18522 * mail/rmail.el: Regenerate with extracted autoloads.
18524 * mail/rmailsum.el (rmail-user-mail-address-regexp): Move to rmail.el.
18525 * mail/rmail.el (rmail-user-mail-address-regexp): Move from rmailsum.el.
18527 2009-09-10 Nick Roberts <nickrob@snap.net.nz>
18529 Reported in thread for Bug#4375.
18530 * progmodes/gud.el (gud-tooltip-print-command): Use MI command
18531 "-data-evaluate-expression" instead of print.
18532 * progmodes/gdb-mi.el (gdb-tooltip-print-1): Ditto.
18533 (gdb-tooltip-print): Parse output from above MI command.
18534 (gdb): Revert 2009-08-11 change. User should detach inferior
18537 Remove the word "separate" from IO functions as inferior
18538 output is now never displayed in the GUD buffer.
18540 2009-09-10 Juanma Barranquero <lekktu@gmail.com>
18542 * startup.el (command-line-normalize-file-name): On Windows and
18543 MS-DOS, also convert C:\/ and C:\\ (two backslashes) into C:/.
18545 2009-09-10 Juri Linkov <juri@jurta.org>
18547 * isearch.el (isearch-text-char-description): Propertize escape
18548 character sequences with the `escape-glyph' face. (Bug#4344)
18550 * simple.el (shell-command): Set asynchronous process filter to
18551 `comint-output-filter'. (Bug#4343)
18553 * progmodes/grep.el (grep-template): Add "<X>" to docstring.
18554 (grep-files-aliases): Add "all". Move "el" and "ch" to the top of
18555 the list. Move "asm" to the bottom.
18556 (grep-find-ignored-directories): Add `choice' with nil value
18557 to empty the list easily.
18558 (grep-find-ignored-files): New option.
18559 (grep-files-history): Set to nil by default instead of '("ch" "el").
18560 (grep-compute-defaults): Add "<X>" to `grep-template'.
18561 (grep-read-files): Bind new local variables `default-alias' and
18562 `default-extension'. Use a list of default values for the file prompt.
18563 (lgrep): Add `--exclude=' command line options composed from
18564 `grep-find-ignored-files'.
18565 (rgrep): Add `-name' command line options composed from
18566 `grep-find-ignored-files'. (Bug#4301)
18568 2009-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
18570 * diff-mode.el (diff-hunk-kill): Fix the search of the next hunk
18573 2009-09-09 Katsumi Yamaoka <yamaoka@jpl.org>
18575 * calendar/time-date.el (autoload):
18576 Expand define-obsolete-function-alias into defalias and make-obsolete
18577 for old Emacsen that Gnus supports.
18578 (with-no-warnings): Define it for old Emacsen.
18579 (time-to-seconds): Don't use (featurep 'xemacs) to check if float-time
18581 (time-to-number-of-days): Don't use (featurep 'xemacs) to check if
18582 float-time is available; suppress compile warning for time-to-seconds.
18584 2009-09-09 Teodor Zlatanov <tzz@lifelogs.com>
18586 * net/imap.el (imap-message-map): Docstring fix.
18588 2009-09-09 Glenn Morris <rgm@gnu.org>
18590 * ffap.el (ffap-file-at-point): Handle absolute (non-remote) files with
18591 line numbers too. (Bug#4374)
18593 2009-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
18595 * smerge-mode.el (smerge-remove-props, smerge-refine):
18596 Use with-silent-modifications (bug#4342).
18598 * subr.el (with-silent-modifications): New macro.
18600 2009-09-07 Juanma Barranquero <lekktu@gmail.com>
18602 * files.el (top-level): Require `cl' when compiling.
18604 2009-09-07 Glenn Morris <rgm@gnu.org>
18606 * files.el (auto-mode-alist): Use delphi-mode for .dpr files.
18608 * proced.el (proced-mode-map): Bind "d" to proced-mark-alt.
18609 (proced-mark-alt): New alias, to control the advertised key. (Bug#4362)
18611 2009-09-06 Nick Roberts <nickrob@snap.net.nz>
18613 * vc-git.el (vc-git-annotate-command): Use separator to parse
18614 arguments correctly.
18616 2009-09-06 Eli Zaretskii <eliz@gnu.org>
18618 * proced.el (proced-mode): Doc fix.
18620 2009-09-06 Julian Scheid <julians37@gmail.com> (tiny change)
18622 * net/tramp.el (tramp-perl-file-attributes): Print "nil" when
18624 (tramp-do-file-attributes-with-ls): Check for file existence at
18626 (tramp-do-file-attributes-with-stat): Likewise.
18627 (tramp-convert-file-attributes): Return nil when attr is nil.
18629 2009-09-05 Glenn Morris <rgm@gnu.org>
18631 * calendar/diary-lib.el (diary-entry): Add help-echo and follow-link
18632 properties to this button.
18633 (diary-fancy-display): Don't extend the button to the final newline.
18634 (diary-fancy-display-mode): Continue to define "q" as a local key.
18636 * calendar/cal-china.el (holiday-chinese): Make it slightly more
18639 * font-lock.el (lisp-font-lock-keywords-2): Add letf.
18641 * emacs-lisp/bytecomp.el (emacs-lisp-file-regexp): Doc fix.
18642 (byte-compile-dest-file-function): New option.
18643 (byte-compile-dest-file): Doc fix.
18644 Obey byte-compile-dest-file-function.
18645 (byte-compile-cl-file-p): New function.
18646 (byte-compile-eval): Only suppress noruntime warnings about cl functions
18647 if the cl-functions warning is enabled. Use byte-compile-cl-file-p.
18648 (byte-compile-eval): Check for non-nil byte-compile-cl-functions rather
18649 than for file being previously loaded.
18650 (byte-compile-find-cl-functions): Use byte-compile-cl-file-p.
18651 (byte-compile-file-form-require): Handle the case where requiring a file
18652 indirectly causes CL to be loaded.
18654 2009-09-05 Karl Fogel <kfogel@red-bean.com>
18656 * files.el (find-alternate-file): Run `kill-buffer-hook' manually
18657 before killing the old buffer, since by the time `kill-buffer' is
18658 run so many buffer variables have been set to nil that it may not
18659 behave as expected. (Bug#4061)
18661 2009-09-05 Karl Fogel <kfogel@red-bean.com>
18663 * files.el (find-alternate-file): If the old buffer is modified
18664 and visiting a file, behave similarly to `kill-buffer' when
18665 killing it, thus reverting to the pre-1.878 behavior; see
18666 http://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00101.html
18667 for discussion. Also, consult `buffer-file-name' as a variable
18668 not as a function, for consistency with the rest of the code.
18670 2009-09-04 Michael Albinus <michael.albinus@gmx.de>
18672 * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
18673 also when adding a new directory.
18675 * net/tramp-compat.el (tramp-compat-line-beginning-position):
18678 2009-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
18680 * files.el (locate-file-completion-table): Make it provide boundary
18681 information, so partial-completion works better.
18683 2009-09-04 Leo <sdl.web@gmail.com> (tiny change)
18685 * mail/footnote.el (Footnote-text-under-cursor):
18686 Check footnote-text-marker-alist before using it (bug#4324).
18688 2009-09-04 Glenn Morris <rgm@gnu.org>
18690 * play/5x5.el, play/decipher.el, play/gametree.el, play/handwrite.el:
18691 * play/hanoi.el, play/landmark.el, play/mpuz.el, play/pong.el:
18692 * play/solitaire.el, play/tetris.el:
18693 Remove leading * from defcustom and defface docs.
18695 * calendar/diary-lib.el (diary-fancy-display): Only switch modes if
18697 (diary-fancy-overriding-map): New variable.
18698 (diary-fancy-display-mode): Set minor-mode-overriding-map-alist.
18701 * vc-rcs.el (vc-rcs-annotate-command): Use forward-line rather than
18704 2009-09-03 Glenn Morris <rgm@gnu.org>
18706 * arc-mode.el (archive-mode):
18707 * dos-fns.el (set-default-process-coding-system):
18708 * man.el (Man-getpage-in-background):
18709 * menu-bar.el (menu-bar-describe-menu):
18710 * server.el (server-process-filter):
18711 * startup.el (command-line):
18712 * tar-mode.el (tar-header-block-tokenize, tar-extract):
18713 * w32-fns.el (set-default-process-coding-system):
18714 * x-dnd.el (x-dnd-handle-file-name):
18715 * international/mule-cmds.el (mule-menu-keymap)
18716 (set-default-coding-systems, language-info-alist, set-language-info)
18717 (set-language-environment, standard-display-european-internal)
18718 (set-locale-environment):
18719 * international/mule-diag.el (mule-diag):
18720 * mail/emacsbug.el (report-emacs-bug):
18721 * mail/rmail.el (rmail-mode):
18722 * mail/sendmail.el (mail-setup):
18723 Use default-value rather than default-enable-multibyte-characters.
18725 * progmodes/f90.el: Move all safe properties into the defcustoms.
18726 (f90-get-correct-indent, f90-indent-region, f90-abbrev-start): Use memq.
18728 * calendar/appt.el (appt-check):
18729 * calendar/diary-lib.el (diary-set-header, diary-live-p)
18730 (diary-check-diary-file, diary-list-entries)
18731 (diary-include-other-diary-files, diary-simple-display)
18732 (diary-fancy-display, diary-print-entries)
18733 (diary-mark-included-diary-files, diary-make-entry):
18734 Don't call substitute-in-file-name on diary-file.
18736 2009-09-03 Eduard Wiebe <usenet@pusto.de>
18737 Stefan Monnier <monnier@iro.umontreal.ca>
18739 * mail/footnote.el (footnote-prefix): Make it a defcustom.
18740 (footnote-mode-map): Move initialization into the declaration.
18741 (footnote-minor-mode-map): Define it rather than changing global-map.
18742 (footnote-mode): Use define-minor-mode.
18744 2009-09-02 Michael Albinus <michael.albinus@gmx.de>
18746 * net/tramp.el (tramp-handle-file-attributes-with-ls)
18747 (tramp-do-file-attributes-with-perl)
18748 (tramp-do-file-attributes-with-stat): Rename from
18749 `tramp-handle-file-attributes-with-*'.
18750 (tramp-handle-file-attributes): Use them.
18751 (tramp-do-directory-files-and-attributes-with-perl)
18752 (tramp-do-directory-files-and-attributes-with-stat): Rename from
18753 `tramp-handle-directory-files-and-attributes-with-*'.
18754 (tramp-handle-directory-files-and-attributes): Use them.
18755 (tramp-method-out-of-band-p): Additional parameter SIZE.
18756 (tramp-do-copy-or-rename-file, tramp-handle-file-local-copy)
18757 (tramp-handle-write-region): Use it.
18758 (tramp-handle-insert-directory): Use "?\ " for compatibility reasons.
18759 (tramp-handle-vc-registered): Check, whether the first run did
18760 return files to be tested.
18761 (tramp-advice-make-auto-save-file-name): Do not call directly
18762 `tramp-handle-make-auto-save-file-name', because this would bypass
18763 the locking mechanism.
18765 * net/tramp-compat.el (top): Autoload used functions from tramp.el.
18766 (file-remote-p, process-file, start-file-process, set-file-times)
18767 (tramp-compat-file-attributes): Compatibility functions shall not
18768 call directly `tramp-handle-*', because this would bypass the
18770 (tramp-compat-number-sequence): New defun.
18772 2009-09-02 Glenn Morris <rgm@gnu.org>
18774 * calendar/time-date.el (time-to-seconds): In Emacs, make it an obsolete
18775 alias for float-time.
18776 (time-to-number-of-days): In Emacs, use float-time.
18777 * net/newst-backend.el (time-add): Suppress warnings from compat
18779 * time.el (emacs-uptime, emacs-init-time):
18780 * net/rcirc.el (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE):
18781 Use float-time rather than time-to-seconds.
18783 * minibuffer.el (completion-initials-expand): Fix typo.
18785 * faces.el (modeline, modeline-inactive, modeline-highlight)
18786 (modeline-buffer-id):
18787 * info.el (info-menu-5): Mark these face aliases as obsolete.
18789 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
18791 * progmodes/gdb-mi.el (gdb-current-context-command): Move the
18793 (gdb-gud-context-call): ... to here for pre GDB 7.0 when there is
18794 no "--thread" option.
18795 (gdb-stopped): Don't print "Switched to thread" message when it is
18798 2009-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
18800 * minibuffer.el (completion-try-completion)
18801 (completion-all-completions): Remove ill-defined (and
18802 mistakenly installed and luckily never used nor documented)
18803 `completion-styles' property.
18804 (completion-initials-expand, completion-initials-all-completions)
18805 (completion-initials-try-completion): New functions.
18806 (completion-styles-alist): Add doc to each entry.
18807 Add new `initials' entry.
18809 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
18811 * progmodes/gdb-mi.el (gdb-var-create-handler): Remove redundant
18812 MI command -var-evaluate-expression.
18813 (gdb-var-list-children-regexp): Update from regexp-1 in gdb-ui.el
18814 and tweak for case of string child.
18815 (gdb-var-list-children-handler): Update from handler-1 in gdb-ui.el.
18817 2009-09-01 Glenn Morris <rgm@gnu.org>
18819 * add-log.el (change-log-date-face, change-log-name-face)
18820 (change-log-email-face, change-log-file-face, change-log-list-face)
18821 (change-log-conditionals-face, change-log-function-face)
18822 (change-log-acknowledgement-face):
18823 * cus-edit.el (custom-invalid-face, custom-rogue-face)
18824 (custom-modified-face, custom-set-face, custom-changed-face)
18825 (custom-saved-face, custom-button-face, custom-button-pressed-face)
18826 (custom-documentation-face, custom-state-face, custom-comment-face)
18827 (custom-comment-tag-face, custom-variable-tag-face)
18828 (custom-variable-button-face, custom-face-tag-face)
18829 (custom-group-tag-face-1, custom-group-tag-face):
18830 * diff-mode.el (diff-header-face, diff-file-header-face)
18831 (diff-index-face, diff-hunk-header-face, diff-removed-face)
18832 (diff-added-face, diff-changed-face, diff-function-face)
18833 (diff-context-face, diff-nonexistent-face):
18834 * generic-x.el (show-tabs-tab-face, show-tabs-space-face):
18835 * hilit-chg.el (highlight-changes-face, highlight-changes-delete-face):
18836 * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face)
18837 (Info-title-4-face):
18838 * isearch.el (isearch-lazy-highlight-face):
18839 * log-view.el (log-view-file-face, log-view-message-face):
18840 * paren.el (show-paren-match-face, show-paren-mismatch-face):
18841 * pcvs-info.el (cvs-header-face, cvs-filename-face, cvs-unknown-face)
18842 (cvs-handled-face, cvs-need-action-face, cvs-marked-face)
18844 * smerge-mode.el (smerge-mine-face, smerge-other-face)
18845 (smerge-base-face, smerge-markers-face):
18846 * wid-edit.el (widget-documentation-face, widget-button-face)
18847 (widget-field-face, widget-single-line-field-face)
18848 (widget-inactive-face, widget-button-pressed-face):
18849 * woman.el (woman-italic-face, woman-bold-face, woman-unknown-face)
18850 (woman-addition-face):
18851 * eshell/em-ls.el (eshell-ls-directory-face, eshell-ls-symlink-face)
18852 (eshell-ls-executable-face, eshell-ls-readonly-face)
18853 (eshell-ls-unreadable-face, eshell-ls-special-face)
18854 (eshell-ls-missing-face, eshell-ls-archive-face)
18855 (eshell-ls-backup-face, eshell-ls-product-face)
18856 (eshell-ls-clutter-face):
18857 * eshell/em-prompt.el (eshell-prompt-face):
18858 * eshell/esh-test.el (eshell-test-ok-face, eshell-test-failed-face):
18859 * obsolete/old-whitespace.el (whitespace-highlight-face):
18860 * progmodes/antlr-mode.el (antlr-font-lock-default-face)
18861 (antlr-font-lock-keyword-face, antlr-font-lock-syntax-face)
18862 (antlr-font-lock-ruledef-face, antlr-font-lock-tokendef-face)
18863 (antlr-font-lock-ruleref-face, antlr-font-lock-tokenref-face)
18864 (antlr-font-lock-literal-face):
18865 * progmodes/ebrowse.el (ebrowse-tree-mark-face)
18866 (ebrowse-root-class-face, ebrowse-file-name-face)
18867 (ebrowse-default-face, ebrowse-member-attribute-face)
18868 (ebrowse-member-class-face, ebrowse-progress-face):
18869 * progmodes/make-mode.el (makefile-space-face):
18870 * progmodes/sh-script.el (sh-heredoc-face):
18871 * textmodes/flyspell.el (flyspell-incorrect-face)
18872 (flyspell-duplicate-face):
18873 * textmodes/tex-mode.el (tex-math-face, tex-verbatim-face):
18874 * textmodes/texinfo.el (texinfo-heading-face):
18875 Mark face aliases with "-face" suffix as obsolete.
18877 * mail/feedmail.el (file-name-buffer-file-type-alist): Define for
18880 * net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-image-menu)
18881 (eudc-bob-sound-menu): Use defvar rather than defconst, since
18882 easy-menu-define wants to modify these.
18884 * net/net-utils.el (nslookup): Use make-comint rather than comint-run.
18886 * net/browse-url.el (browse-url-file-url):
18887 * term/internal.el (dos-codepage-setup):
18888 Use default-value rather than default-enable-multibyte-characters.
18890 * progmodes/etags.el (etags-goto-tag-location):
18891 * progmodes/flymake.el (flymake-highlight-line)
18892 (flymake-goto-file-and-line, flymake-goto-line):
18893 * progmodes/gdb-mi.el (gdb-mouse-until, gdb-mouse-jump)
18894 (gdb-goto-breakpoint):
18895 * progmodes/idlw-shell.el (idlwave-shell-move-to-bp):
18896 * progmodes/python.el (python-find-function)
18897 (python-pdbtrack-track-stack-file):
18898 * progmodes/verilog-mode.el (verilog-surelint-off):
18899 * term/ns-win.el (ns-open-file-select-line):
18900 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
18901 Use forward-line rather than goto-line.
18903 * textmodes/reftex-cite.el (reftex-offer-bib-menu):
18904 * textmodes/reftex-index.el (reftex-display-index):
18905 * textmodes/reftex-ref.el (reftex-offer-label-menu):
18906 * textmodes/reftex-toc.el (reftex-toc):
18907 Remove unnecessary bindings of default-major-mode (all are followed by
18908 major-mode check and possible mode switch).
18910 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
18912 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
18913 Handle watchpoints (bug#4282).
18914 (def-gdb-thread-buffer-command): Enable thread to be selected by
18915 clicking without selecting threads buffer first.
18916 (gdb-current-context-command): Use selected frame so that "up",
18917 "down" etc work in the GUD buffer.
18918 (gdb-update): Find selected frame before rendering stack buffer.
18919 (gdb-frame-handler): Set gdb-frame-number for stack buffer.
18921 2009-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
18923 * progmodes/sym-comp.el (displayed-completions): Remove.
18924 (symbol-complete): Use minibuffer-complete.
18926 2009-08-31 Glenn Morris <rgm@gnu.org>
18928 * emacs-lisp/byte-run.el (define-obsolete-face-alias): New macro.
18930 * apropos.el (apropos-symbols-internal):
18931 Handle (obsolete) face aliases.
18933 * faces.el (describe-face): Adjust the output format to be more like
18934 describe-variable, and to mention (obsolete) face aliases.
18935 Adjust the whitespace so that help-setup-xref works.
18937 * calendar/calendar.el (calendar-today-face, diary-face, holiday-face):
18938 * calendar/diary-lib.el (diary-button-face):
18939 Mark these face aliases as obsolete.
18941 * calendar/calendar.el (calendar-today): Doc fix.
18943 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
18945 * progmodes/gdb-mi.el (gdb-control-all-threads)
18946 (gdb-control-current-thread): Force tool bar update.
18947 (gdb-non-stop-handler): New function.
18948 (gdb-init-1): Use it to test if non-stop mode is supported.
18949 Remove unused gdbmi buffer type.
18951 2009-08-30 Kevin Rodgers <kevin.d.rodgers@gmail.com>
18953 * progmodes/grep.el (grep-read-files): Strip trailing <N> from
18954 buffer names not visiting a file (e.g. cloned buffers). (Bug#4210)
18956 2009-08-30 Nick Roberts <nickrob@snap.net.nz>
18958 * comint.el (comint-exec-1): Check command is non-null first.
18959 Part of gdb-mi.el change (2009-08-28).
18961 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
18963 * emacs-lisp/lisp.el (lisp-complete-symbol): Use minibuffer-complete.
18965 2009-08-30 Juanma Barranquero <lekktu@gmail.com>
18967 * subr.el (do-after-load-evaluation): Fix last change: use `mapc'
18968 instead of `dolist' to avoid a recursive require when bootstrapping.
18970 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
18972 * emacs-lisp/lisp.el (field-complete): Use minibuffer-complete.
18974 * net/ldap.el (ldap-search-internal): Use with-current-buffer and push.
18976 * net/imap.el (imap-send-command): Simplify.
18977 (imap-wait-for-tag): point-max -> buffer-size.
18979 * net/ange-ftp.el (internal-ange-ftp-mode): Use define-derived-mode.
18981 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't use symbol-value
18982 with constant argument.
18984 * emacs-lisp/debug.el (debugger-setup-buffer): Make it multibyte.
18986 * emacs-lisp/cl.el (cl-macro-environment): Don't define it here.
18988 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag):
18989 Change default, since most of our files don't have a history.
18990 (checkdoc-display-status-buffer): Don't use a hidden buffer to show to
18993 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
18996 * calc/calc.el: Improve commenting convention.
18997 (calc-digit-map, toplevel): Simplify.
18999 * comint.el (comint-insert-input): Be careful to only set point if we
19000 don't delegate to some other command.
19002 * proced.el (proced-signal-list): Make it an alist.
19003 (proced-grammar-alist): Capitalize names.
19004 (proced-send-signal): Use a non-hidden buffer (since it's displayed).
19005 Disable undo manually and make it read-only.
19006 Use completion-annotate-function.
19008 * minibuffer.el (minibuffer-message): If the current buffer is not
19009 a minibuffer, insert the message in the echo area rather than at the
19011 (completion-annotate-function): New variable.
19012 (minibuffer-completion-help): Use it.
19013 (completion--embedded-envvar-table): Environment vars are
19014 always case-sensitive.
19016 2009-08-30 Glenn Morris <rgm@gnu.org>
19018 * progmodes/fortran.el (fortran-start-prog-re): New constant, extracted
19019 from fortran-current-defun.
19020 (fortran-beginning-of-subprogram): Be more precise about finding the
19021 start, to avoid an infinite loop in end-of-defun. (Bug#4259)
19022 (fortran-end-of-subprogram): Simplify.
19023 (fortran-current-defun): Use fortran-start-prog-re.
19025 2009-08-29 Juanma Barranquero <lekktu@gmail.com>
19027 * subr.el (do-after-load-evaluation): Simplify.
19029 2009-08-29 Dan Nicolaescu <dann@ics.uci.edu>
19031 * vc.el (vc-print-log-internal): Move RCS/CVS specific code ...
19033 * vc-rcs.el (vc-rcs-print-log-cleanup): ... here. New function.
19034 (vc-rcs-print-log): Use it.
19036 * vc-cvs.el (vc-cvs-print-log): Use vc-rcs-print-log-cleanup.
19038 2009-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
19040 * paths.el (abbrev-file-name): Move to abbrev.el.
19041 * abbrev.el (abbrev-file-name): Move from paths.el.
19042 Obey user-emacs-directory.
19043 * calc/calc.el (calc-settings-file): Don't autoload and instead obey
19044 user-emacs-directory.
19045 * dos-fns.el (dos-reevaluate-defcustoms): Don't reevaluate
19046 abbrev-file-name and calc-settings-file any more.
19047 * startup.el (command-line): Recompute abbrev-file-name and
19048 abbreviated-home-dir.
19049 (normal-no-mouse-startup-screen): Improve the generic code and get rid
19050 of the special code for when C-h bindings haven't been changed.
19051 (display-startup-echo-area-message): Use with-current-buffer.
19052 (command-line-1): Use a list of strings, rather than a list of lists
19053 of strings for longopts.
19055 * files.el (get-free-disk-space): Use / for default-directory.
19057 * textmodes/ispell.el (ispell-accept-output, ispell-command-loop):
19058 Use with-current-buffer.
19060 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p):
19061 Recognize immutable variables like most-positive-fixnum.
19062 (byte-compile-setq-default): Check and warn if trying to assign
19063 to an immutable variable, or a non-variable.
19065 * progmodes/cc-vars.el (c-comment-continuation-stars):
19066 * progmodes/cc-engine.el (c-looking-at-bos):
19067 * progmodes/cc-cmds.el (c-toggle-auto-state)
19068 (c-forward-into-nomenclature, c-backward-into-nomenclature)
19069 (c-comment-line-break-function): Add version of obsolescence.
19071 2009-08-28 Juri Linkov <juri@jurta.org>
19073 * files.el (magic-fallback-mode-alist): Add ZIP magic number
19074 associated with `archive-mode'.
19076 * image.el (image-type-header-regexps): Use only JPEG magic number
19077 to determine JPEG images, and don't use `image-jpeg-p' because
19078 Emacs can display non-JFIF non-Exif JPEG images.
19080 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
19082 * arc-mode.el (archive-mode):
19083 * emacs-lisp/re-builder.el (re-builder-unload-function):
19084 Protect against the default value of `major-mode' being nil.
19086 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
19088 * international/ucs-normalize.el (ucs-normalize-sort, quick-check-list):
19089 Fix typos in docstrings.
19091 * progmodes/js.el (js--macro-decl-re): Doc fix.
19092 (js--plain-method-re, js--split-name): Refloc docstring.
19093 (js--class-styles, js--make-merged-item, js--splice-into-items):
19094 Fix typos in docstrings; reflow docstrings.
19095 (js--maybe-join, js--function-prologue-beginning, js--flush-caches)
19096 (js--variable-decl-matcher, js--inside-pitem-p)
19097 (js--parse-state-at-point, js--get-all-known-symbols)
19098 (js--symbol-history, js-find-symbol, js--js-references)
19099 (js--moz-interactor, js--js-encode-value, js--read-tab):
19100 Fix typos in docstrings.
19102 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
19104 * textmodes/reftex.el (reftex-get-file-buffer-force):
19105 * progmodes/verilog-mode.el (verilog-batch-execute-func):
19106 * emulation/viper.el (viper-go-away, viper-set-hooks):
19107 * emacs-lisp/re-builder.el (re-builder-unload-function):
19108 * emacs-lisp/bytecomp.el (byte-compile-file):
19109 * ses.el (ses-unload-function):
19110 * hexl.el (hexl-find-file):
19111 * files.el (normal-mode):
19112 * ehelp.el (with-electric-help):
19113 * autoinsert.el (auto-insert-alist):
19114 * arc-mode.el (archive-mode):
19115 Use (default-value 'major-mode) instead of default-major-mode.
19117 * textmodes/ispell.el (ispell-check-version, ispell-send-string):
19118 * international/mule.el (load-with-code-conversion):
19119 * emacs-lisp/debug.el (debug):
19120 * ediff-vers.el (ediff-rcs-get-output-buffer):
19121 * dired.el (dired-internal-noselect): Don't let-bind
19122 default-major-mode around code that doesn't use it.
19123 E.g. buffer creation via get-buffer-create doesn't use it.
19125 2009-08-28 Michael Albinus <michael.albinus@gmx.de>
19127 * net/tramp.el (all): Replace "'(lambda" by "(lambda".
19128 (tramp-handle-file-local-copy): Unset `file-name-handler-alist'
19129 when writing the temp file. Otherwise, epa-file gets confused.
19130 (tramp-register-file-name-handlers): Make it a defun. Move also
19131 `epa-file-handler' to the front of `file-name-handler-alist'.
19133 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
19135 * net/tramp.el (tramp-shell-prompt-pattern): Allow a prompt to
19136 start right after a ^M.
19137 (tramp-root-regexp, tramp-completion-file-name-regexp-unified)
19138 (tramp-completion-file-name-regexp-separate)
19139 (tramp-completion-file-name-regexp-url): Use \\` and \\'.
19140 (tramp-handle-file-attributes, tramp-set-file-uid-gid):
19141 Don't modify last-coding-system-used by accident.
19142 (tramp-completion-file-name-handler): Apply the checks here,
19143 instead during registration.
19144 (tramp-register-file-name-handlers): Rename from
19145 `tramp-register-file-name-handler'. Register both
19146 `tramp-file-name-handler' and `tramp-completion-file-name-handler'.
19147 (tramp-register-completion-file-name-handler): Remove. (Bug#4260)
19149 2009-08-28 Nick Roberts <nickrob@snap.net.nz>
19151 * progmodes/gdb-mi.el (gdb-use-separate-io-buffer):
19152 Remove variable ...
19153 (gdb-init-1, gdb-display-separate-io-buffer)
19154 (gdb-frame-separate-io-buffer, gdb-setup-windows): ... and
19156 (gdb-inferior-io-mode): Use make-comint-in-buffer.
19157 (gdb-inferior-filter): Use comint-output-filter to stop
19158 echoing and remove ^M characters.
19160 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
19162 * emulation/viper-init.el (viper-restore-cursor-type):
19163 * emulation/cua-base.el (cua--update-indications):
19164 Replace default-cursor-type with (default-value 'cursor-type).
19166 * mail/sendmail.el (mail-recover-1):
19167 * international/mule-diag.el (describe-current-coding-system-briefly)
19168 (describe-current-coding-system):
19169 * international/mule-cmds.el (select-safe-coding-system)
19170 (select-message-coding-system)
19171 (set-language-environment-coding-systems, set-locale-environment):
19172 * hexl.el (hexl-insert-multibyte-char):
19173 * dos-w32.el (find-buffer-file-type-coding-system):
19174 * simple.el (what-cursor-position):
19175 Replace uses of default-buffer-file-coding-system
19176 with (default-value 'buffer-file-coding-system).
19178 * emacs-lisp/edebug.el (edebug-display, edebug-outside-excursion):
19179 Replace uses of default-cursor-in-non-selected-windows
19180 with (default-value 'cursor-in-non-selected-windows).
19181 Use with-current-buffer.
19183 * mail/feedmail.el: Use CL macros.
19184 (feedmail-run-the-queue, feedmail-send-it-immediately):
19185 * dos-w32.el (find-buffer-file-type): Replace uses of
19186 default-buffer-file-type with (default-value 'buffer-file-type).
19188 2009-08-28 Glenn Morris <rgm@gnu.org>
19190 * calendar/diary-lib.el (diary-list-entries, diary-goto-entry)
19191 (diary-show-all-entries, diary-mark-entries, diary-make-entry):
19192 Use default-value of major-mode rather than default-major-mode.
19194 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
19196 * Makefile.in (update-elcfiles): Report left over elc files.
19198 * mail/mailalias.el (build-mail-aliases): Use with-temp-buffer,
19199 expand-file-name and with-current-buffer.
19200 (mail-get-names, mail-directory): Use with-current-buffer.
19202 * vc.el (vc-read-revision): New function.
19203 (vc-version-diff, vc-merge): Use it.
19205 2009-08-27 Sam Steingold <sds@gnu.org>
19207 * simple.el (kill-do-not-save-duplicates): New user option.
19208 (kill-new): When it is non-nil, and the new string is the same as
19209 the latest kill, set replace to t to avoid duplicates in kill-ring.
19211 2009-08-27 Julian Scheid <julians37@gmail.com> (tiny change)
19213 * net/tramp.el (tramp-handle-process-file): Do not flush all
19214 caches when `process-file-side-effects' is set.
19215 (tramp-handle-vc-registered): Use `tramp-get-file-exists-command'
19216 instead of `tramp-find-file-exists-command'.
19217 Unset `process-file-side-effects'.
19219 2009-08-27 Michael Albinus <michael.albinus@gmx.de>
19221 * net/tramp.el (tramp-methods): New method "rsyncc".
19222 (top): Add completion function for "rsyncc".
19223 (tramp-message-show-message): New defvar.
19224 (tramp-message, tramp-error): Use it.
19225 (tramp-do-copy-or-rename-file-directly): Extend check for direct
19227 (tramp-do-copy-or-rename-file-out-of-band): Handle new
19228 `tramp-methods' entry `copy-env' of "rsyncc".
19229 (tramp-vc-registered-read-file-names): New defconst.
19230 (tramp-vc-registered-file-names): New defvar.
19231 (tramp-handle-vc-registered): Implement optimization strategy.
19232 (tramp-run-real-handler): Add `tramp-vc-file-name-handler'.
19233 (tramp-vc-file-name-handler): New defun.
19234 (tramp-get-ls-command, tramp-get-test-command)
19235 (tramp-get-file-exists-command, tramp-get-remote-ln)
19236 (tramp-get-remote-perl, tramp-get-remote-stat)
19237 (tramp-get-remote-id): Remove superfluous `with-current-buffer'.
19239 * net/tramp-cache.el (top): Autoload `tramp-time-less-p'.
19240 (tramp-cache-inhibit-cache): Extend doc string. It allows also
19242 (tramp-get-file-property): Check for timestamps in
19243 `tramp-cache-inhibit-cache'.
19244 (tramp-set-file-property): Write timestamp.
19246 2009-08-27 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
19248 * language/japan-util.el (japanese-symbol-table): Add entries for
19251 * international/characters.el: Add category `j' to cp932-2-byte.
19253 2009-08-27 Kenichi Handa <handa@m17n.org>
19255 * international/fontset.el (build-default-fontset-data): New macro.
19256 (setup-default-fontset): Use build-default-fontset-data for CJK,
19257 tibetan, ethiopic, and ipa.
19259 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
19261 * cus-start.el (default-major-mode): Customize `major-mode' instead.
19262 (enable-multibyte-characters): Not customizable any more.
19264 * subr.el (default-mode-line-format, default-header-line-format)
19265 (default-line-spacing, default-abbrev-mode, default-ctl-arrow)
19266 (default-direction-reversed, default-truncate-lines)
19267 (default-left-margin, default-tab-width, default-case-fold-search)
19268 (default-left-margin-width, default-right-margin-width)
19269 (default-left-fringe-width, default-right-fringe-width)
19270 (default-fringes-outside-margins, default-scroll-bar-width)
19271 (default-vertical-scroll-bar, default-indicate-empty-lines)
19272 (default-indicate-buffer-boundaries, default-fringe-indicator-alist)
19273 (default-fringe-cursor-alist, default-scroll-up-aggressively)
19274 (default-scroll-down-aggressively, default-fill-column)
19275 (default-cursor-type, default-buffer-file-type)
19276 (default-cursor-in-non-selected-windows)
19277 (default-buffer-file-coding-system, default-major-mode)
19278 (default-enable-multibyte-characters): Mark as obsolete.
19280 2009-08-27 Dan Nicolaescu <dann@ics.uci.edu>
19282 * vc-dir.el (vc-dir-update): Remove debug helper.
19284 * vc-cvs.el (vc-cvs-update-changelog): Fix typo.
19286 2009-08-26 Sam Steingold <sds@gnu.org>
19288 * simple.el (save-interprogram-paste-before-kill): New user option.
19289 (kill-new): When `save-interprogram-paste-before-kill' is non-nil,
19290 save the interprogram-paste into kill-ring before overriding it
19291 with the Emacs kill.
19293 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
19295 * vc.el (vc-trunk-p): Rename to vc-rcs-trunk-p and move to vc-rcs.el.
19296 (vc-minor-part): Rename to vc-rcs-minor-part and move to vc-rcs.el.
19297 (vc-default-previous-revision): Rename to vc-rcs-previous-revision
19298 and move to vc-rcs.el.
19299 (vc-default-next-revision): Rename to vc-rcs-next-revision and
19301 (vc-cvs-update-changelog): Move to vc-cvs.el, use vc-call-backend.
19302 (vc-rcs-update-changelog): Remove.
19303 (vc-update-changelog-rcs2log): Rename to vc-rcs-update-changelog
19304 and move to vc-rcs.el.
19306 * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-checkin)
19307 (vc-rcs-checkout, vc-rcs-rollback): Adjust for the vc-rcs-trunk-p
19309 (vc-rcs-trunk-p, vc-rcs-minor-part, vc-rcs-previous-revision)
19310 (vc-rcs-next-revision, vc-rcs-update-changelog): Move here from
19311 vc.el, renamed to be RCS specific.
19313 * vc-cvs.el (vc-cvs-previous-revision, vc-cvs-next-revision):
19315 (vc-cvs-update-changelog): Move here from vc.el.
19317 * vc-sccs.el (vc-sccs-previous-revision, vc-sccs-next-revision):
19320 2009-08-26 Stefan Monnier <monnier@iro.umontreal.ca>
19322 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix up last change.
19324 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
19326 * vc-git.el (vc-git-register): Use "git add" for directories.
19327 (vc-git-stash, vc-git-stash-show): New functions.
19328 (vc-git-extra-menu-map): Bind them.
19330 * vc-dir.el (vc-dir-node-directory, vc-dir-update): Get the parent
19331 directory correctly in case the item is a directory itself.
19333 * vc.el: Document the desired behavior for reverted files in the
19335 (vc-default-prettify-state-info): Remove function, unused.
19337 * vc-bzr.el (vc-bzr-prettify-state-info): Remove function, unused.
19339 2009-08-26 Glenn Morris <rgm@gnu.org>
19341 * bindings.el (standard-mode-line-format): Reposition dashes in
19342 which-func entry. (Bug#4217)
19344 * files.el (enable-local-variables, enable-local-eval)
19345 (safe-local-variable-values, safe-local-eval-forms): Mark as risky in
19347 (auto-mode-alist, ignored-local-variables)
19348 (save-some-buffers-action-alist): Move risky declarations to the
19350 (dabbrev-case-fold-search, dabbrev-case-replace, display-time-string)
19351 (font-lock-defaults, format-alist, imenu--index-alist)
19352 (imenu-generic-expression, input-method-alist, minor-mode-alist)
19353 (mode-line-buffer-identification, mode-line-client, mode-line-modes)
19354 (mode-line-modified, mode-line-mule-info, mode-line-position)
19355 (mode-line-process, mode-line-remote, outline-level)
19356 (parse-time-rules, rmail-output-file-alist)
19357 (special-display-buffer-names, vc-mode):
19358 Move risky declarations to the relevant files.
19359 * bindings.el (mode-line-client, mode-line-mule-info, mode-line-remote)
19360 (mode-line-modified, mode-line-process, mode-line-position)
19361 (mode-line-modes, mode-line-buffer-identification, minor-mode-alist)
19362 * font-core.el (font-lock-defaults):
19363 * format.el (format-alist):
19364 * vc-hooks.el (vc-mode):
19365 * window.el (special-display-buffer-names):
19366 * international/mule-cmds.el (input-method-alist):
19367 Define riskiness here (dumped file) rather than in files.el.
19368 * dabbrev.el (dabbrev-case-fold-search, dabbrev-case-replace):
19369 * imenu.el (imenu-generic-expression, imenu--index-alist):
19370 * outline.el (outline-level):
19371 * time.el (display-time-string):
19372 * calendar/parse-time.el (parse-time-rules):
19373 * mail/rmailout.el (rmail-output-file-alist):
19374 Autoload riskiness here, rather than placing in files.el.
19376 2009-08-26 Andreas Schwab <schwab@linux-m68k.org>
19378 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Signal overflow.
19380 2009-08-25 Michael Albinus <michael.albinus@gmx.de>
19382 * simple.el (process-file-side-effects): New defvar.
19384 * dired-aux.el (dired-show-file-type):
19385 * vc.el (vc-diff-internal):
19386 * vc-arch.el (vc-arch-diff):
19387 * vc-bzr.el (vc-bzr-sha1, vc-bzr-revision-completion-table):
19388 * vc-cvs.el (vc-cvs-state, vc-cvs-diff, vc-cvs-revision-table):
19389 * vc-git.el (vc-git-registered, vc-git-working-revision)
19390 (vc-git-find-revision, vc-git-diff, vc-git-revision-table)
19391 (vc-git--empty-db-p):
19392 * vc-hooks.el (vc-user-login-name):
19393 * vc-svn.el (vc-svn-registered, vc-svn-state)
19394 (vc-svn-dir-extra-headers, vc-svn-find-revision):
19395 * progmodes/grep.el (grep-probe): Let-bind
19396 `process-file-side-effects' with nil.
19398 * net/dbus.el (dbus-ping): Add optional parameter TIMEOUT.
19400 * net/tramp-gvfs.el (top): Use timeout of 100 msec pinging GVFS
19401 daemon. Replace ping by checking for running service for bluez
19402 and zeroconf. (Bug#4239)
19404 2009-08-25 Kevin Ryde <user42@zip.com.au>
19406 * net/dig.el (dig): Add autoload cookie.
19408 2009-08-25 Glenn Morris <rgm@gnu.org>
19410 * emacs-lisp/bytecomp.el (byte-compile-eval): Fix test for cl in
19411 load-history for absolute file-names.
19412 (byte-compile-file-form-require): Warn about use of the cl package.
19414 * format.el (format-alist): Doc fix.
19416 * play/bubbles.el (top-level): Don't require cl at run-time.
19418 * progmodes/verilog-mode.el (top-level): Don't require lucid (and hence
19421 2009-08-24 Dmitry Dzhus <dima@sphinx.net.ru>
19423 * progmodes/gdb-mi.el (gdb-mapcar*): Replacement for `mapcar*'
19425 (gdb-table-add-row, gdb-table-string): Use `gdb-mapcar*'.
19427 2009-08-24 Jay Belanger <jay.p.belanger@gmail.com>
19429 * calc/calc-alg.el (math-trig-rewrite)
19430 (math-hyperbolic-trig-rewrite): New functions.
19431 (calc-simplify): Simplify trig functions when asked.
19433 2009-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
19435 * diff-mode.el (diff-find-source-location): Avoid goto-line.
19437 2009-08-24 Kenichi Handa <handa@m17n.org>
19439 * language/ind-util.el (mapthread): Delete it.
19440 (combinatorial): New function.
19441 (indian--puthash-cv): Use combinatorial instead of mapthread.
19443 2009-08-22 Kevin Ryde <user42@zip.com.au>
19445 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag)
19446 (checkdoc-arguments-in-order-flag): Add safe-local-variable booleanp.
19447 (checkdoc-symbol-words): Add safe-local-variable for list of strings.
19448 Clarify docstring that the value is strings not symbols.
19449 (checkdoc-list-of-strings-p): New function.
19451 2009-08-22 Glenn Morris <rgm@gnu.org>
19453 * files.el (auto-mode-alist):
19454 * hippie-exp.el (he-concat-directory-file-name):
19455 * lpr.el (lpr-windows-system, printer-name):
19456 * ls-lisp.el (ls-lisp-emulation, ls-lisp-use-insert-directory-program):
19457 * ps-print.el (ps-windows-system):
19458 * startup.el (command-line):
19459 * emulation/viper-ex.el (viper-glob-function):
19460 * international/mule-cmds.el (set-language-environment-coding-systems):
19461 * net/ange-ftp.el (ange-ftp-write-region):
19462 * obsolete/fast-lock.el (fast-lock-cache-name):
19463 Remove code for defunct system-types emx, macos, mswindows, next-mach,
19464 unisoft-unix, vax-vms, win32, w32.
19466 * calendar/diary-lib.el (diary-mark-entries-1): Only mark all days of a
19467 given name if the pattern is not more specific.
19469 * calendar/lunar.el (lunar-phase-names): New option.
19470 (lunar-phase): Doc fix.
19471 (lunar-cycles-per-year): New constant.
19472 (lunar-index): New function.
19473 (lunar-phase-list, diary-lunar-phases): Use lunar-index.
19474 (lunar-phase-name): Use lunar-phase-names.
19475 (calendar-lunar-phases): Use format.
19476 (lunar-new-moon-on-or-after): Use lunar-cycles-per-year.
19478 * progmodes/cperl-mode.el (cperl-imenu-name-and-position):
19479 Copy imenu-example--name-and-position function here for own use.
19480 (cperl-xsub-scan): Use cperl-imenu-name-and-position.
19482 * bs.el (bs--redisplay):
19483 * cus-edit.el (custom-redraw):
19484 * ibuffer.el (ibuffer-bury-buffer):
19485 * server.el (server-goto-line-column):
19486 * startup.el (command-line-1):
19487 * strokes.el (strokes-xpm-for-stroke):
19488 * term.el (term-display-buffer-line):
19489 * view.el (View-goto-line):
19490 * calc/calc.el (calc-do, calc-trail-buffer):
19491 * play/gamegrid.el (gamegrid-add-score-insecure):
19492 * progmodes/ada-mode.el (ada-compile-goto-error):
19493 * progmodes/ada-xref.el (ada-xref-find-in-modified-ali):
19494 (ebrowse-select-1st-to-9nth):
19495 * progmodes/cperl-mode.el (cperl-time-fontification):
19496 * progmodes/ebrowse.el (ebrowse-toggle-file-name-display)
19497 * progmodes/gud.el (gud-display-line):
19498 (idlwave-shell-display-line):
19499 * progmodes/idlw-shell.el (idlwave-shell-goto-frame)
19500 * progmodes/make-mode.el (makefile-browser-toggle):
19501 (vhdl-speedbar-port-copy, vhdl-compose-components-package):
19502 * progmodes/vhdl-mode.el (vhdl-speedbar-find-file)
19503 * textmodes/picture.el (picture-draw-rectangle):
19504 * textmodes/reftex-index.el (reftex-index-goto-letter):
19505 (reftex-select-jump-to-previous):
19506 * textmodes/reftex-sel.el (reftex-find-start-point)
19507 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-restore-region):
19508 (rst-straighten-deco-spacing, rst-section-tree, rst-toc):
19509 * textmodes/rst.el (rst-promote-region, rst-straighten-decorations)
19510 * textmodes/tex-mode.el (tex-compilation-parse-errors):
19511 * textmodes/two-column.el (2C-associated-buffer):
19512 Use forward-line rather than goto-line.
19514 * emulation/vi.el (vi-goto-line): Don't warn about non-interactive
19517 * international/ucs-normalize.el (nfd, decomposition-translation-alist)
19518 (decomposition-char-recursively, alist-list-to-vector, quick-check-list)
19519 (quick-check-list-to-regexp): Declare.
19521 * progmodes/make-mode.el (makefile-browser-insert-selection):
19522 Use goto-char rather than goto-line.
19524 * progmodes/prolog.el (compilation-error-regexp-alist)
19525 (compilation-forget-errors): Declare.
19527 2009-08-22 Juri Linkov <juri@jurta.org>
19529 * progmodes/grep.el (lgrep, rgrep): At the beginning
19530 set `dir' to `default-directory' unless `dir' is a non-nil
19531 readable directory. (Bug#4052)
19532 (lgrep, rgrep): Change a weird way to report an error
19533 from using `read-string' to using `error'.
19534 Instead of using interactive arguments in the function body,
19535 add new argument `confirm'.
19537 2009-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
19539 * textmodes/remember.el (remember-buffer):
19540 * progmodes/cperl-mode.el (cperl-vc-header-alist):
19541 * calendar/icalendar.el (icalendar-convert-diary-to-ical)
19542 (icalendar-extract-ical-from-buffer):
19543 * net/newst-treeview.el (newsticker-groups-filename):
19544 * net/newst-backend.el (newsticker-cache-filename):
19545 * speedbar.el (speedbar-update-speed, speedbar-navigating-speed)
19546 (speedbar-ignored-path-expressions, speedbar-ignored-path-regexp)
19547 (speedbar-add-ignored-path-regexp, speedbar-line-path)
19548 (speedbar-buffers-line-path, speedbar-path-line)
19549 (speedbar-buffers-line-path):
19550 * epg.el (epg-passphrase-callback-function, epg-start-sign-keys)
19552 * epa.el (epa-display-verify-result):
19553 * progmodes/pascal.el (pascal-outline): Add version of obsolescence.
19555 2009-08-21 Glenn Morris <rgm@gnu.org>
19557 * progmodes/js.el (inferior-moz-process): Fix declaration.
19559 * imenu.el (imenu-example--name-and-position): Fix obsolescence message.
19561 * obsolete/rnewspost.el (news-mail-reply):
19562 Use goto-char rather than goto-line.
19564 * term/ns-win.el (ns-open-file-select-line):
19565 Use line-beginning-position rather than goto-line.
19567 * apropos.el (apropos-command):
19568 * ehelp.el (electric-helpify):
19569 * printing.el (pr-show-setup):
19570 * strokes.el (strokes-help):
19571 * tutorial.el (tutorial--describe-nonstandard-key)
19572 (tutorial--detailed-help):
19573 * woman.el (woman-mini-help, woman-display-extended-fonts):
19574 * calc/calc-help.el (calc-describe-key):
19575 * emulation/edt.el (edt-electric-helpify):
19576 * international/mule-diag.el (mule-diag):
19577 * play/yow.el (apropos-zippy):
19578 * progmodes/python.el (python-describe-symbol):
19579 * progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode):
19580 * textmodes/table.el (*table--cell-describe-mode)
19581 (*table--cell-describe-bindings):
19582 Use help-print-return-message rather than the now obsolete alias.
19584 * calendar/cal-move.el (calendar-cursor-to-nearest-date)
19585 (calendar-cursor-to-visible-date):
19586 * play/5x5.el (5x5-position-cursor):
19587 * play/decipher.el (decipher):
19588 * play/gomoku.el (gomoku-goto-xy):
19589 * play/landmark.el (lm-goto-xy):
19590 * play/mpuz.el (mpuz-paint-errors, mpuz-paint-statistics)
19591 (mpuz-paint-digit):
19592 Use forward-line, not goto-line.
19594 * mail/rmail.el (rmail-obsolete): Delete custom group.
19595 (rmail-pop-password, rmail-pop-password-required): Make into aliases.
19596 (rmail-remote-password, rmail-remote-password-required):
19597 Remove unneeded :set-after and :set properties.
19599 2009-08-21 Michael Albinus <michael.albinus@gmx.de>
19601 * net/dbus.el (top): Initialize only when `dbusbind' is loaded.
19603 2009-08-21 Dan Nicolaescu <dann@ics.uci.edu>
19605 * loadup.el: Remove leftover macos code.
19607 * vc-git.el (vc-git-annotate-command): Run asynchronously.
19608 Explicitly pass the date format to git blame so that user local
19609 so that the output format can be parsed.
19611 2009-08-20 Michael Albinus <michael.albinus@gmx.de>
19613 * net/dbus.el (top): Don't check for (getenv
19614 "DBUS_SESSION_BUS_ADDRESS"). It's done in dbusbind.c now.
19616 2009-08-19 Magnus Henoch <magnus.henoch@gmail.com>
19618 * log-edit.el (log-edit-strip-single-file-name): New var.
19619 (log-edit-insert-changelog): Use it. Bug#3571
19621 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
19623 * subr.el (read-passwd): Use read-key so keypad keys work as well.
19626 * help.el (help-print-return-message): Rename from
19627 print-help-return-message.
19629 * log-view.el (log-view-mode-map): Remove `q' binding, and unreliable
19630 cvs-mode-map parent hack.
19631 (log-view-mode): Derive from special-mode.
19633 * linum.el (linum-mode): window-size-change-functions is redundant.
19634 Adapt to new window-configuration-change-hook behavior.
19635 (linum-after-size, linum-after-config): Remove.
19637 * imenu.el (imenu-example--name-and-position)
19638 (imenu-example--lisp-extract-index-name)
19639 (imenu-example--create-lisp-index, imenu-example--create-c-index):
19642 * progmodes/prolog.el (inferior-prolog-error-regexp-alist): New var.
19643 (inferior-prolog-mode): Use it.
19644 (inferior-prolog-load-file): Reset list of errors.
19646 2009-08-19 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
19648 * language/tibetan.el ("Tibetan"): Fix sample-text entry.
19650 * language/tai-viet.el ("TaiViet"): Fix sample-text entry.
19652 2009-08-19 Michael Albinus <michael.albinus@gmx.de>
19654 * net/dbus.el (top): Apply `dbus-init-bus' only if the session bus
19655 is running already.
19657 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
19659 * subr.el (listify-key-sequence-1): Use normal syntax since those
19660 integers are nowadays always represented by the same (positive) number
19662 (read-key-empty-map): New const.
19663 (read-key-delay): New var.
19664 (read-key): New function.
19665 (force-mode-line-update): Use with-current-buffer.
19666 (locate-user-emacs-file): Don't forget to abbreviate the file name.
19667 (start-process-shell-command, start-file-process-shell-command):
19668 Discourage the use of command-args.
19670 2009-08-19 Glenn Morris <rgm@gnu.org>
19672 * emacs-lisp/authors.el (authors-fixed-entries): Remove cvtmail.
19674 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
19676 * simple.el (choose-completion-string): Don't rely on
19677 minibuffer-completing-file-name and ad-hoc checks to decide whether
19678 to continue completion or not.
19680 * minibuffer.el (minibuffer-hide-completions): New function.
19681 (completion--do-completion): Use it.
19682 (completions-annotations): New face.
19683 (completion--insert-strings): Use it.
19684 (completion-pcm--delim-wild-regex): Add docstring.
19685 (completion-pcm--string->pattern): Add support for 0-width delimiters
19686 in completion-pcm--delim-wild-regex.
19688 2009-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
19690 * international/ucs-normalize.el (ucs-normalize-hfs-nfd-post-read-conversion):
19691 Remove unused var `buffer-modified-p'.
19693 * minibuffer.el (completion--do-completion): Move point for the #b001
19694 case as well (bug#4176).
19695 (minibuffer-complete, minibuffer-complete-word): Don't move point.
19697 2009-08-18 Michael Albinus <michael.albinus@gmx.de>
19699 * net/dbus.el (dbus-init-bus): Declare. Apply it for the :system
19700 and :session buses.
19702 2009-08-18 Kenichi Handa <handa@m17n.org>
19704 * international/ucs-normalize.el (ucs-normalize-version):
19706 (ucs-normalize-hfs-nfd-pre-write-conversion): New function.
19707 (utf-8-hfs): Make it perform normalization on encoding too.
19709 * textmodes/paragraphs.el: Change to utf-8. Adjust coding cookie.
19710 (sentence-end-without-space): Delete duplicated chars.
19711 (sentence-end-base): Likewise.
19713 * textmodes/sgml-mode.el: Change to utf-8. Adjust coding cookie.
19714 (html-mode): Delete duplicated chars from sentence-end-base.
19716 * textmodes/texinfo.el: Change to utf-8. Adjust coding cookie.
19717 (texinfo-mode): Delete duplicated chars from sentence-end-base.
19719 2009-08-17 Chong Yidong <cyd@stupidchicken.com>
19721 * files.el (hack-one-local-variable): If the mode function is for
19722 a minor mode, pass it an argument (Bug#4148).
19724 2009-08-17 Michael Albinus <michael.albinus@gmx.de>
19726 * net/tramp.el (tramp-register-completion-file-name-handler):
19727 Check also for (member 'partial-completion completion-styles).
19729 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
19731 * progmodes/cperl-mode.el (cperl-electric-paren): Don't expand
19734 2009-08-16 Ilya Zakharevich <ilyaz@cpan.org>
19736 * progmodes/cperl-mode.el: Merge upstream 6.2.
19737 (cperl-mode-syntax-table): Modify syntax entry for ["'`].
19738 (cperl-forward-re): Check cperl-brace-recursing.
19739 (cperl-highlight-charclass): New function.
19740 (cperl-find-pods-heres): Use it.
19741 (cperl-fill-paragraph): Synch to save-excursion placement used upstream.
19742 (cperl-beautify-regexp-piece): Fix column calculation.
19743 (cperl-make-regexp-x): Handle case where point is between "q" and "rs".
19744 (cperl-beautify-level): Don't process entire regexp.
19745 (cperl-build-manpage, cperl-perldoc): Bind Man-switches before
19747 (cperl-tips-faces, cperl-mode, cperl-electric-backspace): Doc fix.
19748 (cperl-init-faces): Build a list in the normal way.
19750 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
19752 * calendar/parse-time.el (parse-time-string-chars): Save match
19755 2009-08-16 Stefan Monnier <monnier@iro.umontreal.ca>
19757 * progmodes/sql.el (sql-product-alist): Add :name tag to entries.
19758 (sql-product): Use it.
19759 (sql-mode-menu): Auto-generate the menu based on sql-product-alist.
19760 (sql-set-product): Add completion.
19761 (sql-highlight-oracle-keywords, sql-highlight-postgres-keywords)
19762 (sql-highlight-linter-keywords, sql-highlight-ms-keywords)
19763 (sql-highlight-ansi-keywords, sql-highlight-sybase-keywords)
19764 (sql-highlight-informix-keywords, sql-highlight-interbase-keywords)
19765 (sql-highlight-ingres-keywords, sql-highlight-solid-keywords)
19766 (sql-highlight-mysql-keywords, sql-highlight-sqlite-keywords)
19767 (sql-highlight-db2-keywords): Remove.
19768 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
19769 (sql-highlight-product): Use derived-mode-p.
19770 (sql-set-sqli-buffer): Use with-current-buffer.
19771 (sql-connect-informix, sql-connect-ingres, sql-connect-oracle):
19774 * emacs-lisp/lisp-mode.el (lisp-indent-region): Remove unused function.
19776 * term.el: Fix commenting convention, turn comments into docstrings.
19778 2009-08-16 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
19780 * whitespace.el (whitespace-style): Doc fix (Bug#3661).
19782 2009-08-16 Jan Seeger <jan.seeger@thenybble.de> (tiny change)
19784 * calendar/parse-time.el (parse-time-string-chars): Compute using
19785 character classes, to handle non-ascii characters (Bug#3190).
19787 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
19789 * progmodes/sh-script.el (sh-maybe-here-document): Avoid inserting
19790 another heredoc if the user adds another < (Bug#3226).
19792 * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
19793 Don't initialize based on window-system (Bug#4124).
19795 * facemenu.el (facemenu-read-color): Use a completion function
19796 that accepts any defined color, such as RGB triplets (Bug#3677).
19798 * files.el (get-free-disk-space): Change fallback default
19799 directory to /. Expand DIR argument before switching to fallback.
19800 Suggested by Kevin Ryde (Bug#2631, Bug#3911).
19802 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
19804 * files.el (load-library): Doc fix.
19806 2009-08-15 Michael Kifer <kifer@cs.stonybrook.edu>
19808 * emulation/viper-cmd.el (viper-insert-isearch-string): New function.
19809 (viper-if-string): Redefine C-s in the minibuffer to insert the last
19810 incremental search string.
19812 * ediff-init.el (ediff-coding-system): Use escape-quoted in case of
19815 * ediff-merg.el (ediff-merge-region-is-non-clash-to-skip)
19816 (ediff-merge-region-is-non-clash)
19817 (ediff-skip-merge-region-if-changed-from-default-p): Use defun.
19818 Also check if the job is really a merge job.
19820 * ediff.el (ediff-current-file): New function.
19822 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
19824 * progmodes/js.el: Edit docstrings throughout to follow Emacs
19826 (js-insert-and-indent): Delete function.
19827 (js-mode-map): Don't bind keys to js-insert-and-indent.
19828 (js-beginning-of-defun): Rename from js--beginning-of-defun.
19829 (js-end-of-defun): Rename from js--end-of-defun.
19830 (js-auto-indent-flag): Delete variable.
19832 2009-08-14 Chong Yidong <cyd@stupidchicken.com>
19834 * progmodes/js.el: Remove proclaim statement.
19835 Defvar which-func-imenu-joiner-function to silence compiler.
19837 * files.el (auto-mode-alist): Use js-mode for .js files.
19839 * progmodes/js2-mode.el: Remove file.
19841 * Makefile.in (ELCFILES): Add js.el, and remove js2-mode.el.
19843 * speedbar.el (speedbar-supported-extension-expressions): Add .js.
19845 * progmodes/hideshow.el (hs-special-modes-alist): Add js-mode entry.
19847 2009-08-14 Daniel Colascione <dan.colascione@gmail.com>
19848 Karl Landstrom <karl.landstrom@brgeight.se>
19850 * progmodes/js.el: New file.
19852 2009-08-14 Mark A. Hershberger <mah@everybody.org>
19854 * timezone.el (timezone-parse-date): Add ability to understand ISO
19855 basic format (minimal separators) dates in addition to the
19856 already-supported extended format dates.
19858 2009-08-14 Eli Zaretskii <eliz@gnu.org>
19860 * international/ucs-normalize.el: Add a `coding' file variable.
19862 * Makefile.in (ELCFILES): Add international/ucs-normalize.elc.
19864 2009-08-14 Sam Steingold <sds@gnu.org>
19866 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
19868 2009-08-13 Chong Yidong <cyd@stupidchicken.com>
19870 * faces.el (help-argument-name): Define it here instead of
19871 help-fns.el, because in daemon mode help-fns.el may be loaded when
19872 faces are still uninitialized (Bug#1078).
19874 * help-fns.el (help-argument-name): Move defface to faces.el.
19876 2009-08-13 Nick Roberts <nickrob@snap.net.nz>
19878 * progmodes/gdb-mi.el (gdb-inferior-io-mode): Use start-process to
19879 create buffer with a pty but no process so that GDB can make the
19880 inferior the controlling process.
19882 2009-08-13 Taichi Kawabata <kawabata.taichi@gmail.com>
19884 * international/ucs-normalize.el: New file.
19886 2009-08-13 Richard Stallman <rms@gnu.org>
19888 * mail/rmail.el (rmail-get-attr-names):
19889 Accept an attribute header that is too short.
19891 * mail/rmail.el (rmail-forget-messages):
19892 Ignore nil elt in rmail-message-vector. Use dotimes.
19894 * progmodes/compile.el (compilation-goto-locus):
19895 Use next-error-move-function.
19897 * simple.el (next-error-move-function): New variable.
19899 2009-08-12 Juri Linkov <juri@jurta.org>
19901 * progmodes/grep.el (lgrep): Ensure that `default-directory' is
19902 always non-nil. (Bug#4052)
19904 * replace.el (read-regexp): Return empty string when
19905 `default-value' is nil.
19906 (keep-lines-read-args): Don't use empty string as the
19907 default value for `read-regexp'. (Bug#2495)
19909 2009-08-12 Juri Linkov <juri@jurta.org>
19911 * international/mule-cmds.el (ucs-insert): Change arguments
19912 from `arg' to `character', `count', `inherit' to be the same
19913 as in `insert-char'. Doc fix. (Bug#4039)
19915 * international/mule-conf.el (utf-16be-with-signature): Doc fix.
19917 2009-08-12 Juri Linkov <juri@jurta.org>
19919 * files-x.el: New file.
19921 * files.el: Move code that deals with adding/deleting
19922 file/directory-local variables to files-x.el.
19924 * Makefile.in (ELCFILES): Add files-x.elc.
19926 2009-08-11 Dmitry Dzhus <dima@sphinx.net.ru>
19928 * progmodes/gdb-mi.el (gdb-line-posns): New helper which helps not
19929 to use `goto-line'.
19930 (gdb-place-breakpoints, gdb-get-location): Rewritten without
19932 (gdb-invalidate-disassembly): Do not refresh upon receiving
19933 'update signal. Instead, update all disassembly buffers only after
19935 (gdb): Send -target-detach when buffer is killed (Bug#3794).
19936 (gdb-starting): Move -data-list-register-names...
19937 (gdb-stopped): ...here so it's sent when first thread stops.
19938 (gdb-registers-handler-custom): Do nothing if register names are
19941 * progmodes/gud.el (gud-stop-subjob): Rewritten without macros
19942 from `gdb-mi.el' to avoid extra tangling.
19944 * progmodes/gdb-mi.el (gdb-gud-context-call): Reverting previous
19945 change which breaks `gud-def' definitions used in `gdb'.
19946 (gdb-update-gud-running): No extra fuss for updating frame number.
19948 2009-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
19950 * international/mule-cmds.el (mule-keymap, mule-menu-keymap)
19951 (describe-language-environment-map, setup-language-environment-map)
19952 (set-coding-system-map): Move initialization into declaration.
19953 (set-language-info-alist): Last arg to define-key-after can be skipped.
19955 * international/quail.el (quail-completion-1): Simplify.
19956 (quail-define-rules): Use slightly more compact code.
19957 (quail-insert-decode-map): Propertize keys, compact columns.
19959 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
19962 2009-08-10 Miles Bader <miles@gnu.org>
19964 * progmodes/js2-mode.el (js2-warning, js2-error, js2-jsdoc-tag)
19965 (js2-jsdoc-type, js2-jsdoc-value, js2-function-param)
19966 (js2-instance-member, js2-private-member, js2-private-function-call)
19967 (js2-jsdoc-html-tag-name, js2-jsdoc-html-tag-delimiter)
19968 (js2-magic-paren, js2-external-variable):
19969 Remove "-face" suffix from face names.
19970 (js2-jsdoc-highlight-helper, js2-highlight-jsdoc)
19971 (js2-highlight-undeclared-vars, js2-peek-token)
19972 (js2-parse-function-params, js2-mode-show-errors)
19973 (js2-mode-show-warnings, js2-make-magic-delimiter)
19974 (js2-mode-highlight-magic-parens): Update to use new face names.
19976 2009-08-09 Michael Albinus <michael.albinus@gmx.de>
19978 * net/tramp.el (tramp-get-ls-command-with-dired): New defun.
19979 (tramp-handle-insert-directory): Handle "--dired". (Bug#4075)
19981 2009-08-09 Chong Yidong <cyd@stupidchicken.com>
19983 * subr.el: Provide hashtable-print-readable.
19985 * progmodes/hideshow.el (hs-special-modes-alist): Don't use
19986 hs-c-like-adjust-block-beginning.
19987 (hs-hide-block-at-point): Stop hiding at the beginning of
19988 hs-block-end-regexp (Bug#700).
19990 2009-08-09 Dmitry Dzhus <dima@sphinx.net.ru>
19992 * progmodes/gdb-mi.el (gdb-gud-context-call): Does not need to be
19994 (gdb-registers-handler-custom): Do not fail when register names
19997 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
19999 * progmodes/gdb-mi.el (gdb-control-all-threads)
20000 (gdb-control-current-thread): Interactive setters for
20001 `gdb-gud-control-all-threads' to use in menu.
20002 (gdb-show-run-p): Show «Go» when process is not active.
20003 (gud-tool-bar-map): Add non-stop/A,T indicator.
20004 Uses gud/thread.xpm and gud/all.xpm.
20006 2009-08-08 Yoni Rabkin <yoni@rabkins.net>
20008 * net/net-utils.el (net-utils-font-lock-keywords): New var.
20009 (nslookup-font-lock-keywords): Make it a variable.
20010 (net-utils-mode): New mode for viewing diagnostic network output.
20011 (net-utils-remove-ctrl-m-filter): Set inhibit-read-only.
20012 (net-utils-run-simple): New function.
20013 (ifconfig, iwconfig, netstat, arp, route): Use it.
20015 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
20017 * progmodes/gdb-mi.el (gdb-read-memory-custom)
20018 (gdb-memory-set-address, def-gdb-set-positive-number)
20019 (def-gdb-memory-format, def-gdb-memory-unit): Update memory buffer
20020 after changing settings.
20021 (gdb-invalidate-disassembly): Update when first shown.
20022 (gdb-edit-locals-value): Fixed.
20023 (gdb-registers-handler-custom): Print registers in right order and
20024 allow changing register values (only for current thread yet).
20025 (gdb-breakpoints-mode-map): Don't assume threads buffer is present.
20026 (gdb-threads-mode-map): Don't assume breakpoints buffer is present.
20027 (gdb-disassembly-handler-custom, gdb-stack-list-frames-custom)
20028 (gdb-locals-handler-custom, gdb-registers-handler-custom):
20029 Thread info in mode name.
20030 (gdb-registers-mode-map): TAB to switch to locals.
20032 2009-08-08 Eli Zaretskii <eliz@gnu.org>
20034 * mail/rmail.el (rmail-add-mbox-headers)
20035 (rmail-set-message-counters-counter): Search for
20036 rmail-unix-mail-delimiter instead of just "From ". (Bug#4076)
20038 2009-08-08 Glenn Morris <rgm@gnu.org>
20040 * Makefile.in (ELCFILES): Update.
20042 2009-08-07 Eli Zaretskii <eliz@gnu.org>
20044 * mail/sendmail.el (mail-yank-original):
20045 Set buffer-file-coding-system from the one used by the message whose
20048 * calc/calc-graph.el (calc-graph-plot): Set calc-graph-last-device
20049 to "windows" when "pgnuplot" is used.
20050 (calc-graph-command, calc-gnuplot-command, calc-graph-init):
20051 Don't call accept-process-output if "pgnuplot" is used.
20052 (calc-graph-init): Don't send -display and -geometry to
20053 "pgnuplot". If "pgnuplot" is used, glean gnuplot version by
20054 running "pgnuplot -V" with shell-command-to-string.
20056 * calc/calc.el (calc-gnuplot-name) [windows-nt]: Use "pgnuplot" as
20059 2009-08-07 Eli Zaretskii <eliz@gnu.org>
20061 * Makefile.in (ELCFILES): org/org-export-latex.elc renamed to
20064 2009-08-07 Dan Nicolaescu <dann@ics.uci.edu>
20066 * vc-dispatcher.el (vc-resynch-window): Update comment.
20068 * term.el (term-handle-ansi-escape): Add comments with the
20069 terminfo capabilities implemented.
20071 2009-08-06 Dmitry Dzhus <dima@sphinx.net.ru>
20073 * progmodes/gdb-mi.el (gdb-var-create-regexp): Removed.
20074 (gdb-var-create-handler): Rewritten using JSON parser.
20075 (gdb-propertize-header): Move earlier.
20076 (gdb-set-header): Remove to avoid duplication.
20077 (gdb-thread-list-handler-custom, gdb-invalidate-disassembly):
20078 Refresh disassembly buffers only after threads list have been
20080 (gdb-threads-header, gdb-registers-header): Per-buffer header line
20083 2009-08-04 Juri Linkov <juri@jurta.org>
20085 * files.el: Commands to add/delete file/directory-local variables.
20086 (read-file-local-variable, read-file-local-variable-value)
20087 (read-file-local-variable-mode, modify-file-local-variable)
20088 (modify-file-local-variable-prop-line)
20089 (modify-dir-local-variable): New functions.
20090 (add-file-local-variable, delete-file-local-variable)
20091 (add-file-local-variable-prop-line, delete-file-local-variable-prop-line)
20092 (add-dir-local-variable, delete-dir-local-variable)
20093 (copy-file-locals-to-dir-locals, copy-dir-locals-to-file-locals)
20094 (copy-dir-locals-to-file-locals-prop-line): New commands.
20096 2009-08-04 Chong Yidong <cyd@stupidchicken.com>
20098 * abbrev.el (insert-abbrev-table-description): Prettify output.
20099 Suggested by Karl Chen.
20101 2009-08-04 Dmitry Dzhus <dima@sphinx.net.ru>
20103 * progmodes/gdb-mi.el (gdb-frame-number): Initialize with nil.
20104 (gdb-overlay-arrow-position): Rename to `gdb-disassembly-position'.
20105 (gdb-overlay-arrow-position, gdb-thread-position)
20106 (gdb-disassembly-position): Declare variables.
20107 (gdb-wait-for-pending): Function now.
20108 (gdb-add-subscriber, gdb-delete-subscriber, gdb-get-subscribers)
20109 (gdb-emit-signal, gdb-buf-publisher): Declare before first use so
20110 compilation goes smoothly.
20111 (gdb, gdb-non-stop, gdb-buffers): New customization groups.
20112 (gdb-non-stop-setting): New customization setting which replaces
20113 `gdb-non-stop' so changing it doesn't break active GDB session.
20114 (gdb-stack-buffer-locations, gdb-stack-buffer-addresses)
20115 (gdb-thread-buffer-verbose-names, gdb-thread-buffer-arguments)
20116 (gdb-thread-buffer-locations, gdb-thread-buffer-addresses)
20117 (gdb-show-threads-by-default): New customization options.
20118 (gdb-buffer-type, gdb-buffer-shows-main-thread-p): New helper
20120 (gdb-get-buffer-create): Send buffers update signal when they are
20122 (gdb-invalidate-locals, gdb-invalidate-registers)
20123 (gdb-invalidate-breakpoints)
20124 (gdb-invalidate-threads, gdb-invalidate-disassembly)
20125 (gdb-invalidate-memory): Accept update signal.
20126 (gdb-current-context-command): Use --frame option.
20127 (gdb-update-gud-running, gdb-running, gdb-setq-thread-number):
20128 Implement `gdb-frame-number' selection logic.
20129 (gdb-show-run-p, gdb-show-stop-p): Helper functions which decide
20130 whether to show GUD toolbar buttons.
20131 (gdb-thread-exited): Unselect current thread when it exits.
20132 (gdb-stopped): Typo fixed (now really runs `gdb-stopped-hooks').
20133 (gdb-mark-line): Routine which sets overlay arrow or inverses
20134 video on fringeless displays.
20135 (gdb-table, gdb-table-add-row, gdb-table-string): Structure used
20136 to build aligned columns of data in GDB buffers and set text
20137 properties line-by-line.
20138 (gdb-invalidate-breakpoints)
20139 (gdb-breakpoints-list-handler-custom)
20140 (gdb-thread-list-handler-custom, gdb-disassembly-handler-custom)
20141 (gdb-stack-list-frames-custom, gdb-locals-handler-custom)
20142 (gdb-registers-handler-custom): Align data columns.
20143 (gdb-locals-handler-custom): Now prints data like in variable
20145 (gdb-jump-to, gdb-file-button, gdb-insert-file-location-button):
20146 Remove confusing buttons.
20147 (gdb-invalidate-threads): Append --frame.
20148 (gdb-threads-mode-map, gdb-breakpoints-mode-map): TAB to switch
20149 between breakpoints/threads buffers.
20150 (gdb-set-window-buffer): Now can ignore dedicated windows.
20151 (gdb-propertize-header): Use `gdb-set-window-buffer'.
20152 (def-gdb-thread-buffer-simple-command): Numerous typos fixed.
20153 (def-gdb-thread-buffer-gud-command): Replaces
20154 `def-gdb-thread-buffer-gdb-command' and uses standard GUD commands
20155 for fine thread control.
20156 (gdb-preempt-existing-or-display-buffer): New function used to
20157 display bound buffers without breaking window layout.
20158 (gdb-frame-location): Replaces `gdb-insert-frame-location'.
20159 (gdb-select-frame): New version of `gdb-frames-select' which now
20160 sets `gdb-frame-number' so commands may use --frame option instead
20161 of inner debugger state.
20162 (gdb-frame-handler): Do not set `gdb-frame-number'.
20163 (gdb-threads-mode-map): Select threads with mouse.
20165 * progmodes/gud.el (gdb-gud-context-call): Declare function to
20166 avoid compilation warning.
20167 (gud-menu-map, gud-minor-mode-map): Use `gdb-show-run-p` and
20170 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create):
20171 Argument `key' renamed to `buffer-type'.
20172 (gdb-current-context-buffer-name): Do not add thread info to
20173 buffer name when no thread is selected.
20174 (gdbmi-record-list, gdb-shell): Try to handle GDB `shell'
20175 command (bug 3794).
20176 (gdb-thread-selected): Handle `=thread-selected' notification.
20177 (gdb-wait-for-pending): New macro to deal with congestion problems.
20178 (gdb-breakpoints-list-handler-custom): Don't fail on pending
20180 (gdb-invalidate-disassembly): Use 'fullname instead of 'file.
20181 This fixes problem similar to one described in bug 3947.
20182 (gud-menu-map): More menu items.
20183 (gdb-init-1): Reset `gdb-thread-number' to nil.
20185 * progmodes/gud.el (gud-stop-subjob, gud-menu-map): Respect GDB
20188 * progmodes/gdb-mi.el (gdb-thread-number): Initialize with nil.
20189 (gdb-current-context-command): Do not append --thread if
20190 `gdb-thread-number' is nil.
20191 (gdb-running-threads-count, gdb-stopped-threads-count):
20193 (gdb-non-stop, gdb-gud-control-all-threads, gdb-switch-reasons)
20194 (gdb-stopped-hooks, gdb-switch-when-another-stopped):
20195 New customization options.
20196 (gdb-gud-context-command, gdb-gud-context-call): New wrappers for
20198 (gdb): `gud-def' definitions changed to use `gdb-gud-context-call'.
20199 (gdb-init-1): Activate non-stop mode if `gdb-non-stop' is enabled.
20200 (gdb-setq-thread-number, gdb-update-gud-running): New functions to
20201 set `gdb-thread-number' and update `gud-running' properly.
20202 (gdb-running): Update threads list when new threads appear.
20203 (gdb-stopped): Support non-stop operation and new thread switching
20205 (gdb-jsonify-buffer, gdb-json-read-buffer, gdb-json-string)
20206 (gdb-json-partial-output): New set of JSON routines.
20207 (def-gdb-auto-update-trigger): New `signal-list' optional
20209 (gdb-thread-list-handler-custom): Update `gud-running',
20210 `gdb-stopped-threads-count' and `gdb-running-threads-count'.
20211 (def-gdb-thread-buffer-gdb-command, gdb-interrupt-thread)
20212 (gdb-continue-thread, gdb-step-thread): New commands for fine
20213 thread execution control.
20214 (gud-menu-map): New menu items to switch non-stop options.
20215 (gdb-reset): Cleanup `gdb-thread-position' overlay arrow marker.
20216 (gdb-send): Mimic RET properly (bug 3794).
20218 * progmodes/gdb-mi.el (gdb-rules-name-maker)
20219 (gdb-rules-buffer-mode, gdb-rules-update-trigger): Accessors for
20221 (def-gdb-auto-update-handler): New nopreserve optional argument.
20222 (gdb-stack-list-frames-custom): Print stack from top to bottom.
20224 * progmodes/gdb-mi.el (gdb-pc-address): Remove unused variable.
20225 (gdb-threads-list, gdb-breakpoints-list): New assoc lists.
20226 (gdb-parent-mode): New mode to derive other GDB modes from.
20227 (gdb-display-disassembly-for-thread)
20228 (gdb-frame-disassembly-for-thread): New commands for threads
20231 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create)
20232 (gdb-init-1, gdb-bind-function-to-buffer, gdb-add-subscriber)
20233 (gdb-get-subscribers, gdb-emit-signal, gdb-buf-publisher)
20234 (gdb-update): We now store all GDB buffers in a list so that they
20235 can be updated by traversing a list instead of calling invalidate
20236 triggers explicitly.
20237 (def-gdb-trigger-and-handler): New macro to define trigger-handler
20238 pair for GDB buffer.
20239 (gdb-stack-buffer-name): Add thread information.
20240 (gdb-add-pending, gdb-pending-p, gdb-delete-pending): Macros to
20241 handle pending triggers.
20242 (gdb-threads-mode-map, def-gdb-thread-buffer-command)
20243 (def-gdb-thread-buffer-simple-command)
20244 (gdb-display-stack-for-thread, gdb-display-locals-for-thread)
20245 (gdb-display-registers-for-thread, gdb-frame-stack-for-thread)
20246 (gdb-frame-locals-for-thread, gdb-frame-registers-for-thread):
20247 New commands which show buffers bound to thread.
20248 (gdb-stack-list-locals-regexp): Remove unused regexp.
20250 * progmodes/gdb-mi.el (gdb-breakpoints-buffer-name)
20251 (gdb-locals-buffer-name, gdb-registers-buffer-name)
20252 (gdb-memory-buffer-name, gdb-stack-buffer-name): Do not switch
20253 to (gud-comint-buffer) in *-buffer-name functions
20254 because (gdb-get-target-string) already does that.
20255 (gdb-locals-handler-custom, gdb-registers-handler-custom)
20256 (gdb-changed-registers-handler): Rewritten without regexps.
20258 * progmodes/gdb-mi.el: Basic thread selection support.
20259 (gdb-thread-number): New variable.
20260 (gdb-current-context-command): New macro which adds --thread
20262 (gdb-threads-mode-map): Select thread with SPC.
20263 (gdb-thread-list-handler-custom): Mark current thread with overlay
20264 arrow. Synchronize GDB thread and Emacs thread.
20265 (gdb-select-thread): New command which selects current thread.
20266 (gdb-invalidate-frames, gdb-invalidate-locals)
20267 (gdb-invalidate-registers): Use --thread option.
20269 2009-08-04 Michael Albinus <michael.albinus@gmx.de>
20271 * net/tramp.el (top): Make check for tramp-gvfs loading more
20273 (tramp-handle-insert-file-contents): `unwind-protect' must be
20274 inside `with-parsed-tramp-file-name'.
20276 * net/tramp-gvfs.el (top): Remove superfluous message when loading
20279 2009-08-03 Nick Roberts <nickrob@snap.net.nz>
20281 * progmodes/gud.el (jdb): Set gud-jdb-classpath-string to current
20282 directory if CLASSPATH is not set.
20284 2009-08-03 Michael Albinus <michael.albinus@gmx.de>
20286 * net/tramp.el (tramp-rfn-eshadow-update-overlay-regexp):
20288 (tramp-rfn-eshadow-update-overlay): Use it. (Bug#4004)
20290 2009-08-02 Kevin Ryde <user42@zip.com.au>
20292 * net/newst-backend.el (newsticker--raw-url-list-defaults):
20293 Update freshmeat link. Delete newsforge.com as it seems gone.
20295 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
20297 * select.el (x-set-selection): Doc fix (Bug#4021).
20299 * w32-fns.el (x-set-selection): Doc fix (Bug#4021).
20301 * help-fns.el (describe-variable): Treat list return values from
20302 dir-locals-find-file properly (Bug#4005).
20304 2009-08-02 Julian Scheid <julians37@googlemail.com> (tiny change)
20306 * net/tramp.el (tramp-debug-message): Print also microseconds.
20308 2009-08-02 Michael Albinus <michael.albinus@gmx.de>
20310 * net/tramp.el (tramp-handle-insert-file-contents): Optimize, when BEG
20312 (tramp-handle-vc-registered): Use `tramp-cache-inhibit-cache'.
20313 (tramp-get-debug-buffer): Change `outline-regexp' according to new
20316 * net/tramp-cache.el (tramp-cache-inhibit-cache): New defvar.
20317 (tramp-get-file-property): Use it.
20319 * autorevert.el (auto-revert-handler):
20320 Allow `auto-revert-tail-mode' for remote files.
20322 2009-08-02 Jason Rumney <jasonr@gnu.org>
20324 * minibuffer.el (read-file-name): Treat confirm options to
20325 MUSTMATCH as nil when invoking x-file-dialog. (Bug#3969)
20327 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
20329 * font-lock.el (font-lock-string-face, font-lock-builtin-face)
20330 (font-lock-variable-name-face, font-lock-constant-face):
20331 Darken the colors for light backgrounds.
20333 2009-08-01 Eli Zaretskii <eliz@gnu.org>
20335 * mail/rmailsum.el (rmail-header-summary): Ignore letter-case of
20336 month names. (Bug#3987)
20338 2009-07-31 Chong Yidong <cyd@stupidchicken.com>
20340 * simple.el (line-move-finish): Pass whole number to
20341 line-move-to-column.
20342 (line-move-visual): Perform hscroll to the recorded position.
20344 2009-07-30 Jay Belanger <jay.p.belanger@gmail.com>
20346 * calc/calc-mode.el (calc-matrix-brackets): Remove "P" from prompt.
20348 2009-07-29 Alan Mackenzie <acm@muc.de>
20350 * progmodes/cc-defs.el (c-version): Bump to 5.31.7.
20352 2009-07-29 Dmitry Dzhus <dima@sphinx.net.ru>
20354 * progmodes/gdb-mi.el (gdb-goto-breakpoint)
20355 (gdb-place-breakpoints): Use full path when setting breakpoints.
20357 2009-07-29 Jay Belanger <jay.p.belanger@gmail.com>
20359 * calc/calc.el (calc-mode-map): Add keybinding for
20360 `calc-transpose-lines'.
20362 2009-07-29 Vincent Belaïche <vincent.belaiche@gmail.com>
20364 * calc/calc-misc.el (calc-transpose-lines): New function.
20366 2009-07-28 Michael Albinus <michael.albinus@gmx.de>
20368 * net/tramp.el (tramp-do-copy-or-rename-file): Add messages.
20369 Simplify check for out-of-band methods.
20370 (tramp-do-copy-or-rename-file-out-of-band): Allow both files to be
20371 remote. Remove messages which are in `tramp-do-copy-or-rename-file'.
20373 2009-07-28 Dan Nicolaescu <dann@ics.uci.edu>
20375 * vc-git.el (vc-git-checkin): Fix typo.
20377 2009-07-28 Steve Yegge <steve.yegge@gmail.com>
20379 * progmodes/js2-mode.el: New file.
20381 2009-07-28 Nick Roberts <nickrob@snap.net.nz>
20383 * progmodes/gud.el (jdb): Add gud-pstar to dump object information.
20384 (gud-menu-map): Adjust tooltip accordingly.
20386 2009-07-27 Dan Nicolaescu <dann@ics.uci.edu>
20388 * vc-bzr.el (vc-bzr-print-log): Pass multiple arguments to bzr log.
20389 (vc-bzr-log-view-mode): Adjust log-view-file-re.
20391 * add-log.el (change-log-mode-map): Add a menu.
20393 2009-07-27 Michael Albinus <michael.albinus@gmx.de>
20395 * net/dbus.el (dbus-call-method-non-blocking): Handle the case the
20396 function returns nil.
20397 (dbus-handle-event): Handle special return value :ignore.
20398 Reported by Jan Moringen <jan.moringen@uni-bielefeld.de>.
20400 2009-07-26 Chong Yidong <cyd@stupidchicken.com>
20402 * view.el (view-mode-enable): Don't define Helper-return-blurb if
20405 2009-07-25 Eli Zaretskii <eliz@gnu.org>
20409 * w32-vars.el (x-select-enable-clipboard): Doc fix.
20411 * term/pc-win.el (x-display-name, x-colors)
20412 (x-select-enable-clipboard, x-select-text): Doc fix.
20414 * term/common-win.el (x-display-name, x-colors): Doc fix.
20416 * term/ns-win.el (x-select-text, x-setup-function-keys, x-colors)
20417 (xw-defined-colors): Doc fix.
20419 * w32-fns.el (x-select-text, x-setup-function-keys)
20420 (x-get-selection, x-set-selection): Doc fix.
20422 * term/x-win.el (x-select-text, x-setup-function-keys)
20423 (x-select-enable-clipboard, xw-defined-colors): Doc fix.
20425 * select.el (x-set-selection): Doc fix.
20427 2009-07-25 Michael Albinus <michael.albinus@gmx.de>
20429 * net/zeroconf.el (zeroconf-init): Check for "GetVersionString"
20430 instead of "IsNSSSupportAvailable". Avahi ought to work also when
20431 "IsNSSSupportAvailable" method is not available.
20432 Reported by Steve Youngs <steve@sxemacs.org>.
20434 2009-07-24 Kenichi Handa <handa@m17n.org>
20436 * international/characters.el: Fix setting of category ?C, ?|, ?K,
20437 and ?H. Fix setting of case for Latin Extended and Greek Extended.
20438 (build-unicode-category-table): Fix range checks.
20440 2009-07-24 Dan Nicolaescu <dann@ics.uci.edu>
20442 * vc-dispatcher.el (vc-resynch-buffers-in-directory): Make sure
20443 the buffer we try to sync is current when calling
20446 * vc-dir.el (vc-dir-resynch-file): Make sure vc-dir-update does
20447 not show up to date files.
20449 2009-07-24 Glenn Morris <rgm@gnu.org>
20451 * emacs-lisp/elint.el (elint-current-buffer, elint-defun):
20452 Add autoload cookies. If necessary, initialize.
20453 (elint-log): Handle non-file buffers.
20454 (elint-initialize): Add optional argument to reinitialize.
20455 (elint-find-builtin-variables): Save excursion.
20457 2009-07-23 Dan Nicolaescu <dann@ics.uci.edu>
20459 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
20462 2009-07-22 Dan Nicolaescu <dann@ics.uci.edu>
20464 * vc.el (vc-print-log-internal): New function, split out from ...
20465 (vc-print-log): ... here.
20466 (vc-dir-move-to-goal-column): Declare.
20468 * vc-git.el (vc-git-add-signoff): New variable.
20469 (vc-git-checkin): Use it.
20470 (vc-git-toggle-signoff): New function.
20471 (vc-git-extra-menu-map): Bind it to menu.
20472 (vc-git--run-command-string): Accept a nil FILE argument.
20473 (vc-git-stash-list): New function.
20474 (vc-git-dir-extra-headers): Use it.
20476 2009-07-23 Glenn Morris <rgm@gnu.org>
20478 * help-fns.el (describe-variable): Describe ignored and risky local
20479 variables in a similar way to that in which we describe safe ones.
20481 * emacs-lisp/bytecomp.el (byte-compile-from-buffer)
20482 (byte-compile-output-file-form, byte-compile-output-docform)
20483 (byte-compile-file-form-defmumble, byte-compile-output-as-comment):
20484 Give some more local variables with common names a "bytecomp-" prefix,
20485 so as not to shadow things during compilation.
20486 * emacs-lisp/cl-macs.el (load-time-value)
20487 * emacs-lisp/cl.el (cl-compiling-file): Update for the name-change
20488 `outbuffer' to `bytecomp-outbuffer'.
20490 * emacs-lisp/elint.el (elint-standard-variables): Remove most members,
20491 since the next two variables cover them automatically now.
20492 (elint-builtin-variables, elint-autoloaded-variables): New.
20493 (elint-unknown-builtin-args): Remove all members, since they can be
20494 parsed automatically now.
20495 (elint-extra-errors): New.
20496 (elint-env-add-env, elint-env-add-macro): Use cadr.
20497 (elint-current-buffer): Use or. Change final message.
20498 (elint-get-top-forms): Use line-end-position.
20499 (elint-init-env): Use cadr. Handle autoload, declare-function,
20501 (elint-add-required-env): Doc fix. Use or. Standardize error.
20502 (regexp-assoc): Remove unused function.
20503 (elint-top-form): Set elint-current-pos, to record the start of the
20504 top-level form, for compilation-mode.
20505 (elint-form): Trap errors in macro expansion. Use dolist.
20506 (elint-unbound-variable): Use elint-builtin-variables and
20507 elint-autoloaded-variables.
20508 (elint-get-args): Use cadr, or.
20509 (elint-check-cond-form): Use dolist, cadr.
20510 (elint-check-condition-case-form): Doc fix. Use cadr.
20511 Use elint-extra-errors.
20512 (elint-log): New function.
20513 (elint-error, elint-warning): Use elint-log for a bytecomp-style format.
20514 Distinguish errors and warnings.
20515 (elint-log-message): Use with-current-buffer. Inhibit read-only.
20516 Use a bytecomp-style format.
20517 (elint-clear-log): Preserve default-directory. Inhibit read-only.
20518 (elint-get-log-buffer): Use compilation mode. Disable undo.
20519 Don't truncate lines.
20520 (elint-initialize): Set builtin and autoloaded variable lists.
20521 Only process elint-unknown-builtin-args if non-nil.
20522 (elint-find-builtin-variables, elint-find-autoloaded-variables):
20524 (elint-find-builtin-args): Doc fix. Handle "BODY...)".
20526 2009-07-22 Kevin Ryde <user42@zip.com.au>
20528 * net/newst-backend.el (newsticker--parse-atom-1.0)
20529 (newsticker--parse-rss-0.91, newsticker--parse-rss-0.92)
20530 (newsticker--parse-rss-1.0):
20531 * progmodes/idlwave.el (idlwave-mode):
20532 * progmodes/idlw-shell.el (idlwave-shell-mode):
20533 * progmodes/vera-mode.el (vera-mode):
20534 * progmodes/verilog-mode.el (verilog-auto-inst, verilog-auto):
20535 * progmodes/vhdl-mode.el (vhdl-mode):
20536 * textmodes/table.el (table-generate-source)
20537 (table--warn-incompatibility):
20538 Hyperlink urls in docstrings with URL `...'.
20540 2009-07-22 Glenn Morris <rgm@gnu.org>
20542 * emacs-lisp/advice.el, emacs-lisp/checkdoc.el:
20543 * emacs-lisp/debug.el, emacs-lisp/elp.el, emacs-lisp/gulp.el:
20544 * emacs-lisp/lisp.el, emacs-lisp/pp.el, emacs-lisp/trace.el:
20545 Remove leading * from defcustom docs.
20547 * simple.el (blink-matching-paren-distance): Bump to 100k. (Bug#3889)
20549 * emacs-lisp/shadow.el (shadows-compare-text-p): Remove leading * from
20551 (list-load-path-shadows): Optionally, just return shadows as a string.
20553 * mail/emacsbug.el (report-emacs-bug): Include any load-path shadows.
20555 2009-07-21 Chong Yidong <cyd@stupidchicken.com>
20557 * mail/rmailedit.el (rmail-edit-mode):
20558 Use auto-save-include-big-deletions.
20560 * mail/rmail.el (rmail-variables):
20561 Use auto-save-include-big-deletions.
20563 * files.el (auto-save-mode): Revert 2009-07-21 and 2009-07-16
20566 2009-07-21 Jay Belanger <jay.p.belanger@gmail.com>
20568 * calc/calc.el (calc-undo-length): New variable.
20569 (calc-quit): Truncate rather than eliminate `calc-undo-list'.
20571 2009-07-21 Richard Stallman <rms@gnu.org>
20573 * files.el (auto-save-mode): Handle buffer-save-size = -2
20576 2009-07-21 Glenn Morris <rgm@gnu.org>
20578 * textmodes/ispell.el (ispell-looking-back): Update declaration.
20580 * calendar/todo-mode.el (calendar-current-date): Update declaration.
20582 * ps-print.el (ps-jitify, ps-lazify): Remove aliases only used to
20583 silence compiler. Instead...
20584 (jit-lock-fontify-now, lazy-lock-fontify-region): ...Declare.
20585 (ps-print-ensure-fontified): Update for above function name changes.
20587 * printing.el (pr-mh-get-msg-num, pr-mh-show)
20588 (pr-mh-start-of-uncleaned-message): Remove aliases only used to
20589 silence compiler. Instead...
20590 (mh-get-msg-num, mh-show, mh-start-of-uncleaned-message): ...Declare.
20591 (mh-show-buffer): Only define for compiler.
20592 (pr-mh-current-message): Update for above function name changes.
20594 * files.el (abort-if-file-too-large): Explicitly pass `filename'
20596 (find-file-noselect, insert-file-1): Update for above change.
20598 * mail/rmail.el (rmail-retry-ignored-headers): Bump :version.
20600 * mail/mailclient.el (mailclient-send-it): Fix message.
20602 * emacs-lisp/edebug.el (cl-debug-env): Only define for compiler.
20603 (edebug-eval): Check cl-debug-env is bound.
20604 (print-level, print-circle): Don't redefine built-in variables.
20606 * emacs-lisp/cust-print.el: Remove leading * from defcustom docs.
20607 (custom-print-vectors): Remove old comments from doc.
20609 * emerge.el (menu-bar-emerge-menu): Remove unused variable.
20610 (emerge-version): Make the variable an obsolete alias for the
20611 emacs-version variable. Make the function obsolete.
20612 (emerge-fast-keymap, emerge-edit-keymap): Make a separate menu for
20613 Emerge options, rather than merging in into the main Options menu.
20614 (emerge-options-menu): Adjust menu text. Use buttons for skip prefers
20615 and auto advance modes. Disable edit/fast items when not relevant.
20617 2009-07-20 Dan Nicolaescu <dann@ics.uci.edu>
20619 * term/vt420.el (terminal-init-vt420): Fix typo.
20621 2009-07-20 Sam Steingold <sds@gnu.org>
20623 * progmodes/ada-mode.el (compile-auto-highlight): Remove the
20624 variable (removed from compile.el on 2004-03-11).
20626 2009-07-20 Chong Yidong <cyd@stupidchicken.com>
20628 * files.el (hack-local-variables-filter): Fix last change.
20630 2009-07-19 Juri Linkov <juri@jurta.org>
20632 * files.el (ignored-local-variables): Add `dir-local-variables-alist'.
20633 (dir-local-variables-alist): New buffer-local variable.
20634 (hack-local-variables-filter): If variable is not dir-local,
20635 i.e. `dir-name' is nil, then remove it from `dir-local-variables-alist',
20636 because file-local overrides dir-local.
20637 (c-postprocess-file-styles) <declare-function>:
20638 Remove obsolete declaration.
20639 (hack-dir-local-variables): Add dir-local variable/value pair to
20640 `dir-local-variables-alist' and remove duplicates. Doc fix.
20642 * help-fns.el (describe-variable): Add information about
20643 file-local and dir-local variables.
20645 2009-07-19 Chong Yidong <cyd@stupidchicken.com>
20647 * files.el (hack-local-variables-filter): Rewrite.
20649 2009-07-19 Glenn Morris <rgm@gnu.org>
20651 * progmodes/verilog-mode.el (verilog-error-regexp-add-xemacs):
20652 Silence compiler by only defining on XEmacs.
20654 * international/mule.el (auto-coding-regexp-alist): Only match
20655 BABYL... at the start of buffer, not of lines. (Bug#3790)
20657 * calendar/cal-menu.el (cal-menu-set-date-title): Handle calls from
20658 non-calendar buffers (Bug#3862). Restore "not on a date" message.
20659 (cal-menu-context-mouse-menu): Doc fix.
20661 * desktop.el (desktop-buffers-not-to-save): Set :version tag.
20663 * simple.el (mail-user-agent): Doc fix. Set :version tag.
20665 2009-07-18 Juri Linkov <juri@jurta.org>
20667 * info.el: Virtual Info keyword finder.
20668 (add-to-list) <Info-virtual-files>: Add "\\`\\*Finder.*\\*\\'".
20669 (Info-finder-file): New variable.
20670 (Info-finder-find-file): New function.
20671 (finder-known-keywords, finder-package-info)
20672 (find-library-name, lm-commentary): Use defvar and
20673 declare-function to silence compiler warnings.
20674 (Info-finder-find-node): New function.
20675 (info-finder): New command.
20677 * subr.el (process-kill-buffer-query-function): New function.
20678 (add-hook)<kill-buffer-query-functions>: Add hook
20679 `process-kill-buffer-query-function'.
20681 2009-07-18 Alan Mackenzie <acm@muc.de>
20683 * progmodes/cc-mode.el (c-before-hack-hook)
20684 (c-postprocess-file-styles): Give invocation of `c-set-style'
20685 DONT-OVERRIDE parameter of t. Already set style variables will
20686 thus not be overridden by style settings given by `c-file-syle'.
20688 * files.el (hack-local-variables-filter): Remove entries with
20689 duplicate keys from `file-local-variables-alist'.
20691 2009-07-18 Eli Zaretskii <eliz@gnu.org>
20693 * simple.el (deactivate-mark, activate-mark, set-mark): Don't call
20694 x-set-selection if display-selections-p returns nil for the
20697 2009-07-18 Chong Yidong <cyd@stupidchicken.com>
20699 * simple.el (region-active-p, use-region-p): Doc fix (Bug#3873).
20701 2009-07-18 Eli Zaretskii <eliz@gnu.org>
20703 * desktop.el (desktop-buffers-not-to-save): Default value is nil.
20704 Accept nil in addition to a regexp.
20705 (desktop-files-not-to-save): Add "(ftp)$" to the default regexp.
20706 Accept nil in addition to a regexp.
20707 (desktop-save-buffer-p): Don't use desktop-buffers-not-to-save for
20708 buffers that have an associated file. Handle nil values of
20709 desktop-buffers-not-to-save and desktop-files-not-to-save.
20712 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
20713 (x-disown-selection-internal): New functions.
20715 2009-07-18 Nick Roberts <nickrob@snap.net.nz>
20717 * progmodes/gdb-mi.el (speedbar-frame): Declare to avoid compiler
20719 (gdb-breakpoints-header): Move forward to avoid compiler warning.
20720 (gdb-make-header-line-mouse-map): Remove duplicate definition.
20722 2009-07-18 David De La Harpe Golden <david@harpegolden.net>
20724 * simple.el (set-mark): Revert last change.
20726 2009-07-17 Tassilo Horn <tassilo@member.fsf.org>
20728 * doc-view.el (doc-view-initiate-display): Add yes-or-no-p if
20729 rendering of pngs is not possible instead of messaging a long
20732 2009-07-17 David De La Harpe Golden <david@harpegolden.net>
20734 * w32-fns.el (x-selection-owner-p): New function.
20736 * mouse.el (mouse-drag-track): Call deactivate-mark earlier.
20737 (mouse-yank-at-click, mouse-yank-primary):
20738 If select-active-regions is non-nil, deactivate the mark before
20741 * simple.el (deactivate-mark, set-mark): Only save selection if we
20744 2009-07-17 Kenichi Handa <handa@m17n.org>
20746 * case-table.el (describe-buffer-case-table): Fix for the case
20747 that KEY is a cons.
20749 2009-07-16 Dan Nicolaescu <dann@ics.uci.edu>
20751 * vc-rcs.el (vc-rcs-find-file-hook):
20752 * vc-sccs.el (vc-sccs-find-file-hook): Fix cut and paste error.
20754 2009-07-16 Michael Albinus <michael.albinus@gmx.de>
20756 * net/tramp.el (tramp-wait-for-output): Handle the case when
20757 commands do not return a newline but a null byte before the shell
20760 2009-07-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
20762 * term/ns-win.el (ns-set-alpha): Don't declare.
20763 (ns-set-background-alpha): Remove function.
20765 2009-07-16 Kevin Ryde <user42@zip.com.au>
20767 * emacs-lisp/copyright.el (copyright-update): Save match-data across
20768 y-or-n-p, for safety.
20770 2009-07-16 Richard Stallman <rms@gnu.org>
20772 * files.el (auto-save-mode): If buffer-saved-size is -2,
20775 * mail/rmail.el (rmail-variables): Set buffer-saved-size to -2.
20776 (rmail-retry-ignored-headers): Add more uninteresting fields.
20778 2009-07-15 Jari Aalto <jari.aalto@cante.net>
20780 * net/rcirc.el (rcirc): Use history variables.
20781 (rcirc-server-name-history, rcirc-nick-name-history)
20782 (rcirc-server-port-history): New variables.
20784 2009-07-15 Kenichi Handa <handa@m17n.org>
20786 * international/mule-cmds.el (set-language-environment-charset):
20787 If coding-system-charset-list returns `iso-2022' or `emacs-mule',
20790 * language/misc-lang.el ("IPA"): Change coding systems to utf-8.
20791 Delete unibyte-display.
20793 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
20795 * simple.el (kill-visual-line): Obey kill-whole-line (Bug#3695).
20797 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
20799 * simple.el (deactivate-mark): Optional argument FORCE.
20800 (set-mark): Use deactivate-mark.
20802 * info.el (Info-search): No need to check transient-mark-mode
20803 before calling deactivate-mark.
20805 * select.el (x-set-selection): Doc fix.
20806 (x-valid-simple-selection-p): Allow buffer values.
20807 (xselect--selection-bounds): Handle buffer values.
20808 Suggested by David De La Harpe Golden.
20810 * mouse.el (mouse-set-region, mouse-drag-track):
20811 Call copy-region-as-kill before setting the mark, to let
20812 select-active-regions work.
20814 2009-07-15 David De La Harpe Golden <david@harpegolden.net>
20816 * simple.el (deactivate-mark): If select-active-regions is
20817 non-nil, copy the selection data into a string.
20818 (activate-mark): If select-active-regions is non-nil, set the
20819 selection to the current buffer.
20820 (set-mark): Update selection if select-active-regions is non-nil.
20822 * select.el (x-valid-simple-selection-p): Allow buffer values.
20824 2009-07-14 Stefan Monnier <monnier@iro.umontreal.ca>
20826 * simple.el (mail-user-agent): Default to the upwardly-UI-compatible
20827 and more featureful message-mode.
20829 2009-07-14 Chong Yidong <cyd@stupidchicken.com>
20831 * select.el (x-set-selection): Doc fix.
20832 (x-valid-simple-selection-p): Disallow selection data consisting
20833 of a list or cons of integers, since that is not used.
20834 (xselect--selection-bounds, xselect--int-to-cons): New functions.
20835 (xselect-convert-to-string, xselect-convert-to-length)
20836 (xselect-convert-to-filename, xselect-convert-to-charpos)
20837 (xselect-convert-to-lineno, xselect-convert-to-colno): Use them.
20839 2009-07-14 Dmitry Dzhus <dima@sphinx.net.ru>
20841 * progmodes/gdb-mi.el (json-partial-output): Fix broken GDB/MI
20842 output in -break-info command (Emacs bug #3794).
20844 2009-07-14 Glenn Morris <rgm@gnu.org>
20846 * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-forms)
20847 (edebug-eval-macro-args, edebug-save-displayed-buffer-points)
20848 (edebug-print-length, edebug-print-level, edebug-print-circle)
20849 (edebug-sit-for-seconds, edebug-view-outside)
20850 (edebug-bounce-point, edebug-set-global-break-condition)
20851 (edebug-Go-nonstop-mode, edebug-trace-mode)
20852 (edebug-Trace-fast-mode, edebug-continue-mode)
20853 (edebug-Continue-fast-mode, edebug-forward-sexp, edebug-help)
20854 (edebug-visit-eval-list): Doc fixes.
20856 * subr.el (def-edebug-spec): Doc fix.
20858 2009-07-14 Kenichi Handa <handa@m17n.org>
20860 * international/characters.el: Fix setting of category ?C.
20862 2009-07-13 Jan Djärv <jan.h.d@swipnet.se>
20864 * term/ns-win.el (x-select-font): defalias x-select-font to
20865 ns-popup-font-panel instead of generate-fontset-menu.
20867 2009-07-12 Eli Zaretskii <eliz@gnu.org>
20869 * desktop.el (desktop-buffers-not-to-save): Remove ".log". (Bug#3833)
20871 2009-07-12 Peter Jolly <peter@jollys.org> (tiny change)
20873 * arc-mode.el (archive-find-type): Allow for a PK00 string before
20874 the PK\003\004 header (Bug#3770).
20876 2009-07-12 Guanpeng Xu <herberteuler@hotmail.com>
20878 * pcomplete.el (pcomplete-comint-setup): Check for
20879 shell-dynamic-complete-filename too.
20881 2009-07-11 Chong Yidong <cyd@stupidchicken.com>
20883 * simple.el (temporary-goal-column): Change the value for
20884 line-move-visual to a cons cell.
20885 (line-move-visual): Record or set the window hscroll, if
20886 necessary (Bug#3494).
20887 (line-move-1): Handle cons value of temporary-goal-column.
20889 2009-07-11 Kenichi Handa <handa@m17n.org>
20891 * international/mule-diag.el (describe-character-set): Don't show
20894 2009-07-10 Sam Steingold <sds@gnu.org>
20896 * progmodes/compile.el (compilation-mode-font-lock-keywords):
20897 Omake sometimes indents the errors it prints, so allow all
20898 regexps to start with spaces.
20900 2009-07-10 Eli Zaretskii <eliz@gnu.org>
20902 * cus-edit.el (customize-changed-options-previous-release):
20903 Bump value to 22.1. (Bug#3804)
20905 2009-07-08 Sam Steingold <sds@gnu.org>
20907 * progmodes/grep.el (rgrep): Allow grep-find-ignored-directories
20908 to be a cons cell (test . ignored-directory) to selectively ignore
20909 some directories depending on the location of the search.
20911 2009-07-08 Michael Albinus <michael.albinus@gmx.de>
20913 * net/tramp.el (tramp-set-file-uid-gid): Handle the case the
20914 remote user is root, on the local host.
20915 (tramp-local-host-p): Either the local user or the remote user
20916 must be root. (Bug#3771)
20918 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
20920 * progmodes/gdb-mi.el (gdb): Remove description of
20921 gdb-use-separate-io-buffer.
20922 (menu): Don't allow toggling of or enable
20923 gdb-use-separate-io-buffer from menubar.
20925 2009-07-08 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
20927 * mail/unrmail.el (unrmail): Make sure the message ends with two
20928 newlines (Bug#3769).
20930 2009-07-08 Glenn Morris <rgm@gnu.org>
20932 * calendar/calendar.el (calendar-current-date): Rework previous change.
20934 2009-07-08 Ed Reingold <reingold@emr.cs.iit.edu>
20936 * calendar/calendar.el (calendar-current-date):
20937 Add an optional argument giving an offset from today.
20939 2009-07-08 Glenn Morris <rgm@gnu.org>
20941 * tutorial.el (tutorial--describe-nonstandard-key):
20942 Adjust the message for when a key has been unbound.
20943 (help-with-tutorial): Hide the arch-tag.
20945 2009-07-08 Kenichi Handa <handa@m17n.org>
20947 * international/fontset.el (setup-default-fontset): For each
20948 script, append (not set) font-specs.
20950 * language/japanese.el (japanese-shift-jis-2004): Fix typo in the
20953 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
20955 * progmodes/gdb-mi.el (gdb-init-1): Move sending
20956 -data-list-register-names to ...
20957 (gdb-starting): ... here because GDB 7.0 requires execution to
20958 have started when using this MI command.
20959 (gdb-set-header): New function to distinguish select and
20960 unselected tabs in gdb buffers.
20961 (gdb-propertize-header): New macro that uses gdb-set-header.
20962 (gdb-breakpoints-header, gdb-locals-header): Use it.
20963 (gdb-disassembly-mode-map): Add keybinding to kill buffer.
20965 2009-07-07 Chong Yidong <cyd@stupidchicken.com>
20967 * Makefile.in (ELCFILES): Remove fadr.elc.
20969 2009-07-07 Dmitry Dzhus <dima@sphinx.net.ru>
20971 * progmodes/gdb-mi.el (gdb-init-1): Disassembly buffer mode name
20972 may contain frame information, so `string-match' should be used.
20973 (gdb-update): Disassembly is invalidated through
20974 `gdb-get-selected-frame'.
20975 (gdb-pad-string): New function to pad string with spaces.
20976 (gdb-invalidate-disassembly): Invalidate only if the buffer
20978 (gdb-disassembly-handler-custom): Column alignment.
20979 (gdb-disassembly-place-breakpoints): Clear old breakpoints before
20981 (gdb-toggle-breakpoint, gdb-delete-breakpoint): Now work from the
20983 (gdb-frame-handler): Match convention to for disassembly buffer
20985 (gdb-stack-list-frames-handler): Rewritten without regexps.
20986 (gdb-breakpoints-list-handler-custom): y/n instead of on/off; do
20987 not highlight breakpoints without line information.
20988 (gdb-input): Add trailing newline to command.
20990 * progmodes/gdb-mi.el (gdb-init-1): Set mode name for disassembly
20992 (gdb-breakpoints-list-handler-custom): Replacement for
20993 `gdb-break-list-handler'. Using real parser instead of regexps
20995 (gdb-place-breakpoints): Replacement for `gdb-break-list-custom'.
20996 Use `gdb-breakpoints-list' instead of parsing breakpoints buffer
20997 to place breakpoints.
20998 (def-gdb-memory-unit): A new macro to define gdb-memory-unit-..
21000 (gdb-disassembly-handler-custom): Show overlay arrow.
21001 (gdb-disassembly-place-breakpoints): Show breakpoints in
21002 disassembly buffer.
21003 (gdb-toggle-breakpoint, gdb-delete-breakpoint)
21004 (gdb-goto-breakpoint): Using `gdb-breakpoint' text properties
21005 instead of parsing breakpoints buffer. Fixed old menu references
21010 * progmodes/gdb-mi.el: Port memory buffer from gdb-ui.el.
21011 (gdb-memory-address): New variable which holds top address of
21012 memory page shown in memory buffer.
21013 (gdb-memory-repeat-count, gdb-memory-format, gdb-memory-unit):
21014 New customization variables.
21016 (gdb-display-memory-buffer, gdb-frame-memory-buffer): Functions to
21017 display the memory buffer.
21018 (gdb-memory-set-address, gdb-memory-set-repeat-count): Set memory
21019 buffer display parameters.
21020 (def-gdb-memory-format, gdb-memory-format-binary)
21021 (gdb-memory-format-octal, gdb-memory-format-unsigned)
21022 (gdb-memory-format-signed, gdb-memory-format-hexadecimal):
21023 Functions for setting memory buffer format.
21024 (gdb-memory-unit-word, gdb-memory-unit-halfword)
21025 (gdb-memory-unit-giant, gdb-memory-unit-byte): Functions to set
21026 unit size used in memory buffer.
21027 (gdb-memory-show-next-page, gdb-memory-show-previous-page):
21028 Switch to next/previous page of memory buffer.
21029 Now using (bindat-get-field) instead of fadr functions.
21031 2009-07-07 Sam Steingold <sds@gnu.org>
21033 * vc-cvs.el (vc-cvs-merge-news): Fix message parsing for
21034 non-top-level files.
21036 2009-07-07 Kenichi Handa <handa@m17n.org>
21038 * international/mule-cmds.el (reset-language-environment):
21039 Put the highset priority to the charset iso-8859-1.
21041 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
21043 * progmodes/hideshow.el (hs-hide-block-at-point): Don't move point
21044 to the end of the line when locating the block (Bug#700).
21046 2009-07-06 Michael Albinus <michael.albinus@gmx.de>
21048 * net/tramp.el (tramp-handle-write-region): Flush file properties
21049 in case of short track.
21051 2009-07-06 Michael McNamara <mac@mail.brushroad.com>
21053 * progmodes/verilog-mode.el (verilog-error-regexp-emacs-alist):
21054 Coded custom representation of verilog error regular expressions
21055 to work with Emacs-22's new format.
21056 (verilog-error-regexp-xemacs-alist): Coded custom representation
21057 of verilog error regular expressions to work with XEmacs format.
21058 (verilog-error-regexp-add-xemacs): Hook routine to install verilog
21059 error recognition into XEmacs.
21060 (verilog-error-regexp-add-emacs): Hook routine to install verilog
21061 error recognition into Emacs-22.
21063 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
21065 * woman.el: Remove stand-alone closing parentheses.
21066 (woman-file-name, woman2-format-paragraphs)
21067 (woman-leave-blank-lines): Code cleanup.
21068 (woman-use-own-frame): Change default to nil.
21069 (woman-italic, woman-bold, woman-unknown, woman-addition):
21070 Change defaults to inherit from default faces.
21071 (woman2-process-escapes): Consume the newline after a stand-alone
21072 filler character (Bug#3651).
21074 2009-07-06 Glenn Morris <rgm@gnu.org>
21076 * ffap.el (ffap-version): Make it an obsolete alias for emacs-version.
21077 (top-level): Move provide to the end.
21078 (ffap): Remove defunct URL from custom group.
21080 * subr.el (eval-after-load): Doc fix.
21082 2009-07-06 Vincent Belaïche <vincent.belaiche@gmail.com>
21084 * calc/calc-embed.el (calc-embedded-make-info): Don't force when
21085 `calc-embedded-word' is called twice.
21087 2009-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
21089 * files.el (find-alternate-file-other-window, find-alternate-file):
21090 Obey confirm-nonexistent-file-or-buffer.
21092 2009-07-05 Michael Albinus <michael.albinus@gmx.de>
21094 * dired-aux.el (dired-show-file-type): Handle remote files.
21096 2009-07-05 Jari Aalto <jari.aalto@cante.net>
21098 * desktop.el (desktop-globals-to-save):
21099 Add file-name-history (Bug#2750).
21101 2009-07-05 Chong Yidong <cyd@stupidchicken.com>
21103 * add-log.el (add-log-current-defun-header-regexp): Doc fix (Bug#2217).
21105 2009-07-04 Johan Bockgård <bojohan@gnu.org>
21107 * eshell/esh-arg.el (eshell-parse-argument-hook): Put `number'
21108 property on entire argument since this is what eshell-lisp-command
21111 2009-07-03 Michael Albinus <michael.albinus@gmx.de>
21113 * net/tramp-gvfs.el (tramp-gvfs-methods)
21114 (tramp-gvfs-zeroconf-domain)
21115 (tramp-bluez-discover-devices-timeout): Add version flag.
21116 (tramp-gvfs-handler-mounted-unmounted)
21117 (tramp-gvfs-connection-mounted-p): Polish handling of
21118 incompatibilities between GVFS 0.2 and 1.0.
21120 2009-07-03 Jan Djärv <jan.h.d@swipnet.se>
21122 * cus-start.el (all): Add make-pointer-invisible.
21124 2009-07-03 Jay Belanger <jay.p.belanger@gmail.com>
21126 * calc/calc-math.el (math-use-emacs-fn): Make sure that the number is
21127 formatted correctly.
21129 2009-07-02 Juri Linkov <juri@jurta.org>
21131 * info.el: Virtual Info files and nodes.
21132 (Info-virtual-files, Info-virtual-nodes): New variables.
21133 (Info-current-node-virtual): New variable.
21134 (Info-virtual-file-p, Info-virtual-fun, Info-virtual-call):
21136 (Info-file-supports-index-cookies): Use Info-virtual-file-p
21137 to check for a virtual file instead of checking a fixed list
21139 (Info-find-file): Use Info-virtual-fun and Info-virtual-call
21140 instead of ad-hoc processing of "dir" and (apropos history toc).
21141 (Info-find-node-2): Use Info-virtual-fun and Info-virtual-call
21142 instead of ad-hoc processing of "dir" and (apropos history toc).
21143 Reread a file when moving from a virtual node.
21144 (add-to-list)<Info-virtual-files>: Add "\\`dir\\'".
21145 (Info-directory-toc-nodes, Info-directory-find-file)
21146 (Info-directory-find-node): New functions.
21147 (add-to-list)<Info-virtual-files>: Add "\\`\\*History\\*\\'".
21148 (Info-history): Move part of code to
21149 `Info-history-find-node'.
21150 (Info-history-toc-nodes, Info-history-find-file)
21151 (Info-history-find-node): New functions.
21152 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*TOC\\*\\'".
21153 (Info-toc): Move part of code to `Info-toc-find-node'.
21154 (Info-toc-find-node): New function.
21155 (Info-toc-insert): Rename from `Info-insert-toc'. Don't insert
21156 the current Info file name to references because now the node
21157 "*TOC*" belongs to the same Info manual.
21158 (Info-toc-build): Rename from `Info-build-toc'.
21159 (Info-toc-nodes): Rename input argument `file' to `filename'.
21160 Use Info-virtual-fun, Info-virtual-call and Info-virtual-file-p
21161 instead of ad-hoc processing of ("dir" apropos history toc).
21162 (Info-index-nodes): Use Info-virtual-file-p
21163 to check for a virtual file instead of checking a fixed list
21165 (Info-index-node): Add check for `Info-current-node-virtual'.
21166 Raise `save-match-data' higher up the tree to contain
21167 `search-forward' too (bug fix).
21168 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*Index.*\\*\\'".
21169 (Info-virtual-index-nodes): New variable.
21170 (Info-virtual-index-find-node, Info-virtual-index): New functions.
21171 (add-to-list)<Info-virtual-files>: Add "\\`\\*Apropos\\*\\'".
21172 (Info-apropos-file, Info-apropos-nodes): New variables.
21173 (Info-apropos-toc-nodes, Info-apropos-find-file)
21174 (Info-apropos-find-node, Info-apropos-matches): New functions.
21175 (info-apropos): Move part of code to `Info-apropos-find-node' and
21176 `Info-apropos-matches'.
21177 (Info-mode-map): Bind "I" to `Info-virtual-index'.
21178 (Info-desktop-buffer-misc-data): Use Info-virtual-file-p to check
21179 for a virtual file instead of checking a fixed list of node names.
21181 * simple.el (async-shell-command): New command.
21183 * bindings.el (esc-map): Bind "&" to `async-shell-command'.
21185 * net/tramp-gvfs.el (tramp-gvfs-connection-mounted-p): Use `elt'
21186 instead of `mount-info'.
21188 2009-07-02 Michael Albinus <michael.albinus@gmx.de>
21190 * net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted)
21191 (tramp-gvfs-connection-mounted-p): Handle changed mount-info interface.
21193 2009-07-02 Kenichi Handa <handa@m17n.org>
21195 * international/mule.el (set-keyboard-coding-system): Force *-unix
21196 coding-system to avoid eol conversion.
21198 2009-07-01 Michael Albinus <michael.albinus@gmx.de>
21200 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
21201 Add handler for `process-file', `shell-command' and
21202 `start-file-process'.
21203 (tramp-gvfs-handle-shell-command)
21204 (tramp-gvfs-handle-start-file-process)
21205 (tramp-gvfs-handle-process-file): New defuns.
21206 (tramp-synce-list-devices): Simplify check for existence of property.
21208 2009-07-01 Jan Djärv <jan.h.d@swipnet.se>
21210 * startup.el (command-line-x-option-alist): Add -mm and --maximized.
21212 2009-07-01 Eduard Wiebe <usenet@pusto.de> (tiny change)
21214 * language/korean.el (set-language-info-alist): Add korean-cp949,
21217 2009-07-01 Kenichi Handa <handa@m17n.org>
21219 * Makefile.in (ELCFILES): Delete encoded-kb.elc.
21221 * international/encoded-kb.el: Deleted.
21223 * international/mule.el (set-keyboard-coding-system): Perform the
21224 necessary setup here instead of calling encoded-kbd-setup-display.
21226 2009-07-01 Glenn Morris <rgm@gnu.org>
21228 * progmodes/f90.el (f90-break-delimiters, f90-no-break-re): Doc fixes.
21230 2009-07-01 Evangelos Evangelou <vangelis@email.unc.edu> (tiny change)
21232 * progmodes/f90.el (f90-no-break-re): Add "(/" and "/)". (Bug#3730)
21234 2009-06-30 Michael Albinus <michael.albinus@gmx.de>
21236 * net/tramp.el (tramp-do-copy-or-rename-file-directly):
21237 Handle also the 'rename case, when setting file modes. (Bug#3712)
21238 (tramp-default-file-modes): Remove execute permissions.
21240 * net/tramp-gvfs.el (tramp-gvfs-methods): Add "synce" method.
21241 (top): Add a default for "synce" in `tramp-default-user-alist'.
21242 Add completion function for "synce" method.
21243 (tramp-hal-service, tramp-hal-path-manager)
21244 (tramp-hal-interface-manager, tramp-hal-interface-device):
21246 (tramp-gvfs-connection-mounted-p): Handle empty user name for synce.
21247 (tramp-synce-list-devices, tramp-synce-parse-device-names):
21250 * net/trampver.el: Update release number.
21252 2009-06-30 Kenichi Handa <handa@m17n.org>
21254 * international/fontset.el (setup-default-fontset): Add CJK fonts
21255 for symbols and the other miscellaneous characters.
21257 * language/korea-util.el (setup-korean-environment-internal):
21258 Make char-width-table suitable for Korean environments.
21259 (exit-korean-environment): Cancel above.
21261 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
21262 ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK"): Add a
21263 setup-function to make char-width-table suitable for respective
21264 environments, and an exit-function to cancel that.
21266 * language/japan-util.el (setup-japanese-environment-internal):
21267 Call use-cjk-char-width-table with arg `ja_JP'.
21269 * international/characters.el (cjk-char-width-table): Delete it.
21270 (cjk-char-width-table-list): New variable.
21271 (use-cjk-char-width-table): New arg local-name.
21272 (use-default-char-width-table): Fix for the case that Emacs is
21273 already using the default char-width-table.
21275 2009-06-29 Michael Albinus <michael.albinus@gmx.de>
21277 * net/tramp.el (tramp-do-copy-or-rename-file-directly): Set file
21278 modes mandatory. (Bug#3712)
21280 2009-06-29 Alan Mackenzie <acm@muc.de>
21282 * progmodes/cc-cmds.el (c-mask-paragraph): Remove a spurious
21283 correction between the visible width of TABs and their number of bytes.
21285 2009-06-29 Chong Yidong <cyd@stupidchicken.com>
21287 * server.el (server-buffer-done): Prevent kill-buffer from
21288 prompting by clearing the buffer modification flag (Bug#3696).
21290 2009-06-28 Michael McNamara <mac@mail.brushroad.com>
21292 * progmodes/verilog-mode.el (verilog-beg-of-statement)
21293 (verilog-endcomment-reason-re): Support unique case and priority case.
21294 (verilog-basic-complete-re): Support localparam lineup.
21295 (verilog-beg-of-statement-1): Fix for robustness, unique case.
21296 (verilog-set-auto-endcomments): Fix for unique case, always_comb
21298 (verilog-leap-to-case-head): Now support *nested* unique &
21299 priority case statements.
21300 (verilog-auto-lineup): Make just declarations the default (as it
21302 (verilog-leap-to-case-head): Support priority/unique case statements.
21303 (verilog-auto-lineup): Rework to give users radio buttons to
21304 select the various styles of automatic lineup.
21305 (verilog-error-regexp-alist): Rework to support the XEmacs style
21306 of error regular expressions from compilers, lint tools &
21307 simulators. Note that GNU Emacs has made it impossible for a mode
21308 to load such things.
21309 (electric-verilog-terminate-line, verilog-indent-declaration)
21310 (verilog-auto-wiure): Rework for radio button selection of
21311 auto-lineup selection of specification of auto lineup.
21312 (verilog-beg-of-statement-1): Redesign to support proper operation
21313 in additional code, based on testing with auto-lineup.
21314 (verilog-calculate-indent, assignments & declarations)
21315 (verilog-backward-token): Enhance to support auto-lineup of
21316 assignments & declarations.
21317 (verilog-in-directive-p, verilog-at-struct-p): New function for
21318 easy test of whether we are.
21319 (verilog-pretty-declarations, verilog-pretty-expr): Massive rework
21320 to support safe execution at almost anyline.
21321 (verilog-calc-1): Properly support indenting deep inside generate
21323 (verilog-init-font): Remove definition & use of verilog-init-font,
21324 as it is redundant with font-lock-defaults.
21325 (verilog-mode): Alter the definition of verilog-font-lock-defaults
21326 to avoid circular calls if syntax-ppss is a function (as is the
21327 case now in 22.x GNU Emacs) as that function would sometimes call
21328 itself, leading to (nearly) infinite recursion.
21329 (verilog-ovm-begin-re, verilog-ovm-end-re)
21330 (verilog-ovm-statement-re, verilog-leap-to-head)
21331 (verilog-backward-token): Add support for OVM macros. Some are
21332 complete statements, and others open and close scopes like begin
21334 (verilog-defun-level-not-generate-re, verilog-defun-level-re)
21335 (verilog-defun-level-generate-only-re): Really fix the defun-list
21337 (verilog-calc-1, verilog-beg-of-statement): Enhance support for
21338 coverpoint, constraint and cross statements.
21339 (verilog-defun-level-list, verilog-generate-defun-level-list)
21340 (verilog-all-defun-level-list): Redo these specifications - it is
21341 too hard to support eval-when compile aggregation of lists also
21342 built at when-compile time.
21343 (verilog-defun-level-list): Place defconsts of variables used in
21344 building regular expressions which are built in eval-when-compile
21345 bodies in the same eval-when-compile body to facilitate compile
21347 (verilog-beg-block-re-ordered): Support indenting
21348 virtual/protected tasks and functions.
21349 (verilog-defun-level-list, verilog-in-generate-region-p)
21350 (verilog-backward-ws&directives, verilog-calc-1): Speed up
21351 indentation of some module items (generate items).
21352 (verilog-forward-sexp, verilog-leap-to-head): Support stepping
21353 across virtual/protected tasks and functions.
21355 2009-06-28 Wilson Snyder <wsnyder@wsnyder.org>
21357 * progmodes/verilog-mode.el (verilog-auto-arg, verilog-auto-arg-sort):
21358 Allow sorting AUTOARG lists. Suggested by Andrea Fedeli.
21359 (verilog-read-sub-decls-line): Fix AUTOWIRE signals getting lost
21360 in concatenations. Reported by Yishay Belkind.
21361 (verilog-auto-ascii-enum): Support one-hot state machines in
21362 AUTOASCIIENUM. Suggested by Lloyd Gomez.
21363 (verilog-auto-inst, verilog-auto-inst-port): Include interface
21364 modport in AUTOINST and add vl-modport for users.
21365 Reported by David Rogoff.
21366 (verilog-auto-inout-module, verilog-auto-inst)
21367 (verilog-decls-get-interfaces, verilog-insert-definition)
21368 (verilog-insert-one-definition, verilog-read-decls)
21369 (verilog-read-sub-decls, verilog-read-sub-decls-sig)
21370 (verilog-sig-modport, verilog-signals-combine-bus)
21371 (verilog-subdecls-get-interfaces): Fix expansion of SystemVerilog
21372 interfaces in AUTOINOUTMODULE, AUTOINOUTCOMP, and AUTOINST.
21373 Suggested by David Rogoff.
21374 (verilog-repair-open-comma): Fix non-insertion of comma when
21375 `DEFINE occurs in V2K argument list. Reported by Lane Brooks.
21376 (verilog-make-width-expression): Simplify [A-1:0] expression
21377 widths to just {A{1'b0}}.
21378 (verilog-mode): Cleanup checkdoc warnings.
21379 (verilog-auto-inout-module, verilog-signals-matching-dir-re):
21380 Add third optional regexp to AUTOINOUTMODULE to allow selecting only
21381 inputs/outputs or data type. Suggested by Vasu Kandadi.
21382 (next-error-last-buffer): Fix byte-compiler warning.
21383 (verilog-auto, verilog-auto-insert-lisp, verilog-auto-inst)
21384 (verilog-delete-auto): Add AUTOINSERTLISP to insert arbitrary lisp
21385 or shell command text during AUTO expansion. Suggested by Tad Truex.
21386 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line)
21387 (verilog-read-sub-decls-sig, verilog-symbol-detick-text):
21388 Fix dotted nets {a.b,c.d} and excaped identifiers being mis-included
21389 in AUTOINOUT. Reported by Matthew Lovell.
21390 (verilog-read-always-signals-recurse): Fix AUTORESET "if (a<=b)"
21391 causing use of <= assignments. Reported by Alex Reed.
21392 (verilog-read-decls): Fix triand, trior, wand, wor to be
21393 recognized by AUTOWIRE. Reported by Spencer Isaacson.
21394 (verilog-extended-complete-re): Support import "DPI-C" functions.
21395 (verilog-read-always-signals-recurse): Fix AUTORESET of "x <=
21396 y[a+1:a+1]" to not include a in reset list. Reported by Dan Dever.
21397 (verilog-insert-date, verilog-insert-year)
21398 (verilog-sk-header-tmpl): Fix verilog-header inserting error on
21399 Windows systems. Reported by Michael Potts.
21400 (verilog-read-module-name): Fix AUTOINST when the child module
21401 declaration's name is a tick define. Reported by Elliot Mednick.
21402 (verilog-read-decls): Fix V2K parameter bit subscripts getting
21403 passed to next parameter's definition. Reported by Bruce T.
21404 (verilog-read-decls): Fix detecting "parameter int" when using
21405 AUTOINSTPARAM. Reported by Bruce T.
21406 (verilog-goto-defun): Fix goto not finding modules unless first
21407 perform a verilog-auto expansion. Suggested by Lawrence Butcher.
21408 (verilog-mode): Expand -f flag arguments on entry to mode so
21409 verilog-goto-defun will work. Reported by Lawrence Butcher.
21410 (verilog-getopt): Expand environment variables in -f file
21411 arguments. Suggested by Lawrence Butcher.
21412 (verilog-set-define): Fix "Symbol's value as variable is void"
21413 when reading enumerations.
21414 (verilog-auto-ascii-enum): Fix duplicate labels in AUTOASCIIENUM.
21415 Suggested by Stephen Peltan.
21416 (verilog-read-defines): Fix reading of enumerations in include
21417 files. Reported by Steve Peltan.
21419 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
21421 * files.el (trash-directory): Fix defcustom type.
21423 2009-06-28 Juri Linkov <juri@jurta.org>
21425 * help-fns.el (describe-function-1): Correctly locate adviced
21426 functions in hyperlink (Bug#2438).
21428 2009-06-28 Chong Yidong <cyd@stupidchicken.com>
21430 * files.el (trash-directory): Change default to nil.
21431 (move-file-to-trash): If trash-directory is nil and
21432 system-move-file-to-trash is unbound, perform freedesktop-style
21435 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
21437 * files.el (move-file-to-trash): Add freedesktop trash
21440 2009-06-28 Glenn Morris <rgm@gnu.org>
21442 * autorevert.el (global-auto-revert-non-file-buffers)
21443 (global-auto-revert-mode): Doc fixes.
21445 2009-06-27 Johan Bockgård <bojohan@gnu.org>
21447 * emacs-lisp/cl-specs.el (defstruct): Fix :conc-name spec.
21449 2009-06-27 Chong Yidong <cyd@stupidchicken.com>
21451 * faces.el (x-handle-named-frame-geometry): Ensure that we have
21452 opened an X connection before calling x-get-resource (Bug#3194).
21454 * play/doctor.el: Remove reference to obsolete website.
21455 (make-doctor-variables): Correct grammar mistake (Bug#2633).
21457 2009-06-26 Dan Nicolaescu <dann@ics.uci.edu>
21459 Remove find-file-not-found-hook VC method. (Bug#2757)
21460 * vc-hooks.el (vc-file-not-found-hook)
21461 (vc-default-find-file-not-found-hook): Remove functions.
21462 (find-file-not-found-functions): Do not add vc-file-not-found-hook.
21463 * vc-rcs.el (vc-rcs-find-file-not-found-hook): Remove function.
21466 * vc-git.el: Do not mention find-file-not-found-hook VC method.
21468 2009-06-25 Agustín Martín <agustin.martin@hispalinux.es>
21470 * textmodes/ispell.el: Add `ispell-looking-back' XEmacs
21471 compatibility function for `looking-back'.
21473 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
21474 Use `ispell-looking-back'.
21476 2009-06-24 Michael Albinus <michael.albinus@gmx.de>
21478 * net/tramp-gvfs.el (tramp-gvfs-handle-make-directory): Use `dir'
21479 rather than `filename'.
21481 2009-06-23 Miles Bader <miles@gnu.org>
21483 * face-remap.el (text-scale-set): New function.
21485 2009-06-23 Glenn Morris <rgm@gnu.org>
21487 * pcmpl-rpm.el (pcomplete/rpm): Doc fix.
21489 * bindings.el (mode-line-modified): Fix case of "Buffer is modified".
21491 * textmodes/ispell.el (ispell-local-dictionary): Doc fix.
21493 * progmodes/gdb-mi.el (gud-remove, gud-break): Update declarations.
21495 * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
21496 Simplify Persian conditionals.
21498 * calc/calc-graph.el (calc-graph-plot): Avoid assignment to free
21499 variable `filename'.
21501 * comint.el (comint-insert-input): Doc fix.
21503 * Makefile.in (ELCFILES): Fix typo in previous change.
21505 2009-06-23 Miles Bader <miles@gnu.org>
21507 * cus-start.el: Add entry for `recenter-redisplay'.
21509 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
21511 * vc-hooks.el (vc-stay-local-p, vc-state, vc-working-revision):
21512 Add an optional argument for the backend, use it instead of
21513 calling vc-backend.
21514 (vc-mode-line): Add an optional argument for the backend.
21515 Pass the backend to vc-state and vc-working-revision. Move code for
21516 special handling for vc-state being a buffer to ...
21518 * vc-rcs.el (vc-rcs-find-file-hook):
21519 * vc-sccs.el (vc-sccs-find-file-hook): ... here. New functions.
21521 * vc-svn.el (vc-svn-state, vc-svn-dir-status, vc-svn-checkout)
21522 (vc-svn-print-log, vc-svn-diff): Pass 'SVN to vc-state,
21523 vc-stay-local-p and vc-mode-line calls.
21525 * vc-cvs.el (vc-cvs-state, vc-cvs-checkout, vc-cvs-print-log)
21526 (vc-cvs-diff, vc-cvs-annotate-command)
21527 (vc-cvs-make-version-backups-p, vc-cvs-stay-local-p)
21528 (vc-cvs-dir-status): Pass 'CVS to vc-state, vc-stay-local-p and
21529 vc-mode-line calls.
21531 * vc.el (vc-deduce-fileset): Use vc-deduce-fileset instead of
21533 (vc-next-action, vc-transfer-file, vc-rename-file): Also pass the
21534 backend when calling vc-mode-line.
21535 (vc-register): Do not create a closure for calling the vc register
21536 function, call it directly.
21538 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
21540 * emacs-lisp/elp.el (elp-output-insert-symname): Add a link face
21541 to make it obvious item can be clicked.
21543 * vc-mtn.el (vc-mtn-after-dir-status, vc-mtn-dir-status): New functions.
21545 2009-06-23 Kenichi Handa <handa@m17n.org>
21547 * language/korea-util.el (korean-key-bindings): Change the binding
21548 of F9 to hangul-to-hanja-conversion. Bind Hangul_Hanja to the
21551 2009-06-22 Michael Albinus <michael.albinus@gmx.de>
21553 Sync with Tramp 2.1.16.
21555 * Makefile.in (ELCFILES): Add net/tramp-gvfs.elc.
21557 * net/tramp.el (top): Require tramp-gvfs. Catch `tramp-loading',
21558 when a loading of a package fails. Completion function for rsync
21559 is `tramp-completion-function-alist-ssh'.
21560 (all): Replace all calls of `split-string' and
21561 `tramp-split-string' by `tramp-compat-split-string'.
21562 (tramp-default-method): Use `tramp-compat-process-running-p'.
21563 (tramp-default-proxies-alist): Allow also Lisp forms.
21564 (tramp-remote-path): Add choice "Private Directories".
21565 (tramp-wrong-passwd-regexp): Remove "Tramp connection closed" option.
21566 (tramp-domain-regexp): Allow also "-", "_" and ".".
21567 (tramp-end-of-output): Remove newlines, and add "$" at the end.
21568 (tramp-file-name-handler-alist): Add handler for `dired-uncache'.
21569 (tramp-debug-message): Insert header line in debug buffer.
21570 (tramp-handle-directory-files-and-attributes-with-stat):
21571 Care about filenames with spaces, or starting with "-".
21572 (tramp-handle-dired-uncache): New defun.
21573 (tramp-handle-insert-directory): Don't flush the directory from
21574 cache, this is handled by `dired-uncache' now.
21575 (tramp-handle-insert-file-contents): Improve error handling.
21576 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
21577 Quote `tramp-end-of-output'.
21578 (tramp-action-password): Improve trace message.
21579 (tramp-check-for-regexp): Both echoes must be present, before removing.
21580 (tramp-open-connection-setup-interactive-shell): Trace coding system.
21581 (tramp-compute-multi-hops): Eval cons cells of
21582 `tramp-default-proxies-alist'.
21583 (tramp-maybe-open-connection): Use the same command pattern for
21584 first hop and further hops.
21585 (tramp-wait-for-output): Remove handling of newlines.
21586 (tramp-get-remote-path): Handle also `tramp-own-remote-path'.
21587 (tramp-split-string): Remove function. It is handled in
21590 * net/tramp-cmds.el (tramp-bug):
21591 Recommend `tramp-cleanup-all-connections' in the bug mail.
21593 * net/tramp-compat.el (tramp-compat-split-string)
21594 (tramp-compat-process-running-p): New defuns.
21596 * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add handler
21597 for `dired-uncache'.
21599 * net/tramp-gvfs.el: New package.
21601 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
21602 Add handler for `dired-uncache'.
21603 (tramp-smb-handle-file-local-copy): Cleanup in case of error.
21605 * net/trampver.el: Update release number. Make version check fit
21608 2009-06-22 Jim Meyering <meyering@redhat.com>
21610 Automatically handle .xz suffix (XZ-compressed files), too.
21611 * jka-cmpr-hook.el (jka-compr-compression-info-list): Add xz.
21612 XZ is the successor to LZMA: <http://tukaani.org/xz/>
21614 2009-06-22 Dmitry Dzhus <dima@sphinx.net.ru>
21615 Nick Roberts <nickrob@snap.net.nz>
21617 * progmodes/gdb-mi.el: Pull further modified changes from Dmitry's
21618 repository (http://sphinx.net.ru/hg/gdb-mi/).
21620 2009-06-22 Glenn Morris <rgm@gnu.org>
21622 * files.el (dir-locals-collect-mode-variables): Allow for any number of
21623 `mode' and `eval' entries. (Bug#3430)
21625 * Makefile.in (ELCFILES): Add fadr.elc.
21627 * calendar/appt.el (appt-make-list): Fix off-by-one error caused by
21628 differing behavior of \n and ^ in strings. (Bug#3385)
21630 * emacs-lisp/cl-indent.el: Remove leading "*" from defcustom docs.
21632 * emacs-lisp/lisp-mode.el (lisp-indent-offset): Fix safe-local-variable
21634 (lisp-indent-function): Make it a defcustom.
21636 2009-06-21 Nick Roberts <nickrob@snap.net.nz>
21638 * progmodes/gdb-ui.el: Replace with ...
21639 * progmodes/gdb-mi.el: ... this file.
21640 * progmodes/gud.el: Modify for gdb-mi.el.
21642 2009-06-21 Dmitry Dzhus <dima@sphinx.net.ru>
21644 * fadr.el: New file.
21646 See ChangeLog.14 for earlier changes.
21648 ;; Local Variables:
21652 Copyright (C) 2009-2011 Free Software Foundation, Inc.
21654 This file is part of GNU Emacs.
21656 GNU Emacs is free software: you can redistribute it and/or modify
21657 it under the terms of the GNU General Public License as published by
21658 the Free Software Foundation, either version 3 of the License, or
21659 (at your option) any later version.
21661 GNU Emacs is distributed in the hope that it will be useful,
21662 but WITHOUT ANY WARRANTY; without even the implied warranty of
21663 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21664 GNU General Public License for more details.
21666 You should have received a copy of the GNU General Public License
21667 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.