1 2011-01-31 Alan Mackenzie <acm@muc.de>
3 * progmodes/cc-cmds.el (c-forward-over-illiterals): Continue
4 parsing if we encounter a naked # (Bug#7595).
5 (c-beginning-of-statement): Avoid loop in locating the beginning
8 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
10 * files.el (copy-directory): Fix arguments to recursive call.
12 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
14 * files.el (copy-directory): If destination is an existing
15 directory, copy into a subdirectory there.
17 2011-01-31 Andreas Schwab <schwab@linux-m68k.org>
19 * emacs-lisp/shadow.el (load-path-shadows-find): Ignore leim-list
22 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
24 * image-dired.el (image-dired-mouse-display-image): No-op if no
25 file is found (Bug#7817).
27 * mouse.el (mouse-menu-non-singleton): Doc fix (Bug#7801).
29 2011-01-31 Kenichi Handa <handa@m17n.org>
31 * international/quail.el (quail-keyboard-layout-alist): Remove
32 superfluous SPC for "pc105-uk" (bug#7927).
34 2011-01-31 Glenn Morris <rgm@gnu.org>
36 * msb.el (msb-menu-bar-update-buffers): Update for changed
37 argument handling of menu-bar-select-frame. (Bug#7902)
39 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
41 * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Set a limit
42 to the recursion depth (Bug#7722).
44 2011-01-31 Roy Liu <carsomyr@gmail.com> (tiny change)
46 * term/ns-win.el (ns-find-file): Expand ns-input-file with
47 command-line-default-directory (Bug#7872).
49 2011-01-31 Stefan Monnier <monnier@iro.umontreal.ca>
51 * progmodes/compile.el (compilation--flush-directory-cache):
52 New function, extracted from compilation--remove-properties.
53 (compilation--remove-properties, compilation--parse-region): Use it.
54 (compilation--previous-directory): Handle one more case.
55 (compilation-enable-debug-messages): Remove.
56 (compilation-parse-errors, compilation--flush-parse): Just remove the
57 left over debug messages.
59 2011-01-31 Sam Steingold <sds@gnu.org>
61 * progmodes/compile.el (compilation-enable-debug-messages):
62 Add a variable to make the parsing messages introduced in
63 2011-01-28T22:12:05Z!monnier@iro.umontreal.ca optional.
64 (compilation-parse-errors, compilation--flush-parse): Use it.
66 2011-01-31 Deniz Dogan <deniz.a.m.dogan@gmail.com>
68 * net/rcirc.el: New customizable nick completion format.
69 (rcirc-nick-completion-format): New defcustom.
70 (rcirc-complete): Use it.
72 2011-01-31 Deniz Dogan <deniz.a.m.dogan@gmail.com>
74 * net/rcirc.el: Clean log filenames (Bug#7933).
75 (rcirc-log-write): Use convert-standard-filename.
76 (rcirc-log-filename-function): Documentation updates.
78 2011-01-30 Jan Djärv <jan.h.d@swipnet.se>
80 * mail/emacsbug.el (report-emacs-bug-insert-to-mailer):
81 Check report-emacs-bug-can-use-osx-open and use that if t.
82 (report-emacs-bug-can-use-osx-open): New function.
83 (report-emacs-bug): Rename can-xdg-email to can-insert-mail.
84 Check report-emacs-bug-can-use-osx-open also for can-insert-mail.
86 2011-01-29 Chong Yidong <cyd@stupidchicken.com>
88 * vc/vc-dispatcher.el (vc-set-async-update): New function for
89 updating Dired or VC-dir buffers after async command completes.
91 * vc/vc-bzr.el (vc-bzr-async-command): Return the process buffer.
92 (vc-bzr-pull, vc-bzr-merge-branch): Use vc-set-async-update.
94 * vc/vc-git.el (vc-git-merge-branch): Add FETCH_HEAD to branch
95 completions if it exists. Use vc-set-async-update.
96 (vc-git-pull): Use vc-set-async-update.
98 * vc/vc-hg.el (vc-hg-pull): Fix default-contents arg to
99 read-shell-command. Use vc-set-async-update.
100 (vc-hg-merge-branch): Use vc-set-async-update.
102 2011-01-29 Daiki Ueno <ueno@unixuser.org>
104 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED):
105 Don't presume KEYEXPIRED and KEYREVOKED to be a fatal error status
108 2011-01-29 Stefan Monnier <monnier@iro.umontreal.ca>
110 * progmodes/compile.el: Avoid an N² behavior in grep.
111 (compilation--previous-directory): New fun.
112 (compilation--previous-directory-cache): New var.
113 (compilation--remove-properties): Flush it.
114 (compilation-directory-properties, compilation-error-properties):
115 Use the new fun to speed up looking for the current directory.
117 2011-01-29 Chong Yidong <cyd@stupidchicken.com>
119 * vc/vc-hg.el (vc-hg-history): New var.
120 (vc-hg-pull): Perform default pull if called via Lisp by vc-pull.
121 (vc-hg-merge-branch): New function.
123 * vc/vc.el (vc-pull): Make vc-update an alias for this, instead of
124 the other way around.
126 * vc/vc-git.el (vc-git-branches, vc-git-pull)
127 (vc-git-merge-branch): New functions.
128 (vc-git-history): New var.
130 2011-01-28 Chong Yidong <cyd@stupidchicken.com>
132 * vc/vc-dispatcher.el (vc-do-async-command): New function.
134 * vc/vc-bzr.el (vc-bzr-async-command): Convert into a wrapper for
137 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch):
140 2011-01-28 Leo <sdl.web@gmail.com>
142 * emacs-lisp/advice.el (ad-make-advised-docstring): Don't apply
143 highlighting to the "this function is advised" message.
145 * help-mode.el (help-mode-finish): Apply highlighting here, to
146 avoid clobbering by substitute-command-keys (Bug#6304).
148 2011-01-28 Chong Yidong <cyd@stupidchicken.com>
150 * woman.el (woman0-roff-buffer): Process roff escape sequences
151 occurring prior to the first request (Bug#7843).
153 2011-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
155 * progmodes/compile.el: Don't use font-lock any more.
156 (compilation-error-regexp-alist-alist): Change handling of makepp
157 so it preserves the warning/error distinction on subsequent files.
158 Simplify various rules.
159 (compilation-directory-properties): Use font-lock-face.
160 Add a compilation-message property.
161 (compilation-internal-error-properties): Use font-lock-face.
162 Don't set the compilation-debug property here.
163 (compilation--put-prop, compilation--remove-properties)
164 (compilation--parse-region, compilation--ensure-parse)
165 (compilation--ensure-parse): New functions.
166 (compilation-parse-errors): New function, largely inspired of
167 compilation-mode-font-lock-keywords. Set compilation-debug here.
168 (compilation--parsed): New var.
169 (compilation--flush-parse): Use compilation--ensure-parse.
170 (compilation-start): Don't call font-lock.
171 (compilation-turn-on-font-lock): Remove.
172 (compilation-setup): Don't set font-lock-extra-managed-props not change
173 other font-lock settings, other than keywords.
174 Don't activate font-lock-mode.
175 Set change-major-mode-hook and before-change-functions.
176 (compilation--unsetup): Remove properties and hooks.
177 (compilation-next-single-property-change): New function.
178 (compilation-next-error): Use it to parse when needed.
179 (compile-goto-error): Parse buffer as needed.
180 (compilation--compat-error-properties): Don't need a dummy `face'
183 2011-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
185 * progmodes/compile.el: Use accessors for clarity and fix omake hack.
186 (compilation-process-setup-function): Fix docstring's false promises.
187 (compilation-error-regexp-alist-alist): Catch omake's continuous
188 recompilation message and avoid reuse of old markers.
189 (compilation-parse-errors-function): Declare obsolete.
190 (compilation-buffer-modtime): Remove.
191 (compilation--make-cdrloc, compilation--loc->col)
192 (compilation--loc->line, compilation--loc->file-struct)
193 (compilation--loc->marker, compilation--loc->visited)
194 (compilation--make-file-struct, compilation--file-struct->file-spec)
195 (compilation--file-struct->formats)
196 (compilation--file-struct->loc-tree): New macros. Use them.
197 (compilation--message): New defstruct. Use them.
198 (compilation-next-error-function): Don't mess with timestamps to try
199 and guess when to reparse.
201 2011-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
203 * textmodes/tex-mode.el: Get rid of compilation-parse-errors-function
204 (tex-old-error-file-name): New function,
205 extracted from tex-compilation-parse-errors.
206 (tex-compilation-parse-errors): Remove.
207 (tex-error-regexp-alist): New var.
208 (tex-shell): Use it to avoid compilation-parse-errors-function.
210 * progmodes/grep.el (grep-regexp-alist): Tighten regexp.
211 (grep-mode-font-lock-keywords): Remove regexp that seems like
212 a left-over from before we used compile.el.
213 (grep-mode-font-lock-keywords): Call syntax-ppss-flush-cache when
214 modifying the buffer within with-silent-modifications.
216 * progmodes/compile.el: Cleanup text-properties namespace by using
217 `compilation-message' instead of `message', `compilation-directory'
218 instead of `directory', and `compilation-debug' instead of `debug'.
219 (compilation-last-buffer, compilation-parsing-end)
220 (compilation-error-list, compilation-old-error-list): Move to the
221 compatibility part of the code.
222 (compilation-error-properties): If `file' is a function, let it return
224 (compilation-mode-font-lock-keywords): Be more conservative with the
225 omake "^ *" pattern prefix, to try and minimize the risk of
226 pathologically slow regexp matching.
227 (compilation-start): Use inhibit-read-only.
228 (compilation--unsetup): New function.
229 (compilation-shell-minor-mode, compilation-minor-mode): Use it.
230 (compilation-filter): Minor tweaks.
231 (compilation-next-error-function): Try and avoid abusing variables.
232 (compilation--flush-file-structure): New fun.
233 (compilation-fake-loc): Use it to improve behavior when file is reused.
234 (debug-ignored-errors): Add "Moved past last ...".
235 (compilation--compat-error-properties)
236 (compilation--compat-parse-errors): Rename by doubling the "-".
238 Port features from the previous prolog.el to the new one.
239 * progmodes/prolog.el (prolog-system): Add GNU and ECLiPSe options.
240 (prolog-program-name, prolog-program-switches, prolog-consult-string)
241 (prolog-compile-string, prolog-prompt-regexp): Get rid of the <foo>-i
242 variable and use a function to compute the value dynamically.
243 (prolog-prompt-regexp): Add regexp for GNU Prolog.
244 (prolog-continued-prompt-regexp): Remove, unused.
245 (prolog-find-value-by-system): Try and use the value of prolog-system
246 in the *prolog* buffer if it helps.
247 (prolog-mode-keybindings-common): Bind C-c C-z unconditionally...
248 (prolog-zip-on): ..and check prolog-system and version here instead.
249 (prolog-inferior-self-insert-command): New command.
250 (prolog-inferior-mode-map): Use it.
251 (prolog-inferior-error-regexp-alist): New var.
252 (prolog-inferior-mode): Use it, with compilation-shell-minor-mode.
253 (prolog-input-filter): Use derived-mode-p.
254 (prolog-inferior-guess-flavor): New function.
255 (prolog-ensure-process): Use it. Use make-comint-in-buffer rather than
256 make-comint to avoid running comint-mode twice.
257 (prolog-inferior-buffer): New fun.
258 (prolog-old-process-region, prolog-old-process-file):
259 Don't call prolog-bsts here...
260 (prolog-build-prolog-command): ...do it here instead.
261 (prolog-old-process-region, prolog-old-process-file):
262 Use compilation-fake-loc and compilation-forget-errors.
263 (prolog-consult-compile-region): Use bolp.
265 2011-01-28 Chong Yidong <cyd@stupidchicken.com>
267 * image-mode.el (image-display-size): Doc fix (Bug#7820).
269 2011-01-27 Sam Steingold <sds@gnu.org>
271 * midnight.el (clean-buffer-list-kill-never-buffer-names):
272 Remove "*server*" which is never created by emacs server.
274 2011-01-27 Deniz Dogan <deniz.a.m.dogan@gmail.com>
276 * vc/vc-bzr.el (vc-bzr-diff): Don't pass --diff-options unless
277 there are some diff switches.
279 2011-01-27 Stefan Monnier <monnier@iro.umontreal.ca>
281 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
282 Copy change made to ruby-font-lock-syntactic-keywords.
284 * htmlfontify.el: Make it obey the font-lock-face text property.
285 Miscellaneous cleanup such as:
286 - Don't hide expressions after a closing paren.
287 - Move initial setq into let.
288 - Hoist common parts out of ifs.
289 (hfy-p-to-face, hfy-p-to-face-lennart): Remove.
290 (hfy-face-at): Use get-text-property instead.
291 (hfy-prop-invisible-p): Use invisible-p if available.
292 (htmlfontify-manual): Use \\[...].
293 (hfy-html-quote-regex): Use [...].
294 (hfy-combined-face-spec): Simplify.
295 (hfy-compile-face-map): Don't presume point-min==1.
296 (hfy-css-name, hfy-buffer, htmlfontify-buffer): Use \' rather than $ to
298 (hfy-text-p): η-reduce.
299 (hfy-tags-for-file): Receive cache-hash directly.
300 (hfy-mark-tag-names): Adjust call.
302 2011-01-27 Glenn Morris <rgm@gnu.org>
304 * msb.el (msb-after-load-hooks): Make it an obsolete alias.
305 (msb-after-load-hook): Remove eval-after-load wackiness.
307 2011-01-25 Sam Steingold <sds@gnu.org>
309 * vc/vc-svn.el (vc-svn-diff): Use `diff-command' instead of the
310 literal "diff" (important for windows-nt).
312 2011-01-25 Glenn Morris <rgm@gnu.org>
314 * emacs-lisp/copyright.el (copyright-at-end-flag)
315 (copyright-names-regexp): Add safety properties.
316 (copyright-year-ranges): New option.
317 (copyright-find-end): New function, split from copyright-update-year.
318 (copyright-update-year): Use copyright-find-end.
319 (copyright-fix-years): Optionally, convert years to ranges.
320 Handle years continued over comment lines.
321 Do not mess with the fill-prefix.
322 Do not call copyright-update.
323 (copyright-update-directory): Optionally, fix years rather than update.
324 Skip directories. Find files with only safe local vars.
326 2011-01-25 Stefan Monnier <monnier@iro.umontreal.ca>
328 * files.el (file-name-non-special): Only change buffer-file-name after
329 insert-file-contents if it's `visit'ing the file (bug#7854).
331 2011-01-25 Chong Yidong <cyd@stupidchicken.com>
333 * dired.el (dired-revert): Doc fix (Bug#7758).
335 * simple.el (line-move-visual): Doc fix (Bug#7594).
337 2011-01-25 Nobuyoshi Nakada <nobu@ruby-lang.org>
339 * progmodes/ruby-mode.el (ruby-here-doc-beg-match): Fix for
340 here-doc which ends with an underscore.
341 (ruby-mode-set-encoding): Skip shebang line always.
342 (ruby-mode-map): Bind C-c C-c to comment-region.
343 (ruby-font-lock-keywords): Highlight literal hash key labels as symbols.
344 (ruby-forward-sexp): Stop after literal hash key labels.
345 (ruby-font-lock-syntactic-keywords): Highlight regexp after open
348 2011-01-25 Keitaro Miyazaki <keitaro.miyazaki@gmail.com> (tiny change)
350 * emacs-lisp/re-builder.el (reb-mode-map): Set case-fold-search in
351 the correct buffer (Bug#7650).
353 2011-01-25 Glenn Morris <rgm@gnu.org>
355 * comint.el (comint-mode): Doc fix. (Bug#7897)
357 * simple.el (do-auto-fill): Give it a doc string.
359 * button.el (make-text-button): Doc fix. (See bug#7881)
361 2011-01-24 Stefan Monnier <monnier@iro.umontreal.ca>
363 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
364 Don't move backward, so as not to fall in an inf-loop (bug#7736).
366 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): (bug#7735)
367 Handle ?" and friends differently (e.g. don't use backrefs).
369 2011-01-24 Jay Belanger <jay.p.belanger@gmail.com>
371 * calc/calc.el (calc-default-power-reference-level)
372 (calc-default-field-reference-level): New variables.
373 * calc/calc-units.el (math-standard-units): Add dB and Np.
374 (math-logunits): New variable.
375 (math-extract-logunits, math-logcombine, calcFunc-luplus)
376 (calcFunc-luminus, calc-luplus, calc-luminus, math-logunit-level)
377 (calcFunc-fieldlevel, calcFunc-powerlevel, calc-level):
379 (math-find-base-units-rec): Add entry for ln(10).
380 * calc/calc-help.el (calc-u-prefix-help): Add logarithmic help.
381 (calc-ul-prefix-help): New function.
382 * calc/calc-ext.el (calc-init-extensions): Autoload new units
383 functions. Add keybindings for new units functions.
385 2011-01-22 Giorgos Keramidas <keramida@ceid.upatras.gr> (tiny change)
387 * net/rcirc.el (rcirc-kill-buffer-hook): Flush logs when killing
388 rcirc buffers. (Bug#4940)
390 2011-01-22 Glenn Morris <rgm@gnu.org>
392 * emacs-lisp/copyright.el (copyright-find-copyright): New function,
393 split out from copyright-update-year.
394 (copyright-update): Don't mess with the GPL version if we don't own the
395 copyright. Update license regexp, and remove no longer needed
397 (copyright-fix-years): Use copyright-find-copyright.
399 2011-01-22 Chong Yidong <cyd@stupidchicken.com>
401 * vc/diff.el (diff-sentinel): Doc fix (Bug#7682).
403 2011-01-22 Jari Aalto <jari.aalto@cante.net>
405 * play/landmark.el: Change `lm-' prefix to `landmark-' (Bug#7672).
406 (lm): Rename to landmark.
407 (lm-test-run): Rename to landmark-test-run.
409 2011-01-22 Chong Yidong <cyd@stupidchicken.com>
411 * emacs-lisp/re-builder.el (reb-mode-map): Fix logic error in
412 "Case sensitive" menu item.
414 2011-01-22 Roland McGrath <roland@frob.com>
416 * comint.el (comint-replace-by-expanded-history-before-point): Fix
417 expansion of !$ and !!:N syntax to pick the indicated word (bug#7883).
419 2011-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
421 * progmodes/js.el (js--regexp-literal): Count backslashes (bug#7882).
423 2011-01-22 Jari Aalto <jari.aalto@cante.net>
425 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
426 Assume foo(bar) is a manpage reference rather than some unquoted
429 2011-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
431 * subr.el (shell-quote-argument): Properly quote \n (bug#7687).
432 Suggested by Flo <sensorflo@gmail.com>.
434 2011-01-22 Glenn Morris <rgm@gnu.org>
436 * progmodes/compile.el (compilation-error-regexp-alist):
437 Fix custom type. (Bug#7812)
439 2011-01-22 Ken Manheimer <ken.manheimer@gmail.com>
441 * allout.el (allout-prefixed-keybindings): Bind (prefixed) '#' to
442 allout-number-siblings, in keeping with what obtained due to
443 (now-defunct) allout-keybindings-list. Ditch repeat binding to
445 (allout-before-change-handler): Better expose spots affected by
448 2011-01-22 Chong Yidong <cyd@stupidchicken.com>
450 * man.el (Man-highlight-references0): Use make-button (Bug#7881).
452 2011-01-22 Phil Hagelberg <phil@evri.com>
454 * pcmpl-unix.el (pcmpl-ssh-config-file): New option.
455 (pcmpl-ssh-known-hosts): Rename from pcmpl-ssh-hosts.
456 (pcmpl-ssh-config-hosts): New function.
457 (pcmpl-ssh-hosts): Use pcmpl-ssh-config-hosts in addition to
458 pcmpl-ssh-known-hosts.
460 2011-01-21 Jay Belanger <jay.p.belanger@gmail.com>
462 * calc/calc-undo.el (calc-undo): Autoload it.
463 * calc/calc-ext.el (calc-init-extensions): Remove keybindings
464 and autoload for `calc-undo'.
465 * calc/calc.el (calc-mode-map): Add keybindings for `calc-undo'.
467 * calc/calc-graph.el:
468 * calc/calc-map.el: Change `arglist' to `math-arglist' throughout.
470 2011-01-21 Štěpán Němec <stepnem@gmail.com> (tiny change)
472 * calc/calc-ext.el (calc-init-extensions): Map all `undo'
473 keybindings to `calc-undo'.
475 2011-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
477 Don't mess with *temp*.
478 * obsolete/spell.el: Move from textmodes/spell.el.
480 * term.el (term-read-input-ring):
481 * startup.el (display-startup-echo-area-message):
482 * progmodes/antlr-mode.el (antlr-directory-dependencies):
483 * comint.el (comint-read-input-ring): Use with-temp-buffer.
484 * international/mule.el (ctext-pre-write-conversion): Don't hardcode
487 2011-01-20 Ken Manheimer <ken.manheimer@gmail.com>
489 * allout.el: (allout-institute-keymap): Use fset instead of
492 (allout-hotspot-key-handler): Check for non-control-modified
493 bindings for hotspot characters if there are no control-modified
496 * allout.el: Summary - migrate to defining allout mode using
497 define-minor-mode instead of defun. Significantly clean-up
498 internal keymap provisions, refactoring and, in the process,
499 removing a lot of accumulated cruft.
501 allout-mode-map is now a keymap by virtue of being a defalias to
502 allout-mode-map-value, which contains the actual keymap structure.
504 (allout-mode): Use define-minor-mode rather than defun.
505 Remove now-unnecessary minor-mode setup activities from the body.
506 Specify :keymap as allout-mode-map so the minor-mode-map-alist
507 entry will be '(allout-mode . allout-mode-map) - see
508 allout-mode-map-value, below. Adjust docstring to track changes.
509 (allout-minor-mode): Remove this defalias, now that we're using
511 (allout-mode-map): Set value to be 'allout-mode-map. The actual
512 keymap is allout-mode-map-value, via defalias.
513 (allout-mode-map-value): The variable holding the actual mode
514 keymap structure, by virtue of defalias from allout-mode-map.
515 (allout-compose-and-institute-keymap): Rename from
516 allout-bind-keys, and including the binding-composition
517 functionality of the former produce-allout-mode-map and
518 allout-setup-mode-map.
519 (allout-institute-keymap): Take over the "setup" part of the former
520 allout-setup-mode-map. Reassign allout-mode-map-value value and
522 (allout-command-prefix) (allout-prefixed-keybindings)
523 (allout-unprefixed-keybindings):
524 Use allout-compose-and-institute-keymap to process the bindings.
525 (allout-unprefixed-keybindings): Remove extraneous '?' question
527 (allout-prefixed-keybindings): Elide binding to (prefixed) \C-h -
528 user can customize if they want to use that binding.
529 Bind allout-copy-topic-as-kill to (prefixed) \M-k.
530 Bind allout-up-current-level to (prefixed) \C-u. (I think i mistakenly
531 elided that, previously, instead of the one for \C-h.)
532 (allout-hotspot-key-handler): Remove attempt to resolve the key
533 through the literal key-string lookup on allout-keybindings-list.
534 That probably hasn't worked for a Long Time, and removal of
535 allout-keybindings-list further simplifies the keybindings
537 (allout-pre-command-business): Use allout-mode-map-value instead
539 (allout-preempt-trailing-ctrl-h): Remove. The user can customize
540 the bindings if they want to use a keybinding having a trailing
541 \C-h. No deprecation needed since this feature was never in a
543 (allout-keybindings-list): Remove. It's not been useful for a
544 while. (See allout-hotspot-key-handler changes, above.)
545 (produce-allout-mode-map): Remove. Consolidate into
546 allout-compose-and-institute-keymap.
547 (allout-mode-map-adjustments): Remove. No longer necessary with
548 removal of allout-preempt-trailing-ctrl-h.
549 (allout-setup-mode-map): Remove. Consolidate into
550 allout-compose-and-institute-keymap and allout-institute-keymap.
552 2011-01-20 Glenn Morris <rgm@gnu.org>
554 * vc/vc-svn.el (vc-svn-after-dir-status): Tweak previous change.
556 * simple.el (read-expression-history): Remove, it's in minibuf.c.
558 2011-01-20 Chong Yidong <cyd@stupidchicken.com>
560 * subr.el (y-or-n-p): Revert 2011-01-07 change, removing ARGS.
562 * files.el (find-alternate-file, basic-save-buffer)
563 (basic-save-buffer-2, revert-buffer, recover-file)
564 (kill-buffer-ask, abort-if-file-too-large)
565 (set-visited-file-name, write-file, backup-buffer)
566 (basic-save-buffer, save-some-buffers):
567 * dired-aux.el (dired-compress-file): Callers changed.
569 2011-01-19 Glenn Morris <rgm@gnu.org>
571 * vc/vc-svn.el (vc-svn-after-dir-status, vc-svn-parse-status):
572 Also check the property status. (Bug#7861)
574 2011-01-18 Michael Albinus <michael.albinus@gmx.de>
576 * net/tramp.el (tramp-debug-message): Extend function exclude
577 list. Use `regexp-opt'.
579 2011-01-18 Stefan Monnier <monnier@iro.umontreal.ca>
581 * textmodes/tex-mode.el (tex-font-lock-verb): Make sure \verb
582 highlighting doesn't spill over subsequent lines.
584 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't re-evaluate the
585 keymap expression. Improve docstring.
587 * electric.el (electric-indent-post-self-insert-function):
588 Don't auto-indent for indent-to-left-margin, it's too often
591 2011-01-16 Tassilo Horn <tassilo@member.fsf.org>
593 * strokes.el (strokes-read-stroke): Re-fill strokes buffer with
594 spaces if the frame was resized, so that the full visible buffer
595 serves as canvas for strokes.
597 2011-01-16 Glenn Morris <rgm@gnu.org>
599 * info-xref.el (info-xref-docstrings): Replace cl function.
600 Also skip directories.
602 2011-01-16 Kevin Ryde <user42@zip.com.au>
604 * info-xref.el: Version 3.
605 (info-xref-check, info-xref-check-all): Move commentary details
606 into docstrings for better visibility.
607 Use compilation-mode for the results buffer.
608 (info-xref-output, info-xref-output-error, info-xref-with-output)
609 (info-xref-filename, info-xref-in-progress):
610 New internals for this.
611 (info-xref-check-list, info-xref-check-buffer)
612 (info-xref-check-all-custom): Use those.
613 (info-xref-output-buffer): Rename from info-xref-results-buffer.
614 (info-xref-output-heading): Rename from info-xref-filename-heading.
615 (info-xref-good, info-xref-bad, info-xref-xfile-alist)
616 (info-xref-filename-heading): Move to output managing section.
617 (info-xref-docstrings): New command checking "Info node `(foo)Bar'"
618 (info-xref-lock-file-p, info-xref-with-file): New helpers for it.
619 (info-xref-subfile-p): Move to generic section with those two.
620 (info-xref-check-node): New function split from
621 info-xref-check-buffer, shared by info-xref-docstrings.
622 (info-xref-goto-node-p): Move to a checking section with that func.
623 (info-xref-unavail): New counter.
624 (info-xref-check-node): Use it.
625 (info-xref-with-output): Show count of unavailables at end of output.
626 (info-xref-all-info-files): Exclude ".*" dotfiles. Ignore broken
627 symlinks. Exclude .texi files. Exclude Emacs backup files.
628 (info-xref-check-all-custom): Fix quietening viper-mode and
629 gnus-registry-install -- use setq not let so as not to unbind
632 2011-01-16 Juri Linkov <juri@jurta.org>
634 * isearch.el (isearch-abort): Don't quit if search has
635 an incomplete regexp (isearch-error is non-nil). (Bug#7534)
637 2011-01-15 Mark Diekhans <markd@soe.ucsc.edu>
639 * files.el (backup-buffer): Make last-resort backup file in
642 * subr.el (locate-user-emacs-file): If .emacs.d does not exist,
643 make it with permission 700.
645 2011-01-15 Kenichi Handa <handa@m17n.org>
647 * mail/rmailmm.el (rmail-mime-insert-header):
648 Set rmail-mime-coding-system to a cons whose car is the last coding
649 system used to decode the header.
650 (rmail-mime-find-header-encoding): New function.
651 (rmail-mime-insert-decoded-text):
652 Override rmail-mime-coding-system if it is a cons.
653 (rmail-show-mime): If only a header part was decoded, find the
654 coding system while ignoring mm-charset-override-alist.
656 2011-01-15 Chong Yidong <cyd@stupidchicken.com>
658 * subr.el (event-start, event-end): Doc fix (Bug#7826).
660 2011-01-15 Kenichi Handa <handa@m17n.org>
662 * mail/rmailmm.el (rmail-mime-next-item)
663 (rmail-mime-previous-item): Delete them.
664 (rmail-mime-shown-mode): Recursively call for children.
665 (rmail-mime-hidden-mode): Delete the 2nd arg TOP.
667 (rmail-mime-raw-mode): Recursively call for children.
668 (rmail-mode-map): Change mapping of tab and backtab to
669 forward-button and backward-button respectively.
670 (rmail-mime-insert-tagline): Always insert "Hide" or "Show"
672 (rmail-mime-update-tagline): New function.
673 (rmail-mime-insert-text): Call rmail-mime-update-tagline if the
674 body display is changed.
675 (rmail-mime-toggle-button): Rename from rmail-mime-image.
676 (rmail-mime-image): Delete this button type.
677 (rmail-mime-toggle): New button type.
678 (rmail-mime-insert-bulk): Call rmail-mime-update-tagline if the
679 body display is changed. Change the save button label to "Save".
680 Don't process show/hide button here.
681 (rmail-mime-insert-multipart): Call rmail-mime-update-tagline if
682 the body display is changed. Unconditionally call
683 rmail-mime-insert for children.
684 (rmail-mime-handle): Update `display' vector of the just inserted
686 (rmail-mime-process): If mail-header-parse-content-type returns
687 nil, use "text/plain" as the fallback type.
688 (rmail-mime-insert): For raw-mode, recursively call
689 rmail-mim-insert for children.
690 (rmail-mime): Handle the case that the current buffer is not rmail
691 buffer (e.g. in summary buffer).
693 2011-01-15 Kenichi Handa <handa@m17n.org>
695 * mail/rmailmm.el (rmail-mime-next-item)
696 (rmail-mime-previous-item): Skip the body of a non-multipart
697 entity if a tagline is shown.
699 2011-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
701 * tmm.el (tmm-get-keymap): Skip bindings without labels (bug#7721).
702 (tmm-prompt): Simplify.
703 (tmm-add-prompt): Remove unused var `win'.
705 * whitespace.el (global-whitespace-newline-mode): Fix call (bug#7810)
706 to minor mode which used nil accidentally to mean "turn off".
708 2011-01-15 Michael Albinus <michael.albinus@gmx.de>
710 * net/tramp-sh.el (tramp-find-inline-compress)
711 (tramp-get-inline-coding): Quote command after pipe symbol for
712 local calls under W32. (Bug#6784)
714 2011-01-15 Michael Albinus <michael.albinus@gmx.de>
716 * net/tramp.el (tramp-default-method): Initialize with pscp/plink
717 only when running under W32.
719 2011-01-15 Eli Zaretskii <eliz@gnu.org>
721 * progmodes/grep.el (grep-compute-defaults): Quote the program
722 file name after the pipe symbol in Grep templates. (Bug#6784)
723 * jka-compr.el (jka-compr-partial-uncompress): Likewise.
725 2011-01-15 Lennart Borgman <lennart.borgman@gmail.com>
727 * buff-menu.el (Buffer-menu-buffer-list): New var.
728 (Buffer-menu-revert-function, list-buffers-noselect): Use it, so a
729 restricted buffer list is not lost on revert (Bug#7749).
731 2011-01-15 Eric Hanchrow <eric.hanchrow@gmail.com>
733 * net/ldap.el (ldap-search-internal): Discard stderr output.
735 2011-01-15 Eli Zaretskii <eliz@gnu.org>
737 * files.el (directory-abbrev-alist): Doc fix. (Bug#7777)
739 2011-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
741 * vc-bzr.el (vc-bzr-annotate-time): Tweak previous change.
743 2011-01-15 Kenichi Handa <handa@m17n.org>
745 * mail/rmailmm.el (rmail-mime-insert-bulk): Display an unknown
746 part as a plain text.
747 (rmail-mime-process-multipart): Set the default content-type to
748 nil for unknown multipart subtypes (bug#7651).
750 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
752 * hexl.el (hexl-mode-old-*): Remove.
753 (hexl-mode--old-var-vals): New var to replace them.
754 (hexl-mode--minor-mode-p, hexl-mode--setq-local): New funs.
755 (hexl-mode, hexl-follow-line, hexl-activate-ruler):
756 Use them to set local vars (bug#7846).
757 (hexl-mode-exit): Use hexl-mode--old-var-vals to restore state.
758 (hexl-backward-short, hexl-backward-word, hexl-scroll-down)
759 (hexl-scroll-up, hexl-end-of-1k-page, hexl-end-of-512b-page): Simplify.
761 * vc/smerge-mode.el: Resolve comment conflicts more aggressively.
762 (smerge-resolve--normalize-re): New var.
763 (smerge-resolve--extract-comment, smerge-resolve--normalize): New funs.
764 (smerge-resolve): Use them.
765 * newcomment.el (comment-only-p): New function.
766 (comment-or-uncomment-region): Use it.
768 2011-01-14 Brent Goodrick <bgoodr@gmail.com> (tiny change)
770 * abbrev.el (prepare-abbrev-list-buffer): If listing local abbrev
771 table, get the value before switching to the output buffer. (Bug#7733)
773 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
775 * progmodes/python.el (python-mode): Don't impose font-lock (bug#3628).
777 2011-01-14 Kim F. Storm <storm@cua.dk>
779 * emulation/cua-base.el (cua--init-keymaps):
780 Remap exchange-point-and-mark in cua-global-keymap.
782 2011-01-14 Tassilo Horn <tassilo@member.fsf.org>
784 * progmodes/sh-script.el (sh-other-keywords): Add ZSH's foreach
787 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
789 * emacs-lisp/easymenu.el: Add :enable (bug#7754), and obey :label.
791 (easy-menu-create-menu, easy-menu-convert-item-1):
792 Use :label rather than nil for labels. Use `case'.
793 Add :enable as alias for :active.
794 (easy-menu-binding): Obey :label.
796 2011-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
798 Use run-mode-hooks for major mode hooks (bug#513).
799 * textmodes/reftex-toc.el (reftex-toc-mode-map):
800 Rename from reftex-toc-map.
801 (reftex-toc-mode): Use define-derived-mode.
802 * textmodes/reftex-sel.el (reftex-select-shared-map): New map.
803 (reftex-select-label-mode-map, reftex-select-bib-mode-map):
804 Rename from reftex-select-(label|bib)-map. Move init into declaration.
805 (reftex-select-label-mode, reftex-select-bib-mode):
806 Use define-derived-mode.
807 * textmodes/reftex-index.el (reftex-index-phrases-mode-map)
808 (reftex-index-mode-map): Rename from reftex-index(-phrases)-map.
809 Move init into delcaration.
810 (reftex-index-mode, reftex-index-phrases-mode):
811 Use define-derived-mode.
812 * speedbar.el (speedbar-mode-syntax-table): Renaqme from
813 speedbar-syntax-table. Move init into declaration.
814 (speedbar-mode-map): Rename from speedbar-key-map.
815 Move init into declaration.
816 (speedbar-file-key-map): Move init into declaration.
817 (speedbar-mode): Use define-derived-mode.
818 * recentf.el (recentf-mode): Don't run hook (or message) redundantly.
819 * net/rcirc.el (rcirc-mode): Use run-mode-hooks.
820 * emacs-lisp/chart.el (chart-mode-map): Rename from chart-map.
821 (chart-face-list): Move initialization into declaration.
822 (chart-mode): Use define-derived-mode.
823 * calculator.el (calculator-mode-map): Move init into declaration.
824 (calculator-mode): Use define-derived-mode.
826 * mail/mail-utils.el (mail-strip-quoted-names): Make the regexp code
827 work for nested comments.
829 * progmodes/prolog.el: Use syntax-propertize. Further code cleanup.
830 (prolog-use-prolog-tokenizer-flag): Change default when
831 syntax-propertize can be used.
832 (prolog-syntax-propertize-function): New var.
833 (prolog-mode-variables): Move make-local-variable into `set'.
834 Don't make comment-column local since we don't set it.
835 Set comment-add (as it was in previous prolog.el). Use dolist.
836 Set syntax-propertize-function.
837 (prolog-mode, prolog-inferior-mode):
838 Call prolog(-inferior)-menu directly, not through the mode-hook.
839 (prolog-buffer-module, prolog-indent-level)
840 (prolog-paren-is-the-first-on-line-p, prolog-paren-balance)
841 (prolog-comment-limits, prolog-goto-comment-column):
842 Use line-(end|beginning)-position.
843 (prolog-build-prolog-command): Tighten up regexp.
844 (prolog-consult-compile): Move make-local-variable into `set'.
845 (prolog-consult-compile-filter, prolog-goto-next-paren)
846 (prolog-help-on-predicate, prolog-clause-info)
847 (prolog-mark-predicate): Don't let+setq.
848 (prolog-indent-line): Use indent-line-to.
849 Only call prolog-goto-comment-column if necessary.
850 (prolog-indent-level): Use bobp.
851 (prolog-first-pos-on-line): Remove, not used any more.
852 (prolog-in-string-or-comment): Use syntax-ppss if available.
853 (prolog-help-on-predicate): Use read-string.
854 (prolog-goto-predicate-info): Simplify.
855 (prolog-read-predicate): Use `default' rather than `initial'.
856 (prolog-temporary-file): Use make-temp-file to close a security hole.
857 (prolog-toggle-sicstus-sd): New command.
858 (prolog-electric-underscore, prolog-variables-to-anonymous):
859 Use dynamic-scoping as it was meant.
860 (prolog-menu): Move menu definitions to top-level.
861 Use a toggle-button for Sicstus's source debugger.
862 Change "Code" to the more usual "Prolog", and hence change "Prolog"
864 (prolog-inferior-menu): Reuse prolog-menu's help menu.
865 Move other menu definition to top-level.
867 2011-01-13 Tassilo Horn <tassilo@member.fsf.org>
869 * doc-view.el (doc-view-open-text): Use meaningful text buffer
870 name. Keep original document's directory as default-directory
872 (doc-view-initiate-display): Fall back to normal mode when
873 doc-view-mode cannot be enabled, also when extracting the document
874 text into a separate buffer (bug#6446).
876 * simple.el (shell-command): Don't error out if shell command
877 buffer contains text with non-nil read-only property when erasing
880 2011-01-13 Kim F. Storm <storm@cua.dk>
882 * ido.el (ido-may-cache-directory): Move "too-big" check later.
883 (ido-next-match, ido-prev-match): Fix stray reordering of matching
884 items when cycling through the matches.
886 2011-01-13 Tassilo Horn <tassilo@member.fsf.org>
888 * dired-x.el (dired-omit-verbose): New defcustom that allows
889 disabling the omit messages.
890 (dired-omit-expunge): Use it.
892 2011-01-13 Christian Ohler <ohler@gnu.org>
894 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: New files.
896 2011-01-13 Chong Yidong <cyd@stupidchicken.com>
898 * font-lock.el (font-lock-verbose): Default to nil.
900 2011-01-13 Chong Yidong <cyd@stupidchicken.com>
902 * simple.el (sendmail-user-agent-compose): Move to sendmail.el.
903 (compose-mail): New arg RETURN-ACTION.
904 (compose-mail-other-window, compose-mail-other-frame): Likewise.
906 * mail/sendmail.el (mail-return-action): New var.
907 (mail-mode): Make it buffer-local.
908 (mail-bury): Obey it. Move special Rmail window handling to
910 (mail, mail-setup): New arg RETURN-ACTION.
911 (sendmail-user-agent-compose): Move from simple.el.
913 * mail/rmail.el (rmail-mail-return): New function.
914 (rmail-start-mail): Pass it to compose-mail.
916 2011-01-12 Chong Yidong <cyd@stupidchicken.com>
918 * menu-bar.el (menu-bar-custom-menu): Tweak Mule and Customize
919 menus. Add menu item for customize-themes.
921 * cus-theme.el (customize-themes):
922 * emacs-lisp/package.el (package--list-packages):
923 Use switch-to-buffer.
925 2011-01-11 Johan Bockgård <bojohan@gnu.org>
927 * emacs-lisp/unsafep.el (unsafep): Handle backquoted forms.
929 2011-01-11 Stefan Monnier <monnier@iro.umontreal.ca>
931 * progmodes/prolog.el: Fix up coding convention and such.
932 (prolog-indent-width): Use the same default as in
933 previous prolog.el rather than tab-width which depends on which buffer
934 is current when the file is loaded.
935 (prolog-electric-newline-flag): Only enable if electric-indent-mode
937 (prolog-emacs): Remove. Use (featurep 'xemacs) instead.
938 (prolog-known-systems): Remove.
939 (prolog-mode-syntax-table, prolog-inferior-mode-map):
940 Move initialization into declaration.
941 (prolog-mode-map): Move initialization into declaration.
942 Remove system-specific mode-map vars, since they referred to the same
944 (prolog-mode-variables): Obey the user's preference w.r.t
945 adaptive-fill-mode. Prefer symbol-value to `eval'.
946 (prolog-mode-keybindings-edit): Add compatibility bindings.
947 (prolog-mode): Use define-derived-mode. Don't handle mercury here.
948 (mercury-mode-map): New var.
949 (mercury-mode, prolog-inferior-mode): Use define-derived-mode.
950 (prolog-ensure-process, prolog-process-insert-string)
951 (prolog-consult-compile): Use with-current-buffer.
952 (prolog-guess-fill-prefix): Simplify data flow.
953 (prolog-replace-in-string): New function to use instead of
955 (prolog-enable-sicstus-sd): Don't abuse `eval'.
956 (prolog-uncomment-region): Use `uncomment-region' when available.
957 (prolog-electric-colon, prolog-electric-dash): Use `eolp'.
958 (prolog-int-to-char, prolog-char-to-int): New functions to use instead
959 of int-to-char and char-to-int.
960 (prolog-mode-hook, prolog-inferior-mode-hook): Don't force font-lock.
962 2011-01-11 Stefan Bruda <stefan@bruda.ca>
964 * progmodes/prolog.el: Replace by a whole new file.
966 2011-01-11 Stefan Monnier <monnier@iro.umontreal.ca>
968 * subr.el (eval-after-load): Fix timing for features (bug#7769).
969 (declare-function, undefined, insert-for-yank)
970 (replace-regexp-in-string): Follow checkdoc's recommendations.
972 2011-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
974 * calendar/diary-lib.el (diary-mode): Refresh *Calendar* after
975 refreshing the diary buffer.
977 2011-01-10 Ken Manheimer <ken.manheimer@gmail.com>
979 * allout.el: Add 2011 to the file copyright.
980 (allout-encrypt-string): Prevent encryption from adding an extra
981 newline at the end of the topic body.
982 (allout-version): Increment to 2.3.
984 2011-01-10 Michael Albinus <michael.albinus@gmx.de>
986 * net/dbus.el (dbus-unregister-service): Complete doc.
987 Fix call of dbus-error signal.
988 (dbus-register-property): Use `dont-register' keyword.
990 2011-01-10 Jan Moringen <jan.moringen@uni-bielefeld.de>
992 * net/dbus.el (dbus-unregister-service): Translate returned
993 integer into a symbol.
994 (dbus-register-property): Use `dbus-register-service' to do the
997 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
999 * progmodes/idlw-help.el (idlwave-help-link): Inherit from link face.
1000 Suggested by Joakim Verona.
1002 * comint.el (comint-highlight-prompt): Inherit minibuffer-prompt.
1004 * wid-edit.el (visibility): Replace :on-image and :off-image
1005 widget properties with :on-glyph and :off-glyph, for consistency
1006 with the `visibility' widget.
1007 (widget-toggle-value-create, widget-visibility-value-create):
1008 Merge into a single function `widget-toggle-value-create'.
1010 * cus-edit.el (custom-variable-value-create, custom-visibility)
1011 (custom-face-edit-value-create, custom-face-value-create):
1012 Replace :on-image and :off-image widget properties with :on-glyph and
1013 :off-glyph, for consistency with the `visibility' widget.
1015 2011-01-09 Andreas Schwab <schwab@linux-m68k.org>
1017 * net/ldap.el (ldap-search-internal): Don't use eval.
1019 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
1021 * subr.el (read-char-choice): Use read-key.
1023 * custom.el (custom-safe-themes): Rename from
1024 custom-safe-theme-files. Add :risky tag.
1025 (load-theme, custom-theme-load-confirm): Save sha1 hashes to
1026 custom-safe-themes, not filenames. Suggested by Stefan Monnier.
1028 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
1030 * tool-bar.el (tool-bar-setup): Remove Help button. Remove label
1031 from Search and add a label to Undo.
1033 * vc/vc-dir.el (vc-dir-tool-bar-map): Rearrange, removing
1034 inappropriate buttons and adding :vert-only tags.
1036 * progmodes/compile.el (compilation-mode-tool-bar-map): Adjust to
1037 removal of Help tool-bar button. Remove Undo button for space.
1039 * info.el (info-tool-bar-map): Add :vert-only tags.
1041 2011-01-08 Tassilo Horn <tassilo@member.fsf.org>
1043 * doc-view.el (doc-view-mode-p): Check for png or imagemagick
1044 image backend support. Either of them is fine.
1046 2011-01-08 Chong Yidong <cyd@stupidchicken.com>
1048 * subr.el (y-or-n-p): Doc fix.
1050 * custom.el (custom-safe-theme-files): New defcustom.
1051 (custom-theme-load-confirm): New function.
1052 (load-theme): Load theme using `load', confirming with
1053 custom-theme-load-confirm if necessary.
1055 * subr.el (read-char-choice): New function, factored out from
1056 dired-query and hack-local-variables-confirm.
1058 * dired-aux.el (dired-query):
1059 * files.el (hack-local-variables-confirm): Use it.
1061 * dired-aux.el (dired-compress-file):
1062 * files.el (abort-if-file-too-large, find-alternate-file)
1063 (set-visited-file-name, write-file, backup-buffer)
1064 (basic-save-buffer, basic-save-buffer-2, save-some-buffers)
1065 (delete-directory, revert-buffer, recover-file, kill-buffer-ask):
1066 Use new format string args for y-or-n-p and yes-or-no-p.
1068 2011-01-08 Andreas Schwab <schwab@linux-m68k.org>
1070 * progmodes/compile.el (compilation-error-regexp-alist-alist)
1071 [gcc-include]: Tighten file name match, add match for column
1073 [gnu]: Remove unused group.
1075 2011-01-08 Glenn Morris <rgm@gnu.org>
1077 * makefile.w32-in (EMACSOPT): Add --no-site-lisp.
1079 * makefile.w32-in (EMACSOPT): -batch implies --no-init-file.
1081 2011-01-07 Sam Steingold <sds@gnu.org>
1083 * w32-fns.el (w32-shell-name): Use `shell-file-name' instead of
1084 the `explicit-shell-file-name' because that is the
1085 non-interactive shell.
1087 2011-01-07 Chong Yidong <cyd@stupidchicken.com>
1089 * subr.el (y-or-n-p): Accept format string args.
1091 2011-01-07 Glenn Morris <rgm@gnu.org>
1093 * Makefile.in (EMACSOPT): Add --no-site-lisp.
1095 2011-01-06 Ken Manheimer <ken.manheimer@gmail.com>
1097 * allout.el (allout-back-to-current-heading): Ensure return to
1098 the visible containing topic, rather than a collapsed one.
1099 (allout-view-change-hook): Remove hook that was deprecated long ago.
1100 (allout-exposure-change-hook): Remove documentation remarks
1101 concerning removed allout-view-change-hook.
1102 (allout-flag-region): Remove invocation of and documentation
1103 remarks concerning allout-view-change-hook.
1105 2011-01-06 Glenn Morris <rgm@gnu.org>
1107 * vc/vc-bzr.el (vc-bzr-annotate-command, vc-bzr-annotate-time)
1108 (vc-bzr-annotate-extract-revision-at-line):
1109 Handle authors with embedded spaces. (Bug#7792)
1111 2011-01-05 Tassilo Horn <tassilo@member.fsf.org>
1113 * doc-view.el (doc-view-image-width): New variable.
1114 (doc-view-enlarge, doc-view-insert-image): Prefer imagemagick
1115 backend for PNG images, and do dynamic rescaling instead of
1116 reconverting the whole doc.
1118 2011-01-05 Glenn Morris <rgm@gnu.org>
1120 * emacs-lisp/rx.el (rx-repeat): Replace CL function.
1122 2011-01-04 Ken Manheimer <ken.manheimer@gmail.com>
1124 * allout.el: Reconcile with changes in line movement behavior for
1125 long text lines that cross more than a single physical window
1126 line, ie when truncate-lines is nil.
1127 (allout-next-visible-heading): Provide for change in line-move
1128 behavior on long lines when truncate-lines is nil. In that case,
1129 line-move can wind up on the same textual line when it moves to
1130 the next window line, and moving to the bullet position after the
1131 move yields zero advancement. Add logic to detect and compensate
1132 for the lack of progress.
1133 (allout-current-topic-collapsed-p): move-end-of-line respect for
1134 field boundaries is different when operating with body lines
1135 shorter than window width versus ones greater than window width,
1136 which can yield false negatives in this function. Avoid
1137 difference by applying move-end-of-line while field-text-motion is
1140 2011-01-04 Glenn Morris <rgm@gnu.org>
1142 * textmodes/rst.el (rst-compile-toolsets):
1143 Add pdf and s5 to option alist.
1145 2011-01-04 Jan Moringen <jan.moringen@uni-bielefeld.de>
1147 * net/dbus.el (dbus-register-property): Add optional parameter
1148 dont-register-service. Updated docstring accordingly.
1150 2011-01-04 Andreas Schwab <schwab@linux-m68k.org>
1152 * textmodes/rst.el (rst-compile-pdf-preview)
1153 (rst-compile-slides-preview): Remove extra line.
1155 2011-01-04 Glenn Morris <rgm@gnu.org>
1157 * textmodes/rst.el (rst-compile-toolsets): Make it a defcustom.
1158 Add `pdf' and `s5' entries. Use `prog.py' if found, otherwise
1159 default to `prog' without a .py extension.
1160 (rst-compile-pdf-preview, rst-compile-slides-preview):
1161 Use program names from rst-compile-toolsets, rather than hard-coding.
1162 (rst-portable-mark-active-p): Fix presumed typo.
1164 2011-01-02 Eli Zaretskii <eliz@gnu.org>
1166 * term/w32-win.el (dynamic-library-alist): Set up correctly for
1167 libpng versions both before and after 1.4.0. (Bug#7716)
1169 2011-01-02 Eli Zaretskii <eliz@gnu.org>
1171 * time.el (display-time-mode): Mention display-time-interval in
1172 the doc string. (Bug#7713)
1174 2011-01-02 Kenichi Handa <handa@m17n.org>
1176 * mail/rmailmm.el (rmail-mime-parse): Perform parsing in
1177 condition-case and return an error message string if something
1179 (rmail-show-mime): Adjust for the above change. Insert the
1180 header by rmail-mime-insert-header.
1182 2011-01-02 Kenichi Handa <handa@m17n.org>
1184 * mail/rmailmm.el: New key bindings for rmail-mime-next-item,
1185 rmail-mime-previous-item, and rmail-mime-toggle-hidden.
1186 (rmail-mime-mbox-buffer)
1187 (rmail-mime-view-buffer, rmail-mime-coding-system): New variables.
1188 (rmail-mime-entity): Argument changed. All codes handling an
1189 entity object are changed.
1190 (rmail-mime-entity-header, rmail-mime-entity-body): Adjust for
1192 (rmail-mime-entity-children, rmail-mime-entity-handler)
1193 (rmail-mime-entity-tagline): New functions.
1194 (rmail-mime-message-p): New function.
1195 (rmail-mime-save): Bind rmail-mime-mbox-buffer.
1196 (rmail-mime-entity-segment, rmail-mime-next-item)
1197 (rmail-mime-previous-item, rmail-mime-shown-mode)
1198 (rmail-mime-hidden-mode, rmail-mime-raw-mode)
1199 (rmail-mime-toggle-raw, rmail-mime-toggle-hidden)
1200 (rmail-mime-insert-tagline, rmail-mime-insert-header):
1202 (rmail-mime-text-handler): Call rmail-mime-insert-text.
1203 (rmail-mime-insert-decoded-text): New function.
1204 (rmail-mime-insert-text): Call rmail-mime-insert-decoded-text.
1205 (rmail-mime-insert-image): Argument changed. Caller changed.
1206 (rmail-mime-image): Call rmail-mime-toggle-hidden.
1207 (rmail-mime-set-bulk-data): New funciton.
1208 (rmail-mime-insert-bulk): Argument changed.
1209 (rmail-mime-multipart-handler): Return t.
1210 (rmail-mime-process-multipart): Argument changed.
1211 Handle "multipart/alternative" here.
1212 (rmail-mime-process): Argument changed.
1213 (rmail-mime-parse): Bind rmail-mime-mbox-buffer.
1214 (rmail-mime-insert): Argument changed. Handle raw display mode.
1215 (rmail-mime): Argument changed. Handle toggling of raw display
1217 (rmail-show-mime): Bind rmail-mime-mbox-buffer and
1218 rmail-mime-view-buffer.
1219 (rmail-insert-mime-forwarded-message): Likewise.
1220 (rmail-search-mime-message): Likewise. Don't bind rmail-buffer.
1222 * mail/rmail.el (rmail-show-message-1): If rmail-enable-mime is
1223 non-nil, handle the header in rmail-show-mime-function.
1225 2011-01-02 Leo <sdl.web@gmail.com>
1227 * help-fns.el (describe-variable): Fix previous change.
1229 2011-01-02 Juri Linkov <juri@jurta.org>
1231 * isearch.el (isearch-lazy-highlight-error): New variable.
1232 (isearch-lazy-highlight-new-loop): Compare `isearch-error' and
1233 `isearch-lazy-highlight-error'. Set `isearch-lazy-highlight-error'
1234 to the current value of `isearch-error' (Bug#7468).
1236 2011-01-02 Chong Yidong <cyd@stupidchicken.com>
1238 * help-fns.el (describe-variable): Don't emit trailing whitespace
1241 2011-01-02 Chong Yidong <cyd@stupidchicken.com>
1243 * textmodes/rst.el (rst-compile-pdf-preview)
1244 (rst-compile-slides-preview): Use make-temp-file (Bug#7646).
1246 2011-01-02 Kevin Gallagher <Kevin.Gallagher@boeing.com>
1248 * emulation/edt-mapper.el: Override mapping of function keys so
1249 that the later call to read-key-sequence works.
1251 2011-01-02 Eli Zaretskii <eliz@gnu.org>
1253 * mail/smtpmail.el (smtpmail-send-it): Write queued mail body with
1254 Unix EOLs. (Bug#7589)
1256 2011-01-02 Leo <sdl.web@gmail.com>
1258 * eshell/em-hist.el (eshell-previous-matching-input): Signal error
1259 if point is not behind eshell-last-output-end (Bug#7585).
1261 2011-01-02 Stefan Monnier <monnier@iro.umontreal.ca>
1263 * files.el (file-local-variables-alist):
1264 Make permanent-local (bug#7767).
1266 2011-01-02 Glenn Morris <rgm@gnu.org>
1268 * version.el (emacs-copyright): Set short copyright year to 2011.
1270 2011-01-02 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
1272 * mail/mail-utils.el (mail-strip-quoted-names): Avoid clobbering
1273 an existing temp buffer. (Bug#7746)
1275 2011-01-02 Glenn Morris <rgm@gnu.org>
1277 * mail/mail-utils.el (mail-mbox-from): Handle From: headers with
1278 multiple addresses. (Bug#7760)
1280 2011-01-01 Ken Manheimer <ken.manheimer@gmail.com>
1282 * allout.el (allout-auto-fill): Do not infinitely recurse - use
1283 do-auto-fill if everything points back to allout-auto-fill.
1284 (allout-mode-deactivate-hook): Declare obsolete, in favor of
1285 standard-formed minor-mode deactivate hook, allout-mode-off-hook.
1287 2010-12-31 Michael Albinus <michael.albinus@gmx.de>
1289 * net/tramp-sh.el (tramp-methods): Add recursive options to "scpc"
1292 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
1294 * doc-view.el (doc-view-set-doc-type): New function refactored
1296 (doc-view-fallback-mode): New function.
1297 (doc-view-mode): Use it.
1298 (doc-view-mode-maybe): New function that checks if doc-view-mode
1299 can be used and falls back to the next best mode otherwise.
1301 * files.el (auto-mode-alist): Use doc-view-mode-maybe for PDF,
1302 DVI, OpenDocument, and MS Office files.
1304 2010-12-30 Andreas Schwab <schwab@linux-m68k.org>
1306 * emacs-lisp/rx.el (rx-syntax): Fix typo.
1308 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
1310 * doc-view.el (doc-view-toggle-display): Perform rassq-delete-all
1311 on a copy of auto-mode-alist, because that deletes with side
1314 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
1316 * doc-view.el (doc-view-mode, doc-view-toggle-display):
1317 Use normal-mode without doc-view-mode bindings in auto-mode-alist as
1318 fallback instead of hard coding fundamental mode.
1320 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
1322 * doc-view.el (doc-view-doc->txt): Handle OpenDocument (or MS
1323 Office) files also for searching.
1325 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
1327 * doc-view.el: Implement viewing of OpenDocument (and Microsoft
1328 Office) files. Not yet enabled via auto-mode-list.
1329 (doc-view-unoconv-program): New custom variable.
1330 (doc-view-mode-p): Handle new odf document type.
1331 (doc-view-odf->pdf): New conversion function.
1332 (doc-view-convert-current-doc): Call it for odf files.
1333 (doc-view-mode): Recognize newly supported file extensions.
1335 2010-12-30 Michael Albinus <michael.albinus@gmx.de>
1337 * net/tramp.el (tramp-default-method-alist)
1338 (tramp-default-user-alist)
1339 (tramp-local-host-regexp, tramp-prefix-domain-format)
1340 (tramp-prefix-domain-regexp): Set tramp-autoload cookie.
1343 * net/tramp-gvfs.el:
1345 * net/tramp-imap.el:
1347 * net/tramp-smb.el: Add tramp-autoload cookie for initialisation
1348 code of `tramp-default-method-alist' and `tramp-default-user-alist'.
1350 2010-12-29 Karl Fogel <kfogel@red-bean.com>
1352 * saveplace.el (save-place-alist-to-file): Save list sorted and
1353 pretty-printed, so that it is mergeable by line-based text merging,
1354 as suggested by Iain Dalton <iain.dalton {_AT_} gmail.com>.
1356 2010-12-28 Ken Manheimer <ken.manheimer@gmail.com>
1358 * allout.el (allout-v18/19-file-var-hack): Obsolete, remove.
1359 (allout-mode): Argument "toggle" => "force".
1360 Refine the docstring.
1361 Remove special provisions for reactivation, besides the 'force'
1363 Consolidate layout provisions coce directly into the activation
1364 condition branch, now that we've removed those provisions.
1365 (allout-unload-function): Explicitly activate the mode before
1366 deactivating, if it's initially deactivated.
1367 (allout-set-buffer-multibyte): Properly prevent byte-compiler
1368 warnings for version of function used only where
1369 set-buffer-multibyte is unavailable.
1371 2010-12-28 Chong Yidong <cyd@stupidchicken.com>
1373 * tool-bar.el (tool-bar-setup): Remove :enable conditions, which
1374 are handled by the menu-bar entries. As before, don't use
1375 :visibile to avoid changing the tool-bar.
1377 2010-12-27 Michael Albinus <michael.albinus@gmx.de>
1379 * net/secrets.el (secrets-delete-alias): New defun.
1381 2010-12-27 Michael Albinus <michael.albinus@gmx.de>
1383 * net/tramp.el (tramp-default-user-alist): Do not add "ssh" based
1384 methods, otherwise ~/.ssh/config would be ignored.
1386 2010-12-26 Stefan Monnier <monnier@iro.umontreal.ca>
1388 * emacs-lisp/rx.el: Make it a superset of sregex.
1389 (rx-constituents): Add `any => "."', mark `repeat' as taking any number
1390 of args, add `regex' alias.
1391 (rx-info): Add arg to distinguish head and standalone forms.
1392 (rx-check, rx-form): Pass the corresponding arg.
1394 (rx-repeat): Make it work for any number of args.
1395 (rx-syntax): Make it accept syntax chars as is.
1396 * obsolete/sregex.el: Move from emacs-lisp/.
1397 * emacs-lisp/re-builder.el: Remove sregex support.
1398 * emacs-lisp/edebug.el (sregexq, rx): Remove redundant defs.
1400 2010-12-25 Eli Zaretskii <eliz@gnu.org>
1402 * mouse.el (mouse-yank-primary): On MS-Windows, try the (emulated)
1403 PRIMARY first, then the clipboard. (Bug#7699)
1405 2010-12-22 Stefan Monnier <monnier@iro.umontreal.ca>
1407 * emacs-lisp/bytecomp.el (byte-compile-output-docform): Fix up use of
1410 2010-12-21 Chong Yidong <cyd@stupidchicken.com>
1412 * help-fns.el (find-lisp-object-file-name): Locate .emacs from
1413 .emacs.elc (Bug#7530).
1415 * wid-edit.el (widget-image-find): Remove bogus :ascent spec from
1416 image spec (Bug#7480).
1418 2010-12-21 Daiki Ueno <ueno@unixuser.org>
1420 * obsolete/pgg-parse.el, obsolete/pgg-pgp5.el, obsolete/pgg-pgp.el,
1421 * obsolete/pgg-gpg.el, obsolete/pgg-def.el, obsolete/pgg.el:
1424 2010-12-20 Leo <sdl.web@gmail.com>
1426 * dnd.el (dnd-get-local-file-name): Unhex of file name shall
1427 always be performed (Bug#7680).
1429 2010-12-20 Chong Yidong <cyd@stupidchicken.com>
1431 * menu-bar.el (menu-bar-kill-ring-save): Make obsolete.
1432 (menu-bar-edit-menu): Bind "Copy" to kill-ring-save. Don't use
1435 * color.el: Move from gnus/.
1437 * vc/diff.el (diff-better-file-name): Function deleted.
1438 abbreviating file names causes problems with shell-quote-argument.
1439 (diff-no-select): Just use expand-file-name.
1441 * tool-bar.el (tool-bar--image-expression): New function.
1442 (tool-bar-local-item, tool-bar--image-exp): Use it.
1443 (tool-bar-setup): Initialize tool-bar-separator-image-expression.
1444 Use :enable instead of :visible to avoid changing the tool-bar
1445 configuration unnecessarily.
1447 * info.el (info-tool-bar-map): Add separators.
1449 2010-12-17 Ken Brown <kbrown@cornell.edu>
1451 * loadup.el: Use version numbers in Cygwin build.
1453 2010-12-17 Ryan Twitchell <metatheorem@gmail.com> (tiny change)
1455 * ido.el (ido-file-internal): Ask for confirmation before
1456 overwriting an existing file (Bug#1238).
1458 2010-12-16 Chong Yidong <cyd@stupidchicken.com>
1460 * tool-bar.el (tool-bar-setup): Add separators.
1462 * menu-bar.el (featurep): Use menu-bar-separator.
1464 2010-12-16 Ken Manheimer <ken.manheimer@gmail.com>
1466 Migrate allout encryption provisions from pgg to epg.
1468 * allout.el (allout-toggle-current-subtree-encryption)
1469 (allout-toggle-subtree-encryption): Adjust docstrings to reflect
1470 defaulting policy and other changes. Change fetch-pass to keymode-cue,
1471 for simpler universal argument interpretation.
1472 (allout-toggle-subtree-encryption): Adjust docstring to describe
1473 changed encryption provisions. Change fetch-pass to keymode-cue, for
1474 simpler universal argument interpretation. Remove provisions for
1475 handling key type and identity - they'll all be within
1476 allout-encrypt-string or epg/epg or even contained all the way in gpg.
1477 (allout-encrypt-string): Include keymode-cue, for optionally prompting
1478 for keypair recipients (universal argument > 1) and, in addition,
1479 associating the specified recipients with the outline (universal
1480 argument > 4) using a file local variable setting for
1481 'epa-file-encrypt-to'.
1482 Require epa, for recipients handling.
1483 Change how regexp filtering elements are named.
1484 Describe the problem with caching of incorrect symmetric-decryption
1486 Use the epa-passphrase-callback-function, in case the user is using
1488 Support saving of the selected keypair recipients when invoked with a
1490 Remove obsolete arguments 'fetch-pass', 'target-cache-id', 'retried'.
1492 Establish epg-context with armoring and default epg-protocol.
1493 Remove all passphrase cache, verification, and hinting code.
1494 (allout-passphrase-verifier-handling, allout-passphrase-hint-handling):
1495 No longer used, delete.
1496 (allout-mode): Adjust docstring to describe changed encryption
1497 provisions. Describe the problem with caching of incorrect
1498 symmetric-decryption keys.
1499 (allout-obtain-passphrase, allout-epg-passphrase-callback-function)
1500 (allout-make-passphrase-state, allout-passphrase-state-passphrase)
1501 (allout-encrypted-key-info, allout-update-passphrase-mnemonic-aids)
1502 (allout-get-encryption-passphrase-verifier, allout-verify-passphrase):
1505 2010-12-16 Daiki Ueno <ueno@unixuser.org>
1507 * epa-file.el (epa-file-select-keys): Accept 'silent to inhibit
1508 key selection prompt; make 'silent as default (Bug#7487).
1510 2010-12-16 Leo <sdl.web@gmail.com>
1512 * eshell/eshell.el (eshell-directory-name):
1513 Use locate-user-emacs-file (Bug#7578).
1515 2010-12-15 Glenn Morris <rgm@gnu.org>
1517 * loadup.el (symbol-file-load-history-loaded): Remove; unused.
1519 2010-12-15 Jari Aalto <jari.aalto@cante.net>
1520 Scott Evans <gse@antisleep.com>
1522 * rect.el (rectange--default-line-number-format)
1523 (rectangle-number-line-callback): New functions.
1524 (rectangle-number-lines): New command, bound to C-x r N (Bug#4382).
1526 2010-12-15 Chong Yidong <cyd@stupidchicken.com>
1528 * rect.el (operate-on-rectangle-lines, string-rectangle-string):
1529 Delete unused variables.
1530 (move-to-column-force): Remove function obsolete since 21.2.
1532 2010-12-14 Michael Albinus <michael.albinus@gmx.de>
1534 * net/tramp.el (tramp-temp-buffer-file-name): Make it permanent-local.
1535 (tramp-handle-insert-file-contents): Do not set permanent-local
1538 * net/tramp-cache.el (tramp-persistency-file-name):
1539 Use `locate-user-emacs-file' if fboundp.
1541 * net/tramp-sh.el (tramp-methods): Add "ksu".
1542 (tramp-default-user-alist): Add "ksu". Use `regexp-opt' for
1545 2010-12-14 Glenn Morris <rgm@gnu.org>
1547 * progmodes/js.el: Doc't require font-lock, etags, or easymenu.
1548 (find-tag-marker-ring): Declare.
1549 (js-find-symbol): Require etags.
1551 * mail/sendmail.el: Don't require rmail or mailalias when compiling.
1553 (mail-alias-file): Don't autoload. Doc fix.
1554 (mail-bury-selects-summary, mail-send-nonascii): Don't autoload.
1555 (mail-mailer-swallows-blank-line): Default to nil. Doc fix.
1556 Mark as obsolete, and risky.
1557 (mail-setup): Simplify.
1559 * mail/mailalias.el (build-mail-aliases): Make it interactive.
1560 * mail/sendmail.el (build-mail-aliases): Update autoload.
1562 * dired.el (dired-trivial-filenames, dired-chown-program)
1563 (dired-auto-revert-buffer): Remove autoload cookies.
1564 * mail/sendmail.el (mail-recover-1): Require 'dired.
1566 * dired.el (dired-subdir-switches, dired-chown-program)
1567 (dired-use-ls-dired, dired-chmod-program, dired-touch-program):
1568 Make into defcustoms.
1569 (dired-chown-program): Simplify initialization.
1571 * mail/mail-utils.el: No need to require lisp-mode, it's in loadup.
1573 2010-12-13 Romain Francoise <romain@orebokech.com>
1575 * net/gnutls.el (gnutls-negotiate): Fix setting of default trustfiles.
1577 2010-12-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
1579 * net/netrc.el (netrc-point-at-eol): Remove the unused
1580 netrc-point-at-old and netrc-bound-and-true-p bindings.
1581 (netrc-parse): Cache the netrc contents.
1583 2010-12-13 Eli Zaretskii <eliz@gnu.org>
1585 * subr.el (posn-col-row): Evaluate header-line-format in the
1586 context of the POSITION window's buffer.
1588 2010-12-13 Glenn Morris <rgm@gnu.org>
1590 * subr.el (member-ignore-case, run-mode-hooks, insert-for-yank-1)
1591 (with-silent-modifications): Doc fixes.
1593 2010-12-13 Michael Albinus <michael.albinus@gmx.de>
1595 * net/tramp.el (tramp-action-password, tramp-process-actions):
1596 Revert previous from. Use `save-restriction'.
1598 2010-12-13 Stephen Berman <stephen.berman@gmx.net>
1600 * calendar/diary-lib.el (diary-list-sexp-entries):
1601 Handle case of no newline at end of file. (Bug#7536)
1603 2010-12-13 Glenn Morris <rgm@gnu.org>
1605 * mail/smtpmail.el (smtpmail-send-it): Revert previous change.
1607 2010-12-13 Michael Albinus <michael.albinus@gmx.de>
1609 * net/tramp.el (tramp-action-password): Delete region, do not narrow.
1610 (tramp-process-actions): Do not widen.
1612 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1613 Protect buffer-modified value. (Bug#7557)
1615 2010-12-13 Jan Moringen <jmoringe@techfak.uni-bielefeld.de>
1617 * log-edit.el (log-edit-changelog-entries):
1618 Regexp quote filename. (Bug#7505)
1620 2010-12-13 Tom Breton <tehom@panix.com>
1622 * cus-edit.el (custom-save-all):
1623 Bind print-length and print-level to nil. (Bug#7581)
1625 2010-12-13 Glenn Morris <rgm@gnu.org>
1627 * mouse.el (mouse-menu-major-mode-map, mouse-menu-bar-map):
1628 Run hooks to update menu contents. (Bug#7586)
1630 * mail/smtpmail.el (smtpmail-send-it): Avoid colons in the queued
1631 file names, for the sake of MS Windows. (Bug#7588)
1633 2010-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
1635 * diff-mode.el (diff-refine-hunk): Make it work when the hunk contains
1636 empty lines without a leading space.
1638 2010-12-13 Leo <sdl.web@gmail.com>
1640 * dired-aux.el (dired-do-redisplay): Postpone dired-after-readin-hook
1641 while mapping over marks (Bug#6810).
1643 2010-12-13 Chong Yidong <cyd@stupidchicken.com>
1645 * image-dired.el (image-dired-db-file)
1646 (image-dired-temp-image-file, image-dired-gallery-dir)
1647 (image-dired-temp-rotate-image-file): Set default values relative
1648 to image-dired-dir (Bug#7518).
1650 2010-12-13 Lawrence Mitchell <wence@gmx.li>
1652 * format.el (format-decode-run-method): Pass args FROM and TO, not
1653 point-min and point-max, to shell-command-on-region (Bug#7488).
1655 2010-12-13 Jan Djärv <jan.h.d@swipnet.se>
1657 * frame.el (blink-cursor-mode): Make default t for ns.
1659 2010-12-13 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
1661 * vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
1663 2010-12-13 Chong Yidong <cyd@stupidchicken.com>
1665 * comint.el (comint-dynamic-list-input-ring)
1666 (comint-dynamic-complete-filename)
1667 (comint-replace-by-expanded-filename)
1668 (comint-dynamic-simple-complete)
1669 (comint-dynamic-list-filename-completions)
1670 (comint-dynamic-list-completions): Doc fix (Bug#7499).
1672 * subr.el (posn-x-y, posn-object-x-y, posn-object-width-height):
1675 2010-12-13 Martin Rudalics <rudalics@gmx.at>
1677 * dired.el (dired-pop-to-buffer): Bind pop-up-frames to nil
1680 2010-12-13 W. Martin Borgert <debacle@debian.org> (tiny change)
1682 * files.el (auto-mode-alist): Handle .dbk (DocBook) with xml-mode.
1685 2010-12-13 Eli Zaretskii <eliz@gnu.org>
1687 * files.el (file-relative-name): Handle UNC file names on
1688 DOS/Windows. (Bug#4674)
1690 2010-12-13 Daiki Ueno <ueno@unixuser.org>
1692 * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
1693 "RIPEMD160" (Bug#7490). Reported by Daniel Kahn Gillmor.
1694 (epg-context-set-passphrase-callback): Mention that the callback
1695 is not called when used with GnuPG 2.x.
1697 2010-12-13 Glenn Morris <rgm@gnu.org>
1699 * ps-print.el (ps-line-lengths-internal, ps-nb-pages):
1700 Ensure ps-footer-font-size-internal is initialized.
1701 Call ps-get-page-dimensions before trying to use ps-font-for-text.
1703 2010-12-13 Kenichi Handa <handa@m17n.org>
1705 * mail/rmailmm.el (rmail-mime-parse): Call rmail-mime-process
1706 within condition-case.
1707 (rmail-show-mime): Don't use condition-case.
1708 (rmail-search-mime-message): New function.
1709 (rmail-search-mime-message-function): Set to
1710 rmail-search-mime-message.
1712 2010-12-13 Leo <sdl.web@gmail.com>
1714 * ido.el (ido-common-initialization): New function. (bug#3274)
1716 (ido-completing-read): Call it.
1718 2010-12-12 Karl Fogel <kfogel@red-bean.com>
1720 * bookmark.el (bookmark-name-from-full-record): Rename back to
1721 this original name from `bookmark-name-from-record' reverting part
1722 of 2010-12-08T08:09:27Z!kfogel@red-bean.com / kfogel@red-bean.com-20101208080927-5j9jqnb2xvcw4ogm.
1723 As Drew Adams pointed out, there was no reason to cause churn for
1724 third-party callers.
1726 2010-12-12 Alan Mackenzie <acm@muc.de>
1728 * progmodes/cc-engine.el (c-forward-type): Before scanning a
1729 template arglist, check that the current language supports this.
1731 2010-12-11 Glenn Morris <rgm@gnu.org>
1733 * vc/vc-bzr.el (vc-bzr-state-heuristic): Also check that the executable
1734 state of the file matches. (Bug#7544)
1735 (vc-bzr-register, vc-bzr-checkin)
1736 (vc-bzr-annotate-extract-revision-at-line): Doc fixes.
1737 (vc-directory-exclusion-list): Remove unnecessary eval-after-load.
1739 * textmodes/sgml-mode.el (sgml-xml-guess): Add .xhtml extension.
1741 2010-12-11 Karel Klíč <kklic@redhat.com>
1743 * files.el (auto-mode-alist): Use html-mode for *.xhtml. (Bug#7606)
1745 2010-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
1747 Derive from prog-mode, use derived-mode-p, and fix up various
1748 minor style issues in lisp/progmodes.
1750 * progmodes/vhdl-mode.el (vhdl-mode):
1751 * progmodes/verilog-mode.el (verilog-mode):
1752 * progmodes/vera-mode.el (vera-mode):
1753 * progmodes/sql.el (sql-mode):
1754 * progmodes/scheme.el (scheme-mode):
1755 * progmodes/perl-mode.el (perl-mode):
1756 * progmodes/octave-inf.el (inferior-octave-mode):
1757 * progmodes/autoconf.el (autoconf-mode):
1758 * progmodes/m4-mode.el (m4-mode):
1759 * progmodes/inf-lisp.el (inferior-lisp-mode):
1760 * progmodes/idlwave.el (idlwave-mode):
1761 * progmodes/icon.el (icon-mode):
1762 * progmodes/idlw-help.el (idlwave-help-mode):
1763 * progmodes/dcl-mode.el (dcl-mode):
1764 * progmodes/idlw-shell.el (idlwave-shell-mode):
1765 * progmodes/ebrowse.el (ebrowse-tree-mode, ebrowse-electric-list-mode)
1766 (ebrowse-member-mode, ebrowse-electric-position-mode):
1767 Use define-derived-mode.
1769 * progmodes/xscheme.el (exit-scheme-interaction-mode)
1770 (xscheme-enter-interaction-mode, xscheme-enter-debugger-mode)
1771 (xscheme-debugger-mode-p, xscheme-send-string-1):
1772 * progmodes/tcl.el (inferior-tcl-proc, tcl-current-word)
1773 (tcl-load-file, tcl-restart-with-file):
1774 * progmodes/ps-mode.el (ps-run-running):
1775 * progmodes/gdb-mi.el (gud-watch, gdb-mouse-set-clear-breakpoint):
1776 * progmodes/js.el (js--get-all-known-symbols):
1777 * progmodes/inf-lisp.el (inferior-lisp-proc):
1778 * progmodes/idlwave.el (idlwave-beginning-of-statement)
1779 (idlwave-template, idlwave-update-buffer-routine-info)
1780 (idlwave-update-current-buffer-info)
1781 (idlwave-get-routine-info-from-buffers, idlwave-choose)
1782 (idlwave-scan-class-info, idlwave-fix-keywords)
1783 (idlwave-list-buffer-load-path-shadows):
1784 * progmodes/idlw-toolbar.el (idlwave-toolbar, idlwave-toolbar-add)
1785 (idlwave-toolbar-remove):
1786 * progmodes/idlw-shell.el (idlwave-shell-save-and-action)
1787 (idlwave-shell-file-name, idlwave-shell-electric-debug-all-off)
1788 (idlwave-shell-menu-def):
1789 * progmodes/idlw-complete-structtag.el
1790 (idlwave-prepare-structure-tag-completion):
1791 * progmodes/gud.el (gud-set-buffer):
1792 * progmodes/f90.el (f90-backslash-not-special):
1793 * progmodes/delphi.el (delphi-find-unit): Use derived-mode-p.
1795 * progmodes/xscheme.el (xscheme-start)
1796 (local-set-scheme-interaction-buffer, scheme-interaction-mode):
1797 * progmodes/which-func.el (which-function):
1798 * progmodes/vhdl-mode.el (vhdl-set-style):
1799 * progmodes/verilog-mode.el (verilog-set-compile-command)
1800 (verilog-modify-compile-command, verilog-error-regexp-add-xemacs)
1801 (verilog-set-define, verilog-auto-reeval-locals):
1802 * progmodes/sql.el (sql-product-font-lock, sql-interactive-mode):
1803 * progmodes/simula.el (simula-mode):
1804 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
1805 * progmodes/python.el (python-check, python-mode):
1806 * progmodes/prolog.el (prolog-mode-variables):
1807 * progmodes/gud.el (gud-tooltip-activate-mouse-motions):
1808 * progmodes/ebrowse.el (ebrowse-view-file-other-frame):
1809 * progmodes/delphi.el (delphi-mode):
1810 * progmodes/cc-styles.el (c-setup-paragraph-variables):
1811 * progmodes/cc-mode.el (c-basic-common-init, c-common-init)
1812 (c-font-lock-init): Move make-local-variable to their setq.
1814 * progmodes/vhdl-mode.el (vhdl-write-file-hooks-init)
1815 (vhdl-hs-minor-mode, vhdl-ps-print-init): Fix make-local-variable ->
1817 * progmodes/sh-script.el (sh-require-final-newline): Remove.
1818 (sh-set-shell): Don't set require-final-newline since it's already done
1820 * progmodes/modula2.el (m2-mode): Don't make m2-end-comment-column
1821 since we never set it.
1822 * progmodes/ebrowse.el (ebrowse-set-tree-indentation):
1823 Use read-string and standard prompt.
1824 * progmodes/dcl-mode.el (dcl-mode-map): Move init into declaration.
1825 * progmodes/meta-mode.el (meta-mode-abbrev-table): Merge init and decl.
1826 (meta-common-mode-syntax-table): Rename from meta-mode-syntax-table.
1827 (meta-common-mode-map): Rename from meta-mode-map.
1828 Remove C-m binding, which is a user preference, not mode specific.
1829 (meta-common-mode): New major mode; replace meta-common-initialization.
1830 * progmodes/js.el (js-mode): Call syntax-propertize rather than messing
1831 around with font-lock.
1832 * progmodes/etags.el (select-tags-table-mode):
1833 Derive from special-mode.
1834 * progmodes/octave-mod.el (octave-mode):
1835 * progmodes/gdb-mi.el (gdb-inferior-io-mode, gdb-threads-mode)
1836 (gdb-memory-mode, gdb-disassembly-mode, gdb-breakpoints-mode)
1837 (gdb-frames-mode, gdb-locals-mode, gdb-registers-mode):
1838 Let define-derived-mode do its job.
1839 * progmodes/cpp.el (cpp-edit-mode-map):
1840 Move initialization into declaration.
1841 (cpp-edit-mode): Use define-derived-mode.
1842 (cpp-edit-load): Use derived-mode-p.
1843 * progmodes/mixal-mode.el (mixal-mode):
1844 * progmodes/f90.el (f90-mode):
1845 * progmodes/cfengine.el (cfengine-mode): Don't bother setting
1846 require-final-newline since prog-mode does it already.
1847 * progmodes/cc-cmds.el (c-update-modeline): Use match-string.
1848 * progmodes/asm-mode.el (asm-mode-map): Fix menu setup.
1849 * progmodes/antlr-mode.el: Require cc-mode upfront.
1850 (antlr-mode-syntax-table, antlr-action-syntax-table): Initialize in
1852 (antlr-directory-dependencies, antlr-show-makefile-rules):
1854 (antlr-language-option): Don't assume point-min==1.
1855 (antlr-mode): Use define-derived-mode.
1856 * progmodes/ada-mode.el: Use derived-mode-p.
1857 (ada-mode): Use define-derived-mode.
1858 Use hack-local-variables-hook.
1860 2010-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
1862 * textmodes/texinfo.el (texinfo-mode-map): Bind texinfo-insert-@end.
1863 (texinfo-mode): Don't disable adaptive-fill-mode.
1864 (texinfo-insert-block): Adjust cursor placement for blocks with arg.
1865 (texinfo-insert-@end, texinfo-insert-braces, texinfo-insert-@code)
1866 (texinfo-insert-@dfn, texinfo-insert-@email, texinfo-insert-@emph)
1867 (texinfo-insert-@example, texinfo-insert-@file, texinfo-insert-@item)
1868 (texinfo-insert-@kbd, texinfo-insert-@node, texinfo-insert-@noindent)
1869 (texinfo-insert-@quotation, texinfo-insert-@samp)
1870 (texinfo-insert-@strong, texinfo-insert-@table, texinfo-insert-@var)
1871 (texinfo-insert-@uref): Use define-skeleton.
1872 (texinfo-insert-@-with-arg): Delete.
1874 2010-12-10 Eli Zaretskii <eliz@gnu.org>
1876 * arc-mode.el (archive-zip-extract): If w32-quote-process-args is
1877 nil, do quote archive member names. (Bug#6144)
1879 2010-12-10 Glenn Morris <rgm@gnu.org>
1881 * files.el (diff-no-select): Declare.
1883 * mail/emacsbug.el (report-emacs-bug): Use mail-user-agent properties.
1884 (report-emacs-bug-create-existing-bugs-buffer): Avoid free variables.
1886 * comint.el (comint-input-ring-file-name): Doc fix.
1888 2010-12-09 Eli Zaretskii <eliz@gnu.org>
1890 * menu-bar.el (menu-bar-frame-for-menubar, menu-bar-positive-p):
1892 (menu-bar-showhide-menu) <menu-bar-mode, showhide-tool-bar>:
1893 Use them instead of `nil' and `>', respectively.
1894 (menu-bar-showhide-tool-bar-menu): Use menu-bar-frame-for-menubar
1896 (toggle-menu-bar-mode-from-frame): Use menu-bar-frame-for-menubar
1897 and menu-bar-positive-p instead of `nil' and `>', respectively.
1900 2010-12-09 Vinicius Jose Latorre <viniciusjl@ig.com.br>
1902 * whitespace.el (whitespace-newline-mode): Code fix.
1904 2010-12-09 Glenn Morris <rgm@gnu.org>
1906 * play/landmark.el (lm-print-y,s,noise-int, lm-print-y,s,noise):
1907 Rename functions without commas, update callers.
1909 2010-12-08 Jeff Dairiki <dairiki@dairiki.org> (tiny change)
1911 * whitespace.el (whitespace-cleanup-region):
1912 Clean up spaces before tabs. (Bug#7582)
1914 2010-12-08 Karl Fogel <kfogel@red-bean.com>
1916 * bookmark.el: Adjust parameter names and doc strings to resolve
1917 confusion over whether "bookmark" meant a bookmark name or a
1918 bookmark record. Along the way, shorten one function's name for
1919 similar reasons. (Issue #7548)
1920 (bookmark-name-from-record): New name for
1921 `bookmark-name-from-full-record'. All callers changed.
1922 (bookmark-get-bookmark, bookmark-get-bookmark-record)
1923 (bookmark-default-annotation-text, bookmark-prop-get, bookmark-prop-set)
1924 (bookmark-get-annotation, bookmark-set-annotation)
1925 (bookmark-get-filename, bookmark-set-filename)
1926 (bookmark-get-position, bookmark-set-position)
1927 (bookmark-get-front-context-string, bookmark-set-front-context-string)
1928 (bookmark-get-rear-context-string, bookmark-set-rear-context-string)
1929 (bookmark-get-handler, bookmark-edit-annotation, bookmark--jump-via)
1930 (bookmark-handle-bookmark, bookmark-location, bookmark-show-annotation):
1931 Rename `bookmark' parameter to `bookmark-name-or-record', to
1932 clearly show its role, and shorten or adjust doc strings accordingly.
1933 (bookmark-set-name): Same, and pass the parameter directly to
1934 `bookmark-get-bookmark' instead of redundantly doing the callee's work.
1935 (bookmark-default-annotation-text, bookmark-send-edited-annotation)
1936 (bookmark-relocate, bookmark-insert-location, bookmark-insert)
1937 (bookmark-delete): Rename `bookmark' parameter to `bookmark-name',
1938 and in some cases shorten doc string accordingly.
1939 (bookmark-rename): Change `old' and `new' parameters to `old-name'
1940 and `new-name', and adjust an internal variable to avoid confusion.
1941 (bookmark-jump, bookmark-jump-noselect): Clarify `bookmark'
1942 parameter in doc string.
1944 2010-12-08 Glenn Morris <rgm@gnu.org>
1946 * progmodes/gdb-mi.el (gdb): Try to initialize comint input history
1947 from gdb's history file. (Bug#7575)
1949 * mail/emacsbug.el (report-emacs-bug):
1950 Try to handle some other mail clients.
1952 2010-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
1954 * files.el (dir-locals-collect-variables): Don't let errors stop us.
1955 Use string-prefix-p.
1956 (file-name-version-regexp): New var.
1957 (file-name-sans-versions):
1958 * jka-cmpr-hook.el (jka-compr-build-file-regexp): Use it,
1959 (jka-compr-get-compression-info): Use dolist.
1960 (jka-compr-compression-info-list): Don't bother specifying
1961 version/backup regexps.
1963 2010-12-07 Tassilo Horn <tassilo@member.fsf.org>
1965 * simple.el (just-one-space): Make argument n default to 1 if
1968 2010-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
1970 * electric.el (electric-indent-post-self-insert-function):
1971 Delete trailing newlines even if we don't reindent.
1973 2010-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
1975 * minibuffer.el (completion-at-point): Remove the `arg'.
1976 * bindings.el (complete-symbol): Move back from minibuffer.el.
1978 2010-12-06 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1980 * simple.el (just-one-space): Delete newlines for negative arg.
1982 2010-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
1984 * ansi-color.el (ansi-color-unfontify-region): Replace by trivial def.
1985 (ansi-color-filter-apply): Simplify.
1986 (ansi-color-apply): Use `font-lock-face' rather than `face'.
1988 2010-12-05 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
1990 * vc/vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
1992 2010-12-04 Chong Yidong <cyd@stupidchicken.com>
1994 * dired.el (dired-use-ls-dired): Set default to a special
1995 "unspecified" value.
1996 (dired-insert-directory): When called the first time, check
1997 whether "ls --dired" succeeds and set dired-use-ls-dired (Bug#7546).
1999 2010-12-04 Tak Ota <Takaaki.Ota@am.sony.com>
2001 * replace.el: Add "collect" feature to occur.
2002 (occur-collect-regexp-history): New var.
2003 (occur-read-primary-args): Return a replace string for nlines,
2005 (occur): Extend the meaning of nlines.
2007 2010-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
2009 * progmodes/which-func.el (which-func-ff-hook): Log the error message.
2010 (which-func-update-1): Distinguish symbols from strings.
2011 (which-function): Stay within 80 columns.
2013 2010-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
2015 * subr.el (with-demoted-errors): Distinguish symbols from strings.
2017 * newcomment.el (comment-styles): Add docs to each style (bug#7509).
2019 (comment-style): Use comment-styles's docs to describe values.
2021 2010-12-03 Jan Djärv <jan.h.d@swipnet.se>
2023 * term/common-win.el (x-setup-function-keys): Restore ns-new-frame
2024 and ns-show-prefs (Bug#7535).
2026 * term/ns-win.el (global-map): Restore ns-new-frame and ns-show-prefs
2027 bindings (Bug#7535).
2029 2010-12-03 Glenn Morris <rgm@gnu.org>
2031 * nxml/nxml-mode.el: Require rng-nxml.
2032 (rng-nxml-mode-init, nxml-enable-unicode-char-name-sets):
2033 Remove declarations.
2035 * nxml/nxml-mode.el, nxml/nxml-outln.el, nxml/rng-loc.el:
2036 * nxml/rng-nxml.el, nxml/rng-valid.el:
2037 Remove leading `*' from defcustom docs.
2039 * startup.el (normal-top-level-add-subdirs-to-load-path): Simplify.
2040 (normal-top-level-add-to-load-path, tty-handle-args):
2041 Convert comments to basic doc-strings.
2043 * net/browse-url.el (browse-url-url-at-point)
2044 (browse-url-default-browser): Remove autoload cookies.
2046 * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
2047 Remove more undefined cl functions.
2049 * vc/diff.el (diff-sentinel): Make new arguments optional.
2050 * ibuf-ext.el (diff-sentinel): Update declaration.
2052 2010-12-03 Daiki Ueno <ueno@unixuser.org>
2054 * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
2055 "RIPEMD160" (Bug#7490). Reported by Daniel Kahn Gillmor.
2056 (epg-context-set-passphrase-callback): Mention that the callback
2057 is not called when used with GnuPG 2.x.
2059 2010-12-02 Michael Albinus <michael.albinus@gmx.de>
2061 * net/tramp.el (tramp-local-host-regexp): Add "localhost6".
2062 (tramp-file-name-port): Check also for `tramp-default-port'.
2063 (tramp-get-connection-name): New defun.
2064 (tramp-get-connection-process): Use it.
2065 (tramp-debug-message): Extend function exclude list.
2066 (tramp-drop-volume-letter): Fix doc string.
2068 * net/tramp-cmds.el: Remove solved todo item.
2072 * net/tramp-gvfs.el:
2074 * net/tramp-imap.el:
2075 * net/tramp-smb.el: Fix regexps added to `tramp-default-method-alist'
2076 and `tramp-default-user-alist', respectively.
2078 * net/tramp-gw.el (tramp-gw-open-connection):
2079 Use `tramp-get-connection-name' and `tramp-get-connection-buffer'.
2081 * net/tramp-imap.el (tramp-imap-make-iht): Use just
2082 `tramp-file-name-port'.
2084 * net/tramp-sh.el (tramp-methods): Add recursive options to "pscp"
2085 and "psftp". Exchange "%k" marker with options.
2086 (tramp-do-copy-or-rename-file, tramp-sh-handle-file-local-copy):
2087 Compute size of link target.
2088 (tramp-do-copy-or-rename-file-out-of-band). Move setting of
2089 `tramp-current-*' up due to gateway methods. Optimze computing of
2090 copy arguments. Use `tramp-get-connection-name' and
2091 `tramp-get-connection-buffer'. Improve debug messages.
2092 (tramp-compute-multi-hops): Remove port determination.
2093 (tramp-maybe-open-connection): Use `tramp-get-connection-name'.
2095 * net/trampver.el: Update release number.
2097 2010-12-02 Glenn Morris <rgm@gnu.org>
2099 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
2100 Avoid infinite loop over windows. (Bug#7492)
2102 * progmodes/flymake.el (flymake-check-file-limit):
2103 Allow nil to mean "no limit".
2104 (flymake-check-patch-master-file-buffer): Update for above change.
2105 Allow a .tex file-name extension to be optional.
2106 (flymake-master-tex-init): Also match \include statements.
2108 2010-11-30 Sam Steingold <sds@gnu.org>
2110 * nxml/nxml-mode.el (nxml-parent-document): Add a variable.
2111 (nxml-parent-document-set): A function to set `nxml-parent-document'.
2112 (nxml-mode): Define using `define-derived-mode' instead of `defun'.
2113 (nxml-mode-hook): Remove `defcustom' (auto-defined by
2114 define-derived-mode').
2115 * nxml/rng-valid.el (rng-dtd-trivial-p): Add a helper function for
2116 users who want to call `nxml-parent-document-set'.
2118 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
2120 * log-edit.el (log-edit-font-lock-keywords): Don't try matching
2121 stand-alone lines, since that is handled by log-edit-match-to-eoh
2124 2010-11-27 Eduard Wiebe <usenet@pusto.de>
2126 * dired.el (dired-get-filename): Replace backslashes with slashes
2127 in file names on MS-Windows, needed by `locate'. (Bug#7308)
2128 * locate.el (locate-default-make-command-line): Don't consider
2129 drive letter and root directory part of
2130 `directory-listing-before-filename-regexp'. (Bug#7308)
2131 (locate-post-command-hook, locate-post-command-hook): New defcustoms.
2133 2010-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
2135 * emacs-lisp/smie.el (smie-prec2->grammar): Simplify handling
2136 of :smie-open/close-alist.
2137 (smie-next-sexp): Make it accept a "start token" as argument.
2138 (smie-indent-keyword): Be careful not to misidentify tokens that span
2139 more than one line, as empty lines. Add argument `token'.
2141 2010-11-27 Kenichi Handa <handa@m17n.org>
2143 * mail/rmailmm.el (rmail-mime-insert-multipart): For unsupported
2144 multipart subtypes, insert all as usual.
2146 * mail/rmail.el: Require rfc2047.
2148 2010-11-27 Kenichi Handa <handa@m17n.org>
2150 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-type)
2151 (rmail-mime-entity-disposition)
2152 (rmail-mime-entity-transfer-encoding, rmail-mime-entity-header)
2153 (rmail-mime-entity-body, rmail-mime-entity-children): New functions.
2154 (rmail-mime-save): Handle the case that the button's `data' is a
2156 (rmail-mime-insert-text): New function.
2157 (rmail-mime-insert-image): Handle the case that DATA is a MIME entity.
2158 (rmail-mime-bulk-handler): Just call rmail-mime-insert-bulk.
2159 (rmail-mime-insert-bulk): New function mostly copied from the old
2160 rmail-mime-bulk-handler.
2161 (rmail-mime-multipart-handler): Just call rmail-mime-process-multipart.
2162 (rmail-mime-process-multipart): New function mostly copied from
2163 the old rmail-mime-multipart-handler.
2164 (rmail-mime-show): Just call rmail-mime-process.
2165 (rmail-mime-process): New function mostly copied from the old
2167 (rmail-mime-insert-multipart, rmail-mime-parse)
2168 (rmail-mime-insert, rmail-show-mime)
2169 (rmail-insert-mime-forwarded-message)
2170 (rmail-insert-mime-resent-message): New functions.
2171 (rmail-insert-mime-forwarded-message-function): Set to
2172 rmail-insert-mime-forwarded-message.
2173 (rmail-insert-mime-resent-message-function): Set to
2174 rmail-insert-mime-resent-message.
2176 * mail/rmailsum.el: Require rfc2047.
2177 (rmail-header-summary): Handle multiline Subject: field.
2178 (rmail-summary-line-decoder): Change the default to
2179 rfc2047-decode-string.
2181 * mail/rmail.el (rmail-enable-mime): Change the default to t.
2182 (rmail-mime-feature): Change the default to `rmailmm'.
2183 (rmail-quit): Delete the specifal code for rmail-enable-mime.
2184 (rmail-display-labels): Likewise.
2185 (rmail-show-message-1): Check rmail-enable-mime, and use
2186 rmail-show-mime-function for a MIME message. Decode the headers
2187 according to RFC2047.
2189 2010-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
2191 * progmodes/which-func.el (which-func-imenu-joiner-function):
2192 Return a string, as expected.
2193 (which-function-mode): Make sure we stop any previous timer before
2196 2010-11-27 Michael Albinus <michael.albinus@gmx.de>
2198 * net/tramp.el (tramp-default-method-alist)
2199 (tramp-default-user-alist, tramp-default-proxies-alist):
2200 Adapt custom options type. (Bug#7445)
2202 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
2204 * progmodes/python.el: Add Ipython support (Bug#5390).
2205 (python-shell-prompt-alist)
2206 (python-shell-continuation-prompt-alist): New options.
2207 (python--set-prompt-regexp): New function.
2208 (inferior-python-mode, run-python, python-shell):
2209 Require ansi-color. Use python--set-prompt-regexp to set the comint
2210 prompt based on the Python interpreter.
2211 (python--prompt-regexp): New var.
2212 (python-check-comint-prompt)
2213 (python-comint-output-filter-function): Use it.
2214 (run-python): Use a pipe (Bug#5694).
2216 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
2218 * progmodes/python.el (run-python): Doc fix.
2219 (python-keep-current-directory-in-path): New var (Bug#7454).
2221 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
2223 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
2224 Prompt user before actually printing.
2226 2010-11-27 Glenn Morris <rgm@gnu.org>
2228 * startup.el (package-enable-at-startup, package-initialize):
2229 Remove unnecessary declarations.
2231 2010-11-27 Eli Zaretskii <eliz@gnu.org>
2233 * international/characters.el (glyphless-char-display-control):
2234 Exclude newline and TAB from the c0-control group.
2236 2010-11-27 Glenn Morris <rgm@gnu.org>
2238 * mail/sendmail.el (build-mail-aliases): Doc fix for autoload.
2239 (expand-mail-aliases): Remove unnecessary autoload.
2241 * allout.el (allout-command-prefix, allout-mode-map): Declare.
2243 * shell.el (shell-dir-cookie-re): Move definition before use.
2245 * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
2246 Replace undefined CL functions.
2248 2010-11-26 Eli Zaretskii <eliz@gnu.org>
2250 * simple.el (prog-mode): Set bidi-paragraph-direction to
2253 * term/pc-win.el (x-get-selection-internal): Emulation for MS-DOS.
2255 2010-11-26 Glenn Morris <rgm@gnu.org>
2257 * calendar/diary-lib.el (diary-outlook-format-1): New function, so that
2258 diary-outlook-formats can be sensitive to calendar-date-style.
2259 (diary-outlook-formats): Simplify the default setting.
2260 (diary-from-outlook-internal): Pass subject and body as arguments.
2261 Use dolist rather than dotimes. Don't save the diary buffer.
2262 (diary-from-outlook-gnus, diary-from-outlook-rmail):
2263 Pass subject and body as explicit arguments to the -internal function.
2265 2010-11-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
2267 * mail/rfc2368.el (rfc2368-parse-mailto-url): Unfold URLs before
2268 parsing them. This makes mailto:...?subject=foo\nbar work.
2270 2010-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
2272 * vc/diff.el (diff): Fix last change.
2274 2010-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
2276 * emacs-lisp/pcase.el: Improve pcase-let. Use "pcase--" prefix.
2277 (pcase--dontcare-upats): New var.
2278 (pcase-let, pcase-let*): Generate better code.
2279 Accept the same bodies as `let'.
2280 (pcase-dolist): New macro.
2281 (pcase--trivial-upat-p): New helper function.
2282 (pcase--expand): Strip leading "(let nil" if any.
2284 2010-11-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
2286 * mail/mailclient.el (browse-url): Require.
2287 (mailclient-send-it): Bind `browse-url-mailto-function' to nil to
2288 use the external browser function to send the mail (bug#7469).
2290 * net/browse-url.el (browse-url-browser-function): Revert the
2291 default back to the previous value, since the new value broke
2293 (browse-url-mailto-function): New variable for mailto: URLs.
2294 (browse-url): Use the new variable for mailto: URLs.
2296 2010-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
2298 * eshell/esh-cmd.el (eshell-parse-command):
2299 * eshell/esh-arg.el (eshell-parse-arguments):
2300 * eshell/em-script.el (eshell-source-file):
2301 Use with-silent-modifications.
2303 2010-11-23 Chong Yidong <cyd@stupidchicken.com>
2305 * vc/vc.el (vc-merge): Remove optional arg PROMPT. Always prompt
2306 for a merge location.
2308 * vc/vc-bzr.el (vc-bzr-pull): Remove unused var.
2309 (vc-bzr-merge-branch): Always prompt.
2310 (vc-bzr-async-command): Use the full branch filename.
2312 2010-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
2314 * shell.el (shell): Use current-buffer by default if it's already
2315 a shell mode buffer and its process is dead.
2316 Suggested by Jose E. Marchesi <jemarch@gnu.org>.
2318 2010-11-23 Tassilo Horn <tassilo@member.fsf.org>
2320 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
2321 Mention that the keywords should be comma separated.
2323 2010-11-23 Chong Yidong <cyd@stupidchicken.com>
2325 * vc/vc.el (vc-merge): Use vc-BACKEND-merge-branch if available.
2326 Accept optional prefix arg meaning to prompt for a command.
2327 (vc-update): Use vc-BACKEND-pull if available. Accept optional
2328 prefix arg meaning to prompt for a command.
2329 (vc-pull): Alias for vc-update.
2331 * vc/vc-bzr.el (vc-bzr-admin-branchconf, vc-bzr-history): New vars.
2332 (vc-bzr--branch-conf, vc-bzr-async-command, vc-bzr-pull)
2333 (vc-bzr-merge-branch): New functions, implementing merge-branch
2334 and pull operations.
2336 2010-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
2338 * Makefile.in: Fix up last merge.
2340 * vc/diff.el (diff-old-temp-file, diff-new-temp-file): Remove.
2341 (diff-sentinel): Get them as arguments instead.
2342 (diff-old-file, diff-new-file, diff-extra-args): Remove.
2343 (diff-file-local-copy, diff-better-file-name): New funs.
2344 (diff-no-select): Rename from diff-into-buffer.
2345 Support buffers additionally to files. Move `buf' arg. Don't display buf.
2346 Prefer closures to buffer-local variables.
2347 (diff): Adjust accordingly.
2348 (diff-buffer-with-file): Move from files.el.
2349 * files.el (diff-buffer-with-file): Move to vc/diff.el.
2350 (diff-buffer-internal): Remove.
2351 (diff-buffer-buffer): Remove.
2352 (save-some-buffers-action-alist): Use diff-no-select so as not to guess
2353 the buffer name used, and so as not to mess up windows and frames.
2355 2010-11-22 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
2357 * files.el: Make revert work with diff-buffer-with-file (bug#7277).
2358 (diff-buffer-internal): New function extracted from diff-buffer-with-file
2359 (diff-buffer-with-file): Use it.
2360 * vc/diff.el (diff-into-buffer): New fun, extracted from diff.
2363 2010-11-22 Tassilo Horn <tassilo@member.fsf.org>
2365 * textmodes/reftex-ref.el (reftex-goto-label): Use the current
2366 \ref's or \pageref's value as default instead of initial input.
2368 2010-11-21 Michael Albinus <michael.albinus@gmx.de>
2370 * files.el (backup-by-copying-when-mismatch): The default value is
2373 * startup.el (normal-top-level):
2374 * net/tramp.el (tramp-handle-insert-file-contents): Do not set
2375 `backup-by-copying-when-mismatch'.
2377 2010-11-21 Jan Djärv <jan.h.d@swipnet.se>
2379 * tool-bar.el (tool-bar-setup): Remove save as, print and customize.
2381 2010-11-21 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2383 * progmodes/python.el (python-font-lock-keywords):
2384 Highlight top-level augmented assignments (Bug#6445).
2386 2010-11-21 Jan Djärv <jan.h.d@swipnet.se>
2388 * term/ns-win.el (ns-right-control-modifier)
2389 (ns-right-command-modifier): Defvar them.
2391 * cus-start.el (all): Add ns-right-control-modifier and
2392 ns-right-command-modifier (Bug#7458).
2394 2010-11-20 Glenn Morris <rgm@gnu.org>
2396 * emacs-lisp/authors.el (authors-ignored-files)
2397 (authors-valid-file-names, authors-renamed-files-alist): Add entries.
2399 2010-11-20 Tassilo Horn <tassilo@member.fsf.org>
2401 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs)
2402 (report-emacs-bug-parse-query-results)
2403 (report-emacs-bug-create-existing-bugs-buffer): Pass through
2404 keywords used for querying the bug database to show them in the
2405 existing bugs buffer.
2407 2010-11-20 Jan Djärv <jan.h.d@swipnet.se>
2409 * tool-bar.el (tool-bar-setup): Add some :vert-only keywords.
2411 * info.el (info-tool-bar-map): Add some :vert-only keywords.
2413 2010-11-20 Eli Zaretskii <eliz@gnu.org>
2415 * international/characters.el (glyphless-char-display-control):
2416 Make it a defcustom, with update-glyphless-char-display as its
2418 (top level): Don't call update-glyphless-char-display.
2420 2010-11-20 Michael Albinus <michael.albinus@gmx.de>
2422 Sync with Tramp 2.2.0.
2424 * net/tramp.el (tramp-handle-insert-file-contents): Don't use
2425 `file-remote-p' (due to compatibility).
2427 * net/tramp-sh.el (tramp-do-copy-or-rename-file-directly)
2428 (tramp-do-copy-or-rename-file-out-of-band): Use `ignore-errors'.
2430 * net/trampver.el: Update release number.
2432 2010-11-20 Eli Zaretskii <eliz@gnu.org>
2434 * faces.el (glyphless-char): Define value for `pc'.
2436 2010-11-20 Tassilo Horn <tassilo@member.fsf.org>
2438 Implemented a bug querying mechanism.
2439 * mail/emacsbug.el (report-emacs-bug-tracker-url): New variable.
2440 (report-emacs-bug-create-existing-bugs-buffer)
2441 (report-emacs-bug-parse-query-results)
2442 (report-emacs-bug-query-existing-bugs): New functions.
2444 2010-11-19 Tassilo Horn <tassilo@member.fsf.org>
2446 * textmodes/reftex-ref.el (reftex-goto-label): If point is inside
2447 a \ref{} or \pageref{} macro, then use its value as initial input.
2449 2010-11-19 Jay Belanger <jay.p.belanger@gmail.com>
2451 * calc/calc-units.el (math-build-units-table-buffer):
2452 calc/README: Mention that the TeX specific units won't use the
2453 `tex' prefix in TeX mode.
2454 calc/calc-lang.el (math-variable-table): Don't use the `tex'
2455 prefix for units in TeX mode.
2457 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2459 * simple.el (kill-new, kill-append, kill-region):
2460 * comint.el (comint-kill-region): Make the yank-handler argument
2463 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2465 * emacs-lisp/smie.el (smie-bnf-classify): Signal errors for tokens
2466 that are both openers (resp. closers) and something else.
2467 (smie-grammar): Loosen definition of valid values.
2468 (smie-next-sexp, smie-down-list, smie-blink-matching-open)
2469 (smie-indent--parent, smie-rule-parent, smie-indent-keyword)
2470 (smie-indent-after-keyword): Adjust users.
2471 (smie-indent-keyword): Don't indent empty lines.
2473 * vc-hg.el (vc-hg-program): New var.
2474 Suggested by Norman Gray <norman@astro.gla.ac.uk>.
2475 (vc-hg-state, vc-hg-working-revision, vc-hg-command): Use it.
2477 2010-11-18 Glenn Morris <rgm@gnu.org>
2479 * emacs-lisp/autoload.el (autoload-find-destination): The function
2480 coding-system-eol-type may return non-numeric values. (Bug#7414)
2482 2010-11-18 Ulrich Mueller <ulm@gentoo.org>
2484 * server.el (server-force-stop): Ensure the server is stopped (Bug#7409).
2486 2010-11-18 Eli Zaretskii <eliz@gnu.org>
2488 * subr.el (posn-col-row): Pay attention to header line. (Bug#7390)
2490 2010-11-18 Chong Yidong <cyd@stupidchicken.com>
2492 * textmodes/picture.el (picture-mouse-set-point): Don't use
2493 posn-col-row; explicitly compute the motion based on the posn at
2494 the window-start (Bug#7390).
2496 2010-11-18 Glenn Morris <rgm@gnu.org>
2498 * novice.el (disabled-command-function):
2499 Fix 2009-11-15 change. (Bug#7384)
2501 2010-11-18 Glenn Morris <rgm@gnu.org>
2503 * calendar/calendar.el (diary-iso-date-forms): Make elements
2504 mutually exclusive. (Bug#7377)
2506 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2508 * emacs-lisp/smie.el (smie-prec2->grammar): Obey equality constraints
2509 when filling the remaining "unconstrained" values.
2511 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2513 * emacs-lisp/bytecomp.el (byte-compile-warnings): Simplify the
2516 * files.el (safe-local-variable-p): Gracefully handle errors.
2518 * emacs-lisp/smie.el (smie-rule-parent, smie-indent--rule):
2519 Use smie-indent-virtual when indenting relative to an opener.
2520 (smie-rule-separator): Use smie-rule-parent.
2521 (smie-indent-keyword): Consult rules, even for openers at bol.
2522 (smie-indent-comment-close): Try to align closer's content.
2524 2010-11-18 Glenn Morris <rgm@gnu.org>
2526 * ls-lisp.el (ls-lisp-dired-ignore-case): Make it an obsolete alias.
2528 2010-11-18 Glenn Morris <rgm@gnu.org>
2530 * printing.el (pr-menu-bind): Doc fix.
2532 * speedbar.el (speedbar-toggle-images): Doc fix.
2534 * progmodes/python.el (python-shell): Doc fix.
2536 * wid-edit.el (widget-field-use-before-change)
2537 (widget-use-overlay-change): Doc fixes.
2539 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2541 Minor cleanup to improve style.
2542 * textmodes/rst.el (rst-update-section): Use point-marker.
2543 (rst-get-decoration): Eliminate unneeded assignment.
2544 (rst-promote-region, rst-straighten-decorations)
2545 (rst-section-tree, rst-adjust): Use point-marker.
2546 (rst-toc-mode-mouse-goto): Avoid setq.
2547 (rst-shift-region-guts, rst-shift-region-left)
2548 (rst-iterate-leftmost-paragraphs, rst-iterate-leftmost-paragraphs-2)
2549 (rst-convert-bullets-to-enumeration): Use copy-marker.
2551 * minibuffer.el (completion-fail-discreetly): New var.
2552 (completion--do-completion): Use it.
2554 * electric.el (electric-pair-pairs): New var.
2555 (electric-pair-post-self-insert-function): Use it.
2556 (electric-layout-post-self-insert-function): Don't insert a before
2557 newline unless it's actually needed.
2559 2010-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
2561 * progmodes/python.el (run-python): Explain why we remove the current
2562 directory from sys.path. Suggested by Eric Hanchrow <erich@cozi.com>.
2564 * progmodes/grep.el (grep-regexp-alist): Tighten the regexp (bug#7378).
2566 2010-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
2568 * progmodes/octave-mod.el: Rely on elecric-*-modes.
2569 (octave-mode-map): Don't bind ;, SPC, and LF.
2570 (octave-auto-indent, octave-auto-newline): Remove.
2571 (electric-layout-rules): Declare.
2572 (octave-mode): Set electric-layout-rules.
2573 (octave-indent-new-comment-line): Use reindent-then-newline-and-indent.
2574 (octave-reindent-then-newline-and-indent, octave-electric-semi)
2575 (octave-electric-space): Remove.
2577 * electric.el (electric-layout-mode): New minor mode.
2578 (electric--after-char-pos): New function.
2579 (electric-indent-post-self-insert-function): Use it.
2580 (electric-layout-rules): New var.
2581 (electric-layout-post-self-insert-function): New function.
2582 (electric-indent-mode): Make them interact better.
2584 2010-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
2586 * emacs-lisp/checkdoc.el (checkdoc-syntax-table): Fix last change.
2587 (checkdoc-sentencespace-region-engine, checkdoc-this-string-valid)
2588 (checkdoc-proper-noun-region-engine): Use with-syntax-table.
2590 2010-11-15 Agustín Martín <agustin.martin@hispalinux.es>
2592 * textmodes/flyspell.el (flyspell-generic-progmode-verify):
2593 Make sure to check inside the word (Bug#6761).
2595 2010-11-14 Chong Yidong <cyd@stupidchicken.com>
2597 * startup.el (command-line): If the cursorColor resource is set,
2598 change the cursor face-spec (Bug#7392).
2600 2010-11-13 Ken Manheimer <ken.manheimer@gmail.com>
2602 The main features of the following allout.el changes are:
2603 - implement user customization for the allout key bindings
2604 - add a customization control by which the user can inhibit use of
2605 a trailing Ctrl-H, so by default it's reserved for use with
2606 describe-prefix-bindings
2607 - adapt to new version of called-interactively-p, while
2608 maintaining backwards compatibility with old version
2609 - fix hotspot navigation so i works properly with meta-modified keys
2611 * allout.el (allout-keybindings, allout-bind-keys)
2612 (allout-keybindings-binding, allout-prefixed-keybindings)
2613 (allout-unprefixed-keybindings, allout-preempt-trailing-ctrl-h)
2614 (allout-keybindings-list, allout-mode-map-adjustments)
2615 (allout-setup-mode-map): Establish allout-mode keymaps as user
2616 customizable settings, and also establish a customizable setting which
2617 regulates whether or not a trailing control-h is reserved for use with
2618 describe-prefix-bindings - and inhibit it by default, so that control-h
2619 *is* reserved for describe-prefix-bindings unless the user changes it.
2621 * allout.el (allout-hotspot-key-handler): Distinguish more explicitly
2622 and accurately between modified and unmodified events, and handle
2623 modified events more comprehensively.
2625 * allout.el (allout-substring-no-properties):
2626 Alias to use or provide version of `substring-no-properties'.
2627 (allout-solicit-alternate-bullet): Use `allout-substring-no-properties'.
2629 * allout.el (allout-next-single-char-property-change):
2630 Alias to use or provide version of `next-single-char-property-change'.
2631 (allout-annotate-hidden, allout-hide-by-annotation):
2632 Use `allout-next-single-char-property-change'.
2634 * allout.el (allout-select-safe-coding-system):
2635 Alias to use or provide version of `select-safe-coding-system'.
2636 (allout-toggle-subtree-encryption):
2637 Use `allout-select-safe-coding-system'.
2639 * allout.el (allout-set-buffer-multibyte):
2640 Alias to use or provide version of `set-buffer-multibyte'.
2641 (allout-encrypt-string): Use `allout-set-buffer-multibyte'.
2643 * allout.el (allout-called-interactively-p): Macro for using the
2644 different versions of called-interactively-p identically, depending on
2645 the subroutine's argument signature.
2646 (allout-back-to-current-heading, allout-beginning-of-current-entry):
2647 Use `(interactive "p")' instead of `(called-interactively-p)'.
2649 * allout.el (allout-init, allout-ascend, allout-end-of-level)
2650 (allout-previous-visible-heading, allout-forward-current-level)
2651 (allout-backward-current-level, allout-show-children):
2652 Use `allout-called-interactively-p' instead of `called-interactively-p'.
2654 * allout.el (allout-before-change-handler):
2655 Exempt edits to the (overlaid) character after the allout outline
2656 bullet from edit confirmation prompt.
2658 * allout.el (allout-add-resumptions):
2659 Ensure that it respects correct buffer for keybindings.
2661 * allout.el (allout-beginning-of-line):
2662 Use `allout-previous-single-char-property-change' alias for the sake of
2663 diverse compatibility.
2665 * allout.el (allout-end-of-line):
2666 Use `allout-mark-active-p' to encapsulate respect for mark activity.
2668 2010-11-13 Chong Yidong <cyd@stupidchicken.com>
2670 * frame.el (frame-notice-user-settings): Don't clobber other
2671 user-set parameters when calling face-set-after-frame-default in
2672 response to background-color parameter (Bug#7373).
2674 2010-11-13 Eli Zaretskii <eliz@gnu.org>
2676 * international/characters.el (glyphless-char-display-control):
2677 Rename from glyphless-char-control; all users changed. Doc fix.
2678 Signal an error if display method is not one of the recognized
2681 2010-11-13 Michael Albinus <michael.albinus@gmx.de>
2683 * net/tramp-compat.el (tramp-compat-line-beginning-position)
2684 (tramp-compat-line-end-position): Remove them.
2686 * net/tramp.el (tramp-parse-rhosts-group)
2687 (tramp-parse-shosts-group, tramp-parse-sconfig-group)
2688 (tramp-parse-hosts-group, tramp-parse-passwd-group)
2689 (tramp-parse-netrc-group, tramp-parse-putty-group)
2690 * net/tramp-cmds.el (tramp-append-tramp-buffers)
2691 * net/tramp-sh.el (tramp-do-file-attributes-with-ls)
2692 (tramp-sh-handle-file-selinux-context)
2693 (tramp-sh-handle-file-name-all-completions)
2694 (tramp-sh-handle-insert-directory)
2695 (tramp-sh-handle-expand-file-name, tramp-find-executable)
2696 (tramp-wait-for-output, tramp-send-command-and-read)
2697 * net/tramp-smb.el (tramp-smb-read-file-entry)
2698 (tramp-smb-get-cifs-capabilities): Use `point-at-eol'.
2700 * net/tramp-sh.el (tramp-sh-handle-insert-directory) Use
2702 (tramp-remote-coding-commands): Add an alternative using "base64
2703 -d -i". This is needed for older base64 versions from GNU
2704 coreutils. Reported by Klaus Reichl
2705 <Klaus.Reichl@thalesgroup.com>.
2707 2010-11-13 Hrvoje Niksic <hniksic@xemacs.org>
2709 * simple.el (count-words-region): New function.
2711 2010-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
2713 * shell.el (shell-dir-cookie-re): New custom variable.
2714 (shell-dir-cookie-watcher): New function.
2716 * vc/vc.el (vc-deduce-backend): Use default-directory in shell-mode
2717 and compilation-mode (bug#7350).
2719 * vc/smerge-mode.el (smerge-refine): Choose better default part to
2720 highlight when one of them is empty.
2722 * skeleton.el (skeleton-read): Don't use `newline' since it may strip
2724 (skeleton-newline): New function.
2725 (skeleton-internal-1): Use it.
2727 * simple.el (open-line): `newline' may strip trailing space.
2729 2010-11-12 Kevin Ryde <user42@zip.com.au>
2731 * international/mule-cmds.el (princ-list): Use mapc.
2733 2010-11-12 Glenn Morris <rgm@gnu.org>
2735 * emacs-lisp/bytecomp.el (byte-compile-log-buffer): New constant.
2736 Use it to replace all instances of "*Compile-Log*"
2738 2010-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
2740 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Add debug and
2743 2010-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2745 * progmodes/modula2.el: Use SMIE and skeleton.
2746 (m2-mode-syntax-table): (*..*) can be nested.
2747 Add //...\n. Fix paren syntax.
2748 (m2-mode-map): Remove LF and TAB bindings.
2749 (m2-indent): Add safety property.
2750 (m2-smie-grammar): New var.
2751 (m2-smie-refine-colon, m2-smie-refine-of, m2-smie-backward-token)
2752 (m2-smie-forward-token, m2-smie-refine-semi, m2-smie-rules): New funs.
2753 (m2-mode): Use define-derived-mode.
2754 (m2-newline, m2-tab): Remove.
2755 (m2-begin, m2-case, m2-definition, m2-else, m2-for, m2-header)
2756 (m2-if, m2-loop, m2-module, m2-or, m2-procedure, m2-with, m2-record)
2757 (m2-stdio, m2-type, m2-until, m2-var, m2-while, m2-export)
2758 (m2-import): Use define-skeleton.
2760 2010-11-11 Glenn Morris <rgm@gnu.org>
2762 * obsolete/lucid.el: Don't warn about any CL functions in this file.
2764 * ls-lisp.el (ls-lisp-ignore-case, ls-lisp-dirs-first)
2765 (ls-lisp-verbosity): Add custom :set-after property.
2766 (ls-lisp-verbosity, ls-lisp-use-localized-time-format): Doc fixes.
2767 (ls-lisp-format, ls-lisp-format-time): Don't take `now' as an argument.
2768 (ls-lisp-insert-directory): Update caller.
2769 (ls-lisp-set-options): New function.
2770 (ls-lisp-emulation): Use ls-lisp-set-options for custom :set.
2773 * play/landmark.el (lm-prompt-for-move):
2774 * play/gomoku.el (gomoku-prompt-for-move): Remove nonsensical code.
2776 * progmodes/idlw-complete-structtag.el: Remove unused dec `name'.
2778 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins)
2779 (idlwave-study-twins): Prefix dynamic local variable `name'.
2780 (idlwave-routine-twin-compare): Update for above change.
2782 * progmodes/idlw-help.el (idlwave-do-mouse-completion-help):
2783 Prefix dynamic local variables `name', `kwd', and `link'.
2784 * progmodes/idlw-shell.el (idlwave-shell-complete-execcomm-help):
2785 * progmodes/idlw-complete-structtag.el
2786 (idlwave-complete-structure-tag-help):
2787 * progmodes/idlwave.el (idlwave-complete-sysvar-help)
2788 (idlwave-complete-sysvar-tag-help)
2789 (idlwave-complete-class-structure-tag-help):
2790 Update for above name changes.
2792 2010-11-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
2794 * net/browse-url.el (browse-url-browser-function): Change the
2795 default to use `browse-url-mail' on mailto: URLs.
2797 2010-11-10 Chong Yidong <cyd@stupidchicken.com>
2799 * emacs-lisp/package.el (package-read-all-archive-contents):
2800 Reset package-archive-contents to nil before re-reading.
2802 2010-11-10 Brandon Craig Rhodes <brandon@rhodesmill.org> (tiny change)
2804 * textmodes/flyspell.el (flyspell-word): Do not re-check words
2805 already found as misspellings by (flyspell-large-region), just
2806 do highlighting (bug#7322).
2808 2010-11-10 Glenn Morris <rgm@gnu.org>
2810 * progmodes/octave-mod.el (octave-mark-block): Update for smie change.
2812 * emulation/edt.el (edt-with-position): New macro.
2813 (edt-find-forward, edt-find-backward, edt-find-next-forward)
2814 (edt-find-next-backward, edt-sentence-forward, edt-sentence-backward)
2815 (edt-paragraph-forward, edt-paragraph-backward): Use it.
2817 * emulation/tpu-extras.el (tpu-with-position): New macro.
2818 (tpu-paragraph, tpu-page, tpu-search-internal): Use it.
2820 * textmodes/texnfo-upd.el (texinfo-pointer-name): Fix typo.
2822 * textmodes/texnfo-upd.el (texinfo-all-menus-update)
2823 (texinfo-menu-copy-old-description, texinfo-start-menu-description)
2824 (texinfo-master-menu, texinfo-insert-node-lines)
2825 (texinfo-multiple-files-update):
2826 * textmodes/texinfmt.el (texinfo-append-refill, texinfo-copying):
2827 Use line-beginning-position.
2829 * progmodes/cperl-mode.el (cperl-find-pods-heres, cperl-write-tags):
2830 No recent Emacs supports system-type `emx'.
2832 * progmodes/ada-xref.el (is-windows): Rename to ada-on-ms-windows.
2833 (ada-command-separator, ada-default-prj-properties)
2834 (ada-find-any-references): Update for above name change.
2836 * dirtrack.el (dirtrack-directory-function)
2837 (dirtrack-canonicalize-function):
2838 * filecache.el (file-cache-completion-ignore-case)
2839 (file-cache-case-fold-search, file-cache-ignore-case):
2840 * term.el (serial-port-is-file-p): Cosmetic change.
2842 * emulation/viper-init.el (viper-ms-style-os-p): Doc fix.
2843 Remove non-existent `windows-95' system-type.
2844 * dired.el (dired-chown-program): Remove non-existent `linux'
2847 * net/net-utils.el (net-utils-remove-ctl-m): Use memq for system-types.
2848 (ping-program-options): Remove non-existent `linux' system-type.
2850 * startup.el (package-initialize): Update declaration.
2852 * ls-lisp.el (ls-lisp-time-lessp, ls-lisp-time-to-seconds): Remove.
2853 (ls-lisp-handle-switches): Use time-less-p.
2854 (ls-lisp-format-time): Use float-time.
2856 * textmodes/remember.el (remember-time-to-seconds): Remove.
2857 (remember-store-in-mailbox): Use float-time.
2859 * calendar/timeclock.el (timeclock-time-to-seconds): Make it an alias.
2861 * calendar/time-date.el (time-to-seconds): Always an alias on Emacs,
2862 never a real function.
2863 (with-no-warnings): Remove compat stub, now unused.
2864 (time-less-p): Doc fix.
2865 (time-to-number-of-days): Simplify.
2867 * eshell/esh-util.el (eshell-time-less-p, eshell-time-to-seconds):
2869 (eshell-read-passwd, eshell-read-hosts): Use time-less-p.
2870 * eshell/esh-test.el (eshell-test, eshell-show-usage-metrics):
2871 * eshell/em-unix.el (eshell-show-elapsed-time, eshell/time):
2872 * eshell/em-pred.el (eshell-pred-file-time): Use float-time.
2873 * eshell/em-ls.el (eshell-ls-sort-entries): Use time-less-p.
2875 * eshell/em-unix.el (eshell-remove-entries, eshell/rm)
2876 (eshell-shuffle-files, eshell-shorthand-tar-command)
2877 (eshell-mvcpln-template, eshell/mv, eshell/cp, eshell/ln):
2878 Prefix dynamic locals `interactive', `preview', `recursive', `verbose'.
2879 * eshell/em-glob.el (eshell-extended-glob, eshell-glob-entries):
2880 Prefix dynamic local variable `matches'.
2882 * skeleton.el (skeleton-internal-list, skeleton-internal-1):
2883 Prefix dynamic local variable `skeleton'.
2885 2010-11-10 Katsumi Yamaoka <yamaoka@jpl.org>
2887 * net/browse-url.el (browse-url-mail): Insert body part of mailto url
2888 in mail buffer; make yank-action always a command that yanks original
2891 2010-11-09 Glenn Morris <rgm@gnu.org>
2893 * progmodes/tcl.el (tcl-hairy-scan-for-comment): Doc fix.
2895 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
2897 * minibuffer.el (minibuffer-completion-help): Specify the end of the
2898 completion field (bug#7211).
2900 * progmodes/python.el (python-font-lock-syntactic-keywords): (bug#7322)
2901 Fix handling of backslash escapes.
2902 (python-quote-syntax): Adjust accordingly.
2904 2010-11-09 Richard Levitte <richard@levitte.org> (tiny change)
2906 * vc-mtn.el (vc-mtn-working-revision, vc-mtn-after-dir-status)
2907 (vc-mtn-workfile-branch): Adjust to new output format.
2909 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
2911 * international/mule-cmds.el (princ-list): Mark as obsolete.
2913 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
2915 * emacs-lisp/smie.el: New package.
2917 2010-11-09 Michael Albinus <michael.albinus@gmx.de>
2919 * files.el (backup-by-copying-when-mismatch):
2920 Set `permanent-local' property.
2922 * net/tramp.el (tramp-handle-insert-file-contents): Do not set
2923 `permanent-local' property for `backup-by-copying-when-mismatch'.
2925 2010-11-09 Eli Zaretskii <eliz@gnu.org>
2927 * ls-lisp.el (insert-directory): Doc fix. (bug#7285)
2929 2010-11-09 Wilson Snyder <wsnyder@wsnyder.org>
2931 * progmodes/verilog-mode.el (verilog-insert-one-definition)
2932 (verilog-read-decls, verilog-read-sub-decls-sig): Fix AUTOWIRE and
2933 AUTOINOUT for SV style multidimensional arrays, bug294.
2934 Reported by Eric Mastromarchi.
2935 (verilog-preprocess): Use with-current-buffer and
2936 font-lock-fontify-buffer to cleanup style issues.
2938 2010-11-09 Glenn Morris <rgm@gnu.org>
2940 * locate.el (locate, locate-mode): Doc fixes.
2942 2010-11-09 Chong Yidong <cyd@stupidchicken.com>
2944 * server.el (server-start): New arg INHIBIT-PROMPT prevents asking
2945 user for confirmation.
2946 (server-force-stop): Use it.
2947 (server-start): Use server-force-stop for kill-emacs-hook, to
2948 avoid user interaction while killing Emacs.
2950 2010-11-09 Glenn Morris <rgm@gnu.org>
2952 * progmodes/meta-mode.el: Remove leading `*' from defcustom docs.
2953 (meta-indent-line): Simplify.
2955 * vc/emerge.el (emerge-line-number-in-buf):
2956 * textmodes/ispell.el (ispell-region):
2957 * textmodes/fill.el (current-fill-column):
2958 * progmodes/xscheme.el (xscheme-send-current-line):
2959 * progmodes/vhdl-mode.el (vhdl-current-line, vhdl-line-copy):
2960 * progmodes/tcl.el (tcl-hairy-scan-for-comment):
2961 * progmodes/sh-script.el (sh-handle-prev-do):
2962 * progmodes/meta-mode.el (meta-indent-line):
2963 * progmodes/idlwave.el (idlwave-goto-comment, idlwave-fill-paragraph)
2965 * progmodes/idlw-shell.el (idlwave-shell-current-frame)
2966 (idlwave-shell-update-bp-overlays, idlwave-shell-sources-filter):
2967 * progmodes/fortran.el (fortran-looking-at-if-then):
2968 * progmodes/etags.el (find-tag-in-order, etags-snarf-tag):
2969 * progmodes/cperl-mode.el (cperl-sniff-for-indent)
2970 (cperl-find-pods-heres):
2971 * progmodes/ada-mode.el (ada-get-current-indent, ada-narrow-to-defun):
2972 * net/quickurl.el (quickurl-list-insert):
2973 * net/ldap.el (ldap-search-internal):
2974 * net/eudc.el (eudc-expand-inline):
2975 * mail/sendmail.el (sendmail-send-it):
2976 * mail/mspools.el (mspools-visit-spool, mspools-get-spool-name):
2977 * emulation/viper-cmd.el (viper-paren-match, viper-backward-indent)
2978 (viper-brac-function):
2979 * calc/calc-yank.el (calc-do-grab-region):
2980 * calc/calc-keypd.el (calc-keypad-press):
2981 * term.el (term-move-columns, term-insert-spaces):
2982 * speedbar.el (speedbar-highlight-one-tag-line):
2983 * simple.el (current-word):
2984 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
2985 * info.el (Info-find-node-in-buffer-1, Info-follow-reference)
2987 * hippie-exp.el (he-line-beg):
2988 * epa.el (epa--marked-keys):
2989 * dired-aux.el (dired-kill-line, dired-do-kill-lines)
2990 (dired-update-file-line, dired-add-entry, dired-remove-entry)
2991 (dired-relist-entry):
2992 * buff-menu.el (Buffer-menu-buffer):
2993 * array.el (current-line):
2994 * allout.el (allout-resolve-xref)
2995 (allout-latex-verbatim-quote-curr-line):
2996 Replace yet more uses of end-of-line etc with line-end-position, etc.
2998 2010-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3000 * emacs-lisp/checkdoc.el (checkdoc-display-status-buffer)
3001 (checkdoc-interactive-loop, checkdoc-recursive-edit): Avoid princ-list.
3002 (checkdoc-syntax-table): Initialize in the declaration.
3003 (emacs-lisp-mode-hook): Use just checkdoc-minor-mode now that it turns
3004 the mode on unconditionally.
3006 * emacs-lisp/cl-macs.el (extent-data, extent-face, extent-priority)
3007 (extent-end-position, extent-start-position): Remove setf method for
3008 non-existing functions (bug#7319).
3010 2010-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
3012 * emacs-lisp/smie.el: Simplify the smie-rules-function return values.
3013 (smie-precs->prec2): Rename from smie-precs-precedence-table.
3014 (smie-bnf->prec2): Rename from smie-bnf-precedence-table.
3015 (smie-prec2->grammar): Rename from smie-prec2-levels.
3016 (smie-grammar): Rename from smie-op-levels.
3017 (smie-indent--hanging-p): Rename from smie-hanging-p.
3018 (smie-rule-hanging-p): New alias.
3019 (smie-indent--bolp): Rename from smie-bolp.
3020 (smie-indent--hanging-p): New alias.
3021 (smie--token): New dynamically bound variable.
3022 (smie-indent--parent): New function.
3023 (smie-rule-parent-p): Use it; rename from smie-parent-p.
3024 (smie-rule-next-p): Rename from smie-next-p.
3025 (smie-rule-prev-p): Rename from smie-prev-p.
3026 (smie-rule-sibling-p, smie-rule-parent)
3027 (smie-indent--separator-outdent, smie-rule-separator): New functions.
3028 (smie-rule-separator-outdent): New var.
3029 (smie-indent--rule): Merge with smie-indent--column.
3030 (smie-indent-forward-token, smie-indent-backward-token):
3031 Also recognize close parens.
3032 (smie-indent-keyword): Don't use smie-indent--column any more.
3033 (smie-indent-after-keyword): Ignore closers by default.
3034 (smie-indent-line): Use with-demoted-errors.
3035 * progmodes/octave-mod.el (octave-smie-grammar):
3036 Rename from octave-smie-op-levels.
3037 (octave-smie-rules): Adjust to new behavior.
3038 * progmodes/prolog.el (prolog-smie-grammar):
3039 Rename from prolog-smie-op-levels.
3041 2010-11-07 Glenn Morris <rgm@gnu.org>
3043 * eshell/esh-util.el (subst-char-in-string)
3044 (directory-files-and-attributes): These compatibility definitions are
3045 not needed on any version of Emacs since at least 21.4.
3047 * progmodes/verilog-mode.el (verilog-get-beg-of-line)
3048 (verilog-get-end-of-line): Remove.
3049 (verilog-within-string, verilog-re-search-forward-substr)
3050 (verilog-re-search-backward-substr, verilog-set-auto-endcomments)
3051 (verilog-surelint-off, verilog-getopt-file, verilog-highlight-region):
3052 Use point-at-bol, point-at-eol.
3053 * progmodes/pascal.el (pascal-get-beg-of-line, pascal-get-end-of-line):
3055 (pascal-declaration-end, pascal-declaration-beg, pascal-within-string)
3056 (electric-pascal-terminate-line, pascal-set-auto-comments)
3057 (pascal-indent-paramlist, pascal-indent-declaration)
3058 (pascal-get-lineup-indent, pascal-func-completion)
3059 (pascal-get-completion-decl, pascal-var-completion, pascal-completion):
3060 Use point-at-bol, point-at-eol.
3061 * progmodes/flymake.el (flymake-line-beginning-position)
3062 (flymake-line-end-position): Remove.
3063 (flymake-highlight-line): Use point-at-bol, point-at-eol.
3064 * eshell/esh-util.el (line-end-position, line-beginning-position):
3065 Remove compat definitions.
3067 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
3069 (checkdoc-this-string-valid-engine, checkdoc-file-comments-engine):
3070 Use line-end-position.
3072 * emacs-lisp/chart.el (chart-zap-chars):
3073 * play/decipher.el (decipher-set-map):
3074 * progmodes/ada-mode.el (ada-get-current-indent)
3075 (ada-search-ignore-string-comment, ada-tab-hard, ada-untab-hard):
3076 * progmodes/ada-prj.el (ada-prj-load-from-file, ada-prj-display-help):
3077 * progmodes/ada-xref.el (ada-initialize-runtime-library)
3078 (ada-get-all-references):
3079 * progmodes/cperl-mode.el (cperl-electric-paren)
3080 (cperl-electric-rparen, cperl-electric-keyword, cperl-electric-else)
3081 (cperl-linefeed, cperl-sniff-for-indent, cperl-to-comment-or-eol)
3082 (cperl-find-pods-heres, cperl-indent-exp, cperl-fix-line-spacing)
3083 (cperl-word-at-point-hard):
3084 * progmodes/idlw-shell.el (idlwave-shell-move-or-history)
3085 (idlwave-shell-filename-string, idlwave-shell-batch-command)
3086 (idlwave-shell-display-line):
3087 * progmodes/idlwave.el (idlwave-show-begin, idlwave-fill-paragraph)
3088 (idlwave-calc-hanging-indent, idlwave-auto-fill, idlwave-template):
3089 * progmodes/js.el (js--re-search-forward-inner)
3090 (js--re-search-backward-inner):
3091 * progmodes/vhdl-mode.el (vhdl-align-region-1, vhdl-align-region-2)
3092 (vhdl-fix-clause, vhdl-compose-configuration-architecture):
3093 * progmodes/ruby-mode.el (ruby-parse-partial, eval-when-compile):
3094 * textmodes/flyspell.el (flyspell-process-localwords):
3095 * textmodes/ispell.el (ispell-buffer-local-parsing)
3096 (ispell-buffer-local-dict, ispell-buffer-local-words):
3097 Use point-at-bol and point-at-eol.
3099 * speedbar.el (speedbar-generic-item-info)
3100 (speedbar-item-info-tag-helper, speedbar-change-expand-button-char)
3101 (speedbar-add-indicator, speedbar-check-vc-this-line)
3102 (speedbar-check-obj-this-line, speedbar-extract-one-symbol)
3103 (speedbar-buffers-line-directory, speedbar-buffer-revert-buffer):
3104 Replace more uses of end-of-line etc with line-end-position.
3106 2010-11-06 Glenn Morris <rgm@gnu.org>
3108 * textmodes/texnfo-upd.el (texinfo-start-menu-description)
3109 (texinfo-update-menu-region-beginning, texinfo-menu-first-node)
3110 (texinfo-delete-existing-pointers, texinfo-find-pointer)
3111 (texinfo-clean-up-node-line, texinfo-insert-node-lines)
3112 (texinfo-multiple-files-update):
3113 * textmodes/table.el (table--probe-cell-left-up)
3114 (table--probe-cell-right-bottom):
3115 * textmodes/picture.el (picture-tab-search):
3116 * textmodes/page-ext.el (pages-copy-header-and-position)
3117 (pages-directory-for-addresses):
3118 * progmodes/vera-mode.el (vera-get-offset):
3119 * progmodes/simula.el (simula-calculate-indent):
3120 * progmodes/python.el (python-pdbtrack-overlay-arrow):
3121 * progmodes/prolog.el (end-of-prolog-clause):
3122 * progmodes/perl-mode.el (perl-calculate-indent, perl-indent-exp):
3123 * progmodes/icon.el (indent-icon-exp):
3124 * progmodes/etags.el (tag-re-match-p):
3125 * progmodes/ebrowse.el (ebrowse-show-file-name-at-point):
3126 * progmodes/ebnf2ps.el (ebnf-begin-file):
3127 * progmodes/dcl-mode.el (dcl-back-to-indentation-1)
3128 (dcl-save-local-variable):
3129 * play/life.el (life-setup):
3130 * play/gametree.el (gametree-looking-at-ply):
3131 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
3132 * mail/sendmail.el (mail-mode-auto-fill):
3133 * emacs-lisp/lisp-mode.el (calculate-lisp-indent):
3134 * emacs-lisp/edebug.el (edebug-overlay-arrow):
3135 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid):
3136 * woman.el (woman-parse-numeric-value, woman2-TH, woman2-SH)
3137 (woman-tab-to-tab-stop, WoMan-warn-ignored):
3138 * type-break.el (type-break-file-keystroke-count):
3139 * term.el (term-replace-by-expanded-history-before-point)
3140 (term-skip-prompt, term-extract-string):
3141 * speedbar.el (speedbar-edit-line, speedbar-expand-line)
3142 (speedbar-contract-line, speedbar-toggle-line-expansion)
3143 (speedbar-parse-c-or-c++tag, speedbar-parse-tex-string)
3144 (speedbar-buffer-revert-buffer, speedbar-highlight-one-tag-line):
3145 * sort.el (sort-skip-fields):
3146 * skeleton.el (skeleton-internal-list):
3147 * simple.el (line-move-finish, line-move-to-column):
3148 * shell.el (shell-forward-command):
3149 * misc.el (copy-from-above-command):
3150 * makesum.el (double-column):
3151 * ebuff-menu.el (electric-buffer-update-highlight):
3152 * dired.el (dired-move-to-end-of-filename):
3153 * dframe.el (dframe-popup-kludge):
3154 * bookmark.el (bookmark-kill-line, bookmark-bmenu-show-filenames):
3155 * arc-mode.el (archive-get-lineno):
3156 Use line-end-position and line-beginning-position.
3158 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins):
3159 (idlwave-study-twins): Prefix dynamic local `class'.
3160 (idlwave-routine-twin-compare): Update for above name change.
3162 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod):
3163 Use boundp tests to silence compiler. Update for changed name of
3164 bytecomp-filename variable.
3166 * emulation/viper-cmd.el (viper-read-string-with-history):
3167 Prefix dynamic local `initial'.
3168 (viper-minibuffer-standard-hook): Update for above name change.
3170 * emacs-lisp/elint.el (elint-init-env): Prefix dynamic local `env'.
3171 (elint-init-form): Update for above name change.
3173 * mail/mail-extr.el (mail-extract-address-components): Give dynamic
3174 local variables `cbeg' and `cend' a prefix.
3175 (mail-extr-voodoo): Update for above name change.
3177 * textmodes/reftex-toc.el (reftex-toc-do-promote)
3178 (reftex-toc-promote-prepare): Pass `delta' as an explicit argument.
3179 (reftex-toc-promote-action): Doc fix.
3181 * textmodes/reftex-sel.el (reftex-select-item): Give local variables
3182 `prompt', `data' a prefix.
3183 (reftex-select-post-command-hook, reftex-select-callback)
3184 (reftex-select-mouse-accept, reftex-select-read-cite):
3185 Update for above name changes.
3187 * textmodes/reftex-ref.el (reftex-reference): Rename local variable
3188 `refstyle' to reftex-refstyle.
3189 (reftex-offer-label-menu): Update for above name change.
3190 * textmodes/reftex-sel.el (reftex-select-toggle-varioref): Update for
3191 `refstyle' name change.
3193 * vc/emerge.el (emerge-eval-in-buffer): Remove, and replace all uses
3194 with with-current-buffer.
3195 (diff, template): Give dynamic local variables a prefix.
3196 (emerge-line-numbers): Rename local `diff' to emerge-line-diff.
3197 (emerge-line-number-in-buf): Update for above name change.
3198 (emerge-combine-versions-internal): Rename local `template' to
3199 emerge-combine-template.
3200 (emerge-combine-versions-edit): Update for above name change.
3202 2010-11-06 Ralf Angeli <angeli@caeruleus.net>
3204 * textmodes/reftex-cite.el
3205 (reftex-extract-bib-entries-from-thebibliography): Match bibitem
3206 entries with whitespace after \bibitem.
3207 (reftex-create-bibtex-file): Match entries containing numbers and
3208 symbol constituents. Make sure that entries with whitespace at
3209 various places are found.
3211 2010-11-05 Christian Millour <cm@abtela.com> (tiny change)
3213 * shell.el (shell-process-popd): Made aware of comint-file-name-prefix.
3215 2010-11-05 Jan Djärv <jan.h.d@swipnet.se>
3217 * mouse.el (mouse-yank-primary): Update comment (Bug#6802).
3219 2010-11-05 Glenn Morris <rgm@gnu.org>
3221 * woman.el (woman0-roff-buffer, woman1-roff-buffer)
3222 (woman2-roff-buffer): Give local variable `request' a prefix.
3223 (woman0-macro): Rename argument `request' in the same way.
3224 (woman-request): New name for `request' dynamic variable.
3225 (woman-unquote, woman-forward-arg): Update for above name change.
3226 (woman1-roff-buffer): Give local variable `unquote' a prefix.
3227 (woman1-unquote): New name for `unquote' dynamic variable.
3228 (woman1-B-or-I, woman1-alt-fonts): Update for above name change.
3229 (woman-translations): Rename from `translations'. No longer global.
3230 (woman2-tr, woman-translate): Update for above name change.
3231 (woman-translate): Check for bound variable.
3232 (woman2-roff-buffer): Give local variable `translations' a prefix.
3234 * play/doctor.el: Give all local variables a prefix. Update callers.
3235 (doc$, doctor-put-meaning): Use backquote.
3237 * emacs-lisp/cl-macs.el (loop): Give local variable args a prefix.
3238 (cl-parse-loop-clause, cl-loop-handle-accum): Update for above change.
3240 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Give local
3241 variables bytes, ptr, op a prefix.
3242 (disassemble-offset): Update for above change.
3244 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
3246 * emacs-lisp/package.el (package-unpack): Remove no-op.
3247 (package--builtins, package--dir): Doc fix.
3248 (package-activate-1, package-activate, package-install)
3249 (package-compute-transaction): Fix error message.
3250 (package-delete): Use delete-directory. Omit system packages.
3251 (package-initialize): Set package-alist to nil first.
3252 (package-menu-mark-delete, package-menu-mark-install): Don't add
3253 symbols that are inconsistent with the package state.
3254 (package-menu-execute): Perform deletions and installations as
3255 single batch operations.
3257 2010-11-03 Glenn Morris <rgm@gnu.org>
3259 * progmodes/idlwave.el (idlwave-pset): Only used on XEmacs.
3260 (props): Remove unnecessary declaration.
3262 * textmodes/ispell.el (ispell-init-process): On Emacs, always use
3263 set-process-query-on-exit-flag.
3265 * textmodes/reftex-toc.el (name1, dummy, dummy2): Remove unused decs.
3266 (reftex-toc-do-promote): Remove unused local `mpos'.
3267 (reftex-toc-restore-region): Make `mpos' local to this function.
3269 * net/dbus.el (dbus-name-owner-changed-handler): Doc fix.
3271 * play/landmark.el (lm-losing-threshold): Correct spelling.
3272 (lm-human-plays): Use new name.
3274 * play/gomoku.el (gomoku-loosing-threshold): Correct spelling.
3275 (gomoku-human-plays): Use new name.
3277 * play/gomoku.el (nil-score, Xscore, XXscore, XXXscore, XXXXscore)
3278 (Oscore, OOscore, OOOscore, OOOOscore): Rename with gomoku- prefix.
3279 (gomoku-score-trans-table, gomoku-winning-threshold)
3280 (gomoku-loosing-threshold, gomoku-init-score-table): Use new names.
3282 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
3284 * emacs-lisp/package.el: Don't put built-in packages in
3285 package-alist, to avoid loading inefficiencies.
3286 (package-built-in-p): Make VERSION optional, and treat it as a
3287 minimum acceptable version.
3288 (package-activate): Search separately for built-in packages.
3289 Emit a warning if a dependency fails.
3290 (define-package): Handle most common case, where there is no
3291 obsolete package, first.
3292 (package-compute-transaction): Print required version in error.
3293 (package--initialized): New variable.
3294 (list-packages): Use it.
3295 (package-initialize): Optional arg NO-ACTIVATE. Don't put
3296 built-in packages in packages-alist; keep it separate.
3297 Set package--initialized.
3298 (describe-package): Avoid activating packages as a side-effect.
3299 Search separately for built-in packages.
3300 (describe-package-1): Handle the case where an elpa package is
3301 simultaneously built-in and available/installed.
3302 (package-installed-p, package--generate-package-list):
3303 Search separately for built-in packages.
3304 (package-load-descriptor): Doc fix.
3306 2010-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
3308 * progmodes/perl-mode.el (perl-syntax-propertize-function):
3309 Handle __DATA__ and __END__.
3311 2010-11-02 Noah Friedman <friedman@splode.com>
3313 * emacs-lisp/bytecomp.el (byte-recompile-file): If bytecomp-arg is
3314 nil, do not ask to recompile files that are not already compiled,
3315 and do not recompile them.
3317 2010-11-02 Chong Yidong <cyd@stupidchicken.com>
3319 * emacs-lisp/package.el (package-initialize): Ensure that
3320 obsoleted built-in packages are not in package-activated-list
3322 (describe-package-1): Make the "installed" status override
3325 2010-11-01 Vinicius Jose Latorre <viniciusjl@ig.com.br>
3327 * subr.el (version-separator, version-regexp-alist): Remove '*'
3329 (version-list-<=, version<=, version=): Doc fix.
3331 2010-11-01 Kenichi Handa <handa@m17n.org>
3333 * faces.el (glyphless-char): Inherit underline for tty.
3335 2010-11-01 Kenichi Handa <handa@m17n.org>
3337 Implement various display methods for glyphless characters.
3339 * international/characters.el (char-acronym-table): New variable.
3340 (glyphless-char-control): New variable.
3341 (update-glyphless-char-display): New funciton.
3343 * faces.el (glyphless-char): New face.
3345 2010-11-01 Glenn Morris <rgm@gnu.org>
3347 * calendar/holidays.el (general-holidays, oriental-holidays)
3348 (local-holidays, other-holidays, hebrew-holidays, christian-holidays)
3349 (islamic-holidays, bahai-holidays, solar-holidays): Move aliases before
3350 the definitions of their targets.
3352 * emacs-lisp/smie.el (smie): New custom group.
3353 (smie-blink-matching-inners, smie-indent-basic): Add :group.
3355 * faces.el (xw-defined-colors, x-setup-function-keys):
3356 * mouse-sel.el (x-select-text):
3357 * term/w32console.el (x-setup-function-keys): Update declarations.
3359 * progmodes/ruby-mode.el (ruby-syntax-propertize-heredoc): Declare.
3361 * textmodes/ispell.el (comment-add): Declare.
3363 * net/gnutls.el (gnutls-boot, gnutls-errorp, gnutls-error-string):
3366 * info.el (finder-keywords-hash, package-alist): Declare.
3368 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
3370 * finder.el (finder-compile-keywords): Don't use intern-soft,
3371 since package names may not yet exist in the obarray.
3373 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
3375 * vc/vc-arch.el (vc-arch-checkin):
3376 * vc/vc-cvs.el (vc-cvs-checkin):
3377 * vc/vc-mtn.el (vc-mtn-checkin):
3378 * vc/vc-rcs.el (vc-rcs-checkin):
3379 * vc/vc-sccs.el (vc-sccs-checkin):
3380 * vc/vc-svn.el (vc-svn-checkin): Remove optional extra arg, unused
3381 since 2010-04-21 commit by Stefan Monnier.
3383 2010-11-01 Glenn Morris <rgm@gnu.org>
3385 * emacs-lisp/bytecomp.el (byte-recompile-file): Fix previous change.
3387 * startup.el (package-enable-at-startup, package-initialize):
3390 * progmodes/ada-mode.el (ada-font-lock-syntactic-keywords):
3393 2010-10-31 Julien Danjou <julien@danjou.info>
3395 * emacs-lisp/bytecomp.el (byte-recompile-file): New fun (bug#7297).
3396 (byte-recompile-directory):
3397 * emacs-lisp/lisp-mode.el (emacs-lisp-byte-compile-and-load):
3398 Use `byte-recompile-file'.
3400 2010-10-31 Glenn Morris <rgm@gnu.org>
3402 * cus-start.el: Handle standard values via a keyword.
3403 Only set version property if specified.
3404 (cursor-in-non-selected-windows, menu-bar-mode)
3405 (tool-bar-mode, show-trailing-whitespace):
3406 Do not specify standard values.
3407 (transient-mark-mode, temporary-file-directory): Use :standard.
3409 2010-10-31 Jan Djärv <jan.h.d@swipnet.se>
3411 * term/x-win.el (x-get-selection-value): New function that gets
3412 PRIMARY with type as specified in x-select-request-type. (Bug#6802).
3414 2010-10-31 Michael Albinus <michael.albinus@gmx.de>
3416 * net/tramp.el (tramp-handle-insert-file-contents): For root,
3417 preserve owner and group when editing files. (Bug#7289)
3419 2010-10-31 Glenn Morris <rgm@gnu.org>
3421 * speedbar.el (speedbar-mode):
3422 * play/fortune.el (fortune-in-buffer, fortune):
3423 * play/gomoku.el (gomoku-mode):
3424 * play/landmark.el (lm-mode):
3425 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
3426 Replace inappropriate uses of toggle-read-only. (Bug#7292)
3428 * select.el (x-selection): Mark it as an obsolete alias.
3430 2010-10-31 Aaron S. Hawley <aaron.s.hawley@gmail.com>
3432 * vc/add-log.el (find-change-log): Use derived-mode-p rather than
3433 major-mode (bug#7284).
3435 2010-10-31 Glenn Morris <rgm@gnu.org>
3437 * menu-bar.el (menu-bar-files-menu): Make it into an actual alias,
3438 rather than just an unused variable that inherits from the real one.
3440 2010-10-31 Alan Mackenzie <acm@muc.de>
3442 * progmodes/cc-cmds.el (c-mask-paragraph): Fix an off-by-1 error.
3443 This fixes bug #7185.
3445 2010-10-30 Chong Yidong <cyd@stupidchicken.com>
3447 * startup.el (command-line): Search for package directories, and
3448 don't load package.el if none are found.
3450 * emacs-lisp/package.el (describe-package, list-packages):
3451 Call package-initialize if it has not been called yet.
3453 2010-10-30 Alan Mackenzie <acm@muc.de>
3455 * progmodes/cc-fonts.el (c-font-lock-enum-tail): New function
3456 which fontifies the tail of an enum.
3457 (c-basic-matchers-after): Insert a call to the above new function.
3458 This fixes bug #7264.
3460 2010-10-30 Glenn Morris <rgm@gnu.org>
3462 * cus-start.el: Add :set properties for minor modes menu-bar-mode,
3463 tool-bar-mode, transient-mark-mode. (Bug#7306)
3464 Include the :set property in the dumped Emacs.
3466 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
3468 SMIE: change indent rules format, improve smie-setup.
3469 * emacs-lisp/smie.el (smie-precs-precedence-table)
3470 (smie-merge-prec2s, smie-bnf-precedence-table, smie-prec2-levels):
3471 Mark them pure so the tables gets built at compile time.
3472 (smie-bnf-precedence-table): Store the closer-alist in the table.
3473 (smie-prec2-levels): Preserve the closer-alist.
3474 (smie-blink-matching-open): Be more forgiving in case of indentation.
3475 (smie-hanging-p): Rename from smie-indent--hanging-p.
3476 (smie-bolp): Rename from smie-indent--bolp.
3477 (smie--parent, smie--after): New dynamic vars.
3478 (smie-parent-p, smie-next-p, smie-prev-p): New funs.
3479 (smie-indent-rules): Remove.
3480 (smie-indent--offset-rule): Remove fun.
3481 (smie-rules-function): New var.
3482 (smie-indent--rule): New fun.
3483 (smie-indent--offset, smie-indent-keyword, smie-indent-after-keyword)
3484 (smie-indent-exps): Use it.
3485 (smie-setup): Setup paren blinking; add keyword args for token
3486 functions; extract closer-alist from op-levels.
3487 (smie-indent-debug-log): Remove var.
3488 (smie-indent-debug): Remove fun.
3489 * progmodes/prolog.el (prolog-smie-indent-rules): Remove.
3490 (prolog-smie-rules): New fun to replace it.
3491 (prolog-mode-variables): Simplify.
3492 * progmodes/octave-mod.el (octave-smie-closer-alist): Remove, now that
3493 it's setup automatically.
3494 (octave-smie-indent-rules): Remove.
3495 (octave-smie-rules): New fun to replace it.
3496 (octave-mode): Simplify.
3498 2010-10-29 Glenn Morris <rgm@gnu.org>
3500 * files.el (temporary-file-directory): Remove (already defined in C).
3501 * cus-start.el: Add temporary-file-directory.
3503 * abbrev.el (abbrev-mode):
3504 * composite.el (auto-composition-mode):
3505 * menu-bar.el (menu-bar-mode):
3506 * simple.el (transient-mark-mode):
3507 * tool-bar.el (tool-bar-mode): Adjust the define-minor-mode calls so
3508 that they do not define the associated variables twice.
3509 * simple.el (transient-mark-mode): Remove defvar.
3510 * composite.el (auto-composition-mode): Make variable auto-buffer-local.
3511 * cus-start.el: Add transient-mark-mode, menu-bar-mode, tool-bar-mode.
3512 Handle multiple groups, and also custom-delayed-init-variables.
3513 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
3515 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
3517 * emacs-lisp/pcase.el (pcase): New `string' and `guard' patterns.
3518 (pcase-if): Add one minor optimization.
3519 (pcase-split-equal): Rename from pcase-split-eq.
3520 (pcase-split-member): Rename from pcase-split-memq.
3521 (pcase-u1): Add strings to the member optimization.
3522 Add `guard' variant of predicates.
3523 (pcase-q1): Add string patterns.
3525 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
3527 * vc/log-edit.el (log-edit-rewrite-fixes): State its safety pred.
3529 2010-10-28 Glenn Morris <rgm@gnu.org>
3531 * term/ns-win.el (global-map, menu-bar-final-items, menu-bar-help-menu):
3532 Move menu-bar related settings to ../menu-bar.el.
3533 * menu-bar.el (global-map, menu-bar-final-items, menu-bar-help-menu):
3534 Move ns-specific settings here from term/ns-win.el.
3536 * simple.el (x-selection-owner-p): Remove unused declaration.
3538 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
3540 * minibuffer.el (completion-cycling): New var (bug#7266).
3541 (minibuffer-complete, completion--do-completion):
3542 Use completion--flush-all-sorted-completions.
3543 (minibuffer-complete): Only cycle if completion-cycling is set.
3544 (completion--flush-all-sorted-completions): Unset completion-cycling.
3545 (minibuffer-force-complete): Set completion-cycling.
3546 (completion-all-sorted-completions): Move declaration before first use.
3548 2010-10-28 Leo <sdl.web@gmail.com>
3550 * iswitchb.el (iswitchb-kill-buffer): Avoid `iswitchb-make-buflist'
3551 which changes the order of matches seen by users (bug#7231).
3553 2010-10-28 Jes Bodi Klinke <jes@bodi-klinke.dk> (tiny change)
3555 * progmodes/compile.el (compilation-mode-font-lock-keywords):
3556 Don't confuse -omega as "-o mega".
3558 2010-10-27 Stefan Monnier <monnier@iro.umontreal.ca>
3560 * vc/log-edit.el (log-edit-rewrite-fixes): New var.
3561 (log-edit-author): New dynamic var.
3562 (log-edit-changelog-ours-p, log-edit-insert-changelog-entries): Use it
3563 to return the author if different from committer.
3564 (log-edit-insert-changelog): Use them to add Author: and Fixes headers.
3566 * play/landmark.el: Adjust commenting convention.
3567 (lm-nil-score): Rename from nil-score.
3568 (Xscore, XXscore, XXXscore, XXXXscore, Oscore, OOscore, OOOscore)
3569 (OOOOscore): Move into a let in lm-score-trans-table.
3570 (lm-winning-threshold, lm-loosing-threshold): Use lm-score-trans-table.
3572 * electric.el (electric-indent-chars): Autoload.
3573 * progmodes/octave-mod.el (octave-mode):
3574 * progmodes/ruby-mode.el (ruby-mode): Take advantage of it.
3575 (ruby-mode-abbrev-table): Merge initialization and declaration.
3577 2010-10-27 Glenn Morris <rgm@gnu.org>
3579 * abbrev.el (abbrev-mode): Remove one of the three definitions of this
3582 * server.el (server-host, server-port, server-auth-dir): Autoload risky.
3584 * term/ns-win.el: Restore require of cl when compiling.
3585 (menu-bar-final-items): Remove non-existent `windows' menu.
3586 (ns-handle-nxopen): Optionally handle the temp-case.
3587 (ns-handle-nxopentemp): Just call ns-handle-nxopen.
3588 (ns-insert-file, ns-find-file): Use `pop'.
3590 2010-10-26 Glenn Morris <rgm@gnu.org>
3592 * term/common-win.el (xw-defined-colors): Simplify the 'ns case.
3594 2010-10-26 Adrian Robert <Adrian.B.Robert@gmail.com>
3596 * term/ns-win.el (ns-new-frame, ns-show-prefs): Don't add to
3598 * term/common-win.el (x-setup-function-keys): Remove most of the
3599 keymappings. Comment on the remaining ones.
3601 2010-10-26 Peter Oliver <p.d.oliver@mavit.org.uk> (tiny change)
3603 * server.el (server-port): New option. (Bug#854)
3604 (server-start): Use server-port.
3606 2010-10-26 Glenn Morris <rgm@gnu.org>
3608 * term/ns-win.el (ns-version-string): Remove unused declaration.
3609 (ns-invocation-args): Change to x-invocation-args.
3610 (ns-handle-switch, ns-handle-numeric-switch, ns-handle-iconic)
3611 (ns-handle-name-switch, ns-ignore-2-arg): Remove.
3612 (ns-handle-nxopen, ns-handle-nxopentemp, ns-ignore-1-arg):
3613 Use x-invocation-args instead of ns-invocation-args.
3614 (ns-initialize-window-system, handle-args-function-alist):
3615 Use x-handle-args instead of ns-handle-args.
3616 * term/common-win.el (x-handle-args): Also handle nextstep arguments.
3617 * startup.el (command-line-ns-option-alist): Replace
3618 ns-handle-name-switch, ns-handle-switch, ns-handle-numeric-switch,
3619 ns-handle-iconic with the x- equivalents.
3621 * term/common-win.el (x-select-enable-clipboard):
3622 * term/pc-win.el (x-select-enable-clipboard): Doc fix.
3624 * term/ns-win.el: No need to require cl when compiling.
3625 (x-display-name, x-setup-function-keys, x-select-text, x-colors)
3626 (xw-defined-colors): Use the common-win definitions.
3627 (ns-alternatives-map): Make it an obsolete alias for x-alternatives-map.
3628 (ns-handle-iconic): Make it an alias for x-handle-iconic.
3629 * term/common-win.el (x-select-text, x-alternatives-map)
3630 (x-setup-function-keys, x-colors, xw-defined-colors): Handle 'ns case.
3631 * loadup.el [ns]: Load common-win.
3633 2010-10-26 Daiki Ueno <ueno@unixuser.org>
3635 * epa-mail.el (epa-mail-encrypt): Handle local-part only
3636 recipients; expand mail aliases (Bug#7280).
3638 2010-10-25 Glenn Morris <rgm@gnu.org>
3640 * term/common-win.el (x-handle-switch): Simplify with pop.
3641 Optionally handle numeric switches.
3642 (x-handle-numeric-switch): Just call x-handle-switch.
3643 (x-handle-initial-switch, x-handle-xrm-switch, x-handle-geometry)
3644 (x-handle-name-switch, x-handle-display, x-handle-args):
3647 * term/ns-win.el: Do not require easymenu.
3648 (menu-bar-edit-menu) <copy, paste, paste-from-menu, separator-undo>:
3649 <spell>: Move adjustments to menu-bar.el.
3650 * menu-bar.el (menu-bar-edit-menu) <copy, paste, paste-from-menu>:
3651 <separator-undo, spell>: Move ns-win's adjustments here.
3652 * loadup.el [ns]: Do not load easymenu.
3654 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
3656 * image.el (image-checkbox-checked, image-checkbox-unchecked):
3659 * startup.el (fancy-startup-tail): Instead of using inline images,
3660 refer to image files from etc/.
3662 * wid-edit.el (checkbox): Likewise.
3663 (widget-image-find): Center image specs.
3665 2010-10-24 Glenn Morris <rgm@gnu.org>
3667 * term/ns-win.el (x-select-text): Doc fix.
3668 * w32-fns.el (x-alternatives-map, x-setup-function-keys)
3669 (x-select-text): Move to term/common-win.
3670 * term/w32-win.el (xw-defined-colors): Move to common-win.
3671 * term/x-win.el (xw-defined-colors, x-alternatives-map)
3672 (x-setup-function-keys, x-select-text): Move to common-win.
3673 * term/common-win.el (x-select-text, x-alternatives-map)
3674 (x-setup-function-keys, xw-defined-colors): Merge x- and w32-
3677 2010-10-24 T.V. Raman <tv.raman.tv@gmail.com> (tiny change)
3679 * net/mairix.el (mairix-searches-mode-map):
3680 * mail/mspools.el (mspools-mode-map): Fix 2010-10-10 change.
3682 2010-10-24 Michael McNamara <mac@mail.brushroad.com>
3684 * verilog-mode.el (verilog-directive-re): Make this variable
3685 auto-built for efficiency of execution and updating.
3686 (verilog-extended-complete-re): Support 'pure' fucntion & task
3687 declarations (these have no bodies).
3688 (verilog-beg-of-statement): General cleanup to enable support of
3689 'pure' fucntion & task declarations (these have no bodies).
3690 These efforts together fix Verilog bug210 from veripool; which was also
3691 noticed by Steve Pearlmutter.
3692 (verilog-directive-re, verilog-directive-begin, verilog-indent-re)
3693 (verilog-directive-nest-re, verilog-set-auto-endcomments):
3694 Support `elsif. Reported by Shankar Giri.
3695 (verilog-forward-ws&directives, verilog-in-attribute-p): Fixes for
3696 attribute handling for lining up declarations and assignments.
3697 (verilog-beg-of-statement-1): Fix issue where continued declaration
3698 is indented differently if it is after a begin..end clock.
3699 (verilog-in-attribute-p, verilog-skip-backward-comments)
3700 (verilog-skip-forward-comment-p): Support proper treatment of
3701 attributes by indent code. Reported by Jeff Steele.
3702 (verilog-in-directive-p): Fix comment to correctly describe function.
3703 (verilog-backward-up-list, verilog-in-struct-region-p)
3704 (verilog-backward-token, verilog-in-struct-p)
3705 (verilog-in-coverage-p, verilog-do-indent)
3706 (verilog-pretty-declarations): Use verilog-backward-up-list as
3707 wrapper around backward-up-list inorder to properly skip comments.
3708 Reported by David Rogoff.
3709 (verilog-property-re, verilog-endcomment-reason-re)
3710 (verilog-beg-of-statement, verilog-set-auto-endcomments)
3711 (verilog-calc-1 ): Fix for assert a; else b; indentation (new form
3712 of if). Reported by Max Bjurling and
3713 (verilog-calc-1): Fix for clocking block in modport
3714 declaration. Reported by Brian Hunter.
3716 2010-10-24 Wilson Snyder <wsnyder@wsnyder.org>
3718 * verilog-mode.el (verilog-auto-inst, verilog-gate-ios)
3719 (verilog-gate-keywords, verilog-read-sub-decls)
3720 (verilog-read-sub-decls-gate, verilog-read-sub-decls-gate-ios)
3721 (verilog-read-sub-decls-line, verilog-read-sub-decls-sig): Support
3722 AUTOINST for gate primitives, bug284. Reported by Mark Johnson.
3723 (verilog-read-decls): Fix spaces in V2K module parameters causing
3724 mis-identification as interfaces, bug287.
3725 (verilog-read-decls): Fix not treating "parameter string" as a
3726 parameter in AUTOINSTPARAM.
3727 (verilog-read-always-signals-recurse, verilog-read-decls): Fix not
3728 treating `elsif similar to `endif inside AUTOSENSE.
3729 (verilog-do-indent): Implement correct automatic or static task or
3730 function end comment highlight. Reported by Steve Pearlmutter.
3731 (verilog-font-lock-keywords-2): Fix highlighting of single
3732 character pins, bug264. Reported by Michael Laajanen.
3733 (verilog-auto-inst, verilog-read-decls, verilog-read-sub-decls)
3734 (verilog-read-sub-decls-in-interfaced, verilog-read-sub-decls-sig)
3735 (verilog-subdecls-get-interfaced, verilog-subdecls-new):
3736 Support interfaces with AUTOINST, bug270. Reported by Luis Gutierrez.
3737 (verilog-pretty-expr): Fix interactive arguments, bug272.
3738 Reported by Mark Johnson.
3739 (verilog-auto-tieoff, verilog-auto-tieoff-ignore-regexp):
3740 Add 'verilog-auto-tieoff-ignore-regexp' for AUTOTIEOFF,
3741 bug269. Suggested by Gary Delp.
3742 (verilog-mode-map, verilog-preprocess, verilog-preprocess-history)
3743 (verilog-preprocessor, verilog-set-compile-command):
3744 Create verilog-preprocess and verilog-preprocessor to show
3745 preprocessed output.
3746 (verilog-get-beg-of-line, verilog-get-end-of-line)
3747 (verilog-modi-file-or-buffer, verilog-modi-name)
3748 (verilog-modi-point, verilog-within-string): Move defmacro's
3749 before first use to avoid warning. Reported by Steve Pearlmutter.
3750 (verilog-colorize-buffer, verilog-colorize-include-files-buffer)
3751 (verilog-colorize-region, verilog-highlight-buffer)
3752 (verilog-highlight-includes, verilog-highlight-modules)
3753 (verilog-highlight-region, verilog-mode): Rename colorize to
3754 highlight to match other packages. Disable module highlighting,
3755 as received speed complaints, reenable for experimentation only
3756 using new verilog-highlight-modules.
3757 (verilog-read-decls): Fix regexp stack overflow in very large
3758 AUTO_TEMPLATEs, bug250.
3759 (verilog-auto, verilog-delete-auto, verilog-save-buffer-state)
3760 (verilog-scan): Create verilog-save-buffer-state to standardize
3761 making insignificant changes that shouldn't call hooks.
3762 (verilog-save-no-change-functions, verilog-save-scan-cache)
3763 (verilog-scan, verilog-scan-cache-ok-p, verilog-scan-region):
3764 Create verilog-save-no-change-functions to wrap verilog-scan
3765 preservation, and fix to work with nested preserved calls.
3766 (verilog-auto-inst, verilog-auto-inst-dot-name): Support .name
3767 port syntax for AUTOWIRE, and with new verilog-auto-inst-dot-name
3768 generate .name with AUTOINST, bug245. Suggested by David Rogoff.
3769 (verilog-submit-bug-report): Update variable list to be complete.
3770 (verilog-auto, verilog-colorize-region): Fix AUTO expansion
3771 breaking on-the-fly font-locking.
3772 (verilog-colorize-buffer, verilog-colorize-include-files)
3773 (verilog-colorize-include-files-buffer, verilog-colorize-region)
3774 (verilog-load-file-at-mouse, verilog-load-file-at-point)
3775 (verilog-mode, verilog-read-inst-module-matcher): With point on a
3776 AUTOINST cell instance name, middle mouse button now finds-file on
3777 it. Suggested by Brad Dobbie.
3778 (verilog-alw-get-temps, verilog-auto-reset)
3779 (verilog-auto-sense-sigs, verilog-read-always-signals)
3780 (verilog-read-always-signals-recurse): Fix loop indexes being
3781 AUTORESET. AUTORESET now assumes any variables in the
3782 initialization section of a for() should be ignored.
3783 Reported by Dan Dever.
3784 (verilog-error-font-lock-keywords)
3785 (verilog-error-regexp-emacs-alist)
3786 (verilog-error-regexp-xemacs-alist): Fix error detection of
3787 Cadence HAL, reported by David Asher. Repair drift between the
3788 three similar error variables.
3789 (verilog-modi-lookup, verilog-modi-lookup-cache)
3790 (verilog-modi-lookup-last-current, verilog-modi-lookup-last-mod)
3791 (verilog-modi-lookup-last-modi, verilog-modi-lookup-last-tick):
3792 Fix slow verilog-auto expansion on very large files.
3793 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line):
3794 Fix AUTOOUTPUT treating "1*2" as a signal name in submodule connection
3795 "{1*2{...". Broke in last revision.
3796 (verilog-read-sub-decls-expr): Fix AUTOOUTPUT not detecting
3797 submodule connections with replications "{#{a},#{b}}".
3799 2010-10-24 Juanma Barranquero <lekktu@gmail.com>
3801 * progmodes/dcl-mode.el (dcl-electric-reindent-regexps):
3802 Fix typo in docstring.
3804 2010-10-24 Kenichi Handa <handa@m17n.org>
3806 * face-remap.el (text-scale-adjust): Call read-event with a proper
3809 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
3811 * emacs-lisp/unsafep.el: Don't mark functions that display
3812 messages as safe. Suggested by Johan Bockgård.
3814 2010-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
3816 * emacs-lisp/regexp-opt.el (regexp-opt-group, regexp-opt-charset):
3817 Turn comments into docstrings.
3819 * minibuffer.el (completion--replace): Move point where it belongs
3820 when there's a common suffix (bug#7215).
3822 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
3824 Merge read-color and facemenu-read-color (Bug#7242).
3826 * faces.el (read-color): Use the completion code from
3827 facemenu-read-color. Require match in completion. Doc fix.
3829 * facemenu.el (facemenu-read-color): Alias for read-color.
3830 (facemenu-set-foreground, facemenu-set-background):
3833 * frame.el (set-background-color, set-foreground-color)
3834 (set-cursor-color, set-mouse-color, set-border-color):
3837 2010-10-24 Leo <sdl.web@gmail.com>
3839 * eshell/em-unix.el (eshell-remove-entries): Use the TRASH
3840 argument of delete-file and delete-directory (Bug#7011).
3842 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
3844 * emacs-lisp/package.el (package-menu-mode-map): Inherit from
3847 2010-10-24 Ralf Angeli <angeli@caeruleus.net>
3849 * emacs-lisp/package.el (package--generate-package-list): Make the
3850 *Packages* buffer read-only.
3852 2010-10-24 Alan Mackenzie <acm@muc.de>
3854 * progmodes/cc-fonts.el (c-font-lock-declarations): Cache the
3855 result of `c-beginning-of-decl-1' between invocations of a lambda
3856 function (Bug #7265).
3858 2010-10-24 Daiki Ueno <ueno@unixuser.org>
3860 * epg-config.el (epg-gpg-program): Try to use "gpg2" if "gpg"
3861 executable is not available on the system (Bug#7268).
3863 2010-10-24 Glenn Morris <rgm@gnu.org>
3865 * select.el (selection-coding-system, next-selection-coding-system):
3866 Sync doc with C versions.
3868 * w32-vars.el (x-select-enable-clipboard):
3869 * term/x-win.el (x-select-enable-clipboard): Move to common-win.
3870 * term/common-win.el (x-select-enable-clipboard): Move here.
3872 * term/tty-colors.el (tty-defined-color-alist): Remove duplicate
3873 definition of C variable.
3875 * frame.el (show-trailing-whitespace, auto-hscroll-mode)
3876 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
3877 Don't redefine things that are defined in C.
3878 * cus-start.el: Also handle :risky, :safe, :set, and :tag.
3879 (show-trailing-whitespace, auto-hscroll-mode)
3880 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
3881 Set up the appropriate custom properties.
3883 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
3886 * progmodes/f90.el (f90-mode-map): ... f90-insert-end.
3887 * nxml/nxml-mode.el (nxml-mode-map): ... nxml-finish-element.
3888 * textmodes/tex-mode.el (tex-mode-map): ... latex-close-block.
3889 * textmodes/sgml-mode.el (sgml-mode-map): ... sgml-close-tag.
3891 2010-10-23 Glenn Morris <rgm@gnu.org>
3893 * textmodes/flyspell.el (flyspell-mode): If there was an error,
3896 * frame.el (auto-hscroll-mode, cursor-in-non-selected-windows):
3897 Sync docs with C version.
3899 * term/ns-win.el (xw-defined-colors):
3900 * term/x-win.el (xw-defined-colors): Make docs identical to w32-win.
3902 * term/pc-win.el (x-select-enable-clipboard):
3903 * term/x-win.el (x-select-enable-clipboard):
3904 * w32-vars.el (x-select-enable-clipboard): Make doc-strings identical.
3906 * comint.el (comint-password-prompt-regexp): Make it less vague.
3909 * help-fns.el (doc-file-to-man, doc-file-to-info): New commands.
3911 * help.el (finder-by-keyword): Remove unnecessary autoload.
3913 2010-10-22 Glenn Morris <rgm@gnu.org>
3915 * loadup.el: Unconditionally load float-sup.
3916 * paren.el (show-paren-delay):
3917 * emacs-lisp/float-sup.el:
3918 * emulation/cua-base.el (cua-prefix-override-inhibit-delay):
3919 * obsolete/lazy-lock.el (lazy-lock-defer-time, lazy-lock-stealth-nice)
3920 (lazy-lock-stealth-verbose): Assume float support.
3921 * ps-print.el: Assume float support on Emacs.
3922 * emacs-lisp/timer.el (timer-next-integral-multiple-of-time):
3923 Remove non-float branch.
3925 * emacs-lisp/autoload.el (batch-update-autoloads): Update for
3926 src/Makefile no longer being pre-processed.
3928 2010-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
3930 * emacs-lisp/find-func.el (find-library): Use test-completion.
3932 2010-10-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
3934 * newcomment.el (comment-dwim): Fix the intentation in the doc string.
3936 2010-10-21 Michael Albinus <michael.albinus@gmx.de>
3938 * net/tramp-sh.el (tramp-do-file-attributes-with-stat): Do not use
3939 space in stat format string.
3940 (tramp-send-command): Unset $PS1 when using here documents, in
3941 order not to get several prompts.
3942 (tramp-get-inline-coding): Return `nil' in case of errors.
3944 2010-10-21 Daiki Ueno <ueno@unixuser.org>
3946 * hexl.el (hexl-mode, hexl-mode-exit):
3947 Tweak revert-buffer-function to inhibit auto-mode-alist (Bug#7252).
3948 (hexl-revert-buffer-function): New function.
3949 (hexl-before-revert-hook, hexl-after-revert-hook): Abolish.
3951 2010-10-19 Alan Mackenzie <acm@muc.de>
3953 * progmodes/cc-langs.el (c-type-decl-prefix-key): C++ bit:
3954 Move "\(const\|throw\|volatile\)\>" nearer the start of the regexp, so
3955 that these keywords aren't wrongly matched as identifiers.
3957 * progmodes/cc-mode.el (c-before-change, c-after-change): Move the
3958 setting of c-new-BEG and c-new-END from c-before-change to
3959 c-after-change. (Bug#7181)
3961 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
3963 * cus-face.el (custom-theme-set-faces): Revert 2010-10-18 change.
3966 * custom.el (custom-theme-set-variables): Likewise.
3967 (load-theme): Add custom-theme-set-faces and
3968 custom-theme-set-variables to safe-functions while loading.
3969 (custom-enabled-themes): Mark as risky.
3971 2010-10-18 Julien Danjou <julien@danjou.info>
3973 * bindings.el: Remove end dashes in default mode-line-format.
3975 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
3977 * bindings.el (global-map): Bind C-d to delete-char and deletechar
3978 to delete-forward-char.
3980 * simple.el (normal-erase-is-backspace-mode): Remap delete to
3981 deletechar, and hence delete-forward-char.
3983 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
3985 * repeat.el (repeat): Use read-key (bug#6256).
3987 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
3989 * emacs-lisp/unsafep.el: Don't mark functions that display
3990 messages as safe. Suggested by Johan Bockgård.
3992 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
3994 * minibuffer.el (completion--replace): Move point where it belongs
3995 when there's a common suffix (bug#7215).
3997 2010-10-19 Kenichi Handa <handa@m17n.org>
3999 * international/characters.el: Add category '|' (word breakable)
4000 to fullwidth characters.
4002 2010-10-19 Michael Albinus <michael.albinus@gmx.de>
4004 * net/tramp-sh.el (tramp-do-file-attributes-with-stat)
4005 (tramp-do-directory-files-and-attributes-with-stat): Use "e0" in
4006 order to make stat results a float. Patch by Andreas Schwab
4007 <schwab@linux-m68k.org>.
4009 2010-10-18 Julien Danjou <julien@danjou.info>
4011 * avoid.el (mouse-avoidance-ignore-p): Ignore mouse when it is
4012 hidden by `make-pointer-invisible'.
4014 2010-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
4016 * files.el (locate-file-completion-table): Strip non-matching elements
4017 before checking length of list (bug#7238).
4019 2010-10-18 Chong Yidong <cyd@stupidchicken.com>
4021 * custom.el (custom-theme-set-variables): Mark as a safe function.
4022 (load-theme): Check forms using unsafep.
4024 * cus-face.el (custom-theme-set-faces): Mark as a safe function.
4026 2010-10-17 Agustín Martín <agustin.martin@hispalinux.es>
4028 * textmodes/ispell.el (ispell-aspell-find-dictionary):
4029 Fix aspell data file searching (bug#7230).
4031 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
4033 * cus-theme.el (custom-theme--migrate-settings): New var.
4034 (customize-create-theme): Allow editing the `user' theme.
4035 (custom-theme-add-variable, custom-theme-add-var-1)
4036 (custom-theme-add-face, custom-theme-add-face-1): Add a checkbox
4037 to the front of each variable or face widget.
4038 (custom-theme-write): Save theme settings in the correct order.
4039 Optionally, remove saved settings from user customizations.
4040 (custom-theme-write-variables, custom-theme-write-faces):
4041 Save only the checked widgets.
4042 (customize-themes): Add a link for migrating custom settings.
4044 * custom.el (custom-declare-theme, provide-theme):
4045 Use custom-theme-name-valid-p.
4046 (custom-theme-name-valid-p): Remove checks that are now
4047 unnecessary since themes no longer obey load-path.
4049 * cus-edit.el (custom-variable-value-create): For the simple
4050 style, hide documentation string when hidden.
4052 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
4054 * cus-edit.el (custom-variable, custom-face): Combine the
4055 :inhibit-magic and :display-style properties into a single
4056 :custom-style property.
4057 (custom-toggle-hide-variable, custom-toggle-hide-face):
4058 New functions. If hiding an edited value, save it to :shown-value.
4059 (custom-variable-value-create, custom-face-value-create): Use them.
4060 (custom-magic-reset): Allow magic property to be unset.
4062 * custom.el: Custom themes no longer use load-path.
4063 (custom-theme-load-path): New option. Change built-in theme
4065 (custom-enabled-themes): Add custom-theme-load-path dependency.
4066 (custom-theme--load-path): New function.
4067 (load-theme, custom-available-themes): Use it.
4069 * cus-theme.el (describe-theme-1): Use custom-theme--load-path.
4070 (customize-themes): Link to custom-theme-load-path variable.
4071 (custom-theme-add-var-1, custom-theme-add-face-1): Use the
4072 :custom-style property.
4074 * themes/*.el: Moved to etc/.
4076 2010-10-16 Ralf Angeli <angeli@caeruleus.net>
4078 * textmodes/reftex-cite.el
4079 (reftex-extract-bib-entries-from-thebibliography): Do not move
4080 point when searching for \bibitem entries. Match entries with
4081 spaces or tabs in front of arguments.
4083 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
4085 * cus-theme.el (customize-create-theme): Delete overlays after
4086 erasing. If given a THEME arg, display only the faces of that arg
4087 instead of custom-theme--listed-faces.
4088 (custom-theme-variable-menu, custom-theme-variable-action)
4089 (custom-variable-reset-theme, custom-theme-delete-variable): Delete.
4090 (custom-theme-add-variable, custom-theme-add-face): Apply value
4091 from the theme settings, instead of the current value.
4092 (custom-theme-add-var-1, custom-theme-add-face-1): New functions.
4093 (custom-theme-visit-theme): Allow calling outside theme buffers.
4094 (custom-theme-merge-theme): Don't enable the theme when merging.
4095 (custom-theme-write-variables, custom-theme-write-faces): Use the
4096 :shown-value properties to save buffer values, not global ones.
4097 (customize-themes): Display a warning about user customizations.
4099 * cus-edit.el (custom-variable-value-create)
4100 (custom-face-value-create): Obey new special properties
4101 :shown-value and :inhibit-magic.
4103 2010-10-15 Michael Albinus <michael.albinus@gmx.de>
4105 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
4106 Suppress expansion of tabs to spaces. Reported by Dale Sedivec
4109 2010-10-14 Kenichi Handa <handa@m17n.org>
4111 * mail/rmail.el (rmail-show-message-1): Catch an error of
4112 base64-decode-region and just show an error message (bug#7165).
4114 * ps-mule.el (ps-mule-font-spec-list): Delete it. Not used anymore.
4115 (ps-mule-begin-job): Fix for the case that only ENCODING is set in
4116 a font-spec (bug#7197).
4118 2010-10-14 Glenn Morris <rgm@gnu.org>
4120 * mail/emacsbug.el (report-emacs-bug): Mention debbugs.gnu.org.
4122 2010-10-14 Juanma Barranquero <lekktu@gmail.com>
4124 * international/mule.el (define-coding-system):
4125 * international/titdic-cnv.el (quail-cxterm-package-ext-info):
4126 * composite.el (compose-region): Fix typo in docstring.
4128 2010-10-14 Chong Yidong <cyd@stupidchicken.com>
4130 * cus-face.el (custom-theme-set-faces): Call custom-push-theme
4131 only after checking the theme-face property.
4133 * faces.el (face-spec-reset-face): Reset all attributes in one
4134 single call to set-face-attribute.
4135 (face-spec-match-p): Make it a defsubst.
4136 (frame-set-background-mode): New arg KEEP-FACE-SPECS.
4137 (x-create-frame-with-faces, tty-create-frame-with-faces)
4138 (tty-set-up-initial-frame-faces): Don't recompute face specs in
4139 frame-set-background-mode, since they are recomputed immediately
4140 afterwards in face-set-after-frame-default.
4141 (face-set-after-frame-default): Minor optimization.
4142 (cursor): Provide non-trivial defface spec.
4144 * custom.el (custom-theme-recalc-face): Simplify.
4146 2010-10-14 Jay Belanger <jay.p.belanger@gmail.com>
4148 * calc/calc-alg.el (math-var): Rename from `var'.
4149 (math-is-polynomial, math-is-poly-rec): Replace `var'
4152 * calc/calcalg2.el (math-var): Rename from `var'.
4153 (calcFunc-table, math-scan-for-limits): Replace `var'
4156 2010-10-13 Glenn Morris <rgm@gnu.org>
4158 * subr.el (last): Deal with dotted lists (reported in bug#7174).
4160 2010-10-13 Stephen Berman <stephen.berman@gmx.net>
4162 * subr.el (last): Use `safe-length' instead of `length' (bug#7206).
4164 2010-10-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
4166 * net/tls.el (tls-program): Remove spurious %s from openssl.
4167 (tls-starttls-switches): Remove starttls hack.
4168 (open-tls-stream): Ditto.
4169 (tls-find-starttls-argument): Ditto.
4171 2010-10-13 Juanma Barranquero <lekktu@gmail.com>
4173 * image.el (image-library-alist): Declare as obsolete alias.
4174 (image-type-available-p): Use `dynamic-library-alist'.
4176 * term/w32-win.el (dynamic-library-alist):
4177 Use instead of `image-library-alist'.
4179 2010-10-13 IRIE Shinsuke <irieshinsuke@yahoo.co.jp> (tiny change)
4181 * subr.el (last): Make it faster. (Bug#7174)
4183 2010-10-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> (tiny change)
4185 * Makefile.in (compile-clean): Use `` instead of $(). (Bug#7178)
4187 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
4189 * cus-theme.el (custom-theme--listed-faces): Add cursor face.
4190 (describe-theme-1): Extract doc from unloaded themes.
4192 * custom.el (custom-theme-name-valid-p): Don't list color-themes.
4194 * themes/tango-theme.el:
4195 * themes/tango-dark-theme.el:
4196 * themes/wheatgrass-theme.el: New files.
4198 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
4200 * cus-theme.el (describe-theme, customize-themes)
4201 (custom-theme-save): New commands.
4202 (custom-new-theme-mode-map): Bind C-x C-s.
4203 (custom-new-theme-mode): Use custom--initialize-widget-variables.
4204 (customize-create-theme): New optional arg THEME.
4205 (custom-theme-revert): Use it.
4206 (custom-theme-visit-theme): Remove dead code.
4207 (custom-theme-merge-theme): Use custom-available-themes.
4208 (custom-theme-write): Make interactive.
4209 (custom-theme-write): Use custom-theme-name-valid-p.
4210 (describe-theme-1, custom-theme-choose-revert)
4211 (custom-theme-checkbox-toggle, custom-theme-selections-toggle):
4213 (custom-theme-allow-multiple-selections): New option.
4214 (custom-theme-choose-mode): New major mode.
4216 * custom.el (custom-theme-set-variables): Remove dead code.
4217 Obey custom--inhibit-theme-enable.
4218 (custom--inhibit-theme-enable): New var.
4219 (provide-theme): Obey it.
4220 (load-theme): Replace load with manual read/eval, in order to
4221 check for correctness. Use custom-theme-name-valid-p.
4222 (custom-theme-name-valid-p): New function.
4223 (custom-available-themes): Use it.
4225 * cus-edit.el (custom--initialize-widget-variables): New function.
4226 (Custom-mode): Use it.
4228 * cus-face.el (custom-theme-set-faces): Remove dead code.
4229 Obey custom--inhibit-theme-enable.
4231 * help-mode.el (help-theme-def, help-theme-edit): New buttons.
4233 2010-10-12 Juanma Barranquero <lekktu@gmail.com>
4235 * net/telnet.el (telnet-mode-map): Fix previous change (bug#7193).
4237 2010-10-12 Jan Djärv <jan.h.d@swipnet.se>
4239 * term/ns-win.el (ns-right-alternate-modifier): New defvar.
4240 (ns-right-option-modifier): New alias for ns-right-alternate-modifier.
4241 (mac-right-option-modifier): New alias for ns-right-option-modifier.
4243 * cus-start.el (all): ns-right-alternate-modifier is new.
4245 2010-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
4247 * emacs-lisp/lisp.el (lisp-completion-at-point):
4248 Use emacs-lisp-mode-syntax-table for the whole function.
4250 2010-10-12 David Koppelman <koppel@ece.lsu.edu>
4252 * hi-lock.el (hi-lock-font-lock-hook): Check font-lock-fontified
4253 instead of font-lock-mode before adding keywords.
4254 Remove hi-lock-mode off code. Remove inhibit hack.
4255 (hi-lock-set-pattern): Only add keywords if font-lock-fontified
4256 non-nil; removed hook inhibit hack.
4258 2010-10-12 Glenn Morris <rgm@gnu.org>
4260 * emacs-lisp/shadow.el (find-emacs-lisp-shadows): Rename it...
4261 (load-path-shadows-find): ... to this.
4262 (list-load-path-shadows): Update for above change.
4264 * mail/mail-utils.el (mail-mbox-from): Also try return-path.
4266 2010-10-11 Katsumi Yamaoka <yamaoka@jpl.org>
4268 * mail/hashcash.el, net/imap.el, pgg-parse.el, pgg.el:
4269 Fix comment for declare-function.
4271 2010-10-11 Chong Yidong <cyd@stupidchicken.com>
4273 * custom.el (custom-fix-face-spec): New function; code moved from
4274 custom-face-edit-fix-value.
4275 (custom-push-theme): Use it when checking if a face has been
4276 changed outside customize.
4277 (custom-available-themes): New function.
4278 (load-theme): Use it.
4280 * cus-edit.el (custom-face-edit-fix-value): Use custom-fix-face-spec.
4282 * custom.el (custom-push-theme): Cleanup (use cond).
4283 (disable-theme): Recompute the saved-face property.
4284 (custom-theme-recalc-face): Follow face alias before setting prop.
4286 * image.el (image-checkbox-checked, image-checkbox-unchecked):
4287 New variables, containing checkbox images.
4289 * startup.el (fancy-startup-tail):
4290 * wid-edit.el (checkbox): Use them.
4292 2010-10-10 Dan Nicolaescu <dann@ics.uci.edu>
4294 * shell.el (shell-mode-map):
4295 * progmodes/modula2.el (m2-mode-map):
4296 * progmodes/inf-lisp.el (inferior-lisp-mode-map):
4297 * play/mpuz.el (mpuz-mode-map):
4298 * play/landmark.el (lm-mode-map):
4299 * play/decipher.el (decipher-mode-map):
4300 * play/5x5.el (5x5-mode-map):
4301 * net/telnet.el (telnet-mode-map):
4302 * net/quickurl.el (quickurl-list-mode-map):
4303 * net/mairix.el (mairix-searches-mode-map):
4304 * net/eudc-hotlist.el (eudc-hotlist-mode-map):
4305 * net/dig.el (dig-mode-map):
4306 * mail/mspools.el (mspools-mode-map):
4307 * hexl.el (hexl-mode-map):
4308 * emulation/ws-mode.el (wordstar-C-k-map, wordstar-mode-map)
4309 (wordstar-C-o-map, wordstar-C-q-map):
4310 * emacs-lisp/edebug.el (edebug-eval-mode-map):
4311 * emacs-lisp/chart.el (chart-map):
4312 * edmacro.el (edmacro-mode-map):
4313 * erc/erc-list.el (erc-list-menu-mode-map):
4314 * array.el (array-mode-map): Declare and define in one step.
4316 * vc/log-view.el (log-view-mode-map): Bind revert-buffer.
4318 2010-10-10 Daiki Ueno <ueno@unixuser.org>
4320 * epa.el (epa-passphrase-callback-function): Display filename
4321 passed as the 3rd arg.
4322 * epa-file.el (epa-file-passphrase-callback-function):
4323 Pass filename to epa-passphrase-callback-function.
4325 2010-10-09 Chong Yidong <cyd@stupidchicken.com>
4327 * cus-edit.el (custom-face-widget-to-spec)
4328 (custom-face-get-current-spec, custom-face-state): New functions.
4329 (custom-face-set, custom-face-mark-to-save)
4330 (custom-face-value-create, custom-face-state-set): Use them.
4332 * cus-theme.el (custom-theme--listed-faces): New var.
4333 (customize-create-theme): Use *Custom Theme* as the buffer name.
4334 Set revert-buffer-function. Optional arg BUFFER. Insert all
4335 faces listed in custom-theme--listed-faces.
4336 (custom-theme-revert): New function.
4337 (custom-theme-add-variable, custom-theme-add-face): Insert at the
4339 (custom-theme-write): Prompt for theme name if empty.
4340 (custom-theme-write-variables): Use dolist.
4341 (custom-theme-write-faces): Handle hidden (collapsed) widgets.
4343 2010-10-09 Alan Mackenzie <acm@muc.de>
4345 Enhance fontification of declarators to take account of the
4346 presence/absence of "typedef".
4348 * cc-engine.el (c-forward-type): New &optional param
4350 (c-forward-decl-or-cast-1): cdr of return value now indicates the
4351 presence of either or both of a "struct"-like keyword and "typedef".
4353 * cc-fonts.el (c-complex-decl-matchers): Remove the heuristic
4354 fontification of declarators which follow a "}".
4355 (c-font-lock-declarations): Fontify declarators according to the
4356 presence/absence of "typedef".
4358 * cc-langs.el (c-typedef-kwds c-typedef-key): New lang variable
4360 (c-typedef-decl-key): New lang variable built from
4361 c-typedef-decl-kwds.
4363 2010-10-09 Lars Magne Ingebrigtsen <larsi@gnus.org>
4365 * ibuffer.el (ibuffer-mode-map): Don't redefine the cursor keys,
4366 since that's too annoying. Move the filter groups commands to
4369 * epa.el (epa-passphrase-callback-function): Say what we're
4370 querying the password for.
4372 * ibuffer.el (ibuffer-visit-buffer): To mimick list-buffers
4373 behaviour, don't bury the ibuffer buffer when visiting other buffers.
4375 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
4377 * cus-edit.el (custom-commands, custom-buffer-create-internal)
4378 (custom-magic-value-create): Pad button tags with spaces.
4379 (custom-face-edit): New variable.
4380 (custom-face-value-create): Determine whether to use the usual
4381 face editor here, instead of using custom-face-selected.
4382 Pass face defaults to custom-face-edit widget.
4383 (custom-face-selected, custom-display-unselected): Delete widgets.
4384 (custom-display-unselected-match): Function removed.
4385 (custom-face-set, custom-face-mark-to-save):
4386 Accept custom-face-edit widgets as the direct widget child.
4388 * wid-edit.el (widget--completing-widget): New var.
4389 (widget-default-complete): Bind it when doing completion.
4390 (widget-string-complete, widget-file-complete): Use it.
4392 2010-10-09 Glenn Morris <rgm@gnu.org>
4394 * calendar/cal-hebrew.el (holiday-hebrew-rosh-hashanah)
4395 (holiday-hebrew-passover, holiday-hebrew-tisha-b-av)
4396 (holiday-hebrew-misc): Small simplifications.
4398 * emacs-lisp/authors.el (authors-valid-file-names): Add b2m.c.
4400 * net/browse-url.el: Don't require thingatpt, term, dired,
4401 executable, or w3-auto when compiling.
4402 (dired-get-filename, term-char-mode, term-send-down, term-send-string):
4404 (browse-url-text-emacs): Require term.
4406 2010-10-08 Andreas Schwab <schwab@linux-m68k.org>
4408 * net/browse-url.el (browse-url-xdg-open): Remove use of /bin/sh.
4410 2010-10-08 Glenn Morris <rgm@gnu.org>
4412 * emacs-lisp/cl-compat.el, emacs-lisp/lmenu.el: Move to obsolete/.
4414 * emacs-lisp/shadow.el (lisp-shadow): Change prefix.
4415 (shadows-compare-text-p): Make it an obsolete alias for...
4416 (load-path-shadows-compare-text): ... new name.
4417 (find-emacs-lisp-shadows): Update for above name change.
4418 (load-path-shadows-same-file-or-nonexistent): New name for the old
4419 shadow-same-file-or-nonexistent.
4421 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
4423 * minibuffer.el (completion--some, completion--do-completion)
4424 (minibuffer-complete-and-exit, minibuffer-completion-help)
4425 (completion-basic-try-completion)
4426 (completion-basic-all-completions)
4427 (completion-pcm--find-all-completions): Use lexical-let to
4428 avoid some false matches in variable completion (Bug#7056)
4430 2010-10-08 Olof Ohlsson Sax <olof.ohlsson.sax@gmail.com> (tiny change)
4432 * vc-svn.el (vc-svn-merge-news): Use --non-interactive. (Bug#7152)
4434 2010-10-08 Leo <sdl.web@gmail.com>
4436 * dnd.el (dnd-get-local-file-name): If MUST-EXIST is non-nil, only
4437 return non-nil if the file exists (Bug#7090).
4439 2010-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
4441 * minibuffer.el (completion--replace):
4442 Better preserve markers (bug#7138).
4444 2010-10-08 Juanma Barranquero <lekktu@gmail.com>
4446 * server.el (server-process-filter): Doc fix.
4448 2010-10-08 Drew Adams <drew.adams@oracle.com>
4450 * dired.el (dired-save-positions): Doc fix. (Bug#7119)
4452 2010-10-08 Glenn Morris <rgm@gnu.org>
4454 * vc/ediff-wind.el (ediff-setup-control-frame):
4455 * vc/ediff-ptch.el (ediff-default-backup-extension):
4456 * vc/ediff-diff.el (ediff-shell, ediff-diff-options)
4457 (ediff-exec-process): Remove system-types emx, windows-95.
4459 * net/browse-url.el (browse-url-xdg-open): Shell-quote url. (Bug#7166)
4461 2010-10-07 Chong Yidong <cyd@stupidchicken.com>
4463 * cus-edit.el (custom-variable, custom-face): Doc fix.
4464 (custom-face-edit): Add value-create attribute.
4465 (custom-face-edit-value-create)
4466 (custom-face-edit-value-visibility-action): New functions.
4467 Hide unused face attributes by default, and add a visibility toggle.
4468 (custom-face-edit-deactivate): Show empty values with shadow face.
4469 (custom-face-selected): Only use this for face specs with default
4471 (custom-face-value-create): Cleanup.
4473 * wid-edit.el (widget-checklist-value-create): Use dolist.
4474 (widget-checklist-match-find): Make second arg optional.
4476 2010-10-07 Glenn Morris <rgm@gnu.org>
4478 * hilit-chg.el (hilit-chg-get-diff-info, hilit-chg-get-diff-list-hk):
4481 * emacs-lisp/shadow.el (shadow-font-lock-keywords)
4482 (load-path-shadows-mode, list-load-path-shadows): Rename shadow-mode to
4483 load-path-shadows-mode, update references.
4484 (load-path-shadows-font-lock-keywords, load-path-shadows-find-file):
4485 Rename variable and button.
4486 (list-load-path-shadows): Update button caller.
4488 2010-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4490 * emacs-lisp/smie.el (smie-bnf-classify): New function.
4491 (smie-bnf-precedence-table): Use it to remember the closers/openers.
4492 (smie-merge-prec2s): Handle those new entries.
4493 (smie-prec2-levels): Only set precedence to nil for actual
4495 * progmodes/octave-mod.el (octave-smie-op-levels): Remove dummy entry
4496 that is now unnecessary.
4498 2010-10-07 Miles Bader <miles@gnu.org>
4500 * emacs-lisp/regexp-opt.el (regexp-opt): Add `symbols' mode.
4502 2010-10-07 Glenn Morris <rgm@gnu.org>
4504 * mail/rmail.el (mail-sendmail-delimit-header, mail-header-end)
4505 (mail-position-on-field): Remove declarations.
4506 (mail-position-on-field): Autoload it.
4507 (rmail-retry-failure): Replace use of mail-sendmail-delimit-header
4508 and mail-header-end. Don't require sendmail.
4510 * emacs-lisp/shadow.el (shadow-font-lock-keywords): New variable.
4511 (shadow-mode): New mode.
4512 (shadow-find-file): New button.
4513 (list-load-path-shadows): Use shadow-mode and buttons.
4515 * iimage.el (iimage-version): Remove.
4516 (iimage-mode-image-search-path, iimage-mode-image-regex-alist):
4517 Turn into defcustoms.
4518 (iimage-mode-map): Give it a doc string.
4520 * calendar/appt.el (appt-activate): Give a warning rather than an error
4521 if there is no diary-file.
4523 2010-10-06 Michael Albinus <michael.albinus@gmx.de>
4525 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4526 Use `tramp-handle-find-backup-file-name'.
4528 2010-10-06 Glenn Morris <rgm@gnu.org>
4530 * font-core.el (font-lock-defaults-alist): Remove variable.
4531 (font-lock-mode): Doc fix.
4532 (font-lock-default-function): Do not consult font-lock-defaults-alist.
4533 * font-lock.el (font-lock-refresh-defaults): Doc fix.
4534 (font-lock-set-defaults): Doc fix.
4535 Do not consult font-lock-defaults-alist.
4537 * hilit-chg.el (hilit-chg-get-diff-list-hk): Declare `e' for compiler.
4539 * emacs-lisp/cl.el: No longer provide cl-19.
4541 2010-10-05 Michael Albinus <michael.albinus@gmx.de>
4543 * net/tramp.el (tramp-handle-directory-files-and-attributes)
4544 (tramp-handle-file-exists-p, tramp-handle-file-newer-than-file-p):
4545 New defuns, taken from tramp-smb.el.
4546 (tramp-coding-system-change-eol-conversion)
4547 (tramp-set-process-query-on-exit-flag): Remove.
4549 * net/tramp-compat.el (top): Do not check for byte-compiler objects.
4550 (tramp-compat-coding-system-change-eol-conversion)
4551 (tramp-compat-set-process-query-on-exit-flag): New defuns, taken
4554 * net/tramp-gvfs.el:
4555 * net/tramp-gw.el: Replace `tramp-set-process-query-on-exit-flag'
4556 by `tramp-compat-set-process-query-on-exit-flag'.
4558 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
4559 Use `tramp-handle-directory-files-and-attributes',
4560 `tramp-handle-file-exists-p' and
4561 `tramp-handle-file-newer-than-file-p'.
4562 (tramp-imap-handle-file-exists-p)
4563 (tramp-imap-handle-file-executable-p)
4564 (tramp-imap-handle-file-readable-p)
4565 (tramp-imap-handle-directory-files-and-attributes)
4566 (tramp-imap-handle-file-newer-than-file-p): Remove.
4568 * net/tramp-sh.el: Replace `tramp-set-process-query-on-exit-flag'
4569 by `tramp-compat-set-process-query-on-exit-flag' and
4570 `tramp-coding-system-change-eol-conversion' by
4571 `tramp-compat-coding-system-change-eol-conversion'.
4573 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4574 Use `tramp-handle-directory-files-and-attributes',
4575 `tramp-handle-file-exists-p' and
4576 `tramp-handle-file-newer-than-file-p'.
4577 (tramp-smb-handle-directory-files-and-attributes)
4578 (tramp-smb-handle-file-exists-p)
4579 (tramp-smb-handle-file-newer-than-file-p): Remove.
4580 (tramp-smb-maybe-open-connection):
4581 Replace `tramp-set-process-query-on-exit-flag' by
4582 `tramp-compat-set-process-query-on-exit-flag'.
4584 2010-10-05 Glenn Morris <rgm@gnu.org>
4586 * obsolete/rnews.el, obsolete/rnewspost.el: Remove files.
4588 2010-10-04 Michael Albinus <michael.albinus@gmx.de>
4590 Continue reorganization of load dependencies. (Bug#7156)
4592 * net/tramp.el (tramp-handle-file-local-copy-hook)
4593 (tramp-delete-temp-file-function): Move down.
4594 (tramp-exists-file-name-handler): Move up.
4595 (tramp-register-file-name-handlers): Simplify autoload.
4596 (tramp-handle-write-region-hook, tramp-handle-directory-file-name)
4597 (tramp-handle-directory-files, tramp-handle-dired-uncache)
4598 (tramp-handle-file-modes, tramp-handle-file-name-as-directory)
4599 (tramp-handle-file-name-completion)
4600 (tramp-handle-file-name-directory)
4601 (tramp-handle-file-name-nondirectory, tramp-handle-file-regular-p)
4602 (tramp-handle-file-remote-p, tramp-handle-file-symlink-p)
4603 (tramp-handle-find-backup-file-name)
4604 (tramp-handle-insert-file-contents, tramp-handle-load)
4605 (tramp-handle-substitute-in-file-name)
4606 (tramp-handle-unhandled-file-name-directory)
4607 (tramp-mode-string-to-int, tramp-local-host-p)
4608 (tramp-make-tramp-temp-file): Move from tramp-sh.el.
4610 * net/tramp-gvfs.el (top):
4611 * net/tramp-smb.el (top): Do not require 'tramp-sh.
4613 * net/tramp-sh.el (all): Move several objects to tramp.el, see
4614 there. Rename `tramp-handle-*' to `tramp-sh-handle-*'.
4616 2010-10-04 Glenn Morris <rgm@gnu.org>
4618 * calendar/appt.el (appt-add): Ensure reminders are enabled.
4619 (appt-activate): Give status messages.
4621 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
4623 * net/gnutls.el: Improve docs. Remove starttls and ssl emulation.
4624 Provide only `open-gnutls-stream' (formerly `open-ssl-stream') and
4625 `gnutls-negotiate' (formerly `starttls-negotiate').
4626 Remove trivial wrapper `starttls-open-stream'.
4628 2010-10-03 Dan Nicolaescu <dann@ics.uci.edu>
4630 Make 'g' (AKA revert-buffer) rerun the VC log, log-incoming and
4631 log-outgoing commands.
4632 * vc/vc.el (vc-log-internal-common): Add a new argument and use it
4633 to create a buffer local revert-buffer-function variable.
4634 (vc-print-log-internal, vc-log-incoming, vc-log-outgoing): Pass a
4635 revert-buffer-function lambda.
4637 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
4639 * net/gnutls.el (starttls-negotiate): Use the plist interface to
4640 `gnutls-boot'. Make TYPE the only required parameter.
4641 Allow TRUSTFILES and KEYFILES to be lists.
4642 (open-ssl-stream): Use it.
4644 2010-10-03 Glenn Morris <rgm@gnu.org>
4646 * subr.el (directory-sep-char): Remove obsolete variable.
4647 * net/tramp-compat.el: Don't mess about with the byte-compiler unless
4650 * vc/vc-hooks.el (vc-header-alist): Remove obsolete variable.
4651 * vc/vc.el (vc-static-header-alist): Doc fix.
4652 * vc/vc-cvs.el (vc-cvs-header):
4653 * vc/vc-rcs.el (vc-rcs-header):
4654 * vc/vc-sccs.el (vc-sccs-header):
4655 * vc/vc-svn.el (vc-svn-header): Do not consult vc-header-alist.
4656 * obsolete/vc-mcvs.el (vc-mcvs-header):
4657 * progmodes/cperl-mode.el (cperl-mode): Only set vc-header-alist
4660 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
4662 * emacs-lisp/bytecomp.el (byte-compile-from-buffer):
4663 Remove obsolete use of binary-overwrite-mode (Bug#7001).
4665 2010-10-03 Glenn Morris <rgm@gnu.org>
4667 * obsolete/x-menu.el: Remove file, obsolete since 21.1
4669 * textmodes/rst.el (rst-font-lock-keywords-function):
4672 * textmodes/artist.el (artist-replace-char): Drop Emacs 20 code.
4674 * printing.el: Drop Emacs 20 code.
4676 * calendar/appt.el (appt-delete): Don't autoload it (you can't use it
4677 without having used appt.el already).
4679 * subr.el (make-local-hook): Remove function obsolete since 21.1.
4680 * progmodes/cc-mode.el (make-local-hook): Don't do cc-bytecomp stuff.
4681 (c-basic-common-init, c-font-lock-init): Only call make-local-hook on
4683 * progmodes/cc-styles.el (make-local-hook): Don't do cc-bytecomp stuff.
4684 (c-make-styles-buffer-local): Only call make-local-hook on XEmacs.
4686 * ps-def.el (leading-code-private-22, charset-bytes, charset-id)
4687 (charset-width, find-charset-region, chars-in-region, forward-point)
4688 (encode-coding-string, coding-system-p, ccl-execute-on-string)
4689 (define-ccl-program, multibyte-string-p, string-make-multibyte):
4690 Remove compatibility cruft (none of these are used by ps*.el).
4692 2010-10-03 Kevin Rodgers <kevin.d.rodgers@gmail.com>
4694 * subr.el (booleanp): Return t instead of a list (Bug#7086).
4696 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
4698 * server.el (server-process-filter, server-return-error):
4699 Give emacsclient time to shut down after receiving an error string.
4701 2010-10-02 Michael Albinus <michael.albinus@gmx.de>
4703 * files.el (remote-file-name-inhibit-cache): New defcustom.
4705 * time.el (display-time-file-nonempty-p):
4706 Use `remote-file-name-inhibit-cache'.
4708 * net/tramp.el (tramp-completion-reread-directory-timeout):
4711 * net/tramp-cache.el (tramp-cache-inhibit-cache): Remove.
4712 (tramp-get-file-property): Replace `tramp-cache-inhibit-cache' by
4713 `remote-file-name-inhibit-cache'. Check also for an integer
4714 value. Add/increase counter when `tramp-verbose' >= 10.
4715 (tramp-set-file-property): Add/increase counter when
4716 `tramp-verbose' >= 10.
4718 * net/tramp-cmds.el (tramp-cleanup-all-connections)
4719 (tramp-cleanup-all-buffers): Set tramp-autoload cookie.
4720 (tramp-bug): Set tramp-autoload cookie. Report all interned
4721 tramp-* variables. Report also `remote-file-name-inhibit-cache'.
4722 (tramp-reporter-dump-variable): Fix docstring. Mask non-7bit
4723 characters only in strings.
4725 * net/tramp-compat.el (remote-file-name-inhibit-cache): Define due
4726 to backward compatibility.
4728 * net/tramp-sh.el (tramp-handle-verify-visited-file-modtime)
4729 (tramp-handle-file-name-all-completions)
4730 (tramp-handle-vc-registered): Use `remote-file-name-inhibit-cache'.
4731 (tramp-open-connection-setup-interactive-shell):
4732 Call `tramp-cleanup-connection' directly.
4734 2010-10-02 Glenn Morris <rgm@gnu.org>
4736 * emacs-lisp/checkdoc.el (checkdoc-minor-keymap): Remove obsolete alias.
4738 * subr.el (char-bytes): Remove obsolete function.
4740 * isearch.el (isearch-return-char): Remove obsolete function.
4742 * mouse.el: No longer provide mldrag.
4743 (mldrag-drag-mode-line, mldrag-drag-vertical-line):
4744 Remove obsolete aliases.
4746 * comint.el (comint-kill-output): Remove obsolete alias.
4748 * composite.el (decompose-composite-char): Remove obsolete function.
4749 * ps-def.el (decompose-composite-char): Remove unused function.
4751 * iswitchb.el (iswitchb-default-keybindings): Remove obsolete function.
4753 * outline.el (outline-visible): Remove obsolete function.
4755 * term/pc-win.el (x-frob-font-slant, x-frob-font-weight):
4756 * faces.el (internal-find-face, internal-get-face)
4757 (frame-update-faces, frame-update-face-colors)
4758 (x-frob-font-weight, x-frob-font-slant)
4759 (internal-frob-font-weight, internal-frob-font-slant)
4760 (x-make-font-bold, x-make-font-demibold, x-make-font-unbold)
4761 (x-make-font-italic, x-make-font-oblique, x-make-font-unitalic)
4762 (x-make-font-bold-italic): Remove functions and aliases, obsolete
4764 * emulation/viper-util.el (viper-get-face):
4765 * obsolete/lucid.el (find-face, get-face): Use facep.
4766 * vc/ediff-init.el (ediff-valid-color-p, ediff-get-face):
4767 Remove unused functions.
4768 * vc/ediff-util.el (ediff-submit-report): Doc fix.
4770 * emacs-lisp/bytecomp.el (byte-compile-file): Use kill-emacs-hook to
4771 delete tempfile if interrupted during compilation.
4773 2010-10-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
4775 * net/tls.el (tls-starttls-switches): Give up on using starttls with
4777 (tls-program): Add --insecure to be consistent with the defaults from
4778 openssl s_client. Now all three commands are insecure.
4780 2010-10-01 Eli Zaretskii <eliz@gnu.org>
4782 * makefile.w32-in (DEST, TAGS, TAGS-LISP, TAGS-nmake)
4783 (TAGS-LISP-nmake, TAGS-gmake, TAGS-LISP-gmake, TAGS-SH)
4784 (TAGS-LISP-SH, TAGS-CMD, TAGS-LISP-CMD): New targets.
4786 2010-10-01 Glenn Morris <rgm@gnu.org>
4788 * obsolete/sc.el: Remove file.
4790 * files.el (temporary-file-directory): On darwin, also try
4791 DARWIN_USER_TEMP_DIR (see discussion in bug#7135).
4793 2010-10-01 Juanma Barranquero <lekktu@gmail.com>
4795 * server.el (server-start): Revert part of 2010-09-30T02:53:26Z!lekktu@gmail.com.
4796 Let's not break compatibility gratuitously, shall we?
4798 2010-09-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
4800 * net/tls.el (tls-starttls-switches): New variable.
4801 (tls-find-starttls-argument): Use it.
4802 (open-tls-stream): Ditto.
4804 * net/netrc.el (netrc-credentials): Return the value of the "default"
4806 (netrc-machine): Ditto.
4808 2010-09-30 Eli Zaretskii <eliz@gnu.org>
4810 * vc/vc-hooks.el (vc-default-mode-line-string): Doc fix.
4812 2010-09-30 Juanma Barranquero <lekktu@gmail.com>
4814 * server.el (server-start): Don't write pid to the authentication file.
4815 (server-create-tty-frame): Don't send pid.
4816 (server-process-filter): Send pid at the start of every connection.
4818 2010-09-30 Glenn Morris <rgm@gnu.org>
4820 * calendar/diary-lib.el (view-diary-entries, list-diary-entries)
4821 (show-all-diary-entries): Remove obsolete function aliases.
4823 * calendar/appt.el (appt-issue-message, appt-visible, appt-msg-window):
4824 Remove options, obsolete since 22.1.
4825 (appt-display-format, appt-display-message):
4826 Remove backwards-compatibility code.
4827 (appt-check): No longer check appt-issue-message.
4828 (appt-make-list): No longer autoload it. Doc fix. No longer
4829 activate the package.
4831 2010-09-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
4833 * net/gnutls.el (starttls-negotiate): Loop a lot longer.
4834 (starttls-negotiate): Just call boot, and let the handshake be
4835 triggered from the read loop.
4837 2010-09-29 Glenn Morris <rgm@gnu.org>
4839 * calendar/diary-lib.el (diary-list-entries): Use temp buffers when
4840 not displaying the diary.
4841 (diary-add-to-list): If no buffer-file-name, fall back to diary-file.
4842 * calendar/appt.el (appt-check): No longer need to kill diary.
4844 * calendar/diary-lib.el (diary-list-entries): Move the
4845 "Preparing..." message entirely here.
4846 (diary-simple-display, diary-fancy-display): Move "Preparing..."
4847 messages to diary-list-entries.
4848 (diary-include-other-diary-files): Use LIST-ONLY rather than setting
4849 diary-display-function.
4851 * calendar/diary-lib.el (diary-include-other-diary-files):
4852 Trap some recursive includes.
4854 * calendar/appt.el (appt-activate): Check diary file.
4856 2010-09-29 Katsumi Yamaoka <yamaoka@jpl.org>
4858 * pgg.el (pgg-run-at-time-1): Define it for XEmacs only; fix if/else
4861 * calendar/time-date.el: No need to require cl for Emacs 21.
4863 2010-09-28 Glenn Morris <rgm@gnu.org>
4865 * calendar/appt.el (appt-check): Minor simplification.
4867 2010-09-28 Katsumi Yamaoka <yamaoka@jpl.org>
4869 * mail/sendmail.el (mail-citation-prefix-regexp): Remove "}" from
4872 2010-09-27 Andreas Schwab <schwab@linux-m68k.org>
4874 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
4875 Avoid infinite recursion on erroneous lambda form. (Bug#7114)
4877 2010-09-27 Kenichi Handa <handa@m17n.org>
4879 * tar-mode.el (tar-header-block-tokenize): Decode filenames in
4882 2010-09-27 Kenichi Handa <handa@m17n.org>
4884 * international/mule.el (define-coding-system): Docstring fixed.
4886 * international/mule-diag.el (describe-character-set): Use princ
4887 with proper print-length and print-level instead of insert.
4889 2010-09-27 Juanma Barranquero <lekktu@gmail.com>
4891 * window.el (walk-windows): Doc fix (bug#7105).
4893 2010-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
4895 * emacs-lisp/float-sup.el (e): Remove.
4897 2010-09-27 Teodor Zlatanov <tzz@lifelogs.com>
4899 * net/gnutls.el (gnutls, gnutls-log-level): Add group and custom
4901 (starttls-negotiate): Use it.
4903 2010-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
4905 * net/gnutls.el (starttls-negotiate): Stop looping when we get a t
4908 2010-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
4910 * emacs-lisp/pcase.el (pcase-let*, pcase-let): plet -> pcase-let.
4912 2010-09-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
4914 * net/gnutls.el (starttls-negotiate): Avoid the cl.el decf function.
4916 * net/netrc.el (netrc-store-data): New function.
4918 2010-09-26 Teodor Zlatanov <tzz@lifelogs.com>
4920 * net/gnutls.el: GnuTLS glue code to set up a connection.
4922 2010-09-25 Julien Danjou <julien@danjou.info>
4924 * notifications.el: Call dbus-register-signal only if it is bound.
4926 2010-09-25 Glenn Morris <rgm@gnu.org>
4928 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
4929 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
4930 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
4931 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
4932 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
4933 * eshell/esh-cmd.el, eshell/esh-ext.el, eshell/esh-io.el:
4934 * eshell/esh-mode.el, eshell/esh-proc.el, eshell/esh-test.el:
4935 * eshell/esh-util.el, eshell/esh-var.el:
4936 Remove leading `*' from docs of faces and defcustoms.
4938 2010-09-25 Ulrich Mueller <ulm@gentoo.org>
4940 * eshell/em-ls.el (eshell-ls-archive-regexp):
4941 * eshell/esh-util.el (eshell-tar-regexp):
4942 * ibuffer.el (ibuffer-compressed-file-name-regexp):
4943 * info.el (Info-suffix-list):
4944 * international/mule.el (auto-coding-alist):
4945 * woman.el (woman-file-regexp, woman-file-compression-regexp):
4946 * progmodes/etags.el (tags-compression-info-list):
4947 Support xz compression.
4949 2010-09-25 Chong Yidong <cyd@stupidchicken.com>
4951 * files.el (get-free-disk-space): Don't assume the "df" output
4952 columns line up (Bug#6995).
4954 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
4956 * finder.el (finder-unknown-keywords):
4957 * progmodes/gdb-mi.el (gdb-jsonify-buffer, gdb-running-threads-count):
4958 * progmodes/etags.el (tags-table-including): Fix typos in docstrings.
4960 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
4962 * server.el (server-start): Revert part of 2010-08-08 change. Using
4963 address 127.0.0.1 for local host is now done in Fmake_network_process.
4965 2010-09-24 Glenn Morris <rgm@gnu.org>
4967 * image-mode.el, progmodes/compile.el, progmodes/gud.el:
4968 * progmodes/mixal-mode.el, textmodes/bibtex-style.el:
4969 * textmodes/css-mode.el, textmodes/dns-mode.el:
4970 Move autoloaded auto-mode-alist entries to files.el.
4971 * files.el (auto-mode-alist): Move entries here.
4973 2010-09-23 Glenn Morris <rgm@gnu.org>
4975 * isearch.el (isearch-lazy-highlight-cleanup)
4976 (isearch-lazy-highlight-initial-delay)
4977 (isearch-lazy-highlight-interval)
4978 (isearch-lazy-highlight-max-at-a-time, isearch-lazy-highlight-face):
4979 * net/net-utils.el (ipconfig-program-options):
4980 Move aliases to options before the associated definitions.
4982 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
4984 * newcomment.el (comment-normalize-vars): Better test validity of
4987 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
4989 * emacs-lisp/float-sup.el (float-pi): New name for `pi'.
4990 (float-e): New name for `e'.
4991 (degrees-to-radians, radians-to-degrees):
4992 * calendar/solar.el (solar-longitude):
4993 * calculator.el (calculator-registers, calculator-funcall):
4994 * textmodes/artist.el (artist-spray-random-points):
4995 * play/bubbles.el (bubbles--initialize-images): Use new names.
4997 2010-09-23 Eric M. Ludlam <zappo@gnu.org>
4999 Update to CEDET 1.0's version of EIEIO.
5001 * emacs-lisp/eieio.el (eieio-specialized-key-to-generic-key):
5003 (eieio-defmethod, eieio-generic-form, eieio-generic-call): Use it.
5004 (eieio-default-eval-maybe): Eval val instead of unquoting only.
5005 (class-precedence-list): If class is nil, return nil.
5006 (eieio-generic-call): If class of first input arg is nil, don't
5007 look up static methods, and do check for primary methods.
5008 (initialize-instance): See if the default needs to be evaluated
5009 during the constructor.
5010 (eieio-perform-slot-validation-for-default): Don't do the check
5011 for values that will eventually be evaluated.
5012 (eieio-eval-default-p): New function.
5013 (eieio-default-eval-maybe): Use it.
5015 2010-09-23 Jan Moringen <jan.moringen@uni-bielefeld.de>
5017 * emacs-lisp/eieio.el (eieio-defclass): Allow :c3
5018 method-invocation-order.
5019 (eieio-c3-candidate, eieio-c3-merge-lists): New functions.
5020 (eieio-class-precedence-dfs): Compute class precedence list using
5022 (eieio-class-precedence-bfs): Compute class precedence list using
5024 (eieio-class-precedence-c3): Compute class precedence list using
5026 (class-precedence-list): New function.
5027 (eieiomt-method-list, eieiomt-sym-optimize): Use it.
5028 (inconsistent-class-hierarchy): New error symbol.
5029 (call-next-method): Stow the replacement argument list for future
5030 call-next-method invocations.
5032 2010-09-23 Glenn Morris <rgm@gnu.org>
5034 * calendar/appt.el (appt-check): If not displaying the diary,
5035 use (diary 1) to only get the entries we need.
5036 (appt-make-list): Sort diary-list-entries, if we cannot guarantee
5037 that it is in day order. (Bug#7019)
5039 * calendar/appt.el (appt-check): Rather than showing the diary,
5040 just turn off invisible display, and only if needed.
5042 * calendar/diary-lib.el (diary-list-entries): Doc fix. (Bug#7019)
5044 2010-09-23 Glenn Morris <rgm@gnu.org>
5046 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
5047 (byte-compile-defvar, byte-compile-cl-warn):
5048 Start warnings with lower-case, like the majority.
5050 * files.el (auto-mode-alist): Add .xa, .xw, .xsw for ld-script-mode.
5052 * files.el (auto-mode-alist): Prefer C-mode for .xs. (Bug#7071)
5054 * progmodes/ld-script.el (auto-mode-alist): Move to files.el.
5055 * files.el (auto-mode-alist): Move ld-script entries here, further down
5058 * vc/add-log.el: Don't require timezone when compiling.
5059 (timezone-make-date-sortable): Autoload it.
5060 (change-log-sortable-date-at): Don't require timezone.
5061 Use `ignore-errors'.
5063 * comint.el (comint-use-prompt-regexp-instead-of-fields):
5064 Move alias before definition, so it does not need autoloading.
5066 * emulation/crisp.el, emulation/cua-base.el, emulation/edt.el:
5067 * emulation/pc-select.el, emulation/vip.el, international/iso-ascii.el:
5068 * international/kkc.el, international/ogonek.el, mail/feedmail.el:
5069 * net/browse-url.el, net/eudc-vars.el, net/net-utils.el:
5070 * net/rcompile.el, net/rlogin.el, textmodes/enriched.el:
5071 * textmodes/makeinfo.el, textmodes/page-ext.el, textmodes/picture.el:
5072 * textmodes/refer.el, textmodes/spell.el, textmodes/table.el:
5073 * textmodes/tex-mode.el, textmodes/two-column.el:
5074 Remove leading `*' from docs of defcustoms etc.
5076 2010-09-23 Teodor Zlatanov <tzz@lifelogs.com>
5078 * net/netrc.el (netrc-parse): Remove encrypt.el mentions.
5080 2010-09-22 Dan Christensen <jdc@uwo.ca>
5082 * calendar/time-date.el (date-to-time): Try using parse-time-string
5083 first before using the slower timezone-make-date-arpa-standard.
5085 2010-09-22 Katsumi Yamaoka <yamaoka@jpl.org>
5087 * calendar/time-date.el (format-seconds): Comment fix.
5089 2010-09-22 Glenn Morris <rgm@gnu.org>
5091 * emacs-lisp/package.el (package-menu-mode): `revert-buffer-function'
5092 is not automatically buffer-local.
5094 2010-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
5096 * emacs-lisp/smie.el (smie-debug--describe-cycle): Fix typo.
5097 (smie-indent-comment): Be more careful with comment-start-skip.
5098 (smie-indent-comment-close, smie-indent-comment-inside): New funs.
5099 (smie-indent-functions): Use them.
5101 2010-09-21 Michael Albinus <michael.albinus@gmx.de>
5103 * net/ange-ftp.el (ange-ftp-skip-msgs): Add "^504 ..." message.
5105 2010-09-21 Jan Djärv <jan.h.d@swipnet.se>
5107 * menu-bar.el (menu-bar-set-tool-bar-position): customize-set-variable
5108 tool-bar-position. Don't modify frame parameters here.
5109 (menu-bar-options-save): Add tool-bar-position.
5111 * tool-bar.el (tool-bar-position): New defcustom (Bug#7049).
5113 2010-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
5115 * textmodes/reftex-parse.el (reftex-what-macro)
5116 (reftex-context-substring): Let-bind forward-sexp-function to nil
5117 since we don't need/want to treat \begin...\end as a block (bug#7053).
5119 * emacs-lisp/lisp.el (up-list): Don't do nothing silently.
5121 * simple.el (blink-matching-open): Use syntax-class.
5123 * progmodes/pascal.el (pascal-mode): Use define-derived-mode.
5124 Set invisibility spec for pascal's outline mode.
5125 (pascal-outline-change): Clean up calling convention.
5126 (pascal-show-all, pascal-hide-other-defuns): Update callers.
5128 * progmodes/prolog.el (prolog-smie-forward-token)
5129 (prolog-smie-backward-token): New functions.
5130 (prolog-mode-variables): Use them to parse "!," correctly.
5131 Set up smie-blink-matching for ".".
5133 * textmodes/ispell.el (ispell-start, ispell-end): Rename from `start'
5135 (ispell-region, ispell-process-line): Update users.
5137 * textmodes/reftex-parse.el (reftex-what-macro): Don't hardcode
5140 * textmodes/ispell.el: Fix commenting convention.
5141 (ispell-parse-output): Simplify, use push.
5142 (ispell-region): Use match-string-no-properties.
5143 (ispell-begin-skip-region-regexp): Use mapconcat to simplify.
5144 (ispell-minor-mode): Use define-minor-mode.
5145 (ispell-message): Remove unused var `skip-regexp'.
5146 (ispell-add-per-file-word-list): Use dynamic let-binding.
5147 Try and use the proper comment marker.
5149 * mail/sendmail.el: Fix commenting convention.
5150 (sendmail-send-it): Use line-beginning-position.
5152 * help-fns.el (describe-variable): Add original value, if applicable.
5154 2010-09-20 Juanma Barranquero <lekktu@gmail.com>
5156 * subr.el (y-or-n-p): Remove leftover code from 2010-09-17T13:30:30Z!monnier@iro.umontreal.ca.
5158 * emacs-lisp/smie.el (smie-indent--hanging-p): Use `smie-indent--bolp'.
5160 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5162 * emacs-lisp/smie.el (smie-bnf-precedence-table): Improve error message.
5163 (smie-debug--prec2-cycle, smie-debug--describe-cycle): New functions.
5164 (smie-prec2-levels): Use them to better diagnose precedence cycles.
5165 (smie-blink-matching-check): Don't signal a mismatch if car is t.
5166 (smie-blink-matching-open): Rewrite to remove assumptions, so that
5167 something like "." can also be a closer.
5168 (smie--associative-p, smie-indent--hanging-p, smie-indent--bolp)
5169 (smie-indent--offset, smie-indent--offset-rule, smie-indent--column):
5170 Rename internal functions to use "--". Update callers.
5172 * frame.el (make-frame-names-alist): Don't list frames on other displays.
5174 * fringe.el (fringe-styles): New var.
5175 (fringe-mode, fringe-query-style): Use it.
5177 2010-09-18 Michael R. Mauger <mmaug@yahoo.com>
5179 * progmodes/sql.el: Version 2.8
5180 (sql-login-params): Update widget structure; changes still needed.
5181 (sql-product-alist): Add :list-all and :list-table features for
5182 SQLite, Postgres and MySQL products.
5183 (sql-redirect): Handle default value.
5184 (sql-execute, sql-execute-feature): New functions.
5185 (sql-read-table-name): New function.
5186 (sql-list-all, sql-list-table): New functions. User API.
5187 (sql-mode-map, sql-interactive-mode-map): Add key definitions
5188 for above functions.
5189 (sql-mode-menu, sql-interactive-mode-menu): Add menu definitions
5190 for above functions.
5191 (sql-postgres-login-params): Add user and database defaults.
5192 (sql-buffer-live-p): Bug fix.
5193 (sql-product-history): New variable.
5194 (sql-read-product): New function. Use it.
5195 (sql-set-product, sql-product-interactive): Use it.
5196 (sql-connection-history): New variable.
5197 (sql-read-connection): New function. Use it.
5198 (sql-connect): New function.
5199 (sql-for-each-login): Redesign function interface.
5200 (sql-make-alternate-buffer-name, sql-save-connection): Use it.
5201 (sql-get-login-ext, sql-get-login): Use it. Handle default values.
5202 (sql-comint): Check for program. Existing live buffer.
5203 (sql-comint-postgres): Add port parameter.
5205 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5207 * emacs-lisp/warnings.el: Fix commenting convention.
5208 (display-warning): Use special mode and make the buffer read-only.
5210 2010-09-18 Jay Belanger <jay.p.belanger@gmail.com>
5212 * calc/calc-prog.el (calc-read-parse-table-part): Don't "fix" the
5213 empty string when it follows a repeated or optional pattern.
5215 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
5217 * indent.el (indent-according-to-mode): Apply syntax-propertize.
5218 (indent-region): Use indent-according-to-mode.
5220 2010-09-18 Eli Zaretskii <eliz@gnu.org>
5222 * fringe.el (fringe-mode): Doc fix.
5224 2010-09-14 Kan-Ru Chen <kanru@kanru.info> (tiny change)
5226 * textmodes/nroff-mode.el (nroff-view): Kill old buffer before
5227 refreshing the preview buffer.
5229 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
5231 * textmodes/tex-mode.el (tex-syntax-propertize-rules)
5232 (latex-syntax-propertize-rules): New consts; replace
5233 tex-font-lock-syntactic-keywords.
5234 (tex-env-mark, latex-env-before-change): New functions.
5235 (latex-electric-env-pair-mode): New minor mode.
5236 (tex-font-lock-verb): Change arguments; do move point.
5237 (tex-font-lock-syntactic-face-function): Adjust to new verbatim
5238 representation as a form of comment.
5239 (tex-font-lock-keywords-1): Remove workaround, now unneeded.
5240 (doctex-syntax-propertize-rules): New const; replaces
5241 doctex-font-lock-syntactic-keywords.
5242 (tex-common-initialization, doctex-mode): Use syntax-propertize-rules.
5244 * progmodes/fortran.el (fortran--font-lock-syntactic-keywords): Remove.
5245 (fortran-make-syntax-propertize-function): New function; replaces
5246 fortran-font-lock-syntactic-keywords.
5247 (fortran-mode): Use it.
5248 (fortran-line-length): Use it. Improve interactive spec.
5250 * emacs-lisp/syntax.el (syntax-propertize-precompile-rules): New macro.
5251 (syntax-propertize-rules): Add var-ref case. Fix offset computation
5252 when adding surrounding \(..\).
5254 * progmodes/js.el (js-mode): Fix last change (bug#7054).
5256 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
5258 * obsolete/old-whitespace.el (whitespace-rescan-files-in-buffers):
5259 Use with-current-buffer.
5261 * isearch.el (isearch-face): Rename from `isearch'.
5262 (isearch-highlight): Use new name.
5264 2010-09-17 Eli Zaretskii <eliz@gnu.org>
5266 * fringe.el (fringe-mode, fringe-query-style): Use 4 pixels, not
5267 5, for `half' width fringes. (Bug#6933)
5269 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
5271 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
5272 (byte-compile-defvar): "foo/bar" does not lack a prefix.
5274 * subr.el (y-or-n-p): Add the "(y or n)" that was lost somehow.
5276 2010-09-17 Stephen Berman <stephen.berman@gmx.net>
5278 * dframe.el (dframe-reposition-frame-emacs): Use tool-bar-pixel-width
5279 in calculating new frame position. Add more space between new and
5280 parent on the left (Bug#7048).
5282 2010-09-17 Michael Albinus <michael.albinus@gmx.de>
5284 * net/tramp-compat.el (tramp-compat-with-temp-message): Make it a
5287 2010-09-16 Chong Yidong <cyd@stupidchicken.com>
5289 * mail/sendmail.el: Add "*unsent mail*" to same-window-buffer-names.
5291 * term/x-win.el (x-cut-buffer-or-selection-value): Define as
5292 obsolete alias for x-selection-value.
5294 * ido.el (ido-make-buffer-list): Fix error in 2010-08-22 merge.
5296 2010-09-16 Michael Albinus <michael.albinus@gmx.de>
5298 * net/tramp-cmds.el (tramp-cleanup-connection): Set tramp-autoload
5301 2010-09-15 Michael Albinus <michael.albinus@gmx.de>
5303 * net/tramp-compat.el (tramp-compat-with-temp-message)
5304 (tramp-compat-font-lock-add-keywords, tramp-compat-process-get)
5305 (tramp-compat-process-put): New defuns.
5307 * net/tramp.el (top):
5308 * net/tramp-gvfs.el (top):
5309 * net/tramp-cache.el (top): Use `tramp-compat-font-lock-add-keywords'.
5311 * net/tramp.el (tramp-progress-reporter-update):
5312 Use `tramp-compat-funcall'.
5314 * net/tramp.el (tramp-process-actions):
5315 * net/tramp-gvfs.el (tramp-handle-vc-registered):
5316 * net/tramp-sh.el (tramp-gvfs-handler-askquestion)
5317 (tramp-get-remote-stat, tramp-get-remote-readlink):
5318 Use `tramp-compat-with-temp-message'.
5320 * net/tramp-sh.el (top): Require 'cl.
5321 (tramp-handle-start-file-process): Use `tramp-compat-process-get'.
5322 (tramp-open-connection-setup-interactive-shell):
5323 Use `tramp-compat-process-put'.
5325 2010-09-15 Alan Mackenzie <acm@muc.de>
5327 * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Correct the
5329 (c-forward-<>-arglist-recur): Fix an infinite recursion.
5331 2010-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
5333 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
5334 `lexical' for warnings related to lexical scoping.
5335 (byte-compile-file-form-defvar, byte-compile-defvar): Warn about
5336 global vars which don't have a prefix and could hence affect lexical
5337 scoping in unrelated files.
5339 2010-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
5341 * net/imap.el: Revert back to version
5342 cb950ed8ff3e0f40dac437a51b269166f9ffb60d, since some of the changes
5345 2010-09-14 Juanma Barranquero <lekktu@gmail.com>
5347 * obsolete/old-whitespace.el (whitespace-unload-function):
5348 Explicitly pass `obarray' to `unintern' to avoid a warning.
5350 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
5352 * emacs-lisp/byte-run.el (set-advertised-calling-convention):
5353 Add `when' argument. Update callers.
5355 * subr.el (unintern): Declare the obarray arg mandatory.
5357 2010-09-14 Glenn Morris <rgm@gnu.org>
5359 * calendar/diary-lib.el (diary-list-entries-hook, diary-sort-entries):
5362 * calendar/diary-lib.el (diary-included-files): New variable.
5363 (diary-list-entries): Maybe initialize diary-included-files.
5364 (diary-include-other-diary-files): Append to diary-included-files.
5365 * calendar/appt.el (appt-update-list): Also check the members of
5366 diary-included-files. (Bug#6999)
5367 (appt-check): Doc fix.
5369 2010-09-14 David Reitter <david.reitter@gmail.com>
5371 * simple.el (line-move-visual): Do not truncate goal column to
5372 integer size. (Bug#7020)
5374 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
5376 * repeat.el (repeat): Allow repeating when the last event is a click.
5377 Suggested by Drew Adams (bug#6256).
5379 2010-09-14 Sascha Wilde <wilde@sha-bang.de>
5381 * vc/vc-hg.el (vc-hg-state,vc-hg-working-revision):
5382 Replace setting HGRCPATH to "" by some less invasive --config options.
5384 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
5386 * font-lock.el (font-lock-beginning-of-syntax-function):
5389 2010-09-14 Glenn Morris <rgm@gnu.org>
5391 * menu-bar.el (menu-bar-options-save): Fix handling of menu-bar
5392 and tool-bar modes. (Bug#6211)
5393 (menu-bar-mode): Move setting of standard-value after the
5394 minor-mode definition, otherwise it seems to have no effect.
5396 2010-09-14 Masatake YAMATO <yamato@redhat.com>
5398 * progmodes/antlr-mode.el (antlr-font-lock-additional-keywords):
5399 Fix typo. (Bug#6976)
5401 2010-09-14 Vinicius Jose Latorre <viniciusjl@ig.com.br>
5403 * whitespace.el: Allow cleaning up blanks without blank
5404 visualization (Bug#6651). Adjust help window for
5405 whitespace-toggle-options (Bug#6479). Allow to use fill-column
5406 instead of whitespace-line-column (from EmacsWiki). New version 13.1.
5407 (whitespace-style): Add new value 'face. Adjust docstring.
5408 (whitespace-space, whitespace-hspace, whitespace-tab):
5409 Adjust foreground property face.
5410 (whitespace-line-column): Adjust docstring and type declaration.
5411 (whitespace-style-value-list, whitespace-toggle-option-alist)
5412 (whitespace-help-text): Adjust const initialization.
5413 (whitespace-toggle-options, global-whitespace-toggle-options):
5415 (whitespace-display-window, whitespace-interactive-char)
5416 (whitespace-style-face-p, whitespace-color-on): Adjust code.
5417 (whitespace-help-scroll): New fun.
5419 2010-09-14 Katsumi Yamaoka <yamaoka@jpl.org>
5421 * calendar/time-date.el (format-seconds): Comment fix.
5423 2010-09-13 Michael R. Mauger <mmaug@yahoo.com>
5425 * progmodes/sql.el: Version 2.7.
5426 (sql-buffer-live-p): Improve detection.
5427 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
5428 (sql-set-sqli-buffer): Use it.
5429 (sql-product-interactive): Run `sql-set-sqli-hook'.
5430 (sql-rename-buffer): Code cleanup.
5431 (sql-redirect, sql-redirect-value): New functions. More to come.
5433 2010-09-13 Juanma Barranquero <lekktu@gmail.com>
5435 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.
5436 * makefile.w32-in (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
5437 (TRAMP_SRC): New macro.
5438 ($(lisp)/net/tramp-loaddefs.el): New target.
5440 2010-09-13 Michael Albinus <michael.albinus@gmx.de>
5442 Major code cleanup. Split tramp.el into tramp.el and tramp-sh.el.
5444 * Makefile.in (TRAMP_SRC): Remove tramp-fish.el. Add tramp-sh.el.
5446 * net/tramp.el (top): Don't show loading message. Require just
5447 'tramp-compat, everything else is required there.
5448 Use `ignore-errors' where appropriate.
5449 (tramp-inline-compress-start-size, tramp-copy-size-limit)
5450 (tramp-terminal-type, tramp-end-of-output)
5451 (tramp-initial-end-of-output, tramp-completion-function-alist-rsh)
5452 (tramp-completion-function-alist-ssh)
5453 (tramp-completion-function-alist-telnet)
5454 (tramp-completion-function-alist-su)
5455 (tramp-completion-function-alist-putty, tramp-remote-path)
5456 (tramp-remote-process-environment, tramp-sh-extra-args)
5457 (tramp-actions-before-shell, tramp-uudecode)
5458 (tramp-perl-file-truename, tramp-perl-file-name-all-completions)
5459 (tramp-perl-file-attributes)
5460 (tramp-perl-directory-files-and-attributes)
5461 (tramp-perl-encode-with-module, tramp-perl-decode-with-module)
5462 (tramp-perl-encode, tramp-perl-decode)
5463 (tramp-vc-registered-read-file-names, tramp-file-mode-type-map)
5464 (tramp-file-name-handler-alist, tramp-make-tramp-temp-file)
5465 (tramp-handle-make-symbolic-link, tramp-handle-load)
5466 (tramp-handle-file-name-as-directory)
5467 (tramp-handle-file-name-directory)
5468 (tramp-handle-file-name-nondirectory, tramp-handle-file-truename)
5469 (tramp-handle-file-exists-p, tramp-handle-file-attributes)
5470 (tramp-do-file-attributes-with-ls)
5471 (tramp-do-file-attributes-with-perl)
5472 (tramp-do-file-attributes-with-stat)
5473 (tramp-handle-set-visited-file-modtime)
5474 (tramp-handle-verify-visited-file-modtime)
5475 (tramp-handle-set-file-modes, tramp-handle-set-file-times)
5476 (tramp-set-file-uid-gid, tramp-remote-selinux-p)
5477 (tramp-handle-file-selinux-context)
5478 (tramp-handle-set-file-selinux-context)
5479 (tramp-handle-file-executable-p, tramp-handle-file-readable-p)
5480 (tramp-handle-file-newer-than-file-p, tramp-handle-file-modes)
5481 (tramp-handle-file-directory-p, tramp-handle-file-regular-p)
5482 (tramp-handle-file-symlink-p, tramp-handle-file-writable-p)
5483 (tramp-handle-file-ownership-preserved-p)
5484 (tramp-handle-directory-file-name, tramp-handle-directory-files)
5485 (tramp-handle-directory-files-and-attributes)
5486 (tramp-do-directory-files-and-attributes-with-perl)
5487 (tramp-do-directory-files-and-attributes-with-stat)
5488 (tramp-handle-file-name-all-completions)
5489 (tramp-handle-file-name-completion, tramp-handle-add-name-to-file)
5490 (tramp-handle-copy-file, tramp-handle-copy-directory)
5491 (tramp-handle-rename-file, tramp-do-copy-or-rename-file)
5492 (tramp-do-copy-or-rename-file-via-buffer)
5493 (tramp-do-copy-or-rename-file-directly)
5494 (tramp-do-copy-or-rename-file-out-of-band)
5495 (tramp-handle-make-directory, tramp-handle-delete-directory)
5496 (tramp-handle-delete-file)
5497 (tramp-handle-dired-recursive-delete-directory)
5498 (tramp-handle-dired-compress-file, tramp-handle-dired-uncache)
5499 (tramp-handle-insert-directory)
5500 (tramp-handle-unhandled-file-name-directory)
5501 (tramp-handle-expand-file-name)
5502 (tramp-handle-substitute-in-file-name)
5503 (tramp-handle-executable-find, tramp-process-sentinel)
5504 (tramp-handle-start-file-process, tramp-handle-process-file)
5505 (tramp-handle-call-process-region, tramp-handle-shell-command)
5506 (tramp-handle-file-local-copy, tramp-handle-file-remote-p)
5507 (tramp-handle-insert-file-contents)
5508 (tramp-handle-insert-file-contents-literally)
5509 (tramp-handle-find-backup-file-name)
5510 (tramp-handle-make-auto-save-file-name, tramp-handle-write-region)
5511 (tramp-vc-registered-file-names, tramp-handle-vc-registered)
5512 (tramp-sh-file-name-handler, tramp-vc-file-name-handler)
5513 (tramp-maybe-send-script, tramp-set-auto-save, tramp-run-test)
5514 (tramp-run-test2, tramp-find-executable, tramp-set-remote-path)
5515 (tramp-find-file-exists-command, tramp-open-shell)
5516 (tramp-find-shell, tramp-barf-if-no-shell-prompt)
5517 (tramp-open-connection-setup-interactive-shell)
5518 (tramp-local-coding-commands, tramp-remote-coding-commands)
5519 (tramp-find-inline-encoding, tramp-call-local-coding-command)
5520 (tramp-inline-compress-commands, tramp-find-inline-compress)
5521 (tramp-compute-multi-hops, tramp-maybe-open-connection)
5522 (tramp-send-command, tramp-wait-for-output)
5523 (tramp-send-command-and-check, tramp-barf-unless-okay)
5524 (tramp-send-command-and-read, tramp-mode-string-to-int)
5525 (tramp-convert-file-attributes, tramp-check-cached-permissions)
5526 (tramp-file-mode-from-int, tramp-file-mode-permissions)
5527 (tramp-shell-case-fold, tramp-make-copy-program-file-name)
5528 (tramp-method-out-of-band-p, tramp-local-host-p)
5529 (tramp-get-remote-path, tramp-get-remote-tmpdir)
5530 (tramp-get-ls-command, tramp-get-ls-command-with-dired)
5531 (tramp-get-test-command, tramp-get-test-nt-command)
5532 (tramp-get-file-exists-command, tramp-get-remote-ln)
5533 (tramp-get-remote-perl, tramp-get-remote-stat)
5534 (tramp-get-remote-readlink, tramp-get-remote-trash)
5535 (tramp-get-remote-id, tramp-get-remote-uid, tramp-get-remote-gid)
5536 (tramp-get-local-uid, tramp-get-local-gid)
5537 (tramp-get-inline-compress, tramp-get-inline-coding): Move to
5539 (tramp-methods, tramp-default-method-alist)
5540 (tramp-default-user-alist, tramp-foreign-file-name-handler-alist):
5541 Move initialization to tramp-sh.el.
5542 (tramp-temp-name-prefix): Make it a defconst.
5543 (tramp-dissect-file-name): Don't check anymore for multi-hop
5545 (tramp-debug-outline-regexp): Add a docstring.
5546 (tramp-debug-outline-level): Rename from `tramp-outline-level'.
5547 (tramp-get-debug-buffer): Use it.
5549 * net/tramp-cache.el (top): Set tramp-autoload cookie for
5550 initialization forms.
5551 (tramp-set-connection-property): Don't protect `tramp-message'
5552 call, it isn't necessary any longer.
5553 (tramp-dump-connection-properties): Use `ignore-errors'.
5555 * net/tramp-compat.el (top): Require 'advice, 'format-spec,
5556 'password-cache and 'auth-source.
5558 * net/tramp-gvfs.el (top):
5559 * net/tramp-smb.el (top): Require 'tramp-sh.
5561 * net/tramp-gw.el (tramp-gw-open-network-stream): Use `ignore-errors'.
5563 * net/tramp-sh.el: New file, derived from tramp.el.
5564 (top): Initialize `tramp-methods', `tramp-default-method-alist',
5565 `tramp-default-user-alist', `tramp-foreign-file-name-handler-alist'.
5566 Remove "scp1_old", "scp2_old", "ssh1_old", "ssh2_old".
5567 Use `ignore-errors' where appropriate.
5568 (tramp-sh-file-name-handler-alist): Rename from
5569 `tramp-file-name-handler-alist'.
5570 (tramp-send-command-and-check): Return t or nil. Remove all
5571 `zerop' checks, where called.
5572 (tramp-handle-set-file-modes)
5573 (tramp-do-copy-or-rename-file-directly)
5574 (tramp-handle-delete-directory, tramp-handle-delete-file)
5575 (tramp-maybe-send-script): Use `tramp-barf-unless-okay'.
5576 (tramp-sh-file-name-handler, tramp-send-command-and-check)
5577 (tramp-get-remote-ln): Set tramp-autoload cookie.
5579 * net/tramp-fish.el: Remove file.
5581 2010-09-13 Daiki Ueno <ueno@unixuser.org>
5583 * epa-file.el (epa-file-insert-file-contents): If visiting, bind
5584 buffer-file-name to avoid file-locking. (Bug#7026)
5586 2010-09-13 Julien Danjou <julien@danjou.info>
5588 * notifications.el (notifications-notify): Add support for
5589 image-path and sound-name.
5590 (notifications-specification-version): Add this variable.
5592 2010-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5594 * subr.el (y-or-n-p): New function, moved from src/fns.c; use read-key.
5596 2010-09-12 Leo <sdl.web@gmail.com>
5598 * net/rcirc.el (rcirc-server-commands, rcirc-client-commands)
5599 (rcirc-completion-start): New variables.
5600 (rcirc-nick-completions): Rename to rcirc-completions.
5601 (rcirc-nick-completion-start-offset): Delete.
5602 (rcirc-completion-at-point): New function for constructing
5603 completion data for both nicks and irc commands. Add to
5604 completion-at-point-functions in rcirc mode.
5605 (rcirc-complete): Rename from rcirc-nick-complete; use
5606 rcirc-completion-at-point.
5607 (defun-rcirc-command): Update rcirc-client-commands.
5609 2010-09-11 Glenn Morris <rgm@gnu.org>
5611 * emacs-lisp/bytecomp.el (byte-compile-file): Create .elc files
5612 atomically, to avoid parallel build errors. (Bug#4196)
5614 2010-09-11 Michael R. Mauger <mmaug@yahoo.com>
5616 * progmodes/sql.el: Version 2.6
5617 (sql-dialect): Synonym for "sql-product".
5618 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
5619 (sql-set-sqli-buffer, sql-show-sqli-buffer, sql-interactive-mode):
5620 Set "sql-buffer" to buffer name not buffer object so multiple sql
5621 interactive buffers work properly. Reverts misguided changes in
5623 (sql-comint): Make sure different buffer name is used if "*SQL*"
5624 buffer is for a different product.
5625 (sql-make-alternate-buffer-name): Fix bug with "sql-database"
5627 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
5628 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
5629 (sql-db2, sql-linter, sql-product-interactive, sql-rename-buffer):
5630 Accept new buffer name or prompt for one.
5631 (sql-port): Default to zero.
5632 (sql-comint-mysql): Handle "sql-port" as a numeric.
5633 (sql-port-history): Delete unused variable.
5634 (sql-get-login): Default "sql-port" to a number.
5635 (sql-product-alist): Correct Postgres prompt and terminator regexp.
5636 (sql-sqlite-program): Dynamically detect presence of "sqlite" or
5637 "sqlite3" executables.
5638 (sql-sqlite-login-params): Add "*.sqlite[23]?" database name pattern.
5639 (sql-buffer-live-p): New function.
5640 (sql-mode-menu, sql-send-string): Use it.
5641 (sql-mode-oracle-font-lock-keywords): Improve SQL*Plus REMARK
5643 (sql-mode-postgres-font-lock-keywords): Support Postgres V9.
5644 (sql-mode-sqlite-font-lock-keywords): Hilight sqlite commands.
5646 2010-09-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
5648 * net/netrc.el (netrc-credentials): New convenience function.
5650 2010-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
5652 * textmodes/texinfo.el (texinfo-syntax-propertize-function): New fun
5653 to replace texinfo-font-lock-syntactic-keywords.
5654 (texinfo-mode): Use it.
5656 * textmodes/tex-mode.el (tex-common-initialization, doctex-mode):
5657 Use syntax-propertize-function.
5659 * textmodes/sgml-mode.el (sgml-syntax-propertize-function): New var to
5660 replace sgml-font-lock-syntactic-keywords.
5661 (sgml-mode): Use it.
5663 * textmodes/reftex.el (font-lock-syntactic-keywords): Don't declare
5664 since we don't use it.
5666 * textmodes/bibtex.el (bibtex-mode): Use syntax-propertize-function.
5668 * progmodes/vhdl-mode.el (vhdl-mode): Use syntax-propertize-function
5670 (vhdl-fontify-buffer): Adjust.
5672 * progmodes/tcl.el (tcl-syntax-propertize-function): New var to
5673 replace tcl-font-lock-syntactic-keywords.
5676 * progmodes/simula.el (simula-syntax-propertize-function): New var to
5677 replace simula-font-lock-syntactic-keywords.
5678 (simula-mode): Use it.
5680 * progmodes/sh-script.el (sh-st-symbol): Remove.
5681 (sh-font-lock-close-heredoc, sh-font-lock-open-heredoc): Add eol arg.
5682 (sh-font-lock-flush-syntax-ppss-cache, sh-font-lock-here-doc): Remove.
5683 (sh-font-lock-quoted-subshell): Assume we've already matched $(.
5684 (sh-font-lock-paren): Set syntax-multiline.
5685 (sh-font-lock-syntactic-keywords): Remove.
5686 (sh-syntax-propertize-function): New function to replace it.
5689 * progmodes/ruby-mode.el (ruby-here-doc-beg-re):
5690 Define while compiling.
5691 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
5692 (ruby-font-lock-syntactic-keywords, ruby-comment-beg-syntax)
5693 (syntax-ppss, ruby-in-ppss-context-p, ruby-in-here-doc-p)
5694 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
5695 (ruby-here-doc-end-syntax): Only define when
5696 syntax-propertize is not available.
5697 (ruby-syntax-propertize-function, ruby-syntax-propertize-heredoc):
5699 (ruby-in-ppss-context-p): Update to new syntax of heredocs.
5700 (electric-indent-chars): Silence bytecompiler.
5701 (ruby-mode): Use prog-mode, syntax-propertize-function, and
5702 electric-indent-chars.
5704 * progmodes/python.el (python-syntax-propertize-function): New var to
5705 replace python-font-lock-syntactic-keywords.
5706 (python-mode): Use it.
5707 (python-quote-syntax): Simplify and adjust to new use.
5709 * progmodes/perl-mode.el (perl-syntax-propertize-function): New fun to
5710 replace perl-font-lock-syntactic-keywords.
5711 (perl-syntax-propertize-special-constructs): New fun to replace
5712 perl-font-lock-special-syntactic-constructs.
5713 (perl-font-lock-syntactic-face-function): New fun.
5714 (perl-mode): Use it.
5716 * progmodes/octave-mod.el (octave-syntax-propertize-sqs): New function
5717 to replace octave-font-lock-close-quotes.
5718 (octave-syntax-propertize-function): New function to replace
5719 octave-font-lock-syntactic-keywords.
5720 (octave-mode): Use it.
5722 * progmodes/mixal-mode.el (mixal-syntax-propertize-function): New var;
5723 replaces mixal-font-lock-syntactic-keywords.
5724 (mixal-mode): Use it.
5726 * progmodes/make-mode.el (makefile-syntax-propertize-function):
5727 New var; replaces makefile-font-lock-syntactic-keywords.
5728 (makefile-mode): Use it.
5729 (makefile-imake-mode): Adjust.
5731 * progmodes/js.el (js--regexp-literal): Define while compiling.
5732 (js-syntax-propertize-function): New var; replaces
5733 js-font-lock-syntactic-keywords.
5736 * progmodes/gud.el (gdb-script-syntax-propertize-function): New var;
5737 replaces gdb-script-font-lock-syntactic-keywords.
5738 (gdb-script-mode): Use it.
5740 * progmodes/fortran.el (fortran-mode): Use syntax-propertize-function.
5741 (fortran--font-lock-syntactic-keywords): New var.
5742 (fortran-line-length): Update syntax-propertize-function and
5743 fortran--font-lock-syntactic-keywords.
5745 * progmodes/cperl-mode.el (cperl-mode): Use syntax-propertize-function.
5747 * progmodes/cfengine.el (cfengine-mode):
5748 Use syntax-propertize-function.
5749 (cfengine-font-lock-syntactic-keywords): Remove.
5751 * progmodes/autoconf.el (autoconf-mode):
5752 Use syntax-propertize-function.
5753 (autoconf-font-lock-syntactic-keywords): Remove.
5755 * progmodes/ada-mode.el (ada-set-syntax-table-properties)
5756 (ada-after-change-function, ada-initialize-syntax-table-properties)
5757 (ada-handle-syntax-table-properties): Only define when
5758 syntax-propertize is not available.
5759 (ada-mode): Use syntax-propertize-function.
5761 * font-lock.el (font-lock-syntactic-keywords): Make obsolete.
5762 (font-lock-fontify-syntactic-keywords-region): Move handling of
5763 font-lock-syntactically-fontified to...
5764 (font-lock-default-fontify-region): ...here.
5765 Let syntax-propertize-function take precedence.
5766 (font-lock-fontify-syntactically-region): Cal syntax-propertize.
5768 * emacs-lisp/syntax.el (syntax-propertize-function)
5769 (syntax-propertize-chunk-size, syntax-propertize--done)
5770 (syntax-propertize-extend-region-functions): New vars.
5771 (syntax-propertize-wholelines, syntax-propertize-multiline)
5772 (syntax-propertize--shift-groups, syntax-propertize-via-font-lock)
5773 (syntax-propertize): New functions.
5774 (syntax-propertize-rules): New macro.
5775 (syntax-ppss-flush-cache): Set syntax-propertize--done.
5776 (syntax-ppss): Call syntax-propertize.
5778 * emacs-lisp/regexp-opt.el (regexp-opt-depth): Skip named groups.
5780 2010-09-10 Agustín Martín <agustin.martin@hispalinux.es>
5782 * textmodes/ispell.el (ispell-init-process): Improve comments.
5783 XEmacs compatibility changes regarding (add-hook) 'local option
5784 and (set-process-query-on-exit-flag).
5786 2010-09-09 Michael Albinus <michael.albinus@gmx.de>
5788 * net/tramp-cache.el (tramp-parse-connection-properties):
5789 Set tramp-autoload cookie.
5791 2010-09-09 Glenn Morris <rgm@gnu.org>
5793 * image.el (imagemagick-types-inhibit): Add :type, :version, :group.
5794 (imagemagick-register-types): Doc fix.
5796 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
5798 * progmodes/octave-mod.el (electric-indent-chars): Silence bytecomp.
5800 * progmodes/js.el (require): Require is already "eval-and-compile".
5801 (js--re-search-forward): Avoid `eval'. Preserve the error data.
5802 (js--re-search-backward): Use js--re-search-forward.
5804 * progmodes/fortran.el (fortran-line-length): Don't recompute
5805 syntactic keywords redundantly a second time.
5807 * progmodes/ada-mode.el: Replace "(set '" with setq.
5808 (ada-mode): Simplify.
5809 (ada-create-case-exception, ada-adjust-case-interactive)
5810 (ada-adjust-case-region, ada-format-paramlist, ada-indent-current)
5811 (ada-search-ignore-string-comment, ada-move-to-start)
5812 (ada-move-to-end): Use with-syntax-table.
5814 * font-lock.el (save-buffer-state): Remove `varlist' arg.
5815 (font-lock-unfontify-region, font-lock-default-fontify-region):
5816 Update usage correspondingly.
5817 (font-lock-fontify-syntactic-keywords-region):
5818 Set parse-sexp-lookup-properties buffer-locally here.
5819 (font-lock-fontify-syntactically-region): Remove unused `ppss' arg.
5821 * simple.el (blink-matching-open): Don't burp if we can't find a match.
5823 2010-09-08 Glenn Morris <rgm@gnu.org>
5825 * emacs-lisp/bytecomp.el (byte-compile-report-ops):
5826 Error if not compiled with -DBYTE_CODE_METER.
5828 * emacs-lisp/bytecomp.el (byte-recompile-directory):
5829 Ignore dir-locals-file.
5831 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
5833 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5835 (compilation-error-regexp-alist-alist): Rule out ": " in file names
5836 for the `gnu' messages.
5837 (compilation-set-skip-threshold): New command.
5838 (compilation-start): Use \' rather than $.
5839 (compilation-forget-errors): Use clrhash.
5841 2010-09-08 Agustín Martín <agustin.martin@hispalinux.es>
5843 * textmodes/ispell.el (ispell-valid-dictionary-list):
5846 2010-09-08 Michael Albinus <michael.albinus@gmx.de>
5848 Migrate to Tramp 2.2. Rearrange load dependencies.
5849 (Bug#1529, Bug#5448, Bug#5705)
5851 * Makefile.in (TRAMP_DIR, TRAMP_SRC): New variables.
5852 ($(TRAMP_DIR)/tramp-loaddefs.el): New target.
5853 (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
5855 * net/tramp.el (top): Remove all other tramp-* loads except
5856 tramp-compat.el. Remove all changes to tramp-unload-hook for
5857 other tramp-* packages. Rearrange defun order. Change calls of
5858 `tramp-compat-call-process', `tramp-compat-decimal-to-octal',
5859 `tramp-compat-octal-to-decimal' to new function names.
5860 (tramp-terminal-type, tramp-initial-end-of-output)
5861 (tramp-methods, tramp-foreign-file-name-handler-alist)
5862 (tramp-tramp-file-p, tramp-completion-mode-p)
5863 (tramp-send-command-and-check, tramp-get-remote-path)
5864 (tramp-get-remote-tmpdir, tramp-get-remote-ln)
5865 (tramp-shell-quote-argument): Set tramp-autoload cookie.
5866 (with-file-property, with-connection-property): Move to
5868 (tramp-local-call-process, tramp-decimal-to-octal)
5869 (tramp-octal-to-decimal): Move to tramp-compat.el.
5870 (tramp-handle-shell-command): Do not require 'shell.
5871 (tramp-compute-multi-hops): No special handling for tramp-gw-*
5873 (tramp-unload-tramp): Do not call `tramp-unload-file-name-handlers'.
5875 * net/tramp-cache.el (top): Require 'tramp. Add to
5876 `tramp-unload-hook'.
5877 (tramp-cache-data, tramp-get-file-property)
5878 (tramp-set-file-property, tramp-flush-file-property)
5879 (tramp-flush-directory-property, tramp-get-connection-property)
5880 (tramp-set-connection-property, tramp-flush-connection-property)
5881 (tramp-cache-print, tramp-list-connections): Set tramp-autoload
5883 (with-file-property, with-connection-property): New defuns, moved
5885 (tramp-flush-file-function): Use `with-parsed-tramp-file-name'
5888 * net/tramp-cmds.el (top): Add to `tramp-unload-hook'.
5889 (tramp-version): Set tramp-autoload cookie.
5891 * net/tramp-compat.el (top): Require 'tramp-loaddefs. Remove all
5892 changes to tramp-unload-hook for other tramp-* packages. Add to
5893 `tramp-unload-hook'.
5894 (tramp-compat-decimal-to-octal, tramp-compat-octal-to-decimal)
5895 (tramp-compat-call-process): New defuns, moved from tramp.el.
5897 * net/tramp-fish.el (top) Require just 'tramp. Add objects to
5898 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
5899 Add to `tramp-unload-hook'. Change call of
5900 `tramp-compat-decimal-to-octal' to new function name.
5901 (tramp-fish-method): Make it a defconst.
5902 (tramp-fish-file-name-p): Make it a defsubst.
5903 (tramp-fish-method, tramp-fish-file-name-handler)
5904 (tramp-fish-file-name-p): Set tramp-autoload cookie.
5906 * net/tramp-ftp.el (top) Add objects to `tramp-methods' and
5907 `tramp-foreign-file-name-handler-alist'. Add to
5908 `tramp-unload-hook'.
5909 (tramp-ftp-method): Make it a defconst.
5910 (tramp-ftp-file-name-p): Make it a defsubst.
5911 (tramp-ftp-method, tramp-ftp-file-name-handler)
5912 (tramp-ftp-file-name-p): Set tramp-autoload cookie.
5914 * net/tramp-gvfs.el (top) Add objects to `tramp-methods' and
5915 `tramp-foreign-file-name-handler-alist'. Add to
5916 `tramp-unload-hook'. Change checks, whether package can be
5918 (tramp-gvfs-file-name-p): Make it a defsubst.
5919 (tramp-gvfs-methods, tramp-gvfs-file-name-handler)
5920 (tramp-gvfs-file-name-p): Set tramp-autoload cookie.
5921 (tramp-gvfs-handle-file-directory-p): New defun.
5922 (tramp-gvfs-file-name-handler-alist): Use it.
5924 * net/tramp-gw.el (top) Add objects to `tramp-methods' and
5925 `tramp-foreign-file-name-handler-alist'. Add to
5926 `tramp-unload-hook'.
5927 (tramp-gw-tunnel-method, tramp-gw-default-tunnel-port)
5928 (tramp-gw-socks-method, tramp-gw-default-socks-port): Make it a
5930 (tramp-gw-tunnel-method, tramp-gw-socks-method)
5931 (tramp-gw-open-connection): Set tramp-autoload cookie.
5933 * net/tramp-imap.el (top) Require just 'tramp. Add objects to
5934 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
5935 Add to `tramp-unload-hook'. Change checks, whether package can be
5937 (tramp-imap-file-name-p): Make it a defsubst.
5938 (tramp-imap-method, tramp-imaps-method)
5939 (tramp-imap-file-name-handler)
5940 (tramp-imap-file-name-p): Set tramp-autoload cookie.
5942 * net/tramp-smb.el (top) Require just 'tramp. Add objects to
5943 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
5944 Add to `tramp-unload-hook'. Change checks, whether package can be
5945 loaded. Change call of `tramp-compat-decimal-to-octal' to new
5947 (tramp-smb-tunnel-method): Make it a defconst.
5948 (tramp-smb-file-name-p): Make it a defsubst.
5949 (tramp-smb-method, tramp-smb-file-name-handler)
5950 (tramp-smb-file-name-p): Set tramp-autoload cookie.
5952 * net/tramp-uu.el (top) Add to `tramp-unload-hook'.
5953 (tramp-uuencode-region): Set tramp-autoload cookie.
5955 * net/trampver.el (top) Add to `tramp-unload-hook'.
5956 (tramp-version, tramp-bug-report-address): Set tramp-autoload
5957 cookie. Update release number.
5959 2010-09-07 Agustín Martín <agustin.martin@hispalinux.es>
5961 * textmodes/ispell.el (ispell-start-process): Make sure original
5962 arg list is properly initialized (Bug#6993, Bug#6994).
5964 2010-09-06 Alexander Klimov <alserkli@inbox.ru> (tiny change)
5966 * files.el (directory-abbrev-alist): Use \` as default regexp.
5968 * emacs-lisp/rx.el (rx-any): Don't explode ranges that end in special
5969 chars like - or ] (bug#6984).
5970 (rx-any-condense-range): Explode 2-char ranges.
5972 2010-09-06 Glenn Morris <rgm@gnu.org>
5974 * desktop.el (desktop-path): Bump :version after 2009-09-15 change.
5976 2010-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5978 * textmodes/bibtex.el:
5979 * proced.el: Update to new email for Roland Winkler <winkler@gnu.org>.
5981 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
5983 * net/imap.el (imap-message-map): Remove optional buffer parameter,
5984 since no callers use it.
5985 (imap-message-get): Ditto.
5986 (imap-message-put): Ditto.
5987 (imap-mailbox-map): Ditto.
5988 (imap-mailbox-put): Ditto.
5989 (imap-mailbox-get): Ditto.
5990 (imap-mailbox-get): Revert last change for this function.
5992 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
5994 * net/imap.el (imap-fetch-safe): Remove function, and alter all
5995 callers to use `imap-fetch' instead. According to the comments, this
5996 should be safe, since all other IMAP clients use the 1:* syntax.
5997 (imap-enable-exchange-bug-workaround): Remove.
5998 (imap-debug): Remove -- doesn't seem very useful.
6000 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
6002 * net/imap.el (imap-log): New convenience function used throughout
6003 instead of repeating the same code all over the place.
6005 2010-09-05 David De La Harpe Golden <david@harpegolden.net>
6007 * mouse.el (mouse-save-then-kill): Save region to kill-ring
6008 when mouse-drag-copy-region is non-nil (Bug#6956).
6010 2010-09-05 Chong Yidong <cyd@stupidchicken.com>
6012 * dired.el (dired-ls-sorting-switches, dired-sort-by-name-regexp):
6013 Improve regexps (Bug#6987).
6014 (dired-sort-toggle): Search more robustly for -t flag.
6016 * files.el (get-free-disk-space): Search more robustly for
6017 "available" column. Suggested by Ehud Karni
6018 <ehud@unix.mvs.co.il>.
6020 2010-09-05 Juanma Barranquero <lekktu@gmail.com>
6022 * international/uni-bidi.el:
6023 * international/uni-category.el:
6024 * international/uni-combining.el:
6025 * international/uni-decimal.el:
6026 * international/uni-mirrored.el:
6027 * international/uni-name.el: Regenerate.
6029 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
6031 * electric.el (electric-indent-post-self-insert-function):
6032 Don't reindent with a sloppy indentation function.
6034 * emacs-lisp/syntax.el (syntax-ppss): More sanity check to catch
6035 border case in change-log-mode.
6037 2010-09-04 Chong Yidong <cyd@stupidchicken.com>
6039 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6040 Remove ruby regexp; handle Ruby errors with gcc-include and gnu.
6041 Recognize leading tab in gcc-include regexp. Ignore names with
6042 leading "from" or "in" in gnu regexp (Bug#6937).
6044 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
6046 Avoid global recursive calls to kill-buffer-hooks; fit into 80 cols.
6047 * textmodes/ispell.el (ispell-process-buffer-name): Remove.
6048 (ispell-start-process): Avoid setq and simplify logic.
6049 (ispell-init-process): Setup kill-buffer-hook locally when needed.
6050 (kill-buffer-hook): Don't use it globally with code that uses
6051 expand-file-name since that may call kill-buffer via
6052 code_conversion_restore.
6054 2010-09-04 Noorul Islam K M <noorul@noorul.com> (tiny change)
6056 * emacs-lisp/package.el (package-directory-list): Only call
6057 file-name-nondirectory on a string.
6059 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
6061 * emacs-lisp/package.el (package--download-one-archive):
6062 Ensure that archive-contents is valid before saving it.
6063 (package-activate-1, package-mark-obsolete, define-package)
6064 (package-compute-transaction, package-list-maybe-add): Use push.
6066 2010-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
6068 Use SMIE's blink-paren for octave-mode.
6069 * progmodes/octave-mod.el (octave-font-lock-close-quotes):
6070 Backslashes do not escape single-quotes, single-quotes do.
6071 (octave-block-else-regexp, octave-block-end-regexp)
6072 (octave-block-match-alist): Remove.
6073 (octave-smie-bnf-table): New var, with old content.
6074 (octave-smie-op-levels): Use it.
6075 (octave-smie-closer-alist): New var.
6076 (octave-mode): Use it. Setup smie-blink-matching and electric-indent.
6077 (octave-blink-matching-block-open): Remove.
6078 (octave-reindent-then-newline-and-indent, octave-electric-semi)
6079 (octave-electric-space): Let self-insert-command run expand-abbrev and
6082 * electric.el (electricity): New group.
6083 (electric-indent-chars): New var.
6084 (electric-indent-post-self-insert-function): New fun.
6085 (electric-indent-mode): New minor mode.
6086 (electric-pair-skip-self): New custom.
6087 (electric-pair-post-self-insert-function): New function.
6088 (electric-pair-mode): New minor mode.
6090 * calc/calc-aent.el (calcAlg-blink-matching-check): New fun, to replace
6091 calcAlg-blink-matching-open.
6092 (calc-alg-ent-map, calc-alg-ent-esc-map): Initialize in the declaration.
6093 (calc-do-alg-entry): Only touch the part of the keymap that varies.
6094 Use the new blink-matching-check-function.
6096 Provide blink-matching support to SMIE.
6097 * emacs-lisp/smie.el (smie-bnf-closer-alist): New function.
6098 (smie-blink-matching-triggers, smie-blink-matching-inners): New vars.
6099 (smie-blink-matching-check, smie-blink-matching-open): New functions.
6101 * simple.el (newline): Fix last change to properly remove itself from
6104 2010-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
6106 * simple.el (newline): Eliminate optimization.
6107 Use post-self-insert-hook to set hard-newline and things before
6108 running post-self-insert-hook.
6109 (blink-matching-check-mismatch): New function.
6110 (blink-matching-check-function): New variable.
6111 (blink-matching-open): Use them.
6112 Skip back forward over prefix chars skipped by forward-sexp.
6113 Don't check if the parens are backslash escaped.
6114 (blink-paren-post-self-insert-function): Check backslash escaping here.
6116 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
6118 * emacs-lisp/package.el (package-menu-mode-map):
6119 Change package-menu-revert bindings to revert-buffer.
6120 (package-menu-mode): Set revert-buffer-function.
6121 (package-menu-revert): Doc fix.
6123 2010-09-02 Agustín Martín <agustin.martin@hispalinux.es>
6125 * textmodes/ispell.el (ispell-init-process): Use "~/" as
6126 `default-directory' unless using Ispell per-directory personal
6127 dictionaries and not in a mini-buffer under XEmacs.
6128 (kill-buffer-hook): Do not kill ispell process on exit when
6129 `ispell-process-directory' is "~/". (Bug#6143)
6131 2010-09-02 Jan Djärv <jan.h.d@swipnet.se>
6133 * simple.el (kill-new): Call interprogram-cut-function with only
6136 * term.el (term-mouse-paste): Don't call x-get-cutbuffer.
6137 Remove cut buffer from error message.
6139 * term/x-win.el (x-select-text):
6140 * term/pc-win.el (x-selection-value):
6141 * term/ns-win.el (x-selection-value):
6142 * eshell/em-term.el:
6143 * w32-fns.el (x-get-selection-value):
6144 * mouse-sel.el (mouse-sel-set-selection-function):
6145 * frame.el (display-selections-p): Remove cut-buffer in documentation.
6147 * term/x-win.el: Update documentation for x-last-selected-text-*.
6148 (x-last-selected-text-cut, x-last-selected-text-cut-encoded)
6149 (x-last-cut-buffer-coding, x-cut-buffer-max): Remove.
6150 (x-select-text): Remove argument PUSH, update documentation.
6151 Remove cut-buffer code.
6152 (x-selection-value-internal): Was previously x-selection-value.
6153 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
6154 Update documentation, remove cut-buffer code.
6155 Call x-selection-value-internal.
6156 (x-clipboard-yank): Call x-selection-value-internal.
6157 (x-initialize-window-system): Remove setting of x-cut-buffer-max.
6159 * term/pc-win.el (x-last-selected-text):
6160 x-cut-buffer-or-selection-value renamed to x-selection-value
6161 (x-select-text): Remove argument PUSH, update documentation.
6163 * term/ns-win.el (x-setup-function-keys, ns-last-selected-text):
6164 x-cut-buffer-or-selection-value renamed to x-selection-value
6165 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
6166 (x-select-text): Remove argument PUSH, update documentation.
6168 * emacs-lisp/cl-macs.el (x-get-cutbuffer, x-get-cut-buffer): Remove.
6170 * w32-fns.el (x-last-selected-text):
6171 x-cut-buffer-or-selection-value renamed to x-selection-value.
6172 (x-cut-buffer-max): Remove.
6173 (x-select-text): Remove argument PUSH, update documentation.
6175 * simple.el (interprogram-cut-function): Remove mention of PUSH.
6177 * select.el (x-get-cut-buffer, x-set-cut-buffer): Remove.
6179 * mouse-sel.el (mouse-sel-get-selection-function):
6180 x-cut-buffer-or-selection-value renamed to x-selection-value.
6181 (x-select-text): Remove optional push.
6183 2010-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
6185 * simple.el (blink-paren-function): Move from C to here.
6186 (blink-paren-post-self-insert-function): New function.
6187 (post-self-insert-hook): Use it.
6189 * emacs-lisp/pcase.el (pcase-split-memq):
6190 Fix overenthusiastic optimisation.
6191 (pcase-u1): Handle the case of a lambda pred.
6193 2010-08-31 Kenichi Handa <handa@m17n.org>
6195 * international/mule-cmds.el (standard-display-european-internal):
6196 Setup standard-display-table for 8-bit characters by storing 8-bit
6197 characters in the element vector.
6199 * disp-table.el (standard-display-8bit):
6200 Setup standard-display-table for 8-bit characters by storing 8-bit
6201 characters in the element vector.
6202 (standard-display-european): Likewise.
6204 2010-08-31 Masatake YAMATO <yamato@redhat.com>
6206 * textmodes/nroff-mode.el (nroff-view): New command.
6207 (nroff-mode-map): Bind it to C-c C-c.
6209 2010-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
6211 * emacs-lisp/smie.el (smie-down-list): New command.
6213 Remove old indentation and navigation code on octave-mode.
6214 * progmodes/octave-mod.el (octave-mode-map): Remap down-list to
6215 smie-down-list rather than add a binding for octave-down-block.
6216 (octave-mark-block, octave-blink-matching-block-open):
6217 Rely on forward-sexp-function.
6218 (octave-fill-paragraph): Don't narrow, so you can use
6219 indent-according-to-mode.
6220 (octave-block-begin-regexp, octave-block-begin-or-end-regexp): Remove.
6221 (octave-in-block-p, octave-re-search-forward-kw)
6222 (octave-re-search-backward-kw, octave-indent-calculate)
6223 (octave-end-as-array-index-p, octave-block-end-offset)
6224 (octave-scan-blocks, octave-forward-block, octave-backward-block)
6225 (octave-down-block, octave-backward-up-block, octave-up-block)
6226 (octave-before-magic-comment-p, octave-indent-line): Remove.
6228 2010-08-31 Chong Yidong <cyd@stupidchicken.com>
6230 * emacs-lisp/package.el (package--read-archive-file): Just use
6231 `read', to avoid copying an additional string.
6232 (package-menu-mode): Set header-line-format here.
6233 (package-menu-refresh, package-menu-revert): Signal an error if
6234 not in the Package Menu.
6235 (package-menu-package-list): New var.
6236 (package--generate-package-list): Operate on the current buffer;
6237 don't assume that it is *Packages*, since the user may rename it.
6238 Allow persistent package listings and sort keys using
6239 package-menu-package-list and package-menu-package-sort-key.
6240 (package-menu--version-predicate): Fix version calculation.
6241 (package-menu-sort-by-column): Don't select the window.
6242 (package--list-packages): Create the *Packages* buffer.
6243 Set package-menu-package-list-key.
6244 (list-packages): Sorting by status is now the default.
6245 (package-buffer-info): Use match-string-no-properties.
6246 (define-package): Add a &rest argument for future proofing, but
6248 (package-install-from-buffer, package-install-buffer-internal):
6249 Merge into a single function, package-install-from-buffer.
6250 (package-install-file): Change caller.
6252 * finder.el: Load finder-inf using `require'.
6253 (finder-list-matches): Sorting by status is now the default.
6254 (finder-compile-keywords): Simpify printing.
6256 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
6258 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
6259 (octave-mode-map): Remove special bindings for forward/backward-block
6260 and octave-backward-up-block. Use smie-close-block.
6261 (octave-continuation-marker-regexp): New var.
6262 (octave-continuation-regexp): Use it.
6263 (octave-operator-table, octave-smie-op-levels)
6264 (octave-operator-regexp, octave-smie-indent-rules): New vars.
6265 (octave-smie-backward-token, octave-smie-forward-token): New funs.
6266 (octave-mode): Use SMIE.
6267 (octave-close-block): Delete.
6269 2010-08-30 Eli Zaretskii <eliz@gnu.org>
6271 * menu-bar.el (menu-bar-edit-menu) <"Paste">: Check selection in
6272 CLIPBOARD, not in PRIMARY. (Bug#6944)
6274 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
6276 * emacs-lisp/smie.el (smie-indent-offset-rule): Let :parent take
6278 (smie-indent-column): Allow indirection through variables.
6280 * composite.el (save-buffer-state): Delete, unused.
6281 * font-lock.el (save-buffer-state): Use with-silent-modifications.
6282 (font-lock-default-fontify-region): Use with-syntax-table.
6283 * jit-lock.el (with-buffer-unmodified): Remove.
6284 (with-buffer-prepared-for-jit-lock): Use with-silent-modifications.
6286 Use `declare' in defmacros.
6287 * window.el (save-selected-window):
6288 * subr.el (with-temp-file, with-temp-message, with-syntax-table):
6289 * progmodes/python.el (def-python-skeleton):
6290 * net/dbus.el (dbus-ignore-errors):
6291 * jka-cmpr-hook.el (with-auto-compression-mode):
6292 * international/mule.el (with-category-table):
6293 * emacs-lisp/timer.el (with-timeout):
6294 * emacs-lisp/lisp-mnt.el (lm-with-file):
6295 * emacs-lisp/eieio.el (with-slots):
6296 * emacs-lisp/easymenu.el (easy-menu-define):
6297 * emacs-lisp/debug.el (debugger-env-macro):
6298 * emacs-lisp/cl-compat.el (Multiple-value-bind, Multiple-value-setq)
6299 (Multiple-value-call, Multiple-value-prog1):
6300 * emacs-lisp/cl-seq.el (cl-parsing-keywords, cl-check-key)
6301 (cl-check-test-nokey, cl-check-test, cl-check-match): Move indent and
6302 edebug rule to definition.
6303 * emacs-lisp/lisp-mode.el (save-selected-window)
6304 (with-current-buffer, combine-after-change-calls)
6305 (with-output-to-string, with-temp-file, with-temp-buffer)
6306 (with-temp-message, with-syntax-table, read-if, eval-after-load)
6307 (dolist, dotimes, when, unless):
6308 * emacs-lisp/byte-run.el (inline): Remove indent rule, redundant.
6310 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
6312 * finder.el: Require `package'.
6313 (finder-known-keywords): Tweak descriptions. Retire `oop' keyword.
6314 (finder-package-info): Var deleted.
6315 (finder-keywords-hash, finder--builtins-alist): New vars.
6316 (finder-compile-keywords): Compute package--builtins and
6317 finder-keywords-hash instead of finder-keywords-hash, respecting
6318 the "Package" header.
6319 (finder-unknown-keywords, finder-list-matches):
6320 Use finder-keywords-hash and package--list-packages.
6321 (finder-mode): Don't set font-lock-defaults.
6322 (finder-exit): We don't use "*Finder-package*" and "*Finder
6323 Category*" buffers anymore.
6325 * emacs-lisp/package.el (package--builtins-base): Var deleted.
6326 (package--builtins): Set default value to nil.
6327 (package-initialize): Load precomputed value of package--builtins
6329 (package-alist, package-compute-transaction)
6330 (package-download-transaction): Improve docstring.
6331 (package-read-all-archive-contents): Do not change
6332 package--builtins here.
6333 (list-packages): Make package-list-packages an alias for this.
6334 Sort by status by default.
6335 (package--list-packages): Add optional PACKAGES arg.
6336 (describe-package-1): Use font-lock-face property. For built-in
6337 packages, insert file commentary.
6338 (package--generate-package-list): Rename from
6339 package-list-packages-internal; all callers changed. Add optional
6340 PACKAGES arg. Add alphabetical sort fallbacks.
6341 (package-menu--version-predicate, package-menu--status-predicate)
6342 (package-menu--description-predicate)
6343 (package-menu--name-predicate): New functions.
6345 * info.el (Info-finder-find-node): Search package-alist instead of
6346 finder-package-info.
6348 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
6350 * subr.el (version-regexp-alist): Don't use "a" and "b" for
6352 (version-to-list): Handle versions like "10.3d".
6354 2010-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6356 * emacs-lisp/macroexp.el (macroexpand-all-1): Use pcase.
6357 (macroexp-accumulate): Use `declare'.
6359 2010-08-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
6361 * whitespace.el (whitespace-style): Adjust type declaration.
6363 2010-08-26 Magnus Henoch <magnus.henoch@gmail.com>
6365 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
6366 empty argument to gvfs-copy.
6368 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
6370 * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
6371 handle new TRASH arg of `delete-file'.
6373 2010-08-26 Christian Lynbech <christian.lynbech@tieto.com> (tiny change)
6375 * net/tramp.el (tramp-handle-insert-directory): Don't use
6376 `forward-word', its default syntax could be changed.
6378 2010-08-26 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
6379 Michael Albinus <michael.albinus@gmx.de>
6381 Implement compression for inline methods.
6383 * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
6384 (tramp-copy-size-limit): Allow also nil.
6385 (tramp-inline-compress-commands): New defconst.
6386 (tramp-find-inline-compress, tramp-get-inline-compress)
6387 (tramp-get-inline-coding): New defuns.
6388 (tramp-get-remote-coding, tramp-get-local-coding): Remove,
6389 replaced by `tramp-get-inline-coding'.
6390 (tramp-handle-file-local-copy, tramp-handle-write-region)
6391 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
6393 2010-08-26 Noah Lavine <noah549@gmail.com> (tiny change)
6395 Detect ssh 'ControlMaster' argument automatically in some cases.
6397 * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
6398 (tramp-default-method): Use it.
6400 2010-08-26 Karel Klíč <kklic@redhat.com>
6402 * net/tramp.el (tramp-file-name-for-operation):
6403 Add file-selinux-context.
6405 2010-08-26 Łukasz Stelmach <lukasz.stelmach@iem.pw.edu.pl> (tiny change)
6407 * play/cookie1.el (read-cookie): Fix off-by-one error (bug#6921).
6409 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
6411 * simple.el (beginning-of-buffer, end-of-buffer): Doc fix
6414 2010-08-26 Nathan Weizenbaum <nweiz@cressida.sea.corp.google.com> (tiny change)
6416 * progmodes/js.el: Make indentation more customizable (Bug#6914).
6417 (js-paren-indent-offset, js-square-indent-offset)
6418 (js-curly-indent-offset): New options.
6419 (js--proper-indentation): Use them.
6421 2010-08-26 Daniel Colascione <dan.colascione@gmail.com>
6423 * progmodes/sh-script.el (sh-get-indent-info): Use syntax-ppss
6424 instead of inspecting font-lock properties (Bug#6916).
6426 2010-08-26 David Reitter <david.reitter@gmail.com>
6428 * server.el (server-visit-files): Run pre-command-hook and
6429 post-command-hook for each buffer while it is current (Bug#6910).
6430 (server-execute): Do not run hooks here.
6432 2010-08-26 Michael Albinus <michael.albinus@gmx.de>
6434 Sync with Tramp 2.1.19.
6436 * net/tramp-cmds.el (tramp-cleanup-all-connections)
6437 (tramp-reporter-dump-variable, tramp-load-report-modules)
6438 (tramp-append-tramp-buffers): Use `tramp-compat-funcall'.
6439 (tramp-bug): Recommend setting of `tramp-verbose' to 9.
6441 * net/tramp-compat.el (top): Do not autoload
6442 `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el
6443 only when `start-file-process' is not bound.
6444 (byte-compile-not-obsolete-vars): Define if not bound.
6445 (tramp-compat-funcall): New defmacro.
6446 (tramp-compat-line-beginning-position)
6447 (tramp-compat-line-end-position)
6448 (tramp-compat-temporary-file-directory)
6449 (tramp-compat-make-temp-file, tramp-compat-file-attributes)
6450 (tramp-compat-copy-file, tramp-compat-copy-directory)
6451 (tramp-compat-delete-file, tramp-compat-delete-directory)
6452 (tramp-compat-number-sequence, tramp-compat-process-running-p):
6454 (tramp-advice-file-expand-wildcards): Do not use
6455 `tramp-handle-file-remote-p'.
6456 (tramp-compat-make-temp-file): Simplify fallback implementation.
6457 (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
6458 (tramp-compat-copy-tree): Remove function.
6459 (tramp-compat-delete-file): New defun.
6460 (tramp-compat-delete-directory): Provide implementation for older
6462 (tramp-compat-file-attributes): Handle only
6463 `wrong-number-of-arguments' error.
6465 * net/tramp-fish.el (tramp-fish-handle-copy-file):
6466 Add PRESERVE_SELINUX_CONTEXT.
6467 (tramp-fish-handle-delete-file): Add TRASH arg.
6468 (tramp-fish-handle-directory-files-and-attributes):
6469 Do not use `tramp-fish-handle-file-attributes.
6470 (tramp-fish-handle-file-local-copy)
6471 (tramp-fish-handle-insert-file-contents)
6472 (tramp-fish-maybe-open-connection): Use `with-progress-reporter'.
6474 * net/tramp-gvfs.el (top): Require url-util.
6475 (tramp-gvfs-mount-point): Remove.
6476 (tramp-gvfs-file-name-handler-alist): Add `file-selinux-context'
6477 and `set-file-selinux-context'.
6478 (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command)
6479 (tramp-gvfs-handle-file-selinux-context)
6480 (tramp-gvfs-handle-set-file-selinux-context): New defuns.
6481 (with-tramp-dbus-call-method): Format trace message.
6482 (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
6483 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
6484 Implement backup call, when operation on local files fails.
6485 Use progress reporter. Flush properties of changed files.
6486 (tramp-gvfs-handle-delete-file): Add TRASH arg.
6487 Use `tramp-compat-delete-file'.
6488 (tramp-gvfs-handle-expand-file-name): Expand "~/".
6489 (tramp-gvfs-handle-make-directory): Make more traces.
6490 (tramp-gvfs-handle-write-region): Protect deleting tmpfile.
6491 (tramp-gvfs-url-file-name): Hexify file name in url.
6492 (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
6493 into account for the resulting file name.
6494 (tramp-gvfs-handler-askquestion): Preserve current message, in
6495 order to let progress reporter continue afterwards. (Bug#6257)
6496 Return dummy mountpoint, when the answer is "no".
6497 See `tramp-gvfs-maybe-open-connection'.
6498 (tramp-gvfs-handler-mounted-unmounted)
6499 (tramp-gvfs-connection-mounted-p): Test also for new mountspec
6500 attribute "default_location". Set "prefix" property.
6501 Handle default-location.
6502 (tramp-gvfs-mount-spec): Return both prefix and mountspec.
6503 (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
6504 exists. Raise an error, if not (due to a corresponding answer
6505 "no" in interactive questions, for example).
6506 Use `tramp-compat-funcall'.
6508 * net/tramp-imap.el (top): Autoload `epg-make-context'.
6509 (tramp-imap-handle-copy-file): Add PRESERVE-SELINUX-CONTEXT.
6510 (tramp-imap-do-copy-or-rename-file)
6511 (tramp-imap-handle-insert-file-contents)
6512 (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
6513 (tramp-imap-handle-delete-file): Add TRASH arg.
6515 * net/tramp-smb.el (tramp-smb-handle-copy-file):
6516 Add PRESERVE-SELINUX-CONTEXT.
6517 (tramp-smb-handle-copy-file)
6518 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
6519 (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
6520 Use `with-progress-reporter'.
6521 (tramp-smb-handle-delete-file): Add TRASH arg.
6523 * net/tramp.el (tramp-methods): Move hostname to the end in all
6524 ssh `tramp-login-args'. Add `tramp-async-args' attribute where
6526 (tramp-verbose): Describe verbose level 9.
6527 (tramp-completion-function-alist)
6528 (tramp-file-name-regexp, tramp-chunksize)
6529 (tramp-local-coding-commands, tramp-remote-coding-commands)
6530 (with-connection-property, tramp-completion-mode-p)
6531 (tramp-action-process-alive, tramp-action-out-of-band)
6532 (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
6533 (tramp-exists-file-name-handler): Fix docstring.
6534 (tramp-remote-process-environment): Use `format' instead of
6535 `concat'. Protect version string by apostroph.
6536 (tramp-shell-prompt-pattern): Do not use a shy group in case of
6538 (tramp-file-name-regexp-unified)
6539 (tramp-completion-file-name-regexp-unified): On W32 systems, do
6540 not regard the volume letter as remote filename. (Bug#5447)
6541 (tramp-perl-file-attributes)
6542 (tramp-perl-directory-files-and-attributes): Don't pass "$3".
6543 (tramp-vc-registered-read-file-names): Read input as
6544 here-document, otherwise the command could exceed maximum length
6546 (tramp-file-name-handler-alist): Add `file-selinux-context' and
6547 `set-file-selinux-context'.
6548 (tramp-debug-message): Add `tramp-compat-funcall' to ignored
6549 backtrace functions.
6550 (tramp-error-with-buffer): Don't show the connection buffer when
6551 we are in completion mode.
6552 (tramp-progress-reporter-update, tramp-remote-selinux-p)
6553 (tramp-handle-file-selinux-context)
6554 (tramp-handle-set-file-selinux-context, tramp-process-sentinel)
6555 (tramp-connectable-p, tramp-open-shell, tramp-get-remote-trash):
6557 (with-progress-reporter): New defmacro.
6558 (tramp-debug-outline-regexp): New defconst.
6559 (top, tramp-rfn-eshadow-setup-minibuffer)
6560 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
6561 (tramp-handle-dired-compress-file, tramp-handle-shell-command)
6562 (tramp-completion-mode-p, tramp-check-for-regexp)
6563 (tramp-open-connection-setup-interactive-shell)
6564 (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
6565 (tramp-time-diff, tramp-coding-system-change-eol-conversion)
6566 (tramp-set-process-query-on-exit-flag, tramp-unload-tramp):
6567 Use `tramp-compat-funcall'.
6568 (tramp-handle-make-symbolic-link): Flush file properties.
6569 (tramp-handle-load, tramp-handle-file-local-copy)
6570 (tramp-handle-insert-file-contents, tramp-handle-write-region)
6571 (tramp-handle-vc-registered, tramp-maybe-send-script)
6572 (tramp-find-shell): Use `with-progress-reporter'.
6573 (tramp-do-file-attributes-with-stat): Add space in format string,
6574 in order to work around a bug in pdksh. Reported by Gilles Pion
6576 (tramp-handle-verify-visited-file-modtime): Do not send a command
6577 when the connection is not established.
6578 (tramp-handle-set-file-times): Simplify the check for utc.
6579 (tramp-handle-directory-files-and-attributes)
6580 (tramp-get-remote-path): Use `copy-tree'.
6581 (tramp-completion-handle-file-name-all-completions): Ensure, that
6582 non remote files are still checked. Oops.
6583 (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
6584 Handle PRESERVE-SELINUX-CONTEXT.
6585 (tramp-do-copy-or-rename-file): Add progress reporter.
6586 (tramp-do-copy-or-rename-file-directly): Do not use
6587 `tramp-handle-file-remote-p'.
6588 (tramp-do-copy-or-rename-file-out-of-band):
6589 Use `tramp-compat-delete-directory'.
6590 (tramp-do-copy-or-rename-file-out-of-band)
6591 (tramp-compute-multi-hops, tramp-maybe-open-connection):
6592 Use `format-spec-make'.
6593 (tramp-handle-delete-file): Add TRASH arg.
6594 (tramp-handle-dired-uncache): Flush directory cache, not only file
6596 (tramp-handle-expand-file-name)
6597 (tramp-completion-handle-file-name-all-completions)
6598 (tramp-completion-handle-file-name-completion):
6599 Use `tramp-connectable-p'.
6600 (tramp-handle-start-file-process): Set connection property "vec".
6601 Use it, in order to invalidate file caches. Check only for
6602 `remote-tty' process property.
6603 Implement tty setting. (Bug#4604, Bug#6360)
6604 (tramp-file-name-for-operation): Add `call-process-region' and
6605 `set-file-selinux-context'.
6606 (tramp-find-foreign-file-name-handler)
6607 (tramp-advice-make-auto-save-file-name)
6608 (tramp-set-auto-save-file-modes): Remove superfluous check for
6609 `stringp'. This is done inside `tramp-tramp-file-p'.
6610 (tramp-file-name-handler): Trace 'quit. Catch the error for some
6611 operations when we are in completion mode. This gives the user
6612 the chance to correct the file name in the minibuffer.
6613 (tramp-completion-mode-p): Use `non-essential'.
6614 (tramp-handle-file-name-all-completions): Backward/ XEmacs
6615 compatibility: Use `completion-ignore-case' if
6616 `read-file-name-completion-ignore-case' does not exist.
6617 (tramp-get-debug-buffer): Use `tramp-debug-outline-regexp'.
6618 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
6620 (tramp-action-password): Hide password prompt before next run.
6621 (tramp-process-actions): Widen connection buffer for the trace.
6622 (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
6623 process property. Trace stty settings if `tramp-verbose' >= 9.
6624 Apply workaround for IRIX64 bug. Move argument of last
6625 `tramp-send-command' where it belongs to.
6626 (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
6627 front of `login-args'.
6628 (tramp-get-ls-command, tramp-get-ls-command-with-dired): Run tests
6629 on "/dev/null" instead of "/".
6630 (tramp-get-ls-command-with-dired): Make test for "--dired"
6632 (tramp-set-auto-save-file-modes): Adapt version check.
6633 (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
6634 (tramp-handle-process-file): Call the program in a subshell, in
6635 order to preserve working directory.
6636 (tramp-handle-shell-command): Don't use hard-wired "/bin/sh" but
6637 `tramp-remote-sh' from `tramp-methods'.
6638 (tramp-get-ls-command): Make test for "--color=never" stronger.
6639 (tramp-check-for-regexp): Use (forward-line 1).
6641 * net/trampver.el: Update release number.
6643 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
6645 * help.el (help-map): Bind `C-h P' to describe-package.
6647 * menu-bar.el (menu-bar-describe-menu): Add describe-package.
6649 * emacs-lisp/package.el (package-refresh-contents): Catch errors
6650 when downloading archives.
6651 (describe-package-1): Add package commentary.
6652 (package-install-button-action): New function.
6653 (package-menu-mode-map): Bind ? to package-menu-describe-package.
6654 (package-menu-view-commentary): Function removed.
6655 (package-list-packages-internal): Hide the `package' package too.
6657 2010-08-25 Kenichi Handa <handa@m17n.org>
6659 * language/misc-lang.el ("Arabic"): New language environment.
6660 Setup composition-function-table for Arabic characters.
6662 * international/fontset.el (setup-default-fontset): Fix typo for
6663 arabic OTF spec (fini->fina).
6665 2010-08-25 Jan Djärv <jan.h.d@swipnet.se>
6667 * menu-bar.el (menu-bar-set-tool-bar-position): Set frame parameter
6670 2010-08-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
6672 * whitespace.el: Allow cleaning up blanks without blank
6673 visualization (Bug#6651). Adjust help window for
6674 whitespace-toggle-options (Bug#6479). Allow to use fill-column
6675 instead of whitespace-line-column (from EmacsWiki). New version
6677 (whitespace-style): Add new value 'face. Adjust docstring.
6678 (whitespace-space, whitespace-hspace, whitespace-tab):
6679 Adjust foreground property face.
6680 (whitespace-line-column): Adjust docstring and type declaration.
6681 (whitespace-style-value-list, whitespace-toggle-option-alist)
6682 (whitespace-help-text): Adjust const initialization.
6683 (whitespace-toggle-options, global-whitespace-toggle-options):
6685 (whitespace-display-window, whitespace-interactive-char)
6686 (whitespace-style-face-p, whitespace-color-on): Adjust code.
6687 (whitespace-help-scroll): New fun.
6689 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
6691 * emacs-lisp/package.el (list-packages): Alias for
6692 package-list-packages.
6694 2010-08-24 Kevin Ryde <user42@zip.com.au>
6696 * textmodes/flyspell.el (flyspell-check-tex-math-command): Doc fix
6699 * progmodes/ruby-mode.el (ruby): Add defgroup.
6701 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
6703 * progmodes/python.el: Add Ipython support (Bug#5390).
6704 (python-shell-prompt-alist)
6705 (python-shell-continuation-prompt-alist): New options.
6706 (python--set-prompt-regexp): New function.
6707 (inferior-python-mode, run-python, python-shell):
6708 Require ansi-color. Use python--set-prompt-regexp to set the comint
6709 prompt based on the Python interpreter.
6710 (python--prompt-regexp): New var.
6711 (python-check-comint-prompt)
6712 (python-comint-output-filter-function): Use it.
6713 (run-python): Use a pipe (Bug#5694).
6715 2010-08-24 Fabian Ezequiel Gallina <galli.87@gmail.com> (tiny change)
6717 * progmodes/python.el (python-send-region): Send a different
6718 Python command if Ipython is in use.
6719 (python-check-version): Use a Python command to find the version.
6721 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
6723 * mouse.el (mouse-yank-primary): Avoid setting primary when
6724 deactivating the mark (Bug#6872).
6726 2010-08-23 Chris Foote <chris@foote.com.au> (tiny change)
6728 * progmodes/python.el (python-block-pairs): Allow use of "finally"
6729 with "else" (Bug#3991).
6731 2010-08-23 Michael Albinus <michael.albinus@gmx.de>
6733 * net/dbus.el: Accept UNIX domain sockets as bus address.
6734 (top): Don't initialize `dbus-registered-objects-table' anymore,
6735 this is done in dbusbind,c.
6736 (dbus-check-event): Adapt test for bus.
6737 (dbus-return-values-table, dbus-unregister-service)
6738 (dbus-event-bus-name, dbus-introspect, dbus-register-property):
6741 2010-08-23 Juanma Barranquero <lekktu@gmail.com>
6743 * ido.el (ido-use-virtual-buffers): Fix typo in docstring.
6745 2010-08-22 Juri Linkov <juri@jurta.org>
6747 * simple.el (read-extended-command): New function with the logic
6748 for `completing-read' moved to Elisp from `execute-extended-command'.
6749 Use `function-called-at-point' in `minibuffer-default-add-function'
6750 to get a command name for M-n (bug#5364, bug#5214).
6752 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
6754 * startup.el (command-line-1): Issue warning for ignored arguments
6755 --unibyte, etc (Bug#6886).
6757 2010-08-22 Leo <sdl.web@gmail.com>
6759 * net/rcirc.el (rcirc-add-or-remove): Accept a list of elements.
6760 (ignore, bright, dim, keyword): Split list of nicknames before
6761 passing to rcirc-add-or-remove (Bug#6894).
6763 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
6765 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix (Bug#6880).
6767 2010-08-22 Leo <sdl.web@gmail.com>
6769 Fix buffer-list rename&refresh after killing a buffer in ido.
6770 * ido.el: Revert Óscar's.
6771 (ido-kill-buffer-at-head): Exit the minibuffer with ido-exit=refresh.
6772 Remember the buffers at head, rather than their name.
6773 * iswitchb.el (iswitchb-kill-buffer): Re-make the list.
6775 2010-08-22 Kirk Kelsey <kirk.kelsey@0x4b.net> (tiny change)
6776 Stefan Monnier <monnier@iro.umontreal.ca>
6778 * progmodes/make-mode.el (makefile-fill-paragraph): Account for the
6779 extra backslash added to each line (bug#6890).
6781 2010-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
6783 * subr.el (read-key): Don't echo keystrokes (bug#6883).
6785 2010-08-22 Glenn Morris <rgm@gnu.org>
6787 * menu-bar.el (menu-bar-games-menu): Add landmark.
6789 2010-08-22 Glenn Morris <rgm@gnu.org>
6791 * align.el (align-regexp): Make group and spacing arguments
6792 use the interactive defaults when non-interactive. (Bug#6698)
6794 * mail/rmail.el (rmail-forward): Replace mail-text-start with its
6795 expansion, so as not to need sendmail.
6796 (mail-text-start): Remove declaration.
6797 (rmail-retry-failure): Require sendmail.
6799 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
6801 * subr.el (read-key): Don't hide the menu-bar entries (bug#6881).
6803 2010-08-22 Michael Albinus <michael.albinus@gmx.de>
6805 * progmodes/flymake.el (flymake-start-syntax-check-process):
6806 Use `start-file-process' in order to let it run also on remote hosts.
6808 2010-08-22 Kenichi Handa <handa@m17n.org>
6810 * files.el: Add `word-wrap' as safe local variable.
6812 2010-08-22 Glenn Morris <rgm@gnu.org>
6814 * woman.el (woman-translate): Case matters. (Bug#6849)
6816 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
6818 * simple.el (kill-region): Doc fix (Bug#6787).
6820 2010-08-22 Glenn Morris <rgm@gnu.org>
6822 * calendar/diary-lib.el (diary-header-line-format):
6823 Fit it to the window, not the frame.
6825 2010-08-22 Andreas Schwab <schwab@linux-m68k.org>
6827 * subr.el (ignore-errors): Add debug declaration.
6829 2010-08-22 Geoff Gole <geoffgole@gmail.com> (tiny change)
6831 * whitespace.el (whitespace-color-off): Remove post-command-hook
6834 2010-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
6836 * vc/add-log.el (add-log-file-name): Don't get confused by symlinks.
6838 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
6840 * cus-edit.el (custom-group-value-create): Add extra newline
6841 before end line (Bug#6876).
6843 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
6845 * mouse.el (mouse-save-then-kill): Don't save region to kill ring
6846 when extending it. Before killing on the second click, check if
6847 the buffer is the correct one. Doc fix.
6848 (mouse-secondary-save-then-kill): Allow usage without first
6849 calling mouse-start-secondary, by defaulting to point. Don't save
6850 an empty secondary selection. Doc fix.
6852 2010-08-21 Vinicius Jose Latorre <viniciusjl@ig.com.br>
6854 * whitespace.el: Fix slow cursor movement (Bug#6172). Reported by
6855 Christoph Groth <cwg@falma.de> and Liu Xin <x_liu@neusoft.com>.
6857 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
6858 Adjust initialization.
6859 (whitespace-bob-marker, whitespace-eob-marker)
6860 (whitespace-buffer-changed): New vars.
6861 (whitespace-cleanup, whitespace-color-on, whitespace-color-off)
6862 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp)
6863 (whitespace-post-command-hook, whitespace-display-char-on):
6865 (whitespace-looking-back, whitespace-buffer-changed): New funs.
6866 (whitespace-space-regexp, whitespace-tab-regexp): Fun eliminated.
6868 2010-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
6870 * files.el (locate-file-completion-table): Only list the .el and .elc
6871 extensions if there's no other choice (bug#5955).
6873 * facemenu.el (facemenu-self-insert-data): New var.
6874 (facemenu-post-self-insert-function, facemenu-set-self-insert-face):
6876 (facemenu-add-face): Use them.
6878 * simple.el (blink-matching-open): Obey forward-sexp-function.
6880 2010-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
6882 * simple.el (prog-mode-map): New var.
6883 (prog-indent-sexp): New command.
6885 * progmodes/octave-mod.el (octave-mode-menu): Make toggle buttons.
6887 * progmodes/prolog.el (smie): Require.
6889 * emacs-lisp/smie.el (smie-default-backward-token)
6890 (smie-default-forward-token): Strip properties.
6891 (smie-next-sexp): Be more careful with associative operators.
6892 (smie-forward-sexp-command): Generalize.
6893 (smie-backward-sexp-command): Simplify.
6894 (smie-closer-alist): New var.
6895 (smie-close-block): New command.
6896 (smie-indent-debug-log): New var.
6897 (smie-indent-offset-rule): Add a few more cases.
6898 (smie-indent-column): New function.
6899 (smie-indent-after-keyword): Use it.
6900 (smie-indent-keyword): Use it.
6901 Fix up the opener code's point position.
6902 (smie-indent-comment): Only applies at BOL.
6903 (smie-indent-debug): New command.
6905 * emacs-lisp/autoload.el (make-autoload): Preload the macros's
6906 declarations that are useful before running the macro.
6908 2010-08-18 Joakim Verona <joakim@verona.se>
6910 * image.el (imagemagick-types-inhibit): New variable.
6911 (imagemagick-register-types): New function.
6912 * image-mode.el (image-transform-properties): New function.
6913 (image-transform-set-scale, image-transform-fit-to-height)
6914 (image-transform-set-rotation, image-transform-set-resize)
6915 (image-transform-fit-to-width, image-transform-fit-to-height):
6917 (image-toggle-display-image): Support image transforms.
6919 2010-08-18 Katsumi Yamaoka <yamaoka@jpl.org>
6921 * image.el (create-animated-image): Don't add heuristic mask to image
6924 2010-08-18 Jan Djärv <jan.h.d@swipnet.se>
6926 * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard):
6927 Use QCLIPBOARD instead of QPRIMARY (Bug#6677).
6929 2010-08-17 Stefan Monnier <monnier@iro.umontreal.ca>
6931 * emacs-lisp/lisp.el (up-list): Obey forward-sexp-function if set.
6933 Font-lock '...' strings, plus various simplifications and fixes.
6934 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
6935 (octave-font-lock-close-quotes): New function.
6936 (octave-font-lock-syntactic-keywords): New var.
6937 (octave-mode): Use it. Set beginning-of-defun-function.
6938 (octave-mode-map): Don't override the <foo>-defun commands.
6939 (octave-mode-menu): Pass it directly to easy-menu-define;
6940 remove (now generic) <foo>-defun commands; use info-lookup-symbol.
6941 (octave-block-match-alist): Fix up last change so that
6942 octave-close-block uses the more specific keyword.
6943 (info-lookup-mode): Silence byte-compiler.
6944 (octave-beginning-of-defun): Not interactive any more.
6946 (octave-end-of-defun, octave-mark-defun, octave-in-defun-p): Remove.
6947 (octave-indent-defun, octave-send-defun): Use mark-defun instead.
6948 (octave-completion-at-point-function): Make sure point is within
6950 (octave-reindent-then-newline-and-indent):
6951 Use reindent-then-newline-and-indent.
6952 (octave-add-octave-menu): Remove.
6954 2010-08-17 Jan Djärv <jan.h.d@swipnet.se>
6956 * mail/emacsbug.el (report-emacs-bug-insert-to-mailer)
6957 (report-emacs-bug-can-use-xdg-email): New functions.
6958 (report-emacs-bug): Set can-xdg-email to result of
6959 report-emacs-bug-can-use-xdg-email. If can-xdg-email bind
6960 \C-cm to report-emacs-bug-insert-to-mailer and add help text
6963 * net/browse-url.el (browse-url-default-browser): Add cond
6964 for browse-url-xdg-open.
6965 (browse-url-can-use-xdg-open, browse-url-xdg-open): New functions.
6967 2010-08-17 Glenn Morris <rgm@gnu.org>
6969 * progmodes/cc-engine.el (c-new-BEG, c-new-END)
6970 (c-fontify-recorded-types-and-refs): Define for compiler.
6971 * progmodes/cc-mode.el (c-new-BEG, c-new-END): Move definitions
6974 * calendar/icalendar.el (icalendar--convert-recurring-to-diary):
6977 2010-08-17 Michael Albinus <michael.albinus@gmx.de>
6979 * net/tramp.el (tramp-handle-make-symbolic-link): Flush file
6981 (tramp-handle-process-file): Call the program in a subshell, in
6982 order to preserve working directory.
6983 (tramp-action-password): Hide password prompt before next run.
6984 (tramp-process-actions): Widen connection buffer for the trace.
6986 2010-08-16 Deniz Dogan <deniz.a.m.dogan@gmail.com>
6988 * net/rcirc.el (rcirc-log-process-buffers): New option.
6989 (rcirc-print): Use it.
6990 (rcirc-generate-log-filename): New function.
6991 (rcirc-log-filename-function): Change default to
6992 rcirc-generate-log-filename (Bug#6828).
6994 2010-08-16 Chong Yidong <cyd@stupidchicken.com>
6996 * simple.el (deactivate-mark): If select-active-regions is `only',
6997 only set selection for temporarily active regions.
6999 * cus-start.el: Change defcustom for select-active-regions.
7001 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
7003 * mouse.el (mouse--drag-set-mark-and-point): New function.
7004 (mouse-drag-track): Use LOCATION arg to push-mark.
7005 Use mouse--drag-set-mark-and-point to take click-count into
7006 consideration when updating point and mark (Bug#6840).
7008 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
7010 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7011 Give the Ruby rule a lower priority than Gnu (Bug#6778).
7013 2010-08-14 Štěpán Němec <stepnem@gmail.com> (tiny change)
7015 * font-lock.el (lisp-font-lock-keywords-2):
7016 Add combine-after-change-calls, condition-case-no-debug,
7017 with-demoted-errors, and with-silent-modifications (Bug#6025).
7019 2010-08-14 Kevin Ryde <user42@zip.com.au>
7021 * emacs-lisp/copyright.el (copyright-update-year)
7022 (copyright-update): Temporary switch-to-buffer to ensure the
7023 buffer change being queried is visible (Bug#5394).
7025 2010-08-14 Tom Tromey <tromey@redhat.com>
7027 * progmodes/etags.el (tags-file-name): Mark safe if stringp
7030 2010-08-14 Eli Zaretskii <eliz@gnu.org>
7032 * mouse.el (mouse-yank-primary): Fix mouse-2 on MS-Windows and
7035 2010-08-13 Jan Djärv <jan.h.d@swipnet.se>
7037 * menu-bar.el (menu-bar-set-tool-bar-position): New function.
7038 (menu-bar-showhide-tool-bar-menu-customize-enable-left)
7039 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
7040 (menu-bar-showhide-tool-bar-menu-customize-enable-top)
7041 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom):
7042 Call menu-bar-set-tool-bar-position.
7044 2010-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
7046 * progmodes/octave-mod.el (octave-mode-syntax-table): Use the new "c"
7047 comment style (bug#6834).
7048 * progmodes/scheme.el (scheme-mode-syntax-table):
7049 * emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Remove spurious
7050 "b" flag in "' 14b" syntax.
7052 * progmodes/octave-mod.el (octave-mode-map): Remove special bindings
7053 for (un)commenting the region and performing completion.
7054 (octave-mode-menu): Use standard commands for help and completion.
7055 (octave-mode-syntax-table): Support %{..%} comments (sort of).
7056 (octave-mode): Use define-derived-mode.
7057 Set completion-at-point-functions and don't set columns.
7058 Don't disable adaptive-fill-regexp.
7059 (octave-describe-major-mode, octave-comment-region)
7060 (octave-uncomment-region, octave-comment-indent)
7061 (octave-indent-for-comment): Remove.
7062 (octave-indent-calculate): Rename from calculate-octave-indent.
7063 (octave-indent-line, octave-fill-paragraph): Update caller.
7064 (octave-initialize-completions): No need to make an alist.
7065 (octave-completion-at-point-function): New function.
7066 (octave-complete-symbol): Use it.
7067 (octave-insert-defun): Use define-skeleton.
7069 * progmodes/octave-mod.el (octave-mode): Set comment-add.
7070 (octave-mode-map): Use comment-dwim (bug#6829).
7072 2010-08-12 Antoine Levitt <antoine.levitt@gmail.com> (tiny change)
7074 * cus-edit.el (custom-save-variables, custom-save-faces): Fix up
7075 indentation of inserted comment.
7077 2010-08-11 Jan Djärv <jan.h.d@swipnet.se>
7079 * faces.el (region): Add type gtk that uses gtk colors.
7081 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
7082 Handle theme-name change.
7084 2010-08-10 Michael R. Mauger <mmaug@yahoo.com>
7086 * progmodes/sql.el: Version 2.5
7087 (sql-product-alist): Add :prompt-cont-regexp property for several
7089 (sql-prompt-cont-regexp): New variable.
7090 (sql-output-newline-count, sql-output-by-send):
7091 New variables. Record number of newlines in input text.
7092 (sql-send-string): Handle multiple filters and count newlines.
7093 (sql-send-magic-terminator): Count terminator newline.
7094 (sql-interactive-remove-continuation-prompt): Filters output to
7095 remove continuation prompts; one for each newline.
7096 (sql-interactive-mode): Set up new variables, prompt regexp and
7098 (sql-mode-sqlite-font-lock-keywords): Correct some keywords.
7099 (sql-make-alternate-buffer-name): Correct buffer name in edge cases.
7101 2010-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
7103 * emacs-lisp/pcase.el: New file.
7105 2010-08-10 Michael Albinus <michael.albinus@gmx.de>
7107 * net/tramp.el (tramp-vc-registered-read-file-names): Read input
7108 as here-document, otherwise the command could exceed maximum
7109 length of command line.
7110 (tramp-handle-vc-registered): Call script accordingly.
7111 Reported by Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>.
7113 2010-08-10 Kenichi Handa <handa@m17n.org>
7115 * language/hebrew.el: Exclude U+05C3 (Hebrew SOF PASUQ) from the
7118 2010-08-09 Chong Yidong <cyd@stupidchicken.com>
7120 * emacs-lisp/package.el (package-version-split)
7121 (package--version-first-nonzero, package-version-compare):
7123 (package-directory-list, package-load-all-descriptors)
7124 (package--built-in, package-activate, define-package)
7125 (package-installed-p, package-compute-transaction)
7126 (package-read-all-archive-contents)
7127 (package--add-to-archive-contents, package-buffer-info)
7128 (package-tar-file-info, package-list-packages-internal):
7129 Use version-to-list and version-list-*.
7131 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7132 Use version-to-list.
7133 (package-upload-buffer-internal): Use version-list-<=.
7135 2010-08-09 Kenichi Handa <handa@m17n.org>
7137 * language/hebrew.el: Exclude U+05BD (Hebrew MAQAF) from the
7140 2010-08-08 Chong Yidong <cyd@stupidchicken.com>
7142 * tutorial.el (tutorial--default-keys): C-d is now bound to
7143 delete-forward-char (Bug#6826).
7145 * mouse.el (mouse-drag-track): Remove accidentally-removed check
7146 for `double' value of mouse-1-click-follows-link (Bug#6807).
7148 2010-08-08 Johan Bockgård <bojohan@gnu.org>
7150 * replace.el (replace-highlight): Bind isearch-forward and
7151 isearch-error, ensuring that highlighting is updated if the user
7152 switches the search direction (Bug#6808).
7154 * isearch.el (isearch-lazy-highlight-forward): New var.
7155 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
7156 (isearch-lazy-highlight-update): Use it.
7158 2010-08-08 Kenichi Handa <handa@m17n.org>
7160 * international/mule.el (define-charset): Store NAME as :base property.
7161 (ctext-non-standard-encodings-table): Pay attention to charset aliases.
7162 (ctext-pre-write-conversion): Sort ctext-standard-encodings by the
7163 current priority. Force using the designation of the specific
7164 charset by adding `charset' text property. Improve the whole algorithm.
7166 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
7168 * emulation/pc-select.el (pc-selection-mode-hook)
7169 (copy-region-as-kill-nomark, beginning-of-buffer-mark)
7170 (pc-selection-mode): Fix typos in docstrings.
7172 2010-08-08 Kenichi Handa <handa@m17n.org>
7174 * language/cyrillic.el: Don't add "microsoft-cp1251" to
7175 ctext-non-standard-encodings-alist here.
7177 * international/mule.el (ctext-non-standard-encodings-alist):
7178 Add "koi8-r" and "microsoft-cp1251".
7179 (ctext-standard-encodings): New variable.
7180 (ctext-non-standard-encodings-table): List only elements for
7181 non-standard encodings.
7182 (ctext-pre-write-conversion): Adjust for the above change.
7183 Check ctext-standard-encodings.
7185 * international/mule-conf.el (compound-text): Doc fix.
7186 (ctext-no-compositions): Doc fix.
7187 (compound-text-with-extensions): Doc fix.
7189 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
7191 * simple.el (exchange-dot-and-mark): Mark obsolete, finally.
7193 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
7195 * progmodes/which-func.el (which-func-format): Split help-echo text
7196 into lines, like other mode-line tooltips.
7198 * server.el (server-start): When using TCP sockets, force IPv4
7199 and use a literal 127.0.0.1 for localhost. (Related to bug#6781.)
7201 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
7203 * bindings.el (complete-symbol): Run completion-at-point as a fallback.
7205 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
7207 * term.el (term-delimiter-argument-list): Reflow docstring.
7208 (term-read-input-ring, term-write-input-ring, term-send-input)
7209 (term-bol, term-erase-in-display, serial-supported-or-barf):
7210 Fix typos in docstrings.
7212 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
7214 * bindings.el (function-key-map): Add a S-tab => backtab fallback.
7216 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
7218 * dabbrev.el (dabbrev-completion): Fix typo in docstring.
7220 2010-08-08 MON KEY <monkey@sandpframing.com> (tiny change)
7222 * emacs-lisp/syntax.el (syntax-ppss-toplevel-pos):
7223 Fix typo in docstring (bug#6747).
7225 2010-08-08 Leo <sdl.web@gmail.com>
7227 * eshell/esh-io.el (eshell-get-target): Better detection of
7228 read-only file (Bug#6762).
7230 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
7232 * align.el (align-default-spacing): Doc fix.
7233 (align-region-heuristic, align-regexp): Fix typos in docstrings.
7235 2010-08-08 Stephen Peters <speters@itasoftware.com>
7237 * calendar/icalendar.el
7238 (icalendar--split-value): Fix splitting regexp. (Bug#6766)
7239 (icalendar--get-weekday-numbers): New.
7240 (icalendar--convert-recurring-to-diary): Handle multiple byday
7241 values in weekly rules. (Bug#6766)
7243 2010-08-08 Ulf Jasper <ulf.jasper@web.de>
7245 * calendar/icalendar.el (icalendar-uid-format): Doc fix.
7246 (icalendar--create-uid, icalendar-export-region)
7247 (icalendar--parse-summary-and-rest): Code formatting.
7249 2010-08-08 Jay Belanger <jay.p.belanger@gmail.com>
7251 * calc/calc.el (calc-trail-mode,calc-refresh): Use `face' property
7252 to italicize headers.
7253 (calc-highlight-selections-with-faces): New variable.
7254 (calc-selected-face, calc-nonselected-face): New faces.
7256 * calc/calccomp.el (math-comp-highlight-string): Use
7257 `calc-highlight-selections-with-faces' to determine how to highlight
7260 * calc/calc-sel.el (calc-show-selections): Change message to when
7261 using faces to highlight selections.
7263 2010-08-07 Michael R. Mauger <mmaug@yahoo.com>
7265 * progmodes/sql.el (sql-mode-sqlite-font-lock-keywords):
7266 Add SQLite 3 keywords, functions and datatypes.
7267 (sql-interactive-mode): Remove `comint-process-echoes' set to t
7270 2010-08-07 Chong Yidong <cyd@stupidchicken.com>
7272 * simple.el (select-active-regions): Move to keyboard.c.
7273 (deactivate-mark): Used saved-region-selection.
7274 (select-active-region): Function removed.
7275 (activate-mark, set-mark, push-mark-command)
7276 (handle-shift-selection): Don't call it.
7277 (keyboard-quit): Avoid adding the region to the window selection.
7279 * mouse.el (mouse-drag-track): Remove hacks to deal with old
7280 select-active-regions implementation.
7281 (mouse-yank-at-click): Doc fix.
7283 * cus-start.el: Add custom declaration for select-active-regions.
7285 2010-08-07 Eli Zaretskii <eliz@gnu.org>
7287 * simple.el (delete-forward-char): Doc fix.
7289 * tutorial.el (help-with-tutorial): Hack safe file-local variables
7290 after reading the tutorial.
7292 2010-08-06 Alan Mackenzie <bug-cc-mode@gnu.org>
7294 * progmodes/cc-cmds.el (c-mask-paragraph, c-fill-paragraph):
7295 Fix for the case that a C style comment has its delimiters alone on
7296 their respective lines.
7298 2010-08-06 Michael Albinus <michael.albinus@gmx.de>
7300 * net/tramp.el (tramp-handle-start-file-process): Set connection
7302 (tramp-process-sentinel): Use it for flushing the cache.
7303 We cannot do it via the process buffer, the buffer could be deleted
7304 already when running the sentinel.
7306 2010-08-06 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
7308 * comint.el (comint-mode): Make directory tracking functions
7309 functional on remote files. (Bug#6764)
7311 2010-08-06 Dan Nicolaescu <dann@ics.uci.edu>
7313 * vc/diff-mode.el (diff-mode-shared-map): Bind g to revert-buffer.
7315 2010-08-05 Eli Zaretskii <eliz@gnu.org>
7317 * emacs-lisp/find-gc.el (find-gc-source-files):
7318 Rename unexec.c => unexcoff.c.
7320 * emacs-lisp/authors.el (authors-fixed-entries):
7321 Rename unexec.c => unexcoff.c.
7323 2010-08-05 Michael Albinus <michael.albinus@gmx.de>
7325 * net/tramp.el (tramp-handle-dired-uncache): Flush directory
7326 cache, not only file cache.
7327 (tramp-process-sentinel): New defun.
7328 (tramp-handle-start-file-process): Use it, in order to invalidate
7331 2010-08-03 Leo <sdl.web@gmail.com>
7333 * server.el (server-start): Simplify loop.
7335 2010-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
7337 * frame.el (screen-height, screen-width, set-screen-width)
7338 (set-screen-height): Remove ancient compatibility aliases.
7340 * textmodes/fill.el (justify-current-line): Don't add 1 to nspaces
7341 when justifying. It seems useless and harmful for ncols=1 (bug#6738).
7343 * emacs-lisp/timer.el (timer-event-handler): Protect against timers
7344 that change current buffer.
7346 2010-08-01 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
7348 * mouse.el (mouse-fixup-help-message): Match "mouse-2" only at the
7349 beginning of the string. Use `string-match-p'. (Bug#6765)
7351 2010-08-01 Jan Djärv <jan.h.d@swipnet.se>
7353 * cus-start.el (x-gtk-use-system-tooltips): New variable.
7355 2010-08-01 Chong Yidong <cyd@stupidchicken.com>
7357 * emacs-lisp/package.el (package--list-packages): Fix column alignment.
7358 (package--builtins): Tweak descriptions.
7359 (package-print-package): Upcase descriptions if necessary.
7360 Show all built-in packages in font-lock-builtin-face.
7361 (package-list-packages-internal): Omit "emacs" package.
7362 Show status of built-in packages as "built-in".
7364 2010-07-31 Chong Yidong <cyd@stupidchicken.com>
7366 * mouse.el (mouse-save-then-kill): Doc fix. Deactivate mark
7367 before killing to preserve the primary selection (Bug#6701).
7369 * term/x-win.el (x-select-text): Doc fix.
7371 2010-07-31 Nathaniel Flath <flat0103@gmail.com>
7373 * progmodes/cc-vars.el (c-offsets-alist, c-inside-block-syms)
7374 (objc-font-lock-extra-types):
7375 * progmodes/cc-mode.el (c-basic-common-init):
7376 * progmodes/cc-langs.el (c-make-mode-syntax-table)
7377 (c++-make-template-syntax-table)
7378 (c-identifier-syntax-modifications, c-symbol-start, c-operators)
7379 (c-<-op-cont-regexp, c->-op-cont-regexp, c-class-decl-kwds)
7380 (c-brace-list-decl-kwds, c-modifier-kwds, c-prefix-spec-kwds-re)
7381 (c-type-list-kwds, c-decl-prefix-re, c-opt-type-suffix-key):
7382 * progmodes/cc-fonts.el (c-make-inverse-face)
7383 (c-basic-matchers-after):
7384 * progmodes/cc-engine.el (c-forward-keyword-clause)
7385 (c-forward-<>-arglist, c-forward-<>-arglist-recur)
7386 (c-forward-name, c-forward-type, c-forward-decl-or-cast-1)
7387 (c-guess-continued-construct, c-guess-basic-syntax):
7388 Enhance Java Mode to handle Java 5.0 (Tiger) and Java 6 (Mustang).
7389 The above functions were modified or created.
7391 2010-07-31 Jan Djärv <jan.h.d@swipnet.se>
7393 * faces.el (face-all-attributes): Improve documentation (Bug#6767).
7395 2010-07-31 Eli Zaretskii <eliz@gnu.org>
7397 * files.el (bidi-paragraph-direction): Define safe local values.
7399 * language/hebrew.el ("Hebrew"): Add TUTORIAL.he to
7400 language-info-alist. Remove outdated FIXME in a comment.
7402 2010-07-31 Alan Mackenzie <acm@muc.de>
7404 * progmodes/cc-cmds.el (c-mask-paragraph): Fix bug #6688:
7405 Auto-fill broken in C/C++ modes.
7407 2010-07-29 Jan Djärv <jan.h.d@swipnet.se>
7409 * menu-bar.el (menu-bar-showhide-tool-bar-menu-customize-enable-left)
7410 (menu-bar-showhide-tool-bar-menu-customize-disable)
7411 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
7412 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom)
7413 (menu-bar-showhide-tool-bar-menu-customize-enable-top): New functions
7414 (menu-bar-showhide-tool-bar-menu): If tool bar is moveable,
7415 make a menu for Options => toolbar that can move it.
7417 2010-07-29 Chong Yidong <cyd@stupidchicken.com>
7419 * emacs-lisp/package-x.el (package--make-rss-entry):
7420 (package-maint-add-news-item, package--update-news)
7421 (package-upload-buffer-internal): New arg ARCHIVE-URL.
7423 * emacs-lisp/package.el (package-archive-url): Rename from
7425 (package-install): Doc fix.
7426 (package-download-single, package-download-tar, package-install)
7427 (package-menu-view-commentary): Callers changed.
7429 2010-07-29 Michael Albinus <michael.albinus@gmx.de>
7431 * net/tramp.el (tramp-handle-start-file-process): Check only for
7432 `remote-tty' process property.
7433 (tramp-open-shell): Don't check for tty.
7434 (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
7437 * progmodes/gdb-mi.el (gdb-init-1): Check also for tty on a remote
7440 2010-07-28 Chong Yidong <cyd@stupidchicken.com>
7442 * emacs-lisp/package.el (package-load-list, package-archives)
7443 (package-archive-contents, package-user-dir)
7444 (package-directory-list, package--builtins, package-alist)
7445 (package-activated-list, package-obsolete-alist): Mark as risky.
7447 2010-07-28 Phil Hagelberg <phil@evri.com>
7449 Add support for non-default package repositories.
7450 * emacs-lisp/package.el (package-archive-base): Var deleted.
7451 (package-archives): New variable.
7452 (package-archive-contents): Doc fix.
7453 (package-load-descriptor): Do nothing if descriptor file is missing.
7454 (package--write-file-no-coding): New function.
7455 (package-unpack-single): Use it.
7456 (package-archive-id): New function.
7457 (package-download-single, package-download-tar)
7458 (package-menu-view-commentary): Use it.
7459 (package-installed-p): Make second argument optional.
7460 (package-read-all-archive-contents): New function.
7461 (package-initialize): Use it.
7462 (package-read-archive-contents): Add ARCHIVE argument.
7463 (package--add-to-archive-contents): New function.
7464 (package-install): Don't call package-read-archive-contents.
7465 (package--download-one-archive): Store archive file in a
7466 subdirectory of package-user-dir.
7467 (package-menu-execute): Remove spurious line movement.
7469 2010-07-28 Jan Djärv <jan.h.d@swipnet.se>
7471 * cus-start.el (tool-bar-style): Add text-image-horiz.
7473 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
7475 * progmodes/gud.el (gud-common-init): Check for remoteness of
7476 `file', and not of `default-directory'.
7478 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
7480 * net/tramp.el (tramp-methods): Move hostname to the end in all
7481 ssh `tramp-login-args'.
7482 (tramp-verbose): Describe verbose level 9.
7483 (tramp-open-shell): Check for tty if `tramp-verbose' >= 9.
7484 (tramp-open-connection-setup-interactive-shell): Trace stty
7485 settings if `tramp-verbose' >= 9.
7486 (tramp-handle-start-file-process): Implement tty setting.
7487 (Bug#4604, Bug#6360)
7489 * net/tramp-cmds.el (tramp-bug): Recommend setting of
7490 `tramp-verbose' to 9.
7492 2010-07-27 Aaron S. Hawley <ashawley@burlingtontelecom.net>
7494 * emacs-lisp/re-builder.el (reb-re-syntax, reb-lisp-mode)
7495 (reb-lisp-syntax-p, reb-change-syntax, reb-cook-regexp):
7496 Remove references to package `lisp-re' (bug#4369).
7498 2010-07-27 Tom Tromey <tromey@redhat.com>
7500 * progmodes/js.el (js-mode):
7501 * progmodes/make-mode.el (makefile-mode):
7502 * progmodes/simula.el (simula-mode):
7503 * progmodes/tcl.el (tcl-mode): Derive from prog-mode.
7505 2010-07-27 Juanma Barranquero <lekktu@gmail.com>
7507 * help-fns.el (find-lisp-object-file-name): Doc fix (bug#6494).
7509 * time.el (display-time-day-and-date): Remove spurious * in docstring.
7510 (display-time-world-buffer-name, display-time-world-mode-map):
7511 Fix typos in docstrings.
7513 2010-07-27 Shyam Karanatt <shyam@swathanthran.in> (tiny change)
7515 * image-mode.el (image-display-size): New function.
7516 (image-forward-hscroll, image-next-line, image-eol, image-eob)
7517 (image-mode-fit-frame): Use it (Bug#6639).
7519 2010-07-27 Chong Yidong <cyd@stupidchicken.com>
7521 * dired.el (dired-buffers-for-dir): Handle list values of
7522 dired-directory (Bug#6636).
7524 2010-07-26 Sam Steingold <sds@gnu.org>
7526 * mouse.el (mouse-yank-primary, mouse-yank-secondary):
7527 Do not call `x-get-selection' the second time, reuse the value.
7529 2010-07-26 Daiki Ueno <ueno@unixuser.org>
7531 * epa-mail.el (epa-mail-mode-map): Add alternative key bindings
7532 which consist of control chars only. Suggested by Richard Stallman.
7534 2010-07-25 Daiki Ueno <ueno@unixuser.org>
7536 * epa-file.el (epa-file-insert-file-contents): Check if LOCAL-FILE
7537 exists before passing an error to find-file-not-found-functions
7540 2010-07-23 Lukas Huonker <l.huonker@gmail.com>
7542 * play/tetris.el (tetris-tty-colors, tetris-x-colors, tetris-blank):
7543 Remove leading nil element, adjust values.
7544 (tetris-shapes, tetris-shape-scores):
7545 Change representation of shapes and remove some redundancy.
7546 (tetris-get-shape-cell, tetris-shape-width, tetris-draw-next-shape)
7547 (tetris-draw-shape, tetris-erase-shape, tetris-test-shape):
7548 Adjust for working with new representation of shapes.
7549 (tetris-shape-rotations): New function.
7550 (tetris-move-bottom, tetris-move-left, tetris-move-right)
7551 (tetris-rotate-prev, tetris-rotate-next):
7552 Adjust for working with the new version of tetris-test-shape.
7554 2010-07-23 Markus Triska <markus.triska@gmx.at>
7556 * progmodes/ps-mode.el: Use comint (bug#5954).
7557 (ps-run-mode-map): Adapt for comint-mode; omit "\r", [return]..
7558 (ps-mode-other-newline): Simplify.
7559 (ps-run-mode): Derive from comint-mode instead of
7560 fundamental-mode, yielding input history etc.
7561 (ps-run-start, ps-run-quit, ps-run-clear, ps-run-region)
7562 (ps-run-send-string): Adapt for comint-mode.
7563 (ps-run-newline): Remove now unneeded function.
7565 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
7567 * net/tramp.el (tramp-methods): Move hostname to the end in all
7568 plink `tramp-login-args'.
7570 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
7572 * net/tramp.el (tramp-open-shell): New defun.
7573 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
7576 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
7578 * net/tramp.el (tramp-file-name-regexp-unified)
7579 (tramp-completion-file-name-regexp-unified): On W32 systems, do
7580 not regard the volume letter as remote filename. (Bug#5447)
7582 2010-07-23 Juanma Barranquero <lekktu@gmail.com>
7584 * custom.el (custom-declare-variable): Give a clearer error message
7585 when the docstring is missing (bug#6476).
7587 2010-07-22 Michael R. Mauger <mmaug@yahoo.com>
7589 * progmodes/sql.el: Version 2.4. Improved Login prompting.
7590 (sql-login-params): New widget definition.
7591 (sql-oracle-login-params, sql-mysql-login-params)
7592 (sql-solid-login-params, sql-sybase-login-params)
7593 (sql-informix-login-params, sql-ingres-login-params)
7594 (sql-ms-login-params, sql-postgres-login-params)
7595 (sql-interbase-login-params, sql-db2-login-params)
7596 (sql-linter-login-params): Use it.
7597 (sql-sqlite-login-params): Use it; Define "database" parameter as
7599 (sql-sqlite-program): Change to "sqlite3".
7600 (sql-comint-sqlite): Make sure database name is complete.
7601 (sql-for-each-login): New function.
7602 (sql-connect, sql-save-connection): Use it.
7603 (sql-get-login-ext): New function.
7604 (sql-get-login): Use it.
7605 (sql-make-alternate-buffer-name): Handle :file parameters.
7607 2010-07-22 Juanma Barranquero <lekktu@gmail.com>
7609 * dired.el (dired-no-confirm): Document value t and fix defcustom to
7610 accept it (bug#6597). Suggested by Drew Adams <drew.adams@oracle.com>.
7612 2010-07-22 Teemu Likonen <tlikonen@iki.fi> (tiny change)
7614 * dired.el (dired-mode-map): Use command remapping (bug#6632).
7616 2010-07-22 Lawrence Mitchell <wence@gmx.li>
7618 * term/vt100.el (vt100-wide-mode): Fix :init-value keyword (bug#6620).
7620 2010-07-21 Michael Albinus <michael.albinus@gmx.de>
7622 * net/tramp.el (tramp-get-ls-command)
7623 (tramp-get-ls-command-with-dired): Run tests on "/dev/null"
7626 2010-07-20 Michael R. Mauger <mmaug@yahoo.com>
7628 * progmodes/sql.el: Version 2.3.
7629 (sql-connection-alist): Change keys from symbols to strings;
7630 enhanced the widget definition.
7631 (sql-mode-menu): Add submenu to select connections.
7632 (sql-interactive-mode-menu): Add "Save Connection" item.
7633 (sql-add-product): Fix menu item.
7634 (sql-get-product-feature): Improved error handling.
7635 (sql--alt-buffer-part, sql--alt-if-not-empty): Removed.
7636 (sql-make-alternate-buffer-name): Simplified.
7637 (sql-product-interactive): Handle missing product.
7638 (sql-connect): Support string keys, minor improvements.
7639 (sql-save-connection): New function.
7640 (sql-connection-menu-filter): New function.
7642 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
7644 * net/tramp.el (tramp-file-name-handler): Trace 'quit.
7645 (tramp-open-connection-setup-interactive-shell):
7646 Apply workaround for IRIX64 bug. Move argument of last
7647 `tramp-send-command' where it belongs to.
7649 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
7651 * net/tramp.el (tramp-perl-file-attributes)
7652 (tramp-perl-directory-files-and-attributes): Don't pass "$3".
7653 (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
7654 front of `login-args'.
7656 2010-07-19 Juanma Barranquero <lekktu@gmail.com>
7658 * time.el (display-time-world-mode): Define with `define-derived-mode'.
7659 Set `show-trailing-whitespace' to nil.
7660 (display-time-world-display): Simplify.
7662 2010-07-18 Alan Mackenzie <acm@muc.de>
7664 Enhance `c-file-style' in file/directory local variables.
7665 * progmodes/cc-mode.el (c-count-cfss): New function.
7666 (c-before-hack-hook): Call `c-set-style' differently according to
7667 whether c-file-style was set in file or directory local
7670 2010-07-18 Michael R. Mauger <mmaug@yahoo.com>
7672 * progmodes/sql.el: Version 2.2.
7673 (sql-product, sql-user, sql-database, sql-server, sql-port):
7674 Use defcustom :safe keyword rather than putting safe-local-variable
7676 (sql-password): Use defcustom :risky keyword rather than putting
7677 risky-local-variable property.
7678 (sql-oracle-login-params, sql-sqlite-login-params)
7679 (sql-solid-login-params, sql-sybase-login-params)
7680 (sql-informix-login-params, sql-ingres-login-params)
7681 (sql-ms-login-params, sql-postgres-login-params)
7682 (sql-interbase-login-params, sql-db2-login-params)
7683 (sql-linter-login-params): Add `port' option.
7684 (sql-get-product-feature): Add NO-INDIRECT parameter.
7685 (sql-comint-oracle, sql-comint-sybase)
7686 (sql-comint-informix, sql-comint-sqlite, sql-comint-mysql)
7687 (sql-comint-solid, sql-comint-ingres, sql-comint-ms)
7688 (sql-comint-postgres, sql-comint-interbase, sql-comint-db2)
7689 (sql-comint-linter): Rename sql-connect-* functions to
7691 (sql-product-alist, sql-mode-menu): Rename as above and
7692 :sqli-connect-func to :sqli-comint-func.
7693 (sql-connection): New variable.
7694 (sql-interactive-mode): Set it.
7695 (sql-connection-alist): New variable.
7696 (sql-connect): New function.
7697 (sql--alt-buffer-part, sql--alt-if-not-empty)
7698 (sql-make-alternate-buffer-name): Improved alternative buffer name.
7700 2010-07-17 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7702 * image-mode.el (image-bookmark-make-record): Do not set context
7703 in an image (Bug#6650).
7705 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
7707 * simple.el (select-active-region): New function.
7708 (push-mark-command, set-mark, activate-mark)
7709 (handle-shift-selection): Use it.
7710 (deactivate-mark): Don't check for size of region.
7712 * mouse.el (mouse-drag-track): Use select-active-region.
7714 2010-07-17 Michael Albinus <michael.albinus@gmx.de>
7716 * net/tramp.el (tramp-get-ls-command-with-dired): Make test for
7719 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
7721 * term/x-win.el (x-select-enable-primary): Change default to nil.
7722 (x-select-enable-clipboard): Add :version keyword.
7724 * mouse.el (mouse-drag-copy-region):
7725 * simple.el (select-active-regions): Likewise.
7727 2010-07-16 Reiner Steib <Reiner.Steib@gmx.de>
7729 * vc/vc.el (vc-coding-system-inherit-eol): New defvar.
7730 (vc-coding-system-for-diff): Use it to decide whether to inherit
7731 from the file the EOL format for reading the diffs of that file.
7734 2010-07-16 Eli Zaretskii <eliz@gnu.org>
7736 * mail/rmailmm.el (rmail-mime-save): Make the temp buffer
7737 unibyte, so compressed attachments are not compressed again.
7739 2010-07-16 Michael Albinus <michael.albinus@gmx.de>
7741 * net/tramp.el (tramp-handle-shell-command): Don't use hard-wired
7742 "/bin/sh" but `tramp-remote-sh' from `tramp-methods'.
7743 (tramp-find-shell): Simplify setting connection property.
7744 (tramp-get-ls-command): Make test for "--color=never" stronger.
7746 2010-07-15 Simon South <ssouth@member.fsf.org>
7748 * progmodes/delphi.el (delphi-previous-indent-of): Indent case
7749 blocks within record declarations (i.e. variant parts) correctly.
7751 2010-07-15 Simon South <ssouth@member.fsf.org>
7753 * progmodes/delphi.el (delphi-token-at): Give newlines precedence
7754 over literal tokens when parsing so newlines aren't "absorbed" by
7755 single-line comments. Corrects the indentation of case blocks
7756 that have a comment on the first line.
7758 2010-07-14 Karl Fogel <kfogel@red-bean.com>
7760 * bookmark.el (bookmark-load-hook): Fix doc string as suggested
7761 by Drew Adams (Bug#5504).
7763 2010-07-14 Jan Djärv <jan.h.d@swipnet.se>
7765 * xt-mouse.el (xterm-mouse-event-read): Fix for characters > 127
7766 now that Unicode is used (Bug#6594).
7768 2010-07-14 Chong Yidong <cyd@stupidchicken.com>
7770 * term/x-win.el (x-select-enable-clipboard): Default to t.
7771 (x-initialize-window-system): Don't overwrite Paste menu item.
7773 * simple.el (select-active-regions): Default to t.
7774 (push-mark-command): Don't overwrite primary with empty string.
7776 * mouse.el: Bind mouse-2 to mouse-yank-primary.
7777 (mouse-drag-copy-region): Default to nil.
7779 * menu-bar.el (menu-bar-enable-clipboard): Don't overwrite
7780 Cut/Copy/Paste menu bar items.
7782 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7784 Allow C-w when setting a bookmark in a Gnus Article buffer (Bug#5975).
7785 Patch applied by Karl Fogel.
7787 * bookmark.el (bookmark-set): Don't set `bookmark-yank-point'
7788 and `bookmark-current-buffer' if they have been already set in
7789 another buffer (e.g gnus-art).
7791 2010-07-13 Karl Fogel <kfogel@red-bean.com>
7792 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7794 Preparation for setting bookmarks in Gnus article buffers (Bug#5975).
7796 * bookmark.el (bookmark-make-record-default): Allow unneeded
7797 information to be omitted from the record.
7799 Adjust declarations and calls:
7801 * info.el (bookmark-make-record-default): Adjust declaration.
7802 (Info-bookmark-make-record): Adjust call.
7804 * woman.el (bookmark-make-record-default): Adjust declaration.
7805 (woman-bookmark-make-record): Adjust call.
7807 * man.el (bookmark-make-record-default): Adjust declaration.
7808 (Man-bookmark-make-record): Adjust call.
7810 * image-mode.el (bookmark-make-record-default): Adjust declaration.
7812 * doc-view.el (bookmark-make-record-default): Adjust declaration.
7814 2010-07-13 Karl Fogel <kfogel@red-bean.com>
7816 * bookmark.el (bookmark-show-annotation): Use `when' instead of `if'.
7817 This is also from Thierry Volpiatto's patch in bug #6444. However,
7818 because it was extraneous to the functional change in that patch,
7819 and causes a re-indendation, I am committing it separately.
7821 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7823 * bookmark.el (bookmark-show-annotation): Ensure annotations show,
7824 e.g. in Info bookmarks, by using `switch-to-buffer-other-window'.
7825 Patch applied by Karl Fogel (Bug#6444).
7827 2010-07-13 Chong Yidong <cyd@stupidchicken.com>
7829 * frame.el (make-frame): Fix typo in 2010-06-30 change (Bug#6625).
7831 2010-07-13 Adrian Robert <Adrian.B.Robert@gmail.com>
7833 * term/ns-win.el: Bind M-~ to 'ns-prev-frame (due to Matthew
7834 Dempsky; bug#5084). Remove incorrect binding for S-tab.
7835 (ns-alternatives-map): Change S-tab binding to backtab
7838 * simple.el (normal-erase-is-backspace-setup-frame): Set mode on
7841 2010-07-12 Andreas Schwab <schwab@linux-m68k.org>
7843 * language/tai-viet.el ("TaiViet"): Try to fix re-encoding bugs.
7846 * language/tv-util.el (tai-viet-re): Remove format.
7848 2010-07-12 Kenichi Handa <handa@m17n.org>
7850 * language/hebrew.el: Remove no-byte-compile declaration.
7851 Change coding: tag to utf-8. Register hebrew-shape-gstring in
7852 composition-function-table for 3-character looking back.
7853 (hebrew-font-get-precomposed): New function.
7854 (hebrew-shape-gstring): Utilize precomposed glyphs if available.
7856 2010-07-11 Chong Yidong <cyd@stupidchicken.com>
7858 * mouse.el (mouse-drag-track): Handle select-active-regions
7861 2010-07-11 Magnus Henoch <magnus.henoch@gmail.com>
7863 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
7864 empty argument to gvfs-copy.
7866 2010-07-10 Glenn Morris <rgm@gnu.org>
7868 * calendar/calendar.el (calendar-week-end-day): New function.
7869 * calendar/cal-tex.el (cal-tex-cursor-month): Remove unused vars.
7870 Respect calendar-week-start-day. (Bug#6606)
7871 (cal-tex-insert-day-names, cal-tex-insert-blank-days)
7872 (cal-tex-insert-blank-days-at-end): Respect calendar-week-start-day.
7873 (cal-tex-first-blank-p, cal-tex-last-blank-p): Simplify, and
7874 respect calendar-week-start-day.
7876 2010-07-10 Chong Yidong <cyd@stupidchicken.com>
7878 * simple.el (use-region-p): Doc fix (Bug#6607).
7880 2010-07-10 Aleksei Gusev <aleksei.gusev@gmail.com> (tiny change)
7882 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7883 Add regexps for cucumber and ruby.
7885 2010-07-08 Daiki Ueno <ueno@unixuser.org>
7887 * epa-file.el (epa-file-error, epa-file--find-file-not-found-function)
7888 (epa-file-insert-file-contents): Hack to prevent
7889 find-file from opening empty buffer when decryption failed
7892 2010-07-07 Agustín Martín <agustin.martin@hispalinux.es>
7894 * textmodes/ispell.el (ispell-alternate-dictionary):
7895 Use file-readable-p.
7896 Return nil if no word-list is found at default locations.
7897 (ispell-complete-word-dict): Default to nil.
7898 (ispell-command-loop): Use 'word-list' when using lookup-words.
7899 (lookup-words): Use ispell-complete-word-dict or
7900 ispell-alternate-dictionary. Check for word-list availability
7901 and handle errors if needed with better messages (Bug#6539).
7902 (ispell-complete-word): Use ispell-complete-word-dict or
7903 ispell-alternate-dictionary.
7905 2010-07-07 Christoph Scholtes <cschol2112@gmail.com>
7907 * progmodes/python.el (python-font-lock-keywords): Add Python 2.7
7908 builtins (BufferError, BytesWarning, WindowsError; callables
7909 bin, bytearray, bytes, format, memoryview, next, print; __package__).
7911 2010-07-07 Glenn Morris <rgm@gnu.org>
7913 * play/zone.el (top-level): Do not require timer, tabify, or cl.
7914 (zone-shift-left): Ignore intangibility, and any errors from
7916 (zone-shift-right): Remove no-op end-of-line. Ignore intangibility.
7917 (zone-pgm-putz-with-case): Use upcase-region rather than inserting,
7918 deleting, and copying text properties.
7919 (zone-line-specs, zone-pgm-stress): Check forward-line exit status.
7920 (zone-pgm-rotate): Handle odd buffers like that of gomoku, where getting
7921 to point-max is hard.
7922 (zone-fret, zone-fill-out-screen): Replace cl's do with dotimes.
7923 (zone-fill-out-screen): Ignore intangibility.
7925 2010-07-05 Chong Yidong <cyd@stupidchicken.com>
7927 * menu-bar.el (menu-bar-mode):
7928 * tool-bar.el (tool-bar-mode): Replace default-frame-alist element
7931 * mouse.el (mouse-drag-track): Call mouse-start-end to handle
7932 word/line selection (Bug#6565).
7934 2010-07-04 Juanma Barranquero <lekktu@gmail.com>
7936 * net/dbus.el (dbus-send-signal): Declare function.
7938 2010-07-04 Michael Albinus <michael.albinus@gmx.de>
7940 * net/dbus.el: Implement signal "PropertiesChanged" (from D-Bus 1.3.1).
7941 (dbus-register-property): New optional argument EMITS-SIGNAL.
7942 (dbus-property-handler): Send signal "PropertiesChanged" if requested.
7944 2010-07-03 Chong Yidong <cyd@stupidchicken.com>
7946 * mouse.el (mouse-drag-overlay): Variable deleted.
7947 (mouse-move-drag-overlay, mouse-show-mark): Functions deleted.
7948 (mouse--remap-link-click-p): New function.
7949 (mouse-drag-track): Handle dragging by using temporary Transient
7950 Mark mode, instead of a special overlay.
7951 (mouse-kill-ring-save, mouse-save-then-kill): Don't call
7954 * mouse-sel.el (mouse-sel-selection-alist): mouse-drag-overlay
7957 2010-07-02 Juri Linkov <juri@jurta.org>
7959 * autoinsert.el (auto-insert-alist): Fix readability
7960 by using dotted pair notation for lambda.
7962 2010-07-02 Juri Linkov <juri@jurta.org>
7964 * faces.el (read-face-name): Rename arg `string-describing-default'
7965 to `default'. Doc fix. Display the default value in quotes
7966 in the prompt. With empty input, return the `default' arg,
7967 unless the default value is a string (in which case return nil).
7968 (describe-face): Replace the string `default' arg of `read-face-name'
7969 with the symbol `default'.
7971 2010-07-02 Chong Yidong <cyd@stupidchicken.com>
7973 * emulation/viper-cmd.el (viper-delete-backward-char)
7974 (viper-del-backward-char-in-insert)
7975 (viper-del-backward-char-in-replace, viper-change)
7976 (viper-backward-indent): Replace delete-backward-char with
7977 delete-char (Bug#6552).
7979 2010-07-01 Chong Yidong <cyd@stupidchicken.com>
7981 * ruler-mode.el (ruler--save-header-line-format): Fix typos.
7983 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
7985 * frame.el (make-frame): Add default-frame-alist to the PARAMETERS
7986 argument passed to frame-creation-function (Bug#5378).
7988 * faces.el (x-handle-named-frame-geometry)
7989 (x-handle-reverse-video, x-create-frame-with-faces)
7990 (face-set-after-frame-default, tty-create-frame-with-faces):
7991 Don't separately consult default-frame-alist. It is now passed as the
7994 2010-06-30 Andreas Schwab <schwab@linux-m68k.org>
7996 * startup.el (command-line): Don't call tool-bar-setup in a
7999 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
8001 * ruler-mode.el (ruler--save-header-line-format): New fun.
8002 (ruler-mode): Use it as a setter function, so as not to overwrite
8003 ruler-mode-header-line-format-old if Ruler mode is on (Bug#5370).
8005 2010-06-29 Chong Yidong <cyd@stupidchicken.com>
8007 * vc/vc.el (vc-deduce-backend): New fun. Handle diff buffers.
8008 (vc-root-diff, vc-print-root-log, vc-log-incoming)
8009 (vc-log-outgoing): Use it.
8010 (vc-diff-internal): Set diff-vc-backend.
8012 * vc/diff-mode.el (diff-vc-backend): New var.
8014 2010-06-28 Jan Djärv <jan.h.d@swipnet.se>
8016 * dynamic-setting.el (font-setting-change-default-font):
8017 Remove call to message.
8019 2010-06-28 Kenichi Handa <handa@m17n.org>
8021 * international/quail.el (quail-insert-kbd-layout): Fix the
8022 showing of untranslated characters.
8024 2010-06-28 Chong Yidong <cyd@stupidchicken.com>
8026 * simple.el (delete-active-region): New option.
8027 (delete-backward-char): Implement in Lisp.
8028 (delete-forward-char): New command.
8030 * mouse.el (mouse-region-delete-keys): Deleted.
8031 (mouse-show-mark): Simplify.
8033 * bindings.el (global-map): Bind delete and DEL, the former to
8034 delete-forward-char.
8036 2010-06-27 Lennart Borgman <lennart.borgman@gmail.com>
8038 * progmodes/ruby-mode.el (ruby-mode-map): Don't bind TAB.
8039 (ruby-mode): Bind indent-line-function (Bug#5119).
8041 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
8043 * startup.el (command-line): Recognize "0" X resource value.
8045 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
8047 * startup.el (command-line): Use X resources to set the value of
8048 menu-bar-mode and tool-bar-mode, before calling frame-initialize.
8050 * menu-bar.el (menu-bar-mode):
8051 * tool-bar.el (tool-bar-mode): Don't change default-frame-alist.
8052 Set init-value to t.
8054 * frame.el (frame-notice-user-settings): Don't change
8055 default-frame-alist based on menu-bar-mode and tool-bar-mode, or
8056 vice versa (Bug#2249).
8058 2010-06-26 Eli Zaretskii <eliz@gnu.org>
8060 * w32-fns.el (w32-convert-standard-filename): Doc fix.
8062 2010-06-25 Agustín Martín <agustin.martin@hispalinux.es>
8064 * textmodes/flyspell.el (flyspell-check-previous-highlighted-word):
8065 Make sure `flyspell-word' re-checks word after function run (Bug#6504).
8067 * textmodes/ispell.el (ispell-init-process): Make sure ispell and
8068 default directories are expanded (Bug#6143).
8070 2010-06-24 Juri Linkov <juri@jurta.org>
8072 * minibuffer.el (completions-format): Change default from nil to
8073 `horizontal'. Remove `nil' value from :type. Doc fix. (Bug#6459)
8075 2010-06-24 Juri Linkov <juri@jurta.org>
8077 * vc/vc.el (vc-diff-internal): Set `revert-buffer-function'
8078 buffer-locally to lambda that re-runs the vc diff command.
8081 2010-06-24 Chong Yidong <cyd@stupidchicken.com>
8083 * kmacro.el (kmacro-call-macro): Don't issue hint message if the
8084 echo area is in use (Bug#3412).
8086 2010-06-22 Glenn Morris <rgm@gnu.org>
8088 * textmodes/texinfmt.el (texinfo-format-region)
8089 (texinfo-raise-lower-sections, texinfo-format-separate-node)
8090 (texinfo-itemize-item, texinfo-multitable-item, texinfo-alias)
8091 (texinfo-format-option, texinfo-noindent):
8092 Use line-beginning-position and line-end-position.
8094 * calc/calc-aent.el, calc/calc-ext.el, calc/calc-lang.el:
8095 * calc/calc-store.el, calc/calc-units.el, calc/calc.el:
8096 * calc/calccomp.el: Add explicit utf-8 coding cookies to files with
8099 2010-06-21 Karl Fogel <kfogel@red-bean.com>
8101 * play/zone.el (zone-fall-through-ws): Fix next-line ->
8102 forward-line fallout.
8104 2010-07-06 Chong Yidong <cyd@stupidchicken.com>
8106 * mouse.el (mouse-appearance-menu): Add docstring.
8108 * help.el (describe-key): Print up-event using key-description.
8110 2010-07-03 Michael Albinus <michael.albinus@gmx.de>
8112 * net/zeroconf.el (zeroconf-resolve-service)
8113 (zeroconf-service-resolver-handler): Use `dbus-byte-array-to-string'.
8114 (zeroconf-publish-service): Use `dbus-string-to-byte-array'.
8116 2010-07-03 Jan Moringen <jan.moringen@uni-bielefeld.de>
8118 * net/zeroconf.el (zeroconf-service-remove-hook): New defun.
8120 2010-06-30 Dan Nicolaescu <dann@ics.uci.edu>
8122 Avoid displaying files with a nil state in vc-dir.
8123 * vc/vc-dir.el (vc-dir-update): Obey the noinsert argument in all
8124 cases that cause insertion.
8125 (vc-dir-resynch-file): Tell vc-dir-update to avoid inserting files
8128 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
8130 * xml.el (xml-parse-region): Avoid infloop (Bug#5281).
8132 2010-06-29 Leo <sdl.web@gmail.com>
8134 * emacs-lisp/rx.el (rx): Doc fix. (Bug#6537)
8136 2010-06-27 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
8138 * generic-x.el (bat-generic-mode): Fix regexp for command line
8139 switches (Bug#5719).
8141 2010-06-27 Masatake YAMATO <yamato@redhat.com>
8143 * htmlfontify.el (hfy-face-attr-for-class): Use append instead
8144 of nconc to avoid pure storage error (Bug#6239).
8146 2010-06-27 Christoph <cschol2112@googlemail.com> (tiny change)
8148 * bookmark.el (bookmark-bmenu-2-window, bookmark-bmenu-other-window)
8149 (bookmark-bmenu-other-window-with-mouse): Remove unnecessary
8150 bindings of bookmark-automatically-show-annotations (Bug#6515).
8152 2010-06-25 Eli Zaretskii <eliz@gnu.org>
8154 * arc-mode.el (archive-zip-extract): Don't quote the file name on
8155 MS-Windows and MS-DOS. (Bug#6467, Bug#6144)
8157 2010-06-24 Štěpán Němec <stepnem@gmail.com> (tiny change)
8159 * comint.el (make-comint, make-comint-in-buffer): Mention return
8160 value in the docstrings. (Bug#6498)
8162 2010-06-24 Yoni Rabkin <yoni@rabkins.net>
8164 * bs.el (bs-mode-font-lock-keywords): Remove "by" from Dired pattern,
8165 since it is not present when using some non-default switches.
8167 2010-06-23 Karl Fogel <kfogel@red-bean.com>
8169 * simple.el (compose-mail): Fix doc string to refer to
8170 `compose-mail-user-agent-warnings', instead of to the
8171 nonexistent `compose-mail-check-user-agent'.
8173 2010-06-21 Alan Mackenzie <bug-cc-mode@gnu.org>
8175 Fix an indentation bug:
8177 * progmodes/cc-mode.el (c-common-init): Initialise c-new-BEG/END.
8178 (c-neutralize-syntax-in-and-mark-CPP): c-new-BEG/END: Take account
8181 * progmodes/cc-engine.el (c-clear-<-pair-props-if-match-after)
8182 (c-clear->-pair-props-if-match-before): now return t when they've
8183 cleared properties, nil otherwise.
8184 (c-before-change-check-<>-operators): Set c-new-beg/end correctly
8185 by taking account of the existing value.
8187 * progmodes/cc-defs.el
8188 (c-clear-char-property-with-value-function): Fix this to clear the
8189 property rather than overwriting it with nil.
8191 2010-06-20 Chong Yidong <cyd@stupidchicken.com>
8193 * emacs-lisp/package.el (package-print-package): Add link to
8194 package description via describe-package.
8195 (describe-package-1): List package requirements. Add button to
8196 perform installation.
8197 (package-menu-describe-package): New command.
8199 * help-mode.el (help-package): New button type.
8201 2010-06-19 Chong Yidong <cyd@stupidchicken.com>
8203 * emacs-lisp/package.el: Move package-list-packages binding to
8205 (describe-package, describe-package-1, package--dir): New funs.
8206 (package-activate-1): Use package--dir.
8208 * emacs-lisp/package-x.el (gnus-article-buffer): Require package.
8210 * help-mode.el (help-package-def): New button type.
8212 * menu-bar.el: Move package-list-packages binding here from
8215 2010-06-19 Gustav Hållberg <gustav@gmail.com> (tiny change)
8217 * descr-text.el (describe-char): Avoid trailing whitespace. (Bug#6423)
8219 2010-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8221 * emacs-lisp/edebug.el (edebug-read-list):
8222 Phase out old-style backquotes.
8224 2010-06-17 Juri Linkov <juri@jurta.org>
8226 * help-mode.el (help-mode): Set buffer-local variable
8227 revert-buffer-function to help-mode-revert-buffer.
8228 (help-mode-revert-buffer): New function.
8230 * info.el (Info-revert-find-node): Check for major-mode Info-mode
8231 before popping to "*info*" (like in other Info functions).
8232 Keep buffer-name in old-buffer-name. Keep Info-history-forward in
8233 old-history-forward. Pop to old-buffer-name or "*info*" to
8234 recreate the killed buffer. Set Info-history-forward from
8235 old-history-forward.
8236 (Info-breadcrumbs-depth): Add :group and :version.
8238 2010-06-17 Dan Nicolaescu <dann@ics.uci.edu>
8240 * emacs-lisp/package.el (package-menu-mode-map): Add a menu.
8242 2010-06-17 Agustín Martín <agustin.martin@hispalinux.es>
8244 * textmodes/ispell.el (ispell-aspell-find-dictionary): Fix regexp
8245 for languages like Portuguese with pt_{BR,PT} and no plain pt.
8247 2010-06-17 Juanma Barranquero <lekktu@gmail.com>
8249 * emacs-lisp/package.el (package-menu-mode-map):
8250 Move initialization into declaration.
8252 * menu-bar.el (menu-bar-options-menu): Fix typo in menu entry.
8254 2010-06-17 Chong Yidong <cyd@stupidchicken.com>
8256 * emacs-lisp/package.el (package-archive-base): Point to
8258 (package-enable, package-load-list): New defcustoms.
8259 (package-user-dir, package-directory-list): Turn into defcustoms.
8260 Don't include package-user-dir in package-directory-list.
8261 (package--builtins-base): Don't include Emacs as a "package".
8262 (package-subdirectory-regexp): New var.
8263 (package-load-all-descriptors, package-compute-transaction)
8264 (package-download-transaction): Obey package-load-list.
8265 (package-activate-1): Rename from package-do-activate.
8266 (package-list-packages-internal): Check package-load-list.
8267 (package-load-descriptor, package-generate-autoloads)
8268 (package-unpack, package-unpack-single)
8269 (package--read-archive-file, package-delete):
8270 Use expand-file-name.
8272 * emacs-lisp/package-x.el: New file. Package uploading
8273 functionality split out from package.el.
8275 * startup.el (command-line): Load packages after reading init file.
8277 2010-06-17 Tom Tromey <tromey@redhat.com>
8279 * emacs-lisp/package.el: New file.
8281 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
8283 Fix vc-annotate for renamed files when using Git.
8284 * vc/vc-git.el (vc-git-find-revision): Deal with empty results from
8285 ls-files. Doe not pass the object as a file name to cat-file, it
8287 (vc-git-annotate-command): Pass the file name using -- to avoid
8288 ambiguity with the revision.
8289 (vc-git-previous-revision): Pass a relative file name.
8291 2010-06-22 Glenn Morris <rgm@gnu.org>
8293 * progmodes/js.el (js-mode-map): Use standard capitalization and
8294 ellipses for menu entries.
8296 * wid-edit.el (widget-complete): Doc fix.
8298 2010-06-22 Jürgen Hötzel <juergen@hoetzel.info> (tiny change)
8300 * wid-edit.el (widget-complete): Fix typo in 2009-12-02 change.
8302 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
8304 Fix annotating other revisions for renamed files in vc-annotate.
8305 * vc/vc-annotate.el (vc-annotate): Add an optional argument for the
8306 VC backend. Use it when non-nil.
8307 (vc-annotate-warp-revision): Pass the VC backend to vc-annotate.
8310 Fix vc-annotate-show-changeset-diff-revision-at-line for git.
8311 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
8312 Do not pass the file name to the 'previous-revision call when we
8313 don't want a file diff. (Bug#6489)
8315 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
8317 Fix finding revisions for renamed files in vc-annotate.
8318 * vc/vc.el (vc-find-revision): Add an optional argument for
8319 the VC backend. Use it when non-nil.
8320 * vc/vc-annotate.el (vc-annotate-find-revision-at-line): Pass the VC
8321 backend to vc-find-revision. (Bug#6487)
8323 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
8325 Fix reading file names in Git annotate buffers.
8326 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line):
8327 Remove trailing whitespace. Suggested by Eric Hanchrow. (Bug#6481)
8329 2010-06-20 Alan Mackenzie <acm@muc.de>
8331 * progmodes/cc-mode.el (c-before-hack-hook): When the mode is set
8332 in file local variables, set it first.
8334 2010-06-19 Glenn Morris <rgm@gnu.org>
8336 * descr-text.el (describe-char-unicode-data): Insert separating
8337 space when needed. (Bug#6422)
8339 * progmodes/idlwave.el (idlwave-action-and-binding):
8340 Fix typo in 2009-12-03 change. (Bug#6450)
8342 2010-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
8344 * emacs-lisp/macroexp.el (macroexpand-all-1): Put back special
8345 handling for `lambda' (misunderstanding).
8347 2010-06-16 Jay Belanger <jay.p.belanger@gmail.com>
8349 * calc/calc-poly.el (math-accum-factors): Make sure that
8350 constants aren't distributed after they are factored out.
8352 2010-06-16 Juri Linkov <juri@jurta.org>
8354 * facemenu.el (list-colors-display): Call `pop-to-buffer' before
8355 `list-colors-print'. (Bug#6332)
8357 * subr.el (read-quoted-char): Fix up last change (bug#6290).
8359 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
8361 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't handle `lambda'
8362 specially, since it's a macro. Fix up wrong hint passed to maybe-cons.
8364 * font-lock.el (font-lock-major-mode): Rename from
8365 font-lock-mode-major-mode to distinguish it from
8366 global-font-lock-mode's own font-lock-mode-major-mode (bug#6135).
8367 (font-lock-set-defaults):
8368 * font-core.el (font-lock-default-function): Adjust users.
8369 (font-lock-mode): Don't set it at all.
8371 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
8373 * vc/vc-annotate.el (vc-annotate): Use vc-read-revision.
8375 2010-06-16 Glenn Morris <rgm@gnu.org>
8377 * calendar/appt.el (appt-time-msg-list): Doc fix.
8378 (appt-check): Let-bind appt-warn-time.
8379 (appt-add): Make the 3rd argument optional.
8380 Simplify argument names. Doc fix. Check for integer WARNTIME.
8381 Only add WARNTIME to the output list if non-nil.
8383 2010-06-16 Ivan Kanis <apple@kanis.eu>
8385 * calendar/appt.el (appt-check): Let the 3rd element of
8386 appt-time-msg-list specify the warning time.
8387 (appt-add): Add new argument with the warning time. (Bug#5176)
8389 2010-06-16 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
8391 * vc/vc-svn.el (vc-svn-after-dir-status): Fix regexp for Subversions
8392 older than version 1.6. (Bug#6361)
8394 2010-06-16 Helmut Eller <eller.helmut@gmail.com>
8396 * emacs-lisp/cl-macs.el (destructuring-bind): Bind `bind-enquote',
8397 used by cl-do-arglist. (Bug#6408)
8399 2010-06-16 Agustín Martín <agustin.martin@hispalinux.es>
8401 * textmodes/ispell.el (ispell-dictionary-base-alist):
8402 Fix portuguese casechars/not-casechars for missing 'çÇ'.
8403 Suggested by Rolando Pereira (bug#6434).
8405 2010-06-15 Juanma Barranquero <lekktu@gmail.com>
8407 * facemenu.el (list-colors-sort): Doc fix.
8409 2010-06-15 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
8411 * progmodes/sql.el (sql-connect-mysql): Fix typo.
8413 2010-06-14 Juri Linkov <juri@jurta.org>
8415 Add sort option `list-colors-sort'. (Bug#6332)
8416 * facemenu.el (color-rgb-to-hsv): New function.
8417 (list-colors-sort): New defcustom.
8418 (list-colors-sort-key): New function.
8419 (list-colors-display): Doc fix. Sort list according to the option
8421 (list-colors-print): Add HSV values to `help-echo' property of
8424 2010-06-14 Juri Linkov <juri@jurta.org>
8426 * compare-w.el: Move to the "vc" subdirectory.
8428 2010-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
8430 * image-mode.el (image-mode-map): Remap left-char and right-char.
8432 * nxml/nxml-mode.el (nxml-indent-line): Standardize indent behavior.
8434 2010-06-12 Chong Yidong <cyd@stupidchicken.com>
8436 * term/common-win.el (x-colors): Add all the color names defined
8437 in rgb.txt (Bug#6332).
8439 * facemenu.el (list-colors-print): Don't print extra names if it
8440 will overflow the window width.
8442 * vc/log-edit.el (log-edit-font-lock-keywords): Revert 2010-06-02
8445 2010-06-12 Eli Zaretskii <eliz@gnu.org>
8447 * files.el (make-directory): Doc fix (bug#6396).
8449 2010-06-12 Michael Albinus <michael.albinus@gmx.de>
8451 * net/tramp.el (tramp-remote-process-environment): Protect version
8452 string by apostroph.
8453 (tramp-shell-prompt-pattern): Do not use a shy group in case of
8455 (tramp-file-name-for-operation): Add `call-process-region'.
8456 (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
8458 * net/tramp-compat.el (top): Do not autoload
8459 `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el
8460 only when `start-file-process' is not bound.
8461 (tramp-advice-file-expand-wildcards): Do not use
8462 `tramp-handle-file-remote-p'.
8463 (tramp-compat-make-temp-file): Handle the case, that
8464 `make-temp-file' has no third argument EXTENSION.
8466 2010-06-11 Juanma Barranquero <lekktu@gmail.com>
8468 * makefile.w32-in (WINS_BASIC): Include new directory vc.
8470 * loadup.el ("vc-hooks", "ediff-hook"): Load from lisp/vc/.
8472 2010-06-11 Juri Linkov <juri@jurta.org>
8474 * finder.el (finder-known-keywords): Add keyword "vc"
8475 for version control.
8477 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff.el,
8478 * emerge.el, log-edit.el, log-view.el, pcvs.el, smerge-mode.el,
8479 * vc-annotate.el, vc-bzr.el, vc-dir.el, vc-dispatcher.el, vc-git.el,
8480 * vc-hg.el, vc-mtn.el, vc.el: Add keyword "vc".
8482 2010-06-11 Juri Linkov <juri@jurta.org>
8484 Move version control related files to the "vc" subdirectory.
8485 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff-diff.el,
8486 * ediff.el, ediff-help.el, ediff-hook.el, ediff-init.el,
8487 * ediff-merg.el, ediff-mult.el, ediff-ptch.el, ediff-util.el,
8488 * ediff-vers.el, ediff-wind.el, emerge.el, log-edit.el, log-view.el,
8489 * pcvs-defs.el, pcvs.el, pcvs-info.el, pcvs-parse.el, pcvs-util.el,
8490 * smerge-mode.el, vc-annotate.el, vc-arch.el, vc-bzr.el, vc-cvs.el,
8491 * vc-dav.el, vc-dir.el, vc-dispatcher.el, vc.el, vc-git.el,
8492 * vc-hg.el, vc-hooks.el, vc-mtn.el, vc-rcs.el, vc-sccs.el, vc-svn.el:
8493 Move files to the "vc" subdirectory.
8495 2010-06-11 Chong Yidong <cyd@stupidchicken.com>
8497 * comint.el (comint-password-prompt-regexp): Fix 2010-04-10 change
8500 2010-06-11 Stephen Eglen <stephen@gnu.org>
8502 * shell.el: Bind `shell-resync-dirs' to M-RET.
8504 2010-06-10 Michael Albinus <michael.albinus@gmx.de>
8506 * notifications.el: Move file from lisp/net, because it is
8507 supposed to talk locally to the user.
8509 2010-06-10 Julien Danjou <julien@danjou.info>
8511 * net/notifications.el (notifications-on-action-signal)
8512 (notifications-on-closed-signal): Pass notification id as first
8513 argument to the callback functions. Add docstrings.
8514 (notifications-notify): Fix docstring.
8516 2010-06-10 Glenn Morris <rgm@gnu.org>
8518 * emacs-lisp/authors.el (authors-ignored-files)
8519 (authors-valid-file-names): Add some files.
8521 2010-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
8523 * net/rcirc.el (rcirc-server-alist, rcirc, rcirc-connect): Resolve
8524 merge conflict, giving preference to the emacs-23 version of the code.
8526 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
8528 * emacs-lisp/advice.el (ad-compile-function):
8529 Define warning-suppress-types before we let-bind it (bug#6275).
8531 * vc-dispatcher.el: Rename mode-line-hook to vc-mode-line-hook;
8532 declare it, make it buffer-local and permanent-local (bug#6324).
8533 (vc-resynch-window): Adjust name.
8534 * vc-hooks.el (vc-find-file-hook): Adjust name.
8536 2010-06-09 Michael Albinus <michael.albinus@gmx.de>
8538 * net/notifications.el (notifications-notify): Fix docstring.
8540 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
8542 Update to Unicode 6.0.0 beta.
8543 * international/charprop.el: Update copyright.
8544 * international/mule-cmds.el (ucs-names): Update character ranges.
8545 * international/uni-bidi.el:
8546 * international/uni-category.el:
8547 * international/uni-combining.el:
8548 * international/uni-comment.el:
8549 * international/uni-decimal.el:
8550 * international/uni-decomposition.el:
8551 * international/uni-digit.el:
8552 * international/uni-lowercase.el:
8553 * international/uni-mirrored.el:
8554 * international/uni-name.el:
8555 * international/uni-numeric.el:
8556 * international/uni-old-name.el:
8557 * international/uni-titlecase.el:
8558 * international/uni-uppercase.el: Regenerate.
8560 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
8562 * emacs-lisp/smie.el (comment-string-strip): Declare function.
8563 (smie-precs-precedence-table): Fix typo in docstring.
8565 * vc-mtn.el (log-edit-extract-headers): Declare function.
8567 * vc-hg.el (log-edit-extract-headers): Remove duplicate declaration.
8569 * net/notifications.el (dbus-register-signal): Declare function.
8570 (notifications-notify): Fix typos and reflow docstring.
8572 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
8574 Improve VC create/retrieve tag/branch.
8575 * vc.el (vc-create-tag): Do not read the directory name for VCs
8576 with repository revision granularity. Adjust the tag/branch
8577 prompt. Reset VC properties.
8578 (vc-retrieve-tag): Do not read the directory name for VCs
8579 with repository revision granularity. Reset VC properties.
8581 2010-06-09 Julien Danjou <julien@danjou.info>
8583 * net/notifications.el: New file.
8585 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
8587 Add optional support for resetting VC properties.
8588 * vc-dispatcher.el (vc-resynch-window): Add new optional argument,
8589 call vc-file-clearprops when true.
8590 (vc-resynch-buffer): Add new optional argument, pass it down.
8591 (vc-resynch-buffers-in-directory): Likewise.
8593 Improve support for special markup in the VC commit message.
8594 * vc-mtn.el (vc-mtn-checkin): Add support for Author: and Date: markup.
8595 * vc-hg.el (vc-hg-checkin): Add support for Date:.
8596 * vc-git.el (vc-git-checkin):
8597 * vc-bzr.el (vc-bzr-checkin): Likewise.
8599 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
8601 * emacs-lisp/smie.el (smie-indent-keyword): Remove special case that
8602 can be handled with a ((:before "fn") (:prev "=>" parent)) rule.
8604 2010-06-07 Martin Pohlack <mp26@os.inf.tu-dresden.de>
8606 * iimage.el: Remove images as soon as the underlying text is modified.
8607 (iimage-modification-hook): New function.
8608 (iimage-mode-buffer): Use it.
8610 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
8612 * emacs-lisp/smie.el (smie-indent-offset-rule): Rename from
8613 smie-indent-offset-after. Add :prev case. Make a bit more generic.
8614 (smie-indent-virtual): Remove `virtual' arg. Update callers.
8615 (smie-indent-keyword): Add handling of open-paren keywords.
8616 (smie-indent-comment-continue): Don't assume comment-continue.
8618 2010-06-07 Martin Rudalics <rudalics@gmx.at>
8620 * window.el (pop-to-buffer): Remove the conditional that
8621 compares new-window and old-window, so it will reselect
8622 the selected window unconditionally.
8623 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00078.html
8625 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
8627 * emacs-lisp/smie.el (smie-indent-offset-after)
8628 (smie-indent-forward-token, smie-indent-backward-token): New functions.
8629 (smie-indent-after-keyword): Use them.
8630 (smie-indent-fixindent): Only applies to the indentation of the BOL.
8631 (smie-indent-keyword): Tweak the black magic.
8632 (smie-indent-comment-continue): Strip comment-continue before use.
8633 (smie-indent-functions): Indent comments before keywords.
8635 2010-06-06 Juri Linkov <juri@jurta.org>
8637 * isearch.el (isearch-lazy-highlight-search): Fix looping
8638 by checking for empty match. This syncs this loop with the
8639 similar loop in `isearch-search'. (Bug#6362)
8641 2010-06-05 Juanma Barranquero <lekktu@gmail.com>
8643 * net/dbus.el (dbus-register-method): Declare function.
8644 (dbus-handle-event, dbus-property-handler): Fix typos in docstrings.
8645 (dbus-introspect): Doc fix.
8646 (dbus-event-bus-name, dbus-introspect-get-interface)
8647 (dbus-introspect-get-argument): Reflow docstrings.
8649 2010-06-05 Dan Nicolaescu <dann@ics.uci.edu>
8651 vc-log-incoming/vc-log-outgoing fixes for Git.
8652 * vc-git.el (vc-git-log-view-mode): Fix font lock for
8653 incoming/outgoing logs.
8654 (vc-git-log-outgoing, vc-git-log-incoming): Use @{upstream}
8655 instead of vc-git-compute-remote.
8656 (vc-git-compute-remote): Remove.
8658 2010-06-04 Chong Yidong <cyd@stupidchicken.com>
8660 * term/common-win.el (x-colors): Add "dark green" and "dark
8661 turquoise" (Bug#6332).
8663 2010-06-04 Juri Linkov <juri@jurta.org>
8665 * simple.el (kill-new): Fix logic of kill-do-not-save-duplicates.
8666 Instead of setting `replace' to t and replacing the same string
8667 with itself, don't do certain actions when
8668 kill-do-not-save-duplicates is non-nil and string is equal to car
8669 of kill-ring: don't call menu-bar-update-yank-menu, don't push
8670 interprogram-paste strings to kill-ring, and don't push the input
8671 argument `string' to kill-ring.
8672 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00072.html
8674 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
8676 * subr.el (directory-sep-char): Move from fileio.c and make a defconst.
8678 2010-06-04 Michael Albinus <michael.albinus@gmx.de>
8680 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name): Expand "~/".
8681 (tramp-gvfs-handler-mounted-unmounted)
8682 (tramp-gvfs-connection-mounted-p): Handle default-location.
8684 * net/tramp-smb.el (tramp-smb-handle-delete-directory): Don't try to
8685 move files to trash.
8687 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
8689 * international/mule-cmds.el (nonascii-insert-offset)
8690 (nonascii-translation-table): Add obsolescence information.
8692 * international/mule.el (make-translation-table-from-vector): Doc fix.
8694 2010-06-03 Glenn Morris <rgm@gnu.org>
8696 * desktop.el (desktop-clear-preserve-buffers):
8697 Add "*Warnings*" buffer. (Bug#6336)
8699 2010-06-03 Dan Nicolaescu <dann@ics.uci.edu>
8701 vc-log-incoming/vc-log-outgoing improvements for Git.
8702 * vc-git.el (vc-git-log-outgoing): Use the same format as the
8704 (vc-git-log-incoming): Likewise. Run "git fetch" before the log command.
8706 Add bindings for vc-log-incoming and vc-log-outgoing.
8707 * vc-hooks.el (vc-prefix-map): Add bindings for vc-log-incoming
8708 and vc-log-outgoing.
8709 * vc-dir.el (vc-dir-menu-map): Add menu bindings for vc-log-incoming
8710 and vc-log-outgoing.
8712 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
8714 * net/rcirc.el (rcirc-sort-nicknames): Remove.
8715 (rcirc-handler-366): Always sort nicknames.
8717 2010-06-03 Juanma Barranquero <lekktu@gmail.com>
8719 * emacs-lisp/smie.el (comment-continue): Declare for byte-compiler.
8721 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
8723 * net/rcirc.el (rcirc-nickname<, rcirc-sort-nicknames-join): Doc fix.
8725 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
8727 * net/rcirc.el (rcirc-sort-nicknames): Change default.
8728 (rcirc-sort-nicknames-join): Avoid setq.
8730 2010-06-03 Deniz Dogan <deniz.a.m.dogan@gmail.com>
8732 * net/rcirc.el (rcirc-sort-nicknames): New custom.
8733 (rcirc-nickname<, rcirc-sort-nicknames-join): New funs.
8734 (rcirc-handler-366): Use them.
8736 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
8738 Split smie-indent-calculate into more manageable chunks.
8739 * emacs-lisp/smie.el (smie-indent-virtual, smie-indent-fixindent)
8740 (smie-indent-comment, smie-indent-after-keyword, smie-indent-keyword)
8741 (smie-indent-close, smie-indent-comment-continue, smie-indent-bob)
8742 (smie-indent-exps): Extract from smie-indent-calculate.
8743 (smie-indent-functions): New var.
8744 (smie-indent-functions): Use them.
8746 2010-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
8748 * emacs-lisp/smie.el (smie-indent-hanging-p): Use smie-bolp.
8749 (smie-indent-calculate): Simplify and cleanup.
8751 2010-06-02 Michael Albinus <michael.albinus@gmx.de>
8753 * net/tramp-gvfs.el (top): Require url-util.
8754 (tramp-gvfs-mount-point): Remove.
8755 (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command):
8757 (with-tramp-dbus-call-method): Format trace message.
8758 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
8759 Implement backup call, when operation on local files fails.
8760 Use progress reporter. Flush properties of changed files.
8761 (tramp-gvfs-handle-make-directory): Make more traces.
8762 (tramp-gvfs-url-file-name): Hexify file name in url.
8763 (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
8764 into account for the resulting file name.
8765 (tramp-gvfs-handler-askquestion): Return dummy mountpoint, when
8766 the answer is "no". See `tramp-gvfs-maybe-open-connection'.
8767 (tramp-gvfs-handler-mounted-unmounted)
8768 (tramp-gvfs-connection-mounted-p): Test also for new mountspec
8769 attribute "default_location". Set "prefix" property.
8770 (tramp-gvfs-mount-spec): Return both prefix and mountspec.
8771 (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
8772 exists. Raise an error, if not (due to a corresponding answer
8773 "no" in interactive questions, for example).
8775 2010-06-02 Dan Nicolaescu <dann@ics.uci.edu>
8777 * log-edit.el (log-edit-font-lock-keywords): Make group 4 match lax.
8779 2010-06-01 Juanma Barranquero <lekktu@gmail.com>
8781 * emacs-lisp/eldoc.el: Add completions for new commands left-* and
8784 2010-06-01 Dan Nicolaescu <dann@ics.uci.edu>
8786 Add support for vc-log-incoming, improve vc-log-outgoing for Git.
8787 * vc-git.el (vc-git-compute-remote): New function.
8788 (vc-git-log-outgoing): Use it instead of hard coding a value.
8789 (vc-git-log-incoming): New function.
8791 Improve state updating for VC tag commands.
8792 * vc.el (vc-create-tag, vc-retrieve-tag): Call vc-resynch-buffer
8793 to update the state of all buffers in the directory.
8795 * vc-dir.el (vc-dir-update): Remove entries with a nil state (bug#5539).
8797 2010-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
8799 * vc-bzr.el (vc-bzr-revision-completion-table): Apply
8800 `file-directory-p' to the filename part rather than to the whole text.
8802 2010-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
8804 * man.el (Man-completion-table): Let the user type "-k " (bug#6319).
8806 2010-05-31 Drew Adams <drew.adams@oracle.com>
8808 * files.el (directory-files-no-dot-files-regexp): Doc fix (bug#6298).
8810 2010-05-31 Juanma Barranquero <lekktu@gmail.com>
8812 * subr.el (momentary-string-display): Just use read-event to read
8813 the exit event (Bug#6238).
8815 2010-05-30 Eli Zaretskii <eliz@gnu.org>
8817 * international/mule.el (define-coding-system): Doc fix (bug#6313).
8819 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
8821 * emulation/cua-base.el: Recognize also `right-word' and `left-word'.
8822 Suggested by Eli Zaretskii <eliz@gnu.org>.
8824 2010-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8826 * minibuffer.el (completion-file-name-table): Don't return a boundary
8827 past the end of `string' (bug#6299).
8828 (completion--file-name-table): Delegate to completion-file-name-table
8829 for the `boundaries' case.
8831 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
8833 * emulation/cua-base.el: Recognize `right-char' and `left-char' as
8836 * progmodes/ada-xref.el (ada-prj-ada-project-path-sep): Set from
8837 `path-separator', but maintain compatibility with Emacs 20.2.
8839 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
8841 * server.el (server-process-filter): Receive parent-id argument
8843 (server-create-window-system-frame): New arg. Pass parent-id as
8846 2010-05-29 Eli Zaretskii <eliz@gnu.org>
8848 Bidi-sensitive word movement with arrow keys.
8849 * subr.el (right-arrow-command, left-arrow-command): Move to
8852 * bindings.el (right-char, left-char): Move from subr.el and
8853 rename from right-arrow-command and left-arrow-command.
8854 (right-word, left-word): New functions.
8855 (global-map) <right>: Bind to right-char.
8856 (global-map) <left>: Bind to left-char.
8857 (global-map) <C-right>: Bind to right-word.
8858 (global-map) <C-left>: Bind to left-word.
8860 * ls-lisp.el (ls-lisp-classify-file): New function.
8861 (ls-lisp-insert-directory): Call it if switches include -F (bug#6294).
8862 (ls-lisp-classify): Call ls-lisp-classify-file.
8863 (insert-directory): Remove blanks from switches.
8865 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
8867 * ansi-color.el: Delete unused escape sequences (Bug#6085).
8868 (ansi-color-drop-regexp): New constant.
8869 (ansi-color-apply, ansi-color-filter-region)
8870 (ansi-color-apply-on-region): Delete unrecognized control sequences.
8871 (ansi-color-apply): Build string list before calling concat.
8873 2010-05-28 Juri Linkov <juri@jurta.org>
8875 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
8876 Replace LOCALP arg of `dired-get-filename' 'no-dir with nil.
8879 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
8881 * net/tramp.el (tramp-debug-message): Add `tramp-compat-funcall'
8882 to ignored backtrace functions.
8883 (with-progress-reporter): Expand docstring.
8884 (tramp-handle-delete-file): Implement TRASH argument.
8885 (tramp-get-remote-trash): New defun.
8887 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
8889 * net/tramp-compat.el (tramp-compat-delete-file):
8890 Use `symbol-value' for backward compatibility.
8892 * net/tramp.el (tramp-handle-make-symbolic-link)
8894 (tramp-do-copy-or-rename-file-via-buffer)
8895 (tramp-do-copy-or-rename-file-directly)
8896 (tramp-do-copy-or-rename-file-out-of-band)
8897 (tramp-handle-process-file, tramp-handle-call-process-region)
8898 (tramp-handle-shell-command, tramp-handle-file-local-copy)
8899 (tramp-handle-insert-file-contents, tramp-handle-write-region)
8900 (tramp-delete-temp-file-function): Use `delete-file' instead
8901 of `tramp-compat-delete-file'.
8903 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
8904 (tramp-fish-handle-make-symbolic-link)
8905 (tramp-fish-handle-process-file): Use `delete-file' instead
8906 of `tramp-compat-delete-file'.
8908 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
8909 Use `delete-file' instead of `tramp-compat-delete-file'.
8911 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
8912 (tramp-gvfs-handle-write-region): Use `delete-file' instead of
8913 `tramp-compat-delete-file'.
8915 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file):
8916 Use `delete-file' instead of `tramp-compat-delete-file'.
8918 * net/tramp-smb.el (tramp-smb-handle-copy-file)
8919 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
8920 (tramp-smb-handle-write-region): Use `delete-file' instead of
8921 `tramp-compat-delete-file'.
8922 (tramp-smb-handle-delete-directory): Use 'trash as arg.
8924 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
8926 * dired.el (dired-delete-file): New arg TRASH.
8927 (dired-internal-do-deletions): New arg TRASH. Use progress reporter.
8928 (dired-do-flagged-delete, dired-do-delete): Use trash.
8930 * speedbar.el (speedbar-item-delete): Allow trashing.
8932 * files.el (delete-directory): New arg TRASH.
8934 * net/ange-ftp.el (ange-ftp-del-tmp-name, ange-ftp-delete-file)
8935 (ange-ftp-rename-remote-to-remote)
8936 (ange-ftp-rename-local-to-remote)
8937 (ange-ftp-rename-remote-to-local, ange-ftp-load)
8938 (ange-ftp-compress, ange-ftp-uncompress): Remove optional arg from
8940 (ange-ftp-delete-directory): Add optional arg to `delete-file', to
8943 * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
8944 handle new TRASH arg of `delete-file'.
8946 * net/tramp.el (tramp-handle-delete-file): Change FORCE arg to TRASH.
8947 (tramp-handle-make-symbolic-link, tramp-handle-load)
8948 (tramp-do-copy-or-rename-file-via-buffer)
8949 (tramp-do-copy-or-rename-file-directly)
8950 (tramp-do-copy-or-rename-file-out-of-band)
8951 (tramp-handle-process-file, tramp-handle-call-process-region)
8952 (tramp-handle-shell-command, tramp-handle-file-local-copy)
8953 (tramp-handle-insert-file-contents, tramp-handle-write-region)
8954 (tramp-delete-temp-file-function): Use null TRASH arg in
8955 tramp-compat-delete-file call.
8957 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
8958 (tramp-fish-handle-delete-file)
8959 (tramp-fish-handle-make-symbolic-link)
8960 (tramp-fish-handle-process-file): Use null TRASH arg in
8961 `tramp-compat-delete-file' call.
8963 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use null TRASH
8964 arg in `tramp-compat-delete-file' call.
8966 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
8967 (tramp-gvfs-handle-write-region): Use null TRASH arg in
8968 `tramp-compat-delete-file' call.
8970 * net/tramp-imap.el (tramp-imap-handle-delete-file): Rename arg.
8971 (tramp-imap-do-copy-or-rename-file): Use null TRASH arg in
8972 `tramp-compat-delete-file' call.
8974 * net/tramp-smb.el (tramp-smb-handle-copy-file)
8975 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
8976 (tramp-smb-handle-write-region): Use null TRASH arg in
8977 tramp-compat-delete-file call.
8978 (tramp-smb-handle-delete-directory): Use tramp-compat-delete-file.
8979 (tramp-smb-handle-delete-file): Rename arg.
8981 * diff.el (diff-sentinel):
8982 * epg.el (epg--make-temp-file, epg-decrypt-string)
8983 (epg-verify-string, epg-sign-string, epg-encrypt-string):
8984 * jka-compr.el (jka-compr-partial-uncompress)
8985 (jka-compr-call-process, jka-compr-write-region):
8986 * server.el (server-sentinel): Remove optional arg from
8987 delete-file, reverting 2010-05-03 change.
8989 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
8991 * progmodes/verilog-mode.el (verilog-type-font-keywords):
8992 Use font-lock-constant-face, not obsolete font-lock-reference-face.
8994 2010-05-27 Kenichi Handa <handa@m17n.org>
8996 * language/hebrew.el (hebrew-shape-gstring): Check if a glyph
8997 element of GSTRING is nil.
8999 2010-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
9001 * emacs-lisp/smie.el (smie-forward-token-function)
9002 (smie-backward-token-function): New vars.
9003 (smie-backward-sexp, smie-forward-sexp)
9004 (smie-indent-hanging-p, smie-indent-calculate): Use them.
9005 (smie-default-backward-token): Rename from smie-backward-token and
9007 (smie-default-forward-token): Rename from smie-forward-token and
9009 (smie-next-sexp): Handle nil results from next-token.
9010 (smie-indent-calculate): Add a new case for special `fixindent' comments.
9012 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
9014 * progmodes/verilog-mode.el (verilog-type-font-keywords):
9015 Use font-lock-constant-face, not obsolete font-lock-reference-face.
9017 2010-05-27 Masatake YAMATO <yamato@redhat.com>
9019 * htmlfontify.el (hfy-face-resolve-face): New function.
9020 (hfy-face-to-style): Use it (Bug#6279).
9022 2010-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
9024 * progmodes/ada-xref.el (ada-gnat-parse-gpr):
9025 * emulation/edt.el (edt-load-keys): Avoid (expand-file-name ".").
9027 2010-05-26 Glenn Morris <rgm@gnu.org>
9029 * emulation/edt.el (edt-load-keys): Use locate-library.
9031 2010-05-25 Chong Yidong <cyd@stupidchicken.com>
9033 * log-edit.el (log-edit-strip-single-file-name): Default to nil.
9034 (log-edit-changelog-entries): Doc fix.
9035 (log-edit-changelog-insert-entries): Args changed.
9036 Rename relative filenames in ChangeLog entries. Delete tabs.
9037 (log-edit-insert-changelog-entries): Reorganize return value of
9038 `log-edit-changelog-entries' to pass filenames to
9039 log-edit-changelog-insert-entries.
9041 2010-05-25 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9043 * dired.el (dired-mode-map): Rebind "\C-t\C-t" from
9044 `image-dired-dired-insert-marked-thumbs' to
9045 `image-dired-dired-toggle-marked-thumbs'.
9047 * image-dired.el: Require cl when compiling.
9048 (image-dired-dired-toggle-marked-thumbs): Rename from
9049 `image-dired-dired-insert-marked-thumbs'. Add ARG. Doc fix.
9050 Use interactive spec "P". Set LOCALP arg of `dired-get-filename'
9051 to 'no-dir. Skip files whose names don't match
9052 `image-file-name-regexp'. When file has a thumbnail overlay,
9053 delete it. (Bug#5270)
9055 2010-05-25 Juri Linkov <juri@jurta.org>
9057 * image-mode.el (image-mode): Add image-after-revert-hook to
9059 (image-after-revert-hook): New function. (Bug#5669)
9061 2010-05-25 Juri Linkov <juri@jurta.org>
9063 * image.el (image-animated-p): When delay between animated images
9064 is 0, set it to 10 (0.1 sec). (Bug#6258)
9066 2010-05-25 Christian Lynbech <christian.lynbech@tieto.com> (tiny change)
9068 * net/tramp.el (tramp-handle-insert-directory): Don't use
9069 `forward-word', its default syntax could be changed.
9071 2010-05-25 Michael Albinus <michael.albinus@gmx.de>
9073 * net/tramp.el (tramp-progress-reporter-update): New defun.
9074 (with-progress-reporter): Use it.
9075 (tramp-process-actions):
9076 * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion):
9077 Preserve current message, in order to let progress reporter continue
9078 afterwards. (Bug#6257)
9080 2010-05-25 Glenn Morris <rgm@gnu.org>
9082 * net/rcirc.el (rcirc-default-user-name, rcirc-default-full-name):
9085 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
9087 * net/rcirc.el (rcirc-default-user-name): Change to "user".
9088 (rcirc-default-full-name): Change to "unknown".
9089 (rcirc-user-name-history): Add variable.
9091 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
9092 Jonathan Rockway <jon@jrock.us>
9094 * net/rcirc.el (rcirc-server-alist): Add :pass.
9095 (rcirc): When prompting for connection parameters, also prompt for
9096 username and password.
9097 (rcirc-connect): Take a PASS argument. If PASS is non-nil, send
9098 value to server when connecting.
9100 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9102 * emacs-lisp/smie.el (smie-set-prec2tab): Check override before use.
9103 (smie-merge-prec2s): Pass the tables as separate args.
9104 (smie-bnf-precedence-table): Adjust call accordingly.
9105 (smie-prec2-levels): Set levels at the end.
9107 Replace Lisp calls to delete-backward-char by delete-char.
9108 * bs.el, expand.el, ido.el, image-dired.el, lpr.el, pcomplete.el,
9109 * skeleton.el, term.el, time.el, wid-edit.el, woman.el,
9110 * calc/calc-graph.el, calc/calc-help.el, calc/calc-incom.el,
9111 * calc/calc.el, emacs-lisp/cl-extra.el, emacs-lips/cl-loaddefs.el,
9112 * emulation/cua-rect.el, emulation/viper-ex.el, eshell/esh-test.el,
9113 * eshell/eshell.el, gnus/gnus-uu.el, gnus/nndoc.el, gnus/nnrss.el,
9114 * gnus/rfc2047.el, gnus/utf7.el, international/utf-7.el,
9115 * language/ethio-util.el, mh-e/mh-alias.el, mh-e/mh-search.el,
9116 * net/imap.el, net/rcirc.el, obsolete/complete.el, play/decipher.el,
9117 * progmodes/ada-mode.el, progmodes/cc-awk.el, progmodes/dcl-mode.el,
9118 * progmodes/ps-mode.el, progmodes/verilog-mode.el,
9119 * progmodes/vhdl-mode.el, textmodes/bibtex.el, textmodes/fill.el,
9120 * textmodes/reftex-auc.el, textmodes/rst.el, textmodes/sgml-mode.el,
9121 * textmodes/table.el, textmodes/texinfmt.el: Replace Lisp calls to
9122 delete-backward-char by calls to delete-char.
9124 2010-05-25 Kenichi Handa <handa@m17n.org>
9126 * language/hebrew.el (hebrew-shape-gstring): New function.
9127 Register it in composition-function-table for all Hebrew combining
9130 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9132 * epa.el (epa--select-keys): Don't explicitly delete the window since
9133 that can fail (e.g. sole window in frame). Use dedication instead.
9135 2010-05-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
9137 * textmodes/fill.el (fill-region): Don't fill past the end (bug#6201).
9139 2010-05-22 Chong Yidong <cyd@stupidchicken.com>
9141 * image.el (image-refresh): Define as an alias for image-flush.
9143 * image-mode.el (image-toggle-display-image): Caller changed.
9145 2010-05-21 Juri Linkov <juri@jurta.org>
9147 * progmodes/grep.el (grep-read-files): Fix multi-pattern aliases.
9148 Remove "all" from grep-files-aliases. Split grep-files-aliases by
9149 whitespace, call wildcard-to-regexp on substrings and concat them
9150 with "\\|". (Bug#6114)
9152 2010-05-21 Alan Mackenzie <acm@muc.de>
9154 * progmodes/cc-engine.el (c-parse-state-get-strategy):
9155 Replace parameter `here' with `here-' and `here-plus', which sandwich
9156 any pertinent CPP construct.
9157 (c-remove-stale-state-cache-backwards): Fix a bug which happens
9158 when doing (c-parse-state) in a CPP construct: Exclude any "new"
9159 CPP construct from taking part in the scanning.
9161 2010-05-21 Michael Albinus <michael.albinus@gmx.de>
9163 * net/tramp.el (tramp-do-copy-or-rename-file)
9164 (tramp-handle-file-local-copy, tramp-maybe-open-connection):
9165 Tune `with-progress-reporter' messages.
9166 (tramp-handle-vc-registered):
9167 * net/tramp-fish.el (tramp-fish-handle-file-local-copy)
9168 (tramp-fish-handle-insert-file-contents)
9169 (tramp-fish-maybe-open-connection):
9170 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
9171 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file)
9172 (tramp-imap-handle-insert-file-contents)
9173 (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
9175 2010-05-21 Juanma Barranquero <lekktu@gmail.com>
9177 * add-log.el (change-log-font-lock-keywords):
9178 Highlight all authors in multi-author entries.
9180 * smerge-mode.el (smerge-refine-ignore-whitespace)
9181 (smerge-refine-weight-hack, smerge-refine, smerge-makeup-conflict):
9182 Fix typos in docstrings.
9183 (smerge-resolve, smerge-refine-subst): Reflow docstrings.
9185 2010-05-21 Glenn Morris <rgm@gnu.org>
9187 * progmodes/fortran.el (fortran-mode):
9188 * progmodes/f90.el (f90-mode): Derive from prog-mode.
9190 * loadup.el [CANNOT_DUMP]: Update for bootstrap-emacs no longer
9191 having a relative path in src/Makefile.in.
9193 2010-05-20 Kevin Ryde <user42@zip.com.au>
9195 * help-mode.el (help-make-xrefs): For Info node links turn
9196 newlines into spaces. Link node names with newlines are matched
9197 by help-xref-info-regexp and buttonized, this change ensures they
9198 can be followed successfully with RET. (Bug#6206)
9200 2010-05-20 Juri Linkov <juri@jurta.org>
9202 * locate.el (locate): Use pop-to-buffer instead of
9203 switch-to-buffer-other-window. (Bug#6204)
9205 2010-05-20 Juri Linkov <juri@jurta.org>
9207 * replace.el (replace-highlight): Fix lazy-highlighting
9208 for `M-s w str M-% str RET'.
9210 2009-12-15 Masatake YAMATO <yamato@redhat.com>
9212 * isearch.el (isearch-yank-word-or-char): Pull next subword
9213 when `subword-mode' is activated. (Bug#6220)
9215 2010-05-20 Mark A. Hershberger <mah@everybody.org>
9217 * isearch.el (isearch-update-post-hook): New hook.
9218 (isearch-update): Use the new hook. (Bug#6225)
9220 2010-05-20 Juri Linkov <juri@jurta.org>
9222 * isearch.el (isearch-mode-map): Bind more keys to isearch-help-map:
9223 [f1], [help], and (char-to-string help-char) instead of "\C-h".
9226 2010-05-20 Juri Linkov <juri@jurta.org>
9228 * isearch.el (isearch-yank-string): Use isearch-process-search-string.
9231 2010-05-20 Juri Linkov <juri@jurta.org>
9233 * dired-x.el (dired-jump, dired-jump-other-window): Add arg
9234 FILE-NAME to read from the minibuffer when called interactively
9235 with prefix argument instead of using buffer-file-name.
9236 http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00534.html
9238 * dired.el: Update autoloads.
9240 2010-05-20 Chong Yidong <cyd@stupidchicken.com>
9242 * nxml/nxml-mode.el (nxml-mode-map): Bind C-c / to
9243 nxml-finish-element, for consistency with SGML mode.
9245 * progmodes/octave-mod.el (octave-mode-map): Bind C-c / to
9248 2010-05-20 Juanma Barranquero <lekktu@gmail.com>
9250 * composite.el: Require cl when compiling.
9251 (reference-point-alist, compose-gstring-for-graphic)
9252 (compose-gstring-for-terminal): Fix typos in docstrings.
9254 2010-05-19 Juri Linkov <juri@jurta.org>
9256 * emacs-lisp/cl-macs.el (window-parameter): Add defsetf with
9257 set-window-parameter.
9259 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
9261 * net/tramp.el (tramp-methods): Add `tramp-async-args' attribute
9263 (tramp-maybe-open-connection): Use it.
9265 2010-05-19 Eli Zaretskii <eliz@gnu.org>
9267 * simple.el (move-end-of-line): Make sure we are at line beginning
9268 before backing up to end of previous line.
9270 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
9272 * password-cache.el (password-cache-remove): Fix docstring.
9274 * net/secrets.el: Autoload the widget functions.
9275 (secrets-search-items, secrets-create-item)
9276 (secrets-get-attributes, secrets-expand-item): Attributes will be
9277 stored on the password database without leading ":", as all other
9279 (secrets-mode): Fix docstring.
9280 (secrets-show-secrets): Provide it as autoloaded command only when
9281 D-Bus support is available. Check existence of Secret Service API.
9283 2010-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
9285 * indent.el (indent-region): Deactivate region (bug#6200).
9287 2010-05-19 Glenn Morris <rgm@gnu.org>
9289 * vc-dir.el (vc-dir): Don't pop-up-windows. (Bug#6204)
9291 2010-05-19 Kenichi Handa <handa@m17n.org>
9293 * composite.el: Register compose-gstring-for-graphic in
9294 composition-function-table only for combining characters (Mn, Mc, Me).
9296 2010-05-18 Jay Belanger <jay.p.belanger@gmail.com>
9298 * calc/calc-trail.el (calc-trail-isearch-forward)
9299 (calc-trail-isearch-backward): Ensure that the new window
9300 point is set correctly.
9302 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
9304 * subr.el (read-quoted-char): Resolve modifiers after key
9305 remapping (bug#6212).
9307 2010-05-18 Michael Albinus <michael.albinus@gmx.de>
9309 Add visualization code for secrets.
9310 * net/secrets.el (secrets-mode): New major mode.
9311 (secrets-show-secrets, secrets-show-collections)
9312 (secrets-expand-collection, secrets-expand-item)
9313 (secrets-tree-widget-after-toggle-function)
9314 (secrets-tree-widget-show-password): New defuns.
9316 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
9318 * emacs-lisp/smie.el (smie-next-sexp): Break inf-loop at BOB.
9319 (smie-backward-sexp, smie-forward-sexp): Remove boundary condition now
9320 handled in smie-next-sexp.
9321 (smie-indent-calculate): Provide a starting indentation (so the
9322 recursion is well-founded ;-).
9324 Fix handling of non-associative equal levels.
9325 * emacs-lisp/smie.el (smie-prec2-levels): Choose distinct levels even
9326 when it's not needed.
9327 (smie-op-left, smie-op-right): New functions.
9328 (smie-next-sexp): New function, extracted from smie-backward-sexp.
9329 Better handle equal levels to distinguish the associative case from
9330 the "multi-keyword construct" case.
9331 (smie-backward-sexp, smie-forward-sexp): Use it.
9333 2010-05-18 Juanma Barranquero <lekktu@gmail.com>
9335 * progmodes/prolog.el (smie-indent-basic): Declare for byte-compiler.
9337 * emacs-lisp/smie.el (smie-precs-precedence-table, smie-backward-sexp)
9338 (smie-forward-sexp, smie-indent-calculate): Fix typos in docstrings.
9340 2010-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
9342 Provide a simple generic indentation engine and use it for Prolog.
9343 * emacs-lisp/smie.el: New file.
9344 * progmodes/prolog.el (prolog-smie-op-levels)
9345 (prolog-smie-indent-rules): New var.
9346 (prolog-mode-variables): Use them to configure SMIE.
9347 (prolog-indent-line, prolog-indent-level): Remove.
9349 2010-05-17 Jay Belanger <jay.p.belanger@gmail.com>
9351 * calc/calc-vec.el (math-vector-avg): Put the vector elements in
9352 order before computing the averages.
9354 2010-05-16 Jay Belanger <jay.p.belanger@gmail.com>
9356 * calc/calc-vec.el (calc-histogram):
9357 (calcFunc-histogram): Allow vectors as inputs.
9358 (math-vector-avg): New function.
9360 * calc/calc-ext.el (math-group-float): Have the number of digits
9361 being grouped depend on the radix (Bug#6189).
9363 2010-05-15 Ken Raeburn <raeburn@raeburn.org>
9365 * version.el (emacs-copyright, emacs-version): Don't define here,
9366 now that emacs.c defines it.
9368 2010-05-15 Eli Zaretskii <eliz@gnu.org>
9370 * international/mule-cmds.el (mule-menu-keymap): Fix definition of
9371 "Describe Language Environment" menu item.
9373 * language/hebrew.el ("Hebrew", "Windows-1255"): Doc fix.
9375 Bidi-sensitive movement with arrow keys.
9376 * subr.el (right-arrow-command, left-arrow-command): New functions.
9378 * bindings.el (global-map): Bind them to right and left arrow keys.
9380 Don't override standard definition of convert-standard-filename.
9381 * files.el (convert-standard-filename):
9382 Call w32-convert-standard-filename and dos-convert-standard-filename on
9383 the corresponding systems.
9385 * w32-fns.el (w32-convert-standard-filename): Rename from
9386 convert-standard-filename. Doc fix.
9388 * dos-fns.el (dos-convert-standard-filename): Doc fix.
9389 (convert-standard-filename): Don't defalias.
9390 (register-name-alist, make-register, register-value)
9391 (set-register-value, intdos): Obsolete aliases for the
9392 corresponding dos-* functions and variables.
9393 (dos-intdos): Add a doc string.
9395 2010-05-15 Jay Belanger <jay.p.belanger@gmail.com>
9397 * calc/calc-aent.el (math-read-token, math-find-user-tokens):
9398 * calc/calc-lang.el (math-read-big-rec, math-lang-read-symbol):
9399 (math-compose-tex-func):
9400 * calc/calccomp.el (math-compose-expr):
9401 * calc/calc-ext.el (math-format-flat-expr-fancy):
9402 * calc/calc-store.el (calc-read-var-name):
9403 * calc/calc-units.el (calc-explain-units-rec): Allow Greek letters.
9405 * calc/calc.el (var-π, var-φ, var-γ): New variables.
9406 * calc/calc-aent.el (math-read-replacement-list): Add "micro" symbol.
9407 * calc/calc-units.el (math-unit-prefixes): Add mu for micro.
9408 (math-standard-units): Add units.
9410 2010-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
9412 * progmodes/asm-mode.el (asm-mode):
9413 * progmodes/prolog.el (prolog-mode): Use define-derived-mode.
9415 * pcomplete.el (pcomplete-completions-at-point): New function,
9416 extracted from pcomplete-std-complete.
9417 (pcomplete-std-complete): Use it.
9419 2010-05-15 Glenn Morris <rgm@gnu.org>
9421 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
9422 Remove references to CVS, RCS and Old directories.
9424 2010-05-14 Jay Belanger <jay.p.belanger@gmail.com>
9426 * calc/calc-bin.el (math-format-twos-complement): Group digits when
9429 2010-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
9431 * progmodes/sh-script.el (sh-mode-default-syntax-table): Remove.
9432 (sh-mode-syntax-table): Give it a default value instead.
9433 (sh-header-marker): Make buffer-local.
9434 (sh-mode): Move make-local-variable to the corresponding setq.
9435 (sh-add-completer): Avoid gratuitously let-binding a buffer-local var.
9436 Use complete-with-action.
9438 * simple.el (prog-mode): New (abstract) major mode.
9439 * emacs-lisp/lisp-mode.el (emacs-lisp-mode, lisp-mode): Use it.
9440 * progmodes/sh-script.el (sh-mode): Remove redundant var assignment.
9442 2010-05-14 Juanma Barranquero <lekktu@gmail.com>
9444 * progmodes/sql.el (sql-oracle-program): Reflow docstring.
9445 (sql-oracle-scan-on, sql-sybase-program, sql-product-font-lock)
9446 (sql-add-product-keywords, sql-highlight-product, sql-set-product)
9447 (sql-make-alternate-buffer-name, sql-placeholders-filter)
9448 (sql-escape-newlines-filter, sql-input-sender)
9449 (sql-send-magic-terminator, sql-sybase): Fix typos in docstrings.
9451 2010-05-13 Chong Yidong <cyd@stupidchicken.com>
9453 Add TeX open-block and close-block keybindings to SGML, and vice versa.
9455 * textmodes/tex-mode.el (tex-mode-map): Bind C-c C-t to
9456 latex-open-block and C-c / to latex-close-block.
9458 * textmodes/sgml-mode.el (sgml-mode-map): Bind C-c C-o to sgml-tag
9459 and C-c C-e to sgml-close-tag.
9461 2010-05-13 Michael Albinus <michael.albinus@gmx.de>
9463 * net/tramp.el (with-progress-reporter): Create reporter object
9464 only when the message would be displayed. Handle nested calls.
9465 (tramp-handle-load, tramp-handle-file-local-copy)
9466 (tramp-handle-insert-file-contents, tramp-handle-write-region)
9467 (tramp-maybe-send-script, tramp-find-shell):
9468 Use `with-progress-reporter'.
9469 (tramp-handle-dired-compress-file, tramp-maybe-open-connection):
9472 * net/tramp-smb.el (tramp-smb-handle-copy-file)
9473 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
9474 (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
9475 Use `with-progress-reporter'.
9477 2010-05-13 Agustín Martín <agustin.martin@hispalinux.es>
9479 * textmodes/ispell.el (ispell-init-process): Do not kill ispell
9480 process everytime when spellchecking from the minibuffer (bug#6143).
9482 2010-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
9484 * progmodes/sh-script.el (sh-mode): Use define-derived-mode.
9486 * dos-fns.el: Add "dos-" prefix for namespace control.
9487 (convert-standard-filename): Define as alias for
9488 dos-convert-standard-filename but only if applicable.
9490 2010-05-12 Alan Mackenzie <acm@muc.de>
9492 * progmodes/cc-cmds.el (c-beginning-of-defun, c-end-of-defun):
9493 Push the mark at the start of these functions when appropriate.
9495 2010-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
9497 * minibuffer.el (completion-cycle-threshold): New custom var.
9498 (completion--do-completion): Use it.
9499 (minibuffer-complete): Use cycling if appropriate.
9501 2010-05-11 Juanma Barranquero <lekktu@gmail.com>
9503 * dirtrack.el (dirtrackp): Remove defcustom; don't make automatically
9504 buffer-local (it's an obsolete alias for `dirtrack-mode') (bug#6173).
9506 2010-05-11 Juri Linkov <juri@jurta.org>
9508 * scroll-all.el (scroll-all-check-to-scroll):
9509 Add `scroll-up-command' and `scroll-down-command' (bug#6164).
9511 2010-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
9513 * iimage.el (iimage-mode-map): Move initialization into declaration.
9514 (iimage-mode-buffer): Use with-silent-modifications.
9515 Simplify calling convention. Adjust callers.
9516 (iimage-mode): Don't run hook redundantly.
9518 * minibuffer.el (completion-pcm--pattern->regex):
9519 Fix last change (bug#6160).
9521 2010-05-10 Juri Linkov <juri@jurta.org>
9523 Remove nodes visited during Isearch from the Info history.
9524 * info.el (Info-isearch-initial-history)
9525 (Info-isearch-initial-history-list): New variables.
9526 (Info-isearch-start): Record initial values of
9527 Info-isearch-initial-history and Info-isearch-initial-history-list.
9528 Add Info-isearch-end to isearch-mode-end-hook.
9529 (Info-isearch-end): New function.
9531 2010-05-10 Michael Albinus <michael.albinus@gmx.de>
9533 * net/tramp.el (tramp-do-file-attributes-with-stat): Add space in
9534 format string, in order to work around a bug in pdksh.
9535 Reported by Gilles Pion <gpion@lfdj.com>.
9536 (tramp-handle-verify-visited-file-modtime): Do not send a command
9537 when the connection is not established.
9538 (tramp-handle-set-file-times): Simplify the check for utc.
9540 2010-05-10 Juanma Barranquero <lekktu@gmail.com>
9542 Fix use of `filter-buffer-substring' (rework previous change).
9543 * emulation/cua-base.el (cua--filter-buffer-noprops): New function.
9544 (cua-repeat-replace-region):
9545 * emulation/cua-rect.el (cua--extract-rectangle, cua-incr-rectangle):
9546 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
9547 (cua-cut-region-to-global-mark): Use it.
9549 2010-05-09 Michael R. Mauger <mmaug@yahoo.com>
9551 * progmodes/sql.el: Version 2.1.
9552 (sql-product-alist): Redesign structure of product info.
9553 (sql-product, sql-user, sql-server, sql-database): Safe variables.
9554 (sql-port, sql-port-history): New variables.
9555 (sql-interactive-product): New variable.
9556 (sql-send-terminator): New variable.
9557 (sql-imenu-generic-expression): Add "Types" imenu entry.
9558 (sql-oracle-login-params, sql-sqlite-login-params)
9559 (sql-mysql-login-params, sql-solid-login-params)
9560 (sql-sybase-login-params, sql-informix-login-params)
9561 (sql-ingres-login-params, sql-ms-login-params)
9562 (sql-postgres-login-params, sql-interbase-login-params)
9563 (sql-db2-login-params, sql-linter-login-params)
9564 (sql-oracle-scan-on): New variables.
9565 (sql-mode-map): Add C-c C-i to start interactive mode.
9566 (sql-mode-menu): Update existing menu entries.
9567 (sql-font-lock-keywords-builder): Compile-time font-lock optimization.
9568 (sql-mode-oracle-font-lock-keywords)
9569 (sql-mode-postgres-font-lock-keywords)
9570 (sql-mode-ms-font-lock-keywords)
9571 (sql-mode-sybase-font-lock-keywords)
9572 (sql-mode-informix-font-lock-keywords)
9573 (sql-mode-interbase-font-lock-keywords)
9574 (sql-mode-ingres-font-lock-keywords)
9575 (sql-mode-solid-font-lock-keywords)
9576 (sql-mode-mysql-font-lock-keywords)
9577 (sql-mode-sqlite-font-lock-keywords)
9578 (sql-mode-db2-font-lock-keywords)
9579 (sql-mode-linter-font-lock-keywords): Update initialization to
9580 reduce run-time complexity.
9581 (sql-add-product, sql-del-product): New functions.
9582 (sql-set-product-feature, sql-get-product-feature): New functions.
9583 (sql-product-font-lock): Update product API.
9584 (sql-add-product-keywords): New function.
9585 (sql-highlight-product): Update product API.
9586 (sql-help-list-products): New function.
9587 (sql-help): Dynamically lists free and non-free products.
9588 (sql-get-login): Correct bug in handling history and added
9590 (sql-copy-column): Copy without properties.
9591 (sqli-input-sender): Apply filters to SQLi input.
9592 (sql-query-placeholders-and-send): Obey `sql-oracle-scan-on' setting.
9593 Implement as a filter.
9594 (sql-escape-newlines-filter): Implement as a filter.
9595 (sql-remove-tabs-filter): New function.
9596 (sql-send-magic-terminator): New function.
9597 (sql-send-string): Implement magic terminator.
9598 (sql-send-region): Use `sql-send-string'.
9599 (sql-interactive-mode): Use product API.
9600 (sql-product-interactive): Use product API.
9601 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
9602 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
9603 (sql-db2, sql-linter): Use `sql-product-interactive'.
9604 (sql-connect): New function.
9605 (sql-connect-oracle, sql-connect-sybase, sql-connect-informix)
9606 (sql-connect-sqlite, sql-connect-mysql, sql-connect-solid)
9607 (sql-connect-ingres, sql-connect-ms, sql-connect-postgres)
9608 (sql-connect-interbase, sql-connect-db2, sql-connect-linter):
9611 2010-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
9613 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
9614 New custom variable.
9615 (completion-pcm--string->pattern): Use it.
9616 (completion-pcm--pattern->regex, completion-pcm--pattern->string):
9617 Make it handle any symbol as `any'.
9618 (completion-pcm--merge-completions): Extract common suffix for the new
9619 `prefix' symbol as well.
9620 (completion-substring--all-completions): Use the new `prefix' symbol.
9622 2010-05-09 Michael Albinus <michael.albinus@gmx.de>
9624 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Define if
9626 (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
9627 (tramp-compat-funcall): New defmacro.
9628 (tramp-compat-line-beginning-position)
9629 (tramp-compat-line-end-position)
9630 (tramp-compat-temporary-file-directory)
9631 (tramp-compat-make-temp-file, tramp-compat-file-attributes)
9632 (tramp-compat-copy-file, tramp-compat-copy-directory)
9633 (tramp-compat-delete-file, tramp-compat-delete-directory)
9634 (tramp-compat-number-sequence, tramp-compat-process-running-p)
9635 * net/tramp.el (top, with-progress-reporter)
9636 (tramp-rfn-eshadow-setup-minibuffer)
9637 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
9638 (tramp-handle-dired-compress-file, tramp-handle-shell-command)
9639 (tramp-completion-mode-p, tramp-check-for-regexp)
9640 (tramp-open-connection-setup-interactive-shell)
9641 (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
9642 (tramp-time-diff, tramp-coding-system-change-eol-conversion)
9643 (tramp-set-process-query-on-exit-flag, tramp-unload-tramp)
9644 * net/tramp-cmds.el (tramp-cleanup-all-connections)
9645 (tramp-reporter-dump-variable, tramp-load-report-modules)
9646 (tramp-append-tramp-buffers)
9647 * net/tramp-gvfs.el (tramp-gvfs-handle-file-selinux-context): Use it.
9649 * net/tramp-imap.el (top): Autoload `epg-make-context'.
9651 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9653 * progmodes/compile.el (compilation-buffer-modtime): Rename from
9654 buffer-modtime. Adjust users.
9656 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
9658 * international/mule.el (auto-coding-alist): Only purecopy
9659 car of each item, not the whole list (Bug#6083).
9661 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
9663 * progmodes/js.el (js-mode): Make paragraph variables local before
9664 calling c-setup-paragraph-variables (Bug#6071).
9666 2010-05-08 Eli Zaretskii <eliz@gnu.org>
9668 * composite.el (compose-region, reference-point-alist): Fix typos
9671 2010-05-08 Alexander Klimov <alserkli@inbox.ru> (tiny change)
9673 * calc/calc-graph.el (calc-graph-plot): Use the proper form for
9674 gnuplot's "set" command.
9676 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
9678 * abbrev.el (last-abbrev-text): Doc fix.
9679 (abbrev-prefix-mark): Don't escape parenthesis.
9681 2010-05-08 Andreas Schwab <schwab@linux-m68k.org>
9683 * composite.el (find-composition): Doc fix.
9685 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
9687 * progmodes/sql.el (sql-electric-stuff): Fix typo in tag.
9688 (sql-oracle-program, sql-sqlite-options)
9689 (sql-query-placeholders-and-send): Doc fixes.
9690 (sql-set-product, sql-interactive-mode): Reflow docstrings.
9691 (sql-imenu-generic-expression, sql-buffer)
9692 (sql-mode-ansi-font-lock-keywords, sql-mode-oracle-font-lock-keywords)
9693 (sql-mode-postgres-font-lock-keywords, sql-mode-ms-font-lock-keywords)
9694 (sql-mode-sybase-font-lock-keywords)
9695 (sql-mode-informix-font-lock-keywords)
9696 (sql-mode-interbase-font-lock-keywords)
9697 (sql-mode-ingres-font-lock-keywords, sql-mode-solid-font-lock-keywords)
9698 (sql-mode-mysql-font-lock-keywords, sql-mode-sqlite-font-lock-keywords)
9699 (sql-mode-db2-font-lock-keywords, sql-mode-font-lock-keywords)
9700 (sql-product-feature, sql-highlight-product)
9701 (comint-line-beginning-position, sql-rename-buffer)
9702 (sql-toggle-pop-to-buffer-after-send-region sql-oracle)
9703 (sql-sybase, sql-informix, sql-sqlite, sql-mysql, sql-solid)
9704 (sql-ingres, sql-ms, sql-postgres, sql-interbase, sql-db2, sql-linter):
9705 Fix typos in docstrings.
9707 2010-05-08 Juri Linkov <juri@jurta.org>
9709 * info.el (Info-fontify-node): Put Info-breadcrumbs to the `display'
9710 property instead of `invisible' and `after-string' (bug#5998).
9712 2010-05-08 Juri Linkov <juri@jurta.org>
9714 * image-mode.el (image-mode-as-text): Fix typo in docstring.
9716 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
9718 * filecache.el (file-cache-add-directory-list)
9719 (file-cache-add-directory-recursively): Fix typos in docstrings.
9721 2010-05-08 Kenichi Handa <handa@m17n.org>
9723 * language/indian.el (gurmukhi-composable-pattern): Fix typo.
9724 (gujarati-composable-pattern): Fix typo.
9726 2010-05-08 Kenichi Handa <handa@m17n.org>
9728 * language/indian.el (oriya-composable-pattern)
9729 (tamil-composable-pattern, malayalam-composable-pattern):
9730 Add two-part vowels to "v" (vowel sign).
9732 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
9734 * files.el (copy-directory): Handle symlinks (Bug#5982).
9736 2010-05-08 Dan Nicolaescu <dann@ics.uci.edu>
9738 * vc-hg.el (vc-hg-state): Use HGRCPATH, not HGRC.
9739 (vc-hg-working-revision): Likewise. Use hg parents, not hg parent
9742 2010-05-08 Glenn Morris <rgm@gnu.org>
9744 * emacs-lisp/lisp.el (lisp-completion-at-point): Give it a doc string.
9746 * minibuffer.el (completion-at-point): Doc fix.
9748 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9750 * electric.el (Electric-command-loop): Minor tweak.
9752 * ebuff-menu.el (electric-buffer-list): Try and make it behave a bit
9753 better with dedicated windows.
9755 2010-05-07 Chong Yidong <cyd@stupidchicken.com>
9757 * Version 23.2 released.
9759 2010-05-07 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
9760 Stefan Monnier <monnier@iro.umontreal.ca>
9762 Highlight vendor specific properties.
9763 * textmodes/css-mode.el (css-proprietary-nmstart-re): New var.
9764 (css-proprietary-property): New face.
9765 (css-font-lock-keywords): Use them.
9767 2010-05-07 Eli Zaretskii <eliz@gnu.org>
9769 * cus-start.el (all): Add native condition for tool-bar-* symbols.
9771 2010-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
9773 * textmodes/dns-mode.el (auto-mode-alist): Add entry for .zone files.
9774 * files.el (auto-mode-alist): Remove redundant entries.
9776 * files.el (auto-save-mode): Move to simple.el to fix bootstrap.
9777 * simple.el (auto-save-mode): Move from files.el.
9778 * minibuffer.el (completion--common-suffix): Fix copy&paste error.
9780 2010-05-07 Christian von Roques <roques@mti.ag> (tiny change)
9782 * epg.el (epg-key-capablity-alist): Add "D" flag (Bug#5592).
9784 2010-05-07 Katsumi Yamaoka <yamaoka@jpl.org>
9786 * mail/binhex.el (binhex-decode-region-internal)
9787 * mail/uudecode.el (uudecode-decode-region-internal)
9788 * net/dns.el (dns-read-string-name, dns-write, dns-read)
9789 (dns-read-type, dns-query)
9790 * pgg-parse.el (pgg-parse-armor)
9791 * pgg.el (pgg-verify-region)
9792 * sha1.el (sha1-string-external): Don't run set-buffer-multibyte for
9795 * net/imap.el (imap-disable-multibyte): Redefine it as a macro.
9797 2010-05-07 Juanma Barranquero <lekktu@gmail.com>
9799 * progmodes/cperl-mode.el (cperl-mode-unload-function): New function.
9801 Fix use of `filter-buffer-substring' (4th arg NOPROPS removed).
9802 * emulation/cua-base.el (cua-repeat-replace-region):
9803 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
9804 (cua-cut-region-to-global-mark):
9805 Remove text properties with `set-text-properties'.
9807 2010-05-06 Michael Albinus <michael.albinus@gmx.de>
9809 * net/tramp.el (top, with-progress-reporter):
9810 Use `symbol-function' inside `funcall'.
9812 * net/tramp-compat.el (tramp-compat-file-attributes)
9813 (tramp-compat-delete-file, tramp-compat-delete-directory):
9814 Handle only `wrong-number-of-arguments' error.
9816 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Fix typo.
9817 (tramp-gvfs-handle-file-selinux-context): Use `symbol-function'
9820 2010-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9822 * minibuffer.el (completion--sreverse, completion--common-suffix):
9824 (completion-pcm--merge-completions): Extract common suffix when safe.
9826 * emacs-lisp/easy-mmode.el (define-minor-mode):
9827 Make :variable more flexible.
9828 * files.el (auto-save-mode): Use it to define using define-minor-mode.
9830 2010-05-05 Juri Linkov <juri@jurta.org>
9832 Add `slow' and `history' tags to the desktop data.
9834 * info.el (Info-virtual-nodes) [*Index*]: Add `slow' tag.
9835 (Info-virtual-files) [*Apropos*]: Add `slow' tag.
9836 (Info-finder-find-node): Require `finder.el' to be able
9837 to restore node from the desktop.
9838 (Info-desktop-buffer-misc-data): Save all nodes. Save additional
9839 data `Info-history' and `slow' tag in the assoc list.
9840 (Info-restore-desktop-buffer): Don't restore nodes with the
9841 `slow' tag. Restore `Info-history'.
9843 2010-05-05 Michael Albinus <michael.albinus@gmx.de>
9845 Add FORCE argument to `delete-file'.
9847 * net/ange-ftp.el (ange-ftp-del-tmp-name): Make it a defun,
9848 forcing to delete the temporary file.
9849 (ange-ftp-delete-file): Add FORCE arg.
9850 (ange-ftp-rename-remote-to-remote)
9851 (ange-ftp-rename-local-to-remote, ange-ftp-rename-remote-to-local)
9852 (ange-ftp-load, ange-ftp-compress, ange-ftp-uncompress):
9853 Force file deletion.
9855 * net/tramp-compat.el (tramp-compat-delete-file): New defun.
9857 * net/tramp.el (tramp-handle-delete-file): Add FORCE arg.
9858 (tramp-handle-make-symbolic-link, tramp-handle-load)
9859 (tramp-do-copy-or-rename-file-via-buffer)
9860 (tramp-do-copy-or-rename-file-directly)
9861 (tramp-do-copy-or-rename-file-out-of-band)
9862 (tramp-handle-process-file, tramp-handle-call-process-region)
9863 (tramp-handle-shell-command, tramp-handle-file-local-copy)
9864 (tramp-handle-insert-file-contents, tramp-handle-write-region)
9865 (tramp-delete-temp-file-function): Use `tramp-compat-delete-file'.
9867 * net/tramp-fish.el (tramp-fish-handle-delete-file): Add FORCE arg.
9868 (tramp-fish-handle-make-symbolic-link)
9869 (tramp-fish-handle-process-file): Use `tramp-compat-delete-file'.
9871 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
9872 Use `tramp-compat-delete-file'.
9874 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Add FORCE arg.
9875 (tramp-gvfs-handle-write-region): Use `tramp-compat-delete-file'.
9877 * net/tramp-imap.el (tramp-imap-handle-delete-file): Add FORCE arg.
9878 (tramp-imap-do-copy-or-rename-file): Use `tramp-compat-delete-file'.
9880 * net/tramp-smb.el (tramp-smb-handle-delete-file): Add FORCE arg.
9881 (tramp-smb-handle-copy-file, tramp-smb-handle-file-local-copy)
9882 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
9883 Use `tramp-compat-delete-file'.
9885 2010-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
9888 * subr.el (add-minor-mode): Use push.
9889 * mail/supercite.el (sc-electric-mode): Use more descriptive arg name.
9890 * emulation/edt.el (edt-select-mode): Simplify.
9892 Use define-minor-mode in more cases.
9893 * term/tvi970.el (tvi970-set-keypad-mode):
9894 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
9895 (normal-erase-is-backspace-mode):
9896 * scroll-bar.el (scroll-bar-mode): Use it and define-minor-mode.
9897 (set-scroll-bar-mode-1): (Re)move to its sole caller.
9898 (get-scroll-bar-mode): New function.
9899 * emacs-lisp/cl-macs.el (eq): Handle a non-variable first arg.
9901 Use define-minor-mode for less obvious cases.
9902 * emacs-lisp/easy-mmode.el (define-minor-mode): Add :variable keyword.
9903 * emacs-lisp/cl-macs.el (terminal-parameter, eq): Add setf method.
9904 * international/iso-ascii.el (iso-ascii-mode):
9905 * frame.el (auto-raise-mode, auto-lower-mode):
9906 * composite.el (global-auto-composition-mode): Use define-minor-mode.
9908 2010-05-04 Michael Albinus <michael.albinus@gmx.de>
9910 * net/tramp.el (tramp-methods): Remove "-q" from `tramp-login-args'
9911 in order to see error messages for failed logins.
9913 2010-05-03 Chong Yidong <cyd@stupidchicken.com>
9915 * diff.el (diff-sentinel):
9917 * epg.el (epg--make-temp-file, epg-decrypt-string)
9918 (epg-verify-string, epg-sign-string, epg-encrypt-string):
9920 * jka-compr.el (jka-compr-partial-uncompress)
9921 (jka-compr-call-process, jka-compr-write-region, jka-compr-load):
9923 * server.el (server-sentinel): Use delete-file's new FORCE arg
9926 2010-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
9928 Use define-minor-mode where applicable.
9929 * view.el (view-mode):
9930 * type-break.el (type-break-query-mode)
9931 (type-break-mode-line-message-mode):
9932 * textmodes/reftex.el (reftex-mode):
9933 * term/vt100.el (vt100-wide-mode):
9934 * tar-mode.el (tar-subfile-mode):
9935 * savehist.el (savehist-mode):
9936 * ibuf-ext.el (ibuffer-auto-mode):
9937 * composite.el (auto-composition-mode):
9938 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
9939 Use define-minor-mode.
9940 (vhdl-mode): Use static mode-line format.
9941 (vhdl-mode-line-update): Delete.
9942 (vhdl-create-mode-menu, vhdl-activate-customizations)
9943 (vhdl-hs-minor-mode): Don't bother calling it.
9945 2010-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
9947 * simple.el (with-wrapper-hook): Move.
9948 (buffer-substring-filters): Mark obsolete.
9949 (filter-buffer-substring-functions): New variable.
9950 (filter-buffer-substring): Use it. Remove unused arg `noprops'.
9952 2010-05-01 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
9953 Michael Albinus <michael.albinus@gmx.de>
9955 Implement compression for inline methods.
9957 * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
9958 (tramp-copy-size-limit): Allow also nil.
9959 (tramp-inline-compress-commands): New defconst.
9960 (tramp-find-inline-compress, tramp-get-inline-compress)
9961 (tramp-get-inline-coding): New defuns.
9962 (tramp-get-remote-coding, tramp-get-local-coding): Remove,
9963 replaced by `tramp-get-inline-coding'.
9964 (tramp-handle-file-local-copy, tramp-handle-write-region)
9965 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
9967 2010-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
9969 * bindings.el (mode-line-abbrev-mode, mode-line-auto-fill-mode):
9970 Remove unused functions.
9972 * emacs-lisp/lisp-mode.el (lisp-mode): Use define-derived-mode.
9973 Set find-tag-default-function as a variable rather than a property.
9975 * minibuffer.el (tags-completion-at-point-function): Move to etags.el.
9976 * progmodes/etags.el (tags-completion-at-point-function):
9977 Remove left over interactive spec. Add autoloading stub.
9978 (complete-tag): Use tags-completion-at-point-function.
9980 2010-04-30 Chong Yidong <cyd@stupidchicken.com>
9982 * minibuffer.el (tags-completion-at-point-function): Fix return value.
9984 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
9986 * ido.el (ido-init-completion-maps): Remove C-v binding.
9987 (ido-minibuffer-setup): Don't set cua-inhibit-cua-keys (Bug#5765).
9989 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
9991 * minibuffer.el (tags-completion-at-point-function): New function.
9992 (completion-at-point-functions): Use it.
9994 * progmodes/etags.el (complete-tag): Revert last change.
9996 2010-04-29 Alan Mackenzie <acm@muc.de>
9998 * progmodes/cc-mode.el (c-extend-region-for-CPP): Fix an
9999 off-by-one error (in end of macro position).
10001 2010-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
10003 * net/browse-url.el (browse-url-firefox-program): Use iceweasel if
10004 firefox is absent. Don't autoload.
10005 (browse-url-galeon-program): Don't autoload.
10007 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
10009 * bindings.el (complete-symbol): Move into minibuffer.el.
10011 * minibuffer.el (complete-tag): Move from etags.el. If tags
10012 completion cannot be performed, return nil instead of signalling
10014 (completion-at-point): Make it an alias for complete-symbol.
10015 (complete-symbol): Move from bindings.el, and replace with the
10016 body of completion-at-point.
10018 * progmodes/etags.el (complete-tag): Move to minibuffer.el.
10020 2010-04-28 Michael Albinus <michael.albinus@gmx.de>
10022 * net/tramp.el (tramp-remote-selinux-p): New defun.
10023 (tramp-handle-file-selinux-context)
10024 (tramp-handle-set-file-selinux-context): Use it.
10026 2010-04-28 Sam Steingold <sds@gnu.org>
10028 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
10029 `safe-local-variable' if the value is a string or a symbol with
10030 the property `bug-reference-url-format'.
10032 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
10034 * progmodes/bug-reference.el (bug-reference-url-format):
10035 Revert 2010-04-27 change due to security risk.
10037 2010-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
10039 Make it possible to locally disable a globally enabled mode.
10040 * simple.el (fundamental-mode): Run fundamental-mode-hook.
10041 * emacs-lisp/derived.el (define-derived-mode): Use fundamental-mode
10042 rather than kill-all-local-variables so it runs fundamental-mode-hook.
10043 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10044 Use fundamental-mode-hook to run MODE-enable-in-buffers earlier, so
10045 that subsequent hooks get a chance to disable it.
10047 2010-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
10049 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10050 Avoid re-enabling a minor mode after the user turned the minor mode
10051 off if MODE-enable-in-buffers is run twice (typically once from
10052 fundamental-mode's after-change-major-mode-hook and a second time from
10053 run-mode-hook's own after-change-major-mode-hook).
10055 * emacs-lisp/lisp.el (lisp-complete-symbol): Fail gracefully.
10057 2010-04-27 Sam Steingold <sds@gnu.org>
10059 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
10060 `safe-local-variable' if the value is a string or a function, as
10061 documented and implemented on 2010-04-02.
10063 2010-04-27 Juanma Barranquero <lekktu@gmail.com>
10065 * ido.el (ido-buffer-internal): Bind `ido-use-virtual-buffers' to nil
10066 when method is 'kill.
10068 2010-04-27 Agustín Martín <agustin.martin@hispalinux.es>
10070 * textmodes/ispell.el (ispell-init-process): Fix personal dictionary
10071 condition in default directory check.
10072 (ispell-init-process,ispell-kill-ispell,kill-buffer-hook):
10073 Kill ispell process when killing its associated buffer.
10075 2010-04-27 Jan Djärv <jan.h.d@swipnet.se>
10077 * desktop.el (desktop-kill): ask-if-new: Ask if desktop file exists,
10078 but we aren't using it.
10080 2010-04-25 Jan Djärv <jan.h.d@swipnet.se>
10082 * tool-bar.el (tool-bar-local-item-from-menu): Revert unintended
10083 checkin in 2010-04-23T16:26:11Z!monnier@iro.umontreal.ca.
10085 2010-04-24 Glenn Morris <rgm@gnu.org>
10087 * emacs-lisp/authors.el (authors-obsolete-files-regexps):
10088 Ignore VCS-ignore files, and deleted nextstep preferences files.
10089 (authors-ignored-files): Ignore deleted cedet test files, and "*.el".
10090 (authors-ambiguous-files): New list.
10091 (authors-valid-file-names): Add some deleted files.
10092 (authors-renamed-files-alist): Add font-setting.el, edt-user.doc.
10093 (authors-disambiguate-file-name): New function. (Bug#5501)
10094 (authors-canonical-file-name): Doc fix.
10095 Don't warn about obsolete files.
10096 (authors-canonical-file-name, authors-scan-el):
10097 Use authors-disambiguate-file-name.
10099 * hfy-cmap.el (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
10100 Add autoload cookies.
10101 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values): Add docs.
10102 (generated-autoload-file): Set file-local value to "htmlfontify.el".
10103 * htmlfontify.el (caddr, cadddr): Remove fallback definitions.
10104 They have definitions / compiler macros in cl.el.
10105 (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
10106 Replace manual autoloads with generated ones.
10107 (htmlfontify-unload-rgb-file): Remove autoload.
10108 * Makefile.in (autoloads): Ensure htmlfontify.el is writable.
10110 2010-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
10112 * emacs-lisp/bytecomp.el (byte-compile-set-default): New function.
10113 (byte-compile-setq-default): Optimize for the
10114 single-var case and don't call byte-compile-form in this case to avoid
10115 inf-loop with byte-compile-set-default.
10117 * progmodes/compile.el (compilation-start): Abbreviate default directory.
10119 2010-04-23 Michael Albinus <michael.albinus@gmx.de>
10121 Implement SELINUX backends.
10123 * net/tramp.el (tramp-file-name-handler-alist):
10124 Add `file-selinux-context' and `set-file-selinux-context'.
10125 (tramp-handle-file-selinux-context)
10126 (tramp-handle-set-file-selinux-context): New defuns.
10127 (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
10128 Handle PRESERVE-SELINUX-CONTEXT.
10130 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
10131 Add `file-selinux-context' and `set-file-selinux-context'.
10132 (tramp-gvfs-handle-file-selinux-context)
10133 (tramp-gvfs-handle-set-file-selinux-context): New defuns.
10134 (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
10136 * net/ange-ftp.el (ange-ftp-copy-file):
10137 * net/tramp-fish.el (tramp-fish-handle-copy-file):
10138 * net/tramp-imap.el (tramp-imap-handle-copy-file):
10139 * net/tramp-smb.el (tramp-smb-handle-copy-file):
10140 Add PRESERVE-SELINUX-CONTEXT.
10142 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
10144 Synchronize with Tramp repository.
10146 * net/tramp.el (with-connection-property, tramp-completion-mode-p)
10147 (tramp-action-process-alive, tramp-action-out-of-band)
10148 (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
10149 (tramp-exists-file-name-handler): Fix docstring.
10150 (with-progress-reporter): New defmacro.
10151 (tramp-do-copy-or-rename-file, tramp-handle-dired-compress-file)
10152 (tramp-maybe-open-connection): Use it.
10154 2010-04-22 Noah Lavine <noah549@gmail.com> (tiny change)
10156 Detect ssh 'ControlMaster' argument automatically in some cases.
10158 * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
10159 (tramp-default-method): Use it.
10161 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
10163 * net/tramp.el (tramp-handle-copy-file): Add new optional
10164 parameter `preserve-selinux-context'.
10165 (tramp-file-name-for-operation): Add `set-file-selinux-context'.
10167 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
10169 * net/tramp.el (tramp-completion-handle-file-name-all-completions):
10170 Ensure, that non remote files are still checked. Oops.
10172 2010-04-21 Michael Albinus <michael.albinus@gmx.de>
10176 * icomplete.el (icomplete-completions): Use `non-essential'.
10178 * net/tramp.el (tramp-connectable-p): New defun.
10179 (tramp-handle-expand-file-name)
10180 (tramp-completion-handle-file-name-all-completions)
10181 (tramp-completion-handle-file-name-completion): Use it.
10183 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
10185 * emacs-lisp/lisp.el (lisp-completion-at-point): Try and handle errors.
10187 2010-04-21 Jan Djärv <jan.h.d@swipnet.se>
10189 * vc-dir.el (vc-dir-tool-bar-map): Add :label on some tool bar items.
10191 * tool-bar.el (tool-bar-setup): Add :label on some tool bar items.
10193 * loadup.el: Load dynamic-setting.el if feature dynamic-setting
10196 * info.el (info-tool-bar-map): Add labels.
10198 * cus-start.el (all): Add tool-bar-style and tool-bar-max-label-size.
10200 * cus-edit.el (custom-commands): Add labels for tool bar.
10201 (custom-buffer-create-internal, Custom-mode): Adjust for
10202 labels in custom-commands.
10204 * dynamic-setting.el: Renamed from font-setting.el.
10206 2010-04-21 John Wiegley <jwiegley@gmail.com>
10208 * ido.el (ido-init-completion-maps): For ido-switch-buffer, C-o
10209 toggles the use of virtual buffers.
10210 (ido-buffer-internal): Guard `ido-use-virtual-buffers' global value.
10211 (ido-toggle-virtual-buffers): New function.
10213 2010-04-21 Juanma Barranquero <lekktu@gmail.com>
10215 Use `define-derived-mode'; fix window selection; doc fixes.
10216 * play/tetris.el (tetris, tetris-update-speed-function)
10217 (tetris-tty-colors, tetris-x-colors, tetris-move-bottom)
10218 (tetris-move-left, tetris-move-right, tetris-rotate-prev)
10219 (tetris-rotate-next, tetris-end-game, tetris-start-game)
10220 (tetris-pause-game): Fix typos in docstrings.
10221 (tetris-mode-map, tetris-null-map):
10222 Move initialization into declaration.
10223 (tetris-mode): Define with `define-derived-mode';
10224 set show-trailing-whitespace to nil.
10225 (tetris): Prefer window already displaying the "*Tetris*" buffer.
10227 2010-04-21 Karel Klíč <kklic@redhat.com>
10229 * files.el (backup-buffer): Handle SELinux context, and return it
10230 if a backup was made by renaming.
10231 (backup-buffer-copy): Set SELinux context to the target file.
10232 (basic-save-buffer): Set SELinux context of the newly written file.
10233 (basic-save-buffer-1): Now it also returns any SELinux context.
10234 (basic-save-buffer-2): Set SELinux context of the newly created file,
10236 * net/tramp.el (tramp-file-name-for-operation):
10237 Add file-selinux-context.
10239 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
10241 Make the log-edit comments use RFC822 format throughout.
10243 * vc.el (vc-checkin, vc-modify-change-comment):
10244 Adjust to new vc-start/finish-logentry.
10245 (vc-find-conflicted-file): New command.
10246 (vc-transfer-file): Adjust to new vc-checkin.
10247 (vc-next-action): Improve scoping.
10249 * vc-hg.el (vc-hg-log-edit-mode): Remove.
10250 (vc-hg-checkin): Remove extra arg. Use log-edit-extract-headers.
10252 * vc-git.el (vc-git-log-edit-mode): Remove.
10253 (vc-git-checkin): Remove extra arg. Use log-edit-extract-headers.
10254 (vc-git-commits-coding-system): Rename from git-commits-coding-system.
10256 * vc-dispatcher.el (vc-log-edit): Shorten names for log-edit-show-files.
10257 (vc-start-logentry): Remove argument `extra'.
10258 (vc-finish-logentry): Remove extra args.
10260 * vc-bzr.el (vc-bzr-log-edit-mode): Remove.
10261 (vc-bzr-checkin): Remove extra arg. Use log-edit-extract-headers.
10262 (vc-bzr-conflicted-files): New function.
10264 * log-edit.el (log-edit-extra-flags)
10265 (log-edit-before-checkin-process): Remove.
10266 (log-edit-summary, log-edit-header, log-edit-unknown-header): New faces.
10267 (log-edit-headers-alist): New var.
10268 (log-edit-header-contents-regexp): New const.
10269 (log-edit-match-to-eoh): New function.
10270 (log-edit-font-lock-keywords): Use them.
10271 (log-edit): Insert a "Summary:" header as default.
10272 (log-edit-mode): Mark font-lock rules as case-insensitive.
10273 (log-edit-done): Cleanup headers.
10274 (log-view-process-buffer): Remove.
10275 (log-edit-extract-headers): New function to replace it.
10277 2010-04-20 Juanma Barranquero <lekktu@gmail.com>
10279 * subr.el (default-direction-reversed): Remove obsolescence info.
10281 2010-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
10283 * vc-dispatcher.el (vc-finish-logentry): Don't mess so badly with the
10286 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete around point.
10287 I.e. include text after point in the completion region.
10288 Also, return nil when we're not after/in a symbol.
10290 * international/mule-cmds.el (view-hello-file): Don't fiddle with the
10291 default enable-multibyte-characters.
10293 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
10295 * international/mule.el: Help the user choose a valid coding-system.
10296 (read-buffer-file-coding-system): New function.
10297 (set-buffer-file-coding-system): Use it. Prompt the user if the
10298 coding-system cannot encode all the chars.
10300 * vc-bzr.el: Use standard *vc* and *vc-diff* buffers.
10301 (vc-bzr-shelve-show, vc-bzr-shelve-apply)
10302 (vc-bzr-shelve-apply-and-keep, vc-bzr-shelve-snapshot):
10303 Don't use *vc-bzr-shelve*.
10305 2010-04-19 Dan Nicolaescu <dann@ics.uci.edu>
10307 Fix the version number for added files.
10308 * vc-hg.el (vc-hg-working-revision): Check if the file is
10309 registered after hg parent fails (Bug#5961).
10311 2010-04-19 Glenn Morris <rgm@gnu.org>
10313 * htmlfontify.el (htmlfontify-buffer)
10314 (htmlfontify-copy-and-link-dir): Autoload entry points.
10316 2010-04-19 Magnus Henoch <magnus.henoch@gmail.com>
10318 * vc-hg.el (vc-hg-annotate-extract-revision-at-line): Expand file
10319 name relative to the project root (Bug#5960).
10321 2010-04-19 Glenn Morris <rgm@gnu.org>
10323 * vc-git.el (vc-git-print-log): Doc fix.
10325 2010-04-19 Óscar Fuentes <ofv@wanadoo.es>
10327 * ido.el (ido-file-internal): Fix 2009-12-02 change.
10329 2010-04-19 Christoph <cschol2112@googlemail.com> (tiny change)
10331 * progmodes/grep.el (grep-compute-defaults): Fix handling of host
10332 default settings (Bug#5928).
10334 2010-04-19 Glenn Morris <rgm@gnu.org>
10336 * progmodes/fortran.el (fortran-match-and-skip-declaration):
10338 (fortran-font-lock-keywords-3): Use it. (Bug#1385)
10340 2010-04-19 Kenichi Handa <handa@m17n.org>
10342 * language/indian.el (malayalam-composable-pattern): Fix previous
10343 change (add U+0D4D "SIGN VIRAMA").
10344 (oriya-composable-pattern): Add U+0B30 and fix typo in the regexp.
10345 (tamil-composable-pattern): Fix typo in the regexp.
10346 (telugu-composable-pattern): Fix U+0C4D and typo in the regexp.
10347 (kannada-composable-pattern): Fix U+0CB0 and typo in the regexp.
10348 (malayalam-composable-pattern): Fix U+0D4D and typo in the regexp.
10350 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
10352 * textmodes/tex-mode.el (latex-mode): Revert 2008-03-03 change to
10353 paragraph-separate (Bug#5821).
10355 2010-04-19 Juri Linkov <juri@jurta.org>
10357 Put breadcrumbs on overlay instead of inserting to buffer (bug#5809).
10359 * info.el (Info-find-node-2): Comment out code that skips
10361 (Info-mouse-follow-link): New command.
10362 (Info-link-keymap): New keymap.
10363 (Info-breadcrumbs): Rename from `Info-insert-breadcrumbs'.
10364 Return a string with links instead of inserting breadcrumbs
10365 to the Info buffer.
10366 (Info-fontify-node): Comment out code that inserts breadcrumbs.
10367 Instead of putting the `invisible' text property over the Info
10368 header, make an overlay over the Info header with the `invisible'
10369 property and `after-string' set to the string returned by
10370 `Info-breadcrumbs'.
10372 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
10374 * help.el (help-window-setup-finish): Doc fix (Bug#5830).
10375 Reported by monkey@sandpframing.com.
10377 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
10379 * tmm.el (tmm-prompt): Remove obsolete call to x-popup-menu.
10380 (tmm-get-keymap): Add key-binding shortcuts now that they're not
10381 available in the "keyseq cache" any more.
10383 * custom.el (defcustom): Add edebug spec.
10385 2010-04-18 Juri Linkov <juri@jurta.org>
10387 Test for special mode-class in view-buffer instead of view-file (bug#5513).
10389 * view.el (view-file, view-buffer): Move test for special mode-class
10390 from view-file to view-buffer.
10392 * tar-mode.el (tar-extract): Turn if's into one cond
10393 like in arc-mode.el.
10395 2010-04-18 Juri Linkov <juri@jurta.org>
10397 Add 7z archive format support (bug#5475).
10399 * arc-mode.el (archive-zip-extract): Try to find 7z executable.
10400 (archive-7z-extract): New defcustom.
10401 (archive-find-type): Add magic string for 7z.
10402 (archive-extract-by-stdout): Add new optional arg `stderr-file'.
10403 If `stderr-file' is non-nil, use `(t stderr-file)' for the
10404 `buffer' arg of `call-process'.
10405 (archive-zip-extract): Check `archive-zip-extract' for "7z" and
10406 call the function `archive-7z-extract' with the variable
10407 `archive-7z-extract' let-bound to `archive-zip-extract'.
10408 (archive-7z-summarize, archive-7z-extract): New functions.
10410 * international/mule.el (auto-coding-alist):
10411 * files.el (auto-mode-alist): Add 7z file extension.
10413 2010-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
10415 * loadup.el: Setup hash-cons for pure data.
10417 Fix duplicate entries in cedet's loaddefs.el files.
10418 * emacs-lisp/autoload.el (autoload-file-load-name): Be more clever.
10419 Should make most file-local generated-autoload-file unnecessary.
10420 (print-readably): Silence warnings.
10421 (autoload-find-destination): Take load-name as an arg to make sure
10422 it's the same as the one that will be in the file.
10423 (autoload-generate-file-autoloads): Adjust to above changes.
10424 Try to make the dataflow a bit simpler.
10426 * cvs-status.el (cvs-refontify): Remove unused.
10428 2010-04-18 Jay Belanger <jay.p.belanger@gmail.com>
10430 * calc/calc.el (calc-mode-map): Bind "O" to `calc-missing-key'.
10432 * calc/calc-bin.el (calc-radix): Have the "O" option turn on
10433 twos-complement mode.
10435 2010-04-17 Jay Belanger <jay.p.belanger@gmail.com>
10437 * calc/calc-ext.el (calc-init-extensions): Add keybinding for
10438 'calc-option'. Add `calc-option-prefix-help' to calc-help autoloads.
10439 (calc-inverse): Add "Option" to message, as appropriate.
10440 (calc-hyperbolic): Add "Option" to message, as appropriate.
10441 (calc-option, calc-is-option): New functions.
10443 * calc/calc-help.el (calc-full-help): Add `calc-option-help'.
10444 (calc-option-prefix-help): New function.
10446 * calc/calc-misc.el (calc-help): Add "Option" entry.
10448 * calc/calc.el (calc-local-var-list): Add `calc-option-flag'.
10449 (calc-option-flag): New variable.
10450 (calc-do): Set `calc-option-flag to nil.
10451 (calc-set-mode-line): Add "Opt " as appropriate.
10453 2010-04-16 Juri Linkov <juri@jurta.org>
10455 Move scrolling commands from simple.el to window.el
10456 because their primitives are implemented in window.c.
10458 * simple.el (scroll-error-top-bottom)
10459 (scroll-up-command, scroll-down-command, scroll-up-line)
10460 (scroll-down-line, scroll-other-window-down)
10461 (beginning-of-buffer-other-window, end-of-buffer-other-window):
10462 * window.el (scroll-error-top-bottom)
10463 (scroll-up-command, scroll-down-command, scroll-up-line)
10464 (scroll-down-line, scroll-other-window-down)
10465 (beginning-of-buffer-other-window, end-of-buffer-other-window):
10466 Move from simple.el to window.el because their primitives are
10467 implemented in window.c.
10469 2010-04-16 Juri Linkov <juri@jurta.org>
10471 * isearch.el (isearch-lookup-scroll-key): Check both
10472 `isearch-scroll' and `scroll-command' properties.
10473 (scroll-up, scroll-down): Remove `isearch-scroll' property.
10475 * mwheel.el (mwheel-scroll): Remove `isearch-scroll' property.
10477 * simple.el (scroll-up-command, scroll-down-command)
10478 (scroll-up-line, scroll-down-line): Remove `isearch-scroll' property.
10480 2010-04-15 Juri Linkov <juri@jurta.org>
10482 * simple.el (scroll-up-command, scroll-down-command)
10483 (scroll-up-line, scroll-down-line): Put `scroll-command'
10484 property on the these symbols. Remove them from
10485 `scroll-preserve-screen-position-commands'.
10487 * mwheel.el (mwheel-scroll): Put `scroll-command' and
10488 `isearch-scroll' properties on the `mwheel-scroll' symbol.
10489 Remove it from `scroll-preserve-screen-position-commands'.
10491 * isearch.el (isearch-allow-scroll): Doc fix.
10493 2010-04-15 Michael Albinus <michael.albinus@gmx.de>
10495 * net/tramp.el (tramp-error-with-buffer): Don't show the
10496 connection buffer when we are in completion mode.
10497 (tramp-file-name-handler): Catch the error for some operations
10498 when we are in completion mode. This gives the user the chance to
10499 correct the file name in the minibuffer.
10501 2010-04-15 Glenn Morris <rgm@gnu.org>
10503 * progmodes/verilog-mode.el (verilog-forward-sexp): Avoid free variable.
10505 2010-04-15 Juanma Barranquero <lekktu@gmail.com>
10507 Simplify by using `define-derived-mode'.
10508 * info.el (Info-mode):
10509 * calendar/todo-mode.el (todo-mode):
10510 * play/gomoku.el (gomoku-mode): Define with `define-derived-mode'.
10511 (gomoku-mode-map): Move initialization into declaration.
10513 2010-04-14 Michael Albinus <michael.albinus@gmx.de>
10516 * ido.el (ido-file-name-all-completions-1):
10517 * minibuffer.el (minibuffer-completion-help):
10518 * net/tramp.el (tramp-completion-mode-p): Use `non-essential'.
10520 2010-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
10522 * simple.el (non-essential): New var.
10524 Add a new field `location' to bookmarks for non-file bookmarks.
10525 * bookmark.el (bookmark-location): Use the new field, if present.
10526 (bookmark-insert-location): Undo last change, not needed any more.
10527 * man.el (Man-bookmark-make-record):
10528 * woman.el (woman-bookmark-make-record): Add `location' field.
10530 2010-04-14 Juri Linkov <juri@jurta.org>
10532 * simple.el (scroll-error-top-bottom): New defcustom.
10533 (scroll-up-command, scroll-down-command): Use it. Doc fix.
10535 * emulation/pc-select.el (pc-select-override-scroll-error):
10536 Obsolete in favor of `scroll-error-top-bottom'.
10538 2010-04-14 Juri Linkov <juri@jurta.org>
10540 * tutorial.el (tutorial--default-keys): Rebind `C-v' to
10541 `scroll-up-command' and `M-v' to `scroll-down-command'.
10543 * emulation/cua-rect.el (cua--init-rectangles):
10544 * forms.el (forms--change-commands):
10545 * image-mode.el (image-mode-map):
10546 Remap scroll-down-command and scroll-up-command
10547 in addition to scroll-down and scroll-up.
10549 2010-04-14 Juri Linkov <juri@jurta.org>
10551 * mwheel.el (scroll-preserve-screen-position-commands):
10552 Add mwheel-scroll to this list of commands.
10554 * simple.el (scroll-preserve-screen-position-commands):
10555 Add scroll-up-command, scroll-down-command, scroll-up-line,
10556 scroll-down-line to this list of commands.
10558 2010-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
10560 * obsolete/complete.el: Move from lisp/complete.el.
10562 * pcomplete.el (pcomplete-here*): Fix mistaken change (bug#5935).
10564 * emacs-lisp/easy-mmode.el (define-minor-mode): Passing a nil argument
10565 to the minor mode function now turns the mode ON unconditionally.
10567 2010-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
10569 * vc-dir.el (vc-dir-kill-line): New command.
10570 (vc-dir-mode-map): Bind it to C-k.
10572 * bookmark.el (bookmark-insert-location): Handle a nil filename.
10574 * woman.el: Add bookmark declarations to silence the compiler.
10575 (bookmark-prop-get): Use `man-args' rather than `filename' as a first
10576 step to compatibility between man and woman bookmarks.
10577 Adjust for Man-default-bookmark-title renaming.
10578 (woman-bookmark-jump): Adjust accordingly. Don't forget to autoload.
10580 * man.el: Add bookmark declarations to silence the compiler.
10581 (Man-name-local-regexp): Make it match NAME as well.
10582 (Man-getpage-in-background): Return the buffer.
10583 (Man-notify-when-ready): Use `case'.
10584 (man-set-default-bookmark-title): Rename to Man-default-bookmark-title.
10585 Don't hardcode "NAME". Simplify.
10586 (Man-bookmark-make-record): Use Man-arguments rather than buffer-name.
10587 Rename from Man-bookmark-make-record.
10588 (Man-bookmark-jump): Rename from man-bookmark-jump. Simplify now that
10589 we have the actual man-args. Use Man-getpage-in-background rather
10590 than `man' since the arg is already processed. Let bookmark.el do the
10591 window handling. Only wait for the relevant process.
10592 Don't forget to autoload.
10594 * bookmark.el (bookmark-default-file): Use locate-user-emacs-file.
10596 2010-04-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10598 * woman.el (woman-bookmark-make-record, woman-bookmark-jump):
10600 (woman-mode): Setup bookmark support.
10602 * man.el (man-set-default-bookmark-title, man-bookmark-make-record)
10603 (man-bookmark-jump): New functions.
10604 (Man-mode): Setup bookmark support.
10606 2010-04-10 Jari Aalto <jari.aalto@cante.net>
10608 * comint.el (comint-password-prompt-regexp): Use regexp-opt, and
10609 recognize ssh-keygen prompt (Bug#2817).
10611 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
10613 * net/tramp.el (tramp-do-copy-or-rename-file): Add progress reporter.
10615 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
10617 Synchronize with Tramp repository.
10619 * net/tramp.el (tramp-completion-function-alist)
10620 (tramp-file-name-regexp, tramp-chunksize)
10621 (tramp-local-coding-commands, tramp-remote-coding-commands):
10623 (tramp-remote-process-environment): Use `format' instead of `concat'.
10624 (tramp-handle-directory-files-and-attributes)
10625 (tramp-get-remote-path): Use `copy-tree'.
10626 (tramp-handle-file-name-all-completions): Backward/ XEmacs
10627 compatibility: Use `completion-ignore-case' if
10628 `read-file-name-completion-ignore-case' does not exist.
10629 (tramp-do-copy-or-rename-file-directly): Do not use
10630 `tramp-handle-file-remote-p'.
10631 (tramp-do-copy-or-rename-file-out-of-band):
10632 Use `tramp-compat-delete-directory'.
10633 (tramp-do-copy-or-rename-file-out-of-band)
10634 (tramp-compute-multi-hops, tramp-maybe-open-connection):
10635 Use `format-spec-make'.
10636 (tramp-find-foreign-file-name-handler)
10637 (tramp-advice-make-auto-save-file-name)
10638 (tramp-set-auto-save-file-modes): Remove superfluous check for
10639 `stringp'. This is done inside `tramp-tramp-file-p'.
10640 (tramp-debug-outline-regexp): New defconst.
10641 (tramp-get-debug-buffer): Use it.
10642 (tramp-check-for-regexp): Use (forward-line 1).
10643 (tramp-set-auto-save-file-modes): Adapt version check.
10645 * net/tramp-compat.el (tramp-advice-file-expand-wildcards):
10646 Wrap call of `featurep' for 2nd argument.
10647 (tramp-compat-make-temp-file): Simplify fallback implementation.
10648 (tramp-compat-copy-tree): Remove function.
10649 (tramp-compat-delete-directory): Provide implementation for older
10652 * net/tramp-fish.el (tramp-fish-handle-directory-files-and-attributes):
10653 Do not use `tramp-fish-handle-file-attributes.
10655 * net/trampver.el: Update release number.
10657 2010-04-10 Glenn Morris <rgm@gnu.org>
10659 * progmodes/compile.el (compilation-save-buffers-predicate):
10660 Add missing :version tag.
10662 2010-04-09 Sam Steingold <sds@gnu.org>
10664 * progmodes/compile.el (compilation-save-buffers-predicate):
10665 Remove the "autoload" cookie.
10667 * progmodes/bug-reference.el (turn-on-bug-reference-mode)
10668 (turn-on-bug-reference-prog-mode): Remove, `bug-reference-mode'
10669 and `bug-reference-prog-mode' can be used in hooks directly.
10671 2010-04-09 Dan Nicolaescu <dann@ics.uci.edu>
10673 Add --author support to git commit.
10674 * vc-git.el (vc-git-checkin): Pass extra-args to the commit command.
10675 (vc-git-log-edit-mode): New minor mode.
10676 (log-edit-mode, log-edit-extra-flags, log-edit-mode):
10679 2010-04-09 Eric Raymond <esr@snark.thyrsus.com>
10681 * vc-hooks.el, vc-git.el: Improve documentation comments.
10683 2010-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
10685 Fix some of the problems in defsubst* (bug#5728).
10686 * emacs-lisp/cl-macs.el (defsubst*): Don't substitute non-trivial args.
10687 (cl-defsubst-expand): Do the substitutions simultaneously (bug#5728).
10689 2010-04-07 Sam Steingold <sds@gnu.org>
10691 * progmodes/compile.el (compilation-save-buffers-predicate):
10692 New custom variable.
10693 (compile, recompile): Pass it to `save-some-buffers'.
10695 2010-04-07 Jan Djärv <jan.h.d@swipnet.se>
10697 * wid-edit.el (widget-choose): Move cursor to the second line of
10698 the buffer (Bug#5695).
10700 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
10702 Add new VC methods: vc-log-incoming and vc-log-outgoing.
10703 * vc.el (vc-print-log-setup-buttons): New function split out from
10704 vc-print-log-internal.
10705 (vc-log-internal-common): New function, a parametrized version of
10706 vc-print-log-internal.
10707 (vc-print-log-internal): Just call vc-log-internal-common with the
10709 (vc-incoming-outgoing-internal):
10710 (vc-log-incoming, vc-log-outgoing): New functions.
10711 (vc-log-view-type): New permanent local variable.
10713 * vc-hooks.el (vc-menu-map): Bind vc-log-incoming and vc-log-outgoing.
10715 * vc-bzr.el (vc-bzr-log-view-mode): Use vc-log-view-type instead
10716 of the dynamic bound vc-short-log.
10717 (vc-bzr-log-incoming, vc-bzr-log-outgoing): New functions.
10719 * vc-git.el (vc-git-log-outgoing): New function.
10720 (vc-git-log-view-mode): Use vc-log-view-type instead
10721 of the dynamic bound vc-short-log.
10723 * vc-hg.el (vc-hg-log-view-mode): Use vc-log-view-type instead
10724 of the dynamic bound vc-short-log. Highlight the tag.
10725 (vc-hg-log-incoming, vc-hg-log-outgoing): New functions.
10726 (vc-hg-outgoing, vc-hg-incoming, vc-hg-outgoing-mode):
10727 (vc-hg-incoming-mode): Remove.
10728 (vc-hg-extra-menu-map): Do not bind vc-hg-incoming and vc-hg-outgoing.
10730 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
10732 Fix default-directory for vc-root-diff.
10733 * vc.el (vc-root-diff): Bind default-directory to the root
10734 directory for the diff command.
10736 2010-04-07 Michael McNamara <mac@mail.brushroad.com>
10738 * progmodes/verilog-mode.el (verilog-forward-sexp):
10739 (verilog-calc-1): Support "disable fork" and "fork wait" multi
10740 word keywords, suggested by Steve Pearlmutter.
10741 (verilog-pretty-declarations): Support lineup of declarations in
10743 (verilog-skip-backward-comments, verilog-skip-forward-comment-p):
10744 fix bug for /* / comments.
10745 (verilog-backward-syntactic-ws, verilog-forward-syntactic-ws):
10746 Speed up and simplfy as this is never called with a bound.
10747 (verilog-pretty-declarations): Enhance to line up declarations
10748 inside a parameter list, suggested by Alan Morgan.
10749 (verilog-pretty-expr): Tune assignment regular expression match
10750 string for corner cases; also use markers instead of character
10751 number as indent changes the later.
10753 2010-04-07 Wilson Snyder <wsnyder@wsnyder.org>
10755 * progmodes/verilog-mode.el (verilog-type-keywords): Fix pulldown
10756 as missing keyword.
10757 (verilog-read-sub-decls-line): Fix comments in AUTO_TEMPLATE
10758 causing truncation of AUTOWIRE signals. Reported by Bruce Tennant.
10759 (verilog-auto-inst, verilog-auto-inst-port): Add vl_mbits for
10760 AUTO_TEMPLATEs needing multiple array bits. Suggested by Bruce
10762 (verilog-keywords):
10763 (verilog-1800-2005-keywords, verilog-1800-2009-keywords): Add IEEE
10764 1800-2009 keywords, including "global.".
10766 2010-04-06 John Wiegley <jwiegley@gmail.com>
10768 * ido.el (ido-add-virtual-buffers-to-list): Fix duplicated names
10769 appearing in buffer list (if a live buffer name matched a recentf
10770 file basename). Should use uniquify to offer a real solution.
10772 2010-04-06 John Wiegley <jwiegley@gmail.com>
10774 * ido.el (ido-use-virtual-buffers, ido-virtual): Move a ChangeLog
10775 comment to code, and add a :version tag.
10776 (ido-virtual-buffers): Move defvar to fix byte-compiler warning.
10778 2010-04-06 Juanma Barranquero <lekktu@gmail.com>
10780 Enable recentf-mode if using virtual buffers.
10781 * ido.el (recentf-list): Declare for byte-compiler.
10782 (ido-virtual-buffers): Move up to silence byte-compiler. Add docstring.
10783 (ido-make-buffer-list): Simplify.
10784 (ido-add-virtual-buffers-to-list): Simplify. Enable recentf-mode.
10786 2010-04-05 Juri Linkov <juri@jurta.org>
10788 Scrolling commands which scroll a line instead of full screen.
10789 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
10791 * simple.el (scroll-up-line, scroll-down-line): New commands.
10792 Put property isearch-scroll=t on them.
10794 * emulation/ws-mode.el (scroll-down-line, scroll-up-line):
10797 2010-04-05 Juri Linkov <juri@jurta.org>
10799 Scrolling commands which do not signal errors at top/bottom.
10800 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
10802 * simple.el (scroll-up-command, scroll-down-command): New commands.
10803 Put property isearch-scroll=t on them.
10805 * bindings.el (global-map): Rebind [prior] from `scroll-down' to
10806 `scroll-down-command' and [next] from `scroll-up' to
10807 `scroll-up-command'.
10809 * emulation/cua-base.el: Put property CUA=move on
10810 `scroll-up-command' and `scroll-down-command'.
10811 (cua--init-keymaps): Remap `scroll-up-command' to `cua-scroll-up'
10812 and `scroll-down-command' to `cua-scroll-down'.
10814 2010-04-05 Juanma Barranquero <lekktu@gmail.com>
10816 * help.el (describe-mode): Return nil.
10818 2010-04-04 John Wiegley <jwiegley@gmail.com>
10820 * ido.el (ido-use-virtual-buffers): New variable to indicate
10821 whether "virtual buffer" support is enabled for IDO.
10822 (ido-virtual): Face used to indicate virtual buffers in the list.
10823 (ido-buffer-internal): If a buffer is chosen, and no such buffer
10824 exists, but a virtual buffer of that name does (which would be why
10825 it was in the list), recreate the buffer by reopening the file.
10826 (ido-make-buffer-list): If virtual buffers are being used, call
10827 `ido-add-virtual-buffers-to-list' before the make list hook.
10828 (ido-virtual-buffers): New variable which contains a copy of the
10829 current contents of the `recentf-list', albeit pared down for the
10830 sake of speed, and with proper faces applied.
10831 (ido-add-virtual-buffers-to-list): Using the `recentf-list',
10832 create a list of "virtual buffers" to present to the user in
10833 addition to the currently open set. Note that this logic could
10834 get rather slow if that list is too large. With the default
10835 `recentf-max-saved-items' of 200, there is little speed penalty.
10837 2010-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
10839 * font-lock.el: Require CL when compiling.
10840 (font-lock-turn-on-thing-lock): Use `case'.
10842 2010-04-03 Eli Zaretskii <eliz@gnu.org>
10844 * emacs-lisp/authors.el (authors-fixed-entries): Add entry for Eli
10847 2010-04-02 Juri Linkov <juri@jurta.org>
10849 * ehelp.el (electric-help-orig-major-mode):
10850 New buffer-local variable.
10851 (electric-help-mode): Set it to original major-mode. Doc fix.
10852 (with-electric-help): Use `electric-help-orig-major-mode' instead
10853 of (default-value 'major-mode). Doc fix.
10854 http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00069.html
10856 2010-04-02 Sam Steingold <sds@gnu.org>
10858 * vc-hg.el (vc-hg-push, vc-hg-pull): Use `apply' when calling
10859 `vc-hg-command' with a list of flags.
10861 * progmodes/bug-reference.el (bug-reference-bug-regexp):
10862 Also accept "patch" and "RFE".
10863 (bug-reference-fontify): `bug-reference-url-format' can also be a
10864 function to be able to handle the bug kind.
10865 (turn-on-bug-reference-mode, turn-on-bug-reference-prog-mode): Add.
10867 2010-04-02 Jan Djärv <jan.h.d@swipnet.se>
10869 * tmm.el (tmm-get-keymap): Check with symbolp before passing
10870 value to fboundp, it may not be a symbol.
10872 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
10874 * cus-edit.el (custom-buffer-sort-alphabetically): Update :version.
10876 2010-03-31 Juri Linkov <juri@jurta.org>
10878 * simple.el (next-line, previous-line): Re-throw a signal
10879 with `signal' instead of using `ding'.
10880 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01432.html
10882 2010-03-31 Juri Linkov <juri@jurta.org>
10884 * simple.el (keyboard-escape-quit): Raise deselecting the active
10885 region higher than exiting the minibuffer.
10886 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00904.html
10888 2010-03-31 Juri Linkov <juri@jurta.org>
10890 * image.el (image-animated-p): Use `image-metadata' instead of
10891 `image-extension-data'. Get GIF extenstion data from metadata
10892 property `extension-data'.
10894 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
10896 * simple.el (append-to-buffer): Simplify.
10898 2010-03-31 Tomas Abrahamsson <tab@lysator.liu.se>
10900 * textmodes/artist.el (artist-mode): Fix typo in docstring.
10901 Reported by Alex Schröder <kensanata@gmail.com>. (Bug#5807)
10903 2010-03-31 Kenichi Handa <handa@m17n.org>
10905 * language/sinhala.el (composition-function-table): Fix regexp for
10906 the new Unicode specification.
10908 * language/indian.el (devanagari-composable-pattern)
10909 (tamil-composable-pattern, kannada-composable-pattern)
10910 (malayalam-composable-pattern): Adjust for the new Unicode
10912 (bengali-composable-pattern, gurmukhi-composable-pattern)
10913 (gujarati-composable-pattern, oriya-composable-pattern)
10914 (telugu-composable-pattern): New variables to cope with the new
10915 Unicode specification. Use them in composition-function-table.
10917 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
10919 Make tmm-menubar work for the Buffers menu again (bug#5726).
10920 * tmm.el (tmm-prompt): Also handle keymap entries in the form of
10921 vectors rather than cons cells, as used in menu-bar-update-buffers.
10923 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
10925 * progmodes/js.el (js-auto-indent-flag, js-mode-map)
10926 (js-insert-and-indent): Revert 2009-08-15 change, restoring
10927 electric punctuation for "{}();,:" (Bug#5586).
10929 * mail/sendmail.el (mail-default-directory): Doc fix.
10931 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
10933 * mail/sendmail.el (mail-default-directory): Doc fix.
10935 2010-03-31 Eli Zaretskii <eliz@gnu.org>
10937 * subr.el (version-regexp-alist, version-to-list)
10938 (version-list-<, version-list-=, version-list-<=)
10939 (version-list-not-zero, version<, version<=, version=): Doc fix.
10942 2010-02-31 Dan Nicolaescu <dann@ics.uci.edu>
10944 * vc.el (vc-root-diff): Doc fix.
10946 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
10948 * vc.el (vc-print-log, vc-print-root-log): Doc fix.
10950 * simple.el (append-to-buffer): Fix last change.
10952 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
10954 * simple.el (append-to-buffer): Ensure that point is preserved if
10955 BUFFER is the current buffer. Suggested by YAMAMOTO Mitsuharu.
10958 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
10960 * files.el (auto-mode-case-fold): Change default to t.
10962 2010-03-30 Juri Linkov <juri@jurta.org>
10964 * dired-x.el (dired-omit-mode): Doc fix.
10966 2010-03-30 Juri Linkov <juri@jurta.org>
10968 * replace.el (occur-accumulate-lines): Move occur-engine related
10969 functions `occur-accumulate-lines' and `occur-engine-add-prefix'
10970 to be located after `occur-engine'.
10972 2010-03-30 Juri Linkov <juri@jurta.org>
10974 Make occur handle multi-line matches cleanly with context.
10975 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01280.html
10977 * replace.el (occur-accumulate-lines): Add optional arg `pt'.
10978 (occur-engine): Add local variables `ret', `prev-after-lines',
10979 `prev-lines'. Use more arguments for `occur-context-lines'.
10980 Set first elem of its returned list to `data', and the second elem
10981 to `prev-after-lines'. Don't print the separator line.
10982 In the end, print remaining context after-lines.
10983 (occur-context-lines): Add new arguments `begpt', `endpt',
10984 `lines', `prev-lines', `prev-after-lines'. Rewrite to combine
10985 after-lines of the previous match with before-lines of the
10986 current match and not overlap them. Return a list with two
10987 values: the output line and the list of context after-lines.
10989 2010-03-30 Juri Linkov <juri@jurta.org>
10991 * replace.el (occur-accumulate-lines): Fix a bug where the first
10992 context line at the beginning of the buffer was missing.
10994 2010-03-30 Eli Zaretskii <eliz@gnu.org>
10996 * files.el: Make bidi-display-reordering safe variable for boolean
10999 2010-03-29 Phil Hagelberg <phil@evri.com>
11000 Chong Yidong <cyd@stupidchicken.com>
11002 * subr.el: Extend progress reporters to perform "spinning".
11003 (progress-reporter-update, progress-reporter-do-update):
11004 Handle non-numeric value arguments.
11005 (progress-reporter--pulse-characters): New var.
11007 2010-03-28 Chong Yidong <cyd@stupidchicken.com>
11009 * progmodes/compile.el (compilation-start): Fix regexp detection
11010 of initial cd command (Bug#5771).
11012 2010-03-28 Stefan Guath <stefan@automata.se> (tiny change)
11014 * find-dired.el (find-dired): Use read-directory-name (Bug#5777).
11016 2010-03-27 Nick Roberts <nickrob@snap.net.nz>
11018 Restore GDB/MI fuctionality removed by 2009-12-29T07:15:34Z!nickrob@snap.net.nz.
11019 * progmodes/gdb-mi.el: Restore.
11020 * progmodes/gdb-ui.el: Remove.
11021 * progmodes/gud.el: Re-accommodate for gdb-mi.el.
11023 2010-03-25 Glenn Morris <rgm@gnu.org>
11025 * desktop.el (desktop-save-buffer-p): Don't mistakenly include
11026 all dired buffers, even tramp ones. (Bug#5755)
11028 2010-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
11030 Add "union tags" in mpc.el.
11031 * mpc.el: Remove backward compatibility code.
11032 (mpc-browser-tags): Change default.
11033 (mpc--find-memoize-union-tags): New var.
11034 (mpc-cmd-flush, mpc-cmd-special-tag-p): New fun.
11035 (mpc-cmd-find): Handle the case where the playlist does not exist.
11037 (mpc-cmd-list): Use mpc-cmd-special-tag-p. Handle union-tags.
11038 (mpc-cmd-add): Use mpc-cmd-flush.
11039 (mpc-tagbrowser-tag-name): New fun.
11040 (mpc-tagbrowser-buf): Use it.
11041 (mpc-songs-refresh): Use cond. Move to point-min as a fallback.
11043 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
11046 * progmodes/make-mode.el (makefile-bsdmake-rule-action-regex):
11047 Use replace-regexp-in-string.
11048 (makefile-mode-abbrev-table): Merge defvar and define-abbrev-table.
11049 (makefile-imake-mode-syntax-table): Move init into defvar.
11050 (makefile-mode): Use define-derived-mode.
11052 * progmodes/make-mode.el (makefile-rule-action-regex): Backtrack less.
11053 (makefile-make-font-lock-keywords): Adjust rule since submatch 1 may
11054 not be present any more.
11056 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
11058 * faces.el (set-face-attribute): Fix typo in docstring.
11059 (face-valid-attribute-values): Reflow docstring.
11061 2010-03-24 Glenn Morris <rgm@gnu.org>
11063 * textmodes/flyspell.el (sgml-lexical-context): Autoload it (Bug#5752).
11065 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
11067 * indent.el (indent-for-tab-command): Doc fix.
11069 2010-03-24 Alan Mackenzie <acm@muc.de>
11071 * progmodes/cc-engine.el (c-remove-stale-state-cache):
11072 Fix off-by-one error. Fixes bug #5747.
11074 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
11076 * image-dired.el (image-dired-display-thumbs): Fix typo in docstring.
11077 (image-dired-read-comment): Doc fix.
11079 * json.el (json-object-type, json-array-type, json-key-type)
11080 (json-false, json-null, json-read-number):
11081 * minibuffer.el (completion-in-region-functions):
11082 * calendar/cal-tex.el (cal-tex-daily-end, cal-tex-number-weeks)
11083 (cal-tex-cursor-week):
11084 * emacs-lisp/trace.el (trace-function):
11085 * eshell/em-basic.el (eshell/printnl):
11086 * eshell/em-dirs.el (eshell-last-dir-ring, eshell-parse-drive-letter)
11087 (eshell-read-last-dir-ring, eshell-write-last-dir-ring):
11088 * obsolete/levents.el (allocate-event, event-key, event-object)
11089 (event-point, event-process, event-timestamp, event-to-character)
11090 (event-window, event-x, event-x-pixel, event-y, event-y-pixel):
11091 * textmodes/reftex-vars.el (reftex-index-macros-builtin)
11092 (reftex-section-levels, reftex-auto-recenter-toc, reftex-toc-mode-hook)
11093 (reftex-cite-punctuation, reftex-search-unrecursed-path-first)
11094 (reftex-highlight-selection): Fix typos in docstrings.
11096 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
11098 * minibuffer.el (completion-in-region-functions): Fix docstring typos.
11100 2010-03-24 Glenn Morris <rgm@gnu.org>
11102 * mail/rmail.el (rmail-highlight-face): Restore option deleted
11103 2008-02-13 without comment; mark it obsolete.
11104 (rmail-highlight-headers): Use rmail-highlight-face once more.
11106 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
11108 * woman.el (woman2-process-escapes): Only consume the newline if
11109 the filler character is on a line by itself (Bug#5729).
11111 2010-03-24 Kenichi Handa <handa@m17n.org>
11113 * language/indian.el (devanagari-composable-pattern): Add more
11116 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
11118 * net/trampver.el: Update release number.
11120 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
11122 * net/tramp.el (tramp-find-executable):
11123 Use `tramp-get-connection-buffer'. Make the regexp for checking
11124 output of "wc -l" more robust.
11125 (tramp-find-shell): Use another shell but /bin/sh on OpenSolaris.
11126 (tramp-open-connection-setup-interactive-shell): Remove workaround
11127 for OpenSolaris bug, it is not needed anymore.
11129 2010-03-24 Glenn Morris <rgm@gnu.org>
11131 * emacs-lisp/cl-macs.el (defsubst*): Add autoload cookie. (Bug#4427)
11133 2010-03-24 Wilson Snyder <wsnyder@wsnyder.org>
11135 * files.el (auto-mode-alist): Accept more verilog file patterns.
11137 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
11139 * vc-dir.el (vc-dir-headers): Abbreviate the working dir.
11141 2010-03-24 Glenn Morris <rgm@gnu.org>
11143 * vc-bzr.el (vc-bzr-log-edit-mode): Add --fixes support to
11144 log-edit-before-checkin-process.
11146 * vc.el (vc-modify-change-comment): Pass MODE to vc-start-logentry.
11148 * vc.el, vc-bzr.el, vc-hg.el (log-edit-mode): Declare.
11150 * vc-dispatcher.el (vc-start-logentry): Doc fix.
11151 (log-view-process-buffer, log-edit-extra-flags): Declare.
11153 * log-edit.el (log-edit-before-checkin-process): Doc fix.
11155 2010-03-23 Sam Steingold <sds@gnu.org>
11157 Fix bug#5620: recalculate all markers on compilation buffer
11158 modifications, not on file modifications.
11159 * progmodes/compile.el (compilation-buffer-modtime): New buffer-local
11160 variable: the buffer modification time, for buffers not associated with
11162 (compilation-mode): Create it.
11163 (compilation-filter): Update it.
11164 (compilation-next-error-function): Use it instead of
11165 `visited-file-modtime' for timestamp.
11167 2010-03-23 Juri Linkov <juri@jurta.org>
11169 Implement Occur multi-line matches.
11170 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01044.html
11172 * replace.el (occur): Doc fix.
11173 (occur-engine): Set `begpt' to the beginning of the first line.
11174 Set `endpt' to the end of the last match line. At first, count
11175 line numbers between `origpt' and `begpt'. Split out code from
11176 `out-line' variable to new let-bindings `match-prefix' and
11177 `match-str'. In `out-line' add non-numeric prefix to all
11178 non-first lines of multi-line matches. Finally, count lines
11179 between `begpt' and `endpt' and add to `lines'.
11181 2010-03-23 Juri Linkov <juri@jurta.org>
11183 * replace.el (occur-accumulate-lines, occur-engine):
11184 Use `occur-engine-line' instead of duplicate code.
11185 (occur-engine-line): New function created from duplicate code
11186 in `occur-accumulate-lines' and `occur-engine'.
11188 * replace.el (occur-engine-line): Add optional arg `keep-props'.
11189 (occur-accumulate-lines, occur-engine): Add arg `keep-props'.
11191 2010-03-23 Juri Linkov <juri@jurta.org>
11193 * finder.el: Remove TODO tasks.
11195 * info.el (Info-finder-find-node): Add node "all"
11196 with all package info. Handle a list of multiple keywords
11197 separated by comma.
11198 (info-finder): In interactive use with a prefix argument,
11199 use `completing-read-multiple' to read a list of keywords
11200 separated by comma.
11202 2010-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
11204 Add a new completion style `substring'.
11205 * minibuffer.el (completion-basic--pattern): New function.
11206 (completion-basic-try-completion, completion-basic-all-completions):
11208 (completion-substring--all-completions)
11209 (completion-substring-try-completion)
11210 (completion-substring-all-completions): New functions.
11211 (completion-styles-alist): New style `substring'.
11213 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
11215 Get rid of .elc files after removal of the corresponding .el.
11216 * Makefile.in (compile-clean): New target.
11217 (compile-main): Use it.
11219 2010-03-22 Jan Djärv <jan.h.d@swipnet.se>
11221 * Makefile.in (compile-main): cd to $(lisp) in a sub-shell, so we
11222 don't do make there. When compiling with separate object dir, there
11223 is no Makefile there.
11225 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
11227 Get rid of the ELCFILES abomination, again.
11228 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
11229 (all, compile): Don't call compile-last.
11230 (compile-main): Build the "elcfiles" list dynamically.
11231 (compile-targets): New (internal) target.
11233 2010-03-21 Andreas Schwab <schwab@linux-m68k.org>
11235 * Makefile.in (top_srcdir): Define.
11236 (abs_top_builddir): Define.
11237 (srcdir): Don't append `/..'.
11238 (EMACS): Use ${abs_top_builddir}.
11239 (all, compile, compile-always, compile-last): Don't set emacswd.
11240 (update-subdirs, update-authors): Use $(top_srcdir) instead of
11242 (lisp): Use $(srcdir) instead of @srcdir@.
11244 2010-03-21 Juri Linkov <juri@jurta.org>
11246 Fix message of multi-line occur regexps and multi-buffer header lines.
11247 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00457.html
11249 * replace.el (occur-1): Don't display regexp if it is longer
11250 than window-width. Use `query-replace-descr' to display regexp.
11251 (occur-engine): Don't display regexp in the buffer header for
11252 multi-buffer occur. Display a separate header line with total
11253 match count and regexp for multi-buffer occur.
11254 Use `query-replace-descr' to display regexp.
11256 2010-03-20 Teodor Zlatanov <tzz@lifelogs.com>
11258 * net/secrets.el: Fix parenthesis.
11259 (secrets-enabled): Fix parenthesis.
11261 2010-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
11263 Use more relative file and directory names.
11264 * Makefile.in (EMACS): Arrange for it to work when we chdir.
11265 (setwins, setwins_almost, setwins_for_subdirs):
11266 Don't `cd'; output relative names.
11267 (all, compile, compile-always, compile-last): Set emacswd.
11268 (custom-deps, finder-data, autoloads, update-subdirs, compile-last):
11269 Just cd to the lisp source dir so we can use relative file names.
11271 * outline.el (hide-sublevels): Unfix the paren non-typo! (bug#5738).
11273 2010-03-20 Glenn Morris <rgm@gnu.org>
11275 * textmodes/rst.el: Use faces for font-lock customization, and make the
11276 old -face variables obsolete.
11277 (rst-block, rst-external, rst-definition, rst-directive, rst-comment)
11278 (rst-emphasis1, rst-emphasis2, rst-literal, rst-reference): New faces.
11279 (rst-block-face, rst-external-face, rst-definition-face)
11280 (rst-directive-face, rst-comment-face, rst-emphasis1-face)
11281 (rst-emphasis2-face, rst-literal-face, rst-reference-face):
11283 (rst-font-lock-keywords-function): Update for above changes.
11285 2010-03-20 Juri Linkov <juri@jurta.org>
11288 * obsolete/s-region.el: Move to obsolete.
11290 2010-03-19 Juanma Barranquero <lekktu@gmail.com>
11292 * vc-dispatcher.el (vc-do-command): Remove reference to `vc-path'.
11294 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
11296 * vc-hooks.el (vc-path): Remove variable and obsolete declaration.
11298 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
11300 Add special markup processing for commit logs.
11301 * log-edit.el (log-edit-extra-flags): New variable.
11302 (log-edit): Add new argument MODE. Use that mode when non-nil
11303 instead of the log-view-mode.
11304 (log-view-process-buffer): New function.
11306 * vc.el: Document that the checkin method takes optional
11307 arguments. Document new backend specific method: log-view-mode.
11308 (vc-default-log-edit-mode): New function.
11309 (vc-checkin): Use a backend specific log-view-mode.
11310 Pass extra arguments to the checkin method.
11311 (vc-modify-change-comment): Pass a dummy extra argument.
11313 * vc-dispatcher.el (vc-log-edit): Add a mode argument, pass it to
11315 (vc-start-logentry): Add a mode argument, pass it to vc-log-edit.
11316 (vc-finish-logentry): Process the log buffer before passing it
11317 down. Pass log-edit-extra-flags.
11319 * vc-bzr.el (vc-bzr-checkin): Pass extra arguments to the commit
11321 (log-edit-extra-flags, log-edit-before-checkin-process):
11324 * vc-hg.el (vc-hg-checkin): Pass extra arguments to the commit
11326 (log-edit-extra-flags, log-edit-before-checkin-process):
11328 (vc-hg-log-edit-mode): New derived mode.
11330 * vc-arch.el (vc-arch-checkin):
11331 * vc-cvs.el (vc-cvs-checkin):
11332 * vc-git.el (vc-git-checkin):
11333 * vc-mtn.el (vc-mtn-checkin):
11334 * vc-rcs.el (vc-rcs-checkin):
11335 * vc-sccs.el (vc-sccs-checkin):
11336 * vc-svn.el (vc-svn-checkin): Add an optional ignored argument.
11338 2010-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
11340 * outline.el (hide-sublevels): Don't hide trailing newline (and fix
11343 2010-03-19 Glenn Morris <rgm@gnu.org>
11345 * password-cache.el (password-cache, password-cache-expiry): Autoload.
11347 2010-03-18 Glenn Morris <rgm@gnu.org>
11349 * emacs-lisp/autoload.el (autoload-rubric): Doc fix.
11351 * replace.el (query-replace-history): Give it a doc string.
11352 (map-query-replace-regexp): Use query-replace-from-history-variable
11353 and query-replace-to-history-variable.
11355 * mail/hashcash.el (declare-function): Remove duplicate definition.
11357 * mail/emacsbug.el (report-emacs-bug-pretest-address):
11358 Make it an obsolete alias for report-emacs-bug-address.
11359 (message-strip-special-text-properties): Declare.
11360 (report-emacs-bug): Remove test for a pretest bug address.
11361 Combine message-mode-specific code.
11363 * mail/supercite.el: Don't require sendmail.
11364 (mh-in-header-p): Declare rather than using with-no-warnings.
11365 (sc-no-blank-line-or-header): Use rfc822-goto-eoh rather than
11366 mail-header-end. Don't bind mysterious variable `kill-lines-magic'.
11368 * calendar/cal-french.el: Convert to utf-8.
11370 * files.el (interpreter-mode-alist): Use emacs-lisp-mode for
11373 2010-03-16 Michael Albinus <michael.albinus@gmx.de>
11375 * net/secrets.el (secrets-enabled): New variable. Use it instead
11378 2010-03-15 Michael Albinus <michael.albinus@gmx.de>
11380 * net/secrets.el (top): Register the D-Bus signals only when the
11381 service "org.freedesktop.secrets" can be pinged.
11382 Provide subfeature `enabled'.
11384 2010-03-14 Juri Linkov <juri@jurta.org>
11386 Add finder unknown keywords.
11388 * finder.el (finder-unknown-keywords): New function.
11390 * info.el (Info-finder-find-node): Use `finder-unknown-keywords'
11391 to create a Finder node with unknown keywords.
11393 2010-03-14 Juri Linkov <juri@jurta.org>
11395 * finder.el (finder-compile-keywords): Replace `princ' with
11396 `prin1' on a list of symbols interned from keyword strings.
11398 * emacs-lisp/lisp-mnt.el (lm-keywords-list): If `keywords' contains
11399 a comma, then split keywords using a comma and optional whitespace.
11400 Otherwise, split by whitespace.
11408 * progmodes/mixal-mode.el: Fix keywords.
11410 2010-03-13 Michael Albinus <michael.albinus@gmx.de>
11412 * Makefile.in (ELCFILES): Add net/secrets.elc.
11414 * net/secrets.el: New file.
11416 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
11418 * facemenu.el (list-colors-display, list-colors-print): New arg
11419 callback. Use it to allow selecting colors.
11421 * wid-edit.el (widget-image-insert): Insert image prop even if the
11422 current display is non-graphic.
11423 (widget-field-value-set): New fun.
11424 (editable-field): Use it.
11425 (widget-field-value-get): Clean up unused var.
11426 (widget-color-value-create, widget-color--choose-action):
11427 New funs. Allow using list-colors-display to choose color.
11429 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
11431 * cus-edit.el: Resort topmost custom groups.
11432 (custom-buffer-sort-alphabetically): Default to t.
11433 (customize-apropos): Use apropos-parse-pattern.
11434 (custom-search-field): New var.
11435 (custom-buffer-create-internal): Add custom-apropos search field.
11436 (custom-add-parent-links): Don't display parent doc.
11437 (custom-group-value-create): Don't sort top-level custom group.
11438 (custom-magic-value-create): Show visibility button before option name.
11440 (custom-variable-state): New fun, from custom-variable-state-set.
11441 (custom-variable-state-set): Use it.
11442 (custom-group-value-create): Hide options with standard values
11443 using the :hidden-states property. Use progress reporter.
11445 (custom-show): Simplify.
11446 (custom-visibility): Disable images by default.
11447 (custom-variable): New property :hidden-states.
11448 (custom-variable-value-create): Enable images for
11449 custom-visibility widgets. Use :hidden-states property to
11450 determine initial visibility.
11452 * wid-edit.el (widget-image-find): Give images center ascent.
11453 (visibility): Add :on-image and :off-image properties.
11454 (widget-visibility-value-create): Use them.
11456 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
11458 * cus-edit.el (processes): Remove from development group.
11459 (oop, hypermedia): Delete group.
11460 (comm): Promote to top-level group.
11462 * net/browse-url.el (browse-url):
11463 * net/xesam.el (xesam):
11464 * net/tramp.el (tramp):
11465 * net/goto-addr.el (goto-address):
11466 * net/ange-ftp.el (ange-ftp): Put in comm group.
11468 * view.el (view): Remove from editing group.
11470 * uniquify.el (uniquify): Put in files group.
11472 * net/browse-url.el (browse-url):
11473 * ps-print.el (postscript): Put in external group.
11475 * cus-edit.el (outlines):
11476 * textmodes/text-mode.el (text-mode-hook):
11477 * textmodes/table.el (table):
11478 * textmodes/picture.el (picture):
11479 * outline.el (outlines): Put in wp group.
11481 * nxml/nxml-mode.el (nxml): Remove from wp group.
11483 * net/tramp-imap.el (tramp-imap): Put in tramp group.
11485 * mail/metamail.el (metamail): Remove from hypermedia group.
11487 * cus-edit.el (abbrev):
11488 * whitespace.el (whitespace):
11489 * vcursor.el (vcursor):
11490 * reveal.el (reveal):
11491 * hl-line.el (hl-line): Put in convenience group.
11493 * epg-config.el (epg): Put in data group.
11495 * emulation/pc-select.el (pc-select): Put in emulations group.
11497 * calculator.el (calculator): Put in applications group.
11499 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
11501 Add .dir-locals.el support for file-less buffers.
11502 * files.el (hack-local-variables): Split out code to apply local
11503 variable settings ...
11504 (hack-local-variables-apply): ... here. New function.
11505 (hack-dir-local-variables): Use the default directory for when the
11506 buffer does not have an associated file.
11507 (hack-dir-local-variables-non-file-buffer): New function.
11508 * diff-mode.el (diff-mode):
11509 * vc-annotate.el (vc-annotate-mode):
11510 * vc-dir.el (vc-dir-mode):
11511 * log-edit.el (log-edit-mode):
11512 * log-view.el (log-view-mode): Call hack-dir-local-variables-non-file-buffer.
11514 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
11516 Add support for shelving snapshots and for showing shelves.
11517 * vc-bzr.el (vc-bzr-shelve-show, vc-bzr-shelve-show-at-point)
11518 (vc-bzr-shelve-apply-and-keep-at-point, vc-bzr-shelve-snapshot):
11520 (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
11521 (vc-bzr-extra-menu-map): Map them.
11523 2010-03-11 Glenn Morris <rgm@gnu.org>
11525 * cus-edit.el (customize-changed-options-previous-release):
11528 * image.el (image-animate-max-time): Fix :version tag.
11530 2010-03-10 Chong Yidong <cyd@stupidchicken.com>
11534 2010-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
11536 * vc-git.el (vc-git-revision-table): Include remote branches.
11538 2010-03-10 Kim F. Storm <storm@cua.dk>
11540 Animated image API.
11541 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00211.html
11543 * image.el (image-animate-max-time): New defcustom.
11544 (image-animated-types): New defconst.
11545 (create-animated-image, image-animate-timer)
11546 (image-animate-start, image-animate-stop, image-animate-timeout)
11547 (image-animated-p): New functions.
11549 * image-mode.el (image-toggle-display-image):
11550 Replace `create-image' with `create-animated-image'.
11552 2010-03-09 Miles Bader <miles@gnu.org>
11554 * vc-git.el (vc-git-print-log): Use "tformat:" for shortlog,
11555 instead of "format:"; this ensures that the output is
11556 newline-terminated.
11558 2010-03-08 Chong Yidong <cyd@stupidchicken.com>
11560 * mail/rfc822.el (rfc822-addresses): Use nested catches to ensure
11561 that all errors are caught, and that the return value is always a
11564 2010-03-08 Kenichi Handa <handa@m17n.org>
11566 * language/misc-lang.el (windows-1256): New coding system.
11567 (cp1256): New alias of windows-1256 (bug#5690).
11569 2010-03-07 Andreas Schwab <schwab@linux-m68k.org>
11571 * mail/rfc822.el (rfc822-addresses): Move catch clause down around
11572 call to rfc822-bad-address. (Bug#5692)
11574 2010-03-07 Štěpán Němec <stepnem@gmail.com> (tiny change)
11576 * vc-git.el (vc-git-annotate-extract-revision-at-line):
11577 Use vc-git-root as default directory for revision path (Bug#5657).
11579 2010-03-06 Chong Yidong <cyd@stupidchicken.com>
11581 * calculator.el (calculator): Don't bind split-window-keep-point
11584 2010-03-06 Stefan Monnier <monnier@iro.umontreal.ca>
11586 * vc-git.el: Re-flow to fit into 80 columns.
11587 (vc-git-after-dir-status-stage, vc-git-dir-status-goto-stage):
11588 Remove spurious `quote' element in each case alternative.
11589 (vc-git-show-log-entry): Use prog1.
11590 (vc-git-after-dir-status-stage): Remove unused var `remaining'.
11592 2010-03-05 Stefan Monnier <monnier@iro.umontreal.ca>
11594 * man.el (Man-files-regexp): Tighten up the regexp (bug#5686).
11596 2010-03-03 Chong Yidong <cyd@stupidchicken.com>
11598 * macros.el (insert-kbd-macro): Look up keyboard macro using the
11599 definition, not the name (Bug#5481).
11601 2010-03-03 Štěpán Němec <stepnem@gmail.com> (tiny change)
11603 * subr.el (momentary-string-display): Don't overwrite the MESSAGE
11604 argument with a local variable. (Bug#5670)
11606 2010-03-02 Juri Linkov <juri@jurta.org>
11608 * info.el (Info-index-next): Decrement line number by 2. (Bug#5652)
11610 2010-03-02 Michael Albinus <michael.albinus@gmx.de>
11612 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Fix an
11613 error when FILENAME and NEWNAME are existing remote directories.
11615 * net/tramp-compat.el (tramp-compat-make-temp-file): Add optional
11616 parameter DIR-FLAG.
11618 2010-03-02 Glenn Morris <rgm@gnu.org>
11620 * calendar/cal-hebrew.el (holiday-hebrew-passover): Fix date
11621 of Yom HaAtzma'ut when it falls on a Monday (rule changed in 2004).
11623 2010-03-01 Kenichi Handa <handa@m17n.org>
11625 * language/burmese.el (burmese-composable-pattern): Rename from
11626 myanmar-composable-pattern.
11628 * international/characters.el (script-list):
11629 * international/fontset.el (script-representative-chars):
11630 Change myanmar to burmese.
11631 (otf-script-alist): Likewise.
11632 (setup-default-fontset): Likewise. Re-fix :otf spec.
11634 2010-02-28 Katsumi Yamaoka <yamaoka@jpl.org>
11636 * menu-bar.el (menu-bar-manuals-menu): Fix typo.
11638 2010-02-28 Jan Djärv <jan.h.d@swipnet.se>
11640 * scroll-bar.el (scroll-bar-drag-1): Add save-excursion, bug #5654.
11642 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
11644 * net/tramp.el (tramp-handle-write-region): START can be a string.
11645 Take care in the checks. Reported by Dan Davison
11646 <davison@stats.ox.ac.uk>.
11648 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
11650 * net/dbus.el (dbus-introspect, dbus-get-property)
11651 (dbus-set-property, dbus-get-all-properties):
11652 Use `dbus-call-method' when noninteractive. (Bug#5645)
11654 2010-02-28 Chong Yidong <cyd@stupidchicken.com>
11656 * textmodes/reftex-toc.el (reftex-toc-promote-prepare):
11657 * emacs-lisp/elint.el (elint-add-required-env):
11658 * calendar/icalendar.el (icalendar--add-diary-entry):
11659 * calc/calcalg2.el (math-tracing-integral):
11660 * files.el (recover-session-finish): Use with-current-buffer
11661 instead of save-excursion.
11663 2010-02-27 Stefan Monnier <monnier@iro.umontreal.ca>
11665 Fix in-buffer completion when after-change-functions modify the buffer.
11666 * minibuffer.el (completion--replace): New function.
11667 (completion--do-completion): Use it and use relative movement.
11669 2010-02-27 Chong Yidong <cyd@stupidchicken.com>
11671 * international/fontset.el (setup-default-fontset): Fix :otf spec.
11673 2010-02-27 Jeremy Whitlock <jcscoobyrs@gmail.com> (tiny change)
11675 * progmodes/python.el (python-pdbtrack-stack-entry-regexp):
11676 Allow the characters _<> in the stack entry (Bug#5653).
11678 2010-02-26 Kenichi Handa <handa@m17n.org>
11680 * language/burmese.el: Fix entries in composition-function-table.
11681 (myanmar-composable-pattern): New variable.
11683 * international/fontset.el (setup-default-fontset): Add an entry
11686 * international/characters.el (script-list): Add Myanmar
11689 2010-02-26 Glenn Morris <rgm@gnu.org>
11691 * custom.el (custom-initialize-delay): Doc fix.
11693 * mail/sendmail.el (send-mail-function): Autoload the call
11694 to custom-initialize-delay, not otherwise preserved in loaddefs.el.
11696 2010-02-24 Chong Yidong <cyd@stupidchicken.com>
11698 * files.el (hack-local-variables-filter): For eval forms, also
11699 check safe-local-variable-p (Bug#5636).
11701 2010-02-22 Michael Albinus <michael.albinus@gmx.de>
11703 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Protect
11704 setting the modes by `ignore-errors'. It might fail, for example
11705 if the file is not owned by the user but the group.
11706 (tramp-handle-write-region): Ensure, that `tmpfile' is always readable.
11708 2010-02-21 Chong Yidong <cyd@stupidchicken.com>
11710 * files.el (directory-listing-before-filename-regexp):
11711 Use stricter matching for iso-style dates, to avoid false matches with
11712 date-like filenames (Bug#5597).
11714 * htmlfontify.el (htmlfontify): Doc fix.
11716 * eshell/eshell.el (eshell): Doc fix.
11718 * startup.el (fancy-about-screen): In mode-line, apply
11719 mode-line-buffer-id face only to the buffer name (Bug#5613).
11721 2010-02-20 Kevin Ryde <user42@zip.com.au>
11723 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11724 In `watcom' anchor regexp to start of line, to avoid slowness
11727 2010-02-20 Eli Zaretskii <eliz@gnu.org>
11729 * subr.el (remove-yank-excluded-properties): Explain in a comment
11730 why `category' property is removed.
11732 2010-02-19 Chong Yidong <cyd@stupidchicken.com>
11734 * isearch.el (isearch-update-post-hook, isearch-update):
11735 Revert 2010-02-17 change.
11737 2010-02-19 Ulf Jasper <ulf.jasper@web.de>
11739 * calendar/icalendar.el (icalendar--convert-ordinary-to-ical)
11740 (icalendar--convert-weekly-to-ical)
11741 (icalendar--convert-yearly-to-ical)
11742 (icalendar--convert-block-to-ical)
11743 (icalendar--convert-cyclic-to-ical)
11744 (icalendar--convert-anniversary-to-ical): Take care of time
11745 specifications where hour has 1-digit only (Bug#5549).
11747 2010-02-19 Nick Roberts <nickrob@snap.net.nz>
11749 * progmodes/gdb-ui.el (gdb-assembler-handler): Accommodate change
11750 of disassemble output in GDB 7.1.
11752 2010-02-19 Glenn Morris <rgm@gnu.org>
11754 * progmodes/f90.el (f90-electric-insert): Give it a delete-selection
11755 property. (Bug#5593)
11757 2010-02-18 Sam Steingold <sds@gnu.org>
11759 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
11761 2010-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
11763 Use abbreviated file names in bookmarks (bug#5591).
11764 * bookmark.el (bookmark-maybe-load-default-file): Remove redundant
11765 calls to expand-file-name.
11766 (bookmark-relocate): Use abbreviated file names in bookmarks.
11767 (bookmark-load): Use abbreviated file names in messages.
11769 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
11771 * net/tramp.el (tramp-handle-directory-files): When FULL, do not
11772 expand "." and "..". Reported by Thierry Volpiatto
11773 <thierry.volpiatto@gmail.com>.
11775 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
11777 * net/tramp.el (tramp-handle-insert-file-contents): Set always the
11778 permissions of the temporary file to "0600". In case the remote
11779 file has no read permissions for the owner, there might be
11780 problems otherwise. Reported by Ole Laursen <olau@iola.dk>.
11782 22010-02-18 Glenn Morris <rgm@gnu.org>
11784 * emacs-lisp/authors.el (authors-renamed-files-alist):
11785 Add entries for INSTALL.CVS.
11787 2010-02-17 Mark A. Hershberger <mah@everybody.org>
11789 * vc-bzr.el: Fix typo in Known Bugs section.
11791 * isearch.el (isearch-update-post-hook): New hook.
11792 (isearch-update): Use the new hook.
11794 2010-02-16 Michael Albinus <michael.albinus@gmx.de>
11796 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
11797 Fix errors in copying directories.
11798 (tramp-handle-add-name-to-file, tramp-handle-copy-directory)
11799 (tramp-do-copy-or-rename-file, tramp-handle-delete-directory)
11800 (tramp-handle-delete-file)
11801 (tramp-handle-dired-recursive-delete-directory)
11802 (tramp-handle-write-region): Flush also the cache for the upper
11805 2010-02-16 Chong Yidong <cyd@stupidchicken.com>
11807 * simple.el (save-interprogram-paste-before-kill): Doc fix.
11809 * cus-edit.el (hardware): Doc fix.
11811 * man.el (man): Add to external custom group.
11813 * delim-col.el (columns): Move to wp custom group.
11815 * doc-view.el (doc-view): Add to data custom group.
11817 * nxml/nxml-mode.el (nxml-faces): Remove from font-lock-faces group.
11819 * textmodes/flyspell.el (flyspell-word): Obey the offset specified
11820 by ispell-parse-output (Bug#5575).
11822 2010-02-16 Kenichi Handa <handa@m17n.org>
11824 * international/ja-dic-cnv.el (iso-2022-7bit-short): Delete it.
11825 (skkdic-convert-okuri-ari): Ignore lines starting with '>'.
11826 (skkdic-convert): Use `euc-japan' coding system for writing.
11828 2010-02-16 Glenn Morris <rgm@gnu.org>
11830 * textmodes/tex-mode.el (tex-bibtex-file): Expand the result of
11831 tex-main-file before using it. (Bug#5562)
11833 2010-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
11835 * emacs-lisp/advice.el (ad-compile-function): Suppress byte-compiler
11836 warnings, since it is annoying for the user to see them each time he
11839 2010-02-15 Michael Albinus <michael.albinus@gmx.de>
11841 * net/tramp.el (tramp-process-actions, tramp-read-passwd):
11842 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection): Use VEC
11843 instead of PROC for caching "first-password-request". Otherwise,
11844 new processes would not profit from passwords already entered.
11846 * net/tramp-cache.el (tramp-dump-connection-properties):
11847 Don't save "first-password-request" property.
11849 2010-02-14 Juanma Barranquero <lekktu@gmail.com>
11851 * outline.el (outline-head-from-level):
11852 * simple.el (with-wrapper-hook):
11853 * emacs-lisp/elint.el (elint-extra-errors, elint-current-buffer)
11854 (elint-defun, elint-buffer-env, elint-top-form-logged)
11855 (elint-unbound-variable):
11856 * textmodes/reftex-toc.el (reftex-toc-newhead-from-alist):
11857 Fix typos in docstrings.
11859 2010-02-14 Michael Albinus <michael.albinus@gmx.de>
11861 * files.el (insert-directory): When WILDCARD-REGEXP and
11862 FULL-DIRECTORY-P are nil, insert the file entry instead of the
11863 whole directory. (Bug#5551)
11865 * net/ange-ftp.el (ange-ftp-insert-directory): Insert " " for
11866 dired's alignment sanity. (Bug#5516)
11868 2010-02-14 Juri Linkov <juri@jurta.org>
11870 * man.el (Man-fontify-manpage, Man-cleanup-manpage):
11871 Remove remaining ^H with their preceding chars. (Bug#5566)
11873 2010-02-13 Glenn Morris <rgm@gnu.org>
11875 * simple.el (transpose-subr): Give it a doc-string.
11877 * textmodes/paragraphs.el (transpose-paragraphs, transpose-sentences):
11880 2010-02-12 Juri Linkov <juri@jurta.org>
11882 * arc-mode.el (archive-unique-fname): Make directories for nested
11883 archives. (Bug#5540)
11885 2010-02-12 Juri Linkov <juri@jurta.org>
11887 * ffap.el (dired-at-point): Fix docstring. (Bug#5565)
11889 2010-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
11891 * subr.el (copy-overlay): Handle deleted overlays.
11893 * man.el (Man-completion-table): Don't signal an error if we can't run
11894 manual-program (bug#4056).
11896 2010-02-10 Juanma Barranquero <lekktu@gmail.com>
11898 * textmodes/artist.el (artist-mt): Fix typos in docstring.
11900 2010-02-10 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11902 * info.el (Info-bookmark-jump): Simplify.
11904 * bookmark.el (bookmark-handle-bookmark): Catch the right error.
11905 (bookmark-default-handler): Accept new bookmark field `buffer'.
11907 2010-02-10 Chong Yidong <cyd@stupidchicken.com>
11909 * iswitchb.el (iswitchb-completions): Revert last change.
11911 2010-02-10 Michael Albinus <michael.albinus@gmx.de>
11913 * ls-lisp.el (ls-lisp-insert-directory): When WILDCARD-REGEXP and
11914 FULL-DIRECTORY-P are nil, and FILE is absolute, expand it.
11915 This prevents file names like "~/" being listed literally.
11917 2010-02-10 Dan Nicolaescu <dann@ics.uci.edu>
11919 * term/xterm.el (xterm-maybe-set-dark-background-mode):
11920 Remove dead code. (Bug#5546)
11922 2010-02-09 Chong Yidong <cyd@stupidchicken.com>
11924 * eshell/em-ls.el (eshell-ls-applicable): Frob file attributes
11925 correctly (Bug#5548).
11927 2010-02-08 Jose E. Marchesi <jemarch@gnu.org>
11929 * progmodes/ada-mode.el (ada-in-numeric-literal-p): New function.
11930 (ada-adjust-case): Don't adjust case in hexadecimal number literals.
11932 2010-02-08 Kenichi Handa <handa@m17n.org>
11934 * international/mule-util.el (with-coding-priority): Add autoload
11935 cookie for putting `lisp-indent-function'.
11937 2010-02-07 Glenn Morris <rgm@gnu.org>
11939 * progmodes/f90.el (f90-font-lock-keywords-1, f90-font-lock-keywords-2):
11940 Move F2003 named interfaces from keywords-2 to keywords-1, and
11941 use function-name-face rather than constant-face.
11942 Simplify "abstract interface" regexp.
11944 2010-02-07 Chong Yidong <cyd@stupidchicken.com>
11946 * eshell/esh-util.el (eshell-file-attributes): New optional arg
11947 ID-FORMAT. Pass it to `file-attributes'.
11949 * eshell/em-ls.el (eshell-do-ls): Use it (Bug#5528).
11951 2010-02-07 sj <prime.wizard+emacs@gmail.com> (tiny change)
11953 * faces.el (set-face-attribute): Allow calling
11954 internal-set-lisp-face-attribute with 'unspecified family and
11955 foundry argument (Bug#5536).
11957 2010-02-07 Glenn Morris <rgm@gnu.org>
11959 * progmodes/f90.el (f90-font-lock-keywords-2)
11960 (f90-looking-at-type-like, f90-looking-at-program-block-end):
11961 Handle F2003 named interfaces.
11963 2010-02-06 Chong Yidong <cyd@stupidchicken.com>
11965 * progmodes/cc-mode.el (c-common-init): Bind temporary variables
11966 beg and end before calling c-get-state-before-change-functions.
11968 2010-02-06 Dan Nicolaescu <dann@ics.uci.edu>
11970 * vc-bzr.el (vc-bzr-dir-extra-headers):
11971 Disable the pending merges header.
11973 2010-02-05 Juri Linkov <juri@jurta.org>
11975 * doc-view.el (doc-view-mode):
11976 * image-mode.el (image-mode): Put property mode-class=special.
11979 2010-02-05 Mark A. Hershberger <mah@everybody.org>
11981 * vc-svn.el (vc-svn-revision-table): New function.
11983 2010-02-05 Michael Albinus <michael.albinus@gmx.de>
11985 * net/ange-ftp.el (ange-ftp-insert-directory):
11986 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
11987 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
11988 Handle also directories. (Bug#5478)
11990 2010-02-05 Glenn Morris <rgm@gnu.org>
11992 * progmodes/f90.el (f90-font-lock-keywords-2): Fix `enum'.
11994 2010-02-05 Chong Yidong <cyd@stupidchicken.com>
11996 * startup.el (command-line-1): Convert options beginning with a
11997 single dash as well (Bug#5519).
11999 2010-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
12001 Make `initials' completion work for /hh -> /home/horn again (bug#5524).
12002 * minibuffer.el (completion-initials-expand): Only check the presence
12003 of delims *within* the boundaries, since otherwise the / delim is
12004 always found for files.
12006 Fix up various corner case problems.
12007 * doc-view.el (doc-view-last-page-number): New function.
12008 (doc-view-mode, doc-view-last-page, doc-view-goto-page): Use it.
12009 (doc-view-goto-page): Avoid inf-loops when the conversion fails.
12010 (doc-view-kill-proc): Avoid inf-loop in freak cases.
12011 (doc-view-reconvert-doc): Use the new recursive delete-directory.
12012 (doc-view-convert-current-doc): Don't create the resolution.el file
12014 (doc-view-pdf/ps->png): Do it here instead.
12015 (doc-view-already-converted-p): Check that resolution.el is present.
12016 (doc-view-pdf->png): Don't rely on doc-view-pdf/ps->png for the few
12017 windows that are not yet showing images.
12019 2010-02-04 Michael Albinus <michael.albinus@gmx.de>
12021 * dired.el (dired-revert): If DIRED-DIRECTORY is a cons cell, call
12022 `dired-uncache' for every elemnt which is an absolute file name.
12024 * net/tramp.el (tramp-handle-dired-uncache): When DIR is not a
12025 directory, handle its directory component.
12026 (tramp-handle-file-remote-p): Let-bind `tramp-verbose' to 3; this
12027 function is called permanently and creates noise, otherwise.
12029 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
12030 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
12031 Handle the case, FILENAME is not in `default-directory'. (Bug#5478)
12033 2010-02-04 David Burger <dburger@google.com> (tiny change)
12035 * macros.el (apply-macro-to-region-lines):
12036 Minor simplification. (Bug#5485)
12038 2010-02-04 Glenn Morris <rgm@gnu.org>
12040 * mail/rmail.el (rmail-show-message-1): Handle malformed
12041 quoted-printable text. (Bug#5441)
12043 * mail/mail-utils.el (mail-unquote-printable-region): Doc fix.
12045 * simple.el (visual-line-mode): Capitalize lighter.
12047 2010-02-03 John Wiegley <jwiegley@gmail.com>
12049 * iswitchb.el (iswitchb-completions): Add bookmark files to the
12050 list of files considered for "virtual buffer" completions.
12052 2010-02-03 Michael Albinus <michael.albinus@gmx.de>
12054 * net/ange-ftp.el (ange-ftp-insert-directory): Parse directory
12055 also in case of (and (not full) (not wildcard)). This is needed
12056 when dired is called with a list of files, which are not in
12057 `default-directory'. (Bug#5478)
12059 2010-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
12061 * vc-hooks.el (vc-path): Make it an obsolete var, rather than function.
12063 2010-02-02 Juri Linkov <juri@jurta.org>
12065 * textmodes/ispell.el (ispell-message-text-end): Remove final newline
12066 from unidiff to allow function-line after @@.
12068 2010-02-02 Juri Linkov <juri@jurta.org>
12070 * ediff-util.el (ediff-file-checked-in-p): Replace '(nil CVS) by
12071 '(RCS SCCS) with inverted condition.
12073 2010-02-02 Michael Albinus <michael.albinus@gmx.de>
12075 * net/ange-ftp.el (ange-ftp-skip-msgs): Ignore all ""^500 .*AUTH"
12078 2010-02-01 Juri Linkov <juri@jurta.org>
12080 * arc-mode.el (archive-zip-extract): Use `member-ignore-case' to
12081 compare with "pkunzip" and "pkzip" instead of only "pkzip".
12082 In the `archive-extract-by-stdout' branch use `shell-quote-argument'
12083 only when (car archive-zip-extract) is "unzip". (Bug#5475)
12085 2010-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
12087 * doc-view.el (doc-view-new-window-function): Be a bit more defensive.
12088 (doc-view-revert-buffer): New command.
12089 (doc-view-mode-map): Use it.
12091 2010-02-01 Dan Nicolaescu <dann@ics.uci.edu>
12093 * vc-bzr.el (vc-bzr-dir-extra-headers): Add a header when a
12094 pending merge is detected.
12096 2010-01-31 Juri Linkov <juri@jurta.org>
12098 * progmodes/grep.el (zrgrep): Call `grep-compute-defaults' at the
12099 beginning of interactive spec like all other grep commands do.
12100 Put "all" in front of "gz". (Bug#5260)
12102 2010-01-29 Dan Nicolaescu <dann@ics.uci.edu>
12104 * vc-bzr.el (vc-bzr-after-dir-status): Match another renaming indicator.
12106 2010-01-29 Chong Yidong <cyd@stupidchicken.com>
12108 * dirtrack.el (dirtrack): Warn instead of signalling error if the
12109 regexp is incorrect (Bug#5476).
12111 2010-01-29 Michael Albinus <michael.albinus@gmx.de>
12113 * net/tramp.el (tramp-handle-insert-directory): Handle also
12114 symlinks, when FILENAME is not in `default-directory'.
12116 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
12118 * net/ange-ftp.el (ange-ftp-insert-directory): Handle the case,
12119 FILE is not in `default-directory'. (Bug#5478)
12121 * net/tramp.el (tramp-handle-insert-directory): Simplify handling
12122 of SWITCHES. Handle the case, FILENAME is not in
12123 `default-directory'. (Bug#5478)
12124 (tramp-register-file-name-handlers): Add safe-magic property.
12126 2010-01-28 Chong Yidong <cyd@stupidchicken.com>
12128 * arc-mode.el (archive-zip-extract): Quote the argument passed to
12131 2010-01-28 Nil Geisweiller <ngeiswei@googlemail.com> (tiny change)
12133 * progmodes/flymake.el (flymake-allowed-file-name-masks)
12134 (flymake-master-make-header-init): Add other C++ filename masks.
12135 (flymake-find-possible-master-files)
12136 (flymake-check-patch-master-file-buffer): Doc fixes (Bug#5488).
12138 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
12140 Fix some busybox annoyances.
12142 * net/tramp.el (tramp-wrong-passwd-regexp): Add "Timeout, server
12143 not responding." string.
12144 (tramp-open-connection-setup-interactive-shell): Dump stty
12145 settings. Enable "neveropen" arg for all `tramp-send-command'
12146 calls. Handle "=" in variable values properly.
12147 (tramp-find-inline-encoding): Raise an error, when no encoding is
12149 (tramp-wait-for-output): Check, whether PROC buffer is available.
12150 Remove spurious " ^H" sequences, sent by busybox.
12151 (tramp-get-ls-command): Suppress coloring, if possible.
12153 2010-01-28 Glenn Morris <rgm@gnu.org>
12155 * vc-svn.el (vc-svn-update): Use "svn --non-interactive". (Bug#4280)
12157 * log-edit.el (log-edit-strip-single-file-name): Add missing
12158 :safe, :group, and :version tags.
12160 2010-01-27 Stephen Berman <stephen.berman@gmx.net>
12162 * calendar/diary-lib.el (diary-unhide-everything): Handle narrowed
12163 buffers. (Bug#5477)
12165 2010-01-27 David De La Harpe Golden <david@harpegolden.net>
12167 * files.el (delete-directory): Handle moving to trash without
12168 first doing recursion (Bug#5436).
12170 2010-01-26 Dan Nicolaescu <dann@ics.uci.edu>
12172 * vc-hooks.el (vc-path): Mark as obsolete.
12174 2010-01-25 Dan Nicolaescu <dann@ics.uci.edu>
12176 * vc-annotate.el (vc-annotate-revision-at-line): Compare file
12179 * vc-bzr.el (vc-bzr-print-log): Use the more compact --line option
12181 (vc-bzr-log-view-mode): Adjust regexp for the above change.
12183 2010-01-25 Mark A. Hershberger <mah@everybody.org>
12185 * progmodes/python.el: Replace reference to obsolete c-subword-mode.
12187 * vc-bzr.el (vc-bzr-revision-table): New function.
12189 2010-01-25 Eric Hanchrow <eric.hanchrow@gmail.com>
12191 * vc-git.el (vc-git-dir-status-goto-stage): Pass --relative to the
12192 diff-index command. This requires at least git-1.5.5. (Bug#1589).
12194 2010-01-24 Dan Nicolaescu <dann@ics.uci.edu>
12196 Remove support for adding --signoff on commit.
12197 Future support will use an incompatible generic mechanism.
12198 * vc-git.el (vc-git-add-signoff): Remove variable.
12199 (vc-git-toggle-signoff): Remove function.
12200 (vc-git-extra-menu-map): Do not bind vc-git-toggle-signoff.
12202 * term/xterm.el (xterm-maybe-set-dark-background-mode):
12203 Rename from xterm-set-background-mode. Return t if the background mode
12205 (terminal-init-xterm): Move tty-set-up-initial-frame-faces
12206 earlier, call it again in case the background mode has changed.
12208 2010-01-23 Dmitri Paduchikh <dpaduch@k66.ru> (tiny change)
12210 * emacs-lisp/advice.el (ad-set-orig-definition): Fix typo
12213 2010-01-23 Chong Yidong <cyd@stupidchicken.com>
12215 * emacs-lisp/assoc.el (aelement): Doc fix.
12216 (aput, adelete, amake): Use lexical-let (Bug#5450).
12218 2010-01-23 Stephen Leake <stephen_leake@member.fsf.org>
12220 * progmodes/ada-mode.el (ada-in-paramlist-p): Pragma syntax
12221 is the same as subprogram call, not declaration. (Bug#5435).
12223 2010-01-23 Michael Albinus <michael.albinus@gmx.de>
12225 * net/tramp-smb.el (tramp-smb-conf): New defcustom.
12226 (tramp-smb-maybe-open-connection): Use it.
12228 2010-01-22 Michael Albinus <michael.albinus@gmx.de>
12230 * net/tramp-imap.el (top): Autoload needed packages. (Bug#5448)
12232 2010-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
12234 * mail/rmailmm.el (rmail-mime-handle): Don't set the buffer to unibyte
12235 just because we see "encoding: 8bit".
12236 * mail/rmail.el (rmail-show-message-1): Decode the body's QP into bytes.
12238 2010-01-22 Chong Yidong <cyd@stupidchicken.com>
12240 * isearch.el (isearch-allow-scroll): Doc fix (Bug#5446).
12242 2010-01-22 Eli Zaretskii <eliz@gnu.org>
12244 * jka-compr.el (jka-compr-load): If load-file is not in
12245 load-history, try its file-truename version. (bug#5447)
12247 2010-01-21 Alan Mackenzie <acm@muc.de>
12249 Fix a situation where deletion of a cpp construct throws an error.
12250 * progmodes/cc-engine.el (c-invalidate-state-cache):
12251 Before invoking c-with-all-but-one-cpps-commented-out, check that the
12252 special cpp construct is still in the buffer.
12253 (c-parse-state): Record the special cpp with markers, not numbers.
12255 2010-01-21 Kenichi Handa <handa@m17n.org>
12257 * textmodes/sgml-mode.el (sgml-maybe-name-self): No need to
12258 process last-command-event, as it is now decoded first (Bug#5380).
12260 2010-01-20 Chong Yidong <cyd@stupidchicken.com>
12262 * term.el (term-send-raw-meta): Revert 2009-12-04 change (Bug#5330).
12264 2010-01-20 Glenn Morris <rgm@gnu.org>
12266 * indent.el (tab-always-indent): Fix custom-type.
12268 2010-01-19 Alan Mackenzie <acm@muc.de>
12270 * progmodes/cc-defs.el: Fix bug#5395: typing '#' in an empty
12271 buffer throws "args out of range".
12272 (c-set-cpp-delimiters, c-clear-cpp-delimiters): Check for EOB
12273 playing the role of delimiter.
12275 2010-01-18 Stephen Leake <stephen_leake@member.fsf.org>
12277 * progmodes/ada-mode.el: Fix bug#5400.
12278 (ada-matching-decl-start-re): Move into ada-goto-decl-start.
12279 (ada-goto-decl-start): Rename from ada-goto-matching-decl-start; callers
12280 changed. Delete RECURSIVE parameter; never used. Improve doc string.
12281 Improve comments in "is" portion. Handle null procedure declaration.
12282 (ada-move-to-end): Improve doc string.
12284 2010-01-18 Óscar Fuentes <ofv@wanadoo.es>
12286 * ido.el (ido-cur-list): Initialize to nil.
12287 Remove obsolete information from commentary.
12288 (ido-choice-list): Initialize to nil.
12289 (ido-get-bufname): Reject minibuffers.
12290 (ido-make-buffer-list): If "default" is a nonexistent
12291 buffer, ignore it, as per the function's comment.
12292 (ido-kill-buffer-internal): New function.
12293 (ido-kill-buffer-at-head): Use it.
12294 (ido-visit-buffer): Likewise.
12296 2010-01-18 Chong Yidong <cyd@stupidchicken.com>
12298 * calendar/time-date.el (date-to-time): Doc fix (Bug#5408).
12300 2010-01-18 Juanma Barranquero <lekktu@gmail.com>
12302 * emacs-lisp/chart.el (chart-file-count, chart-rmail-from):
12303 Fix typos in chart titles.
12305 * whitespace.el (whitespace-style, global-whitespace-newline-mode):
12306 * emacs-lisp/eieio.el (eieio-error-unsupported-class-tags)
12307 (eieio-generic-form, eieio-help-mode-augmentation-maybee, eieio-browse)
12308 (describe-class, eieio-describe-generic, describe-generic):
12309 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click)
12310 (eieio-speedbar-expand):
12311 * emulation/viper-cmd.el (viper-exec-form-in-vi)
12312 (viper-exec-form-in-emacs, viper-harness-minor-mode, viper-ESC)
12313 (viper-repeat, viper-replace-state-exit-cmd, viper-toggle-search-style)
12314 (viper-del-backward-char-in-replace, viper-backward-indent)
12315 (viper-brac-function, viper-register-to-point, viper-submit-report):
12316 * net/tramp.el (tramp-remote-coding-commands):
12317 * term/x-win.el (emacs-session-save, x-menu-bar-open, icon-map-list):
12318 Fix typos in docstrings.
12320 2010-01-17 Chong Yidong <cyd@stupidchicken.com>
12322 * mail/sendmail.el (mail-yank-original): Set the mark if the
12323 specified function for yanking does not do it.
12325 2010-01-17 Dan Nicolaescu <dann@ics.uci.edu>
12327 * vc.el (with-vc-properties): Deal with directory arguments. (Bug#5298)
12329 * vc-dir.el (vc-dir-resynch-file): Update the vc-dir header when
12330 resyncing a directory.
12332 2010-01-17 Stephen Leake <stephen_leake@member.fsf.org>
12334 * progmodes/ada-mode.el: Fix bug#1920.
12335 (ada-ident-re): Delete ., allow multibyte characters.
12336 (ada-goto-label-re): New; matches goto labels.
12337 (ada-block-label-re): New; matches block labels.
12338 (ada-label-re): New; matches both.
12339 (ada-named-block-re): Deleted; callers changed to use
12340 `ada-block-label-re' instead.
12341 (ada-get-current-indent, ada-get-indent-noindent, ada-get-indent-loop):
12342 Use `ada-block-label-re'.
12343 (ada-indent-on-previous-lines): Improve handling of goto labels.
12344 (ada-get-indent-block-start): Special-case block label.
12345 (ada-get-indent-label): Split into `ada-indent-block-label' and
12346 `ada-indent-goto-label'.
12347 (ada-goto-stmt-start, ada-goto-next-non-ws):
12348 Optionally ignore goto labels.
12349 (ada-goto-next-word): Simplify.
12350 (ada-indent-newline-indent-conditional): Insert newline before
12351 trying to fix indentation; doc fix.
12353 2010-01-17 Jay Belanger <jay.p.belanger@gmail.com>
12355 * calc/calc.el (calc-command-flags): Give it an initial value.
12357 2010-01-17 Juanma Barranquero <lekktu@gmail.com>
12359 * files.el (minibuffer-with-setup-hook):
12360 * textmodes/artist.el (artist-mt, artist-key-undraw-continously)
12361 (artist-key-draw-continously, artist-key-do-continously-continously)
12362 (artist-key-set-point-continously, artist-mouse-draw-continously):
12363 Fix typos in docstrings.
12365 2010-01-16 Lennart Borgman <lennart.borgman@gmail.com>
12367 * nxml/nxml-mode.el (nxml-extend-after-change-region):
12368 Never return t (Bug#3898).
12370 2010-01-16 Frédéric Perrin <frederic.perrin@resel.fr> (tiny change)
12372 * vc-dispatcher.el (vc-do-command): Set LC_MESSAGES, so that we
12373 can parse the output of the external commands (Bug#5279).
12375 2010-01-16 Jari Aalto <jari.aalto@cante.net>
12377 * pcmpl-unix.el (pcmpl-unix-read-passwd-file): Doc fix.
12379 2010-01-16 Chong Yidong <cyd@stupidchicken.com>
12381 * emacs-lisp/advice.el (ad-add-advice): Doc fix (Bug#5274)
12383 * emacs-lisp/cl-macs.el (defstruct): Doc fix (Bug#5267).
12385 * startup.el (command-line): Remove unused --icon-type arg.
12386 Handle --display arg, passing it to command-line-1 (Bug#5392).
12388 2010-01-16 Mario Lang <mlang@delysid.org>
12390 * emacs-lisp/chart.el (chart-translate-namezone):
12391 * textmodes/artist.el (artist-compute-popup-menu-table):
12392 Remove duplicated words in doc-strings.
12394 2010-01-15 David Abrahams <dave@boostpro.com> (tiny change)
12396 * net/mairix.el (mairix-widget-send-query): Send -1 instead of nil
12397 to mairix-search to suppress threading (Bug#5342).
12399 2010-01-15 Kenichi Handa <handa@m17n.org>
12401 * international/mule-cmds.el (canonicalize-coding-system-name):
12402 Convert "msXXX", "ibmXXX", "windows-XXX" to "cpXXX" (Bug#5387).
12404 2010-01-15 Glenn Morris <rgm@gnu.org>
12406 * log-view.el (top-level): Require 'wid-edit. (Bug#5311)
12408 * wid-edit.el (widget-keymap): Doc fix.
12410 * vc-svn.el (vc-svn-print-log): Use --limit rather than -l since the
12411 former seems to be more widely accepted by various svn versions.
12413 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
12415 * find-cmd.el (find-constituents):
12416 * vc-arch.el (vc-arch-root):
12417 * window.el (window-body-height, pop-up-frames):
12418 * emacs-lisp/eieio-base.el (eieio-singleton, slot-missing):
12419 * progmodes/ada-stmt.el (ada-if):
12420 * progmodes/gdb-ui.el (gdb-jsonify-buffer):
12421 * textmodes/ispell.el (ispell-grep-options, ispell-dictionary-alist)
12422 (ispell-encoding8-command, ispell-aspell-supports-utf8)
12423 (ispell-last-program-name, ispell-help): Fix typos in docstrings.
12425 * progmodes/flymake.el (flymake-post-syntax-check):
12426 Fix typo in error message.
12428 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
12430 * hexl.el (hexl-printable-character): Fix check of `hexl-iso',
12431 which is always a string. (Bug#5313)
12433 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
12435 * progmodes/ada-xref.el (ada-default-prj-properties):
12436 Simplify previous change.
12438 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
12440 * progmodes/ada-xref.el (ada-default-prj-properties):
12441 Default ada_project_path to $ADA_PROJECT_PATH.
12443 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
12445 * progmodes/ada-mode.el (ada-create-keymap):
12446 Override `narrow-to-defun' with `ada-narrow-to-defun'.
12448 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
12450 * progmodes/ada-mode.el: Deal with Ada 2005 "overriding" keyword.
12451 (ada-subprog-start-re, ada-imenu-subprogram-menu-re): Add keyword.
12452 (ada-get-current-indent, ada-imenu-generic-expression)
12453 (ada-which-function): Check for it.
12455 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
12457 * progmodes/ada-mode.el (ada-clean-buffer-before-saving): Make obsolete.
12458 (ada-mode): Don't obey `ada-clean-buffer-before-saving' anymore.
12460 2010-01-14 Glenn Morris <rgm@gnu.org>
12462 * frame.el (show-trailing-whitespace): Safe if boolean. (Bug#5312)
12464 2010-01-14 Kenichi Handa <handa@m17n.org>
12466 * composite.el (auto-composition-mode): Make it a buffer local
12467 variable (permanent-local).
12468 (auto-composition-function): Set the default value to
12469 auto-compose-chars.
12470 (auto-composition-mode): Make it a simple function, not a minor mode.
12471 (global-auto-composition-mode): Likewise.
12472 (turn-on-auto-composition-if-enabled): Delete it.
12474 2010-01-13 Karl Fogel <kfogel@red-bean.com>
12476 * bookmark.el (bookmark-bmenu-execute-deletions): Doc fix (Bug#5276).
12478 2010-01-12 Michael Albinus <michael.albinus@gmx.de>
12480 * files.el (copy-directory): Compute target for recursive
12481 directories with identical names. (Bug#5343)
12483 2010-01-12 Glenn Morris <rgm@gnu.org>
12485 * mail/emacsbug.el (report-emacs-bug-pretest-address):
12486 Set it to bug-gnu-emacs rather than emacs-pretest-bug.
12488 2010-01-11 Sam Steingold <sds@gnu.org>
12490 * imenu.el (imenu-default-create-index-function): Detect infinite
12491 loops caused by imenu-prev-index-position-function.
12493 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
12495 * htmlfontify.el (htmlfontify-load-rgb-file)
12496 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values)
12497 (htmlfontify-manual, htmlfontify, hfy-page-header, hfy-page-footer)
12498 (hfy-src-doc-link-style, hfy-src-doc-link-unstyle, hfy-link-extn)
12499 (hfy-link-style-fun, hfy-index-file, hfy-instance-file)
12500 (hfy-html-quote-regex, hfy-init-kludge-hook, hfy-post-html-hooks)
12501 (hfy-default-face-def, hfy-etag-regex, hfy-html-quote-map)
12502 (hfy-etags-cmd-alist-default, hfy-etags-bin, hfy-ignored-properties)
12503 (hfy-which-etags, hfy-etags-cmd, hfy-istext-command, hfy-display-class)
12504 (hfy-optimisations, hfy-tags-cache, hfy-tags-sortl, hfy-tags-rmap)
12505 (hfy-style-assoc, hfy-sheet-assoc, hfy-facemap-assoc, hfy-interq)
12506 (hfy-colour-vals, hfy-default-header, hfy-link-style-string)
12507 (hfy-triplet, hfy-slant, hfy-weight, hfy-combined-face-spec)
12508 (hfy-face-attr-for-class, hfy-face-to-style-i, hfy-size-to-int)
12509 (hfy-flatten-style, hfy-face-to-style, hfy-face-or-def-to-name)
12510 (hfy-face-to-css, hfy-p-to-face, hfy-p-to-face-lennart, hfy-face-at)
12511 (hfy-fontified-p, hfy-merge-adjacent-spans, hfy-buffer)
12512 (hfy-html-enkludge-buffer, hfy-html-quote, hfy-html-dekludge-buffer)
12513 (hfy-force-fontification, htmlfontify-buffer, hfy-dirname)
12514 (hfy-make-directory, hfy-text-p, hfy-mark-tag-names, hfy-relstub)
12515 (hfy-href-stub, hfy-href, hfy-mark-tag-hrefs, hfy-prepare-index-i)
12516 (hfy-prepare-index, hfy-prepare-tag-map, hfy-subtract-maps)
12517 (htmlfontify-run-etags): Fix typos in docstrings and remove superfluous
12518 backslash-quoting from parentheses, etc.
12520 2010-01-11 Chong Yidong <cyd@stupidchicken.com>
12522 * progmodes/js.el: Autoload javascript-mode alias.
12524 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
12526 * ffap.el (ffap-shell-prompt-regexp, ffap-all-subdirs, ffap-url-p)
12527 (ffap-alist, ffap-tex-path, ffap-url-at-point, ffap-gopher-regexp)
12528 (ffap-gopher-at-point, ffap-file-at-point, ffap-read-file-or-url)
12529 (ffap-read-url-internal, ffap-menu, ffap-at-mouse):
12530 Fix typos in docstrings.
12531 (ffap-url-regexp): Doc fix.
12532 (ffap-at-mouse): Fix typo in message.
12534 2010-01-11 Glenn Morris <rgm@gnu.org>
12536 * version.el (emacs-copyright): Set copyright year to 2010.
12538 2010-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
12540 * format.el (format-annotate-function): Only set
12541 write-region-post-annotation-function after running to-fn so as not to
12542 affect nested write-region calls (bug#5273).
12544 2010-01-10 Chong Yidong <cyd@stupidchicken.com>
12546 * Makefile.in (ELCFILES): Add wisent/python-wy.el and
12549 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
12551 * man.el (Man-goto-section): Signal error if the section is not
12554 2010-01-09 Juanma Barranquero <lekktu@gmail.com>
12556 * vc-bzr.el (vc-bzr-working-revision): On Windows and MS-DOS, accept
12557 URLs with a leading triple slash in the file: scheme. (Bug#5345)
12559 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
12561 * progmodes/compile.el: Don't treat compile-command as safe if
12562 compilation-read-command might be nil (Bug#4218).
12564 2010-01-09 Jan Djärv <jan.h.d@swipnet.se>
12566 * startup.el (command-line-1): Use orig-argi to check for ignored X and
12569 2010-01-08 Kenichi Handa <handa@m17n.org>
12571 * international/fontset.el (build-default-fontset-data):
12572 Exclude characters in scripts kana, hangul, han, or cjk-misc.
12574 2010-01-07 Juanma Barranquero <lekktu@gmail.com>
12576 * vc-dir.el (vc-dir-prepare-status-buffer): Pass a (fake) filename
12577 to `create-file-buffer' as it expects, not just a buffer name.
12578 (vc-dir-mode): Include the buffer name in `list-buffers-directory',
12579 to help uniquify. (Bug#3224)
12581 2010-01-06 Jan Djärv <jan.h.d@swipnet.se>
12583 * font-setting.el (font-setting-change-default-font): Use user-spec
12586 2010-01-06 Dan Nicolaescu <dann@ics.uci.edu>
12588 * vc-bzr.el (vc-bzr-after-dir-status): Ignore pending merges.
12590 2010-01-05 Tom Tromey <tromey@redhat.com>
12592 * progmodes/python.el (python-font-lock-keywords):
12593 Handle qualified decorators (Bug#881).
12595 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
12597 * vc-bzr.el (vc-bzr-working-revision): Fix looking for a revision
12598 in a lightweight checkout.
12600 2010-01-05 Kenichi Handa <handa@m17n.org>
12602 * language/indian.el (malayalam-composable-pattern): Fix ZWNJ and ZWJ.
12604 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
12606 * vc-bzr.el (vc-bzr-diff): Obey vc-disable-async-diff.
12608 2010-01-04 Dan Nicolaescu <dann@ics.uci.edu>
12610 * vc-bzr.el (vc-bzr-state-heuristic): Make it work for lightweight
12611 checkouts. (Bug#618)
12612 (vc-bzr-log-view-mode): Also highlight the author.
12613 (vc-bzr-shelve-map): Change binding for vc-bzr-shelve-apply-at-point.
12614 (vc-bzr-shelve-menu-map):
12615 (vc-bzr-dir-extra-headers): Improve menu and tooltip text.
12616 (vc-bzr-shelve-apply): Make prompt more explicit.
12618 2010-01-02 Chong Yidong <cyd@stupidchicken.com>
12620 * net/browse-url.el (browse-url-encode-url): Don't escape commas.
12621 They are valid characters in URL paths (rfc3986), and at least
12622 Firefox does not understand the encoded version (Bug#3166).
12624 2010-01-02 Daniel Elliott <danelliottster@gmail.com> (tiny change)
12626 * progmodes/octave-mod.el (octave-end-keywords)
12627 (octave-block-begin-or-end-regexp, octave-block-match-alist):
12628 Add "end" keyword (Bug#3061).
12629 (octave-end-as-array-index-p): New function.
12630 (calculate-octave-indent): Use it.
12632 2010-01-02 Karl Fogel <kfogel@red-bean.com>
12634 * bookmark.el: Consistently put the text property on the bookmark name.
12635 (bookmark-bmenu-marks-width): Bump back to 2, to include
12637 (bookmark-bmenu-hide-filenames): Adjust for above, and put the text
12638 property on the bookmark name, instead of not putting it at all.
12639 (bookmark-bmenu-list): Fix where we put the text property.
12641 2010-01-02 Karl Fogel <kfogel@red-bean.com>
12643 * bookmark.el (bookmark-bmenu-save): Just depend on the new logic
12644 for showing buffer modified state (as added in the previous change).
12646 2010-01-02 Karl Fogel <kfogel@red-bean.com>
12648 * bookmark.el: Show modified state of bookmark buffer more accurately.
12649 (bookmark-bmenu-list): Initialize buffer-modified-p properly.
12650 (bookmark-send-edited-annotation): Mark bookmark-alist as modified.
12651 (with-buffer-modified-unmodified): New macro.
12652 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
12653 (bookmark-bmenu-mark, bookmark-bmenu-unmark, bookmark-bmenu-delete):
12654 Use new macro to preserve the buffer modified state.
12656 2010-01-02 Karl Fogel <kfogel@red-bean.com>
12658 * bookmark.el (bookmark-bmenu-select, bookmark-bmenu-1-window)
12659 (bookmark-bmenu-2-window, bookmark-bmenu-this-window)
12660 (bookmark-bmenu-other-window, bookmark-bmenu-switch-other-window)
12661 (bookmark-bmenu-show-annotation, bookmark-bmenu-edit-annotation)
12662 (bookmark-bmenu-rename, bookmark-bmenu-locate)
12663 (bookmark-bmenu-relocate, bookmark-bmenu-goto-bookmark):
12664 Remove unnecessary calls to `bookmark-bmenu-ensure-position'.
12666 2010-01-02 Eli Zaretskii <eliz@gnu.org>
12668 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
12669 Make the lines in the generated doc string shorter. (Bug#4668)
12671 2010-01-02 Ryan Yeske <rcyeske@gmail.com>
12673 * net/rcirc.el: Add follow-link binding (Bug#4738).
12675 2010-01-02 Eli Zaretskii <eliz@gnu.org>
12677 * Makefile.in (bzr-update): Rename from cvs-update.
12678 (cvs-update): New target for backward compatibility.
12680 * makefile.w32-in (bzr-update): Rename from cvs-update.
12681 (cvs-update): New target for backward compatibility.
12683 2010-01-02 Karl Fogel <kfogel@red-bean.com>
12685 * bookmark.el: Remove gratuitous gratitude.
12687 2010-01-02 Karl Fogel <kfogel@red-bean.com>
12689 * bookmark.el (bookmark-bmenu-any-marks): New function.
12690 (bookmark-bmenu-save): Clear buffer modification if no marks.
12692 2010-01-02 Karl Fogel <kfogel@red-bean.com>
12694 * bookmark.el (bookmark-bmenu-marks-width): Define to 1, not 2.
12695 (bookmark-bmenu-list, bookmark-bmenu-bookmark): Calculate property
12696 positions by using `bookmark-bmenu-marks-width', instead of hardcoding.
12697 This fixes the `bookmark-bmenu-execute-deletions' bug reported here:
12699 http://lists.gnu.org/archive/html/emacs-devel/2009-12/msg00819.html
12700 From: Sun Yijiang <sunyijiang {_AT_} gmail.com>
12701 To: emacs-devel {_AT_} gnu.org
12702 Subject: bookmark.el bug report
12703 Date: Mon, 28 Dec 2009 14:19:16 +0800
12704 Message-ID: 5065e2900912272219y3734fc9fsdaee41167ef99ad7@mail.gmail.com
12706 2010-01-02 Karl Fogel <kfogel@red-bean.com>
12708 * bookmark.el: Improvements suggested by Drew Adams:
12709 (bookmark-bmenu-ensure-position): New name for
12710 `bookmark-bmenu-check-position'. Just ensure the position,
12711 don't return any meaningful value.
12712 (bookmark-bmenu-header-height, bookmark-bmenu-marks-width):
12715 2010-01-02 Juanma Barranquero <lekktu@gmail.com>
12717 * bookmark.el (bookmarks-already-loaded): Doc fix (don't use `iff').
12718 (bookmark-yank-point, bookmark-bmenu-check-position):
12719 Fix typos in docstrings.
12720 (bookmark-save-flag, bookmark-bmenu-toggle-filenames)
12721 (bookmark-name-from-full-record, bookmark-get-position)
12722 (bookmark-set-position, bookmark-set, bookmark-handle-bookmark)
12723 (bookmark-delete, bookmark-save, bookmark-save, bookmark-bmenu-mode):
12724 Remove useless quoting of parenthesis, etc. in docstrings.
12726 * ediff-mult.el (ediff-prepare-meta-buffer): Fix typo in help message.
12727 (ediff-append-custom-diff): Fix typo in error message.
12728 (ediff-meta-mark-equal-files): Fix typos in messages.
12730 * mpc.el (mpc-playlist-delete): Fix typo in error messages.
12732 * net/imap-hash.el (imap-hash-make): Doc fix.
12733 (imap-hash-test): Fix typo in error message; reflow docstring.
12734 (imap-hash-p, imap-hash-get, imap-hash-put, imap-hash-make-message)
12735 (imap-hash-count, imap-hash-server, imap-hash-port, imap-hash-ssl)
12736 (imap-hash-mailbox, imap-hash-user, imap-hash-password):
12737 Fix typos in docstrings.
12738 (imap-hash-open-connection): Fix typo in error message.
12740 * play/gomoku.el (gomoku): Fix typos in docstring.
12742 * progmodes/gdb-ui.el (gdb-location-alist): Reflow docstring.
12743 (gdb-jsonify-buffer): Fix typos in docstring.
12744 (gdb-goto-breakpoint): Fix typo in error message.
12745 ("Display Other Windows"): Fix typo in help message.
12746 (gdb-speedbar-expand-node): Fix typo in question.
12748 * progmodes/idlw-help.el (idlwave-help-browse-url-available)
12749 (idlwave-html-system-help-location, idlwave-html-help-location)
12750 (idlwave-help-browser-function, idlwave-help-browser-generic-program)
12751 (idlwave-help-browser-generic-args, idlwave-help-directory)
12752 (idlwave-html-help-is-available, idlwave-help-mode-line-indicator)
12753 (idlwave-help-mode-map, idlwave-help-mode, idlwave-do-context-help)
12754 (idlwave-online-help, idlwave-help-html-link)
12755 (idlwave-help-show-help-frame, idlwave-help-assistant-command):
12756 Fix typos in docstrings.
12757 (idlwave-help-with-source, idlwave-help-find-routine-definition):
12759 (idlwave-help-assistant-start): Fix typo in error message.
12761 * progmodes/octave-mod.el (octave-mode, octave-electric-semi)
12762 (octave-electric-space): Fix typos in docstrings.
12764 2010-01-01 Chong Yidong <cyd@stupidchicken.com>
12766 * files.el (minibuffer-with-setup-hook): Doc fix (Bug#5149).
12768 2010-01-01 Juri Linkov <juri@jurta.org>
12770 * comint.el (comint-input-ring-size): Make it a defcustom and
12771 increase the default to 500 (Bug#5148).
12773 2009-12-31 Nick Roberts <nickrob@snap.net.nz>
12775 Further changes from EMACS_23_1_RC branch (2009-12-29 contd).
12776 * term/x-win.el (x-gtk-stock-map): Map some GUD buttons.
12777 * progmodes/gud.el (gud-menu-map): Add reverse-execution commands.
12779 2009-12-30 Nick Roberts <nickrob@snap.net.nz>
12781 Show working revision correctly for mercurial.
12782 * vc-hg.el (vc-hg-working-revision): Use hg parent instead of
12783 hg log as suggested by Alex Harsanyi <alexharsanyi@gmail.com>.
12785 2009-12-29 Juanma Barranquero <lekktu@gmail.com>
12787 Declare some functions for the byte-compiler.
12788 * progmodes/gdb-ui.el (speedbar-change-initial-expansion-list)
12789 (speedbar-timer-fn, speedbar-change-expand-button-char)
12790 (speedbar-delete-subblock, speedbar-center-buffer-smartly): Declare.
12792 2009-12-29 Nick Roberts <nickrob@snap.net.nz>
12794 This changeset reverts GDB Graphical Interface to use annotations.
12795 * progmodes/gdb-ui.el, progmodes/gud.el: Import from EMACS_23_1_RC.
12797 2009-12-29 Dan Nicolaescu <dann@ics.uci.edu>
12799 Make vc-dir work on subdirectories of the bzr root.
12800 * vc-bzr.el (vc-bzr-after-dir-status): Add new argument.
12801 Return file names relative to it.
12802 (vc-bzr-dir-status, vc-bzr-dir-status-files): Pass the bzr root
12803 relative directory to vc-bzr-after-dir-status.
12805 2009-12-28 Tassilo Horn <tassilo@member.fsf.org>
12807 * font-lock.el (font-lock-refresh-defaults): New function, which
12808 can be used to let font-lock react to external changes in
12809 variables like font-lock-defaults and keywords.
12810 See http://thread.gmane.org/gmane.emacs.devel/118777/focus=118802
12812 2009-12-28 Dan Nicolaescu <dann@ics.uci.edu>
12814 * vc-rcs.el (vc-rcs-register): Fix registering a specific version.
12816 * vc-bzr.el (vc-bzr-log-view-mode): Fix short log regexp.
12818 2009-12-28 Juanma Barranquero <lekktu@gmail.com>
12820 Supersede color.diff settings in git log (bug#5211).
12822 * vc-git.el (vc-git-print-log): Pass "--no-color" to log to avoid
12823 escape chars in its output when the user has color.diff set to `always'.
12824 This fix works on git 1.4.2 and newer (released on 2006-08-13).
12826 2009-12-26 Kevin Ryde <user42@zip.com.au>
12828 * info-look.el (sh-mode): Look for coreutils new "Concept Index"
12829 node. Keep previous "Index" name to work with past coreutils too.
12831 * man.el (man): Revise docstring a bit to show -a and -l as
12832 examples. Add -k description since support for it has otherwise
12833 been a secret. (Further to bug#3717.)
12834 (Man-bgproc-sentinel): When "-k foo" produces no output show error
12835 "no matches" rather than "Can't find manpage", as the latter reads
12836 like -k was interpreted as a page name, which is not so. (Bug#5431)
12838 2009-12-26 Michael Albinus <michael.albinus@gmx.de>
12840 * net/tramp.el (tramp-handle-insert-directory): Quote "'" in the
12841 switches. Check also for //SUBDIRED// line.
12843 2009-12-25 Kenichi Handa <handa@m17n.org>
12845 * language/indian.el (devanagari-composable-pattern): Fix to
12846 handle ZWNJ and ZWJ. Use it in composition-function-table for
12848 (malayalam-composable-pattern): Fix previous change.
12850 2009-12-23 Vinicius Jose Latorre <viniciusjl@ig.com.br>
12852 * ps-print.el (ps-face-attributes): It was not returning the
12853 attribute face for faces specified as string. Reported by harven
12854 <harven@free.fr>. (Bug#5254)
12855 (ps-print-version): New version 7.3.5.
12857 2009-12-18 Ulf Jasper <ulf.jasper@web.de>
12859 * calendar/icalendar.el (icalendar--convert-tz-offset):
12860 Fix timezone names.
12861 (icalendar--convert-tz-offset): Fix the "last-day-problem".
12862 (icalendar--add-diary-entry): Remove the trailing blank that
12863 diary-make-entry inserts.
12865 2009-12-17 Michael Albinus <michael.albinus@gmx.de>
12867 Make `file-expand-wildcards' work for remote files.
12869 * files.el (file-expand-wildcards): In case of remote files, check
12870 only local file name part for wildcards. Provide feature 'files
12871 and subfeature 'remote-wildcards. (Bug#5198)
12873 * net/tramp.el (tramp-handle-file-remote-p): Expand file name only
12874 if there is already an established connection.
12875 (tramp-advice-file-expand-wildcards): Remove it.
12877 * net/tramp-compat.el (top): Autoload `tramp-handle-file-remote-p'.
12878 (tramp-advice-file-expand-wildcards): Move from tramp.el.
12879 Activate advice for older GNU Emacs versions. (Bug#5237)
12881 2009-12-17 Juanma Barranquero <lekktu@gmail.com>
12883 Some doc fixes (more needed).
12885 * find-cmd.el (find-constituents): Reflow docstring.
12886 (find-cmd, find-prune, find-command): Fix typos in docstrings.
12887 (find-generic): Doc fix.
12889 2009-12-17 Juri Linkov <juri@jurta.org>
12891 Fix regression from 23.1 to allow multiple modes in Local Variables.
12893 * files.el (hack-local-variables-filter): While ignoring duplicates,
12894 don't take `mode' into account.
12895 (hack-local-variables-filter, hack-dir-local-variables):
12896 Don't remove duplicate `mode' from local-variables-alist (like `eval').
12898 2009-12-17 Juri Linkov <juri@jurta.org>
12900 Make `dired-diff' safer. (Bug#5225)
12902 * dired-aux.el (dired-diff): Signal an error when `file' equals to
12903 `current' or when `file' is a directory of the `current' file.
12905 2009-12-17 Andreas Schwab <schwab@linux-m68k.org>
12907 * emacs-lisp/autoload.el (batch-update-autoloads): Only exclude
12908 unconditionally preloaded files.
12910 2009-12-16 Juri Linkov <juri@jurta.org>
12912 Revert to old 23.1 logic of using the file at the mark as default.
12913 * dired-aux.el (dired-diff): Use the file at the mark as default
12914 if it's not the same as the current file, and the target dir is
12915 the current dir or the mark is active. Add the current file
12916 as the arg of `dired-dwim-target-defaults'. Use the default file
12917 in the prompt. (Bug#5225)
12919 2009-12-15 Michael Albinus <michael.albinus@gmx.de>
12921 * net/tramp.el (tramp-echo-mark-marker-length): New defconst.
12922 (tramp-echo-mark, tramp-echoed-echo-mark-regexp): Use it.
12923 (tramp-check-for-regexp): Check also, when an echoing shell stops
12924 to echo sent commands.
12926 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
12928 * Makefile.in: Revert last change (Bug#5191).
12930 2009-12-14 Dan Nicolaescu <dann@ics.uci.edu>
12932 * vc-hg.el (vc-hg-print-log): Fix argument order.
12933 (vc-hg-working-revision): Make sure the command is executed in a
12934 known environment so that we can parse the output. (Bug#4417)
12936 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
12938 * progmodes/python.el (python-symbol-completions): Remove text
12939 properties from symbol string before calling python-send-receive.
12941 2009-12-14 Nick Roberts <nickrob@snap.net.nz>
12943 * progmodes/gdb-mi.el (gdb-frame-handler): Only set gud-lat-frame
12944 when there are values for both file and line. (Bug#5060)
12946 2009-12-14 Juri Linkov <juri@jurta.org>
12948 * ediff-ptch.el (ediff-context-diff-label-regexp): Don't match
12949 whitespace after the file name of the first line of unified format,
12950 because git-diff doesn't output whitespace and file modification time
12951 after the file name.
12953 2009-12-14 David Kastrup <dak@gnu.org>
12955 * info.el (Info-hide-cookies-node): Before hiding a cookie,
12956 check if it already has the `display' property added by
12957 `Info-display-images-node', and not put the `invisible' property
12960 2009-12-13 Glenn Morris <rgm@gnu.org>
12962 * mail/emacsbug.el (message-sort-headers): Define for compiler.
12963 (report-emacs-bug): In message-mode, sort manually before storing
12964 original report text. (Bug#5178)
12965 Remove superfluous save-excursion.
12967 2009-12-12 Michael Albinus <michael.albinus@gmx.de>
12969 * net/dbus.el (dbus-property-handler): Filter lambda forms out
12970 when responding to "GetAll" properties.
12972 2009-12-12 Chong Yidong <cyd@stupidchicken.com>
12974 * simple.el (compose-mail): Remove mail-setup-with-from from
12975 customization checks.
12977 2009-12-12 Eli Zaretskii <eliz@gnu.org>
12979 * arc-mode.el (archive-rar-summarize): Support Attribute fields in
12980 RAR archives created on Unix systems.
12982 2009-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
12984 * minibuffer.el (minibuffer-local-must-match-filename-map): Re-instate
12985 the varalias that was accidentally removed by the 2009-11-19 change
12988 2009-12-12 Kenichi Handa <handa@m17n.org>
12990 * language/indian.el (indian-compose-regexp): New function.
12991 (malayalam-composable-pattern): Fix the pattern.
12992 (composition-function-table): Set malayalam-composable-pattern for
12993 Malayalam characters.
12995 2009-12-11 Chong Yidong <cyd@stupidchicken.com>
12997 * progmodes/bug-reference.el (bug-reference-map): Bind mouse-2
12998 rather than down-mouse-1, based on follow-link conventions.
13000 * makefile.w32-in: Ensure that Lisp files in CEDET subdirectories
13003 2009-12-11 Michael McNamara <mac@mail.brushroad.com>
13005 * progmodes/verilog-mode.el (verilog-vmm-begin-re, verilog-vmm-end-re)
13006 (verilog-vmm-statement-re, verilog-ovm-statement-re)
13007 (verilog-defun-level-not-generate-re, verilog-calculate-indent)
13008 (verilog-leap-to-head, verilog-backward-token):
13009 Fix indenting VMM macros. Reported by Jonathan Ashbrook.
13011 2009-12-11 Wilson Snyder <wsnyder@wsnyder.org>
13013 * progmodes/verilog-mode.el (verilog-auto-lineup)
13014 (verilog-nameable-item-re): Cleanup user-visible spelling and
13015 documentation errors. One reported by Gary Delp.
13016 (verilog-submit-bug-report): Mention bug tracking and CC co-author.
13017 (verilog-read-decls): Fix AUTOWIRE with types declared in a
13018 package, bug195. Reported by Pierre-David Pfister.
13020 2009-12-11 Glenn Morris <rgm@gnu.org>
13022 * progmodes/cc-engine.el (safe-pos-list): Define for compiler.
13024 * mail/emacsbug.el: No longer require sendmail.
13025 Replace sendmail's `mail-text' by `rfc822-goto-eoh'. (Bug#5174)
13026 (report-emacs-bug-orig-text): Doc fix.
13027 (report-emacs-bug-send-command, report-emacs-bug-send-hook):
13028 New local variables, to adapt to different mail-user-agents.
13029 (report-emacs-bug): Fix test for a gnu.org address.
13030 Use overlays for emphasis, since font-lock defeats 'face property.
13031 Pretest bugs also end up at the newsgroup these days.
13032 Stop message-mode stripping text properties.
13033 Set and use the new buffer-local variables.
13034 (report-emacs-bug-hook): Add doc-string.
13035 Remove some unnecessary save-excursions and simplify.
13036 Use the appropriate hook and send-command.
13038 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Standardize the
13039 capitalization of some menu entries.
13041 2009-12-10 Vinicius Jose Latorre <viniciusjl@ig.com.br>
13043 * whitespace.el (whitespace-display-char-on):
13044 Ensure `buffer-display-table' is unique when two or more windows are
13045 visible. Reported by Martin Pohlack <mp26@os.inf.tu-dresden.de>.
13048 2009-12-10 Eli Zaretskii <eliz@gnu.org>
13050 * arc-mode.el (archive-rar-summarize): Allow between 6 and 7
13051 characters in the Attribute field.
13053 2009-12-10 Dan Nicolaescu <dann@ics.uci.edu>
13055 * vc-svn.el (vc-svn-after-dir-status): Fix regexp. (Bug#4741)
13057 2009-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
13059 Let loaddefs.el adjust to changes in autoload-excludes (bug#5162).
13060 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
13061 Disregard autoload-excludes.
13062 (update-directory-autoloads): Obey autoload-excludes here instead.
13063 But don't store its contents in no-autoloads and remove entries that
13064 refer to excludes files.
13066 2009-12-10 Glenn Morris <rgm@gnu.org>
13068 * mail/feedmail.el (top-level): Move require 'mail-utils to start.
13069 (expand-mail-aliases): Define for compiler.
13071 * vc-annotate.el (log-view-vc-backend, log-view-vc-fileset):
13072 Define for compiler.
13074 * mail/emacsbug.el (report-emacs-bug): Use whichever send command is
13075 appropriate for the mail-user-agent in use.
13077 2009-12-09 Michael Albinus <michael.albinus@gmx.de>
13079 * net/tramp.el (tramp-handle-insert-directory): Suppress error messages.
13081 2009-12-09 Dan Nicolaescu <dann@ics.uci.edu>
13083 Fix short log parsing and fontification.
13084 * vc-bzr.el (vc-bzr-log-view-mode): Match dot in revision number.
13085 Fix fontification for the [merge] label.
13087 2009-12-09 Vivek Dasmohapatra <vivek@etla.org>
13089 Drop some properties to avoid surprises (bug#5002).
13090 * htmlfontify.el (hfy-ignored-properties): New defcustom.
13091 (hfy-fontify-buffer): Use it.
13093 2009-12-09 Stefan Monnier <monnier@iro.umontreal.ca>
13096 * ffap.el (ffap-symbol-value): Replace ffap-soft-value.
13097 Adjust all callers.
13098 (ffap-locate-file): Remove unused arg `dir-ok' and make other
13099 args compulsory. Adjust callers.
13100 (ffap-gopher-at-point): Remove unused var `name'.
13102 Get rid of the ELCFILES abomination.
13103 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
13104 (compile-elcfiles): New phony target.
13105 (compile-main): Compute ELCFILES dynamically.
13106 (compile-clean): New target to remove left-over elc files.
13107 (compile, all): Use it.
13109 2009-12-09 Kenichi Handa <handa@etlken>
13111 * international/mule-diag.el: Require help-mode instead of help-fns.
13113 2009-12-09 Kenichi Handa <handa@m17n.org>
13115 * international/mule-cmds.el (ucs-names): Supply sufficiently
13116 fine ranges instead of pre-calculating accurate ranges.
13117 Iterate with bigger gc-cons-threshold.
13119 2009-12-08 Dan Nicolaescu <dann@ics.uci.edu>
13121 Add support for stashing a snapshot of the current tree.
13122 * vc-git.el (vc-git-stash-snapshot): New function.
13123 (vc-git-stash-map, vc-git-extra-menu-map): Add a mapping for it.
13125 2009-12-08 Jose E. Marchesi <jemarch@gnu.org>
13127 * play/gomoku.el (gomoku-mode-map): Remap `move-(beginning|end)-of-line'
13128 instead of `(beginning|end)-of-line'.
13130 2009-12-08 Glenn Morris <rgm@gnu.org>
13132 * vc-mtn.el (vc-mtn-print-log): Fix typo in previous.
13134 * Makefile.in (ELCFILES): Regenerate.
13136 2009-12-07 Juri Linkov <juri@jurta.org>
13138 Don't lazy-highlight the comint output in history Isearch mode.
13140 * comint.el (comint-history-isearch-search): Instead of
13141 `comint-line-beginning-position', use `comint-after-pmark-p'
13142 to check if point if before the process mark, and go to
13143 `process-mark' in this case.
13145 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
13147 * textmodes/tex-mode.el (latex-complete)
13148 (latex-indent-or-complete): Remove.
13149 (latex-mode): Set completion-at-point-functions instead.
13151 Provide a standard completion command and hook it into TAB.
13152 * minibuffer.el (completion-at-point-functions): New var.
13153 (completion-at-point): New command.
13154 * indent.el (indent-for-tab-command): Handle the `complete' behavior.
13155 * progmodes/python.el (python-mode-map): Use completion-at-point.
13156 (python-completion-at-point): Rename from python-partial-symbol and
13157 adjust for use in completion-at-point-functions.
13158 (python-mode): Setup completion-at-point for Python completion.
13159 * emacs-lisp/lisp.el (lisp-completion-at-point): New function
13160 extracted from lisp-complete-symbol.
13161 (lisp-complete-symbol): Use it.
13162 * emacs-lisp/lisp-mode.el (emacs-lisp-mode): Use define-derived-mode,
13163 setup completion-at-point for Elisp completion.
13164 (emacs-lisp-mode-map, lisp-interaction-mode-map):
13165 Use completion-at-point.
13166 * ielm.el (ielm-map): Use completion-at-point.
13167 (inferior-emacs-lisp-mode): Setup completion-at-point-functions.
13168 * progmodes/sym-comp.el: Move to...
13169 * obsolete/sym-comp.el: Move from progmodes.
13171 2009-12-07 Eli Zaretskii <eliz@gnu.org>
13173 Prevent save-buffer in Rmail buffers from using the coding-system
13174 of the current message, and from clobbering the encoding mnemonics
13175 in the mode line (Bug#4623).
13177 * mail/rmail.el (rmail-swap-buffers): Swap encoding and modified
13179 (rmail-message-encoding): New variable.
13180 (rmail-write-region-annotate): Record the encoding of the current
13181 message in rmail-message-encoding.
13182 (rmail-after-save-hook): New function, restores the encoding of
13183 the current message after the message collection is saved.
13185 2009-12-07 Juri Linkov <juri@jurta.org>
13187 * progmodes/grep.el (grep-read-files): Use `completing-read'
13188 instead of `read-string'. Set its `collection' arg to
13189 `read-file-name-internal'. (Bug#4301)
13191 2009-12-07 Juri Linkov <juri@jurta.org>
13193 Correctly restore original Isearch point. (Bug#4994)
13195 * isearch.el (isearch-mode): Move `isearch-push-state' after
13196 `(run-hooks 'isearch-mode-hook)'.
13197 (isearch-cancel): When `isearch-push-state-function' is defined,
13198 let-bind `isearch-cmds' to the first state (the last element of
13199 `isearch-cmds') and call `isearch-top-state' (it calls pop-state
13200 function and restores the original point). Otherwise, move point
13201 to `isearch-opoint'.
13203 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
13205 * international/mule-cmds.el (ucs-names): Weed out at compile-time the
13206 chars that don't have names, so the table can be built much faster at
13209 2009-12-07 Chong Yidong <cyd@stupidchicken.com>
13211 * vc-bzr.el (vc-bzr-annotate-command): More elegant form for last
13212 change. Suggested by David Kastrup.
13214 * simple.el (compose-mail): Check for incompatibilities and warn.
13215 (compose-mail-user-agent-warnings): New option.
13217 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
13219 Support showing a single log entry from vc-annotate.
13220 * vc.el (print-log): Add a new argument: START-REVISION.
13221 (vc-print-log-internal): Add a new optional argument and
13222 pass it to the backend.
13223 (vc-print-log, vc-print-root-log): Adjust callers.
13224 * vc-annotate.el (vc-annotate-show-log-revision-at-line): If a
13225 buffer already displays the requested log entry, use it.
13226 Otherwise display only the log entry in question.
13227 * vc-svn.el (vc-svn-print-log):
13228 * vc-mtn.el (vc-mtn-print-log):
13229 * vc-hg.el (vc-hg-state):
13230 * vc-git.el (vc-git-print-log): Add support for new argument START-REVISION.
13231 (vc-git-show-log-entry): Return t on success.
13232 * vc-bzr.el (vc-bzr-print-log): Add support new argument START-REVISION.
13233 (vc-bzr-show-log-entry): Return t on success.
13234 * vc-rcs.el (vc-rcs-print-log):
13235 * vc-sccs.el (vc-sccs-print-log):
13236 * vc-cvs.el (vc-cvs-print-log): Add new argument, ignore it.
13238 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
13240 * ediff-mult.el (ediff-setup-meta-map, ediff-prepare-meta-buffer):
13241 Add menus to the meta mode. (Bug#5043)
13243 2009-12-07 Michael Kifer <kifer@cs.stonybrook.edu>
13245 * ediff-init.el (ediff-event-key): Use event-to-character instead of
13248 * ediff.el (ediff-buffers-internal): Add unwind-protect.
13250 2009-12-07 Michael Albinus <michael.albinus@gmx.de>
13252 Handle prompt rules of ksh in OpenBSD 4.5. Reported by Raphaël
13253 Berbain <raphael.berbain@gmail.com>.
13255 * net/tramp.el (tramp-end-of-output): Move up. Use `#' and `$'
13257 (tramp-initial-end-of-output): New defconst.
13258 (tramp-methods, tramp-find-shell)
13259 (tramp-open-connection-setup-interactive-shell)
13260 (tramp-maybe-open-connection): Use it.
13261 (tramp-shell-prompt-pattern, tramp-wait-for-output):
13262 Handle existence of `#' and `$'.
13264 * net/tramp-fish.el (tramp-fish-maybe-open-connection):
13265 Use `tramp-initial-end-of-output'.
13267 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
13269 Get the background mode from the terminal for xterm, and set
13271 * term/xterm.el (xterm-set-background-mode): New function.
13272 (terminal-init-xterm): Use it in case xterm supports background
13273 color queries. Recompute faces after getting the background
13276 2009-12-07 Ulrich Mueller <ulm@gentoo.org>
13278 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Put the version
13279 number comment back on its own line, for easier parsing.
13281 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
13283 Make it work for non-file buffers (bug#5102).
13284 * doc-view.el (doc-view-current-cache-dir):
13285 Use doc-view-buffer-file-name rather than buffer-file-name.
13286 (doc-view-mode): Use buffer-name when buffer-file-name is nil.
13288 2009-12-06 Óscar Fuentes <ofv@wanadoo.es>
13290 * vc-bzr.el (vc-bzr-annotate-command): Handle the case where the
13291 author field is too short.
13293 2009-12-06 Dan Nicolaescu <dann@ics.uci.edu>
13295 * vc-git.el (vc-git-print-log): Handle a limit argument.
13296 Display the short log in graph form and with labels.
13297 (vc-git-log-view-mode): Handle labels.
13299 Make vc-revert change VC state from 'added to 'unregistered.
13300 * vc-git.el (vc-git-revert): Call git reset first.
13302 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
13304 * net/newst-backend.el, net/newst-plainview.el:
13305 * net/newst-reader.el, net/newst-ticker.el:
13306 * net/newst-treeview.el, net/newsticker.el:
13307 Require/provide newst-... (instead of newsticker-...). (Bug#5096)
13309 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
13311 * log-view.el (log-view-mode-map): Bind "=" to log-view-diff too.
13313 * vc-bzr.el (vc-bzr-annotate-command): Show author in annotation.
13314 Handle empty author field (Bug#4144). Suggested by Óscar Fuentes.
13315 (vc-bzr-annotate-time, vc-bzr-annotate-extract-revision-at-line):
13316 Update annotation regexp.
13318 * simple.el (beginning-of-visual-line): Constrain to field
13319 boundaries (Bug#5106).
13321 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
13323 * xml.el (xml-substitute-numeric-entities):
13324 Move newsticker--decode-numeric-entities in newst-backend.el to
13325 xml-substitute-numeric-entities in xml.el. (Bug#5008)
13326 * net/newst-backend.el (newsticker--parse-generic-feed)
13327 (newsticker--parse-generic-items)
13328 (newsticker--decode-numeric-entities):
13329 Move newsticker--decode-numeric-entities in newst-backend.el to
13330 xml-substitute-numeric-entities in xml.el. (Bug#5008)
13332 2009-12-06 Daniel Colascione <dan.colascione@gmail.com>
13334 * progmodes/js.el (js--js-not): Add null to the list of values.
13336 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
13338 * ansi-color.el (ansi-color-for-comint-mode): Add :version keyword.
13340 2009-12-06 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
13342 * textmodes/bibtex.el (bibtex-enclosing-field): Exclude entry
13343 delimiter if it is at the end of the current line.
13344 (bibtex-generate-url-list): Fix docstring.
13346 2009-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
13348 * minibuffer.el (minibuffer-complete-and-exit): Don't replace the
13349 minibuffer's content with itself.
13350 Fold the confirm-after-completion case into the `confirm' case.
13351 (completion-pcm-word-delimiters): Add : and / to the delimiters.
13353 2009-12-06 Kevin Ryde <user42@zip.com.au>
13355 * ffap.el (ffap-rfc-path): Make this a defcustom since
13356 `ffap-rfc-directories' is also a defcustom. (Bug#4514.)
13358 * info-look.el: Add setup for apropos-mode to use emacs-lisp-mode
13359 manuals, similar to existing setup for help-mode. (Bug#3913.)
13361 2009-12-05 Juri Linkov <juri@jurta.org>
13363 Save and restore dired buffer's point positions too. (Bug#4880)
13365 * dired.el (dired-save-positions): Return in the first element
13366 buffer's position in format (BUFFER DIRED-FILENAME BUFFER-POINT).
13368 (dired-restore-positions): First restore buffer's position.
13369 While restoring window's positions, check if window still displays
13370 the original buffer.
13372 2009-12-05 Chong Yidong <cyd@stupidchicken.com>
13374 * bindings.el (complete-symbol): Call semantic-ia-complete-symbol
13377 * shell.el (shell): Require ansi-color (Bug#5113).
13379 * ansi-color.el (ansi-color-for-comint-mode): Default to t.
13381 * hl-line.el (global-hl-line-highlight): Minor doc fix (Bug#4925).
13383 2009-12-05 Alan Mackenzie <acm@muc.de>
13385 * progmodes/cc-mode.el (c-before-hack-hook)
13386 (c-postprocess-file-styles): Revert change 2009-07-18T21:03:43Z!acm@muc.de to permit
13387 `c-file-style' to work again. This reversion restores the current
13388 software to its state in Emacs 23.1. (Bug#4146)
13390 2009-12-05 Kevin Ryde <user42@zip.com.au>
13392 * textmodes/sgml-mode.el (sgml-lexical-context):
13393 Recognise comment-start-skip to comment-end-skip as comment (Bug#4781).
13395 2009-12-05 Juri Linkov <juri@jurta.org>
13397 * info.el (Info-find-node-2): Set `Info-current-subfile' to nil
13398 for virtual nodes. (Bug#4147)
13399 (Info-find-node-2): Set `Info-current-node-virtual' to nil
13400 when moving from a virtual node.
13401 (Info-mode-menu): Add `Info-virtual-index' to the menu.
13402 (Info-mode): Add `Info-virtual-index' to the docstring.
13404 2009-12-05 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
13406 * textmodes/bibtex.el (bibtex-map-entries): Use marker to keep
13407 track of the buffer position of the end of a BibTeX entry as this
13408 position may change during reformatting.
13409 (bibtex-format-entry): Remove whitespace before processing
13410 numerical fields so that we recognize the latter properly.
13411 (bibtex-reformat): Do not use push which changes the global value
13412 of bibtex-entry-format.
13413 (bibtex-field-braces-alist, bibtex-field-strings-alist)
13414 (bibtex-field-re-init): Replace only space characters by regexp
13416 (bibtex-generate-url-list, bibtex-cite-matcher-alist): Fix docstring.
13417 (bibtex-initialize): Also update bibtex-strings.
13418 (bibtex-kill-field): Preserve white space at end of entry.
13419 (bibtex-kill-entry, bibtex-yank-pop, bibtex-insert-kill):
13420 Update bibtex-reference-keys.
13422 2009-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
13424 * minibuffer.el (completion-pcm--merge-try): Also consider placing
13425 point after a star, if that's the only place where modifications can
13428 2009-12-05 Dan Nicolaescu <dann@ics.uci.edu>
13430 * vc-dir.el (vc-dir): Use the correct markup for showing keymaps
13433 2009-12-04 Juri Linkov <juri@jurta.org>
13435 * proced.el (proced): Call `(proced-update t)' to update process
13436 information instead of only running proced-post-display-hook.
13437 (proced-send-signal): Add a leading space to the buffer name
13438 " *Marked Processes*" to make this buffer ephemeral.
13440 2009-12-04 Juri Linkov <juri@jurta.org>
13442 * dired.el (dired-auto-revert-buffer): New defcustom.
13443 (dired-internal-noselect): Use it.
13445 2009-12-04 Juri Linkov <juri@jurta.org>
13447 Change roles of modes and functions in image-mode.el (Bug#5062).
13449 * image-mode.el: Replace `image-mode-maybe' with `image-mode'
13450 in `auto-mode-alist'.
13451 (image-mode-previous-major-mode): New variable.
13452 (image-minor-mode-map): Rename from `image-mode-text-map'.
13453 (image-mode): Move graceful error-handling code from
13454 `image-minor-mode' to here. On errors call `image-mode-as-text'.
13455 (image-minor-mode): Remove all image-handling code.
13456 Replace `image-mode-text-map' with `image-minor-mode-map'.
13457 Check for `image-type' in mode-line format string.
13458 (image-mode-maybe): Make obsolete with an alias to `image-mode'.
13459 (image-mode-as-text): New function with most code from
13460 `image-mode-maybe'.
13461 (image-toggle-display-text): Move code that removes image
13462 properties from `image-toggle-display' to here.
13463 (image-toggle-display-image): New function with code that adds
13464 image properties copied from `image-toggle-display'.
13465 (image-toggle-display): Remove most code with leaving only code
13466 that toggles between `image-mode-as-text' and `image-mode'.
13468 2009-12-04 Ulf Jasper <ulf.jasper@web.de>
13470 * net/newst-treeview.el
13471 (newsticker--treeview-list-highlight-start): Restored call to
13472 save-excursion: Selected item was stuck.
13473 (newsticker--treeview-list-select): New.
13474 (newsticker--treeview-item-show-text)
13475 (newsticker--treeview-item-show)
13476 (newsticker--treeview-item-update): Use new
13477 newsticker-treeview-item-mode.
13478 (newsticker-treeview-update): Keep current item.
13479 (newsticker-treeview-next-new-or-immortal-item): Doc change.
13480 (newsticker--treeview-first-feed): Doc change.
13481 (newsticker-treeview-list-menu)
13482 (newsticker-treeview-item-menu): Add menu entries.
13483 (newsticker-treeview-item-mode): New.
13485 * net/newst-backend.el (newsticker-customize): Delete other
13488 2009-12-04 Sam Steingold <sds@gnu.org>
13490 * log-view.el (log-view-mode-map): "q" calls quit-window,
13491 like in all the other non-self-insert buffers.
13493 2009-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
13496 * term.el (term-send-raw, term-send-raw-meta): Use read-key-sequence's
13497 key decoding rather than do it manually via last-input-event +
13499 (term-exec): Use delete-and-extract-region.
13500 (term-handle-ansi-terminal-messages): Remove unused var `end'.
13501 (term-process-pager): Remove unused var `i'.
13502 (term-dynamic-simple-complete): Make obsolete.
13503 (serial-update-config-menu): Remove unused vars `y' and `str'.
13504 (term-update-mode-line): Remove unused var `temp'.
13506 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
13508 Limit the number of log entries displayed by default.
13509 * vc.el (vc-print-log-internal): Fix check for limit-unsupported.
13510 (vc-print-log, vc-print-root-log): Use vc-log-show-limit when not
13511 using a prefix argument.
13513 2009-12-03 Glenn Morris <rgm@gnu.org>
13515 * progmodes/idlwave.el (class): Restore still useful declaration.
13517 2009-12-03 Alan Mackenzie <acm@muc.de>
13519 Enhance `c-parse-state' to run efficiently in "brace deserts".
13521 * progmodes/cc-mode.el (c-basic-common-init):
13522 Call c-state-cache-init.
13523 (c-neutralize-syntax-in-and-mark-CPP): Rename from
13524 c-extend-and-neutralize-syntax-in-CPP. Mark each CPP construct by
13525 placing `category' properties value 'c-cpp-delimiter at its boundaries.
13527 * progmodes/cc-langs.el (c-before-font-lock-function):
13528 c-extend-and-neutralize-syntax-in-CPP has been renamed
13529 c-neutralize-syntax-in-and-mark-CPP.
13531 * progmodes/cc-fonts.el (c-cpp-matchers): Mark template brackets
13532 with `category' properties now, not `syntax-table' ones.
13534 * progmodes/cc-engine.el (c-syntactic-end-of-macro): A new
13535 enhanced (but slower) version of c-end-of-macro that won't land
13536 inside a literal or on another awkward character.
13537 (c-state-cache-too-far, c-state-cache-start)
13538 (c-state-nonlit-pos-interval, c-state-nonlit-pos-cache)
13539 (c-state-nonlit-pos-cache-limit, c-state-point-min)
13540 (c-state-point-min-lit-type, c-state-point-min-lit-start)
13541 (c-state-min-scan-pos, c-state-brace-pair-desert)
13542 (c-state-old-cpp-beg, c-state-old-cpp-end): New constants and
13543 buffer local variables.
13544 (c-state-literal-at, c-state-lit-beg)
13545 (c-state-cache-non-literal-place, c-state-get-min-scan-pos)
13546 (c-state-mark-point-min-literal, c-state-cache-top-lparen)
13547 (c-state-cache-top-paren, c-state-cache-after-top-paren)
13548 (c-get-cache-scan-pos, c-get-fallback-scan-pos)
13549 (c-state-balance-parens-backwards, c-parse-state-get-strategy)
13550 (c-renarrow-state-cache)
13551 (c-append-lower-brace-pair-to-state-cache)
13552 (c-state-push-any-brace-pair, c-append-to-state-cache)
13553 (c-remove-stale-state-cache)
13554 (c-remove-stale-state-cache-backwards, c-state-cache-init)
13555 (c-invalidate-state-cache-1, c-parse-state-1)
13556 (c-invalidate-state-cache): New defuns/defmacros/defsubsts.
13557 (c-parse-state): Enhance and refactor.
13558 (c-debug-parse-state): Amend to deal with all the new variables.
13560 * progmodes/cc-defs.el (c-<-as-paren-syntax, c-mark-<-as-paren)
13561 (c->-as-paren-syntax, c-mark->-as-paren, c-unmark-<->-as-paren):
13562 modify to use category text properties rather than syntax-table ones.
13563 (c-suppress-<->-as-parens, c-restore-<->-as-parens): New defsubsts
13564 to switch off/on the syntactic paren property of C++ template
13565 delimiters using the category property.
13566 (c-with-<->-as-parens-suppressed): Macro to invoke code with
13567 template delims suppressed.
13568 (c-cpp-delimiter, c-set-cpp-delimiters, c-clear-cpp-delimiters):
13569 New constant/macros which apply category properties to the start
13570 and end of preprocessor constructs.
13571 (c-comment-out-cpps, c-uncomment-out-cpps): Defsubsts which
13572 "comment out" the syntactic value of characters in preprocessor
13574 (c-with-cpps-commented-out)
13575 (c-with-all-but-one-cpps-commented-out): Macros to invoke code
13576 with characters in all or all but one preprocessor constructs
13579 2009-12-03 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
13581 * proced.el (proced-filter-alist): Use regexp-quote.
13583 2009-12-03 Michael Albinus <michael.albinus@gmx.de>
13586 * eshell/em-unix.el (top): Require 'esh-opt and 'pcomplete.
13587 (eshell/su, eshell/sudo): Require 'tramp. Fix problems reading
13588 arguments. Expand `default-directory'.
13590 * net/tramp.el (tramp-handle-file-remote-p): Expand FILENAME for
13591 the benefit of returning an expanded localname.
13592 (tramp-tramp-file-p): Handle the case NAME is not a string.
13594 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
13596 Add support for bzr shelve/unshelve.
13597 * vc-bzr.el (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
13598 (vc-bzr-extra-menu-map): New variables.
13599 (vc-bzr-extra-menu, vc-bzr-extra-status-menu, vc-bzr-shelve)
13600 (vc-bzr-shelve-apply, vc-bzr-shelve-list)
13601 (vc-bzr-shelve-get-at-point, vc-bzr-shelve-delete-at-point)
13602 (vc-bzr-shelve-apply-at-point, vc-bzr-shelve-menu): New functions.
13603 (vc-bzr-dir-extra-headers): Display shelves.
13605 * vc-bzr.el (vc-bzr-print-log): Deal with nil arguments better.
13607 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
13609 * textmodes/bibtex.el (bibtex-complete-internal):
13610 Use completion-in-region.
13611 (bibtex-text-in-field-bounds): Remove unused var `opoint'.
13613 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
13615 Support applying stashes. Improve UI.
13616 * vc-git.el (vc-git-dir-extra-headers): Add tooltips.
13617 (vc-git-stash-apply, vc-git-stash-pop)
13618 (vc-git-stash-apply-at-point, vc-git-stash-pop-at-point)
13619 (vc-git-stash-menu): New functions.
13620 (vc-git-stash-menu-map): New variable.
13621 (vc-git-stash-map): Add bindings to popup a menu and to apply stashes.
13623 2009-12-03 Glenn Morris <rgm@gnu.org>
13625 * vc.el (log-view-vc-backend, log-view-vc-fileset): Declare.
13626 (vc-print-log-internal): Fix previous change.
13627 (vc-revert): Correct pluralization.
13629 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
13631 * progmodes/make-mode.el (makefile-special-targets-list): No need for
13632 it to be an alist any more.
13633 (makefile-complete): Use completion-in-region.
13635 * progmodes/octave-mod.el (octave-complete-symbol):
13636 Use completion-in-region.
13639 * progmodes/idlwave.el (idlwave-comment-hook): Simplify with `or'.
13640 (idlwave-code-abbrev, idlwave-display-user-catalog-widget)
13641 (idlwave-complete-class): Don't quote lambda.
13642 (idlwave-find-symbol-syntax-table, idlwave-mode-syntax-table)
13643 (idlwave-mode-map): Move initialization into declaration.
13644 (idlwave-action-and-binding): Use backquotes.
13645 (idlwave-in-quote, idlwave-reset-sintern, idlwave-complete-in-buffer):
13647 (idlwave-is-pointer-dereference): Remove unused var `pos'.
13648 (idlwave-xml-create-rinfo-list): Remove unused var `entry'.
13649 (idlwave-convert-xml-clean-sysvar-aliases): Remove unused vars `new',
13650 `parts', and `all-parts'.
13651 (idlwave-xml-create-sysvar-alist): Remove unused var `fields'.
13652 (idlwave-convert-xml-system-routine-info): Remove unused string
13654 (idlwave-display-user-catalog-widget): Use dolist.
13655 (idlwave-scanning-lib): Declare dynamically-scoped var.
13656 (idlwave-scan-library-catalogs): Remove unused var `flags'.
13657 (completion-highlight-first-word-only): Declare to silence bytecomp.
13658 (idlwave-popup-select): Tighten scope of `resp'.
13659 (idlwave-find-struct-tag): Remove unused var `beg'.
13660 (idlwave-after-load-rinfo-hook): Declare.
13661 (idlwave-sintern-class-info): Remove unused var `taglist'.
13662 (idlwave-find-class-definition): Remove unused var `list'.
13663 (idlwave-complete-sysvar-tag-help): Remove unused var `main-base'.
13664 (idlwave-what-module-find-class): Remove unused var `classes'.
13666 2009-12-03 Juanma Barranquero <lekktu@gmail.com>
13668 * progmodes/pascal.el: Require CL when compiling (for lexical-let).
13670 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
13672 * hippie-exp.el (try-expand-dabbrev-visible): Preserve point in the
13673 buffers visited. Remove redundant current-buffer-saving.
13675 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
13677 Use completion-in-buffer and remove uses of dynamic scoping.
13678 * progmodes/pascal.el (pascal-str, pascal-all, pascal-pred)
13679 (pascal-buffer-to-use, pascal-flag): Don't declare.
13680 (pascal-func-completion, pascal-type-completion, pascal-var-completion)
13681 (pascal-get-completion-decl, pascal-keyword-completion):
13682 Add `pascal-str' argument, save-excursion,
13683 return the found completions, and don't filter with pascal-pred.
13684 (pascal-completion-cache): New var.
13685 (pascal-completion): Don't switch buffer any more (it was never
13686 necessary). Don't save-excursion any more (it's done by the called
13687 subroutines). Use a cache to avoid redundant computations.
13688 Use complete-with-action rather than pascal-completion-response and
13689 let it apply the predicate as well.
13690 (pascal-complete-word): Use completion-in-buffer when
13691 pascal-toggle-completions is nil.
13692 (pascal-show-completions): Don't bind pascal-buffer-to-use since it's
13694 (pascal-comp-defun): Don't change buffer any more.
13695 Use complete-with-action rather than pascal-completion-response and
13696 let it apply the predicate as well.
13697 (pascal-goto-defun): Change buffer before calling pascal-comp-defun
13700 2009-12-02 Kenichi Handa <handa@m17n.org>
13702 * language/indian.el: Include ZWJ and ZWNJ in the patterns to
13703 shape for all Indic scripts.
13705 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
13707 Use completion-in-buffer.
13708 * wid-edit.el (widget-field-text-end): New function.
13709 (widget-field-value-get): Use it.
13710 (widget-string-complete, widget-file-complete)
13711 (widget-color-complete): Use it and completion-in-region.
13712 (widget-complete): Don't narrow the buffer.
13714 2009-12-02 Glenn Morris <rgm@gnu.org>
13716 * mail/rmail.el (rmail-pop-to-buffer): New function. (Bug#2282)
13717 (rmail-select-summary): Use rmail-pop-to-buffer.
13718 * mail/rmailsum.el: Replace all pop-to-buffer calls with
13719 rmail-pop-to-buffer, to prevent horizontal splits.
13721 * calendar/diary-lib.el (diary-list-entries): Replace superfluous
13722 save-excursion with save-current-buffer.
13723 Widen before searching. (Bug#5093)
13724 (diary-list-sexp-entries): Remove superfluous save-excursion.
13726 2009-12-02 Michael Welsh Duggan <mwd@cert.org>
13728 * woman.el (woman-make-bufname): Handle man-pages with "." in the
13731 2009-12-02 Andreas Politz <politza@fh-trier.de> (tiny change)
13733 * ido.el (ido-file-internal): Handle filenames at point that do
13734 not have a directory part. (Bug#5049)
13736 2009-12-02 Juanma Barranquero <lekktu@gmail.com>
13738 * mpc.el (mpc-intersection, mpc-host, mpc-songs-playlist)
13739 (mpc-songs-jump-to, mpc-resume): Doc fixes.
13741 2009-12-01 Rob Riepel <riepel@networking.Stanford.EDU>
13743 * emulation/tpu-extras.el (tpu-cursor-free-mode): Emit message.
13744 (tpu-set-cursor-free, tpu-set-cursor-bound): Don't emit a message
13747 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
13749 * comint.el (comint-insert-input): Ignore clicks to the right of
13750 the field. Reported by Bob Nnamtrop <bobnnamtrop@gmail.com>.
13752 * vc.el (vc-print-log-internal): Don't wait for the process to
13753 terminate before setting up the major mode.
13755 * pcmpl-unix.el (pcomplete/cd): Complete more than one argument, just
13758 * pcomplete.el (pcomplete-std-complete): Don't try to complete past
13761 * simple.el (normal-erase-is-backspace-mode): Fix thinko in message.
13763 2009-12-01 Glenn Morris <rgm@gnu.org>
13765 * window.el (window--display-buffer-2): Fix previous changes.
13767 2009-12-01 Chong Yidong <cyd@stupidchicken.com>
13769 * mail/sendmail.el (mail-setup-hook, mail-send-hook): Doc fixes.
13771 2009-12-01 Glenn Morris <rgm@gnu.org>
13773 * Makefile.in (ELCFILES): Add mpc.elc.
13775 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
13777 * mpc.el: New file.
13779 2009-12-01 Glenn Morris <rgm@gnu.org>
13781 * window.el (window-to-use): Define for compiler.
13783 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Make message
13784 consistent with others (no final period).
13786 * mail/rmailmm.el (rmail-mime-handle): Doc fix.
13787 (rmail-mime-show): Downcase the encoding. (Bug#5070)
13789 2009-12-01 Dan Nicolaescu <dann@ics.uci.edu>
13791 Make vc-print-log buttons work.
13792 * log-view.el (log-view-mode-map): Inherit from widget-keymap.
13794 2009-11-30 Ryan C. Thompson <rct@thompsonclan.org> (tiny change)
13796 * savehist.el (savehist-autosave-interval): Allow setting to nil
13797 through customize. (Bug#5056)
13799 2009-11-30 Juanma Barranquero <lekktu@gmail.com>
13801 Fix references to jit-lock properties.
13802 * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
13803 Refer to jit-lock-defer-multiline, not jit-lock-multiline.
13804 (perl-font-lock-special-syntactic-constructs):
13805 Quote jit-lock-defer-multiline property.
13807 2009-11-30 Dan Nicolaescu <dann@ics.uci.edu>
13809 * vc-git.el (vc-git-registered): Call vc-git-root only once.
13811 2009-11-30 Juri Linkov <juri@jurta.org>
13813 * misearch.el (multi-isearch-search-fun): Always provide a non-nil
13814 value `buffer' of `multi-isearch-next-buffer-current-function'.
13815 Use `(current-buffer)' when `buffer' is nil.
13816 (multi-isearch-next-buffer-from-list): Don't fallback to
13817 `(current-buffer)' when `buffer' is nil. (Bug#4947)
13819 2009-11-30 Juri Linkov <juri@jurta.org>
13821 * misearch.el (multi-isearch-read-buffers): Move canonicalization
13822 of buffers with `get-buffer' to `multi-isearch-buffers'.
13823 (multi-isearch-buffers, multi-isearch-buffers-regexp):
13824 Canonicalize BUFFERS with `get-buffer'. Doc fix.
13825 (multi-isearch-files, multi-isearch-files-regexp): Canonicalize
13826 FILES with `expand-file-name' converting relative file names
13827 to absolute. Doc fix. (Bug#4727)
13829 2009-11-30 Juri Linkov <juri@jurta.org>
13831 * misearch.el (multi-isearch-read-buffers)
13832 (multi-isearch-read-matching-buffers): New functions.
13833 (multi-isearch-buffers, multi-isearch-buffers-regexp):
13834 Use them in the `interactive' spec. Doc fix.
13835 (multi-isearch-read-files, multi-isearch-read-matching-files):
13837 (multi-isearch-files, multi-isearch-files-regexp):
13838 Use them in the `interactive' spec. Doc fix. (Bug#4725)
13840 2009-11-30 Juri Linkov <juri@jurta.org>
13842 * doc-view.el (doc-view-continuous):
13843 Rename from `doc-view-continuous-mode'.
13844 (doc-view-menu): Move "Toggle display" to the top.
13845 Add submenu "Continuous" with radio buttons "Off"/"On"
13846 and "Save as Default".
13847 (doc-view-scroll-up-or-next-page)
13848 (doc-view-scroll-down-or-previous-page)
13849 (doc-view-next-line-or-next-page)
13850 (doc-view-previous-line-or-previous-page):
13851 Rename `doc-view-continuous-mode' to `doc-view-continuous'. (Bug#4896)
13853 2009-11-30 Juri Linkov <juri@jurta.org>
13855 * comint.el (comint-mode-map): Rebind `M-r' from
13856 `comint-previous-matching-input' to
13857 `comint-history-isearch-backward-regexp'.
13858 Unbind `M-s' to allow global key binding `M-s'.
13859 Add menu items for `comint-history-isearch-backward' and
13860 `comint-history-isearch-backward-regexp'. (Bug#3746)
13862 2009-11-30 Juri Linkov <juri@jurta.org>
13864 * replace.el (perform-replace): Let-bind recenter-last-op to nil.
13865 For def=recenter, replace `recenter' with `recenter-top-bottom'
13866 that is called with `this-command' and `last-command' let-bound
13867 to `recenter-top-bottom'. When the last `def' was not `recenter',
13868 set `recenter-last-op' to nil. (Bug#4981)
13870 2009-11-30 Stefan Monnier <monnier@iro.umontreal.ca>
13872 Minor cleanup and simplification.
13873 * filecache.el (file-cache-add-directory)
13874 (file-cache-add-directory-recursively)
13875 (file-cache-add-from-file-cache-buffer)
13876 (file-cache-delete-file-regexp, file-cache-delete-directory)
13877 (file-cache-files-matching-internal, file-cache-display): Use dolist.
13878 (file-cache-temp-minibuffer-message): Delete function.
13879 (file-cache-minibuffer-complete): Use minibuffer-message instead.
13881 * progmodes/perl-mode.el (perl-font-lock-special-syntactic-constructs):
13882 Don't signal an error when bumping into EOB in tr, s, or y.
13884 2009-11-29 Juri Linkov <juri@jurta.org>
13886 * startup.el (fancy-about-text): Fix wording of Guided Tour.
13889 * descr-text.el (describe-char-unidata-list): Use lowercase name
13890 for "Unicode name" like in other tags.
13892 2009-11-29 Juri Linkov <juri@jurta.org>
13894 * ediff-util.el (ediff-minibuffer-with-setup-hook):
13895 New compatibility macro.
13896 (ediff-read-file-name): Use it instead of `minibuffer-with-setup-hook'.
13898 2009-11-29 Juri Linkov <juri@jurta.org>
13900 Add defcustom to define the cycling order of `recenter-top-bottom'.
13903 * window.el (recenter-last-op): Doc fix.
13904 (recenter-positions): New defcustom.
13905 (recenter-top-bottom): Rewrite to use `recenter-positions'.
13906 (move-to-window-line-top-bottom): Rewrite to use `recenter-positions'.
13908 2009-11-29 Michael Albinus <michael.albinus@gmx.de>
13910 Improve integration of Tramp and ange-ftp in eshell.
13912 * eshell/em-unix.el (eshell/whoami): Make it a defun but a defalias.
13913 (eshell/su): Flatten args. Apply better args parsing. Use "cd".
13914 (eshell/sudo): Flatten args. Let-bind `default-directory'.
13916 * eshell/esh-util.el (top): Require also Tramp when compiling.
13917 (eshell-directory-files-and-attributes): Check for FTP remote
13919 (eshell-parse-ange-ls): Let-bind `ange-ftp-name-format',
13920 `ange-ftp-ftp-name-arg', `ange-ftp-ftp-name-res'.
13921 (eshell-file-attributes): Handle ".". Return `entry'.
13923 * net/ange-ftp.el (ange-ftp-parse-filename): Use `save-match-data'.
13924 (ange-ftp-directory-files-and-attributes)
13925 (ange-ftp-real-directory-files-and-attributes): New defuns.
13927 * net/tramp.el (tramp-maybe-open-connection): Open the remote
13928 shell with "exec" when possible. This prevents trailing prompts
13929 in `start-file-process'.
13931 2009-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
13933 Try and remove assumptions about point-min==1.
13934 * nxml/rng-valid.el (rng-validate-mode): Don't hardcode point-min==1.
13935 (rng-compute-mode-line-string): Show the validation percentage in
13936 terms of the narrowed text, not the widened text.
13937 (rng-do-some-validation): Don't catch internal errors when debugging.
13938 (rng-first-error): Simplify.
13939 (rng-after-change-function): Remove work around. AFAIK the bug has
13940 been fixed a while ago.
13942 * image-mode.el (image-minor-mode): Exit more gracefully when the image
13943 cannot be displayed (e.g. when doing C-x C-f some-new-file.svg RET).
13945 * man.el (Man-completion-table): Make it easier to enter "<sec> <name>".
13947 * eshell/em-prompt.el (eshell-prompt-function): Abbreviate pwd, since
13948 `cd' doesn't always do it for us (bug#5067).
13950 * pcomplete.el (pcomplete-entries): Revert change installed mistakenly
13951 on 2009-10-25 as part of some other change (bug#5067).
13953 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
13955 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
13957 (byte-compile-warnings): Use byte-compile-warning-types.
13958 (byte-compile-save-excursion): Warn about use of set-buffer right
13959 after save-excursion.
13961 * progmodes/gud.el (gud-basic-call): Don't only save the buffer but
13962 the excursion as well.
13964 2009-11-27 Michael Albinus <michael.albinus@gmx.de>
13966 * eshell/em-unix.el (eshell/su, eshell/sudo): New defuns,
13967 providing a Tramp related implementation of "su" and "sudo".
13968 (eshell-unix-initialize): Add "su" and "sudo".
13970 2009-11-27 Daiki Ueno <ueno@unixuser.org>
13972 * net/socks.el (socks-send-command): Convert binary request to
13973 unibyte before sending. This fixes mishandling of some port
13974 numbers such as 129.
13976 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
13978 * help.el (describe-bindings-internal): Remove `interactive'.
13980 * man.el (Man-completion-table): Trim a terminating "(".
13981 Remove the space between name page a section.
13982 Add the command's description on the `help-echo' property.
13983 Remove `process-connection-type' binding since it's unused by
13985 Provide completion for the "<section> <name>" format as well.
13986 (Man-default-man-entry): Remove spurious var shadowing the argument.
13988 2009-11-26 Kevin Ryde <user42@zip.com.au>
13990 * log-view.el: Add "Keywords: tools", since its other keywords
13991 aren't in finder-known-keywords, and following vc.el.
13993 * sha1.el (sha1-string-external): default-directory "/" in case
13994 otherwise non-existent. process-connection-type pipe for touch of
13995 efficiency recommended by elisp manual. (An aside in Bug#3911.)
13997 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
13999 Misc coding convention cleanups.
14000 * htmlfontify.el (hfy-init-kludge-hook): Rename from
14001 hfy-init-kludge-hooks.
14002 (hfy-etags-cmd, hfy-flatten-style, hfy-invisible-name, hfy-face-at)
14003 (hfy-fontify-buffer, hfy-prepare-index-i, hfy-subtract-maps)
14004 (hfy-save-kill-buffers, htmlfontify-copy-and-link-dir): Use dolist
14006 (hfy-slant, hfy-weight): Use tables rather than code.
14007 (hfy-box-to-border-assoc, hfy-box-to-style, hfy-decor)
14008 (hfy-face-to-style-i, hfy-fontify-buffer): Use `case'.
14009 (hfy-face-attr-for-class): Initialize `face-spec' directly.
14010 (hfy-face-to-css): Remove `nconc' with single arg.
14011 (hfy-p-to-face-lennart): Use `or'.
14012 (hfy-face-at): Hoist common code. Remove spurious quotes in `case'.
14013 (hfy-overlay-props-at, hfy-mark-tag-hrefs): Eta-reduce.
14014 (hfy-compile-stylesheet, hfy-merge-adjacent-spans)
14015 (hfy-compile-face-map, hfy-parse-tags-buffer): Use push.
14016 (hfy-force-fontification): Use run-hooks.
14018 2009-11-26 Vivek Dasmohapatra <vivek@etla.org>
14020 Various minor fixes.
14021 * htmlfontify.el (hfy-default-header): Add toggle_invis since
14022 Javascript belongs in the header, not the body.
14023 (hfy-javascript): Remove.
14024 (hfy-fontify-buffer): Don't insert it any more.
14025 (hfy-face-at): Handle (face0 face1 face2) style face properties.
14026 Fix bug in invis handling when there were no invis props in a chunk.
14028 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
14030 * vc-bzr.el (vc-bzr-annotate-command): Make operation asynchronous.
14032 2009-11-26 Dan Nicolaescu <dann@ics.uci.edu>
14034 * finder.el (finder-mode-map): Add a menu.
14036 2009-11-26 Michael McNamara <mac@mail.brushroad.com>
14038 * progmodes/verilog-mode.el (verilog-at-struct-p): Support "signed" and
14039 "unsigned" structs.
14041 (verilog-leap-to-head, verilog-backward-token): Handle "disable
14042 fork" statement better.
14044 2009-11-26 Wilson Snyder <wsnyder@wsnyder.org>
14046 * progmodes/verilog-mode.el (verilog-auto-insert-lisp)
14047 (verilog-delete-auto, verilog-delete-empty-auto-pair)
14048 (verilog-library-filenames): Fix AUTOINSERTLISP to support insert-file.
14049 Reported by Clay Douglass.
14051 (verilog-auto-inst, verilog-auto-star-safe)
14052 (verilog-delete-auto-star-implicit, verilog-read-sub-decls):
14053 Fix removing "// Interfaces" when saving .* expansions.
14054 Reported by Pierre-David Pfister.
14056 2009-11-26 Glenn Morris <rgm@gnu.org>
14058 * eshell/em-dirs.el (eshell/cd): Don't throw to a tag outside
14061 2009-11-25 Johan Bockgård <bojohan@gnu.org>
14063 * vc-annotate.el (vc-annotate-revision-previous-to-line):
14064 Really use previous revision.
14066 2009-11-25 Kevin Ryde <user42@zip.com.au>
14068 * man.el (Man-completion-table): default-directory "/" in case
14069 doesn't otherwise exist. process-environment COLUMNS=999 so as
14070 not to truncate long names. process-connection-type pipe to avoid
14071 any chance of hitting the pseudo-tty TIOCGWINSZ.
14072 (man): completion-ignore-case t for friendliness and since man
14073 itself is case-insensitive on the command line.
14074 Further to Bug#3717.
14076 * arc-mode.el: Add "Keywords: files", so the details in its
14077 commentary can be reached from finder-by-keyword.
14078 * textmodes/dns-mode.el: Add "Keywords: comm". It's only an
14079 editing mode, but it's comms related and sgml-mode.el has "comm"
14081 * textmodes/bibtex-style.el: Add "Keywords: tex".
14082 * international/isearch-x.el, international/ja-dic-cnv.el:
14083 * international/ja-dic-utl.el, international/kkc.el:
14084 Add "Keywords: i18n", so they can be reached from finder-by-keyword.
14086 2009-11-25 Juri Linkov <juri@jurta.org>
14088 * man.el (Man-completion-table): Modify regexp to include
14089 section names to completion strings. (Bug#3717)
14091 2009-11-25 Juri Linkov <juri@jurta.org>
14093 Search recursively in gzipped files. (Bug#4982)
14095 * progmodes/grep.el (grep-highlight-matches): Add new options
14096 `always' and `auto'. Doc fix.
14097 (grep-process-setup): Check `grep-highlight-matches' for
14098 `auto-detect' to determine the need to compute grep defaults.
14099 Move Windows/DOS specific --colors settings handling
14100 to `grep-compute-defaults'. Check `grep-highlight-matches'
14101 to get the value of "--color=".
14102 (grep-compute-defaults): Compute `grep-highlight-matches' when it
14103 has the value `auto-detect'. Move Windows/DOS specific settings
14104 from `grep-process-setup'.
14105 (zrgrep): New command with alias `rzgrep'.
14107 2009-11-25 Juri Linkov <juri@jurta.org>
14109 * doc-view.el (doc-view-mode): Set buffer-local `view-read-only'
14110 to nil instead of switching off view-mode. (Bug#4896)
14112 2009-11-25 Juri Linkov <juri@jurta.org>
14114 Mouse-wheel scrolling for DocView Continuous mode. (Bug#4896)
14116 * mwheel.el (mwheel-scroll-up-function)
14117 (mwheel-scroll-down-function): New defvars.
14118 (mwheel-scroll): Funcall `mwheel-scroll-up-function' instead of
14119 `scroll-up', and `mwheel-scroll-down-function' instead of
14122 * doc-view.el (doc-view-scroll-up-or-next-page)
14123 (doc-view-scroll-down-or-previous-page): Add optional ARG.
14124 Use this ARG in the call to image-scroll-up/image-scroll-down.
14125 Change `interactive' spec to "P". Goto next/previous page only
14126 when `doc-view-continuous-mode' is non-nil or ARG is nil (for the
14127 SPC/DEL case). Doc fix.
14128 (doc-view-next-line-or-next-page)
14129 (doc-view-previous-line-or-previous-page): Rename arg to ARG
14131 (doc-view-mode): Set buffer-local `mwheel-scroll-up-function' to
14132 `doc-view-scroll-up-or-next-page', and buffer-local
14133 `mwheel-scroll-down-function' to
14134 `doc-view-scroll-down-or-previous-page'.
14136 2009-11-25 Juri Linkov <juri@jurta.org>
14138 Provide additional default values (directories at other Dired
14139 windows) via M-n in the minibuffer of some Dired commands.
14141 * dired-aux.el (dired-diff, dired-compare-directories)
14142 (dired-do-create-files): Use `dired-dwim-target-defaults' to set
14143 `minibuffer-default' in `minibuffer-with-setup-hook'.
14144 (dired-dwim-target-directory): Find a window that displays Dired
14145 buffer instead of failing when the next window is not Dired.
14146 Use `get-window-with-predicate' to find for the next Dired window.
14147 (dired-dwim-target-defaults): New function.
14149 * ediff-util.el (ediff-read-file-name):
14150 Use `dired-dwim-target-defaults' to set `minibuffer-default'
14151 in `minibuffer-with-setup-hook'.
14153 2009-11-25 Juri Linkov <juri@jurta.org>
14155 Provide additional default values (file name at point or at the
14156 current Dired line) via M-n for file reading minibuffers. (Bug#5010)
14158 * minibuffer.el (read-file-name-defaults): New function.
14159 (read-file-name): Reset `minibuffer-default' to nil when
14160 it duplicates initial input `insdef'.
14161 Bind `minibuffer-default-add-function' to lambda that
14162 calls `read-file-name-defaults' in `minibuffer-selected-window'.
14163 (minibuffer-insert-file-name-at-point): New command.
14165 * files.el (file-name-at-point-functions): New defcustom.
14166 (find-file-default): Remove defvar.
14167 (find-file-read-args): Don't use `find-file-default'.
14168 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
14169 to `read-file-name'.
14170 (find-file-literally): Use `read-file-name' with
14171 `confirm-nonexistent-file-or-buffer'.
14173 * ffap.el (ffap-guess-file-name-at-point): New autoloaded function.
14175 * dired.el (dired-read-dir-and-switches):
14176 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
14177 to `read-file-name'.
14178 (dired-file-name-at-point): New function.
14179 (dired-mode): Add hook `dired-file-name-at-point' to
14180 `file-name-at-point-functions'.
14182 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
14184 Really make the *Completions* window soft-dedicated (bug#5030).
14185 * window.el (window--display-buffer-2): Add `dedicated' argument.
14186 (display-buffer): Pass it when needed so the dedicated flag is set
14187 after calling set-window-buffer, which would otherwise reset it.
14189 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
14191 * progmodes/meta-mode.el (meta-complete-symbol):
14192 * progmodes/etags.el (complete-tag):
14193 * mail/mailabbrev.el (mail-abbrev-complete-alias):
14194 Use completion-in-region.
14196 * dabbrev.el (dabbrev--minibuffer-origin): Use minibuffer-selected-window.
14197 (dabbrev-completion): Use completion-in-region.
14198 (dabbrev--abbrev-at-point): Simplify regexp.
14200 * abbrev.el (abbrev--before-point): Use word-motion functions
14201 if :regexp is not specified (bug#5031).
14203 * subr.el (string-prefix-p): New function.
14205 * man.el (Man-completion-cache): New var.
14206 (Man-completion-table): Use it.
14208 * vc.el (vc-print-log-internal): Make `limit' optional for better
14209 compatibility (e.g. with vc-annotate.el).
14211 2009-11-24 Kevin Ryde <user42@zip.com.au>
14213 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp):
14214 Build value with regexp-opt instead of explicit joining loop. (Bug#4927)
14216 * emacs-lisp/elint.el (elint-add-required-env): Better error message
14217 when .el source file not found or other error.
14219 2009-11-24 Markus Triska <markus.triska@gmx.at>
14221 * linum.el (linum-update-window): Ignore intangible (bug#4996).
14223 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
14225 Handle the [back] button properly (bug#4979).
14226 * descr-text.el (describe-text-properties): Add a `buffer' argument.
14227 Use help-setup-xref, help-buffer, and with-help-window.
14228 (describe-char): Add `buffer' argument.
14229 Pass proper command to help-setup-xref. Don't meddle with
14230 help-xref-stack-item directly.
14231 (describe-text-category): Use with-help-window and help-buffer.
14233 * emacs-lisp/shadow.el (list-load-path-shadows): Setup a major mode
14234 for the displayed buffer (bug#4887).
14236 * man.el (Man-completion-table): New function.
14239 2009-11-24 David Reitter <david.reitter@gmail.com>
14241 * vc-git.el (vc-git-registered): Use checkout directory (where
14242 .git is) rather than the file's directory and a relative path spec
14243 to work around a bug in git.
14245 2009-11-24 Michael Albinus <michael.albinus@gmx.de>
14247 Improve handling of processes on remote hosts.
14249 * eshell/esh-util.el (eshell-path-env): New defvar.
14250 (eshell-parse-colon-path): New defun.
14251 (eshell-file-attributes): Use `eshell-parse-colon-path'.
14253 * eshell/esh-ext.el (eshell-search-path):
14254 Use `eshell-parse-colon-path'.
14255 (eshell-remote-command): Remove argument HANDLER.
14256 (eshell-external-command): Check for FTP remote connection.
14258 * eshell/esh-proc.el (eshell-gather-process-output):
14259 Use `file-truename', in order to start also symlinked files.
14260 Apply `start-file-process' instead of `start-process'.
14261 Shorten `command' to the local file name part.
14263 * eshell/em-cmpl.el (eshell-complete-commands-list):
14264 Use `eshell-parse-colon-path'.
14266 * eshell/em-unix.el (eshell/du): Check for FTP remote connection.
14268 * net/tramp.el (tramp-eshell-directory-change): New defun. Add it
14269 to `eshell-directory-change-hook'.
14271 2009-11-24 Tassilo Horn <tassilo@member.fsf.org>
14273 * doc-view.el (doc-view-mode): Switch off view-mode explicitly,
14274 because it could be enabled automatically if view-read-only is non-nil.
14276 2009-11-24 Michael Kifer <kifer@cs.stonybrook.edu>
14278 * ediff-vers.el (ediff-rcs-get-output-buffer): Revert the change
14279 made on 2009-11-22.
14281 2009-11-24 Glenn Morris <rgm@gnu.org>
14283 * bookmark.el (bookmark-bmenu-hide-filenames): Remove assignment to
14284 deleted variable bookmark-bmenu-bookmark-column.
14286 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
14288 * bookmark.el (bookmark-bmenu-search): Clear echo area when exiting.
14290 2009-11-23 Ken Brown <kbrown@cornell.edu> (tiny change)
14292 * net/browse-url.el (browse-url-filename-alist): On Windows, add
14293 two slashes to the "file:" prefix.
14294 (browse-url-file-url): De-munge Cygwin filenames before passing
14295 them to Windows browser.
14296 (browse-url-default-windows-browser): Use call-process.
14298 2009-11-23 Juri Linkov <juri@jurta.org>
14300 Implement DocView Continuous mode. (Bug#4896)
14301 * doc-view.el (doc-view-continuous-mode): New defcustom.
14302 (doc-view-mode-map): Bind C-n/<down> to
14303 `doc-view-next-line-or-next-page', C-p/<up> to
14304 `doc-view-previous-line-or-previous-page'.
14305 (doc-view-next-line-or-next-page)
14306 (doc-view-previous-line-or-previous-page): New commands.
14308 2009-11-23 Juri Linkov <juri@jurta.org>
14310 Implement Isearch in comint input history. (Bug#3746)
14311 * comint.el (comint-mode): Add `comint-history-isearch-setup' to
14312 `isearch-mode-hook'.
14313 (comint-history-isearch): New defcustom.
14314 (comint-history-isearch-backward)
14315 (comint-history-isearch-backward-regexp): New commands.
14316 (comint-history-isearch-message-overlay): New buffer-local variable.
14317 (comint-history-isearch-setup, comint-history-isearch-end)
14318 (comint-goto-input, comint-history-isearch-search)
14319 (comint-history-isearch-message, comint-history-isearch-wrap)
14320 (comint-history-isearch-push-state)
14321 (comint-history-isearch-pop-state): New functions.
14323 2009-11-23 Michael Albinus <michael.albinus@gmx.de>
14325 * net/tramp.el (tramp-shell-prompt-pattern): Use \r for carriage
14327 (tramp-handle-make-symbolic-link)
14328 (tramp-handle-dired-compress-file, tramp-handle-expand-file-name):
14330 (tramp-send-command-and-check): New argument DONT-SUPPRESS-ERR.
14331 (tramp-handle-process-file): Use it.
14333 2009-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
14335 * window.el (move-to-window-line-last-op): Remove.
14336 (move-to-window-line-top-bottom): Reuse recenter-last-op instead.
14338 2009-11-23 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
14340 Make M-r mirror the new cycling behavior of C-l.
14341 * window.el (move-to-window-line-last-op): New var.
14342 (move-to-window-line-top-bottom): New command.
14343 (global-map): Bind M-r move-to-window-line-top-bottom.
14345 2009-11-23 Sven Joachim <svenjoac@gmx.de>
14347 * dired-x.el (dired-guess-shell-alist-default):
14348 Support xz format. (Bug#4953)
14350 2009-11-22 Michael Kifer <kifer@cs.stonybrook.edu>
14352 * emulation/viper-cmd.el: Use viper-last-command-char instead of
14353 last-command-char/last-command-event.
14354 (viper-prefix-arg-value): Do correct conversion of event-char for
14357 * emulation/viper-util.el, emulation/viper.el:
14358 Use viper-last-command-char instead of
14359 last-command-char/last-command-event.
14361 * ediff-init.el, ediff-mult.el, ediff-util.el:
14362 Replace last-command-char and last-command-event
14363 with (ediff-last-command-char) everywhere.
14365 * ediff-vers.el (ediff-rcs-get-output-buffer): Make sure the buffer is
14366 created in fundamental mode.
14368 * ediff.el (ediff-version): Revert the change of interactive-p to
14369 called-interactively-p.
14371 2009-11-22 Tassilo Horn <tassilo@member.fsf.org>
14373 * progmodes/subword.el (subword-mode-map): Fix subword-mode-map
14374 generation from word-movement command names.
14376 2009-11-21 Jan Djärv <jan.h.d@swipnet.se>
14378 * cus-start.el (all): Add native condition for font-use-system-font.
14380 2009-11-21 Nathaniel Flath <flat0103@gmail.com>
14382 * progmodes/cc-menus.el (cc-imenu-java-generic-expression):
14383 Correct the patch from 2009-11-18. (Bug#3910)
14385 2009-11-21 Tassilo Horn <tassilo@member.fsf.org>
14387 * progmodes/subword.el: Rename from lisp/subword.el.
14389 * subword.el: Rename to progmodes/subword.el.
14391 * Makefile.in (ELCFILES): Adapt to subword.el move.
14393 2009-11-21 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14394 Stefan Monnier <monnier@iro.umontreal.ca>
14396 * bookmark.el (bookmark-bmenu-bookmark-column): Remove var.
14397 (bookmark-bmenu-list): Save name on `bookmark-name-prop' text-prop.
14398 (bookmark-bmenu-show-filenames): Use push.
14399 (bookmark-bmenu-hide-filenames): Use local var instead of
14400 bookmark-bmenu-bookmark-column. Use pop. Don't save window-excursion.
14401 (bookmark-bmenu-bookmark): Use the new `bookmark-name-prop' text-prop.
14402 (bookmark-bmenu-execute-deletions): Don't bother adding/removing the
14403 filenames now that the bookmark names are always available.
14405 2009-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
14407 * bookmark.el (bookmark-search-prompt, bookmark-search-timer): Remove.
14408 (bookmark-search-pattern): Move and leave unbound.
14409 (bookmark-bmenu-mode-map): Change binding.
14410 (bookmark-read-search-input): Simplify.
14411 Don't use text-char-description. Don't error on non-char events.
14412 (bookmark-filtered-alist-by-regexp-only): Remove by folding into the
14413 only caller (i.e. bookmark-bmenu-filter-alist-by-regexp).
14414 (bookmark-bmenu-search): Don't check we're in a bookmark-list buffer.
14415 Use a local var for the timer.
14416 (bookmark-bmenu-cancel-search): Remove by folding into the only caller
14417 (i.e. bookmark-bmenu-search).
14419 2009-11-21 Glenn Morris <rgm@gnu.org>
14421 * mail/rmailmm.el (rmail-mime): Decode in fundamental-mode. (Bug#4993)
14423 2009-11-20 Ken Brown <kbrown@cornell.edu> (tiny change)
14425 * net/browse-url.el (browse-url-default-windows-browser):
14426 Use cygstart for cygwin.
14428 2009-11-20 Karl Fogel <karl.fogel@red-bean.com>
14430 * bookmark.el: Formatting and doc fixes only:
14431 (bookmark-search-delay): Shorten doc string to fit in 80 columns.
14432 (bookmark-bmenu-search): Wrap to fit within 80 columns.
14433 Minor grammar and punctuation fixes in doc string.
14434 (bookmark-read-search-input): Adjust to fit within 80 columns.
14436 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
14438 * progmodes/cc-cmds.el (c-forward-into-nomenclature)
14439 (c-backward-into-nomenclature): Adapt to subword renaming.
14441 * subword.el (subword-forward, subword-backward, subword-mark)
14442 (subword-kill, subword-backward-kill, subword-transpose)
14443 (subword-downcase, subword-upcase, subword-capitalize)
14444 (subword-forward-internal, subword-backward-internal):
14445 Rename from forward-subword, backward-subword, mark-subword,
14446 kill-subword, backward-kill-subword, transpose-subwords,
14447 downcase-subword, upcase-subword, capitalize-subword,
14448 forward-subword-internal, backward-subword-internal.
14450 2009-11-20 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14452 * bookmark.el (bookmark-search-delay, bookmark-search-prompt):
14454 (bookmark-search-pattern, bookmark-search-timer, bookmark-quit-flag):
14456 (bookmark-read-search-input, bookmark-filtered-alist-by-regexp-only)
14457 (bookmark-bmenu-filter-alist-by-regexp)
14458 (bookmark-bmenu-goto-bookmark, bookmark-bmenu-cancel-search): New funs.
14459 (bookmark-bmenu-search): New command.
14460 (bookmark-bmenu-mode-map): Bind it.
14462 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
14464 * progmodes/cc-cmds.el: declare-functioned forward-subword and
14465 backward-subword to quit the byte-compiler.
14467 * makefile.w32-in: Don't refer cc-subword.elc but subword.elc.
14469 * Makefile.in: Don't refer cc-subword.elc but subword.elc.
14471 * progmodes/cc-cmds.el (c-update-modeline)
14472 (c-forward-into-nomenclature, c-backward-into-nomenclature):
14473 Refer to subword.el functions instead of cc-subword.el.
14475 * progmodes/cc-mode.el (subword-mode, c-mode-base-map): Refer to
14476 subword.el functions instead of cc-subword.el.
14478 * progmodes/cc-subword.el: Rename to subword.el.
14479 * subword.el: Rename from progmodes/cc-subword.el.
14480 (subword-mode-map): Rename from c-subword-mode-map.
14481 (subword-mode): Rename from c-subword-mode.
14482 (global-subword-mode): New global minor mode.
14483 (forward-subword): Rename from c-forward-subword.
14484 (backward-subword): Rename from c-backward-subword.
14485 (mark-subword): Rename from c-mark-subword.
14486 (kill-subword): Rename from c-kill-subword.
14487 (backward-kill-subword): Rename from c-backward-kill-subword.
14488 (transpose-subwords): Rename from c-tranpose-subword.
14489 (downcase-subword): Rename from c-downcase-subword.
14490 (capitalize-subword): Rename from c-capitalize-subword.
14491 (forward-subword-internal): Rename from c-forward-subword-internal.
14492 (backward-subword-internal): Rename from c-backward-subword-internal.
14494 2009-11-20 Dan Nicolaescu <dann@ics.uci.edu>
14496 * vc.el (vc-deduce-fileset): Allow non-state changing operations
14497 from a dired buffer.
14498 (vc-dired-deduce-fileset): New function.
14499 (vc-root-diff, vc-print-root-log): Use it.
14501 * vc-annotate.el (vc-annotate-show-log-revision-at-line): Pass a
14502 nil LIMIT argument to vc-print-log-internal.
14504 2009-11-20 Glenn Morris <rgm@gnu.org>
14506 * Makefile.in (ELCFILES): Regenerate.
14508 2009-11-20 Jay Belanger <jay.p.belanger@gmail.com>
14510 * calc/calc.el (calc-set-mode-line):
14511 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
14512 (math-format-number): Rename `math-format-complement-signed' to
14513 `math-format-twos-complement'.
14515 * calc/calc-bin.el (math-format-twos-complement): Rename from
14516 math-format-complement-signed.
14517 (calc-radix): Rename `calc-complement-signed-mode' to
14518 `calc-twos-complement-mode'.
14519 (calc-octal-radix, calc-hex-radix): Add an argument for
14522 * calc/calc-embed.el (calc-embedded-mode-vars):
14523 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
14525 * calc/calc-ext.el (calc-init-extensions):
14526 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
14527 (math-format-number-fancy): Let `calc-twos-complement-mode' be nil.
14529 * calc/calc-units.el (math-build-units-table-buffer):
14530 Let `calc-twos-complement-mode' be nil.
14532 * calc/calc-menu.el (calc-modes-menu): Clean up two's complement
14535 * calc/calc-vec.el (calcFunc-vunpack):
14536 * calc/calc-aent.el (calc-do-calc-eval):
14537 * calc/calc-forms.el (math-format-date):
14538 * calc/calc-graph.el (calc-graph-plot):
14539 * calc/calc-math.el (math-use-emacs-fn):
14540 * calc/calccomp.el (math-compose-expr):
14541 Let `calc-twos-complement-mode' be nil.
14543 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
14545 * abbrev.el (abbrev-with-wrapper-hook): (re)move...
14546 * simple.el (with-wrapper-hook): ...to here. Add argument `args'.
14547 * minibuffer.el (completion-in-region-functions): New hook.
14548 (completion-in-region): New function.
14549 * emacs-lisp/lisp.el (lisp-complete-symbol):
14550 * pcomplete.el (pcomplete-std-complete): Use it.
14552 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
14554 * textmodes/tex-mode.el (latex-complete-bibtex-cache)
14555 (latex-complete-alist): New vars.
14556 (latex-string-prefix-p, latex-complete-bibtex-keys)
14557 (latex-complete-envnames, latex-complete-refkeys)
14558 (latex-complete-data): New functions.
14559 (latex-complete, latex-indent-or-complete): New commands.
14561 * window.el (display-buffer-mark-dedicated): New var.
14562 (display-buffer): Obey it.
14563 * minibuffer.el (minibuffer-completion-help): Use it.
14565 * progmodes/sym-comp.el (symbol-complete): Use completion-in-region.
14567 * filecache.el (file-cache-add-file): Use push and cons.
14568 (file-cache-delete-file-regexp): Use push.
14569 (file-cache-complete): Use completion-in-region.
14571 * simple.el (with-wrapper-hook): Fix thinko.
14573 * hfy-cmap.el (hfy-rgb-file): Use locate-file.
14574 (htmlfontify-load-rgb-file): Remove unnused var `ff'.
14575 Use with-current-buffer and string-to-number.
14576 (hfy-fallback-colour-values): Use assoc-string.
14577 * htmlfontify.el (hfy-face-to-css): Remove unused var `style'.
14578 (hfy-face-at): Remove unused var `found-face'.
14579 (hfy-compile-stylesheet): Remove unused var `css'.
14580 (hfy-fontify-buffer): Remove unused vars `in-style', `invis-button',
14582 (hfy-buffer, hfy-copy-and-fontify-file, hfy-parse-tags-buffer):
14583 Use with-current-buffer.
14584 (hfy-text-p): Use expand-file-name and fewer setq.
14586 2009-11-19 Vivek Dasmohapatra <vivek@etla.org>
14588 * htmlfontify.el, hfy-cmap.el: New files.
14590 2009-11-19 Juri Linkov <juri@jurta.org>
14592 * minibuffer.el (completions-format): New defcustom.
14593 (completion--insert-strings): Implement vertical format.
14595 * simple.el (switch-to-completions): Move point to the first
14596 completion when point was at the beginning of the buffer.
14598 2009-11-19 Juri Linkov <juri@jurta.org>
14600 * find-dired.el (find-name-arg): Remove autoload. (Bug#4387)
14602 * progmodes/grep.el (rgrep): Require `find-dired' for `find-name-arg'.
14604 2009-11-19 Chong Yidong <cyd@stupidchicken.com>
14606 * mail/sendmail.el (mail-yank-prefix): Change default to "> ".
14607 (mail-signature): Change default to t.
14608 (mail-from-style): Deprecate `system-default' value.
14609 (mail-insert-from-field): For default value of mail-from-style,
14610 default to `angles' unless `angles' needs quoting and `parens'
14612 (mail-citation-prefix-regexp): Use citation regexp from
14615 2009-11-19 Michael Albinus <michael.albinus@gmx.de>
14617 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
14618 Set variables for computing the prompt for reading password.
14620 2009-11-19 Glenn Morris <rgm@gnu.org>
14622 * dired-aux.el (dired-compress-file-suffixes): Add ".xz". (Bug#4953)
14624 * textmodes/flyspell.el (sgml-lexical-context): Declare.
14626 * net/newst-treeview.el (newsticker-treeview-treewindow-width)
14627 (newsticker-treeview-listwindow-height): Fix custom type.
14629 2009-11-19 Kenichi Handa <handa@m17n.org>
14631 * descr-text.el (describe-char-padded-string): Compose with TAB
14632 only if there's a font for CH.
14633 (describe-char): Fix the condition for detecting a trivial composition.
14635 2009-11-18 Nathaniel Flath <flat0103@gmail.com>
14637 * progmodes/cc-menus.el (cc-imenu-java-generic-expression): A new,
14638 more accurate version of the regexp. (Bug#3910)
14640 2009-11-18 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
14642 * vc-hg.el (vc-hg-diff): Fix last patch: do not change directory.
14644 2009-11-18 Juanma Barranquero <lekktu@gmail.com>
14646 * font-setting.el (font-use-system-font): Declare for byte-compiler.
14647 (font-setting-change-default-font): Fix typo in docstring.
14649 2009-11-18 Alan Mackenzie <acm@muc.de>
14651 * progmodes/cc-defs.el (c-version): Bump to 5.31.8.
14653 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
14655 * font-setting.el (font-use-system-font): Move ...
14657 * cus-start.el (all): ... to here.
14659 2009-11-17 Michael Albinus <michael.albinus@gmx.de>
14661 * net/tramp.el (tramp-advice-file-expand-wildcards): Simplify.
14662 Don't set `ad-return-value' if `ad-do-it' doesn't.
14664 * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Set file
14667 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
14669 * menu-bar.el: Put "Use system font" in Option-menu.
14670 (menu-bar-options-save): Add font-use-system-font.
14672 * loadup.el: If feature system-font-setting or font-render-setting is
14673 there, load font-setting.
14675 * Makefile.in (ELCFILES): Add font-settings.el.
14676 * font-setting.el: New file.
14678 2009-11-17 Glenn Morris <rgm@gnu.org>
14680 * vc-svn.el (vc-svn-print-log): Fix typo in previous.
14682 * net/newst-treeview.el (newsticker--treeview-list-update-faces):
14683 Preserve point in the list buffer. (Bug#4939)
14685 (newsticker--treeview-list-update-highlight)
14686 (newsticker--treeview-tree-update-highlight): Use point-at-bol/eol.
14688 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
14690 * calc/calc-bin.el (math-symclip, calcFunc-symclip, calc-symclip):
14693 * calc/calc-ext.el (calc-init-extensions): Remove references to
14696 * calc/calc-menu.el (calc-arithmetic-menu): Remove `calc-symclip'.
14698 * calc/calc-map.el (calc-get-operator, calc-b-oper-keys):
14699 * calc/calc-help.el (calc-b-prefix-help): Remove references to
14702 2009-11-16 Kevin Ryde <user42@zip.com.au>
14704 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
14705 Use `sgml-lexical-context' instead of own parse for tag (Bug#4511).
14707 * emacs-lisp/lisp-mnt.el (lm-keywords): Allow multi-line keywords.
14708 (lm-keywords-list): Allow comma-only separator like "foo,bar".
14709 Ignore trailing spaces by omit-nulls to split-string (fixing
14710 regression from Emacs 21 due to the incompatible split-string
14711 change). (Bug #4928.)
14713 2009-11-16 Dan Nicolaescu <dann@ics.uci.edu>
14715 * vc.el (vc-log-show-limit): Default to 2000.
14716 (vc-print-log-internal): Insert buttons to request more entries
14717 when limiting the output.
14719 * vc-sccs.el (vc-sccs-print-log):
14720 * vc-rcs.el (vc-rcs-print-log):
14721 * vc-cvs.el (vc-cvs-print-log):
14722 * vc-git.el (vc-git-print-log): Return 'limit-unsupported when
14725 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
14727 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Raise only an
14728 error when `tramp-gvfs-dbus-event-vector' is set.
14729 (tramp-gvfs-maybe-open-connection): Loop over `read-event'.
14731 2009-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
14733 * vc-rcs.el (vc-rcs-consult-headers): Add missing save-excursion.
14735 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
14737 * net/dbus.el (dbus-unregister-service): New defun.
14738 (dbus-register-property): Register the handlers of
14739 "org.freedesktop.DBus.Properties" for SERVICE.
14740 (dbus-property-handler): Fix docstring.
14742 2009-11-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
14744 * emacs-lisp/bytecomp.el (byte-compile-output-file-form):
14745 Quote doc string reference in defvaralias as it is not in special form.
14746 (byte-compile-output-docform): Doc fix.
14748 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
14750 * calc/calc.el (math-2-word-size, math-half-2-word-size)
14751 (calc-complement-signed-mode): New variables.
14752 (calc-set-mode-line): Add indicator for twos-complements.
14753 (math-format-number): Format twos-complement notation.
14755 * calc/calc-bin.el (calc-word-size): Reset the variables
14756 `math-2-word-size' and `math-half-2-word-size'.
14757 (math-format-complement-signed, math-symclip, calcFunc-symclip)
14758 (calc-symclip): New functions.
14760 * calc/calc-aent.el (math-read-token): Read complement signed numbers.
14762 * calc/calc-embed.el (calc-embedded-mode-vars):
14763 Add `calc-complement-signed-mode' to the list of modes.
14765 * calc/calc-map.el (calc-get-operator): Add `calc-symclip'.
14766 (calc-b-oper-keys): Add `calc-symclip' to list.
14768 * calc/calc-ext.el (math-read-number-fancy): Read complement
14770 (calc-init-extensions): Add binding for `calc-symclip'.
14771 Add autoload for `calcFunc-symclip' and `calc-symclip'.
14773 * calc/calc-menu.el (calc-arithmetic-menu): Add item for
14775 (calc-modes-menu): Add item for twos complement mode.
14777 * calc/calc-help.el (calc-b-prefix-help): Add help for `calc-symclip'.
14779 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
14781 * register.el (jump-to-register, insert-register): Handle Semantic
14782 tags. From commented-out advice in semantic/senator.el.
14784 2009-11-15 Dan Nicolaescu <dann@ics.uci.edu>
14786 * vc.el (vc-log-show-limit): New variable.
14787 (vc-print-log, vc-print-root-log): Add new argument LIMIT. Set it
14788 when using a prefix argument.
14789 (vc-print-log-internal): Add new argument LIMIT.
14791 * vc-svn.el (vc-svn-print-log):
14792 * vc-mtn.el (vc-mtn-print-log):
14793 * vc-hg.el (vc-hg-print-log):
14794 * vc-bzr.el (vc-bzr-print-log): Add new optional argument LIMIT,
14795 pass it to the log command when set. Make the BUFFER argument
14798 * vc-sccs.el (vc-sccs-print-log):
14799 * vc-rcs.el (vc-rcs-print-log):
14800 * vc-git.el (vc-git-print-log):
14801 * vc-cvs.el (vc-cvs-print-log): Add new optional argument LIMIT,
14802 ignore it. Make the BUFFER argument non-optional
14804 * bindings.el (mode-line-buffer-identification): Do not purecopy.
14806 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
14808 * dired.el (dired-mode-map): Move encryption items to "Operate"
14811 * strokes.el (strokes-update-window-configuration): Make strokes
14812 buffer current before erasing (Bug#4906).
14814 2009-11-15 Juri Linkov <juri@jurta.org>
14816 * simple.el (set-mark-default-inactive): Add :type, :group
14817 and :version. (Bug#4876)
14819 2009-11-15 Michael Albinus <michael.albinus@gmx.de>
14821 * arc-mode.el (archive-maybe-copy): Move creation of directory ...
14822 (archive-unique-fname): ... here. (Bug#4929)
14824 2009-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
14826 * help-mode.el (help-make-xrefs): Undo the last revert, and replace it
14829 * novice.el (disabled-command-function): Add useful args.
14830 Setup the help buffer so that [back] works.
14831 Remove redundant call to help-mode.
14832 (disabled-command-function): Use `case'.
14833 (en/disable-command): New function extracted from enable-command.
14834 (enable-command, disable-command): Use it.
14836 2009-11-14 Glenn Morris <rgm@gnu.org>
14838 * menu-bar.el (menu-bar-tools-menu): Read and send mail entries are not
14839 constants. (Bug#4913)
14841 * emacs-lisp/elint.el (elint-standard-variables): Doc fix.
14843 2009-11-14 Shigeru Fukaya <shigeru.fukaya@gmail.com>
14845 * emacs-lisp/elint.el (elint-standard-variables): Add some variables
14846 defined in C that have no doc-strings. (Bug#1063)
14848 2009-11-14 Francis Wright <F.J.Wright@qmul.ac.uk>
14850 * cus-edit.el (data, files):
14851 * ps-print.el (postscript): Doc fixes for custom groups. (Bug#3327)
14853 2009-11-14 Chong Yidong <cyd@stupidchicken.com>
14855 * simple.el (shell-command): Doc fix (Bug#4891).
14857 * help-mode.el (help-make-xrefs): Revert 2009-11-13 change.
14859 2009-11-14 Glenn Morris <rgm@gnu.org>
14861 * emulation/viper.el (viper-set-hooks): Remove duplicate advice
14862 statements for vc-diff, emerge-quit, and rmail-cease-edit.
14863 If they are already loaded, eval-after-load will do the right thing.
14865 * speedbar.el (top-level): Remove unnecessary load of ange-ftp when
14868 * emacs-lisp/bytecomp.el (byte-compile-single-version): Remove, unused.
14870 * simple.el (x-selection-owner-p): Declare.
14871 (read-mail-command): Use custom radio type rather than choice.
14872 (completion-no-auto-exit): Doc fix.
14874 * custom.el (defgroup):
14875 * epg-config.el (epg): Doc fixes.
14877 2009-11-14 Dan Nicolaescu <dann@ics.uci.edu>
14879 * bindings.el (mode-line-buffer-identification): Purecopy only the string.
14880 * international/ccl.el (define-ccl-program): Do not purecopy the
14881 docstring, defconst does it anyway.
14883 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
14885 * add-log.el (add-change-log-entry): Avoid displaying the changelog
14888 * x-dnd.el (x-dnd-maybe-call-test-function):
14889 * window.el (split-window-vertically):
14890 * whitespace.el (whitespace-help-on):
14891 * vc-rcs.el (vc-rcs-consult-headers):
14892 * userlock.el (ask-user-about-lock-help)
14893 (ask-user-about-supersession-help):
14894 * type-break.el (type-break-force-mode-line-update):
14895 * time-stamp.el (time-stamp-conv-warn):
14896 * terminal.el (te-set-output-log, te-more-break, te-filter)
14897 (te-sentinel, terminal-emulator):
14898 * term.el (make-term, term-exec, term-sentinel, term-read-input-ring)
14899 (term-write-input-ring, term-check-source, term-start-output-log):
14900 (term-display-buffer-line, term-dynamic-list-completions):
14901 (term-ansi-make-term, serial-term):
14902 * subr.el (selective-display):
14903 * strokes.el (strokes-xpm-to-compressed-string, strokes-decode-buffer)
14904 (strokes-encode-buffer, strokes-xpm-for-compressed-string):
14905 * speedbar.el (speedbar-buffers-tail-notes, speedbar-buffers-item-info)
14906 (speedbar-reconfigure-keymaps, speedbar-add-localized-speedbar-support)
14907 (speedbar-remove-localized-speedbar-support)
14908 (speedbar-set-mode-line-format, speedbar-create-tag-hierarchy)
14909 (speedbar-update-special-contents, speedbar-buffer-buttons-engine)
14910 (speedbar-buffers-line-directory):
14911 * simple.el (shell-command-on-region, append-to-buffer)
14912 (prepend-to-buffer):
14913 * shadowfile.el (shadow-save-todo-file):
14914 * scroll-bar.el (scroll-bar-set-window-start, scroll-bar-drag-1)
14915 (scroll-bar-maybe-set-window-start):
14916 * sb-image.el (speedbar-image-dump):
14917 * saveplace.el (save-place-alist-to-file, save-places-to-alist)
14918 (load-save-place-alist-from-file):
14919 * ps-samp.el (ps-print-message-from-summary):
14920 * ps-print.el (ps-flush-output, ps-insert-file, ps-get-boundingbox)
14921 (ps-background-image, ps-begin-job, ps-do-despool):
14922 * ps-bdf.el (bdf-find-file, bdf-read-font-info):
14923 * printing.el (pr-interface, pr-ps-file-print, pr-find-buffer-visiting)
14924 (pr-ps-message-from-summary, pr-lpr-message-from-summary):
14925 (pr-call-process, pr-file-list, pr-interface-save):
14926 * novice.el (disabled-command-function)
14927 (enable-command, disable-command):
14928 * mouse.el (mouse-buffer-menu-alist):
14929 * mouse-copy.el (mouse-kill-preserving-secondary):
14930 * macros.el (kbd-macro-query):
14931 * ledit.el (ledit-go-to-lisp, ledit-go-to-liszt):
14932 * informat.el (batch-info-validate):
14933 * ido.el (ido-copy-current-word, ido-initiate-auto-merge):
14934 * hippie-exp.el (try-expand-dabbrev-visible):
14935 * help-mode.el (help-make-xrefs):
14936 * help-fns.el (describe-variable):
14937 * generic-x.el (bat-generic-mode-run-as-comint):
14938 * finder.el (finder-mouse-select):
14939 * find-dired.el (find-dired-sentinel):
14940 * filesets.el (filesets-file-close):
14941 * files.el (list-directory):
14942 * faces.el (list-faces-display, describe-face):
14943 * facemenu.el (list-colors-display):
14944 * ezimage.el (ezimage-image-association-dump, ezimage-image-dump):
14945 * epg.el (epg--process-filter, epg-cancel):
14946 * epa.el (epa--marked-keys, epa--select-keys, epa-display-info)
14947 (epa--read-signature-type):
14948 * emerge.el (emerge-copy-as-kill-A, emerge-copy-as-kill-B)
14949 (emerge-file-names):
14950 * ehelp.el (electric-helpify):
14951 * ediff.el (ediff-regions-wordwise, ediff-regions-linewise):
14952 * ediff-vers.el (rcs-ediff-view-revision):
14953 * ediff-util.el (ediff-setup):
14954 * ediff-mult.el (ediff-append-custom-diff):
14955 * ediff-diff.el (ediff-exec-process, ediff-process-sentinel)
14957 * echistory.el (Electric-command-history-redo-expression):
14958 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
14959 * disp-table.el (describe-display-table):
14960 * dired.el (dired-find-buffer-nocreate):
14961 * dired-aux.el (dired-rename-subdir, dired-dwim-target-directory):
14962 * dabbrev.el (dabbrev--same-major-mode-p):
14963 * chistory.el (list-command-history):
14964 * apropos.el (apropos-documentation):
14965 * allout.el (allout-obtain-passphrase):
14966 (allout-copy-exposed-to-buffer):
14967 (allout-verify-passphrase): Use with-current-buffer.
14969 2009-11-13 Glenn Morris <rgm@gnu.org>
14971 * Makefile.in (ELCFILES): Regenerate.
14973 2009-11-13 Michael Albinus <michael.albinus@gmx.de>
14975 * net/dbus.el (dbus-registered-objects-table): Rename from
14976 `dbus-registered-functions-table', because it contains also properties.
14977 (dbus-unregister-object): Unregister also properties.
14978 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
14979 Use a timeout of 500 msec, in order to not block.
14980 (dbus-register-property, dbus-property-handler): New defuns.
14982 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
14984 * simple.el (minibuffer-default-add-completions): Drop deprecated
14987 2009-11-13 Tomas Abrahamsson <tab@lysator.liu.se>
14989 * textmodes/artist.el (artist-mouse-choose-operation):
14990 Call `tmm-prompt' instead of `x-popup-menu' if we cannot popup
14991 menus. Bug noticed by Eli Zaretskii <eliz@gnu.org>.
14992 (artist-compute-up-event-key): New function.
14993 (artist-mouse-choose-operation, artist-down-mouse-1): Call it.
14995 2009-11-13 Kenichi Handa <handa@m17n.org>
14997 * language/japan-util.el: Make sure that the value of jisx0208
14998 property is jisx0208 character.
15000 2009-11-13 Dan Nicolaescu <dann@ics.uci.edu>
15002 * international/mule.el (auto-coding-regexp-alist): Only purecopy
15003 car or each item, not the whole list.
15005 2009-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
15007 * minibuffer.el (minibuffer-completion-help):
15008 Use minibuffer-hide-completions.
15010 2009-11-12 Per Starbäck <per@starback.se> (tiny change)
15012 * dired.el (dired-save-positions, dired-restore-positions): New funs.
15013 (dired-revert): Use them (bug#4880).
15015 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
15017 * tooltip.el (tooltip-frame-parameters): Undo previous change.
15019 2009-11-12 Juri Linkov <juri@jurta.org>
15021 * ffap.el (ffap-alternate-file-other-window, ffap-literally):
15023 (find-file-literally-at-point): Alias of `ffap-literally'.
15025 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
15027 * textmodes/ispell.el (ispell-skip-region-alist):
15028 * textmodes/css-mode.el (auto-mode-alist):
15029 * progmodes/compile.el (auto-mode-alist):
15030 * international/mule.el (ctext-non-standard-encodings-alist)
15031 (ctext-non-standard-encodings-regexp):
15032 * simple.el (shell-command-switch, text-read-only):
15033 * replace.el (occur-mode-map):
15034 * paths.el (rmail-file-name):
15035 * jka-cmpr-hook.el (jka-compr-build-file-regexp):
15036 * find-file.el (ff-special-constructs):
15037 * files.el (file-name-handler-alist):
15038 * composite.el: Purecopy strings.
15040 * emacs-lisp/cl-macs.el (define-compiler-macro): Purecopy the file name.
15042 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
15044 * widget.el (define-widget): Purecopy the docstring.
15045 * international/mule-cmds.el (charset): Do not purecopy the
15046 docstring here, define-widget does it.
15048 * textmodes/texinfo.el (texinfo-open-quote, texinfo-close-quote):
15049 * textmodes/bibtex-style.el (auto-mode-alist):
15050 * progmodes/inf-lisp.el (inferior-lisp-prompt):
15051 * progmodes/compile.el (compile-command):
15052 * language/korea-util.el (default-korean-keyboard):
15053 * international/mule-conf.el (file-coding-system-alist):
15054 * emacs-lisp/eldoc.el (eldoc-minor-mode-string):
15055 * tooltip.el (tooltip-frame-parameters):
15056 * newcomment.el (comment-end, comment-padding):
15057 * dired.el (dired-trivial-filenames):
15058 * comint.el (comint-file-name-prefix): Purecopy initial values.
15060 2009-11-11 Michael Albinus <michael.albinus@gmx.de>
15062 * net/tramp.el (tramp-advice-minibuffer-electric-separator)
15063 (tramp-advice-minibuffer-electric-tilde): Unload advices via
15065 (tramp-advice-make-auto-save-file-name)
15066 (tramp-advice-file-expand-wildcards): Apply also `ad-activate'
15067 after removing the advice.
15069 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
15071 * progmodes/grep.el (grep-regexp-alist):
15072 * international/mule-cmds.el (iso-2022-control-alist):
15073 * emacs-lisp/timer.el (timer-duration-words):
15074 * subr.el (version-separator, version-regexp-alist):
15075 * minibuffer.el (completion-styles-alist):
15076 * faces.el (face-attribute-name-alist, list-faces-sample-text):
15077 Change defvars to defconsts.
15079 * Makefile.in (ELCFILES): Add international/mule-conf.elc.
15080 * loadup.el ("international/mule-conf"): Load the byte compiled version.
15081 * international/mule-conf.el: Allow to be byte compiled.
15083 * international/mule.el (define-charset): Purecopy props.
15084 (load-with-code-conversion): Purecopy doc string and file name.
15085 (put-charset-property): Purecopy strings.
15086 (auto-coding-alist, auto-coding-regexp-alist): Purecopy initial value.
15088 * international/mule-cmds.el (register-input-method): Purecopy arguments.
15089 (define-char-code-property): Correctly purecopy the table.
15091 * international/ccl.el (define-ccl-program): Purecopy the docstring.
15093 * emacs-lisp/easy-mmode.el (define-minor-mode): Purecopy :lighter.
15095 * subr.el (add-hook): Purecopy strings.
15096 (eval-after-load): Purecopy load-history-regexp and the form.
15098 * custom.el (custom-declare-group): Purecopy load-file-name.
15100 * subr.el (menu-bar-separator): New defconst.
15101 * net/eudc.el (eudc-tools-menu):
15102 * international/mule-cmds.el (set-coding-system-map)
15103 (mule-menu-keymap):
15104 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
15105 * vc-hooks.el (vc-menu-map):
15106 * replace.el (occur-mode-map):
15107 * menu-bar.el (menu-bar-file-menu, menu-bar-search-menu)
15108 (menu-bar-edit-menu, menu-bar-goto-menu)
15109 (menu-bar-custom-menu, menu-bar-showhide-menu)
15110 (menu-bar-options-menu, menu-bar-tools-menu)
15111 (menu-bar-encryption-decryption-menu, menu-bar-describe-menu)
15112 (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
15113 (menu-bar-help-menu):
15114 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu):
15115 * buff-menu.el (Buffer-menu-mode-map): Use menu-bar-separator.
15117 * term/x-win.el (x-gtk-stock-map):
15118 * progmodes/vera-mode.el (auto-mode-alist):
15119 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
15120 (inferior-lisp-program, inferior-lisp-load-command):
15121 * progmodes/hideshow.el (hs-special-modes-alist):
15122 * progmodes/gud.el (same-window-regexps):
15123 * progmodes/grep.el (grep-program, find-program, xargs-program):
15124 * net/telnet.el (same-window-regexps):
15125 * net/rlogin.el (same-window-regexps):
15126 * language/ethiopic.el (font-ccl-encoder-alist):
15127 * vc-sccs.el (vc-sccs-master-templates):
15128 * vc-rcs.el (vc-rcs-master-templates):
15129 * subr.el (cl-assertion-failed):
15130 * simple.el (next-error-overlay-arrow-position):
15131 * lpr.el (lpr-command):
15132 * locate.el (locate-ls-subdir-switches):
15133 * info.el (same-window-regexps, info)
15134 (Info-goto-emacs-command-node, Info-goto-emacs-key-command-node):
15135 * image-mode.el (image-mode, auto-mode-alist):
15136 * hippie-exp.el (hippie-expand-ignore-buffers):
15137 * format.el (format-alist):
15138 * find-dired.el (find-ls-subdir-switches, find-grep-options)
15140 * facemenu.el (facemenu-keybindings):
15141 * dired.el (dired-listing-switches, dired-chown-program):
15142 * diff.el (diff-switches, diff-command):
15143 * cus-edit.el (same-window-regexps):
15144 * bindings.el (mode-line-mule-info)
15145 (mode-line-buffer-identification): Purecopy strings.
15147 2009-11-11 Juri Linkov <juri@jurta.org>
15149 * simple.el (dired-get-filename) <declare-function>:
15150 Tell the byte-compiler about dired-get-filename.
15151 (shell-command): In Dired mode, get filename from the current line
15152 as the default value.
15154 2009-11-10 Glenn Morris <rgm@gnu.org>
15156 * dired.el, hi-lock.el, calendar/cal-menu.el, calendar/calendar.el:
15157 * calendar/holidays.el, progmodes/cperl-mode.el:
15158 Update x-popup-menu declarations.
15160 * emacs-lisp/shadow.el (find-emacs-lisp-shadows)
15161 (list-load-path-shadows): Use dolist.
15162 (list-load-path-shadows): Use with-current-buffer.
15164 2009-11-10 Juri Linkov <juri@jurta.org>
15166 * minibuffer.el (read-file-name): Support a list of default values
15167 in `default-filename'. Use the first file name where only one
15168 element is required. Doc fix.
15170 2009-11-09 Michael Albinus <michael.albinus@gmx.de>
15172 * net/dbus.el (dbus-unregister-object): Release service, if no
15173 other method is registered for it.
15175 2009-11-08 Markus Rost <rost@math.uni-bielefeld.de>
15177 * bookmark.el (bookmark-completing-read): Sort bookmark names if
15178 bookmark-sort-flag is non-nil (Bug#4653).
15180 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
15182 * emulation/cua-base.el: Add CUA property to some CC mode commands
15185 2009-11-08 Kevin Ryde <user42@zip.com.au>
15187 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp): Match noun
15188 at end of sentence (Bug#4818).
15190 2009-11-08 Jared Finder <jfinder@crypticstudios.com>
15192 * progmodes/compile.el (compilation-error-regexp-alist-alist):
15193 Handle "see declaration of" MSFT statements (Bug#4100).
15195 2009-11-08 Michael Albinus <michael.albinus@gmx.de>
15197 * net/tramp.el (tramp-advice-make-auto-save-file-name)
15198 (tramp-advice-file-expand-wildcards): Unload via
15199 `ad-remove-advice'.
15201 * net/trampver.el: Update release number.
15203 2009-11-08 Kevin Ryde <user42@zip.com.au>
15205 * net/tramp.el (tramp-advice-file-expand-wildcards): Don't rely on
15208 2009-11-08 Andr <m00naticus@gmail.com> (tiny change)
15210 * net/tramp.el (tramp-handle-write-region): Copy but rename temp file,
15211 in order to keep context in SELinux.
15213 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
15215 * dired-aux.el (dired-query): Place cursor in echo area and allow
15218 * dired.el (dired-mode-map): Disable dired-maybe-insert-subdir
15219 menu item if not on a directory (Bug#4701).
15221 2009-11-07 Michael Albinus <michael.albinus@gmx.de>
15223 Sync with Tramp 2.1.17.
15225 * net/tramp.el (tramp-handle-copy-directory): Don't use
15226 `file-remote-p' (due to compatibility).
15228 * net/tramp-compat.el (tramp-compat-copy-directory)
15229 (tramp-compat-delete-directory): New defuns.
15231 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
15232 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
15233 Use `tramp-compat-delete-directory'.
15235 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
15236 (tramp-smb-handle-delete-directory):
15237 Use `tramp-compat-copy-directory' and `tramp-compat-delete-directory'.
15239 * net/trampver.el: Update release number.
15241 2009-11-07 Chong Yidong <cyd@stupidchicken.com>
15243 * tar-mode.el (tar-copy): Call write-region on the right buffer
15246 * mail/rmailsum.el (rmail-summary-rmail-update): Call linum-update
15247 by hand, if necessary (Bug#4878).
15249 2009-11-06 Chong Yidong <cyd@stupidchicken.com>
15251 * buff-menu.el (Buffer-menu-buffer+size): Use display property to
15252 align size column (Bug#4839).
15254 * emacs-lisp/autoload.el (autoload-rubric): Always issue a provide
15257 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
15259 * progmodes/ld-script.el (auto-mode-alist):
15260 * vc-hooks.el (vc-directory-exclusion-list): Purecopy strings.
15262 * cus-face.el (custom-declare-face): Purecopy face spec.
15264 2009-11-06 Kenichi Handa <handa@m17n.org>
15266 * international/uni-bidi.el: Re-generated.
15267 * international/uni-category.el: Re-generated.
15268 * international/uni-combining.el: Re-generated.
15269 * international/uni-mirrored.el: Re-generated.
15271 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
15273 * textmodes/tex-mode.el (tex-alt-dvi-print-command)
15274 (tex-dvi-print-command, tex-bibtex-command, tex-start-commands)
15275 (tex-start-options, slitex-run-command, latex-run-command)
15276 (tex-run-command, tex-directory):
15277 * textmodes/ispell.el (ispell-html-skip-alists)
15278 (ispell-tex-skip-alists, ispell-tex-skip-alists):
15279 * textmodes/fill.el (adaptive-fill-first-line-regexp):
15280 (adaptive-fill-regexp):
15281 * textmodes/dns-mode.el (auto-mode-alist):
15282 * progmodes/python.el (interpreter-mode-alist):
15283 * progmodes/etags.el (tags-compression-info-list):
15284 * progmodes/etags.el (tags-file-name):
15285 * net/browse-url.el (browse-url-galeon-program)
15286 (browse-url-firefox-program):
15287 * mail/sendmail.el (mail-signature-file)
15288 (mail-citation-prefix-regexp):
15289 * international/mule-conf.el (eight-bit):
15290 * international/latexenc.el (latex-inputenc-coding-alist):
15291 * international/fontset.el (x-pixel-size-width-font-regexp):
15292 * emacs-lisp/warnings.el (warning-type-format):
15293 * emacs-lisp/trace.el (trace-buffer):
15294 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-map)
15295 (emacs-lisp-mode-map):
15296 * calendar/holidays.el (holiday-solar-holidays)
15297 (holiday-bahai-holidays, holiday-islamic-holidays)
15298 (holiday-christian-holidays, holiday-hebrew-holidays)
15299 (hebrew-holidays-4, hebrew-holidays-3, hebrew-holidays-2)
15300 (hebrew-holidays-1, holiday-oriental-holidays)
15301 (holiday-general-holidays):
15302 * x-dnd.el (x-dnd-known-types):
15303 * tool-bar.el (tool-bar):
15304 * startup.el (site-run-file):
15305 * shell.el (shell-dumb-shell-regexp):
15306 * rfn-eshadow.el (file-name-shadow-tty-properties)
15307 (file-name-shadow-properties):
15308 * paths.el (remote-shell-program, news-directory):
15309 * mouse.el ([C-down-mouse-3]):
15310 * menu-bar.el (menu-bar-tools-menu):
15311 * jka-cmpr-hook.el (jka-compr-load-suffixes)
15312 (jka-compr-mode-alist-additions, jka-compr-compression-info-list)
15313 (jka-compr-compression-info-list):
15314 * isearch.el (search-whitespace-regexp):
15315 * image-file.el (image-file-name-extensions):
15316 * find-dired.el (find-ls-option):
15317 * files.el (directory-listing-before-filename-regexp)
15318 (directory-free-space-args, insert-directory-program)
15319 (list-directory-brief-switches, magic-fallback-mode-alist)
15320 (magic-fallback-mode-alist, auto-mode-interpreter-regexp)
15321 (automount-dir-prefix):
15322 * faces.el (face-x-resources, x-font-regexp, x-font-regexp-head)
15323 (x-font-regexp-slant, x-font-regexp-weight, face-x-resources)
15324 (face-font-registry-alternatives, face-font-registry-alternatives)
15325 (face-font-family-alternatives):
15326 * facemenu.el (facemenu-add-new-face, facemenu-background-menu)
15327 (facemenu-foreground-menu, facemenu-face-menu):
15328 * epa-hook.el (epa-file-name-regexp):
15329 * dnd.el (dnd-protocol-alist):
15330 * textmodes/rst.el (auto-mode-alist):
15331 * button.el (default-button): Purecopy strings.
15333 2009-11-06 Glenn Morris <rgm@gnu.org>
15335 * Makefile.in (ELCFILES): Update.
15337 2009-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
15339 * emacs-lisp/lucid.el: Move to obsolete/lucid.el.
15340 * emacs-lisp/levents.el: Move to obsolete/levents.el.
15342 * nxml/xsd-regexp.el (xsdre-gen-categories):
15343 * nxml/xmltok.el (xmltok-parse-entity):
15344 * nxml/rng-parse.el (rng-parse-validate-file):
15345 * nxml/rng-maint.el (rng-format-manual)
15346 (rng-manual-output-force-new-line):
15347 * nxml/rng-loc.el (rng-save-schema-location-1):
15348 * nxml/rng-cmpct.el (rng-c-parse-file):
15349 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
15350 * nxml/nxml-parse.el (nxml-parse-file): Use with-current-buffer.
15352 2009-11-05 Wilson Snyder <wsnyder@wsnyder.org>
15354 * progmodes/verilog-mode.el (verilog-getopt-file, verilog-set-define):
15355 Remove extra save-excursions and make-variable-buffer-local's.
15356 Suggested by Stefan Monnier.
15358 (verilog-getopt-file, verilog-module-inside-filename-p)
15359 (verilog-set-define): Merge GNU 1.35 and repair changes from
15360 switching to using with-current-buffer.
15362 (verilog-read-always-signals-recurse): Fix "a == 2'b00 ? b : c"
15363 being treated as a number and confusing AUTORESET.
15364 Reported by Dan Dever.
15366 (verilog-auto-ignore-concat, verilog-read-sub-decls-expr):
15367 Add verilog-auto-ignore-concat to fix backward compatibility with
15368 older verilog-modes. Reported by Dan Katz.
15370 (verilog-read-auto-template): Fix AUTO_TEMPLATEs with regexps
15371 containing closing anchors "...$".
15373 (verilog-read-decls): Fix AUTOREG not detecting "assign {a,b}".
15374 Reported by Wade Smith.
15376 (verilog-batch-execute-func): Comment on function usage.
15378 2009-11-05 Michael McNamara <mac@mail.brushroad.com>
15380 * progmodes/verilog-mode.el (verilog-label-re): Fix regular expression
15383 (verilog-label-re, verilog-calc-1): Support proper indent of named
15386 (verilog-backward-token, verilog-basic-complete-re)
15387 (verilog-beg-of-statement, verilog-indent-re): Support proper
15388 indent of the assert statement at the beginning of a block of text.
15390 (verilog-beg-block-re, verilog-ovm-begin-re): Support the
15391 `ovm_object_param_utils_begin and `ovm_component_param_utils_begin
15394 2009-11-05 Glenn Morris <rgm@gnu.org>
15396 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Drop test for
15397 Emacs 19. (Bug#1531)
15398 (byte-compile-fix-header): Update for the above change.
15399 Drop test for epoch::version.
15401 * emacs-lisp/autoload.el (autoload-rubric): Add optional feature arg.
15402 * cus-dep.el (custom-make-dependencies):
15403 * finder.el (finder-compile-keywords):
15404 Use autoload-rubric's feature argument.
15406 * calendar/diary-lib.el (top-level): Make load behave more like require.
15408 * vc-git.el (vc-git-stash-map): Move definition before use.
15410 2009-11-04 Dan Nicolaescu <dann@ics.uci.edu>
15412 * custom.el (custom-declare-group): Purecopy standard-value.
15413 (custom-declare-group): Purecopy custom-prefix.
15415 * international/mule.el (load-with-code-conversion):
15416 Call do-after-load-evaluation unconditionally.
15418 * emacs-lisp/bytecomp.el (byte-compile-output-file-form): Handle defvaralias.
15420 2009-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
15422 * descr-text.el: Require help-mode rather than help-fns (bug#4861).
15424 2009-11-04 Glenn Morris <rgm@gnu.org>
15426 * emacs-lisp/bytecomp.el (byte-compile-version-cond): Remove macro.
15427 (byte-compile-compatibility): Remove option.
15428 (byte-compile-close-variables, byte-compile-fix-header)
15429 (byte-compile-insert-header, byte-compile-output-docform)
15430 (byte-compile-file-form-defmumble, byte-compile-byte-code-maker)
15431 (byte-compile-lambda, byte-compile-form, byte-defop-compiler19)
15432 (byte-compile-list, byte-compile-concat, byte-compile-function-form)
15433 (byte-compile-insert, byte-compile-defun):
15434 Remove support for byte-compile-compatibility and Emacs 18. (Bug#4571)
15435 (byte-defop-compiler19): Remove.
15436 Without byte-compile-compatibility, the 'emacs19-opcode property is not
15437 used by anything. Replace all calls with byte-defop-compiler.
15439 2009-11-04 Juri Linkov <juri@jurta.org>
15441 * menu-bar.el (menu-bar-make-mm-toggle): Quote each element of `props'.
15442 (menu-bar-options-menu): Don't quote the `prop' arg of
15443 `menu-bar-make-mm-toggle'.
15445 2009-11-04 Juanma Barranquero <lekktu@gmail.com>
15447 * calendar/calendar.el (cal-loaddefs):
15448 * calendar/diary-lib.el (diary-loaddefs):
15449 * calendar/holidays.el (hol-loaddefs):
15450 * eshell/esh-module.el (esh-groups): Load rather than require.
15452 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
15454 * calendar/todo-mode.el (todo-add-category): Don't hardcode
15456 (todo-top-priorities): Only display-buffer when called interactively.
15457 (todo-item-start): Don't save excursion point.
15458 (todo-item-end): Be slightly more careful. Add `include-sep' arg.
15459 (todo-insert-item-here, todo-file-item, todo-remove-item):
15460 Adjust uses of todo-item-start and todo-item-end.
15462 * emacs-lisp/autoload.el (generated-autoload-feature): Remove.
15463 (autoload-rubric): Don't use any more.
15465 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Use dolist,
15466 and only put a prop if it is non-nil.
15468 2009-11-03 Juri Linkov <juri@jurta.org>
15470 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle)
15471 (menu-bar-options-menu): Fix list quoting (Bug#4429).
15473 * buff-menu.el (Buffer-menu-mode-map): Add hyphen between "Buffer"
15474 and "Menu" to make top-level menu item visually one unit (like
15475 it's done for "Lisp-Interaction", "Emacs-Lisp" and other
15476 multi-word menu items). Fix :help string for quit-window.
15478 2009-11-03 Glenn Morris <rgm@gnu.org>
15480 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
15481 (byte-compile-file-form-define-abbrev-table)
15482 (byte-compile-file-form-custom-declare-variable)
15483 (byte-compile-variable-ref, byte-compile-defvar):
15484 Whether or not a warning is enabled should only affect whether we issue
15485 the warning, not whether or not we collect the relevant data.
15486 Eg warnings can be turned on and off throughout the course of a file.
15488 * eshell/esh-mode.el (ansi-color-apply-on-region): Autoload it...
15489 (eshell-handle-ansi-color): ... Rather than requiring ansi-color.
15491 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
15493 * term/ns-win.el (ns-scroll-bar-move, ns-face-at-pos):
15494 * play/mpuz.el (mpuz-create-buffer):
15495 * play/landmark.el (lm-prompt-for-move, lm-print-wts, lm-print-smell)
15496 (lm-print-y,s,noise, lm-print-w0, lm-init):
15497 * play/gomoku.el (gomoku-prompt-for-move):
15498 * play/fortune.el (fortune-in-buffer):
15499 * play/dissociate.el (dissociated-press):
15500 * play/decipher.el (decipher-adjacency-list, decipher-display-regexp)
15501 (decipher-analyze-buffer, decipher-stats-buffer, decipher-stats-buffer):
15502 * mail/supercite.el (sc-eref-show):
15503 * mail/smtpmail.el (smtpmail-send-it):
15504 * mail/rmailsum.el (rmail-summary-next-labeled-message)
15505 (rmail-summary-previous-labeled-message, rmail-summary-wipe)
15506 (rmail-summary-undelete-many, rmail-summary-rmail-update)
15507 (rmail-summary-goto-msg, rmail-summary-expunge)
15508 (rmail-summary-get-new-mail, rmail-summary-search-backward)
15509 (rmail-summary-add-label, rmail-summary-output-menu)
15510 (rmail-summary-output-body):
15511 * mail/rfc822.el (rfc822-addresses):
15512 * mail/reporter.el (reporter-dump-variable, reporter-dump-state):
15513 * mail/mailpost.el (post-mail-send-it):
15514 * mail/hashcash.el (hashcash-generate-payment):
15515 * mail/feedmail.el (feedmail-run-the-queue)
15516 (feedmail-queue-send-edit-prompt-help-first)
15517 (feedmail-send-it-immediately, feedmail-give-it-to-buffer-eater)
15518 (feedmail-deduce-address-list):
15519 * eshell/esh-ext.el (eshell-remote-command):
15520 * eshell/em-unix.el (eshell-occur-mode-mouse-goto):
15521 * emulation/viper-util.el (viper-glob-unix-files, viper-save-setting)
15522 (viper-wildcard-to-regexp, viper-glob-mswindows-files)
15523 (viper-save-string-in-file, viper-valid-marker):
15524 * emulation/viper-keym.el (viper-toggle-key):
15525 * emulation/viper-ex.el (ex-expand-filsyms, viper-get-ex-file)
15526 (ex-edit, ex-global, ex-mark, ex-next-related-buffer, ex-quit)
15527 (ex-get-inline-cmd-args, ex-tag, ex-command, ex-compile):
15528 * emulation/viper-cmd.el (viper-exec-form-in-vi)
15529 (viper-exec-form-in-emacs, viper-brac-function):
15530 * emulation/viper.el (viper-delocalize-var):
15531 * emulation/vip.el (vip-mode, vip-get-ex-token, vip-ex, vip-get-ex-pat)
15532 (vip-get-ex-command, vip-get-ex-opt-gc, vip-get-ex-buffer)
15533 (vip-get-ex-count, vip-get-ex-file, ex-edit, ex-global, ex-mark)
15534 (ex-map, ex-unmap, ex-quit, ex-read, ex-tag, ex-command):
15535 * emulation/vi.el (vi-switch-mode, vi-ex-cmd):
15536 * emulation/edt.el (edt-electric-helpify):
15537 * emulation/cua-rect.el (cua--rectangle-aux-replace):
15538 * emulation/cua-gmrk.el (cua--insert-at-global-mark)
15539 (cua--delete-at-global-mark, cua--copy-rectangle-to-global-mark)
15540 (cua-indent-to-global-mark-column):
15541 * calendar/diary-lib.el (calendar-mark-1):
15542 * calendar/cal-hebrew.el (calendar-hebrew-mark-date-pattern):
15543 Use with-current-buffer.
15544 * emulation/viper.el (viper-delocalize-var): Use dolist.
15546 2009-11-03 Chong Yidong <cyd@stupidchicken.com>
15548 * comint.el (comint-replace-by-expanded-history-before-point):
15549 Replace !! with the previous input string literally (Bug#1795).
15551 2009-11-02 Jay Belanger <jay.p.belanger@gmail.com>
15553 * calc/calc-forms.el (calc-date-notation): Allow a "blank string"
15554 to be made up of whitespace.
15556 2009-11-02 Chong Yidong <cyd@stupidchicken.com>
15558 * minibuffer.el (read-file-name): Don't use file dialogs for
15559 remote directories (Bug#99).
15561 2009-11-01 Chong Yidong <cyd@stupidchicken.com>
15563 * progmodes/sh-script.el (sh-font-lock-paren): Fix last change.
15565 2009-11-01 Andreas Schwab <schwab@linux-m68k.org>
15567 * view.el (view-mode-exit): If OLD-BUF is dead bury the buffer
15568 instead of deleting the window or frame.
15570 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
15572 * textmodes/sgml-mode.el (sgml-mode-facemenu-add-face-function):
15573 Support face colors.
15575 * textmodes/tex-mode.el (tex-facemenu-add-face-function):
15576 New function. Support face colors (Bug#1168).
15577 (tex-common-initialization): Use it.
15579 * facemenu.el (facemenu-enable-faces-p): Enable facemenu if the
15580 mode allows it (Bug#1168).
15582 2009-10-31 Juri Linkov <juri@jurta.org>
15584 * facemenu.el (list-colors-display): Don't mark buffer as
15585 modified (Bug#3948).
15587 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
15589 * international/mule-diag.el (list-character-sets-1):
15590 Minor message fix (Bug#3526).
15592 * progmodes/etags.el (etags-list-tags, etags-tags-apropos):
15593 Fix face property (Bug#4834).
15594 (etags-list-tags, etags-tags-apropos-additional)
15595 (etags-tags-apropos, tags-select-tags-table): Add follow-link
15598 * menu-bar.el (menu-bar-tools-menu): Add Semantic and EDE menu
15601 2009-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
15603 * textmodes/two-column.el (2C-split):
15604 * textmodes/texnfo-upd.el (texinfo-multi-file-included-list):
15605 * textmodes/tex-mode.el (tex-set-buffer-directory):
15606 * textmodes/spell.el (spell-region, spell-string):
15607 * textmodes/reftex.el (reftex-erase-buffer):
15608 (reftex-get-file-buffer-force, reftex-kill-temporary-buffers):
15609 * textmodes/reftex-toc.el (reftex-toc-promote-action):
15610 * textmodes/reftex-sel.el (reftex-get-offset, reftex-insert-docstruct)
15611 (reftex-select-item):
15612 * textmodes/reftex-ref.el (reftex-label-info-update)
15613 (reftex-offer-label-menu):
15614 * textmodes/reftex-index.el (reftex-index-change-entry)
15615 (reftex-index-phrases-info):
15616 * textmodes/reftex-global.el (reftex-create-tags-file)
15617 (reftex-save-all-document-buffers, reftex-ensure-write-access):
15618 * textmodes/reftex-dcr.el (reftex-echo-ref, reftex-echo-cite)
15619 (reftex-view-crossref-from-bibtex):
15620 * textmodes/reftex-cite.el (reftex-bibtex-selection-callback)
15621 (reftex-extract-bib-entries-from-thebibliography)
15622 (reftex-all-used-citation-keys, reftex-create-bibtex-file):
15623 * textmodes/refbib.el (r2b-capitalize-title):
15624 (r2b-convert-buffer, r2b-help):
15625 * textmodes/page-ext.el (pages-directory)
15626 (pages-directory-goto-with-mouse):
15627 * textmodes/bibtex.el (bibtex-validate-globally):
15628 * textmodes/bib-mode.el (bib-capitalize-title):
15629 * textmodes/artist.el (artist-clear-buffer, artist-system):
15630 * progmodes/xscheme.el (global-set-scheme-interaction-buffer):
15631 (local-set-scheme-interaction-buffer, xscheme-process-filter)
15632 (verify-xscheme-buffer, xscheme-enter-interaction-mode)
15633 (xscheme-enter-debugger-mode, xscheme-debugger-mode-p)
15634 (xscheme-send-control-g-interrupt, xscheme-start-process)
15635 (xscheme-process-sentinel, xscheme-cd):
15636 * progmodes/verilog-mode.el (verilog-read-always-signals)
15637 (verilog-set-define, verilog-getopt-file)
15638 (verilog-module-inside-filename-p):
15639 * progmodes/sh-script.el:
15640 * progmodes/python.el (python-pdbtrack-get-source-buffer)
15641 (python-pdbtrack-grub-for-buffer, python-execute-file):
15642 * progmodes/octave-inf.el (inferior-octave):
15643 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
15644 (idlwave-shell-compile-helper-routines, idlwave-set-local)
15645 (idlwave-display-completion-list-xemacs, idlwave-list-abbrevs)
15646 (idlwave-display-completion-list-emacs, idlwave-list-load-path-shadows)
15647 (idlwave-completion-fontify-classes, idlwave-display-calling-sequence):
15648 * progmodes/idlw-shell.el (idlwave-shell-examine-display-clear)
15649 (idlwave-shell-filter, idlwave-shell-examine-highlight)
15650 (idlwave-shell-sentinel, idlwave-shell-filter-directory)
15651 (idlwave-shell-display-line, idlwave-shell-set-bp-in-module)
15652 (idlwave-shell-examine-display, idlwave-shell-run-region)
15653 (idlwave-shell-filter-bp, idlwave-shell-save-and-action)
15654 (idlwave-shell-sources-filter, idlwave-shell-goto-next-error):
15655 * progmodes/idlw-help.el (idlwave-help-get-special-help)
15656 (idlwave-help-get-help-buffer):
15657 * progmodes/gud.el (gud-basic-call, gud-find-class)
15658 (gud-tooltip-activate-mouse-motions-if-enabled):
15659 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
15660 * progmodes/ebrowse.el (ebrowse-member-table, ebrowse-save-tree-as)
15661 (ebrowse-view-exit-fn, ebrowse-tags-list-members-in-file)
15662 (ebrowse-tags-next-file):
15663 * progmodes/ebnf2ps.el (ebnf-generate-eps, ebnf-generate-eps)
15664 (ebnf-eps-production-list, ebnf-begin-file, ebnf-log)
15665 (ebnf-eps-finish-and-write):
15666 * progmodes/cpp.el (cpp-edit-save):
15667 * progmodes/cperl-mode.el (cperl-pod-to-manpage):
15668 * progmodes/cc-defs.el (c-emacs-features):
15669 * progmodes/antlr-mode.el (antlr-invalidate-context-cache)
15670 (antlr-directory-dependencies):
15671 * progmodes/ada-xref.el (ada-gnat-parse-gpr, ada-get-ali-file-name)
15672 (ada-run-application, ada-find-in-src-path, ada-goto-parent)
15673 (ada-find-any-references, ada-make-filename-from-adaname)
15674 (ada-make-body-gnatstub):
15675 * obsolete/rnews.el (news-list-news-groups):
15676 * obsolete/resume.el (resume-suspend-hook, resume-write-buffer-to-file):
15677 * obsolete/iso-acc.el (iso-acc-minibuf-setup):
15678 * net/rcirc.el (rcirc-debug):
15679 * net/newst-treeview.el (newsticker--treeview-list-add-item)
15680 (newsticker--treeview-list-clear, newsticker-treeview-browse-url)
15681 (newsticker--treeview-list-update-faces, newsticker-treeview-save)
15682 (newsticker--treeview-item-show-text, newsticker--treeview-item-show)
15683 (newsticker--treeview-tree-update-tag, newsticker--treeview-buffer-init)
15684 (newsticker-treeview-show-item, newsticker--treeview-unfold-node)
15685 (newsticker--treeview-list-clear-highlight)
15686 (newsticker--treeview-list-update-highlight)
15687 (newsticker--treeview-list-highlight-start)
15688 (newsticker--treeview-tree-update-highlight)
15689 (newsticker--treeview-get-selected-item)
15690 (newsticker-treeview-mark-list-items-old)
15691 (newsticker--treeview-set-current-node):
15692 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
15693 * net/newst-backend.el (newsticker--get-news-by-funcall)
15694 (newsticker--get-news-by-wget, newsticker--image-get)
15695 (newsticker--image-sentinel):
15696 * net/mairix.el (mairix-rmail-fetch-field, mairix-gnus-fetch-field):
15697 * net/eudcb-ph.el (eudc-ph-do-request, eudc-ph-open-session):
15698 (eudc-ph-close-session):
15699 * net/eudc.el (eudc-save-options):
15700 * language/thai-word.el (thai-update-word-table):
15701 * language/japan-util.el (japanese-string-conversion):
15702 * international/titdic-cnv.el (tsang-quick-converter)
15703 (ziranma-converter, ctlau-converter):
15704 * international/mule-cmds.el (describe-language-environment):
15705 * international/ja-dic-cnv.el (skkdic-convert-okuri-ari)
15706 (skkdic-convert-postfix, skkdic-convert-prefix):
15707 (skkdic-convert-okuri-nasi, skkdic-convert):
15708 * emacs-lisp/re-builder.el (reb-update-overlays):
15709 * emacs-lisp/pp.el (pp-to-string, pp-display-expression):
15710 * emacs-lisp/gulp.el (gulp-send-requests):
15711 * emacs-lisp/find-gc.el (trace-call-tree):
15712 * emacs-lisp/eieio-opt.el (eieio-browse, eieio-describe-class)
15713 (eieio-describe-generic):
15714 * emacs-lisp/eieio-base.el (eieio-persistent-read):
15715 * emacs-lisp/edebug.el (edebug-outside-excursion):
15716 * emacs-lisp/debug.el (debugger-make-xrefs):
15717 * emacs-lisp/cust-print.el (custom-prin1-to-string):
15718 * emacs-lisp/chart.el (chart-new-buffer):
15719 * emacs-lisp/authors.el (authors-scan-el, authors-scan-change-log):
15720 Use with-current-buffer.
15721 * textmodes/artist.el (artist-system): Don't call
15722 copy-sequence on a fresh string.
15723 * progmodes/idlw-shell.el (easymenu setup): Use dolist.
15725 2009-10-31 Stephen Berman <stephen.berman@gmx.net>
15727 * calendar/todo-mode.el (todo-edit-item): Signal an error if there
15728 is no item to edit. (Bug#4820)
15729 (todo-top-priorities): Restore point and restore narrowing in Todo
15732 2009-10-31 Glenn Morris <rgm@gnu.org>
15734 * net/ange-ftp.el (top-level): Don't require dired when compiling.
15735 (comint-last-output-start, comint-last-input-start)
15736 (comint-last-input-end): Don't defvar when compiling.
15737 (ange-ftp-process-file): Use bound-and-true-p.
15739 * pcmpl-rpm.el (top-level): Move provide statement to end.
15740 (pcmpl-rpm): Remove unused custom group.
15742 * pcmpl-gnu.el (tar-parse-info, tar-header-name): Declare for compiler.
15744 * mail/emacsbug.el (report-emacs-bug): Request `emacs -Q' recipes.
15746 * emacs-lisp/bytecomp.el (byte-compile-warning-types)
15747 (byte-compile-warnings): Add `constants' as an option.
15748 (byte-compile-callargs-warn, byte-compile-arglist-warn)
15749 (display-call-tree): Update for byte-compile-fdefinition possibly
15750 returning `(macro lambda ...)'. (Bug#4778)
15751 (byte-compile-variable-ref, byte-compile-setq-default):
15752 Respect `constants' member of byte-compile-warnings.
15754 2009-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
15756 * vc-bzr.el (vc-bzr-revision-keywords): New var.
15757 (vc-bzr-revision-completion-table): Use it to fix completion of "s:"
15760 2009-10-30 Dan Nicolaescu <dann@ics.uci.edu>
15762 * textmodes/ispell.el (ispell-skip-region-alist):
15763 * international/mule-conf.el (eight-bit):
15764 * international/fontset.el (font-encoding-alist):
15765 * startup.el (pure-space-overflow-message):
15766 * simple.el (overwrite-mode-textual, overwrite-mode-binary):
15767 * paths.el (gnus-nntp-service, rmail-spool-directory)
15768 (term-file-prefix):
15769 * files.el (save-some-buffers-action-alist):
15770 * cmuscheme.el (same-window-buffer-names):
15771 * ielm.el (same-window-buffer-names):
15772 * shell.el (same-window-buffer-names):
15773 * mail/sendmail.el (same-window-buffer-names):
15774 * progmodes/inf-lisp.el (same-window-buffer-names):
15775 * bindings.el (mode-line-client)
15776 (mode-line-column-line-number-mode-map):
15777 * language/tibetan.el (tibetan-precomposition-rule-regexp)
15778 (tibetan-precomposed-regexp): Purecopy string arguments.
15780 2009-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
15782 * calc/calc.el (calc, calc-refresh, calc-trail-buffer, calc-record)
15783 (calcDigit-nondigit):
15784 * calc/calc-yank.el (calc-copy-to-buffer):
15785 * calc/calc-units.el (calc-invalidate-units-table):
15786 * calc/calc-trail.el (calc-trail-yank):
15787 * calc/calc-store.el (calc-insert-variables):
15788 * calc/calc-rewr.el (math-rewrite, math-rewrite-phase):
15789 * calc/calc-prog.el (calc-read-parse-table):
15790 * calc/calc-keypd.el (calc-do-keypad, calc-keypad-right-click):
15791 * calc/calc-help.el (calc-describe-bindings, calc-describe-key):
15792 * calc/calc-graph.el (calc-graph-delete, calc-graph-add-curve)
15793 (calc-graph-juggle, calc-graph-count-curves, calc-graph-plot)
15794 (calc-graph-plot, calc-graph-format-data, calc-graph-set-styles)
15795 (calc-graph-name, calc-graph-find-command, calc-graph-view)
15796 (calc-graph-view, calc-gnuplot-command, calc-graph-init):
15797 * calc/calc-ext.el (calc-realign):
15798 * calc/calc-embed.el (calc-do-embedded, calc-do-embedded)
15799 (calc-embedded-finish-edit, calc-embedded-make-info)
15800 (calc-embedded-finish-command, calc-embedded-stack-change):
15801 * calc/calc-aent.el (calcAlg-enter): Use with-current-buffer.
15803 * pcomplete.el (pcomplete-comint-setup): If there's a choice, replace
15804 shell-dynamic-complete-filename in preference to
15805 comint-dynamic-complete-filename.
15807 * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
15808 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
15809 Don't consider whether the display supports colors.
15810 (bookmark-import-new-list): Use dolist.
15811 (bookmark-bmenu-mode-map): Move initialization into declaration.
15812 (bookmark-bmenu-list): Use dolist, simplify.
15813 (bookmark-show-all-annotations): Use save-selected-window and dolist.
15814 (menu-bar-final-items): Use push.
15816 2009-10-28 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
15818 * vc-hg.el (vc-hg-state, vc-hg-working-revision): Use process-file so
15819 it works on remote files.
15820 (vc-hg-diff): Don't pass any `--cwd' argument.
15822 2009-10-27 Kevin Ryde <user42@zip.com.au>
15824 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
15825 Use help-xref-info-regexp and help-xref-url-regexp to identify links.
15826 (Further to Bug#3921).
15828 2009-10-27 Michael Albinus <michael.albinus@gmx.de>
15830 * net/tramp-imap.el (top): Add `X-Size' to `imap-hash-headers'.
15831 (tramp-imap-do-copy-or-rename-file): Don't use the inode, when
15832 calling `tramp-imap-put-file'. Add file size to the call.
15833 (tramp-imap-get-file-entries): Compute also user name, file size,
15835 (tramp-imap-handle-insert-directory): Insert uid and gid.
15836 (tramp-imap-handle-file-attributes): Transform uid and gid
15837 according to `id-format'.
15838 (tramp-imap-put-file): New optional parameter SIZE. Encode file
15839 size in header X-Size.
15841 2009-10-26 Juanma Barranquero <lekktu@gmail.com>
15843 * simple.el (transpose-subr): Give clearer error when the mark
15844 is not set. (Bug#4807)
15846 2009-10-26 Michael Albinus <michael.albinus@gmx.de>
15848 * net/tramp.el (tramp-perl-file-truename): New defconst.
15849 Perl code contributed by yary <not.com@gmail.com> (tiny change).
15850 (tramp-handle-file-truename, tramp-get-remote-perl): Use it.
15851 Check also for "perl-file-spec" and "perl-cwd-realpath" properties.
15852 (tramp-handle-write-region): In case of APPEND, reuse the tmpfile name.
15854 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
15855 Ignore `dired-call-process'.
15856 (tramp-imap-make-iht): Use `user' and `ssl' with `imap-hash-make'.
15858 2009-10-26 Julian Scheid <julians37@gmail.com>
15860 * net/tramp.el (tramp-perl-file-name-all-completions): New defconst.
15861 (tramp-get-remote-readlink): New defun.
15862 (tramp-handle-file-truename): Use it.
15863 (tramp-handle-file-exists-p): Check file-attributes cache, assume
15864 file exists if cache value present.
15865 (tramp-check-cached-permissions): New defun.
15866 (tramp-handle-file-readable-p): Use it.
15867 (tramp-handle-file-writable-p): Likewise.
15868 (tramp-handle-file-executable-p): Likewise.
15869 (tramp-handle-file-name-all-completions): Try using Perl to get
15870 partial completions. When perl not available, combine `cd' and
15871 `ls' into single remote operation and use shell expansion to get
15872 partial remote directory contents. Set `file-exists-p' cache for
15873 directory and any files returned by ls. Change cache handling to
15874 support partial directory contents. Use error message emitted by
15875 remote `cd' or Perl code for local tramp-error.
15876 (tramp-do-copy-or-rename-file-directly): Avoid separate
15877 tramp-send-command-and-check call.
15878 (tramp-handle-process-file): Merge three remote ops into one.
15879 Do not flush all caches when `process-file-side-effects' is set.
15880 (tramp-handle-write-region): Avoid tramp-set-file-uid-gid if
15881 file-attributes shows uid/gid to be set already.
15883 2009-10-26 Dan Nicolaescu <dann@ics.uci.edu>
15885 * textmodes/tex-mode.el (tex-dvi-view-command)
15886 (tex-show-queue-command, tex-open-quote):
15887 * progmodes/ruby-mode.el (auto-mode-alist)
15888 (interpreter-mode-alist): Purecopy strings.
15890 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Purecopy item names.
15892 * emacs-lisp/derived.el (define-derived-mode): Purecopy the doc
15893 string for the hook, keymap and abbrev table.
15895 * emacs-lisp/byte-run.el (make-obsolete): Purecopy the current name.
15897 * x-dnd.el (x-dnd-xdnd-to-action):
15898 * startup.el (fancy-startup-text, fancy-about-text): Change to
15899 defconst from defvar.
15901 * ps-print.el (ps-page-dimensions-database): Purecopy initial value.
15903 * mouse.el (mouse-buffer-menu-mode-groups, x-fixed-font-alist):
15904 Purecopy initialization strings.
15906 * mail/sendmail.el (mail-header-separator)
15907 (mail-personal-alias-file):
15908 * mail/rmail.el (rmail-default-dont-reply-to-names)
15909 (rmail-ignored-headers, rmail-retry-ignored-headers)
15910 (rmail-highlighted-headers, rmail-secondary-file-directory)
15911 (rmail-secondary-file-regexp):
15912 * files.el (null-device, file-name-invalid-regexp)
15913 (locate-dominating-stop-dir-regexp)
15914 (inhibit-first-line-modes-regexps): Purecopy initialization strings.
15915 (interpreter-mode-alist): Use mapcar instead of mapc.
15917 * buff-menu.el (Buffer-menu-mode-map): Purecopy name.
15919 * bindings.el (mode-line-major-mode-keymap): Purecopy name.
15920 (completion-ignored-extensions):
15921 (debug-ignored-errors): Purecopy strings.
15923 2009-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
15925 * pcomplete.el (pcomplete-std-complete): Obey pcomplete-use-paring.
15926 (pcomplete, pcomplete-parse-buffer-arguments, pcomplete-opt)
15927 (pcomplete--here): Use push.
15929 * subr.el (all-completions): Declare the 4th arg obsolete.
15931 2009-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
15933 * pcomplete.el (pcomplete-unquote-argument-function): New var.
15934 (pcomplete-unquote-argument): New function.
15935 (pcomplete--common-suffix): Always pay attention to case.
15936 (pcomplete--table-subvert): Quote and unquote the text.
15937 (pcomplete--common-quoted-suffix): New function.
15938 (pcomplete-std-complete): Use it and pcomplete-begin.
15940 * bookmark.el (bookmark-bmenu-list): Don't use switch-to-buffer if
15941 we're inside a dedicated or minibuffer window.
15943 2009-10-24 Karl Fogel <kfogel@red-bean.com>
15945 * bookmark.el: Update documentation, especially documentation
15946 of `bookmark-alist' and of the bookmark file format.
15947 Patch by Drew Adams, with minor tweaks from me. (Bug#4195)
15949 2009-10-24 Chong Yidong <cyd@stupidchicken.com>
15951 * mail/emacsbug.el (report-emacs-bug): Clarify that the
15952 keybindings apply to the mail buffer (Bug#4003). Shrink help
15955 * whitespace.el (whitespace-mode, whitespace-newline-mode)
15956 (global-whitespace-mode, global-whitespace-newline-mode)
15957 (whitespace-toggle-options, global-whitespace-toggle-options):
15958 Doc fix (Bug#3660).
15960 * nxml/nxml-mode.el (nxml-balanced-close-start-tag): Use the value
15961 of xmltok-start before the end tag was inserted (Bug#2840).
15963 * progmodes/sh-script.el (sh-font-lock-paren): Handle case
15964 patterns that are preceded by an open-paren (Bug#1320).
15966 2009-10-24 Sven Joachim <svenjoac@gmx.de>
15968 * files.el (delete-directory): Delete symlinks to directories with
15969 delete-file (Bug#4739).
15971 2009-10-24 Dan Nicolaescu <dann@ics.uci.edu>
15973 * vc.el (vc-backend-for-registration): Rename from
15974 vc-get-backend-for-registration. Update callers.
15976 * international/mule-cmds.el (set-language-info-alist):
15978 (leim-list-header, leim-list-entry-regexp): Change defvars to defconst.
15979 (charset): Purecopy the name.
15980 (define-char-code-property): Purecopy string arguments.
15982 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
15983 Purecopy string arguments.
15985 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
15986 * ediff-hook.el (menu-bar-ediff-menu):
15987 * buff-menu.el (Buffer-menu-mode-map): Purecopy names and tooltips.
15988 * bookmark.el (menu-bar-bookmark-map): Add :help and purecopy the name.
15990 2009-10-24 Glenn Morris <rgm@gnu.org>
15992 * comint.el (comint-dynamic-list-completions):
15993 * term.el (term-dynamic-list-completions): Use choose-completion rather
15994 than obsolete alias mouse-choose-completion.
15996 * filecache.el (file-cache-completions-keymap): Bind mouse-2 to
15997 file-cache-choose-completion.
15998 (file-cache-choose-completion): Handle an optional event argument.
15999 (file-cache-mouse-choose-completion): Make it an obsolete alias.
16001 * progmodes/octave-mod.el (octave-complete-symbol):
16002 Use choose-completion if mouse-choose-completion is ever removed.
16004 * textmodes/sgml-mode.el (sgml-looking-back-at): Move definition before
16007 * emacs-lisp/checkdoc.el (generate-autoload-cookie): Define for
16010 * vc-hooks.el (vc-responsible-backend): Fix declaration.
16012 2009-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
16014 * minibuffer.el (completion--embedded-envvar-table): Fix last change.
16015 Ignore `pred' now that we receive one.
16016 Handle test-completion specially.
16018 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
16020 * vc.el (vc-responsible-backend): Throw an error if not backend is
16021 found. Remove the REGISTER argument. Move the code dealing with
16023 (vc-get-backend-for-registration): ... here. New function.
16024 (vc-deduce-fileset): Call vc-get-backend-for-registration instead
16025 of vc-responsible-backend, pass the file name instead of the
16028 2009-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
16030 * pcomplete.el (pcomplete-common-suffix, pcomplete-table-subvert):
16032 (pcomplete-std-complete): Use them. Obey pcomplete-termination-string.
16033 (pcomplete-comint-setup): Don't modify a global var via
16034 accidental side-effects.
16035 (pcomplete-shell-setup): Adjust call accordingly.
16036 (pcomplete-parse-comint-arguments): Use push.
16038 2009-10-23 Chong Yidong <cyd@stupidchicken.com>
16040 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
16041 Allow uncapitalized info node names (Bug#3921).
16043 * mail/emacsbug.el (report-emacs-bug): Tweak the sentence pointing
16044 to the DEBUG file (Bug#3781).
16046 2009-10-23 Jari Aalto <jari.aalto@cante.net>
16048 * textmodes/ispell.el (ispell-dictionary-base-alist): Add finnish
16049 dictionary entry (Bug#4579).
16051 2009-10-23 Michael Albinus <michael.albinus@gmx.de>
16053 * net/tramp.el (top): Remove `tramp-rfn-eshadow-update-overlay'
16054 from `rfn-eshadow-update-overlay-hook' when unloading.
16055 (tramp-methods): Add `tramp-copy-keep-tmpfile' for "rsync" and
16056 "rsyncc". Adjust doc string.
16057 (tramp-temp-buffer-file-name): New buffer-local defvar.
16058 (tramp-handle-insert-file-contents, tramp-handle-write-region):
16059 Keep temporary file when indicated by method ("rsync" and
16061 (tramp-handle-write-region): Handle APPEND.
16062 (tramp-delete-temp-file-function): New defun. Added to
16063 `kill-buffer-hook'.
16065 2009-10-23 Juanma Barranquero <lekktu@gmail.com>
16067 * menu-bar.el (cua-enable-cua-keys): Declare for the byte-compiler.
16069 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
16071 * term/tty-colors.el (msdos-color-values): Remove declaration, unused.
16072 (color-name-rgb-alist, tty-standard-colors)
16073 (tty-color-mode-alist): Change to defconst.
16075 * simple.el (mark-inactive): Purecopy message.
16077 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle): Fix macro.
16078 (global-map, yank-menu):
16079 * textmodes/ispell.el (ispell-menu-map):
16080 * net/eudc.el (eudc-tools-menu):
16081 * international/mule-cmds.el (describe-language-environment-map)
16082 (setup-language-environment-map, set-coding-system-map)
16083 (mule-menu-keymap):
16084 * vc-hooks.el (vc-menu-entry, vc-menu-map):
16085 * replace.el (occur-mode-map):
16086 * pcvs-defs.el (cvs-global-menu): Purecopy names and tooltips.
16088 2009-10-23 Jay Belanger <jay.p.belanger@gmail.com>
16090 * calc/calc.el (math-read-number, math-read-number-simple):
16091 Use `save-match-data'.
16093 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
16095 * simple.el (normal-erase-is-backspace-mode): Use input-decode-map
16096 rather than fiddling with global-map bindings, since it should only
16097 affect per-terminal settings.
16098 See http://bugs.gentoo.org/show_bug.cgi?id=289709.
16100 * minibuffer.el (completion-table-with-terminator): Allow to specify
16101 the terminator-regexp.
16103 * simple.el (switch-to-completions): Look for *Completions* in other
16106 * pcomplete.el: Allow the use of completion-tables.
16107 (pcomplete-std-complete): New command.
16108 (pcomplete-dirs-or-entries): Use a single call to pcomplete-entries.
16109 (pcomplete--here): Use a function for `form' rather than an expression,
16110 so it can be byte-compiled.
16111 (pcomplete-here, pcomplete-here*): Adjust accordingly.
16112 Add edebug declaration.
16113 (pcomplete-show-completions): Remove unused var `curbuf'.
16114 (pcomplete-do-complete, pcomplete-stub):
16115 Don't assume `completions' is a list of strings any more.
16117 2009-10-22 Juanma Barranquero <lekktu@gmail.com>
16119 * find-dired.el (find-name-arg): Fix typo in docstring.
16121 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
16123 * pcmpl-linux.el (pcomplete/kill): Don't abuse pcomplete-entries.
16124 (pcmpl-linux-fs-types): Same, and update to new modules layout.
16126 * pcmpl-gnu.el (pcmpl-gnu-makefile-names): Use a single call to
16129 * comint.el (comint-read-input-ring, comint-write-input-ring)
16130 (comint-substitute-in-file-name)
16131 (comint-dynamic-complete-as-filename)
16132 (comint-dynamic-simple-complete)
16133 (comint-dynamic-list-filename-completions)
16134 (comint-dynamic-list-completions)
16135 (comint-redirect-results-list-from-process): Minor simplifications.
16137 2009-10-21 Kevin Ryde <user42@zip.com.au>
16139 * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
16140 When inserting ";;; Code" put it before any ";;;###autoload" cookie on
16141 the first form. And insert a blank line after ";;; Code" since
16142 that's usual style. (Bug#4612)
16144 * net/dns.el: Add "Keywords: comm", as per net/net-utils.el.
16146 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
16148 * minibuffer.el (completion-table-with-terminator): Properly implement
16149 boundaries, in case `terminator' appears in the suffix.
16150 (completion--embedded-envvar-table): Don't return boundaries if
16151 there's no valid completion. Simplify.
16152 (completion-file-name-table): New completion table extracted from
16153 completion--file-name-table.
16154 (completion--file-name-table): Use it.
16155 (read-file-name-predicate): Declare obsolete.
16156 (read-file-name): Use the pred arg i.s.o read-file-name-predicate.
16157 * vc-bzr.el (vc-bzr-revision-completion-table): Use the new
16158 completion-file-name-table, and use the `pred' argument.
16159 * files.el (locate-file-completion-table): Use the `pred' arg rather
16160 than read-file-name-predicate.
16161 (abbreviate-file-name): Use \` rather than ^ for BOS.
16163 2009-10-21 Dan Nicolaescu <dann@ics.uci.edu>
16165 * vc.el (vc-deduce-fileset): Undo previous change, do not tell
16166 vc-responsible-backend to register, it causes problems.
16168 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
16170 * help-fns.el: Don't require help-mode (to avoid bootstrap issues).
16172 2009-10-21 Michael Albinus <michael.albinus@gmx.de>
16174 * net/tramp-smb.el (tramp-smb-get-stat-capability): New defun.
16175 (tramp-smb-handle-file-attributes): Use it.
16176 (tramp-smb-do-file-attributes-with-stat): Don't raise an error.
16177 (tramp-smb-handle-insert-directory): Use `mapc' rather than
16178 `mapcar'. Use `tramp-smb-get-stat-capability'.
16179 Add `dired-filename' text properties.
16180 (tramp-smb-get-cifs-capabilities): Apply `save-match-data'.
16181 (tramp-smb-maybe-open-connection): Simplify check for smbclient
16184 2009-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
16186 * subr.el (read-key-delay): Reduce to 0.01.
16187 (read-key): Use read-key-sequence-vector to avoid turning M-t into 244
16190 2009-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
16192 * bindings.el (function-key-map): Map C-@ to C-SPC if C-@ is unbound.
16194 * info.el (Info-complete-menu-item): Handle `boundaries' explicitly.
16195 (Info-menu): Remove unused vars `last' and `completions'.
16196 (Info-index-nodes): Remove unused var `node'.
16198 * info.el (Info-complete-menu-item): Use complete-with-action.
16200 2009-10-19 Dan Nicolaescu <dann@ics.uci.edu>
16202 Make vc-annotate work through copies and renames.
16203 * vc-annotate.el (vc-annotate-extract-revision-at-line):
16204 Return the file name too.
16205 (vc-annotate-revision-at-line)
16206 (vc-annotate-find-revision-at-line)
16207 (vc-annotate-revision-previous-to-line)
16208 (vc-annotate-show-log-revision-at-line): Update to get the file
16209 name from vc-annotate-extract-revision-at-line.
16210 (vc-annotate-show-diff-revision-at-line-internal): Change the
16211 argument to mean whether to show a file diff or not. Get the file
16212 name from vc-annotate-extract-revision-at-line.
16213 (vc-annotate-show-diff-revision-at-line):
16214 Update vc-annotate-show-diff-revision-at-line call.
16215 (vc-annotate-warp-revision): Add an optional file argument.
16217 * vc-git.el (vc-git-annotate-command): Pass -C -C to the blame command.
16218 (vc-git-annotate-extract-revision-at-line): Also return the file
16221 * vc-hg.el (vc-hg-annotate-command): Pass --follow to the annotate
16222 command. Remove unused code.
16223 (vc-hg-annotate-re): Update to match --follow output.
16224 (vc-hg-annotate-extract-revision-at-line): Also return the file
16227 * vc.el: Update annotate-extract-revision-at-line documentation.
16229 2009-10-18 Kevin Ryde <user42@zip.com.au>
16231 * ibuffer.el (ibuffer-confirm-operation-on): Correction to error
16232 re-throw, `err' is a pair not a list so can't use apply (Bug#4740).
16234 * net/browse-url.el (browse-url): Identify alist with "consp and
16235 not functionp" and let all other things go down the `apply' leg,
16236 as suggested by Stefan. (Further to bug#4531.)
16238 2009-10-18 Chong Yidong <cyd@stupidchicken.com>
16240 * minibuffer.el (read-file-name): Check for repeat before putting
16241 a default argument in file-name-history (Bug#4657).
16243 * emacs-lisp/lisp-mode.el (preceding-sexp): Recognize hash table
16244 read syntax (Bug#4737).
16246 * textmodes/sgml-mode.el (sgml-delete-tag): Use sgml-looking-back-at.
16248 2009-10-18 Aaron S. Hawley <aaron.s.hawley@gmail.com>
16250 * textmodes/sgml-mode.el (sgml-tag-help): Prompt user for tag.
16251 (html-tag-alist, html-tag-help): Add descriptions for undocumented
16252 entries and make note of obsolete tags.
16254 2009-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
16256 * net/ange-ftp.el (ange-ftp-file-size): Use unwind-protect.
16258 2009-10-18 Glenn Morris <rgm@gnu.org>
16260 * Makefile.in (compile-last): Ensure GREP_OPTIONS is null before calling
16261 grep, so that binary files (eg international/uni-bidi.el) can match.
16262 Remove test for "UnicodeData" files, since it is hopefully unnecessary
16263 now, and in any case the file header format has changed.
16265 2009-10-17 Glenn Morris <rgm@gnu.org>
16267 * textmodes/flyspell.el (flyspell-large-region, flyspell-word)
16268 (flyspell-get-word, flyspell-large-region)
16269 (flyspell-auto-correct-previous-word): Doc/error message fixes.
16271 2009-10-17 Chong Yidong <cyd@stupidchicken.com>
16273 * Makefile.in (ELCFILES): Add ede/shell.
16275 2009-10-17 Dan Nicolaescu <dann@ics.uci.edu>
16277 * term/common-win.el (x-colors): Purecopy it.
16279 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
16281 * tar-mode.el (tar-data-swapped-p): Make the assertion a bit more
16282 permissive for when the buffer is empty.
16283 (tar-header-block-tokenize): Decode the username and groupname.
16284 (tar-chown-entry, tar-chgrp-entry): Encode the names (bug#4730).
16286 2009-10-17 Eric Ludlam <zappo@gnu.org>
16288 * emacs-lisp/eieio-base.el (eieio-persistent-save): If buffer
16289 contains multibyte characters, choose first applicable coding
16290 system automatically.
16292 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
16294 * international/mule-cmds.el (select-safe-coding-system): If the file
16295 has a coding cookie, use it regardless of any other setting (bug#4712).
16297 2009-10-17 Glenn Morris <rgm@gnu.org>
16299 * foldout.el (foldout-mouse-swallow-events):
16300 * gs.el (gs-load-image): Replace obsolete forms of sit-for, sleep-for.
16302 * dired.el (dired-ls-F-marks-symlinks, dired-keep-marker-rename)
16303 (dired-keep-marker-copy, dired-keep-marker-hardlink)
16304 (dired-keep-marker-symlink, dired-dwim-target)
16305 (dired-copy-preserve-time): Do not autoload these defcustoms.
16307 * mail/rmail.el (rmail-write-region-annotate): Prevent viewing different
16308 messages from messing up the file coding. (Bug#4623)
16310 2009-10-17 Jari Aalto <jari.aalto@cante.net>
16312 * textmodes/ispell.el (ispell-get-decoded-string): Give an error
16313 if no match is found for the current dictionary. (Bug#4578)
16315 * textmodes/flyspell.el (flyspell-get-word): Make `following' argument
16316 optional, since that is how it is documented, and this is often called
16317 with a nil argument. (Bug#4577)
16318 (flyspell-external-point-words, flyspell-auto-correct-word)
16319 (flyspell-correct-word-before-point, flyspell-word-search-forward)
16320 (flyspell-word-search-backward): Remove nil argument in calls to
16321 flyspell-get-word, since it is not needed now.
16323 2009-10-17 Ulrich Mueller <ulm@gentoo.org>
16325 * play/doctor.el (doctor-adverbp): Exclude some nouns. (Bug#4565)
16327 2009-10-16 Glenn Morris <rgm@gnu.org>
16329 * net/rcirc.el (rcirc-authenticate): Simplify previous change.
16331 2009-10-16 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
16333 * net/ange-ftp.el (ange-ftp-send-cmd): Handle `size' like `mdtm'.
16334 (ange-ftp-file-size): New function.
16335 (ange-ftp-file-attributes): Use it.
16337 2009-10-16 Michael Albinus <michael.albinus@gmx.de>
16339 * net/tramp-smb.el (tramp-smb-version): New defvar.
16340 (tramp-smb-maybe-open-connection): Use it, in order to avoid
16343 2009-10-16 Glenn Morris <rgm@gnu.org>
16345 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Doc fix.
16346 Maybe copy some custom properties from old to new name. (Bug#4706)
16348 2009-10-16 Juanma Barranquero <lekktu@gmail.com>
16350 * subr.el (error, sit-for, start-process-shell-command)
16351 (start-file-process-shell-command): Set the calling convention
16352 after the function definition.
16354 2009-10-16 Stefan Monnier <monnier@iro.umontreal.ca>
16356 * subr.el (error, sit-for, start-process-shell-command)
16357 (start-file-process-shell-command): Use the new
16358 set-advertised-calling-convention feature.
16360 2009-10-16 Taichi Kawabata <kawabata.taichi@gmail.com>
16362 * international/ucs-normalize.el (ucs-normalize-version):
16364 (check-range): Adjust for Unicode 5.2.
16366 2009-10-15 Juri Linkov <juri@jurta.org>
16368 * menu-bar.el (menu-bar-file-menu): Convert `separator-exit'
16369 to the `menu-item' format.
16371 2009-10-15 Michael Albinus <michael.albinus@gmx.de>
16373 * net/tramp.el (tramp-replace-environment-variables): Do not fail
16374 if the environment variable does not exist.
16376 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
16377 (tramp-smb-get-share, tramp-smb-get-localname): Use only VEC as
16379 (tramp-smb-handle-add-name-to-file)
16380 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
16381 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
16382 (tramp-smb-handle-file-attributes)
16383 (tramp-smb-do-file-attributes-with-stat)
16384 (tramp-smb-handle-file-local-copy)
16385 (tramp-smb-handle-insert-directory)
16386 (tramp-smb-handle-make-directory)
16387 (tramp-smb-handle-make-directory-internal)
16388 (tramp-smb-handle-make-symbolic-link)
16389 (tramp-smb-handle-rename-file, tramp-smb-handle-set-file-modes)
16390 (tramp-smb-handle-write-region, tramp-smb-get-file-entries)
16391 (tramp-smb-maybe-open-connection): Apply the changed parameters.
16392 (tramp-smb-read-file-entry): Read Disk names in compressed format.
16393 Handle long file names.
16394 (tramp-smb-get-cifs-capabilities): Check, whether the connection
16395 process is running.
16396 (tramp-smb-maybe-open-connection): Trace "smbclient -V" command.
16397 Read share names with "-g" option.
16399 2009-10-15 Ryan Yeske <rcyeske@gmail.com>
16401 * net/rcirc.el (rcirc-view-log-file): New command.
16402 (rcirc-track-minor-mode-map): Remove C-c ` binding.
16403 (rcirc-authenticate, rcirc-authinfo): Allow nickserv-nick to be
16406 2009-10-15 Glenn Morris <rgm@gnu.org>
16408 * w32-fns.el (w32-batch-update-autoloads): Take autoload-make-program
16409 from the second command-line argument.
16410 * makefile.w32-in (autoloads, $(lisp)/calendar/cal-loaddefs.el)
16411 ($(lisp)/calendar/diary-loaddefs.el, $(lisp)/calendar/hol-loaddefs.el)
16412 ($(lisp)/mh-e/mh-loaddefs.el): Pass $(MAKE) as second argument to
16413 w32-batch-update-autoloads.
16414 * emacs-lisp/autoload.el (autoload-make-program): New variable.
16415 (batch-update-autoloads): Handle autoload-excludes on windows-nt.
16417 * mail/rmailedit.el (rmail-cease-edit): Give an error if the end of
16418 the headers cannot be located. Simplify, subtracting superflous
16421 2009-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
16423 Replace completion-base-size by completion-base-position to fix bugs
16424 such as (bug#4699).
16425 * simple.el (completion-base-position): New var.
16426 (completion-base-size): Mark as obsolete.
16427 (choose-completion): Make it work for mouse events as well.
16428 Pass the new base-position to choose-completion-string.
16429 (choose-completion-guess-base-position): New function, extracted from
16430 choose-completion-delete-max-match.
16431 (choose-completion-delete-max-match): Use it. Make obsolete.
16432 (choose-completion-string): Use the new base-position info.
16433 (completion-root-regexp): Delete.
16434 (completion-setup-function): Preserve completion-base-position.
16435 Eliminate obsolete base-size manipulation.
16436 * minibuffer.el (display-completion-list): Don't mess with base-size.
16437 (minibuffer-completion-help): Set completion-base-position instead.
16438 * mouse.el (mouse-choose-completion): Redefine as a mere alias to
16440 * textmodes/bibtex.el (bibtex-complete):
16441 * emacs-lisp/crm.el (crm--choose-completion-string):
16442 Adjust to new calling convention.
16443 * complete.el (partial-completion-mode): Use minibufferp to avoid
16444 bumping into incompatible change to choose-completion-string-functions.
16445 * ido.el (ido-choose-completion-string): Make its calling convention
16447 * comint.el (comint-dynamic-list-input-ring-select): Remove obsolete
16448 base-size manipulation.
16449 (comint-dynamic-list-input-ring): Use dotimes and push.
16450 * iswitchb.el (iswitchb-completion-help): Remove dead-code call to
16451 fundamental-mode. Use `or'.
16453 2009-10-14 Juri Linkov <juri@jurta.org>
16455 * misearch.el (multi-isearch-next-buffer-from-list)
16456 (multi-isearch-next-file-buffer-from-list): Doc fix. (Bug#4723)
16458 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
16460 * Makefile.in (compile-onefile): Load `bytecomp' rather than
16463 * minibuffer.el (completion-pcm--merge-completions): Make sure the
16464 string we return is all made up of text from the completions rather
16465 than part from the completions and part from the input (bug#4219).
16467 * ido.el (ido-everywhere): Use define-minor-mode.
16469 * buff-menu.el (list-buffers, ctl-x-map):
16470 Mark the entry points with ;;;###autoload cookies.
16472 2009-10-14 Dan Nicolaescu <dann@ics.uci.edu>
16474 * vc-git.el (vc-git-dir-extra-headers): Set the branch name
16475 correctly in the detached head case.
16476 (vc-git-print-log): Remove unused binding.
16478 * vc.el (vc-responsible-backend): When a directory is passed for
16479 for registration create a VC repository if no backend is
16480 responsible for the directory argument.
16481 (vc-deduce-fileset): Tell vc-responsible-backend to register.
16483 * vc.el: Move comments about RCS and SCCS ...
16485 * vc-sccs.el: ... here, respectively.
16487 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
16489 * minibuffer.el (completion--file-name-table): Return nil if there's
16490 no file completion, even if substitute-in-file-name changed
16491 the string (bug#4708).
16493 2009-10-13 Juri Linkov <juri@jurta.org>
16495 * files-x.el (read-file-local-variable-value): Don't filter out
16496 minor modes from mode name completion (bug#4664).
16498 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
16500 * international/mule-cmds.el (ucs-names): Remove exclusion of
16501 "Enclosed Ideographic Supplement" range (U+1F200..U+1F2FF).
16503 2009-10-13 Kenichi Handa <handa@m17n.org>
16505 * international/uni-name.el: Regenerated.
16507 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
16509 * bs.el (bs-mode): Fix last change. (`revert-buffer-function'
16510 should be automatically buffer-local, but isn't.)
16512 2009-10-12 Sam Steingold <sds@gnu.org>
16514 * progmodes/compile.el (compilation-next-error-function): Fix the
16515 timestamps if the buffer has been visited before.
16516 (compilation-mode-font-lock-keywords): Do not prepend "^ *" to
16517 non-anchored patterns, like the perl one (bug#3928).
16519 2009-10-12 Glenn Morris <rgm@gnu.org>
16521 * net/tramp-smb.el (tramp-smb-do-file-attributes-with-stat):
16524 2009-10-12 Juanma Barranquero <lekktu@gmail.com>
16526 * proced.el (proced-unload-function): New function.
16528 * bs.el (bs-mode): Set `revert-buffer-function' to `bs-refresh'.
16529 (bs-refresh): Add IGNORED arg for `revert-buffer' compatibility.
16532 * menu-bar.el (menu-bar-file-menu): Fix format of `separator-exit' item.
16534 2009-10-11 Juri Linkov <juri@jurta.org>
16536 * files-x.el (read-file-local-variable-value):
16537 Provide default value only for bound variables (bug#4664).
16539 2009-10-11 Michael Albinus <michael.albinus@gmx.de>
16541 * net/tramp.el (tramp-local-host-p): Function shall return nil for
16542 connection methods like smb.
16544 * net/tramp-cache.el (tramp-flush-connection-property): The hash
16547 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
16548 (tramp-smb-file-name-handler-alist): Add handlers for
16549 `add-name-to-file', `make-symbolic-link'.
16550 (tramp-smb-handle-add-name-to-file)
16551 (tramp-smb-do-file-attributes-with-stat)
16552 (tramp-smb-handle-make-symbolic-link)
16553 (tramp-smb-get-cifs-capabilities): New defuns.
16554 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
16555 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
16556 (tramp-smb-handle-file-local-copy)
16557 (tramp-smb-handle-make-directory-internal)
16558 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
16559 The file name syntax depends on cifs capabilities.
16560 (tramp-smb-handle-file-attributes):
16561 Call `tramp-smb-do-file-attributes-with-stat' if possible.
16562 (tramp-smb-handle-insert-directory): Use posix attributes if possible.
16563 (tramp-smb-handle-set-file-modes): It is applicable for posix only.
16565 2009-10-11 Chong Yidong <cyd@stupidchicken.com>
16567 * emacs-lisp/eieio.el: Avoid requiring cl at runtime.
16568 (eieio-defclass): Apply deftype handler and setf-method properties
16570 (eieio-add-new-slot): Avoid union function from cl library.
16571 (eieio--typep): New function.
16572 (eieio-perform-slot-validation): Use it.
16574 2009-10-10 Karl Fogel <kfogel@red-bean.com>
16576 * bookmark.el (bookmark-yank-word, bookmark-insert-current-bookmark):
16577 Update documentation to refer to the variables documented in r1.135.
16580 2009-10-10 Karl Fogel <kfogel@red-bean.com>
16582 * bookmark.el (Info-suffix-list): Remove this unused variable.
16583 (bookmark-current-point): Remove this obsolete variable.
16584 (bookmark-set, bookmark-rename, bookmark-send-edited-annotation):
16585 Adjust for removal of bookmark-current-point.
16587 (bookmarks-already-loaded, bookmark-current-buffer)
16588 (bookmark-yank-point): Document. (Bug#4188)
16590 2009-10-10 Glenn Morris <rgm@gnu.org>
16592 * frame.el (frame-height): Doc fix.
16594 * calendar/calendar.el (calendar-split-width-threshold): New option.
16595 (calendar-basic-setup): Use calendar-split-width-threshold.
16597 2009-10-09 Juanma Barranquero <lekktu@gmail.com>
16599 * international/mule-cmds.el (ucs-names): Exclude new "Enclosed
16600 Ideographic Supplement" range (U+1F200..U+1F2FF).
16602 2009-10-09 Karl Fogel <kfogel@red-bean.com>
16604 * bookmark.el (bookmark-bmenu-rename): Don't call bookmark-bmenu-list,
16605 since the list will have been rebuilt anyway. (Bug#4349)
16607 2009-10-09 Karl Fogel <kfogel@red-bean.com>
16609 * bookmark.el (bookmark-delete): Don't let batch arg prevent saving.
16610 (bookmark-bmenu-execute-deletions): Don't save here, as
16611 bookmark-delete will now do so if necessary.
16612 Suggested by Thierry Volpiatto <thierry.volpiatto {_AT_} gmail.com>.
16615 2009-10-09 Glenn Morris <rgm@gnu.org>
16617 * mail/emacsbug.el (report-emacs-bug): Also print `features'.
16619 2009-10-09 Karl Fogel <kfogel@red-bean.com>
16621 * bookmark.el (bookmark-jump): Add new `display-func' parameter.
16622 (bookmark-jump-other-window): Just invoke bookmark-jump with new
16623 argument now, so the two function's behaviors will match. (Bug#3645)
16625 2009-10-08 Michael Albinus <michael.albinus@gmx.de>
16627 * net/tramp.el (tramp-file-name-real-user, tramp-file-name-domain)
16628 (tramp-file-name-real-host, tramp-file-name-port):
16629 Apply `save-match-data'.
16631 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Handle the
16632 case both directories are remote.
16633 (tramp-smb-handle-expand-file-name): Implement "~" expansion.
16634 (tramp-smb-maybe-open-connection): Flush the cache only if necessary.
16636 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
16638 * makefile.w32-in (WINS_UPDATES): Fix typo in previous change.
16640 2009-10-07 Glenn Morris <rgm@gnu.org>
16642 * emacs-lisp/autoload.el (batch-update-autoloads): Remove useless use
16645 2009-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
16647 * files-x.el (read-file-local-variable): Include some
16648 non-user-variables in the completion table (bug#4664).
16650 2009-10-07 Michael Albinus <michael.albinus@gmx.de>
16652 * net/tramp-cache.el (tramp-flush-connection-property): Add trace
16655 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
16656 (tramp-smb-file-name-handler-alist): Add handler for
16657 `copy-directory', `expand-file-name', `set-file-modes'.
16658 (tramp-smb-handle-copy-directory)
16659 (tramp-smb-handle-expand-file-name)
16660 (tramp-smb-handle-set-file-modes): New defuns.
16661 (tramp-smb-handle-copy-file): Handle KEEP-DATE.
16662 (tramp-smb-handle-file-attributes): Simplify check for retrieving
16664 (tramp-smb-handle-insert-directory): Don't flush the cache.
16665 (tramp-smb-maybe-open-connection): Check for samba client and
16668 2009-10-07 Eli Zaretskii <eliz@gnu.org>
16670 * emacs-lisp/autoload.el (batch-update-autoloads): Fix last change
16671 to not error out of search for "^lisp=" fails.
16673 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
16675 * makefile.w32-in (WINS_UPDATES): New macro.
16676 (custom-deps, finder-data, autoloads): Use it.
16678 2009-10-07 Glenn Morris <rgm@gnu.org>
16680 * Makefile.in (autoloads): Revert previous change.
16681 * emacs-lisp/autoload.el (batch-update-autoloads): Rather than having
16682 the list of preloaded files passed on the command-line, get
16683 it from src/Makefile.
16685 * calendar/calendar.el (calendar-basic-setup): In the wide frame case,
16686 show the original buffer rather than a random one.
16688 2009-10-07 Markus Rost <rost@math.uni-bielefeld.de>
16690 * help.el (describe-no-warranty): Place point in a slightly better
16691 position in the GPLv3 text.
16693 2009-10-06 Sam Steingold <sds@gnu.org>
16695 * net/tramp-compat.el (tramp-compat-process-running-p): Check that
16696 the comm attribute is present before calling regexp-quote.
16698 2009-10-06 Juanma Barranquero <lekktu@gmail.com>
16700 * play/animate.el (animate-string): For good effect, make sure
16701 `indent-tabs-mode' and `show-trailing-whitespace' are nil.
16703 * play/animate.el (animate-sequence, animate-birthday-present):
16704 * misc.el (butterfly): Don't set `indent-tabs-mode'.
16706 2009-10-06 Glenn Morris <rgm@gnu.org>
16708 * emacs-lisp/byte-run.el (define-obsolete-face-alias): Doc fix.
16710 * emacs-lisp/autoload.el (autoload-excludes): New variable.
16711 (autoload-generate-file-autoloads): Skip files in autoload-excludes.
16712 (batch-update-autoloads): Process a string value of autoload-excludes,
16713 set during the build process.
16714 * Makefile.in (autoloads): Skip preloaded files. (Bug#4446)
16716 * net/tramp.el (tramp-handle-start-file-process): Move tramp-error call
16717 inside with-parsed... macro so that `v' is defined.
16719 * progmodes/f90.el (f90-end-of-block, f90-beginning-of-block):
16720 * progmodes/fortran.el (fortran-end-of-block)
16721 (fortran-beginning-of-block):
16722 Also push mark in the macro case.
16724 * emerge.el (emerge-show-file-name):
16725 * calc/calc.el (calc-quit):
16726 * calc/calc-misc.el (calc-big-or-small):
16727 * calc/calc-graph.el (calc-graph-view):
16728 * calc/calc-ext.el (calc-reset):
16729 * calendar/calendar.el (calendar-basic-setup):
16730 Use window-full-height-p.
16732 * mail/rmailedit.el (rmail-cease-edit): If there is a Content-Type
16733 header we don't understand, don't insert another. (Bug#4624)
16734 If changing mime charset, insert the new one in the right place.
16736 2009-10-06 Matthew Junker <matthew.junker@sbcglobal.net> (tiny change)
16738 * calendar/cal-tex.el (cal-tex-cursor-month-landscape)
16739 (cal-tex-cursor-month): Correctly increment the end date for diary and
16740 holiday listing. (Bug#4626)
16742 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
16744 * help-fns.el (describe-function-1): Don't burp if the function is not
16747 2009-10-05 Juanma Barranquero <lekktu@gmail.com>
16749 * emacs-lisp/chart.el (chart-face-pixmap-list, chart-new-buffer, chart)
16750 (chart-axis-range, chart-axis-names, chart-sequece, chart-bar)
16751 (chart-draw, chart-axis-draw, chart-sort, chart-sort-matchlist)
16752 (chart-draw-line, chart-bar-quickie): Fix typos in docstrings.
16754 * emacs-lisp/eieio.el (generic-p, eieiomt-next, eieio-generic-form)
16755 (eieio-default-superclass): Reflow docstrings.
16756 (this, class-option-assoc, defclass, eieio-class-un-autoload)
16757 (eieio-unbind-method-implementations, defmethod)
16758 (eieio-validate-slot-value, eieio-validate-class-slot-value)
16759 (oref-default, eieio-oref-default, eieio-oset, eieio-oset-default)
16760 (with-slots, eieio-add-new-slot, object-assoc, object-remove-from-list)
16761 (eieio-slot-originating-class-p, eieio-slot-name-index)
16762 (eieio-pre-method-execution-hooks, eieio-initarg-to-attribute)
16763 (constructor, initialize-instance, no-next-method, object-print)
16764 (object-write, eieio-override-prin1, eieio-edebug-prin1-to-string):
16765 Fix typos in docstrings.
16766 (eieio-defclass, eieio-perform-slot-validation-for-default, defgeneric)
16767 (child-of-class-p, object-slots, slot-boundp, slot-exists-p)
16768 (next-method-p): Doc fixes.
16769 (eieio-add-new-slot, call-next-method, eieiomt-add, change-class):
16770 Fix typos in error messages.
16771 (eieio-defmethod): Fix typo in description of generic method.
16773 * emacs-lisp/eieio-base.el (eieio-instance-inheritor, slot-unbound)
16774 (eieio-persistent-save-interactive, slot-missing):
16775 Fix typos in docstrings.
16776 (eieio-instance-inheritor-slot-boundp): Doc fix.
16778 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod)
16779 (byte-compile-defmethod-param-convert): Fix typos in docstrings.
16781 * emacs-lisp/eieio-custom.el (eieio-done-customizing)
16782 (eieio-custom-object-apply-reset):
16783 Fix typos in docstrings and error messages.
16785 * emacs-lisp/eieio-datadebug.el (data-debug-show):
16786 Fix typo in docstring.
16788 * emacs-lisp/eieio-opt.el (top): Fix typo in error message.
16789 (eieio-browse-tree): Doc fix.
16790 (eieio-all-generic-functions, eieio-class-speedbar): Reflow docstrings.
16791 (eieio-help-mode-augmentation-maybee, eieio-class-speedbar-make-map):
16792 Fix typos in docstrings.
16794 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-file-button): Doc fix.
16795 (eieio-speedbar-key-map, eieio-speedbar-create-engine)
16796 (eieio-speedbar-buttons, eieio-speedbar, eieio-speedbar-object-children)
16797 (eieio-speedbar-make-tag-line, eieio-speedbar-object-expand):
16800 2009-10-05 Dan Nicolaescu <dann@ics.uci.edu>
16802 * vc-hg.el (log-view-vc-backend): Declare for compiler.
16803 (vc-hg-outgoing-mode, vc-hg-incoming-mode):
16804 Set log-view-vc-backend so that diff can work.
16806 * log-view.el (log-view-diff): Use vc-diff-internal instead of
16808 (vc-diff-internal): Autoload this instead of vc-version-diff.
16810 2009-10-05 Eli Zaretskii <eliz@gnu.org>
16812 * simple.el (eval-expression): Doc fix.
16814 * progmodes/cwarn.el (cwarn-mode): Doc fix.
16816 2009-10-05 Michael Albinus <michael.albinus@gmx.de>
16818 * files.el (directory-files-no-dot-files-regexp): New defconst.
16819 (delete-directory): Use it.
16820 (copy-directory): Use it. Remove parameter PRESERVE-UID-GID.
16822 * net/tramp.el (tramp-verbose): Fix docstring.
16823 (tramp-methods): Add recursive option to `tramp-copy-args'.
16824 Add `tramp-copy-recursive'. Valid for "rcp", "scp", "scp1", "scp2",
16825 "scp1_old", "scp2_old", "rsync", "rsyncc".
16826 (tramp-default-method): Check also for `auth-source-user-or-password'.
16827 (tramp-file-name-handler-alist, tramp-file-name-for-operation):
16828 Add handler for `copy-directory'.
16829 (tramp-handle-copy-directory): New defun.
16830 (tramp-do-copy-or-rename-file-out-of-band): Handle directory case.
16831 (tramp-handle-start-file-process): Raise an error when PROGRAM is nil.
16832 Optimize sent command.
16834 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
16836 * calendar/diary-lib.el (diary-show-all-entries): Re-fit the calendar
16837 window if necessary.
16839 * calendar/calendar.el (calendar-basic-setup): Don't call
16840 switch-to-buffer in a dedicated window.
16842 2009-10-05 Karl Fogel <kfogel@red-bean.com>
16844 * bookmark.el (bookmark-handle-bookmark): If bookmark has no file,
16845 don't do anything related to relocating, just return nil.
16846 (bookmark-error-no-filename): New error.
16847 (bookmark-default-handler): Signal `bookmark-error-no-filename' if
16848 bookmark has no file. Don't even attempt to handle things that
16849 are not files; the whole point of custom handlers is to keep that
16850 knowledge elsewhere anyway. Tighten some comments.
16851 (bookmark-file-or-variation-thereof): Remove now-unused function.
16852 (bookmark-location): Doc string fix.
16855 2009-10-04 Karl Fogel <kfogel@red-bean.com>
16857 * bookmark.el (bookmark-handle-bookmark): When relocating a bookmark,
16858 don't use a file dialog, because they usually don't know how to read
16859 a directory target from the user. (Bug#4230)
16860 Also, make sure the prompt can display directories as well as files.
16862 2009-10-04 Karl Fogel <kfogel@red-bean.com>
16864 * bookmark.el (bookmark-set, bookmark-buffer-name):
16865 Improve doc strings. (Bug#1193)
16867 2009-10-04 Karl Fogel <kfogel@red-bean.com>
16869 * bookmark.el (bookmark-get-bookmark, bookmark-get-bookmark-record)
16870 (bookmark-set-name, bookmark-prop-get, bookmark-prop-set)
16871 (bookmark-get-annotation, bookmark-set-annotation)
16872 (bookmark-get-filename, bookmark-set-filename, bookmark-get-position)
16873 (bookmark-set-position, bookmark-get-front-context-string)
16874 (bookmark-set-front-context-string, bookmark-get-rear-context-string)
16875 (bookmark-set-rear-context-string, bookmark-location, bookmark-jump)
16876 (bookmark-jump-other-window, bookmark-handle-bookmark)
16877 (bookmark-relocate, bookmark-insert-location, bookmark-rename)
16878 (bookmark-insert, bookmark-delete, bookmark-time-to-save-p)
16879 (bookmark-edit-annotation-mode, bookmark-edit-annotation):
16880 Improve doc strings to say whether bookmark can be a string or
16881 a record or both, and make other consistency and clarity fixes.
16882 (bookmark-get-handler, bookmark--jump-via, bookmark-write-file)
16883 (bookmark-default-annotation-text, bookmark-yank-word)
16884 (bookmark-maybe-load-default-file, bookmark-maybe-sort-alist)
16885 (bookmark-import-new-list, bookmark-maybe-rename)
16886 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
16887 (bookmark-bmenu-bookmark): Give these doc strings.
16888 (bookmark-bmenu-check-position): Give this a doc string, but also
16889 add a FIXME comment about how the function may be pointless.
16890 (bookmark-default-handler): Rework doc string and change a
16891 parameter name, to clarify that this takes a bookmark record
16892 not a bookmark name.
16893 (bookmark-set): Change a parameter name to indicate its meaning,
16894 and improve the doc string a bit.
16897 2009-10-04 Karl Fogel <kfogel@red-bean.com>
16899 * bookmark.el (bookmark-alist): Document the new `handler' element
16900 in the param alist.
16901 (bookmark-make-record-function): Adjust documentation for above.
16904 2009-10-04 Karl Fogel <kfogel@red-bean.com>
16906 * info.el (Info-bookmark-make-record): Document this function.
16907 (Info-bookmark-jump): Document with a doc string, not just a comment.
16910 2009-10-04 Michael Albinus <michael.albinus@gmx.de>
16912 * files.el (copy-directory): New defun.
16914 * dired-aux.el (dired-copy-file-recursive): Use it.
16916 2009-10-04 Juanma Barranquero <lekktu@gmail.com>
16918 * files-x.el (modify-dir-local-variable)
16919 (copy-dir-locals-to-file-locals-prop-line): Fix typos in
16922 * recentf.el (recentf-unload-function): New function.
16924 2009-10-04 Glenn Morris <rgm@gnu.org>
16926 * window.el (window-full-height-p): Add doc string.
16928 2009-10-04 Martin Rudalics <rudalics@gmx.at>
16930 * window.el (window-full-height-p): New function. (Bug#4543)
16932 2009-10-03 Dan Nicolaescu <dann@ics.uci.edu>
16934 * vc.el: Remove commented out code.
16935 (vc-derived-from-dir-mode): Remove, unused.
16936 (vc-version-diff, vc-diff): Consistently pass t to vc-deduce-fileset.
16938 2009-10-03 Michael Albinus <michael.albinus@gmx.de>
16940 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
16941 Disable `file-name-handler-alist' when loading 'ange-ftp. Otherwise,
16942 there could be recursive loading when `default-directory' is a
16943 remote file name. (Bug#4614)
16945 2009-10-03 Glenn Morris <rgm@gnu.org>
16947 * calendar/calendar.el (calendar-basic-setup): Handle the case where
16949 (calendar-generate-window): Test for shrinkability rather than width.
16951 * mail/rmail.el (rmail-generate-viewer-buffer): Be more careful about
16952 reusing existing buffers, in case we happen to visit two files with the
16953 same basename. (Bug#4593)
16955 2009-10-02 Eli Zaretskii <eliz@gnu.org>
16957 * makefile.w32-in (update-subdirs-CMD): Add cedet to $(WINS_SUBDIR).
16958 (WINS_CEDET_SUBDIRS): List of subdirectories of cedet.
16959 (bootstrap-clean-CMD, bootstrap-clean-SH): Remove *.elc files in
16960 subdirs of cedet as well.
16961 (AUTOGENEL): Add loaddefs.el files in cedet subdirectories.
16963 2009-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
16965 * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string):
16966 Obey advertised-signature-table.
16968 * help-fns.el (help-function-arglist): Don't check
16969 advertised-signature-table.
16970 (describe-function-1): Do it here instead so it also applies to subrs.
16972 2009-10-02 Michael Albinus <michael.albinus@gmx.de>
16974 * simple.el (start-file-process): Say in the doc-string, that file
16975 handlers might not support pty association, if PROGRAM is nil.
16977 * net/ange-ftp.el (ange-ftp-generate-passwd-key): Check, whether
16978 HOST and USER are strings. They are nil, when there are
16979 incomplete entries in ~/.netrc, for example.
16980 (ange-ftp-delete-directory): Implement RECURSIVE case. Change to
16981 root directory ("device busy" error otherwise).
16983 * net/tramp-smb.el (tramp-smb-handle-make-directory-internal):
16984 Flush file properties of created directory.
16986 2009-10-02 Eli Zaretskii <eliz@gnu.org>
16988 * makefile.w32-in (WINS_BASIC): Remove cedet.
16989 (WINS_CEDET): Add cedet.
16990 (update-subdirs-SH): Use $(WINS_SUBDIR), not $(WINS).
16992 2009-10-02 Kevin Ryde <user42@zip.com.au>
16994 * net/browse-url.el (browse-url): Pass any symbol in
16995 browse-url-browser-function to `apply', since if you've mistakenly put
16996 an unbound symbol then the error is clearer. (Bug#4531)
16998 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
17000 * allout.el (allout-init, allout-back-to-current-heading)
17001 (allout-beginning-of-current-entry, allout-ascend-to-depth)
17002 (allout-ascend, allout-up-current-level, allout-end-of-level)
17003 (allout-previous-visible-heading, allout-forward-current-level)
17004 (allout-backward-current-level, allout-show-children):
17005 * apropos.el (apropos-describe-plist):
17006 * bookmark.el (bookmark-maybe-historicize-string, bookmark-bmenu-list):
17007 * comint.el (comint-strip-ctrl-m, comint-goto-process-mark):
17008 * completion.el (add-completion, add-permanent-completion):
17009 * descr-text.el (describe-text-category, describe-char):
17010 * desktop.el (desktop-lazy-abort):
17011 * dired-x.el (dired-omit-expunge, dired-x-bind-find-file):
17012 * dired.el (dired-build-subdir-alist):
17013 * ediff.el (ediff-version):
17014 * elide-head.el (elide-head, elide-head-show):
17015 * emerge.el (emerge-version):
17017 * face-remap.el (variable-pitch-mode):
17018 * faces.el (describe-face):
17019 * ffap.el (ffap-next-url, find-file-at-point, ffap-at-mouse)
17021 * files.el (find-file-existing, auto-save-mode):
17022 * font-lock.el (font-lock-fontify-buffer):
17023 * help-fns.el (describe-function, describe-variable)
17024 (describe-syntax, describe-categories):
17025 * help.el (view-lossage, describe-bindings, describe-key)
17027 * hexl.el (hexl-current-address):
17028 * hi-lock.el (hi-lock-mode, hi-lock-find-patterns):
17029 * info.el (Info-goto-emacs-key-command-node):
17030 * log-edit.el (log-edit-insert-cvs-template)
17031 (log-edit-insert-cvs-rcstemplate):
17032 * menu-bar.el (menu-bar-mode):
17033 * mouse.el (mouse-appearance-menu):
17034 * newcomment.el (comment-indent-new-line):
17035 * pgg.el (pgg-save-coding-system, pgg-encrypt-region)
17036 (pgg-encrypt-symmetric-region, pgg-encrypt-symmetric)
17037 (pgg-encrypt, pgg-decrypt-region, pgg-decrypt)
17038 (pgg-sign-region, pgg-sign, pgg-verify-region, pgg-verify):
17039 * recentf.el (recentf-mode):
17040 * savehist.el (savehist-mode, savehist-save):
17041 * shadowfile.el (shadow-copy-files):
17042 * simple.el (kill-ring-save, next-line, previous-line)
17043 (normal-erase-is-backspace-mode):
17044 * strokes.el (strokes-update-window-configuration)
17045 (strokes-load-user-strokes, strokes-prompt-user-save-strokes)
17046 (strokes-xpm-for-stroke):
17047 * time.el (emacs-uptime, emacs-init-time):
17048 * tutorial.el (tutorial--describe-nonstandard-key)
17049 (tutorial--detailed-help):
17050 * type-break.el (type-break-mode)
17051 (type-break-mode-line-message-mode, type-break-query-mode)
17052 (type-break-guesstimate-keystroke-threshold):
17053 * vc.el (vc-version-diff, vc-diff, vc-root-diff):
17054 * version.el (emacs-version):
17055 * vt-control.el (vt-keypad-on, vt-keypad-off, vt-numlock):
17056 * winner.el (winner-mode):
17057 * calendar/timeclock.el (timeclock-in, timeclock-out)
17058 (timeclock-status-string, timeclock-change)
17059 (timeclock-workday-remaining-string)
17060 (timeclock-workday-elapsed-string)
17061 (timeclock-when-to-leave-string):
17062 * calendar/todo-mode.el (todo-add-category):
17063 * emacs-lisp/advice.el (ad-enable-regexp, ad-disable-regexp):
17064 * emacs-lisp/autoload.el (update-file-autoloads):
17065 * emacs-lisp/checkdoc.el (checkdoc-current-buffer)
17066 (checkdoc-start, checkdoc-continue, checkdoc-rogue-spaces)
17067 (checkdoc-message-text, checkdoc-defun):
17068 * emacs-lisp/debug.el (debugger-list-functions):
17069 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
17070 * emacs-lisp/eieio-opt.el (eieio-describe-class)
17071 (eieio-describe-generic):
17072 * emacs-lisp/lisp-mnt.el (lm-synopsis):
17073 * emacs-lisp/shadow.el (list-load-path-shadows):
17074 * emulation/cua-base.el (cua-mode):
17075 * emulation/edt.el (edt-set-scroll-margins):
17076 * emulation/tpu-edt.el (tpu-toggle-newline-and-indent)
17077 (tpu-toggle-regexp, tpu-toggle-search-direction)
17078 (tpu-toggle-rectangle, tpu-toggle-control-keys):
17079 * emulation/tpu-extras.el (tpu-set-scroll-margins):
17080 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
17081 (viper-set-parsing-style-toggling-macro)
17082 (viper-set-emacs-state-searchstyle-macros):
17083 * emulation/viper.el (viper-set-hooks):
17084 * eshell/esh-mode.el (eshell-truncate-buffer):
17085 * international/mule-cmds.el (prefer-coding-system)
17086 (describe-input-method, describe-language-environment):
17087 * international/mule-diag.el (list-character-sets)
17088 (describe-character-set, describe-coding-system)
17089 (describe-fontset, list-fontsets, list-input-methods):
17090 * mail/sendmail.el (mail-signature):
17091 * net/ange-ftp.el (ange-ftp-copy-file):
17092 * net/browse-url.el (browse-url):
17093 * net/eudc.el (eudc-set-server, eudc-get-attribute-list):
17094 * net/quickurl.el (quickurl-add-url):
17095 * net/rcirc.el (names, topic):
17096 * net/xesam.el (xesam-mode):
17097 * play/5x5.el (5x5-new-game):
17098 * play/yow.el (apropos-zippy):
17099 * progmodes/ada-mode.el (ada-mode-version):
17100 * progmodes/f90.el (f90-beginning-of-subprogram, f90-end-of-subprogram)
17102 (f90-beginning-of-block):
17103 * progmodes/fortran.el (fortran-end-of-block)
17104 (fortran-beginning-of-block):
17105 * progmodes/js.el (js-syntactic-context, js-gc, js-eval):
17106 * progmodes/python.el (python-describe-symbol, python-shell):
17107 * term/ns-win.el (ns-print-buffer):
17108 * textmodes/bibtex.el (bibtex-end-of-entry, bibtex-url):
17109 * textmodes/flyspell.el (flyspell-mode-on):
17110 * textmodes/page-ext.el (set-page-delimiter, pages-directory)
17111 (pages-directory-for-addresses):
17112 * textmodes/table.el (table-recognize-cell)
17113 (table-query-dimension, table-generate-source)
17114 (table-insert-sequence, table--warn-incompatibility):
17115 * textmodes/tex-mode.el (tex-validate-buffer):
17116 * textmodes/texinfmt.el (texinfmt-version)
17117 (texinfo-format-buffer):
17118 Use `called-interactively-p' instead of `interactive-p'.
17120 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
17122 * image-mode.el (image-toggle-display):
17123 * emacs-lisp/elp.el (elp-instrument-function):
17124 * emacs-lisp/advice.el (ad-make-advised-definition):
17125 * emacs-lisp/easy-mmode.el (define-minor-mode):
17126 * net/browse-url.el (browse-url-maybe-new-window):
17127 * progmodes/sh-script.el (sh-learn-buffer-indent):
17128 Pass new argument 'any to `called-interactively-p'.
17130 2009-10-01 Juanma Barranquero <lekktu@gmail.com>
17132 * international/uni-bidi.el:
17133 * international/uni-category.el:
17134 * international/uni-combining.el:
17135 * international/uni-comment.el:
17136 * international/uni-decimal.el:
17137 * international/uni-decomposition.el:
17138 * international/uni-digit.el:
17139 * international/uni-lowercase.el:
17140 * international/uni-mirrored.el:
17141 * international/uni-name.el:
17142 * international/uni-numeric.el:
17143 * international/uni-old-name.el:
17144 * international/uni-titlecase.el:
17145 * international/uni-uppercase.el:
17146 Regenerate from Unicode 5.2.0 data.
17148 2009-10-01 Glenn Morris <rgm@gnu.org>
17150 * Makefile.in (ELCFILES): Regenerate.
17152 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
17154 * subr.el (interactive-p): Mark obsolete.
17155 (called-interactively-p): Make the optional-ness of `kind' obsolete.
17156 * emacs-lisp/bytecomp.el (byte-compile-fdefinition): Make it obey
17157 advertised-signature-table for subroutines as well.
17159 * emacs-lisp/byte-run.el (advertised-signature-table): New var.
17160 (set-advertised-calling-convention): New function.
17161 (make-obsolete, define-obsolete-function-alias)
17162 (make-obsolete-variable, define-obsolete-variable-alias):
17163 Make the optional-ness of `when' obsolete.
17164 (define-obsolete-face-alias): Make `when' non-optional.
17165 * help-fns.el (help-function-arglist):
17166 * emacs-lisp/bytecomp.el (byte-compile-fdefinition):
17167 Use advertised-signature-table.
17169 2009-10-01 Michael Albinus <michael.albinus@gmx.de>
17171 * files.el (delete-directory): New defun. The original function
17172 in fileio.c has been renamed to `delete-directory-internal'.
17174 * dired.el (dired-delete-file): Call `delete-directory' with
17175 RECURSIVE parameter.
17177 * net/ange-ftp.el (ange-ftp-delete-directory): Add optional
17178 parameter RECURSIVE. Implementation is missing.
17180 * net/tramp.el (tramp-handle-make-directory): Flush upper
17181 directory's file properties.
17182 (tramp-handle-delete-directory): Handle optional parameter RECURSIVE.
17183 (tramp-handle-dired-recursive-delete-directory): Flush directory
17184 properties after the remove command only.
17186 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
17187 Handle optional parameter RECURSIVE.
17189 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
17190 Handle optional parameter RECURSIVE.
17192 * net/tramp-smb.el (tramp-smb-errors): Add error message for
17193 connection timeout.
17194 (tramp-smb-handle-delete-directory): Handle optional parameter
17197 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
17199 * emacs-lisp/bytecomp.el (byte-compile-defmacro-declaration): New fun.
17200 (byte-compile-file-form-defmumble, byte-compile-defmacro): Use it.
17201 (byte-compile-defmacro): Use backquotes.
17203 * files.el (cd-absolute): Don't abbreviate-file-name (bug#4599).
17205 * vc-dispatcher.el (vc-resynch-window): Don't revert a buffer which
17206 has no associated file.
17207 (vc-resynch-buffer): Use vc-dir-buffers.
17209 2009-10-01 Glenn Morris <rgm@gnu.org>
17211 * emacs-lisp/chart.el (chart-zap-chars, chart-bar-quickie)
17212 (chart-file-count):
17213 * emacs-lisp/eieio-comp.el (byte-compile-defmethod-param-convert):
17214 * emacs-lisp/eieio-datadebug.el (data-debug-insert-object-button):
17215 * emacs-lisp/eieio-opt.el (eieio-describe-class):
17216 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-create):
17217 * emacs-lisp/eieio.el (defclass, eieio-defclass-autoload)
17218 (eieio-copy-parents-into-subclass, make-instance, class-children)
17219 (eieio-generic-form):
17221 * vc-cvs.el (vc-cvs-parse-entry): Be more careful with the
17222 match-data. (Bug#4555).
17224 * emacs-lisp/check-declare.el (check-declare-scan): Read the declaration
17225 rather than parsing it as a regexp. This relaxes the layout
17226 requirements and makes errors easier to detect.
17227 (check-declare-verify): Check file is regular.
17228 (check-declare-directory): Doc fix.
17229 * subr.el (declare-function): Doc fix.
17231 * ibuffer.el (ibuffer-format-qualifier):
17232 * isearch.el (hi-lock-regexp-okay):
17233 * calc/calc.el (math-zerop):
17234 * mail/uce.el (rmail-msgbeg, rmail-msgend):
17235 * term/w32-win.el (setup-default-fontset, set-fontset-font):
17236 Remove unused declarations.
17238 2009-09-30 Eric Ludlam <zappo@gnu.org>
17240 * emacs-lisp/eieio.el (boolean-p): Delete.
17242 2009-09-30 Glenn Morris <rgm@gnu.org>
17244 * emacs-lisp/authors.el (authors-ignored-files): Add "js2-mode.el".
17246 * emacs-lisp/elint.el (elint-init-form): Report declarations where the
17247 filename is not a string.
17249 2009-09-29 Chong Yidong <cyd@stupidchicken.com>
17251 * files.el (safe-local-eval-forms): Fix typo.
17253 2009-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
17255 * vc-hooks.el (vc-dir-buffers): New var.
17256 (vc-state-refresh): New function.
17257 (vc-state): Use it.
17258 (vc-after-save): Always ask the backend to recompute the new state.
17259 Always call vc-dir if necessary, using vc-dir-buffers.
17260 * vc-dir.el (vc-dir-prepare-status-buffer, vc-dir-resynch-file):
17261 Use vc-dir-buffers.
17262 (vc-dir-mode): Use vc-dir-buffers rather than after-save-hook.
17263 (vc-dir-prepare-status-buffer, vc-dir-update)
17264 (vc-dir-resync-directory-files, vc-dir-resynch-file, vc-dir-mode):
17265 Don't call expand-file-name on default-directory.
17267 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
17269 * speedbar.el (speedbar-item-delete):
17270 * calc/calc-prog.el (calc-kbd-if):
17271 * language/hanja-util.el (hanja-init-load): Fix typos in messages.
17273 * epa.el (epa-key-list-mode-map):
17274 * hi-lock.el (hi-lock-menu): Fix typos in menus.
17276 * progmodes/hideshow.el (hs-allow-nesting): Reflow docstring.
17277 (hs-show-hook): Fix typo in docstring.
17279 2009-09-29 Glenn Morris <rgm@gnu.org>
17281 * emacs-lisp/check-declare.el (check-declare-locate): Remove pointless
17282 file-name-nondirectory call preventing location of cedet files.
17283 (check-declare-verify): Use literal search rather than re-search.
17284 Add basic defmethod and defclass, and define-overloadable-function.
17286 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
17287 Use tramp-compat-file-attributes rather than nonexistent
17288 tramp-compat-handle-file-attributes.
17290 * Makefile.in (lisptagsfiles4): New.
17291 (AUTOGENEL): Add cedet loaddefs files.
17292 (TAGS, TAGS-LISP): Use $lisptagsfiles4.
17293 (update-elclist, compile-always, backup-compiled-files)
17294 (bootstrap-clean): Add yet another directory level.
17295 (update-elclist): Use LC_COLLATE rather than COLLATE.
17296 (ELCFILES): Update, via `make update-elclist'.
17298 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
17300 * makefile.w32-in (WINS_CEDET, WINS_BASIC, WINS_SUBDIR): New macros.
17301 (WINS_ALMOST): Set from WINS_BASIC and WINS_CEDET.
17302 (update-subdirs-CMD): Use WINS_SUBDIR, not WINS_ALMOST.
17304 2009-09-28 Andreas Schwab <schwab@linux-m68k.org>
17306 * Makefile.in (lisptagsfiles3): Define.
17307 (TAGS, TAGS-LISP): Use it.
17308 (update-elclist): Add third directory level to look for elc files.
17309 (compile-always): Likewise.
17310 (backup-compiled-files): Likewise.
17311 (bootstrap-clean): Likewise.
17312 (ELCFILES): Update.
17314 2009-09-28 Chong Yidong <cyd@stupidchicken.com>
17316 * Makefile.in (ELCFILES): Add CEDET files.
17318 2009-09-28 Michael Albinus <michael.albinus@gmx.de>
17320 * Makefile.in (ELCFILES): Add net/tramp-imap.elc.
17322 * net/tramp.el (top): Require tramp-imap.
17324 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
17325 Use `tramp-compat-handle-file-attributes'.
17327 2009-09-28 Teodor Zlatanov <tzz@lifelogs.com>
17329 * net/tramp-imap.el: New package.
17331 2009-09-28 Eric Ludlam <zappo@gnu.org>
17333 * emacs-lisp/chart.el:
17334 * emacs-lisp/eieio-base.el:
17335 * emacs-lisp/eieio-comp.el:
17336 * emacs-lisp/eieio-custom.el:
17337 * emacs-lisp/eieio-datadebug.el:
17338 * emacs-lisp/eieio-opt.el:
17339 * emacs-lisp/eieio-speedbar.el:
17340 * emacs-lisp/eieio.el: New files.
17342 2009-09-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
17344 * whitespace.el (whitespace-trailing-regexp)
17345 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
17348 2009-09-27 Chong Yidong <cyd@stupidchicken.com>
17350 * menu-bar.el: Remove menu-bar-ediff-misc-menu from the Tools
17353 * ediff-hook.el: Move menu-bar-ediff-misc-menu into
17354 menu-bar-ediff-menu.
17356 * emacs-lisp/lisp-mode.el: Add doc-string-elt property to
17357 define-overloadable-function.
17359 * progmodes/autoconf.el: Provide autoconf as well, so that this
17360 file can be `require'd.
17362 * emacs-lisp/cl-macs.el (deftype): Add to cl-loaddefs.
17364 * emacs-lisp/autoload.el (generated-autoload-feature)
17365 (generated-autoload-load-name): New vars.
17366 (autoload-rubric, autoload-generate-file-autoloads): Use them.
17367 (make-autoload): Recognize define-overloadable-function and
17368 defclass forms (for EIEIO).
17370 * Makefile.in (update-subdirs): Exclude cedet directory.
17372 2009-09-27 Adrian Robert <Adrian.B.Robert@gmail.com>
17374 * term/ns-win.el: Don't set the region face background. (Bug#4381)
17376 * faces.el: Default light-background background for region face to
17377 ns_selection_color under NS.
17379 2009-09-27 Teodor Zlatanov <tzz@lifelogs.com>
17381 * net/imap-hash.el: New library, see NEWS.
17383 * Makefile.in (ELCFILES): Add imap-hash.el.
17385 2009-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
17387 * help.el (help-for-help-internal): Don't purecopy the text (bug#4560).
17388 * isearch.el (isearch-help-for-help-internal): Purecopy the second arg.
17389 * help-macro.el (make-help-screen): Avoid using an ambiguous function
17390 definition where the docstring could be taken for the return value.
17392 2009-09-26 Glenn Morris <rgm@gnu.org>
17394 * mail/rmailmm.el (rmail-mime-show-images, rmail-mime-bulk-handler):
17395 Add option to only show images below a certain size.
17396 (rmail-mime-multipart-handler): Remove unnecessary save-match-data and
17397 save-excursion calls.
17399 2009-09-26 Eli Zaretskii <eliz@gnu.org>
17401 * makefile.w32-in (WINS_ALMOST): Add cedet (with its
17402 subdirectories) and eieio.
17404 2009-09-26 Alan Mackenzie <acm@muc.de>
17406 * progmodes/cc-engine.el (c-beginning-of-statement-1):
17407 Correct buggy bracketing. (Bug#4289)
17409 * progmodes/cc-langs.el (c-nonlabel-token-key): Allow quoted
17410 character constants (as case labels). (Bug#4289)
17412 2009-09-25 Juri Linkov <juri@jurta.org>
17414 * files.el (safe-local-eval-forms): Allow time-stamp in
17415 before-save-hook (Bug#4554).
17417 2009-09-25 Drew Adams <drew.adams@oracle.com>
17419 * menu-bar.el (list-buffers-directory): Doc fix.
17421 2009-09-25 Stefan Monnier <monnier@iro.umontreal.ca>
17423 * log-edit.el (log-edit-changelog-entries): Avoid inf-loops.
17424 Try and avoid copying twice the same paragraph.
17425 (log-edit-changelog-paragraph, log-edit-changelog-subparagraph):
17426 Remove save-excursion.
17427 (log-edit-changelog-entry): Do it here instead.
17429 2009-09-25 Juanma Barranquero <lekktu@gmail.com>
17431 * bs.el (bs--get-file-name): Use `list-buffers-directory'
17432 when available, instead of hardcoding mode names. Doc fix.
17434 * menu-bar.el (list-buffers-directory): Add docstring.
17435 Make automatically buffer-local.
17437 * dired.el (dired-mode):
17438 * files.el (cd-absolute):
17439 * pcvs.el (cvs-temp-buffer):
17440 * pcvs-util.el (cvs-get-buffer-create):
17441 * shell.el (shell-mode):
17442 * vc-dir.el (vc-dir-mode):
17443 Don't make `list-buffers-directory' buffer local.
17445 2009-09-25 Devon Sean McCullough <emacs-hacker@Jovi.Net>
17447 * comint.el (comint-exec, comint-run, make-comint):
17448 Doc fixes (Bug#4542).
17450 2009-09-25 Glenn Morris <rgm@gnu.org>
17452 * mail/rmailmm.el (rmail-mime): New custom group.
17453 Move all defcustoms in this file into this group.
17454 (rmail-mime-media-type-handlers-alist): Revert previous change.
17455 (rmail-mime-show-images): New option.
17456 (rmail-mime-total-number-of-bulk-attachments): Remove variable and all
17457 references to it, since it wasn't actually used for anything.
17458 (rmail-mime-insert-image): New function.
17459 (rmail-mime-image): Use rmail-mime-insert-image.
17460 (rmail-mime-bulk-handler): Remove optional `image' argument, instead
17461 obey the value of `rmail-mime-show-images' option. Print the size of
17464 2009-09-25 David Engster <deng@randomsample.de>
17466 * progmodes/hideshow.el (hs-show-block): Run `hs-show-hook'. (Bug#4548)
17468 2009-09-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
17470 * whitespace.el: Does not highlight trailing spaces While point is
17471 at end of line. Does not highligt spaces at beginning of buffer
17472 while point is at beginning of buffer. Does not highlight spaces
17473 at end of buffer while point is at end of buffer. (Bug#4177)
17475 (whitespace-display-mappings): Adjust initialization.
17476 (whitespace-point, whitespace-font-lock-refontify): New vars.
17477 (whitespace-color-on, whitespace-color-off): Adjust code.
17478 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
17479 (whitespace-empty-at-eob-regexp, whitespace-space-regexp)
17480 (whitespace-tab-regexp, whitespace-post-command-hook): New funs.
17482 2009-09-24 Chong Yidong <cyd@stupidchicken.com>
17484 * nxml/nxml-mode.el: Alias xml-mode to nxml-mode.
17486 * textmodes/sgml-mode.el: Remove xml-mode alias.
17488 * files.el (auto-mode-alist, conf-mode-maybe)
17489 (magic-fallback-mode-alist): Revert 2009-09-18 and 2009-09-21 changes.
17491 2009-09-24 Alan Mackenzie <acm@muc.de>
17493 * progmodes/cc-cmds.el (c-scan-conditionals): A new function like
17494 c-forward-conditionals, but it doesn't move point and doesn't set
17496 (c-up-conditional, c-up-conditional-with-else, c-down-conditional)
17497 (c-down-conditional-with-else, c-backward-conditional)
17498 (c-forward-conditional): Refactor to use c-scan-conditionals.
17500 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
17502 * help-fns.el (help-downcase-arguments): New option, defaulting to nil.
17503 (help-default-arg-highlight): Remove.
17504 (help-highlight-arg): New function.
17505 (help-do-arg-highlight): Use it.
17506 Suggested by Drew Adams <drew.adams@oracle.com>. (Bug#4510, bug#4520)
17508 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
17510 * term.el (term-set-scroll-region, term-handle-ansi-escape):
17511 Undo last change, which didn't fix the problem and introduced others.
17513 2009-09-24 Nick Roberts <nickrob@snap.net.nz>
17515 * progmodes/gdb-mi.el: Don't require speedbar.
17516 (gdb-jsonify-buffer): Handle case where "=" is part of value string.
17518 2009-09-24 Glenn Morris <rgm@gnu.org>
17520 * calendar/diary-lib.el (diary-fancy-display): Always run the hook.
17522 * term/ns-win.el (ns-reg-to-script): Define for compiler.
17524 * mail/rmailmm.el (rmail-mime-multipart-handler): Accept the case where
17525 there is no newline after the final mime boundary. (Bug#4539)
17526 Move markers on insertion so that any buttons inserted don't end up in
17527 the next part of a multipart message.
17528 (rmail-mime-media-type-handlers-alist): Doc fix. Add image handler.
17529 (rmail-mime-bulk-handler): Optionally handle images.
17530 (rmail-mime-image): New button action.
17531 (rmail-mime-image-handler): New function.
17532 (rmail-mime-mode): New mode.
17533 (rmail-mime): Doc fix. Use rmail-mime-mode (for font-lock).
17535 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
17537 * minibuffer.el (minibuffer-force-complete): Cycle the list, rather
17538 than just dropping elements from it (bug#4504).
17540 * term.el (term-set-scroll-region): Don't move cursor any more.
17541 (term-handle-ansi-escape): Call term-goto here instead.
17542 Suggested by Ivan Kanis <apple@kanis.eu>.
17544 * term.el: Require CL.
17545 (term-ansi-reset): New function.
17546 (term-mode, term-emulate-terminal, term-handle-colors-array): Use it.
17547 (term-handle-colors-array): Simplify.
17549 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
17551 * allout.el (allout-overlay-interior-modification-handler)
17552 (allout-obtain-passphrase):
17553 * epa-file.el (epa-file-write-region):
17554 * ps-print.el (ps-begin-job):
17555 * vc-hooks.el (vc-toggle-read-only):
17556 * vc-rcs.el (vc-rcs-rollback):
17557 * vc-sccs.el (vc-sccs-rollback):
17558 * vc.el (vc-deduce-fileset, vc-next-action, vc-register-with)
17559 (vc-version-diff, vc-revert, vc-rollback):
17560 * wdired.el (wdired-check-kill-buffer):
17561 * emacs-lisp/authors.el (authors):
17562 * net/socks.el (socks-open-connection):
17563 * net/zeroconf.el (zeroconf-service-add-hook):
17564 * obsolete/vc-mcvs.el (vc-mcvs-register):
17565 * progmodes/gdb-mi.el (def-gdb-thread-buffer-gud-command)
17566 (gdb-select-frame):
17567 * progmodes/grep.el (lgrep, rgrep):
17568 * progmodes/idlw-help.el (idlwave-help-check-locations)
17569 (idlwave-help-html-link, idlwave-help-assistant-open-link):
17570 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
17571 * textmodes/reftex-toc.el (reftex-toc-promote-prepare)
17572 (reftex-toc-rename-label): Fix typos in error messages.
17574 * dired-aux.el (dired-do-shell-command): Reflow docstring.
17575 (dired-copy-how-to-fn): Doc fix.
17576 (dired-files-attributes, dired-read-shell-command):
17577 Fix typos in docstrings.
17579 * dired-x.el (dired-enable-local-variables, dired-filename-at-point)
17580 (dired-x-find-file-other-window): Reflow docstrings.
17581 (dired-omit-marker-char, dired-read-shell-command)
17582 (dired-x-submit-report): Fix typos in docstrings.
17584 * shell.el (shell-mode-hook):
17585 * view.el (View-scroll-line-forward):
17586 * progmodes/inf-lisp.el (inferior-lisp-mode-hook):
17587 Fix typos in docstrings.
17589 * net/dig.el (dig-invoke): Fix typo in docstring.
17590 (query-dig): Reflow docstring.
17592 * progmodes/idlwave.el (idlwave-create-user-catalog-file)
17593 (idlwave-quoted, idlwave-rinfo-max-source-lines): Doc fixes.
17594 (idlwave-abbrev-move, idlwave-auto-routine-info-updates)
17595 (idlwave-begin-block-reg, idlwave-begin-unit-reg)
17596 (idlwave-beginning-of-subprogram, idlwave-block-jump-out)
17597 (idlwave-block-match-regexp, idlwave-calculate-paren-indent)
17598 (idlwave-check-abbrev, idlwave-class-file-or-buffer)
17599 (idlwave-class-found-in, idlwave-complete, idlwave-complete-in-buffer)
17600 (idlwave-completion-map, idlwave-current-indent)
17601 (idlwave-custom-ampersand-surround, idlwave-customize)
17602 (idlwave-default-font-lock-items, idlwave-default-insert-timestamp)
17603 (idlwave-define-abbrev, idlwave-determine-class-special)
17604 (idlwave-do-action, idlwave-doc-header, idlwave-doc-modification)
17605 (idlwave-end-block-reg, idlwave-end-of-statement)
17606 (idlwave-end-of-statement0, idlwave-end-of-subprogram)
17607 (idlwave-end-unit-reg, idlwave-entry-find-keyword)
17608 (idlwave-explicit-class-listed, idlwave-file-header)
17609 (idlwave-fill-paragraph, idlwave-find-class-definition)
17610 (idlwave-fix-keywords, idlwave-hang-indent-regexp, idlwave-hard-tab)
17611 (idlwave-idlwave_routine_info-compiled, idlwave-in-comment)
17612 (idlwave-in-quote, idlwave-indent-action-table)
17613 (idlwave-indent-expand-table, idlwave-indent-line)
17614 (idlwave-indent-subprogram, idlwave-indent-to-open-paren)
17615 (idlwave-is-comment-line, idlwave-is-comment-or-empty-line)
17616 (idlwave-is-continuation-line, idlwave-is-pointer-dereference)
17617 (idlwave-kill-autoloaded-buffers, idlwave-lib-p, idlwave-look-at)
17618 (idlwave-make-tags, idlwave-mode, idlwave-mode-abbrev-table)
17619 (idlwave-mouse-active-rinfo, idlwave-newline, idlwave-no-change-comment)
17620 (idlwave-outlawed-buffers, idlwave-popup-select)
17621 (idlwave-previous-statement, idlwave-rescan-catalog-directories)
17622 (idlwave-routine-entry-compare, idlwave-routine-info.pro)
17623 (idlwave-scan-all-buffers-for-routine-info, idlwave-scan-class-info)
17624 (idlwave-shell-automatic-start, idlwave-shell-explicit-file-name)
17625 (idlwave-show-begin, idlwave-split-line, idlwave-split-link-target)
17626 (idlwave-statement-type, idlwave-struct-skip)
17627 (idlwave-substitute-link-target, idlwave-toggle-comment-region)
17628 (idlwave-update-current-buffer-info, idlwave-use-library-catalogs)
17629 (idlwave-what-module-find-class): Fix typos in docstrings.
17630 (idlwave-all-method-classes, idlwave-calc-hanging-indent)
17631 (idlwave-calculate-cont-indent, idlwave-expand-equal)
17632 (idlwave-find-module, idlwave-find-structure-definition)
17633 (idlwave-init-rinfo-when-idle-after, idlwave-insert-source-location)
17634 (idlwave-list-load-path-shadows, idlwave-next-statement)
17635 (idlwave-routine-entry-compare-twins, idlwave-routine-info)
17636 (idlwave-routines, idlwave-sintern-rinfo-list, idlwave-statement-match)
17637 (idlwave-template): Reflow docstrings.
17639 * progmodes/idlw-shell.el (idlwave-shell-syntax-error): Doc fix.
17640 (idlwave-shell-batch-command, idlwave-shell-bp-alist)
17641 (idlwave-shell-bp-get, idlwave-shell-bp-overlays)
17642 (idlwave-shell-bp-query, idlwave-shell-break-here, idlwave-shell-buffer)
17643 (idlwave-shell-display-line, idlwave-shell-display-wframe)
17644 (idlwave-shell-electric-debug-mode, idlwave-shell-examine-select)
17645 (idlwave-shell-file-name-chars, idlwave-shell-filter-bp)
17646 (idlwave-shell-goto-frame, idlwave-shell-halt-messages-re)
17647 (idlwave-shell-highlighting-and-faces, idlwave-shell-idl-wframe)
17648 (idlwave-shell-mode-hook, idlwave-shell-mode-line-info)
17649 (idlwave-shell-mode-map, idlwave-shell-module-source-filter)
17650 (idlwave-shell-mouse-help, idlwave-shell-mouse-print)
17651 (idlwave-shell-pc-frame, idlwave-shell-pending-commands)
17652 (idlwave-shell-print, idlwave-shell-quit, idlwave-shell-redisplay)
17653 (idlwave-shell-scan-for-state, idlwave-shell-send-command)
17654 (idlwave-shell-sentinel-hook, idlwave-shell-separate-examine-output)
17655 (idlwave-shell-shell-command, idlwave-shell-sources-alist)
17656 (idlwave-shell-sources-bp, idlwave-shell-sources-filter)
17657 (idlwave-shell-step, idlwave-shell-use-breakpoint-glyph)
17658 (idlwave-toolbar-add-everywhere, idlwave-toolbar-toggle):
17659 Fix typos in docstrings.
17660 (idlwave-shell-bp, idlwave-shell-clear-current-bp)
17661 (idlwave-shell-hide-output, idlwave-shell-mode)
17662 (idlwave-shell-run-region, idlwave-shell-set-bp-in-module):
17665 * textmodes/bibtex.el (bibtex-sort-entry-class): Fix group name.
17667 2009-09-24 Ivan Kanis <apple@kanis.eu>
17669 * term.el (term-bold-attribute): New var.
17670 (term-handle-colors-array): Use it.
17672 2009-09-23 Nick Roberts <nickrob@snap.net.nz>
17674 * progmodes/gdb-mi.el (gdb-version): New variable.
17675 (gdb-non-stop-handler): Set gdb-version.
17676 (gdb-gud-context-command, gdb-current-context-command, gdb-stopped):
17677 Condition "--thread" option on gdb-version.
17678 (gdb-invalidate-threads): Remove unused argument.
17680 2009-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
17682 * textmodes/flyspell.el (sgml-mode-flyspell-verify): Pass limit args
17683 to looking-back to avoid ridiculous slow down in large files (bug#4511).
17685 2009-09-23 Glenn Morris <rgm@gnu.org>
17687 * mail/rmail.el (rmail-reply): Don't try to add a References header when
17688 replying to mail without References or Message-Id. (Bug#4525)
17690 2009-09-23 Adrian Robert <Adrian.B.Robert@gmail.com>
17692 * term/ns-win.el (ns-reg-to-script): New variable.
17694 2009-09-23 Daiki Ueno <ueno@unixuser.org>
17696 * epg.el (epg-wait-for-status): Preserve existing 'error results.
17698 2009-09-22 Sam Steingold <sds@gnu.org>
17700 * vc-hg.el (vc-hg-print-log): Fix shortlog arg passing.
17701 (vc-hg-outgoing, vc-hg-incoming): Bump okstatus in `vc-hg-command'
17702 to 1 because hg returns status 1 when nothing is found.
17703 Bind `vc-short-log' for the sake of `vc-hg-log-view-mode'.
17705 2009-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
17707 * textmodes/fill.el: Convert to utf-8 encoding.
17708 (fill-french-nobreak-p): Remove redundant » and « inherited from our
17711 * add-log.el (change-log-fill-forward-paragraph): New function.
17712 (change-log-mode): Use it so fill-region DTRT.
17713 Set fill-indent-according-to-mode here rather than in
17714 change-log-fill-paragraph.
17715 (change-log-fill-paragraph): Remove.
17717 2009-09-22 Juanma Barranquero <lekktu@gmail.com>
17719 * info.el (Info-try-follow-nearest-node): Use the URL extracted by
17720 `Info-get-token', instead of `browse-url-url-at-point'. (Bug#4508)
17722 2009-09-22 Glenn Morris <rgm@gnu.org>
17724 * calendar/calendar.el (calendar-mode-map): Make mouse-1 and 3 clicks on
17725 the scroll-bar scroll the calendar window rather than the buffer.
17727 * calendar/cal-menu.el (cal-menu-scroll-menu): Add a sub-section with
17728 commands that move point (as opposed to scrolling).
17730 * emulation/tpu-edt.el (tpu-copy-keyfile): Fix condition-case handler.
17732 * emacs-lisp/elint.el (elint): New custom group.
17733 (elint-log-buffer): Make it a defcustom.
17734 (elint-scan-preloaded, elint-ignored-warnings)
17735 (elint-directory-skip-re): New options.
17736 (elint-builtin-variables): Doc fix.
17737 (elint-preloaded-env): New variable.
17738 (elint-unknown-builtin-args): Add an entry for encode-time.
17739 (elint-extra-errors): Make it a variable rather than a constant.
17740 (elint-preloaded-skip-re): New constant.
17741 (elint-directory): Skip files matching elint-directory-skip-re.
17742 (elint-features): New variable, local to linted buffers.
17743 (elint-update-env): Initialize elint-features. Possibly add
17744 elint-preloaded-env to the buffer's environment.
17745 (elint-get-top-forms): Bind elint-current-pos, for log messages.
17747 (elint-init-form): New function, extracted from elint-init-env.
17748 Make non-list forms a warning rather than an error.
17749 Add the mode-map for define-derived-mode. Handle define-minor-mode,
17750 easy-menu-define, put that adds an error-condition, and provide.
17751 When requiring cl, also require cl-macs. Really require cl, to handle
17752 some cl macros. Store required libraries in the list elint-features,
17753 so as not to re-load them. Treat cc-require like require.
17754 (elint-init-env): Call elint-init-form to do the work.
17755 Handle eval-and-compile and such like.
17756 (elint-add-required-env): Do not clear messages.
17757 (elint-special-forms): Add handlers for function, defalias, if, when,
17759 (elint-form): Add optional argument to ignore elint-special-forms,
17760 useful to prevent recursive calls from handlers. Doc fix.
17761 Respect elint-ignored-warnings.
17762 (elint-form): Respect elint-ignored-warnings.
17763 (elint-bound-variable, elint-bound-function): New variables.
17764 (elint-unbound-variable): Respect elint-bound-variable.
17765 (elint-get-args): Respect elint-bound-function.
17766 (elint-check-cond-form): Add some simple handling for (f)boundp and
17768 (elint-check-defalias-form): New handler.
17769 (elint-check-let-form): Make an empty let a warning rather than an
17771 (elint-check-setq-form): Make an empty setq a warning rather than an
17772 error. Respect elint-ignored-warnings.
17773 (elint-check-defvar-form): Accept null doc-strings.
17774 (elint-check-conditional-form): New handler. Does some simple-minded
17775 checking of featurep and (f)boundp tests.
17776 (elint-put-function-args): New function.
17777 (elint-initialize): Use elint-scan-doc-file rather than
17778 elint-find-builtin-variables. Use elint-put-function-args.
17779 Possibly scan preloaded-file-list.
17780 (elint-scan-doc-file): Rename from elint-find-builtin-variables and
17781 extend to handle functions as well.
17783 2009-09-22 Lennart Borgman <lennart.borgman@gmail.com>
17785 * linum.el (linum-delete-overlays, linum-update-window):
17786 Do not modify the right margin. (Bug#3971)
17788 2009-09-21 Chong Yidong <cyd@stupidchicken.com>
17790 * files.el (conf-mode-maybe, magic-fallback-mode-alist):
17791 Use nxml-mode instead of xml-mode.
17793 2009-09-21 Kevin Ryde <user42@zip.com.au>
17795 * net/dig.el: Add "Keywords: comm", as per net-utils.el. (Bug#4501)
17797 2009-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
17799 * net/dig.el (dig-mode): Use define-derived-mode.
17801 2009-09-20 Dan Nicolaescu <dann@ics.uci.edu>
17803 * vc-dispatcher.el (vc-do-command): Return the process object in
17804 the asynchronous case. Use when instead of if. Do not run
17805 vc-exec-after to display a message if not enabled. (Bug#4463)
17807 * vc-git.el (vc-git-dir-extra-headers): Add keymap and mouse-face
17808 properties to the stash strings.
17809 (vc-git-stash-list): Return a list of strings.
17810 (vc-git-stash-get-at-point, vc-git-stash-delete-at-point)
17811 (vc-git-stash-show-at-point): New functions.
17812 (vc-git-stash-map): New keymap.
17814 * register.el (ctl-x-r-map): Define the keys here instead of
17817 2009-09-20 Thierry Volpiatto <thierry.volpiatto@gmail.com> (tiny change)
17819 * bookmark.el (bookmark-write-file): Avoid calling `pp' with large
17820 list, to workaround performance problem (bug#4485).
17822 2009-09-20 Nick Roberts <nickrob@snap.net.nz>
17824 * progmodes/gud.el (gud-sentinel): Revert indavertant change.
17826 2009-09-20 Daiki Ueno <ueno@unixuser.org>
17828 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
17829 Document that this option is not recommended to use.
17831 2009-09-19 Glenn Morris <rgm@gnu.org>
17833 * calc/calc-graph.el (calc-graph-lookup): Avoid assignment to free
17836 * calc/calc-alg.el (var):
17837 * calc/calcalg2.el (var): Define for compiler.
17839 2009-09-19 Chong Yidong <cyd@stupidchicken.com>
17841 * emacs-lisp/advice.el (ad-get-argument, ad-set-argument):
17842 Doc fix (Bug#3932).
17844 * subr.el (baud-rate): Remove long-obsolete function (Bug#4372).
17846 * time-stamp.el (time-stamp-month-dd-yyyy)
17847 (time-stamp-dd/mm/yyyy, time-stamp-mon-dd-yyyy)
17848 (time-stamp-dd-mon-yy, time-stamp-yy/mm/dd)
17849 (time-stamp-yyyy/mm/dd, time-stamp-yyyy-mm-dd)
17850 (time-stamp-yymmdd, time-stamp-hh:mm:ss, time-stamp-hhmm):
17851 Remove functions that have been obsolete since 1995 (Bug#4436).
17853 * progmodes/sh-script.el (sh-learn-buffer-indent): Pop to the
17854 indent buffer only if called interactively (Bug#4452).
17856 2009-09-19 Juanma Barranquero <lekktu@gmail.com>
17857 Eli Zaretskii <eliz@gnu.org>
17859 This fixes bug#4197 (merged to bug#865, though not identical).
17860 * server.el (server-auth-dir): Add docstring note about FAT32.
17861 (server-ensure-safe-dir): Accept FAT32 directories as "safe",
17862 but warn against using them.
17864 2009-09-19 Nick Roberts <nickrob@snap.net.nz>
17866 * progmodes/gdb-mi.el (gdb-var-update-handler-1): Include case of
17867 older GDB where there is no has_more field.
17869 2009-09-19 Glenn Morris <rgm@gnu.org>
17871 * pgg-pgp.el (pgg-pgp-encrypt-region): Add missing mapconcat separator.
17873 2009-09-18 Chong Yidong <cyd@stupidchicken.com>
17875 * files.el (auto-mode-alist): Change default for XML files to nXML
17878 2009-09-18 Juanma Barranquero <lekktu@gmail.com>
17880 * server.el (server-ensure-safe-dir): Pass 'integer
17881 to `file-attributes', as suggested.
17883 2009-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
17885 * dired-aux.el (dired-query-alist): Remove spurious backslash.
17886 (dired-query): Use read-key.
17888 2009-09-18 Adrian Robert <Adrian.B.Robert@gmail.com>
17890 * cus-start.el (ns-use-qd-smoothing): Remove.
17892 2009-09-18 Glenn Morris <rgm@gnu.org>
17894 * allout.el (top-level): Remove unnecessary progn.
17896 * progmodes/js.el (js-end-of-defun): Remove malformed and unneeded let.
17898 * emacs-lisp/derived.el (define-derived-mode): Fix paren typo in
17899 definition of abbrev table.
17901 * speedbar.el (speedbar-track-mouse):
17902 * net/eudc-bob.el (eudc-bob-pipe-object-to-external-program):
17903 * net/eudc.el (eudc-expand-inline):
17904 * net/newst-backend.el (newsticker--cache-read-feed):
17905 * nxml/nxml-outln.el (nxml-end-of-heading): Fix typos in
17906 condition-case handlers.
17908 2009-09-18 Nick Roberts <nickrob@snap.net.nz>
17910 * progmodes/gdb-mi.el (gdb-frame-address): New variable.
17911 (gdb-var-list): Add an element for has_more field.
17912 (gdb-non-stop-handler): Enable pretty printing for STL containers.
17913 (gdb-var-create-handler, gdb-var-list-children-handler-1)
17914 (gdb-var-update-handler-1): Parse output of dynamic variable
17915 objects (STL containers).
17916 (gdb-var-delete-1): Pass var1 as an explicit second argument.
17917 (gdb-get-field): Delete alias. Use bindat-get-field directly.
17919 * progmodes/gud.el (gud-speedbar-item-info): Adjust for change to
17921 (gud-speedbar-buttons): Make node expandable if expression "has more"
17924 2009-09-17 Juanma Barranquero <lekktu@gmail.com>
17926 * startup.el (emacs-quick-startup): Remove variable and all uses.
17927 (command-line): Set `inhibit-x-resources' instead.
17928 (command-line-1): Use `inhibit-x-resources' instead.
17930 2009-09-17 Chong Yidong <cyd@stupidchicken.com>
17932 * subr.el: Fix last change to avoid using the `unless' macro,
17933 which breaks bootstrapping.
17935 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
17937 * subr.el (push, pop, dolist, dotimes, declare): Don't overwrite CL's
17938 extended definitions, in case we reload subr.el after having
17940 (eval-next-after-load): Mark as obsolete.
17942 2009-09-17 Juri Linkov <juri@jurta.org>
17944 * menu-bar.el (menu-bar-search-menu, menu-bar-edit-menu)
17945 (menu-bar-options-menu, menu-bar-showhide-fringe-menu)
17946 (menu-bar-showhide-menu, menu-bar-tools-menu)
17947 (menu-bar-describe-menu, menu-bar-help-menu)
17948 (minibuffer-local-completion-map, minibuffer-local-map):
17951 2009-09-17 Glenn Morris <rgm@gnu.org>
17953 * emacs-lisp/bytecomp.el (byte-compile-form): Always check the function
17954 arguments, whether or not it has a handler.
17956 * ansi-color.el (ansi-color-get-face-1): Fix typo in handler.
17958 * simple.el (hard-newline): Give it a doc-string.
17960 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
17961 (lisp-mode-syntax-table): Give them doc-strings.
17963 2009-09-17 Dan Nicolaescu <dann@ics.uci.edu>
17965 * menu-bar.el (menu-bar-file-menu, menu-bar-file-menu)
17966 (menu-bar-i-search-menu, menu-bar-edit-menu, menu-bar-custom-menu)
17967 (menu-bar-options-menu, menu-bar-showhide-menu)
17968 (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
17969 (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
17970 (menu-bar-options-menu, menu-bar-line-wrapping-menu)
17971 (menu-bar-options-menu, menu-bar-tools-menu)
17972 (menu-bar-describe-menu, menu-bar-search-documentation-menu)
17973 (menu-bar-help-menu):
17974 (menu-bar-make-mm-toggle, menu-bar-make-toggle): Purecopy the
17977 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu)
17978 (menu-bar-epatch-menu, menu-bar-ediff-misc-menu): Add purecopy
17979 calls for the menu names and :help.
17981 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
17983 * mouse.el (minor-mode-menu-from-indicator): Pay attention
17984 to :minor-mode-function (bug#4455).
17986 2009-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
17988 * startup.el (command-line): Initialize the window-system after
17989 processing the command-line.
17991 * textmodes/page.el (what-page): Make sure we don't inf-loop if
17992 page-delimiter matches the empty string.
17994 2009-09-16 Glenn Morris <rgm@gnu.org>
17996 * emacs-lisp/bytecomp.el (byte-compile-not-obsolete-vars): Rename from
17997 byte-compile-not-obsolete-var. It's a list now.
17998 (byte-compile-not-obsolete-funcs): New variable.
17999 (byte-compile-warn-obsolete): Don't warn about functions if they are in
18000 byte-compile-not-obsolete-funcs.
18001 (byte-compile-variable-ref, byte-compile-defvar): Update for
18002 byte-compile-not-obsolete-vars name-change and list nature.
18003 (byte-compile-maybe-guarded): Suppress warnings about obsolete functions
18004 and variables behind (f)boundp tests.
18005 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Set if bound.
18007 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
18009 * vc-git.el (vc-git-log-view-mode): Undo inadvertent change.
18011 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
18013 * Makefile.in (compile-onefile): Use byte-compile-refresh-preloaded.
18014 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded):
18017 2009-09-15 Stephen Eglen <stephen@gnu.org>
18019 * iswitchb.el (iswitchb-read-buffer): When selecting a match from
18020 the virtual-buffers, use the name of the buffer specified by
18021 find-file-noselect, as the match may be a symlink. (This was a
18022 problem if the target and the symlink had different names.)
18024 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
18026 * custom.el (custom-initialize-default, custom-initialize-set): CSE.
18028 * desktop.el (desktop-path): Check user-emacs-directory.
18030 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): New function.
18032 * loadup.el: Use after-load-functions to GC after loading each file.
18033 Remove the explicit GC calls that used to be sprinkled around.
18035 * subr.el (after-load-functions): New hook.
18036 (do-after-load-evaluation): Run it. Use string-match-p to detect
18037 `obsolete' packages, rather than painfully extracting the relevant
18040 2009-09-15 Glenn Morris <rgm@gnu.org>
18042 * apropos.el (apropos-documentation-check-doc-file): Avoid assignment to
18043 free variable `doc'.
18045 * dired.el (dired-mode-map): Add menu entry for async shell command.
18047 * help-fns.el (find-lisp-object-file-name): When looking for autoloaded
18048 variables, also consider the .elc files, since the .el files are
18049 normally gzipped (subsequent code locates the .el.gz from the .elc).
18051 * calc/calc-prog.el (arglist): Define for compiler.
18053 * calendar/diary-lib.el (diary-display-function): Change the default to
18055 (body): Define for compiler.
18057 * emacs-lisp/bytecomp.el (byte-compile-keep-pending)
18058 (byte-compile-file-form, byte-compile-lambda)
18059 (byte-compile-top-level-body, byte-compile-form)
18060 (byte-compile-variable-ref, byte-compile-setq)
18061 (byte-compile-setq-default, byte-compile-body)
18062 (byte-compile-body-do-effect, byte-compile-and, byte-compile-or)
18063 (batch-byte-compile): Give some more local variables with common names
18064 a "bytecomp-" prefix to avoid masking warnings about free variables.
18066 * startup.el (command-line-1): Give local variables with common names a
18067 distinguishing prefix, so as not to hide free variable warnings during
18070 * mail/rmailmm.el (rmail-mime-save): If file exists, don't try to be
18071 clever and add a suffix to make a unique name, just let the user decide
18072 whether or not to overwrite it. If the input is a directory, write the
18073 default filename to that directory. (Bug#4388)
18074 (rmail-mime-bulk-handler): Ensure the save button's 'directory property
18075 is a filename-as-a-directory.
18077 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
18079 * textmodes/page.el (what-page): Don't move to beginning of line.
18080 See <87tyz5ajte.fsf@x2.delysid.org> in emacs-devel.
18082 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
18084 * vc-git.el (vc-git-dir-extra-headers): Show the remote location.
18086 2009-09-14 Dan Nicolaescu <dann@ics.uci.edu>
18088 * bindings.el (mode-line-mode-menu): Add purecopy calls for :help.
18089 * help.el (help-for-help-internal): Add purecopy calls for text.
18091 * vc.el (top): print-log method now takes an optional SHORTLOG
18092 argument. Add a new method: root.
18093 (vc-root-diff, vc-print-root-log): New functions.
18094 (vc-log-short-style): New variable.
18095 (vc-print-log-internal): Add support for showing short logs.
18097 * vc-hooks.el (vc-prefix-map, vc-menu-map): Add bindings for
18098 vc-print-root-log and vc-print-root-diff.
18100 * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-print-log):
18101 * vc-git.el (vc-git-print-log, vc-git-log-view-mode):
18102 * vc-hg.el (vc-hg-print-log, vc-hg-log-view-mode): Add support for
18105 * vc-cvs.el (vc-cvs-print-log):
18106 * vc-mtn.el (vc-mtn-print-log):
18107 * vc-rcs.el (vc-rcs-print-log):
18108 * vc-sccs.el (vc-sccs-print-log):
18109 * vc-svn.el (vc-svn-print-log): Add an optional argument shortlog
18110 that is ignored for now.
18112 * vc-mtn.el (vc-mtn-annotate-command):
18113 * vc-svn.el (vc-svn-annotate-command): Run asynchronously.
18115 2009-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
18117 * simple.el: Add mapping for backspace/delete/clear/tab/escape/return
18118 to function-key-map, and give them ascii-character property.
18119 * term/x-win.el (x-alternatives-map):
18120 * term/ns-win.el (ns-alternatives-map):
18121 * term/internal.el (msdos-key-remapping-map):
18122 * w32-fns.el (x-alternatives-map): Remove redundant mappings.
18124 2009-09-14 Glenn Morris <rgm@gnu.org>
18126 * emacs-lisp/elint.el (elint-add-required-env): Revert to not using
18127 temp-buffers (2009-09-12).
18129 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
18131 * textmodes/ispell.el (ispell-command-loop): Improve last fix, using
18132 the new read-key function.
18134 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
18136 * term/x-win.el (x-menu-bar-open): Only call accelerate-menu if it
18137 is defined (Bug#4405).
18139 2009-09-13 Vincent Belaïche <vincent.belaiche@gmail.com>
18141 * recentf.el (recentf-cleanup): Use a hash table to find
18142 duplicates (Bug#4407).
18144 2009-09-13 Per Starbäck <per@starback.se> (tiny change)
18146 * textmodes/ispell.el (ispell-command-loop): Convert keys such as
18147 kp-0 to ascii equivalents (Bug#4325).
18149 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
18151 * progmodes/cperl-mode.el (cperl-init-faces): Revert last change.
18153 * eshell/em-hist.el:
18154 * eshell/em-dirs.el (eshell-complete-user-reference):
18155 Declare pcomplete functions and variables to avoid compiler warnings.
18157 2009-09-13 Leo <sdl.web@gmail.com> (tiny change)
18159 * eshell/em-script.el (eshell-login-script, eshell-rc-script):
18160 * eshell/em-dirs.el (eshell-last-dir-ring-file-name):
18161 * eshell/em-alias.el (eshell-aliases-file):
18162 * eshell/em-hist.el (eshell-history-file-name):
18163 Use expand-file-name instead of concat to make file names (Bug#4308).
18165 2009-09-13 Glenn Morris <rgm@gnu.org>
18167 * ediff-merg.el (ediff-do-merge):
18168 * filesets.el (filesets-run-cmd):
18169 * emulation/ws-mode.el (ws-show-markers, ws-move-block, ws-delete-block)
18170 (ws-find-marker-0, ws-find-marker-1, ws-find-marker-2, ws-find-marker-3)
18171 (ws-find-marker-4, ws-find-marker-5, ws-find-marker-6, ws-find-marker-7)
18172 (ws-find-marker-8, ws-find-marker-9, ws-goto-block-begin)
18173 (ws-goto-block-end, ws-goto-last-cursorposition, ws-copy-block):
18174 Replace empty `let's with `progn'.
18176 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
18178 * mail/sendmail.el (send-mail-function):
18179 * tooltip.el (tooltip-mode):
18180 * simple.el (transient-mark-mode):
18181 * rfn-eshadow.el (file-name-shadow-mode):
18182 * frame.el (blink-cursor-mode):
18183 * font-core.el (global-font-lock-mode):
18184 * files.el (temporary-file-directory)
18185 (small-temporary-file-directory, auto-save-file-name-transforms):
18186 * epa-hook.el (auto-encryption-mode):
18187 * composite.el (global-auto-composition-mode):
18188 Use custom-initialize-delay.
18189 * startup.el (command-line): Don't explicitly call
18190 custom-reevaluate-setting for all the above vars.
18191 * custom.el (custom-initialize-safe-set)
18192 (custom-initialize-safe-default): Delete.
18194 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
18196 * term/x-win.el (x-initialize-window-system):
18197 * term/w32-win.el (w32-initialize-window-system):
18198 * term/ns-win.el (ns-initialize-window-system): Don't call
18199 mouse-wheel-mode since it's enabled globally by default already.
18201 * mwheel.el (mouse-wheel-mode): Make sure the new defvar doesn't
18202 actually define the variable, but only silences the byte-compiler.
18203 (mouse-wheel-change-button): Check whether mouse-wheel-mode is bound
18204 before looking it up.
18205 (mouse-wheel-scroll-amount): Also reset the bindings if this value
18208 2009-09-12 Glenn Morris <rgm@gnu.org>
18210 * emacs-lisp/elint.el (elint-file): Make max-lisp-eval-depth at least
18212 (elint-add-required-env): Don't beep on error.
18213 (elint-forms): In case of error, return ENV unchanged.
18214 (elint-init-env): Skip non-list forms.
18215 (elint-log): Handle unknown file positions.
18217 2009-09-12 Daiki Ueno <ueno@unixuser.org>
18219 * epg.el (epg-make-context): Add autoload cookie.
18220 (epg-list-keys, epg-cancel, epg-start-decrypt, epg-decrypt-file)
18221 (epg-decrypt-string, epg-start-verify, epg-verify-file)
18222 (epg-verify-string, epg-start-sign, epg-sign-file)
18223 (epg-sign-string, epg-start-encrypt, epg-encrypt-file)
18224 (epg-encrypt-string, epg-start-export-keys)
18225 (epg-export-keys-to-file, epg-export-keys-to-string)
18226 (epg-start-import-keys, epg-import-keys-from-file)
18227 (epg-import-keys-from-string, epg-start-receive-keys)
18228 (epg-receive-keys, epg-import-keys-from-server)
18229 (epg-start-delete-keys, epg-delete-keys, epg-start-sign-keys)
18230 (epg-sign-keys, epg-start-generate-key)
18231 (epg-generate-key-from-file, epg-generate-key-from-string):
18232 Remove autoload cookie.
18234 2009-09-12 Eli Zaretskii <eliz@gnu.org>
18236 * dos-fns.el (dos-reevaluate-defcustoms): Comment out the
18237 reevaluation of trash-directory.
18239 * mwheel.el: Fix last change.
18240 (mouse-wheel-mode): New defvar.
18241 (mouse-wheel-mode): Remove autoload cookie.
18243 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
18245 * mwheel.el (mwheel-installed-bindings): New var.
18246 (mouse-wheel-mode): Use it, so as to make sure we really remove all
18247 the bindings we set last time. Use custom-initialize-delay.
18248 * loadup.el: Load mwheel after term/*-win.el.
18249 * startup.el (command-line): Don't reevaluate mouse-wheel-down-event
18250 and mouse-wheel-up-event now that their first evaluation is done
18251 sufficiently late to be correct.
18253 * startup.el (tutorial-directory): Make it a defcustom.
18254 Use custom-initialize-delay rather than eval-at-startup to set it.
18255 * image.el (image-load-path): Make it a defcustom.
18256 Use custom-initialize-delay rather than eval-at-startup to set it.
18257 * subr.el (eval-at-startup): Remove.
18258 * font-lock.el (lisp-font-lock-keywords-2): Remove eval-at-startup.
18260 * subr.el (do-after-load-evaluation): Warn the user after loading an
18263 2009-09-12 Glenn Morris <rgm@gnu.org>
18265 * proced.el (proced-mark-alt): Remove alias.
18266 (proced-mode-map): Remove proced-mark-alt.
18268 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries to
18269 Elint file and directory. Remove initialization entry.
18271 * emacs-lisp/elint.el (elint-file, elint-directory): New autoloaded
18273 (elint-current-buffer): Set mode-line-process.
18274 (elint-init-env): Handle define-derived-mode.
18275 Fix declare-function with unspecified arglist. Guard against odd
18276 defalias statements (eg iso-insert's 8859-1-map).
18277 (elint-add-required-env): Use a temp buffer.
18278 (elint-form): Just print the function/macro name, not the whole form.
18279 Return env unchanged if we fail to parse a macro.
18280 (elint-forms): Guard against parse errors.
18281 (elint-output): New function, to handle batch mode.
18282 (elint-log-message): Add optional argument. Use elint-output.
18283 (elint-set-mode-line): New function.
18285 2009-09-12 Andreas Politz <politza@fh-trier.de> (tiny change)
18287 * emacs-lisp/elp.el (elp-not-profilable): Add more
18288 functions (Bug#4233).
18290 2009-09-12 Chong Yidong <cyd@stupidchicken.com>
18292 * emulation/pc-select.el (scroll-down-mark, scroll-down-nomark)
18293 (scroll-up-mark, scroll-up-nomark): Doc fix (Bug#4190).
18295 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
18297 * progmodes/gdb-mi.el (gdb-var-list-children-regexp): Delete.
18298 (gdb-var-list-children): Use json parsing.
18300 2009-09-11 Daniel Colascione <dan.colascione@gmail.com>
18302 * progmodes/js.el (js--proper-indentation): Handle the case where
18303 char-before is null. Reported by Deniz Dogan.
18305 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
18307 * emacs-lisp/cl-macs.el (help-add-fundoc-usage): Declare.
18309 2009-09-11 Daiki Ueno <ueno@unixuser.org>
18311 * epg.el (epg-cipher-algorithm-alist): Add CAMELLIA.
18312 (epg-digest-algorithm-alist): Add SHA224.
18313 (epg-context-set-passphrase-callback)
18314 (epg-context-set-progress-callback): Add description about
18317 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
18319 * custom.el (custom-delayed-init-variables): New var.
18320 (custom-initialize-delay): New function.
18321 * startup.el (command-line): "Re"evaluate all vars in
18322 custom-delayed-init-variables. Don't reevaluate abbrev-file-name
18323 explicitly any more.
18324 * abbrev.el (abbrev-file-name): Use custom-initialize-delay
18325 to avoid creating a ~/.emacs.d at build-time (bug#4347).
18327 * proced.el (proced-mode-map): Prefer "m" for proced-mark (bug#4362).
18329 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
18331 * progmodes/gdb-mi.el (gdb-var-update-regexp): Delete.
18332 (gdb-var-update-handler): Use json parsing.
18334 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
18336 * vc-annotate.el (vc-annotate): Use the main file's coding-system to
18337 decode annotated text, regardless of language environment. (Bug#2741)
18339 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
18341 * Makefile.in (autoloads): Make rmail.el writable as well.
18343 2009-09-11 Glenn Morris <rgm@gnu.org>
18345 * dired-aux.el, dired-x.el: Put autoloads in dired.el rather than
18347 * dired.el: Regenerate with extracted autoloads.
18348 * Makefile.in (autoloads): Make dired.el writable.
18350 * ibuf-ext.el: Put autoloads in ibuffer.el rather than loaddefs.el.
18351 * ibuffer.el: Regenerate with extracted autoloads.
18352 * Makefile.in (autoloads): Make ibuffer.el writable.
18354 * paths.el (prune-directory-list, gnus-nntp-service, rmail-file-name):
18355 * version.el (emacs-copyright, emacs-major-version)
18356 (emacs-minor-version): Reformat doc-strings for make-docfile.
18358 * apropos.el (apropos-documentation-check-doc-file): Exclude unbound
18359 functions and variables, since they must be stuff specific to some other
18361 (apropos-print): Make mouse-click message less specific about button.
18363 * emacs-lisp/cl-macs.el (define-compiler-macro): Add a property
18364 that records where a macro was defined.
18365 * help-fns.el (describe-function-1): Mention if a function has a
18367 * help-mode.el (help-function-cmacro): New button.
18369 * locate.el (top-level): Always require dired.
18370 (locate-mode-map): Initialize inside the defvar.
18372 * net/ange-ftp.el (dired-compress-file): Declare.
18373 (ange-ftp-dired-compress-file): Add doc string.
18375 * term/ns-win.el (x-display-name, x-setup-function-keys):
18376 Unify doc-strings with X versions.
18378 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
18380 * emulation/crisp.el (crisp-mode-map): Move initialization
18382 (crisp-mode): Use define-minor-mode.
18384 * progmodes/xscheme.el (xscheme-evaluation-commands):
18385 Put a :advertised-binding property rather than using
18386 advertised-xscheme-send-previous-expression.
18387 (advertised-xscheme-send-previous-expression): Declare obsolete.
18388 * emulation/crisp.el (crisp-mode-map): Use `undo' rather than
18390 (crisp-mode): Add corresponding bindings to
18391 undo's :advertised-binding instead.
18392 * dired.el (dired-mode-map): Put a :advertised-binding property rather
18393 than using dired-advertised-find-file.
18394 (dired-advertised-find-file):
18395 * simple.el (advertised-undo):
18396 * wid-edit.el (advertised-widget-backward): Declare obsolete.
18397 (widget-keymap): Put a :advertised-binding property rather
18398 than using advertised-widget-backward.
18399 * bindings.el (ctl-x-map): Put a :advertised-binding property rather
18400 than using advertised-undo.
18401 * tutorial.el (tutorial--default-keys): Adjust accordingly.
18403 2009-09-10 Simon South <ssouth@slowcomputing.org>
18405 * progmodes/delphi.el (delphi-tab): Indent region when Transient
18406 Mark mode is enabled and region is active; otherwise indent or
18407 insert TAB as usual.
18408 (delphi-mode): Update description of TAB-key binding.
18410 2009-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
18412 * subr.el (define-key-rebound-commands): Mark obsolete.
18413 * startup.el (precompute-menubar-bindings): Remove.
18414 (normal-top-level): Remove obsolete code that tried to precompute
18416 * loadup.el (define-key-rebound-commands): Don't bother fiddling with
18417 define-key-rebound-commands and precompute-menubar-bindings.
18419 2009-09-10 Teodor Zlatanov <tzz@lifelogs.com>
18421 * net/imap.el (imap-interactive-login): Better messages.
18422 (imap-open): Fix bug with renamed buffer on reconnect.
18423 (imap-authenticate): Add buffer-local imap-last-authenticator variable
18424 for easier debugging and cleaner code. On successful (guessed based on
18425 server capabilities) secondary authentication, set imap-state
18427 (imap-last-authenticator): Define imap-last-authenticator as a variable
18430 2009-09-10 Glenn Morris <rgm@gnu.org>
18432 * pcvs.el (cvs-mode-find-file): Use forward-line rather than goto-line.
18434 * emacs-lisp/bytecomp.el (byte-compile-function-environment): Doc fix.
18435 (byte-compile-file-form-autoload): Don't warn about unknown functions
18436 where the autoload statement comes after the use.
18437 (with-no-warnings): Give it a byte-hunk-handler like than of progn, so
18438 that any handlers inside the body (eg require) are in turn respected.
18440 * emacs-lisp/byte-opt.el (degrees-to-radians): Mark as free from side
18443 * emacs-lisp/derived.el (define-derived-mode): Give the mode's map,
18444 and syntax and abbrev tables basic docs, if they don't have any.
18446 * emacs-lisp/easy-mmode.el (easy-mmode-defmap): Add doc-string.
18448 * international/mule-cmds.el (top-level): Require cl when compiling.
18449 (view-hello-file): Use default-value rather than
18450 default-enable-multibyte-characters.
18452 * progmodes/fortran.el: Move all safe and risky properties into the
18455 * mail/rmailedit.el, mail/rmailkwd.el, mail/rmailmm.el:
18456 * mail/rmailmsc.el, mail/rmailsort.el, mail/rmailsum.el:
18457 * mail/undigest.el:
18458 Put autoloads in rmail.el rather than loaddefs.el.
18459 * mail/rmail.el: Regenerate with extracted autoloads.
18461 * mail/rmailsum.el (rmail-user-mail-address-regexp): Move to rmail.el.
18462 * mail/rmail.el (rmail-user-mail-address-regexp): Move from rmailsum.el.
18464 2009-09-10 Nick Roberts <nickrob@snap.net.nz>
18466 Reported in thread for Bug#4375.
18467 * progmodes/gud.el (gud-tooltip-print-command): Use MI command
18468 "-data-evaluate-expression" instead of print.
18469 * progmodes/gdb-mi.el (gdb-tooltip-print-1): Ditto.
18470 (gdb-tooltip-print): Parse output from above MI command.
18471 (gdb): Revert 2009-08-11 change. User should detach inferior
18474 Remove the word "separate" from IO functions as inferior
18475 output is now never displayed in the GUD buffer.
18477 2009-09-10 Juanma Barranquero <lekktu@gmail.com>
18479 * startup.el (command-line-normalize-file-name): On Windows and
18480 MS-DOS, also convert C:\/ and C:\\ (two backslashes) into C:/.
18482 2009-09-10 Juri Linkov <juri@jurta.org>
18484 * isearch.el (isearch-text-char-description): Propertize escape
18485 character sequences with the `escape-glyph' face. (Bug#4344)
18487 * simple.el (shell-command): Set asynchronous process filter to
18488 `comint-output-filter'. (Bug#4343)
18490 * progmodes/grep.el (grep-template): Add "<X>" to docstring.
18491 (grep-files-aliases): Add "all". Move "el" and "ch" to the top of
18492 the list. Move "asm" to the bottom.
18493 (grep-find-ignored-directories): Add `choice' with nil value
18494 to empty the list easily.
18495 (grep-find-ignored-files): New option.
18496 (grep-files-history): Set to nil by default instead of '("ch" "el").
18497 (grep-compute-defaults): Add "<X>" to `grep-template'.
18498 (grep-read-files): Bind new local variables `default-alias' and
18499 `default-extension'. Use a list of default values for the file prompt.
18500 (lgrep): Add `--exclude=' command line options composed from
18501 `grep-find-ignored-files'.
18502 (rgrep): Add `-name' command line options composed from
18503 `grep-find-ignored-files'. (Bug#4301)
18505 2009-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
18507 * diff-mode.el (diff-hunk-kill): Fix the search of the next hunk
18510 2009-09-09 Katsumi Yamaoka <yamaoka@jpl.org>
18512 * calendar/time-date.el (autoload):
18513 Expand define-obsolete-function-alias into defalias and make-obsolete
18514 for old Emacsen that Gnus supports.
18515 (with-no-warnings): Define it for old Emacsen.
18516 (time-to-seconds): Don't use (featurep 'xemacs) to check if float-time
18518 (time-to-number-of-days): Don't use (featurep 'xemacs) to check if
18519 float-time is available; suppress compile warning for time-to-seconds.
18521 2009-09-09 Teodor Zlatanov <tzz@lifelogs.com>
18523 * net/imap.el (imap-message-map): Docstring fix.
18525 2009-09-09 Glenn Morris <rgm@gnu.org>
18527 * ffap.el (ffap-file-at-point): Handle absolute (non-remote) files with
18528 line numbers too. (Bug#4374)
18530 2009-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
18532 * smerge-mode.el (smerge-remove-props, smerge-refine):
18533 Use with-silent-modifications (bug#4342).
18535 * subr.el (with-silent-modifications): New macro.
18537 2009-09-07 Juanma Barranquero <lekktu@gmail.com>
18539 * files.el (top-level): Require `cl' when compiling.
18541 2009-09-07 Glenn Morris <rgm@gnu.org>
18543 * files.el (auto-mode-alist): Use delphi-mode for .dpr files.
18545 * proced.el (proced-mode-map): Bind "d" to proced-mark-alt.
18546 (proced-mark-alt): New alias, to control the advertised key. (Bug#4362)
18548 2009-09-06 Nick Roberts <nickrob@snap.net.nz>
18550 * vc-git.el (vc-git-annotate-command): Use separator to parse
18551 arguments correctly.
18553 2009-09-06 Eli Zaretskii <eliz@gnu.org>
18555 * proced.el (proced-mode): Doc fix.
18557 2009-09-06 Julian Scheid <julians37@gmail.com> (tiny change)
18559 * net/tramp.el (tramp-perl-file-attributes): Print "nil" when
18561 (tramp-do-file-attributes-with-ls): Check for file existence at
18563 (tramp-do-file-attributes-with-stat): Likewise.
18564 (tramp-convert-file-attributes): Return nil when attr is nil.
18566 2009-09-05 Glenn Morris <rgm@gnu.org>
18568 * calendar/diary-lib.el (diary-entry): Add help-echo and follow-link
18569 properties to this button.
18570 (diary-fancy-display): Don't extend the button to the final newline.
18571 (diary-fancy-display-mode): Continue to define "q" as a local key.
18573 * calendar/cal-china.el (holiday-chinese): Make it slightly more
18576 * font-lock.el (lisp-font-lock-keywords-2): Add letf.
18578 * emacs-lisp/bytecomp.el (emacs-lisp-file-regexp): Doc fix.
18579 (byte-compile-dest-file-function): New option.
18580 (byte-compile-dest-file): Doc fix.
18581 Obey byte-compile-dest-file-function.
18582 (byte-compile-cl-file-p): New function.
18583 (byte-compile-eval): Only suppress noruntime warnings about cl functions
18584 if the cl-functions warning is enabled. Use byte-compile-cl-file-p.
18585 (byte-compile-eval): Check for non-nil byte-compile-cl-functions rather
18586 than for file being previously loaded.
18587 (byte-compile-find-cl-functions): Use byte-compile-cl-file-p.
18588 (byte-compile-file-form-require): Handle the case where requiring a file
18589 indirectly causes CL to be loaded.
18591 2009-09-05 Karl Fogel <kfogel@red-bean.com>
18593 * files.el (find-alternate-file): Run `kill-buffer-hook' manually
18594 before killing the old buffer, since by the time `kill-buffer' is
18595 run so many buffer variables have been set to nil that it may not
18596 behave as expected. (Bug#4061)
18598 2009-09-05 Karl Fogel <kfogel@red-bean.com>
18600 * files.el (find-alternate-file): If the old buffer is modified
18601 and visiting a file, behave similarly to `kill-buffer' when
18602 killing it, thus reverting to the pre-1.878 behavior; see
18603 http://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00101.html
18604 for discussion. Also, consult `buffer-file-name' as a variable
18605 not as a function, for consistency with the rest of the code.
18607 2009-09-04 Michael Albinus <michael.albinus@gmx.de>
18609 * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
18610 also when adding a new directory.
18612 * net/tramp-compat.el (tramp-compat-line-beginning-position):
18615 2009-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
18617 * files.el (locate-file-completion-table): Make it provide boundary
18618 information, so partial-completion works better.
18620 2009-09-04 Leo <sdl.web@gmail.com> (tiny change)
18622 * mail/footnote.el (Footnote-text-under-cursor):
18623 Check footnote-text-marker-alist before using it (bug#4324).
18625 2009-09-04 Glenn Morris <rgm@gnu.org>
18627 * play/5x5.el, play/decipher.el, play/gametree.el, play/handwrite.el:
18628 * play/hanoi.el, play/landmark.el, play/mpuz.el, play/pong.el:
18629 * play/solitaire.el, play/tetris.el:
18630 Remove leading * from defcustom and defface docs.
18632 * calendar/diary-lib.el (diary-fancy-display): Only switch modes if
18634 (diary-fancy-overriding-map): New variable.
18635 (diary-fancy-display-mode): Set minor-mode-overriding-map-alist.
18638 * vc-rcs.el (vc-rcs-annotate-command): Use forward-line rather than
18641 2009-09-03 Glenn Morris <rgm@gnu.org>
18643 * arc-mode.el (archive-mode):
18644 * dos-fns.el (set-default-process-coding-system):
18645 * man.el (Man-getpage-in-background):
18646 * menu-bar.el (menu-bar-describe-menu):
18647 * server.el (server-process-filter):
18648 * startup.el (command-line):
18649 * tar-mode.el (tar-header-block-tokenize, tar-extract):
18650 * w32-fns.el (set-default-process-coding-system):
18651 * x-dnd.el (x-dnd-handle-file-name):
18652 * international/mule-cmds.el (mule-menu-keymap)
18653 (set-default-coding-systems, language-info-alist, set-language-info)
18654 (set-language-environment, standard-display-european-internal)
18655 (set-locale-environment):
18656 * international/mule-diag.el (mule-diag):
18657 * mail/emacsbug.el (report-emacs-bug):
18658 * mail/rmail.el (rmail-mode):
18659 * mail/sendmail.el (mail-setup):
18660 Use default-value rather than default-enable-multibyte-characters.
18662 * progmodes/f90.el: Move all safe properties into the defcustoms.
18663 (f90-get-correct-indent, f90-indent-region, f90-abbrev-start): Use memq.
18665 * calendar/appt.el (appt-check):
18666 * calendar/diary-lib.el (diary-set-header, diary-live-p)
18667 (diary-check-diary-file, diary-list-entries)
18668 (diary-include-other-diary-files, diary-simple-display)
18669 (diary-fancy-display, diary-print-entries)
18670 (diary-mark-included-diary-files, diary-make-entry):
18671 Don't call substitute-in-file-name on diary-file.
18673 2009-09-03 Eduard Wiebe <usenet@pusto.de>
18674 Stefan Monnier <monnier@iro.umontreal.ca>
18676 * mail/footnote.el (footnote-prefix): Make it a defcustom.
18677 (footnote-mode-map): Move initialization into the declaration.
18678 (footnote-minor-mode-map): Define it rather than changing global-map.
18679 (footnote-mode): Use define-minor-mode.
18681 2009-09-02 Michael Albinus <michael.albinus@gmx.de>
18683 * net/tramp.el (tramp-handle-file-attributes-with-ls)
18684 (tramp-do-file-attributes-with-perl)
18685 (tramp-do-file-attributes-with-stat): Rename from
18686 `tramp-handle-file-attributes-with-*'.
18687 (tramp-handle-file-attributes): Use them.
18688 (tramp-do-directory-files-and-attributes-with-perl)
18689 (tramp-do-directory-files-and-attributes-with-stat): Rename from
18690 `tramp-handle-directory-files-and-attributes-with-*'.
18691 (tramp-handle-directory-files-and-attributes): Use them.
18692 (tramp-method-out-of-band-p): Additional parameter SIZE.
18693 (tramp-do-copy-or-rename-file, tramp-handle-file-local-copy)
18694 (tramp-handle-write-region): Use it.
18695 (tramp-handle-insert-directory): Use "?\ " for compatibility reasons.
18696 (tramp-handle-vc-registered): Check, whether the first run did
18697 return files to be tested.
18698 (tramp-advice-make-auto-save-file-name): Do not call directly
18699 `tramp-handle-make-auto-save-file-name', because this would bypass
18700 the locking mechanism.
18702 * net/tramp-compat.el (top): Autoload used functions from tramp.el.
18703 (file-remote-p, process-file, start-file-process, set-file-times)
18704 (tramp-compat-file-attributes): Compatibility functions shall not
18705 call directly `tramp-handle-*', because this would bypass the
18707 (tramp-compat-number-sequence): New defun.
18709 2009-09-02 Glenn Morris <rgm@gnu.org>
18711 * calendar/time-date.el (time-to-seconds): In Emacs, make it an obsolete
18712 alias for float-time.
18713 (time-to-number-of-days): In Emacs, use float-time.
18714 * net/newst-backend.el (time-add): Suppress warnings from compat
18716 * time.el (emacs-uptime, emacs-init-time):
18717 * net/rcirc.el (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE):
18718 Use float-time rather than time-to-seconds.
18720 * minibuffer.el (completion-initials-expand): Fix typo.
18722 * faces.el (modeline, modeline-inactive, modeline-highlight)
18723 (modeline-buffer-id):
18724 * info.el (info-menu-5): Mark these face aliases as obsolete.
18726 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
18728 * progmodes/gdb-mi.el (gdb-current-context-command): Move the
18730 (gdb-gud-context-call): ... to here for pre GDB 7.0 when there is
18731 no "--thread" option.
18732 (gdb-stopped): Don't print "Switched to thread" message when it is
18735 2009-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
18737 * minibuffer.el (completion-try-completion)
18738 (completion-all-completions): Remove ill-defined (and
18739 mistakenly installed and luckily never used nor documented)
18740 `completion-styles' property.
18741 (completion-initials-expand, completion-initials-all-completions)
18742 (completion-initials-try-completion): New functions.
18743 (completion-styles-alist): Add doc to each entry.
18744 Add new `initials' entry.
18746 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
18748 * progmodes/gdb-mi.el (gdb-var-create-handler): Remove redundant
18749 MI command -var-evaluate-expression.
18750 (gdb-var-list-children-regexp): Update from regexp-1 in gdb-ui.el
18751 and tweak for case of string child.
18752 (gdb-var-list-children-handler): Update from handler-1 in gdb-ui.el.
18754 2009-09-01 Glenn Morris <rgm@gnu.org>
18756 * add-log.el (change-log-date-face, change-log-name-face)
18757 (change-log-email-face, change-log-file-face, change-log-list-face)
18758 (change-log-conditionals-face, change-log-function-face)
18759 (change-log-acknowledgement-face):
18760 * cus-edit.el (custom-invalid-face, custom-rogue-face)
18761 (custom-modified-face, custom-set-face, custom-changed-face)
18762 (custom-saved-face, custom-button-face, custom-button-pressed-face)
18763 (custom-documentation-face, custom-state-face, custom-comment-face)
18764 (custom-comment-tag-face, custom-variable-tag-face)
18765 (custom-variable-button-face, custom-face-tag-face)
18766 (custom-group-tag-face-1, custom-group-tag-face):
18767 * diff-mode.el (diff-header-face, diff-file-header-face)
18768 (diff-index-face, diff-hunk-header-face, diff-removed-face)
18769 (diff-added-face, diff-changed-face, diff-function-face)
18770 (diff-context-face, diff-nonexistent-face):
18771 * generic-x.el (show-tabs-tab-face, show-tabs-space-face):
18772 * hilit-chg.el (highlight-changes-face, highlight-changes-delete-face):
18773 * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face)
18774 (Info-title-4-face):
18775 * isearch.el (isearch-lazy-highlight-face):
18776 * log-view.el (log-view-file-face, log-view-message-face):
18777 * paren.el (show-paren-match-face, show-paren-mismatch-face):
18778 * pcvs-info.el (cvs-header-face, cvs-filename-face, cvs-unknown-face)
18779 (cvs-handled-face, cvs-need-action-face, cvs-marked-face)
18781 * smerge-mode.el (smerge-mine-face, smerge-other-face)
18782 (smerge-base-face, smerge-markers-face):
18783 * wid-edit.el (widget-documentation-face, widget-button-face)
18784 (widget-field-face, widget-single-line-field-face)
18785 (widget-inactive-face, widget-button-pressed-face):
18786 * woman.el (woman-italic-face, woman-bold-face, woman-unknown-face)
18787 (woman-addition-face):
18788 * eshell/em-ls.el (eshell-ls-directory-face, eshell-ls-symlink-face)
18789 (eshell-ls-executable-face, eshell-ls-readonly-face)
18790 (eshell-ls-unreadable-face, eshell-ls-special-face)
18791 (eshell-ls-missing-face, eshell-ls-archive-face)
18792 (eshell-ls-backup-face, eshell-ls-product-face)
18793 (eshell-ls-clutter-face):
18794 * eshell/em-prompt.el (eshell-prompt-face):
18795 * eshell/esh-test.el (eshell-test-ok-face, eshell-test-failed-face):
18796 * obsolete/old-whitespace.el (whitespace-highlight-face):
18797 * progmodes/antlr-mode.el (antlr-font-lock-default-face)
18798 (antlr-font-lock-keyword-face, antlr-font-lock-syntax-face)
18799 (antlr-font-lock-ruledef-face, antlr-font-lock-tokendef-face)
18800 (antlr-font-lock-ruleref-face, antlr-font-lock-tokenref-face)
18801 (antlr-font-lock-literal-face):
18802 * progmodes/ebrowse.el (ebrowse-tree-mark-face)
18803 (ebrowse-root-class-face, ebrowse-file-name-face)
18804 (ebrowse-default-face, ebrowse-member-attribute-face)
18805 (ebrowse-member-class-face, ebrowse-progress-face):
18806 * progmodes/make-mode.el (makefile-space-face):
18807 * progmodes/sh-script.el (sh-heredoc-face):
18808 * textmodes/flyspell.el (flyspell-incorrect-face)
18809 (flyspell-duplicate-face):
18810 * textmodes/tex-mode.el (tex-math-face, tex-verbatim-face):
18811 * textmodes/texinfo.el (texinfo-heading-face):
18812 Mark face aliases with "-face" suffix as obsolete.
18814 * mail/feedmail.el (file-name-buffer-file-type-alist): Define for
18817 * net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-image-menu)
18818 (eudc-bob-sound-menu): Use defvar rather than defconst, since
18819 easy-menu-define wants to modify these.
18821 * net/net-utils.el (nslookup): Use make-comint rather than comint-run.
18823 * net/browse-url.el (browse-url-file-url):
18824 * term/internal.el (dos-codepage-setup):
18825 Use default-value rather than default-enable-multibyte-characters.
18827 * progmodes/etags.el (etags-goto-tag-location):
18828 * progmodes/flymake.el (flymake-highlight-line)
18829 (flymake-goto-file-and-line, flymake-goto-line):
18830 * progmodes/gdb-mi.el (gdb-mouse-until, gdb-mouse-jump)
18831 (gdb-goto-breakpoint):
18832 * progmodes/idlw-shell.el (idlwave-shell-move-to-bp):
18833 * progmodes/python.el (python-find-function)
18834 (python-pdbtrack-track-stack-file):
18835 * progmodes/verilog-mode.el (verilog-surelint-off):
18836 * term/ns-win.el (ns-open-file-select-line):
18837 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
18838 Use forward-line rather than goto-line.
18840 * textmodes/reftex-cite.el (reftex-offer-bib-menu):
18841 * textmodes/reftex-index.el (reftex-display-index):
18842 * textmodes/reftex-ref.el (reftex-offer-label-menu):
18843 * textmodes/reftex-toc.el (reftex-toc):
18844 Remove unnecessary bindings of default-major-mode (all are followed by
18845 major-mode check and possible mode switch).
18847 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
18849 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
18850 Handle watchpoints (bug#4282).
18851 (def-gdb-thread-buffer-command): Enable thread to be selected by
18852 clicking without selecting threads buffer first.
18853 (gdb-current-context-command): Use selected frame so that "up",
18854 "down" etc work in the GUD buffer.
18855 (gdb-update): Find selected frame before rendering stack buffer.
18856 (gdb-frame-handler): Set gdb-frame-number for stack buffer.
18858 2009-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
18860 * progmodes/sym-comp.el (displayed-completions): Remove.
18861 (symbol-complete): Use minibuffer-complete.
18863 2009-08-31 Glenn Morris <rgm@gnu.org>
18865 * emacs-lisp/byte-run.el (define-obsolete-face-alias): New macro.
18867 * apropos.el (apropos-symbols-internal):
18868 Handle (obsolete) face aliases.
18870 * faces.el (describe-face): Adjust the output format to be more like
18871 describe-variable, and to mention (obsolete) face aliases.
18872 Adjust the whitespace so that help-setup-xref works.
18874 * calendar/calendar.el (calendar-today-face, diary-face, holiday-face):
18875 * calendar/diary-lib.el (diary-button-face):
18876 Mark these face aliases as obsolete.
18878 * calendar/calendar.el (calendar-today): Doc fix.
18880 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
18882 * progmodes/gdb-mi.el (gdb-control-all-threads)
18883 (gdb-control-current-thread): Force tool bar update.
18884 (gdb-non-stop-handler): New function.
18885 (gdb-init-1): Use it to test if non-stop mode is supported.
18886 Remove unused gdbmi buffer type.
18888 2009-08-30 Kevin Rodgers <kevin.d.rodgers@gmail.com>
18890 * progmodes/grep.el (grep-read-files): Strip trailing <N> from
18891 buffer names not visiting a file (e.g. cloned buffers). (Bug#4210)
18893 2009-08-30 Nick Roberts <nickrob@snap.net.nz>
18895 * comint.el (comint-exec-1): Check command is non-null first.
18896 Part of gdb-mi.el change (2009-08-28).
18898 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
18900 * emacs-lisp/lisp.el (lisp-complete-symbol): Use minibuffer-complete.
18902 2009-08-30 Juanma Barranquero <lekktu@gmail.com>
18904 * subr.el (do-after-load-evaluation): Fix last change: use `mapc'
18905 instead of `dolist' to avoid a recursive require when bootstrapping.
18907 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
18909 * emacs-lisp/lisp.el (field-complete): Use minibuffer-complete.
18911 * net/ldap.el (ldap-search-internal): Use with-current-buffer and push.
18913 * net/imap.el (imap-send-command): Simplify.
18914 (imap-wait-for-tag): point-max -> buffer-size.
18916 * net/ange-ftp.el (internal-ange-ftp-mode): Use define-derived-mode.
18918 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't use symbol-value
18919 with constant argument.
18921 * emacs-lisp/debug.el (debugger-setup-buffer): Make it multibyte.
18923 * emacs-lisp/cl.el (cl-macro-environment): Don't define it here.
18925 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag):
18926 Change default, since most of our files don't have a history.
18927 (checkdoc-display-status-buffer): Don't use a hidden buffer to show to
18930 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
18933 * calc/calc.el: Improve commenting convention.
18934 (calc-digit-map, toplevel): Simplify.
18936 * comint.el (comint-insert-input): Be careful to only set point if we
18937 don't delegate to some other command.
18939 * proced.el (proced-signal-list): Make it an alist.
18940 (proced-grammar-alist): Capitalize names.
18941 (proced-send-signal): Use a non-hidden buffer (since it's displayed).
18942 Disable undo manually and make it read-only.
18943 Use completion-annotate-function.
18945 * minibuffer.el (minibuffer-message): If the current buffer is not
18946 a minibuffer, insert the message in the echo area rather than at the
18948 (completion-annotate-function): New variable.
18949 (minibuffer-completion-help): Use it.
18950 (completion--embedded-envvar-table): Environment vars are
18951 always case-sensitive.
18953 2009-08-30 Glenn Morris <rgm@gnu.org>
18955 * progmodes/fortran.el (fortran-start-prog-re): New constant, extracted
18956 from fortran-current-defun.
18957 (fortran-beginning-of-subprogram): Be more precise about finding the
18958 start, to avoid an infinite loop in end-of-defun. (Bug#4259)
18959 (fortran-end-of-subprogram): Simplify.
18960 (fortran-current-defun): Use fortran-start-prog-re.
18962 2009-08-29 Juanma Barranquero <lekktu@gmail.com>
18964 * subr.el (do-after-load-evaluation): Simplify.
18966 2009-08-29 Dan Nicolaescu <dann@ics.uci.edu>
18968 * vc.el (vc-print-log-internal): Move RCS/CVS specific code ...
18970 * vc-rcs.el (vc-rcs-print-log-cleanup): ... here. New function.
18971 (vc-rcs-print-log): Use it.
18973 * vc-cvs.el (vc-cvs-print-log): Use vc-rcs-print-log-cleanup.
18975 2009-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
18977 * paths.el (abbrev-file-name): Move to abbrev.el.
18978 * abbrev.el (abbrev-file-name): Move from paths.el.
18979 Obey user-emacs-directory.
18980 * calc/calc.el (calc-settings-file): Don't autoload and instead obey
18981 user-emacs-directory.
18982 * dos-fns.el (dos-reevaluate-defcustoms): Don't reevaluate
18983 abbrev-file-name and calc-settings-file any more.
18984 * startup.el (command-line): Recompute abbrev-file-name and
18985 abbreviated-home-dir.
18986 (normal-no-mouse-startup-screen): Improve the generic code and get rid
18987 of the special code for when C-h bindings haven't been changed.
18988 (display-startup-echo-area-message): Use with-current-buffer.
18989 (command-line-1): Use a list of strings, rather than a list of lists
18990 of strings for longopts.
18992 * files.el (get-free-disk-space): Use / for default-directory.
18994 * textmodes/ispell.el (ispell-accept-output, ispell-command-loop):
18995 Use with-current-buffer.
18997 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p):
18998 Recognize immutable variables like most-positive-fixnum.
18999 (byte-compile-setq-default): Check and warn if trying to assign
19000 to an immutable variable, or a non-variable.
19002 * progmodes/cc-vars.el (c-comment-continuation-stars):
19003 * progmodes/cc-engine.el (c-looking-at-bos):
19004 * progmodes/cc-cmds.el (c-toggle-auto-state)
19005 (c-forward-into-nomenclature, c-backward-into-nomenclature)
19006 (c-comment-line-break-function): Add version of obsolescence.
19008 2009-08-28 Juri Linkov <juri@jurta.org>
19010 * files.el (magic-fallback-mode-alist): Add ZIP magic number
19011 associated with `archive-mode'.
19013 * image.el (image-type-header-regexps): Use only JPEG magic number
19014 to determine JPEG images, and don't use `image-jpeg-p' because
19015 Emacs can display non-JFIF non-Exif JPEG images.
19017 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
19019 * arc-mode.el (archive-mode):
19020 * emacs-lisp/re-builder.el (re-builder-unload-function):
19021 Protect against the default value of `major-mode' being nil.
19023 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
19025 * international/ucs-normalize.el (ucs-normalize-sort, quick-check-list):
19026 Fix typos in docstrings.
19028 * progmodes/js.el (js--macro-decl-re): Doc fix.
19029 (js--plain-method-re, js--split-name): Refloc docstring.
19030 (js--class-styles, js--make-merged-item, js--splice-into-items):
19031 Fix typos in docstrings; reflow docstrings.
19032 (js--maybe-join, js--function-prologue-beginning, js--flush-caches)
19033 (js--variable-decl-matcher, js--inside-pitem-p)
19034 (js--parse-state-at-point, js--get-all-known-symbols)
19035 (js--symbol-history, js-find-symbol, js--js-references)
19036 (js--moz-interactor, js--js-encode-value, js--read-tab):
19037 Fix typos in docstrings.
19039 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
19041 * textmodes/reftex.el (reftex-get-file-buffer-force):
19042 * progmodes/verilog-mode.el (verilog-batch-execute-func):
19043 * emulation/viper.el (viper-go-away, viper-set-hooks):
19044 * emacs-lisp/re-builder.el (re-builder-unload-function):
19045 * emacs-lisp/bytecomp.el (byte-compile-file):
19046 * ses.el (ses-unload-function):
19047 * hexl.el (hexl-find-file):
19048 * files.el (normal-mode):
19049 * ehelp.el (with-electric-help):
19050 * autoinsert.el (auto-insert-alist):
19051 * arc-mode.el (archive-mode):
19052 Use (default-value 'major-mode) instead of default-major-mode.
19054 * textmodes/ispell.el (ispell-check-version, ispell-send-string):
19055 * international/mule.el (load-with-code-conversion):
19056 * emacs-lisp/debug.el (debug):
19057 * ediff-vers.el (ediff-rcs-get-output-buffer):
19058 * dired.el (dired-internal-noselect): Don't let-bind
19059 default-major-mode around code that doesn't use it.
19060 E.g. buffer creation via get-buffer-create doesn't use it.
19062 2009-08-28 Michael Albinus <michael.albinus@gmx.de>
19064 * net/tramp.el (all): Replace "'(lambda" by "(lambda".
19065 (tramp-handle-file-local-copy): Unset `file-name-handler-alist'
19066 when writing the temp file. Otherwise, epa-file gets confused.
19067 (tramp-register-file-name-handlers): Make it a defun. Move also
19068 `epa-file-handler' to the front of `file-name-handler-alist'.
19070 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
19072 * net/tramp.el (tramp-shell-prompt-pattern): Allow a prompt to
19073 start right after a ^M.
19074 (tramp-root-regexp, tramp-completion-file-name-regexp-unified)
19075 (tramp-completion-file-name-regexp-separate)
19076 (tramp-completion-file-name-regexp-url): Use \\` and \\'.
19077 (tramp-handle-file-attributes, tramp-set-file-uid-gid):
19078 Don't modify last-coding-system-used by accident.
19079 (tramp-completion-file-name-handler): Apply the checks here,
19080 instead during registration.
19081 (tramp-register-file-name-handlers): Rename from
19082 `tramp-register-file-name-handler'. Register both
19083 `tramp-file-name-handler' and `tramp-completion-file-name-handler'.
19084 (tramp-register-completion-file-name-handler): Remove. (Bug#4260)
19086 2009-08-28 Nick Roberts <nickrob@snap.net.nz>
19088 * progmodes/gdb-mi.el (gdb-use-separate-io-buffer):
19089 Remove variable ...
19090 (gdb-init-1, gdb-display-separate-io-buffer)
19091 (gdb-frame-separate-io-buffer, gdb-setup-windows): ... and
19093 (gdb-inferior-io-mode): Use make-comint-in-buffer.
19094 (gdb-inferior-filter): Use comint-output-filter to stop
19095 echoing and remove ^M characters.
19097 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
19099 * emulation/viper-init.el (viper-restore-cursor-type):
19100 * emulation/cua-base.el (cua--update-indications):
19101 Replace default-cursor-type with (default-value 'cursor-type).
19103 * mail/sendmail.el (mail-recover-1):
19104 * international/mule-diag.el (describe-current-coding-system-briefly)
19105 (describe-current-coding-system):
19106 * international/mule-cmds.el (select-safe-coding-system)
19107 (select-message-coding-system)
19108 (set-language-environment-coding-systems, set-locale-environment):
19109 * hexl.el (hexl-insert-multibyte-char):
19110 * dos-w32.el (find-buffer-file-type-coding-system):
19111 * simple.el (what-cursor-position):
19112 Replace uses of default-buffer-file-coding-system
19113 with (default-value 'buffer-file-coding-system).
19115 * emacs-lisp/edebug.el (edebug-display, edebug-outside-excursion):
19116 Replace uses of default-cursor-in-non-selected-windows
19117 with (default-value 'cursor-in-non-selected-windows).
19118 Use with-current-buffer.
19120 * mail/feedmail.el: Use CL macros.
19121 (feedmail-run-the-queue, feedmail-send-it-immediately):
19122 * dos-w32.el (find-buffer-file-type): Replace uses of
19123 default-buffer-file-type with (default-value 'buffer-file-type).
19125 2009-08-28 Glenn Morris <rgm@gnu.org>
19127 * calendar/diary-lib.el (diary-list-entries, diary-goto-entry)
19128 (diary-show-all-entries, diary-mark-entries, diary-make-entry):
19129 Use default-value of major-mode rather than default-major-mode.
19131 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
19133 * Makefile.in (update-elcfiles): Report left over elc files.
19135 * mail/mailalias.el (build-mail-aliases): Use with-temp-buffer,
19136 expand-file-name and with-current-buffer.
19137 (mail-get-names, mail-directory): Use with-current-buffer.
19139 * vc.el (vc-read-revision): New function.
19140 (vc-version-diff, vc-merge): Use it.
19142 2009-08-27 Sam Steingold <sds@gnu.org>
19144 * simple.el (kill-do-not-save-duplicates): New user option.
19145 (kill-new): When it is non-nil, and the new string is the same as
19146 the latest kill, set replace to t to avoid duplicates in kill-ring.
19148 2009-08-27 Julian Scheid <julians37@gmail.com> (tiny change)
19150 * net/tramp.el (tramp-handle-process-file): Do not flush all
19151 caches when `process-file-side-effects' is set.
19152 (tramp-handle-vc-registered): Use `tramp-get-file-exists-command'
19153 instead of `tramp-find-file-exists-command'.
19154 Unset `process-file-side-effects'.
19156 2009-08-27 Michael Albinus <michael.albinus@gmx.de>
19158 * net/tramp.el (tramp-methods): New method "rsyncc".
19159 (top): Add completion function for "rsyncc".
19160 (tramp-message-show-message): New defvar.
19161 (tramp-message, tramp-error): Use it.
19162 (tramp-do-copy-or-rename-file-directly): Extend check for direct
19164 (tramp-do-copy-or-rename-file-out-of-band): Handle new
19165 `tramp-methods' entry `copy-env' of "rsyncc".
19166 (tramp-vc-registered-read-file-names): New defconst.
19167 (tramp-vc-registered-file-names): New defvar.
19168 (tramp-handle-vc-registered): Implement optimization strategy.
19169 (tramp-run-real-handler): Add `tramp-vc-file-name-handler'.
19170 (tramp-vc-file-name-handler): New defun.
19171 (tramp-get-ls-command, tramp-get-test-command)
19172 (tramp-get-file-exists-command, tramp-get-remote-ln)
19173 (tramp-get-remote-perl, tramp-get-remote-stat)
19174 (tramp-get-remote-id): Remove superfluous `with-current-buffer'.
19176 * net/tramp-cache.el (top): Autoload `tramp-time-less-p'.
19177 (tramp-cache-inhibit-cache): Extend doc string. It allows also
19179 (tramp-get-file-property): Check for timestamps in
19180 `tramp-cache-inhibit-cache'.
19181 (tramp-set-file-property): Write timestamp.
19183 2009-08-27 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
19185 * language/japan-util.el (japanese-symbol-table): Add entries for
19188 * international/characters.el: Add category `j' to cp932-2-byte.
19190 2009-08-27 Kenichi Handa <handa@m17n.org>
19192 * international/fontset.el (build-default-fontset-data): New macro.
19193 (setup-default-fontset): Use build-default-fontset-data for CJK,
19194 tibetan, ethiopic, and ipa.
19196 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
19198 * cus-start.el (default-major-mode): Customize `major-mode' instead.
19199 (enable-multibyte-characters): Not customizable any more.
19201 * subr.el (default-mode-line-format, default-header-line-format)
19202 (default-line-spacing, default-abbrev-mode, default-ctl-arrow)
19203 (default-direction-reversed, default-truncate-lines)
19204 (default-left-margin, default-tab-width, default-case-fold-search)
19205 (default-left-margin-width, default-right-margin-width)
19206 (default-left-fringe-width, default-right-fringe-width)
19207 (default-fringes-outside-margins, default-scroll-bar-width)
19208 (default-vertical-scroll-bar, default-indicate-empty-lines)
19209 (default-indicate-buffer-boundaries, default-fringe-indicator-alist)
19210 (default-fringe-cursor-alist, default-scroll-up-aggressively)
19211 (default-scroll-down-aggressively, default-fill-column)
19212 (default-cursor-type, default-buffer-file-type)
19213 (default-cursor-in-non-selected-windows)
19214 (default-buffer-file-coding-system, default-major-mode)
19215 (default-enable-multibyte-characters): Mark as obsolete.
19217 2009-08-27 Dan Nicolaescu <dann@ics.uci.edu>
19219 * vc-dir.el (vc-dir-update): Remove debug helper.
19221 * vc-cvs.el (vc-cvs-update-changelog): Fix typo.
19223 2009-08-26 Sam Steingold <sds@gnu.org>
19225 * simple.el (save-interprogram-paste-before-kill): New user option.
19226 (kill-new): When `save-interprogram-paste-before-kill' is non-nil,
19227 save the interprogram-paste into kill-ring before overriding it
19228 with the Emacs kill.
19230 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
19232 * vc.el (vc-trunk-p): Rename to vc-rcs-trunk-p and move to vc-rcs.el.
19233 (vc-minor-part): Rename to vc-rcs-minor-part and move to vc-rcs.el.
19234 (vc-default-previous-revision): Rename to vc-rcs-previous-revision
19235 and move to vc-rcs.el.
19236 (vc-default-next-revision): Rename to vc-rcs-next-revision and
19238 (vc-cvs-update-changelog): Move to vc-cvs.el, use vc-call-backend.
19239 (vc-rcs-update-changelog): Remove.
19240 (vc-update-changelog-rcs2log): Rename to vc-rcs-update-changelog
19241 and move to vc-rcs.el.
19243 * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-checkin)
19244 (vc-rcs-checkout, vc-rcs-rollback): Adjust for the vc-rcs-trunk-p
19246 (vc-rcs-trunk-p, vc-rcs-minor-part, vc-rcs-previous-revision)
19247 (vc-rcs-next-revision, vc-rcs-update-changelog): Move here from
19248 vc.el, renamed to be RCS specific.
19250 * vc-cvs.el (vc-cvs-previous-revision, vc-cvs-next-revision):
19252 (vc-cvs-update-changelog): Move here from vc.el.
19254 * vc-sccs.el (vc-sccs-previous-revision, vc-sccs-next-revision):
19257 2009-08-26 Stefan Monnier <monnier@iro.umontreal.ca>
19259 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix up last change.
19261 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
19263 * vc-git.el (vc-git-register): Use "git add" for directories.
19264 (vc-git-stash, vc-git-stash-show): New functions.
19265 (vc-git-extra-menu-map): Bind them.
19267 * vc-dir.el (vc-dir-node-directory, vc-dir-update): Get the parent
19268 directory correctly in case the item is a directory itself.
19270 * vc.el: Document the desired behavior for reverted files in the
19272 (vc-default-prettify-state-info): Remove function, unused.
19274 * vc-bzr.el (vc-bzr-prettify-state-info): Remove function, unused.
19276 2009-08-26 Glenn Morris <rgm@gnu.org>
19278 * bindings.el (standard-mode-line-format): Reposition dashes in
19279 which-func entry. (Bug#4217)
19281 * files.el (enable-local-variables, enable-local-eval)
19282 (safe-local-variable-values, safe-local-eval-forms): Mark as risky in
19284 (auto-mode-alist, ignored-local-variables)
19285 (save-some-buffers-action-alist): Move risky declarations to the
19287 (dabbrev-case-fold-search, dabbrev-case-replace, display-time-string)
19288 (font-lock-defaults, format-alist, imenu--index-alist)
19289 (imenu-generic-expression, input-method-alist, minor-mode-alist)
19290 (mode-line-buffer-identification, mode-line-client, mode-line-modes)
19291 (mode-line-modified, mode-line-mule-info, mode-line-position)
19292 (mode-line-process, mode-line-remote, outline-level)
19293 (parse-time-rules, rmail-output-file-alist)
19294 (special-display-buffer-names, vc-mode):
19295 Move risky declarations to the relevant files.
19296 * bindings.el (mode-line-client, mode-line-mule-info, mode-line-remote)
19297 (mode-line-modified, mode-line-process, mode-line-position)
19298 (mode-line-modes, mode-line-buffer-identification, minor-mode-alist)
19299 * font-core.el (font-lock-defaults):
19300 * format.el (format-alist):
19301 * vc-hooks.el (vc-mode):
19302 * window.el (special-display-buffer-names):
19303 * international/mule-cmds.el (input-method-alist):
19304 Define riskiness here (dumped file) rather than in files.el.
19305 * dabbrev.el (dabbrev-case-fold-search, dabbrev-case-replace):
19306 * imenu.el (imenu-generic-expression, imenu--index-alist):
19307 * outline.el (outline-level):
19308 * time.el (display-time-string):
19309 * calendar/parse-time.el (parse-time-rules):
19310 * mail/rmailout.el (rmail-output-file-alist):
19311 Autoload riskiness here, rather than placing in files.el.
19313 2009-08-26 Andreas Schwab <schwab@linux-m68k.org>
19315 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Signal overflow.
19317 2009-08-25 Michael Albinus <michael.albinus@gmx.de>
19319 * simple.el (process-file-side-effects): New defvar.
19321 * dired-aux.el (dired-show-file-type):
19322 * vc.el (vc-diff-internal):
19323 * vc-arch.el (vc-arch-diff):
19324 * vc-bzr.el (vc-bzr-sha1, vc-bzr-revision-completion-table):
19325 * vc-cvs.el (vc-cvs-state, vc-cvs-diff, vc-cvs-revision-table):
19326 * vc-git.el (vc-git-registered, vc-git-working-revision)
19327 (vc-git-find-revision, vc-git-diff, vc-git-revision-table)
19328 (vc-git--empty-db-p):
19329 * vc-hooks.el (vc-user-login-name):
19330 * vc-svn.el (vc-svn-registered, vc-svn-state)
19331 (vc-svn-dir-extra-headers, vc-svn-find-revision):
19332 * progmodes/grep.el (grep-probe): Let-bind
19333 `process-file-side-effects' with nil.
19335 * net/dbus.el (dbus-ping): Add optional parameter TIMEOUT.
19337 * net/tramp-gvfs.el (top): Use timeout of 100 msec pinging GVFS
19338 daemon. Replace ping by checking for running service for bluez
19339 and zeroconf. (Bug#4239)
19341 2009-08-25 Kevin Ryde <user42@zip.com.au>
19343 * net/dig.el (dig): Add autoload cookie.
19345 2009-08-25 Glenn Morris <rgm@gnu.org>
19347 * emacs-lisp/bytecomp.el (byte-compile-eval): Fix test for cl in
19348 load-history for absolute file-names.
19349 (byte-compile-file-form-require): Warn about use of the cl package.
19351 * format.el (format-alist): Doc fix.
19353 * play/bubbles.el (top-level): Don't require cl at run-time.
19355 * progmodes/verilog-mode.el (top-level): Don't require lucid (and hence
19358 2009-08-24 Dmitry Dzhus <dima@sphinx.net.ru>
19360 * progmodes/gdb-mi.el (gdb-mapcar*): Replacement for `mapcar*'
19362 (gdb-table-add-row, gdb-table-string): Use `gdb-mapcar*'.
19364 2009-08-24 Jay Belanger <jay.p.belanger@gmail.com>
19366 * calc/calc-alg.el (math-trig-rewrite)
19367 (math-hyperbolic-trig-rewrite): New functions.
19368 (calc-simplify): Simplify trig functions when asked.
19370 2009-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
19372 * diff-mode.el (diff-find-source-location): Avoid goto-line.
19374 2009-08-24 Kenichi Handa <handa@m17n.org>
19376 * language/ind-util.el (mapthread): Delete it.
19377 (combinatorial): New function.
19378 (indian--puthash-cv): Use combinatorial instead of mapthread.
19380 2009-08-22 Kevin Ryde <user42@zip.com.au>
19382 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag)
19383 (checkdoc-arguments-in-order-flag): Add safe-local-variable booleanp.
19384 (checkdoc-symbol-words): Add safe-local-variable for list of strings.
19385 Clarify docstring that the value is strings not symbols.
19386 (checkdoc-list-of-strings-p): New function.
19388 2009-08-22 Glenn Morris <rgm@gnu.org>
19390 * files.el (auto-mode-alist):
19391 * hippie-exp.el (he-concat-directory-file-name):
19392 * lpr.el (lpr-windows-system, printer-name):
19393 * ls-lisp.el (ls-lisp-emulation, ls-lisp-use-insert-directory-program):
19394 * ps-print.el (ps-windows-system):
19395 * startup.el (command-line):
19396 * emulation/viper-ex.el (viper-glob-function):
19397 * international/mule-cmds.el (set-language-environment-coding-systems):
19398 * net/ange-ftp.el (ange-ftp-write-region):
19399 * obsolete/fast-lock.el (fast-lock-cache-name):
19400 Remove code for defunct system-types emx, macos, mswindows, next-mach,
19401 unisoft-unix, vax-vms, win32, w32.
19403 * calendar/diary-lib.el (diary-mark-entries-1): Only mark all days of a
19404 given name if the pattern is not more specific.
19406 * calendar/lunar.el (lunar-phase-names): New option.
19407 (lunar-phase): Doc fix.
19408 (lunar-cycles-per-year): New constant.
19409 (lunar-index): New function.
19410 (lunar-phase-list, diary-lunar-phases): Use lunar-index.
19411 (lunar-phase-name): Use lunar-phase-names.
19412 (calendar-lunar-phases): Use format.
19413 (lunar-new-moon-on-or-after): Use lunar-cycles-per-year.
19415 * progmodes/cperl-mode.el (cperl-imenu-name-and-position):
19416 Copy imenu-example--name-and-position function here for own use.
19417 (cperl-xsub-scan): Use cperl-imenu-name-and-position.
19419 * bs.el (bs--redisplay):
19420 * cus-edit.el (custom-redraw):
19421 * ibuffer.el (ibuffer-bury-buffer):
19422 * server.el (server-goto-line-column):
19423 * startup.el (command-line-1):
19424 * strokes.el (strokes-xpm-for-stroke):
19425 * term.el (term-display-buffer-line):
19426 * view.el (View-goto-line):
19427 * calc/calc.el (calc-do, calc-trail-buffer):
19428 * play/gamegrid.el (gamegrid-add-score-insecure):
19429 * progmodes/ada-mode.el (ada-compile-goto-error):
19430 * progmodes/ada-xref.el (ada-xref-find-in-modified-ali):
19431 (ebrowse-select-1st-to-9nth):
19432 * progmodes/cperl-mode.el (cperl-time-fontification):
19433 * progmodes/ebrowse.el (ebrowse-toggle-file-name-display)
19434 * progmodes/gud.el (gud-display-line):
19435 (idlwave-shell-display-line):
19436 * progmodes/idlw-shell.el (idlwave-shell-goto-frame)
19437 * progmodes/make-mode.el (makefile-browser-toggle):
19438 (vhdl-speedbar-port-copy, vhdl-compose-components-package):
19439 * progmodes/vhdl-mode.el (vhdl-speedbar-find-file)
19440 * textmodes/picture.el (picture-draw-rectangle):
19441 * textmodes/reftex-index.el (reftex-index-goto-letter):
19442 (reftex-select-jump-to-previous):
19443 * textmodes/reftex-sel.el (reftex-find-start-point)
19444 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-restore-region):
19445 (rst-straighten-deco-spacing, rst-section-tree, rst-toc):
19446 * textmodes/rst.el (rst-promote-region, rst-straighten-decorations)
19447 * textmodes/tex-mode.el (tex-compilation-parse-errors):
19448 * textmodes/two-column.el (2C-associated-buffer):
19449 Use forward-line rather than goto-line.
19451 * emulation/vi.el (vi-goto-line): Don't warn about non-interactive
19454 * international/ucs-normalize.el (nfd, decomposition-translation-alist)
19455 (decomposition-char-recursively, alist-list-to-vector, quick-check-list)
19456 (quick-check-list-to-regexp): Declare.
19458 * progmodes/make-mode.el (makefile-browser-insert-selection):
19459 Use goto-char rather than goto-line.
19461 * progmodes/prolog.el (compilation-error-regexp-alist)
19462 (compilation-forget-errors): Declare.
19464 2009-08-22 Juri Linkov <juri@jurta.org>
19466 * progmodes/grep.el (lgrep, rgrep): At the beginning
19467 set `dir' to `default-directory' unless `dir' is a non-nil
19468 readable directory. (Bug#4052)
19469 (lgrep, rgrep): Change a weird way to report an error
19470 from using `read-string' to using `error'.
19471 Instead of using interactive arguments in the function body,
19472 add new argument `confirm'.
19474 2009-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
19476 * textmodes/remember.el (remember-buffer):
19477 * progmodes/cperl-mode.el (cperl-vc-header-alist):
19478 * calendar/icalendar.el (icalendar-convert-diary-to-ical)
19479 (icalendar-extract-ical-from-buffer):
19480 * net/newst-treeview.el (newsticker-groups-filename):
19481 * net/newst-backend.el (newsticker-cache-filename):
19482 * speedbar.el (speedbar-update-speed, speedbar-navigating-speed)
19483 (speedbar-ignored-path-expressions, speedbar-ignored-path-regexp)
19484 (speedbar-add-ignored-path-regexp, speedbar-line-path)
19485 (speedbar-buffers-line-path, speedbar-path-line)
19486 (speedbar-buffers-line-path):
19487 * epg.el (epg-passphrase-callback-function, epg-start-sign-keys)
19489 * epa.el (epa-display-verify-result):
19490 * progmodes/pascal.el (pascal-outline): Add version of obsolescence.
19492 2009-08-21 Glenn Morris <rgm@gnu.org>
19494 * progmodes/js.el (inferior-moz-process): Fix declaration.
19496 * imenu.el (imenu-example--name-and-position): Fix obsolescence message.
19498 * obsolete/rnewspost.el (news-mail-reply):
19499 Use goto-char rather than goto-line.
19501 * term/ns-win.el (ns-open-file-select-line):
19502 Use line-beginning-position rather than goto-line.
19504 * apropos.el (apropos-command):
19505 * ehelp.el (electric-helpify):
19506 * printing.el (pr-show-setup):
19507 * strokes.el (strokes-help):
19508 * tutorial.el (tutorial--describe-nonstandard-key)
19509 (tutorial--detailed-help):
19510 * woman.el (woman-mini-help, woman-display-extended-fonts):
19511 * calc/calc-help.el (calc-describe-key):
19512 * emulation/edt.el (edt-electric-helpify):
19513 * international/mule-diag.el (mule-diag):
19514 * play/yow.el (apropos-zippy):
19515 * progmodes/python.el (python-describe-symbol):
19516 * progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode):
19517 * textmodes/table.el (*table--cell-describe-mode)
19518 (*table--cell-describe-bindings):
19519 Use help-print-return-message rather than the now obsolete alias.
19521 * calendar/cal-move.el (calendar-cursor-to-nearest-date)
19522 (calendar-cursor-to-visible-date):
19523 * play/5x5.el (5x5-position-cursor):
19524 * play/decipher.el (decipher):
19525 * play/gomoku.el (gomoku-goto-xy):
19526 * play/landmark.el (lm-goto-xy):
19527 * play/mpuz.el (mpuz-paint-errors, mpuz-paint-statistics)
19528 (mpuz-paint-digit):
19529 Use forward-line, not goto-line.
19531 * mail/rmail.el (rmail-obsolete): Delete custom group.
19532 (rmail-pop-password, rmail-pop-password-required): Make into aliases.
19533 (rmail-remote-password, rmail-remote-password-required):
19534 Remove unneeded :set-after and :set properties.
19536 2009-08-21 Michael Albinus <michael.albinus@gmx.de>
19538 * net/dbus.el (top): Initialize only when `dbusbind' is loaded.
19540 2009-08-21 Dan Nicolaescu <dann@ics.uci.edu>
19542 * loadup.el: Remove leftover macos code.
19544 * vc-git.el (vc-git-annotate-command): Run asynchronously.
19545 Explicitly pass the date format to git blame so that user local
19546 so that the output format can be parsed.
19548 2009-08-20 Michael Albinus <michael.albinus@gmx.de>
19550 * net/dbus.el (top): Don't check for (getenv
19551 "DBUS_SESSION_BUS_ADDRESS"). It's done in dbusbind.c now.
19553 2009-08-19 Magnus Henoch <magnus.henoch@gmail.com>
19555 * log-edit.el (log-edit-strip-single-file-name): New var.
19556 (log-edit-insert-changelog): Use it. Bug#3571
19558 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
19560 * subr.el (read-passwd): Use read-key so keypad keys work as well.
19563 * help.el (help-print-return-message): Rename from
19564 print-help-return-message.
19566 * log-view.el (log-view-mode-map): Remove `q' binding, and unreliable
19567 cvs-mode-map parent hack.
19568 (log-view-mode): Derive from special-mode.
19570 * linum.el (linum-mode): window-size-change-functions is redundant.
19571 Adapt to new window-configuration-change-hook behavior.
19572 (linum-after-size, linum-after-config): Remove.
19574 * imenu.el (imenu-example--name-and-position)
19575 (imenu-example--lisp-extract-index-name)
19576 (imenu-example--create-lisp-index, imenu-example--create-c-index):
19579 * progmodes/prolog.el (inferior-prolog-error-regexp-alist): New var.
19580 (inferior-prolog-mode): Use it.
19581 (inferior-prolog-load-file): Reset list of errors.
19583 2009-08-19 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
19585 * language/tibetan.el ("Tibetan"): Fix sample-text entry.
19587 * language/tai-viet.el ("TaiViet"): Fix sample-text entry.
19589 2009-08-19 Michael Albinus <michael.albinus@gmx.de>
19591 * net/dbus.el (top): Apply `dbus-init-bus' only if the session bus
19592 is running already.
19594 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
19596 * subr.el (listify-key-sequence-1): Use normal syntax since those
19597 integers are nowadays always represented by the same (positive) number
19599 (read-key-empty-map): New const.
19600 (read-key-delay): New var.
19601 (read-key): New function.
19602 (force-mode-line-update): Use with-current-buffer.
19603 (locate-user-emacs-file): Don't forget to abbreviate the file name.
19604 (start-process-shell-command, start-file-process-shell-command):
19605 Discourage the use of command-args.
19607 2009-08-19 Glenn Morris <rgm@gnu.org>
19609 * emacs-lisp/authors.el (authors-fixed-entries): Remove cvtmail.
19611 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
19613 * simple.el (choose-completion-string): Don't rely on
19614 minibuffer-completing-file-name and ad-hoc checks to decide whether
19615 to continue completion or not.
19617 * minibuffer.el (minibuffer-hide-completions): New function.
19618 (completion--do-completion): Use it.
19619 (completions-annotations): New face.
19620 (completion--insert-strings): Use it.
19621 (completion-pcm--delim-wild-regex): Add docstring.
19622 (completion-pcm--string->pattern): Add support for 0-width delimiters
19623 in completion-pcm--delim-wild-regex.
19625 2009-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
19627 * international/ucs-normalize.el (ucs-normalize-hfs-nfd-post-read-conversion):
19628 Remove unused var `buffer-modified-p'.
19630 * minibuffer.el (completion--do-completion): Move point for the #b001
19631 case as well (bug#4176).
19632 (minibuffer-complete, minibuffer-complete-word): Don't move point.
19634 2009-08-18 Michael Albinus <michael.albinus@gmx.de>
19636 * net/dbus.el (dbus-init-bus): Declare. Apply it for the :system
19637 and :session buses.
19639 2009-08-18 Kenichi Handa <handa@m17n.org>
19641 * international/ucs-normalize.el (ucs-normalize-version):
19643 (ucs-normalize-hfs-nfd-pre-write-conversion): New function.
19644 (utf-8-hfs): Make it perform normalization on encoding too.
19646 * textmodes/paragraphs.el: Change to utf-8. Adjust coding cookie.
19647 (sentence-end-without-space): Delete duplicated chars.
19648 (sentence-end-base): Likewise.
19650 * textmodes/sgml-mode.el: Change to utf-8. Adjust coding cookie.
19651 (html-mode): Delete duplicated chars from sentence-end-base.
19653 * textmodes/texinfo.el: Change to utf-8. Adjust coding cookie.
19654 (texinfo-mode): Delete duplicated chars from sentence-end-base.
19656 2009-08-17 Chong Yidong <cyd@stupidchicken.com>
19658 * files.el (hack-one-local-variable): If the mode function is for
19659 a minor mode, pass it an argument (Bug#4148).
19661 2009-08-17 Michael Albinus <michael.albinus@gmx.de>
19663 * net/tramp.el (tramp-register-completion-file-name-handler):
19664 Check also for (member 'partial-completion completion-styles).
19666 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
19668 * progmodes/cperl-mode.el (cperl-electric-paren): Don't expand
19671 2009-08-16 Ilya Zakharevich <ilyaz@cpan.org>
19673 * progmodes/cperl-mode.el: Merge upstream 6.2.
19674 (cperl-mode-syntax-table): Modify syntax entry for ["'`].
19675 (cperl-forward-re): Check cperl-brace-recursing.
19676 (cperl-highlight-charclass): New function.
19677 (cperl-find-pods-heres): Use it.
19678 (cperl-fill-paragraph): Synch to save-excursion placement used upstream.
19679 (cperl-beautify-regexp-piece): Fix column calculation.
19680 (cperl-make-regexp-x): Handle case where point is between "q" and "rs".
19681 (cperl-beautify-level): Don't process entire regexp.
19682 (cperl-build-manpage, cperl-perldoc): Bind Man-switches before
19684 (cperl-tips-faces, cperl-mode, cperl-electric-backspace): Doc fix.
19685 (cperl-init-faces): Build a list in the normal way.
19687 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
19689 * calendar/parse-time.el (parse-time-string-chars): Save match
19692 2009-08-16 Stefan Monnier <monnier@iro.umontreal.ca>
19694 * progmodes/sql.el (sql-product-alist): Add :name tag to entries.
19695 (sql-product): Use it.
19696 (sql-mode-menu): Auto-generate the menu based on sql-product-alist.
19697 (sql-set-product): Add completion.
19698 (sql-highlight-oracle-keywords, sql-highlight-postgres-keywords)
19699 (sql-highlight-linter-keywords, sql-highlight-ms-keywords)
19700 (sql-highlight-ansi-keywords, sql-highlight-sybase-keywords)
19701 (sql-highlight-informix-keywords, sql-highlight-interbase-keywords)
19702 (sql-highlight-ingres-keywords, sql-highlight-solid-keywords)
19703 (sql-highlight-mysql-keywords, sql-highlight-sqlite-keywords)
19704 (sql-highlight-db2-keywords): Remove.
19705 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
19706 (sql-highlight-product): Use derived-mode-p.
19707 (sql-set-sqli-buffer): Use with-current-buffer.
19708 (sql-connect-informix, sql-connect-ingres, sql-connect-oracle):
19711 * emacs-lisp/lisp-mode.el (lisp-indent-region): Remove unused function.
19713 * term.el: Fix commenting convention, turn comments into docstrings.
19715 2009-08-16 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
19717 * whitespace.el (whitespace-style): Doc fix (Bug#3661).
19719 2009-08-16 Jan Seeger <jan.seeger@thenybble.de> (tiny change)
19721 * calendar/parse-time.el (parse-time-string-chars): Compute using
19722 character classes, to handle non-ascii characters (Bug#3190).
19724 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
19726 * progmodes/sh-script.el (sh-maybe-here-document): Avoid inserting
19727 another heredoc if the user adds another < (Bug#3226).
19729 * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
19730 Don't initialize based on window-system (Bug#4124).
19732 * facemenu.el (facemenu-read-color): Use a completion function
19733 that accepts any defined color, such as RGB triplets (Bug#3677).
19735 * files.el (get-free-disk-space): Change fallback default
19736 directory to /. Expand DIR argument before switching to fallback.
19737 Suggested by Kevin Ryde (Bug#2631, Bug#3911).
19739 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
19741 * files.el (load-library): Doc fix.
19743 2009-08-15 Michael Kifer <kifer@cs.stonybrook.edu>
19745 * emulation/viper-cmd.el (viper-insert-isearch-string): New function.
19746 (viper-if-string): Redefine C-s in the minibuffer to insert the last
19747 incremental search string.
19749 * ediff-init.el (ediff-coding-system): Use escape-quoted in case of
19752 * ediff-merg.el (ediff-merge-region-is-non-clash-to-skip)
19753 (ediff-merge-region-is-non-clash)
19754 (ediff-skip-merge-region-if-changed-from-default-p): Use defun.
19755 Also check if the job is really a merge job.
19757 * ediff.el (ediff-current-file): New function.
19759 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
19761 * progmodes/js.el: Edit docstrings throughout to follow Emacs
19763 (js-insert-and-indent): Delete function.
19764 (js-mode-map): Don't bind keys to js-insert-and-indent.
19765 (js-beginning-of-defun): Rename from js--beginning-of-defun.
19766 (js-end-of-defun): Rename from js--end-of-defun.
19767 (js-auto-indent-flag): Delete variable.
19769 2009-08-14 Chong Yidong <cyd@stupidchicken.com>
19771 * progmodes/js.el: Remove proclaim statement.
19772 Defvar which-func-imenu-joiner-function to silence compiler.
19774 * files.el (auto-mode-alist): Use js-mode for .js files.
19776 * progmodes/js2-mode.el: Remove file.
19778 * Makefile.in (ELCFILES): Add js.el, and remove js2-mode.el.
19780 * speedbar.el (speedbar-supported-extension-expressions): Add .js.
19782 * progmodes/hideshow.el (hs-special-modes-alist): Add js-mode entry.
19784 2009-08-14 Daniel Colascione <dan.colascione@gmail.com>
19785 Karl Landstrom <karl.landstrom@brgeight.se>
19787 * progmodes/js.el: New file.
19789 2009-08-14 Mark A. Hershberger <mah@everybody.org>
19791 * timezone.el (timezone-parse-date): Add ability to understand ISO
19792 basic format (minimal separators) dates in addition to the
19793 already-supported extended format dates.
19795 2009-08-14 Eli Zaretskii <eliz@gnu.org>
19797 * international/ucs-normalize.el: Add a `coding' file variable.
19799 * Makefile.in (ELCFILES): Add international/ucs-normalize.elc.
19801 2009-08-14 Sam Steingold <sds@gnu.org>
19803 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
19805 2009-08-13 Chong Yidong <cyd@stupidchicken.com>
19807 * faces.el (help-argument-name): Define it here instead of
19808 help-fns.el, because in daemon mode help-fns.el may be loaded when
19809 faces are still uninitialized (Bug#1078).
19811 * help-fns.el (help-argument-name): Move defface to faces.el.
19813 2009-08-13 Nick Roberts <nickrob@snap.net.nz>
19815 * progmodes/gdb-mi.el (gdb-inferior-io-mode): Use start-process to
19816 create buffer with a pty but no process so that GDB can make the
19817 inferior the controlling process.
19819 2009-08-13 Taichi Kawabata <kawabata.taichi@gmail.com>
19821 * international/ucs-normalize.el: New file.
19823 2009-08-13 Richard Stallman <rms@gnu.org>
19825 * mail/rmail.el (rmail-get-attr-names):
19826 Accept an attribute header that is too short.
19828 * mail/rmail.el (rmail-forget-messages):
19829 Ignore nil elt in rmail-message-vector. Use dotimes.
19831 * progmodes/compile.el (compilation-goto-locus):
19832 Use next-error-move-function.
19834 * simple.el (next-error-move-function): New variable.
19836 2009-08-12 Juri Linkov <juri@jurta.org>
19838 * progmodes/grep.el (lgrep): Ensure that `default-directory' is
19839 always non-nil. (Bug#4052)
19841 * replace.el (read-regexp): Return empty string when
19842 `default-value' is nil.
19843 (keep-lines-read-args): Don't use empty string as the
19844 default value for `read-regexp'. (Bug#2495)
19846 2009-08-12 Juri Linkov <juri@jurta.org>
19848 * international/mule-cmds.el (ucs-insert): Change arguments
19849 from `arg' to `character', `count', `inherit' to be the same
19850 as in `insert-char'. Doc fix. (Bug#4039)
19852 * international/mule-conf.el (utf-16be-with-signature): Doc fix.
19854 2009-08-12 Juri Linkov <juri@jurta.org>
19856 * files-x.el: New file.
19858 * files.el: Move code that deals with adding/deleting
19859 file/directory-local variables to files-x.el.
19861 * Makefile.in (ELCFILES): Add files-x.elc.
19863 2009-08-11 Dmitry Dzhus <dima@sphinx.net.ru>
19865 * progmodes/gdb-mi.el (gdb-line-posns): New helper which helps not
19866 to use `goto-line'.
19867 (gdb-place-breakpoints, gdb-get-location): Rewritten without
19869 (gdb-invalidate-disassembly): Do not refresh upon receiving
19870 'update signal. Instead, update all disassembly buffers only after
19872 (gdb): Send -target-detach when buffer is killed (Bug#3794).
19873 (gdb-starting): Move -data-list-register-names...
19874 (gdb-stopped): ...here so it's sent when first thread stops.
19875 (gdb-registers-handler-custom): Do nothing if register names are
19878 * progmodes/gud.el (gud-stop-subjob): Rewritten without macros
19879 from `gdb-mi.el' to avoid extra tangling.
19881 * progmodes/gdb-mi.el (gdb-gud-context-call): Reverting previous
19882 change which breaks `gud-def' definitions used in `gdb'.
19883 (gdb-update-gud-running): No extra fuss for updating frame number.
19885 2009-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
19887 * international/mule-cmds.el (mule-keymap, mule-menu-keymap)
19888 (describe-language-environment-map, setup-language-environment-map)
19889 (set-coding-system-map): Move initialization into declaration.
19890 (set-language-info-alist): Last arg to define-key-after can be skipped.
19892 * international/quail.el (quail-completion-1): Simplify.
19893 (quail-define-rules): Use slightly more compact code.
19894 (quail-insert-decode-map): Propertize keys, compact columns.
19896 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
19899 2009-08-10 Miles Bader <miles@gnu.org>
19901 * progmodes/js2-mode.el (js2-warning, js2-error, js2-jsdoc-tag)
19902 (js2-jsdoc-type, js2-jsdoc-value, js2-function-param)
19903 (js2-instance-member, js2-private-member, js2-private-function-call)
19904 (js2-jsdoc-html-tag-name, js2-jsdoc-html-tag-delimiter)
19905 (js2-magic-paren, js2-external-variable):
19906 Remove "-face" suffix from face names.
19907 (js2-jsdoc-highlight-helper, js2-highlight-jsdoc)
19908 (js2-highlight-undeclared-vars, js2-peek-token)
19909 (js2-parse-function-params, js2-mode-show-errors)
19910 (js2-mode-show-warnings, js2-make-magic-delimiter)
19911 (js2-mode-highlight-magic-parens): Update to use new face names.
19913 2009-08-09 Michael Albinus <michael.albinus@gmx.de>
19915 * net/tramp.el (tramp-get-ls-command-with-dired): New defun.
19916 (tramp-handle-insert-directory): Handle "--dired". (Bug#4075)
19918 2009-08-09 Chong Yidong <cyd@stupidchicken.com>
19920 * subr.el: Provide hashtable-print-readable.
19922 * progmodes/hideshow.el (hs-special-modes-alist): Don't use
19923 hs-c-like-adjust-block-beginning.
19924 (hs-hide-block-at-point): Stop hiding at the beginning of
19925 hs-block-end-regexp (Bug#700).
19927 2009-08-09 Dmitry Dzhus <dima@sphinx.net.ru>
19929 * progmodes/gdb-mi.el (gdb-gud-context-call): Does not need to be
19931 (gdb-registers-handler-custom): Do not fail when register names
19934 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
19936 * progmodes/gdb-mi.el (gdb-control-all-threads)
19937 (gdb-control-current-thread): Interactive setters for
19938 `gdb-gud-control-all-threads' to use in menu.
19939 (gdb-show-run-p): Show «Go» when process is not active.
19940 (gud-tool-bar-map): Add non-stop/A,T indicator.
19941 Uses gud/thread.xpm and gud/all.xpm.
19943 2009-08-08 Yoni Rabkin <yoni@rabkins.net>
19945 * net/net-utils.el (net-utils-font-lock-keywords): New var.
19946 (nslookup-font-lock-keywords): Make it a variable.
19947 (net-utils-mode): New mode for viewing diagnostic network output.
19948 (net-utils-remove-ctrl-m-filter): Set inhibit-read-only.
19949 (net-utils-run-simple): New function.
19950 (ifconfig, iwconfig, netstat, arp, route): Use it.
19952 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
19954 * progmodes/gdb-mi.el (gdb-read-memory-custom)
19955 (gdb-memory-set-address, def-gdb-set-positive-number)
19956 (def-gdb-memory-format, def-gdb-memory-unit): Update memory buffer
19957 after changing settings.
19958 (gdb-invalidate-disassembly): Update when first shown.
19959 (gdb-edit-locals-value): Fixed.
19960 (gdb-registers-handler-custom): Print registers in right order and
19961 allow changing register values (only for current thread yet).
19962 (gdb-breakpoints-mode-map): Don't assume threads buffer is present.
19963 (gdb-threads-mode-map): Don't assume breakpoints buffer is present.
19964 (gdb-disassembly-handler-custom, gdb-stack-list-frames-custom)
19965 (gdb-locals-handler-custom, gdb-registers-handler-custom):
19966 Thread info in mode name.
19967 (gdb-registers-mode-map): TAB to switch to locals.
19969 2009-08-08 Eli Zaretskii <eliz@gnu.org>
19971 * mail/rmail.el (rmail-add-mbox-headers)
19972 (rmail-set-message-counters-counter): Search for
19973 rmail-unix-mail-delimiter instead of just "From ". (Bug#4076)
19975 2009-08-08 Glenn Morris <rgm@gnu.org>
19977 * Makefile.in (ELCFILES): Update.
19979 2009-08-07 Eli Zaretskii <eliz@gnu.org>
19981 * mail/sendmail.el (mail-yank-original):
19982 Set buffer-file-coding-system from the one used by the message whose
19985 * calc/calc-graph.el (calc-graph-plot): Set calc-graph-last-device
19986 to "windows" when "pgnuplot" is used.
19987 (calc-graph-command, calc-gnuplot-command, calc-graph-init):
19988 Don't call accept-process-output if "pgnuplot" is used.
19989 (calc-graph-init): Don't send -display and -geometry to
19990 "pgnuplot". If "pgnuplot" is used, glean gnuplot version by
19991 running "pgnuplot -V" with shell-command-to-string.
19993 * calc/calc.el (calc-gnuplot-name) [windows-nt]: Use "pgnuplot" as
19996 2009-08-07 Eli Zaretskii <eliz@gnu.org>
19998 * Makefile.in (ELCFILES): org/org-export-latex.elc renamed to
20001 2009-08-07 Dan Nicolaescu <dann@ics.uci.edu>
20003 * vc-dispatcher.el (vc-resynch-window): Update comment.
20005 * term.el (term-handle-ansi-escape): Add comments with the
20006 terminfo capabilities implemented.
20008 2009-08-06 Dmitry Dzhus <dima@sphinx.net.ru>
20010 * progmodes/gdb-mi.el (gdb-var-create-regexp): Removed.
20011 (gdb-var-create-handler): Rewritten using JSON parser.
20012 (gdb-propertize-header): Move earlier.
20013 (gdb-set-header): Remove to avoid duplication.
20014 (gdb-thread-list-handler-custom, gdb-invalidate-disassembly):
20015 Refresh disassembly buffers only after threads list have been
20017 (gdb-threads-header, gdb-registers-header): Per-buffer header line
20020 2009-08-04 Juri Linkov <juri@jurta.org>
20022 * files.el: Commands to add/delete file/directory-local variables.
20023 (read-file-local-variable, read-file-local-variable-value)
20024 (read-file-local-variable-mode, modify-file-local-variable)
20025 (modify-file-local-variable-prop-line)
20026 (modify-dir-local-variable): New functions.
20027 (add-file-local-variable, delete-file-local-variable)
20028 (add-file-local-variable-prop-line, delete-file-local-variable-prop-line)
20029 (add-dir-local-variable, delete-dir-local-variable)
20030 (copy-file-locals-to-dir-locals, copy-dir-locals-to-file-locals)
20031 (copy-dir-locals-to-file-locals-prop-line): New commands.
20033 2009-08-04 Chong Yidong <cyd@stupidchicken.com>
20035 * abbrev.el (insert-abbrev-table-description): Prettify output.
20036 Suggested by Karl Chen.
20038 2009-08-04 Dmitry Dzhus <dima@sphinx.net.ru>
20040 * progmodes/gdb-mi.el (gdb-frame-number): Initialize with nil.
20041 (gdb-overlay-arrow-position): Rename to `gdb-disassembly-position'.
20042 (gdb-overlay-arrow-position, gdb-thread-position)
20043 (gdb-disassembly-position): Declare variables.
20044 (gdb-wait-for-pending): Function now.
20045 (gdb-add-subscriber, gdb-delete-subscriber, gdb-get-subscribers)
20046 (gdb-emit-signal, gdb-buf-publisher): Declare before first use so
20047 compilation goes smoothly.
20048 (gdb, gdb-non-stop, gdb-buffers): New customization groups.
20049 (gdb-non-stop-setting): New customization setting which replaces
20050 `gdb-non-stop' so changing it doesn't break active GDB session.
20051 (gdb-stack-buffer-locations, gdb-stack-buffer-addresses)
20052 (gdb-thread-buffer-verbose-names, gdb-thread-buffer-arguments)
20053 (gdb-thread-buffer-locations, gdb-thread-buffer-addresses)
20054 (gdb-show-threads-by-default): New customization options.
20055 (gdb-buffer-type, gdb-buffer-shows-main-thread-p): New helper
20057 (gdb-get-buffer-create): Send buffers update signal when they are
20059 (gdb-invalidate-locals, gdb-invalidate-registers)
20060 (gdb-invalidate-breakpoints)
20061 (gdb-invalidate-threads, gdb-invalidate-disassembly)
20062 (gdb-invalidate-memory): Accept update signal.
20063 (gdb-current-context-command): Use --frame option.
20064 (gdb-update-gud-running, gdb-running, gdb-setq-thread-number):
20065 Implement `gdb-frame-number' selection logic.
20066 (gdb-show-run-p, gdb-show-stop-p): Helper functions which decide
20067 whether to show GUD toolbar buttons.
20068 (gdb-thread-exited): Unselect current thread when it exits.
20069 (gdb-stopped): Typo fixed (now really runs `gdb-stopped-hooks').
20070 (gdb-mark-line): Routine which sets overlay arrow or inverses
20071 video on fringeless displays.
20072 (gdb-table, gdb-table-add-row, gdb-table-string): Structure used
20073 to build aligned columns of data in GDB buffers and set text
20074 properties line-by-line.
20075 (gdb-invalidate-breakpoints)
20076 (gdb-breakpoints-list-handler-custom)
20077 (gdb-thread-list-handler-custom, gdb-disassembly-handler-custom)
20078 (gdb-stack-list-frames-custom, gdb-locals-handler-custom)
20079 (gdb-registers-handler-custom): Align data columns.
20080 (gdb-locals-handler-custom): Now prints data like in variable
20082 (gdb-jump-to, gdb-file-button, gdb-insert-file-location-button):
20083 Remove confusing buttons.
20084 (gdb-invalidate-threads): Append --frame.
20085 (gdb-threads-mode-map, gdb-breakpoints-mode-map): TAB to switch
20086 between breakpoints/threads buffers.
20087 (gdb-set-window-buffer): Now can ignore dedicated windows.
20088 (gdb-propertize-header): Use `gdb-set-window-buffer'.
20089 (def-gdb-thread-buffer-simple-command): Numerous typos fixed.
20090 (def-gdb-thread-buffer-gud-command): Replaces
20091 `def-gdb-thread-buffer-gdb-command' and uses standard GUD commands
20092 for fine thread control.
20093 (gdb-preempt-existing-or-display-buffer): New function used to
20094 display bound buffers without breaking window layout.
20095 (gdb-frame-location): Replaces `gdb-insert-frame-location'.
20096 (gdb-select-frame): New version of `gdb-frames-select' which now
20097 sets `gdb-frame-number' so commands may use --frame option instead
20098 of inner debugger state.
20099 (gdb-frame-handler): Do not set `gdb-frame-number'.
20100 (gdb-threads-mode-map): Select threads with mouse.
20102 * progmodes/gud.el (gdb-gud-context-call): Declare function to
20103 avoid compilation warning.
20104 (gud-menu-map, gud-minor-mode-map): Use `gdb-show-run-p` and
20107 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create):
20108 Argument `key' renamed to `buffer-type'.
20109 (gdb-current-context-buffer-name): Do not add thread info to
20110 buffer name when no thread is selected.
20111 (gdbmi-record-list, gdb-shell): Try to handle GDB `shell'
20112 command (bug 3794).
20113 (gdb-thread-selected): Handle `=thread-selected' notification.
20114 (gdb-wait-for-pending): New macro to deal with congestion problems.
20115 (gdb-breakpoints-list-handler-custom): Don't fail on pending
20117 (gdb-invalidate-disassembly): Use 'fullname instead of 'file.
20118 This fixes problem similar to one described in bug 3947.
20119 (gud-menu-map): More menu items.
20120 (gdb-init-1): Reset `gdb-thread-number' to nil.
20122 * progmodes/gud.el (gud-stop-subjob, gud-menu-map): Respect GDB
20125 * progmodes/gdb-mi.el (gdb-thread-number): Initialize with nil.
20126 (gdb-current-context-command): Do not append --thread if
20127 `gdb-thread-number' is nil.
20128 (gdb-running-threads-count, gdb-stopped-threads-count):
20130 (gdb-non-stop, gdb-gud-control-all-threads, gdb-switch-reasons)
20131 (gdb-stopped-hooks, gdb-switch-when-another-stopped):
20132 New customization options.
20133 (gdb-gud-context-command, gdb-gud-context-call): New wrappers for
20135 (gdb): `gud-def' definitions changed to use `gdb-gud-context-call'.
20136 (gdb-init-1): Activate non-stop mode if `gdb-non-stop' is enabled.
20137 (gdb-setq-thread-number, gdb-update-gud-running): New functions to
20138 set `gdb-thread-number' and update `gud-running' properly.
20139 (gdb-running): Update threads list when new threads appear.
20140 (gdb-stopped): Support non-stop operation and new thread switching
20142 (gdb-jsonify-buffer, gdb-json-read-buffer, gdb-json-string)
20143 (gdb-json-partial-output): New set of JSON routines.
20144 (def-gdb-auto-update-trigger): New `signal-list' optional
20146 (gdb-thread-list-handler-custom): Update `gud-running',
20147 `gdb-stopped-threads-count' and `gdb-running-threads-count'.
20148 (def-gdb-thread-buffer-gdb-command, gdb-interrupt-thread)
20149 (gdb-continue-thread, gdb-step-thread): New commands for fine
20150 thread execution control.
20151 (gud-menu-map): New menu items to switch non-stop options.
20152 (gdb-reset): Cleanup `gdb-thread-position' overlay arrow marker.
20153 (gdb-send): Mimic RET properly (bug 3794).
20155 * progmodes/gdb-mi.el (gdb-rules-name-maker)
20156 (gdb-rules-buffer-mode, gdb-rules-update-trigger): Accessors for
20158 (def-gdb-auto-update-handler): New nopreserve optional argument.
20159 (gdb-stack-list-frames-custom): Print stack from top to bottom.
20161 * progmodes/gdb-mi.el (gdb-pc-address): Remove unused variable.
20162 (gdb-threads-list, gdb-breakpoints-list): New assoc lists.
20163 (gdb-parent-mode): New mode to derive other GDB modes from.
20164 (gdb-display-disassembly-for-thread)
20165 (gdb-frame-disassembly-for-thread): New commands for threads
20168 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create)
20169 (gdb-init-1, gdb-bind-function-to-buffer, gdb-add-subscriber)
20170 (gdb-get-subscribers, gdb-emit-signal, gdb-buf-publisher)
20171 (gdb-update): We now store all GDB buffers in a list so that they
20172 can be updated by traversing a list instead of calling invalidate
20173 triggers explicitly.
20174 (def-gdb-trigger-and-handler): New macro to define trigger-handler
20175 pair for GDB buffer.
20176 (gdb-stack-buffer-name): Add thread information.
20177 (gdb-add-pending, gdb-pending-p, gdb-delete-pending): Macros to
20178 handle pending triggers.
20179 (gdb-threads-mode-map, def-gdb-thread-buffer-command)
20180 (def-gdb-thread-buffer-simple-command)
20181 (gdb-display-stack-for-thread, gdb-display-locals-for-thread)
20182 (gdb-display-registers-for-thread, gdb-frame-stack-for-thread)
20183 (gdb-frame-locals-for-thread, gdb-frame-registers-for-thread):
20184 New commands which show buffers bound to thread.
20185 (gdb-stack-list-locals-regexp): Remove unused regexp.
20187 * progmodes/gdb-mi.el (gdb-breakpoints-buffer-name)
20188 (gdb-locals-buffer-name, gdb-registers-buffer-name)
20189 (gdb-memory-buffer-name, gdb-stack-buffer-name): Do not switch
20190 to (gud-comint-buffer) in *-buffer-name functions
20191 because (gdb-get-target-string) already does that.
20192 (gdb-locals-handler-custom, gdb-registers-handler-custom)
20193 (gdb-changed-registers-handler): Rewritten without regexps.
20195 * progmodes/gdb-mi.el: Basic thread selection support.
20196 (gdb-thread-number): New variable.
20197 (gdb-current-context-command): New macro which adds --thread
20199 (gdb-threads-mode-map): Select thread with SPC.
20200 (gdb-thread-list-handler-custom): Mark current thread with overlay
20201 arrow. Synchronize GDB thread and Emacs thread.
20202 (gdb-select-thread): New command which selects current thread.
20203 (gdb-invalidate-frames, gdb-invalidate-locals)
20204 (gdb-invalidate-registers): Use --thread option.
20206 2009-08-04 Michael Albinus <michael.albinus@gmx.de>
20208 * net/tramp.el (top): Make check for tramp-gvfs loading more
20210 (tramp-handle-insert-file-contents): `unwind-protect' must be
20211 inside `with-parsed-tramp-file-name'.
20213 * net/tramp-gvfs.el (top): Remove superfluous message when loading
20216 2009-08-03 Nick Roberts <nickrob@snap.net.nz>
20218 * progmodes/gud.el (jdb): Set gud-jdb-classpath-string to current
20219 directory if CLASSPATH is not set.
20221 2009-08-03 Michael Albinus <michael.albinus@gmx.de>
20223 * net/tramp.el (tramp-rfn-eshadow-update-overlay-regexp):
20225 (tramp-rfn-eshadow-update-overlay): Use it. (Bug#4004)
20227 2009-08-02 Kevin Ryde <user42@zip.com.au>
20229 * net/newst-backend.el (newsticker--raw-url-list-defaults):
20230 Update freshmeat link. Delete newsforge.com as it seems gone.
20232 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
20234 * select.el (x-set-selection): Doc fix (Bug#4021).
20236 * w32-fns.el (x-set-selection): Doc fix (Bug#4021).
20238 * help-fns.el (describe-variable): Treat list return values from
20239 dir-locals-find-file properly (Bug#4005).
20241 2009-08-02 Julian Scheid <julians37@googlemail.com> (tiny change)
20243 * net/tramp.el (tramp-debug-message): Print also microseconds.
20245 2009-08-02 Michael Albinus <michael.albinus@gmx.de>
20247 * net/tramp.el (tramp-handle-insert-file-contents): Optimize, when BEG
20249 (tramp-handle-vc-registered): Use `tramp-cache-inhibit-cache'.
20250 (tramp-get-debug-buffer): Change `outline-regexp' according to new
20253 * net/tramp-cache.el (tramp-cache-inhibit-cache): New defvar.
20254 (tramp-get-file-property): Use it.
20256 * autorevert.el (auto-revert-handler):
20257 Allow `auto-revert-tail-mode' for remote files.
20259 2009-08-02 Jason Rumney <jasonr@gnu.org>
20261 * minibuffer.el (read-file-name): Treat confirm options to
20262 MUSTMATCH as nil when invoking x-file-dialog. (Bug#3969)
20264 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
20266 * font-lock.el (font-lock-string-face, font-lock-builtin-face)
20267 (font-lock-variable-name-face, font-lock-constant-face):
20268 Darken the colors for light backgrounds.
20270 2009-08-01 Eli Zaretskii <eliz@gnu.org>
20272 * mail/rmailsum.el (rmail-header-summary): Ignore letter-case of
20273 month names. (Bug#3987)
20275 2009-07-31 Chong Yidong <cyd@stupidchicken.com>
20277 * simple.el (line-move-finish): Pass whole number to
20278 line-move-to-column.
20279 (line-move-visual): Perform hscroll to the recorded position.
20281 2009-07-30 Jay Belanger <jay.p.belanger@gmail.com>
20283 * calc/calc-mode.el (calc-matrix-brackets): Remove "P" from prompt.
20285 2009-07-29 Alan Mackenzie <acm@muc.de>
20287 * progmodes/cc-defs.el (c-version): Bump to 5.31.7.
20289 2009-07-29 Dmitry Dzhus <dima@sphinx.net.ru>
20291 * progmodes/gdb-mi.el (gdb-goto-breakpoint)
20292 (gdb-place-breakpoints): Use full path when setting breakpoints.
20294 2009-07-29 Jay Belanger <jay.p.belanger@gmail.com>
20296 * calc/calc.el (calc-mode-map): Add keybinding for
20297 `calc-transpose-lines'.
20299 2009-07-29 Vincent Belaïche <vincent.belaiche@gmail.com>
20301 * calc/calc-misc.el (calc-transpose-lines): New function.
20303 2009-07-28 Michael Albinus <michael.albinus@gmx.de>
20305 * net/tramp.el (tramp-do-copy-or-rename-file): Add messages.
20306 Simplify check for out-of-band methods.
20307 (tramp-do-copy-or-rename-file-out-of-band): Allow both files to be
20308 remote. Remove messages which are in `tramp-do-copy-or-rename-file'.
20310 2009-07-28 Dan Nicolaescu <dann@ics.uci.edu>
20312 * vc-git.el (vc-git-checkin): Fix typo.
20314 2009-07-28 Steve Yegge <steve.yegge@gmail.com>
20316 * progmodes/js2-mode.el: New file.
20318 2009-07-28 Nick Roberts <nickrob@snap.net.nz>
20320 * progmodes/gud.el (jdb): Add gud-pstar to dump object information.
20321 (gud-menu-map): Adjust tooltip accordingly.
20323 2009-07-27 Dan Nicolaescu <dann@ics.uci.edu>
20325 * vc-bzr.el (vc-bzr-print-log): Pass multiple arguments to bzr log.
20326 (vc-bzr-log-view-mode): Adjust log-view-file-re.
20328 * add-log.el (change-log-mode-map): Add a menu.
20330 2009-07-27 Michael Albinus <michael.albinus@gmx.de>
20332 * net/dbus.el (dbus-call-method-non-blocking): Handle the case the
20333 function returns nil.
20334 (dbus-handle-event): Handle special return value :ignore.
20335 Reported by Jan Moringen <jan.moringen@uni-bielefeld.de>.
20337 2009-07-26 Chong Yidong <cyd@stupidchicken.com>
20339 * view.el (view-mode-enable): Don't define Helper-return-blurb if
20342 2009-07-25 Eli Zaretskii <eliz@gnu.org>
20346 * w32-vars.el (x-select-enable-clipboard): Doc fix.
20348 * term/pc-win.el (x-display-name, x-colors)
20349 (x-select-enable-clipboard, x-select-text): Doc fix.
20351 * term/common-win.el (x-display-name, x-colors): Doc fix.
20353 * term/ns-win.el (x-select-text, x-setup-function-keys, x-colors)
20354 (xw-defined-colors): Doc fix.
20356 * w32-fns.el (x-select-text, x-setup-function-keys)
20357 (x-get-selection, x-set-selection): Doc fix.
20359 * term/x-win.el (x-select-text, x-setup-function-keys)
20360 (x-select-enable-clipboard, xw-defined-colors): Doc fix.
20362 * select.el (x-set-selection): Doc fix.
20364 2009-07-25 Michael Albinus <michael.albinus@gmx.de>
20366 * net/zeroconf.el (zeroconf-init): Check for "GetVersionString"
20367 instead of "IsNSSSupportAvailable". Avahi ought to work also when
20368 "IsNSSSupportAvailable" method is not available.
20369 Reported by Steve Youngs <steve@sxemacs.org>.
20371 2009-07-24 Kenichi Handa <handa@m17n.org>
20373 * international/characters.el: Fix setting of category ?C, ?|, ?K,
20374 and ?H. Fix setting of case for Latin Extended and Greek Extended.
20375 (build-unicode-category-table): Fix range checks.
20377 2009-07-24 Dan Nicolaescu <dann@ics.uci.edu>
20379 * vc-dispatcher.el (vc-resynch-buffers-in-directory): Make sure
20380 the buffer we try to sync is current when calling
20383 * vc-dir.el (vc-dir-resynch-file): Make sure vc-dir-update does
20384 not show up to date files.
20386 2009-07-24 Glenn Morris <rgm@gnu.org>
20388 * emacs-lisp/elint.el (elint-current-buffer, elint-defun):
20389 Add autoload cookies. If necessary, initialize.
20390 (elint-log): Handle non-file buffers.
20391 (elint-initialize): Add optional argument to reinitialize.
20392 (elint-find-builtin-variables): Save excursion.
20394 2009-07-23 Dan Nicolaescu <dann@ics.uci.edu>
20396 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
20399 2009-07-22 Dan Nicolaescu <dann@ics.uci.edu>
20401 * vc.el (vc-print-log-internal): New function, split out from ...
20402 (vc-print-log): ... here.
20403 (vc-dir-move-to-goal-column): Declare.
20405 * vc-git.el (vc-git-add-signoff): New variable.
20406 (vc-git-checkin): Use it.
20407 (vc-git-toggle-signoff): New function.
20408 (vc-git-extra-menu-map): Bind it to menu.
20409 (vc-git--run-command-string): Accept a nil FILE argument.
20410 (vc-git-stash-list): New function.
20411 (vc-git-dir-extra-headers): Use it.
20413 2009-07-23 Glenn Morris <rgm@gnu.org>
20415 * help-fns.el (describe-variable): Describe ignored and risky local
20416 variables in a similar way to that in which we describe safe ones.
20418 * emacs-lisp/bytecomp.el (byte-compile-from-buffer)
20419 (byte-compile-output-file-form, byte-compile-output-docform)
20420 (byte-compile-file-form-defmumble, byte-compile-output-as-comment):
20421 Give some more local variables with common names a "bytecomp-" prefix,
20422 so as not to shadow things during compilation.
20423 * emacs-lisp/cl-macs.el (load-time-value)
20424 * emacs-lisp/cl.el (cl-compiling-file): Update for the name-change
20425 `outbuffer' to `bytecomp-outbuffer'.
20427 * emacs-lisp/elint.el (elint-standard-variables): Remove most members,
20428 since the next two variables cover them automatically now.
20429 (elint-builtin-variables, elint-autoloaded-variables): New.
20430 (elint-unknown-builtin-args): Remove all members, since they can be
20431 parsed automatically now.
20432 (elint-extra-errors): New.
20433 (elint-env-add-env, elint-env-add-macro): Use cadr.
20434 (elint-current-buffer): Use or. Change final message.
20435 (elint-get-top-forms): Use line-end-position.
20436 (elint-init-env): Use cadr. Handle autoload, declare-function,
20438 (elint-add-required-env): Doc fix. Use or. Standardize error.
20439 (regexp-assoc): Remove unused function.
20440 (elint-top-form): Set elint-current-pos, to record the start of the
20441 top-level form, for compilation-mode.
20442 (elint-form): Trap errors in macro expansion. Use dolist.
20443 (elint-unbound-variable): Use elint-builtin-variables and
20444 elint-autoloaded-variables.
20445 (elint-get-args): Use cadr, or.
20446 (elint-check-cond-form): Use dolist, cadr.
20447 (elint-check-condition-case-form): Doc fix. Use cadr.
20448 Use elint-extra-errors.
20449 (elint-log): New function.
20450 (elint-error, elint-warning): Use elint-log for a bytecomp-style format.
20451 Distinguish errors and warnings.
20452 (elint-log-message): Use with-current-buffer. Inhibit read-only.
20453 Use a bytecomp-style format.
20454 (elint-clear-log): Preserve default-directory. Inhibit read-only.
20455 (elint-get-log-buffer): Use compilation mode. Disable undo.
20456 Don't truncate lines.
20457 (elint-initialize): Set builtin and autoloaded variable lists.
20458 Only process elint-unknown-builtin-args if non-nil.
20459 (elint-find-builtin-variables, elint-find-autoloaded-variables):
20461 (elint-find-builtin-args): Doc fix. Handle "BODY...)".
20463 2009-07-22 Kevin Ryde <user42@zip.com.au>
20465 * net/newst-backend.el (newsticker--parse-atom-1.0)
20466 (newsticker--parse-rss-0.91, newsticker--parse-rss-0.92)
20467 (newsticker--parse-rss-1.0):
20468 * progmodes/idlwave.el (idlwave-mode):
20469 * progmodes/idlw-shell.el (idlwave-shell-mode):
20470 * progmodes/vera-mode.el (vera-mode):
20471 * progmodes/verilog-mode.el (verilog-auto-inst, verilog-auto):
20472 * progmodes/vhdl-mode.el (vhdl-mode):
20473 * textmodes/table.el (table-generate-source)
20474 (table--warn-incompatibility):
20475 Hyperlink urls in docstrings with URL `...'.
20477 2009-07-22 Glenn Morris <rgm@gnu.org>
20479 * emacs-lisp/advice.el, emacs-lisp/checkdoc.el:
20480 * emacs-lisp/debug.el, emacs-lisp/elp.el, emacs-lisp/gulp.el:
20481 * emacs-lisp/lisp.el, emacs-lisp/pp.el, emacs-lisp/trace.el:
20482 Remove leading * from defcustom docs.
20484 * simple.el (blink-matching-paren-distance): Bump to 100k. (Bug#3889)
20486 * emacs-lisp/shadow.el (shadows-compare-text-p): Remove leading * from
20488 (list-load-path-shadows): Optionally, just return shadows as a string.
20490 * mail/emacsbug.el (report-emacs-bug): Include any load-path shadows.
20492 2009-07-21 Chong Yidong <cyd@stupidchicken.com>
20494 * mail/rmailedit.el (rmail-edit-mode):
20495 Use auto-save-include-big-deletions.
20497 * mail/rmail.el (rmail-variables):
20498 Use auto-save-include-big-deletions.
20500 * files.el (auto-save-mode): Revert 2009-07-21 and 2009-07-16
20503 2009-07-21 Jay Belanger <jay.p.belanger@gmail.com>
20505 * calc/calc.el (calc-undo-length): New variable.
20506 (calc-quit): Truncate rather than eliminate `calc-undo-list'.
20508 2009-07-21 Richard Stallman <rms@gnu.org>
20510 * files.el (auto-save-mode): Handle buffer-save-size = -2
20513 2009-07-21 Glenn Morris <rgm@gnu.org>
20515 * textmodes/ispell.el (ispell-looking-back): Update declaration.
20517 * calendar/todo-mode.el (calendar-current-date): Update declaration.
20519 * ps-print.el (ps-jitify, ps-lazify): Remove aliases only used to
20520 silence compiler. Instead...
20521 (jit-lock-fontify-now, lazy-lock-fontify-region): ...Declare.
20522 (ps-print-ensure-fontified): Update for above function name changes.
20524 * printing.el (pr-mh-get-msg-num, pr-mh-show)
20525 (pr-mh-start-of-uncleaned-message): Remove aliases only used to
20526 silence compiler. Instead...
20527 (mh-get-msg-num, mh-show, mh-start-of-uncleaned-message): ...Declare.
20528 (mh-show-buffer): Only define for compiler.
20529 (pr-mh-current-message): Update for above function name changes.
20531 * files.el (abort-if-file-too-large): Explicitly pass `filename'
20533 (find-file-noselect, insert-file-1): Update for above change.
20535 * mail/rmail.el (rmail-retry-ignored-headers): Bump :version.
20537 * mail/mailclient.el (mailclient-send-it): Fix message.
20539 * emacs-lisp/edebug.el (cl-debug-env): Only define for compiler.
20540 (edebug-eval): Check cl-debug-env is bound.
20541 (print-level, print-circle): Don't redefine built-in variables.
20543 * emacs-lisp/cust-print.el: Remove leading * from defcustom docs.
20544 (custom-print-vectors): Remove old comments from doc.
20546 * emerge.el (menu-bar-emerge-menu): Remove unused variable.
20547 (emerge-version): Make the variable an obsolete alias for the
20548 emacs-version variable. Make the function obsolete.
20549 (emerge-fast-keymap, emerge-edit-keymap): Make a separate menu for
20550 Emerge options, rather than merging in into the main Options menu.
20551 (emerge-options-menu): Adjust menu text. Use buttons for skip prefers
20552 and auto advance modes. Disable edit/fast items when not relevant.
20554 2009-07-20 Dan Nicolaescu <dann@ics.uci.edu>
20556 * term/vt420.el (terminal-init-vt420): Fix typo.
20558 2009-07-20 Sam Steingold <sds@gnu.org>
20560 * progmodes/ada-mode.el (compile-auto-highlight): Remove the
20561 variable (removed from compile.el on 2004-03-11).
20563 2009-07-20 Chong Yidong <cyd@stupidchicken.com>
20565 * files.el (hack-local-variables-filter): Fix last change.
20567 2009-07-19 Juri Linkov <juri@jurta.org>
20569 * files.el (ignored-local-variables): Add `dir-local-variables-alist'.
20570 (dir-local-variables-alist): New buffer-local variable.
20571 (hack-local-variables-filter): If variable is not dir-local,
20572 i.e. `dir-name' is nil, then remove it from `dir-local-variables-alist',
20573 because file-local overrides dir-local.
20574 (c-postprocess-file-styles) <declare-function>:
20575 Remove obsolete declaration.
20576 (hack-dir-local-variables): Add dir-local variable/value pair to
20577 `dir-local-variables-alist' and remove duplicates. Doc fix.
20579 * help-fns.el (describe-variable): Add information about
20580 file-local and dir-local variables.
20582 2009-07-19 Chong Yidong <cyd@stupidchicken.com>
20584 * files.el (hack-local-variables-filter): Rewrite.
20586 2009-07-19 Glenn Morris <rgm@gnu.org>
20588 * progmodes/verilog-mode.el (verilog-error-regexp-add-xemacs):
20589 Silence compiler by only defining on XEmacs.
20591 * international/mule.el (auto-coding-regexp-alist): Only match
20592 BABYL... at the start of buffer, not of lines. (Bug#3790)
20594 * calendar/cal-menu.el (cal-menu-set-date-title): Handle calls from
20595 non-calendar buffers (Bug#3862). Restore "not on a date" message.
20596 (cal-menu-context-mouse-menu): Doc fix.
20598 * desktop.el (desktop-buffers-not-to-save): Set :version tag.
20600 * simple.el (mail-user-agent): Doc fix. Set :version tag.
20602 2009-07-18 Juri Linkov <juri@jurta.org>
20604 * info.el: Virtual Info keyword finder.
20605 (add-to-list) <Info-virtual-files>: Add "\\`\\*Finder.*\\*\\'".
20606 (Info-finder-file): New variable.
20607 (Info-finder-find-file): New function.
20608 (finder-known-keywords, finder-package-info)
20609 (find-library-name, lm-commentary): Use defvar and
20610 declare-function to silence compiler warnings.
20611 (Info-finder-find-node): New function.
20612 (info-finder): New command.
20614 * subr.el (process-kill-buffer-query-function): New function.
20615 (add-hook)<kill-buffer-query-functions>: Add hook
20616 `process-kill-buffer-query-function'.
20618 2009-07-18 Alan Mackenzie <acm@muc.de>
20620 * progmodes/cc-mode.el (c-before-hack-hook)
20621 (c-postprocess-file-styles): Give invocation of `c-set-style'
20622 DONT-OVERRIDE parameter of t. Already set style variables will
20623 thus not be overridden by style settings given by `c-file-syle'.
20625 * files.el (hack-local-variables-filter): Remove entries with
20626 duplicate keys from `file-local-variables-alist'.
20628 2009-07-18 Eli Zaretskii <eliz@gnu.org>
20630 * simple.el (deactivate-mark, activate-mark, set-mark): Don't call
20631 x-set-selection if display-selections-p returns nil for the
20634 2009-07-18 Chong Yidong <cyd@stupidchicken.com>
20636 * simple.el (region-active-p, use-region-p): Doc fix (Bug#3873).
20638 2009-07-18 Eli Zaretskii <eliz@gnu.org>
20640 * desktop.el (desktop-buffers-not-to-save): Default value is nil.
20641 Accept nil in addition to a regexp.
20642 (desktop-files-not-to-save): Add "(ftp)$" to the default regexp.
20643 Accept nil in addition to a regexp.
20644 (desktop-save-buffer-p): Don't use desktop-buffers-not-to-save for
20645 buffers that have an associated file. Handle nil values of
20646 desktop-buffers-not-to-save and desktop-files-not-to-save.
20649 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
20650 (x-disown-selection-internal): New functions.
20652 2009-07-18 Nick Roberts <nickrob@snap.net.nz>
20654 * progmodes/gdb-mi.el (speedbar-frame): Declare to avoid compiler
20656 (gdb-breakpoints-header): Move forward to avoid compiler warning.
20657 (gdb-make-header-line-mouse-map): Remove duplicate definition.
20659 2009-07-18 David De La Harpe Golden <david@harpegolden.net>
20661 * simple.el (set-mark): Revert last change.
20663 2009-07-17 Tassilo Horn <tassilo@member.fsf.org>
20665 * doc-view.el (doc-view-initiate-display): Add yes-or-no-p if
20666 rendering of pngs is not possible instead of messaging a long
20669 2009-07-17 David De La Harpe Golden <david@harpegolden.net>
20671 * w32-fns.el (x-selection-owner-p): New function.
20673 * mouse.el (mouse-drag-track): Call deactivate-mark earlier.
20674 (mouse-yank-at-click, mouse-yank-primary):
20675 If select-active-regions is non-nil, deactivate the mark before
20678 * simple.el (deactivate-mark, set-mark): Only save selection if we
20681 2009-07-17 Kenichi Handa <handa@m17n.org>
20683 * case-table.el (describe-buffer-case-table): Fix for the case
20684 that KEY is a cons.
20686 2009-07-16 Dan Nicolaescu <dann@ics.uci.edu>
20688 * vc-rcs.el (vc-rcs-find-file-hook):
20689 * vc-sccs.el (vc-sccs-find-file-hook): Fix cut and paste error.
20691 2009-07-16 Michael Albinus <michael.albinus@gmx.de>
20693 * net/tramp.el (tramp-wait-for-output): Handle the case when
20694 commands do not return a newline but a null byte before the shell
20697 2009-07-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
20699 * term/ns-win.el (ns-set-alpha): Don't declare.
20700 (ns-set-background-alpha): Remove function.
20702 2009-07-16 Kevin Ryde <user42@zip.com.au>
20704 * emacs-lisp/copyright.el (copyright-update): Save match-data across
20705 y-or-n-p, for safety.
20707 2009-07-16 Richard Stallman <rms@gnu.org>
20709 * files.el (auto-save-mode): If buffer-saved-size is -2,
20712 * mail/rmail.el (rmail-variables): Set buffer-saved-size to -2.
20713 (rmail-retry-ignored-headers): Add more uninteresting fields.
20715 2009-07-15 Jari Aalto <jari.aalto@cante.net>
20717 * net/rcirc.el (rcirc): Use history variables.
20718 (rcirc-server-name-history, rcirc-nick-name-history)
20719 (rcirc-server-port-history): New variables.
20721 2009-07-15 Kenichi Handa <handa@m17n.org>
20723 * international/mule-cmds.el (set-language-environment-charset):
20724 If coding-system-charset-list returns `iso-2022' or `emacs-mule',
20727 * language/misc-lang.el ("IPA"): Change coding systems to utf-8.
20728 Delete unibyte-display.
20730 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
20732 * simple.el (kill-visual-line): Obey kill-whole-line (Bug#3695).
20734 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
20736 * simple.el (deactivate-mark): Optional argument FORCE.
20737 (set-mark): Use deactivate-mark.
20739 * info.el (Info-search): No need to check transient-mark-mode
20740 before calling deactivate-mark.
20742 * select.el (x-set-selection): Doc fix.
20743 (x-valid-simple-selection-p): Allow buffer values.
20744 (xselect--selection-bounds): Handle buffer values.
20745 Suggested by David De La Harpe Golden.
20747 * mouse.el (mouse-set-region, mouse-drag-track):
20748 Call copy-region-as-kill before setting the mark, to let
20749 select-active-regions work.
20751 2009-07-15 David De La Harpe Golden <david@harpegolden.net>
20753 * simple.el (deactivate-mark): If select-active-regions is
20754 non-nil, copy the selection data into a string.
20755 (activate-mark): If select-active-regions is non-nil, set the
20756 selection to the current buffer.
20757 (set-mark): Update selection if select-active-regions is non-nil.
20759 * select.el (x-valid-simple-selection-p): Allow buffer values.
20761 2009-07-14 Stefan Monnier <monnier@iro.umontreal.ca>
20763 * simple.el (mail-user-agent): Default to the upwardly-UI-compatible
20764 and more featureful message-mode.
20766 2009-07-14 Chong Yidong <cyd@stupidchicken.com>
20768 * select.el (x-set-selection): Doc fix.
20769 (x-valid-simple-selection-p): Disallow selection data consisting
20770 of a list or cons of integers, since that is not used.
20771 (xselect--selection-bounds, xselect--int-to-cons): New functions.
20772 (xselect-convert-to-string, xselect-convert-to-length)
20773 (xselect-convert-to-filename, xselect-convert-to-charpos)
20774 (xselect-convert-to-lineno, xselect-convert-to-colno): Use them.
20776 2009-07-14 Dmitry Dzhus <dima@sphinx.net.ru>
20778 * progmodes/gdb-mi.el (json-partial-output): Fix broken GDB/MI
20779 output in -break-info command (Emacs bug #3794).
20781 2009-07-14 Glenn Morris <rgm@gnu.org>
20783 * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-forms)
20784 (edebug-eval-macro-args, edebug-save-displayed-buffer-points)
20785 (edebug-print-length, edebug-print-level, edebug-print-circle)
20786 (edebug-sit-for-seconds, edebug-view-outside)
20787 (edebug-bounce-point, edebug-set-global-break-condition)
20788 (edebug-Go-nonstop-mode, edebug-trace-mode)
20789 (edebug-Trace-fast-mode, edebug-continue-mode)
20790 (edebug-Continue-fast-mode, edebug-forward-sexp, edebug-help)
20791 (edebug-visit-eval-list): Doc fixes.
20793 * subr.el (def-edebug-spec): Doc fix.
20795 2009-07-14 Kenichi Handa <handa@m17n.org>
20797 * international/characters.el: Fix setting of category ?C.
20799 2009-07-13 Jan Djärv <jan.h.d@swipnet.se>
20801 * term/ns-win.el (x-select-font): defalias x-select-font to
20802 ns-popup-font-panel instead of generate-fontset-menu.
20804 2009-07-12 Eli Zaretskii <eliz@gnu.org>
20806 * desktop.el (desktop-buffers-not-to-save): Remove ".log". (Bug#3833)
20808 2009-07-12 Peter Jolly <peter@jollys.org> (tiny change)
20810 * arc-mode.el (archive-find-type): Allow for a PK00 string before
20811 the PK\003\004 header (Bug#3770).
20813 2009-07-12 Guanpeng Xu <herberteuler@hotmail.com>
20815 * pcomplete.el (pcomplete-comint-setup): Check for
20816 shell-dynamic-complete-filename too.
20818 2009-07-11 Chong Yidong <cyd@stupidchicken.com>
20820 * simple.el (temporary-goal-column): Change the value for
20821 line-move-visual to a cons cell.
20822 (line-move-visual): Record or set the window hscroll, if
20823 necessary (Bug#3494).
20824 (line-move-1): Handle cons value of temporary-goal-column.
20826 2009-07-11 Kenichi Handa <handa@m17n.org>
20828 * international/mule-diag.el (describe-character-set): Don't show
20831 2009-07-10 Sam Steingold <sds@gnu.org>
20833 * progmodes/compile.el (compilation-mode-font-lock-keywords):
20834 Omake sometimes indents the errors it prints, so allow all
20835 regexps to start with spaces.
20837 2009-07-10 Eli Zaretskii <eliz@gnu.org>
20839 * cus-edit.el (customize-changed-options-previous-release):
20840 Bump value to 22.1. (Bug#3804)
20842 2009-07-08 Sam Steingold <sds@gnu.org>
20844 * progmodes/grep.el (rgrep): Allow grep-find-ignored-directories
20845 to be a cons cell (test . ignored-directory) to selectively ignore
20846 some directories depending on the location of the search.
20848 2009-07-08 Michael Albinus <michael.albinus@gmx.de>
20850 * net/tramp.el (tramp-set-file-uid-gid): Handle the case the
20851 remote user is root, on the local host.
20852 (tramp-local-host-p): Either the local user or the remote user
20853 must be root. (Bug#3771)
20855 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
20857 * progmodes/gdb-mi.el (gdb): Remove description of
20858 gdb-use-separate-io-buffer.
20859 (menu): Don't allow toggling of or enable
20860 gdb-use-separate-io-buffer from menubar.
20862 2009-07-08 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
20864 * mail/unrmail.el (unrmail): Make sure the message ends with two
20865 newlines (Bug#3769).
20867 2009-07-08 Glenn Morris <rgm@gnu.org>
20869 * calendar/calendar.el (calendar-current-date): Rework previous change.
20871 2009-07-08 Ed Reingold <reingold@emr.cs.iit.edu>
20873 * calendar/calendar.el (calendar-current-date):
20874 Add an optional argument giving an offset from today.
20876 2009-07-08 Glenn Morris <rgm@gnu.org>
20878 * tutorial.el (tutorial--describe-nonstandard-key):
20879 Adjust the message for when a key has been unbound.
20880 (help-with-tutorial): Hide the arch-tag.
20882 2009-07-08 Kenichi Handa <handa@m17n.org>
20884 * international/fontset.el (setup-default-fontset): For each
20885 script, append (not set) font-specs.
20887 * language/japanese.el (japanese-shift-jis-2004): Fix typo in the
20890 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
20892 * progmodes/gdb-mi.el (gdb-init-1): Move sending
20893 -data-list-register-names to ...
20894 (gdb-starting): ... here because GDB 7.0 requires execution to
20895 have started when using this MI command.
20896 (gdb-set-header): New function to distinguish select and
20897 unselected tabs in gdb buffers.
20898 (gdb-propertize-header): New macro that uses gdb-set-header.
20899 (gdb-breakpoints-header, gdb-locals-header): Use it.
20900 (gdb-disassembly-mode-map): Add keybinding to kill buffer.
20902 2009-07-07 Chong Yidong <cyd@stupidchicken.com>
20904 * Makefile.in (ELCFILES): Remove fadr.elc.
20906 2009-07-07 Dmitry Dzhus <dima@sphinx.net.ru>
20908 * progmodes/gdb-mi.el (gdb-init-1): Disassembly buffer mode name
20909 may contain frame information, so `string-match' should be used.
20910 (gdb-update): Disassembly is invalidated through
20911 `gdb-get-selected-frame'.
20912 (gdb-pad-string): New function to pad string with spaces.
20913 (gdb-invalidate-disassembly): Invalidate only if the buffer
20915 (gdb-disassembly-handler-custom): Column alignment.
20916 (gdb-disassembly-place-breakpoints): Clear old breakpoints before
20918 (gdb-toggle-breakpoint, gdb-delete-breakpoint): Now work from the
20920 (gdb-frame-handler): Match convention to for disassembly buffer
20922 (gdb-stack-list-frames-handler): Rewritten without regexps.
20923 (gdb-breakpoints-list-handler-custom): y/n instead of on/off; do
20924 not highlight breakpoints without line information.
20925 (gdb-input): Add trailing newline to command.
20927 * progmodes/gdb-mi.el (gdb-init-1): Set mode name for disassembly
20929 (gdb-breakpoints-list-handler-custom): Replacement for
20930 `gdb-break-list-handler'. Using real parser instead of regexps
20932 (gdb-place-breakpoints): Replacement for `gdb-break-list-custom'.
20933 Use `gdb-breakpoints-list' instead of parsing breakpoints buffer
20934 to place breakpoints.
20935 (def-gdb-memory-unit): A new macro to define gdb-memory-unit-..
20937 (gdb-disassembly-handler-custom): Show overlay arrow.
20938 (gdb-disassembly-place-breakpoints): Show breakpoints in
20939 disassembly buffer.
20940 (gdb-toggle-breakpoint, gdb-delete-breakpoint)
20941 (gdb-goto-breakpoint): Using `gdb-breakpoint' text properties
20942 instead of parsing breakpoints buffer. Fixed old menu references
20947 * progmodes/gdb-mi.el: Port memory buffer from gdb-ui.el.
20948 (gdb-memory-address): New variable which holds top address of
20949 memory page shown in memory buffer.
20950 (gdb-memory-repeat-count, gdb-memory-format, gdb-memory-unit):
20951 New customization variables.
20953 (gdb-display-memory-buffer, gdb-frame-memory-buffer): Functions to
20954 display the memory buffer.
20955 (gdb-memory-set-address, gdb-memory-set-repeat-count): Set memory
20956 buffer display parameters.
20957 (def-gdb-memory-format, gdb-memory-format-binary)
20958 (gdb-memory-format-octal, gdb-memory-format-unsigned)
20959 (gdb-memory-format-signed, gdb-memory-format-hexadecimal):
20960 Functions for setting memory buffer format.
20961 (gdb-memory-unit-word, gdb-memory-unit-halfword)
20962 (gdb-memory-unit-giant, gdb-memory-unit-byte): Functions to set
20963 unit size used in memory buffer.
20964 (gdb-memory-show-next-page, gdb-memory-show-previous-page):
20965 Switch to next/previous page of memory buffer.
20966 Now using (bindat-get-field) instead of fadr functions.
20968 2009-07-07 Sam Steingold <sds@gnu.org>
20970 * vc-cvs.el (vc-cvs-merge-news): Fix message parsing for
20971 non-top-level files.
20973 2009-07-07 Kenichi Handa <handa@m17n.org>
20975 * international/mule-cmds.el (reset-language-environment):
20976 Put the highset priority to the charset iso-8859-1.
20978 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
20980 * progmodes/hideshow.el (hs-hide-block-at-point): Don't move point
20981 to the end of the line when locating the block (Bug#700).
20983 2009-07-06 Michael Albinus <michael.albinus@gmx.de>
20985 * net/tramp.el (tramp-handle-write-region): Flush file properties
20986 in case of short track.
20988 2009-07-06 Michael McNamara <mac@mail.brushroad.com>
20990 * progmodes/verilog-mode.el (verilog-error-regexp-emacs-alist):
20991 Coded custom representation of verilog error regular expressions
20992 to work with Emacs-22's new format.
20993 (verilog-error-regexp-xemacs-alist): Coded custom representation
20994 of verilog error regular expressions to work with XEmacs format.
20995 (verilog-error-regexp-add-xemacs): Hook routine to install verilog
20996 error recognition into XEmacs.
20997 (verilog-error-regexp-add-emacs): Hook routine to install verilog
20998 error recognition into Emacs-22.
21000 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
21002 * woman.el: Remove stand-alone closing parentheses.
21003 (woman-file-name, woman2-format-paragraphs)
21004 (woman-leave-blank-lines): Code cleanup.
21005 (woman-use-own-frame): Change default to nil.
21006 (woman-italic, woman-bold, woman-unknown, woman-addition):
21007 Change defaults to inherit from default faces.
21008 (woman2-process-escapes): Consume the newline after a stand-alone
21009 filler character (Bug#3651).
21011 2009-07-06 Glenn Morris <rgm@gnu.org>
21013 * ffap.el (ffap-version): Make it an obsolete alias for emacs-version.
21014 (top-level): Move provide to the end.
21015 (ffap): Remove defunct URL from custom group.
21017 * subr.el (eval-after-load): Doc fix.
21019 2009-07-06 Vincent Belaïche <vincent.belaiche@gmail.com>
21021 * calc/calc-embed.el (calc-embedded-make-info): Don't force when
21022 `calc-embedded-word' is called twice.
21024 2009-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
21026 * files.el (find-alternate-file-other-window, find-alternate-file):
21027 Obey confirm-nonexistent-file-or-buffer.
21029 2009-07-05 Michael Albinus <michael.albinus@gmx.de>
21031 * dired-aux.el (dired-show-file-type): Handle remote files.
21033 2009-07-05 Jari Aalto <jari.aalto@cante.net>
21035 * desktop.el (desktop-globals-to-save):
21036 Add file-name-history (Bug#2750).
21038 2009-07-05 Chong Yidong <cyd@stupidchicken.com>
21040 * add-log.el (add-log-current-defun-header-regexp): Doc fix (Bug#2217).
21042 2009-07-04 Johan Bockgård <bojohan@gnu.org>
21044 * eshell/esh-arg.el (eshell-parse-argument-hook): Put `number'
21045 property on entire argument since this is what eshell-lisp-command
21048 2009-07-03 Michael Albinus <michael.albinus@gmx.de>
21050 * net/tramp-gvfs.el (tramp-gvfs-methods)
21051 (tramp-gvfs-zeroconf-domain)
21052 (tramp-bluez-discover-devices-timeout): Add version flag.
21053 (tramp-gvfs-handler-mounted-unmounted)
21054 (tramp-gvfs-connection-mounted-p): Polish handling of
21055 incompatibilities between GVFS 0.2 and 1.0.
21057 2009-07-03 Jan Djärv <jan.h.d@swipnet.se>
21059 * cus-start.el (all): Add make-pointer-invisible.
21061 2009-07-03 Jay Belanger <jay.p.belanger@gmail.com>
21063 * calc/calc-math.el (math-use-emacs-fn): Make sure that the number is
21064 formatted correctly.
21066 2009-07-02 Juri Linkov <juri@jurta.org>
21068 * info.el: Virtual Info files and nodes.
21069 (Info-virtual-files, Info-virtual-nodes): New variables.
21070 (Info-current-node-virtual): New variable.
21071 (Info-virtual-file-p, Info-virtual-fun, Info-virtual-call):
21073 (Info-file-supports-index-cookies): Use Info-virtual-file-p
21074 to check for a virtual file instead of checking a fixed list
21076 (Info-find-file): Use Info-virtual-fun and Info-virtual-call
21077 instead of ad-hoc processing of "dir" and (apropos history toc).
21078 (Info-find-node-2): Use Info-virtual-fun and Info-virtual-call
21079 instead of ad-hoc processing of "dir" and (apropos history toc).
21080 Reread a file when moving from a virtual node.
21081 (add-to-list)<Info-virtual-files>: Add "\\`dir\\'".
21082 (Info-directory-toc-nodes, Info-directory-find-file)
21083 (Info-directory-find-node): New functions.
21084 (add-to-list)<Info-virtual-files>: Add "\\`\\*History\\*\\'".
21085 (Info-history): Move part of code to
21086 `Info-history-find-node'.
21087 (Info-history-toc-nodes, Info-history-find-file)
21088 (Info-history-find-node): New functions.
21089 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*TOC\\*\\'".
21090 (Info-toc): Move part of code to `Info-toc-find-node'.
21091 (Info-toc-find-node): New function.
21092 (Info-toc-insert): Rename from `Info-insert-toc'. Don't insert
21093 the current Info file name to references because now the node
21094 "*TOC*" belongs to the same Info manual.
21095 (Info-toc-build): Rename from `Info-build-toc'.
21096 (Info-toc-nodes): Rename input argument `file' to `filename'.
21097 Use Info-virtual-fun, Info-virtual-call and Info-virtual-file-p
21098 instead of ad-hoc processing of ("dir" apropos history toc).
21099 (Info-index-nodes): Use Info-virtual-file-p
21100 to check for a virtual file instead of checking a fixed list
21102 (Info-index-node): Add check for `Info-current-node-virtual'.
21103 Raise `save-match-data' higher up the tree to contain
21104 `search-forward' too (bug fix).
21105 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*Index.*\\*\\'".
21106 (Info-virtual-index-nodes): New variable.
21107 (Info-virtual-index-find-node, Info-virtual-index): New functions.
21108 (add-to-list)<Info-virtual-files>: Add "\\`\\*Apropos\\*\\'".
21109 (Info-apropos-file, Info-apropos-nodes): New variables.
21110 (Info-apropos-toc-nodes, Info-apropos-find-file)
21111 (Info-apropos-find-node, Info-apropos-matches): New functions.
21112 (info-apropos): Move part of code to `Info-apropos-find-node' and
21113 `Info-apropos-matches'.
21114 (Info-mode-map): Bind "I" to `Info-virtual-index'.
21115 (Info-desktop-buffer-misc-data): Use Info-virtual-file-p to check
21116 for a virtual file instead of checking a fixed list of node names.
21118 * simple.el (async-shell-command): New command.
21120 * bindings.el (esc-map): Bind "&" to `async-shell-command'.
21122 * net/tramp-gvfs.el (tramp-gvfs-connection-mounted-p): Use `elt'
21123 instead of `mount-info'.
21125 2009-07-02 Michael Albinus <michael.albinus@gmx.de>
21127 * net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted)
21128 (tramp-gvfs-connection-mounted-p): Handle changed mount-info interface.
21130 2009-07-02 Kenichi Handa <handa@m17n.org>
21132 * international/mule.el (set-keyboard-coding-system): Force *-unix
21133 coding-system to avoid eol conversion.
21135 2009-07-01 Michael Albinus <michael.albinus@gmx.de>
21137 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
21138 Add handler for `process-file', `shell-command' and
21139 `start-file-process'.
21140 (tramp-gvfs-handle-shell-command)
21141 (tramp-gvfs-handle-start-file-process)
21142 (tramp-gvfs-handle-process-file): New defuns.
21143 (tramp-synce-list-devices): Simplify check for existence of property.
21145 2009-07-01 Jan Djärv <jan.h.d@swipnet.se>
21147 * startup.el (command-line-x-option-alist): Add -mm and --maximized.
21149 2009-07-01 Eduard Wiebe <usenet@pusto.de> (tiny change)
21151 * language/korean.el (set-language-info-alist): Add korean-cp949,
21154 2009-07-01 Kenichi Handa <handa@m17n.org>
21156 * Makefile.in (ELCFILES): Delete encoded-kb.elc.
21158 * international/encoded-kb.el: Deleted.
21160 * international/mule.el (set-keyboard-coding-system): Perform the
21161 necessary setup here instead of calling encoded-kbd-setup-display.
21163 2009-07-01 Glenn Morris <rgm@gnu.org>
21165 * progmodes/f90.el (f90-break-delimiters, f90-no-break-re): Doc fixes.
21167 2009-07-01 Evangelos Evangelou <vangelis@email.unc.edu> (tiny change)
21169 * progmodes/f90.el (f90-no-break-re): Add "(/" and "/)". (Bug#3730)
21171 2009-06-30 Michael Albinus <michael.albinus@gmx.de>
21173 * net/tramp.el (tramp-do-copy-or-rename-file-directly):
21174 Handle also the 'rename case, when setting file modes. (Bug#3712)
21175 (tramp-default-file-modes): Remove execute permissions.
21177 * net/tramp-gvfs.el (tramp-gvfs-methods): Add "synce" method.
21178 (top): Add a default for "synce" in `tramp-default-user-alist'.
21179 Add completion function for "synce" method.
21180 (tramp-hal-service, tramp-hal-path-manager)
21181 (tramp-hal-interface-manager, tramp-hal-interface-device):
21183 (tramp-gvfs-connection-mounted-p): Handle empty user name for synce.
21184 (tramp-synce-list-devices, tramp-synce-parse-device-names):
21187 * net/trampver.el: Update release number.
21189 2009-06-30 Kenichi Handa <handa@m17n.org>
21191 * international/fontset.el (setup-default-fontset): Add CJK fonts
21192 for symbols and the other miscellaneous characters.
21194 * language/korea-util.el (setup-korean-environment-internal):
21195 Make char-width-table suitable for Korean environments.
21196 (exit-korean-environment): Cancel above.
21198 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
21199 ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK"): Add a
21200 setup-function to make char-width-table suitable for respective
21201 environments, and an exit-function to cancel that.
21203 * language/japan-util.el (setup-japanese-environment-internal):
21204 Call use-cjk-char-width-table with arg `ja_JP'.
21206 * international/characters.el (cjk-char-width-table): Delete it.
21207 (cjk-char-width-table-list): New variable.
21208 (use-cjk-char-width-table): New arg local-name.
21209 (use-default-char-width-table): Fix for the case that Emacs is
21210 already using the default char-width-table.
21212 2009-06-29 Michael Albinus <michael.albinus@gmx.de>
21214 * net/tramp.el (tramp-do-copy-or-rename-file-directly): Set file
21215 modes mandatory. (Bug#3712)
21217 2009-06-29 Alan Mackenzie <acm@muc.de>
21219 * progmodes/cc-cmds.el (c-mask-paragraph): Remove a spurious
21220 correction between the visible width of TABs and their number of bytes.
21222 2009-06-29 Chong Yidong <cyd@stupidchicken.com>
21224 * server.el (server-buffer-done): Prevent kill-buffer from
21225 prompting by clearing the buffer modification flag (Bug#3696).
21227 2009-06-28 Michael McNamara <mac@mail.brushroad.com>
21229 * progmodes/verilog-mode.el (verilog-beg-of-statement)
21230 (verilog-endcomment-reason-re): Support unique case and priority case.
21231 (verilog-basic-complete-re): Support localparam lineup.
21232 (verilog-beg-of-statement-1): Fix for robustness, unique case.
21233 (verilog-set-auto-endcomments): Fix for unique case, always_comb
21235 (verilog-leap-to-case-head): Now support *nested* unique &
21236 priority case statements.
21237 (verilog-auto-lineup): Make just declarations the default (as it
21239 (verilog-leap-to-case-head): Support priority/unique case statements.
21240 (verilog-auto-lineup): Rework to give users radio buttons to
21241 select the various styles of automatic lineup.
21242 (verilog-error-regexp-alist): Rework to support the XEmacs style
21243 of error regular expressions from compilers, lint tools &
21244 simulators. Note that GNU Emacs has made it impossible for a mode
21245 to load such things.
21246 (electric-verilog-terminate-line, verilog-indent-declaration)
21247 (verilog-auto-wiure): Rework for radio button selection of
21248 auto-lineup selection of specification of auto lineup.
21249 (verilog-beg-of-statement-1): Redesign to support proper operation
21250 in additional code, based on testing with auto-lineup.
21251 (verilog-calculate-indent, assignments & declarations)
21252 (verilog-backward-token): Enhance to support auto-lineup of
21253 assignments & declarations.
21254 (verilog-in-directive-p, verilog-at-struct-p): New function for
21255 easy test of whether we are.
21256 (verilog-pretty-declarations, verilog-pretty-expr): Massive rework
21257 to support safe execution at almost anyline.
21258 (verilog-calc-1): Properly support indenting deep inside generate
21260 (verilog-init-font): Remove definition & use of verilog-init-font,
21261 as it is redundant with font-lock-defaults.
21262 (verilog-mode): Alter the definition of verilog-font-lock-defaults
21263 to avoid circular calls if syntax-ppss is a function (as is the
21264 case now in 22.x GNU Emacs) as that function would sometimes call
21265 itself, leading to (nearly) infinite recursion.
21266 (verilog-ovm-begin-re, verilog-ovm-end-re)
21267 (verilog-ovm-statement-re, verilog-leap-to-head)
21268 (verilog-backward-token): Add support for OVM macros. Some are
21269 complete statements, and others open and close scopes like begin
21271 (verilog-defun-level-not-generate-re, verilog-defun-level-re)
21272 (verilog-defun-level-generate-only-re): Really fix the defun-list
21274 (verilog-calc-1, verilog-beg-of-statement): Enhance support for
21275 coverpoint, constraint and cross statements.
21276 (verilog-defun-level-list, verilog-generate-defun-level-list)
21277 (verilog-all-defun-level-list): Redo these specifications - it is
21278 too hard to support eval-when compile aggregation of lists also
21279 built at when-compile time.
21280 (verilog-defun-level-list): Place defconsts of variables used in
21281 building regular expressions which are built in eval-when-compile
21282 bodies in the same eval-when-compile body to facilitate compile
21284 (verilog-beg-block-re-ordered): Support indenting
21285 virtual/protected tasks and functions.
21286 (verilog-defun-level-list, verilog-in-generate-region-p)
21287 (verilog-backward-ws&directives, verilog-calc-1): Speed up
21288 indentation of some module items (generate items).
21289 (verilog-forward-sexp, verilog-leap-to-head): Support stepping
21290 across virtual/protected tasks and functions.
21292 2009-06-28 Wilson Snyder <wsnyder@wsnyder.org>
21294 * progmodes/verilog-mode.el (verilog-auto-arg, verilog-auto-arg-sort):
21295 Allow sorting AUTOARG lists. Suggested by Andrea Fedeli.
21296 (verilog-read-sub-decls-line): Fix AUTOWIRE signals getting lost
21297 in concatenations. Reported by Yishay Belkind.
21298 (verilog-auto-ascii-enum): Support one-hot state machines in
21299 AUTOASCIIENUM. Suggested by Lloyd Gomez.
21300 (verilog-auto-inst, verilog-auto-inst-port): Include interface
21301 modport in AUTOINST and add vl-modport for users.
21302 Reported by David Rogoff.
21303 (verilog-auto-inout-module, verilog-auto-inst)
21304 (verilog-decls-get-interfaces, verilog-insert-definition)
21305 (verilog-insert-one-definition, verilog-read-decls)
21306 (verilog-read-sub-decls, verilog-read-sub-decls-sig)
21307 (verilog-sig-modport, verilog-signals-combine-bus)
21308 (verilog-subdecls-get-interfaces): Fix expansion of SystemVerilog
21309 interfaces in AUTOINOUTMODULE, AUTOINOUTCOMP, and AUTOINST.
21310 Suggested by David Rogoff.
21311 (verilog-repair-open-comma): Fix non-insertion of comma when
21312 `DEFINE occurs in V2K argument list. Reported by Lane Brooks.
21313 (verilog-make-width-expression): Simplify [A-1:0] expression
21314 widths to just {A{1'b0}}.
21315 (verilog-mode): Cleanup checkdoc warnings.
21316 (verilog-auto-inout-module, verilog-signals-matching-dir-re):
21317 Add third optional regexp to AUTOINOUTMODULE to allow selecting only
21318 inputs/outputs or data type. Suggested by Vasu Kandadi.
21319 (next-error-last-buffer): Fix byte-compiler warning.
21320 (verilog-auto, verilog-auto-insert-lisp, verilog-auto-inst)
21321 (verilog-delete-auto): Add AUTOINSERTLISP to insert arbitrary lisp
21322 or shell command text during AUTO expansion. Suggested by Tad Truex.
21323 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line)
21324 (verilog-read-sub-decls-sig, verilog-symbol-detick-text):
21325 Fix dotted nets {a.b,c.d} and excaped identifiers being mis-included
21326 in AUTOINOUT. Reported by Matthew Lovell.
21327 (verilog-read-always-signals-recurse): Fix AUTORESET "if (a<=b)"
21328 causing use of <= assignments. Reported by Alex Reed.
21329 (verilog-read-decls): Fix triand, trior, wand, wor to be
21330 recognized by AUTOWIRE. Reported by Spencer Isaacson.
21331 (verilog-extended-complete-re): Support import "DPI-C" functions.
21332 (verilog-read-always-signals-recurse): Fix AUTORESET of "x <=
21333 y[a+1:a+1]" to not include a in reset list. Reported by Dan Dever.
21334 (verilog-insert-date, verilog-insert-year)
21335 (verilog-sk-header-tmpl): Fix verilog-header inserting error on
21336 Windows systems. Reported by Michael Potts.
21337 (verilog-read-module-name): Fix AUTOINST when the child module
21338 declaration's name is a tick define. Reported by Elliot Mednick.
21339 (verilog-read-decls): Fix V2K parameter bit subscripts getting
21340 passed to next parameter's definition. Reported by Bruce T.
21341 (verilog-read-decls): Fix detecting "parameter int" when using
21342 AUTOINSTPARAM. Reported by Bruce T.
21343 (verilog-goto-defun): Fix goto not finding modules unless first
21344 perform a verilog-auto expansion. Suggested by Lawrence Butcher.
21345 (verilog-mode): Expand -f flag arguments on entry to mode so
21346 verilog-goto-defun will work. Reported by Lawrence Butcher.
21347 (verilog-getopt): Expand environment variables in -f file
21348 arguments. Suggested by Lawrence Butcher.
21349 (verilog-set-define): Fix "Symbol's value as variable is void"
21350 when reading enumerations.
21351 (verilog-auto-ascii-enum): Fix duplicate labels in AUTOASCIIENUM.
21352 Suggested by Stephen Peltan.
21353 (verilog-read-defines): Fix reading of enumerations in include
21354 files. Reported by Steve Peltan.
21356 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
21358 * files.el (trash-directory): Fix defcustom type.
21360 2009-06-28 Juri Linkov <juri@jurta.org>
21362 * help-fns.el (describe-function-1): Correctly locate adviced
21363 functions in hyperlink (Bug#2438).
21365 2009-06-28 Chong Yidong <cyd@stupidchicken.com>
21367 * files.el (trash-directory): Change default to nil.
21368 (move-file-to-trash): If trash-directory is nil and
21369 system-move-file-to-trash is unbound, perform freedesktop-style
21372 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
21374 * files.el (move-file-to-trash): Add freedesktop trash
21377 2009-06-28 Glenn Morris <rgm@gnu.org>
21379 * autorevert.el (global-auto-revert-non-file-buffers)
21380 (global-auto-revert-mode): Doc fixes.
21382 2009-06-27 Johan Bockgård <bojohan@gnu.org>
21384 * emacs-lisp/cl-specs.el (defstruct): Fix :conc-name spec.
21386 2009-06-27 Chong Yidong <cyd@stupidchicken.com>
21388 * faces.el (x-handle-named-frame-geometry): Ensure that we have
21389 opened an X connection before calling x-get-resource (Bug#3194).
21391 * play/doctor.el: Remove reference to obsolete website.
21392 (make-doctor-variables): Correct grammar mistake (Bug#2633).
21394 2009-06-26 Dan Nicolaescu <dann@ics.uci.edu>
21396 Remove find-file-not-found-hook VC method. (Bug#2757)
21397 * vc-hooks.el (vc-file-not-found-hook)
21398 (vc-default-find-file-not-found-hook): Remove functions.
21399 (find-file-not-found-functions): Do not add vc-file-not-found-hook.
21400 * vc-rcs.el (vc-rcs-find-file-not-found-hook): Remove function.
21403 * vc-git.el: Do not mention find-file-not-found-hook VC method.
21405 2009-06-25 Agustín Martín <agustin.martin@hispalinux.es>
21407 * textmodes/ispell.el: Add `ispell-looking-back' XEmacs
21408 compatibility function for `looking-back'.
21410 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
21411 Use `ispell-looking-back'.
21413 2009-06-24 Michael Albinus <michael.albinus@gmx.de>
21415 * net/tramp-gvfs.el (tramp-gvfs-handle-make-directory): Use `dir'
21416 rather than `filename'.
21418 2009-06-23 Miles Bader <miles@gnu.org>
21420 * face-remap.el (text-scale-set): New function.
21422 2009-06-23 Glenn Morris <rgm@gnu.org>
21424 * pcmpl-rpm.el (pcomplete/rpm): Doc fix.
21426 * bindings.el (mode-line-modified): Fix case of "Buffer is modified".
21428 * textmodes/ispell.el (ispell-local-dictionary): Doc fix.
21430 * progmodes/gdb-mi.el (gud-remove, gud-break): Update declarations.
21432 * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
21433 Simplify Persian conditionals.
21435 * calc/calc-graph.el (calc-graph-plot): Avoid assignment to free
21436 variable `filename'.
21438 * comint.el (comint-insert-input): Doc fix.
21440 * Makefile.in (ELCFILES): Fix typo in previous change.
21442 2009-06-23 Miles Bader <miles@gnu.org>
21444 * cus-start.el: Add entry for `recenter-redisplay'.
21446 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
21448 * vc-hooks.el (vc-stay-local-p, vc-state, vc-working-revision):
21449 Add an optional argument for the backend, use it instead of
21450 calling vc-backend.
21451 (vc-mode-line): Add an optional argument for the backend.
21452 Pass the backend to vc-state and vc-working-revision. Move code for
21453 special handling for vc-state being a buffer to ...
21455 * vc-rcs.el (vc-rcs-find-file-hook):
21456 * vc-sccs.el (vc-sccs-find-file-hook): ... here. New functions.
21458 * vc-svn.el (vc-svn-state, vc-svn-dir-status, vc-svn-checkout)
21459 (vc-svn-print-log, vc-svn-diff): Pass 'SVN to vc-state,
21460 vc-stay-local-p and vc-mode-line calls.
21462 * vc-cvs.el (vc-cvs-state, vc-cvs-checkout, vc-cvs-print-log)
21463 (vc-cvs-diff, vc-cvs-annotate-command)
21464 (vc-cvs-make-version-backups-p, vc-cvs-stay-local-p)
21465 (vc-cvs-dir-status): Pass 'CVS to vc-state, vc-stay-local-p and
21466 vc-mode-line calls.
21468 * vc.el (vc-deduce-fileset): Use vc-deduce-fileset instead of
21470 (vc-next-action, vc-transfer-file, vc-rename-file): Also pass the
21471 backend when calling vc-mode-line.
21472 (vc-register): Do not create a closure for calling the vc register
21473 function, call it directly.
21475 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
21477 * emacs-lisp/elp.el (elp-output-insert-symname): Add a link face
21478 to make it obvious item can be clicked.
21480 * vc-mtn.el (vc-mtn-after-dir-status, vc-mtn-dir-status): New functions.
21482 2009-06-23 Kenichi Handa <handa@m17n.org>
21484 * language/korea-util.el (korean-key-bindings): Change the binding
21485 of F9 to hangul-to-hanja-conversion. Bind Hangul_Hanja to the
21488 2009-06-22 Michael Albinus <michael.albinus@gmx.de>
21490 Sync with Tramp 2.1.16.
21492 * Makefile.in (ELCFILES): Add net/tramp-gvfs.elc.
21494 * net/tramp.el (top): Require tramp-gvfs. Catch `tramp-loading',
21495 when a loading of a package fails. Completion function for rsync
21496 is `tramp-completion-function-alist-ssh'.
21497 (all): Replace all calls of `split-string' and
21498 `tramp-split-string' by `tramp-compat-split-string'.
21499 (tramp-default-method): Use `tramp-compat-process-running-p'.
21500 (tramp-default-proxies-alist): Allow also Lisp forms.
21501 (tramp-remote-path): Add choice "Private Directories".
21502 (tramp-wrong-passwd-regexp): Remove "Tramp connection closed" option.
21503 (tramp-domain-regexp): Allow also "-", "_" and ".".
21504 (tramp-end-of-output): Remove newlines, and add "$" at the end.
21505 (tramp-file-name-handler-alist): Add handler for `dired-uncache'.
21506 (tramp-debug-message): Insert header line in debug buffer.
21507 (tramp-handle-directory-files-and-attributes-with-stat):
21508 Care about filenames with spaces, or starting with "-".
21509 (tramp-handle-dired-uncache): New defun.
21510 (tramp-handle-insert-directory): Don't flush the directory from
21511 cache, this is handled by `dired-uncache' now.
21512 (tramp-handle-insert-file-contents): Improve error handling.
21513 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
21514 Quote `tramp-end-of-output'.
21515 (tramp-action-password): Improve trace message.
21516 (tramp-check-for-regexp): Both echoes must be present, before removing.
21517 (tramp-open-connection-setup-interactive-shell): Trace coding system.
21518 (tramp-compute-multi-hops): Eval cons cells of
21519 `tramp-default-proxies-alist'.
21520 (tramp-maybe-open-connection): Use the same command pattern for
21521 first hop and further hops.
21522 (tramp-wait-for-output): Remove handling of newlines.
21523 (tramp-get-remote-path): Handle also `tramp-own-remote-path'.
21524 (tramp-split-string): Remove function. It is handled in
21527 * net/tramp-cmds.el (tramp-bug):
21528 Recommend `tramp-cleanup-all-connections' in the bug mail.
21530 * net/tramp-compat.el (tramp-compat-split-string)
21531 (tramp-compat-process-running-p): New defuns.
21533 * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add handler
21534 for `dired-uncache'.
21536 * net/tramp-gvfs.el: New package.
21538 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
21539 Add handler for `dired-uncache'.
21540 (tramp-smb-handle-file-local-copy): Cleanup in case of error.
21542 * net/trampver.el: Update release number. Make version check fit
21545 2009-06-22 Jim Meyering <meyering@redhat.com>
21547 Automatically handle .xz suffix (XZ-compressed files), too.
21548 * jka-cmpr-hook.el (jka-compr-compression-info-list): Add xz.
21549 XZ is the successor to LZMA: <http://tukaani.org/xz/>
21551 2009-06-22 Dmitry Dzhus <dima@sphinx.net.ru>
21552 Nick Roberts <nickrob@snap.net.nz>
21554 * progmodes/gdb-mi.el: Pull further modified changes from Dmitry's
21555 repository (http://sphinx.net.ru/hg/gdb-mi/).
21557 2009-06-22 Glenn Morris <rgm@gnu.org>
21559 * files.el (dir-locals-collect-mode-variables): Allow for any number of
21560 `mode' and `eval' entries. (Bug#3430)
21562 * Makefile.in (ELCFILES): Add fadr.elc.
21564 * calendar/appt.el (appt-make-list): Fix off-by-one error caused by
21565 differing behavior of \n and ^ in strings. (Bug#3385)
21567 * emacs-lisp/cl-indent.el: Remove leading "*" from defcustom docs.
21569 * emacs-lisp/lisp-mode.el (lisp-indent-offset): Fix safe-local-variable
21571 (lisp-indent-function): Make it a defcustom.
21573 2009-06-21 Nick Roberts <nickrob@snap.net.nz>
21575 * progmodes/gdb-ui.el: Replace with ...
21576 * progmodes/gdb-mi.el: ... this file.
21577 * progmodes/gud.el: Modify for gdb-mi.el.
21579 2009-06-21 Dmitry Dzhus <dima@sphinx.net.ru>
21581 * fadr.el: New file.
21583 See ChangeLog.14 for earlier changes.
21585 ;; Local Variables:
21589 Copyright (C) 2009-2011 Free Software Foundation, Inc.
21591 This file is part of GNU Emacs.
21593 GNU Emacs is free software: you can redistribute it and/or modify
21594 it under the terms of the GNU General Public License as published by
21595 the Free Software Foundation, either version 3 of the License, or
21596 (at your option) any later version.
21598 GNU Emacs is distributed in the hope that it will be useful,
21599 but WITHOUT ANY WARRANTY; without even the implied warranty of
21600 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21601 GNU General Public License for more details.
21603 You should have received a copy of the GNU General Public License
21604 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.