1 2011-02-10 Ken Manheimer <ken.manheimer@gmail.com>
3 * allout.el: Synopsis: Change allout user configuration so
4 auto-activation is controlled solely by customization
5 `allout-auto-activation'.
7 (allout-auto-activation-helper) (allout-setup): New autoloads
8 implement new custom set procedure for allout-auto-activation.
9 Also, explicitly invoke
10 (allout-setup) after allout-auto-activation is custom-defined, to
11 effect the settings in emacs sessions besides the few where
12 allout-auto-activation customization is donea.
13 (allout-auto-activation): Use allout-auto-activation-helper to
14 :set. Revise the docstring.
15 (allout-init): Reduce functionality to just customizing
16 allout-auto-activation, and mark obsolete.
17 (allout-mode): Respect string values for allout-auto-activation.
18 Run allout-after-copy-or-kill-hook without any args.
19 (allout-mode) (allout-layout) (allout-default-layout)
20 (outlineify-sticky): Adjust docstring for new scheme.
21 (allout-after-copy-or-kill-hook): No arguments - hook implementers
22 should concentrate on the kill ring.
24 2011-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
26 * progmodes/sh-script.el (sh-font-lock-open-heredoc): Fix case
27 of here-doc that immediately follows a comment.
29 2011-02-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
31 * net/rcirc.el (rcirc-ctcp-sender-PING): Simplifying.
33 * net/rcirc.el (rcirc-cmd-ctcp): Use dedicated function when
35 (rcirc-ctcp-sender-PING): New function.
37 2011-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
39 * obsolete/pc-select.el: Rename from emulation/pc-select.el (bug#7940).
40 Remove the mark/nomark handling, and activate shift-select-mode instead.
42 * obsolete/pc-mode.el: Rename from emulation/pc-mode.el.
44 2011-02-07 Jay Belanger <jay.p.belanger@gmail.com>
46 * calc/calc-units.el (math-logunits-quant): Add support for
47 non-logarithmic units.
49 2011-02-07 Ken Manheimer <ken.manheimer@gmail.com>
51 * allout.el (allout-after-copy-or-kill-hook): New hook for
52 extension-specific processing of killed text.
53 (allout-mode): Include new allout-after-copy-or-kill-hook among
55 (allout-kill-line) (allout-kill-topic): Ensure that processing
56 after kill happens even if barf-if-buffer-read-only is raised.
57 Include new allout-after-copy-or-kill-hook among that subsequent
59 (allout-deannotate-hidden): Actually remove the annotation text
62 * allout.el (allout-listify-exposed): Copy text sans text properties.
64 2011-02-07 Michael Albinus <michael.albinus@gmx.de>
66 * net/dbus.el (dbus-list-activatable-names): Add optional argument
69 2011-02-07 Deniz Dogan <deniz.a.m.dogan@gmail.com>
71 * net/rcirc.el (rcirc-handler-317): New function (Bug#6507).
73 2011-02-06 Jay Belanger <jay.p.belanger@gmail.com>
75 * calc/calc.el (calc-logunits-field-reference) Renamed from
76 `calc-default-field-reference-level'.
77 (calc-logunits-power-reference): Renamed from
78 `calc-default-power-reference-level'
80 * calc/calc-units.el (math-logunits-quant): Renamed from
82 (math-logunits-plus): Renamed from math-logcombine.
83 (calcFunc-luplus, calcFunc-luminus calc-luplus, calc-luminus): Remove.
84 (calcFunc-lufieldadd, calcFunc-lupoweradd, calcFunc-lufieldsub)
85 (calcFunc-lufieldsub,calc-logunits-add calc-logunits-sub):
87 (calcFunc-fieldquant): Renamed from `calcFunc-fieldlevel'.
88 (calcFunc-powerquant): Renamed from `calcFunc-powerlevel'.
89 (calc-logunits-quantity): Renamed from `calc-level'.
90 (calcFunc-dbfieldlevel, calcFunc-dbpowerlevel, calcFunc-npfieldlevel)
91 (calcFunc-nppowerlevel,calc-logunits-dblevel, calc-logunits-nplevel)
92 (math-logunits-mul, calcFunc-lufieldmul, calcFunc-lupowermul)
93 (calc-logunits-mul, math-logunits-divide, calcFunc-lufielddiv)
94 (calcFunc-lupowerdiv,calc-logunits-divide,math-logunits-level):
97 * calc/calc-help.el (calc-u-prefix-help): Removed "L" reference.
98 (calc-ul-prefix-help): Remove.
99 (calc-l-prefix-help): New function.
100 (calc-full-help): Add reference to `calc-l-prefix-help'.
102 * calc/calc-ext.el (calc-init-extensions): Update autoloads.
104 * calc/README: Mention logarithmic units.
106 2011-02-06 Chong Yidong <cyd@stupidchicken.com>
108 * mail/emacsbug.el (report-emacs-bug-hook): Remove the check for
109 non-ASCII characters (Bug#7925).
111 2011-02-05 Glenn Morris <rgm@gnu.org>
113 * emacs-lisp/cl-macs.el (return-from): Fix doc typo.
115 * calendar/diary-lib.el (diary-font-lock-keywords):
116 Tweak diary-time-regexp match. (Bug#7891)
118 * progmodes/f90.el (f90-find-tag-default): New function. (Bug#7919)
119 (f90-mode): Use it for mode's `find-tag-default-function' property.
121 * ibuf-ext.el (ibuffer-filter-disable): Make it work. (Bug#7969)
123 * faces.el (set-face-attribute): Doc fix. (Bug#2659)
125 2011-02-05 Deniz Dogan <deniz.a.m.dogan@gmail.com>
127 * net/rcirc.el (rcirc-handler-JOIN): Reset mode-line-process
130 2011-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
132 * progmodes/sh-script.el (sh-here-doc-open-re): Don't rely on the
133 font-lock-syntax-table remappings.
134 (sh-here-doc-markers, sh-here-doc-re): Remove.
135 (sh-font-lock-close-heredoc): Remove.
136 (sh-syntax-propertize-here-doc): New function.
137 (sh-font-lock-open-heredoc): Set the sh-here-doc-marker property
138 instead of the sh-here-doc-re.
139 (sh-font-lock-paren): Don't do anything in comments or strings.
140 Handle line continuations. Accept a few more chars.
141 Don't rely on the font-lock-syntax-table remappings.
142 `esac' is not a valid pattern.
143 (sh-syntax-propertize-function): Handle here-docs differently, so we
144 don't bother syntax-propertizing the insides.
146 * progmodes/sh-script.el (sh-font-lock-paren, sh-kw, sh-prev-thing):
147 Handle new bashisms ";&" and ";;&" (bug#7947).
149 2011-02-05 Michael Albinus <michael.albinus@gmx.de>
151 * net/tramp-smb.el (tramp-smb-errors): Use `regexp-opt'.
152 Add "NT_STATUS_IO_TIMEOUT" and "NT_STATUS_NO_SUCH_USER".
154 2011-02-05 Era Eriksson <era+tramp@iki.fi> (tiny change)
156 * net/tramp.el (tramp-postfix-method-format)
157 (tramp-postfix-method-regexp, tramp-prefix-domain-format)
158 (tramp-prefix-domain-regexp, tramp-postfix-user-format)
159 (tramp-postfix-user-regexp, tramp-prefix-port-format)
160 (tramp-prefix-port-regexp, tramp-postfix-host-format)
161 (tramp-postfix-host-regexp, tramp-handle-substitute-in-file-name):
164 2011-02-04 Sam Steingold <sds@gnu.org>
166 * mouse.el (mouse-buffer-menu-mode-groups): Add a "GDB" group.
168 2011-02-04 Andreas Schwab <schwab@linux-m68k.org>
170 * international/mule-util.el (with-coding-priority): Doc fix.
172 2011-02-04 Eli Zaretskii <eliz@gnu.org>
174 * arc-mode.el (archive-mode-map): Fix a typo in last change.
176 2011-02-03 Sam Steingold <sds@gnu.org>
178 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
179 Do not error out when `func' is nil.
181 2011-02-03 Michael Albinus <michael.albinus@gmx.de>
183 * net/tramp-sh.el (tramp-remote-path): Add default settings for
184 `tramp-default-remote-path' to the docstring.
185 (tramp-get-remote-path): Suppress error message when `getconf
188 * net/tramp-smb.el (tramp-smb-errors): Add "NT_STATUS_UNSUCCESSFUL".
190 2011-02-03 Glenn Morris <rgm@gnu.org>
192 * vc/vc-hg.el (vc-hg-command): Doc fix.
194 * term/w32-win.el (libpng-version): Declare for compiler.
196 * msb.el: No need to load dired while compiling.
198 * emacs-lisp/elint.el (elint-standard-variables):
199 Remove a couple of built-ins that now have doc-strings.
201 * hi-lock.el, ps-bdf.el, ps-mule.el, ps-print.el, ps-samp.el:
202 `require' is automatically `eval-and-compile'd.
204 * net/rcirc.el (rcirc-nick-completion-format): Add :version tag.
205 (rcirc-log-directory, rcirc-log-flag): Move definitions before use.
207 * strokes.el (strokes-fill-current-buffer-with-whitespace):
208 Move definition before use.
209 (strokes-report-bug): Make it obsolete.
211 2011-02-02 Sam Steingold <sds@gnu.org>
213 * apropos.el (apropos-print): Now that `apropos-mode' inherits
214 from `special-mode', entering it makes the buffer read-only, so
215 call it only when everything has been already inserted.
216 * emacs-lisp/ert.el (ert--setup-results-buffer)
217 (ert-results-pop-to-backtrace-for-test-at-point)
218 (ert-results-pop-to-messages-for-test-at-point)
219 (ert-results-pop-to-timings): Ditto.
220 * emacs-lisp/package.el (package--list-packages): Ditto.
221 * play/solitaire.el (solitaire): Ditto.
223 2011-02-02 Chong Yidong <cyd@stupidchicken.com>
225 * progmodes/compile.el: Make all faces inherit.
226 (compilation-warning): Inherit from font-lock-variable-name-face.
227 (compilation-info): Inherit from font-lock-type-face.
228 (compilation-line-number): Reassign to font-lock-keyword-face.
229 (compilation-column-number): Reassign to font-lock-doc-face.
230 (compilation-leave-directory-face): Reassign to
231 font-lock-builtin-face.
233 2011-02-02 Eli Zaretskii <eliz@gnu.org>
235 * dired.el (dired-insert-directory): Don't invoke `ls' when
236 ls-lisp.el is used to emulate it.
238 2011-02-01 Julien Danjou <julien@danjou.info>
240 * color.el (color-gradient): Add a color-gradient function.
242 2011-02-01 Sam Steingold <sds@gnu.org>
244 * simple.el (special-mode-map): Bind "h" to `describe-mode';
245 bind "z" to `kill-this-buffer'.
246 (completion-list-mode-map): Bind "z" to `kill-this-buffer'.
247 * apropos.el (apropos-mode-map): Inherit from `special-mode-map'.
248 (apropos-mode): Inherit from `special-mode'.
249 * arc-mode.el (archive-mode-map): Inherit from `special-mode-map'.
250 * bookmark.el (bookmark-bmenu-mode): Define using
251 `define-derived-mode' inheriting from `special-mode'.
252 * dired.el (dired-mode-map): Inherit from `special-mode-map'.
253 * image-mode.el (image-mode-map): Ditto.
254 * replace.el (occur-mode): Define using
255 `define-derived-mode' inheriting from `special-mode'.
256 * tar-mode.el (tar-mode): Inherit from `special-mode'.
257 * calendar/diary-lib.el (diary-fancy-display-mode):
258 Inherit from `special-mode-map'.
259 * emacs-lisp/ert.el (ert-simple-view-mode, ert-results-mode):
260 Inherit from `special-mode'.
261 * emacs-lisp/package.el (package-menu-mode-map): Copy from
263 (package-menu-mode): Define using `define-derived-mode'
264 inheriting from `special-mode'.
265 * erc/erc-list.el (erc-list-menu-mode): Inherit from `special-mode'.
266 * net/xesam.el (xesam-mode): Inherit from `special-mode'.
267 (xesam-mode-map): Define separately.
268 * play/solitaire.el (solitaire-mode): Inherit from `special-mode'.
269 * progmodes/compile.el (compilation-minor-mode-map)
270 (compilation-mode-map): Inherit from `special-mode-map'.
271 * vc/diff-mode.el (diff-mode-shared-map):
272 Inherit from `special-mode-map'.
273 * vc/log-view.el (log-view-mode-map): Add a comment.
275 2011-02-01 Chong Yidong <cyd@stupidchicken.com>
277 * custom.el (load-theme): Define return value. Drop use of
278 unsafep; call custom-theme-load-confirm for non-known-safe themes.
279 (custom-theme-load-confirm): Scroll in the correct window.
280 (custom-enabled-themes): Add custom-safe-themes to :set-after.
282 * cus-theme.el (custom-theme-checkbox-toggle): Don't activate the
283 checkbox if load-theme fails.
285 2011-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
287 * progmodes/compile.el (compilation-next-error): Check there's
288 a message before using it (bug#7941).
290 2011-02-01 Jay Belanger <jay.p.belanger@gmail.com>
292 * calc/calc-mtx.el (math-lud-pivot-check): New function.
293 (math-do-matrix-lud): Use `math-lud-pivot-check' to check the size
296 2011-01-31 Alan Mackenzie <acm@muc.de>
298 * progmodes/cc-cmds.el (c-forward-over-illiterals):
299 Continue parsing if we encounter a naked # (Bug#7595).
300 (c-beginning-of-statement): Avoid loop in locating the beginning
303 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
305 * files.el (copy-directory): Fix arguments to recursive call.
307 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
309 * files.el (copy-directory): If destination is an existing
310 directory, copy into a subdirectory there.
312 2011-01-31 Andreas Schwab <schwab@linux-m68k.org>
314 * emacs-lisp/shadow.el (load-path-shadows-find): Ignore leim-list
317 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
319 * image-dired.el (image-dired-mouse-display-image): No-op if no
320 file is found (Bug#7817).
322 * mouse.el (mouse-menu-non-singleton): Doc fix (Bug#7801).
324 2011-01-31 Kenichi Handa <handa@m17n.org>
326 * international/quail.el (quail-keyboard-layout-alist):
327 Remove superfluous SPC for "pc105-uk" (bug#7927).
329 2011-01-31 Glenn Morris <rgm@gnu.org>
331 * msb.el (msb-menu-bar-update-buffers): Update for changed
332 argument handling of menu-bar-select-frame. (Bug#7902)
334 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
336 * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Set a limit
337 to the recursion depth (Bug#7722).
339 2011-01-31 Roy Liu <carsomyr@gmail.com> (tiny change)
341 * term/ns-win.el (ns-find-file): Expand ns-input-file with
342 command-line-default-directory (Bug#7872).
344 2011-01-31 Stefan Monnier <monnier@iro.umontreal.ca>
346 * progmodes/compile.el (compilation--flush-directory-cache):
347 New function, extracted from compilation--remove-properties.
348 (compilation--remove-properties, compilation--parse-region): Use it.
349 (compilation--previous-directory): Handle one more case.
350 (compilation-enable-debug-messages): Remove.
351 (compilation-parse-errors, compilation--flush-parse): Just remove the
352 left over debug messages.
354 2011-01-31 Sam Steingold <sds@gnu.org>
356 * progmodes/compile.el (compilation-enable-debug-messages):
357 Add a variable to make the parsing messages introduced in
358 2011-01-28T22:12:05Z!monnier@iro.umontreal.ca optional.
359 (compilation-parse-errors, compilation--flush-parse): Use it.
361 2011-01-31 Deniz Dogan <deniz.a.m.dogan@gmail.com>
363 * net/rcirc.el: New customizable nick completion format. (Bug#6314)
364 (rcirc-nick-completion-format): New defcustom.
365 (rcirc-complete): Use it.
367 2011-01-31 Deniz Dogan <deniz.a.m.dogan@gmail.com>
369 * net/rcirc.el: Clean log filenames (Bug#7933).
370 (rcirc-log-write): Use convert-standard-filename.
371 (rcirc-log-filename-function): Documentation updates.
373 2011-01-30 Jan Djärv <jan.h.d@swipnet.se>
375 * mail/emacsbug.el (report-emacs-bug-insert-to-mailer):
376 Check report-emacs-bug-can-use-osx-open and use that if t.
377 (report-emacs-bug-can-use-osx-open): New function.
378 (report-emacs-bug): Rename can-xdg-email to can-insert-mail.
379 Check report-emacs-bug-can-use-osx-open also for can-insert-mail.
381 2011-01-29 Chong Yidong <cyd@stupidchicken.com>
383 * vc/vc-dispatcher.el (vc-set-async-update): New function for
384 updating Dired or VC-dir buffers after async command completes.
386 * vc/vc-bzr.el (vc-bzr-async-command): Return the process buffer.
387 (vc-bzr-pull, vc-bzr-merge-branch): Use vc-set-async-update.
389 * vc/vc-git.el (vc-git-merge-branch): Add FETCH_HEAD to branch
390 completions if it exists. Use vc-set-async-update.
391 (vc-git-pull): Use vc-set-async-update.
393 * vc/vc-hg.el (vc-hg-pull): Fix default-contents arg to
394 read-shell-command. Use vc-set-async-update.
395 (vc-hg-merge-branch): Use vc-set-async-update.
397 2011-01-29 Daiki Ueno <ueno@unixuser.org>
399 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED):
400 Don't presume KEYEXPIRED and KEYREVOKED to be a fatal error status
403 2011-01-29 Stefan Monnier <monnier@iro.umontreal.ca>
405 * progmodes/compile.el: Avoid an N² behavior in grep.
406 (compilation--previous-directory): New fun.
407 (compilation--previous-directory-cache): New var.
408 (compilation--remove-properties): Flush it.
409 (compilation-directory-properties, compilation-error-properties):
410 Use the new fun to speed up looking for the current directory.
412 2011-01-29 Chong Yidong <cyd@stupidchicken.com>
414 * vc/vc-hg.el (vc-hg-history): New var.
415 (vc-hg-pull): Perform default pull if called via Lisp by vc-pull.
416 (vc-hg-merge-branch): New function.
418 * vc/vc.el (vc-pull): Make vc-update an alias for this, instead of
419 the other way around.
421 * vc/vc-git.el (vc-git-branches, vc-git-pull)
422 (vc-git-merge-branch): New functions.
423 (vc-git-history): New var.
425 2011-01-28 Chong Yidong <cyd@stupidchicken.com>
427 * vc/vc-dispatcher.el (vc-do-async-command): New function.
429 * vc/vc-bzr.el (vc-bzr-async-command): Convert into a wrapper for
432 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch):
435 2011-01-28 Leo <sdl.web@gmail.com>
437 * emacs-lisp/advice.el (ad-make-advised-docstring): Don't apply
438 highlighting to the "this function is advised" message.
440 * help-mode.el (help-mode-finish): Apply highlighting here, to
441 avoid clobbering by substitute-command-keys (Bug#6304).
443 2011-01-28 Chong Yidong <cyd@stupidchicken.com>
445 * woman.el (woman0-roff-buffer): Process roff escape sequences
446 occurring prior to the first request (Bug#7843).
448 2011-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
450 * progmodes/compile.el: Don't use font-lock any more.
451 (compilation-error-regexp-alist-alist): Change handling of makepp
452 so it preserves the warning/error distinction on subsequent files.
453 Simplify various rules.
454 (compilation-directory-properties): Use font-lock-face.
455 Add a compilation-message property.
456 (compilation-internal-error-properties): Use font-lock-face.
457 Don't set the compilation-debug property here.
458 (compilation--put-prop, compilation--remove-properties)
459 (compilation--parse-region, compilation--ensure-parse)
460 (compilation--ensure-parse): New functions.
461 (compilation-parse-errors): New function, largely inspired of
462 compilation-mode-font-lock-keywords. Set compilation-debug here.
463 (compilation--parsed): New var.
464 (compilation--flush-parse): Use compilation--ensure-parse.
465 (compilation-start): Don't call font-lock.
466 (compilation-turn-on-font-lock): Remove.
467 (compilation-setup): Don't set font-lock-extra-managed-props not change
468 other font-lock settings, other than keywords.
469 Don't activate font-lock-mode.
470 Set change-major-mode-hook and before-change-functions.
471 (compilation--unsetup): Remove properties and hooks.
472 (compilation-next-single-property-change): New function.
473 (compilation-next-error): Use it to parse when needed.
474 (compile-goto-error): Parse buffer as needed.
475 (compilation--compat-error-properties): Don't need a dummy `face'
478 2011-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
480 * progmodes/compile.el: Use accessors for clarity and fix omake hack.
481 (compilation-process-setup-function): Fix docstring's false promises.
482 (compilation-error-regexp-alist-alist): Catch omake's continuous
483 recompilation message and avoid reuse of old markers.
484 (compilation-parse-errors-function): Declare obsolete.
485 (compilation-buffer-modtime): Remove.
486 (compilation--make-cdrloc, compilation--loc->col)
487 (compilation--loc->line, compilation--loc->file-struct)
488 (compilation--loc->marker, compilation--loc->visited)
489 (compilation--make-file-struct, compilation--file-struct->file-spec)
490 (compilation--file-struct->formats)
491 (compilation--file-struct->loc-tree): New macros. Use them.
492 (compilation--message): New defstruct. Use them.
493 (compilation-next-error-function): Don't mess with timestamps to try
494 and guess when to reparse.
496 2011-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
498 * textmodes/tex-mode.el: Get rid of compilation-parse-errors-function
499 (tex-old-error-file-name): New function,
500 extracted from tex-compilation-parse-errors.
501 (tex-compilation-parse-errors): Remove.
502 (tex-error-regexp-alist): New var.
503 (tex-shell): Use it to avoid compilation-parse-errors-function.
505 * progmodes/grep.el (grep-regexp-alist): Tighten regexp.
506 (grep-mode-font-lock-keywords): Remove regexp that seems like
507 a left-over from before we used compile.el.
508 (grep-mode-font-lock-keywords): Call syntax-ppss-flush-cache when
509 modifying the buffer within with-silent-modifications.
511 * progmodes/compile.el: Cleanup text-properties namespace by using
512 `compilation-message' instead of `message', `compilation-directory'
513 instead of `directory', and `compilation-debug' instead of `debug'.
514 (compilation-last-buffer, compilation-parsing-end)
515 (compilation-error-list, compilation-old-error-list): Move to the
516 compatibility part of the code.
517 (compilation-error-properties): If `file' is a function, let it return
519 (compilation-mode-font-lock-keywords): Be more conservative with the
520 omake "^ *" pattern prefix, to try and minimize the risk of
521 pathologically slow regexp matching.
522 (compilation-start): Use inhibit-read-only.
523 (compilation--unsetup): New function.
524 (compilation-shell-minor-mode, compilation-minor-mode): Use it.
525 (compilation-filter): Minor tweaks.
526 (compilation-next-error-function): Try and avoid abusing variables.
527 (compilation--flush-file-structure): New fun.
528 (compilation-fake-loc): Use it to improve behavior when file is reused.
529 (debug-ignored-errors): Add "Moved past last ...".
530 (compilation--compat-error-properties)
531 (compilation--compat-parse-errors): Rename by doubling the "-".
533 Port features from the previous prolog.el to the new one.
534 * progmodes/prolog.el (prolog-system): Add GNU and ECLiPSe options.
535 (prolog-program-name, prolog-program-switches, prolog-consult-string)
536 (prolog-compile-string, prolog-prompt-regexp): Get rid of the <foo>-i
537 variable and use a function to compute the value dynamically.
538 (prolog-prompt-regexp): Add regexp for GNU Prolog.
539 (prolog-continued-prompt-regexp): Remove, unused.
540 (prolog-find-value-by-system): Try and use the value of prolog-system
541 in the *prolog* buffer if it helps.
542 (prolog-mode-keybindings-common): Bind C-c C-z unconditionally...
543 (prolog-zip-on): ..and check prolog-system and version here instead.
544 (prolog-inferior-self-insert-command): New command.
545 (prolog-inferior-mode-map): Use it.
546 (prolog-inferior-error-regexp-alist): New var.
547 (prolog-inferior-mode): Use it, with compilation-shell-minor-mode.
548 (prolog-input-filter): Use derived-mode-p.
549 (prolog-inferior-guess-flavor): New function.
550 (prolog-ensure-process): Use it. Use make-comint-in-buffer rather than
551 make-comint to avoid running comint-mode twice.
552 (prolog-inferior-buffer): New fun.
553 (prolog-old-process-region, prolog-old-process-file):
554 Don't call prolog-bsts here...
555 (prolog-build-prolog-command): ...do it here instead.
556 (prolog-old-process-region, prolog-old-process-file):
557 Use compilation-fake-loc and compilation-forget-errors.
558 (prolog-consult-compile-region): Use bolp.
560 2011-01-28 Chong Yidong <cyd@stupidchicken.com>
562 * image-mode.el (image-display-size): Doc fix (Bug#7820).
564 2011-01-27 Sam Steingold <sds@gnu.org>
566 * midnight.el (clean-buffer-list-kill-never-buffer-names):
567 Remove "*server*" which is never created by emacs server.
569 2011-01-27 Deniz Dogan <deniz.a.m.dogan@gmail.com>
571 * vc/vc-bzr.el (vc-bzr-diff): Don't pass --diff-options unless
572 there are some diff switches.
574 2011-01-27 Stefan Monnier <monnier@iro.umontreal.ca>
576 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
577 Copy change made to ruby-font-lock-syntactic-keywords.
579 * htmlfontify.el: Make it obey the font-lock-face text property.
580 Miscellaneous cleanup such as:
581 - Don't hide expressions after a closing paren.
582 - Move initial setq into let.
583 - Hoist common parts out of ifs.
584 (hfy-p-to-face, hfy-p-to-face-lennart): Remove.
585 (hfy-face-at): Use get-text-property instead.
586 (hfy-prop-invisible-p): Use invisible-p if available.
587 (htmlfontify-manual): Use \\[...].
588 (hfy-html-quote-regex): Use [...].
589 (hfy-combined-face-spec): Simplify.
590 (hfy-compile-face-map): Don't presume point-min==1.
591 (hfy-css-name, hfy-buffer, htmlfontify-buffer): Use \' rather than $ to
593 (hfy-text-p): η-reduce.
594 (hfy-tags-for-file): Receive cache-hash directly.
595 (hfy-mark-tag-names): Adjust call.
597 2011-01-27 Glenn Morris <rgm@gnu.org>
599 * msb.el (msb-after-load-hooks): Make it an obsolete alias.
600 (msb-after-load-hook): Remove eval-after-load wackiness.
602 2011-01-25 Sam Steingold <sds@gnu.org>
604 * vc/vc-svn.el (vc-svn-diff): Use `diff-command' instead of the
605 literal "diff" (important for windows-nt).
607 2011-01-25 Glenn Morris <rgm@gnu.org>
609 * emacs-lisp/copyright.el (copyright-at-end-flag)
610 (copyright-names-regexp): Add safety properties.
611 (copyright-year-ranges): New option.
612 (copyright-find-end): New function, split from copyright-update-year.
613 (copyright-update-year): Use copyright-find-end.
614 (copyright-fix-years): Optionally, convert years to ranges.
615 Handle years continued over comment lines.
616 Do not mess with the fill-prefix.
617 Do not call copyright-update.
618 (copyright-update-directory): Optionally, fix years rather than update.
619 Skip directories. Find files with only safe local vars.
621 2011-01-25 Stefan Monnier <monnier@iro.umontreal.ca>
623 * files.el (file-name-non-special): Only change buffer-file-name after
624 insert-file-contents if it's `visit'ing the file (bug#7854).
626 2011-01-25 Chong Yidong <cyd@stupidchicken.com>
628 * dired.el (dired-revert): Doc fix (Bug#7758).
630 * simple.el (line-move-visual): Doc fix (Bug#7594).
632 2011-01-25 Nobuyoshi Nakada <nobu@ruby-lang.org>
634 * progmodes/ruby-mode.el (ruby-here-doc-beg-match): Fix for
635 here-doc which ends with an underscore.
636 (ruby-mode-set-encoding): Skip shebang line always.
637 (ruby-mode-map): Bind C-c C-c to comment-region.
638 (ruby-font-lock-keywords): Highlight literal hash key labels as symbols.
639 (ruby-forward-sexp): Stop after literal hash key labels.
640 (ruby-font-lock-syntactic-keywords): Highlight regexp after open
643 2011-01-25 Keitaro Miyazaki <keitaro.miyazaki@gmail.com> (tiny change)
645 * emacs-lisp/re-builder.el (reb-mode-map): Set case-fold-search in
646 the correct buffer (Bug#7650).
648 2011-01-25 Glenn Morris <rgm@gnu.org>
650 * comint.el (comint-mode): Doc fix. (Bug#7897)
652 * simple.el (do-auto-fill): Give it a doc string.
654 * button.el (make-text-button): Doc fix. (See bug#7881)
656 2011-01-24 Stefan Monnier <monnier@iro.umontreal.ca>
658 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
659 Don't move backward, so as not to fall in an inf-loop (bug#7736).
661 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): (bug#7735)
662 Handle ?" and friends differently (e.g. don't use backrefs).
664 2011-01-24 Jay Belanger <jay.p.belanger@gmail.com>
666 * calc/calc.el (calc-default-power-reference-level)
667 (calc-default-field-reference-level): New variables.
668 * calc/calc-units.el (math-standard-units): Add dB and Np.
669 (math-logunits): New variable.
670 (math-extract-logunits, math-logcombine, calcFunc-luplus)
671 (calcFunc-luminus, calc-luplus, calc-luminus, math-logunit-level)
672 (calcFunc-fieldlevel, calcFunc-powerlevel, calc-level):
674 (math-find-base-units-rec): Add entry for ln(10).
675 * calc/calc-help.el (calc-u-prefix-help): Add logarithmic help.
676 (calc-ul-prefix-help): New function.
677 * calc/calc-ext.el (calc-init-extensions): Autoload new units
678 functions. Add keybindings for new units functions.
680 2011-01-22 Giorgos Keramidas <keramida@ceid.upatras.gr> (tiny change)
682 * net/rcirc.el (rcirc-kill-buffer-hook): Flush logs when killing
683 rcirc buffers. (Bug#4940)
685 2011-01-22 Glenn Morris <rgm@gnu.org>
687 * emacs-lisp/copyright.el (copyright-find-copyright): New function,
688 split out from copyright-update-year.
689 (copyright-update): Don't mess with the GPL version if we don't own the
690 copyright. Update license regexp, and remove no longer needed
692 (copyright-fix-years): Use copyright-find-copyright.
694 2011-01-22 Chong Yidong <cyd@stupidchicken.com>
696 * vc/diff.el (diff-sentinel): Doc fix (Bug#7682).
698 2011-01-22 Jari Aalto <jari.aalto@cante.net>
700 * play/landmark.el: Change `lm-' prefix to `landmark-' (Bug#7672).
701 (lm): Rename to landmark.
702 (lm-test-run): Rename to landmark-test-run.
704 2011-01-22 Chong Yidong <cyd@stupidchicken.com>
706 * emacs-lisp/re-builder.el (reb-mode-map): Fix logic error in
707 "Case sensitive" menu item.
709 2011-01-22 Roland McGrath <roland@frob.com>
711 * comint.el (comint-replace-by-expanded-history-before-point): Fix
712 expansion of !$ and !!:N syntax to pick the indicated word (bug#7883).
714 2011-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
716 * progmodes/js.el (js--regexp-literal): Count backslashes (bug#7882).
718 2011-01-22 Jari Aalto <jari.aalto@cante.net>
720 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
721 Assume foo(bar) is a manpage reference rather than some unquoted
724 2011-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
726 * subr.el (shell-quote-argument): Properly quote \n (bug#7687).
727 Suggested by Flo <sensorflo@gmail.com>.
729 2011-01-22 Glenn Morris <rgm@gnu.org>
731 * progmodes/compile.el (compilation-error-regexp-alist):
732 Fix custom type. (Bug#7812)
734 2011-01-22 Ken Manheimer <ken.manheimer@gmail.com>
736 * allout.el (allout-prefixed-keybindings): Bind (prefixed) '#' to
737 allout-number-siblings, in keeping with what obtained due to
738 (now-defunct) allout-keybindings-list. Ditch repeat binding to
740 (allout-before-change-handler): Better expose spots affected by
743 2011-01-22 Chong Yidong <cyd@stupidchicken.com>
745 * man.el (Man-highlight-references0): Use make-button (Bug#7881).
747 2011-01-22 Phil Hagelberg <phil@evri.com>
749 * pcmpl-unix.el (pcmpl-ssh-config-file): New option.
750 (pcmpl-ssh-known-hosts): Rename from pcmpl-ssh-hosts.
751 (pcmpl-ssh-config-hosts): New function.
752 (pcmpl-ssh-hosts): Use pcmpl-ssh-config-hosts in addition to
753 pcmpl-ssh-known-hosts.
755 2011-01-21 Jay Belanger <jay.p.belanger@gmail.com>
757 * calc/calc-undo.el (calc-undo): Autoload it.
758 * calc/calc-ext.el (calc-init-extensions): Remove keybindings
759 and autoload for `calc-undo'.
760 * calc/calc.el (calc-mode-map): Add keybindings for `calc-undo'.
762 * calc/calc-graph.el:
763 * calc/calc-map.el: Change `arglist' to `math-arglist' throughout.
765 2011-01-21 Štěpán Němec <stepnem@gmail.com> (tiny change)
767 * calc/calc-ext.el (calc-init-extensions): Map all `undo'
768 keybindings to `calc-undo'.
770 2011-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
772 Don't mess with *temp*.
773 * obsolete/spell.el: Move from textmodes/spell.el.
775 * term.el (term-read-input-ring):
776 * startup.el (display-startup-echo-area-message):
777 * progmodes/antlr-mode.el (antlr-directory-dependencies):
778 * comint.el (comint-read-input-ring): Use with-temp-buffer.
779 * international/mule.el (ctext-pre-write-conversion): Don't hardcode
782 2011-01-20 Ken Manheimer <ken.manheimer@gmail.com>
784 * allout.el: (allout-institute-keymap): Use fset instead of
787 (allout-hotspot-key-handler): Check for non-control-modified
788 bindings for hotspot characters if there are no control-modified
791 * allout.el: Summary - migrate to defining allout mode using
792 define-minor-mode instead of defun. Significantly clean-up
793 internal keymap provisions, refactoring and, in the process,
794 removing a lot of accumulated cruft.
796 allout-mode-map is now a keymap by virtue of being a defalias to
797 allout-mode-map-value, which contains the actual keymap structure.
799 (allout-mode): Use define-minor-mode rather than defun.
800 Remove now-unnecessary minor-mode setup activities from the body.
801 Specify :keymap as allout-mode-map so the minor-mode-map-alist
802 entry will be '(allout-mode . allout-mode-map) - see
803 allout-mode-map-value, below. Adjust docstring to track changes.
804 (allout-minor-mode): Remove this defalias, now that we're using
806 (allout-mode-map): Set value to be 'allout-mode-map. The actual
807 keymap is allout-mode-map-value, via defalias.
808 (allout-mode-map-value): The variable holding the actual mode
809 keymap structure, by virtue of defalias from allout-mode-map.
810 (allout-compose-and-institute-keymap): Rename from
811 allout-bind-keys, and including the binding-composition
812 functionality of the former produce-allout-mode-map and
813 allout-setup-mode-map.
814 (allout-institute-keymap): Take over the "setup" part of the former
815 allout-setup-mode-map. Reassign allout-mode-map-value value and
817 (allout-command-prefix) (allout-prefixed-keybindings)
818 (allout-unprefixed-keybindings):
819 Use allout-compose-and-institute-keymap to process the bindings.
820 (allout-unprefixed-keybindings): Remove extraneous '?' question
822 (allout-prefixed-keybindings): Elide binding to (prefixed) \C-h -
823 user can customize if they want to use that binding.
824 Bind allout-copy-topic-as-kill to (prefixed) \M-k.
825 Bind allout-up-current-level to (prefixed) \C-u. (I think i mistakenly
826 elided that, previously, instead of the one for \C-h.)
827 (allout-hotspot-key-handler): Remove attempt to resolve the key
828 through the literal key-string lookup on allout-keybindings-list.
829 That probably hasn't worked for a Long Time, and removal of
830 allout-keybindings-list further simplifies the keybindings
832 (allout-pre-command-business): Use allout-mode-map-value instead
834 (allout-preempt-trailing-ctrl-h): Remove. The user can customize
835 the bindings if they want to use a keybinding having a trailing
836 \C-h. No deprecation needed since this feature was never in a
838 (allout-keybindings-list): Remove. It's not been useful for a
839 while. (See allout-hotspot-key-handler changes, above.)
840 (produce-allout-mode-map): Remove. Consolidate into
841 allout-compose-and-institute-keymap.
842 (allout-mode-map-adjustments): Remove. No longer necessary with
843 removal of allout-preempt-trailing-ctrl-h.
844 (allout-setup-mode-map): Remove. Consolidate into
845 allout-compose-and-institute-keymap and allout-institute-keymap.
847 2011-01-20 Glenn Morris <rgm@gnu.org>
849 * vc/vc-svn.el (vc-svn-after-dir-status): Tweak previous change.
851 * simple.el (read-expression-history): Remove, it's in minibuf.c.
853 2011-01-20 Chong Yidong <cyd@stupidchicken.com>
855 * subr.el (y-or-n-p): Revert 2011-01-07 change, removing ARGS.
857 * files.el (find-alternate-file, basic-save-buffer)
858 (basic-save-buffer-2, revert-buffer, recover-file)
859 (kill-buffer-ask, abort-if-file-too-large)
860 (set-visited-file-name, write-file, backup-buffer)
861 (basic-save-buffer, save-some-buffers):
862 * dired-aux.el (dired-compress-file): Callers changed.
864 2011-01-19 Glenn Morris <rgm@gnu.org>
866 * vc/vc-svn.el (vc-svn-after-dir-status, vc-svn-parse-status):
867 Also check the property status. (Bug#7861)
869 2011-01-18 Michael Albinus <michael.albinus@gmx.de>
871 * net/tramp.el (tramp-debug-message): Extend function exclude
872 list. Use `regexp-opt'.
874 2011-01-18 Stefan Monnier <monnier@iro.umontreal.ca>
876 * textmodes/tex-mode.el (tex-font-lock-verb): Make sure \verb
877 highlighting doesn't spill over subsequent lines.
879 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't re-evaluate the
880 keymap expression. Improve docstring.
882 * electric.el (electric-indent-post-self-insert-function):
883 Don't auto-indent for indent-to-left-margin, it's too often
886 2011-01-16 Tassilo Horn <tassilo@member.fsf.org>
888 * strokes.el (strokes-read-stroke): Re-fill strokes buffer with
889 spaces if the frame was resized, so that the full visible buffer
890 serves as canvas for strokes.
892 2011-01-16 Glenn Morris <rgm@gnu.org>
894 * info-xref.el (info-xref-docstrings): Replace cl function.
895 Also skip directories.
897 2011-01-16 Kevin Ryde <user42@zip.com.au>
899 * info-xref.el: Version 3.
900 (info-xref-check, info-xref-check-all): Move commentary details
901 into docstrings for better visibility.
902 Use compilation-mode for the results buffer.
903 (info-xref-output, info-xref-output-error, info-xref-with-output)
904 (info-xref-filename, info-xref-in-progress):
905 New internals for this.
906 (info-xref-check-list, info-xref-check-buffer)
907 (info-xref-check-all-custom): Use those.
908 (info-xref-output-buffer): Rename from info-xref-results-buffer.
909 (info-xref-output-heading): Rename from info-xref-filename-heading.
910 (info-xref-good, info-xref-bad, info-xref-xfile-alist)
911 (info-xref-filename-heading): Move to output managing section.
912 (info-xref-docstrings): New command checking "Info node `(foo)Bar'"
913 (info-xref-lock-file-p, info-xref-with-file): New helpers for it.
914 (info-xref-subfile-p): Move to generic section with those two.
915 (info-xref-check-node): New function split from
916 info-xref-check-buffer, shared by info-xref-docstrings.
917 (info-xref-goto-node-p): Move to a checking section with that func.
918 (info-xref-unavail): New counter.
919 (info-xref-check-node): Use it.
920 (info-xref-with-output): Show count of unavailables at end of output.
921 (info-xref-all-info-files): Exclude ".*" dotfiles. Ignore broken
922 symlinks. Exclude .texi files. Exclude Emacs backup files.
923 (info-xref-check-all-custom): Fix quietening viper-mode and
924 gnus-registry-install -- use setq not let so as not to unbind
927 2011-01-16 Juri Linkov <juri@jurta.org>
929 * isearch.el (isearch-abort): Don't quit if search has
930 an incomplete regexp (isearch-error is non-nil). (Bug#7534)
932 2011-01-15 Mark Diekhans <markd@soe.ucsc.edu>
934 * files.el (backup-buffer): Make last-resort backup file in
937 * subr.el (locate-user-emacs-file): If .emacs.d does not exist,
938 make it with permission 700.
940 2011-01-15 Kenichi Handa <handa@m17n.org>
942 * mail/rmailmm.el (rmail-mime-insert-header):
943 Set rmail-mime-coding-system to a cons whose car is the last coding
944 system used to decode the header.
945 (rmail-mime-find-header-encoding): New function.
946 (rmail-mime-insert-decoded-text):
947 Override rmail-mime-coding-system if it is a cons.
948 (rmail-show-mime): If only a header part was decoded, find the
949 coding system while ignoring mm-charset-override-alist.
951 2011-01-15 Chong Yidong <cyd@stupidchicken.com>
953 * subr.el (event-start, event-end): Doc fix (Bug#7826).
955 2011-01-15 Kenichi Handa <handa@m17n.org>
957 * mail/rmailmm.el (rmail-mime-next-item)
958 (rmail-mime-previous-item): Delete them.
959 (rmail-mime-shown-mode): Recursively call for children.
960 (rmail-mime-hidden-mode): Delete the 2nd arg TOP.
962 (rmail-mime-raw-mode): Recursively call for children.
963 (rmail-mode-map): Change mapping of tab and backtab to
964 forward-button and backward-button respectively.
965 (rmail-mime-insert-tagline): Always insert "Hide" or "Show"
967 (rmail-mime-update-tagline): New function.
968 (rmail-mime-insert-text): Call rmail-mime-update-tagline if the
969 body display is changed.
970 (rmail-mime-toggle-button): Rename from rmail-mime-image.
971 (rmail-mime-image): Delete this button type.
972 (rmail-mime-toggle): New button type.
973 (rmail-mime-insert-bulk): Call rmail-mime-update-tagline if the
974 body display is changed. Change the save button label to "Save".
975 Don't process show/hide button here.
976 (rmail-mime-insert-multipart): Call rmail-mime-update-tagline if
977 the body display is changed. Unconditionally call
978 rmail-mime-insert for children.
979 (rmail-mime-handle): Update `display' vector of the just inserted
981 (rmail-mime-process): If mail-header-parse-content-type returns
982 nil, use "text/plain" as the fallback type.
983 (rmail-mime-insert): For raw-mode, recursively call
984 rmail-mim-insert for children.
985 (rmail-mime): Handle the case that the current buffer is not rmail
986 buffer (e.g. in summary buffer).
988 2011-01-15 Kenichi Handa <handa@m17n.org>
990 * mail/rmailmm.el (rmail-mime-next-item)
991 (rmail-mime-previous-item): Skip the body of a non-multipart
992 entity if a tagline is shown.
994 2011-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
996 * tmm.el (tmm-get-keymap): Skip bindings without labels (bug#7721).
997 (tmm-prompt): Simplify.
998 (tmm-add-prompt): Remove unused var `win'.
1000 * whitespace.el (global-whitespace-newline-mode): Fix call (bug#7810)
1001 to minor mode which used nil accidentally to mean "turn off".
1003 2011-01-15 Michael Albinus <michael.albinus@gmx.de>
1005 * net/tramp-sh.el (tramp-find-inline-compress)
1006 (tramp-get-inline-coding): Quote command after pipe symbol for
1007 local calls under W32. (Bug#6784)
1009 2011-01-15 Michael Albinus <michael.albinus@gmx.de>
1011 * net/tramp.el (tramp-default-method): Initialize with pscp/plink
1012 only when running under W32.
1014 2011-01-15 Eli Zaretskii <eliz@gnu.org>
1016 * progmodes/grep.el (grep-compute-defaults): Quote the program
1017 file name after the pipe symbol in Grep templates. (Bug#6784)
1018 * jka-compr.el (jka-compr-partial-uncompress): Likewise.
1020 2011-01-15 Lennart Borgman <lennart.borgman@gmail.com>
1022 * buff-menu.el (Buffer-menu-buffer-list): New var.
1023 (Buffer-menu-revert-function, list-buffers-noselect): Use it, so a
1024 restricted buffer list is not lost on revert (Bug#7749).
1026 2011-01-15 Eric Hanchrow <eric.hanchrow@gmail.com>
1028 * net/ldap.el (ldap-search-internal): Discard stderr output.
1030 2011-01-15 Eli Zaretskii <eliz@gnu.org>
1032 * files.el (directory-abbrev-alist): Doc fix. (Bug#7777)
1034 2011-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
1036 * vc-bzr.el (vc-bzr-annotate-time): Tweak previous change.
1038 2011-01-15 Kenichi Handa <handa@m17n.org>
1040 * mail/rmailmm.el (rmail-mime-insert-bulk): Display an unknown
1041 part as a plain text.
1042 (rmail-mime-process-multipart): Set the default content-type to
1043 nil for unknown multipart subtypes (bug#7651).
1045 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
1047 * hexl.el (hexl-mode-old-*): Remove.
1048 (hexl-mode--old-var-vals): New var to replace them.
1049 (hexl-mode--minor-mode-p, hexl-mode--setq-local): New funs.
1050 (hexl-mode, hexl-follow-line, hexl-activate-ruler):
1051 Use them to set local vars (bug#7846).
1052 (hexl-mode-exit): Use hexl-mode--old-var-vals to restore state.
1053 (hexl-backward-short, hexl-backward-word, hexl-scroll-down)
1054 (hexl-scroll-up, hexl-end-of-1k-page, hexl-end-of-512b-page): Simplify.
1056 * vc/smerge-mode.el: Resolve comment conflicts more aggressively.
1057 (smerge-resolve--normalize-re): New var.
1058 (smerge-resolve--extract-comment, smerge-resolve--normalize): New funs.
1059 (smerge-resolve): Use them.
1060 * newcomment.el (comment-only-p): New function.
1061 (comment-or-uncomment-region): Use it.
1063 2011-01-14 Brent Goodrick <bgoodr@gmail.com> (tiny change)
1065 * abbrev.el (prepare-abbrev-list-buffer): If listing local abbrev
1066 table, get the value before switching to the output buffer. (Bug#7733)
1068 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
1070 * progmodes/python.el (python-mode): Don't impose font-lock (bug#3628).
1072 2011-01-14 Kim F. Storm <storm@cua.dk>
1074 * emulation/cua-base.el (cua--init-keymaps):
1075 Remap exchange-point-and-mark in cua-global-keymap.
1077 2011-01-14 Tassilo Horn <tassilo@member.fsf.org>
1079 * progmodes/sh-script.el (sh-other-keywords): Add ZSH's foreach
1082 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
1084 * emacs-lisp/easymenu.el: Add :enable (bug#7754), and obey :label.
1086 (easy-menu-create-menu, easy-menu-convert-item-1):
1087 Use :label rather than nil for labels. Use `case'.
1088 Add :enable as alias for :active.
1089 (easy-menu-binding): Obey :label.
1091 2011-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
1093 Use run-mode-hooks for major mode hooks (bug#513).
1094 * textmodes/reftex-toc.el (reftex-toc-mode-map):
1095 Rename from reftex-toc-map.
1096 (reftex-toc-mode): Use define-derived-mode.
1097 * textmodes/reftex-sel.el (reftex-select-shared-map): New map.
1098 (reftex-select-label-mode-map, reftex-select-bib-mode-map):
1099 Rename from reftex-select-(label|bib)-map. Move init into declaration.
1100 (reftex-select-label-mode, reftex-select-bib-mode):
1101 Use define-derived-mode.
1102 * textmodes/reftex-index.el (reftex-index-phrases-mode-map)
1103 (reftex-index-mode-map): Rename from reftex-index(-phrases)-map.
1104 Move init into delcaration.
1105 (reftex-index-mode, reftex-index-phrases-mode):
1106 Use define-derived-mode.
1107 * speedbar.el (speedbar-mode-syntax-table): Renaqme from
1108 speedbar-syntax-table. Move init into declaration.
1109 (speedbar-mode-map): Rename from speedbar-key-map.
1110 Move init into declaration.
1111 (speedbar-file-key-map): Move init into declaration.
1112 (speedbar-mode): Use define-derived-mode.
1113 * recentf.el (recentf-mode): Don't run hook (or message) redundantly.
1114 * net/rcirc.el (rcirc-mode): Use run-mode-hooks.
1115 * emacs-lisp/chart.el (chart-mode-map): Rename from chart-map.
1116 (chart-face-list): Move initialization into declaration.
1117 (chart-mode): Use define-derived-mode.
1118 * calculator.el (calculator-mode-map): Move init into declaration.
1119 (calculator-mode): Use define-derived-mode.
1121 * mail/mail-utils.el (mail-strip-quoted-names): Make the regexp code
1122 work for nested comments.
1124 * progmodes/prolog.el: Use syntax-propertize. Further code cleanup.
1125 (prolog-use-prolog-tokenizer-flag): Change default when
1126 syntax-propertize can be used.
1127 (prolog-syntax-propertize-function): New var.
1128 (prolog-mode-variables): Move make-local-variable into `set'.
1129 Don't make comment-column local since we don't set it.
1130 Set comment-add (as it was in previous prolog.el). Use dolist.
1131 Set syntax-propertize-function.
1132 (prolog-mode, prolog-inferior-mode):
1133 Call prolog(-inferior)-menu directly, not through the mode-hook.
1134 (prolog-buffer-module, prolog-indent-level)
1135 (prolog-paren-is-the-first-on-line-p, prolog-paren-balance)
1136 (prolog-comment-limits, prolog-goto-comment-column):
1137 Use line-(end|beginning)-position.
1138 (prolog-build-prolog-command): Tighten up regexp.
1139 (prolog-consult-compile): Move make-local-variable into `set'.
1140 (prolog-consult-compile-filter, prolog-goto-next-paren)
1141 (prolog-help-on-predicate, prolog-clause-info)
1142 (prolog-mark-predicate): Don't let+setq.
1143 (prolog-indent-line): Use indent-line-to.
1144 Only call prolog-goto-comment-column if necessary.
1145 (prolog-indent-level): Use bobp.
1146 (prolog-first-pos-on-line): Remove, not used any more.
1147 (prolog-in-string-or-comment): Use syntax-ppss if available.
1148 (prolog-help-on-predicate): Use read-string.
1149 (prolog-goto-predicate-info): Simplify.
1150 (prolog-read-predicate): Use `default' rather than `initial'.
1151 (prolog-temporary-file): Use make-temp-file to close a security hole.
1152 (prolog-toggle-sicstus-sd): New command.
1153 (prolog-electric-underscore, prolog-variables-to-anonymous):
1154 Use dynamic-scoping as it was meant.
1155 (prolog-menu): Move menu definitions to top-level.
1156 Use a toggle-button for Sicstus's source debugger.
1157 Change "Code" to the more usual "Prolog", and hence change "Prolog"
1159 (prolog-inferior-menu): Reuse prolog-menu's help menu.
1160 Move other menu definition to top-level.
1162 2011-01-13 Tassilo Horn <tassilo@member.fsf.org>
1164 * doc-view.el (doc-view-open-text): Use meaningful text buffer
1165 name. Keep original document's directory as default-directory
1167 (doc-view-initiate-display): Fall back to normal mode when
1168 doc-view-mode cannot be enabled, also when extracting the document
1169 text into a separate buffer (bug#6446).
1171 * simple.el (shell-command): Don't error out if shell command
1172 buffer contains text with non-nil read-only property when erasing
1175 2011-01-13 Kim F. Storm <storm@cua.dk>
1177 * ido.el (ido-may-cache-directory): Move "too-big" check later.
1178 (ido-next-match, ido-prev-match): Fix stray reordering of matching
1179 items when cycling through the matches.
1181 2011-01-13 Tassilo Horn <tassilo@member.fsf.org>
1183 * dired-x.el (dired-omit-verbose): New defcustom that allows
1184 disabling the omit messages.
1185 (dired-omit-expunge): Use it.
1187 2011-01-13 Christian Ohler <ohler@gnu.org>
1189 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: New files.
1191 2011-01-13 Chong Yidong <cyd@stupidchicken.com>
1193 * font-lock.el (font-lock-verbose): Default to nil.
1195 2011-01-13 Chong Yidong <cyd@stupidchicken.com>
1197 * simple.el (sendmail-user-agent-compose): Move to sendmail.el.
1198 (compose-mail): New arg RETURN-ACTION.
1199 (compose-mail-other-window, compose-mail-other-frame): Likewise.
1201 * mail/sendmail.el (mail-return-action): New var.
1202 (mail-mode): Make it buffer-local.
1203 (mail-bury): Obey it. Move special Rmail window handling to
1205 (mail, mail-setup): New arg RETURN-ACTION.
1206 (sendmail-user-agent-compose): Move from simple.el.
1208 * mail/rmail.el (rmail-mail-return): New function.
1209 (rmail-start-mail): Pass it to compose-mail.
1211 2011-01-12 Chong Yidong <cyd@stupidchicken.com>
1213 * menu-bar.el (menu-bar-custom-menu): Tweak Mule and Customize
1214 menus. Add menu item for customize-themes.
1216 * cus-theme.el (customize-themes):
1217 * emacs-lisp/package.el (package--list-packages):
1218 Use switch-to-buffer.
1220 2011-01-11 Johan Bockgård <bojohan@gnu.org>
1222 * emacs-lisp/unsafep.el (unsafep): Handle backquoted forms.
1224 2011-01-11 Stefan Monnier <monnier@iro.umontreal.ca>
1226 * progmodes/prolog.el: Fix up coding convention and such.
1227 (prolog-indent-width): Use the same default as in
1228 previous prolog.el rather than tab-width which depends on which buffer
1229 is current when the file is loaded.
1230 (prolog-electric-newline-flag): Only enable if electric-indent-mode
1232 (prolog-emacs): Remove. Use (featurep 'xemacs) instead.
1233 (prolog-known-systems): Remove.
1234 (prolog-mode-syntax-table, prolog-inferior-mode-map):
1235 Move initialization into declaration.
1236 (prolog-mode-map): Move initialization into declaration.
1237 Remove system-specific mode-map vars, since they referred to the same
1239 (prolog-mode-variables): Obey the user's preference w.r.t
1240 adaptive-fill-mode. Prefer symbol-value to `eval'.
1241 (prolog-mode-keybindings-edit): Add compatibility bindings.
1242 (prolog-mode): Use define-derived-mode. Don't handle mercury here.
1243 (mercury-mode-map): New var.
1244 (mercury-mode, prolog-inferior-mode): Use define-derived-mode.
1245 (prolog-ensure-process, prolog-process-insert-string)
1246 (prolog-consult-compile): Use with-current-buffer.
1247 (prolog-guess-fill-prefix): Simplify data flow.
1248 (prolog-replace-in-string): New function to use instead of
1250 (prolog-enable-sicstus-sd): Don't abuse `eval'.
1251 (prolog-uncomment-region): Use `uncomment-region' when available.
1252 (prolog-electric-colon, prolog-electric-dash): Use `eolp'.
1253 (prolog-int-to-char, prolog-char-to-int): New functions to use instead
1254 of int-to-char and char-to-int.
1255 (prolog-mode-hook, prolog-inferior-mode-hook): Don't force font-lock.
1257 2011-01-11 Stefan Bruda <stefan@bruda.ca>
1259 * progmodes/prolog.el: Replace by a whole new file.
1261 2011-01-11 Stefan Monnier <monnier@iro.umontreal.ca>
1263 * subr.el (eval-after-load): Fix timing for features (bug#7769).
1264 (declare-function, undefined, insert-for-yank)
1265 (replace-regexp-in-string): Follow checkdoc's recommendations.
1267 2011-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
1269 * calendar/diary-lib.el (diary-mode): Refresh *Calendar* after
1270 refreshing the diary buffer.
1272 2011-01-10 Ken Manheimer <ken.manheimer@gmail.com>
1274 * allout.el: Add 2011 to the file copyright.
1275 (allout-encrypt-string): Prevent encryption from adding an extra
1276 newline at the end of the topic body.
1277 (allout-version): Increment to 2.3.
1279 2011-01-10 Michael Albinus <michael.albinus@gmx.de>
1281 * net/dbus.el (dbus-unregister-service): Complete doc.
1282 Fix call of dbus-error signal.
1283 (dbus-register-property): Use `dont-register' keyword.
1285 2011-01-10 Jan Moringen <jan.moringen@uni-bielefeld.de>
1287 * net/dbus.el (dbus-unregister-service): Translate returned
1288 integer into a symbol.
1289 (dbus-register-property): Use `dbus-register-service' to do the
1292 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
1294 * progmodes/idlw-help.el (idlwave-help-link): Inherit from link face.
1295 Suggested by Joakim Verona.
1297 * comint.el (comint-highlight-prompt): Inherit minibuffer-prompt.
1299 * wid-edit.el (visibility): Replace :on-image and :off-image
1300 widget properties with :on-glyph and :off-glyph, for consistency
1301 with the `visibility' widget.
1302 (widget-toggle-value-create, widget-visibility-value-create):
1303 Merge into a single function `widget-toggle-value-create'.
1305 * cus-edit.el (custom-variable-value-create, custom-visibility)
1306 (custom-face-edit-value-create, custom-face-value-create):
1307 Replace :on-image and :off-image widget properties with :on-glyph and
1308 :off-glyph, for consistency with the `visibility' widget.
1310 2011-01-09 Andreas Schwab <schwab@linux-m68k.org>
1312 * net/ldap.el (ldap-search-internal): Don't use eval.
1314 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
1316 * subr.el (read-char-choice): Use read-key.
1318 * custom.el (custom-safe-themes): Rename from
1319 custom-safe-theme-files. Add :risky tag.
1320 (load-theme, custom-theme-load-confirm): Save sha1 hashes to
1321 custom-safe-themes, not filenames. Suggested by Stefan Monnier.
1323 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
1325 * tool-bar.el (tool-bar-setup): Remove Help button. Remove label
1326 from Search and add a label to Undo.
1328 * vc/vc-dir.el (vc-dir-tool-bar-map): Rearrange, removing
1329 inappropriate buttons and adding :vert-only tags.
1331 * progmodes/compile.el (compilation-mode-tool-bar-map): Adjust to
1332 removal of Help tool-bar button. Remove Undo button for space.
1334 * info.el (info-tool-bar-map): Add :vert-only tags.
1336 2011-01-08 Tassilo Horn <tassilo@member.fsf.org>
1338 * doc-view.el (doc-view-mode-p): Check for png or imagemagick
1339 image backend support. Either of them is fine.
1341 2011-01-08 Chong Yidong <cyd@stupidchicken.com>
1343 * subr.el (y-or-n-p): Doc fix.
1345 * custom.el (custom-safe-theme-files): New defcustom.
1346 (custom-theme-load-confirm): New function.
1347 (load-theme): Load theme using `load', confirming with
1348 custom-theme-load-confirm if necessary.
1350 * subr.el (read-char-choice): New function, factored out from
1351 dired-query and hack-local-variables-confirm.
1353 * dired-aux.el (dired-query):
1354 * files.el (hack-local-variables-confirm): Use it.
1356 * dired-aux.el (dired-compress-file):
1357 * files.el (abort-if-file-too-large, find-alternate-file)
1358 (set-visited-file-name, write-file, backup-buffer)
1359 (basic-save-buffer, basic-save-buffer-2, save-some-buffers)
1360 (delete-directory, revert-buffer, recover-file, kill-buffer-ask):
1361 Use new format string args for y-or-n-p and yes-or-no-p.
1363 2011-01-08 Andreas Schwab <schwab@linux-m68k.org>
1365 * progmodes/compile.el (compilation-error-regexp-alist-alist)
1366 [gcc-include]: Tighten file name match, add match for column
1368 [gnu]: Remove unused group.
1370 2011-01-08 Glenn Morris <rgm@gnu.org>
1372 * makefile.w32-in (EMACSOPT): Add --no-site-lisp.
1374 * makefile.w32-in (EMACSOPT): -batch implies --no-init-file.
1376 2011-01-07 Sam Steingold <sds@gnu.org>
1378 * w32-fns.el (w32-shell-name): Use `shell-file-name' instead of
1379 the `explicit-shell-file-name' because that is the
1380 non-interactive shell.
1382 2011-01-07 Chong Yidong <cyd@stupidchicken.com>
1384 * subr.el (y-or-n-p): Accept format string args.
1386 2011-01-07 Glenn Morris <rgm@gnu.org>
1388 * Makefile.in (EMACSOPT): Add --no-site-lisp.
1390 2011-01-06 Ken Manheimer <ken.manheimer@gmail.com>
1392 * allout.el (allout-back-to-current-heading): Ensure return to
1393 the visible containing topic, rather than a collapsed one.
1394 (allout-view-change-hook): Remove hook that was deprecated long ago.
1395 (allout-exposure-change-hook): Remove documentation remarks
1396 concerning removed allout-view-change-hook.
1397 (allout-flag-region): Remove invocation of and documentation
1398 remarks concerning allout-view-change-hook.
1400 2011-01-06 Glenn Morris <rgm@gnu.org>
1402 * vc/vc-bzr.el (vc-bzr-annotate-command, vc-bzr-annotate-time)
1403 (vc-bzr-annotate-extract-revision-at-line):
1404 Handle authors with embedded spaces. (Bug#7792)
1406 2011-01-05 Tassilo Horn <tassilo@member.fsf.org>
1408 * doc-view.el (doc-view-image-width): New variable.
1409 (doc-view-enlarge, doc-view-insert-image): Prefer imagemagick
1410 backend for PNG images, and do dynamic rescaling instead of
1411 reconverting the whole doc.
1413 2011-01-05 Glenn Morris <rgm@gnu.org>
1415 * emacs-lisp/rx.el (rx-repeat): Replace CL function.
1417 2011-01-04 Ken Manheimer <ken.manheimer@gmail.com>
1419 * allout.el: Reconcile with changes in line movement behavior for
1420 long text lines that cross more than a single physical window
1421 line, ie when truncate-lines is nil.
1422 (allout-next-visible-heading): Provide for change in line-move
1423 behavior on long lines when truncate-lines is nil. In that case,
1424 line-move can wind up on the same textual line when it moves to
1425 the next window line, and moving to the bullet position after the
1426 move yields zero advancement. Add logic to detect and compensate
1427 for the lack of progress.
1428 (allout-current-topic-collapsed-p): move-end-of-line respect for
1429 field boundaries is different when operating with body lines
1430 shorter than window width versus ones greater than window width,
1431 which can yield false negatives in this function. Avoid
1432 difference by applying move-end-of-line while field-text-motion is
1435 2011-01-04 Glenn Morris <rgm@gnu.org>
1437 * textmodes/rst.el (rst-compile-toolsets):
1438 Add pdf and s5 to option alist.
1440 2011-01-04 Jan Moringen <jan.moringen@uni-bielefeld.de>
1442 * net/dbus.el (dbus-register-property): Add optional parameter
1443 dont-register-service. Updated docstring accordingly.
1445 2011-01-04 Andreas Schwab <schwab@linux-m68k.org>
1447 * textmodes/rst.el (rst-compile-pdf-preview)
1448 (rst-compile-slides-preview): Remove extra line.
1450 2011-01-04 Glenn Morris <rgm@gnu.org>
1452 * textmodes/rst.el (rst-compile-toolsets): Make it a defcustom.
1453 Add `pdf' and `s5' entries. Use `prog.py' if found, otherwise
1454 default to `prog' without a .py extension.
1455 (rst-compile-pdf-preview, rst-compile-slides-preview):
1456 Use program names from rst-compile-toolsets, rather than hard-coding.
1457 (rst-portable-mark-active-p): Fix presumed typo.
1459 2011-01-02 Eli Zaretskii <eliz@gnu.org>
1461 * term/w32-win.el (dynamic-library-alist): Set up correctly for
1462 libpng versions both before and after 1.4.0. (Bug#7716)
1464 2011-01-02 Eli Zaretskii <eliz@gnu.org>
1466 * time.el (display-time-mode): Mention display-time-interval in
1467 the doc string. (Bug#7713)
1469 2011-01-02 Kenichi Handa <handa@m17n.org>
1471 * mail/rmailmm.el (rmail-mime-parse): Perform parsing in
1472 condition-case and return an error message string if something
1474 (rmail-show-mime): Adjust for the above change. Insert the
1475 header by rmail-mime-insert-header.
1477 2011-01-02 Kenichi Handa <handa@m17n.org>
1479 * mail/rmailmm.el: New key bindings for rmail-mime-next-item,
1480 rmail-mime-previous-item, and rmail-mime-toggle-hidden.
1481 (rmail-mime-mbox-buffer)
1482 (rmail-mime-view-buffer, rmail-mime-coding-system): New variables.
1483 (rmail-mime-entity): Argument changed. All codes handling an
1484 entity object are changed.
1485 (rmail-mime-entity-header, rmail-mime-entity-body): Adjust for
1487 (rmail-mime-entity-children, rmail-mime-entity-handler)
1488 (rmail-mime-entity-tagline): New functions.
1489 (rmail-mime-message-p): New function.
1490 (rmail-mime-save): Bind rmail-mime-mbox-buffer.
1491 (rmail-mime-entity-segment, rmail-mime-next-item)
1492 (rmail-mime-previous-item, rmail-mime-shown-mode)
1493 (rmail-mime-hidden-mode, rmail-mime-raw-mode)
1494 (rmail-mime-toggle-raw, rmail-mime-toggle-hidden)
1495 (rmail-mime-insert-tagline, rmail-mime-insert-header):
1497 (rmail-mime-text-handler): Call rmail-mime-insert-text.
1498 (rmail-mime-insert-decoded-text): New function.
1499 (rmail-mime-insert-text): Call rmail-mime-insert-decoded-text.
1500 (rmail-mime-insert-image): Argument changed. Caller changed.
1501 (rmail-mime-image): Call rmail-mime-toggle-hidden.
1502 (rmail-mime-set-bulk-data): New funciton.
1503 (rmail-mime-insert-bulk): Argument changed.
1504 (rmail-mime-multipart-handler): Return t.
1505 (rmail-mime-process-multipart): Argument changed.
1506 Handle "multipart/alternative" here.
1507 (rmail-mime-process): Argument changed.
1508 (rmail-mime-parse): Bind rmail-mime-mbox-buffer.
1509 (rmail-mime-insert): Argument changed. Handle raw display mode.
1510 (rmail-mime): Argument changed. Handle toggling of raw display
1512 (rmail-show-mime): Bind rmail-mime-mbox-buffer and
1513 rmail-mime-view-buffer.
1514 (rmail-insert-mime-forwarded-message): Likewise.
1515 (rmail-search-mime-message): Likewise. Don't bind rmail-buffer.
1517 * mail/rmail.el (rmail-show-message-1): If rmail-enable-mime is
1518 non-nil, handle the header in rmail-show-mime-function.
1520 2011-01-02 Leo <sdl.web@gmail.com>
1522 * help-fns.el (describe-variable): Fix previous change.
1524 2011-01-02 Juri Linkov <juri@jurta.org>
1526 * isearch.el (isearch-lazy-highlight-error): New variable.
1527 (isearch-lazy-highlight-new-loop): Compare `isearch-error' and
1528 `isearch-lazy-highlight-error'. Set `isearch-lazy-highlight-error'
1529 to the current value of `isearch-error' (Bug#7468).
1531 2011-01-02 Chong Yidong <cyd@stupidchicken.com>
1533 * help-fns.el (describe-variable): Don't emit trailing whitespace
1536 2011-01-02 Chong Yidong <cyd@stupidchicken.com>
1538 * textmodes/rst.el (rst-compile-pdf-preview)
1539 (rst-compile-slides-preview): Use make-temp-file (Bug#7646).
1541 2011-01-02 Kevin Gallagher <Kevin.Gallagher@boeing.com>
1543 * emulation/edt-mapper.el: Override mapping of function keys so
1544 that the later call to read-key-sequence works.
1546 2011-01-02 Eli Zaretskii <eliz@gnu.org>
1548 * mail/smtpmail.el (smtpmail-send-it): Write queued mail body with
1549 Unix EOLs. (Bug#7589)
1551 2011-01-02 Leo <sdl.web@gmail.com>
1553 * eshell/em-hist.el (eshell-previous-matching-input): Signal error
1554 if point is not behind eshell-last-output-end (Bug#7585).
1556 2011-01-02 Stefan Monnier <monnier@iro.umontreal.ca>
1558 * files.el (file-local-variables-alist):
1559 Make permanent-local (bug#7767).
1561 2011-01-02 Glenn Morris <rgm@gnu.org>
1563 * version.el (emacs-copyright): Set short copyright year to 2011.
1565 2011-01-02 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
1567 * mail/mail-utils.el (mail-strip-quoted-names): Avoid clobbering
1568 an existing temp buffer. (Bug#7746)
1570 2011-01-02 Glenn Morris <rgm@gnu.org>
1572 * mail/mail-utils.el (mail-mbox-from): Handle From: headers with
1573 multiple addresses. (Bug#7760)
1575 2011-01-01 Ken Manheimer <ken.manheimer@gmail.com>
1577 * allout.el (allout-auto-fill): Do not infinitely recurse - use
1578 do-auto-fill if everything points back to allout-auto-fill.
1579 (allout-mode-deactivate-hook): Declare obsolete, in favor of
1580 standard-formed minor-mode deactivate hook, allout-mode-off-hook.
1582 2010-12-31 Michael Albinus <michael.albinus@gmx.de>
1584 * net/tramp-sh.el (tramp-methods): Add recursive options to "scpc"
1587 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
1589 * doc-view.el (doc-view-set-doc-type): New function refactored
1591 (doc-view-fallback-mode): New function.
1592 (doc-view-mode): Use it.
1593 (doc-view-mode-maybe): New function that checks if doc-view-mode
1594 can be used and falls back to the next best mode otherwise.
1596 * files.el (auto-mode-alist): Use doc-view-mode-maybe for PDF,
1597 DVI, OpenDocument, and MS Office files.
1599 2010-12-30 Andreas Schwab <schwab@linux-m68k.org>
1601 * emacs-lisp/rx.el (rx-syntax): Fix typo.
1603 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
1605 * doc-view.el (doc-view-toggle-display): Perform rassq-delete-all
1606 on a copy of auto-mode-alist, because that deletes with side
1609 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
1611 * doc-view.el (doc-view-mode, doc-view-toggle-display):
1612 Use normal-mode without doc-view-mode bindings in auto-mode-alist as
1613 fallback instead of hard coding fundamental mode.
1615 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
1617 * doc-view.el (doc-view-doc->txt): Handle OpenDocument (or MS
1618 Office) files also for searching.
1620 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
1622 * doc-view.el: Implement viewing of OpenDocument (and Microsoft
1623 Office) files. Not yet enabled via auto-mode-list.
1624 (doc-view-unoconv-program): New custom variable.
1625 (doc-view-mode-p): Handle new odf document type.
1626 (doc-view-odf->pdf): New conversion function.
1627 (doc-view-convert-current-doc): Call it for odf files.
1628 (doc-view-mode): Recognize newly supported file extensions.
1630 2010-12-30 Michael Albinus <michael.albinus@gmx.de>
1632 * net/tramp.el (tramp-default-method-alist)
1633 (tramp-default-user-alist)
1634 (tramp-local-host-regexp, tramp-prefix-domain-format)
1635 (tramp-prefix-domain-regexp): Set tramp-autoload cookie.
1638 * net/tramp-gvfs.el:
1640 * net/tramp-imap.el:
1642 * net/tramp-smb.el: Add tramp-autoload cookie for initialisation
1643 code of `tramp-default-method-alist' and `tramp-default-user-alist'.
1645 2010-12-29 Karl Fogel <kfogel@red-bean.com>
1647 * saveplace.el (save-place-alist-to-file): Save list sorted and
1648 pretty-printed, so that it is mergeable by line-based text merging,
1649 as suggested by Iain Dalton <iain.dalton {_AT_} gmail.com>.
1651 2010-12-28 Ken Manheimer <ken.manheimer@gmail.com>
1653 * allout.el (allout-v18/19-file-var-hack): Obsolete, remove.
1654 (allout-mode): Argument "toggle" => "force".
1655 Refine the docstring.
1656 Remove special provisions for reactivation, besides the 'force'
1658 Consolidate layout provisions coce directly into the activation
1659 condition branch, now that we've removed those provisions.
1660 (allout-unload-function): Explicitly activate the mode before
1661 deactivating, if it's initially deactivated.
1662 (allout-set-buffer-multibyte): Properly prevent byte-compiler
1663 warnings for version of function used only where
1664 set-buffer-multibyte is unavailable.
1666 2010-12-28 Chong Yidong <cyd@stupidchicken.com>
1668 * tool-bar.el (tool-bar-setup): Remove :enable conditions, which
1669 are handled by the menu-bar entries. As before, don't use
1670 :visibile to avoid changing the tool-bar.
1672 2010-12-27 Michael Albinus <michael.albinus@gmx.de>
1674 * net/secrets.el (secrets-delete-alias): New defun.
1676 2010-12-27 Michael Albinus <michael.albinus@gmx.de>
1678 * net/tramp.el (tramp-default-user-alist): Do not add "ssh" based
1679 methods, otherwise ~/.ssh/config would be ignored.
1681 2010-12-26 Stefan Monnier <monnier@iro.umontreal.ca>
1683 * emacs-lisp/rx.el: Make it a superset of sregex.
1684 (rx-constituents): Add `any => "."', mark `repeat' as taking any number
1685 of args, add `regex' alias.
1686 (rx-info): Add arg to distinguish head and standalone forms.
1687 (rx-check, rx-form): Pass the corresponding arg.
1689 (rx-repeat): Make it work for any number of args.
1690 (rx-syntax): Make it accept syntax chars as is.
1691 * obsolete/sregex.el: Move from emacs-lisp/.
1692 * emacs-lisp/re-builder.el: Remove sregex support.
1693 * emacs-lisp/edebug.el (sregexq, rx): Remove redundant defs.
1695 2010-12-25 Eli Zaretskii <eliz@gnu.org>
1697 * mouse.el (mouse-yank-primary): On MS-Windows, try the (emulated)
1698 PRIMARY first, then the clipboard. (Bug#7699)
1700 2010-12-22 Stefan Monnier <monnier@iro.umontreal.ca>
1702 * emacs-lisp/bytecomp.el (byte-compile-output-docform): Fix up use of
1705 2010-12-21 Chong Yidong <cyd@stupidchicken.com>
1707 * help-fns.el (find-lisp-object-file-name): Locate .emacs from
1708 .emacs.elc (Bug#7530).
1710 * wid-edit.el (widget-image-find): Remove bogus :ascent spec from
1711 image spec (Bug#7480).
1713 2010-12-21 Daiki Ueno <ueno@unixuser.org>
1715 * obsolete/pgg-parse.el, obsolete/pgg-pgp5.el, obsolete/pgg-pgp.el,
1716 * obsolete/pgg-gpg.el, obsolete/pgg-def.el, obsolete/pgg.el:
1719 2010-12-20 Leo <sdl.web@gmail.com>
1721 * dnd.el (dnd-get-local-file-name): Unhex of file name shall
1722 always be performed (Bug#7680).
1724 2010-12-20 Chong Yidong <cyd@stupidchicken.com>
1726 * menu-bar.el (menu-bar-kill-ring-save): Make obsolete.
1727 (menu-bar-edit-menu): Bind "Copy" to kill-ring-save. Don't use
1730 * color.el: Move from gnus/.
1732 * vc/diff.el (diff-better-file-name): Function deleted.
1733 abbreviating file names causes problems with shell-quote-argument.
1734 (diff-no-select): Just use expand-file-name.
1736 * tool-bar.el (tool-bar--image-expression): New function.
1737 (tool-bar-local-item, tool-bar--image-exp): Use it.
1738 (tool-bar-setup): Initialize tool-bar-separator-image-expression.
1739 Use :enable instead of :visible to avoid changing the tool-bar
1740 configuration unnecessarily.
1742 * info.el (info-tool-bar-map): Add separators.
1744 2010-12-17 Ken Brown <kbrown@cornell.edu>
1746 * loadup.el: Use version numbers in Cygwin build.
1748 2010-12-17 Ryan Twitchell <metatheorem@gmail.com> (tiny change)
1750 * ido.el (ido-file-internal): Ask for confirmation before
1751 overwriting an existing file (Bug#1238).
1753 2010-12-16 Chong Yidong <cyd@stupidchicken.com>
1755 * tool-bar.el (tool-bar-setup): Add separators.
1757 * menu-bar.el (featurep): Use menu-bar-separator.
1759 2010-12-16 Ken Manheimer <ken.manheimer@gmail.com>
1761 Migrate allout encryption provisions from pgg to epg.
1763 * allout.el (allout-toggle-current-subtree-encryption)
1764 (allout-toggle-subtree-encryption): Adjust docstrings to reflect
1765 defaulting policy and other changes. Change fetch-pass to keymode-cue,
1766 for simpler universal argument interpretation.
1767 (allout-toggle-subtree-encryption): Adjust docstring to describe
1768 changed encryption provisions. Change fetch-pass to keymode-cue, for
1769 simpler universal argument interpretation. Remove provisions for
1770 handling key type and identity - they'll all be within
1771 allout-encrypt-string or epg/epg or even contained all the way in gpg.
1772 (allout-encrypt-string): Include keymode-cue, for optionally prompting
1773 for keypair recipients (universal argument > 1) and, in addition,
1774 associating the specified recipients with the outline (universal
1775 argument > 4) using a file local variable setting for
1776 'epa-file-encrypt-to'.
1777 Require epa, for recipients handling.
1778 Change how regexp filtering elements are named.
1779 Describe the problem with caching of incorrect symmetric-decryption
1781 Use the epa-passphrase-callback-function, in case the user is using
1783 Support saving of the selected keypair recipients when invoked with a
1785 Remove obsolete arguments 'fetch-pass', 'target-cache-id', 'retried'.
1787 Establish epg-context with armoring and default epg-protocol.
1788 Remove all passphrase cache, verification, and hinting code.
1789 (allout-passphrase-verifier-handling, allout-passphrase-hint-handling):
1790 No longer used, delete.
1791 (allout-mode): Adjust docstring to describe changed encryption
1792 provisions. Describe the problem with caching of incorrect
1793 symmetric-decryption keys.
1794 (allout-obtain-passphrase, allout-epg-passphrase-callback-function)
1795 (allout-make-passphrase-state, allout-passphrase-state-passphrase)
1796 (allout-encrypted-key-info, allout-update-passphrase-mnemonic-aids)
1797 (allout-get-encryption-passphrase-verifier, allout-verify-passphrase):
1800 2010-12-16 Daiki Ueno <ueno@unixuser.org>
1802 * epa-file.el (epa-file-select-keys): Accept 'silent to inhibit
1803 key selection prompt; make 'silent as default (Bug#7487).
1805 2010-12-16 Leo <sdl.web@gmail.com>
1807 * eshell/eshell.el (eshell-directory-name):
1808 Use locate-user-emacs-file (Bug#7578).
1810 2010-12-15 Glenn Morris <rgm@gnu.org>
1812 * loadup.el (symbol-file-load-history-loaded): Remove; unused.
1814 2010-12-15 Jari Aalto <jari.aalto@cante.net>
1815 Scott Evans <gse@antisleep.com>
1817 * rect.el (rectange--default-line-number-format)
1818 (rectangle-number-line-callback): New functions.
1819 (rectangle-number-lines): New command, bound to C-x r N (Bug#4382).
1821 2010-12-15 Chong Yidong <cyd@stupidchicken.com>
1823 * rect.el (operate-on-rectangle-lines, string-rectangle-string):
1824 Delete unused variables.
1825 (move-to-column-force): Remove function obsolete since 21.2.
1827 2010-12-14 Michael Albinus <michael.albinus@gmx.de>
1829 * net/tramp.el (tramp-temp-buffer-file-name): Make it permanent-local.
1830 (tramp-handle-insert-file-contents): Do not set permanent-local
1833 * net/tramp-cache.el (tramp-persistency-file-name):
1834 Use `locate-user-emacs-file' if fboundp.
1836 * net/tramp-sh.el (tramp-methods): Add "ksu".
1837 (tramp-default-user-alist): Add "ksu". Use `regexp-opt' for
1840 2010-12-14 Glenn Morris <rgm@gnu.org>
1842 * progmodes/js.el: Doc't require font-lock, etags, or easymenu.
1843 (find-tag-marker-ring): Declare.
1844 (js-find-symbol): Require etags.
1846 * mail/sendmail.el: Don't require rmail or mailalias when compiling.
1848 (mail-alias-file): Don't autoload. Doc fix.
1849 (mail-bury-selects-summary, mail-send-nonascii): Don't autoload.
1850 (mail-mailer-swallows-blank-line): Default to nil. Doc fix.
1851 Mark as obsolete, and risky.
1852 (mail-setup): Simplify.
1854 * mail/mailalias.el (build-mail-aliases): Make it interactive.
1855 * mail/sendmail.el (build-mail-aliases): Update autoload.
1857 * dired.el (dired-trivial-filenames, dired-chown-program)
1858 (dired-auto-revert-buffer): Remove autoload cookies.
1859 * mail/sendmail.el (mail-recover-1): Require 'dired.
1861 * dired.el (dired-subdir-switches, dired-chown-program)
1862 (dired-use-ls-dired, dired-chmod-program, dired-touch-program):
1863 Make into defcustoms.
1864 (dired-chown-program): Simplify initialization.
1866 * mail/mail-utils.el: No need to require lisp-mode, it's in loadup.
1868 2010-12-13 Romain Francoise <romain@orebokech.com>
1870 * net/gnutls.el (gnutls-negotiate): Fix setting of default trustfiles.
1872 2010-12-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
1874 * net/netrc.el (netrc-point-at-eol): Remove the unused
1875 netrc-point-at-old and netrc-bound-and-true-p bindings.
1876 (netrc-parse): Cache the netrc contents.
1878 2010-12-13 Eli Zaretskii <eliz@gnu.org>
1880 * subr.el (posn-col-row): Evaluate header-line-format in the
1881 context of the POSITION window's buffer.
1883 2010-12-13 Glenn Morris <rgm@gnu.org>
1885 * subr.el (member-ignore-case, run-mode-hooks, insert-for-yank-1)
1886 (with-silent-modifications): Doc fixes.
1888 2010-12-13 Michael Albinus <michael.albinus@gmx.de>
1890 * net/tramp.el (tramp-action-password, tramp-process-actions):
1891 Revert previous from. Use `save-restriction'.
1893 2010-12-13 Stephen Berman <stephen.berman@gmx.net>
1895 * calendar/diary-lib.el (diary-list-sexp-entries):
1896 Handle case of no newline at end of file. (Bug#7536)
1898 2010-12-13 Glenn Morris <rgm@gnu.org>
1900 * mail/smtpmail.el (smtpmail-send-it): Revert previous change.
1902 2010-12-13 Michael Albinus <michael.albinus@gmx.de>
1904 * net/tramp.el (tramp-action-password): Delete region, do not narrow.
1905 (tramp-process-actions): Do not widen.
1907 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1908 Protect buffer-modified value. (Bug#7557)
1910 2010-12-13 Jan Moringen <jmoringe@techfak.uni-bielefeld.de>
1912 * log-edit.el (log-edit-changelog-entries):
1913 Regexp quote filename. (Bug#7505)
1915 2010-12-13 Tom Breton <tehom@panix.com>
1917 * cus-edit.el (custom-save-all):
1918 Bind print-length and print-level to nil. (Bug#7581)
1920 2010-12-13 Glenn Morris <rgm@gnu.org>
1922 * mouse.el (mouse-menu-major-mode-map, mouse-menu-bar-map):
1923 Run hooks to update menu contents. (Bug#7586)
1925 * mail/smtpmail.el (smtpmail-send-it): Avoid colons in the queued
1926 file names, for the sake of MS Windows. (Bug#7588)
1928 2010-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
1930 * diff-mode.el (diff-refine-hunk): Make it work when the hunk contains
1931 empty lines without a leading space.
1933 2010-12-13 Leo <sdl.web@gmail.com>
1935 * dired-aux.el (dired-do-redisplay): Postpone dired-after-readin-hook
1936 while mapping over marks (Bug#6810).
1938 2010-12-13 Chong Yidong <cyd@stupidchicken.com>
1940 * image-dired.el (image-dired-db-file)
1941 (image-dired-temp-image-file, image-dired-gallery-dir)
1942 (image-dired-temp-rotate-image-file): Set default values relative
1943 to image-dired-dir (Bug#7518).
1945 2010-12-13 Lawrence Mitchell <wence@gmx.li>
1947 * format.el (format-decode-run-method): Pass args FROM and TO, not
1948 point-min and point-max, to shell-command-on-region (Bug#7488).
1950 2010-12-13 Jan Djärv <jan.h.d@swipnet.se>
1952 * frame.el (blink-cursor-mode): Make default t for ns.
1954 2010-12-13 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
1956 * vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
1958 2010-12-13 Chong Yidong <cyd@stupidchicken.com>
1960 * comint.el (comint-dynamic-list-input-ring)
1961 (comint-dynamic-complete-filename)
1962 (comint-replace-by-expanded-filename)
1963 (comint-dynamic-simple-complete)
1964 (comint-dynamic-list-filename-completions)
1965 (comint-dynamic-list-completions): Doc fix (Bug#7499).
1967 * subr.el (posn-x-y, posn-object-x-y, posn-object-width-height):
1970 2010-12-13 Martin Rudalics <rudalics@gmx.at>
1972 * dired.el (dired-pop-to-buffer): Bind pop-up-frames to nil
1975 2010-12-13 W. Martin Borgert <debacle@debian.org> (tiny change)
1977 * files.el (auto-mode-alist): Handle .dbk (DocBook) with xml-mode.
1980 2010-12-13 Eli Zaretskii <eliz@gnu.org>
1982 * files.el (file-relative-name): Handle UNC file names on
1983 DOS/Windows. (Bug#4674)
1985 2010-12-13 Daiki Ueno <ueno@unixuser.org>
1987 * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
1988 "RIPEMD160" (Bug#7490). Reported by Daniel Kahn Gillmor.
1989 (epg-context-set-passphrase-callback): Mention that the callback
1990 is not called when used with GnuPG 2.x.
1992 2010-12-13 Glenn Morris <rgm@gnu.org>
1994 * ps-print.el (ps-line-lengths-internal, ps-nb-pages):
1995 Ensure ps-footer-font-size-internal is initialized.
1996 Call ps-get-page-dimensions before trying to use ps-font-for-text.
1998 2010-12-13 Kenichi Handa <handa@m17n.org>
2000 * mail/rmailmm.el (rmail-mime-parse): Call rmail-mime-process
2001 within condition-case.
2002 (rmail-show-mime): Don't use condition-case.
2003 (rmail-search-mime-message): New function.
2004 (rmail-search-mime-message-function): Set to
2005 rmail-search-mime-message.
2007 2010-12-13 Leo <sdl.web@gmail.com>
2009 * ido.el (ido-common-initialization): New function. (bug#3274)
2011 (ido-completing-read): Call it.
2013 2010-12-12 Karl Fogel <kfogel@red-bean.com>
2015 * bookmark.el (bookmark-name-from-full-record): Rename back to
2016 this original name from `bookmark-name-from-record' reverting part
2017 of 2010-12-08T08:09:27Z!kfogel@red-bean.com / kfogel@red-bean.com-20101208080927-5j9jqnb2xvcw4ogm.
2018 As Drew Adams pointed out, there was no reason to cause churn for
2019 third-party callers.
2021 2010-12-12 Alan Mackenzie <acm@muc.de>
2023 * progmodes/cc-engine.el (c-forward-type): Before scanning a
2024 template arglist, check that the current language supports this.
2026 2010-12-11 Glenn Morris <rgm@gnu.org>
2028 * vc/vc-bzr.el (vc-bzr-state-heuristic): Also check that the executable
2029 state of the file matches. (Bug#7544)
2030 (vc-bzr-register, vc-bzr-checkin)
2031 (vc-bzr-annotate-extract-revision-at-line): Doc fixes.
2032 (vc-directory-exclusion-list): Remove unnecessary eval-after-load.
2034 * textmodes/sgml-mode.el (sgml-xml-guess): Add .xhtml extension.
2036 2010-12-11 Karel Klíč <kklic@redhat.com>
2038 * files.el (auto-mode-alist): Use html-mode for *.xhtml. (Bug#7606)
2040 2010-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
2042 Derive from prog-mode, use derived-mode-p, and fix up various
2043 minor style issues in lisp/progmodes.
2045 * progmodes/vhdl-mode.el (vhdl-mode):
2046 * progmodes/verilog-mode.el (verilog-mode):
2047 * progmodes/vera-mode.el (vera-mode):
2048 * progmodes/sql.el (sql-mode):
2049 * progmodes/scheme.el (scheme-mode):
2050 * progmodes/perl-mode.el (perl-mode):
2051 * progmodes/octave-inf.el (inferior-octave-mode):
2052 * progmodes/autoconf.el (autoconf-mode):
2053 * progmodes/m4-mode.el (m4-mode):
2054 * progmodes/inf-lisp.el (inferior-lisp-mode):
2055 * progmodes/idlwave.el (idlwave-mode):
2056 * progmodes/icon.el (icon-mode):
2057 * progmodes/idlw-help.el (idlwave-help-mode):
2058 * progmodes/dcl-mode.el (dcl-mode):
2059 * progmodes/idlw-shell.el (idlwave-shell-mode):
2060 * progmodes/ebrowse.el (ebrowse-tree-mode, ebrowse-electric-list-mode)
2061 (ebrowse-member-mode, ebrowse-electric-position-mode):
2062 Use define-derived-mode.
2064 * progmodes/xscheme.el (exit-scheme-interaction-mode)
2065 (xscheme-enter-interaction-mode, xscheme-enter-debugger-mode)
2066 (xscheme-debugger-mode-p, xscheme-send-string-1):
2067 * progmodes/tcl.el (inferior-tcl-proc, tcl-current-word)
2068 (tcl-load-file, tcl-restart-with-file):
2069 * progmodes/ps-mode.el (ps-run-running):
2070 * progmodes/gdb-mi.el (gud-watch, gdb-mouse-set-clear-breakpoint):
2071 * progmodes/js.el (js--get-all-known-symbols):
2072 * progmodes/inf-lisp.el (inferior-lisp-proc):
2073 * progmodes/idlwave.el (idlwave-beginning-of-statement)
2074 (idlwave-template, idlwave-update-buffer-routine-info)
2075 (idlwave-update-current-buffer-info)
2076 (idlwave-get-routine-info-from-buffers, idlwave-choose)
2077 (idlwave-scan-class-info, idlwave-fix-keywords)
2078 (idlwave-list-buffer-load-path-shadows):
2079 * progmodes/idlw-toolbar.el (idlwave-toolbar, idlwave-toolbar-add)
2080 (idlwave-toolbar-remove):
2081 * progmodes/idlw-shell.el (idlwave-shell-save-and-action)
2082 (idlwave-shell-file-name, idlwave-shell-electric-debug-all-off)
2083 (idlwave-shell-menu-def):
2084 * progmodes/idlw-complete-structtag.el
2085 (idlwave-prepare-structure-tag-completion):
2086 * progmodes/gud.el (gud-set-buffer):
2087 * progmodes/f90.el (f90-backslash-not-special):
2088 * progmodes/delphi.el (delphi-find-unit): Use derived-mode-p.
2090 * progmodes/xscheme.el (xscheme-start)
2091 (local-set-scheme-interaction-buffer, scheme-interaction-mode):
2092 * progmodes/which-func.el (which-function):
2093 * progmodes/vhdl-mode.el (vhdl-set-style):
2094 * progmodes/verilog-mode.el (verilog-set-compile-command)
2095 (verilog-modify-compile-command, verilog-error-regexp-add-xemacs)
2096 (verilog-set-define, verilog-auto-reeval-locals):
2097 * progmodes/sql.el (sql-product-font-lock, sql-interactive-mode):
2098 * progmodes/simula.el (simula-mode):
2099 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
2100 * progmodes/python.el (python-check, python-mode):
2101 * progmodes/prolog.el (prolog-mode-variables):
2102 * progmodes/gud.el (gud-tooltip-activate-mouse-motions):
2103 * progmodes/ebrowse.el (ebrowse-view-file-other-frame):
2104 * progmodes/delphi.el (delphi-mode):
2105 * progmodes/cc-styles.el (c-setup-paragraph-variables):
2106 * progmodes/cc-mode.el (c-basic-common-init, c-common-init)
2107 (c-font-lock-init): Move make-local-variable to their setq.
2109 * progmodes/vhdl-mode.el (vhdl-write-file-hooks-init)
2110 (vhdl-hs-minor-mode, vhdl-ps-print-init): Fix make-local-variable ->
2112 * progmodes/sh-script.el (sh-require-final-newline): Remove.
2113 (sh-set-shell): Don't set require-final-newline since it's already done
2115 * progmodes/modula2.el (m2-mode): Don't make m2-end-comment-column
2116 since we never set it.
2117 * progmodes/ebrowse.el (ebrowse-set-tree-indentation):
2118 Use read-string and standard prompt.
2119 * progmodes/dcl-mode.el (dcl-mode-map): Move init into declaration.
2120 * progmodes/meta-mode.el (meta-mode-abbrev-table): Merge init and decl.
2121 (meta-common-mode-syntax-table): Rename from meta-mode-syntax-table.
2122 (meta-common-mode-map): Rename from meta-mode-map.
2123 Remove C-m binding, which is a user preference, not mode specific.
2124 (meta-common-mode): New major mode; replace meta-common-initialization.
2125 * progmodes/js.el (js-mode): Call syntax-propertize rather than messing
2126 around with font-lock.
2127 * progmodes/etags.el (select-tags-table-mode):
2128 Derive from special-mode.
2129 * progmodes/octave-mod.el (octave-mode):
2130 * progmodes/gdb-mi.el (gdb-inferior-io-mode, gdb-threads-mode)
2131 (gdb-memory-mode, gdb-disassembly-mode, gdb-breakpoints-mode)
2132 (gdb-frames-mode, gdb-locals-mode, gdb-registers-mode):
2133 Let define-derived-mode do its job.
2134 * progmodes/cpp.el (cpp-edit-mode-map):
2135 Move initialization into declaration.
2136 (cpp-edit-mode): Use define-derived-mode.
2137 (cpp-edit-load): Use derived-mode-p.
2138 * progmodes/mixal-mode.el (mixal-mode):
2139 * progmodes/f90.el (f90-mode):
2140 * progmodes/cfengine.el (cfengine-mode): Don't bother setting
2141 require-final-newline since prog-mode does it already.
2142 * progmodes/cc-cmds.el (c-update-modeline): Use match-string.
2143 * progmodes/asm-mode.el (asm-mode-map): Fix menu setup.
2144 * progmodes/antlr-mode.el: Require cc-mode upfront.
2145 (antlr-mode-syntax-table, antlr-action-syntax-table): Initialize in
2147 (antlr-directory-dependencies, antlr-show-makefile-rules):
2149 (antlr-language-option): Don't assume point-min==1.
2150 (antlr-mode): Use define-derived-mode.
2151 * progmodes/ada-mode.el: Use derived-mode-p.
2152 (ada-mode): Use define-derived-mode.
2153 Use hack-local-variables-hook.
2155 2010-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
2157 * textmodes/texinfo.el (texinfo-mode-map): Bind texinfo-insert-@end.
2158 (texinfo-mode): Don't disable adaptive-fill-mode.
2159 (texinfo-insert-block): Adjust cursor placement for blocks with arg.
2160 (texinfo-insert-@end, texinfo-insert-braces, texinfo-insert-@code)
2161 (texinfo-insert-@dfn, texinfo-insert-@email, texinfo-insert-@emph)
2162 (texinfo-insert-@example, texinfo-insert-@file, texinfo-insert-@item)
2163 (texinfo-insert-@kbd, texinfo-insert-@node, texinfo-insert-@noindent)
2164 (texinfo-insert-@quotation, texinfo-insert-@samp)
2165 (texinfo-insert-@strong, texinfo-insert-@table, texinfo-insert-@var)
2166 (texinfo-insert-@uref): Use define-skeleton.
2167 (texinfo-insert-@-with-arg): Delete.
2169 2010-12-10 Eli Zaretskii <eliz@gnu.org>
2171 * arc-mode.el (archive-zip-extract): If w32-quote-process-args is
2172 nil, do quote archive member names. (Bug#6144)
2174 2010-12-10 Glenn Morris <rgm@gnu.org>
2176 * files.el (diff-no-select): Declare.
2178 * mail/emacsbug.el (report-emacs-bug): Use mail-user-agent properties.
2179 (report-emacs-bug-create-existing-bugs-buffer): Avoid free variables.
2181 * comint.el (comint-input-ring-file-name): Doc fix.
2183 2010-12-09 Eli Zaretskii <eliz@gnu.org>
2185 * menu-bar.el (menu-bar-frame-for-menubar, menu-bar-positive-p):
2187 (menu-bar-showhide-menu) <menu-bar-mode, showhide-tool-bar>:
2188 Use them instead of `nil' and `>', respectively.
2189 (menu-bar-showhide-tool-bar-menu): Use menu-bar-frame-for-menubar
2191 (toggle-menu-bar-mode-from-frame): Use menu-bar-frame-for-menubar
2192 and menu-bar-positive-p instead of `nil' and `>', respectively.
2195 2010-12-09 Vinicius Jose Latorre <viniciusjl@ig.com.br>
2197 * whitespace.el (whitespace-newline-mode): Code fix.
2199 2010-12-09 Glenn Morris <rgm@gnu.org>
2201 * play/landmark.el (lm-print-y,s,noise-int, lm-print-y,s,noise):
2202 Rename functions without commas, update callers.
2204 2010-12-08 Jeff Dairiki <dairiki@dairiki.org> (tiny change)
2206 * whitespace.el (whitespace-cleanup-region):
2207 Clean up spaces before tabs. (Bug#7582)
2209 2010-12-08 Karl Fogel <kfogel@red-bean.com>
2211 * bookmark.el: Adjust parameter names and doc strings to resolve
2212 confusion over whether "bookmark" meant a bookmark name or a
2213 bookmark record. Along the way, shorten one function's name for
2214 similar reasons. (Issue #7548)
2215 (bookmark-name-from-record): New name for
2216 `bookmark-name-from-full-record'. All callers changed.
2217 (bookmark-get-bookmark, bookmark-get-bookmark-record)
2218 (bookmark-default-annotation-text, bookmark-prop-get, bookmark-prop-set)
2219 (bookmark-get-annotation, bookmark-set-annotation)
2220 (bookmark-get-filename, bookmark-set-filename)
2221 (bookmark-get-position, bookmark-set-position)
2222 (bookmark-get-front-context-string, bookmark-set-front-context-string)
2223 (bookmark-get-rear-context-string, bookmark-set-rear-context-string)
2224 (bookmark-get-handler, bookmark-edit-annotation, bookmark--jump-via)
2225 (bookmark-handle-bookmark, bookmark-location, bookmark-show-annotation):
2226 Rename `bookmark' parameter to `bookmark-name-or-record', to
2227 clearly show its role, and shorten or adjust doc strings accordingly.
2228 (bookmark-set-name): Same, and pass the parameter directly to
2229 `bookmark-get-bookmark' instead of redundantly doing the callee's work.
2230 (bookmark-default-annotation-text, bookmark-send-edited-annotation)
2231 (bookmark-relocate, bookmark-insert-location, bookmark-insert)
2232 (bookmark-delete): Rename `bookmark' parameter to `bookmark-name',
2233 and in some cases shorten doc string accordingly.
2234 (bookmark-rename): Change `old' and `new' parameters to `old-name'
2235 and `new-name', and adjust an internal variable to avoid confusion.
2236 (bookmark-jump, bookmark-jump-noselect): Clarify `bookmark'
2237 parameter in doc string.
2239 2010-12-08 Glenn Morris <rgm@gnu.org>
2241 * progmodes/gdb-mi.el (gdb): Try to initialize comint input history
2242 from gdb's history file. (Bug#7575)
2244 * mail/emacsbug.el (report-emacs-bug):
2245 Try to handle some other mail clients.
2247 2010-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
2249 * files.el (dir-locals-collect-variables): Don't let errors stop us.
2250 Use string-prefix-p.
2251 (file-name-version-regexp): New var.
2252 (file-name-sans-versions):
2253 * jka-cmpr-hook.el (jka-compr-build-file-regexp): Use it,
2254 (jka-compr-get-compression-info): Use dolist.
2255 (jka-compr-compression-info-list): Don't bother specifying
2256 version/backup regexps.
2258 2010-12-07 Tassilo Horn <tassilo@member.fsf.org>
2260 * simple.el (just-one-space): Make argument n default to 1 if
2263 2010-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
2265 * electric.el (electric-indent-post-self-insert-function):
2266 Delete trailing newlines even if we don't reindent.
2268 2010-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2270 * minibuffer.el (completion-at-point): Remove the `arg'.
2271 * bindings.el (complete-symbol): Move back from minibuffer.el.
2273 2010-12-06 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2275 * simple.el (just-one-space): Delete newlines for negative arg.
2277 2010-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2279 * ansi-color.el (ansi-color-unfontify-region): Replace by trivial def.
2280 (ansi-color-filter-apply): Simplify.
2281 (ansi-color-apply): Use `font-lock-face' rather than `face'.
2283 2010-12-05 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
2285 * vc/vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
2287 2010-12-04 Chong Yidong <cyd@stupidchicken.com>
2289 * dired.el (dired-use-ls-dired): Set default to a special
2290 "unspecified" value.
2291 (dired-insert-directory): When called the first time, check
2292 whether "ls --dired" succeeds and set dired-use-ls-dired (Bug#7546).
2294 2010-12-04 Tak Ota <Takaaki.Ota@am.sony.com>
2296 * replace.el: Add "collect" feature to occur.
2297 (occur-collect-regexp-history): New var.
2298 (occur-read-primary-args): Return a replace string for nlines,
2300 (occur): Extend the meaning of nlines.
2302 2010-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
2304 * progmodes/which-func.el (which-func-ff-hook): Log the error message.
2305 (which-func-update-1): Distinguish symbols from strings.
2306 (which-function): Stay within 80 columns.
2308 2010-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
2310 * subr.el (with-demoted-errors): Distinguish symbols from strings.
2312 * newcomment.el (comment-styles): Add docs to each style (bug#7509).
2314 (comment-style): Use comment-styles's docs to describe values.
2316 2010-12-03 Jan Djärv <jan.h.d@swipnet.se>
2318 * term/common-win.el (x-setup-function-keys): Restore ns-new-frame
2319 and ns-show-prefs (Bug#7535).
2321 * term/ns-win.el (global-map): Restore ns-new-frame and ns-show-prefs
2322 bindings (Bug#7535).
2324 2010-12-03 Glenn Morris <rgm@gnu.org>
2326 * nxml/nxml-mode.el: Require rng-nxml.
2327 (rng-nxml-mode-init, nxml-enable-unicode-char-name-sets):
2328 Remove declarations.
2330 * nxml/nxml-mode.el, nxml/nxml-outln.el, nxml/rng-loc.el:
2331 * nxml/rng-nxml.el, nxml/rng-valid.el:
2332 Remove leading `*' from defcustom docs.
2334 * startup.el (normal-top-level-add-subdirs-to-load-path): Simplify.
2335 (normal-top-level-add-to-load-path, tty-handle-args):
2336 Convert comments to basic doc-strings.
2338 * net/browse-url.el (browse-url-url-at-point)
2339 (browse-url-default-browser): Remove autoload cookies.
2341 * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
2342 Remove more undefined cl functions.
2344 * vc/diff.el (diff-sentinel): Make new arguments optional.
2345 * ibuf-ext.el (diff-sentinel): Update declaration.
2347 2010-12-03 Daiki Ueno <ueno@unixuser.org>
2349 * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
2350 "RIPEMD160" (Bug#7490). Reported by Daniel Kahn Gillmor.
2351 (epg-context-set-passphrase-callback): Mention that the callback
2352 is not called when used with GnuPG 2.x.
2354 2010-12-02 Michael Albinus <michael.albinus@gmx.de>
2356 * net/tramp.el (tramp-local-host-regexp): Add "localhost6".
2357 (tramp-file-name-port): Check also for `tramp-default-port'.
2358 (tramp-get-connection-name): New defun.
2359 (tramp-get-connection-process): Use it.
2360 (tramp-debug-message): Extend function exclude list.
2361 (tramp-drop-volume-letter): Fix doc string.
2363 * net/tramp-cmds.el: Remove solved todo item.
2367 * net/tramp-gvfs.el:
2369 * net/tramp-imap.el:
2370 * net/tramp-smb.el: Fix regexps added to `tramp-default-method-alist'
2371 and `tramp-default-user-alist', respectively.
2373 * net/tramp-gw.el (tramp-gw-open-connection):
2374 Use `tramp-get-connection-name' and `tramp-get-connection-buffer'.
2376 * net/tramp-imap.el (tramp-imap-make-iht): Use just
2377 `tramp-file-name-port'.
2379 * net/tramp-sh.el (tramp-methods): Add recursive options to "pscp"
2380 and "psftp". Exchange "%k" marker with options.
2381 (tramp-do-copy-or-rename-file, tramp-sh-handle-file-local-copy):
2382 Compute size of link target.
2383 (tramp-do-copy-or-rename-file-out-of-band). Move setting of
2384 `tramp-current-*' up due to gateway methods. Optimze computing of
2385 copy arguments. Use `tramp-get-connection-name' and
2386 `tramp-get-connection-buffer'. Improve debug messages.
2387 (tramp-compute-multi-hops): Remove port determination.
2388 (tramp-maybe-open-connection): Use `tramp-get-connection-name'.
2390 * net/trampver.el: Update release number.
2392 2010-12-02 Glenn Morris <rgm@gnu.org>
2394 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
2395 Avoid infinite loop over windows. (Bug#7492)
2397 * progmodes/flymake.el (flymake-check-file-limit):
2398 Allow nil to mean "no limit".
2399 (flymake-check-patch-master-file-buffer): Update for above change.
2400 Allow a .tex file-name extension to be optional.
2401 (flymake-master-tex-init): Also match \include statements.
2403 2010-11-30 Sam Steingold <sds@gnu.org>
2405 * nxml/nxml-mode.el (nxml-parent-document): Add a variable.
2406 (nxml-parent-document-set): A function to set `nxml-parent-document'.
2407 (nxml-mode): Define using `define-derived-mode' instead of `defun'.
2408 (nxml-mode-hook): Remove `defcustom' (auto-defined by
2409 define-derived-mode').
2410 * nxml/rng-valid.el (rng-dtd-trivial-p): Add a helper function for
2411 users who want to call `nxml-parent-document-set'.
2413 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
2415 * log-edit.el (log-edit-font-lock-keywords): Don't try matching
2416 stand-alone lines, since that is handled by log-edit-match-to-eoh
2419 2010-11-27 Eduard Wiebe <usenet@pusto.de>
2421 * dired.el (dired-get-filename): Replace backslashes with slashes
2422 in file names on MS-Windows, needed by `locate'. (Bug#7308)
2423 * locate.el (locate-default-make-command-line): Don't consider
2424 drive letter and root directory part of
2425 `directory-listing-before-filename-regexp'. (Bug#7308)
2426 (locate-post-command-hook, locate-post-command-hook): New defcustoms.
2428 2010-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
2430 * emacs-lisp/smie.el (smie-prec2->grammar): Simplify handling
2431 of :smie-open/close-alist.
2432 (smie-next-sexp): Make it accept a "start token" as argument.
2433 (smie-indent-keyword): Be careful not to misidentify tokens that span
2434 more than one line, as empty lines. Add argument `token'.
2436 2010-11-27 Kenichi Handa <handa@m17n.org>
2438 * mail/rmailmm.el (rmail-mime-insert-multipart): For unsupported
2439 multipart subtypes, insert all as usual.
2441 * mail/rmail.el: Require rfc2047.
2443 2010-11-27 Kenichi Handa <handa@m17n.org>
2445 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-type)
2446 (rmail-mime-entity-disposition)
2447 (rmail-mime-entity-transfer-encoding, rmail-mime-entity-header)
2448 (rmail-mime-entity-body, rmail-mime-entity-children): New functions.
2449 (rmail-mime-save): Handle the case that the button's `data' is a
2451 (rmail-mime-insert-text): New function.
2452 (rmail-mime-insert-image): Handle the case that DATA is a MIME entity.
2453 (rmail-mime-bulk-handler): Just call rmail-mime-insert-bulk.
2454 (rmail-mime-insert-bulk): New function mostly copied from the old
2455 rmail-mime-bulk-handler.
2456 (rmail-mime-multipart-handler): Just call rmail-mime-process-multipart.
2457 (rmail-mime-process-multipart): New function mostly copied from
2458 the old rmail-mime-multipart-handler.
2459 (rmail-mime-show): Just call rmail-mime-process.
2460 (rmail-mime-process): New function mostly copied from the old
2462 (rmail-mime-insert-multipart, rmail-mime-parse)
2463 (rmail-mime-insert, rmail-show-mime)
2464 (rmail-insert-mime-forwarded-message)
2465 (rmail-insert-mime-resent-message): New functions.
2466 (rmail-insert-mime-forwarded-message-function): Set to
2467 rmail-insert-mime-forwarded-message.
2468 (rmail-insert-mime-resent-message-function): Set to
2469 rmail-insert-mime-resent-message.
2471 * mail/rmailsum.el: Require rfc2047.
2472 (rmail-header-summary): Handle multiline Subject: field.
2473 (rmail-summary-line-decoder): Change the default to
2474 rfc2047-decode-string.
2476 * mail/rmail.el (rmail-enable-mime): Change the default to t.
2477 (rmail-mime-feature): Change the default to `rmailmm'.
2478 (rmail-quit): Delete the specifal code for rmail-enable-mime.
2479 (rmail-display-labels): Likewise.
2480 (rmail-show-message-1): Check rmail-enable-mime, and use
2481 rmail-show-mime-function for a MIME message. Decode the headers
2482 according to RFC2047.
2484 2010-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
2486 * progmodes/which-func.el (which-func-imenu-joiner-function):
2487 Return a string, as expected.
2488 (which-function-mode): Make sure we stop any previous timer before
2491 2010-11-27 Michael Albinus <michael.albinus@gmx.de>
2493 * net/tramp.el (tramp-default-method-alist)
2494 (tramp-default-user-alist, tramp-default-proxies-alist):
2495 Adapt custom options type. (Bug#7445)
2497 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
2499 * progmodes/python.el: Add Ipython support (Bug#5390).
2500 (python-shell-prompt-alist)
2501 (python-shell-continuation-prompt-alist): New options.
2502 (python--set-prompt-regexp): New function.
2503 (inferior-python-mode, run-python, python-shell):
2504 Require ansi-color. Use python--set-prompt-regexp to set the comint
2505 prompt based on the Python interpreter.
2506 (python--prompt-regexp): New var.
2507 (python-check-comint-prompt)
2508 (python-comint-output-filter-function): Use it.
2509 (run-python): Use a pipe (Bug#5694).
2511 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
2513 * progmodes/python.el (run-python): Doc fix.
2514 (python-keep-current-directory-in-path): New var (Bug#7454).
2516 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
2518 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
2519 Prompt user before actually printing.
2521 2010-11-27 Glenn Morris <rgm@gnu.org>
2523 * startup.el (package-enable-at-startup, package-initialize):
2524 Remove unnecessary declarations.
2526 2010-11-27 Eli Zaretskii <eliz@gnu.org>
2528 * international/characters.el (glyphless-char-display-control):
2529 Exclude newline and TAB from the c0-control group.
2531 2010-11-27 Glenn Morris <rgm@gnu.org>
2533 * mail/sendmail.el (build-mail-aliases): Doc fix for autoload.
2534 (expand-mail-aliases): Remove unnecessary autoload.
2536 * allout.el (allout-command-prefix, allout-mode-map): Declare.
2538 * shell.el (shell-dir-cookie-re): Move definition before use.
2540 * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
2541 Replace undefined CL functions.
2543 2010-11-26 Eli Zaretskii <eliz@gnu.org>
2545 * simple.el (prog-mode): Set bidi-paragraph-direction to
2548 * term/pc-win.el (x-get-selection-internal): Emulation for MS-DOS.
2550 2010-11-26 Glenn Morris <rgm@gnu.org>
2552 * calendar/diary-lib.el (diary-outlook-format-1): New function, so that
2553 diary-outlook-formats can be sensitive to calendar-date-style.
2554 (diary-outlook-formats): Simplify the default setting.
2555 (diary-from-outlook-internal): Pass subject and body as arguments.
2556 Use dolist rather than dotimes. Don't save the diary buffer.
2557 (diary-from-outlook-gnus, diary-from-outlook-rmail):
2558 Pass subject and body as explicit arguments to the -internal function.
2560 2010-11-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
2562 * mail/rfc2368.el (rfc2368-parse-mailto-url): Unfold URLs before
2563 parsing them. This makes mailto:...?subject=foo\nbar work.
2565 2010-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
2567 * vc/diff.el (diff): Fix last change.
2569 2010-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
2571 * emacs-lisp/pcase.el: Improve pcase-let. Use "pcase--" prefix.
2572 (pcase--dontcare-upats): New var.
2573 (pcase-let, pcase-let*): Generate better code.
2574 Accept the same bodies as `let'.
2575 (pcase-dolist): New macro.
2576 (pcase--trivial-upat-p): New helper function.
2577 (pcase--expand): Strip leading "(let nil" if any.
2579 2010-11-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
2581 * mail/mailclient.el (browse-url): Require.
2582 (mailclient-send-it): Bind `browse-url-mailto-function' to nil to
2583 use the external browser function to send the mail (bug#7469).
2585 * net/browse-url.el (browse-url-browser-function): Revert the
2586 default back to the previous value, since the new value broke
2588 (browse-url-mailto-function): New variable for mailto: URLs.
2589 (browse-url): Use the new variable for mailto: URLs.
2591 2010-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
2593 * eshell/esh-cmd.el (eshell-parse-command):
2594 * eshell/esh-arg.el (eshell-parse-arguments):
2595 * eshell/em-script.el (eshell-source-file):
2596 Use with-silent-modifications.
2598 2010-11-23 Chong Yidong <cyd@stupidchicken.com>
2600 * vc/vc.el (vc-merge): Remove optional arg PROMPT. Always prompt
2601 for a merge location.
2603 * vc/vc-bzr.el (vc-bzr-pull): Remove unused var.
2604 (vc-bzr-merge-branch): Always prompt.
2605 (vc-bzr-async-command): Use the full branch filename.
2607 2010-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
2609 * shell.el (shell): Use current-buffer by default if it's already
2610 a shell mode buffer and its process is dead.
2611 Suggested by Jose E. Marchesi <jemarch@gnu.org>.
2613 2010-11-23 Tassilo Horn <tassilo@member.fsf.org>
2615 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
2616 Mention that the keywords should be comma separated.
2618 2010-11-23 Chong Yidong <cyd@stupidchicken.com>
2620 * vc/vc.el (vc-merge): Use vc-BACKEND-merge-branch if available.
2621 Accept optional prefix arg meaning to prompt for a command.
2622 (vc-update): Use vc-BACKEND-pull if available. Accept optional
2623 prefix arg meaning to prompt for a command.
2624 (vc-pull): Alias for vc-update.
2626 * vc/vc-bzr.el (vc-bzr-admin-branchconf, vc-bzr-history): New vars.
2627 (vc-bzr--branch-conf, vc-bzr-async-command, vc-bzr-pull)
2628 (vc-bzr-merge-branch): New functions, implementing merge-branch
2629 and pull operations.
2631 2010-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
2633 * Makefile.in: Fix up last merge.
2635 * vc/diff.el (diff-old-temp-file, diff-new-temp-file): Remove.
2636 (diff-sentinel): Get them as arguments instead.
2637 (diff-old-file, diff-new-file, diff-extra-args): Remove.
2638 (diff-file-local-copy, diff-better-file-name): New funs.
2639 (diff-no-select): Rename from diff-into-buffer.
2640 Support buffers additionally to files. Move `buf' arg. Don't display buf.
2641 Prefer closures to buffer-local variables.
2642 (diff): Adjust accordingly.
2643 (diff-buffer-with-file): Move from files.el.
2644 * files.el (diff-buffer-with-file): Move to vc/diff.el.
2645 (diff-buffer-internal): Remove.
2646 (diff-buffer-buffer): Remove.
2647 (save-some-buffers-action-alist): Use diff-no-select so as not to guess
2648 the buffer name used, and so as not to mess up windows and frames.
2650 2010-11-22 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
2652 * files.el: Make revert work with diff-buffer-with-file (bug#7277).
2653 (diff-buffer-internal): New function extracted from diff-buffer-with-file
2654 (diff-buffer-with-file): Use it.
2655 * vc/diff.el (diff-into-buffer): New fun, extracted from diff.
2658 2010-11-22 Tassilo Horn <tassilo@member.fsf.org>
2660 * textmodes/reftex-ref.el (reftex-goto-label): Use the current
2661 \ref's or \pageref's value as default instead of initial input.
2663 2010-11-21 Michael Albinus <michael.albinus@gmx.de>
2665 * files.el (backup-by-copying-when-mismatch): The default value is
2668 * startup.el (normal-top-level):
2669 * net/tramp.el (tramp-handle-insert-file-contents): Do not set
2670 `backup-by-copying-when-mismatch'.
2672 2010-11-21 Jan Djärv <jan.h.d@swipnet.se>
2674 * tool-bar.el (tool-bar-setup): Remove save as, print and customize.
2676 2010-11-21 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2678 * progmodes/python.el (python-font-lock-keywords):
2679 Highlight top-level augmented assignments (Bug#6445).
2681 2010-11-21 Jan Djärv <jan.h.d@swipnet.se>
2683 * term/ns-win.el (ns-right-control-modifier)
2684 (ns-right-command-modifier): Defvar them.
2686 * cus-start.el (all): Add ns-right-control-modifier and
2687 ns-right-command-modifier (Bug#7458).
2689 2010-11-20 Glenn Morris <rgm@gnu.org>
2691 * emacs-lisp/authors.el (authors-ignored-files)
2692 (authors-valid-file-names, authors-renamed-files-alist): Add entries.
2694 2010-11-20 Tassilo Horn <tassilo@member.fsf.org>
2696 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs)
2697 (report-emacs-bug-parse-query-results)
2698 (report-emacs-bug-create-existing-bugs-buffer): Pass through
2699 keywords used for querying the bug database to show them in the
2700 existing bugs buffer.
2702 2010-11-20 Jan Djärv <jan.h.d@swipnet.se>
2704 * tool-bar.el (tool-bar-setup): Add some :vert-only keywords.
2706 * info.el (info-tool-bar-map): Add some :vert-only keywords.
2708 2010-11-20 Eli Zaretskii <eliz@gnu.org>
2710 * international/characters.el (glyphless-char-display-control):
2711 Make it a defcustom, with update-glyphless-char-display as its
2713 (top level): Don't call update-glyphless-char-display.
2715 2010-11-20 Michael Albinus <michael.albinus@gmx.de>
2717 Sync with Tramp 2.2.0.
2719 * net/tramp.el (tramp-handle-insert-file-contents): Don't use
2720 `file-remote-p' (due to compatibility).
2722 * net/tramp-sh.el (tramp-do-copy-or-rename-file-directly)
2723 (tramp-do-copy-or-rename-file-out-of-band): Use `ignore-errors'.
2725 * net/trampver.el: Update release number.
2727 2010-11-20 Eli Zaretskii <eliz@gnu.org>
2729 * faces.el (glyphless-char): Define value for `pc'.
2731 2010-11-20 Tassilo Horn <tassilo@member.fsf.org>
2733 Implemented a bug querying mechanism.
2734 * mail/emacsbug.el (report-emacs-bug-tracker-url): New variable.
2735 (report-emacs-bug-create-existing-bugs-buffer)
2736 (report-emacs-bug-parse-query-results)
2737 (report-emacs-bug-query-existing-bugs): New functions.
2739 2010-11-19 Tassilo Horn <tassilo@member.fsf.org>
2741 * textmodes/reftex-ref.el (reftex-goto-label): If point is inside
2742 a \ref{} or \pageref{} macro, then use its value as initial input.
2744 2010-11-19 Jay Belanger <jay.p.belanger@gmail.com>
2746 * calc/calc-units.el (math-build-units-table-buffer):
2747 calc/README: Mention that the TeX specific units won't use the
2748 `tex' prefix in TeX mode.
2749 calc/calc-lang.el (math-variable-table): Don't use the `tex'
2750 prefix for units in TeX mode.
2752 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2754 * simple.el (kill-new, kill-append, kill-region):
2755 * comint.el (comint-kill-region): Make the yank-handler argument
2758 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2760 * emacs-lisp/smie.el (smie-bnf-classify): Signal errors for tokens
2761 that are both openers (resp. closers) and something else.
2762 (smie-grammar): Loosen definition of valid values.
2763 (smie-next-sexp, smie-down-list, smie-blink-matching-open)
2764 (smie-indent--parent, smie-rule-parent, smie-indent-keyword)
2765 (smie-indent-after-keyword): Adjust users.
2766 (smie-indent-keyword): Don't indent empty lines.
2768 * vc-hg.el (vc-hg-program): New var.
2769 Suggested by Norman Gray <norman@astro.gla.ac.uk>.
2770 (vc-hg-state, vc-hg-working-revision, vc-hg-command): Use it.
2772 2010-11-18 Glenn Morris <rgm@gnu.org>
2774 * emacs-lisp/autoload.el (autoload-find-destination): The function
2775 coding-system-eol-type may return non-numeric values. (Bug#7414)
2777 2010-11-18 Ulrich Mueller <ulm@gentoo.org>
2779 * server.el (server-force-stop): Ensure the server is stopped (Bug#7409).
2781 2010-11-18 Eli Zaretskii <eliz@gnu.org>
2783 * subr.el (posn-col-row): Pay attention to header line. (Bug#7390)
2785 2010-11-18 Chong Yidong <cyd@stupidchicken.com>
2787 * textmodes/picture.el (picture-mouse-set-point): Don't use
2788 posn-col-row; explicitly compute the motion based on the posn at
2789 the window-start (Bug#7390).
2791 2010-11-18 Glenn Morris <rgm@gnu.org>
2793 * novice.el (disabled-command-function):
2794 Fix 2009-11-15 change. (Bug#7384)
2796 2010-11-18 Glenn Morris <rgm@gnu.org>
2798 * calendar/calendar.el (diary-iso-date-forms): Make elements
2799 mutually exclusive. (Bug#7377)
2801 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2803 * emacs-lisp/smie.el (smie-prec2->grammar): Obey equality constraints
2804 when filling the remaining "unconstrained" values.
2806 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2808 * emacs-lisp/bytecomp.el (byte-compile-warnings): Simplify the
2811 * files.el (safe-local-variable-p): Gracefully handle errors.
2813 * emacs-lisp/smie.el (smie-rule-parent, smie-indent--rule):
2814 Use smie-indent-virtual when indenting relative to an opener.
2815 (smie-rule-separator): Use smie-rule-parent.
2816 (smie-indent-keyword): Consult rules, even for openers at bol.
2817 (smie-indent-comment-close): Try to align closer's content.
2819 2010-11-18 Glenn Morris <rgm@gnu.org>
2821 * ls-lisp.el (ls-lisp-dired-ignore-case): Make it an obsolete alias.
2823 2010-11-18 Glenn Morris <rgm@gnu.org>
2825 * printing.el (pr-menu-bind): Doc fix.
2827 * speedbar.el (speedbar-toggle-images): Doc fix.
2829 * progmodes/python.el (python-shell): Doc fix.
2831 * wid-edit.el (widget-field-use-before-change)
2832 (widget-use-overlay-change): Doc fixes.
2834 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2836 Minor cleanup to improve style.
2837 * textmodes/rst.el (rst-update-section): Use point-marker.
2838 (rst-get-decoration): Eliminate unneeded assignment.
2839 (rst-promote-region, rst-straighten-decorations)
2840 (rst-section-tree, rst-adjust): Use point-marker.
2841 (rst-toc-mode-mouse-goto): Avoid setq.
2842 (rst-shift-region-guts, rst-shift-region-left)
2843 (rst-iterate-leftmost-paragraphs, rst-iterate-leftmost-paragraphs-2)
2844 (rst-convert-bullets-to-enumeration): Use copy-marker.
2846 * minibuffer.el (completion-fail-discreetly): New var.
2847 (completion--do-completion): Use it.
2849 * electric.el (electric-pair-pairs): New var.
2850 (electric-pair-post-self-insert-function): Use it.
2851 (electric-layout-post-self-insert-function): Don't insert a before
2852 newline unless it's actually needed.
2854 2010-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
2856 * progmodes/python.el (run-python): Explain why we remove the current
2857 directory from sys.path. Suggested by Eric Hanchrow <erich@cozi.com>.
2859 * progmodes/grep.el (grep-regexp-alist): Tighten the regexp (bug#7378).
2861 2010-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
2863 * progmodes/octave-mod.el: Rely on elecric-*-modes.
2864 (octave-mode-map): Don't bind ;, SPC, and LF.
2865 (octave-auto-indent, octave-auto-newline): Remove.
2866 (electric-layout-rules): Declare.
2867 (octave-mode): Set electric-layout-rules.
2868 (octave-indent-new-comment-line): Use reindent-then-newline-and-indent.
2869 (octave-reindent-then-newline-and-indent, octave-electric-semi)
2870 (octave-electric-space): Remove.
2872 * electric.el (electric-layout-mode): New minor mode.
2873 (electric--after-char-pos): New function.
2874 (electric-indent-post-self-insert-function): Use it.
2875 (electric-layout-rules): New var.
2876 (electric-layout-post-self-insert-function): New function.
2877 (electric-indent-mode): Make them interact better.
2879 2010-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
2881 * emacs-lisp/checkdoc.el (checkdoc-syntax-table): Fix last change.
2882 (checkdoc-sentencespace-region-engine, checkdoc-this-string-valid)
2883 (checkdoc-proper-noun-region-engine): Use with-syntax-table.
2885 2010-11-15 Agustín Martín <agustin.martin@hispalinux.es>
2887 * textmodes/flyspell.el (flyspell-generic-progmode-verify):
2888 Make sure to check inside the word (Bug#6761).
2890 2010-11-14 Chong Yidong <cyd@stupidchicken.com>
2892 * startup.el (command-line): If the cursorColor resource is set,
2893 change the cursor face-spec (Bug#7392).
2895 2010-11-13 Ken Manheimer <ken.manheimer@gmail.com>
2897 The main features of the following allout.el changes are:
2898 - implement user customization for the allout key bindings
2899 - add a customization control by which the user can inhibit use of
2900 a trailing Ctrl-H, so by default it's reserved for use with
2901 describe-prefix-bindings
2902 - adapt to new version of called-interactively-p, while
2903 maintaining backwards compatibility with old version
2904 - fix hotspot navigation so i works properly with meta-modified keys
2906 * allout.el (allout-keybindings, allout-bind-keys)
2907 (allout-keybindings-binding, allout-prefixed-keybindings)
2908 (allout-unprefixed-keybindings, allout-preempt-trailing-ctrl-h)
2909 (allout-keybindings-list, allout-mode-map-adjustments)
2910 (allout-setup-mode-map): Establish allout-mode keymaps as user
2911 customizable settings, and also establish a customizable setting which
2912 regulates whether or not a trailing control-h is reserved for use with
2913 describe-prefix-bindings - and inhibit it by default, so that control-h
2914 *is* reserved for describe-prefix-bindings unless the user changes it.
2916 * allout.el (allout-hotspot-key-handler): Distinguish more explicitly
2917 and accurately between modified and unmodified events, and handle
2918 modified events more comprehensively.
2920 * allout.el (allout-substring-no-properties):
2921 Alias to use or provide version of `substring-no-properties'.
2922 (allout-solicit-alternate-bullet): Use `allout-substring-no-properties'.
2924 * allout.el (allout-next-single-char-property-change):
2925 Alias to use or provide version of `next-single-char-property-change'.
2926 (allout-annotate-hidden, allout-hide-by-annotation):
2927 Use `allout-next-single-char-property-change'.
2929 * allout.el (allout-select-safe-coding-system):
2930 Alias to use or provide version of `select-safe-coding-system'.
2931 (allout-toggle-subtree-encryption):
2932 Use `allout-select-safe-coding-system'.
2934 * allout.el (allout-set-buffer-multibyte):
2935 Alias to use or provide version of `set-buffer-multibyte'.
2936 (allout-encrypt-string): Use `allout-set-buffer-multibyte'.
2938 * allout.el (allout-called-interactively-p): Macro for using the
2939 different versions of called-interactively-p identically, depending on
2940 the subroutine's argument signature.
2941 (allout-back-to-current-heading, allout-beginning-of-current-entry):
2942 Use `(interactive "p")' instead of `(called-interactively-p)'.
2944 * allout.el (allout-init, allout-ascend, allout-end-of-level)
2945 (allout-previous-visible-heading, allout-forward-current-level)
2946 (allout-backward-current-level, allout-show-children):
2947 Use `allout-called-interactively-p' instead of `called-interactively-p'.
2949 * allout.el (allout-before-change-handler):
2950 Exempt edits to the (overlaid) character after the allout outline
2951 bullet from edit confirmation prompt.
2953 * allout.el (allout-add-resumptions):
2954 Ensure that it respects correct buffer for keybindings.
2956 * allout.el (allout-beginning-of-line):
2957 Use `allout-previous-single-char-property-change' alias for the sake of
2958 diverse compatibility.
2960 * allout.el (allout-end-of-line):
2961 Use `allout-mark-active-p' to encapsulate respect for mark activity.
2963 2010-11-13 Chong Yidong <cyd@stupidchicken.com>
2965 * frame.el (frame-notice-user-settings): Don't clobber other
2966 user-set parameters when calling face-set-after-frame-default in
2967 response to background-color parameter (Bug#7373).
2969 2010-11-13 Eli Zaretskii <eliz@gnu.org>
2971 * international/characters.el (glyphless-char-display-control):
2972 Rename from glyphless-char-control; all users changed. Doc fix.
2973 Signal an error if display method is not one of the recognized
2976 2010-11-13 Michael Albinus <michael.albinus@gmx.de>
2978 * net/tramp-compat.el (tramp-compat-line-beginning-position)
2979 (tramp-compat-line-end-position): Remove them.
2981 * net/tramp.el (tramp-parse-rhosts-group)
2982 (tramp-parse-shosts-group, tramp-parse-sconfig-group)
2983 (tramp-parse-hosts-group, tramp-parse-passwd-group)
2984 (tramp-parse-netrc-group, tramp-parse-putty-group)
2985 * net/tramp-cmds.el (tramp-append-tramp-buffers)
2986 * net/tramp-sh.el (tramp-do-file-attributes-with-ls)
2987 (tramp-sh-handle-file-selinux-context)
2988 (tramp-sh-handle-file-name-all-completions)
2989 (tramp-sh-handle-insert-directory)
2990 (tramp-sh-handle-expand-file-name, tramp-find-executable)
2991 (tramp-wait-for-output, tramp-send-command-and-read)
2992 * net/tramp-smb.el (tramp-smb-read-file-entry)
2993 (tramp-smb-get-cifs-capabilities): Use `point-at-eol'.
2995 * net/tramp-sh.el (tramp-sh-handle-insert-directory) Use
2997 (tramp-remote-coding-commands): Add an alternative using "base64
2998 -d -i". This is needed for older base64 versions from GNU
2999 coreutils. Reported by Klaus Reichl
3000 <Klaus.Reichl@thalesgroup.com>.
3002 2010-11-13 Hrvoje Niksic <hniksic@xemacs.org>
3004 * simple.el (count-words-region): New function.
3006 2010-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
3008 * shell.el (shell-dir-cookie-re): New custom variable.
3009 (shell-dir-cookie-watcher): New function.
3011 * vc/vc.el (vc-deduce-backend): Use default-directory in shell-mode
3012 and compilation-mode (bug#7350).
3014 * vc/smerge-mode.el (smerge-refine): Choose better default part to
3015 highlight when one of them is empty.
3017 * skeleton.el (skeleton-read): Don't use `newline' since it may strip
3019 (skeleton-newline): New function.
3020 (skeleton-internal-1): Use it.
3022 * simple.el (open-line): `newline' may strip trailing space.
3024 2010-11-12 Kevin Ryde <user42@zip.com.au>
3026 * international/mule-cmds.el (princ-list): Use mapc.
3028 2010-11-12 Glenn Morris <rgm@gnu.org>
3030 * emacs-lisp/bytecomp.el (byte-compile-log-buffer): New constant.
3031 Use it to replace all instances of "*Compile-Log*"
3033 2010-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
3035 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Add debug and
3038 2010-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3040 * progmodes/modula2.el: Use SMIE and skeleton.
3041 (m2-mode-syntax-table): (*..*) can be nested.
3042 Add //...\n. Fix paren syntax.
3043 (m2-mode-map): Remove LF and TAB bindings.
3044 (m2-indent): Add safety property.
3045 (m2-smie-grammar): New var.
3046 (m2-smie-refine-colon, m2-smie-refine-of, m2-smie-backward-token)
3047 (m2-smie-forward-token, m2-smie-refine-semi, m2-smie-rules): New funs.
3048 (m2-mode): Use define-derived-mode.
3049 (m2-newline, m2-tab): Remove.
3050 (m2-begin, m2-case, m2-definition, m2-else, m2-for, m2-header)
3051 (m2-if, m2-loop, m2-module, m2-or, m2-procedure, m2-with, m2-record)
3052 (m2-stdio, m2-type, m2-until, m2-var, m2-while, m2-export)
3053 (m2-import): Use define-skeleton.
3055 2010-11-11 Glenn Morris <rgm@gnu.org>
3057 * obsolete/lucid.el: Don't warn about any CL functions in this file.
3059 * ls-lisp.el (ls-lisp-ignore-case, ls-lisp-dirs-first)
3060 (ls-lisp-verbosity): Add custom :set-after property.
3061 (ls-lisp-verbosity, ls-lisp-use-localized-time-format): Doc fixes.
3062 (ls-lisp-format, ls-lisp-format-time): Don't take `now' as an argument.
3063 (ls-lisp-insert-directory): Update caller.
3064 (ls-lisp-set-options): New function.
3065 (ls-lisp-emulation): Use ls-lisp-set-options for custom :set.
3068 * play/landmark.el (lm-prompt-for-move):
3069 * play/gomoku.el (gomoku-prompt-for-move): Remove nonsensical code.
3071 * progmodes/idlw-complete-structtag.el: Remove unused dec `name'.
3073 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins)
3074 (idlwave-study-twins): Prefix dynamic local variable `name'.
3075 (idlwave-routine-twin-compare): Update for above change.
3077 * progmodes/idlw-help.el (idlwave-do-mouse-completion-help):
3078 Prefix dynamic local variables `name', `kwd', and `link'.
3079 * progmodes/idlw-shell.el (idlwave-shell-complete-execcomm-help):
3080 * progmodes/idlw-complete-structtag.el
3081 (idlwave-complete-structure-tag-help):
3082 * progmodes/idlwave.el (idlwave-complete-sysvar-help)
3083 (idlwave-complete-sysvar-tag-help)
3084 (idlwave-complete-class-structure-tag-help):
3085 Update for above name changes.
3087 2010-11-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
3089 * net/browse-url.el (browse-url-browser-function): Change the
3090 default to use `browse-url-mail' on mailto: URLs.
3092 2010-11-10 Chong Yidong <cyd@stupidchicken.com>
3094 * emacs-lisp/package.el (package-read-all-archive-contents):
3095 Reset package-archive-contents to nil before re-reading.
3097 2010-11-10 Brandon Craig Rhodes <brandon@rhodesmill.org> (tiny change)
3099 * textmodes/flyspell.el (flyspell-word): Do not re-check words
3100 already found as misspellings by (flyspell-large-region), just
3101 do highlighting (bug#7322).
3103 2010-11-10 Glenn Morris <rgm@gnu.org>
3105 * progmodes/octave-mod.el (octave-mark-block): Update for smie change.
3107 * emulation/edt.el (edt-with-position): New macro.
3108 (edt-find-forward, edt-find-backward, edt-find-next-forward)
3109 (edt-find-next-backward, edt-sentence-forward, edt-sentence-backward)
3110 (edt-paragraph-forward, edt-paragraph-backward): Use it.
3112 * emulation/tpu-extras.el (tpu-with-position): New macro.
3113 (tpu-paragraph, tpu-page, tpu-search-internal): Use it.
3115 * textmodes/texnfo-upd.el (texinfo-pointer-name): Fix typo.
3117 * textmodes/texnfo-upd.el (texinfo-all-menus-update)
3118 (texinfo-menu-copy-old-description, texinfo-start-menu-description)
3119 (texinfo-master-menu, texinfo-insert-node-lines)
3120 (texinfo-multiple-files-update):
3121 * textmodes/texinfmt.el (texinfo-append-refill, texinfo-copying):
3122 Use line-beginning-position.
3124 * progmodes/cperl-mode.el (cperl-find-pods-heres, cperl-write-tags):
3125 No recent Emacs supports system-type `emx'.
3127 * progmodes/ada-xref.el (is-windows): Rename to ada-on-ms-windows.
3128 (ada-command-separator, ada-default-prj-properties)
3129 (ada-find-any-references): Update for above name change.
3131 * dirtrack.el (dirtrack-directory-function)
3132 (dirtrack-canonicalize-function):
3133 * filecache.el (file-cache-completion-ignore-case)
3134 (file-cache-case-fold-search, file-cache-ignore-case):
3135 * term.el (serial-port-is-file-p): Cosmetic change.
3137 * emulation/viper-init.el (viper-ms-style-os-p): Doc fix.
3138 Remove non-existent `windows-95' system-type.
3139 * dired.el (dired-chown-program): Remove non-existent `linux'
3142 * net/net-utils.el (net-utils-remove-ctl-m): Use memq for system-types.
3143 (ping-program-options): Remove non-existent `linux' system-type.
3145 * startup.el (package-initialize): Update declaration.
3147 * ls-lisp.el (ls-lisp-time-lessp, ls-lisp-time-to-seconds): Remove.
3148 (ls-lisp-handle-switches): Use time-less-p.
3149 (ls-lisp-format-time): Use float-time.
3151 * textmodes/remember.el (remember-time-to-seconds): Remove.
3152 (remember-store-in-mailbox): Use float-time.
3154 * calendar/timeclock.el (timeclock-time-to-seconds): Make it an alias.
3156 * calendar/time-date.el (time-to-seconds): Always an alias on Emacs,
3157 never a real function.
3158 (with-no-warnings): Remove compat stub, now unused.
3159 (time-less-p): Doc fix.
3160 (time-to-number-of-days): Simplify.
3162 * eshell/esh-util.el (eshell-time-less-p, eshell-time-to-seconds):
3164 (eshell-read-passwd, eshell-read-hosts): Use time-less-p.
3165 * eshell/esh-test.el (eshell-test, eshell-show-usage-metrics):
3166 * eshell/em-unix.el (eshell-show-elapsed-time, eshell/time):
3167 * eshell/em-pred.el (eshell-pred-file-time): Use float-time.
3168 * eshell/em-ls.el (eshell-ls-sort-entries): Use time-less-p.
3170 * eshell/em-unix.el (eshell-remove-entries, eshell/rm)
3171 (eshell-shuffle-files, eshell-shorthand-tar-command)
3172 (eshell-mvcpln-template, eshell/mv, eshell/cp, eshell/ln):
3173 Prefix dynamic locals `interactive', `preview', `recursive', `verbose'.
3174 * eshell/em-glob.el (eshell-extended-glob, eshell-glob-entries):
3175 Prefix dynamic local variable `matches'.
3177 * skeleton.el (skeleton-internal-list, skeleton-internal-1):
3178 Prefix dynamic local variable `skeleton'.
3180 2010-11-10 Katsumi Yamaoka <yamaoka@jpl.org>
3182 * net/browse-url.el (browse-url-mail): Insert body part of mailto url
3183 in mail buffer; make yank-action always a command that yanks original
3186 2010-11-09 Glenn Morris <rgm@gnu.org>
3188 * progmodes/tcl.el (tcl-hairy-scan-for-comment): Doc fix.
3190 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3192 * minibuffer.el (minibuffer-completion-help): Specify the end of the
3193 completion field (bug#7211).
3195 * progmodes/python.el (python-font-lock-syntactic-keywords): (bug#7322)
3196 Fix handling of backslash escapes.
3197 (python-quote-syntax): Adjust accordingly.
3199 2010-11-09 Richard Levitte <richard@levitte.org> (tiny change)
3201 * vc-mtn.el (vc-mtn-working-revision, vc-mtn-after-dir-status)
3202 (vc-mtn-workfile-branch): Adjust to new output format.
3204 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3206 * international/mule-cmds.el (princ-list): Mark as obsolete.
3208 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3210 * emacs-lisp/smie.el: New package.
3212 2010-11-09 Michael Albinus <michael.albinus@gmx.de>
3214 * files.el (backup-by-copying-when-mismatch):
3215 Set `permanent-local' property.
3217 * net/tramp.el (tramp-handle-insert-file-contents): Do not set
3218 `permanent-local' property for `backup-by-copying-when-mismatch'.
3220 2010-11-09 Eli Zaretskii <eliz@gnu.org>
3222 * ls-lisp.el (insert-directory): Doc fix. (bug#7285)
3224 2010-11-09 Wilson Snyder <wsnyder@wsnyder.org>
3226 * progmodes/verilog-mode.el (verilog-insert-one-definition)
3227 (verilog-read-decls, verilog-read-sub-decls-sig): Fix AUTOWIRE and
3228 AUTOINOUT for SV style multidimensional arrays, bug294.
3229 Reported by Eric Mastromarchi.
3230 (verilog-preprocess): Use with-current-buffer and
3231 font-lock-fontify-buffer to cleanup style issues.
3233 2010-11-09 Glenn Morris <rgm@gnu.org>
3235 * locate.el (locate, locate-mode): Doc fixes.
3237 2010-11-09 Chong Yidong <cyd@stupidchicken.com>
3239 * server.el (server-start): New arg INHIBIT-PROMPT prevents asking
3240 user for confirmation.
3241 (server-force-stop): Use it.
3242 (server-start): Use server-force-stop for kill-emacs-hook, to
3243 avoid user interaction while killing Emacs.
3245 2010-11-09 Glenn Morris <rgm@gnu.org>
3247 * progmodes/meta-mode.el: Remove leading `*' from defcustom docs.
3248 (meta-indent-line): Simplify.
3250 * vc/emerge.el (emerge-line-number-in-buf):
3251 * textmodes/ispell.el (ispell-region):
3252 * textmodes/fill.el (current-fill-column):
3253 * progmodes/xscheme.el (xscheme-send-current-line):
3254 * progmodes/vhdl-mode.el (vhdl-current-line, vhdl-line-copy):
3255 * progmodes/tcl.el (tcl-hairy-scan-for-comment):
3256 * progmodes/sh-script.el (sh-handle-prev-do):
3257 * progmodes/meta-mode.el (meta-indent-line):
3258 * progmodes/idlwave.el (idlwave-goto-comment, idlwave-fill-paragraph)
3260 * progmodes/idlw-shell.el (idlwave-shell-current-frame)
3261 (idlwave-shell-update-bp-overlays, idlwave-shell-sources-filter):
3262 * progmodes/fortran.el (fortran-looking-at-if-then):
3263 * progmodes/etags.el (find-tag-in-order, etags-snarf-tag):
3264 * progmodes/cperl-mode.el (cperl-sniff-for-indent)
3265 (cperl-find-pods-heres):
3266 * progmodes/ada-mode.el (ada-get-current-indent, ada-narrow-to-defun):
3267 * net/quickurl.el (quickurl-list-insert):
3268 * net/ldap.el (ldap-search-internal):
3269 * net/eudc.el (eudc-expand-inline):
3270 * mail/sendmail.el (sendmail-send-it):
3271 * mail/mspools.el (mspools-visit-spool, mspools-get-spool-name):
3272 * emulation/viper-cmd.el (viper-paren-match, viper-backward-indent)
3273 (viper-brac-function):
3274 * calc/calc-yank.el (calc-do-grab-region):
3275 * calc/calc-keypd.el (calc-keypad-press):
3276 * term.el (term-move-columns, term-insert-spaces):
3277 * speedbar.el (speedbar-highlight-one-tag-line):
3278 * simple.el (current-word):
3279 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
3280 * info.el (Info-find-node-in-buffer-1, Info-follow-reference)
3282 * hippie-exp.el (he-line-beg):
3283 * epa.el (epa--marked-keys):
3284 * dired-aux.el (dired-kill-line, dired-do-kill-lines)
3285 (dired-update-file-line, dired-add-entry, dired-remove-entry)
3286 (dired-relist-entry):
3287 * buff-menu.el (Buffer-menu-buffer):
3288 * array.el (current-line):
3289 * allout.el (allout-resolve-xref)
3290 (allout-latex-verbatim-quote-curr-line):
3291 Replace yet more uses of end-of-line etc with line-end-position, etc.
3293 2010-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3295 * emacs-lisp/checkdoc.el (checkdoc-display-status-buffer)
3296 (checkdoc-interactive-loop, checkdoc-recursive-edit): Avoid princ-list.
3297 (checkdoc-syntax-table): Initialize in the declaration.
3298 (emacs-lisp-mode-hook): Use just checkdoc-minor-mode now that it turns
3299 the mode on unconditionally.
3301 * emacs-lisp/cl-macs.el (extent-data, extent-face, extent-priority)
3302 (extent-end-position, extent-start-position): Remove setf method for
3303 non-existing functions (bug#7319).
3305 2010-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
3307 * emacs-lisp/smie.el: Simplify the smie-rules-function return values.
3308 (smie-precs->prec2): Rename from smie-precs-precedence-table.
3309 (smie-bnf->prec2): Rename from smie-bnf-precedence-table.
3310 (smie-prec2->grammar): Rename from smie-prec2-levels.
3311 (smie-grammar): Rename from smie-op-levels.
3312 (smie-indent--hanging-p): Rename from smie-hanging-p.
3313 (smie-rule-hanging-p): New alias.
3314 (smie-indent--bolp): Rename from smie-bolp.
3315 (smie-indent--hanging-p): New alias.
3316 (smie--token): New dynamically bound variable.
3317 (smie-indent--parent): New function.
3318 (smie-rule-parent-p): Use it; rename from smie-parent-p.
3319 (smie-rule-next-p): Rename from smie-next-p.
3320 (smie-rule-prev-p): Rename from smie-prev-p.
3321 (smie-rule-sibling-p, smie-rule-parent)
3322 (smie-indent--separator-outdent, smie-rule-separator): New functions.
3323 (smie-rule-separator-outdent): New var.
3324 (smie-indent--rule): Merge with smie-indent--column.
3325 (smie-indent-forward-token, smie-indent-backward-token):
3326 Also recognize close parens.
3327 (smie-indent-keyword): Don't use smie-indent--column any more.
3328 (smie-indent-after-keyword): Ignore closers by default.
3329 (smie-indent-line): Use with-demoted-errors.
3330 * progmodes/octave-mod.el (octave-smie-grammar):
3331 Rename from octave-smie-op-levels.
3332 (octave-smie-rules): Adjust to new behavior.
3333 * progmodes/prolog.el (prolog-smie-grammar):
3334 Rename from prolog-smie-op-levels.
3336 2010-11-07 Glenn Morris <rgm@gnu.org>
3338 * eshell/esh-util.el (subst-char-in-string)
3339 (directory-files-and-attributes): These compatibility definitions are
3340 not needed on any version of Emacs since at least 21.4.
3342 * progmodes/verilog-mode.el (verilog-get-beg-of-line)
3343 (verilog-get-end-of-line): Remove.
3344 (verilog-within-string, verilog-re-search-forward-substr)
3345 (verilog-re-search-backward-substr, verilog-set-auto-endcomments)
3346 (verilog-surelint-off, verilog-getopt-file, verilog-highlight-region):
3347 Use point-at-bol, point-at-eol.
3348 * progmodes/pascal.el (pascal-get-beg-of-line, pascal-get-end-of-line):
3350 (pascal-declaration-end, pascal-declaration-beg, pascal-within-string)
3351 (electric-pascal-terminate-line, pascal-set-auto-comments)
3352 (pascal-indent-paramlist, pascal-indent-declaration)
3353 (pascal-get-lineup-indent, pascal-func-completion)
3354 (pascal-get-completion-decl, pascal-var-completion, pascal-completion):
3355 Use point-at-bol, point-at-eol.
3356 * progmodes/flymake.el (flymake-line-beginning-position)
3357 (flymake-line-end-position): Remove.
3358 (flymake-highlight-line): Use point-at-bol, point-at-eol.
3359 * eshell/esh-util.el (line-end-position, line-beginning-position):
3360 Remove compat definitions.
3362 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
3364 (checkdoc-this-string-valid-engine, checkdoc-file-comments-engine):
3365 Use line-end-position.
3367 * emacs-lisp/chart.el (chart-zap-chars):
3368 * play/decipher.el (decipher-set-map):
3369 * progmodes/ada-mode.el (ada-get-current-indent)
3370 (ada-search-ignore-string-comment, ada-tab-hard, ada-untab-hard):
3371 * progmodes/ada-prj.el (ada-prj-load-from-file, ada-prj-display-help):
3372 * progmodes/ada-xref.el (ada-initialize-runtime-library)
3373 (ada-get-all-references):
3374 * progmodes/cperl-mode.el (cperl-electric-paren)
3375 (cperl-electric-rparen, cperl-electric-keyword, cperl-electric-else)
3376 (cperl-linefeed, cperl-sniff-for-indent, cperl-to-comment-or-eol)
3377 (cperl-find-pods-heres, cperl-indent-exp, cperl-fix-line-spacing)
3378 (cperl-word-at-point-hard):
3379 * progmodes/idlw-shell.el (idlwave-shell-move-or-history)
3380 (idlwave-shell-filename-string, idlwave-shell-batch-command)
3381 (idlwave-shell-display-line):
3382 * progmodes/idlwave.el (idlwave-show-begin, idlwave-fill-paragraph)
3383 (idlwave-calc-hanging-indent, idlwave-auto-fill, idlwave-template):
3384 * progmodes/js.el (js--re-search-forward-inner)
3385 (js--re-search-backward-inner):
3386 * progmodes/vhdl-mode.el (vhdl-align-region-1, vhdl-align-region-2)
3387 (vhdl-fix-clause, vhdl-compose-configuration-architecture):
3388 * progmodes/ruby-mode.el (ruby-parse-partial, eval-when-compile):
3389 * textmodes/flyspell.el (flyspell-process-localwords):
3390 * textmodes/ispell.el (ispell-buffer-local-parsing)
3391 (ispell-buffer-local-dict, ispell-buffer-local-words):
3392 Use point-at-bol and point-at-eol.
3394 * speedbar.el (speedbar-generic-item-info)
3395 (speedbar-item-info-tag-helper, speedbar-change-expand-button-char)
3396 (speedbar-add-indicator, speedbar-check-vc-this-line)
3397 (speedbar-check-obj-this-line, speedbar-extract-one-symbol)
3398 (speedbar-buffers-line-directory, speedbar-buffer-revert-buffer):
3399 Replace more uses of end-of-line etc with line-end-position.
3401 2010-11-06 Glenn Morris <rgm@gnu.org>
3403 * textmodes/texnfo-upd.el (texinfo-start-menu-description)
3404 (texinfo-update-menu-region-beginning, texinfo-menu-first-node)
3405 (texinfo-delete-existing-pointers, texinfo-find-pointer)
3406 (texinfo-clean-up-node-line, texinfo-insert-node-lines)
3407 (texinfo-multiple-files-update):
3408 * textmodes/table.el (table--probe-cell-left-up)
3409 (table--probe-cell-right-bottom):
3410 * textmodes/picture.el (picture-tab-search):
3411 * textmodes/page-ext.el (pages-copy-header-and-position)
3412 (pages-directory-for-addresses):
3413 * progmodes/vera-mode.el (vera-get-offset):
3414 * progmodes/simula.el (simula-calculate-indent):
3415 * progmodes/python.el (python-pdbtrack-overlay-arrow):
3416 * progmodes/prolog.el (end-of-prolog-clause):
3417 * progmodes/perl-mode.el (perl-calculate-indent, perl-indent-exp):
3418 * progmodes/icon.el (indent-icon-exp):
3419 * progmodes/etags.el (tag-re-match-p):
3420 * progmodes/ebrowse.el (ebrowse-show-file-name-at-point):
3421 * progmodes/ebnf2ps.el (ebnf-begin-file):
3422 * progmodes/dcl-mode.el (dcl-back-to-indentation-1)
3423 (dcl-save-local-variable):
3424 * play/life.el (life-setup):
3425 * play/gametree.el (gametree-looking-at-ply):
3426 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
3427 * mail/sendmail.el (mail-mode-auto-fill):
3428 * emacs-lisp/lisp-mode.el (calculate-lisp-indent):
3429 * emacs-lisp/edebug.el (edebug-overlay-arrow):
3430 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid):
3431 * woman.el (woman-parse-numeric-value, woman2-TH, woman2-SH)
3432 (woman-tab-to-tab-stop, WoMan-warn-ignored):
3433 * type-break.el (type-break-file-keystroke-count):
3434 * term.el (term-replace-by-expanded-history-before-point)
3435 (term-skip-prompt, term-extract-string):
3436 * speedbar.el (speedbar-edit-line, speedbar-expand-line)
3437 (speedbar-contract-line, speedbar-toggle-line-expansion)
3438 (speedbar-parse-c-or-c++tag, speedbar-parse-tex-string)
3439 (speedbar-buffer-revert-buffer, speedbar-highlight-one-tag-line):
3440 * sort.el (sort-skip-fields):
3441 * skeleton.el (skeleton-internal-list):
3442 * simple.el (line-move-finish, line-move-to-column):
3443 * shell.el (shell-forward-command):
3444 * misc.el (copy-from-above-command):
3445 * makesum.el (double-column):
3446 * ebuff-menu.el (electric-buffer-update-highlight):
3447 * dired.el (dired-move-to-end-of-filename):
3448 * dframe.el (dframe-popup-kludge):
3449 * bookmark.el (bookmark-kill-line, bookmark-bmenu-show-filenames):
3450 * arc-mode.el (archive-get-lineno):
3451 Use line-end-position and line-beginning-position.
3453 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins):
3454 (idlwave-study-twins): Prefix dynamic local `class'.
3455 (idlwave-routine-twin-compare): Update for above name change.
3457 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod):
3458 Use boundp tests to silence compiler. Update for changed name of
3459 bytecomp-filename variable.
3461 * emulation/viper-cmd.el (viper-read-string-with-history):
3462 Prefix dynamic local `initial'.
3463 (viper-minibuffer-standard-hook): Update for above name change.
3465 * emacs-lisp/elint.el (elint-init-env): Prefix dynamic local `env'.
3466 (elint-init-form): Update for above name change.
3468 * mail/mail-extr.el (mail-extract-address-components): Give dynamic
3469 local variables `cbeg' and `cend' a prefix.
3470 (mail-extr-voodoo): Update for above name change.
3472 * textmodes/reftex-toc.el (reftex-toc-do-promote)
3473 (reftex-toc-promote-prepare): Pass `delta' as an explicit argument.
3474 (reftex-toc-promote-action): Doc fix.
3476 * textmodes/reftex-sel.el (reftex-select-item): Give local variables
3477 `prompt', `data' a prefix.
3478 (reftex-select-post-command-hook, reftex-select-callback)
3479 (reftex-select-mouse-accept, reftex-select-read-cite):
3480 Update for above name changes.
3482 * textmodes/reftex-ref.el (reftex-reference): Rename local variable
3483 `refstyle' to reftex-refstyle.
3484 (reftex-offer-label-menu): Update for above name change.
3485 * textmodes/reftex-sel.el (reftex-select-toggle-varioref): Update for
3486 `refstyle' name change.
3488 * vc/emerge.el (emerge-eval-in-buffer): Remove, and replace all uses
3489 with with-current-buffer.
3490 (diff, template): Give dynamic local variables a prefix.
3491 (emerge-line-numbers): Rename local `diff' to emerge-line-diff.
3492 (emerge-line-number-in-buf): Update for above name change.
3493 (emerge-combine-versions-internal): Rename local `template' to
3494 emerge-combine-template.
3495 (emerge-combine-versions-edit): Update for above name change.
3497 2010-11-06 Ralf Angeli <angeli@caeruleus.net>
3499 * textmodes/reftex-cite.el
3500 (reftex-extract-bib-entries-from-thebibliography): Match bibitem
3501 entries with whitespace after \bibitem.
3502 (reftex-create-bibtex-file): Match entries containing numbers and
3503 symbol constituents. Make sure that entries with whitespace at
3504 various places are found.
3506 2010-11-05 Christian Millour <cm@abtela.com> (tiny change)
3508 * shell.el (shell-process-popd): Made aware of comint-file-name-prefix.
3510 2010-11-05 Jan Djärv <jan.h.d@swipnet.se>
3512 * mouse.el (mouse-yank-primary): Update comment (Bug#6802).
3514 2010-11-05 Glenn Morris <rgm@gnu.org>
3516 * woman.el (woman0-roff-buffer, woman1-roff-buffer)
3517 (woman2-roff-buffer): Give local variable `request' a prefix.
3518 (woman0-macro): Rename argument `request' in the same way.
3519 (woman-request): New name for `request' dynamic variable.
3520 (woman-unquote, woman-forward-arg): Update for above name change.
3521 (woman1-roff-buffer): Give local variable `unquote' a prefix.
3522 (woman1-unquote): New name for `unquote' dynamic variable.
3523 (woman1-B-or-I, woman1-alt-fonts): Update for above name change.
3524 (woman-translations): Rename from `translations'. No longer global.
3525 (woman2-tr, woman-translate): Update for above name change.
3526 (woman-translate): Check for bound variable.
3527 (woman2-roff-buffer): Give local variable `translations' a prefix.
3529 * play/doctor.el: Give all local variables a prefix. Update callers.
3530 (doc$, doctor-put-meaning): Use backquote.
3532 * emacs-lisp/cl-macs.el (loop): Give local variable args a prefix.
3533 (cl-parse-loop-clause, cl-loop-handle-accum): Update for above change.
3535 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Give local
3536 variables bytes, ptr, op a prefix.
3537 (disassemble-offset): Update for above change.
3539 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
3541 * emacs-lisp/package.el (package-unpack): Remove no-op.
3542 (package--builtins, package--dir): Doc fix.
3543 (package-activate-1, package-activate, package-install)
3544 (package-compute-transaction): Fix error message.
3545 (package-delete): Use delete-directory. Omit system packages.
3546 (package-initialize): Set package-alist to nil first.
3547 (package-menu-mark-delete, package-menu-mark-install): Don't add
3548 symbols that are inconsistent with the package state.
3549 (package-menu-execute): Perform deletions and installations as
3550 single batch operations.
3552 2010-11-03 Glenn Morris <rgm@gnu.org>
3554 * progmodes/idlwave.el (idlwave-pset): Only used on XEmacs.
3555 (props): Remove unnecessary declaration.
3557 * textmodes/ispell.el (ispell-init-process): On Emacs, always use
3558 set-process-query-on-exit-flag.
3560 * textmodes/reftex-toc.el (name1, dummy, dummy2): Remove unused decs.
3561 (reftex-toc-do-promote): Remove unused local `mpos'.
3562 (reftex-toc-restore-region): Make `mpos' local to this function.
3564 * net/dbus.el (dbus-name-owner-changed-handler): Doc fix.
3566 * play/landmark.el (lm-losing-threshold): Correct spelling.
3567 (lm-human-plays): Use new name.
3569 * play/gomoku.el (gomoku-loosing-threshold): Correct spelling.
3570 (gomoku-human-plays): Use new name.
3572 * play/gomoku.el (nil-score, Xscore, XXscore, XXXscore, XXXXscore)
3573 (Oscore, OOscore, OOOscore, OOOOscore): Rename with gomoku- prefix.
3574 (gomoku-score-trans-table, gomoku-winning-threshold)
3575 (gomoku-loosing-threshold, gomoku-init-score-table): Use new names.
3577 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
3579 * emacs-lisp/package.el: Don't put built-in packages in
3580 package-alist, to avoid loading inefficiencies.
3581 (package-built-in-p): Make VERSION optional, and treat it as a
3582 minimum acceptable version.
3583 (package-activate): Search separately for built-in packages.
3584 Emit a warning if a dependency fails.
3585 (define-package): Handle most common case, where there is no
3586 obsolete package, first.
3587 (package-compute-transaction): Print required version in error.
3588 (package--initialized): New variable.
3589 (list-packages): Use it.
3590 (package-initialize): Optional arg NO-ACTIVATE. Don't put
3591 built-in packages in packages-alist; keep it separate.
3592 Set package--initialized.
3593 (describe-package): Avoid activating packages as a side-effect.
3594 Search separately for built-in packages.
3595 (describe-package-1): Handle the case where an elpa package is
3596 simultaneously built-in and available/installed.
3597 (package-installed-p, package--generate-package-list):
3598 Search separately for built-in packages.
3599 (package-load-descriptor): Doc fix.
3601 2010-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
3603 * progmodes/perl-mode.el (perl-syntax-propertize-function):
3604 Handle __DATA__ and __END__.
3606 2010-11-02 Noah Friedman <friedman@splode.com>
3608 * emacs-lisp/bytecomp.el (byte-recompile-file): If bytecomp-arg is
3609 nil, do not ask to recompile files that are not already compiled,
3610 and do not recompile them.
3612 2010-11-02 Chong Yidong <cyd@stupidchicken.com>
3614 * emacs-lisp/package.el (package-initialize): Ensure that
3615 obsoleted built-in packages are not in package-activated-list
3617 (describe-package-1): Make the "installed" status override
3620 2010-11-01 Vinicius Jose Latorre <viniciusjl@ig.com.br>
3622 * subr.el (version-separator, version-regexp-alist): Remove '*'
3624 (version-list-<=, version<=, version=): Doc fix.
3626 2010-11-01 Kenichi Handa <handa@m17n.org>
3628 * faces.el (glyphless-char): Inherit underline for tty.
3630 2010-11-01 Kenichi Handa <handa@m17n.org>
3632 Implement various display methods for glyphless characters.
3634 * international/characters.el (char-acronym-table): New variable.
3635 (glyphless-char-control): New variable.
3636 (update-glyphless-char-display): New funciton.
3638 * faces.el (glyphless-char): New face.
3640 2010-11-01 Glenn Morris <rgm@gnu.org>
3642 * calendar/holidays.el (general-holidays, oriental-holidays)
3643 (local-holidays, other-holidays, hebrew-holidays, christian-holidays)
3644 (islamic-holidays, bahai-holidays, solar-holidays): Move aliases before
3645 the definitions of their targets.
3647 * emacs-lisp/smie.el (smie): New custom group.
3648 (smie-blink-matching-inners, smie-indent-basic): Add :group.
3650 * faces.el (xw-defined-colors, x-setup-function-keys):
3651 * mouse-sel.el (x-select-text):
3652 * term/w32console.el (x-setup-function-keys): Update declarations.
3654 * progmodes/ruby-mode.el (ruby-syntax-propertize-heredoc): Declare.
3656 * textmodes/ispell.el (comment-add): Declare.
3658 * net/gnutls.el (gnutls-boot, gnutls-errorp, gnutls-error-string):
3661 * info.el (finder-keywords-hash, package-alist): Declare.
3663 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
3665 * finder.el (finder-compile-keywords): Don't use intern-soft,
3666 since package names may not yet exist in the obarray.
3668 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
3670 * vc/vc-arch.el (vc-arch-checkin):
3671 * vc/vc-cvs.el (vc-cvs-checkin):
3672 * vc/vc-mtn.el (vc-mtn-checkin):
3673 * vc/vc-rcs.el (vc-rcs-checkin):
3674 * vc/vc-sccs.el (vc-sccs-checkin):
3675 * vc/vc-svn.el (vc-svn-checkin): Remove optional extra arg, unused
3676 since 2010-04-21 commit by Stefan Monnier.
3678 2010-11-01 Glenn Morris <rgm@gnu.org>
3680 * emacs-lisp/bytecomp.el (byte-recompile-file): Fix previous change.
3682 * startup.el (package-enable-at-startup, package-initialize):
3685 * progmodes/ada-mode.el (ada-font-lock-syntactic-keywords):
3688 2010-10-31 Julien Danjou <julien@danjou.info>
3690 * emacs-lisp/bytecomp.el (byte-recompile-file): New fun (bug#7297).
3691 (byte-recompile-directory):
3692 * emacs-lisp/lisp-mode.el (emacs-lisp-byte-compile-and-load):
3693 Use `byte-recompile-file'.
3695 2010-10-31 Glenn Morris <rgm@gnu.org>
3697 * cus-start.el: Handle standard values via a keyword.
3698 Only set version property if specified.
3699 (cursor-in-non-selected-windows, menu-bar-mode)
3700 (tool-bar-mode, show-trailing-whitespace):
3701 Do not specify standard values.
3702 (transient-mark-mode, temporary-file-directory): Use :standard.
3704 2010-10-31 Jan Djärv <jan.h.d@swipnet.se>
3706 * term/x-win.el (x-get-selection-value): New function that gets
3707 PRIMARY with type as specified in x-select-request-type. (Bug#6802).
3709 2010-10-31 Michael Albinus <michael.albinus@gmx.de>
3711 * net/tramp.el (tramp-handle-insert-file-contents): For root,
3712 preserve owner and group when editing files. (Bug#7289)
3714 2010-10-31 Glenn Morris <rgm@gnu.org>
3716 * speedbar.el (speedbar-mode):
3717 * play/fortune.el (fortune-in-buffer, fortune):
3718 * play/gomoku.el (gomoku-mode):
3719 * play/landmark.el (lm-mode):
3720 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
3721 Replace inappropriate uses of toggle-read-only. (Bug#7292)
3723 * select.el (x-selection): Mark it as an obsolete alias.
3725 2010-10-31 Aaron S. Hawley <aaron.s.hawley@gmail.com>
3727 * vc/add-log.el (find-change-log): Use derived-mode-p rather than
3728 major-mode (bug#7284).
3730 2010-10-31 Glenn Morris <rgm@gnu.org>
3732 * menu-bar.el (menu-bar-files-menu): Make it into an actual alias,
3733 rather than just an unused variable that inherits from the real one.
3735 2010-10-31 Alan Mackenzie <acm@muc.de>
3737 * progmodes/cc-cmds.el (c-mask-paragraph): Fix an off-by-1 error.
3738 This fixes bug #7185.
3740 2010-10-30 Chong Yidong <cyd@stupidchicken.com>
3742 * startup.el (command-line): Search for package directories, and
3743 don't load package.el if none are found.
3745 * emacs-lisp/package.el (describe-package, list-packages):
3746 Call package-initialize if it has not been called yet.
3748 2010-10-30 Alan Mackenzie <acm@muc.de>
3750 * progmodes/cc-fonts.el (c-font-lock-enum-tail): New function
3751 which fontifies the tail of an enum.
3752 (c-basic-matchers-after): Insert a call to the above new function.
3753 This fixes bug #7264.
3755 2010-10-30 Glenn Morris <rgm@gnu.org>
3757 * cus-start.el: Add :set properties for minor modes menu-bar-mode,
3758 tool-bar-mode, transient-mark-mode. (Bug#7306)
3759 Include the :set property in the dumped Emacs.
3761 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
3763 SMIE: change indent rules format, improve smie-setup.
3764 * emacs-lisp/smie.el (smie-precs-precedence-table)
3765 (smie-merge-prec2s, smie-bnf-precedence-table, smie-prec2-levels):
3766 Mark them pure so the tables gets built at compile time.
3767 (smie-bnf-precedence-table): Store the closer-alist in the table.
3768 (smie-prec2-levels): Preserve the closer-alist.
3769 (smie-blink-matching-open): Be more forgiving in case of indentation.
3770 (smie-hanging-p): Rename from smie-indent--hanging-p.
3771 (smie-bolp): Rename from smie-indent--bolp.
3772 (smie--parent, smie--after): New dynamic vars.
3773 (smie-parent-p, smie-next-p, smie-prev-p): New funs.
3774 (smie-indent-rules): Remove.
3775 (smie-indent--offset-rule): Remove fun.
3776 (smie-rules-function): New var.
3777 (smie-indent--rule): New fun.
3778 (smie-indent--offset, smie-indent-keyword, smie-indent-after-keyword)
3779 (smie-indent-exps): Use it.
3780 (smie-setup): Setup paren blinking; add keyword args for token
3781 functions; extract closer-alist from op-levels.
3782 (smie-indent-debug-log): Remove var.
3783 (smie-indent-debug): Remove fun.
3784 * progmodes/prolog.el (prolog-smie-indent-rules): Remove.
3785 (prolog-smie-rules): New fun to replace it.
3786 (prolog-mode-variables): Simplify.
3787 * progmodes/octave-mod.el (octave-smie-closer-alist): Remove, now that
3788 it's setup automatically.
3789 (octave-smie-indent-rules): Remove.
3790 (octave-smie-rules): New fun to replace it.
3791 (octave-mode): Simplify.
3793 2010-10-29 Glenn Morris <rgm@gnu.org>
3795 * files.el (temporary-file-directory): Remove (already defined in C).
3796 * cus-start.el: Add temporary-file-directory.
3798 * abbrev.el (abbrev-mode):
3799 * composite.el (auto-composition-mode):
3800 * menu-bar.el (menu-bar-mode):
3801 * simple.el (transient-mark-mode):
3802 * tool-bar.el (tool-bar-mode): Adjust the define-minor-mode calls so
3803 that they do not define the associated variables twice.
3804 * simple.el (transient-mark-mode): Remove defvar.
3805 * composite.el (auto-composition-mode): Make variable auto-buffer-local.
3806 * cus-start.el: Add transient-mark-mode, menu-bar-mode, tool-bar-mode.
3807 Handle multiple groups, and also custom-delayed-init-variables.
3808 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
3810 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
3812 * emacs-lisp/pcase.el (pcase): New `string' and `guard' patterns.
3813 (pcase-if): Add one minor optimization.
3814 (pcase-split-equal): Rename from pcase-split-eq.
3815 (pcase-split-member): Rename from pcase-split-memq.
3816 (pcase-u1): Add strings to the member optimization.
3817 Add `guard' variant of predicates.
3818 (pcase-q1): Add string patterns.
3820 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
3822 * vc/log-edit.el (log-edit-rewrite-fixes): State its safety pred.
3824 2010-10-28 Glenn Morris <rgm@gnu.org>
3826 * term/ns-win.el (global-map, menu-bar-final-items, menu-bar-help-menu):
3827 Move menu-bar related settings to ../menu-bar.el.
3828 * menu-bar.el (global-map, menu-bar-final-items, menu-bar-help-menu):
3829 Move ns-specific settings here from term/ns-win.el.
3831 * simple.el (x-selection-owner-p): Remove unused declaration.
3833 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
3835 * minibuffer.el (completion-cycling): New var (bug#7266).
3836 (minibuffer-complete, completion--do-completion):
3837 Use completion--flush-all-sorted-completions.
3838 (minibuffer-complete): Only cycle if completion-cycling is set.
3839 (completion--flush-all-sorted-completions): Unset completion-cycling.
3840 (minibuffer-force-complete): Set completion-cycling.
3841 (completion-all-sorted-completions): Move declaration before first use.
3843 2010-10-28 Leo <sdl.web@gmail.com>
3845 * iswitchb.el (iswitchb-kill-buffer): Avoid `iswitchb-make-buflist'
3846 which changes the order of matches seen by users (bug#7231).
3848 2010-10-28 Jes Bodi Klinke <jes@bodi-klinke.dk> (tiny change)
3850 * progmodes/compile.el (compilation-mode-font-lock-keywords):
3851 Don't confuse -omega as "-o mega".
3853 2010-10-27 Stefan Monnier <monnier@iro.umontreal.ca>
3855 * vc/log-edit.el (log-edit-rewrite-fixes): New var.
3856 (log-edit-author): New dynamic var.
3857 (log-edit-changelog-ours-p, log-edit-insert-changelog-entries): Use it
3858 to return the author if different from committer.
3859 (log-edit-insert-changelog): Use them to add Author: and Fixes headers.
3861 * play/landmark.el: Adjust commenting convention.
3862 (lm-nil-score): Rename from nil-score.
3863 (Xscore, XXscore, XXXscore, XXXXscore, Oscore, OOscore, OOOscore)
3864 (OOOOscore): Move into a let in lm-score-trans-table.
3865 (lm-winning-threshold, lm-loosing-threshold): Use lm-score-trans-table.
3867 * electric.el (electric-indent-chars): Autoload.
3868 * progmodes/octave-mod.el (octave-mode):
3869 * progmodes/ruby-mode.el (ruby-mode): Take advantage of it.
3870 (ruby-mode-abbrev-table): Merge initialization and declaration.
3872 2010-10-27 Glenn Morris <rgm@gnu.org>
3874 * abbrev.el (abbrev-mode): Remove one of the three definitions of this
3877 * server.el (server-host, server-port, server-auth-dir): Autoload risky.
3879 * term/ns-win.el: Restore require of cl when compiling.
3880 (menu-bar-final-items): Remove non-existent `windows' menu.
3881 (ns-handle-nxopen): Optionally handle the temp-case.
3882 (ns-handle-nxopentemp): Just call ns-handle-nxopen.
3883 (ns-insert-file, ns-find-file): Use `pop'.
3885 2010-10-26 Glenn Morris <rgm@gnu.org>
3887 * term/common-win.el (xw-defined-colors): Simplify the 'ns case.
3889 2010-10-26 Adrian Robert <Adrian.B.Robert@gmail.com>
3891 * term/ns-win.el (ns-new-frame, ns-show-prefs): Don't add to
3893 * term/common-win.el (x-setup-function-keys): Remove most of the
3894 keymappings. Comment on the remaining ones.
3896 2010-10-26 Peter Oliver <p.d.oliver@mavit.org.uk> (tiny change)
3898 * server.el (server-port): New option. (Bug#854)
3899 (server-start): Use server-port.
3901 2010-10-26 Glenn Morris <rgm@gnu.org>
3903 * term/ns-win.el (ns-version-string): Remove unused declaration.
3904 (ns-invocation-args): Change to x-invocation-args.
3905 (ns-handle-switch, ns-handle-numeric-switch, ns-handle-iconic)
3906 (ns-handle-name-switch, ns-ignore-2-arg): Remove.
3907 (ns-handle-nxopen, ns-handle-nxopentemp, ns-ignore-1-arg):
3908 Use x-invocation-args instead of ns-invocation-args.
3909 (ns-initialize-window-system, handle-args-function-alist):
3910 Use x-handle-args instead of ns-handle-args.
3911 * term/common-win.el (x-handle-args): Also handle nextstep arguments.
3912 * startup.el (command-line-ns-option-alist): Replace
3913 ns-handle-name-switch, ns-handle-switch, ns-handle-numeric-switch,
3914 ns-handle-iconic with the x- equivalents.
3916 * term/common-win.el (x-select-enable-clipboard):
3917 * term/pc-win.el (x-select-enable-clipboard): Doc fix.
3919 * term/ns-win.el: No need to require cl when compiling.
3920 (x-display-name, x-setup-function-keys, x-select-text, x-colors)
3921 (xw-defined-colors): Use the common-win definitions.
3922 (ns-alternatives-map): Make it an obsolete alias for x-alternatives-map.
3923 (ns-handle-iconic): Make it an alias for x-handle-iconic.
3924 * term/common-win.el (x-select-text, x-alternatives-map)
3925 (x-setup-function-keys, x-colors, xw-defined-colors): Handle 'ns case.
3926 * loadup.el [ns]: Load common-win.
3928 2010-10-26 Daiki Ueno <ueno@unixuser.org>
3930 * epa-mail.el (epa-mail-encrypt): Handle local-part only
3931 recipients; expand mail aliases (Bug#7280).
3933 2010-10-25 Glenn Morris <rgm@gnu.org>
3935 * term/common-win.el (x-handle-switch): Simplify with pop.
3936 Optionally handle numeric switches.
3937 (x-handle-numeric-switch): Just call x-handle-switch.
3938 (x-handle-initial-switch, x-handle-xrm-switch, x-handle-geometry)
3939 (x-handle-name-switch, x-handle-display, x-handle-args):
3942 * term/ns-win.el: Do not require easymenu.
3943 (menu-bar-edit-menu) <copy, paste, paste-from-menu, separator-undo>:
3944 <spell>: Move adjustments to menu-bar.el.
3945 * menu-bar.el (menu-bar-edit-menu) <copy, paste, paste-from-menu>:
3946 <separator-undo, spell>: Move ns-win's adjustments here.
3947 * loadup.el [ns]: Do not load easymenu.
3949 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
3951 * image.el (image-checkbox-checked, image-checkbox-unchecked):
3954 * startup.el (fancy-startup-tail): Instead of using inline images,
3955 refer to image files from etc/.
3957 * wid-edit.el (checkbox): Likewise.
3958 (widget-image-find): Center image specs.
3960 2010-10-24 Glenn Morris <rgm@gnu.org>
3962 * term/ns-win.el (x-select-text): Doc fix.
3963 * w32-fns.el (x-alternatives-map, x-setup-function-keys)
3964 (x-select-text): Move to term/common-win.
3965 * term/w32-win.el (xw-defined-colors): Move to common-win.
3966 * term/x-win.el (xw-defined-colors, x-alternatives-map)
3967 (x-setup-function-keys, x-select-text): Move to common-win.
3968 * term/common-win.el (x-select-text, x-alternatives-map)
3969 (x-setup-function-keys, xw-defined-colors): Merge x- and w32-
3972 2010-10-24 T.V. Raman <tv.raman.tv@gmail.com> (tiny change)
3974 * net/mairix.el (mairix-searches-mode-map):
3975 * mail/mspools.el (mspools-mode-map): Fix 2010-10-10 change.
3977 2010-10-24 Michael McNamara <mac@mail.brushroad.com>
3979 * verilog-mode.el (verilog-directive-re): Make this variable
3980 auto-built for efficiency of execution and updating.
3981 (verilog-extended-complete-re): Support 'pure' fucntion & task
3982 declarations (these have no bodies).
3983 (verilog-beg-of-statement): General cleanup to enable support of
3984 'pure' fucntion & task declarations (these have no bodies).
3985 These efforts together fix Verilog bug210 from veripool; which was also
3986 noticed by Steve Pearlmutter.
3987 (verilog-directive-re, verilog-directive-begin, verilog-indent-re)
3988 (verilog-directive-nest-re, verilog-set-auto-endcomments):
3989 Support `elsif. Reported by Shankar Giri.
3990 (verilog-forward-ws&directives, verilog-in-attribute-p): Fixes for
3991 attribute handling for lining up declarations and assignments.
3992 (verilog-beg-of-statement-1): Fix issue where continued declaration
3993 is indented differently if it is after a begin..end clock.
3994 (verilog-in-attribute-p, verilog-skip-backward-comments)
3995 (verilog-skip-forward-comment-p): Support proper treatment of
3996 attributes by indent code. Reported by Jeff Steele.
3997 (verilog-in-directive-p): Fix comment to correctly describe function.
3998 (verilog-backward-up-list, verilog-in-struct-region-p)
3999 (verilog-backward-token, verilog-in-struct-p)
4000 (verilog-in-coverage-p, verilog-do-indent)
4001 (verilog-pretty-declarations): Use verilog-backward-up-list as
4002 wrapper around backward-up-list inorder to properly skip comments.
4003 Reported by David Rogoff.
4004 (verilog-property-re, verilog-endcomment-reason-re)
4005 (verilog-beg-of-statement, verilog-set-auto-endcomments)
4006 (verilog-calc-1 ): Fix for assert a; else b; indentation (new form
4007 of if). Reported by Max Bjurling and
4008 (verilog-calc-1): Fix for clocking block in modport
4009 declaration. Reported by Brian Hunter.
4011 2010-10-24 Wilson Snyder <wsnyder@wsnyder.org>
4013 * verilog-mode.el (verilog-auto-inst, verilog-gate-ios)
4014 (verilog-gate-keywords, verilog-read-sub-decls)
4015 (verilog-read-sub-decls-gate, verilog-read-sub-decls-gate-ios)
4016 (verilog-read-sub-decls-line, verilog-read-sub-decls-sig): Support
4017 AUTOINST for gate primitives, bug284. Reported by Mark Johnson.
4018 (verilog-read-decls): Fix spaces in V2K module parameters causing
4019 mis-identification as interfaces, bug287.
4020 (verilog-read-decls): Fix not treating "parameter string" as a
4021 parameter in AUTOINSTPARAM.
4022 (verilog-read-always-signals-recurse, verilog-read-decls): Fix not
4023 treating `elsif similar to `endif inside AUTOSENSE.
4024 (verilog-do-indent): Implement correct automatic or static task or
4025 function end comment highlight. Reported by Steve Pearlmutter.
4026 (verilog-font-lock-keywords-2): Fix highlighting of single
4027 character pins, bug264. Reported by Michael Laajanen.
4028 (verilog-auto-inst, verilog-read-decls, verilog-read-sub-decls)
4029 (verilog-read-sub-decls-in-interfaced, verilog-read-sub-decls-sig)
4030 (verilog-subdecls-get-interfaced, verilog-subdecls-new):
4031 Support interfaces with AUTOINST, bug270. Reported by Luis Gutierrez.
4032 (verilog-pretty-expr): Fix interactive arguments, bug272.
4033 Reported by Mark Johnson.
4034 (verilog-auto-tieoff, verilog-auto-tieoff-ignore-regexp):
4035 Add 'verilog-auto-tieoff-ignore-regexp' for AUTOTIEOFF,
4036 bug269. Suggested by Gary Delp.
4037 (verilog-mode-map, verilog-preprocess, verilog-preprocess-history)
4038 (verilog-preprocessor, verilog-set-compile-command):
4039 Create verilog-preprocess and verilog-preprocessor to show
4040 preprocessed output.
4041 (verilog-get-beg-of-line, verilog-get-end-of-line)
4042 (verilog-modi-file-or-buffer, verilog-modi-name)
4043 (verilog-modi-point, verilog-within-string): Move defmacro's
4044 before first use to avoid warning. Reported by Steve Pearlmutter.
4045 (verilog-colorize-buffer, verilog-colorize-include-files-buffer)
4046 (verilog-colorize-region, verilog-highlight-buffer)
4047 (verilog-highlight-includes, verilog-highlight-modules)
4048 (verilog-highlight-region, verilog-mode): Rename colorize to
4049 highlight to match other packages. Disable module highlighting,
4050 as received speed complaints, reenable for experimentation only
4051 using new verilog-highlight-modules.
4052 (verilog-read-decls): Fix regexp stack overflow in very large
4053 AUTO_TEMPLATEs, bug250.
4054 (verilog-auto, verilog-delete-auto, verilog-save-buffer-state)
4055 (verilog-scan): Create verilog-save-buffer-state to standardize
4056 making insignificant changes that shouldn't call hooks.
4057 (verilog-save-no-change-functions, verilog-save-scan-cache)
4058 (verilog-scan, verilog-scan-cache-ok-p, verilog-scan-region):
4059 Create verilog-save-no-change-functions to wrap verilog-scan
4060 preservation, and fix to work with nested preserved calls.
4061 (verilog-auto-inst, verilog-auto-inst-dot-name): Support .name
4062 port syntax for AUTOWIRE, and with new verilog-auto-inst-dot-name
4063 generate .name with AUTOINST, bug245. Suggested by David Rogoff.
4064 (verilog-submit-bug-report): Update variable list to be complete.
4065 (verilog-auto, verilog-colorize-region): Fix AUTO expansion
4066 breaking on-the-fly font-locking.
4067 (verilog-colorize-buffer, verilog-colorize-include-files)
4068 (verilog-colorize-include-files-buffer, verilog-colorize-region)
4069 (verilog-load-file-at-mouse, verilog-load-file-at-point)
4070 (verilog-mode, verilog-read-inst-module-matcher): With point on a
4071 AUTOINST cell instance name, middle mouse button now finds-file on
4072 it. Suggested by Brad Dobbie.
4073 (verilog-alw-get-temps, verilog-auto-reset)
4074 (verilog-auto-sense-sigs, verilog-read-always-signals)
4075 (verilog-read-always-signals-recurse): Fix loop indexes being
4076 AUTORESET. AUTORESET now assumes any variables in the
4077 initialization section of a for() should be ignored.
4078 Reported by Dan Dever.
4079 (verilog-error-font-lock-keywords)
4080 (verilog-error-regexp-emacs-alist)
4081 (verilog-error-regexp-xemacs-alist): Fix error detection of
4082 Cadence HAL, reported by David Asher. Repair drift between the
4083 three similar error variables.
4084 (verilog-modi-lookup, verilog-modi-lookup-cache)
4085 (verilog-modi-lookup-last-current, verilog-modi-lookup-last-mod)
4086 (verilog-modi-lookup-last-modi, verilog-modi-lookup-last-tick):
4087 Fix slow verilog-auto expansion on very large files.
4088 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line):
4089 Fix AUTOOUTPUT treating "1*2" as a signal name in submodule connection
4090 "{1*2{...". Broke in last revision.
4091 (verilog-read-sub-decls-expr): Fix AUTOOUTPUT not detecting
4092 submodule connections with replications "{#{a},#{b}}".
4094 2010-10-24 Juanma Barranquero <lekktu@gmail.com>
4096 * progmodes/dcl-mode.el (dcl-electric-reindent-regexps):
4097 Fix typo in docstring.
4099 2010-10-24 Kenichi Handa <handa@m17n.org>
4101 * face-remap.el (text-scale-adjust): Call read-event with a proper
4104 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
4106 * emacs-lisp/unsafep.el: Don't mark functions that display
4107 messages as safe. Suggested by Johan Bockgård.
4109 2010-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
4111 * emacs-lisp/regexp-opt.el (regexp-opt-group, regexp-opt-charset):
4112 Turn comments into docstrings.
4114 * minibuffer.el (completion--replace): Move point where it belongs
4115 when there's a common suffix (bug#7215).
4117 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
4119 Merge read-color and facemenu-read-color (Bug#7242).
4121 * faces.el (read-color): Use the completion code from
4122 facemenu-read-color. Require match in completion. Doc fix.
4124 * facemenu.el (facemenu-read-color): Alias for read-color.
4125 (facemenu-set-foreground, facemenu-set-background):
4128 * frame.el (set-background-color, set-foreground-color)
4129 (set-cursor-color, set-mouse-color, set-border-color):
4132 2010-10-24 Leo <sdl.web@gmail.com>
4134 * eshell/em-unix.el (eshell-remove-entries): Use the TRASH
4135 argument of delete-file and delete-directory (Bug#7011).
4137 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
4139 * emacs-lisp/package.el (package-menu-mode-map): Inherit from
4142 2010-10-24 Ralf Angeli <angeli@caeruleus.net>
4144 * emacs-lisp/package.el (package--generate-package-list): Make the
4145 *Packages* buffer read-only.
4147 2010-10-24 Alan Mackenzie <acm@muc.de>
4149 * progmodes/cc-fonts.el (c-font-lock-declarations): Cache the
4150 result of `c-beginning-of-decl-1' between invocations of a lambda
4151 function (Bug #7265).
4153 2010-10-24 Daiki Ueno <ueno@unixuser.org>
4155 * epg-config.el (epg-gpg-program): Try to use "gpg2" if "gpg"
4156 executable is not available on the system (Bug#7268).
4158 2010-10-24 Glenn Morris <rgm@gnu.org>
4160 * select.el (selection-coding-system, next-selection-coding-system):
4161 Sync doc with C versions.
4163 * w32-vars.el (x-select-enable-clipboard):
4164 * term/x-win.el (x-select-enable-clipboard): Move to common-win.
4165 * term/common-win.el (x-select-enable-clipboard): Move here.
4167 * term/tty-colors.el (tty-defined-color-alist): Remove duplicate
4168 definition of C variable.
4170 * frame.el (show-trailing-whitespace, auto-hscroll-mode)
4171 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
4172 Don't redefine things that are defined in C.
4173 * cus-start.el: Also handle :risky, :safe, :set, and :tag.
4174 (show-trailing-whitespace, auto-hscroll-mode)
4175 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
4176 Set up the appropriate custom properties.
4178 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
4181 * progmodes/f90.el (f90-mode-map): ... f90-insert-end.
4182 * nxml/nxml-mode.el (nxml-mode-map): ... nxml-finish-element.
4183 * textmodes/tex-mode.el (tex-mode-map): ... latex-close-block.
4184 * textmodes/sgml-mode.el (sgml-mode-map): ... sgml-close-tag.
4186 2010-10-23 Glenn Morris <rgm@gnu.org>
4188 * textmodes/flyspell.el (flyspell-mode): If there was an error,
4191 * frame.el (auto-hscroll-mode, cursor-in-non-selected-windows):
4192 Sync docs with C version.
4194 * term/ns-win.el (xw-defined-colors):
4195 * term/x-win.el (xw-defined-colors): Make docs identical to w32-win.
4197 * term/pc-win.el (x-select-enable-clipboard):
4198 * term/x-win.el (x-select-enable-clipboard):
4199 * w32-vars.el (x-select-enable-clipboard): Make doc-strings identical.
4201 * comint.el (comint-password-prompt-regexp): Make it less vague.
4204 * help-fns.el (doc-file-to-man, doc-file-to-info): New commands.
4206 * help.el (finder-by-keyword): Remove unnecessary autoload.
4208 2010-10-22 Glenn Morris <rgm@gnu.org>
4210 * loadup.el: Unconditionally load float-sup.
4211 * paren.el (show-paren-delay):
4212 * emacs-lisp/float-sup.el:
4213 * emulation/cua-base.el (cua-prefix-override-inhibit-delay):
4214 * obsolete/lazy-lock.el (lazy-lock-defer-time, lazy-lock-stealth-nice)
4215 (lazy-lock-stealth-verbose): Assume float support.
4216 * ps-print.el: Assume float support on Emacs.
4217 * emacs-lisp/timer.el (timer-next-integral-multiple-of-time):
4218 Remove non-float branch.
4220 * emacs-lisp/autoload.el (batch-update-autoloads): Update for
4221 src/Makefile no longer being pre-processed.
4223 2010-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
4225 * emacs-lisp/find-func.el (find-library): Use test-completion.
4227 2010-10-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
4229 * newcomment.el (comment-dwim): Fix the intentation in the doc string.
4231 2010-10-21 Michael Albinus <michael.albinus@gmx.de>
4233 * net/tramp-sh.el (tramp-do-file-attributes-with-stat): Do not use
4234 space in stat format string.
4235 (tramp-send-command): Unset $PS1 when using here documents, in
4236 order not to get several prompts.
4237 (tramp-get-inline-coding): Return `nil' in case of errors.
4239 2010-10-21 Daiki Ueno <ueno@unixuser.org>
4241 * hexl.el (hexl-mode, hexl-mode-exit):
4242 Tweak revert-buffer-function to inhibit auto-mode-alist (Bug#7252).
4243 (hexl-revert-buffer-function): New function.
4244 (hexl-before-revert-hook, hexl-after-revert-hook): Abolish.
4246 2010-10-19 Alan Mackenzie <acm@muc.de>
4248 * progmodes/cc-langs.el (c-type-decl-prefix-key): C++ bit:
4249 Move "\(const\|throw\|volatile\)\>" nearer the start of the regexp, so
4250 that these keywords aren't wrongly matched as identifiers.
4252 * progmodes/cc-mode.el (c-before-change, c-after-change): Move the
4253 setting of c-new-BEG and c-new-END from c-before-change to
4254 c-after-change. (Bug#7181)
4256 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
4258 * cus-face.el (custom-theme-set-faces): Revert 2010-10-18 change.
4261 * custom.el (custom-theme-set-variables): Likewise.
4262 (load-theme): Add custom-theme-set-faces and
4263 custom-theme-set-variables to safe-functions while loading.
4264 (custom-enabled-themes): Mark as risky.
4266 2010-10-18 Julien Danjou <julien@danjou.info>
4268 * bindings.el: Remove end dashes in default mode-line-format.
4270 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
4272 * bindings.el (global-map): Bind C-d to delete-char and deletechar
4273 to delete-forward-char.
4275 * simple.el (normal-erase-is-backspace-mode): Remap delete to
4276 deletechar, and hence delete-forward-char.
4278 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
4280 * repeat.el (repeat): Use read-key (bug#6256).
4282 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
4284 * emacs-lisp/unsafep.el: Don't mark functions that display
4285 messages as safe. Suggested by Johan Bockgård.
4287 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
4289 * minibuffer.el (completion--replace): Move point where it belongs
4290 when there's a common suffix (bug#7215).
4292 2010-10-19 Kenichi Handa <handa@m17n.org>
4294 * international/characters.el: Add category '|' (word breakable)
4295 to fullwidth characters.
4297 2010-10-19 Michael Albinus <michael.albinus@gmx.de>
4299 * net/tramp-sh.el (tramp-do-file-attributes-with-stat)
4300 (tramp-do-directory-files-and-attributes-with-stat): Use "e0" in
4301 order to make stat results a float. Patch by Andreas Schwab
4302 <schwab@linux-m68k.org>.
4304 2010-10-18 Julien Danjou <julien@danjou.info>
4306 * avoid.el (mouse-avoidance-ignore-p): Ignore mouse when it is
4307 hidden by `make-pointer-invisible'.
4309 2010-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
4311 * files.el (locate-file-completion-table): Strip non-matching elements
4312 before checking length of list (bug#7238).
4314 2010-10-18 Chong Yidong <cyd@stupidchicken.com>
4316 * custom.el (custom-theme-set-variables): Mark as a safe function.
4317 (load-theme): Check forms using unsafep.
4319 * cus-face.el (custom-theme-set-faces): Mark as a safe function.
4321 2010-10-17 Agustín Martín <agustin.martin@hispalinux.es>
4323 * textmodes/ispell.el (ispell-aspell-find-dictionary):
4324 Fix aspell data file searching (bug#7230).
4326 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
4328 * cus-theme.el (custom-theme--migrate-settings): New var.
4329 (customize-create-theme): Allow editing the `user' theme.
4330 (custom-theme-add-variable, custom-theme-add-var-1)
4331 (custom-theme-add-face, custom-theme-add-face-1): Add a checkbox
4332 to the front of each variable or face widget.
4333 (custom-theme-write): Save theme settings in the correct order.
4334 Optionally, remove saved settings from user customizations.
4335 (custom-theme-write-variables, custom-theme-write-faces):
4336 Save only the checked widgets.
4337 (customize-themes): Add a link for migrating custom settings.
4339 * custom.el (custom-declare-theme, provide-theme):
4340 Use custom-theme-name-valid-p.
4341 (custom-theme-name-valid-p): Remove checks that are now
4342 unnecessary since themes no longer obey load-path.
4344 * cus-edit.el (custom-variable-value-create): For the simple
4345 style, hide documentation string when hidden.
4347 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
4349 * cus-edit.el (custom-variable, custom-face): Combine the
4350 :inhibit-magic and :display-style properties into a single
4351 :custom-style property.
4352 (custom-toggle-hide-variable, custom-toggle-hide-face):
4353 New functions. If hiding an edited value, save it to :shown-value.
4354 (custom-variable-value-create, custom-face-value-create): Use them.
4355 (custom-magic-reset): Allow magic property to be unset.
4357 * custom.el: Custom themes no longer use load-path.
4358 (custom-theme-load-path): New option. Change built-in theme
4360 (custom-enabled-themes): Add custom-theme-load-path dependency.
4361 (custom-theme--load-path): New function.
4362 (load-theme, custom-available-themes): Use it.
4364 * cus-theme.el (describe-theme-1): Use custom-theme--load-path.
4365 (customize-themes): Link to custom-theme-load-path variable.
4366 (custom-theme-add-var-1, custom-theme-add-face-1): Use the
4367 :custom-style property.
4369 * themes/*.el: Moved to etc/.
4371 2010-10-16 Ralf Angeli <angeli@caeruleus.net>
4373 * textmodes/reftex-cite.el
4374 (reftex-extract-bib-entries-from-thebibliography): Do not move
4375 point when searching for \bibitem entries. Match entries with
4376 spaces or tabs in front of arguments.
4378 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
4380 * cus-theme.el (customize-create-theme): Delete overlays after
4381 erasing. If given a THEME arg, display only the faces of that arg
4382 instead of custom-theme--listed-faces.
4383 (custom-theme-variable-menu, custom-theme-variable-action)
4384 (custom-variable-reset-theme, custom-theme-delete-variable): Delete.
4385 (custom-theme-add-variable, custom-theme-add-face): Apply value
4386 from the theme settings, instead of the current value.
4387 (custom-theme-add-var-1, custom-theme-add-face-1): New functions.
4388 (custom-theme-visit-theme): Allow calling outside theme buffers.
4389 (custom-theme-merge-theme): Don't enable the theme when merging.
4390 (custom-theme-write-variables, custom-theme-write-faces): Use the
4391 :shown-value properties to save buffer values, not global ones.
4392 (customize-themes): Display a warning about user customizations.
4394 * cus-edit.el (custom-variable-value-create)
4395 (custom-face-value-create): Obey new special properties
4396 :shown-value and :inhibit-magic.
4398 2010-10-15 Michael Albinus <michael.albinus@gmx.de>
4400 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
4401 Suppress expansion of tabs to spaces. Reported by Dale Sedivec
4404 2010-10-14 Kenichi Handa <handa@m17n.org>
4406 * mail/rmail.el (rmail-show-message-1): Catch an error of
4407 base64-decode-region and just show an error message (bug#7165).
4409 * ps-mule.el (ps-mule-font-spec-list): Delete it. Not used anymore.
4410 (ps-mule-begin-job): Fix for the case that only ENCODING is set in
4411 a font-spec (bug#7197).
4413 2010-10-14 Glenn Morris <rgm@gnu.org>
4415 * mail/emacsbug.el (report-emacs-bug): Mention debbugs.gnu.org.
4417 2010-10-14 Juanma Barranquero <lekktu@gmail.com>
4419 * international/mule.el (define-coding-system):
4420 * international/titdic-cnv.el (quail-cxterm-package-ext-info):
4421 * composite.el (compose-region): Fix typo in docstring.
4423 2010-10-14 Chong Yidong <cyd@stupidchicken.com>
4425 * cus-face.el (custom-theme-set-faces): Call custom-push-theme
4426 only after checking the theme-face property.
4428 * faces.el (face-spec-reset-face): Reset all attributes in one
4429 single call to set-face-attribute.
4430 (face-spec-match-p): Make it a defsubst.
4431 (frame-set-background-mode): New arg KEEP-FACE-SPECS.
4432 (x-create-frame-with-faces, tty-create-frame-with-faces)
4433 (tty-set-up-initial-frame-faces): Don't recompute face specs in
4434 frame-set-background-mode, since they are recomputed immediately
4435 afterwards in face-set-after-frame-default.
4436 (face-set-after-frame-default): Minor optimization.
4437 (cursor): Provide non-trivial defface spec.
4439 * custom.el (custom-theme-recalc-face): Simplify.
4441 2010-10-14 Jay Belanger <jay.p.belanger@gmail.com>
4443 * calc/calc-alg.el (math-var): Rename from `var'.
4444 (math-is-polynomial, math-is-poly-rec): Replace `var'
4447 * calc/calcalg2.el (math-var): Rename from `var'.
4448 (calcFunc-table, math-scan-for-limits): Replace `var'
4451 2010-10-13 Glenn Morris <rgm@gnu.org>
4453 * subr.el (last): Deal with dotted lists (reported in bug#7174).
4455 2010-10-13 Stephen Berman <stephen.berman@gmx.net>
4457 * subr.el (last): Use `safe-length' instead of `length' (bug#7206).
4459 2010-10-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
4461 * net/tls.el (tls-program): Remove spurious %s from openssl.
4462 (tls-starttls-switches): Remove starttls hack.
4463 (open-tls-stream): Ditto.
4464 (tls-find-starttls-argument): Ditto.
4466 2010-10-13 Juanma Barranquero <lekktu@gmail.com>
4468 * image.el (image-library-alist): Declare as obsolete alias.
4469 (image-type-available-p): Use `dynamic-library-alist'.
4471 * term/w32-win.el (dynamic-library-alist):
4472 Use instead of `image-library-alist'.
4474 2010-10-13 IRIE Shinsuke <irieshinsuke@yahoo.co.jp> (tiny change)
4476 * subr.el (last): Make it faster. (Bug#7174)
4478 2010-10-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> (tiny change)
4480 * Makefile.in (compile-clean): Use `` instead of $(). (Bug#7178)
4482 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
4484 * cus-theme.el (custom-theme--listed-faces): Add cursor face.
4485 (describe-theme-1): Extract doc from unloaded themes.
4487 * custom.el (custom-theme-name-valid-p): Don't list color-themes.
4489 * themes/tango-theme.el:
4490 * themes/tango-dark-theme.el:
4491 * themes/wheatgrass-theme.el: New files.
4493 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
4495 * cus-theme.el (describe-theme, customize-themes)
4496 (custom-theme-save): New commands.
4497 (custom-new-theme-mode-map): Bind C-x C-s.
4498 (custom-new-theme-mode): Use custom--initialize-widget-variables.
4499 (customize-create-theme): New optional arg THEME.
4500 (custom-theme-revert): Use it.
4501 (custom-theme-visit-theme): Remove dead code.
4502 (custom-theme-merge-theme): Use custom-available-themes.
4503 (custom-theme-write): Make interactive.
4504 (custom-theme-write): Use custom-theme-name-valid-p.
4505 (describe-theme-1, custom-theme-choose-revert)
4506 (custom-theme-checkbox-toggle, custom-theme-selections-toggle):
4508 (custom-theme-allow-multiple-selections): New option.
4509 (custom-theme-choose-mode): New major mode.
4511 * custom.el (custom-theme-set-variables): Remove dead code.
4512 Obey custom--inhibit-theme-enable.
4513 (custom--inhibit-theme-enable): New var.
4514 (provide-theme): Obey it.
4515 (load-theme): Replace load with manual read/eval, in order to
4516 check for correctness. Use custom-theme-name-valid-p.
4517 (custom-theme-name-valid-p): New function.
4518 (custom-available-themes): Use it.
4520 * cus-edit.el (custom--initialize-widget-variables): New function.
4521 (Custom-mode): Use it.
4523 * cus-face.el (custom-theme-set-faces): Remove dead code.
4524 Obey custom--inhibit-theme-enable.
4526 * help-mode.el (help-theme-def, help-theme-edit): New buttons.
4528 2010-10-12 Juanma Barranquero <lekktu@gmail.com>
4530 * net/telnet.el (telnet-mode-map): Fix previous change (bug#7193).
4532 2010-10-12 Jan Djärv <jan.h.d@swipnet.se>
4534 * term/ns-win.el (ns-right-alternate-modifier): New defvar.
4535 (ns-right-option-modifier): New alias for ns-right-alternate-modifier.
4536 (mac-right-option-modifier): New alias for ns-right-option-modifier.
4538 * cus-start.el (all): ns-right-alternate-modifier is new.
4540 2010-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
4542 * emacs-lisp/lisp.el (lisp-completion-at-point):
4543 Use emacs-lisp-mode-syntax-table for the whole function.
4545 2010-10-12 David Koppelman <koppel@ece.lsu.edu>
4547 * hi-lock.el (hi-lock-font-lock-hook): Check font-lock-fontified
4548 instead of font-lock-mode before adding keywords.
4549 Remove hi-lock-mode off code. Remove inhibit hack.
4550 (hi-lock-set-pattern): Only add keywords if font-lock-fontified
4551 non-nil; removed hook inhibit hack.
4553 2010-10-12 Glenn Morris <rgm@gnu.org>
4555 * emacs-lisp/shadow.el (find-emacs-lisp-shadows): Rename it...
4556 (load-path-shadows-find): ... to this.
4557 (list-load-path-shadows): Update for above change.
4559 * mail/mail-utils.el (mail-mbox-from): Also try return-path.
4561 2010-10-11 Katsumi Yamaoka <yamaoka@jpl.org>
4563 * mail/hashcash.el, net/imap.el, pgg-parse.el, pgg.el:
4564 Fix comment for declare-function.
4566 2010-10-11 Chong Yidong <cyd@stupidchicken.com>
4568 * custom.el (custom-fix-face-spec): New function; code moved from
4569 custom-face-edit-fix-value.
4570 (custom-push-theme): Use it when checking if a face has been
4571 changed outside customize.
4572 (custom-available-themes): New function.
4573 (load-theme): Use it.
4575 * cus-edit.el (custom-face-edit-fix-value): Use custom-fix-face-spec.
4577 * custom.el (custom-push-theme): Cleanup (use cond).
4578 (disable-theme): Recompute the saved-face property.
4579 (custom-theme-recalc-face): Follow face alias before setting prop.
4581 * image.el (image-checkbox-checked, image-checkbox-unchecked):
4582 New variables, containing checkbox images.
4584 * startup.el (fancy-startup-tail):
4585 * wid-edit.el (checkbox): Use them.
4587 2010-10-10 Dan Nicolaescu <dann@ics.uci.edu>
4589 * shell.el (shell-mode-map):
4590 * progmodes/modula2.el (m2-mode-map):
4591 * progmodes/inf-lisp.el (inferior-lisp-mode-map):
4592 * play/mpuz.el (mpuz-mode-map):
4593 * play/landmark.el (lm-mode-map):
4594 * play/decipher.el (decipher-mode-map):
4595 * play/5x5.el (5x5-mode-map):
4596 * net/telnet.el (telnet-mode-map):
4597 * net/quickurl.el (quickurl-list-mode-map):
4598 * net/mairix.el (mairix-searches-mode-map):
4599 * net/eudc-hotlist.el (eudc-hotlist-mode-map):
4600 * net/dig.el (dig-mode-map):
4601 * mail/mspools.el (mspools-mode-map):
4602 * hexl.el (hexl-mode-map):
4603 * emulation/ws-mode.el (wordstar-C-k-map, wordstar-mode-map)
4604 (wordstar-C-o-map, wordstar-C-q-map):
4605 * emacs-lisp/edebug.el (edebug-eval-mode-map):
4606 * emacs-lisp/chart.el (chart-map):
4607 * edmacro.el (edmacro-mode-map):
4608 * erc/erc-list.el (erc-list-menu-mode-map):
4609 * array.el (array-mode-map): Declare and define in one step.
4611 * vc/log-view.el (log-view-mode-map): Bind revert-buffer.
4613 2010-10-10 Daiki Ueno <ueno@unixuser.org>
4615 * epa.el (epa-passphrase-callback-function): Display filename
4616 passed as the 3rd arg.
4617 * epa-file.el (epa-file-passphrase-callback-function):
4618 Pass filename to epa-passphrase-callback-function.
4620 2010-10-09 Chong Yidong <cyd@stupidchicken.com>
4622 * cus-edit.el (custom-face-widget-to-spec)
4623 (custom-face-get-current-spec, custom-face-state): New functions.
4624 (custom-face-set, custom-face-mark-to-save)
4625 (custom-face-value-create, custom-face-state-set): Use them.
4627 * cus-theme.el (custom-theme--listed-faces): New var.
4628 (customize-create-theme): Use *Custom Theme* as the buffer name.
4629 Set revert-buffer-function. Optional arg BUFFER. Insert all
4630 faces listed in custom-theme--listed-faces.
4631 (custom-theme-revert): New function.
4632 (custom-theme-add-variable, custom-theme-add-face): Insert at the
4634 (custom-theme-write): Prompt for theme name if empty.
4635 (custom-theme-write-variables): Use dolist.
4636 (custom-theme-write-faces): Handle hidden (collapsed) widgets.
4638 2010-10-09 Alan Mackenzie <acm@muc.de>
4640 Enhance fontification of declarators to take account of the
4641 presence/absence of "typedef".
4643 * cc-engine.el (c-forward-type): New &optional param
4645 (c-forward-decl-or-cast-1): cdr of return value now indicates the
4646 presence of either or both of a "struct"-like keyword and "typedef".
4648 * cc-fonts.el (c-complex-decl-matchers): Remove the heuristic
4649 fontification of declarators which follow a "}".
4650 (c-font-lock-declarations): Fontify declarators according to the
4651 presence/absence of "typedef".
4653 * cc-langs.el (c-typedef-kwds c-typedef-key): New lang variable
4655 (c-typedef-decl-key): New lang variable built from
4656 c-typedef-decl-kwds.
4658 2010-10-09 Lars Magne Ingebrigtsen <larsi@gnus.org>
4660 * ibuffer.el (ibuffer-mode-map): Don't redefine the cursor keys,
4661 since that's too annoying. Move the filter groups commands to
4664 * epa.el (epa-passphrase-callback-function): Say what we're
4665 querying the password for.
4667 * ibuffer.el (ibuffer-visit-buffer): To mimick list-buffers
4668 behaviour, don't bury the ibuffer buffer when visiting other buffers.
4670 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
4672 * cus-edit.el (custom-commands, custom-buffer-create-internal)
4673 (custom-magic-value-create): Pad button tags with spaces.
4674 (custom-face-edit): New variable.
4675 (custom-face-value-create): Determine whether to use the usual
4676 face editor here, instead of using custom-face-selected.
4677 Pass face defaults to custom-face-edit widget.
4678 (custom-face-selected, custom-display-unselected): Delete widgets.
4679 (custom-display-unselected-match): Function removed.
4680 (custom-face-set, custom-face-mark-to-save):
4681 Accept custom-face-edit widgets as the direct widget child.
4683 * wid-edit.el (widget--completing-widget): New var.
4684 (widget-default-complete): Bind it when doing completion.
4685 (widget-string-complete, widget-file-complete): Use it.
4687 2010-10-09 Glenn Morris <rgm@gnu.org>
4689 * calendar/cal-hebrew.el (holiday-hebrew-rosh-hashanah)
4690 (holiday-hebrew-passover, holiday-hebrew-tisha-b-av)
4691 (holiday-hebrew-misc): Small simplifications.
4693 * emacs-lisp/authors.el (authors-valid-file-names): Add b2m.c.
4695 * net/browse-url.el: Don't require thingatpt, term, dired,
4696 executable, or w3-auto when compiling.
4697 (dired-get-filename, term-char-mode, term-send-down, term-send-string):
4699 (browse-url-text-emacs): Require term.
4701 2010-10-08 Andreas Schwab <schwab@linux-m68k.org>
4703 * net/browse-url.el (browse-url-xdg-open): Remove use of /bin/sh.
4705 2010-10-08 Glenn Morris <rgm@gnu.org>
4707 * emacs-lisp/cl-compat.el, emacs-lisp/lmenu.el: Move to obsolete/.
4709 * emacs-lisp/shadow.el (lisp-shadow): Change prefix.
4710 (shadows-compare-text-p): Make it an obsolete alias for...
4711 (load-path-shadows-compare-text): ... new name.
4712 (find-emacs-lisp-shadows): Update for above name change.
4713 (load-path-shadows-same-file-or-nonexistent): New name for the old
4714 shadow-same-file-or-nonexistent.
4716 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
4718 * minibuffer.el (completion--some, completion--do-completion)
4719 (minibuffer-complete-and-exit, minibuffer-completion-help)
4720 (completion-basic-try-completion)
4721 (completion-basic-all-completions)
4722 (completion-pcm--find-all-completions): Use lexical-let to
4723 avoid some false matches in variable completion (Bug#7056)
4725 2010-10-08 Olof Ohlsson Sax <olof.ohlsson.sax@gmail.com> (tiny change)
4727 * vc-svn.el (vc-svn-merge-news): Use --non-interactive. (Bug#7152)
4729 2010-10-08 Leo <sdl.web@gmail.com>
4731 * dnd.el (dnd-get-local-file-name): If MUST-EXIST is non-nil, only
4732 return non-nil if the file exists (Bug#7090).
4734 2010-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
4736 * minibuffer.el (completion--replace):
4737 Better preserve markers (bug#7138).
4739 2010-10-08 Juanma Barranquero <lekktu@gmail.com>
4741 * server.el (server-process-filter): Doc fix.
4743 2010-10-08 Drew Adams <drew.adams@oracle.com>
4745 * dired.el (dired-save-positions): Doc fix. (Bug#7119)
4747 2010-10-08 Glenn Morris <rgm@gnu.org>
4749 * vc/ediff-wind.el (ediff-setup-control-frame):
4750 * vc/ediff-ptch.el (ediff-default-backup-extension):
4751 * vc/ediff-diff.el (ediff-shell, ediff-diff-options)
4752 (ediff-exec-process): Remove system-types emx, windows-95.
4754 * net/browse-url.el (browse-url-xdg-open): Shell-quote url. (Bug#7166)
4756 2010-10-07 Chong Yidong <cyd@stupidchicken.com>
4758 * cus-edit.el (custom-variable, custom-face): Doc fix.
4759 (custom-face-edit): Add value-create attribute.
4760 (custom-face-edit-value-create)
4761 (custom-face-edit-value-visibility-action): New functions.
4762 Hide unused face attributes by default, and add a visibility toggle.
4763 (custom-face-edit-deactivate): Show empty values with shadow face.
4764 (custom-face-selected): Only use this for face specs with default
4766 (custom-face-value-create): Cleanup.
4768 * wid-edit.el (widget-checklist-value-create): Use dolist.
4769 (widget-checklist-match-find): Make second arg optional.
4771 2010-10-07 Glenn Morris <rgm@gnu.org>
4773 * hilit-chg.el (hilit-chg-get-diff-info, hilit-chg-get-diff-list-hk):
4776 * emacs-lisp/shadow.el (shadow-font-lock-keywords)
4777 (load-path-shadows-mode, list-load-path-shadows): Rename shadow-mode to
4778 load-path-shadows-mode, update references.
4779 (load-path-shadows-font-lock-keywords, load-path-shadows-find-file):
4780 Rename variable and button.
4781 (list-load-path-shadows): Update button caller.
4783 2010-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4785 * emacs-lisp/smie.el (smie-bnf-classify): New function.
4786 (smie-bnf-precedence-table): Use it to remember the closers/openers.
4787 (smie-merge-prec2s): Handle those new entries.
4788 (smie-prec2-levels): Only set precedence to nil for actual
4790 * progmodes/octave-mod.el (octave-smie-op-levels): Remove dummy entry
4791 that is now unnecessary.
4793 2010-10-07 Miles Bader <miles@gnu.org>
4795 * emacs-lisp/regexp-opt.el (regexp-opt): Add `symbols' mode.
4797 2010-10-07 Glenn Morris <rgm@gnu.org>
4799 * mail/rmail.el (mail-sendmail-delimit-header, mail-header-end)
4800 (mail-position-on-field): Remove declarations.
4801 (mail-position-on-field): Autoload it.
4802 (rmail-retry-failure): Replace use of mail-sendmail-delimit-header
4803 and mail-header-end. Don't require sendmail.
4805 * emacs-lisp/shadow.el (shadow-font-lock-keywords): New variable.
4806 (shadow-mode): New mode.
4807 (shadow-find-file): New button.
4808 (list-load-path-shadows): Use shadow-mode and buttons.
4810 * iimage.el (iimage-version): Remove.
4811 (iimage-mode-image-search-path, iimage-mode-image-regex-alist):
4812 Turn into defcustoms.
4813 (iimage-mode-map): Give it a doc string.
4815 * calendar/appt.el (appt-activate): Give a warning rather than an error
4816 if there is no diary-file.
4818 2010-10-06 Michael Albinus <michael.albinus@gmx.de>
4820 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4821 Use `tramp-handle-find-backup-file-name'.
4823 2010-10-06 Glenn Morris <rgm@gnu.org>
4825 * font-core.el (font-lock-defaults-alist): Remove variable.
4826 (font-lock-mode): Doc fix.
4827 (font-lock-default-function): Do not consult font-lock-defaults-alist.
4828 * font-lock.el (font-lock-refresh-defaults): Doc fix.
4829 (font-lock-set-defaults): Doc fix.
4830 Do not consult font-lock-defaults-alist.
4832 * hilit-chg.el (hilit-chg-get-diff-list-hk): Declare `e' for compiler.
4834 * emacs-lisp/cl.el: No longer provide cl-19.
4836 2010-10-05 Michael Albinus <michael.albinus@gmx.de>
4838 * net/tramp.el (tramp-handle-directory-files-and-attributes)
4839 (tramp-handle-file-exists-p, tramp-handle-file-newer-than-file-p):
4840 New defuns, taken from tramp-smb.el.
4841 (tramp-coding-system-change-eol-conversion)
4842 (tramp-set-process-query-on-exit-flag): Remove.
4844 * net/tramp-compat.el (top): Do not check for byte-compiler objects.
4845 (tramp-compat-coding-system-change-eol-conversion)
4846 (tramp-compat-set-process-query-on-exit-flag): New defuns, taken
4849 * net/tramp-gvfs.el:
4850 * net/tramp-gw.el: Replace `tramp-set-process-query-on-exit-flag'
4851 by `tramp-compat-set-process-query-on-exit-flag'.
4853 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
4854 Use `tramp-handle-directory-files-and-attributes',
4855 `tramp-handle-file-exists-p' and
4856 `tramp-handle-file-newer-than-file-p'.
4857 (tramp-imap-handle-file-exists-p)
4858 (tramp-imap-handle-file-executable-p)
4859 (tramp-imap-handle-file-readable-p)
4860 (tramp-imap-handle-directory-files-and-attributes)
4861 (tramp-imap-handle-file-newer-than-file-p): Remove.
4863 * net/tramp-sh.el: Replace `tramp-set-process-query-on-exit-flag'
4864 by `tramp-compat-set-process-query-on-exit-flag' and
4865 `tramp-coding-system-change-eol-conversion' by
4866 `tramp-compat-coding-system-change-eol-conversion'.
4868 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4869 Use `tramp-handle-directory-files-and-attributes',
4870 `tramp-handle-file-exists-p' and
4871 `tramp-handle-file-newer-than-file-p'.
4872 (tramp-smb-handle-directory-files-and-attributes)
4873 (tramp-smb-handle-file-exists-p)
4874 (tramp-smb-handle-file-newer-than-file-p): Remove.
4875 (tramp-smb-maybe-open-connection):
4876 Replace `tramp-set-process-query-on-exit-flag' by
4877 `tramp-compat-set-process-query-on-exit-flag'.
4879 2010-10-05 Glenn Morris <rgm@gnu.org>
4881 * obsolete/rnews.el, obsolete/rnewspost.el: Remove files.
4883 2010-10-04 Michael Albinus <michael.albinus@gmx.de>
4885 Continue reorganization of load dependencies. (Bug#7156)
4887 * net/tramp.el (tramp-handle-file-local-copy-hook)
4888 (tramp-delete-temp-file-function): Move down.
4889 (tramp-exists-file-name-handler): Move up.
4890 (tramp-register-file-name-handlers): Simplify autoload.
4891 (tramp-handle-write-region-hook, tramp-handle-directory-file-name)
4892 (tramp-handle-directory-files, tramp-handle-dired-uncache)
4893 (tramp-handle-file-modes, tramp-handle-file-name-as-directory)
4894 (tramp-handle-file-name-completion)
4895 (tramp-handle-file-name-directory)
4896 (tramp-handle-file-name-nondirectory, tramp-handle-file-regular-p)
4897 (tramp-handle-file-remote-p, tramp-handle-file-symlink-p)
4898 (tramp-handle-find-backup-file-name)
4899 (tramp-handle-insert-file-contents, tramp-handle-load)
4900 (tramp-handle-substitute-in-file-name)
4901 (tramp-handle-unhandled-file-name-directory)
4902 (tramp-mode-string-to-int, tramp-local-host-p)
4903 (tramp-make-tramp-temp-file): Move from tramp-sh.el.
4905 * net/tramp-gvfs.el (top):
4906 * net/tramp-smb.el (top): Do not require 'tramp-sh.
4908 * net/tramp-sh.el (all): Move several objects to tramp.el, see
4909 there. Rename `tramp-handle-*' to `tramp-sh-handle-*'.
4911 2010-10-04 Glenn Morris <rgm@gnu.org>
4913 * calendar/appt.el (appt-add): Ensure reminders are enabled.
4914 (appt-activate): Give status messages.
4916 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
4918 * net/gnutls.el: Improve docs. Remove starttls and ssl emulation.
4919 Provide only `open-gnutls-stream' (formerly `open-ssl-stream') and
4920 `gnutls-negotiate' (formerly `starttls-negotiate').
4921 Remove trivial wrapper `starttls-open-stream'.
4923 2010-10-03 Dan Nicolaescu <dann@ics.uci.edu>
4925 Make 'g' (AKA revert-buffer) rerun the VC log, log-incoming and
4926 log-outgoing commands.
4927 * vc/vc.el (vc-log-internal-common): Add a new argument and use it
4928 to create a buffer local revert-buffer-function variable.
4929 (vc-print-log-internal, vc-log-incoming, vc-log-outgoing): Pass a
4930 revert-buffer-function lambda.
4932 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
4934 * net/gnutls.el (starttls-negotiate): Use the plist interface to
4935 `gnutls-boot'. Make TYPE the only required parameter.
4936 Allow TRUSTFILES and KEYFILES to be lists.
4937 (open-ssl-stream): Use it.
4939 2010-10-03 Glenn Morris <rgm@gnu.org>
4941 * subr.el (directory-sep-char): Remove obsolete variable.
4942 * net/tramp-compat.el: Don't mess about with the byte-compiler unless
4945 * vc/vc-hooks.el (vc-header-alist): Remove obsolete variable.
4946 * vc/vc.el (vc-static-header-alist): Doc fix.
4947 * vc/vc-cvs.el (vc-cvs-header):
4948 * vc/vc-rcs.el (vc-rcs-header):
4949 * vc/vc-sccs.el (vc-sccs-header):
4950 * vc/vc-svn.el (vc-svn-header): Do not consult vc-header-alist.
4951 * obsolete/vc-mcvs.el (vc-mcvs-header):
4952 * progmodes/cperl-mode.el (cperl-mode): Only set vc-header-alist
4955 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
4957 * emacs-lisp/bytecomp.el (byte-compile-from-buffer):
4958 Remove obsolete use of binary-overwrite-mode (Bug#7001).
4960 2010-10-03 Glenn Morris <rgm@gnu.org>
4962 * obsolete/x-menu.el: Remove file, obsolete since 21.1
4964 * textmodes/rst.el (rst-font-lock-keywords-function):
4967 * textmodes/artist.el (artist-replace-char): Drop Emacs 20 code.
4969 * printing.el: Drop Emacs 20 code.
4971 * calendar/appt.el (appt-delete): Don't autoload it (you can't use it
4972 without having used appt.el already).
4974 * subr.el (make-local-hook): Remove function obsolete since 21.1.
4975 * progmodes/cc-mode.el (make-local-hook): Don't do cc-bytecomp stuff.
4976 (c-basic-common-init, c-font-lock-init): Only call make-local-hook on
4978 * progmodes/cc-styles.el (make-local-hook): Don't do cc-bytecomp stuff.
4979 (c-make-styles-buffer-local): Only call make-local-hook on XEmacs.
4981 * ps-def.el (leading-code-private-22, charset-bytes, charset-id)
4982 (charset-width, find-charset-region, chars-in-region, forward-point)
4983 (encode-coding-string, coding-system-p, ccl-execute-on-string)
4984 (define-ccl-program, multibyte-string-p, string-make-multibyte):
4985 Remove compatibility cruft (none of these are used by ps*.el).
4987 2010-10-03 Kevin Rodgers <kevin.d.rodgers@gmail.com>
4989 * subr.el (booleanp): Return t instead of a list (Bug#7086).
4991 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
4993 * server.el (server-process-filter, server-return-error):
4994 Give emacsclient time to shut down after receiving an error string.
4996 2010-10-02 Michael Albinus <michael.albinus@gmx.de>
4998 * files.el (remote-file-name-inhibit-cache): New defcustom.
5000 * time.el (display-time-file-nonempty-p):
5001 Use `remote-file-name-inhibit-cache'.
5003 * net/tramp.el (tramp-completion-reread-directory-timeout):
5006 * net/tramp-cache.el (tramp-cache-inhibit-cache): Remove.
5007 (tramp-get-file-property): Replace `tramp-cache-inhibit-cache' by
5008 `remote-file-name-inhibit-cache'. Check also for an integer
5009 value. Add/increase counter when `tramp-verbose' >= 10.
5010 (tramp-set-file-property): Add/increase counter when
5011 `tramp-verbose' >= 10.
5013 * net/tramp-cmds.el (tramp-cleanup-all-connections)
5014 (tramp-cleanup-all-buffers): Set tramp-autoload cookie.
5015 (tramp-bug): Set tramp-autoload cookie. Report all interned
5016 tramp-* variables. Report also `remote-file-name-inhibit-cache'.
5017 (tramp-reporter-dump-variable): Fix docstring. Mask non-7bit
5018 characters only in strings.
5020 * net/tramp-compat.el (remote-file-name-inhibit-cache): Define due
5021 to backward compatibility.
5023 * net/tramp-sh.el (tramp-handle-verify-visited-file-modtime)
5024 (tramp-handle-file-name-all-completions)
5025 (tramp-handle-vc-registered): Use `remote-file-name-inhibit-cache'.
5026 (tramp-open-connection-setup-interactive-shell):
5027 Call `tramp-cleanup-connection' directly.
5029 2010-10-02 Glenn Morris <rgm@gnu.org>
5031 * emacs-lisp/checkdoc.el (checkdoc-minor-keymap): Remove obsolete alias.
5033 * subr.el (char-bytes): Remove obsolete function.
5035 * isearch.el (isearch-return-char): Remove obsolete function.
5037 * mouse.el: No longer provide mldrag.
5038 (mldrag-drag-mode-line, mldrag-drag-vertical-line):
5039 Remove obsolete aliases.
5041 * comint.el (comint-kill-output): Remove obsolete alias.
5043 * composite.el (decompose-composite-char): Remove obsolete function.
5044 * ps-def.el (decompose-composite-char): Remove unused function.
5046 * iswitchb.el (iswitchb-default-keybindings): Remove obsolete function.
5048 * outline.el (outline-visible): Remove obsolete function.
5050 * term/pc-win.el (x-frob-font-slant, x-frob-font-weight):
5051 * faces.el (internal-find-face, internal-get-face)
5052 (frame-update-faces, frame-update-face-colors)
5053 (x-frob-font-weight, x-frob-font-slant)
5054 (internal-frob-font-weight, internal-frob-font-slant)
5055 (x-make-font-bold, x-make-font-demibold, x-make-font-unbold)
5056 (x-make-font-italic, x-make-font-oblique, x-make-font-unitalic)
5057 (x-make-font-bold-italic): Remove functions and aliases, obsolete
5059 * emulation/viper-util.el (viper-get-face):
5060 * obsolete/lucid.el (find-face, get-face): Use facep.
5061 * vc/ediff-init.el (ediff-valid-color-p, ediff-get-face):
5062 Remove unused functions.
5063 * vc/ediff-util.el (ediff-submit-report): Doc fix.
5065 * emacs-lisp/bytecomp.el (byte-compile-file): Use kill-emacs-hook to
5066 delete tempfile if interrupted during compilation.
5068 2010-10-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
5070 * net/tls.el (tls-starttls-switches): Give up on using starttls with
5072 (tls-program): Add --insecure to be consistent with the defaults from
5073 openssl s_client. Now all three commands are insecure.
5075 2010-10-01 Eli Zaretskii <eliz@gnu.org>
5077 * makefile.w32-in (DEST, TAGS, TAGS-LISP, TAGS-nmake)
5078 (TAGS-LISP-nmake, TAGS-gmake, TAGS-LISP-gmake, TAGS-SH)
5079 (TAGS-LISP-SH, TAGS-CMD, TAGS-LISP-CMD): New targets.
5081 2010-10-01 Glenn Morris <rgm@gnu.org>
5083 * obsolete/sc.el: Remove file.
5085 * files.el (temporary-file-directory): On darwin, also try
5086 DARWIN_USER_TEMP_DIR (see discussion in bug#7135).
5088 2010-10-01 Juanma Barranquero <lekktu@gmail.com>
5090 * server.el (server-start): Revert part of 2010-09-30T02:53:26Z!lekktu@gmail.com.
5091 Let's not break compatibility gratuitously, shall we?
5093 2010-09-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
5095 * net/tls.el (tls-starttls-switches): New variable.
5096 (tls-find-starttls-argument): Use it.
5097 (open-tls-stream): Ditto.
5099 * net/netrc.el (netrc-credentials): Return the value of the "default"
5101 (netrc-machine): Ditto.
5103 2010-09-30 Eli Zaretskii <eliz@gnu.org>
5105 * vc/vc-hooks.el (vc-default-mode-line-string): Doc fix.
5107 2010-09-30 Juanma Barranquero <lekktu@gmail.com>
5109 * server.el (server-start): Don't write pid to the authentication file.
5110 (server-create-tty-frame): Don't send pid.
5111 (server-process-filter): Send pid at the start of every connection.
5113 2010-09-30 Glenn Morris <rgm@gnu.org>
5115 * calendar/diary-lib.el (view-diary-entries, list-diary-entries)
5116 (show-all-diary-entries): Remove obsolete function aliases.
5118 * calendar/appt.el (appt-issue-message, appt-visible, appt-msg-window):
5119 Remove options, obsolete since 22.1.
5120 (appt-display-format, appt-display-message):
5121 Remove backwards-compatibility code.
5122 (appt-check): No longer check appt-issue-message.
5123 (appt-make-list): No longer autoload it. Doc fix. No longer
5124 activate the package.
5126 2010-09-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
5128 * net/gnutls.el (starttls-negotiate): Loop a lot longer.
5129 (starttls-negotiate): Just call boot, and let the handshake be
5130 triggered from the read loop.
5132 2010-09-29 Glenn Morris <rgm@gnu.org>
5134 * calendar/diary-lib.el (diary-list-entries): Use temp buffers when
5135 not displaying the diary.
5136 (diary-add-to-list): If no buffer-file-name, fall back to diary-file.
5137 * calendar/appt.el (appt-check): No longer need to kill diary.
5139 * calendar/diary-lib.el (diary-list-entries): Move the
5140 "Preparing..." message entirely here.
5141 (diary-simple-display, diary-fancy-display): Move "Preparing..."
5142 messages to diary-list-entries.
5143 (diary-include-other-diary-files): Use LIST-ONLY rather than setting
5144 diary-display-function.
5146 * calendar/diary-lib.el (diary-include-other-diary-files):
5147 Trap some recursive includes.
5149 * calendar/appt.el (appt-activate): Check diary file.
5151 2010-09-29 Katsumi Yamaoka <yamaoka@jpl.org>
5153 * pgg.el (pgg-run-at-time-1): Define it for XEmacs only; fix if/else
5156 * calendar/time-date.el: No need to require cl for Emacs 21.
5158 2010-09-28 Glenn Morris <rgm@gnu.org>
5160 * calendar/appt.el (appt-check): Minor simplification.
5162 2010-09-28 Katsumi Yamaoka <yamaoka@jpl.org>
5164 * mail/sendmail.el (mail-citation-prefix-regexp): Remove "}" from
5167 2010-09-27 Andreas Schwab <schwab@linux-m68k.org>
5169 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
5170 Avoid infinite recursion on erroneous lambda form. (Bug#7114)
5172 2010-09-27 Kenichi Handa <handa@m17n.org>
5174 * tar-mode.el (tar-header-block-tokenize): Decode filenames in
5177 2010-09-27 Kenichi Handa <handa@m17n.org>
5179 * international/mule.el (define-coding-system): Docstring fixed.
5181 * international/mule-diag.el (describe-character-set): Use princ
5182 with proper print-length and print-level instead of insert.
5184 2010-09-27 Juanma Barranquero <lekktu@gmail.com>
5186 * window.el (walk-windows): Doc fix (bug#7105).
5188 2010-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
5190 * emacs-lisp/float-sup.el (e): Remove.
5192 2010-09-27 Teodor Zlatanov <tzz@lifelogs.com>
5194 * net/gnutls.el (gnutls, gnutls-log-level): Add group and custom
5196 (starttls-negotiate): Use it.
5198 2010-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
5200 * net/gnutls.el (starttls-negotiate): Stop looping when we get a t
5203 2010-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
5205 * emacs-lisp/pcase.el (pcase-let*, pcase-let): plet -> pcase-let.
5207 2010-09-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
5209 * net/gnutls.el (starttls-negotiate): Avoid the cl.el decf function.
5211 * net/netrc.el (netrc-store-data): New function.
5213 2010-09-26 Teodor Zlatanov <tzz@lifelogs.com>
5215 * net/gnutls.el: GnuTLS glue code to set up a connection.
5217 2010-09-25 Julien Danjou <julien@danjou.info>
5219 * notifications.el: Call dbus-register-signal only if it is bound.
5221 2010-09-25 Glenn Morris <rgm@gnu.org>
5223 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
5224 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
5225 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
5226 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
5227 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
5228 * eshell/esh-cmd.el, eshell/esh-ext.el, eshell/esh-io.el:
5229 * eshell/esh-mode.el, eshell/esh-proc.el, eshell/esh-test.el:
5230 * eshell/esh-util.el, eshell/esh-var.el:
5231 Remove leading `*' from docs of faces and defcustoms.
5233 2010-09-25 Ulrich Mueller <ulm@gentoo.org>
5235 * eshell/em-ls.el (eshell-ls-archive-regexp):
5236 * eshell/esh-util.el (eshell-tar-regexp):
5237 * ibuffer.el (ibuffer-compressed-file-name-regexp):
5238 * info.el (Info-suffix-list):
5239 * international/mule.el (auto-coding-alist):
5240 * woman.el (woman-file-regexp, woman-file-compression-regexp):
5241 * progmodes/etags.el (tags-compression-info-list):
5242 Support xz compression.
5244 2010-09-25 Chong Yidong <cyd@stupidchicken.com>
5246 * files.el (get-free-disk-space): Don't assume the "df" output
5247 columns line up (Bug#6995).
5249 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
5251 * finder.el (finder-unknown-keywords):
5252 * progmodes/gdb-mi.el (gdb-jsonify-buffer, gdb-running-threads-count):
5253 * progmodes/etags.el (tags-table-including): Fix typos in docstrings.
5255 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
5257 * server.el (server-start): Revert part of 2010-08-08 change. Using
5258 address 127.0.0.1 for local host is now done in Fmake_network_process.
5260 2010-09-24 Glenn Morris <rgm@gnu.org>
5262 * image-mode.el, progmodes/compile.el, progmodes/gud.el:
5263 * progmodes/mixal-mode.el, textmodes/bibtex-style.el:
5264 * textmodes/css-mode.el, textmodes/dns-mode.el:
5265 Move autoloaded auto-mode-alist entries to files.el.
5266 * files.el (auto-mode-alist): Move entries here.
5268 2010-09-23 Glenn Morris <rgm@gnu.org>
5270 * isearch.el (isearch-lazy-highlight-cleanup)
5271 (isearch-lazy-highlight-initial-delay)
5272 (isearch-lazy-highlight-interval)
5273 (isearch-lazy-highlight-max-at-a-time, isearch-lazy-highlight-face):
5274 * net/net-utils.el (ipconfig-program-options):
5275 Move aliases to options before the associated definitions.
5277 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
5279 * newcomment.el (comment-normalize-vars): Better test validity of
5282 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
5284 * emacs-lisp/float-sup.el (float-pi): New name for `pi'.
5285 (float-e): New name for `e'.
5286 (degrees-to-radians, radians-to-degrees):
5287 * calendar/solar.el (solar-longitude):
5288 * calculator.el (calculator-registers, calculator-funcall):
5289 * textmodes/artist.el (artist-spray-random-points):
5290 * play/bubbles.el (bubbles--initialize-images): Use new names.
5292 2010-09-23 Eric M. Ludlam <zappo@gnu.org>
5294 Update to CEDET 1.0's version of EIEIO.
5296 * emacs-lisp/eieio.el (eieio-specialized-key-to-generic-key):
5298 (eieio-defmethod, eieio-generic-form, eieio-generic-call): Use it.
5299 (eieio-default-eval-maybe): Eval val instead of unquoting only.
5300 (class-precedence-list): If class is nil, return nil.
5301 (eieio-generic-call): If class of first input arg is nil, don't
5302 look up static methods, and do check for primary methods.
5303 (initialize-instance): See if the default needs to be evaluated
5304 during the constructor.
5305 (eieio-perform-slot-validation-for-default): Don't do the check
5306 for values that will eventually be evaluated.
5307 (eieio-eval-default-p): New function.
5308 (eieio-default-eval-maybe): Use it.
5310 2010-09-23 Jan Moringen <jan.moringen@uni-bielefeld.de>
5312 * emacs-lisp/eieio.el (eieio-defclass): Allow :c3
5313 method-invocation-order.
5314 (eieio-c3-candidate, eieio-c3-merge-lists): New functions.
5315 (eieio-class-precedence-dfs): Compute class precedence list using
5317 (eieio-class-precedence-bfs): Compute class precedence list using
5319 (eieio-class-precedence-c3): Compute class precedence list using
5321 (class-precedence-list): New function.
5322 (eieiomt-method-list, eieiomt-sym-optimize): Use it.
5323 (inconsistent-class-hierarchy): New error symbol.
5324 (call-next-method): Stow the replacement argument list for future
5325 call-next-method invocations.
5327 2010-09-23 Glenn Morris <rgm@gnu.org>
5329 * calendar/appt.el (appt-check): If not displaying the diary,
5330 use (diary 1) to only get the entries we need.
5331 (appt-make-list): Sort diary-list-entries, if we cannot guarantee
5332 that it is in day order. (Bug#7019)
5334 * calendar/appt.el (appt-check): Rather than showing the diary,
5335 just turn off invisible display, and only if needed.
5337 * calendar/diary-lib.el (diary-list-entries): Doc fix. (Bug#7019)
5339 2010-09-23 Glenn Morris <rgm@gnu.org>
5341 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
5342 (byte-compile-defvar, byte-compile-cl-warn):
5343 Start warnings with lower-case, like the majority.
5345 * files.el (auto-mode-alist): Add .xa, .xw, .xsw for ld-script-mode.
5347 * files.el (auto-mode-alist): Prefer C-mode for .xs. (Bug#7071)
5349 * progmodes/ld-script.el (auto-mode-alist): Move to files.el.
5350 * files.el (auto-mode-alist): Move ld-script entries here, further down
5353 * vc/add-log.el: Don't require timezone when compiling.
5354 (timezone-make-date-sortable): Autoload it.
5355 (change-log-sortable-date-at): Don't require timezone.
5356 Use `ignore-errors'.
5358 * comint.el (comint-use-prompt-regexp-instead-of-fields):
5359 Move alias before definition, so it does not need autoloading.
5361 * emulation/crisp.el, emulation/cua-base.el, emulation/edt.el:
5362 * emulation/pc-select.el, emulation/vip.el, international/iso-ascii.el:
5363 * international/kkc.el, international/ogonek.el, mail/feedmail.el:
5364 * net/browse-url.el, net/eudc-vars.el, net/net-utils.el:
5365 * net/rcompile.el, net/rlogin.el, textmodes/enriched.el:
5366 * textmodes/makeinfo.el, textmodes/page-ext.el, textmodes/picture.el:
5367 * textmodes/refer.el, textmodes/spell.el, textmodes/table.el:
5368 * textmodes/tex-mode.el, textmodes/two-column.el:
5369 Remove leading `*' from docs of defcustoms etc.
5371 2010-09-23 Teodor Zlatanov <tzz@lifelogs.com>
5373 * net/netrc.el (netrc-parse): Remove encrypt.el mentions.
5375 2010-09-22 Dan Christensen <jdc@uwo.ca>
5377 * calendar/time-date.el (date-to-time): Try using parse-time-string
5378 first before using the slower timezone-make-date-arpa-standard.
5380 2010-09-22 Katsumi Yamaoka <yamaoka@jpl.org>
5382 * calendar/time-date.el (format-seconds): Comment fix.
5384 2010-09-22 Glenn Morris <rgm@gnu.org>
5386 * emacs-lisp/package.el (package-menu-mode): `revert-buffer-function'
5387 is not automatically buffer-local.
5389 2010-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
5391 * emacs-lisp/smie.el (smie-debug--describe-cycle): Fix typo.
5392 (smie-indent-comment): Be more careful with comment-start-skip.
5393 (smie-indent-comment-close, smie-indent-comment-inside): New funs.
5394 (smie-indent-functions): Use them.
5396 2010-09-21 Michael Albinus <michael.albinus@gmx.de>
5398 * net/ange-ftp.el (ange-ftp-skip-msgs): Add "^504 ..." message.
5400 2010-09-21 Jan Djärv <jan.h.d@swipnet.se>
5402 * menu-bar.el (menu-bar-set-tool-bar-position): customize-set-variable
5403 tool-bar-position. Don't modify frame parameters here.
5404 (menu-bar-options-save): Add tool-bar-position.
5406 * tool-bar.el (tool-bar-position): New defcustom (Bug#7049).
5408 2010-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
5410 * textmodes/reftex-parse.el (reftex-what-macro)
5411 (reftex-context-substring): Let-bind forward-sexp-function to nil
5412 since we don't need/want to treat \begin...\end as a block (bug#7053).
5414 * emacs-lisp/lisp.el (up-list): Don't do nothing silently.
5416 * simple.el (blink-matching-open): Use syntax-class.
5418 * progmodes/pascal.el (pascal-mode): Use define-derived-mode.
5419 Set invisibility spec for pascal's outline mode.
5420 (pascal-outline-change): Clean up calling convention.
5421 (pascal-show-all, pascal-hide-other-defuns): Update callers.
5423 * progmodes/prolog.el (prolog-smie-forward-token)
5424 (prolog-smie-backward-token): New functions.
5425 (prolog-mode-variables): Use them to parse "!," correctly.
5426 Set up smie-blink-matching for ".".
5428 * textmodes/ispell.el (ispell-start, ispell-end): Rename from `start'
5430 (ispell-region, ispell-process-line): Update users.
5432 * textmodes/reftex-parse.el (reftex-what-macro): Don't hardcode
5435 * textmodes/ispell.el: Fix commenting convention.
5436 (ispell-parse-output): Simplify, use push.
5437 (ispell-region): Use match-string-no-properties.
5438 (ispell-begin-skip-region-regexp): Use mapconcat to simplify.
5439 (ispell-minor-mode): Use define-minor-mode.
5440 (ispell-message): Remove unused var `skip-regexp'.
5441 (ispell-add-per-file-word-list): Use dynamic let-binding.
5442 Try and use the proper comment marker.
5444 * mail/sendmail.el: Fix commenting convention.
5445 (sendmail-send-it): Use line-beginning-position.
5447 * help-fns.el (describe-variable): Add original value, if applicable.
5449 2010-09-20 Juanma Barranquero <lekktu@gmail.com>
5451 * subr.el (y-or-n-p): Remove leftover code from 2010-09-17T13:30:30Z!monnier@iro.umontreal.ca.
5453 * emacs-lisp/smie.el (smie-indent--hanging-p): Use `smie-indent--bolp'.
5455 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5457 * emacs-lisp/smie.el (smie-bnf-precedence-table): Improve error message.
5458 (smie-debug--prec2-cycle, smie-debug--describe-cycle): New functions.
5459 (smie-prec2-levels): Use them to better diagnose precedence cycles.
5460 (smie-blink-matching-check): Don't signal a mismatch if car is t.
5461 (smie-blink-matching-open): Rewrite to remove assumptions, so that
5462 something like "." can also be a closer.
5463 (smie--associative-p, smie-indent--hanging-p, smie-indent--bolp)
5464 (smie-indent--offset, smie-indent--offset-rule, smie-indent--column):
5465 Rename internal functions to use "--". Update callers.
5467 * frame.el (make-frame-names-alist): Don't list frames on other displays.
5469 * fringe.el (fringe-styles): New var.
5470 (fringe-mode, fringe-query-style): Use it.
5472 2010-09-18 Michael R. Mauger <mmaug@yahoo.com>
5474 * progmodes/sql.el: Version 2.8
5475 (sql-login-params): Update widget structure; changes still needed.
5476 (sql-product-alist): Add :list-all and :list-table features for
5477 SQLite, Postgres and MySQL products.
5478 (sql-redirect): Handle default value.
5479 (sql-execute, sql-execute-feature): New functions.
5480 (sql-read-table-name): New function.
5481 (sql-list-all, sql-list-table): New functions. User API.
5482 (sql-mode-map, sql-interactive-mode-map): Add key definitions
5483 for above functions.
5484 (sql-mode-menu, sql-interactive-mode-menu): Add menu definitions
5485 for above functions.
5486 (sql-postgres-login-params): Add user and database defaults.
5487 (sql-buffer-live-p): Bug fix.
5488 (sql-product-history): New variable.
5489 (sql-read-product): New function. Use it.
5490 (sql-set-product, sql-product-interactive): Use it.
5491 (sql-connection-history): New variable.
5492 (sql-read-connection): New function. Use it.
5493 (sql-connect): New function.
5494 (sql-for-each-login): Redesign function interface.
5495 (sql-make-alternate-buffer-name, sql-save-connection): Use it.
5496 (sql-get-login-ext, sql-get-login): Use it. Handle default values.
5497 (sql-comint): Check for program. Existing live buffer.
5498 (sql-comint-postgres): Add port parameter.
5500 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5502 * emacs-lisp/warnings.el: Fix commenting convention.
5503 (display-warning): Use special mode and make the buffer read-only.
5505 2010-09-18 Jay Belanger <jay.p.belanger@gmail.com>
5507 * calc/calc-prog.el (calc-read-parse-table-part): Don't "fix" the
5508 empty string when it follows a repeated or optional pattern.
5510 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
5512 * indent.el (indent-according-to-mode): Apply syntax-propertize.
5513 (indent-region): Use indent-according-to-mode.
5515 2010-09-18 Eli Zaretskii <eliz@gnu.org>
5517 * fringe.el (fringe-mode): Doc fix.
5519 2010-09-14 Kan-Ru Chen <kanru@kanru.info> (tiny change)
5521 * textmodes/nroff-mode.el (nroff-view): Kill old buffer before
5522 refreshing the preview buffer.
5524 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
5526 * textmodes/tex-mode.el (tex-syntax-propertize-rules)
5527 (latex-syntax-propertize-rules): New consts; replace
5528 tex-font-lock-syntactic-keywords.
5529 (tex-env-mark, latex-env-before-change): New functions.
5530 (latex-electric-env-pair-mode): New minor mode.
5531 (tex-font-lock-verb): Change arguments; do move point.
5532 (tex-font-lock-syntactic-face-function): Adjust to new verbatim
5533 representation as a form of comment.
5534 (tex-font-lock-keywords-1): Remove workaround, now unneeded.
5535 (doctex-syntax-propertize-rules): New const; replaces
5536 doctex-font-lock-syntactic-keywords.
5537 (tex-common-initialization, doctex-mode): Use syntax-propertize-rules.
5539 * progmodes/fortran.el (fortran--font-lock-syntactic-keywords): Remove.
5540 (fortran-make-syntax-propertize-function): New function; replaces
5541 fortran-font-lock-syntactic-keywords.
5542 (fortran-mode): Use it.
5543 (fortran-line-length): Use it. Improve interactive spec.
5545 * emacs-lisp/syntax.el (syntax-propertize-precompile-rules): New macro.
5546 (syntax-propertize-rules): Add var-ref case. Fix offset computation
5547 when adding surrounding \(..\).
5549 * progmodes/js.el (js-mode): Fix last change (bug#7054).
5551 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
5553 * obsolete/old-whitespace.el (whitespace-rescan-files-in-buffers):
5554 Use with-current-buffer.
5556 * isearch.el (isearch-face): Rename from `isearch'.
5557 (isearch-highlight): Use new name.
5559 2010-09-17 Eli Zaretskii <eliz@gnu.org>
5561 * fringe.el (fringe-mode, fringe-query-style): Use 4 pixels, not
5562 5, for `half' width fringes. (Bug#6933)
5564 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
5566 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
5567 (byte-compile-defvar): "foo/bar" does not lack a prefix.
5569 * subr.el (y-or-n-p): Add the "(y or n)" that was lost somehow.
5571 2010-09-17 Stephen Berman <stephen.berman@gmx.net>
5573 * dframe.el (dframe-reposition-frame-emacs): Use tool-bar-pixel-width
5574 in calculating new frame position. Add more space between new and
5575 parent on the left (Bug#7048).
5577 2010-09-17 Michael Albinus <michael.albinus@gmx.de>
5579 * net/tramp-compat.el (tramp-compat-with-temp-message): Make it a
5582 2010-09-16 Chong Yidong <cyd@stupidchicken.com>
5584 * mail/sendmail.el: Add "*unsent mail*" to same-window-buffer-names.
5586 * term/x-win.el (x-cut-buffer-or-selection-value): Define as
5587 obsolete alias for x-selection-value.
5589 * ido.el (ido-make-buffer-list): Fix error in 2010-08-22 merge.
5591 2010-09-16 Michael Albinus <michael.albinus@gmx.de>
5593 * net/tramp-cmds.el (tramp-cleanup-connection): Set tramp-autoload
5596 2010-09-15 Michael Albinus <michael.albinus@gmx.de>
5598 * net/tramp-compat.el (tramp-compat-with-temp-message)
5599 (tramp-compat-font-lock-add-keywords, tramp-compat-process-get)
5600 (tramp-compat-process-put): New defuns.
5602 * net/tramp.el (top):
5603 * net/tramp-gvfs.el (top):
5604 * net/tramp-cache.el (top): Use `tramp-compat-font-lock-add-keywords'.
5606 * net/tramp.el (tramp-progress-reporter-update):
5607 Use `tramp-compat-funcall'.
5609 * net/tramp.el (tramp-process-actions):
5610 * net/tramp-gvfs.el (tramp-handle-vc-registered):
5611 * net/tramp-sh.el (tramp-gvfs-handler-askquestion)
5612 (tramp-get-remote-stat, tramp-get-remote-readlink):
5613 Use `tramp-compat-with-temp-message'.
5615 * net/tramp-sh.el (top): Require 'cl.
5616 (tramp-handle-start-file-process): Use `tramp-compat-process-get'.
5617 (tramp-open-connection-setup-interactive-shell):
5618 Use `tramp-compat-process-put'.
5620 2010-09-15 Alan Mackenzie <acm@muc.de>
5622 * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Correct the
5624 (c-forward-<>-arglist-recur): Fix an infinite recursion.
5626 2010-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
5628 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
5629 `lexical' for warnings related to lexical scoping.
5630 (byte-compile-file-form-defvar, byte-compile-defvar): Warn about
5631 global vars which don't have a prefix and could hence affect lexical
5632 scoping in unrelated files.
5634 2010-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
5636 * net/imap.el: Revert back to version
5637 cb950ed8ff3e0f40dac437a51b269166f9ffb60d, since some of the changes
5640 2010-09-14 Juanma Barranquero <lekktu@gmail.com>
5642 * obsolete/old-whitespace.el (whitespace-unload-function):
5643 Explicitly pass `obarray' to `unintern' to avoid a warning.
5645 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
5647 * emacs-lisp/byte-run.el (set-advertised-calling-convention):
5648 Add `when' argument. Update callers.
5650 * subr.el (unintern): Declare the obarray arg mandatory.
5652 2010-09-14 Glenn Morris <rgm@gnu.org>
5654 * calendar/diary-lib.el (diary-list-entries-hook, diary-sort-entries):
5657 * calendar/diary-lib.el (diary-included-files): New variable.
5658 (diary-list-entries): Maybe initialize diary-included-files.
5659 (diary-include-other-diary-files): Append to diary-included-files.
5660 * calendar/appt.el (appt-update-list): Also check the members of
5661 diary-included-files. (Bug#6999)
5662 (appt-check): Doc fix.
5664 2010-09-14 David Reitter <david.reitter@gmail.com>
5666 * simple.el (line-move-visual): Do not truncate goal column to
5667 integer size. (Bug#7020)
5669 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
5671 * repeat.el (repeat): Allow repeating when the last event is a click.
5672 Suggested by Drew Adams (bug#6256).
5674 2010-09-14 Sascha Wilde <wilde@sha-bang.de>
5676 * vc/vc-hg.el (vc-hg-state,vc-hg-working-revision):
5677 Replace setting HGRCPATH to "" by some less invasive --config options.
5679 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
5681 * font-lock.el (font-lock-beginning-of-syntax-function):
5684 2010-09-14 Glenn Morris <rgm@gnu.org>
5686 * menu-bar.el (menu-bar-options-save): Fix handling of menu-bar
5687 and tool-bar modes. (Bug#6211)
5688 (menu-bar-mode): Move setting of standard-value after the
5689 minor-mode definition, otherwise it seems to have no effect.
5691 2010-09-14 Masatake YAMATO <yamato@redhat.com>
5693 * progmodes/antlr-mode.el (antlr-font-lock-additional-keywords):
5694 Fix typo. (Bug#6976)
5696 2010-09-14 Vinicius Jose Latorre <viniciusjl@ig.com.br>
5698 * whitespace.el: Allow cleaning up blanks without blank
5699 visualization (Bug#6651). Adjust help window for
5700 whitespace-toggle-options (Bug#6479). Allow to use fill-column
5701 instead of whitespace-line-column (from EmacsWiki). New version 13.1.
5702 (whitespace-style): Add new value 'face. Adjust docstring.
5703 (whitespace-space, whitespace-hspace, whitespace-tab):
5704 Adjust foreground property face.
5705 (whitespace-line-column): Adjust docstring and type declaration.
5706 (whitespace-style-value-list, whitespace-toggle-option-alist)
5707 (whitespace-help-text): Adjust const initialization.
5708 (whitespace-toggle-options, global-whitespace-toggle-options):
5710 (whitespace-display-window, whitespace-interactive-char)
5711 (whitespace-style-face-p, whitespace-color-on): Adjust code.
5712 (whitespace-help-scroll): New fun.
5714 2010-09-14 Katsumi Yamaoka <yamaoka@jpl.org>
5716 * calendar/time-date.el (format-seconds): Comment fix.
5718 2010-09-13 Michael R. Mauger <mmaug@yahoo.com>
5720 * progmodes/sql.el: Version 2.7.
5721 (sql-buffer-live-p): Improve detection.
5722 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
5723 (sql-set-sqli-buffer): Use it.
5724 (sql-product-interactive): Run `sql-set-sqli-hook'.
5725 (sql-rename-buffer): Code cleanup.
5726 (sql-redirect, sql-redirect-value): New functions. More to come.
5728 2010-09-13 Juanma Barranquero <lekktu@gmail.com>
5730 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.
5731 * makefile.w32-in (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
5732 (TRAMP_SRC): New macro.
5733 ($(lisp)/net/tramp-loaddefs.el): New target.
5735 2010-09-13 Michael Albinus <michael.albinus@gmx.de>
5737 Major code cleanup. Split tramp.el into tramp.el and tramp-sh.el.
5739 * Makefile.in (TRAMP_SRC): Remove tramp-fish.el. Add tramp-sh.el.
5741 * net/tramp.el (top): Don't show loading message. Require just
5742 'tramp-compat, everything else is required there.
5743 Use `ignore-errors' where appropriate.
5744 (tramp-inline-compress-start-size, tramp-copy-size-limit)
5745 (tramp-terminal-type, tramp-end-of-output)
5746 (tramp-initial-end-of-output, tramp-completion-function-alist-rsh)
5747 (tramp-completion-function-alist-ssh)
5748 (tramp-completion-function-alist-telnet)
5749 (tramp-completion-function-alist-su)
5750 (tramp-completion-function-alist-putty, tramp-remote-path)
5751 (tramp-remote-process-environment, tramp-sh-extra-args)
5752 (tramp-actions-before-shell, tramp-uudecode)
5753 (tramp-perl-file-truename, tramp-perl-file-name-all-completions)
5754 (tramp-perl-file-attributes)
5755 (tramp-perl-directory-files-and-attributes)
5756 (tramp-perl-encode-with-module, tramp-perl-decode-with-module)
5757 (tramp-perl-encode, tramp-perl-decode)
5758 (tramp-vc-registered-read-file-names, tramp-file-mode-type-map)
5759 (tramp-file-name-handler-alist, tramp-make-tramp-temp-file)
5760 (tramp-handle-make-symbolic-link, tramp-handle-load)
5761 (tramp-handle-file-name-as-directory)
5762 (tramp-handle-file-name-directory)
5763 (tramp-handle-file-name-nondirectory, tramp-handle-file-truename)
5764 (tramp-handle-file-exists-p, tramp-handle-file-attributes)
5765 (tramp-do-file-attributes-with-ls)
5766 (tramp-do-file-attributes-with-perl)
5767 (tramp-do-file-attributes-with-stat)
5768 (tramp-handle-set-visited-file-modtime)
5769 (tramp-handle-verify-visited-file-modtime)
5770 (tramp-handle-set-file-modes, tramp-handle-set-file-times)
5771 (tramp-set-file-uid-gid, tramp-remote-selinux-p)
5772 (tramp-handle-file-selinux-context)
5773 (tramp-handle-set-file-selinux-context)
5774 (tramp-handle-file-executable-p, tramp-handle-file-readable-p)
5775 (tramp-handle-file-newer-than-file-p, tramp-handle-file-modes)
5776 (tramp-handle-file-directory-p, tramp-handle-file-regular-p)
5777 (tramp-handle-file-symlink-p, tramp-handle-file-writable-p)
5778 (tramp-handle-file-ownership-preserved-p)
5779 (tramp-handle-directory-file-name, tramp-handle-directory-files)
5780 (tramp-handle-directory-files-and-attributes)
5781 (tramp-do-directory-files-and-attributes-with-perl)
5782 (tramp-do-directory-files-and-attributes-with-stat)
5783 (tramp-handle-file-name-all-completions)
5784 (tramp-handle-file-name-completion, tramp-handle-add-name-to-file)
5785 (tramp-handle-copy-file, tramp-handle-copy-directory)
5786 (tramp-handle-rename-file, tramp-do-copy-or-rename-file)
5787 (tramp-do-copy-or-rename-file-via-buffer)
5788 (tramp-do-copy-or-rename-file-directly)
5789 (tramp-do-copy-or-rename-file-out-of-band)
5790 (tramp-handle-make-directory, tramp-handle-delete-directory)
5791 (tramp-handle-delete-file)
5792 (tramp-handle-dired-recursive-delete-directory)
5793 (tramp-handle-dired-compress-file, tramp-handle-dired-uncache)
5794 (tramp-handle-insert-directory)
5795 (tramp-handle-unhandled-file-name-directory)
5796 (tramp-handle-expand-file-name)
5797 (tramp-handle-substitute-in-file-name)
5798 (tramp-handle-executable-find, tramp-process-sentinel)
5799 (tramp-handle-start-file-process, tramp-handle-process-file)
5800 (tramp-handle-call-process-region, tramp-handle-shell-command)
5801 (tramp-handle-file-local-copy, tramp-handle-file-remote-p)
5802 (tramp-handle-insert-file-contents)
5803 (tramp-handle-insert-file-contents-literally)
5804 (tramp-handle-find-backup-file-name)
5805 (tramp-handle-make-auto-save-file-name, tramp-handle-write-region)
5806 (tramp-vc-registered-file-names, tramp-handle-vc-registered)
5807 (tramp-sh-file-name-handler, tramp-vc-file-name-handler)
5808 (tramp-maybe-send-script, tramp-set-auto-save, tramp-run-test)
5809 (tramp-run-test2, tramp-find-executable, tramp-set-remote-path)
5810 (tramp-find-file-exists-command, tramp-open-shell)
5811 (tramp-find-shell, tramp-barf-if-no-shell-prompt)
5812 (tramp-open-connection-setup-interactive-shell)
5813 (tramp-local-coding-commands, tramp-remote-coding-commands)
5814 (tramp-find-inline-encoding, tramp-call-local-coding-command)
5815 (tramp-inline-compress-commands, tramp-find-inline-compress)
5816 (tramp-compute-multi-hops, tramp-maybe-open-connection)
5817 (tramp-send-command, tramp-wait-for-output)
5818 (tramp-send-command-and-check, tramp-barf-unless-okay)
5819 (tramp-send-command-and-read, tramp-mode-string-to-int)
5820 (tramp-convert-file-attributes, tramp-check-cached-permissions)
5821 (tramp-file-mode-from-int, tramp-file-mode-permissions)
5822 (tramp-shell-case-fold, tramp-make-copy-program-file-name)
5823 (tramp-method-out-of-band-p, tramp-local-host-p)
5824 (tramp-get-remote-path, tramp-get-remote-tmpdir)
5825 (tramp-get-ls-command, tramp-get-ls-command-with-dired)
5826 (tramp-get-test-command, tramp-get-test-nt-command)
5827 (tramp-get-file-exists-command, tramp-get-remote-ln)
5828 (tramp-get-remote-perl, tramp-get-remote-stat)
5829 (tramp-get-remote-readlink, tramp-get-remote-trash)
5830 (tramp-get-remote-id, tramp-get-remote-uid, tramp-get-remote-gid)
5831 (tramp-get-local-uid, tramp-get-local-gid)
5832 (tramp-get-inline-compress, tramp-get-inline-coding): Move to
5834 (tramp-methods, tramp-default-method-alist)
5835 (tramp-default-user-alist, tramp-foreign-file-name-handler-alist):
5836 Move initialization to tramp-sh.el.
5837 (tramp-temp-name-prefix): Make it a defconst.
5838 (tramp-dissect-file-name): Don't check anymore for multi-hop
5840 (tramp-debug-outline-regexp): Add a docstring.
5841 (tramp-debug-outline-level): Rename from `tramp-outline-level'.
5842 (tramp-get-debug-buffer): Use it.
5844 * net/tramp-cache.el (top): Set tramp-autoload cookie for
5845 initialization forms.
5846 (tramp-set-connection-property): Don't protect `tramp-message'
5847 call, it isn't necessary any longer.
5848 (tramp-dump-connection-properties): Use `ignore-errors'.
5850 * net/tramp-compat.el (top): Require 'advice, 'format-spec,
5851 'password-cache and 'auth-source.
5853 * net/tramp-gvfs.el (top):
5854 * net/tramp-smb.el (top): Require 'tramp-sh.
5856 * net/tramp-gw.el (tramp-gw-open-network-stream): Use `ignore-errors'.
5858 * net/tramp-sh.el: New file, derived from tramp.el.
5859 (top): Initialize `tramp-methods', `tramp-default-method-alist',
5860 `tramp-default-user-alist', `tramp-foreign-file-name-handler-alist'.
5861 Remove "scp1_old", "scp2_old", "ssh1_old", "ssh2_old".
5862 Use `ignore-errors' where appropriate.
5863 (tramp-sh-file-name-handler-alist): Rename from
5864 `tramp-file-name-handler-alist'.
5865 (tramp-send-command-and-check): Return t or nil. Remove all
5866 `zerop' checks, where called.
5867 (tramp-handle-set-file-modes)
5868 (tramp-do-copy-or-rename-file-directly)
5869 (tramp-handle-delete-directory, tramp-handle-delete-file)
5870 (tramp-maybe-send-script): Use `tramp-barf-unless-okay'.
5871 (tramp-sh-file-name-handler, tramp-send-command-and-check)
5872 (tramp-get-remote-ln): Set tramp-autoload cookie.
5874 * net/tramp-fish.el: Remove file.
5876 2010-09-13 Daiki Ueno <ueno@unixuser.org>
5878 * epa-file.el (epa-file-insert-file-contents): If visiting, bind
5879 buffer-file-name to avoid file-locking. (Bug#7026)
5881 2010-09-13 Julien Danjou <julien@danjou.info>
5883 * notifications.el (notifications-notify): Add support for
5884 image-path and sound-name.
5885 (notifications-specification-version): Add this variable.
5887 2010-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5889 * subr.el (y-or-n-p): New function, moved from src/fns.c; use read-key.
5891 2010-09-12 Leo <sdl.web@gmail.com>
5893 * net/rcirc.el (rcirc-server-commands, rcirc-client-commands)
5894 (rcirc-completion-start): New variables.
5895 (rcirc-nick-completions): Rename to rcirc-completions.
5896 (rcirc-nick-completion-start-offset): Delete.
5897 (rcirc-completion-at-point): New function for constructing
5898 completion data for both nicks and irc commands. Add to
5899 completion-at-point-functions in rcirc mode.
5900 (rcirc-complete): Rename from rcirc-nick-complete; use
5901 rcirc-completion-at-point.
5902 (defun-rcirc-command): Update rcirc-client-commands.
5904 2010-09-11 Glenn Morris <rgm@gnu.org>
5906 * emacs-lisp/bytecomp.el (byte-compile-file): Create .elc files
5907 atomically, to avoid parallel build errors. (Bug#4196)
5909 2010-09-11 Michael R. Mauger <mmaug@yahoo.com>
5911 * progmodes/sql.el: Version 2.6
5912 (sql-dialect): Synonym for "sql-product".
5913 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
5914 (sql-set-sqli-buffer, sql-show-sqli-buffer, sql-interactive-mode):
5915 Set "sql-buffer" to buffer name not buffer object so multiple sql
5916 interactive buffers work properly. Reverts misguided changes in
5918 (sql-comint): Make sure different buffer name is used if "*SQL*"
5919 buffer is for a different product.
5920 (sql-make-alternate-buffer-name): Fix bug with "sql-database"
5922 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
5923 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
5924 (sql-db2, sql-linter, sql-product-interactive, sql-rename-buffer):
5925 Accept new buffer name or prompt for one.
5926 (sql-port): Default to zero.
5927 (sql-comint-mysql): Handle "sql-port" as a numeric.
5928 (sql-port-history): Delete unused variable.
5929 (sql-get-login): Default "sql-port" to a number.
5930 (sql-product-alist): Correct Postgres prompt and terminator regexp.
5931 (sql-sqlite-program): Dynamically detect presence of "sqlite" or
5932 "sqlite3" executables.
5933 (sql-sqlite-login-params): Add "*.sqlite[23]?" database name pattern.
5934 (sql-buffer-live-p): New function.
5935 (sql-mode-menu, sql-send-string): Use it.
5936 (sql-mode-oracle-font-lock-keywords): Improve SQL*Plus REMARK
5938 (sql-mode-postgres-font-lock-keywords): Support Postgres V9.
5939 (sql-mode-sqlite-font-lock-keywords): Hilight sqlite commands.
5941 2010-09-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
5943 * net/netrc.el (netrc-credentials): New convenience function.
5945 2010-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
5947 * textmodes/texinfo.el (texinfo-syntax-propertize-function): New fun
5948 to replace texinfo-font-lock-syntactic-keywords.
5949 (texinfo-mode): Use it.
5951 * textmodes/tex-mode.el (tex-common-initialization, doctex-mode):
5952 Use syntax-propertize-function.
5954 * textmodes/sgml-mode.el (sgml-syntax-propertize-function): New var to
5955 replace sgml-font-lock-syntactic-keywords.
5956 (sgml-mode): Use it.
5958 * textmodes/reftex.el (font-lock-syntactic-keywords): Don't declare
5959 since we don't use it.
5961 * textmodes/bibtex.el (bibtex-mode): Use syntax-propertize-function.
5963 * progmodes/vhdl-mode.el (vhdl-mode): Use syntax-propertize-function
5965 (vhdl-fontify-buffer): Adjust.
5967 * progmodes/tcl.el (tcl-syntax-propertize-function): New var to
5968 replace tcl-font-lock-syntactic-keywords.
5971 * progmodes/simula.el (simula-syntax-propertize-function): New var to
5972 replace simula-font-lock-syntactic-keywords.
5973 (simula-mode): Use it.
5975 * progmodes/sh-script.el (sh-st-symbol): Remove.
5976 (sh-font-lock-close-heredoc, sh-font-lock-open-heredoc): Add eol arg.
5977 (sh-font-lock-flush-syntax-ppss-cache, sh-font-lock-here-doc): Remove.
5978 (sh-font-lock-quoted-subshell): Assume we've already matched $(.
5979 (sh-font-lock-paren): Set syntax-multiline.
5980 (sh-font-lock-syntactic-keywords): Remove.
5981 (sh-syntax-propertize-function): New function to replace it.
5984 * progmodes/ruby-mode.el (ruby-here-doc-beg-re):
5985 Define while compiling.
5986 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
5987 (ruby-font-lock-syntactic-keywords, ruby-comment-beg-syntax)
5988 (syntax-ppss, ruby-in-ppss-context-p, ruby-in-here-doc-p)
5989 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
5990 (ruby-here-doc-end-syntax): Only define when
5991 syntax-propertize is not available.
5992 (ruby-syntax-propertize-function, ruby-syntax-propertize-heredoc):
5994 (ruby-in-ppss-context-p): Update to new syntax of heredocs.
5995 (electric-indent-chars): Silence bytecompiler.
5996 (ruby-mode): Use prog-mode, syntax-propertize-function, and
5997 electric-indent-chars.
5999 * progmodes/python.el (python-syntax-propertize-function): New var to
6000 replace python-font-lock-syntactic-keywords.
6001 (python-mode): Use it.
6002 (python-quote-syntax): Simplify and adjust to new use.
6004 * progmodes/perl-mode.el (perl-syntax-propertize-function): New fun to
6005 replace perl-font-lock-syntactic-keywords.
6006 (perl-syntax-propertize-special-constructs): New fun to replace
6007 perl-font-lock-special-syntactic-constructs.
6008 (perl-font-lock-syntactic-face-function): New fun.
6009 (perl-mode): Use it.
6011 * progmodes/octave-mod.el (octave-syntax-propertize-sqs): New function
6012 to replace octave-font-lock-close-quotes.
6013 (octave-syntax-propertize-function): New function to replace
6014 octave-font-lock-syntactic-keywords.
6015 (octave-mode): Use it.
6017 * progmodes/mixal-mode.el (mixal-syntax-propertize-function): New var;
6018 replaces mixal-font-lock-syntactic-keywords.
6019 (mixal-mode): Use it.
6021 * progmodes/make-mode.el (makefile-syntax-propertize-function):
6022 New var; replaces makefile-font-lock-syntactic-keywords.
6023 (makefile-mode): Use it.
6024 (makefile-imake-mode): Adjust.
6026 * progmodes/js.el (js--regexp-literal): Define while compiling.
6027 (js-syntax-propertize-function): New var; replaces
6028 js-font-lock-syntactic-keywords.
6031 * progmodes/gud.el (gdb-script-syntax-propertize-function): New var;
6032 replaces gdb-script-font-lock-syntactic-keywords.
6033 (gdb-script-mode): Use it.
6035 * progmodes/fortran.el (fortran-mode): Use syntax-propertize-function.
6036 (fortran--font-lock-syntactic-keywords): New var.
6037 (fortran-line-length): Update syntax-propertize-function and
6038 fortran--font-lock-syntactic-keywords.
6040 * progmodes/cperl-mode.el (cperl-mode): Use syntax-propertize-function.
6042 * progmodes/cfengine.el (cfengine-mode):
6043 Use syntax-propertize-function.
6044 (cfengine-font-lock-syntactic-keywords): Remove.
6046 * progmodes/autoconf.el (autoconf-mode):
6047 Use syntax-propertize-function.
6048 (autoconf-font-lock-syntactic-keywords): Remove.
6050 * progmodes/ada-mode.el (ada-set-syntax-table-properties)
6051 (ada-after-change-function, ada-initialize-syntax-table-properties)
6052 (ada-handle-syntax-table-properties): Only define when
6053 syntax-propertize is not available.
6054 (ada-mode): Use syntax-propertize-function.
6056 * font-lock.el (font-lock-syntactic-keywords): Make obsolete.
6057 (font-lock-fontify-syntactic-keywords-region): Move handling of
6058 font-lock-syntactically-fontified to...
6059 (font-lock-default-fontify-region): ...here.
6060 Let syntax-propertize-function take precedence.
6061 (font-lock-fontify-syntactically-region): Cal syntax-propertize.
6063 * emacs-lisp/syntax.el (syntax-propertize-function)
6064 (syntax-propertize-chunk-size, syntax-propertize--done)
6065 (syntax-propertize-extend-region-functions): New vars.
6066 (syntax-propertize-wholelines, syntax-propertize-multiline)
6067 (syntax-propertize--shift-groups, syntax-propertize-via-font-lock)
6068 (syntax-propertize): New functions.
6069 (syntax-propertize-rules): New macro.
6070 (syntax-ppss-flush-cache): Set syntax-propertize--done.
6071 (syntax-ppss): Call syntax-propertize.
6073 * emacs-lisp/regexp-opt.el (regexp-opt-depth): Skip named groups.
6075 2010-09-10 Agustín Martín <agustin.martin@hispalinux.es>
6077 * textmodes/ispell.el (ispell-init-process): Improve comments.
6078 XEmacs compatibility changes regarding (add-hook) 'local option
6079 and (set-process-query-on-exit-flag).
6081 2010-09-09 Michael Albinus <michael.albinus@gmx.de>
6083 * net/tramp-cache.el (tramp-parse-connection-properties):
6084 Set tramp-autoload cookie.
6086 2010-09-09 Glenn Morris <rgm@gnu.org>
6088 * image.el (imagemagick-types-inhibit): Add :type, :version, :group.
6089 (imagemagick-register-types): Doc fix.
6091 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
6093 * progmodes/octave-mod.el (electric-indent-chars): Silence bytecomp.
6095 * progmodes/js.el (require): Require is already "eval-and-compile".
6096 (js--re-search-forward): Avoid `eval'. Preserve the error data.
6097 (js--re-search-backward): Use js--re-search-forward.
6099 * progmodes/fortran.el (fortran-line-length): Don't recompute
6100 syntactic keywords redundantly a second time.
6102 * progmodes/ada-mode.el: Replace "(set '" with setq.
6103 (ada-mode): Simplify.
6104 (ada-create-case-exception, ada-adjust-case-interactive)
6105 (ada-adjust-case-region, ada-format-paramlist, ada-indent-current)
6106 (ada-search-ignore-string-comment, ada-move-to-start)
6107 (ada-move-to-end): Use with-syntax-table.
6109 * font-lock.el (save-buffer-state): Remove `varlist' arg.
6110 (font-lock-unfontify-region, font-lock-default-fontify-region):
6111 Update usage correspondingly.
6112 (font-lock-fontify-syntactic-keywords-region):
6113 Set parse-sexp-lookup-properties buffer-locally here.
6114 (font-lock-fontify-syntactically-region): Remove unused `ppss' arg.
6116 * simple.el (blink-matching-open): Don't burp if we can't find a match.
6118 2010-09-08 Glenn Morris <rgm@gnu.org>
6120 * emacs-lisp/bytecomp.el (byte-compile-report-ops):
6121 Error if not compiled with -DBYTE_CODE_METER.
6123 * emacs-lisp/bytecomp.el (byte-recompile-directory):
6124 Ignore dir-locals-file.
6126 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
6128 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6130 (compilation-error-regexp-alist-alist): Rule out ": " in file names
6131 for the `gnu' messages.
6132 (compilation-set-skip-threshold): New command.
6133 (compilation-start): Use \' rather than $.
6134 (compilation-forget-errors): Use clrhash.
6136 2010-09-08 Agustín Martín <agustin.martin@hispalinux.es>
6138 * textmodes/ispell.el (ispell-valid-dictionary-list):
6141 2010-09-08 Michael Albinus <michael.albinus@gmx.de>
6143 Migrate to Tramp 2.2. Rearrange load dependencies.
6144 (Bug#1529, Bug#5448, Bug#5705)
6146 * Makefile.in (TRAMP_DIR, TRAMP_SRC): New variables.
6147 ($(TRAMP_DIR)/tramp-loaddefs.el): New target.
6148 (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
6150 * net/tramp.el (top): Remove all other tramp-* loads except
6151 tramp-compat.el. Remove all changes to tramp-unload-hook for
6152 other tramp-* packages. Rearrange defun order. Change calls of
6153 `tramp-compat-call-process', `tramp-compat-decimal-to-octal',
6154 `tramp-compat-octal-to-decimal' to new function names.
6155 (tramp-terminal-type, tramp-initial-end-of-output)
6156 (tramp-methods, tramp-foreign-file-name-handler-alist)
6157 (tramp-tramp-file-p, tramp-completion-mode-p)
6158 (tramp-send-command-and-check, tramp-get-remote-path)
6159 (tramp-get-remote-tmpdir, tramp-get-remote-ln)
6160 (tramp-shell-quote-argument): Set tramp-autoload cookie.
6161 (with-file-property, with-connection-property): Move to
6163 (tramp-local-call-process, tramp-decimal-to-octal)
6164 (tramp-octal-to-decimal): Move to tramp-compat.el.
6165 (tramp-handle-shell-command): Do not require 'shell.
6166 (tramp-compute-multi-hops): No special handling for tramp-gw-*
6168 (tramp-unload-tramp): Do not call `tramp-unload-file-name-handlers'.
6170 * net/tramp-cache.el (top): Require 'tramp. Add to
6171 `tramp-unload-hook'.
6172 (tramp-cache-data, tramp-get-file-property)
6173 (tramp-set-file-property, tramp-flush-file-property)
6174 (tramp-flush-directory-property, tramp-get-connection-property)
6175 (tramp-set-connection-property, tramp-flush-connection-property)
6176 (tramp-cache-print, tramp-list-connections): Set tramp-autoload
6178 (with-file-property, with-connection-property): New defuns, moved
6180 (tramp-flush-file-function): Use `with-parsed-tramp-file-name'
6183 * net/tramp-cmds.el (top): Add to `tramp-unload-hook'.
6184 (tramp-version): Set tramp-autoload cookie.
6186 * net/tramp-compat.el (top): Require 'tramp-loaddefs. Remove all
6187 changes to tramp-unload-hook for other tramp-* packages. Add to
6188 `tramp-unload-hook'.
6189 (tramp-compat-decimal-to-octal, tramp-compat-octal-to-decimal)
6190 (tramp-compat-call-process): New defuns, moved from tramp.el.
6192 * net/tramp-fish.el (top) Require just 'tramp. Add objects to
6193 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
6194 Add to `tramp-unload-hook'. Change call of
6195 `tramp-compat-decimal-to-octal' to new function name.
6196 (tramp-fish-method): Make it a defconst.
6197 (tramp-fish-file-name-p): Make it a defsubst.
6198 (tramp-fish-method, tramp-fish-file-name-handler)
6199 (tramp-fish-file-name-p): Set tramp-autoload cookie.
6201 * net/tramp-ftp.el (top) Add objects to `tramp-methods' and
6202 `tramp-foreign-file-name-handler-alist'. Add to
6203 `tramp-unload-hook'.
6204 (tramp-ftp-method): Make it a defconst.
6205 (tramp-ftp-file-name-p): Make it a defsubst.
6206 (tramp-ftp-method, tramp-ftp-file-name-handler)
6207 (tramp-ftp-file-name-p): Set tramp-autoload cookie.
6209 * net/tramp-gvfs.el (top) Add objects to `tramp-methods' and
6210 `tramp-foreign-file-name-handler-alist'. Add to
6211 `tramp-unload-hook'. Change checks, whether package can be
6213 (tramp-gvfs-file-name-p): Make it a defsubst.
6214 (tramp-gvfs-methods, tramp-gvfs-file-name-handler)
6215 (tramp-gvfs-file-name-p): Set tramp-autoload cookie.
6216 (tramp-gvfs-handle-file-directory-p): New defun.
6217 (tramp-gvfs-file-name-handler-alist): Use it.
6219 * net/tramp-gw.el (top) Add objects to `tramp-methods' and
6220 `tramp-foreign-file-name-handler-alist'. Add to
6221 `tramp-unload-hook'.
6222 (tramp-gw-tunnel-method, tramp-gw-default-tunnel-port)
6223 (tramp-gw-socks-method, tramp-gw-default-socks-port): Make it a
6225 (tramp-gw-tunnel-method, tramp-gw-socks-method)
6226 (tramp-gw-open-connection): Set tramp-autoload cookie.
6228 * net/tramp-imap.el (top) Require just 'tramp. Add objects to
6229 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
6230 Add to `tramp-unload-hook'. Change checks, whether package can be
6232 (tramp-imap-file-name-p): Make it a defsubst.
6233 (tramp-imap-method, tramp-imaps-method)
6234 (tramp-imap-file-name-handler)
6235 (tramp-imap-file-name-p): Set tramp-autoload cookie.
6237 * net/tramp-smb.el (top) Require just 'tramp. Add objects to
6238 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
6239 Add to `tramp-unload-hook'. Change checks, whether package can be
6240 loaded. Change call of `tramp-compat-decimal-to-octal' to new
6242 (tramp-smb-tunnel-method): Make it a defconst.
6243 (tramp-smb-file-name-p): Make it a defsubst.
6244 (tramp-smb-method, tramp-smb-file-name-handler)
6245 (tramp-smb-file-name-p): Set tramp-autoload cookie.
6247 * net/tramp-uu.el (top) Add to `tramp-unload-hook'.
6248 (tramp-uuencode-region): Set tramp-autoload cookie.
6250 * net/trampver.el (top) Add to `tramp-unload-hook'.
6251 (tramp-version, tramp-bug-report-address): Set tramp-autoload
6252 cookie. Update release number.
6254 2010-09-07 Agustín Martín <agustin.martin@hispalinux.es>
6256 * textmodes/ispell.el (ispell-start-process): Make sure original
6257 arg list is properly initialized (Bug#6993, Bug#6994).
6259 2010-09-06 Alexander Klimov <alserkli@inbox.ru> (tiny change)
6261 * files.el (directory-abbrev-alist): Use \` as default regexp.
6263 * emacs-lisp/rx.el (rx-any): Don't explode ranges that end in special
6264 chars like - or ] (bug#6984).
6265 (rx-any-condense-range): Explode 2-char ranges.
6267 2010-09-06 Glenn Morris <rgm@gnu.org>
6269 * desktop.el (desktop-path): Bump :version after 2009-09-15 change.
6271 2010-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
6273 * textmodes/bibtex.el:
6274 * proced.el: Update to new email for Roland Winkler <winkler@gnu.org>.
6276 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
6278 * net/imap.el (imap-message-map): Remove optional buffer parameter,
6279 since no callers use it.
6280 (imap-message-get): Ditto.
6281 (imap-message-put): Ditto.
6282 (imap-mailbox-map): Ditto.
6283 (imap-mailbox-put): Ditto.
6284 (imap-mailbox-get): Ditto.
6285 (imap-mailbox-get): Revert last change for this function.
6287 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
6289 * net/imap.el (imap-fetch-safe): Remove function, and alter all
6290 callers to use `imap-fetch' instead. According to the comments, this
6291 should be safe, since all other IMAP clients use the 1:* syntax.
6292 (imap-enable-exchange-bug-workaround): Remove.
6293 (imap-debug): Remove -- doesn't seem very useful.
6295 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
6297 * net/imap.el (imap-log): New convenience function used throughout
6298 instead of repeating the same code all over the place.
6300 2010-09-05 David De La Harpe Golden <david@harpegolden.net>
6302 * mouse.el (mouse-save-then-kill): Save region to kill-ring
6303 when mouse-drag-copy-region is non-nil (Bug#6956).
6305 2010-09-05 Chong Yidong <cyd@stupidchicken.com>
6307 * dired.el (dired-ls-sorting-switches, dired-sort-by-name-regexp):
6308 Improve regexps (Bug#6987).
6309 (dired-sort-toggle): Search more robustly for -t flag.
6311 * files.el (get-free-disk-space): Search more robustly for
6312 "available" column. Suggested by Ehud Karni
6313 <ehud@unix.mvs.co.il>.
6315 2010-09-05 Juanma Barranquero <lekktu@gmail.com>
6317 * international/uni-bidi.el:
6318 * international/uni-category.el:
6319 * international/uni-combining.el:
6320 * international/uni-decimal.el:
6321 * international/uni-mirrored.el:
6322 * international/uni-name.el: Regenerate.
6324 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
6326 * electric.el (electric-indent-post-self-insert-function):
6327 Don't reindent with a sloppy indentation function.
6329 * emacs-lisp/syntax.el (syntax-ppss): More sanity check to catch
6330 border case in change-log-mode.
6332 2010-09-04 Chong Yidong <cyd@stupidchicken.com>
6334 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6335 Remove ruby regexp; handle Ruby errors with gcc-include and gnu.
6336 Recognize leading tab in gcc-include regexp. Ignore names with
6337 leading "from" or "in" in gnu regexp (Bug#6937).
6339 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
6341 Avoid global recursive calls to kill-buffer-hooks; fit into 80 cols.
6342 * textmodes/ispell.el (ispell-process-buffer-name): Remove.
6343 (ispell-start-process): Avoid setq and simplify logic.
6344 (ispell-init-process): Setup kill-buffer-hook locally when needed.
6345 (kill-buffer-hook): Don't use it globally with code that uses
6346 expand-file-name since that may call kill-buffer via
6347 code_conversion_restore.
6349 2010-09-04 Noorul Islam K M <noorul@noorul.com> (tiny change)
6351 * emacs-lisp/package.el (package-directory-list): Only call
6352 file-name-nondirectory on a string.
6354 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
6356 * emacs-lisp/package.el (package--download-one-archive):
6357 Ensure that archive-contents is valid before saving it.
6358 (package-activate-1, package-mark-obsolete, define-package)
6359 (package-compute-transaction, package-list-maybe-add): Use push.
6361 2010-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
6363 Use SMIE's blink-paren for octave-mode.
6364 * progmodes/octave-mod.el (octave-font-lock-close-quotes):
6365 Backslashes do not escape single-quotes, single-quotes do.
6366 (octave-block-else-regexp, octave-block-end-regexp)
6367 (octave-block-match-alist): Remove.
6368 (octave-smie-bnf-table): New var, with old content.
6369 (octave-smie-op-levels): Use it.
6370 (octave-smie-closer-alist): New var.
6371 (octave-mode): Use it. Setup smie-blink-matching and electric-indent.
6372 (octave-blink-matching-block-open): Remove.
6373 (octave-reindent-then-newline-and-indent, octave-electric-semi)
6374 (octave-electric-space): Let self-insert-command run expand-abbrev and
6377 * electric.el (electricity): New group.
6378 (electric-indent-chars): New var.
6379 (electric-indent-post-self-insert-function): New fun.
6380 (electric-indent-mode): New minor mode.
6381 (electric-pair-skip-self): New custom.
6382 (electric-pair-post-self-insert-function): New function.
6383 (electric-pair-mode): New minor mode.
6385 * calc/calc-aent.el (calcAlg-blink-matching-check): New fun, to replace
6386 calcAlg-blink-matching-open.
6387 (calc-alg-ent-map, calc-alg-ent-esc-map): Initialize in the declaration.
6388 (calc-do-alg-entry): Only touch the part of the keymap that varies.
6389 Use the new blink-matching-check-function.
6391 Provide blink-matching support to SMIE.
6392 * emacs-lisp/smie.el (smie-bnf-closer-alist): New function.
6393 (smie-blink-matching-triggers, smie-blink-matching-inners): New vars.
6394 (smie-blink-matching-check, smie-blink-matching-open): New functions.
6396 * simple.el (newline): Fix last change to properly remove itself from
6399 2010-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
6401 * simple.el (newline): Eliminate optimization.
6402 Use post-self-insert-hook to set hard-newline and things before
6403 running post-self-insert-hook.
6404 (blink-matching-check-mismatch): New function.
6405 (blink-matching-check-function): New variable.
6406 (blink-matching-open): Use them.
6407 Skip back forward over prefix chars skipped by forward-sexp.
6408 Don't check if the parens are backslash escaped.
6409 (blink-paren-post-self-insert-function): Check backslash escaping here.
6411 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
6413 * emacs-lisp/package.el (package-menu-mode-map):
6414 Change package-menu-revert bindings to revert-buffer.
6415 (package-menu-mode): Set revert-buffer-function.
6416 (package-menu-revert): Doc fix.
6418 2010-09-02 Agustín Martín <agustin.martin@hispalinux.es>
6420 * textmodes/ispell.el (ispell-init-process): Use "~/" as
6421 `default-directory' unless using Ispell per-directory personal
6422 dictionaries and not in a mini-buffer under XEmacs.
6423 (kill-buffer-hook): Do not kill ispell process on exit when
6424 `ispell-process-directory' is "~/". (Bug#6143)
6426 2010-09-02 Jan Djärv <jan.h.d@swipnet.se>
6428 * simple.el (kill-new): Call interprogram-cut-function with only
6431 * term.el (term-mouse-paste): Don't call x-get-cutbuffer.
6432 Remove cut buffer from error message.
6434 * term/x-win.el (x-select-text):
6435 * term/pc-win.el (x-selection-value):
6436 * term/ns-win.el (x-selection-value):
6437 * eshell/em-term.el:
6438 * w32-fns.el (x-get-selection-value):
6439 * mouse-sel.el (mouse-sel-set-selection-function):
6440 * frame.el (display-selections-p): Remove cut-buffer in documentation.
6442 * term/x-win.el: Update documentation for x-last-selected-text-*.
6443 (x-last-selected-text-cut, x-last-selected-text-cut-encoded)
6444 (x-last-cut-buffer-coding, x-cut-buffer-max): Remove.
6445 (x-select-text): Remove argument PUSH, update documentation.
6446 Remove cut-buffer code.
6447 (x-selection-value-internal): Was previously x-selection-value.
6448 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
6449 Update documentation, remove cut-buffer code.
6450 Call x-selection-value-internal.
6451 (x-clipboard-yank): Call x-selection-value-internal.
6452 (x-initialize-window-system): Remove setting of x-cut-buffer-max.
6454 * term/pc-win.el (x-last-selected-text):
6455 x-cut-buffer-or-selection-value renamed to x-selection-value
6456 (x-select-text): Remove argument PUSH, update documentation.
6458 * term/ns-win.el (x-setup-function-keys, ns-last-selected-text):
6459 x-cut-buffer-or-selection-value renamed to x-selection-value
6460 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
6461 (x-select-text): Remove argument PUSH, update documentation.
6463 * emacs-lisp/cl-macs.el (x-get-cutbuffer, x-get-cut-buffer): Remove.
6465 * w32-fns.el (x-last-selected-text):
6466 x-cut-buffer-or-selection-value renamed to x-selection-value.
6467 (x-cut-buffer-max): Remove.
6468 (x-select-text): Remove argument PUSH, update documentation.
6470 * simple.el (interprogram-cut-function): Remove mention of PUSH.
6472 * select.el (x-get-cut-buffer, x-set-cut-buffer): Remove.
6474 * mouse-sel.el (mouse-sel-get-selection-function):
6475 x-cut-buffer-or-selection-value renamed to x-selection-value.
6476 (x-select-text): Remove optional push.
6478 2010-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
6480 * simple.el (blink-paren-function): Move from C to here.
6481 (blink-paren-post-self-insert-function): New function.
6482 (post-self-insert-hook): Use it.
6484 * emacs-lisp/pcase.el (pcase-split-memq):
6485 Fix overenthusiastic optimisation.
6486 (pcase-u1): Handle the case of a lambda pred.
6488 2010-08-31 Kenichi Handa <handa@m17n.org>
6490 * international/mule-cmds.el (standard-display-european-internal):
6491 Setup standard-display-table for 8-bit characters by storing 8-bit
6492 characters in the element vector.
6494 * disp-table.el (standard-display-8bit):
6495 Setup standard-display-table for 8-bit characters by storing 8-bit
6496 characters in the element vector.
6497 (standard-display-european): Likewise.
6499 2010-08-31 Masatake YAMATO <yamato@redhat.com>
6501 * textmodes/nroff-mode.el (nroff-view): New command.
6502 (nroff-mode-map): Bind it to C-c C-c.
6504 2010-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
6506 * emacs-lisp/smie.el (smie-down-list): New command.
6508 Remove old indentation and navigation code on octave-mode.
6509 * progmodes/octave-mod.el (octave-mode-map): Remap down-list to
6510 smie-down-list rather than add a binding for octave-down-block.
6511 (octave-mark-block, octave-blink-matching-block-open):
6512 Rely on forward-sexp-function.
6513 (octave-fill-paragraph): Don't narrow, so you can use
6514 indent-according-to-mode.
6515 (octave-block-begin-regexp, octave-block-begin-or-end-regexp): Remove.
6516 (octave-in-block-p, octave-re-search-forward-kw)
6517 (octave-re-search-backward-kw, octave-indent-calculate)
6518 (octave-end-as-array-index-p, octave-block-end-offset)
6519 (octave-scan-blocks, octave-forward-block, octave-backward-block)
6520 (octave-down-block, octave-backward-up-block, octave-up-block)
6521 (octave-before-magic-comment-p, octave-indent-line): Remove.
6523 2010-08-31 Chong Yidong <cyd@stupidchicken.com>
6525 * emacs-lisp/package.el (package--read-archive-file): Just use
6526 `read', to avoid copying an additional string.
6527 (package-menu-mode): Set header-line-format here.
6528 (package-menu-refresh, package-menu-revert): Signal an error if
6529 not in the Package Menu.
6530 (package-menu-package-list): New var.
6531 (package--generate-package-list): Operate on the current buffer;
6532 don't assume that it is *Packages*, since the user may rename it.
6533 Allow persistent package listings and sort keys using
6534 package-menu-package-list and package-menu-package-sort-key.
6535 (package-menu--version-predicate): Fix version calculation.
6536 (package-menu-sort-by-column): Don't select the window.
6537 (package--list-packages): Create the *Packages* buffer.
6538 Set package-menu-package-list-key.
6539 (list-packages): Sorting by status is now the default.
6540 (package-buffer-info): Use match-string-no-properties.
6541 (define-package): Add a &rest argument for future proofing, but
6543 (package-install-from-buffer, package-install-buffer-internal):
6544 Merge into a single function, package-install-from-buffer.
6545 (package-install-file): Change caller.
6547 * finder.el: Load finder-inf using `require'.
6548 (finder-list-matches): Sorting by status is now the default.
6549 (finder-compile-keywords): Simpify printing.
6551 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
6553 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
6554 (octave-mode-map): Remove special bindings for forward/backward-block
6555 and octave-backward-up-block. Use smie-close-block.
6556 (octave-continuation-marker-regexp): New var.
6557 (octave-continuation-regexp): Use it.
6558 (octave-operator-table, octave-smie-op-levels)
6559 (octave-operator-regexp, octave-smie-indent-rules): New vars.
6560 (octave-smie-backward-token, octave-smie-forward-token): New funs.
6561 (octave-mode): Use SMIE.
6562 (octave-close-block): Delete.
6564 2010-08-30 Eli Zaretskii <eliz@gnu.org>
6566 * menu-bar.el (menu-bar-edit-menu) <"Paste">: Check selection in
6567 CLIPBOARD, not in PRIMARY. (Bug#6944)
6569 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
6571 * emacs-lisp/smie.el (smie-indent-offset-rule): Let :parent take
6573 (smie-indent-column): Allow indirection through variables.
6575 * composite.el (save-buffer-state): Delete, unused.
6576 * font-lock.el (save-buffer-state): Use with-silent-modifications.
6577 (font-lock-default-fontify-region): Use with-syntax-table.
6578 * jit-lock.el (with-buffer-unmodified): Remove.
6579 (with-buffer-prepared-for-jit-lock): Use with-silent-modifications.
6581 Use `declare' in defmacros.
6582 * window.el (save-selected-window):
6583 * subr.el (with-temp-file, with-temp-message, with-syntax-table):
6584 * progmodes/python.el (def-python-skeleton):
6585 * net/dbus.el (dbus-ignore-errors):
6586 * jka-cmpr-hook.el (with-auto-compression-mode):
6587 * international/mule.el (with-category-table):
6588 * emacs-lisp/timer.el (with-timeout):
6589 * emacs-lisp/lisp-mnt.el (lm-with-file):
6590 * emacs-lisp/eieio.el (with-slots):
6591 * emacs-lisp/easymenu.el (easy-menu-define):
6592 * emacs-lisp/debug.el (debugger-env-macro):
6593 * emacs-lisp/cl-compat.el (Multiple-value-bind, Multiple-value-setq)
6594 (Multiple-value-call, Multiple-value-prog1):
6595 * emacs-lisp/cl-seq.el (cl-parsing-keywords, cl-check-key)
6596 (cl-check-test-nokey, cl-check-test, cl-check-match): Move indent and
6597 edebug rule to definition.
6598 * emacs-lisp/lisp-mode.el (save-selected-window)
6599 (with-current-buffer, combine-after-change-calls)
6600 (with-output-to-string, with-temp-file, with-temp-buffer)
6601 (with-temp-message, with-syntax-table, read-if, eval-after-load)
6602 (dolist, dotimes, when, unless):
6603 * emacs-lisp/byte-run.el (inline): Remove indent rule, redundant.
6605 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
6607 * finder.el: Require `package'.
6608 (finder-known-keywords): Tweak descriptions. Retire `oop' keyword.
6609 (finder-package-info): Var deleted.
6610 (finder-keywords-hash, finder--builtins-alist): New vars.
6611 (finder-compile-keywords): Compute package--builtins and
6612 finder-keywords-hash instead of finder-keywords-hash, respecting
6613 the "Package" header.
6614 (finder-unknown-keywords, finder-list-matches):
6615 Use finder-keywords-hash and package--list-packages.
6616 (finder-mode): Don't set font-lock-defaults.
6617 (finder-exit): We don't use "*Finder-package*" and "*Finder
6618 Category*" buffers anymore.
6620 * emacs-lisp/package.el (package--builtins-base): Var deleted.
6621 (package--builtins): Set default value to nil.
6622 (package-initialize): Load precomputed value of package--builtins
6624 (package-alist, package-compute-transaction)
6625 (package-download-transaction): Improve docstring.
6626 (package-read-all-archive-contents): Do not change
6627 package--builtins here.
6628 (list-packages): Make package-list-packages an alias for this.
6629 Sort by status by default.
6630 (package--list-packages): Add optional PACKAGES arg.
6631 (describe-package-1): Use font-lock-face property. For built-in
6632 packages, insert file commentary.
6633 (package--generate-package-list): Rename from
6634 package-list-packages-internal; all callers changed. Add optional
6635 PACKAGES arg. Add alphabetical sort fallbacks.
6636 (package-menu--version-predicate, package-menu--status-predicate)
6637 (package-menu--description-predicate)
6638 (package-menu--name-predicate): New functions.
6640 * info.el (Info-finder-find-node): Search package-alist instead of
6641 finder-package-info.
6643 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
6645 * subr.el (version-regexp-alist): Don't use "a" and "b" for
6647 (version-to-list): Handle versions like "10.3d".
6649 2010-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6651 * emacs-lisp/macroexp.el (macroexpand-all-1): Use pcase.
6652 (macroexp-accumulate): Use `declare'.
6654 2010-08-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
6656 * whitespace.el (whitespace-style): Adjust type declaration.
6658 2010-08-26 Magnus Henoch <magnus.henoch@gmail.com>
6660 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
6661 empty argument to gvfs-copy.
6663 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
6665 * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
6666 handle new TRASH arg of `delete-file'.
6668 2010-08-26 Christian Lynbech <christian.lynbech@tieto.com> (tiny change)
6670 * net/tramp.el (tramp-handle-insert-directory): Don't use
6671 `forward-word', its default syntax could be changed.
6673 2010-08-26 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
6674 Michael Albinus <michael.albinus@gmx.de>
6676 Implement compression for inline methods.
6678 * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
6679 (tramp-copy-size-limit): Allow also nil.
6680 (tramp-inline-compress-commands): New defconst.
6681 (tramp-find-inline-compress, tramp-get-inline-compress)
6682 (tramp-get-inline-coding): New defuns.
6683 (tramp-get-remote-coding, tramp-get-local-coding): Remove,
6684 replaced by `tramp-get-inline-coding'.
6685 (tramp-handle-file-local-copy, tramp-handle-write-region)
6686 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
6688 2010-08-26 Noah Lavine <noah549@gmail.com> (tiny change)
6690 Detect ssh 'ControlMaster' argument automatically in some cases.
6692 * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
6693 (tramp-default-method): Use it.
6695 2010-08-26 Karel Klíč <kklic@redhat.com>
6697 * net/tramp.el (tramp-file-name-for-operation):
6698 Add file-selinux-context.
6700 2010-08-26 Łukasz Stelmach <lukasz.stelmach@iem.pw.edu.pl> (tiny change)
6702 * play/cookie1.el (read-cookie): Fix off-by-one error (bug#6921).
6704 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
6706 * simple.el (beginning-of-buffer, end-of-buffer): Doc fix
6709 2010-08-26 Nathan Weizenbaum <nweiz@cressida.sea.corp.google.com> (tiny change)
6711 * progmodes/js.el: Make indentation more customizable (Bug#6914).
6712 (js-paren-indent-offset, js-square-indent-offset)
6713 (js-curly-indent-offset): New options.
6714 (js--proper-indentation): Use them.
6716 2010-08-26 Daniel Colascione <dan.colascione@gmail.com>
6718 * progmodes/sh-script.el (sh-get-indent-info): Use syntax-ppss
6719 instead of inspecting font-lock properties (Bug#6916).
6721 2010-08-26 David Reitter <david.reitter@gmail.com>
6723 * server.el (server-visit-files): Run pre-command-hook and
6724 post-command-hook for each buffer while it is current (Bug#6910).
6725 (server-execute): Do not run hooks here.
6727 2010-08-26 Michael Albinus <michael.albinus@gmx.de>
6729 Sync with Tramp 2.1.19.
6731 * net/tramp-cmds.el (tramp-cleanup-all-connections)
6732 (tramp-reporter-dump-variable, tramp-load-report-modules)
6733 (tramp-append-tramp-buffers): Use `tramp-compat-funcall'.
6734 (tramp-bug): Recommend setting of `tramp-verbose' to 9.
6736 * net/tramp-compat.el (top): Do not autoload
6737 `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el
6738 only when `start-file-process' is not bound.
6739 (byte-compile-not-obsolete-vars): Define if not bound.
6740 (tramp-compat-funcall): New defmacro.
6741 (tramp-compat-line-beginning-position)
6742 (tramp-compat-line-end-position)
6743 (tramp-compat-temporary-file-directory)
6744 (tramp-compat-make-temp-file, tramp-compat-file-attributes)
6745 (tramp-compat-copy-file, tramp-compat-copy-directory)
6746 (tramp-compat-delete-file, tramp-compat-delete-directory)
6747 (tramp-compat-number-sequence, tramp-compat-process-running-p):
6749 (tramp-advice-file-expand-wildcards): Do not use
6750 `tramp-handle-file-remote-p'.
6751 (tramp-compat-make-temp-file): Simplify fallback implementation.
6752 (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
6753 (tramp-compat-copy-tree): Remove function.
6754 (tramp-compat-delete-file): New defun.
6755 (tramp-compat-delete-directory): Provide implementation for older
6757 (tramp-compat-file-attributes): Handle only
6758 `wrong-number-of-arguments' error.
6760 * net/tramp-fish.el (tramp-fish-handle-copy-file):
6761 Add PRESERVE_SELINUX_CONTEXT.
6762 (tramp-fish-handle-delete-file): Add TRASH arg.
6763 (tramp-fish-handle-directory-files-and-attributes):
6764 Do not use `tramp-fish-handle-file-attributes.
6765 (tramp-fish-handle-file-local-copy)
6766 (tramp-fish-handle-insert-file-contents)
6767 (tramp-fish-maybe-open-connection): Use `with-progress-reporter'.
6769 * net/tramp-gvfs.el (top): Require url-util.
6770 (tramp-gvfs-mount-point): Remove.
6771 (tramp-gvfs-file-name-handler-alist): Add `file-selinux-context'
6772 and `set-file-selinux-context'.
6773 (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command)
6774 (tramp-gvfs-handle-file-selinux-context)
6775 (tramp-gvfs-handle-set-file-selinux-context): New defuns.
6776 (with-tramp-dbus-call-method): Format trace message.
6777 (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
6778 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
6779 Implement backup call, when operation on local files fails.
6780 Use progress reporter. Flush properties of changed files.
6781 (tramp-gvfs-handle-delete-file): Add TRASH arg.
6782 Use `tramp-compat-delete-file'.
6783 (tramp-gvfs-handle-expand-file-name): Expand "~/".
6784 (tramp-gvfs-handle-make-directory): Make more traces.
6785 (tramp-gvfs-handle-write-region): Protect deleting tmpfile.
6786 (tramp-gvfs-url-file-name): Hexify file name in url.
6787 (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
6788 into account for the resulting file name.
6789 (tramp-gvfs-handler-askquestion): Preserve current message, in
6790 order to let progress reporter continue afterwards. (Bug#6257)
6791 Return dummy mountpoint, when the answer is "no".
6792 See `tramp-gvfs-maybe-open-connection'.
6793 (tramp-gvfs-handler-mounted-unmounted)
6794 (tramp-gvfs-connection-mounted-p): Test also for new mountspec
6795 attribute "default_location". Set "prefix" property.
6796 Handle default-location.
6797 (tramp-gvfs-mount-spec): Return both prefix and mountspec.
6798 (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
6799 exists. Raise an error, if not (due to a corresponding answer
6800 "no" in interactive questions, for example).
6801 Use `tramp-compat-funcall'.
6803 * net/tramp-imap.el (top): Autoload `epg-make-context'.
6804 (tramp-imap-handle-copy-file): Add PRESERVE-SELINUX-CONTEXT.
6805 (tramp-imap-do-copy-or-rename-file)
6806 (tramp-imap-handle-insert-file-contents)
6807 (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
6808 (tramp-imap-handle-delete-file): Add TRASH arg.
6810 * net/tramp-smb.el (tramp-smb-handle-copy-file):
6811 Add PRESERVE-SELINUX-CONTEXT.
6812 (tramp-smb-handle-copy-file)
6813 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
6814 (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
6815 Use `with-progress-reporter'.
6816 (tramp-smb-handle-delete-file): Add TRASH arg.
6818 * net/tramp.el (tramp-methods): Move hostname to the end in all
6819 ssh `tramp-login-args'. Add `tramp-async-args' attribute where
6821 (tramp-verbose): Describe verbose level 9.
6822 (tramp-completion-function-alist)
6823 (tramp-file-name-regexp, tramp-chunksize)
6824 (tramp-local-coding-commands, tramp-remote-coding-commands)
6825 (with-connection-property, tramp-completion-mode-p)
6826 (tramp-action-process-alive, tramp-action-out-of-band)
6827 (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
6828 (tramp-exists-file-name-handler): Fix docstring.
6829 (tramp-remote-process-environment): Use `format' instead of
6830 `concat'. Protect version string by apostroph.
6831 (tramp-shell-prompt-pattern): Do not use a shy group in case of
6833 (tramp-file-name-regexp-unified)
6834 (tramp-completion-file-name-regexp-unified): On W32 systems, do
6835 not regard the volume letter as remote filename. (Bug#5447)
6836 (tramp-perl-file-attributes)
6837 (tramp-perl-directory-files-and-attributes): Don't pass "$3".
6838 (tramp-vc-registered-read-file-names): Read input as
6839 here-document, otherwise the command could exceed maximum length
6841 (tramp-file-name-handler-alist): Add `file-selinux-context' and
6842 `set-file-selinux-context'.
6843 (tramp-debug-message): Add `tramp-compat-funcall' to ignored
6844 backtrace functions.
6845 (tramp-error-with-buffer): Don't show the connection buffer when
6846 we are in completion mode.
6847 (tramp-progress-reporter-update, tramp-remote-selinux-p)
6848 (tramp-handle-file-selinux-context)
6849 (tramp-handle-set-file-selinux-context, tramp-process-sentinel)
6850 (tramp-connectable-p, tramp-open-shell, tramp-get-remote-trash):
6852 (with-progress-reporter): New defmacro.
6853 (tramp-debug-outline-regexp): New defconst.
6854 (top, tramp-rfn-eshadow-setup-minibuffer)
6855 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
6856 (tramp-handle-dired-compress-file, tramp-handle-shell-command)
6857 (tramp-completion-mode-p, tramp-check-for-regexp)
6858 (tramp-open-connection-setup-interactive-shell)
6859 (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
6860 (tramp-time-diff, tramp-coding-system-change-eol-conversion)
6861 (tramp-set-process-query-on-exit-flag, tramp-unload-tramp):
6862 Use `tramp-compat-funcall'.
6863 (tramp-handle-make-symbolic-link): Flush file properties.
6864 (tramp-handle-load, tramp-handle-file-local-copy)
6865 (tramp-handle-insert-file-contents, tramp-handle-write-region)
6866 (tramp-handle-vc-registered, tramp-maybe-send-script)
6867 (tramp-find-shell): Use `with-progress-reporter'.
6868 (tramp-do-file-attributes-with-stat): Add space in format string,
6869 in order to work around a bug in pdksh. Reported by Gilles Pion
6871 (tramp-handle-verify-visited-file-modtime): Do not send a command
6872 when the connection is not established.
6873 (tramp-handle-set-file-times): Simplify the check for utc.
6874 (tramp-handle-directory-files-and-attributes)
6875 (tramp-get-remote-path): Use `copy-tree'.
6876 (tramp-completion-handle-file-name-all-completions): Ensure, that
6877 non remote files are still checked. Oops.
6878 (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
6879 Handle PRESERVE-SELINUX-CONTEXT.
6880 (tramp-do-copy-or-rename-file): Add progress reporter.
6881 (tramp-do-copy-or-rename-file-directly): Do not use
6882 `tramp-handle-file-remote-p'.
6883 (tramp-do-copy-or-rename-file-out-of-band):
6884 Use `tramp-compat-delete-directory'.
6885 (tramp-do-copy-or-rename-file-out-of-band)
6886 (tramp-compute-multi-hops, tramp-maybe-open-connection):
6887 Use `format-spec-make'.
6888 (tramp-handle-delete-file): Add TRASH arg.
6889 (tramp-handle-dired-uncache): Flush directory cache, not only file
6891 (tramp-handle-expand-file-name)
6892 (tramp-completion-handle-file-name-all-completions)
6893 (tramp-completion-handle-file-name-completion):
6894 Use `tramp-connectable-p'.
6895 (tramp-handle-start-file-process): Set connection property "vec".
6896 Use it, in order to invalidate file caches. Check only for
6897 `remote-tty' process property.
6898 Implement tty setting. (Bug#4604, Bug#6360)
6899 (tramp-file-name-for-operation): Add `call-process-region' and
6900 `set-file-selinux-context'.
6901 (tramp-find-foreign-file-name-handler)
6902 (tramp-advice-make-auto-save-file-name)
6903 (tramp-set-auto-save-file-modes): Remove superfluous check for
6904 `stringp'. This is done inside `tramp-tramp-file-p'.
6905 (tramp-file-name-handler): Trace 'quit. Catch the error for some
6906 operations when we are in completion mode. This gives the user
6907 the chance to correct the file name in the minibuffer.
6908 (tramp-completion-mode-p): Use `non-essential'.
6909 (tramp-handle-file-name-all-completions): Backward/ XEmacs
6910 compatibility: Use `completion-ignore-case' if
6911 `read-file-name-completion-ignore-case' does not exist.
6912 (tramp-get-debug-buffer): Use `tramp-debug-outline-regexp'.
6913 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
6915 (tramp-action-password): Hide password prompt before next run.
6916 (tramp-process-actions): Widen connection buffer for the trace.
6917 (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
6918 process property. Trace stty settings if `tramp-verbose' >= 9.
6919 Apply workaround for IRIX64 bug. Move argument of last
6920 `tramp-send-command' where it belongs to.
6921 (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
6922 front of `login-args'.
6923 (tramp-get-ls-command, tramp-get-ls-command-with-dired): Run tests
6924 on "/dev/null" instead of "/".
6925 (tramp-get-ls-command-with-dired): Make test for "--dired"
6927 (tramp-set-auto-save-file-modes): Adapt version check.
6928 (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
6929 (tramp-handle-process-file): Call the program in a subshell, in
6930 order to preserve working directory.
6931 (tramp-handle-shell-command): Don't use hard-wired "/bin/sh" but
6932 `tramp-remote-sh' from `tramp-methods'.
6933 (tramp-get-ls-command): Make test for "--color=never" stronger.
6934 (tramp-check-for-regexp): Use (forward-line 1).
6936 * net/trampver.el: Update release number.
6938 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
6940 * help.el (help-map): Bind `C-h P' to describe-package.
6942 * menu-bar.el (menu-bar-describe-menu): Add describe-package.
6944 * emacs-lisp/package.el (package-refresh-contents): Catch errors
6945 when downloading archives.
6946 (describe-package-1): Add package commentary.
6947 (package-install-button-action): New function.
6948 (package-menu-mode-map): Bind ? to package-menu-describe-package.
6949 (package-menu-view-commentary): Function removed.
6950 (package-list-packages-internal): Hide the `package' package too.
6952 2010-08-25 Kenichi Handa <handa@m17n.org>
6954 * language/misc-lang.el ("Arabic"): New language environment.
6955 Setup composition-function-table for Arabic characters.
6957 * international/fontset.el (setup-default-fontset): Fix typo for
6958 arabic OTF spec (fini->fina).
6960 2010-08-25 Jan Djärv <jan.h.d@swipnet.se>
6962 * menu-bar.el (menu-bar-set-tool-bar-position): Set frame parameter
6965 2010-08-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
6967 * whitespace.el: Allow cleaning up blanks without blank
6968 visualization (Bug#6651). Adjust help window for
6969 whitespace-toggle-options (Bug#6479). Allow to use fill-column
6970 instead of whitespace-line-column (from EmacsWiki). New version
6972 (whitespace-style): Add new value 'face. Adjust docstring.
6973 (whitespace-space, whitespace-hspace, whitespace-tab):
6974 Adjust foreground property face.
6975 (whitespace-line-column): Adjust docstring and type declaration.
6976 (whitespace-style-value-list, whitespace-toggle-option-alist)
6977 (whitespace-help-text): Adjust const initialization.
6978 (whitespace-toggle-options, global-whitespace-toggle-options):
6980 (whitespace-display-window, whitespace-interactive-char)
6981 (whitespace-style-face-p, whitespace-color-on): Adjust code.
6982 (whitespace-help-scroll): New fun.
6984 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
6986 * emacs-lisp/package.el (list-packages): Alias for
6987 package-list-packages.
6989 2010-08-24 Kevin Ryde <user42@zip.com.au>
6991 * textmodes/flyspell.el (flyspell-check-tex-math-command): Doc fix
6994 * progmodes/ruby-mode.el (ruby): Add defgroup.
6996 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
6998 * progmodes/python.el: Add Ipython support (Bug#5390).
6999 (python-shell-prompt-alist)
7000 (python-shell-continuation-prompt-alist): New options.
7001 (python--set-prompt-regexp): New function.
7002 (inferior-python-mode, run-python, python-shell):
7003 Require ansi-color. Use python--set-prompt-regexp to set the comint
7004 prompt based on the Python interpreter.
7005 (python--prompt-regexp): New var.
7006 (python-check-comint-prompt)
7007 (python-comint-output-filter-function): Use it.
7008 (run-python): Use a pipe (Bug#5694).
7010 2010-08-24 Fabian Ezequiel Gallina <galli.87@gmail.com> (tiny change)
7012 * progmodes/python.el (python-send-region): Send a different
7013 Python command if Ipython is in use.
7014 (python-check-version): Use a Python command to find the version.
7016 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
7018 * mouse.el (mouse-yank-primary): Avoid setting primary when
7019 deactivating the mark (Bug#6872).
7021 2010-08-23 Chris Foote <chris@foote.com.au> (tiny change)
7023 * progmodes/python.el (python-block-pairs): Allow use of "finally"
7024 with "else" (Bug#3991).
7026 2010-08-23 Michael Albinus <michael.albinus@gmx.de>
7028 * net/dbus.el: Accept UNIX domain sockets as bus address.
7029 (top): Don't initialize `dbus-registered-objects-table' anymore,
7030 this is done in dbusbind,c.
7031 (dbus-check-event): Adapt test for bus.
7032 (dbus-return-values-table, dbus-unregister-service)
7033 (dbus-event-bus-name, dbus-introspect, dbus-register-property):
7036 2010-08-23 Juanma Barranquero <lekktu@gmail.com>
7038 * ido.el (ido-use-virtual-buffers): Fix typo in docstring.
7040 2010-08-22 Juri Linkov <juri@jurta.org>
7042 * simple.el (read-extended-command): New function with the logic
7043 for `completing-read' moved to Elisp from `execute-extended-command'.
7044 Use `function-called-at-point' in `minibuffer-default-add-function'
7045 to get a command name for M-n (bug#5364, bug#5214).
7047 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
7049 * startup.el (command-line-1): Issue warning for ignored arguments
7050 --unibyte, etc (Bug#6886).
7052 2010-08-22 Leo <sdl.web@gmail.com>
7054 * net/rcirc.el (rcirc-add-or-remove): Accept a list of elements.
7055 (ignore, bright, dim, keyword): Split list of nicknames before
7056 passing to rcirc-add-or-remove (Bug#6894).
7058 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
7060 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix (Bug#6880).
7062 2010-08-22 Leo <sdl.web@gmail.com>
7064 Fix buffer-list rename&refresh after killing a buffer in ido.
7065 * ido.el: Revert Óscar's.
7066 (ido-kill-buffer-at-head): Exit the minibuffer with ido-exit=refresh.
7067 Remember the buffers at head, rather than their name.
7068 * iswitchb.el (iswitchb-kill-buffer): Re-make the list.
7070 2010-08-22 Kirk Kelsey <kirk.kelsey@0x4b.net> (tiny change)
7071 Stefan Monnier <monnier@iro.umontreal.ca>
7073 * progmodes/make-mode.el (makefile-fill-paragraph): Account for the
7074 extra backslash added to each line (bug#6890).
7076 2010-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
7078 * subr.el (read-key): Don't echo keystrokes (bug#6883).
7080 2010-08-22 Glenn Morris <rgm@gnu.org>
7082 * menu-bar.el (menu-bar-games-menu): Add landmark.
7084 2010-08-22 Glenn Morris <rgm@gnu.org>
7086 * align.el (align-regexp): Make group and spacing arguments
7087 use the interactive defaults when non-interactive. (Bug#6698)
7089 * mail/rmail.el (rmail-forward): Replace mail-text-start with its
7090 expansion, so as not to need sendmail.
7091 (mail-text-start): Remove declaration.
7092 (rmail-retry-failure): Require sendmail.
7094 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
7096 * subr.el (read-key): Don't hide the menu-bar entries (bug#6881).
7098 2010-08-22 Michael Albinus <michael.albinus@gmx.de>
7100 * progmodes/flymake.el (flymake-start-syntax-check-process):
7101 Use `start-file-process' in order to let it run also on remote hosts.
7103 2010-08-22 Kenichi Handa <handa@m17n.org>
7105 * files.el: Add `word-wrap' as safe local variable.
7107 2010-08-22 Glenn Morris <rgm@gnu.org>
7109 * woman.el (woman-translate): Case matters. (Bug#6849)
7111 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
7113 * simple.el (kill-region): Doc fix (Bug#6787).
7115 2010-08-22 Glenn Morris <rgm@gnu.org>
7117 * calendar/diary-lib.el (diary-header-line-format):
7118 Fit it to the window, not the frame.
7120 2010-08-22 Andreas Schwab <schwab@linux-m68k.org>
7122 * subr.el (ignore-errors): Add debug declaration.
7124 2010-08-22 Geoff Gole <geoffgole@gmail.com> (tiny change)
7126 * whitespace.el (whitespace-color-off): Remove post-command-hook
7129 2010-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
7131 * vc/add-log.el (add-log-file-name): Don't get confused by symlinks.
7133 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
7135 * cus-edit.el (custom-group-value-create): Add extra newline
7136 before end line (Bug#6876).
7138 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
7140 * mouse.el (mouse-save-then-kill): Don't save region to kill ring
7141 when extending it. Before killing on the second click, check if
7142 the buffer is the correct one. Doc fix.
7143 (mouse-secondary-save-then-kill): Allow usage without first
7144 calling mouse-start-secondary, by defaulting to point. Don't save
7145 an empty secondary selection. Doc fix.
7147 2010-08-21 Vinicius Jose Latorre <viniciusjl@ig.com.br>
7149 * whitespace.el: Fix slow cursor movement (Bug#6172). Reported by
7150 Christoph Groth <cwg@falma.de> and Liu Xin <x_liu@neusoft.com>.
7152 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
7153 Adjust initialization.
7154 (whitespace-bob-marker, whitespace-eob-marker)
7155 (whitespace-buffer-changed): New vars.
7156 (whitespace-cleanup, whitespace-color-on, whitespace-color-off)
7157 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp)
7158 (whitespace-post-command-hook, whitespace-display-char-on):
7160 (whitespace-looking-back, whitespace-buffer-changed): New funs.
7161 (whitespace-space-regexp, whitespace-tab-regexp): Fun eliminated.
7163 2010-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
7165 * files.el (locate-file-completion-table): Only list the .el and .elc
7166 extensions if there's no other choice (bug#5955).
7168 * facemenu.el (facemenu-self-insert-data): New var.
7169 (facemenu-post-self-insert-function, facemenu-set-self-insert-face):
7171 (facemenu-add-face): Use them.
7173 * simple.el (blink-matching-open): Obey forward-sexp-function.
7175 2010-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
7177 * simple.el (prog-mode-map): New var.
7178 (prog-indent-sexp): New command.
7180 * progmodes/octave-mod.el (octave-mode-menu): Make toggle buttons.
7182 * progmodes/prolog.el (smie): Require.
7184 * emacs-lisp/smie.el (smie-default-backward-token)
7185 (smie-default-forward-token): Strip properties.
7186 (smie-next-sexp): Be more careful with associative operators.
7187 (smie-forward-sexp-command): Generalize.
7188 (smie-backward-sexp-command): Simplify.
7189 (smie-closer-alist): New var.
7190 (smie-close-block): New command.
7191 (smie-indent-debug-log): New var.
7192 (smie-indent-offset-rule): Add a few more cases.
7193 (smie-indent-column): New function.
7194 (smie-indent-after-keyword): Use it.
7195 (smie-indent-keyword): Use it.
7196 Fix up the opener code's point position.
7197 (smie-indent-comment): Only applies at BOL.
7198 (smie-indent-debug): New command.
7200 * emacs-lisp/autoload.el (make-autoload): Preload the macros's
7201 declarations that are useful before running the macro.
7203 2010-08-18 Joakim Verona <joakim@verona.se>
7205 * image.el (imagemagick-types-inhibit): New variable.
7206 (imagemagick-register-types): New function.
7207 * image-mode.el (image-transform-properties): New function.
7208 (image-transform-set-scale, image-transform-fit-to-height)
7209 (image-transform-set-rotation, image-transform-set-resize)
7210 (image-transform-fit-to-width, image-transform-fit-to-height):
7212 (image-toggle-display-image): Support image transforms.
7214 2010-08-18 Katsumi Yamaoka <yamaoka@jpl.org>
7216 * image.el (create-animated-image): Don't add heuristic mask to image
7219 2010-08-18 Jan Djärv <jan.h.d@swipnet.se>
7221 * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard):
7222 Use QCLIPBOARD instead of QPRIMARY (Bug#6677).
7224 2010-08-17 Stefan Monnier <monnier@iro.umontreal.ca>
7226 * emacs-lisp/lisp.el (up-list): Obey forward-sexp-function if set.
7228 Font-lock '...' strings, plus various simplifications and fixes.
7229 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
7230 (octave-font-lock-close-quotes): New function.
7231 (octave-font-lock-syntactic-keywords): New var.
7232 (octave-mode): Use it. Set beginning-of-defun-function.
7233 (octave-mode-map): Don't override the <foo>-defun commands.
7234 (octave-mode-menu): Pass it directly to easy-menu-define;
7235 remove (now generic) <foo>-defun commands; use info-lookup-symbol.
7236 (octave-block-match-alist): Fix up last change so that
7237 octave-close-block uses the more specific keyword.
7238 (info-lookup-mode): Silence byte-compiler.
7239 (octave-beginning-of-defun): Not interactive any more.
7241 (octave-end-of-defun, octave-mark-defun, octave-in-defun-p): Remove.
7242 (octave-indent-defun, octave-send-defun): Use mark-defun instead.
7243 (octave-completion-at-point-function): Make sure point is within
7245 (octave-reindent-then-newline-and-indent):
7246 Use reindent-then-newline-and-indent.
7247 (octave-add-octave-menu): Remove.
7249 2010-08-17 Jan Djärv <jan.h.d@swipnet.se>
7251 * mail/emacsbug.el (report-emacs-bug-insert-to-mailer)
7252 (report-emacs-bug-can-use-xdg-email): New functions.
7253 (report-emacs-bug): Set can-xdg-email to result of
7254 report-emacs-bug-can-use-xdg-email. If can-xdg-email bind
7255 \C-cm to report-emacs-bug-insert-to-mailer and add help text
7258 * net/browse-url.el (browse-url-default-browser): Add cond
7259 for browse-url-xdg-open.
7260 (browse-url-can-use-xdg-open, browse-url-xdg-open): New functions.
7262 2010-08-17 Glenn Morris <rgm@gnu.org>
7264 * progmodes/cc-engine.el (c-new-BEG, c-new-END)
7265 (c-fontify-recorded-types-and-refs): Define for compiler.
7266 * progmodes/cc-mode.el (c-new-BEG, c-new-END): Move definitions
7269 * calendar/icalendar.el (icalendar--convert-recurring-to-diary):
7272 2010-08-17 Michael Albinus <michael.albinus@gmx.de>
7274 * net/tramp.el (tramp-handle-make-symbolic-link): Flush file
7276 (tramp-handle-process-file): Call the program in a subshell, in
7277 order to preserve working directory.
7278 (tramp-action-password): Hide password prompt before next run.
7279 (tramp-process-actions): Widen connection buffer for the trace.
7281 2010-08-16 Deniz Dogan <deniz.a.m.dogan@gmail.com>
7283 * net/rcirc.el (rcirc-log-process-buffers): New option.
7284 (rcirc-print): Use it.
7285 (rcirc-generate-log-filename): New function.
7286 (rcirc-log-filename-function): Change default to
7287 rcirc-generate-log-filename (Bug#6828).
7289 2010-08-16 Chong Yidong <cyd@stupidchicken.com>
7291 * simple.el (deactivate-mark): If select-active-regions is `only',
7292 only set selection for temporarily active regions.
7294 * cus-start.el: Change defcustom for select-active-regions.
7296 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
7298 * mouse.el (mouse--drag-set-mark-and-point): New function.
7299 (mouse-drag-track): Use LOCATION arg to push-mark.
7300 Use mouse--drag-set-mark-and-point to take click-count into
7301 consideration when updating point and mark (Bug#6840).
7303 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
7305 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7306 Give the Ruby rule a lower priority than Gnu (Bug#6778).
7308 2010-08-14 Štěpán Němec <stepnem@gmail.com> (tiny change)
7310 * font-lock.el (lisp-font-lock-keywords-2):
7311 Add combine-after-change-calls, condition-case-no-debug,
7312 with-demoted-errors, and with-silent-modifications (Bug#6025).
7314 2010-08-14 Kevin Ryde <user42@zip.com.au>
7316 * emacs-lisp/copyright.el (copyright-update-year)
7317 (copyright-update): Temporary switch-to-buffer to ensure the
7318 buffer change being queried is visible (Bug#5394).
7320 2010-08-14 Tom Tromey <tromey@redhat.com>
7322 * progmodes/etags.el (tags-file-name): Mark safe if stringp
7325 2010-08-14 Eli Zaretskii <eliz@gnu.org>
7327 * mouse.el (mouse-yank-primary): Fix mouse-2 on MS-Windows and
7330 2010-08-13 Jan Djärv <jan.h.d@swipnet.se>
7332 * menu-bar.el (menu-bar-set-tool-bar-position): New function.
7333 (menu-bar-showhide-tool-bar-menu-customize-enable-left)
7334 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
7335 (menu-bar-showhide-tool-bar-menu-customize-enable-top)
7336 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom):
7337 Call menu-bar-set-tool-bar-position.
7339 2010-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
7341 * progmodes/octave-mod.el (octave-mode-syntax-table): Use the new "c"
7342 comment style (bug#6834).
7343 * progmodes/scheme.el (scheme-mode-syntax-table):
7344 * emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Remove spurious
7345 "b" flag in "' 14b" syntax.
7347 * progmodes/octave-mod.el (octave-mode-map): Remove special bindings
7348 for (un)commenting the region and performing completion.
7349 (octave-mode-menu): Use standard commands for help and completion.
7350 (octave-mode-syntax-table): Support %{..%} comments (sort of).
7351 (octave-mode): Use define-derived-mode.
7352 Set completion-at-point-functions and don't set columns.
7353 Don't disable adaptive-fill-regexp.
7354 (octave-describe-major-mode, octave-comment-region)
7355 (octave-uncomment-region, octave-comment-indent)
7356 (octave-indent-for-comment): Remove.
7357 (octave-indent-calculate): Rename from calculate-octave-indent.
7358 (octave-indent-line, octave-fill-paragraph): Update caller.
7359 (octave-initialize-completions): No need to make an alist.
7360 (octave-completion-at-point-function): New function.
7361 (octave-complete-symbol): Use it.
7362 (octave-insert-defun): Use define-skeleton.
7364 * progmodes/octave-mod.el (octave-mode): Set comment-add.
7365 (octave-mode-map): Use comment-dwim (bug#6829).
7367 2010-08-12 Antoine Levitt <antoine.levitt@gmail.com> (tiny change)
7369 * cus-edit.el (custom-save-variables, custom-save-faces): Fix up
7370 indentation of inserted comment.
7372 2010-08-11 Jan Djärv <jan.h.d@swipnet.se>
7374 * faces.el (region): Add type gtk that uses gtk colors.
7376 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
7377 Handle theme-name change.
7379 2010-08-10 Michael R. Mauger <mmaug@yahoo.com>
7381 * progmodes/sql.el: Version 2.5
7382 (sql-product-alist): Add :prompt-cont-regexp property for several
7384 (sql-prompt-cont-regexp): New variable.
7385 (sql-output-newline-count, sql-output-by-send):
7386 New variables. Record number of newlines in input text.
7387 (sql-send-string): Handle multiple filters and count newlines.
7388 (sql-send-magic-terminator): Count terminator newline.
7389 (sql-interactive-remove-continuation-prompt): Filters output to
7390 remove continuation prompts; one for each newline.
7391 (sql-interactive-mode): Set up new variables, prompt regexp and
7393 (sql-mode-sqlite-font-lock-keywords): Correct some keywords.
7394 (sql-make-alternate-buffer-name): Correct buffer name in edge cases.
7396 2010-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
7398 * emacs-lisp/pcase.el: New file.
7400 2010-08-10 Michael Albinus <michael.albinus@gmx.de>
7402 * net/tramp.el (tramp-vc-registered-read-file-names): Read input
7403 as here-document, otherwise the command could exceed maximum
7404 length of command line.
7405 (tramp-handle-vc-registered): Call script accordingly.
7406 Reported by Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>.
7408 2010-08-10 Kenichi Handa <handa@m17n.org>
7410 * language/hebrew.el: Exclude U+05C3 (Hebrew SOF PASUQ) from the
7413 2010-08-09 Chong Yidong <cyd@stupidchicken.com>
7415 * emacs-lisp/package.el (package-version-split)
7416 (package--version-first-nonzero, package-version-compare):
7418 (package-directory-list, package-load-all-descriptors)
7419 (package--built-in, package-activate, define-package)
7420 (package-installed-p, package-compute-transaction)
7421 (package-read-all-archive-contents)
7422 (package--add-to-archive-contents, package-buffer-info)
7423 (package-tar-file-info, package-list-packages-internal):
7424 Use version-to-list and version-list-*.
7426 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7427 Use version-to-list.
7428 (package-upload-buffer-internal): Use version-list-<=.
7430 2010-08-09 Kenichi Handa <handa@m17n.org>
7432 * language/hebrew.el: Exclude U+05BD (Hebrew MAQAF) from the
7435 2010-08-08 Chong Yidong <cyd@stupidchicken.com>
7437 * tutorial.el (tutorial--default-keys): C-d is now bound to
7438 delete-forward-char (Bug#6826).
7440 * mouse.el (mouse-drag-track): Remove accidentally-removed check
7441 for `double' value of mouse-1-click-follows-link (Bug#6807).
7443 2010-08-08 Johan Bockgård <bojohan@gnu.org>
7445 * replace.el (replace-highlight): Bind isearch-forward and
7446 isearch-error, ensuring that highlighting is updated if the user
7447 switches the search direction (Bug#6808).
7449 * isearch.el (isearch-lazy-highlight-forward): New var.
7450 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
7451 (isearch-lazy-highlight-update): Use it.
7453 2010-08-08 Kenichi Handa <handa@m17n.org>
7455 * international/mule.el (define-charset): Store NAME as :base property.
7456 (ctext-non-standard-encodings-table): Pay attention to charset aliases.
7457 (ctext-pre-write-conversion): Sort ctext-standard-encodings by the
7458 current priority. Force using the designation of the specific
7459 charset by adding `charset' text property. Improve the whole algorithm.
7461 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
7463 * emulation/pc-select.el (pc-selection-mode-hook)
7464 (copy-region-as-kill-nomark, beginning-of-buffer-mark)
7465 (pc-selection-mode): Fix typos in docstrings.
7467 2010-08-08 Kenichi Handa <handa@m17n.org>
7469 * language/cyrillic.el: Don't add "microsoft-cp1251" to
7470 ctext-non-standard-encodings-alist here.
7472 * international/mule.el (ctext-non-standard-encodings-alist):
7473 Add "koi8-r" and "microsoft-cp1251".
7474 (ctext-standard-encodings): New variable.
7475 (ctext-non-standard-encodings-table): List only elements for
7476 non-standard encodings.
7477 (ctext-pre-write-conversion): Adjust for the above change.
7478 Check ctext-standard-encodings.
7480 * international/mule-conf.el (compound-text): Doc fix.
7481 (ctext-no-compositions): Doc fix.
7482 (compound-text-with-extensions): Doc fix.
7484 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
7486 * simple.el (exchange-dot-and-mark): Mark obsolete, finally.
7488 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
7490 * progmodes/which-func.el (which-func-format): Split help-echo text
7491 into lines, like other mode-line tooltips.
7493 * server.el (server-start): When using TCP sockets, force IPv4
7494 and use a literal 127.0.0.1 for localhost. (Related to bug#6781.)
7496 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
7498 * bindings.el (complete-symbol): Run completion-at-point as a fallback.
7500 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
7502 * term.el (term-delimiter-argument-list): Reflow docstring.
7503 (term-read-input-ring, term-write-input-ring, term-send-input)
7504 (term-bol, term-erase-in-display, serial-supported-or-barf):
7505 Fix typos in docstrings.
7507 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
7509 * bindings.el (function-key-map): Add a S-tab => backtab fallback.
7511 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
7513 * dabbrev.el (dabbrev-completion): Fix typo in docstring.
7515 2010-08-08 MON KEY <monkey@sandpframing.com> (tiny change)
7517 * emacs-lisp/syntax.el (syntax-ppss-toplevel-pos):
7518 Fix typo in docstring (bug#6747).
7520 2010-08-08 Leo <sdl.web@gmail.com>
7522 * eshell/esh-io.el (eshell-get-target): Better detection of
7523 read-only file (Bug#6762).
7525 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
7527 * align.el (align-default-spacing): Doc fix.
7528 (align-region-heuristic, align-regexp): Fix typos in docstrings.
7530 2010-08-08 Stephen Peters <speters@itasoftware.com>
7532 * calendar/icalendar.el
7533 (icalendar--split-value): Fix splitting regexp. (Bug#6766)
7534 (icalendar--get-weekday-numbers): New.
7535 (icalendar--convert-recurring-to-diary): Handle multiple byday
7536 values in weekly rules. (Bug#6766)
7538 2010-08-08 Ulf Jasper <ulf.jasper@web.de>
7540 * calendar/icalendar.el (icalendar-uid-format): Doc fix.
7541 (icalendar--create-uid, icalendar-export-region)
7542 (icalendar--parse-summary-and-rest): Code formatting.
7544 2010-08-08 Jay Belanger <jay.p.belanger@gmail.com>
7546 * calc/calc.el (calc-trail-mode,calc-refresh): Use `face' property
7547 to italicize headers.
7548 (calc-highlight-selections-with-faces): New variable.
7549 (calc-selected-face, calc-nonselected-face): New faces.
7551 * calc/calccomp.el (math-comp-highlight-string): Use
7552 `calc-highlight-selections-with-faces' to determine how to highlight
7555 * calc/calc-sel.el (calc-show-selections): Change message to when
7556 using faces to highlight selections.
7558 2010-08-07 Michael R. Mauger <mmaug@yahoo.com>
7560 * progmodes/sql.el (sql-mode-sqlite-font-lock-keywords):
7561 Add SQLite 3 keywords, functions and datatypes.
7562 (sql-interactive-mode): Remove `comint-process-echoes' set to t
7565 2010-08-07 Chong Yidong <cyd@stupidchicken.com>
7567 * simple.el (select-active-regions): Move to keyboard.c.
7568 (deactivate-mark): Used saved-region-selection.
7569 (select-active-region): Function removed.
7570 (activate-mark, set-mark, push-mark-command)
7571 (handle-shift-selection): Don't call it.
7572 (keyboard-quit): Avoid adding the region to the window selection.
7574 * mouse.el (mouse-drag-track): Remove hacks to deal with old
7575 select-active-regions implementation.
7576 (mouse-yank-at-click): Doc fix.
7578 * cus-start.el: Add custom declaration for select-active-regions.
7580 2010-08-07 Eli Zaretskii <eliz@gnu.org>
7582 * simple.el (delete-forward-char): Doc fix.
7584 * tutorial.el (help-with-tutorial): Hack safe file-local variables
7585 after reading the tutorial.
7587 2010-08-06 Alan Mackenzie <bug-cc-mode@gnu.org>
7589 * progmodes/cc-cmds.el (c-mask-paragraph, c-fill-paragraph):
7590 Fix for the case that a C style comment has its delimiters alone on
7591 their respective lines.
7593 2010-08-06 Michael Albinus <michael.albinus@gmx.de>
7595 * net/tramp.el (tramp-handle-start-file-process): Set connection
7597 (tramp-process-sentinel): Use it for flushing the cache.
7598 We cannot do it via the process buffer, the buffer could be deleted
7599 already when running the sentinel.
7601 2010-08-06 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
7603 * comint.el (comint-mode): Make directory tracking functions
7604 functional on remote files. (Bug#6764)
7606 2010-08-06 Dan Nicolaescu <dann@ics.uci.edu>
7608 * vc/diff-mode.el (diff-mode-shared-map): Bind g to revert-buffer.
7610 2010-08-05 Eli Zaretskii <eliz@gnu.org>
7612 * emacs-lisp/find-gc.el (find-gc-source-files):
7613 Rename unexec.c => unexcoff.c.
7615 * emacs-lisp/authors.el (authors-fixed-entries):
7616 Rename unexec.c => unexcoff.c.
7618 2010-08-05 Michael Albinus <michael.albinus@gmx.de>
7620 * net/tramp.el (tramp-handle-dired-uncache): Flush directory
7621 cache, not only file cache.
7622 (tramp-process-sentinel): New defun.
7623 (tramp-handle-start-file-process): Use it, in order to invalidate
7626 2010-08-03 Leo <sdl.web@gmail.com>
7628 * server.el (server-start): Simplify loop.
7630 2010-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
7632 * frame.el (screen-height, screen-width, set-screen-width)
7633 (set-screen-height): Remove ancient compatibility aliases.
7635 * textmodes/fill.el (justify-current-line): Don't add 1 to nspaces
7636 when justifying. It seems useless and harmful for ncols=1 (bug#6738).
7638 * emacs-lisp/timer.el (timer-event-handler): Protect against timers
7639 that change current buffer.
7641 2010-08-01 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
7643 * mouse.el (mouse-fixup-help-message): Match "mouse-2" only at the
7644 beginning of the string. Use `string-match-p'. (Bug#6765)
7646 2010-08-01 Jan Djärv <jan.h.d@swipnet.se>
7648 * cus-start.el (x-gtk-use-system-tooltips): New variable.
7650 2010-08-01 Chong Yidong <cyd@stupidchicken.com>
7652 * emacs-lisp/package.el (package--list-packages): Fix column alignment.
7653 (package--builtins): Tweak descriptions.
7654 (package-print-package): Upcase descriptions if necessary.
7655 Show all built-in packages in font-lock-builtin-face.
7656 (package-list-packages-internal): Omit "emacs" package.
7657 Show status of built-in packages as "built-in".
7659 2010-07-31 Chong Yidong <cyd@stupidchicken.com>
7661 * mouse.el (mouse-save-then-kill): Doc fix. Deactivate mark
7662 before killing to preserve the primary selection (Bug#6701).
7664 * term/x-win.el (x-select-text): Doc fix.
7666 2010-07-31 Nathaniel Flath <flat0103@gmail.com>
7668 * progmodes/cc-vars.el (c-offsets-alist, c-inside-block-syms)
7669 (objc-font-lock-extra-types):
7670 * progmodes/cc-mode.el (c-basic-common-init):
7671 * progmodes/cc-langs.el (c-make-mode-syntax-table)
7672 (c++-make-template-syntax-table)
7673 (c-identifier-syntax-modifications, c-symbol-start, c-operators)
7674 (c-<-op-cont-regexp, c->-op-cont-regexp, c-class-decl-kwds)
7675 (c-brace-list-decl-kwds, c-modifier-kwds, c-prefix-spec-kwds-re)
7676 (c-type-list-kwds, c-decl-prefix-re, c-opt-type-suffix-key):
7677 * progmodes/cc-fonts.el (c-make-inverse-face)
7678 (c-basic-matchers-after):
7679 * progmodes/cc-engine.el (c-forward-keyword-clause)
7680 (c-forward-<>-arglist, c-forward-<>-arglist-recur)
7681 (c-forward-name, c-forward-type, c-forward-decl-or-cast-1)
7682 (c-guess-continued-construct, c-guess-basic-syntax):
7683 Enhance Java Mode to handle Java 5.0 (Tiger) and Java 6 (Mustang).
7684 The above functions were modified or created.
7686 2010-07-31 Jan Djärv <jan.h.d@swipnet.se>
7688 * faces.el (face-all-attributes): Improve documentation (Bug#6767).
7690 2010-07-31 Eli Zaretskii <eliz@gnu.org>
7692 * files.el (bidi-paragraph-direction): Define safe local values.
7694 * language/hebrew.el ("Hebrew"): Add TUTORIAL.he to
7695 language-info-alist. Remove outdated FIXME in a comment.
7697 2010-07-31 Alan Mackenzie <acm@muc.de>
7699 * progmodes/cc-cmds.el (c-mask-paragraph): Fix bug #6688:
7700 Auto-fill broken in C/C++ modes.
7702 2010-07-29 Jan Djärv <jan.h.d@swipnet.se>
7704 * menu-bar.el (menu-bar-showhide-tool-bar-menu-customize-enable-left)
7705 (menu-bar-showhide-tool-bar-menu-customize-disable)
7706 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
7707 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom)
7708 (menu-bar-showhide-tool-bar-menu-customize-enable-top): New functions
7709 (menu-bar-showhide-tool-bar-menu): If tool bar is moveable,
7710 make a menu for Options => toolbar that can move it.
7712 2010-07-29 Chong Yidong <cyd@stupidchicken.com>
7714 * emacs-lisp/package-x.el (package--make-rss-entry):
7715 (package-maint-add-news-item, package--update-news)
7716 (package-upload-buffer-internal): New arg ARCHIVE-URL.
7718 * emacs-lisp/package.el (package-archive-url): Rename from
7720 (package-install): Doc fix.
7721 (package-download-single, package-download-tar, package-install)
7722 (package-menu-view-commentary): Callers changed.
7724 2010-07-29 Michael Albinus <michael.albinus@gmx.de>
7726 * net/tramp.el (tramp-handle-start-file-process): Check only for
7727 `remote-tty' process property.
7728 (tramp-open-shell): Don't check for tty.
7729 (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
7732 * progmodes/gdb-mi.el (gdb-init-1): Check also for tty on a remote
7735 2010-07-28 Chong Yidong <cyd@stupidchicken.com>
7737 * emacs-lisp/package.el (package-load-list, package-archives)
7738 (package-archive-contents, package-user-dir)
7739 (package-directory-list, package--builtins, package-alist)
7740 (package-activated-list, package-obsolete-alist): Mark as risky.
7742 2010-07-28 Phil Hagelberg <phil@evri.com>
7744 Add support for non-default package repositories.
7745 * emacs-lisp/package.el (package-archive-base): Var deleted.
7746 (package-archives): New variable.
7747 (package-archive-contents): Doc fix.
7748 (package-load-descriptor): Do nothing if descriptor file is missing.
7749 (package--write-file-no-coding): New function.
7750 (package-unpack-single): Use it.
7751 (package-archive-id): New function.
7752 (package-download-single, package-download-tar)
7753 (package-menu-view-commentary): Use it.
7754 (package-installed-p): Make second argument optional.
7755 (package-read-all-archive-contents): New function.
7756 (package-initialize): Use it.
7757 (package-read-archive-contents): Add ARCHIVE argument.
7758 (package--add-to-archive-contents): New function.
7759 (package-install): Don't call package-read-archive-contents.
7760 (package--download-one-archive): Store archive file in a
7761 subdirectory of package-user-dir.
7762 (package-menu-execute): Remove spurious line movement.
7764 2010-07-28 Jan Djärv <jan.h.d@swipnet.se>
7766 * cus-start.el (tool-bar-style): Add text-image-horiz.
7768 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
7770 * progmodes/gud.el (gud-common-init): Check for remoteness of
7771 `file', and not of `default-directory'.
7773 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
7775 * net/tramp.el (tramp-methods): Move hostname to the end in all
7776 ssh `tramp-login-args'.
7777 (tramp-verbose): Describe verbose level 9.
7778 (tramp-open-shell): Check for tty if `tramp-verbose' >= 9.
7779 (tramp-open-connection-setup-interactive-shell): Trace stty
7780 settings if `tramp-verbose' >= 9.
7781 (tramp-handle-start-file-process): Implement tty setting.
7782 (Bug#4604, Bug#6360)
7784 * net/tramp-cmds.el (tramp-bug): Recommend setting of
7785 `tramp-verbose' to 9.
7787 2010-07-27 Aaron S. Hawley <ashawley@burlingtontelecom.net>
7789 * emacs-lisp/re-builder.el (reb-re-syntax, reb-lisp-mode)
7790 (reb-lisp-syntax-p, reb-change-syntax, reb-cook-regexp):
7791 Remove references to package `lisp-re' (bug#4369).
7793 2010-07-27 Tom Tromey <tromey@redhat.com>
7795 * progmodes/js.el (js-mode):
7796 * progmodes/make-mode.el (makefile-mode):
7797 * progmodes/simula.el (simula-mode):
7798 * progmodes/tcl.el (tcl-mode): Derive from prog-mode.
7800 2010-07-27 Juanma Barranquero <lekktu@gmail.com>
7802 * help-fns.el (find-lisp-object-file-name): Doc fix (bug#6494).
7804 * time.el (display-time-day-and-date): Remove spurious * in docstring.
7805 (display-time-world-buffer-name, display-time-world-mode-map):
7806 Fix typos in docstrings.
7808 2010-07-27 Shyam Karanatt <shyam@swathanthran.in> (tiny change)
7810 * image-mode.el (image-display-size): New function.
7811 (image-forward-hscroll, image-next-line, image-eol, image-eob)
7812 (image-mode-fit-frame): Use it (Bug#6639).
7814 2010-07-27 Chong Yidong <cyd@stupidchicken.com>
7816 * dired.el (dired-buffers-for-dir): Handle list values of
7817 dired-directory (Bug#6636).
7819 2010-07-26 Sam Steingold <sds@gnu.org>
7821 * mouse.el (mouse-yank-primary, mouse-yank-secondary):
7822 Do not call `x-get-selection' the second time, reuse the value.
7824 2010-07-26 Daiki Ueno <ueno@unixuser.org>
7826 * epa-mail.el (epa-mail-mode-map): Add alternative key bindings
7827 which consist of control chars only. Suggested by Richard Stallman.
7829 2010-07-25 Daiki Ueno <ueno@unixuser.org>
7831 * epa-file.el (epa-file-insert-file-contents): Check if LOCAL-FILE
7832 exists before passing an error to find-file-not-found-functions
7835 2010-07-23 Lukas Huonker <l.huonker@gmail.com>
7837 * play/tetris.el (tetris-tty-colors, tetris-x-colors, tetris-blank):
7838 Remove leading nil element, adjust values.
7839 (tetris-shapes, tetris-shape-scores):
7840 Change representation of shapes and remove some redundancy.
7841 (tetris-get-shape-cell, tetris-shape-width, tetris-draw-next-shape)
7842 (tetris-draw-shape, tetris-erase-shape, tetris-test-shape):
7843 Adjust for working with new representation of shapes.
7844 (tetris-shape-rotations): New function.
7845 (tetris-move-bottom, tetris-move-left, tetris-move-right)
7846 (tetris-rotate-prev, tetris-rotate-next):
7847 Adjust for working with the new version of tetris-test-shape.
7849 2010-07-23 Markus Triska <markus.triska@gmx.at>
7851 * progmodes/ps-mode.el: Use comint (bug#5954).
7852 (ps-run-mode-map): Adapt for comint-mode; omit "\r", [return]..
7853 (ps-mode-other-newline): Simplify.
7854 (ps-run-mode): Derive from comint-mode instead of
7855 fundamental-mode, yielding input history etc.
7856 (ps-run-start, ps-run-quit, ps-run-clear, ps-run-region)
7857 (ps-run-send-string): Adapt for comint-mode.
7858 (ps-run-newline): Remove now unneeded function.
7860 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
7862 * net/tramp.el (tramp-methods): Move hostname to the end in all
7863 plink `tramp-login-args'.
7865 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
7867 * net/tramp.el (tramp-open-shell): New defun.
7868 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
7871 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
7873 * net/tramp.el (tramp-file-name-regexp-unified)
7874 (tramp-completion-file-name-regexp-unified): On W32 systems, do
7875 not regard the volume letter as remote filename. (Bug#5447)
7877 2010-07-23 Juanma Barranquero <lekktu@gmail.com>
7879 * custom.el (custom-declare-variable): Give a clearer error message
7880 when the docstring is missing (bug#6476).
7882 2010-07-22 Michael R. Mauger <mmaug@yahoo.com>
7884 * progmodes/sql.el: Version 2.4. Improved Login prompting.
7885 (sql-login-params): New widget definition.
7886 (sql-oracle-login-params, sql-mysql-login-params)
7887 (sql-solid-login-params, sql-sybase-login-params)
7888 (sql-informix-login-params, sql-ingres-login-params)
7889 (sql-ms-login-params, sql-postgres-login-params)
7890 (sql-interbase-login-params, sql-db2-login-params)
7891 (sql-linter-login-params): Use it.
7892 (sql-sqlite-login-params): Use it; Define "database" parameter as
7894 (sql-sqlite-program): Change to "sqlite3".
7895 (sql-comint-sqlite): Make sure database name is complete.
7896 (sql-for-each-login): New function.
7897 (sql-connect, sql-save-connection): Use it.
7898 (sql-get-login-ext): New function.
7899 (sql-get-login): Use it.
7900 (sql-make-alternate-buffer-name): Handle :file parameters.
7902 2010-07-22 Juanma Barranquero <lekktu@gmail.com>
7904 * dired.el (dired-no-confirm): Document value t and fix defcustom to
7905 accept it (bug#6597). Suggested by Drew Adams <drew.adams@oracle.com>.
7907 2010-07-22 Teemu Likonen <tlikonen@iki.fi> (tiny change)
7909 * dired.el (dired-mode-map): Use command remapping (bug#6632).
7911 2010-07-22 Lawrence Mitchell <wence@gmx.li>
7913 * term/vt100.el (vt100-wide-mode): Fix :init-value keyword (bug#6620).
7915 2010-07-21 Michael Albinus <michael.albinus@gmx.de>
7917 * net/tramp.el (tramp-get-ls-command)
7918 (tramp-get-ls-command-with-dired): Run tests on "/dev/null"
7921 2010-07-20 Michael R. Mauger <mmaug@yahoo.com>
7923 * progmodes/sql.el: Version 2.3.
7924 (sql-connection-alist): Change keys from symbols to strings;
7925 enhanced the widget definition.
7926 (sql-mode-menu): Add submenu to select connections.
7927 (sql-interactive-mode-menu): Add "Save Connection" item.
7928 (sql-add-product): Fix menu item.
7929 (sql-get-product-feature): Improved error handling.
7930 (sql--alt-buffer-part, sql--alt-if-not-empty): Removed.
7931 (sql-make-alternate-buffer-name): Simplified.
7932 (sql-product-interactive): Handle missing product.
7933 (sql-connect): Support string keys, minor improvements.
7934 (sql-save-connection): New function.
7935 (sql-connection-menu-filter): New function.
7937 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
7939 * net/tramp.el (tramp-file-name-handler): Trace 'quit.
7940 (tramp-open-connection-setup-interactive-shell):
7941 Apply workaround for IRIX64 bug. Move argument of last
7942 `tramp-send-command' where it belongs to.
7944 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
7946 * net/tramp.el (tramp-perl-file-attributes)
7947 (tramp-perl-directory-files-and-attributes): Don't pass "$3".
7948 (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
7949 front of `login-args'.
7951 2010-07-19 Juanma Barranquero <lekktu@gmail.com>
7953 * time.el (display-time-world-mode): Define with `define-derived-mode'.
7954 Set `show-trailing-whitespace' to nil.
7955 (display-time-world-display): Simplify.
7957 2010-07-18 Alan Mackenzie <acm@muc.de>
7959 Enhance `c-file-style' in file/directory local variables.
7960 * progmodes/cc-mode.el (c-count-cfss): New function.
7961 (c-before-hack-hook): Call `c-set-style' differently according to
7962 whether c-file-style was set in file or directory local
7965 2010-07-18 Michael R. Mauger <mmaug@yahoo.com>
7967 * progmodes/sql.el: Version 2.2.
7968 (sql-product, sql-user, sql-database, sql-server, sql-port):
7969 Use defcustom :safe keyword rather than putting safe-local-variable
7971 (sql-password): Use defcustom :risky keyword rather than putting
7972 risky-local-variable property.
7973 (sql-oracle-login-params, sql-sqlite-login-params)
7974 (sql-solid-login-params, sql-sybase-login-params)
7975 (sql-informix-login-params, sql-ingres-login-params)
7976 (sql-ms-login-params, sql-postgres-login-params)
7977 (sql-interbase-login-params, sql-db2-login-params)
7978 (sql-linter-login-params): Add `port' option.
7979 (sql-get-product-feature): Add NO-INDIRECT parameter.
7980 (sql-comint-oracle, sql-comint-sybase)
7981 (sql-comint-informix, sql-comint-sqlite, sql-comint-mysql)
7982 (sql-comint-solid, sql-comint-ingres, sql-comint-ms)
7983 (sql-comint-postgres, sql-comint-interbase, sql-comint-db2)
7984 (sql-comint-linter): Rename sql-connect-* functions to
7986 (sql-product-alist, sql-mode-menu): Rename as above and
7987 :sqli-connect-func to :sqli-comint-func.
7988 (sql-connection): New variable.
7989 (sql-interactive-mode): Set it.
7990 (sql-connection-alist): New variable.
7991 (sql-connect): New function.
7992 (sql--alt-buffer-part, sql--alt-if-not-empty)
7993 (sql-make-alternate-buffer-name): Improved alternative buffer name.
7995 2010-07-17 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7997 * image-mode.el (image-bookmark-make-record): Do not set context
7998 in an image (Bug#6650).
8000 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
8002 * simple.el (select-active-region): New function.
8003 (push-mark-command, set-mark, activate-mark)
8004 (handle-shift-selection): Use it.
8005 (deactivate-mark): Don't check for size of region.
8007 * mouse.el (mouse-drag-track): Use select-active-region.
8009 2010-07-17 Michael Albinus <michael.albinus@gmx.de>
8011 * net/tramp.el (tramp-get-ls-command-with-dired): Make test for
8014 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
8016 * term/x-win.el (x-select-enable-primary): Change default to nil.
8017 (x-select-enable-clipboard): Add :version keyword.
8019 * mouse.el (mouse-drag-copy-region):
8020 * simple.el (select-active-regions): Likewise.
8022 2010-07-16 Reiner Steib <Reiner.Steib@gmx.de>
8024 * vc/vc.el (vc-coding-system-inherit-eol): New defvar.
8025 (vc-coding-system-for-diff): Use it to decide whether to inherit
8026 from the file the EOL format for reading the diffs of that file.
8029 2010-07-16 Eli Zaretskii <eliz@gnu.org>
8031 * mail/rmailmm.el (rmail-mime-save): Make the temp buffer
8032 unibyte, so compressed attachments are not compressed again.
8034 2010-07-16 Michael Albinus <michael.albinus@gmx.de>
8036 * net/tramp.el (tramp-handle-shell-command): Don't use hard-wired
8037 "/bin/sh" but `tramp-remote-sh' from `tramp-methods'.
8038 (tramp-find-shell): Simplify setting connection property.
8039 (tramp-get-ls-command): Make test for "--color=never" stronger.
8041 2010-07-15 Simon South <ssouth@member.fsf.org>
8043 * progmodes/delphi.el (delphi-previous-indent-of): Indent case
8044 blocks within record declarations (i.e. variant parts) correctly.
8046 2010-07-15 Simon South <ssouth@member.fsf.org>
8048 * progmodes/delphi.el (delphi-token-at): Give newlines precedence
8049 over literal tokens when parsing so newlines aren't "absorbed" by
8050 single-line comments. Corrects the indentation of case blocks
8051 that have a comment on the first line.
8053 2010-07-14 Karl Fogel <kfogel@red-bean.com>
8055 * bookmark.el (bookmark-load-hook): Fix doc string as suggested
8056 by Drew Adams (Bug#5504).
8058 2010-07-14 Jan Djärv <jan.h.d@swipnet.se>
8060 * xt-mouse.el (xterm-mouse-event-read): Fix for characters > 127
8061 now that Unicode is used (Bug#6594).
8063 2010-07-14 Chong Yidong <cyd@stupidchicken.com>
8065 * term/x-win.el (x-select-enable-clipboard): Default to t.
8066 (x-initialize-window-system): Don't overwrite Paste menu item.
8068 * simple.el (select-active-regions): Default to t.
8069 (push-mark-command): Don't overwrite primary with empty string.
8071 * mouse.el: Bind mouse-2 to mouse-yank-primary.
8072 (mouse-drag-copy-region): Default to nil.
8074 * menu-bar.el (menu-bar-enable-clipboard): Don't overwrite
8075 Cut/Copy/Paste menu bar items.
8077 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8079 Allow C-w when setting a bookmark in a Gnus Article buffer (Bug#5975).
8080 Patch applied by Karl Fogel.
8082 * bookmark.el (bookmark-set): Don't set `bookmark-yank-point'
8083 and `bookmark-current-buffer' if they have been already set in
8084 another buffer (e.g gnus-art).
8086 2010-07-13 Karl Fogel <kfogel@red-bean.com>
8087 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8089 Preparation for setting bookmarks in Gnus article buffers (Bug#5975).
8091 * bookmark.el (bookmark-make-record-default): Allow unneeded
8092 information to be omitted from the record.
8094 Adjust declarations and calls:
8096 * info.el (bookmark-make-record-default): Adjust declaration.
8097 (Info-bookmark-make-record): Adjust call.
8099 * woman.el (bookmark-make-record-default): Adjust declaration.
8100 (woman-bookmark-make-record): Adjust call.
8102 * man.el (bookmark-make-record-default): Adjust declaration.
8103 (Man-bookmark-make-record): Adjust call.
8105 * image-mode.el (bookmark-make-record-default): Adjust declaration.
8107 * doc-view.el (bookmark-make-record-default): Adjust declaration.
8109 2010-07-13 Karl Fogel <kfogel@red-bean.com>
8111 * bookmark.el (bookmark-show-annotation): Use `when' instead of `if'.
8112 This is also from Thierry Volpiatto's patch in bug #6444. However,
8113 because it was extraneous to the functional change in that patch,
8114 and causes a re-indendation, I am committing it separately.
8116 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8118 * bookmark.el (bookmark-show-annotation): Ensure annotations show,
8119 e.g. in Info bookmarks, by using `switch-to-buffer-other-window'.
8120 Patch applied by Karl Fogel (Bug#6444).
8122 2010-07-13 Chong Yidong <cyd@stupidchicken.com>
8124 * frame.el (make-frame): Fix typo in 2010-06-30 change (Bug#6625).
8126 2010-07-13 Adrian Robert <Adrian.B.Robert@gmail.com>
8128 * term/ns-win.el: Bind M-~ to 'ns-prev-frame (due to Matthew
8129 Dempsky; bug#5084). Remove incorrect binding for S-tab.
8130 (ns-alternatives-map): Change S-tab binding to backtab
8133 * simple.el (normal-erase-is-backspace-setup-frame): Set mode on
8136 2010-07-12 Andreas Schwab <schwab@linux-m68k.org>
8138 * language/tai-viet.el ("TaiViet"): Try to fix re-encoding bugs.
8141 * language/tv-util.el (tai-viet-re): Remove format.
8143 2010-07-12 Kenichi Handa <handa@m17n.org>
8145 * language/hebrew.el: Remove no-byte-compile declaration.
8146 Change coding: tag to utf-8. Register hebrew-shape-gstring in
8147 composition-function-table for 3-character looking back.
8148 (hebrew-font-get-precomposed): New function.
8149 (hebrew-shape-gstring): Utilize precomposed glyphs if available.
8151 2010-07-11 Chong Yidong <cyd@stupidchicken.com>
8153 * mouse.el (mouse-drag-track): Handle select-active-regions
8156 2010-07-11 Magnus Henoch <magnus.henoch@gmail.com>
8158 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
8159 empty argument to gvfs-copy.
8161 2010-07-10 Glenn Morris <rgm@gnu.org>
8163 * calendar/calendar.el (calendar-week-end-day): New function.
8164 * calendar/cal-tex.el (cal-tex-cursor-month): Remove unused vars.
8165 Respect calendar-week-start-day. (Bug#6606)
8166 (cal-tex-insert-day-names, cal-tex-insert-blank-days)
8167 (cal-tex-insert-blank-days-at-end): Respect calendar-week-start-day.
8168 (cal-tex-first-blank-p, cal-tex-last-blank-p): Simplify, and
8169 respect calendar-week-start-day.
8171 2010-07-10 Chong Yidong <cyd@stupidchicken.com>
8173 * simple.el (use-region-p): Doc fix (Bug#6607).
8175 2010-07-10 Aleksei Gusev <aleksei.gusev@gmail.com> (tiny change)
8177 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8178 Add regexps for cucumber and ruby.
8180 2010-07-08 Daiki Ueno <ueno@unixuser.org>
8182 * epa-file.el (epa-file-error, epa-file--find-file-not-found-function)
8183 (epa-file-insert-file-contents): Hack to prevent
8184 find-file from opening empty buffer when decryption failed
8187 2010-07-07 Agustín Martín <agustin.martin@hispalinux.es>
8189 * textmodes/ispell.el (ispell-alternate-dictionary):
8190 Use file-readable-p.
8191 Return nil if no word-list is found at default locations.
8192 (ispell-complete-word-dict): Default to nil.
8193 (ispell-command-loop): Use 'word-list' when using lookup-words.
8194 (lookup-words): Use ispell-complete-word-dict or
8195 ispell-alternate-dictionary. Check for word-list availability
8196 and handle errors if needed with better messages (Bug#6539).
8197 (ispell-complete-word): Use ispell-complete-word-dict or
8198 ispell-alternate-dictionary.
8200 2010-07-07 Christoph Scholtes <cschol2112@gmail.com>
8202 * progmodes/python.el (python-font-lock-keywords): Add Python 2.7
8203 builtins (BufferError, BytesWarning, WindowsError; callables
8204 bin, bytearray, bytes, format, memoryview, next, print; __package__).
8206 2010-07-07 Glenn Morris <rgm@gnu.org>
8208 * play/zone.el (top-level): Do not require timer, tabify, or cl.
8209 (zone-shift-left): Ignore intangibility, and any errors from
8211 (zone-shift-right): Remove no-op end-of-line. Ignore intangibility.
8212 (zone-pgm-putz-with-case): Use upcase-region rather than inserting,
8213 deleting, and copying text properties.
8214 (zone-line-specs, zone-pgm-stress): Check forward-line exit status.
8215 (zone-pgm-rotate): Handle odd buffers like that of gomoku, where getting
8216 to point-max is hard.
8217 (zone-fret, zone-fill-out-screen): Replace cl's do with dotimes.
8218 (zone-fill-out-screen): Ignore intangibility.
8220 2010-07-05 Chong Yidong <cyd@stupidchicken.com>
8222 * menu-bar.el (menu-bar-mode):
8223 * tool-bar.el (tool-bar-mode): Replace default-frame-alist element
8226 * mouse.el (mouse-drag-track): Call mouse-start-end to handle
8227 word/line selection (Bug#6565).
8229 2010-07-04 Juanma Barranquero <lekktu@gmail.com>
8231 * net/dbus.el (dbus-send-signal): Declare function.
8233 2010-07-04 Michael Albinus <michael.albinus@gmx.de>
8235 * net/dbus.el: Implement signal "PropertiesChanged" (from D-Bus 1.3.1).
8236 (dbus-register-property): New optional argument EMITS-SIGNAL.
8237 (dbus-property-handler): Send signal "PropertiesChanged" if requested.
8239 2010-07-03 Chong Yidong <cyd@stupidchicken.com>
8241 * mouse.el (mouse-drag-overlay): Variable deleted.
8242 (mouse-move-drag-overlay, mouse-show-mark): Functions deleted.
8243 (mouse--remap-link-click-p): New function.
8244 (mouse-drag-track): Handle dragging by using temporary Transient
8245 Mark mode, instead of a special overlay.
8246 (mouse-kill-ring-save, mouse-save-then-kill): Don't call
8249 * mouse-sel.el (mouse-sel-selection-alist): mouse-drag-overlay
8252 2010-07-02 Juri Linkov <juri@jurta.org>
8254 * autoinsert.el (auto-insert-alist): Fix readability
8255 by using dotted pair notation for lambda.
8257 2010-07-02 Juri Linkov <juri@jurta.org>
8259 * faces.el (read-face-name): Rename arg `string-describing-default'
8260 to `default'. Doc fix. Display the default value in quotes
8261 in the prompt. With empty input, return the `default' arg,
8262 unless the default value is a string (in which case return nil).
8263 (describe-face): Replace the string `default' arg of `read-face-name'
8264 with the symbol `default'.
8266 2010-07-02 Chong Yidong <cyd@stupidchicken.com>
8268 * emulation/viper-cmd.el (viper-delete-backward-char)
8269 (viper-del-backward-char-in-insert)
8270 (viper-del-backward-char-in-replace, viper-change)
8271 (viper-backward-indent): Replace delete-backward-char with
8272 delete-char (Bug#6552).
8274 2010-07-01 Chong Yidong <cyd@stupidchicken.com>
8276 * ruler-mode.el (ruler--save-header-line-format): Fix typos.
8278 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
8280 * frame.el (make-frame): Add default-frame-alist to the PARAMETERS
8281 argument passed to frame-creation-function (Bug#5378).
8283 * faces.el (x-handle-named-frame-geometry)
8284 (x-handle-reverse-video, x-create-frame-with-faces)
8285 (face-set-after-frame-default, tty-create-frame-with-faces):
8286 Don't separately consult default-frame-alist. It is now passed as the
8289 2010-06-30 Andreas Schwab <schwab@linux-m68k.org>
8291 * startup.el (command-line): Don't call tool-bar-setup in a
8294 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
8296 * ruler-mode.el (ruler--save-header-line-format): New fun.
8297 (ruler-mode): Use it as a setter function, so as not to overwrite
8298 ruler-mode-header-line-format-old if Ruler mode is on (Bug#5370).
8300 2010-06-29 Chong Yidong <cyd@stupidchicken.com>
8302 * vc/vc.el (vc-deduce-backend): New fun. Handle diff buffers.
8303 (vc-root-diff, vc-print-root-log, vc-log-incoming)
8304 (vc-log-outgoing): Use it.
8305 (vc-diff-internal): Set diff-vc-backend.
8307 * vc/diff-mode.el (diff-vc-backend): New var.
8309 2010-06-28 Jan Djärv <jan.h.d@swipnet.se>
8311 * dynamic-setting.el (font-setting-change-default-font):
8312 Remove call to message.
8314 2010-06-28 Kenichi Handa <handa@m17n.org>
8316 * international/quail.el (quail-insert-kbd-layout): Fix the
8317 showing of untranslated characters.
8319 2010-06-28 Chong Yidong <cyd@stupidchicken.com>
8321 * simple.el (delete-active-region): New option.
8322 (delete-backward-char): Implement in Lisp.
8323 (delete-forward-char): New command.
8325 * mouse.el (mouse-region-delete-keys): Deleted.
8326 (mouse-show-mark): Simplify.
8328 * bindings.el (global-map): Bind delete and DEL, the former to
8329 delete-forward-char.
8331 2010-06-27 Lennart Borgman <lennart.borgman@gmail.com>
8333 * progmodes/ruby-mode.el (ruby-mode-map): Don't bind TAB.
8334 (ruby-mode): Bind indent-line-function (Bug#5119).
8336 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
8338 * startup.el (command-line): Recognize "0" X resource value.
8340 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
8342 * startup.el (command-line): Use X resources to set the value of
8343 menu-bar-mode and tool-bar-mode, before calling frame-initialize.
8345 * menu-bar.el (menu-bar-mode):
8346 * tool-bar.el (tool-bar-mode): Don't change default-frame-alist.
8347 Set init-value to t.
8349 * frame.el (frame-notice-user-settings): Don't change
8350 default-frame-alist based on menu-bar-mode and tool-bar-mode, or
8351 vice versa (Bug#2249).
8353 2010-06-26 Eli Zaretskii <eliz@gnu.org>
8355 * w32-fns.el (w32-convert-standard-filename): Doc fix.
8357 2010-06-25 Agustín Martín <agustin.martin@hispalinux.es>
8359 * textmodes/flyspell.el (flyspell-check-previous-highlighted-word):
8360 Make sure `flyspell-word' re-checks word after function run (Bug#6504).
8362 * textmodes/ispell.el (ispell-init-process): Make sure ispell and
8363 default directories are expanded (Bug#6143).
8365 2010-06-24 Juri Linkov <juri@jurta.org>
8367 * minibuffer.el (completions-format): Change default from nil to
8368 `horizontal'. Remove `nil' value from :type. Doc fix. (Bug#6459)
8370 2010-06-24 Juri Linkov <juri@jurta.org>
8372 * vc/vc.el (vc-diff-internal): Set `revert-buffer-function'
8373 buffer-locally to lambda that re-runs the vc diff command.
8376 2010-06-24 Chong Yidong <cyd@stupidchicken.com>
8378 * kmacro.el (kmacro-call-macro): Don't issue hint message if the
8379 echo area is in use (Bug#3412).
8381 2010-06-22 Glenn Morris <rgm@gnu.org>
8383 * textmodes/texinfmt.el (texinfo-format-region)
8384 (texinfo-raise-lower-sections, texinfo-format-separate-node)
8385 (texinfo-itemize-item, texinfo-multitable-item, texinfo-alias)
8386 (texinfo-format-option, texinfo-noindent):
8387 Use line-beginning-position and line-end-position.
8389 * calc/calc-aent.el, calc/calc-ext.el, calc/calc-lang.el:
8390 * calc/calc-store.el, calc/calc-units.el, calc/calc.el:
8391 * calc/calccomp.el: Add explicit utf-8 coding cookies to files with
8394 2010-06-21 Karl Fogel <kfogel@red-bean.com>
8396 * play/zone.el (zone-fall-through-ws): Fix next-line ->
8397 forward-line fallout.
8399 2010-07-06 Chong Yidong <cyd@stupidchicken.com>
8401 * mouse.el (mouse-appearance-menu): Add docstring.
8403 * help.el (describe-key): Print up-event using key-description.
8405 2010-07-03 Michael Albinus <michael.albinus@gmx.de>
8407 * net/zeroconf.el (zeroconf-resolve-service)
8408 (zeroconf-service-resolver-handler): Use `dbus-byte-array-to-string'.
8409 (zeroconf-publish-service): Use `dbus-string-to-byte-array'.
8411 2010-07-03 Jan Moringen <jan.moringen@uni-bielefeld.de>
8413 * net/zeroconf.el (zeroconf-service-remove-hook): New defun.
8415 2010-06-30 Dan Nicolaescu <dann@ics.uci.edu>
8417 Avoid displaying files with a nil state in vc-dir.
8418 * vc/vc-dir.el (vc-dir-update): Obey the noinsert argument in all
8419 cases that cause insertion.
8420 (vc-dir-resynch-file): Tell vc-dir-update to avoid inserting files
8423 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
8425 * xml.el (xml-parse-region): Avoid infloop (Bug#5281).
8427 2010-06-29 Leo <sdl.web@gmail.com>
8429 * emacs-lisp/rx.el (rx): Doc fix. (Bug#6537)
8431 2010-06-27 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
8433 * generic-x.el (bat-generic-mode): Fix regexp for command line
8434 switches (Bug#5719).
8436 2010-06-27 Masatake YAMATO <yamato@redhat.com>
8438 * htmlfontify.el (hfy-face-attr-for-class): Use append instead
8439 of nconc to avoid pure storage error (Bug#6239).
8441 2010-06-27 Christoph <cschol2112@googlemail.com> (tiny change)
8443 * bookmark.el (bookmark-bmenu-2-window, bookmark-bmenu-other-window)
8444 (bookmark-bmenu-other-window-with-mouse): Remove unnecessary
8445 bindings of bookmark-automatically-show-annotations (Bug#6515).
8447 2010-06-25 Eli Zaretskii <eliz@gnu.org>
8449 * arc-mode.el (archive-zip-extract): Don't quote the file name on
8450 MS-Windows and MS-DOS. (Bug#6467, Bug#6144)
8452 2010-06-24 Štěpán Němec <stepnem@gmail.com> (tiny change)
8454 * comint.el (make-comint, make-comint-in-buffer): Mention return
8455 value in the docstrings. (Bug#6498)
8457 2010-06-24 Yoni Rabkin <yoni@rabkins.net>
8459 * bs.el (bs-mode-font-lock-keywords): Remove "by" from Dired pattern,
8460 since it is not present when using some non-default switches.
8462 2010-06-23 Karl Fogel <kfogel@red-bean.com>
8464 * simple.el (compose-mail): Fix doc string to refer to
8465 `compose-mail-user-agent-warnings', instead of to the
8466 nonexistent `compose-mail-check-user-agent'.
8468 2010-06-21 Alan Mackenzie <bug-cc-mode@gnu.org>
8470 Fix an indentation bug:
8472 * progmodes/cc-mode.el (c-common-init): Initialise c-new-BEG/END.
8473 (c-neutralize-syntax-in-and-mark-CPP): c-new-BEG/END: Take account
8476 * progmodes/cc-engine.el (c-clear-<-pair-props-if-match-after)
8477 (c-clear->-pair-props-if-match-before): now return t when they've
8478 cleared properties, nil otherwise.
8479 (c-before-change-check-<>-operators): Set c-new-beg/end correctly
8480 by taking account of the existing value.
8482 * progmodes/cc-defs.el
8483 (c-clear-char-property-with-value-function): Fix this to clear the
8484 property rather than overwriting it with nil.
8486 2010-06-20 Chong Yidong <cyd@stupidchicken.com>
8488 * emacs-lisp/package.el (package-print-package): Add link to
8489 package description via describe-package.
8490 (describe-package-1): List package requirements. Add button to
8491 perform installation.
8492 (package-menu-describe-package): New command.
8494 * help-mode.el (help-package): New button type.
8496 2010-06-19 Chong Yidong <cyd@stupidchicken.com>
8498 * emacs-lisp/package.el: Move package-list-packages binding to
8500 (describe-package, describe-package-1, package--dir): New funs.
8501 (package-activate-1): Use package--dir.
8503 * emacs-lisp/package-x.el (gnus-article-buffer): Require package.
8505 * help-mode.el (help-package-def): New button type.
8507 * menu-bar.el: Move package-list-packages binding here from
8510 2010-06-19 Gustav Hållberg <gustav@gmail.com> (tiny change)
8512 * descr-text.el (describe-char): Avoid trailing whitespace. (Bug#6423)
8514 2010-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8516 * emacs-lisp/edebug.el (edebug-read-list):
8517 Phase out old-style backquotes.
8519 2010-06-17 Juri Linkov <juri@jurta.org>
8521 * help-mode.el (help-mode): Set buffer-local variable
8522 revert-buffer-function to help-mode-revert-buffer.
8523 (help-mode-revert-buffer): New function.
8525 * info.el (Info-revert-find-node): Check for major-mode Info-mode
8526 before popping to "*info*" (like in other Info functions).
8527 Keep buffer-name in old-buffer-name. Keep Info-history-forward in
8528 old-history-forward. Pop to old-buffer-name or "*info*" to
8529 recreate the killed buffer. Set Info-history-forward from
8530 old-history-forward.
8531 (Info-breadcrumbs-depth): Add :group and :version.
8533 2010-06-17 Dan Nicolaescu <dann@ics.uci.edu>
8535 * emacs-lisp/package.el (package-menu-mode-map): Add a menu.
8537 2010-06-17 Agustín Martín <agustin.martin@hispalinux.es>
8539 * textmodes/ispell.el (ispell-aspell-find-dictionary): Fix regexp
8540 for languages like Portuguese with pt_{BR,PT} and no plain pt.
8542 2010-06-17 Juanma Barranquero <lekktu@gmail.com>
8544 * emacs-lisp/package.el (package-menu-mode-map):
8545 Move initialization into declaration.
8547 * menu-bar.el (menu-bar-options-menu): Fix typo in menu entry.
8549 2010-06-17 Chong Yidong <cyd@stupidchicken.com>
8551 * emacs-lisp/package.el (package-archive-base): Point to
8553 (package-enable, package-load-list): New defcustoms.
8554 (package-user-dir, package-directory-list): Turn into defcustoms.
8555 Don't include package-user-dir in package-directory-list.
8556 (package--builtins-base): Don't include Emacs as a "package".
8557 (package-subdirectory-regexp): New var.
8558 (package-load-all-descriptors, package-compute-transaction)
8559 (package-download-transaction): Obey package-load-list.
8560 (package-activate-1): Rename from package-do-activate.
8561 (package-list-packages-internal): Check package-load-list.
8562 (package-load-descriptor, package-generate-autoloads)
8563 (package-unpack, package-unpack-single)
8564 (package--read-archive-file, package-delete):
8565 Use expand-file-name.
8567 * emacs-lisp/package-x.el: New file. Package uploading
8568 functionality split out from package.el.
8570 * startup.el (command-line): Load packages after reading init file.
8572 2010-06-17 Tom Tromey <tromey@redhat.com>
8574 * emacs-lisp/package.el: New file.
8576 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
8578 Fix vc-annotate for renamed files when using Git.
8579 * vc/vc-git.el (vc-git-find-revision): Deal with empty results from
8580 ls-files. Doe not pass the object as a file name to cat-file, it
8582 (vc-git-annotate-command): Pass the file name using -- to avoid
8583 ambiguity with the revision.
8584 (vc-git-previous-revision): Pass a relative file name.
8586 2010-06-22 Glenn Morris <rgm@gnu.org>
8588 * progmodes/js.el (js-mode-map): Use standard capitalization and
8589 ellipses for menu entries.
8591 * wid-edit.el (widget-complete): Doc fix.
8593 2010-06-22 Jürgen Hötzel <juergen@hoetzel.info> (tiny change)
8595 * wid-edit.el (widget-complete): Fix typo in 2009-12-02 change.
8597 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
8599 Fix annotating other revisions for renamed files in vc-annotate.
8600 * vc/vc-annotate.el (vc-annotate): Add an optional argument for the
8601 VC backend. Use it when non-nil.
8602 (vc-annotate-warp-revision): Pass the VC backend to vc-annotate.
8605 Fix vc-annotate-show-changeset-diff-revision-at-line for git.
8606 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
8607 Do not pass the file name to the 'previous-revision call when we
8608 don't want a file diff. (Bug#6489)
8610 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
8612 Fix finding revisions for renamed files in vc-annotate.
8613 * vc/vc.el (vc-find-revision): Add an optional argument for
8614 the VC backend. Use it when non-nil.
8615 * vc/vc-annotate.el (vc-annotate-find-revision-at-line): Pass the VC
8616 backend to vc-find-revision. (Bug#6487)
8618 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
8620 Fix reading file names in Git annotate buffers.
8621 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line):
8622 Remove trailing whitespace. Suggested by Eric Hanchrow. (Bug#6481)
8624 2010-06-20 Alan Mackenzie <acm@muc.de>
8626 * progmodes/cc-mode.el (c-before-hack-hook): When the mode is set
8627 in file local variables, set it first.
8629 2010-06-19 Glenn Morris <rgm@gnu.org>
8631 * descr-text.el (describe-char-unicode-data): Insert separating
8632 space when needed. (Bug#6422)
8634 * progmodes/idlwave.el (idlwave-action-and-binding):
8635 Fix typo in 2009-12-03 change. (Bug#6450)
8637 2010-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
8639 * emacs-lisp/macroexp.el (macroexpand-all-1): Put back special
8640 handling for `lambda' (misunderstanding).
8642 2010-06-16 Jay Belanger <jay.p.belanger@gmail.com>
8644 * calc/calc-poly.el (math-accum-factors): Make sure that
8645 constants aren't distributed after they are factored out.
8647 2010-06-16 Juri Linkov <juri@jurta.org>
8649 * facemenu.el (list-colors-display): Call `pop-to-buffer' before
8650 `list-colors-print'. (Bug#6332)
8652 * subr.el (read-quoted-char): Fix up last change (bug#6290).
8654 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
8656 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't handle `lambda'
8657 specially, since it's a macro. Fix up wrong hint passed to maybe-cons.
8659 * font-lock.el (font-lock-major-mode): Rename from
8660 font-lock-mode-major-mode to distinguish it from
8661 global-font-lock-mode's own font-lock-mode-major-mode (bug#6135).
8662 (font-lock-set-defaults):
8663 * font-core.el (font-lock-default-function): Adjust users.
8664 (font-lock-mode): Don't set it at all.
8666 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
8668 * vc/vc-annotate.el (vc-annotate): Use vc-read-revision.
8670 2010-06-16 Glenn Morris <rgm@gnu.org>
8672 * calendar/appt.el (appt-time-msg-list): Doc fix.
8673 (appt-check): Let-bind appt-warn-time.
8674 (appt-add): Make the 3rd argument optional.
8675 Simplify argument names. Doc fix. Check for integer WARNTIME.
8676 Only add WARNTIME to the output list if non-nil.
8678 2010-06-16 Ivan Kanis <apple@kanis.eu>
8680 * calendar/appt.el (appt-check): Let the 3rd element of
8681 appt-time-msg-list specify the warning time.
8682 (appt-add): Add new argument with the warning time. (Bug#5176)
8684 2010-06-16 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
8686 * vc/vc-svn.el (vc-svn-after-dir-status): Fix regexp for Subversions
8687 older than version 1.6. (Bug#6361)
8689 2010-06-16 Helmut Eller <eller.helmut@gmail.com>
8691 * emacs-lisp/cl-macs.el (destructuring-bind): Bind `bind-enquote',
8692 used by cl-do-arglist. (Bug#6408)
8694 2010-06-16 Agustín Martín <agustin.martin@hispalinux.es>
8696 * textmodes/ispell.el (ispell-dictionary-base-alist):
8697 Fix portuguese casechars/not-casechars for missing 'çÇ'.
8698 Suggested by Rolando Pereira (bug#6434).
8700 2010-06-15 Juanma Barranquero <lekktu@gmail.com>
8702 * facemenu.el (list-colors-sort): Doc fix.
8704 2010-06-15 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
8706 * progmodes/sql.el (sql-connect-mysql): Fix typo.
8708 2010-06-14 Juri Linkov <juri@jurta.org>
8710 Add sort option `list-colors-sort'. (Bug#6332)
8711 * facemenu.el (color-rgb-to-hsv): New function.
8712 (list-colors-sort): New defcustom.
8713 (list-colors-sort-key): New function.
8714 (list-colors-display): Doc fix. Sort list according to the option
8716 (list-colors-print): Add HSV values to `help-echo' property of
8719 2010-06-14 Juri Linkov <juri@jurta.org>
8721 * compare-w.el: Move to the "vc" subdirectory.
8723 2010-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
8725 * image-mode.el (image-mode-map): Remap left-char and right-char.
8727 * nxml/nxml-mode.el (nxml-indent-line): Standardize indent behavior.
8729 2010-06-12 Chong Yidong <cyd@stupidchicken.com>
8731 * term/common-win.el (x-colors): Add all the color names defined
8732 in rgb.txt (Bug#6332).
8734 * facemenu.el (list-colors-print): Don't print extra names if it
8735 will overflow the window width.
8737 * vc/log-edit.el (log-edit-font-lock-keywords): Revert 2010-06-02
8740 2010-06-12 Eli Zaretskii <eliz@gnu.org>
8742 * files.el (make-directory): Doc fix (bug#6396).
8744 2010-06-12 Michael Albinus <michael.albinus@gmx.de>
8746 * net/tramp.el (tramp-remote-process-environment): Protect version
8747 string by apostroph.
8748 (tramp-shell-prompt-pattern): Do not use a shy group in case of
8750 (tramp-file-name-for-operation): Add `call-process-region'.
8751 (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
8753 * net/tramp-compat.el (top): Do not autoload
8754 `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el
8755 only when `start-file-process' is not bound.
8756 (tramp-advice-file-expand-wildcards): Do not use
8757 `tramp-handle-file-remote-p'.
8758 (tramp-compat-make-temp-file): Handle the case, that
8759 `make-temp-file' has no third argument EXTENSION.
8761 2010-06-11 Juanma Barranquero <lekktu@gmail.com>
8763 * makefile.w32-in (WINS_BASIC): Include new directory vc.
8765 * loadup.el ("vc-hooks", "ediff-hook"): Load from lisp/vc/.
8767 2010-06-11 Juri Linkov <juri@jurta.org>
8769 * finder.el (finder-known-keywords): Add keyword "vc"
8770 for version control.
8772 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff.el,
8773 * emerge.el, log-edit.el, log-view.el, pcvs.el, smerge-mode.el,
8774 * vc-annotate.el, vc-bzr.el, vc-dir.el, vc-dispatcher.el, vc-git.el,
8775 * vc-hg.el, vc-mtn.el, vc.el: Add keyword "vc".
8777 2010-06-11 Juri Linkov <juri@jurta.org>
8779 Move version control related files to the "vc" subdirectory.
8780 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff-diff.el,
8781 * ediff.el, ediff-help.el, ediff-hook.el, ediff-init.el,
8782 * ediff-merg.el, ediff-mult.el, ediff-ptch.el, ediff-util.el,
8783 * ediff-vers.el, ediff-wind.el, emerge.el, log-edit.el, log-view.el,
8784 * pcvs-defs.el, pcvs.el, pcvs-info.el, pcvs-parse.el, pcvs-util.el,
8785 * smerge-mode.el, vc-annotate.el, vc-arch.el, vc-bzr.el, vc-cvs.el,
8786 * vc-dav.el, vc-dir.el, vc-dispatcher.el, vc.el, vc-git.el,
8787 * vc-hg.el, vc-hooks.el, vc-mtn.el, vc-rcs.el, vc-sccs.el, vc-svn.el:
8788 Move files to the "vc" subdirectory.
8790 2010-06-11 Chong Yidong <cyd@stupidchicken.com>
8792 * comint.el (comint-password-prompt-regexp): Fix 2010-04-10 change
8795 2010-06-11 Stephen Eglen <stephen@gnu.org>
8797 * shell.el: Bind `shell-resync-dirs' to M-RET.
8799 2010-06-10 Michael Albinus <michael.albinus@gmx.de>
8801 * notifications.el: Move file from lisp/net, because it is
8802 supposed to talk locally to the user.
8804 2010-06-10 Julien Danjou <julien@danjou.info>
8806 * net/notifications.el (notifications-on-action-signal)
8807 (notifications-on-closed-signal): Pass notification id as first
8808 argument to the callback functions. Add docstrings.
8809 (notifications-notify): Fix docstring.
8811 2010-06-10 Glenn Morris <rgm@gnu.org>
8813 * emacs-lisp/authors.el (authors-ignored-files)
8814 (authors-valid-file-names): Add some files.
8816 2010-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
8818 * net/rcirc.el (rcirc-server-alist, rcirc, rcirc-connect): Resolve
8819 merge conflict, giving preference to the emacs-23 version of the code.
8821 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
8823 * emacs-lisp/advice.el (ad-compile-function):
8824 Define warning-suppress-types before we let-bind it (bug#6275).
8826 * vc-dispatcher.el: Rename mode-line-hook to vc-mode-line-hook;
8827 declare it, make it buffer-local and permanent-local (bug#6324).
8828 (vc-resynch-window): Adjust name.
8829 * vc-hooks.el (vc-find-file-hook): Adjust name.
8831 2010-06-09 Michael Albinus <michael.albinus@gmx.de>
8833 * net/notifications.el (notifications-notify): Fix docstring.
8835 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
8837 Update to Unicode 6.0.0 beta.
8838 * international/charprop.el: Update copyright.
8839 * international/mule-cmds.el (ucs-names): Update character ranges.
8840 * international/uni-bidi.el:
8841 * international/uni-category.el:
8842 * international/uni-combining.el:
8843 * international/uni-comment.el:
8844 * international/uni-decimal.el:
8845 * international/uni-decomposition.el:
8846 * international/uni-digit.el:
8847 * international/uni-lowercase.el:
8848 * international/uni-mirrored.el:
8849 * international/uni-name.el:
8850 * international/uni-numeric.el:
8851 * international/uni-old-name.el:
8852 * international/uni-titlecase.el:
8853 * international/uni-uppercase.el: Regenerate.
8855 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
8857 * emacs-lisp/smie.el (comment-string-strip): Declare function.
8858 (smie-precs-precedence-table): Fix typo in docstring.
8860 * vc-mtn.el (log-edit-extract-headers): Declare function.
8862 * vc-hg.el (log-edit-extract-headers): Remove duplicate declaration.
8864 * net/notifications.el (dbus-register-signal): Declare function.
8865 (notifications-notify): Fix typos and reflow docstring.
8867 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
8869 Improve VC create/retrieve tag/branch.
8870 * vc.el (vc-create-tag): Do not read the directory name for VCs
8871 with repository revision granularity. Adjust the tag/branch
8872 prompt. Reset VC properties.
8873 (vc-retrieve-tag): Do not read the directory name for VCs
8874 with repository revision granularity. Reset VC properties.
8876 2010-06-09 Julien Danjou <julien@danjou.info>
8878 * net/notifications.el: New file.
8880 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
8882 Add optional support for resetting VC properties.
8883 * vc-dispatcher.el (vc-resynch-window): Add new optional argument,
8884 call vc-file-clearprops when true.
8885 (vc-resynch-buffer): Add new optional argument, pass it down.
8886 (vc-resynch-buffers-in-directory): Likewise.
8888 Improve support for special markup in the VC commit message.
8889 * vc-mtn.el (vc-mtn-checkin): Add support for Author: and Date: markup.
8890 * vc-hg.el (vc-hg-checkin): Add support for Date:.
8891 * vc-git.el (vc-git-checkin):
8892 * vc-bzr.el (vc-bzr-checkin): Likewise.
8894 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
8896 * emacs-lisp/smie.el (smie-indent-keyword): Remove special case that
8897 can be handled with a ((:before "fn") (:prev "=>" parent)) rule.
8899 2010-06-07 Martin Pohlack <mp26@os.inf.tu-dresden.de>
8901 * iimage.el: Remove images as soon as the underlying text is modified.
8902 (iimage-modification-hook): New function.
8903 (iimage-mode-buffer): Use it.
8905 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
8907 * emacs-lisp/smie.el (smie-indent-offset-rule): Rename from
8908 smie-indent-offset-after. Add :prev case. Make a bit more generic.
8909 (smie-indent-virtual): Remove `virtual' arg. Update callers.
8910 (smie-indent-keyword): Add handling of open-paren keywords.
8911 (smie-indent-comment-continue): Don't assume comment-continue.
8913 2010-06-07 Martin Rudalics <rudalics@gmx.at>
8915 * window.el (pop-to-buffer): Remove the conditional that
8916 compares new-window and old-window, so it will reselect
8917 the selected window unconditionally.
8918 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00078.html
8920 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
8922 * emacs-lisp/smie.el (smie-indent-offset-after)
8923 (smie-indent-forward-token, smie-indent-backward-token): New functions.
8924 (smie-indent-after-keyword): Use them.
8925 (smie-indent-fixindent): Only applies to the indentation of the BOL.
8926 (smie-indent-keyword): Tweak the black magic.
8927 (smie-indent-comment-continue): Strip comment-continue before use.
8928 (smie-indent-functions): Indent comments before keywords.
8930 2010-06-06 Juri Linkov <juri@jurta.org>
8932 * isearch.el (isearch-lazy-highlight-search): Fix looping
8933 by checking for empty match. This syncs this loop with the
8934 similar loop in `isearch-search'. (Bug#6362)
8936 2010-06-05 Juanma Barranquero <lekktu@gmail.com>
8938 * net/dbus.el (dbus-register-method): Declare function.
8939 (dbus-handle-event, dbus-property-handler): Fix typos in docstrings.
8940 (dbus-introspect): Doc fix.
8941 (dbus-event-bus-name, dbus-introspect-get-interface)
8942 (dbus-introspect-get-argument): Reflow docstrings.
8944 2010-06-05 Dan Nicolaescu <dann@ics.uci.edu>
8946 vc-log-incoming/vc-log-outgoing fixes for Git.
8947 * vc-git.el (vc-git-log-view-mode): Fix font lock for
8948 incoming/outgoing logs.
8949 (vc-git-log-outgoing, vc-git-log-incoming): Use @{upstream}
8950 instead of vc-git-compute-remote.
8951 (vc-git-compute-remote): Remove.
8953 2010-06-04 Chong Yidong <cyd@stupidchicken.com>
8955 * term/common-win.el (x-colors): Add "dark green" and "dark
8956 turquoise" (Bug#6332).
8958 2010-06-04 Juri Linkov <juri@jurta.org>
8960 * simple.el (kill-new): Fix logic of kill-do-not-save-duplicates.
8961 Instead of setting `replace' to t and replacing the same string
8962 with itself, don't do certain actions when
8963 kill-do-not-save-duplicates is non-nil and string is equal to car
8964 of kill-ring: don't call menu-bar-update-yank-menu, don't push
8965 interprogram-paste strings to kill-ring, and don't push the input
8966 argument `string' to kill-ring.
8967 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00072.html
8969 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
8971 * subr.el (directory-sep-char): Move from fileio.c and make a defconst.
8973 2010-06-04 Michael Albinus <michael.albinus@gmx.de>
8975 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name): Expand "~/".
8976 (tramp-gvfs-handler-mounted-unmounted)
8977 (tramp-gvfs-connection-mounted-p): Handle default-location.
8979 * net/tramp-smb.el (tramp-smb-handle-delete-directory): Don't try to
8980 move files to trash.
8982 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
8984 * international/mule-cmds.el (nonascii-insert-offset)
8985 (nonascii-translation-table): Add obsolescence information.
8987 * international/mule.el (make-translation-table-from-vector): Doc fix.
8989 2010-06-03 Glenn Morris <rgm@gnu.org>
8991 * desktop.el (desktop-clear-preserve-buffers):
8992 Add "*Warnings*" buffer. (Bug#6336)
8994 2010-06-03 Dan Nicolaescu <dann@ics.uci.edu>
8996 vc-log-incoming/vc-log-outgoing improvements for Git.
8997 * vc-git.el (vc-git-log-outgoing): Use the same format as the
8999 (vc-git-log-incoming): Likewise. Run "git fetch" before the log command.
9001 Add bindings for vc-log-incoming and vc-log-outgoing.
9002 * vc-hooks.el (vc-prefix-map): Add bindings for vc-log-incoming
9003 and vc-log-outgoing.
9004 * vc-dir.el (vc-dir-menu-map): Add menu bindings for vc-log-incoming
9005 and vc-log-outgoing.
9007 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
9009 * net/rcirc.el (rcirc-sort-nicknames): Remove.
9010 (rcirc-handler-366): Always sort nicknames.
9012 2010-06-03 Juanma Barranquero <lekktu@gmail.com>
9014 * emacs-lisp/smie.el (comment-continue): Declare for byte-compiler.
9016 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
9018 * net/rcirc.el (rcirc-nickname<, rcirc-sort-nicknames-join): Doc fix.
9020 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
9022 * net/rcirc.el (rcirc-sort-nicknames): Change default.
9023 (rcirc-sort-nicknames-join): Avoid setq.
9025 2010-06-03 Deniz Dogan <deniz.a.m.dogan@gmail.com>
9027 * net/rcirc.el (rcirc-sort-nicknames): New custom.
9028 (rcirc-nickname<, rcirc-sort-nicknames-join): New funs.
9029 (rcirc-handler-366): Use them.
9031 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
9033 Split smie-indent-calculate into more manageable chunks.
9034 * emacs-lisp/smie.el (smie-indent-virtual, smie-indent-fixindent)
9035 (smie-indent-comment, smie-indent-after-keyword, smie-indent-keyword)
9036 (smie-indent-close, smie-indent-comment-continue, smie-indent-bob)
9037 (smie-indent-exps): Extract from smie-indent-calculate.
9038 (smie-indent-functions): New var.
9039 (smie-indent-functions): Use them.
9041 2010-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
9043 * emacs-lisp/smie.el (smie-indent-hanging-p): Use smie-bolp.
9044 (smie-indent-calculate): Simplify and cleanup.
9046 2010-06-02 Michael Albinus <michael.albinus@gmx.de>
9048 * net/tramp-gvfs.el (top): Require url-util.
9049 (tramp-gvfs-mount-point): Remove.
9050 (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command):
9052 (with-tramp-dbus-call-method): Format trace message.
9053 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
9054 Implement backup call, when operation on local files fails.
9055 Use progress reporter. Flush properties of changed files.
9056 (tramp-gvfs-handle-make-directory): Make more traces.
9057 (tramp-gvfs-url-file-name): Hexify file name in url.
9058 (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
9059 into account for the resulting file name.
9060 (tramp-gvfs-handler-askquestion): Return dummy mountpoint, when
9061 the answer is "no". See `tramp-gvfs-maybe-open-connection'.
9062 (tramp-gvfs-handler-mounted-unmounted)
9063 (tramp-gvfs-connection-mounted-p): Test also for new mountspec
9064 attribute "default_location". Set "prefix" property.
9065 (tramp-gvfs-mount-spec): Return both prefix and mountspec.
9066 (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
9067 exists. Raise an error, if not (due to a corresponding answer
9068 "no" in interactive questions, for example).
9070 2010-06-02 Dan Nicolaescu <dann@ics.uci.edu>
9072 * log-edit.el (log-edit-font-lock-keywords): Make group 4 match lax.
9074 2010-06-01 Juanma Barranquero <lekktu@gmail.com>
9076 * emacs-lisp/eldoc.el: Add completions for new commands left-* and
9079 2010-06-01 Dan Nicolaescu <dann@ics.uci.edu>
9081 Add support for vc-log-incoming, improve vc-log-outgoing for Git.
9082 * vc-git.el (vc-git-compute-remote): New function.
9083 (vc-git-log-outgoing): Use it instead of hard coding a value.
9084 (vc-git-log-incoming): New function.
9086 Improve state updating for VC tag commands.
9087 * vc.el (vc-create-tag, vc-retrieve-tag): Call vc-resynch-buffer
9088 to update the state of all buffers in the directory.
9090 * vc-dir.el (vc-dir-update): Remove entries with a nil state (bug#5539).
9092 2010-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
9094 * vc-bzr.el (vc-bzr-revision-completion-table): Apply
9095 `file-directory-p' to the filename part rather than to the whole text.
9097 2010-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
9099 * man.el (Man-completion-table): Let the user type "-k " (bug#6319).
9101 2010-05-31 Drew Adams <drew.adams@oracle.com>
9103 * files.el (directory-files-no-dot-files-regexp): Doc fix (bug#6298).
9105 2010-05-31 Juanma Barranquero <lekktu@gmail.com>
9107 * subr.el (momentary-string-display): Just use read-event to read
9108 the exit event (Bug#6238).
9110 2010-05-30 Eli Zaretskii <eliz@gnu.org>
9112 * international/mule.el (define-coding-system): Doc fix (bug#6313).
9114 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
9116 * emulation/cua-base.el: Recognize also `right-word' and `left-word'.
9117 Suggested by Eli Zaretskii <eliz@gnu.org>.
9119 2010-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9121 * minibuffer.el (completion-file-name-table): Don't return a boundary
9122 past the end of `string' (bug#6299).
9123 (completion--file-name-table): Delegate to completion-file-name-table
9124 for the `boundaries' case.
9126 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
9128 * emulation/cua-base.el: Recognize `right-char' and `left-char' as
9131 * progmodes/ada-xref.el (ada-prj-ada-project-path-sep): Set from
9132 `path-separator', but maintain compatibility with Emacs 20.2.
9134 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
9136 * server.el (server-process-filter): Receive parent-id argument
9138 (server-create-window-system-frame): New arg. Pass parent-id as
9141 2010-05-29 Eli Zaretskii <eliz@gnu.org>
9143 Bidi-sensitive word movement with arrow keys.
9144 * subr.el (right-arrow-command, left-arrow-command): Move to
9147 * bindings.el (right-char, left-char): Move from subr.el and
9148 rename from right-arrow-command and left-arrow-command.
9149 (right-word, left-word): New functions.
9150 (global-map) <right>: Bind to right-char.
9151 (global-map) <left>: Bind to left-char.
9152 (global-map) <C-right>: Bind to right-word.
9153 (global-map) <C-left>: Bind to left-word.
9155 * ls-lisp.el (ls-lisp-classify-file): New function.
9156 (ls-lisp-insert-directory): Call it if switches include -F (bug#6294).
9157 (ls-lisp-classify): Call ls-lisp-classify-file.
9158 (insert-directory): Remove blanks from switches.
9160 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
9162 * ansi-color.el: Delete unused escape sequences (Bug#6085).
9163 (ansi-color-drop-regexp): New constant.
9164 (ansi-color-apply, ansi-color-filter-region)
9165 (ansi-color-apply-on-region): Delete unrecognized control sequences.
9166 (ansi-color-apply): Build string list before calling concat.
9168 2010-05-28 Juri Linkov <juri@jurta.org>
9170 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
9171 Replace LOCALP arg of `dired-get-filename' 'no-dir with nil.
9174 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
9176 * net/tramp.el (tramp-debug-message): Add `tramp-compat-funcall'
9177 to ignored backtrace functions.
9178 (with-progress-reporter): Expand docstring.
9179 (tramp-handle-delete-file): Implement TRASH argument.
9180 (tramp-get-remote-trash): New defun.
9182 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
9184 * net/tramp-compat.el (tramp-compat-delete-file):
9185 Use `symbol-value' for backward compatibility.
9187 * net/tramp.el (tramp-handle-make-symbolic-link)
9189 (tramp-do-copy-or-rename-file-via-buffer)
9190 (tramp-do-copy-or-rename-file-directly)
9191 (tramp-do-copy-or-rename-file-out-of-band)
9192 (tramp-handle-process-file, tramp-handle-call-process-region)
9193 (tramp-handle-shell-command, tramp-handle-file-local-copy)
9194 (tramp-handle-insert-file-contents, tramp-handle-write-region)
9195 (tramp-delete-temp-file-function): Use `delete-file' instead
9196 of `tramp-compat-delete-file'.
9198 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
9199 (tramp-fish-handle-make-symbolic-link)
9200 (tramp-fish-handle-process-file): Use `delete-file' instead
9201 of `tramp-compat-delete-file'.
9203 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
9204 Use `delete-file' instead of `tramp-compat-delete-file'.
9206 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
9207 (tramp-gvfs-handle-write-region): Use `delete-file' instead of
9208 `tramp-compat-delete-file'.
9210 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file):
9211 Use `delete-file' instead of `tramp-compat-delete-file'.
9213 * net/tramp-smb.el (tramp-smb-handle-copy-file)
9214 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
9215 (tramp-smb-handle-write-region): Use `delete-file' instead of
9216 `tramp-compat-delete-file'.
9217 (tramp-smb-handle-delete-directory): Use 'trash as arg.
9219 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
9221 * dired.el (dired-delete-file): New arg TRASH.
9222 (dired-internal-do-deletions): New arg TRASH. Use progress reporter.
9223 (dired-do-flagged-delete, dired-do-delete): Use trash.
9225 * speedbar.el (speedbar-item-delete): Allow trashing.
9227 * files.el (delete-directory): New arg TRASH.
9229 * net/ange-ftp.el (ange-ftp-del-tmp-name, ange-ftp-delete-file)
9230 (ange-ftp-rename-remote-to-remote)
9231 (ange-ftp-rename-local-to-remote)
9232 (ange-ftp-rename-remote-to-local, ange-ftp-load)
9233 (ange-ftp-compress, ange-ftp-uncompress): Remove optional arg from
9235 (ange-ftp-delete-directory): Add optional arg to `delete-file', to
9238 * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
9239 handle new TRASH arg of `delete-file'.
9241 * net/tramp.el (tramp-handle-delete-file): Change FORCE arg to TRASH.
9242 (tramp-handle-make-symbolic-link, tramp-handle-load)
9243 (tramp-do-copy-or-rename-file-via-buffer)
9244 (tramp-do-copy-or-rename-file-directly)
9245 (tramp-do-copy-or-rename-file-out-of-band)
9246 (tramp-handle-process-file, tramp-handle-call-process-region)
9247 (tramp-handle-shell-command, tramp-handle-file-local-copy)
9248 (tramp-handle-insert-file-contents, tramp-handle-write-region)
9249 (tramp-delete-temp-file-function): Use null TRASH arg in
9250 tramp-compat-delete-file call.
9252 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
9253 (tramp-fish-handle-delete-file)
9254 (tramp-fish-handle-make-symbolic-link)
9255 (tramp-fish-handle-process-file): Use null TRASH arg in
9256 `tramp-compat-delete-file' call.
9258 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use null TRASH
9259 arg in `tramp-compat-delete-file' call.
9261 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
9262 (tramp-gvfs-handle-write-region): Use null TRASH arg in
9263 `tramp-compat-delete-file' call.
9265 * net/tramp-imap.el (tramp-imap-handle-delete-file): Rename arg.
9266 (tramp-imap-do-copy-or-rename-file): Use null TRASH arg in
9267 `tramp-compat-delete-file' call.
9269 * net/tramp-smb.el (tramp-smb-handle-copy-file)
9270 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
9271 (tramp-smb-handle-write-region): Use null TRASH arg in
9272 tramp-compat-delete-file call.
9273 (tramp-smb-handle-delete-directory): Use tramp-compat-delete-file.
9274 (tramp-smb-handle-delete-file): Rename arg.
9276 * diff.el (diff-sentinel):
9277 * epg.el (epg--make-temp-file, epg-decrypt-string)
9278 (epg-verify-string, epg-sign-string, epg-encrypt-string):
9279 * jka-compr.el (jka-compr-partial-uncompress)
9280 (jka-compr-call-process, jka-compr-write-region):
9281 * server.el (server-sentinel): Remove optional arg from
9282 delete-file, reverting 2010-05-03 change.
9284 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
9286 * progmodes/verilog-mode.el (verilog-type-font-keywords):
9287 Use font-lock-constant-face, not obsolete font-lock-reference-face.
9289 2010-05-27 Kenichi Handa <handa@m17n.org>
9291 * language/hebrew.el (hebrew-shape-gstring): Check if a glyph
9292 element of GSTRING is nil.
9294 2010-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
9296 * emacs-lisp/smie.el (smie-forward-token-function)
9297 (smie-backward-token-function): New vars.
9298 (smie-backward-sexp, smie-forward-sexp)
9299 (smie-indent-hanging-p, smie-indent-calculate): Use them.
9300 (smie-default-backward-token): Rename from smie-backward-token and
9302 (smie-default-forward-token): Rename from smie-forward-token and
9304 (smie-next-sexp): Handle nil results from next-token.
9305 (smie-indent-calculate): Add a new case for special `fixindent' comments.
9307 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
9309 * progmodes/verilog-mode.el (verilog-type-font-keywords):
9310 Use font-lock-constant-face, not obsolete font-lock-reference-face.
9312 2010-05-27 Masatake YAMATO <yamato@redhat.com>
9314 * htmlfontify.el (hfy-face-resolve-face): New function.
9315 (hfy-face-to-style): Use it (Bug#6279).
9317 2010-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
9319 * progmodes/ada-xref.el (ada-gnat-parse-gpr):
9320 * emulation/edt.el (edt-load-keys): Avoid (expand-file-name ".").
9322 2010-05-26 Glenn Morris <rgm@gnu.org>
9324 * emulation/edt.el (edt-load-keys): Use locate-library.
9326 2010-05-25 Chong Yidong <cyd@stupidchicken.com>
9328 * log-edit.el (log-edit-strip-single-file-name): Default to nil.
9329 (log-edit-changelog-entries): Doc fix.
9330 (log-edit-changelog-insert-entries): Args changed.
9331 Rename relative filenames in ChangeLog entries. Delete tabs.
9332 (log-edit-insert-changelog-entries): Reorganize return value of
9333 `log-edit-changelog-entries' to pass filenames to
9334 log-edit-changelog-insert-entries.
9336 2010-05-25 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9338 * dired.el (dired-mode-map): Rebind "\C-t\C-t" from
9339 `image-dired-dired-insert-marked-thumbs' to
9340 `image-dired-dired-toggle-marked-thumbs'.
9342 * image-dired.el: Require cl when compiling.
9343 (image-dired-dired-toggle-marked-thumbs): Rename from
9344 `image-dired-dired-insert-marked-thumbs'. Add ARG. Doc fix.
9345 Use interactive spec "P". Set LOCALP arg of `dired-get-filename'
9346 to 'no-dir. Skip files whose names don't match
9347 `image-file-name-regexp'. When file has a thumbnail overlay,
9348 delete it. (Bug#5270)
9350 2010-05-25 Juri Linkov <juri@jurta.org>
9352 * image-mode.el (image-mode): Add image-after-revert-hook to
9354 (image-after-revert-hook): New function. (Bug#5669)
9356 2010-05-25 Juri Linkov <juri@jurta.org>
9358 * image.el (image-animated-p): When delay between animated images
9359 is 0, set it to 10 (0.1 sec). (Bug#6258)
9361 2010-05-25 Christian Lynbech <christian.lynbech@tieto.com> (tiny change)
9363 * net/tramp.el (tramp-handle-insert-directory): Don't use
9364 `forward-word', its default syntax could be changed.
9366 2010-05-25 Michael Albinus <michael.albinus@gmx.de>
9368 * net/tramp.el (tramp-progress-reporter-update): New defun.
9369 (with-progress-reporter): Use it.
9370 (tramp-process-actions):
9371 * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion):
9372 Preserve current message, in order to let progress reporter continue
9373 afterwards. (Bug#6257)
9375 2010-05-25 Glenn Morris <rgm@gnu.org>
9377 * net/rcirc.el (rcirc-default-user-name, rcirc-default-full-name):
9380 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
9382 * net/rcirc.el (rcirc-default-user-name): Change to "user".
9383 (rcirc-default-full-name): Change to "unknown".
9384 (rcirc-user-name-history): Add variable.
9386 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
9387 Jonathan Rockway <jon@jrock.us>
9389 * net/rcirc.el (rcirc-server-alist): Add :pass.
9390 (rcirc): When prompting for connection parameters, also prompt for
9391 username and password.
9392 (rcirc-connect): Take a PASS argument. If PASS is non-nil, send
9393 value to server when connecting.
9395 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9397 * emacs-lisp/smie.el (smie-set-prec2tab): Check override before use.
9398 (smie-merge-prec2s): Pass the tables as separate args.
9399 (smie-bnf-precedence-table): Adjust call accordingly.
9400 (smie-prec2-levels): Set levels at the end.
9402 Replace Lisp calls to delete-backward-char by delete-char.
9403 * bs.el, expand.el, ido.el, image-dired.el, lpr.el, pcomplete.el,
9404 * skeleton.el, term.el, time.el, wid-edit.el, woman.el,
9405 * calc/calc-graph.el, calc/calc-help.el, calc/calc-incom.el,
9406 * calc/calc.el, emacs-lisp/cl-extra.el, emacs-lips/cl-loaddefs.el,
9407 * emulation/cua-rect.el, emulation/viper-ex.el, eshell/esh-test.el,
9408 * eshell/eshell.el, gnus/gnus-uu.el, gnus/nndoc.el, gnus/nnrss.el,
9409 * gnus/rfc2047.el, gnus/utf7.el, international/utf-7.el,
9410 * language/ethio-util.el, mh-e/mh-alias.el, mh-e/mh-search.el,
9411 * net/imap.el, net/rcirc.el, obsolete/complete.el, play/decipher.el,
9412 * progmodes/ada-mode.el, progmodes/cc-awk.el, progmodes/dcl-mode.el,
9413 * progmodes/ps-mode.el, progmodes/verilog-mode.el,
9414 * progmodes/vhdl-mode.el, textmodes/bibtex.el, textmodes/fill.el,
9415 * textmodes/reftex-auc.el, textmodes/rst.el, textmodes/sgml-mode.el,
9416 * textmodes/table.el, textmodes/texinfmt.el: Replace Lisp calls to
9417 delete-backward-char by calls to delete-char.
9419 2010-05-25 Kenichi Handa <handa@m17n.org>
9421 * language/hebrew.el (hebrew-shape-gstring): New function.
9422 Register it in composition-function-table for all Hebrew combining
9425 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9427 * epa.el (epa--select-keys): Don't explicitly delete the window since
9428 that can fail (e.g. sole window in frame). Use dedication instead.
9430 2010-05-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
9432 * textmodes/fill.el (fill-region): Don't fill past the end (bug#6201).
9434 2010-05-22 Chong Yidong <cyd@stupidchicken.com>
9436 * image.el (image-refresh): Define as an alias for image-flush.
9438 * image-mode.el (image-toggle-display-image): Caller changed.
9440 2010-05-21 Juri Linkov <juri@jurta.org>
9442 * progmodes/grep.el (grep-read-files): Fix multi-pattern aliases.
9443 Remove "all" from grep-files-aliases. Split grep-files-aliases by
9444 whitespace, call wildcard-to-regexp on substrings and concat them
9445 with "\\|". (Bug#6114)
9447 2010-05-21 Alan Mackenzie <acm@muc.de>
9449 * progmodes/cc-engine.el (c-parse-state-get-strategy):
9450 Replace parameter `here' with `here-' and `here-plus', which sandwich
9451 any pertinent CPP construct.
9452 (c-remove-stale-state-cache-backwards): Fix a bug which happens
9453 when doing (c-parse-state) in a CPP construct: Exclude any "new"
9454 CPP construct from taking part in the scanning.
9456 2010-05-21 Michael Albinus <michael.albinus@gmx.de>
9458 * net/tramp.el (tramp-do-copy-or-rename-file)
9459 (tramp-handle-file-local-copy, tramp-maybe-open-connection):
9460 Tune `with-progress-reporter' messages.
9461 (tramp-handle-vc-registered):
9462 * net/tramp-fish.el (tramp-fish-handle-file-local-copy)
9463 (tramp-fish-handle-insert-file-contents)
9464 (tramp-fish-maybe-open-connection):
9465 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
9466 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file)
9467 (tramp-imap-handle-insert-file-contents)
9468 (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
9470 2010-05-21 Juanma Barranquero <lekktu@gmail.com>
9472 * add-log.el (change-log-font-lock-keywords):
9473 Highlight all authors in multi-author entries.
9475 * smerge-mode.el (smerge-refine-ignore-whitespace)
9476 (smerge-refine-weight-hack, smerge-refine, smerge-makeup-conflict):
9477 Fix typos in docstrings.
9478 (smerge-resolve, smerge-refine-subst): Reflow docstrings.
9480 2010-05-21 Glenn Morris <rgm@gnu.org>
9482 * progmodes/fortran.el (fortran-mode):
9483 * progmodes/f90.el (f90-mode): Derive from prog-mode.
9485 * loadup.el [CANNOT_DUMP]: Update for bootstrap-emacs no longer
9486 having a relative path in src/Makefile.in.
9488 2010-05-20 Kevin Ryde <user42@zip.com.au>
9490 * help-mode.el (help-make-xrefs): For Info node links turn
9491 newlines into spaces. Link node names with newlines are matched
9492 by help-xref-info-regexp and buttonized, this change ensures they
9493 can be followed successfully with RET. (Bug#6206)
9495 2010-05-20 Juri Linkov <juri@jurta.org>
9497 * locate.el (locate): Use pop-to-buffer instead of
9498 switch-to-buffer-other-window. (Bug#6204)
9500 2010-05-20 Juri Linkov <juri@jurta.org>
9502 * replace.el (replace-highlight): Fix lazy-highlighting
9503 for `M-s w str M-% str RET'.
9505 2009-12-15 Masatake YAMATO <yamato@redhat.com>
9507 * isearch.el (isearch-yank-word-or-char): Pull next subword
9508 when `subword-mode' is activated. (Bug#6220)
9510 2010-05-20 Mark A. Hershberger <mah@everybody.org>
9512 * isearch.el (isearch-update-post-hook): New hook.
9513 (isearch-update): Use the new hook. (Bug#6225)
9515 2010-05-20 Juri Linkov <juri@jurta.org>
9517 * isearch.el (isearch-mode-map): Bind more keys to isearch-help-map:
9518 [f1], [help], and (char-to-string help-char) instead of "\C-h".
9521 2010-05-20 Juri Linkov <juri@jurta.org>
9523 * isearch.el (isearch-yank-string): Use isearch-process-search-string.
9526 2010-05-20 Juri Linkov <juri@jurta.org>
9528 * dired-x.el (dired-jump, dired-jump-other-window): Add arg
9529 FILE-NAME to read from the minibuffer when called interactively
9530 with prefix argument instead of using buffer-file-name.
9531 http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00534.html
9533 * dired.el: Update autoloads.
9535 2010-05-20 Chong Yidong <cyd@stupidchicken.com>
9537 * nxml/nxml-mode.el (nxml-mode-map): Bind C-c / to
9538 nxml-finish-element, for consistency with SGML mode.
9540 * progmodes/octave-mod.el (octave-mode-map): Bind C-c / to
9543 2010-05-20 Juanma Barranquero <lekktu@gmail.com>
9545 * composite.el: Require cl when compiling.
9546 (reference-point-alist, compose-gstring-for-graphic)
9547 (compose-gstring-for-terminal): Fix typos in docstrings.
9549 2010-05-19 Juri Linkov <juri@jurta.org>
9551 * emacs-lisp/cl-macs.el (window-parameter): Add defsetf with
9552 set-window-parameter.
9554 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
9556 * net/tramp.el (tramp-methods): Add `tramp-async-args' attribute
9558 (tramp-maybe-open-connection): Use it.
9560 2010-05-19 Eli Zaretskii <eliz@gnu.org>
9562 * simple.el (move-end-of-line): Make sure we are at line beginning
9563 before backing up to end of previous line.
9565 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
9567 * password-cache.el (password-cache-remove): Fix docstring.
9569 * net/secrets.el: Autoload the widget functions.
9570 (secrets-search-items, secrets-create-item)
9571 (secrets-get-attributes, secrets-expand-item): Attributes will be
9572 stored on the password database without leading ":", as all other
9574 (secrets-mode): Fix docstring.
9575 (secrets-show-secrets): Provide it as autoloaded command only when
9576 D-Bus support is available. Check existence of Secret Service API.
9578 2010-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
9580 * indent.el (indent-region): Deactivate region (bug#6200).
9582 2010-05-19 Glenn Morris <rgm@gnu.org>
9584 * vc-dir.el (vc-dir): Don't pop-up-windows. (Bug#6204)
9586 2010-05-19 Kenichi Handa <handa@m17n.org>
9588 * composite.el: Register compose-gstring-for-graphic in
9589 composition-function-table only for combining characters (Mn, Mc, Me).
9591 2010-05-18 Jay Belanger <jay.p.belanger@gmail.com>
9593 * calc/calc-trail.el (calc-trail-isearch-forward)
9594 (calc-trail-isearch-backward): Ensure that the new window
9595 point is set correctly.
9597 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
9599 * subr.el (read-quoted-char): Resolve modifiers after key
9600 remapping (bug#6212).
9602 2010-05-18 Michael Albinus <michael.albinus@gmx.de>
9604 Add visualization code for secrets.
9605 * net/secrets.el (secrets-mode): New major mode.
9606 (secrets-show-secrets, secrets-show-collections)
9607 (secrets-expand-collection, secrets-expand-item)
9608 (secrets-tree-widget-after-toggle-function)
9609 (secrets-tree-widget-show-password): New defuns.
9611 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
9613 * emacs-lisp/smie.el (smie-next-sexp): Break inf-loop at BOB.
9614 (smie-backward-sexp, smie-forward-sexp): Remove boundary condition now
9615 handled in smie-next-sexp.
9616 (smie-indent-calculate): Provide a starting indentation (so the
9617 recursion is well-founded ;-).
9619 Fix handling of non-associative equal levels.
9620 * emacs-lisp/smie.el (smie-prec2-levels): Choose distinct levels even
9621 when it's not needed.
9622 (smie-op-left, smie-op-right): New functions.
9623 (smie-next-sexp): New function, extracted from smie-backward-sexp.
9624 Better handle equal levels to distinguish the associative case from
9625 the "multi-keyword construct" case.
9626 (smie-backward-sexp, smie-forward-sexp): Use it.
9628 2010-05-18 Juanma Barranquero <lekktu@gmail.com>
9630 * progmodes/prolog.el (smie-indent-basic): Declare for byte-compiler.
9632 * emacs-lisp/smie.el (smie-precs-precedence-table, smie-backward-sexp)
9633 (smie-forward-sexp, smie-indent-calculate): Fix typos in docstrings.
9635 2010-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
9637 Provide a simple generic indentation engine and use it for Prolog.
9638 * emacs-lisp/smie.el: New file.
9639 * progmodes/prolog.el (prolog-smie-op-levels)
9640 (prolog-smie-indent-rules): New var.
9641 (prolog-mode-variables): Use them to configure SMIE.
9642 (prolog-indent-line, prolog-indent-level): Remove.
9644 2010-05-17 Jay Belanger <jay.p.belanger@gmail.com>
9646 * calc/calc-vec.el (math-vector-avg): Put the vector elements in
9647 order before computing the averages.
9649 2010-05-16 Jay Belanger <jay.p.belanger@gmail.com>
9651 * calc/calc-vec.el (calc-histogram):
9652 (calcFunc-histogram): Allow vectors as inputs.
9653 (math-vector-avg): New function.
9655 * calc/calc-ext.el (math-group-float): Have the number of digits
9656 being grouped depend on the radix (Bug#6189).
9658 2010-05-15 Ken Raeburn <raeburn@raeburn.org>
9660 * version.el (emacs-copyright, emacs-version): Don't define here,
9661 now that emacs.c defines it.
9663 2010-05-15 Eli Zaretskii <eliz@gnu.org>
9665 * international/mule-cmds.el (mule-menu-keymap): Fix definition of
9666 "Describe Language Environment" menu item.
9668 * language/hebrew.el ("Hebrew", "Windows-1255"): Doc fix.
9670 Bidi-sensitive movement with arrow keys.
9671 * subr.el (right-arrow-command, left-arrow-command): New functions.
9673 * bindings.el (global-map): Bind them to right and left arrow keys.
9675 Don't override standard definition of convert-standard-filename.
9676 * files.el (convert-standard-filename):
9677 Call w32-convert-standard-filename and dos-convert-standard-filename on
9678 the corresponding systems.
9680 * w32-fns.el (w32-convert-standard-filename): Rename from
9681 convert-standard-filename. Doc fix.
9683 * dos-fns.el (dos-convert-standard-filename): Doc fix.
9684 (convert-standard-filename): Don't defalias.
9685 (register-name-alist, make-register, register-value)
9686 (set-register-value, intdos): Obsolete aliases for the
9687 corresponding dos-* functions and variables.
9688 (dos-intdos): Add a doc string.
9690 2010-05-15 Jay Belanger <jay.p.belanger@gmail.com>
9692 * calc/calc-aent.el (math-read-token, math-find-user-tokens):
9693 * calc/calc-lang.el (math-read-big-rec, math-lang-read-symbol):
9694 (math-compose-tex-func):
9695 * calc/calccomp.el (math-compose-expr):
9696 * calc/calc-ext.el (math-format-flat-expr-fancy):
9697 * calc/calc-store.el (calc-read-var-name):
9698 * calc/calc-units.el (calc-explain-units-rec): Allow Greek letters.
9700 * calc/calc.el (var-π, var-φ, var-γ): New variables.
9701 * calc/calc-aent.el (math-read-replacement-list): Add "micro" symbol.
9702 * calc/calc-units.el (math-unit-prefixes): Add mu for micro.
9703 (math-standard-units): Add units.
9705 2010-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
9707 * progmodes/asm-mode.el (asm-mode):
9708 * progmodes/prolog.el (prolog-mode): Use define-derived-mode.
9710 * pcomplete.el (pcomplete-completions-at-point): New function,
9711 extracted from pcomplete-std-complete.
9712 (pcomplete-std-complete): Use it.
9714 2010-05-15 Glenn Morris <rgm@gnu.org>
9716 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
9717 Remove references to CVS, RCS and Old directories.
9719 2010-05-14 Jay Belanger <jay.p.belanger@gmail.com>
9721 * calc/calc-bin.el (math-format-twos-complement): Group digits when
9724 2010-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
9726 * progmodes/sh-script.el (sh-mode-default-syntax-table): Remove.
9727 (sh-mode-syntax-table): Give it a default value instead.
9728 (sh-header-marker): Make buffer-local.
9729 (sh-mode): Move make-local-variable to the corresponding setq.
9730 (sh-add-completer): Avoid gratuitously let-binding a buffer-local var.
9731 Use complete-with-action.
9733 * simple.el (prog-mode): New (abstract) major mode.
9734 * emacs-lisp/lisp-mode.el (emacs-lisp-mode, lisp-mode): Use it.
9735 * progmodes/sh-script.el (sh-mode): Remove redundant var assignment.
9737 2010-05-14 Juanma Barranquero <lekktu@gmail.com>
9739 * progmodes/sql.el (sql-oracle-program): Reflow docstring.
9740 (sql-oracle-scan-on, sql-sybase-program, sql-product-font-lock)
9741 (sql-add-product-keywords, sql-highlight-product, sql-set-product)
9742 (sql-make-alternate-buffer-name, sql-placeholders-filter)
9743 (sql-escape-newlines-filter, sql-input-sender)
9744 (sql-send-magic-terminator, sql-sybase): Fix typos in docstrings.
9746 2010-05-13 Chong Yidong <cyd@stupidchicken.com>
9748 Add TeX open-block and close-block keybindings to SGML, and vice versa.
9750 * textmodes/tex-mode.el (tex-mode-map): Bind C-c C-t to
9751 latex-open-block and C-c / to latex-close-block.
9753 * textmodes/sgml-mode.el (sgml-mode-map): Bind C-c C-o to sgml-tag
9754 and C-c C-e to sgml-close-tag.
9756 2010-05-13 Michael Albinus <michael.albinus@gmx.de>
9758 * net/tramp.el (with-progress-reporter): Create reporter object
9759 only when the message would be displayed. Handle nested calls.
9760 (tramp-handle-load, tramp-handle-file-local-copy)
9761 (tramp-handle-insert-file-contents, tramp-handle-write-region)
9762 (tramp-maybe-send-script, tramp-find-shell):
9763 Use `with-progress-reporter'.
9764 (tramp-handle-dired-compress-file, tramp-maybe-open-connection):
9767 * net/tramp-smb.el (tramp-smb-handle-copy-file)
9768 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
9769 (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
9770 Use `with-progress-reporter'.
9772 2010-05-13 Agustín Martín <agustin.martin@hispalinux.es>
9774 * textmodes/ispell.el (ispell-init-process): Do not kill ispell
9775 process everytime when spellchecking from the minibuffer (bug#6143).
9777 2010-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
9779 * progmodes/sh-script.el (sh-mode): Use define-derived-mode.
9781 * dos-fns.el: Add "dos-" prefix for namespace control.
9782 (convert-standard-filename): Define as alias for
9783 dos-convert-standard-filename but only if applicable.
9785 2010-05-12 Alan Mackenzie <acm@muc.de>
9787 * progmodes/cc-cmds.el (c-beginning-of-defun, c-end-of-defun):
9788 Push the mark at the start of these functions when appropriate.
9790 2010-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
9792 * minibuffer.el (completion-cycle-threshold): New custom var.
9793 (completion--do-completion): Use it.
9794 (minibuffer-complete): Use cycling if appropriate.
9796 2010-05-11 Juanma Barranquero <lekktu@gmail.com>
9798 * dirtrack.el (dirtrackp): Remove defcustom; don't make automatically
9799 buffer-local (it's an obsolete alias for `dirtrack-mode') (bug#6173).
9801 2010-05-11 Juri Linkov <juri@jurta.org>
9803 * scroll-all.el (scroll-all-check-to-scroll):
9804 Add `scroll-up-command' and `scroll-down-command' (bug#6164).
9806 2010-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
9808 * iimage.el (iimage-mode-map): Move initialization into declaration.
9809 (iimage-mode-buffer): Use with-silent-modifications.
9810 Simplify calling convention. Adjust callers.
9811 (iimage-mode): Don't run hook redundantly.
9813 * minibuffer.el (completion-pcm--pattern->regex):
9814 Fix last change (bug#6160).
9816 2010-05-10 Juri Linkov <juri@jurta.org>
9818 Remove nodes visited during Isearch from the Info history.
9819 * info.el (Info-isearch-initial-history)
9820 (Info-isearch-initial-history-list): New variables.
9821 (Info-isearch-start): Record initial values of
9822 Info-isearch-initial-history and Info-isearch-initial-history-list.
9823 Add Info-isearch-end to isearch-mode-end-hook.
9824 (Info-isearch-end): New function.
9826 2010-05-10 Michael Albinus <michael.albinus@gmx.de>
9828 * net/tramp.el (tramp-do-file-attributes-with-stat): Add space in
9829 format string, in order to work around a bug in pdksh.
9830 Reported by Gilles Pion <gpion@lfdj.com>.
9831 (tramp-handle-verify-visited-file-modtime): Do not send a command
9832 when the connection is not established.
9833 (tramp-handle-set-file-times): Simplify the check for utc.
9835 2010-05-10 Juanma Barranquero <lekktu@gmail.com>
9837 Fix use of `filter-buffer-substring' (rework previous change).
9838 * emulation/cua-base.el (cua--filter-buffer-noprops): New function.
9839 (cua-repeat-replace-region):
9840 * emulation/cua-rect.el (cua--extract-rectangle, cua-incr-rectangle):
9841 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
9842 (cua-cut-region-to-global-mark): Use it.
9844 2010-05-09 Michael R. Mauger <mmaug@yahoo.com>
9846 * progmodes/sql.el: Version 2.1.
9847 (sql-product-alist): Redesign structure of product info.
9848 (sql-product, sql-user, sql-server, sql-database): Safe variables.
9849 (sql-port, sql-port-history): New variables.
9850 (sql-interactive-product): New variable.
9851 (sql-send-terminator): New variable.
9852 (sql-imenu-generic-expression): Add "Types" imenu entry.
9853 (sql-oracle-login-params, sql-sqlite-login-params)
9854 (sql-mysql-login-params, sql-solid-login-params)
9855 (sql-sybase-login-params, sql-informix-login-params)
9856 (sql-ingres-login-params, sql-ms-login-params)
9857 (sql-postgres-login-params, sql-interbase-login-params)
9858 (sql-db2-login-params, sql-linter-login-params)
9859 (sql-oracle-scan-on): New variables.
9860 (sql-mode-map): Add C-c C-i to start interactive mode.
9861 (sql-mode-menu): Update existing menu entries.
9862 (sql-font-lock-keywords-builder): Compile-time font-lock optimization.
9863 (sql-mode-oracle-font-lock-keywords)
9864 (sql-mode-postgres-font-lock-keywords)
9865 (sql-mode-ms-font-lock-keywords)
9866 (sql-mode-sybase-font-lock-keywords)
9867 (sql-mode-informix-font-lock-keywords)
9868 (sql-mode-interbase-font-lock-keywords)
9869 (sql-mode-ingres-font-lock-keywords)
9870 (sql-mode-solid-font-lock-keywords)
9871 (sql-mode-mysql-font-lock-keywords)
9872 (sql-mode-sqlite-font-lock-keywords)
9873 (sql-mode-db2-font-lock-keywords)
9874 (sql-mode-linter-font-lock-keywords): Update initialization to
9875 reduce run-time complexity.
9876 (sql-add-product, sql-del-product): New functions.
9877 (sql-set-product-feature, sql-get-product-feature): New functions.
9878 (sql-product-font-lock): Update product API.
9879 (sql-add-product-keywords): New function.
9880 (sql-highlight-product): Update product API.
9881 (sql-help-list-products): New function.
9882 (sql-help): Dynamically lists free and non-free products.
9883 (sql-get-login): Correct bug in handling history and added
9885 (sql-copy-column): Copy without properties.
9886 (sqli-input-sender): Apply filters to SQLi input.
9887 (sql-query-placeholders-and-send): Obey `sql-oracle-scan-on' setting.
9888 Implement as a filter.
9889 (sql-escape-newlines-filter): Implement as a filter.
9890 (sql-remove-tabs-filter): New function.
9891 (sql-send-magic-terminator): New function.
9892 (sql-send-string): Implement magic terminator.
9893 (sql-send-region): Use `sql-send-string'.
9894 (sql-interactive-mode): Use product API.
9895 (sql-product-interactive): Use product API.
9896 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
9897 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
9898 (sql-db2, sql-linter): Use `sql-product-interactive'.
9899 (sql-connect): New function.
9900 (sql-connect-oracle, sql-connect-sybase, sql-connect-informix)
9901 (sql-connect-sqlite, sql-connect-mysql, sql-connect-solid)
9902 (sql-connect-ingres, sql-connect-ms, sql-connect-postgres)
9903 (sql-connect-interbase, sql-connect-db2, sql-connect-linter):
9906 2010-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
9908 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
9909 New custom variable.
9910 (completion-pcm--string->pattern): Use it.
9911 (completion-pcm--pattern->regex, completion-pcm--pattern->string):
9912 Make it handle any symbol as `any'.
9913 (completion-pcm--merge-completions): Extract common suffix for the new
9914 `prefix' symbol as well.
9915 (completion-substring--all-completions): Use the new `prefix' symbol.
9917 2010-05-09 Michael Albinus <michael.albinus@gmx.de>
9919 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Define if
9921 (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
9922 (tramp-compat-funcall): New defmacro.
9923 (tramp-compat-line-beginning-position)
9924 (tramp-compat-line-end-position)
9925 (tramp-compat-temporary-file-directory)
9926 (tramp-compat-make-temp-file, tramp-compat-file-attributes)
9927 (tramp-compat-copy-file, tramp-compat-copy-directory)
9928 (tramp-compat-delete-file, tramp-compat-delete-directory)
9929 (tramp-compat-number-sequence, tramp-compat-process-running-p)
9930 * net/tramp.el (top, with-progress-reporter)
9931 (tramp-rfn-eshadow-setup-minibuffer)
9932 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
9933 (tramp-handle-dired-compress-file, tramp-handle-shell-command)
9934 (tramp-completion-mode-p, tramp-check-for-regexp)
9935 (tramp-open-connection-setup-interactive-shell)
9936 (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
9937 (tramp-time-diff, tramp-coding-system-change-eol-conversion)
9938 (tramp-set-process-query-on-exit-flag, tramp-unload-tramp)
9939 * net/tramp-cmds.el (tramp-cleanup-all-connections)
9940 (tramp-reporter-dump-variable, tramp-load-report-modules)
9941 (tramp-append-tramp-buffers)
9942 * net/tramp-gvfs.el (tramp-gvfs-handle-file-selinux-context): Use it.
9944 * net/tramp-imap.el (top): Autoload `epg-make-context'.
9946 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9948 * progmodes/compile.el (compilation-buffer-modtime): Rename from
9949 buffer-modtime. Adjust users.
9951 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
9953 * international/mule.el (auto-coding-alist): Only purecopy
9954 car of each item, not the whole list (Bug#6083).
9956 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
9958 * progmodes/js.el (js-mode): Make paragraph variables local before
9959 calling c-setup-paragraph-variables (Bug#6071).
9961 2010-05-08 Eli Zaretskii <eliz@gnu.org>
9963 * composite.el (compose-region, reference-point-alist): Fix typos
9966 2010-05-08 Alexander Klimov <alserkli@inbox.ru> (tiny change)
9968 * calc/calc-graph.el (calc-graph-plot): Use the proper form for
9969 gnuplot's "set" command.
9971 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
9973 * abbrev.el (last-abbrev-text): Doc fix.
9974 (abbrev-prefix-mark): Don't escape parenthesis.
9976 2010-05-08 Andreas Schwab <schwab@linux-m68k.org>
9978 * composite.el (find-composition): Doc fix.
9980 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
9982 * progmodes/sql.el (sql-electric-stuff): Fix typo in tag.
9983 (sql-oracle-program, sql-sqlite-options)
9984 (sql-query-placeholders-and-send): Doc fixes.
9985 (sql-set-product, sql-interactive-mode): Reflow docstrings.
9986 (sql-imenu-generic-expression, sql-buffer)
9987 (sql-mode-ansi-font-lock-keywords, sql-mode-oracle-font-lock-keywords)
9988 (sql-mode-postgres-font-lock-keywords, sql-mode-ms-font-lock-keywords)
9989 (sql-mode-sybase-font-lock-keywords)
9990 (sql-mode-informix-font-lock-keywords)
9991 (sql-mode-interbase-font-lock-keywords)
9992 (sql-mode-ingres-font-lock-keywords, sql-mode-solid-font-lock-keywords)
9993 (sql-mode-mysql-font-lock-keywords, sql-mode-sqlite-font-lock-keywords)
9994 (sql-mode-db2-font-lock-keywords, sql-mode-font-lock-keywords)
9995 (sql-product-feature, sql-highlight-product)
9996 (comint-line-beginning-position, sql-rename-buffer)
9997 (sql-toggle-pop-to-buffer-after-send-region sql-oracle)
9998 (sql-sybase, sql-informix, sql-sqlite, sql-mysql, sql-solid)
9999 (sql-ingres, sql-ms, sql-postgres, sql-interbase, sql-db2, sql-linter):
10000 Fix typos in docstrings.
10002 2010-05-08 Juri Linkov <juri@jurta.org>
10004 * info.el (Info-fontify-node): Put Info-breadcrumbs to the `display'
10005 property instead of `invisible' and `after-string' (bug#5998).
10007 2010-05-08 Juri Linkov <juri@jurta.org>
10009 * image-mode.el (image-mode-as-text): Fix typo in docstring.
10011 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
10013 * filecache.el (file-cache-add-directory-list)
10014 (file-cache-add-directory-recursively): Fix typos in docstrings.
10016 2010-05-08 Kenichi Handa <handa@m17n.org>
10018 * language/indian.el (gurmukhi-composable-pattern): Fix typo.
10019 (gujarati-composable-pattern): Fix typo.
10021 2010-05-08 Kenichi Handa <handa@m17n.org>
10023 * language/indian.el (oriya-composable-pattern)
10024 (tamil-composable-pattern, malayalam-composable-pattern):
10025 Add two-part vowels to "v" (vowel sign).
10027 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
10029 * files.el (copy-directory): Handle symlinks (Bug#5982).
10031 2010-05-08 Dan Nicolaescu <dann@ics.uci.edu>
10033 * vc-hg.el (vc-hg-state): Use HGRCPATH, not HGRC.
10034 (vc-hg-working-revision): Likewise. Use hg parents, not hg parent
10037 2010-05-08 Glenn Morris <rgm@gnu.org>
10039 * emacs-lisp/lisp.el (lisp-completion-at-point): Give it a doc string.
10041 * minibuffer.el (completion-at-point): Doc fix.
10043 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10045 * electric.el (Electric-command-loop): Minor tweak.
10047 * ebuff-menu.el (electric-buffer-list): Try and make it behave a bit
10048 better with dedicated windows.
10050 2010-05-07 Chong Yidong <cyd@stupidchicken.com>
10052 * Version 23.2 released.
10054 2010-05-07 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
10055 Stefan Monnier <monnier@iro.umontreal.ca>
10057 Highlight vendor specific properties.
10058 * textmodes/css-mode.el (css-proprietary-nmstart-re): New var.
10059 (css-proprietary-property): New face.
10060 (css-font-lock-keywords): Use them.
10062 2010-05-07 Eli Zaretskii <eliz@gnu.org>
10064 * cus-start.el (all): Add native condition for tool-bar-* symbols.
10066 2010-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
10068 * textmodes/dns-mode.el (auto-mode-alist): Add entry for .zone files.
10069 * files.el (auto-mode-alist): Remove redundant entries.
10071 * files.el (auto-save-mode): Move to simple.el to fix bootstrap.
10072 * simple.el (auto-save-mode): Move from files.el.
10073 * minibuffer.el (completion--common-suffix): Fix copy&paste error.
10075 2010-05-07 Christian von Roques <roques@mti.ag> (tiny change)
10077 * epg.el (epg-key-capablity-alist): Add "D" flag (Bug#5592).
10079 2010-05-07 Katsumi Yamaoka <yamaoka@jpl.org>
10081 * mail/binhex.el (binhex-decode-region-internal)
10082 * mail/uudecode.el (uudecode-decode-region-internal)
10083 * net/dns.el (dns-read-string-name, dns-write, dns-read)
10084 (dns-read-type, dns-query)
10085 * pgg-parse.el (pgg-parse-armor)
10086 * pgg.el (pgg-verify-region)
10087 * sha1.el (sha1-string-external): Don't run set-buffer-multibyte for
10090 * net/imap.el (imap-disable-multibyte): Redefine it as a macro.
10092 2010-05-07 Juanma Barranquero <lekktu@gmail.com>
10094 * progmodes/cperl-mode.el (cperl-mode-unload-function): New function.
10096 Fix use of `filter-buffer-substring' (4th arg NOPROPS removed).
10097 * emulation/cua-base.el (cua-repeat-replace-region):
10098 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
10099 (cua-cut-region-to-global-mark):
10100 Remove text properties with `set-text-properties'.
10102 2010-05-06 Michael Albinus <michael.albinus@gmx.de>
10104 * net/tramp.el (top, with-progress-reporter):
10105 Use `symbol-function' inside `funcall'.
10107 * net/tramp-compat.el (tramp-compat-file-attributes)
10108 (tramp-compat-delete-file, tramp-compat-delete-directory):
10109 Handle only `wrong-number-of-arguments' error.
10111 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Fix typo.
10112 (tramp-gvfs-handle-file-selinux-context): Use `symbol-function'
10115 2010-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10117 * minibuffer.el (completion--sreverse, completion--common-suffix):
10119 (completion-pcm--merge-completions): Extract common suffix when safe.
10121 * emacs-lisp/easy-mmode.el (define-minor-mode):
10122 Make :variable more flexible.
10123 * files.el (auto-save-mode): Use it to define using define-minor-mode.
10125 2010-05-05 Juri Linkov <juri@jurta.org>
10127 Add `slow' and `history' tags to the desktop data.
10129 * info.el (Info-virtual-nodes) [*Index*]: Add `slow' tag.
10130 (Info-virtual-files) [*Apropos*]: Add `slow' tag.
10131 (Info-finder-find-node): Require `finder.el' to be able
10132 to restore node from the desktop.
10133 (Info-desktop-buffer-misc-data): Save all nodes. Save additional
10134 data `Info-history' and `slow' tag in the assoc list.
10135 (Info-restore-desktop-buffer): Don't restore nodes with the
10136 `slow' tag. Restore `Info-history'.
10138 2010-05-05 Michael Albinus <michael.albinus@gmx.de>
10140 Add FORCE argument to `delete-file'.
10142 * net/ange-ftp.el (ange-ftp-del-tmp-name): Make it a defun,
10143 forcing to delete the temporary file.
10144 (ange-ftp-delete-file): Add FORCE arg.
10145 (ange-ftp-rename-remote-to-remote)
10146 (ange-ftp-rename-local-to-remote, ange-ftp-rename-remote-to-local)
10147 (ange-ftp-load, ange-ftp-compress, ange-ftp-uncompress):
10148 Force file deletion.
10150 * net/tramp-compat.el (tramp-compat-delete-file): New defun.
10152 * net/tramp.el (tramp-handle-delete-file): Add FORCE arg.
10153 (tramp-handle-make-symbolic-link, tramp-handle-load)
10154 (tramp-do-copy-or-rename-file-via-buffer)
10155 (tramp-do-copy-or-rename-file-directly)
10156 (tramp-do-copy-or-rename-file-out-of-band)
10157 (tramp-handle-process-file, tramp-handle-call-process-region)
10158 (tramp-handle-shell-command, tramp-handle-file-local-copy)
10159 (tramp-handle-insert-file-contents, tramp-handle-write-region)
10160 (tramp-delete-temp-file-function): Use `tramp-compat-delete-file'.
10162 * net/tramp-fish.el (tramp-fish-handle-delete-file): Add FORCE arg.
10163 (tramp-fish-handle-make-symbolic-link)
10164 (tramp-fish-handle-process-file): Use `tramp-compat-delete-file'.
10166 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
10167 Use `tramp-compat-delete-file'.
10169 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Add FORCE arg.
10170 (tramp-gvfs-handle-write-region): Use `tramp-compat-delete-file'.
10172 * net/tramp-imap.el (tramp-imap-handle-delete-file): Add FORCE arg.
10173 (tramp-imap-do-copy-or-rename-file): Use `tramp-compat-delete-file'.
10175 * net/tramp-smb.el (tramp-smb-handle-delete-file): Add FORCE arg.
10176 (tramp-smb-handle-copy-file, tramp-smb-handle-file-local-copy)
10177 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
10178 Use `tramp-compat-delete-file'.
10180 2010-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
10183 * subr.el (add-minor-mode): Use push.
10184 * mail/supercite.el (sc-electric-mode): Use more descriptive arg name.
10185 * emulation/edt.el (edt-select-mode): Simplify.
10187 Use define-minor-mode in more cases.
10188 * term/tvi970.el (tvi970-set-keypad-mode):
10189 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
10190 (normal-erase-is-backspace-mode):
10191 * scroll-bar.el (scroll-bar-mode): Use it and define-minor-mode.
10192 (set-scroll-bar-mode-1): (Re)move to its sole caller.
10193 (get-scroll-bar-mode): New function.
10194 * emacs-lisp/cl-macs.el (eq): Handle a non-variable first arg.
10196 Use define-minor-mode for less obvious cases.
10197 * emacs-lisp/easy-mmode.el (define-minor-mode): Add :variable keyword.
10198 * emacs-lisp/cl-macs.el (terminal-parameter, eq): Add setf method.
10199 * international/iso-ascii.el (iso-ascii-mode):
10200 * frame.el (auto-raise-mode, auto-lower-mode):
10201 * composite.el (global-auto-composition-mode): Use define-minor-mode.
10203 2010-05-04 Michael Albinus <michael.albinus@gmx.de>
10205 * net/tramp.el (tramp-methods): Remove "-q" from `tramp-login-args'
10206 in order to see error messages for failed logins.
10208 2010-05-03 Chong Yidong <cyd@stupidchicken.com>
10210 * diff.el (diff-sentinel):
10212 * epg.el (epg--make-temp-file, epg-decrypt-string)
10213 (epg-verify-string, epg-sign-string, epg-encrypt-string):
10215 * jka-compr.el (jka-compr-partial-uncompress)
10216 (jka-compr-call-process, jka-compr-write-region, jka-compr-load):
10218 * server.el (server-sentinel): Use delete-file's new FORCE arg
10221 2010-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
10223 Use define-minor-mode where applicable.
10224 * view.el (view-mode):
10225 * type-break.el (type-break-query-mode)
10226 (type-break-mode-line-message-mode):
10227 * textmodes/reftex.el (reftex-mode):
10228 * term/vt100.el (vt100-wide-mode):
10229 * tar-mode.el (tar-subfile-mode):
10230 * savehist.el (savehist-mode):
10231 * ibuf-ext.el (ibuffer-auto-mode):
10232 * composite.el (auto-composition-mode):
10233 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
10234 Use define-minor-mode.
10235 (vhdl-mode): Use static mode-line format.
10236 (vhdl-mode-line-update): Delete.
10237 (vhdl-create-mode-menu, vhdl-activate-customizations)
10238 (vhdl-hs-minor-mode): Don't bother calling it.
10240 2010-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
10242 * simple.el (with-wrapper-hook): Move.
10243 (buffer-substring-filters): Mark obsolete.
10244 (filter-buffer-substring-functions): New variable.
10245 (filter-buffer-substring): Use it. Remove unused arg `noprops'.
10247 2010-05-01 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
10248 Michael Albinus <michael.albinus@gmx.de>
10250 Implement compression for inline methods.
10252 * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
10253 (tramp-copy-size-limit): Allow also nil.
10254 (tramp-inline-compress-commands): New defconst.
10255 (tramp-find-inline-compress, tramp-get-inline-compress)
10256 (tramp-get-inline-coding): New defuns.
10257 (tramp-get-remote-coding, tramp-get-local-coding): Remove,
10258 replaced by `tramp-get-inline-coding'.
10259 (tramp-handle-file-local-copy, tramp-handle-write-region)
10260 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
10262 2010-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
10264 * bindings.el (mode-line-abbrev-mode, mode-line-auto-fill-mode):
10265 Remove unused functions.
10267 * emacs-lisp/lisp-mode.el (lisp-mode): Use define-derived-mode.
10268 Set find-tag-default-function as a variable rather than a property.
10270 * minibuffer.el (tags-completion-at-point-function): Move to etags.el.
10271 * progmodes/etags.el (tags-completion-at-point-function):
10272 Remove left over interactive spec. Add autoloading stub.
10273 (complete-tag): Use tags-completion-at-point-function.
10275 2010-04-30 Chong Yidong <cyd@stupidchicken.com>
10277 * minibuffer.el (tags-completion-at-point-function): Fix return value.
10279 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
10281 * ido.el (ido-init-completion-maps): Remove C-v binding.
10282 (ido-minibuffer-setup): Don't set cua-inhibit-cua-keys (Bug#5765).
10284 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
10286 * minibuffer.el (tags-completion-at-point-function): New function.
10287 (completion-at-point-functions): Use it.
10289 * progmodes/etags.el (complete-tag): Revert last change.
10291 2010-04-29 Alan Mackenzie <acm@muc.de>
10293 * progmodes/cc-mode.el (c-extend-region-for-CPP): Fix an
10294 off-by-one error (in end of macro position).
10296 2010-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
10298 * net/browse-url.el (browse-url-firefox-program): Use iceweasel if
10299 firefox is absent. Don't autoload.
10300 (browse-url-galeon-program): Don't autoload.
10302 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
10304 * bindings.el (complete-symbol): Move into minibuffer.el.
10306 * minibuffer.el (complete-tag): Move from etags.el. If tags
10307 completion cannot be performed, return nil instead of signalling
10309 (completion-at-point): Make it an alias for complete-symbol.
10310 (complete-symbol): Move from bindings.el, and replace with the
10311 body of completion-at-point.
10313 * progmodes/etags.el (complete-tag): Move to minibuffer.el.
10315 2010-04-28 Michael Albinus <michael.albinus@gmx.de>
10317 * net/tramp.el (tramp-remote-selinux-p): New defun.
10318 (tramp-handle-file-selinux-context)
10319 (tramp-handle-set-file-selinux-context): Use it.
10321 2010-04-28 Sam Steingold <sds@gnu.org>
10323 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
10324 `safe-local-variable' if the value is a string or a symbol with
10325 the property `bug-reference-url-format'.
10327 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
10329 * progmodes/bug-reference.el (bug-reference-url-format):
10330 Revert 2010-04-27 change due to security risk.
10332 2010-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
10334 Make it possible to locally disable a globally enabled mode.
10335 * simple.el (fundamental-mode): Run fundamental-mode-hook.
10336 * emacs-lisp/derived.el (define-derived-mode): Use fundamental-mode
10337 rather than kill-all-local-variables so it runs fundamental-mode-hook.
10338 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10339 Use fundamental-mode-hook to run MODE-enable-in-buffers earlier, so
10340 that subsequent hooks get a chance to disable it.
10342 2010-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
10344 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10345 Avoid re-enabling a minor mode after the user turned the minor mode
10346 off if MODE-enable-in-buffers is run twice (typically once from
10347 fundamental-mode's after-change-major-mode-hook and a second time from
10348 run-mode-hook's own after-change-major-mode-hook).
10350 * emacs-lisp/lisp.el (lisp-complete-symbol): Fail gracefully.
10352 2010-04-27 Sam Steingold <sds@gnu.org>
10354 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
10355 `safe-local-variable' if the value is a string or a function, as
10356 documented and implemented on 2010-04-02.
10358 2010-04-27 Juanma Barranquero <lekktu@gmail.com>
10360 * ido.el (ido-buffer-internal): Bind `ido-use-virtual-buffers' to nil
10361 when method is 'kill.
10363 2010-04-27 Agustín Martín <agustin.martin@hispalinux.es>
10365 * textmodes/ispell.el (ispell-init-process): Fix personal dictionary
10366 condition in default directory check.
10367 (ispell-init-process,ispell-kill-ispell,kill-buffer-hook):
10368 Kill ispell process when killing its associated buffer.
10370 2010-04-27 Jan Djärv <jan.h.d@swipnet.se>
10372 * desktop.el (desktop-kill): ask-if-new: Ask if desktop file exists,
10373 but we aren't using it.
10375 2010-04-25 Jan Djärv <jan.h.d@swipnet.se>
10377 * tool-bar.el (tool-bar-local-item-from-menu): Revert unintended
10378 checkin in 2010-04-23T16:26:11Z!monnier@iro.umontreal.ca.
10380 2010-04-24 Glenn Morris <rgm@gnu.org>
10382 * emacs-lisp/authors.el (authors-obsolete-files-regexps):
10383 Ignore VCS-ignore files, and deleted nextstep preferences files.
10384 (authors-ignored-files): Ignore deleted cedet test files, and "*.el".
10385 (authors-ambiguous-files): New list.
10386 (authors-valid-file-names): Add some deleted files.
10387 (authors-renamed-files-alist): Add font-setting.el, edt-user.doc.
10388 (authors-disambiguate-file-name): New function. (Bug#5501)
10389 (authors-canonical-file-name): Doc fix.
10390 Don't warn about obsolete files.
10391 (authors-canonical-file-name, authors-scan-el):
10392 Use authors-disambiguate-file-name.
10394 * hfy-cmap.el (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
10395 Add autoload cookies.
10396 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values): Add docs.
10397 (generated-autoload-file): Set file-local value to "htmlfontify.el".
10398 * htmlfontify.el (caddr, cadddr): Remove fallback definitions.
10399 They have definitions / compiler macros in cl.el.
10400 (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
10401 Replace manual autoloads with generated ones.
10402 (htmlfontify-unload-rgb-file): Remove autoload.
10403 * Makefile.in (autoloads): Ensure htmlfontify.el is writable.
10405 2010-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
10407 * emacs-lisp/bytecomp.el (byte-compile-set-default): New function.
10408 (byte-compile-setq-default): Optimize for the
10409 single-var case and don't call byte-compile-form in this case to avoid
10410 inf-loop with byte-compile-set-default.
10412 * progmodes/compile.el (compilation-start): Abbreviate default directory.
10414 2010-04-23 Michael Albinus <michael.albinus@gmx.de>
10416 Implement SELINUX backends.
10418 * net/tramp.el (tramp-file-name-handler-alist):
10419 Add `file-selinux-context' and `set-file-selinux-context'.
10420 (tramp-handle-file-selinux-context)
10421 (tramp-handle-set-file-selinux-context): New defuns.
10422 (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
10423 Handle PRESERVE-SELINUX-CONTEXT.
10425 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
10426 Add `file-selinux-context' and `set-file-selinux-context'.
10427 (tramp-gvfs-handle-file-selinux-context)
10428 (tramp-gvfs-handle-set-file-selinux-context): New defuns.
10429 (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
10431 * net/ange-ftp.el (ange-ftp-copy-file):
10432 * net/tramp-fish.el (tramp-fish-handle-copy-file):
10433 * net/tramp-imap.el (tramp-imap-handle-copy-file):
10434 * net/tramp-smb.el (tramp-smb-handle-copy-file):
10435 Add PRESERVE-SELINUX-CONTEXT.
10437 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
10439 Synchronize with Tramp repository.
10441 * net/tramp.el (with-connection-property, tramp-completion-mode-p)
10442 (tramp-action-process-alive, tramp-action-out-of-band)
10443 (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
10444 (tramp-exists-file-name-handler): Fix docstring.
10445 (with-progress-reporter): New defmacro.
10446 (tramp-do-copy-or-rename-file, tramp-handle-dired-compress-file)
10447 (tramp-maybe-open-connection): Use it.
10449 2010-04-22 Noah Lavine <noah549@gmail.com> (tiny change)
10451 Detect ssh 'ControlMaster' argument automatically in some cases.
10453 * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
10454 (tramp-default-method): Use it.
10456 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
10458 * net/tramp.el (tramp-handle-copy-file): Add new optional
10459 parameter `preserve-selinux-context'.
10460 (tramp-file-name-for-operation): Add `set-file-selinux-context'.
10462 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
10464 * net/tramp.el (tramp-completion-handle-file-name-all-completions):
10465 Ensure, that non remote files are still checked. Oops.
10467 2010-04-21 Michael Albinus <michael.albinus@gmx.de>
10471 * icomplete.el (icomplete-completions): Use `non-essential'.
10473 * net/tramp.el (tramp-connectable-p): New defun.
10474 (tramp-handle-expand-file-name)
10475 (tramp-completion-handle-file-name-all-completions)
10476 (tramp-completion-handle-file-name-completion): Use it.
10478 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
10480 * emacs-lisp/lisp.el (lisp-completion-at-point): Try and handle errors.
10482 2010-04-21 Jan Djärv <jan.h.d@swipnet.se>
10484 * vc-dir.el (vc-dir-tool-bar-map): Add :label on some tool bar items.
10486 * tool-bar.el (tool-bar-setup): Add :label on some tool bar items.
10488 * loadup.el: Load dynamic-setting.el if feature dynamic-setting
10491 * info.el (info-tool-bar-map): Add labels.
10493 * cus-start.el (all): Add tool-bar-style and tool-bar-max-label-size.
10495 * cus-edit.el (custom-commands): Add labels for tool bar.
10496 (custom-buffer-create-internal, Custom-mode): Adjust for
10497 labels in custom-commands.
10499 * dynamic-setting.el: Renamed from font-setting.el.
10501 2010-04-21 John Wiegley <jwiegley@gmail.com>
10503 * ido.el (ido-init-completion-maps): For ido-switch-buffer, C-o
10504 toggles the use of virtual buffers.
10505 (ido-buffer-internal): Guard `ido-use-virtual-buffers' global value.
10506 (ido-toggle-virtual-buffers): New function.
10508 2010-04-21 Juanma Barranquero <lekktu@gmail.com>
10510 Use `define-derived-mode'; fix window selection; doc fixes.
10511 * play/tetris.el (tetris, tetris-update-speed-function)
10512 (tetris-tty-colors, tetris-x-colors, tetris-move-bottom)
10513 (tetris-move-left, tetris-move-right, tetris-rotate-prev)
10514 (tetris-rotate-next, tetris-end-game, tetris-start-game)
10515 (tetris-pause-game): Fix typos in docstrings.
10516 (tetris-mode-map, tetris-null-map):
10517 Move initialization into declaration.
10518 (tetris-mode): Define with `define-derived-mode';
10519 set show-trailing-whitespace to nil.
10520 (tetris): Prefer window already displaying the "*Tetris*" buffer.
10522 2010-04-21 Karel Klíč <kklic@redhat.com>
10524 * files.el (backup-buffer): Handle SELinux context, and return it
10525 if a backup was made by renaming.
10526 (backup-buffer-copy): Set SELinux context to the target file.
10527 (basic-save-buffer): Set SELinux context of the newly written file.
10528 (basic-save-buffer-1): Now it also returns any SELinux context.
10529 (basic-save-buffer-2): Set SELinux context of the newly created file,
10531 * net/tramp.el (tramp-file-name-for-operation):
10532 Add file-selinux-context.
10534 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
10536 Make the log-edit comments use RFC822 format throughout.
10538 * vc.el (vc-checkin, vc-modify-change-comment):
10539 Adjust to new vc-start/finish-logentry.
10540 (vc-find-conflicted-file): New command.
10541 (vc-transfer-file): Adjust to new vc-checkin.
10542 (vc-next-action): Improve scoping.
10544 * vc-hg.el (vc-hg-log-edit-mode): Remove.
10545 (vc-hg-checkin): Remove extra arg. Use log-edit-extract-headers.
10547 * vc-git.el (vc-git-log-edit-mode): Remove.
10548 (vc-git-checkin): Remove extra arg. Use log-edit-extract-headers.
10549 (vc-git-commits-coding-system): Rename from git-commits-coding-system.
10551 * vc-dispatcher.el (vc-log-edit): Shorten names for log-edit-show-files.
10552 (vc-start-logentry): Remove argument `extra'.
10553 (vc-finish-logentry): Remove extra args.
10555 * vc-bzr.el (vc-bzr-log-edit-mode): Remove.
10556 (vc-bzr-checkin): Remove extra arg. Use log-edit-extract-headers.
10557 (vc-bzr-conflicted-files): New function.
10559 * log-edit.el (log-edit-extra-flags)
10560 (log-edit-before-checkin-process): Remove.
10561 (log-edit-summary, log-edit-header, log-edit-unknown-header): New faces.
10562 (log-edit-headers-alist): New var.
10563 (log-edit-header-contents-regexp): New const.
10564 (log-edit-match-to-eoh): New function.
10565 (log-edit-font-lock-keywords): Use them.
10566 (log-edit): Insert a "Summary:" header as default.
10567 (log-edit-mode): Mark font-lock rules as case-insensitive.
10568 (log-edit-done): Cleanup headers.
10569 (log-view-process-buffer): Remove.
10570 (log-edit-extract-headers): New function to replace it.
10572 2010-04-20 Juanma Barranquero <lekktu@gmail.com>
10574 * subr.el (default-direction-reversed): Remove obsolescence info.
10576 2010-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
10578 * vc-dispatcher.el (vc-finish-logentry): Don't mess so badly with the
10581 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete around point.
10582 I.e. include text after point in the completion region.
10583 Also, return nil when we're not after/in a symbol.
10585 * international/mule-cmds.el (view-hello-file): Don't fiddle with the
10586 default enable-multibyte-characters.
10588 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
10590 * international/mule.el: Help the user choose a valid coding-system.
10591 (read-buffer-file-coding-system): New function.
10592 (set-buffer-file-coding-system): Use it. Prompt the user if the
10593 coding-system cannot encode all the chars.
10595 * vc-bzr.el: Use standard *vc* and *vc-diff* buffers.
10596 (vc-bzr-shelve-show, vc-bzr-shelve-apply)
10597 (vc-bzr-shelve-apply-and-keep, vc-bzr-shelve-snapshot):
10598 Don't use *vc-bzr-shelve*.
10600 2010-04-19 Dan Nicolaescu <dann@ics.uci.edu>
10602 Fix the version number for added files.
10603 * vc-hg.el (vc-hg-working-revision): Check if the file is
10604 registered after hg parent fails (Bug#5961).
10606 2010-04-19 Glenn Morris <rgm@gnu.org>
10608 * htmlfontify.el (htmlfontify-buffer)
10609 (htmlfontify-copy-and-link-dir): Autoload entry points.
10611 2010-04-19 Magnus Henoch <magnus.henoch@gmail.com>
10613 * vc-hg.el (vc-hg-annotate-extract-revision-at-line): Expand file
10614 name relative to the project root (Bug#5960).
10616 2010-04-19 Glenn Morris <rgm@gnu.org>
10618 * vc-git.el (vc-git-print-log): Doc fix.
10620 2010-04-19 Óscar Fuentes <ofv@wanadoo.es>
10622 * ido.el (ido-file-internal): Fix 2009-12-02 change.
10624 2010-04-19 Christoph <cschol2112@googlemail.com> (tiny change)
10626 * progmodes/grep.el (grep-compute-defaults): Fix handling of host
10627 default settings (Bug#5928).
10629 2010-04-19 Glenn Morris <rgm@gnu.org>
10631 * progmodes/fortran.el (fortran-match-and-skip-declaration):
10633 (fortran-font-lock-keywords-3): Use it. (Bug#1385)
10635 2010-04-19 Kenichi Handa <handa@m17n.org>
10637 * language/indian.el (malayalam-composable-pattern): Fix previous
10638 change (add U+0D4D "SIGN VIRAMA").
10639 (oriya-composable-pattern): Add U+0B30 and fix typo in the regexp.
10640 (tamil-composable-pattern): Fix typo in the regexp.
10641 (telugu-composable-pattern): Fix U+0C4D and typo in the regexp.
10642 (kannada-composable-pattern): Fix U+0CB0 and typo in the regexp.
10643 (malayalam-composable-pattern): Fix U+0D4D and typo in the regexp.
10645 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
10647 * textmodes/tex-mode.el (latex-mode): Revert 2008-03-03 change to
10648 paragraph-separate (Bug#5821).
10650 2010-04-19 Juri Linkov <juri@jurta.org>
10652 Put breadcrumbs on overlay instead of inserting to buffer (bug#5809).
10654 * info.el (Info-find-node-2): Comment out code that skips
10656 (Info-mouse-follow-link): New command.
10657 (Info-link-keymap): New keymap.
10658 (Info-breadcrumbs): Rename from `Info-insert-breadcrumbs'.
10659 Return a string with links instead of inserting breadcrumbs
10660 to the Info buffer.
10661 (Info-fontify-node): Comment out code that inserts breadcrumbs.
10662 Instead of putting the `invisible' text property over the Info
10663 header, make an overlay over the Info header with the `invisible'
10664 property and `after-string' set to the string returned by
10665 `Info-breadcrumbs'.
10667 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
10669 * help.el (help-window-setup-finish): Doc fix (Bug#5830).
10670 Reported by monkey@sandpframing.com.
10672 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
10674 * tmm.el (tmm-prompt): Remove obsolete call to x-popup-menu.
10675 (tmm-get-keymap): Add key-binding shortcuts now that they're not
10676 available in the "keyseq cache" any more.
10678 * custom.el (defcustom): Add edebug spec.
10680 2010-04-18 Juri Linkov <juri@jurta.org>
10682 Test for special mode-class in view-buffer instead of view-file (bug#5513).
10684 * view.el (view-file, view-buffer): Move test for special mode-class
10685 from view-file to view-buffer.
10687 * tar-mode.el (tar-extract): Turn if's into one cond
10688 like in arc-mode.el.
10690 2010-04-18 Juri Linkov <juri@jurta.org>
10692 Add 7z archive format support (bug#5475).
10694 * arc-mode.el (archive-zip-extract): Try to find 7z executable.
10695 (archive-7z-extract): New defcustom.
10696 (archive-find-type): Add magic string for 7z.
10697 (archive-extract-by-stdout): Add new optional arg `stderr-file'.
10698 If `stderr-file' is non-nil, use `(t stderr-file)' for the
10699 `buffer' arg of `call-process'.
10700 (archive-zip-extract): Check `archive-zip-extract' for "7z" and
10701 call the function `archive-7z-extract' with the variable
10702 `archive-7z-extract' let-bound to `archive-zip-extract'.
10703 (archive-7z-summarize, archive-7z-extract): New functions.
10705 * international/mule.el (auto-coding-alist):
10706 * files.el (auto-mode-alist): Add 7z file extension.
10708 2010-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
10710 * loadup.el: Setup hash-cons for pure data.
10712 Fix duplicate entries in cedet's loaddefs.el files.
10713 * emacs-lisp/autoload.el (autoload-file-load-name): Be more clever.
10714 Should make most file-local generated-autoload-file unnecessary.
10715 (print-readably): Silence warnings.
10716 (autoload-find-destination): Take load-name as an arg to make sure
10717 it's the same as the one that will be in the file.
10718 (autoload-generate-file-autoloads): Adjust to above changes.
10719 Try to make the dataflow a bit simpler.
10721 * cvs-status.el (cvs-refontify): Remove unused.
10723 2010-04-18 Jay Belanger <jay.p.belanger@gmail.com>
10725 * calc/calc.el (calc-mode-map): Bind "O" to `calc-missing-key'.
10727 * calc/calc-bin.el (calc-radix): Have the "O" option turn on
10728 twos-complement mode.
10730 2010-04-17 Jay Belanger <jay.p.belanger@gmail.com>
10732 * calc/calc-ext.el (calc-init-extensions): Add keybinding for
10733 'calc-option'. Add `calc-option-prefix-help' to calc-help autoloads.
10734 (calc-inverse): Add "Option" to message, as appropriate.
10735 (calc-hyperbolic): Add "Option" to message, as appropriate.
10736 (calc-option, calc-is-option): New functions.
10738 * calc/calc-help.el (calc-full-help): Add `calc-option-help'.
10739 (calc-option-prefix-help): New function.
10741 * calc/calc-misc.el (calc-help): Add "Option" entry.
10743 * calc/calc.el (calc-local-var-list): Add `calc-option-flag'.
10744 (calc-option-flag): New variable.
10745 (calc-do): Set `calc-option-flag to nil.
10746 (calc-set-mode-line): Add "Opt " as appropriate.
10748 2010-04-16 Juri Linkov <juri@jurta.org>
10750 Move scrolling commands from simple.el to window.el
10751 because their primitives are implemented in window.c.
10753 * simple.el (scroll-error-top-bottom)
10754 (scroll-up-command, scroll-down-command, scroll-up-line)
10755 (scroll-down-line, scroll-other-window-down)
10756 (beginning-of-buffer-other-window, end-of-buffer-other-window):
10757 * window.el (scroll-error-top-bottom)
10758 (scroll-up-command, scroll-down-command, scroll-up-line)
10759 (scroll-down-line, scroll-other-window-down)
10760 (beginning-of-buffer-other-window, end-of-buffer-other-window):
10761 Move from simple.el to window.el because their primitives are
10762 implemented in window.c.
10764 2010-04-16 Juri Linkov <juri@jurta.org>
10766 * isearch.el (isearch-lookup-scroll-key): Check both
10767 `isearch-scroll' and `scroll-command' properties.
10768 (scroll-up, scroll-down): Remove `isearch-scroll' property.
10770 * mwheel.el (mwheel-scroll): Remove `isearch-scroll' property.
10772 * simple.el (scroll-up-command, scroll-down-command)
10773 (scroll-up-line, scroll-down-line): Remove `isearch-scroll' property.
10775 2010-04-15 Juri Linkov <juri@jurta.org>
10777 * simple.el (scroll-up-command, scroll-down-command)
10778 (scroll-up-line, scroll-down-line): Put `scroll-command'
10779 property on the these symbols. Remove them from
10780 `scroll-preserve-screen-position-commands'.
10782 * mwheel.el (mwheel-scroll): Put `scroll-command' and
10783 `isearch-scroll' properties on the `mwheel-scroll' symbol.
10784 Remove it from `scroll-preserve-screen-position-commands'.
10786 * isearch.el (isearch-allow-scroll): Doc fix.
10788 2010-04-15 Michael Albinus <michael.albinus@gmx.de>
10790 * net/tramp.el (tramp-error-with-buffer): Don't show the
10791 connection buffer when we are in completion mode.
10792 (tramp-file-name-handler): Catch the error for some operations
10793 when we are in completion mode. This gives the user the chance to
10794 correct the file name in the minibuffer.
10796 2010-04-15 Glenn Morris <rgm@gnu.org>
10798 * progmodes/verilog-mode.el (verilog-forward-sexp): Avoid free variable.
10800 2010-04-15 Juanma Barranquero <lekktu@gmail.com>
10802 Simplify by using `define-derived-mode'.
10803 * info.el (Info-mode):
10804 * calendar/todo-mode.el (todo-mode):
10805 * play/gomoku.el (gomoku-mode): Define with `define-derived-mode'.
10806 (gomoku-mode-map): Move initialization into declaration.
10808 2010-04-14 Michael Albinus <michael.albinus@gmx.de>
10811 * ido.el (ido-file-name-all-completions-1):
10812 * minibuffer.el (minibuffer-completion-help):
10813 * net/tramp.el (tramp-completion-mode-p): Use `non-essential'.
10815 2010-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
10817 * simple.el (non-essential): New var.
10819 Add a new field `location' to bookmarks for non-file bookmarks.
10820 * bookmark.el (bookmark-location): Use the new field, if present.
10821 (bookmark-insert-location): Undo last change, not needed any more.
10822 * man.el (Man-bookmark-make-record):
10823 * woman.el (woman-bookmark-make-record): Add `location' field.
10825 2010-04-14 Juri Linkov <juri@jurta.org>
10827 * simple.el (scroll-error-top-bottom): New defcustom.
10828 (scroll-up-command, scroll-down-command): Use it. Doc fix.
10830 * emulation/pc-select.el (pc-select-override-scroll-error):
10831 Obsolete in favor of `scroll-error-top-bottom'.
10833 2010-04-14 Juri Linkov <juri@jurta.org>
10835 * tutorial.el (tutorial--default-keys): Rebind `C-v' to
10836 `scroll-up-command' and `M-v' to `scroll-down-command'.
10838 * emulation/cua-rect.el (cua--init-rectangles):
10839 * forms.el (forms--change-commands):
10840 * image-mode.el (image-mode-map):
10841 Remap scroll-down-command and scroll-up-command
10842 in addition to scroll-down and scroll-up.
10844 2010-04-14 Juri Linkov <juri@jurta.org>
10846 * mwheel.el (scroll-preserve-screen-position-commands):
10847 Add mwheel-scroll to this list of commands.
10849 * simple.el (scroll-preserve-screen-position-commands):
10850 Add scroll-up-command, scroll-down-command, scroll-up-line,
10851 scroll-down-line to this list of commands.
10853 2010-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
10855 * obsolete/complete.el: Move from lisp/complete.el.
10857 * pcomplete.el (pcomplete-here*): Fix mistaken change (bug#5935).
10859 * emacs-lisp/easy-mmode.el (define-minor-mode): Passing a nil argument
10860 to the minor mode function now turns the mode ON unconditionally.
10862 2010-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
10864 * vc-dir.el (vc-dir-kill-line): New command.
10865 (vc-dir-mode-map): Bind it to C-k.
10867 * bookmark.el (bookmark-insert-location): Handle a nil filename.
10869 * woman.el: Add bookmark declarations to silence the compiler.
10870 (bookmark-prop-get): Use `man-args' rather than `filename' as a first
10871 step to compatibility between man and woman bookmarks.
10872 Adjust for Man-default-bookmark-title renaming.
10873 (woman-bookmark-jump): Adjust accordingly. Don't forget to autoload.
10875 * man.el: Add bookmark declarations to silence the compiler.
10876 (Man-name-local-regexp): Make it match NAME as well.
10877 (Man-getpage-in-background): Return the buffer.
10878 (Man-notify-when-ready): Use `case'.
10879 (man-set-default-bookmark-title): Rename to Man-default-bookmark-title.
10880 Don't hardcode "NAME". Simplify.
10881 (Man-bookmark-make-record): Use Man-arguments rather than buffer-name.
10882 Rename from Man-bookmark-make-record.
10883 (Man-bookmark-jump): Rename from man-bookmark-jump. Simplify now that
10884 we have the actual man-args. Use Man-getpage-in-background rather
10885 than `man' since the arg is already processed. Let bookmark.el do the
10886 window handling. Only wait for the relevant process.
10887 Don't forget to autoload.
10889 * bookmark.el (bookmark-default-file): Use locate-user-emacs-file.
10891 2010-04-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10893 * woman.el (woman-bookmark-make-record, woman-bookmark-jump):
10895 (woman-mode): Setup bookmark support.
10897 * man.el (man-set-default-bookmark-title, man-bookmark-make-record)
10898 (man-bookmark-jump): New functions.
10899 (Man-mode): Setup bookmark support.
10901 2010-04-10 Jari Aalto <jari.aalto@cante.net>
10903 * comint.el (comint-password-prompt-regexp): Use regexp-opt, and
10904 recognize ssh-keygen prompt (Bug#2817).
10906 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
10908 * net/tramp.el (tramp-do-copy-or-rename-file): Add progress reporter.
10910 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
10912 Synchronize with Tramp repository.
10914 * net/tramp.el (tramp-completion-function-alist)
10915 (tramp-file-name-regexp, tramp-chunksize)
10916 (tramp-local-coding-commands, tramp-remote-coding-commands):
10918 (tramp-remote-process-environment): Use `format' instead of `concat'.
10919 (tramp-handle-directory-files-and-attributes)
10920 (tramp-get-remote-path): Use `copy-tree'.
10921 (tramp-handle-file-name-all-completions): Backward/ XEmacs
10922 compatibility: Use `completion-ignore-case' if
10923 `read-file-name-completion-ignore-case' does not exist.
10924 (tramp-do-copy-or-rename-file-directly): Do not use
10925 `tramp-handle-file-remote-p'.
10926 (tramp-do-copy-or-rename-file-out-of-band):
10927 Use `tramp-compat-delete-directory'.
10928 (tramp-do-copy-or-rename-file-out-of-band)
10929 (tramp-compute-multi-hops, tramp-maybe-open-connection):
10930 Use `format-spec-make'.
10931 (tramp-find-foreign-file-name-handler)
10932 (tramp-advice-make-auto-save-file-name)
10933 (tramp-set-auto-save-file-modes): Remove superfluous check for
10934 `stringp'. This is done inside `tramp-tramp-file-p'.
10935 (tramp-debug-outline-regexp): New defconst.
10936 (tramp-get-debug-buffer): Use it.
10937 (tramp-check-for-regexp): Use (forward-line 1).
10938 (tramp-set-auto-save-file-modes): Adapt version check.
10940 * net/tramp-compat.el (tramp-advice-file-expand-wildcards):
10941 Wrap call of `featurep' for 2nd argument.
10942 (tramp-compat-make-temp-file): Simplify fallback implementation.
10943 (tramp-compat-copy-tree): Remove function.
10944 (tramp-compat-delete-directory): Provide implementation for older
10947 * net/tramp-fish.el (tramp-fish-handle-directory-files-and-attributes):
10948 Do not use `tramp-fish-handle-file-attributes.
10950 * net/trampver.el: Update release number.
10952 2010-04-10 Glenn Morris <rgm@gnu.org>
10954 * progmodes/compile.el (compilation-save-buffers-predicate):
10955 Add missing :version tag.
10957 2010-04-09 Sam Steingold <sds@gnu.org>
10959 * progmodes/compile.el (compilation-save-buffers-predicate):
10960 Remove the "autoload" cookie.
10962 * progmodes/bug-reference.el (turn-on-bug-reference-mode)
10963 (turn-on-bug-reference-prog-mode): Remove, `bug-reference-mode'
10964 and `bug-reference-prog-mode' can be used in hooks directly.
10966 2010-04-09 Dan Nicolaescu <dann@ics.uci.edu>
10968 Add --author support to git commit.
10969 * vc-git.el (vc-git-checkin): Pass extra-args to the commit command.
10970 (vc-git-log-edit-mode): New minor mode.
10971 (log-edit-mode, log-edit-extra-flags, log-edit-mode):
10974 2010-04-09 Eric Raymond <esr@snark.thyrsus.com>
10976 * vc-hooks.el, vc-git.el: Improve documentation comments.
10978 2010-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
10980 Fix some of the problems in defsubst* (bug#5728).
10981 * emacs-lisp/cl-macs.el (defsubst*): Don't substitute non-trivial args.
10982 (cl-defsubst-expand): Do the substitutions simultaneously (bug#5728).
10984 2010-04-07 Sam Steingold <sds@gnu.org>
10986 * progmodes/compile.el (compilation-save-buffers-predicate):
10987 New custom variable.
10988 (compile, recompile): Pass it to `save-some-buffers'.
10990 2010-04-07 Jan Djärv <jan.h.d@swipnet.se>
10992 * wid-edit.el (widget-choose): Move cursor to the second line of
10993 the buffer (Bug#5695).
10995 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
10997 Add new VC methods: vc-log-incoming and vc-log-outgoing.
10998 * vc.el (vc-print-log-setup-buttons): New function split out from
10999 vc-print-log-internal.
11000 (vc-log-internal-common): New function, a parametrized version of
11001 vc-print-log-internal.
11002 (vc-print-log-internal): Just call vc-log-internal-common with the
11004 (vc-incoming-outgoing-internal):
11005 (vc-log-incoming, vc-log-outgoing): New functions.
11006 (vc-log-view-type): New permanent local variable.
11008 * vc-hooks.el (vc-menu-map): Bind vc-log-incoming and vc-log-outgoing.
11010 * vc-bzr.el (vc-bzr-log-view-mode): Use vc-log-view-type instead
11011 of the dynamic bound vc-short-log.
11012 (vc-bzr-log-incoming, vc-bzr-log-outgoing): New functions.
11014 * vc-git.el (vc-git-log-outgoing): New function.
11015 (vc-git-log-view-mode): Use vc-log-view-type instead
11016 of the dynamic bound vc-short-log.
11018 * vc-hg.el (vc-hg-log-view-mode): Use vc-log-view-type instead
11019 of the dynamic bound vc-short-log. Highlight the tag.
11020 (vc-hg-log-incoming, vc-hg-log-outgoing): New functions.
11021 (vc-hg-outgoing, vc-hg-incoming, vc-hg-outgoing-mode):
11022 (vc-hg-incoming-mode): Remove.
11023 (vc-hg-extra-menu-map): Do not bind vc-hg-incoming and vc-hg-outgoing.
11025 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
11027 Fix default-directory for vc-root-diff.
11028 * vc.el (vc-root-diff): Bind default-directory to the root
11029 directory for the diff command.
11031 2010-04-07 Michael McNamara <mac@mail.brushroad.com>
11033 * progmodes/verilog-mode.el (verilog-forward-sexp):
11034 (verilog-calc-1): Support "disable fork" and "fork wait" multi
11035 word keywords, suggested by Steve Pearlmutter.
11036 (verilog-pretty-declarations): Support lineup of declarations in
11038 (verilog-skip-backward-comments, verilog-skip-forward-comment-p):
11039 fix bug for /* / comments.
11040 (verilog-backward-syntactic-ws, verilog-forward-syntactic-ws):
11041 Speed up and simplfy as this is never called with a bound.
11042 (verilog-pretty-declarations): Enhance to line up declarations
11043 inside a parameter list, suggested by Alan Morgan.
11044 (verilog-pretty-expr): Tune assignment regular expression match
11045 string for corner cases; also use markers instead of character
11046 number as indent changes the later.
11048 2010-04-07 Wilson Snyder <wsnyder@wsnyder.org>
11050 * progmodes/verilog-mode.el (verilog-type-keywords): Fix pulldown
11051 as missing keyword.
11052 (verilog-read-sub-decls-line): Fix comments in AUTO_TEMPLATE
11053 causing truncation of AUTOWIRE signals. Reported by Bruce Tennant.
11054 (verilog-auto-inst, verilog-auto-inst-port): Add vl_mbits for
11055 AUTO_TEMPLATEs needing multiple array bits. Suggested by Bruce
11057 (verilog-keywords):
11058 (verilog-1800-2005-keywords, verilog-1800-2009-keywords): Add IEEE
11059 1800-2009 keywords, including "global.".
11061 2010-04-06 John Wiegley <jwiegley@gmail.com>
11063 * ido.el (ido-add-virtual-buffers-to-list): Fix duplicated names
11064 appearing in buffer list (if a live buffer name matched a recentf
11065 file basename). Should use uniquify to offer a real solution.
11067 2010-04-06 John Wiegley <jwiegley@gmail.com>
11069 * ido.el (ido-use-virtual-buffers, ido-virtual): Move a ChangeLog
11070 comment to code, and add a :version tag.
11071 (ido-virtual-buffers): Move defvar to fix byte-compiler warning.
11073 2010-04-06 Juanma Barranquero <lekktu@gmail.com>
11075 Enable recentf-mode if using virtual buffers.
11076 * ido.el (recentf-list): Declare for byte-compiler.
11077 (ido-virtual-buffers): Move up to silence byte-compiler. Add docstring.
11078 (ido-make-buffer-list): Simplify.
11079 (ido-add-virtual-buffers-to-list): Simplify. Enable recentf-mode.
11081 2010-04-05 Juri Linkov <juri@jurta.org>
11083 Scrolling commands which scroll a line instead of full screen.
11084 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
11086 * simple.el (scroll-up-line, scroll-down-line): New commands.
11087 Put property isearch-scroll=t on them.
11089 * emulation/ws-mode.el (scroll-down-line, scroll-up-line):
11092 2010-04-05 Juri Linkov <juri@jurta.org>
11094 Scrolling commands which do not signal errors at top/bottom.
11095 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
11097 * simple.el (scroll-up-command, scroll-down-command): New commands.
11098 Put property isearch-scroll=t on them.
11100 * bindings.el (global-map): Rebind [prior] from `scroll-down' to
11101 `scroll-down-command' and [next] from `scroll-up' to
11102 `scroll-up-command'.
11104 * emulation/cua-base.el: Put property CUA=move on
11105 `scroll-up-command' and `scroll-down-command'.
11106 (cua--init-keymaps): Remap `scroll-up-command' to `cua-scroll-up'
11107 and `scroll-down-command' to `cua-scroll-down'.
11109 2010-04-05 Juanma Barranquero <lekktu@gmail.com>
11111 * help.el (describe-mode): Return nil.
11113 2010-04-04 John Wiegley <jwiegley@gmail.com>
11115 * ido.el (ido-use-virtual-buffers): New variable to indicate
11116 whether "virtual buffer" support is enabled for IDO.
11117 (ido-virtual): Face used to indicate virtual buffers in the list.
11118 (ido-buffer-internal): If a buffer is chosen, and no such buffer
11119 exists, but a virtual buffer of that name does (which would be why
11120 it was in the list), recreate the buffer by reopening the file.
11121 (ido-make-buffer-list): If virtual buffers are being used, call
11122 `ido-add-virtual-buffers-to-list' before the make list hook.
11123 (ido-virtual-buffers): New variable which contains a copy of the
11124 current contents of the `recentf-list', albeit pared down for the
11125 sake of speed, and with proper faces applied.
11126 (ido-add-virtual-buffers-to-list): Using the `recentf-list',
11127 create a list of "virtual buffers" to present to the user in
11128 addition to the currently open set. Note that this logic could
11129 get rather slow if that list is too large. With the default
11130 `recentf-max-saved-items' of 200, there is little speed penalty.
11132 2010-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
11134 * font-lock.el: Require CL when compiling.
11135 (font-lock-turn-on-thing-lock): Use `case'.
11137 2010-04-03 Eli Zaretskii <eliz@gnu.org>
11139 * emacs-lisp/authors.el (authors-fixed-entries): Add entry for Eli
11142 2010-04-02 Juri Linkov <juri@jurta.org>
11144 * ehelp.el (electric-help-orig-major-mode):
11145 New buffer-local variable.
11146 (electric-help-mode): Set it to original major-mode. Doc fix.
11147 (with-electric-help): Use `electric-help-orig-major-mode' instead
11148 of (default-value 'major-mode). Doc fix.
11149 http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00069.html
11151 2010-04-02 Sam Steingold <sds@gnu.org>
11153 * vc-hg.el (vc-hg-push, vc-hg-pull): Use `apply' when calling
11154 `vc-hg-command' with a list of flags.
11156 * progmodes/bug-reference.el (bug-reference-bug-regexp):
11157 Also accept "patch" and "RFE".
11158 (bug-reference-fontify): `bug-reference-url-format' can also be a
11159 function to be able to handle the bug kind.
11160 (turn-on-bug-reference-mode, turn-on-bug-reference-prog-mode): Add.
11162 2010-04-02 Jan Djärv <jan.h.d@swipnet.se>
11164 * tmm.el (tmm-get-keymap): Check with symbolp before passing
11165 value to fboundp, it may not be a symbol.
11167 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
11169 * cus-edit.el (custom-buffer-sort-alphabetically): Update :version.
11171 2010-03-31 Juri Linkov <juri@jurta.org>
11173 * simple.el (next-line, previous-line): Re-throw a signal
11174 with `signal' instead of using `ding'.
11175 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01432.html
11177 2010-03-31 Juri Linkov <juri@jurta.org>
11179 * simple.el (keyboard-escape-quit): Raise deselecting the active
11180 region higher than exiting the minibuffer.
11181 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00904.html
11183 2010-03-31 Juri Linkov <juri@jurta.org>
11185 * image.el (image-animated-p): Use `image-metadata' instead of
11186 `image-extension-data'. Get GIF extenstion data from metadata
11187 property `extension-data'.
11189 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
11191 * simple.el (append-to-buffer): Simplify.
11193 2010-03-31 Tomas Abrahamsson <tab@lysator.liu.se>
11195 * textmodes/artist.el (artist-mode): Fix typo in docstring.
11196 Reported by Alex Schröder <kensanata@gmail.com>. (Bug#5807)
11198 2010-03-31 Kenichi Handa <handa@m17n.org>
11200 * language/sinhala.el (composition-function-table): Fix regexp for
11201 the new Unicode specification.
11203 * language/indian.el (devanagari-composable-pattern)
11204 (tamil-composable-pattern, kannada-composable-pattern)
11205 (malayalam-composable-pattern): Adjust for the new Unicode
11207 (bengali-composable-pattern, gurmukhi-composable-pattern)
11208 (gujarati-composable-pattern, oriya-composable-pattern)
11209 (telugu-composable-pattern): New variables to cope with the new
11210 Unicode specification. Use them in composition-function-table.
11212 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
11214 Make tmm-menubar work for the Buffers menu again (bug#5726).
11215 * tmm.el (tmm-prompt): Also handle keymap entries in the form of
11216 vectors rather than cons cells, as used in menu-bar-update-buffers.
11218 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
11220 * progmodes/js.el (js-auto-indent-flag, js-mode-map)
11221 (js-insert-and-indent): Revert 2009-08-15 change, restoring
11222 electric punctuation for "{}();,:" (Bug#5586).
11224 * mail/sendmail.el (mail-default-directory): Doc fix.
11226 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
11228 * mail/sendmail.el (mail-default-directory): Doc fix.
11230 2010-03-31 Eli Zaretskii <eliz@gnu.org>
11232 * subr.el (version-regexp-alist, version-to-list)
11233 (version-list-<, version-list-=, version-list-<=)
11234 (version-list-not-zero, version<, version<=, version=): Doc fix.
11237 2010-02-31 Dan Nicolaescu <dann@ics.uci.edu>
11239 * vc.el (vc-root-diff): Doc fix.
11241 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
11243 * vc.el (vc-print-log, vc-print-root-log): Doc fix.
11245 * simple.el (append-to-buffer): Fix last change.
11247 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
11249 * simple.el (append-to-buffer): Ensure that point is preserved if
11250 BUFFER is the current buffer. Suggested by YAMAMOTO Mitsuharu.
11253 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
11255 * files.el (auto-mode-case-fold): Change default to t.
11257 2010-03-30 Juri Linkov <juri@jurta.org>
11259 * dired-x.el (dired-omit-mode): Doc fix.
11261 2010-03-30 Juri Linkov <juri@jurta.org>
11263 * replace.el (occur-accumulate-lines): Move occur-engine related
11264 functions `occur-accumulate-lines' and `occur-engine-add-prefix'
11265 to be located after `occur-engine'.
11267 2010-03-30 Juri Linkov <juri@jurta.org>
11269 Make occur handle multi-line matches cleanly with context.
11270 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01280.html
11272 * replace.el (occur-accumulate-lines): Add optional arg `pt'.
11273 (occur-engine): Add local variables `ret', `prev-after-lines',
11274 `prev-lines'. Use more arguments for `occur-context-lines'.
11275 Set first elem of its returned list to `data', and the second elem
11276 to `prev-after-lines'. Don't print the separator line.
11277 In the end, print remaining context after-lines.
11278 (occur-context-lines): Add new arguments `begpt', `endpt',
11279 `lines', `prev-lines', `prev-after-lines'. Rewrite to combine
11280 after-lines of the previous match with before-lines of the
11281 current match and not overlap them. Return a list with two
11282 values: the output line and the list of context after-lines.
11284 2010-03-30 Juri Linkov <juri@jurta.org>
11286 * replace.el (occur-accumulate-lines): Fix a bug where the first
11287 context line at the beginning of the buffer was missing.
11289 2010-03-30 Eli Zaretskii <eliz@gnu.org>
11291 * files.el: Make bidi-display-reordering safe variable for boolean
11294 2010-03-29 Phil Hagelberg <phil@evri.com>
11295 Chong Yidong <cyd@stupidchicken.com>
11297 * subr.el: Extend progress reporters to perform "spinning".
11298 (progress-reporter-update, progress-reporter-do-update):
11299 Handle non-numeric value arguments.
11300 (progress-reporter--pulse-characters): New var.
11302 2010-03-28 Chong Yidong <cyd@stupidchicken.com>
11304 * progmodes/compile.el (compilation-start): Fix regexp detection
11305 of initial cd command (Bug#5771).
11307 2010-03-28 Stefan Guath <stefan@automata.se> (tiny change)
11309 * find-dired.el (find-dired): Use read-directory-name (Bug#5777).
11311 2010-03-27 Nick Roberts <nickrob@snap.net.nz>
11313 Restore GDB/MI fuctionality removed by 2009-12-29T07:15:34Z!nickrob@snap.net.nz.
11314 * progmodes/gdb-mi.el: Restore.
11315 * progmodes/gdb-ui.el: Remove.
11316 * progmodes/gud.el: Re-accommodate for gdb-mi.el.
11318 2010-03-25 Glenn Morris <rgm@gnu.org>
11320 * desktop.el (desktop-save-buffer-p): Don't mistakenly include
11321 all dired buffers, even tramp ones. (Bug#5755)
11323 2010-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
11325 Add "union tags" in mpc.el.
11326 * mpc.el: Remove backward compatibility code.
11327 (mpc-browser-tags): Change default.
11328 (mpc--find-memoize-union-tags): New var.
11329 (mpc-cmd-flush, mpc-cmd-special-tag-p): New fun.
11330 (mpc-cmd-find): Handle the case where the playlist does not exist.
11332 (mpc-cmd-list): Use mpc-cmd-special-tag-p. Handle union-tags.
11333 (mpc-cmd-add): Use mpc-cmd-flush.
11334 (mpc-tagbrowser-tag-name): New fun.
11335 (mpc-tagbrowser-buf): Use it.
11336 (mpc-songs-refresh): Use cond. Move to point-min as a fallback.
11338 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
11341 * progmodes/make-mode.el (makefile-bsdmake-rule-action-regex):
11342 Use replace-regexp-in-string.
11343 (makefile-mode-abbrev-table): Merge defvar and define-abbrev-table.
11344 (makefile-imake-mode-syntax-table): Move init into defvar.
11345 (makefile-mode): Use define-derived-mode.
11347 * progmodes/make-mode.el (makefile-rule-action-regex): Backtrack less.
11348 (makefile-make-font-lock-keywords): Adjust rule since submatch 1 may
11349 not be present any more.
11351 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
11353 * faces.el (set-face-attribute): Fix typo in docstring.
11354 (face-valid-attribute-values): Reflow docstring.
11356 2010-03-24 Glenn Morris <rgm@gnu.org>
11358 * textmodes/flyspell.el (sgml-lexical-context): Autoload it (Bug#5752).
11360 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
11362 * indent.el (indent-for-tab-command): Doc fix.
11364 2010-03-24 Alan Mackenzie <acm@muc.de>
11366 * progmodes/cc-engine.el (c-remove-stale-state-cache):
11367 Fix off-by-one error. Fixes bug #5747.
11369 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
11371 * image-dired.el (image-dired-display-thumbs): Fix typo in docstring.
11372 (image-dired-read-comment): Doc fix.
11374 * json.el (json-object-type, json-array-type, json-key-type)
11375 (json-false, json-null, json-read-number):
11376 * minibuffer.el (completion-in-region-functions):
11377 * calendar/cal-tex.el (cal-tex-daily-end, cal-tex-number-weeks)
11378 (cal-tex-cursor-week):
11379 * emacs-lisp/trace.el (trace-function):
11380 * eshell/em-basic.el (eshell/printnl):
11381 * eshell/em-dirs.el (eshell-last-dir-ring, eshell-parse-drive-letter)
11382 (eshell-read-last-dir-ring, eshell-write-last-dir-ring):
11383 * obsolete/levents.el (allocate-event, event-key, event-object)
11384 (event-point, event-process, event-timestamp, event-to-character)
11385 (event-window, event-x, event-x-pixel, event-y, event-y-pixel):
11386 * textmodes/reftex-vars.el (reftex-index-macros-builtin)
11387 (reftex-section-levels, reftex-auto-recenter-toc, reftex-toc-mode-hook)
11388 (reftex-cite-punctuation, reftex-search-unrecursed-path-first)
11389 (reftex-highlight-selection): Fix typos in docstrings.
11391 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
11393 * minibuffer.el (completion-in-region-functions): Fix docstring typos.
11395 2010-03-24 Glenn Morris <rgm@gnu.org>
11397 * mail/rmail.el (rmail-highlight-face): Restore option deleted
11398 2008-02-13 without comment; mark it obsolete.
11399 (rmail-highlight-headers): Use rmail-highlight-face once more.
11401 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
11403 * woman.el (woman2-process-escapes): Only consume the newline if
11404 the filler character is on a line by itself (Bug#5729).
11406 2010-03-24 Kenichi Handa <handa@m17n.org>
11408 * language/indian.el (devanagari-composable-pattern): Add more
11411 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
11413 * net/trampver.el: Update release number.
11415 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
11417 * net/tramp.el (tramp-find-executable):
11418 Use `tramp-get-connection-buffer'. Make the regexp for checking
11419 output of "wc -l" more robust.
11420 (tramp-find-shell): Use another shell but /bin/sh on OpenSolaris.
11421 (tramp-open-connection-setup-interactive-shell): Remove workaround
11422 for OpenSolaris bug, it is not needed anymore.
11424 2010-03-24 Glenn Morris <rgm@gnu.org>
11426 * emacs-lisp/cl-macs.el (defsubst*): Add autoload cookie. (Bug#4427)
11428 2010-03-24 Wilson Snyder <wsnyder@wsnyder.org>
11430 * files.el (auto-mode-alist): Accept more verilog file patterns.
11432 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
11434 * vc-dir.el (vc-dir-headers): Abbreviate the working dir.
11436 2010-03-24 Glenn Morris <rgm@gnu.org>
11438 * vc-bzr.el (vc-bzr-log-edit-mode): Add --fixes support to
11439 log-edit-before-checkin-process.
11441 * vc.el (vc-modify-change-comment): Pass MODE to vc-start-logentry.
11443 * vc.el, vc-bzr.el, vc-hg.el (log-edit-mode): Declare.
11445 * vc-dispatcher.el (vc-start-logentry): Doc fix.
11446 (log-view-process-buffer, log-edit-extra-flags): Declare.
11448 * log-edit.el (log-edit-before-checkin-process): Doc fix.
11450 2010-03-23 Sam Steingold <sds@gnu.org>
11452 Fix bug#5620: recalculate all markers on compilation buffer
11453 modifications, not on file modifications.
11454 * progmodes/compile.el (compilation-buffer-modtime): New buffer-local
11455 variable: the buffer modification time, for buffers not associated with
11457 (compilation-mode): Create it.
11458 (compilation-filter): Update it.
11459 (compilation-next-error-function): Use it instead of
11460 `visited-file-modtime' for timestamp.
11462 2010-03-23 Juri Linkov <juri@jurta.org>
11464 Implement Occur multi-line matches.
11465 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01044.html
11467 * replace.el (occur): Doc fix.
11468 (occur-engine): Set `begpt' to the beginning of the first line.
11469 Set `endpt' to the end of the last match line. At first, count
11470 line numbers between `origpt' and `begpt'. Split out code from
11471 `out-line' variable to new let-bindings `match-prefix' and
11472 `match-str'. In `out-line' add non-numeric prefix to all
11473 non-first lines of multi-line matches. Finally, count lines
11474 between `begpt' and `endpt' and add to `lines'.
11476 2010-03-23 Juri Linkov <juri@jurta.org>
11478 * replace.el (occur-accumulate-lines, occur-engine):
11479 Use `occur-engine-line' instead of duplicate code.
11480 (occur-engine-line): New function created from duplicate code
11481 in `occur-accumulate-lines' and `occur-engine'.
11483 * replace.el (occur-engine-line): Add optional arg `keep-props'.
11484 (occur-accumulate-lines, occur-engine): Add arg `keep-props'.
11486 2010-03-23 Juri Linkov <juri@jurta.org>
11488 * finder.el: Remove TODO tasks.
11490 * info.el (Info-finder-find-node): Add node "all"
11491 with all package info. Handle a list of multiple keywords
11492 separated by comma.
11493 (info-finder): In interactive use with a prefix argument,
11494 use `completing-read-multiple' to read a list of keywords
11495 separated by comma.
11497 2010-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
11499 Add a new completion style `substring'.
11500 * minibuffer.el (completion-basic--pattern): New function.
11501 (completion-basic-try-completion, completion-basic-all-completions):
11503 (completion-substring--all-completions)
11504 (completion-substring-try-completion)
11505 (completion-substring-all-completions): New functions.
11506 (completion-styles-alist): New style `substring'.
11508 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
11510 Get rid of .elc files after removal of the corresponding .el.
11511 * Makefile.in (compile-clean): New target.
11512 (compile-main): Use it.
11514 2010-03-22 Jan Djärv <jan.h.d@swipnet.se>
11516 * Makefile.in (compile-main): cd to $(lisp) in a sub-shell, so we
11517 don't do make there. When compiling with separate object dir, there
11518 is no Makefile there.
11520 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
11522 Get rid of the ELCFILES abomination, again.
11523 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
11524 (all, compile): Don't call compile-last.
11525 (compile-main): Build the "elcfiles" list dynamically.
11526 (compile-targets): New (internal) target.
11528 2010-03-21 Andreas Schwab <schwab@linux-m68k.org>
11530 * Makefile.in (top_srcdir): Define.
11531 (abs_top_builddir): Define.
11532 (srcdir): Don't append `/..'.
11533 (EMACS): Use ${abs_top_builddir}.
11534 (all, compile, compile-always, compile-last): Don't set emacswd.
11535 (update-subdirs, update-authors): Use $(top_srcdir) instead of
11537 (lisp): Use $(srcdir) instead of @srcdir@.
11539 2010-03-21 Juri Linkov <juri@jurta.org>
11541 Fix message of multi-line occur regexps and multi-buffer header lines.
11542 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00457.html
11544 * replace.el (occur-1): Don't display regexp if it is longer
11545 than window-width. Use `query-replace-descr' to display regexp.
11546 (occur-engine): Don't display regexp in the buffer header for
11547 multi-buffer occur. Display a separate header line with total
11548 match count and regexp for multi-buffer occur.
11549 Use `query-replace-descr' to display regexp.
11551 2010-03-20 Teodor Zlatanov <tzz@lifelogs.com>
11553 * net/secrets.el: Fix parenthesis.
11554 (secrets-enabled): Fix parenthesis.
11556 2010-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
11558 Use more relative file and directory names.
11559 * Makefile.in (EMACS): Arrange for it to work when we chdir.
11560 (setwins, setwins_almost, setwins_for_subdirs):
11561 Don't `cd'; output relative names.
11562 (all, compile, compile-always, compile-last): Set emacswd.
11563 (custom-deps, finder-data, autoloads, update-subdirs, compile-last):
11564 Just cd to the lisp source dir so we can use relative file names.
11566 * outline.el (hide-sublevels): Unfix the paren non-typo! (bug#5738).
11568 2010-03-20 Glenn Morris <rgm@gnu.org>
11570 * textmodes/rst.el: Use faces for font-lock customization, and make the
11571 old -face variables obsolete.
11572 (rst-block, rst-external, rst-definition, rst-directive, rst-comment)
11573 (rst-emphasis1, rst-emphasis2, rst-literal, rst-reference): New faces.
11574 (rst-block-face, rst-external-face, rst-definition-face)
11575 (rst-directive-face, rst-comment-face, rst-emphasis1-face)
11576 (rst-emphasis2-face, rst-literal-face, rst-reference-face):
11578 (rst-font-lock-keywords-function): Update for above changes.
11580 2010-03-20 Juri Linkov <juri@jurta.org>
11583 * obsolete/s-region.el: Move to obsolete.
11585 2010-03-19 Juanma Barranquero <lekktu@gmail.com>
11587 * vc-dispatcher.el (vc-do-command): Remove reference to `vc-path'.
11589 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
11591 * vc-hooks.el (vc-path): Remove variable and obsolete declaration.
11593 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
11595 Add special markup processing for commit logs.
11596 * log-edit.el (log-edit-extra-flags): New variable.
11597 (log-edit): Add new argument MODE. Use that mode when non-nil
11598 instead of the log-view-mode.
11599 (log-view-process-buffer): New function.
11601 * vc.el: Document that the checkin method takes optional
11602 arguments. Document new backend specific method: log-view-mode.
11603 (vc-default-log-edit-mode): New function.
11604 (vc-checkin): Use a backend specific log-view-mode.
11605 Pass extra arguments to the checkin method.
11606 (vc-modify-change-comment): Pass a dummy extra argument.
11608 * vc-dispatcher.el (vc-log-edit): Add a mode argument, pass it to
11610 (vc-start-logentry): Add a mode argument, pass it to vc-log-edit.
11611 (vc-finish-logentry): Process the log buffer before passing it
11612 down. Pass log-edit-extra-flags.
11614 * vc-bzr.el (vc-bzr-checkin): Pass extra arguments to the commit
11616 (log-edit-extra-flags, log-edit-before-checkin-process):
11619 * vc-hg.el (vc-hg-checkin): Pass extra arguments to the commit
11621 (log-edit-extra-flags, log-edit-before-checkin-process):
11623 (vc-hg-log-edit-mode): New derived mode.
11625 * vc-arch.el (vc-arch-checkin):
11626 * vc-cvs.el (vc-cvs-checkin):
11627 * vc-git.el (vc-git-checkin):
11628 * vc-mtn.el (vc-mtn-checkin):
11629 * vc-rcs.el (vc-rcs-checkin):
11630 * vc-sccs.el (vc-sccs-checkin):
11631 * vc-svn.el (vc-svn-checkin): Add an optional ignored argument.
11633 2010-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
11635 * outline.el (hide-sublevels): Don't hide trailing newline (and fix
11638 2010-03-19 Glenn Morris <rgm@gnu.org>
11640 * password-cache.el (password-cache, password-cache-expiry): Autoload.
11642 2010-03-18 Glenn Morris <rgm@gnu.org>
11644 * emacs-lisp/autoload.el (autoload-rubric): Doc fix.
11646 * replace.el (query-replace-history): Give it a doc string.
11647 (map-query-replace-regexp): Use query-replace-from-history-variable
11648 and query-replace-to-history-variable.
11650 * mail/hashcash.el (declare-function): Remove duplicate definition.
11652 * mail/emacsbug.el (report-emacs-bug-pretest-address):
11653 Make it an obsolete alias for report-emacs-bug-address.
11654 (message-strip-special-text-properties): Declare.
11655 (report-emacs-bug): Remove test for a pretest bug address.
11656 Combine message-mode-specific code.
11658 * mail/supercite.el: Don't require sendmail.
11659 (mh-in-header-p): Declare rather than using with-no-warnings.
11660 (sc-no-blank-line-or-header): Use rfc822-goto-eoh rather than
11661 mail-header-end. Don't bind mysterious variable `kill-lines-magic'.
11663 * calendar/cal-french.el: Convert to utf-8.
11665 * files.el (interpreter-mode-alist): Use emacs-lisp-mode for
11668 2010-03-16 Michael Albinus <michael.albinus@gmx.de>
11670 * net/secrets.el (secrets-enabled): New variable. Use it instead
11673 2010-03-15 Michael Albinus <michael.albinus@gmx.de>
11675 * net/secrets.el (top): Register the D-Bus signals only when the
11676 service "org.freedesktop.secrets" can be pinged.
11677 Provide subfeature `enabled'.
11679 2010-03-14 Juri Linkov <juri@jurta.org>
11681 Add finder unknown keywords.
11683 * finder.el (finder-unknown-keywords): New function.
11685 * info.el (Info-finder-find-node): Use `finder-unknown-keywords'
11686 to create a Finder node with unknown keywords.
11688 2010-03-14 Juri Linkov <juri@jurta.org>
11690 * finder.el (finder-compile-keywords): Replace `princ' with
11691 `prin1' on a list of symbols interned from keyword strings.
11693 * emacs-lisp/lisp-mnt.el (lm-keywords-list): If `keywords' contains
11694 a comma, then split keywords using a comma and optional whitespace.
11695 Otherwise, split by whitespace.
11703 * progmodes/mixal-mode.el: Fix keywords.
11705 2010-03-13 Michael Albinus <michael.albinus@gmx.de>
11707 * Makefile.in (ELCFILES): Add net/secrets.elc.
11709 * net/secrets.el: New file.
11711 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
11713 * facemenu.el (list-colors-display, list-colors-print): New arg
11714 callback. Use it to allow selecting colors.
11716 * wid-edit.el (widget-image-insert): Insert image prop even if the
11717 current display is non-graphic.
11718 (widget-field-value-set): New fun.
11719 (editable-field): Use it.
11720 (widget-field-value-get): Clean up unused var.
11721 (widget-color-value-create, widget-color--choose-action):
11722 New funs. Allow using list-colors-display to choose color.
11724 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
11726 * cus-edit.el: Resort topmost custom groups.
11727 (custom-buffer-sort-alphabetically): Default to t.
11728 (customize-apropos): Use apropos-parse-pattern.
11729 (custom-search-field): New var.
11730 (custom-buffer-create-internal): Add custom-apropos search field.
11731 (custom-add-parent-links): Don't display parent doc.
11732 (custom-group-value-create): Don't sort top-level custom group.
11733 (custom-magic-value-create): Show visibility button before option name.
11735 (custom-variable-state): New fun, from custom-variable-state-set.
11736 (custom-variable-state-set): Use it.
11737 (custom-group-value-create): Hide options with standard values
11738 using the :hidden-states property. Use progress reporter.
11740 (custom-show): Simplify.
11741 (custom-visibility): Disable images by default.
11742 (custom-variable): New property :hidden-states.
11743 (custom-variable-value-create): Enable images for
11744 custom-visibility widgets. Use :hidden-states property to
11745 determine initial visibility.
11747 * wid-edit.el (widget-image-find): Give images center ascent.
11748 (visibility): Add :on-image and :off-image properties.
11749 (widget-visibility-value-create): Use them.
11751 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
11753 * cus-edit.el (processes): Remove from development group.
11754 (oop, hypermedia): Delete group.
11755 (comm): Promote to top-level group.
11757 * net/browse-url.el (browse-url):
11758 * net/xesam.el (xesam):
11759 * net/tramp.el (tramp):
11760 * net/goto-addr.el (goto-address):
11761 * net/ange-ftp.el (ange-ftp): Put in comm group.
11763 * view.el (view): Remove from editing group.
11765 * uniquify.el (uniquify): Put in files group.
11767 * net/browse-url.el (browse-url):
11768 * ps-print.el (postscript): Put in external group.
11770 * cus-edit.el (outlines):
11771 * textmodes/text-mode.el (text-mode-hook):
11772 * textmodes/table.el (table):
11773 * textmodes/picture.el (picture):
11774 * outline.el (outlines): Put in wp group.
11776 * nxml/nxml-mode.el (nxml): Remove from wp group.
11778 * net/tramp-imap.el (tramp-imap): Put in tramp group.
11780 * mail/metamail.el (metamail): Remove from hypermedia group.
11782 * cus-edit.el (abbrev):
11783 * whitespace.el (whitespace):
11784 * vcursor.el (vcursor):
11785 * reveal.el (reveal):
11786 * hl-line.el (hl-line): Put in convenience group.
11788 * epg-config.el (epg): Put in data group.
11790 * emulation/pc-select.el (pc-select): Put in emulations group.
11792 * calculator.el (calculator): Put in applications group.
11794 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
11796 Add .dir-locals.el support for file-less buffers.
11797 * files.el (hack-local-variables): Split out code to apply local
11798 variable settings ...
11799 (hack-local-variables-apply): ... here. New function.
11800 (hack-dir-local-variables): Use the default directory for when the
11801 buffer does not have an associated file.
11802 (hack-dir-local-variables-non-file-buffer): New function.
11803 * diff-mode.el (diff-mode):
11804 * vc-annotate.el (vc-annotate-mode):
11805 * vc-dir.el (vc-dir-mode):
11806 * log-edit.el (log-edit-mode):
11807 * log-view.el (log-view-mode): Call hack-dir-local-variables-non-file-buffer.
11809 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
11811 Add support for shelving snapshots and for showing shelves.
11812 * vc-bzr.el (vc-bzr-shelve-show, vc-bzr-shelve-show-at-point)
11813 (vc-bzr-shelve-apply-and-keep-at-point, vc-bzr-shelve-snapshot):
11815 (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
11816 (vc-bzr-extra-menu-map): Map them.
11818 2010-03-11 Glenn Morris <rgm@gnu.org>
11820 * cus-edit.el (customize-changed-options-previous-release):
11823 * image.el (image-animate-max-time): Fix :version tag.
11825 2010-03-10 Chong Yidong <cyd@stupidchicken.com>
11829 2010-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
11831 * vc-git.el (vc-git-revision-table): Include remote branches.
11833 2010-03-10 Kim F. Storm <storm@cua.dk>
11835 Animated image API.
11836 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00211.html
11838 * image.el (image-animate-max-time): New defcustom.
11839 (image-animated-types): New defconst.
11840 (create-animated-image, image-animate-timer)
11841 (image-animate-start, image-animate-stop, image-animate-timeout)
11842 (image-animated-p): New functions.
11844 * image-mode.el (image-toggle-display-image):
11845 Replace `create-image' with `create-animated-image'.
11847 2010-03-09 Miles Bader <miles@gnu.org>
11849 * vc-git.el (vc-git-print-log): Use "tformat:" for shortlog,
11850 instead of "format:"; this ensures that the output is
11851 newline-terminated.
11853 2010-03-08 Chong Yidong <cyd@stupidchicken.com>
11855 * mail/rfc822.el (rfc822-addresses): Use nested catches to ensure
11856 that all errors are caught, and that the return value is always a
11859 2010-03-08 Kenichi Handa <handa@m17n.org>
11861 * language/misc-lang.el (windows-1256): New coding system.
11862 (cp1256): New alias of windows-1256 (bug#5690).
11864 2010-03-07 Andreas Schwab <schwab@linux-m68k.org>
11866 * mail/rfc822.el (rfc822-addresses): Move catch clause down around
11867 call to rfc822-bad-address. (Bug#5692)
11869 2010-03-07 Štěpán Němec <stepnem@gmail.com> (tiny change)
11871 * vc-git.el (vc-git-annotate-extract-revision-at-line):
11872 Use vc-git-root as default directory for revision path (Bug#5657).
11874 2010-03-06 Chong Yidong <cyd@stupidchicken.com>
11876 * calculator.el (calculator): Don't bind split-window-keep-point
11879 2010-03-06 Stefan Monnier <monnier@iro.umontreal.ca>
11881 * vc-git.el: Re-flow to fit into 80 columns.
11882 (vc-git-after-dir-status-stage, vc-git-dir-status-goto-stage):
11883 Remove spurious `quote' element in each case alternative.
11884 (vc-git-show-log-entry): Use prog1.
11885 (vc-git-after-dir-status-stage): Remove unused var `remaining'.
11887 2010-03-05 Stefan Monnier <monnier@iro.umontreal.ca>
11889 * man.el (Man-files-regexp): Tighten up the regexp (bug#5686).
11891 2010-03-03 Chong Yidong <cyd@stupidchicken.com>
11893 * macros.el (insert-kbd-macro): Look up keyboard macro using the
11894 definition, not the name (Bug#5481).
11896 2010-03-03 Štěpán Němec <stepnem@gmail.com> (tiny change)
11898 * subr.el (momentary-string-display): Don't overwrite the MESSAGE
11899 argument with a local variable. (Bug#5670)
11901 2010-03-02 Juri Linkov <juri@jurta.org>
11903 * info.el (Info-index-next): Decrement line number by 2. (Bug#5652)
11905 2010-03-02 Michael Albinus <michael.albinus@gmx.de>
11907 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Fix an
11908 error when FILENAME and NEWNAME are existing remote directories.
11910 * net/tramp-compat.el (tramp-compat-make-temp-file): Add optional
11911 parameter DIR-FLAG.
11913 2010-03-02 Glenn Morris <rgm@gnu.org>
11915 * calendar/cal-hebrew.el (holiday-hebrew-passover): Fix date
11916 of Yom HaAtzma'ut when it falls on a Monday (rule changed in 2004).
11918 2010-03-01 Kenichi Handa <handa@m17n.org>
11920 * language/burmese.el (burmese-composable-pattern): Rename from
11921 myanmar-composable-pattern.
11923 * international/characters.el (script-list):
11924 * international/fontset.el (script-representative-chars):
11925 Change myanmar to burmese.
11926 (otf-script-alist): Likewise.
11927 (setup-default-fontset): Likewise. Re-fix :otf spec.
11929 2010-02-28 Katsumi Yamaoka <yamaoka@jpl.org>
11931 * menu-bar.el (menu-bar-manuals-menu): Fix typo.
11933 2010-02-28 Jan Djärv <jan.h.d@swipnet.se>
11935 * scroll-bar.el (scroll-bar-drag-1): Add save-excursion, bug #5654.
11937 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
11939 * net/tramp.el (tramp-handle-write-region): START can be a string.
11940 Take care in the checks. Reported by Dan Davison
11941 <davison@stats.ox.ac.uk>.
11943 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
11945 * net/dbus.el (dbus-introspect, dbus-get-property)
11946 (dbus-set-property, dbus-get-all-properties):
11947 Use `dbus-call-method' when noninteractive. (Bug#5645)
11949 2010-02-28 Chong Yidong <cyd@stupidchicken.com>
11951 * textmodes/reftex-toc.el (reftex-toc-promote-prepare):
11952 * emacs-lisp/elint.el (elint-add-required-env):
11953 * calendar/icalendar.el (icalendar--add-diary-entry):
11954 * calc/calcalg2.el (math-tracing-integral):
11955 * files.el (recover-session-finish): Use with-current-buffer
11956 instead of save-excursion.
11958 2010-02-27 Stefan Monnier <monnier@iro.umontreal.ca>
11960 Fix in-buffer completion when after-change-functions modify the buffer.
11961 * minibuffer.el (completion--replace): New function.
11962 (completion--do-completion): Use it and use relative movement.
11964 2010-02-27 Chong Yidong <cyd@stupidchicken.com>
11966 * international/fontset.el (setup-default-fontset): Fix :otf spec.
11968 2010-02-27 Jeremy Whitlock <jcscoobyrs@gmail.com> (tiny change)
11970 * progmodes/python.el (python-pdbtrack-stack-entry-regexp):
11971 Allow the characters _<> in the stack entry (Bug#5653).
11973 2010-02-26 Kenichi Handa <handa@m17n.org>
11975 * language/burmese.el: Fix entries in composition-function-table.
11976 (myanmar-composable-pattern): New variable.
11978 * international/fontset.el (setup-default-fontset): Add an entry
11981 * international/characters.el (script-list): Add Myanmar
11984 2010-02-26 Glenn Morris <rgm@gnu.org>
11986 * custom.el (custom-initialize-delay): Doc fix.
11988 * mail/sendmail.el (send-mail-function): Autoload the call
11989 to custom-initialize-delay, not otherwise preserved in loaddefs.el.
11991 2010-02-24 Chong Yidong <cyd@stupidchicken.com>
11993 * files.el (hack-local-variables-filter): For eval forms, also
11994 check safe-local-variable-p (Bug#5636).
11996 2010-02-22 Michael Albinus <michael.albinus@gmx.de>
11998 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Protect
11999 setting the modes by `ignore-errors'. It might fail, for example
12000 if the file is not owned by the user but the group.
12001 (tramp-handle-write-region): Ensure, that `tmpfile' is always readable.
12003 2010-02-21 Chong Yidong <cyd@stupidchicken.com>
12005 * files.el (directory-listing-before-filename-regexp):
12006 Use stricter matching for iso-style dates, to avoid false matches with
12007 date-like filenames (Bug#5597).
12009 * htmlfontify.el (htmlfontify): Doc fix.
12011 * eshell/eshell.el (eshell): Doc fix.
12013 * startup.el (fancy-about-screen): In mode-line, apply
12014 mode-line-buffer-id face only to the buffer name (Bug#5613).
12016 2010-02-20 Kevin Ryde <user42@zip.com.au>
12018 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12019 In `watcom' anchor regexp to start of line, to avoid slowness
12022 2010-02-20 Eli Zaretskii <eliz@gnu.org>
12024 * subr.el (remove-yank-excluded-properties): Explain in a comment
12025 why `category' property is removed.
12027 2010-02-19 Chong Yidong <cyd@stupidchicken.com>
12029 * isearch.el (isearch-update-post-hook, isearch-update):
12030 Revert 2010-02-17 change.
12032 2010-02-19 Ulf Jasper <ulf.jasper@web.de>
12034 * calendar/icalendar.el (icalendar--convert-ordinary-to-ical)
12035 (icalendar--convert-weekly-to-ical)
12036 (icalendar--convert-yearly-to-ical)
12037 (icalendar--convert-block-to-ical)
12038 (icalendar--convert-cyclic-to-ical)
12039 (icalendar--convert-anniversary-to-ical): Take care of time
12040 specifications where hour has 1-digit only (Bug#5549).
12042 2010-02-19 Nick Roberts <nickrob@snap.net.nz>
12044 * progmodes/gdb-ui.el (gdb-assembler-handler): Accommodate change
12045 of disassemble output in GDB 7.1.
12047 2010-02-19 Glenn Morris <rgm@gnu.org>
12049 * progmodes/f90.el (f90-electric-insert): Give it a delete-selection
12050 property. (Bug#5593)
12052 2010-02-18 Sam Steingold <sds@gnu.org>
12054 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
12056 2010-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
12058 Use abbreviated file names in bookmarks (bug#5591).
12059 * bookmark.el (bookmark-maybe-load-default-file): Remove redundant
12060 calls to expand-file-name.
12061 (bookmark-relocate): Use abbreviated file names in bookmarks.
12062 (bookmark-load): Use abbreviated file names in messages.
12064 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
12066 * net/tramp.el (tramp-handle-directory-files): When FULL, do not
12067 expand "." and "..". Reported by Thierry Volpiatto
12068 <thierry.volpiatto@gmail.com>.
12070 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
12072 * net/tramp.el (tramp-handle-insert-file-contents): Set always the
12073 permissions of the temporary file to "0600". In case the remote
12074 file has no read permissions for the owner, there might be
12075 problems otherwise. Reported by Ole Laursen <olau@iola.dk>.
12077 22010-02-18 Glenn Morris <rgm@gnu.org>
12079 * emacs-lisp/authors.el (authors-renamed-files-alist):
12080 Add entries for INSTALL.CVS.
12082 2010-02-17 Mark A. Hershberger <mah@everybody.org>
12084 * vc-bzr.el: Fix typo in Known Bugs section.
12086 * isearch.el (isearch-update-post-hook): New hook.
12087 (isearch-update): Use the new hook.
12089 2010-02-16 Michael Albinus <michael.albinus@gmx.de>
12091 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
12092 Fix errors in copying directories.
12093 (tramp-handle-add-name-to-file, tramp-handle-copy-directory)
12094 (tramp-do-copy-or-rename-file, tramp-handle-delete-directory)
12095 (tramp-handle-delete-file)
12096 (tramp-handle-dired-recursive-delete-directory)
12097 (tramp-handle-write-region): Flush also the cache for the upper
12100 2010-02-16 Chong Yidong <cyd@stupidchicken.com>
12102 * simple.el (save-interprogram-paste-before-kill): Doc fix.
12104 * cus-edit.el (hardware): Doc fix.
12106 * man.el (man): Add to external custom group.
12108 * delim-col.el (columns): Move to wp custom group.
12110 * doc-view.el (doc-view): Add to data custom group.
12112 * nxml/nxml-mode.el (nxml-faces): Remove from font-lock-faces group.
12114 * textmodes/flyspell.el (flyspell-word): Obey the offset specified
12115 by ispell-parse-output (Bug#5575).
12117 2010-02-16 Kenichi Handa <handa@m17n.org>
12119 * international/ja-dic-cnv.el (iso-2022-7bit-short): Delete it.
12120 (skkdic-convert-okuri-ari): Ignore lines starting with '>'.
12121 (skkdic-convert): Use `euc-japan' coding system for writing.
12123 2010-02-16 Glenn Morris <rgm@gnu.org>
12125 * textmodes/tex-mode.el (tex-bibtex-file): Expand the result of
12126 tex-main-file before using it. (Bug#5562)
12128 2010-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
12130 * emacs-lisp/advice.el (ad-compile-function): Suppress byte-compiler
12131 warnings, since it is annoying for the user to see them each time he
12134 2010-02-15 Michael Albinus <michael.albinus@gmx.de>
12136 * net/tramp.el (tramp-process-actions, tramp-read-passwd):
12137 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection): Use VEC
12138 instead of PROC for caching "first-password-request". Otherwise,
12139 new processes would not profit from passwords already entered.
12141 * net/tramp-cache.el (tramp-dump-connection-properties):
12142 Don't save "first-password-request" property.
12144 2010-02-14 Juanma Barranquero <lekktu@gmail.com>
12146 * outline.el (outline-head-from-level):
12147 * simple.el (with-wrapper-hook):
12148 * emacs-lisp/elint.el (elint-extra-errors, elint-current-buffer)
12149 (elint-defun, elint-buffer-env, elint-top-form-logged)
12150 (elint-unbound-variable):
12151 * textmodes/reftex-toc.el (reftex-toc-newhead-from-alist):
12152 Fix typos in docstrings.
12154 2010-02-14 Michael Albinus <michael.albinus@gmx.de>
12156 * files.el (insert-directory): When WILDCARD-REGEXP and
12157 FULL-DIRECTORY-P are nil, insert the file entry instead of the
12158 whole directory. (Bug#5551)
12160 * net/ange-ftp.el (ange-ftp-insert-directory): Insert " " for
12161 dired's alignment sanity. (Bug#5516)
12163 2010-02-14 Juri Linkov <juri@jurta.org>
12165 * man.el (Man-fontify-manpage, Man-cleanup-manpage):
12166 Remove remaining ^H with their preceding chars. (Bug#5566)
12168 2010-02-13 Glenn Morris <rgm@gnu.org>
12170 * simple.el (transpose-subr): Give it a doc-string.
12172 * textmodes/paragraphs.el (transpose-paragraphs, transpose-sentences):
12175 2010-02-12 Juri Linkov <juri@jurta.org>
12177 * arc-mode.el (archive-unique-fname): Make directories for nested
12178 archives. (Bug#5540)
12180 2010-02-12 Juri Linkov <juri@jurta.org>
12182 * ffap.el (dired-at-point): Fix docstring. (Bug#5565)
12184 2010-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
12186 * subr.el (copy-overlay): Handle deleted overlays.
12188 * man.el (Man-completion-table): Don't signal an error if we can't run
12189 manual-program (bug#4056).
12191 2010-02-10 Juanma Barranquero <lekktu@gmail.com>
12193 * textmodes/artist.el (artist-mt): Fix typos in docstring.
12195 2010-02-10 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12197 * info.el (Info-bookmark-jump): Simplify.
12199 * bookmark.el (bookmark-handle-bookmark): Catch the right error.
12200 (bookmark-default-handler): Accept new bookmark field `buffer'.
12202 2010-02-10 Chong Yidong <cyd@stupidchicken.com>
12204 * iswitchb.el (iswitchb-completions): Revert last change.
12206 2010-02-10 Michael Albinus <michael.albinus@gmx.de>
12208 * ls-lisp.el (ls-lisp-insert-directory): When WILDCARD-REGEXP and
12209 FULL-DIRECTORY-P are nil, and FILE is absolute, expand it.
12210 This prevents file names like "~/" being listed literally.
12212 2010-02-10 Dan Nicolaescu <dann@ics.uci.edu>
12214 * term/xterm.el (xterm-maybe-set-dark-background-mode):
12215 Remove dead code. (Bug#5546)
12217 2010-02-09 Chong Yidong <cyd@stupidchicken.com>
12219 * eshell/em-ls.el (eshell-ls-applicable): Frob file attributes
12220 correctly (Bug#5548).
12222 2010-02-08 Jose E. Marchesi <jemarch@gnu.org>
12224 * progmodes/ada-mode.el (ada-in-numeric-literal-p): New function.
12225 (ada-adjust-case): Don't adjust case in hexadecimal number literals.
12227 2010-02-08 Kenichi Handa <handa@m17n.org>
12229 * international/mule-util.el (with-coding-priority): Add autoload
12230 cookie for putting `lisp-indent-function'.
12232 2010-02-07 Glenn Morris <rgm@gnu.org>
12234 * progmodes/f90.el (f90-font-lock-keywords-1, f90-font-lock-keywords-2):
12235 Move F2003 named interfaces from keywords-2 to keywords-1, and
12236 use function-name-face rather than constant-face.
12237 Simplify "abstract interface" regexp.
12239 2010-02-07 Chong Yidong <cyd@stupidchicken.com>
12241 * eshell/esh-util.el (eshell-file-attributes): New optional arg
12242 ID-FORMAT. Pass it to `file-attributes'.
12244 * eshell/em-ls.el (eshell-do-ls): Use it (Bug#5528).
12246 2010-02-07 sj <prime.wizard+emacs@gmail.com> (tiny change)
12248 * faces.el (set-face-attribute): Allow calling
12249 internal-set-lisp-face-attribute with 'unspecified family and
12250 foundry argument (Bug#5536).
12252 2010-02-07 Glenn Morris <rgm@gnu.org>
12254 * progmodes/f90.el (f90-font-lock-keywords-2)
12255 (f90-looking-at-type-like, f90-looking-at-program-block-end):
12256 Handle F2003 named interfaces.
12258 2010-02-06 Chong Yidong <cyd@stupidchicken.com>
12260 * progmodes/cc-mode.el (c-common-init): Bind temporary variables
12261 beg and end before calling c-get-state-before-change-functions.
12263 2010-02-06 Dan Nicolaescu <dann@ics.uci.edu>
12265 * vc-bzr.el (vc-bzr-dir-extra-headers):
12266 Disable the pending merges header.
12268 2010-02-05 Juri Linkov <juri@jurta.org>
12270 * doc-view.el (doc-view-mode):
12271 * image-mode.el (image-mode): Put property mode-class=special.
12274 2010-02-05 Mark A. Hershberger <mah@everybody.org>
12276 * vc-svn.el (vc-svn-revision-table): New function.
12278 2010-02-05 Michael Albinus <michael.albinus@gmx.de>
12280 * net/ange-ftp.el (ange-ftp-insert-directory):
12281 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
12282 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
12283 Handle also directories. (Bug#5478)
12285 2010-02-05 Glenn Morris <rgm@gnu.org>
12287 * progmodes/f90.el (f90-font-lock-keywords-2): Fix `enum'.
12289 2010-02-05 Chong Yidong <cyd@stupidchicken.com>
12291 * startup.el (command-line-1): Convert options beginning with a
12292 single dash as well (Bug#5519).
12294 2010-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
12296 Make `initials' completion work for /hh -> /home/horn again (bug#5524).
12297 * minibuffer.el (completion-initials-expand): Only check the presence
12298 of delims *within* the boundaries, since otherwise the / delim is
12299 always found for files.
12301 Fix up various corner case problems.
12302 * doc-view.el (doc-view-last-page-number): New function.
12303 (doc-view-mode, doc-view-last-page, doc-view-goto-page): Use it.
12304 (doc-view-goto-page): Avoid inf-loops when the conversion fails.
12305 (doc-view-kill-proc): Avoid inf-loop in freak cases.
12306 (doc-view-reconvert-doc): Use the new recursive delete-directory.
12307 (doc-view-convert-current-doc): Don't create the resolution.el file
12309 (doc-view-pdf/ps->png): Do it here instead.
12310 (doc-view-already-converted-p): Check that resolution.el is present.
12311 (doc-view-pdf->png): Don't rely on doc-view-pdf/ps->png for the few
12312 windows that are not yet showing images.
12314 2010-02-04 Michael Albinus <michael.albinus@gmx.de>
12316 * dired.el (dired-revert): If DIRED-DIRECTORY is a cons cell, call
12317 `dired-uncache' for every elemnt which is an absolute file name.
12319 * net/tramp.el (tramp-handle-dired-uncache): When DIR is not a
12320 directory, handle its directory component.
12321 (tramp-handle-file-remote-p): Let-bind `tramp-verbose' to 3; this
12322 function is called permanently and creates noise, otherwise.
12324 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
12325 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
12326 Handle the case, FILENAME is not in `default-directory'. (Bug#5478)
12328 2010-02-04 David Burger <dburger@google.com> (tiny change)
12330 * macros.el (apply-macro-to-region-lines):
12331 Minor simplification. (Bug#5485)
12333 2010-02-04 Glenn Morris <rgm@gnu.org>
12335 * mail/rmail.el (rmail-show-message-1): Handle malformed
12336 quoted-printable text. (Bug#5441)
12338 * mail/mail-utils.el (mail-unquote-printable-region): Doc fix.
12340 * simple.el (visual-line-mode): Capitalize lighter.
12342 2010-02-03 John Wiegley <jwiegley@gmail.com>
12344 * iswitchb.el (iswitchb-completions): Add bookmark files to the
12345 list of files considered for "virtual buffer" completions.
12347 2010-02-03 Michael Albinus <michael.albinus@gmx.de>
12349 * net/ange-ftp.el (ange-ftp-insert-directory): Parse directory
12350 also in case of (and (not full) (not wildcard)). This is needed
12351 when dired is called with a list of files, which are not in
12352 `default-directory'. (Bug#5478)
12354 2010-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
12356 * vc-hooks.el (vc-path): Make it an obsolete var, rather than function.
12358 2010-02-02 Juri Linkov <juri@jurta.org>
12360 * textmodes/ispell.el (ispell-message-text-end): Remove final newline
12361 from unidiff to allow function-line after @@.
12363 2010-02-02 Juri Linkov <juri@jurta.org>
12365 * ediff-util.el (ediff-file-checked-in-p): Replace '(nil CVS) by
12366 '(RCS SCCS) with inverted condition.
12368 2010-02-02 Michael Albinus <michael.albinus@gmx.de>
12370 * net/ange-ftp.el (ange-ftp-skip-msgs): Ignore all ""^500 .*AUTH"
12373 2010-02-01 Juri Linkov <juri@jurta.org>
12375 * arc-mode.el (archive-zip-extract): Use `member-ignore-case' to
12376 compare with "pkunzip" and "pkzip" instead of only "pkzip".
12377 In the `archive-extract-by-stdout' branch use `shell-quote-argument'
12378 only when (car archive-zip-extract) is "unzip". (Bug#5475)
12380 2010-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
12382 * doc-view.el (doc-view-new-window-function): Be a bit more defensive.
12383 (doc-view-revert-buffer): New command.
12384 (doc-view-mode-map): Use it.
12386 2010-02-01 Dan Nicolaescu <dann@ics.uci.edu>
12388 * vc-bzr.el (vc-bzr-dir-extra-headers): Add a header when a
12389 pending merge is detected.
12391 2010-01-31 Juri Linkov <juri@jurta.org>
12393 * progmodes/grep.el (zrgrep): Call `grep-compute-defaults' at the
12394 beginning of interactive spec like all other grep commands do.
12395 Put "all" in front of "gz". (Bug#5260)
12397 2010-01-29 Dan Nicolaescu <dann@ics.uci.edu>
12399 * vc-bzr.el (vc-bzr-after-dir-status): Match another renaming indicator.
12401 2010-01-29 Chong Yidong <cyd@stupidchicken.com>
12403 * dirtrack.el (dirtrack): Warn instead of signalling error if the
12404 regexp is incorrect (Bug#5476).
12406 2010-01-29 Michael Albinus <michael.albinus@gmx.de>
12408 * net/tramp.el (tramp-handle-insert-directory): Handle also
12409 symlinks, when FILENAME is not in `default-directory'.
12411 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
12413 * net/ange-ftp.el (ange-ftp-insert-directory): Handle the case,
12414 FILE is not in `default-directory'. (Bug#5478)
12416 * net/tramp.el (tramp-handle-insert-directory): Simplify handling
12417 of SWITCHES. Handle the case, FILENAME is not in
12418 `default-directory'. (Bug#5478)
12419 (tramp-register-file-name-handlers): Add safe-magic property.
12421 2010-01-28 Chong Yidong <cyd@stupidchicken.com>
12423 * arc-mode.el (archive-zip-extract): Quote the argument passed to
12426 2010-01-28 Nil Geisweiller <ngeiswei@googlemail.com> (tiny change)
12428 * progmodes/flymake.el (flymake-allowed-file-name-masks)
12429 (flymake-master-make-header-init): Add other C++ filename masks.
12430 (flymake-find-possible-master-files)
12431 (flymake-check-patch-master-file-buffer): Doc fixes (Bug#5488).
12433 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
12435 Fix some busybox annoyances.
12437 * net/tramp.el (tramp-wrong-passwd-regexp): Add "Timeout, server
12438 not responding." string.
12439 (tramp-open-connection-setup-interactive-shell): Dump stty
12440 settings. Enable "neveropen" arg for all `tramp-send-command'
12441 calls. Handle "=" in variable values properly.
12442 (tramp-find-inline-encoding): Raise an error, when no encoding is
12444 (tramp-wait-for-output): Check, whether PROC buffer is available.
12445 Remove spurious " ^H" sequences, sent by busybox.
12446 (tramp-get-ls-command): Suppress coloring, if possible.
12448 2010-01-28 Glenn Morris <rgm@gnu.org>
12450 * vc-svn.el (vc-svn-update): Use "svn --non-interactive". (Bug#4280)
12452 * log-edit.el (log-edit-strip-single-file-name): Add missing
12453 :safe, :group, and :version tags.
12455 2010-01-27 Stephen Berman <stephen.berman@gmx.net>
12457 * calendar/diary-lib.el (diary-unhide-everything): Handle narrowed
12458 buffers. (Bug#5477)
12460 2010-01-27 David De La Harpe Golden <david@harpegolden.net>
12462 * files.el (delete-directory): Handle moving to trash without
12463 first doing recursion (Bug#5436).
12465 2010-01-26 Dan Nicolaescu <dann@ics.uci.edu>
12467 * vc-hooks.el (vc-path): Mark as obsolete.
12469 2010-01-25 Dan Nicolaescu <dann@ics.uci.edu>
12471 * vc-annotate.el (vc-annotate-revision-at-line): Compare file
12474 * vc-bzr.el (vc-bzr-print-log): Use the more compact --line option
12476 (vc-bzr-log-view-mode): Adjust regexp for the above change.
12478 2010-01-25 Mark A. Hershberger <mah@everybody.org>
12480 * progmodes/python.el: Replace reference to obsolete c-subword-mode.
12482 * vc-bzr.el (vc-bzr-revision-table): New function.
12484 2010-01-25 Eric Hanchrow <eric.hanchrow@gmail.com>
12486 * vc-git.el (vc-git-dir-status-goto-stage): Pass --relative to the
12487 diff-index command. This requires at least git-1.5.5. (Bug#1589).
12489 2010-01-24 Dan Nicolaescu <dann@ics.uci.edu>
12491 Remove support for adding --signoff on commit.
12492 Future support will use an incompatible generic mechanism.
12493 * vc-git.el (vc-git-add-signoff): Remove variable.
12494 (vc-git-toggle-signoff): Remove function.
12495 (vc-git-extra-menu-map): Do not bind vc-git-toggle-signoff.
12497 * term/xterm.el (xterm-maybe-set-dark-background-mode):
12498 Rename from xterm-set-background-mode. Return t if the background mode
12500 (terminal-init-xterm): Move tty-set-up-initial-frame-faces
12501 earlier, call it again in case the background mode has changed.
12503 2010-01-23 Dmitri Paduchikh <dpaduch@k66.ru> (tiny change)
12505 * emacs-lisp/advice.el (ad-set-orig-definition): Fix typo
12508 2010-01-23 Chong Yidong <cyd@stupidchicken.com>
12510 * emacs-lisp/assoc.el (aelement): Doc fix.
12511 (aput, adelete, amake): Use lexical-let (Bug#5450).
12513 2010-01-23 Stephen Leake <stephen_leake@member.fsf.org>
12515 * progmodes/ada-mode.el (ada-in-paramlist-p): Pragma syntax
12516 is the same as subprogram call, not declaration. (Bug#5435).
12518 2010-01-23 Michael Albinus <michael.albinus@gmx.de>
12520 * net/tramp-smb.el (tramp-smb-conf): New defcustom.
12521 (tramp-smb-maybe-open-connection): Use it.
12523 2010-01-22 Michael Albinus <michael.albinus@gmx.de>
12525 * net/tramp-imap.el (top): Autoload needed packages. (Bug#5448)
12527 2010-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
12529 * mail/rmailmm.el (rmail-mime-handle): Don't set the buffer to unibyte
12530 just because we see "encoding: 8bit".
12531 * mail/rmail.el (rmail-show-message-1): Decode the body's QP into bytes.
12533 2010-01-22 Chong Yidong <cyd@stupidchicken.com>
12535 * isearch.el (isearch-allow-scroll): Doc fix (Bug#5446).
12537 2010-01-22 Eli Zaretskii <eliz@gnu.org>
12539 * jka-compr.el (jka-compr-load): If load-file is not in
12540 load-history, try its file-truename version. (bug#5447)
12542 2010-01-21 Alan Mackenzie <acm@muc.de>
12544 Fix a situation where deletion of a cpp construct throws an error.
12545 * progmodes/cc-engine.el (c-invalidate-state-cache):
12546 Before invoking c-with-all-but-one-cpps-commented-out, check that the
12547 special cpp construct is still in the buffer.
12548 (c-parse-state): Record the special cpp with markers, not numbers.
12550 2010-01-21 Kenichi Handa <handa@m17n.org>
12552 * textmodes/sgml-mode.el (sgml-maybe-name-self): No need to
12553 process last-command-event, as it is now decoded first (Bug#5380).
12555 2010-01-20 Chong Yidong <cyd@stupidchicken.com>
12557 * term.el (term-send-raw-meta): Revert 2009-12-04 change (Bug#5330).
12559 2010-01-20 Glenn Morris <rgm@gnu.org>
12561 * indent.el (tab-always-indent): Fix custom-type.
12563 2010-01-19 Alan Mackenzie <acm@muc.de>
12565 * progmodes/cc-defs.el: Fix bug#5395: typing '#' in an empty
12566 buffer throws "args out of range".
12567 (c-set-cpp-delimiters, c-clear-cpp-delimiters): Check for EOB
12568 playing the role of delimiter.
12570 2010-01-18 Stephen Leake <stephen_leake@member.fsf.org>
12572 * progmodes/ada-mode.el: Fix bug#5400.
12573 (ada-matching-decl-start-re): Move into ada-goto-decl-start.
12574 (ada-goto-decl-start): Rename from ada-goto-matching-decl-start; callers
12575 changed. Delete RECURSIVE parameter; never used. Improve doc string.
12576 Improve comments in "is" portion. Handle null procedure declaration.
12577 (ada-move-to-end): Improve doc string.
12579 2010-01-18 Óscar Fuentes <ofv@wanadoo.es>
12581 * ido.el (ido-cur-list): Initialize to nil.
12582 Remove obsolete information from commentary.
12583 (ido-choice-list): Initialize to nil.
12584 (ido-get-bufname): Reject minibuffers.
12585 (ido-make-buffer-list): If "default" is a nonexistent
12586 buffer, ignore it, as per the function's comment.
12587 (ido-kill-buffer-internal): New function.
12588 (ido-kill-buffer-at-head): Use it.
12589 (ido-visit-buffer): Likewise.
12591 2010-01-18 Chong Yidong <cyd@stupidchicken.com>
12593 * calendar/time-date.el (date-to-time): Doc fix (Bug#5408).
12595 2010-01-18 Juanma Barranquero <lekktu@gmail.com>
12597 * emacs-lisp/chart.el (chart-file-count, chart-rmail-from):
12598 Fix typos in chart titles.
12600 * whitespace.el (whitespace-style, global-whitespace-newline-mode):
12601 * emacs-lisp/eieio.el (eieio-error-unsupported-class-tags)
12602 (eieio-generic-form, eieio-help-mode-augmentation-maybee, eieio-browse)
12603 (describe-class, eieio-describe-generic, describe-generic):
12604 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click)
12605 (eieio-speedbar-expand):
12606 * emulation/viper-cmd.el (viper-exec-form-in-vi)
12607 (viper-exec-form-in-emacs, viper-harness-minor-mode, viper-ESC)
12608 (viper-repeat, viper-replace-state-exit-cmd, viper-toggle-search-style)
12609 (viper-del-backward-char-in-replace, viper-backward-indent)
12610 (viper-brac-function, viper-register-to-point, viper-submit-report):
12611 * net/tramp.el (tramp-remote-coding-commands):
12612 * term/x-win.el (emacs-session-save, x-menu-bar-open, icon-map-list):
12613 Fix typos in docstrings.
12615 2010-01-17 Chong Yidong <cyd@stupidchicken.com>
12617 * mail/sendmail.el (mail-yank-original): Set the mark if the
12618 specified function for yanking does not do it.
12620 2010-01-17 Dan Nicolaescu <dann@ics.uci.edu>
12622 * vc.el (with-vc-properties): Deal with directory arguments. (Bug#5298)
12624 * vc-dir.el (vc-dir-resynch-file): Update the vc-dir header when
12625 resyncing a directory.
12627 2010-01-17 Stephen Leake <stephen_leake@member.fsf.org>
12629 * progmodes/ada-mode.el: Fix bug#1920.
12630 (ada-ident-re): Delete ., allow multibyte characters.
12631 (ada-goto-label-re): New; matches goto labels.
12632 (ada-block-label-re): New; matches block labels.
12633 (ada-label-re): New; matches both.
12634 (ada-named-block-re): Deleted; callers changed to use
12635 `ada-block-label-re' instead.
12636 (ada-get-current-indent, ada-get-indent-noindent, ada-get-indent-loop):
12637 Use `ada-block-label-re'.
12638 (ada-indent-on-previous-lines): Improve handling of goto labels.
12639 (ada-get-indent-block-start): Special-case block label.
12640 (ada-get-indent-label): Split into `ada-indent-block-label' and
12641 `ada-indent-goto-label'.
12642 (ada-goto-stmt-start, ada-goto-next-non-ws):
12643 Optionally ignore goto labels.
12644 (ada-goto-next-word): Simplify.
12645 (ada-indent-newline-indent-conditional): Insert newline before
12646 trying to fix indentation; doc fix.
12648 2010-01-17 Jay Belanger <jay.p.belanger@gmail.com>
12650 * calc/calc.el (calc-command-flags): Give it an initial value.
12652 2010-01-17 Juanma Barranquero <lekktu@gmail.com>
12654 * files.el (minibuffer-with-setup-hook):
12655 * textmodes/artist.el (artist-mt, artist-key-undraw-continously)
12656 (artist-key-draw-continously, artist-key-do-continously-continously)
12657 (artist-key-set-point-continously, artist-mouse-draw-continously):
12658 Fix typos in docstrings.
12660 2010-01-16 Lennart Borgman <lennart.borgman@gmail.com>
12662 * nxml/nxml-mode.el (nxml-extend-after-change-region):
12663 Never return t (Bug#3898).
12665 2010-01-16 Frédéric Perrin <frederic.perrin@resel.fr> (tiny change)
12667 * vc-dispatcher.el (vc-do-command): Set LC_MESSAGES, so that we
12668 can parse the output of the external commands (Bug#5279).
12670 2010-01-16 Jari Aalto <jari.aalto@cante.net>
12672 * pcmpl-unix.el (pcmpl-unix-read-passwd-file): Doc fix.
12674 2010-01-16 Chong Yidong <cyd@stupidchicken.com>
12676 * emacs-lisp/advice.el (ad-add-advice): Doc fix (Bug#5274)
12678 * emacs-lisp/cl-macs.el (defstruct): Doc fix (Bug#5267).
12680 * startup.el (command-line): Remove unused --icon-type arg.
12681 Handle --display arg, passing it to command-line-1 (Bug#5392).
12683 2010-01-16 Mario Lang <mlang@delysid.org>
12685 * emacs-lisp/chart.el (chart-translate-namezone):
12686 * textmodes/artist.el (artist-compute-popup-menu-table):
12687 Remove duplicated words in doc-strings.
12689 2010-01-15 David Abrahams <dave@boostpro.com> (tiny change)
12691 * net/mairix.el (mairix-widget-send-query): Send -1 instead of nil
12692 to mairix-search to suppress threading (Bug#5342).
12694 2010-01-15 Kenichi Handa <handa@m17n.org>
12696 * international/mule-cmds.el (canonicalize-coding-system-name):
12697 Convert "msXXX", "ibmXXX", "windows-XXX" to "cpXXX" (Bug#5387).
12699 2010-01-15 Glenn Morris <rgm@gnu.org>
12701 * log-view.el (top-level): Require 'wid-edit. (Bug#5311)
12703 * wid-edit.el (widget-keymap): Doc fix.
12705 * vc-svn.el (vc-svn-print-log): Use --limit rather than -l since the
12706 former seems to be more widely accepted by various svn versions.
12708 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
12710 * find-cmd.el (find-constituents):
12711 * vc-arch.el (vc-arch-root):
12712 * window.el (window-body-height, pop-up-frames):
12713 * emacs-lisp/eieio-base.el (eieio-singleton, slot-missing):
12714 * progmodes/ada-stmt.el (ada-if):
12715 * progmodes/gdb-ui.el (gdb-jsonify-buffer):
12716 * textmodes/ispell.el (ispell-grep-options, ispell-dictionary-alist)
12717 (ispell-encoding8-command, ispell-aspell-supports-utf8)
12718 (ispell-last-program-name, ispell-help): Fix typos in docstrings.
12720 * progmodes/flymake.el (flymake-post-syntax-check):
12721 Fix typo in error message.
12723 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
12725 * hexl.el (hexl-printable-character): Fix check of `hexl-iso',
12726 which is always a string. (Bug#5313)
12728 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
12730 * progmodes/ada-xref.el (ada-default-prj-properties):
12731 Simplify previous change.
12733 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
12735 * progmodes/ada-xref.el (ada-default-prj-properties):
12736 Default ada_project_path to $ADA_PROJECT_PATH.
12738 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
12740 * progmodes/ada-mode.el (ada-create-keymap):
12741 Override `narrow-to-defun' with `ada-narrow-to-defun'.
12743 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
12745 * progmodes/ada-mode.el: Deal with Ada 2005 "overriding" keyword.
12746 (ada-subprog-start-re, ada-imenu-subprogram-menu-re): Add keyword.
12747 (ada-get-current-indent, ada-imenu-generic-expression)
12748 (ada-which-function): Check for it.
12750 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
12752 * progmodes/ada-mode.el (ada-clean-buffer-before-saving): Make obsolete.
12753 (ada-mode): Don't obey `ada-clean-buffer-before-saving' anymore.
12755 2010-01-14 Glenn Morris <rgm@gnu.org>
12757 * frame.el (show-trailing-whitespace): Safe if boolean. (Bug#5312)
12759 2010-01-14 Kenichi Handa <handa@m17n.org>
12761 * composite.el (auto-composition-mode): Make it a buffer local
12762 variable (permanent-local).
12763 (auto-composition-function): Set the default value to
12764 auto-compose-chars.
12765 (auto-composition-mode): Make it a simple function, not a minor mode.
12766 (global-auto-composition-mode): Likewise.
12767 (turn-on-auto-composition-if-enabled): Delete it.
12769 2010-01-13 Karl Fogel <kfogel@red-bean.com>
12771 * bookmark.el (bookmark-bmenu-execute-deletions): Doc fix (Bug#5276).
12773 2010-01-12 Michael Albinus <michael.albinus@gmx.de>
12775 * files.el (copy-directory): Compute target for recursive
12776 directories with identical names. (Bug#5343)
12778 2010-01-12 Glenn Morris <rgm@gnu.org>
12780 * mail/emacsbug.el (report-emacs-bug-pretest-address):
12781 Set it to bug-gnu-emacs rather than emacs-pretest-bug.
12783 2010-01-11 Sam Steingold <sds@gnu.org>
12785 * imenu.el (imenu-default-create-index-function): Detect infinite
12786 loops caused by imenu-prev-index-position-function.
12788 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
12790 * htmlfontify.el (htmlfontify-load-rgb-file)
12791 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values)
12792 (htmlfontify-manual, htmlfontify, hfy-page-header, hfy-page-footer)
12793 (hfy-src-doc-link-style, hfy-src-doc-link-unstyle, hfy-link-extn)
12794 (hfy-link-style-fun, hfy-index-file, hfy-instance-file)
12795 (hfy-html-quote-regex, hfy-init-kludge-hook, hfy-post-html-hooks)
12796 (hfy-default-face-def, hfy-etag-regex, hfy-html-quote-map)
12797 (hfy-etags-cmd-alist-default, hfy-etags-bin, hfy-ignored-properties)
12798 (hfy-which-etags, hfy-etags-cmd, hfy-istext-command, hfy-display-class)
12799 (hfy-optimisations, hfy-tags-cache, hfy-tags-sortl, hfy-tags-rmap)
12800 (hfy-style-assoc, hfy-sheet-assoc, hfy-facemap-assoc, hfy-interq)
12801 (hfy-colour-vals, hfy-default-header, hfy-link-style-string)
12802 (hfy-triplet, hfy-slant, hfy-weight, hfy-combined-face-spec)
12803 (hfy-face-attr-for-class, hfy-face-to-style-i, hfy-size-to-int)
12804 (hfy-flatten-style, hfy-face-to-style, hfy-face-or-def-to-name)
12805 (hfy-face-to-css, hfy-p-to-face, hfy-p-to-face-lennart, hfy-face-at)
12806 (hfy-fontified-p, hfy-merge-adjacent-spans, hfy-buffer)
12807 (hfy-html-enkludge-buffer, hfy-html-quote, hfy-html-dekludge-buffer)
12808 (hfy-force-fontification, htmlfontify-buffer, hfy-dirname)
12809 (hfy-make-directory, hfy-text-p, hfy-mark-tag-names, hfy-relstub)
12810 (hfy-href-stub, hfy-href, hfy-mark-tag-hrefs, hfy-prepare-index-i)
12811 (hfy-prepare-index, hfy-prepare-tag-map, hfy-subtract-maps)
12812 (htmlfontify-run-etags): Fix typos in docstrings and remove superfluous
12813 backslash-quoting from parentheses, etc.
12815 2010-01-11 Chong Yidong <cyd@stupidchicken.com>
12817 * progmodes/js.el: Autoload javascript-mode alias.
12819 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
12821 * ffap.el (ffap-shell-prompt-regexp, ffap-all-subdirs, ffap-url-p)
12822 (ffap-alist, ffap-tex-path, ffap-url-at-point, ffap-gopher-regexp)
12823 (ffap-gopher-at-point, ffap-file-at-point, ffap-read-file-or-url)
12824 (ffap-read-url-internal, ffap-menu, ffap-at-mouse):
12825 Fix typos in docstrings.
12826 (ffap-url-regexp): Doc fix.
12827 (ffap-at-mouse): Fix typo in message.
12829 2010-01-11 Glenn Morris <rgm@gnu.org>
12831 * version.el (emacs-copyright): Set copyright year to 2010.
12833 2010-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
12835 * format.el (format-annotate-function): Only set
12836 write-region-post-annotation-function after running to-fn so as not to
12837 affect nested write-region calls (bug#5273).
12839 2010-01-10 Chong Yidong <cyd@stupidchicken.com>
12841 * Makefile.in (ELCFILES): Add wisent/python-wy.el and
12844 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
12846 * man.el (Man-goto-section): Signal error if the section is not
12849 2010-01-09 Juanma Barranquero <lekktu@gmail.com>
12851 * vc-bzr.el (vc-bzr-working-revision): On Windows and MS-DOS, accept
12852 URLs with a leading triple slash in the file: scheme. (Bug#5345)
12854 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
12856 * progmodes/compile.el: Don't treat compile-command as safe if
12857 compilation-read-command might be nil (Bug#4218).
12859 2010-01-09 Jan Djärv <jan.h.d@swipnet.se>
12861 * startup.el (command-line-1): Use orig-argi to check for ignored X and
12864 2010-01-08 Kenichi Handa <handa@m17n.org>
12866 * international/fontset.el (build-default-fontset-data):
12867 Exclude characters in scripts kana, hangul, han, or cjk-misc.
12869 2010-01-07 Juanma Barranquero <lekktu@gmail.com>
12871 * vc-dir.el (vc-dir-prepare-status-buffer): Pass a (fake) filename
12872 to `create-file-buffer' as it expects, not just a buffer name.
12873 (vc-dir-mode): Include the buffer name in `list-buffers-directory',
12874 to help uniquify. (Bug#3224)
12876 2010-01-06 Jan Djärv <jan.h.d@swipnet.se>
12878 * font-setting.el (font-setting-change-default-font): Use user-spec
12881 2010-01-06 Dan Nicolaescu <dann@ics.uci.edu>
12883 * vc-bzr.el (vc-bzr-after-dir-status): Ignore pending merges.
12885 2010-01-05 Tom Tromey <tromey@redhat.com>
12887 * progmodes/python.el (python-font-lock-keywords):
12888 Handle qualified decorators (Bug#881).
12890 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
12892 * vc-bzr.el (vc-bzr-working-revision): Fix looking for a revision
12893 in a lightweight checkout.
12895 2010-01-05 Kenichi Handa <handa@m17n.org>
12897 * language/indian.el (malayalam-composable-pattern): Fix ZWNJ and ZWJ.
12899 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
12901 * vc-bzr.el (vc-bzr-diff): Obey vc-disable-async-diff.
12903 2010-01-04 Dan Nicolaescu <dann@ics.uci.edu>
12905 * vc-bzr.el (vc-bzr-state-heuristic): Make it work for lightweight
12906 checkouts. (Bug#618)
12907 (vc-bzr-log-view-mode): Also highlight the author.
12908 (vc-bzr-shelve-map): Change binding for vc-bzr-shelve-apply-at-point.
12909 (vc-bzr-shelve-menu-map):
12910 (vc-bzr-dir-extra-headers): Improve menu and tooltip text.
12911 (vc-bzr-shelve-apply): Make prompt more explicit.
12913 2010-01-02 Chong Yidong <cyd@stupidchicken.com>
12915 * net/browse-url.el (browse-url-encode-url): Don't escape commas.
12916 They are valid characters in URL paths (rfc3986), and at least
12917 Firefox does not understand the encoded version (Bug#3166).
12919 2010-01-02 Daniel Elliott <danelliottster@gmail.com> (tiny change)
12921 * progmodes/octave-mod.el (octave-end-keywords)
12922 (octave-block-begin-or-end-regexp, octave-block-match-alist):
12923 Add "end" keyword (Bug#3061).
12924 (octave-end-as-array-index-p): New function.
12925 (calculate-octave-indent): Use it.
12927 2010-01-02 Karl Fogel <kfogel@red-bean.com>
12929 * bookmark.el: Consistently put the text property on the bookmark name.
12930 (bookmark-bmenu-marks-width): Bump back to 2, to include
12932 (bookmark-bmenu-hide-filenames): Adjust for above, and put the text
12933 property on the bookmark name, instead of not putting it at all.
12934 (bookmark-bmenu-list): Fix where we put the text property.
12936 2010-01-02 Karl Fogel <kfogel@red-bean.com>
12938 * bookmark.el (bookmark-bmenu-save): Just depend on the new logic
12939 for showing buffer modified state (as added in the previous change).
12941 2010-01-02 Karl Fogel <kfogel@red-bean.com>
12943 * bookmark.el: Show modified state of bookmark buffer more accurately.
12944 (bookmark-bmenu-list): Initialize buffer-modified-p properly.
12945 (bookmark-send-edited-annotation): Mark bookmark-alist as modified.
12946 (with-buffer-modified-unmodified): New macro.
12947 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
12948 (bookmark-bmenu-mark, bookmark-bmenu-unmark, bookmark-bmenu-delete):
12949 Use new macro to preserve the buffer modified state.
12951 2010-01-02 Karl Fogel <kfogel@red-bean.com>
12953 * bookmark.el (bookmark-bmenu-select, bookmark-bmenu-1-window)
12954 (bookmark-bmenu-2-window, bookmark-bmenu-this-window)
12955 (bookmark-bmenu-other-window, bookmark-bmenu-switch-other-window)
12956 (bookmark-bmenu-show-annotation, bookmark-bmenu-edit-annotation)
12957 (bookmark-bmenu-rename, bookmark-bmenu-locate)
12958 (bookmark-bmenu-relocate, bookmark-bmenu-goto-bookmark):
12959 Remove unnecessary calls to `bookmark-bmenu-ensure-position'.
12961 2010-01-02 Eli Zaretskii <eliz@gnu.org>
12963 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
12964 Make the lines in the generated doc string shorter. (Bug#4668)
12966 2010-01-02 Ryan Yeske <rcyeske@gmail.com>
12968 * net/rcirc.el: Add follow-link binding (Bug#4738).
12970 2010-01-02 Eli Zaretskii <eliz@gnu.org>
12972 * Makefile.in (bzr-update): Rename from cvs-update.
12973 (cvs-update): New target for backward compatibility.
12975 * makefile.w32-in (bzr-update): Rename from cvs-update.
12976 (cvs-update): New target for backward compatibility.
12978 2010-01-02 Karl Fogel <kfogel@red-bean.com>
12980 * bookmark.el: Remove gratuitous gratitude.
12982 2010-01-02 Karl Fogel <kfogel@red-bean.com>
12984 * bookmark.el (bookmark-bmenu-any-marks): New function.
12985 (bookmark-bmenu-save): Clear buffer modification if no marks.
12987 2010-01-02 Karl Fogel <kfogel@red-bean.com>
12989 * bookmark.el (bookmark-bmenu-marks-width): Define to 1, not 2.
12990 (bookmark-bmenu-list, bookmark-bmenu-bookmark): Calculate property
12991 positions by using `bookmark-bmenu-marks-width', instead of hardcoding.
12992 This fixes the `bookmark-bmenu-execute-deletions' bug reported here:
12994 http://lists.gnu.org/archive/html/emacs-devel/2009-12/msg00819.html
12995 From: Sun Yijiang <sunyijiang {_AT_} gmail.com>
12996 To: emacs-devel {_AT_} gnu.org
12997 Subject: bookmark.el bug report
12998 Date: Mon, 28 Dec 2009 14:19:16 +0800
12999 Message-ID: 5065e2900912272219y3734fc9fsdaee41167ef99ad7@mail.gmail.com
13001 2010-01-02 Karl Fogel <kfogel@red-bean.com>
13003 * bookmark.el: Improvements suggested by Drew Adams:
13004 (bookmark-bmenu-ensure-position): New name for
13005 `bookmark-bmenu-check-position'. Just ensure the position,
13006 don't return any meaningful value.
13007 (bookmark-bmenu-header-height, bookmark-bmenu-marks-width):
13010 2010-01-02 Juanma Barranquero <lekktu@gmail.com>
13012 * bookmark.el (bookmarks-already-loaded): Doc fix (don't use `iff').
13013 (bookmark-yank-point, bookmark-bmenu-check-position):
13014 Fix typos in docstrings.
13015 (bookmark-save-flag, bookmark-bmenu-toggle-filenames)
13016 (bookmark-name-from-full-record, bookmark-get-position)
13017 (bookmark-set-position, bookmark-set, bookmark-handle-bookmark)
13018 (bookmark-delete, bookmark-save, bookmark-save, bookmark-bmenu-mode):
13019 Remove useless quoting of parenthesis, etc. in docstrings.
13021 * ediff-mult.el (ediff-prepare-meta-buffer): Fix typo in help message.
13022 (ediff-append-custom-diff): Fix typo in error message.
13023 (ediff-meta-mark-equal-files): Fix typos in messages.
13025 * mpc.el (mpc-playlist-delete): Fix typo in error messages.
13027 * net/imap-hash.el (imap-hash-make): Doc fix.
13028 (imap-hash-test): Fix typo in error message; reflow docstring.
13029 (imap-hash-p, imap-hash-get, imap-hash-put, imap-hash-make-message)
13030 (imap-hash-count, imap-hash-server, imap-hash-port, imap-hash-ssl)
13031 (imap-hash-mailbox, imap-hash-user, imap-hash-password):
13032 Fix typos in docstrings.
13033 (imap-hash-open-connection): Fix typo in error message.
13035 * play/gomoku.el (gomoku): Fix typos in docstring.
13037 * progmodes/gdb-ui.el (gdb-location-alist): Reflow docstring.
13038 (gdb-jsonify-buffer): Fix typos in docstring.
13039 (gdb-goto-breakpoint): Fix typo in error message.
13040 ("Display Other Windows"): Fix typo in help message.
13041 (gdb-speedbar-expand-node): Fix typo in question.
13043 * progmodes/idlw-help.el (idlwave-help-browse-url-available)
13044 (idlwave-html-system-help-location, idlwave-html-help-location)
13045 (idlwave-help-browser-function, idlwave-help-browser-generic-program)
13046 (idlwave-help-browser-generic-args, idlwave-help-directory)
13047 (idlwave-html-help-is-available, idlwave-help-mode-line-indicator)
13048 (idlwave-help-mode-map, idlwave-help-mode, idlwave-do-context-help)
13049 (idlwave-online-help, idlwave-help-html-link)
13050 (idlwave-help-show-help-frame, idlwave-help-assistant-command):
13051 Fix typos in docstrings.
13052 (idlwave-help-with-source, idlwave-help-find-routine-definition):
13054 (idlwave-help-assistant-start): Fix typo in error message.
13056 * progmodes/octave-mod.el (octave-mode, octave-electric-semi)
13057 (octave-electric-space): Fix typos in docstrings.
13059 2010-01-01 Chong Yidong <cyd@stupidchicken.com>
13061 * files.el (minibuffer-with-setup-hook): Doc fix (Bug#5149).
13063 2010-01-01 Juri Linkov <juri@jurta.org>
13065 * comint.el (comint-input-ring-size): Make it a defcustom and
13066 increase the default to 500 (Bug#5148).
13068 2009-12-31 Nick Roberts <nickrob@snap.net.nz>
13070 Further changes from EMACS_23_1_RC branch (2009-12-29 contd).
13071 * term/x-win.el (x-gtk-stock-map): Map some GUD buttons.
13072 * progmodes/gud.el (gud-menu-map): Add reverse-execution commands.
13074 2009-12-30 Nick Roberts <nickrob@snap.net.nz>
13076 Show working revision correctly for mercurial.
13077 * vc-hg.el (vc-hg-working-revision): Use hg parent instead of
13078 hg log as suggested by Alex Harsanyi <alexharsanyi@gmail.com>.
13080 2009-12-29 Juanma Barranquero <lekktu@gmail.com>
13082 Declare some functions for the byte-compiler.
13083 * progmodes/gdb-ui.el (speedbar-change-initial-expansion-list)
13084 (speedbar-timer-fn, speedbar-change-expand-button-char)
13085 (speedbar-delete-subblock, speedbar-center-buffer-smartly): Declare.
13087 2009-12-29 Nick Roberts <nickrob@snap.net.nz>
13089 This changeset reverts GDB Graphical Interface to use annotations.
13090 * progmodes/gdb-ui.el, progmodes/gud.el: Import from EMACS_23_1_RC.
13092 2009-12-29 Dan Nicolaescu <dann@ics.uci.edu>
13094 Make vc-dir work on subdirectories of the bzr root.
13095 * vc-bzr.el (vc-bzr-after-dir-status): Add new argument.
13096 Return file names relative to it.
13097 (vc-bzr-dir-status, vc-bzr-dir-status-files): Pass the bzr root
13098 relative directory to vc-bzr-after-dir-status.
13100 2009-12-28 Tassilo Horn <tassilo@member.fsf.org>
13102 * font-lock.el (font-lock-refresh-defaults): New function, which
13103 can be used to let font-lock react to external changes in
13104 variables like font-lock-defaults and keywords.
13105 See http://thread.gmane.org/gmane.emacs.devel/118777/focus=118802
13107 2009-12-28 Dan Nicolaescu <dann@ics.uci.edu>
13109 * vc-rcs.el (vc-rcs-register): Fix registering a specific version.
13111 * vc-bzr.el (vc-bzr-log-view-mode): Fix short log regexp.
13113 2009-12-28 Juanma Barranquero <lekktu@gmail.com>
13115 Supersede color.diff settings in git log (bug#5211).
13117 * vc-git.el (vc-git-print-log): Pass "--no-color" to log to avoid
13118 escape chars in its output when the user has color.diff set to `always'.
13119 This fix works on git 1.4.2 and newer (released on 2006-08-13).
13121 2009-12-26 Kevin Ryde <user42@zip.com.au>
13123 * info-look.el (sh-mode): Look for coreutils new "Concept Index"
13124 node. Keep previous "Index" name to work with past coreutils too.
13126 * man.el (man): Revise docstring a bit to show -a and -l as
13127 examples. Add -k description since support for it has otherwise
13128 been a secret. (Further to bug#3717.)
13129 (Man-bgproc-sentinel): When "-k foo" produces no output show error
13130 "no matches" rather than "Can't find manpage", as the latter reads
13131 like -k was interpreted as a page name, which is not so. (Bug#5431)
13133 2009-12-26 Michael Albinus <michael.albinus@gmx.de>
13135 * net/tramp.el (tramp-handle-insert-directory): Quote "'" in the
13136 switches. Check also for //SUBDIRED// line.
13138 2009-12-25 Kenichi Handa <handa@m17n.org>
13140 * language/indian.el (devanagari-composable-pattern): Fix to
13141 handle ZWNJ and ZWJ. Use it in composition-function-table for
13143 (malayalam-composable-pattern): Fix previous change.
13145 2009-12-23 Vinicius Jose Latorre <viniciusjl@ig.com.br>
13147 * ps-print.el (ps-face-attributes): It was not returning the
13148 attribute face for faces specified as string. Reported by harven
13149 <harven@free.fr>. (Bug#5254)
13150 (ps-print-version): New version 7.3.5.
13152 2009-12-18 Ulf Jasper <ulf.jasper@web.de>
13154 * calendar/icalendar.el (icalendar--convert-tz-offset):
13155 Fix timezone names.
13156 (icalendar--convert-tz-offset): Fix the "last-day-problem".
13157 (icalendar--add-diary-entry): Remove the trailing blank that
13158 diary-make-entry inserts.
13160 2009-12-17 Michael Albinus <michael.albinus@gmx.de>
13162 Make `file-expand-wildcards' work for remote files.
13164 * files.el (file-expand-wildcards): In case of remote files, check
13165 only local file name part for wildcards. Provide feature 'files
13166 and subfeature 'remote-wildcards. (Bug#5198)
13168 * net/tramp.el (tramp-handle-file-remote-p): Expand file name only
13169 if there is already an established connection.
13170 (tramp-advice-file-expand-wildcards): Remove it.
13172 * net/tramp-compat.el (top): Autoload `tramp-handle-file-remote-p'.
13173 (tramp-advice-file-expand-wildcards): Move from tramp.el.
13174 Activate advice for older GNU Emacs versions. (Bug#5237)
13176 2009-12-17 Juanma Barranquero <lekktu@gmail.com>
13178 Some doc fixes (more needed).
13180 * find-cmd.el (find-constituents): Reflow docstring.
13181 (find-cmd, find-prune, find-command): Fix typos in docstrings.
13182 (find-generic): Doc fix.
13184 2009-12-17 Juri Linkov <juri@jurta.org>
13186 Fix regression from 23.1 to allow multiple modes in Local Variables.
13188 * files.el (hack-local-variables-filter): While ignoring duplicates,
13189 don't take `mode' into account.
13190 (hack-local-variables-filter, hack-dir-local-variables):
13191 Don't remove duplicate `mode' from local-variables-alist (like `eval').
13193 2009-12-17 Juri Linkov <juri@jurta.org>
13195 Make `dired-diff' safer. (Bug#5225)
13197 * dired-aux.el (dired-diff): Signal an error when `file' equals to
13198 `current' or when `file' is a directory of the `current' file.
13200 2009-12-17 Andreas Schwab <schwab@linux-m68k.org>
13202 * emacs-lisp/autoload.el (batch-update-autoloads): Only exclude
13203 unconditionally preloaded files.
13205 2009-12-16 Juri Linkov <juri@jurta.org>
13207 Revert to old 23.1 logic of using the file at the mark as default.
13208 * dired-aux.el (dired-diff): Use the file at the mark as default
13209 if it's not the same as the current file, and the target dir is
13210 the current dir or the mark is active. Add the current file
13211 as the arg of `dired-dwim-target-defaults'. Use the default file
13212 in the prompt. (Bug#5225)
13214 2009-12-15 Michael Albinus <michael.albinus@gmx.de>
13216 * net/tramp.el (tramp-echo-mark-marker-length): New defconst.
13217 (tramp-echo-mark, tramp-echoed-echo-mark-regexp): Use it.
13218 (tramp-check-for-regexp): Check also, when an echoing shell stops
13219 to echo sent commands.
13221 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
13223 * Makefile.in: Revert last change (Bug#5191).
13225 2009-12-14 Dan Nicolaescu <dann@ics.uci.edu>
13227 * vc-hg.el (vc-hg-print-log): Fix argument order.
13228 (vc-hg-working-revision): Make sure the command is executed in a
13229 known environment so that we can parse the output. (Bug#4417)
13231 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
13233 * progmodes/python.el (python-symbol-completions): Remove text
13234 properties from symbol string before calling python-send-receive.
13236 2009-12-14 Nick Roberts <nickrob@snap.net.nz>
13238 * progmodes/gdb-mi.el (gdb-frame-handler): Only set gud-lat-frame
13239 when there are values for both file and line. (Bug#5060)
13241 2009-12-14 Juri Linkov <juri@jurta.org>
13243 * ediff-ptch.el (ediff-context-diff-label-regexp): Don't match
13244 whitespace after the file name of the first line of unified format,
13245 because git-diff doesn't output whitespace and file modification time
13246 after the file name.
13248 2009-12-14 David Kastrup <dak@gnu.org>
13250 * info.el (Info-hide-cookies-node): Before hiding a cookie,
13251 check if it already has the `display' property added by
13252 `Info-display-images-node', and not put the `invisible' property
13255 2009-12-13 Glenn Morris <rgm@gnu.org>
13257 * mail/emacsbug.el (message-sort-headers): Define for compiler.
13258 (report-emacs-bug): In message-mode, sort manually before storing
13259 original report text. (Bug#5178)
13260 Remove superfluous save-excursion.
13262 2009-12-12 Michael Albinus <michael.albinus@gmx.de>
13264 * net/dbus.el (dbus-property-handler): Filter lambda forms out
13265 when responding to "GetAll" properties.
13267 2009-12-12 Chong Yidong <cyd@stupidchicken.com>
13269 * simple.el (compose-mail): Remove mail-setup-with-from from
13270 customization checks.
13272 2009-12-12 Eli Zaretskii <eliz@gnu.org>
13274 * arc-mode.el (archive-rar-summarize): Support Attribute fields in
13275 RAR archives created on Unix systems.
13277 2009-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
13279 * minibuffer.el (minibuffer-local-must-match-filename-map): Re-instate
13280 the varalias that was accidentally removed by the 2009-11-19 change
13283 2009-12-12 Kenichi Handa <handa@m17n.org>
13285 * language/indian.el (indian-compose-regexp): New function.
13286 (malayalam-composable-pattern): Fix the pattern.
13287 (composition-function-table): Set malayalam-composable-pattern for
13288 Malayalam characters.
13290 2009-12-11 Chong Yidong <cyd@stupidchicken.com>
13292 * progmodes/bug-reference.el (bug-reference-map): Bind mouse-2
13293 rather than down-mouse-1, based on follow-link conventions.
13295 * makefile.w32-in: Ensure that Lisp files in CEDET subdirectories
13298 2009-12-11 Michael McNamara <mac@mail.brushroad.com>
13300 * progmodes/verilog-mode.el (verilog-vmm-begin-re, verilog-vmm-end-re)
13301 (verilog-vmm-statement-re, verilog-ovm-statement-re)
13302 (verilog-defun-level-not-generate-re, verilog-calculate-indent)
13303 (verilog-leap-to-head, verilog-backward-token):
13304 Fix indenting VMM macros. Reported by Jonathan Ashbrook.
13306 2009-12-11 Wilson Snyder <wsnyder@wsnyder.org>
13308 * progmodes/verilog-mode.el (verilog-auto-lineup)
13309 (verilog-nameable-item-re): Cleanup user-visible spelling and
13310 documentation errors. One reported by Gary Delp.
13311 (verilog-submit-bug-report): Mention bug tracking and CC co-author.
13312 (verilog-read-decls): Fix AUTOWIRE with types declared in a
13313 package, bug195. Reported by Pierre-David Pfister.
13315 2009-12-11 Glenn Morris <rgm@gnu.org>
13317 * progmodes/cc-engine.el (safe-pos-list): Define for compiler.
13319 * mail/emacsbug.el: No longer require sendmail.
13320 Replace sendmail's `mail-text' by `rfc822-goto-eoh'. (Bug#5174)
13321 (report-emacs-bug-orig-text): Doc fix.
13322 (report-emacs-bug-send-command, report-emacs-bug-send-hook):
13323 New local variables, to adapt to different mail-user-agents.
13324 (report-emacs-bug): Fix test for a gnu.org address.
13325 Use overlays for emphasis, since font-lock defeats 'face property.
13326 Pretest bugs also end up at the newsgroup these days.
13327 Stop message-mode stripping text properties.
13328 Set and use the new buffer-local variables.
13329 (report-emacs-bug-hook): Add doc-string.
13330 Remove some unnecessary save-excursions and simplify.
13331 Use the appropriate hook and send-command.
13333 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Standardize the
13334 capitalization of some menu entries.
13336 2009-12-10 Vinicius Jose Latorre <viniciusjl@ig.com.br>
13338 * whitespace.el (whitespace-display-char-on):
13339 Ensure `buffer-display-table' is unique when two or more windows are
13340 visible. Reported by Martin Pohlack <mp26@os.inf.tu-dresden.de>.
13343 2009-12-10 Eli Zaretskii <eliz@gnu.org>
13345 * arc-mode.el (archive-rar-summarize): Allow between 6 and 7
13346 characters in the Attribute field.
13348 2009-12-10 Dan Nicolaescu <dann@ics.uci.edu>
13350 * vc-svn.el (vc-svn-after-dir-status): Fix regexp. (Bug#4741)
13352 2009-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
13354 Let loaddefs.el adjust to changes in autoload-excludes (bug#5162).
13355 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
13356 Disregard autoload-excludes.
13357 (update-directory-autoloads): Obey autoload-excludes here instead.
13358 But don't store its contents in no-autoloads and remove entries that
13359 refer to excludes files.
13361 2009-12-10 Glenn Morris <rgm@gnu.org>
13363 * mail/feedmail.el (top-level): Move require 'mail-utils to start.
13364 (expand-mail-aliases): Define for compiler.
13366 * vc-annotate.el (log-view-vc-backend, log-view-vc-fileset):
13367 Define for compiler.
13369 * mail/emacsbug.el (report-emacs-bug): Use whichever send command is
13370 appropriate for the mail-user-agent in use.
13372 2009-12-09 Michael Albinus <michael.albinus@gmx.de>
13374 * net/tramp.el (tramp-handle-insert-directory): Suppress error messages.
13376 2009-12-09 Dan Nicolaescu <dann@ics.uci.edu>
13378 Fix short log parsing and fontification.
13379 * vc-bzr.el (vc-bzr-log-view-mode): Match dot in revision number.
13380 Fix fontification for the [merge] label.
13382 2009-12-09 Vivek Dasmohapatra <vivek@etla.org>
13384 Drop some properties to avoid surprises (bug#5002).
13385 * htmlfontify.el (hfy-ignored-properties): New defcustom.
13386 (hfy-fontify-buffer): Use it.
13388 2009-12-09 Stefan Monnier <monnier@iro.umontreal.ca>
13391 * ffap.el (ffap-symbol-value): Replace ffap-soft-value.
13392 Adjust all callers.
13393 (ffap-locate-file): Remove unused arg `dir-ok' and make other
13394 args compulsory. Adjust callers.
13395 (ffap-gopher-at-point): Remove unused var `name'.
13397 Get rid of the ELCFILES abomination.
13398 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
13399 (compile-elcfiles): New phony target.
13400 (compile-main): Compute ELCFILES dynamically.
13401 (compile-clean): New target to remove left-over elc files.
13402 (compile, all): Use it.
13404 2009-12-09 Kenichi Handa <handa@etlken>
13406 * international/mule-diag.el: Require help-mode instead of help-fns.
13408 2009-12-09 Kenichi Handa <handa@m17n.org>
13410 * international/mule-cmds.el (ucs-names): Supply sufficiently
13411 fine ranges instead of pre-calculating accurate ranges.
13412 Iterate with bigger gc-cons-threshold.
13414 2009-12-08 Dan Nicolaescu <dann@ics.uci.edu>
13416 Add support for stashing a snapshot of the current tree.
13417 * vc-git.el (vc-git-stash-snapshot): New function.
13418 (vc-git-stash-map, vc-git-extra-menu-map): Add a mapping for it.
13420 2009-12-08 Jose E. Marchesi <jemarch@gnu.org>
13422 * play/gomoku.el (gomoku-mode-map): Remap `move-(beginning|end)-of-line'
13423 instead of `(beginning|end)-of-line'.
13425 2009-12-08 Glenn Morris <rgm@gnu.org>
13427 * vc-mtn.el (vc-mtn-print-log): Fix typo in previous.
13429 * Makefile.in (ELCFILES): Regenerate.
13431 2009-12-07 Juri Linkov <juri@jurta.org>
13433 Don't lazy-highlight the comint output in history Isearch mode.
13435 * comint.el (comint-history-isearch-search): Instead of
13436 `comint-line-beginning-position', use `comint-after-pmark-p'
13437 to check if point if before the process mark, and go to
13438 `process-mark' in this case.
13440 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
13442 * textmodes/tex-mode.el (latex-complete)
13443 (latex-indent-or-complete): Remove.
13444 (latex-mode): Set completion-at-point-functions instead.
13446 Provide a standard completion command and hook it into TAB.
13447 * minibuffer.el (completion-at-point-functions): New var.
13448 (completion-at-point): New command.
13449 * indent.el (indent-for-tab-command): Handle the `complete' behavior.
13450 * progmodes/python.el (python-mode-map): Use completion-at-point.
13451 (python-completion-at-point): Rename from python-partial-symbol and
13452 adjust for use in completion-at-point-functions.
13453 (python-mode): Setup completion-at-point for Python completion.
13454 * emacs-lisp/lisp.el (lisp-completion-at-point): New function
13455 extracted from lisp-complete-symbol.
13456 (lisp-complete-symbol): Use it.
13457 * emacs-lisp/lisp-mode.el (emacs-lisp-mode): Use define-derived-mode,
13458 setup completion-at-point for Elisp completion.
13459 (emacs-lisp-mode-map, lisp-interaction-mode-map):
13460 Use completion-at-point.
13461 * ielm.el (ielm-map): Use completion-at-point.
13462 (inferior-emacs-lisp-mode): Setup completion-at-point-functions.
13463 * progmodes/sym-comp.el: Move to...
13464 * obsolete/sym-comp.el: Move from progmodes.
13466 2009-12-07 Eli Zaretskii <eliz@gnu.org>
13468 Prevent save-buffer in Rmail buffers from using the coding-system
13469 of the current message, and from clobbering the encoding mnemonics
13470 in the mode line (Bug#4623).
13472 * mail/rmail.el (rmail-swap-buffers): Swap encoding and modified
13474 (rmail-message-encoding): New variable.
13475 (rmail-write-region-annotate): Record the encoding of the current
13476 message in rmail-message-encoding.
13477 (rmail-after-save-hook): New function, restores the encoding of
13478 the current message after the message collection is saved.
13480 2009-12-07 Juri Linkov <juri@jurta.org>
13482 * progmodes/grep.el (grep-read-files): Use `completing-read'
13483 instead of `read-string'. Set its `collection' arg to
13484 `read-file-name-internal'. (Bug#4301)
13486 2009-12-07 Juri Linkov <juri@jurta.org>
13488 Correctly restore original Isearch point. (Bug#4994)
13490 * isearch.el (isearch-mode): Move `isearch-push-state' after
13491 `(run-hooks 'isearch-mode-hook)'.
13492 (isearch-cancel): When `isearch-push-state-function' is defined,
13493 let-bind `isearch-cmds' to the first state (the last element of
13494 `isearch-cmds') and call `isearch-top-state' (it calls pop-state
13495 function and restores the original point). Otherwise, move point
13496 to `isearch-opoint'.
13498 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
13500 * international/mule-cmds.el (ucs-names): Weed out at compile-time the
13501 chars that don't have names, so the table can be built much faster at
13504 2009-12-07 Chong Yidong <cyd@stupidchicken.com>
13506 * vc-bzr.el (vc-bzr-annotate-command): More elegant form for last
13507 change. Suggested by David Kastrup.
13509 * simple.el (compose-mail): Check for incompatibilities and warn.
13510 (compose-mail-user-agent-warnings): New option.
13512 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
13514 Support showing a single log entry from vc-annotate.
13515 * vc.el (print-log): Add a new argument: START-REVISION.
13516 (vc-print-log-internal): Add a new optional argument and
13517 pass it to the backend.
13518 (vc-print-log, vc-print-root-log): Adjust callers.
13519 * vc-annotate.el (vc-annotate-show-log-revision-at-line): If a
13520 buffer already displays the requested log entry, use it.
13521 Otherwise display only the log entry in question.
13522 * vc-svn.el (vc-svn-print-log):
13523 * vc-mtn.el (vc-mtn-print-log):
13524 * vc-hg.el (vc-hg-state):
13525 * vc-git.el (vc-git-print-log): Add support for new argument START-REVISION.
13526 (vc-git-show-log-entry): Return t on success.
13527 * vc-bzr.el (vc-bzr-print-log): Add support new argument START-REVISION.
13528 (vc-bzr-show-log-entry): Return t on success.
13529 * vc-rcs.el (vc-rcs-print-log):
13530 * vc-sccs.el (vc-sccs-print-log):
13531 * vc-cvs.el (vc-cvs-print-log): Add new argument, ignore it.
13533 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
13535 * ediff-mult.el (ediff-setup-meta-map, ediff-prepare-meta-buffer):
13536 Add menus to the meta mode. (Bug#5043)
13538 2009-12-07 Michael Kifer <kifer@cs.stonybrook.edu>
13540 * ediff-init.el (ediff-event-key): Use event-to-character instead of
13543 * ediff.el (ediff-buffers-internal): Add unwind-protect.
13545 2009-12-07 Michael Albinus <michael.albinus@gmx.de>
13547 Handle prompt rules of ksh in OpenBSD 4.5. Reported by Raphaël
13548 Berbain <raphael.berbain@gmail.com>.
13550 * net/tramp.el (tramp-end-of-output): Move up. Use `#' and `$'
13552 (tramp-initial-end-of-output): New defconst.
13553 (tramp-methods, tramp-find-shell)
13554 (tramp-open-connection-setup-interactive-shell)
13555 (tramp-maybe-open-connection): Use it.
13556 (tramp-shell-prompt-pattern, tramp-wait-for-output):
13557 Handle existence of `#' and `$'.
13559 * net/tramp-fish.el (tramp-fish-maybe-open-connection):
13560 Use `tramp-initial-end-of-output'.
13562 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
13564 Get the background mode from the terminal for xterm, and set
13566 * term/xterm.el (xterm-set-background-mode): New function.
13567 (terminal-init-xterm): Use it in case xterm supports background
13568 color queries. Recompute faces after getting the background
13571 2009-12-07 Ulrich Mueller <ulm@gentoo.org>
13573 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Put the version
13574 number comment back on its own line, for easier parsing.
13576 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
13578 Make it work for non-file buffers (bug#5102).
13579 * doc-view.el (doc-view-current-cache-dir):
13580 Use doc-view-buffer-file-name rather than buffer-file-name.
13581 (doc-view-mode): Use buffer-name when buffer-file-name is nil.
13583 2009-12-06 Óscar Fuentes <ofv@wanadoo.es>
13585 * vc-bzr.el (vc-bzr-annotate-command): Handle the case where the
13586 author field is too short.
13588 2009-12-06 Dan Nicolaescu <dann@ics.uci.edu>
13590 * vc-git.el (vc-git-print-log): Handle a limit argument.
13591 Display the short log in graph form and with labels.
13592 (vc-git-log-view-mode): Handle labels.
13594 Make vc-revert change VC state from 'added to 'unregistered.
13595 * vc-git.el (vc-git-revert): Call git reset first.
13597 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
13599 * net/newst-backend.el, net/newst-plainview.el:
13600 * net/newst-reader.el, net/newst-ticker.el:
13601 * net/newst-treeview.el, net/newsticker.el:
13602 Require/provide newst-... (instead of newsticker-...). (Bug#5096)
13604 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
13606 * log-view.el (log-view-mode-map): Bind "=" to log-view-diff too.
13608 * vc-bzr.el (vc-bzr-annotate-command): Show author in annotation.
13609 Handle empty author field (Bug#4144). Suggested by Óscar Fuentes.
13610 (vc-bzr-annotate-time, vc-bzr-annotate-extract-revision-at-line):
13611 Update annotation regexp.
13613 * simple.el (beginning-of-visual-line): Constrain to field
13614 boundaries (Bug#5106).
13616 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
13618 * xml.el (xml-substitute-numeric-entities):
13619 Move newsticker--decode-numeric-entities in newst-backend.el to
13620 xml-substitute-numeric-entities in xml.el. (Bug#5008)
13621 * net/newst-backend.el (newsticker--parse-generic-feed)
13622 (newsticker--parse-generic-items)
13623 (newsticker--decode-numeric-entities):
13624 Move newsticker--decode-numeric-entities in newst-backend.el to
13625 xml-substitute-numeric-entities in xml.el. (Bug#5008)
13627 2009-12-06 Daniel Colascione <dan.colascione@gmail.com>
13629 * progmodes/js.el (js--js-not): Add null to the list of values.
13631 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
13633 * ansi-color.el (ansi-color-for-comint-mode): Add :version keyword.
13635 2009-12-06 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
13637 * textmodes/bibtex.el (bibtex-enclosing-field): Exclude entry
13638 delimiter if it is at the end of the current line.
13639 (bibtex-generate-url-list): Fix docstring.
13641 2009-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
13643 * minibuffer.el (minibuffer-complete-and-exit): Don't replace the
13644 minibuffer's content with itself.
13645 Fold the confirm-after-completion case into the `confirm' case.
13646 (completion-pcm-word-delimiters): Add : and / to the delimiters.
13648 2009-12-06 Kevin Ryde <user42@zip.com.au>
13650 * ffap.el (ffap-rfc-path): Make this a defcustom since
13651 `ffap-rfc-directories' is also a defcustom. (Bug#4514.)
13653 * info-look.el: Add setup for apropos-mode to use emacs-lisp-mode
13654 manuals, similar to existing setup for help-mode. (Bug#3913.)
13656 2009-12-05 Juri Linkov <juri@jurta.org>
13658 Save and restore dired buffer's point positions too. (Bug#4880)
13660 * dired.el (dired-save-positions): Return in the first element
13661 buffer's position in format (BUFFER DIRED-FILENAME BUFFER-POINT).
13663 (dired-restore-positions): First restore buffer's position.
13664 While restoring window's positions, check if window still displays
13665 the original buffer.
13667 2009-12-05 Chong Yidong <cyd@stupidchicken.com>
13669 * bindings.el (complete-symbol): Call semantic-ia-complete-symbol
13672 * shell.el (shell): Require ansi-color (Bug#5113).
13674 * ansi-color.el (ansi-color-for-comint-mode): Default to t.
13676 * hl-line.el (global-hl-line-highlight): Minor doc fix (Bug#4925).
13678 2009-12-05 Alan Mackenzie <acm@muc.de>
13680 * progmodes/cc-mode.el (c-before-hack-hook)
13681 (c-postprocess-file-styles): Revert change 2009-07-18T21:03:43Z!acm@muc.de to permit
13682 `c-file-style' to work again. This reversion restores the current
13683 software to its state in Emacs 23.1. (Bug#4146)
13685 2009-12-05 Kevin Ryde <user42@zip.com.au>
13687 * textmodes/sgml-mode.el (sgml-lexical-context):
13688 Recognise comment-start-skip to comment-end-skip as comment (Bug#4781).
13690 2009-12-05 Juri Linkov <juri@jurta.org>
13692 * info.el (Info-find-node-2): Set `Info-current-subfile' to nil
13693 for virtual nodes. (Bug#4147)
13694 (Info-find-node-2): Set `Info-current-node-virtual' to nil
13695 when moving from a virtual node.
13696 (Info-mode-menu): Add `Info-virtual-index' to the menu.
13697 (Info-mode): Add `Info-virtual-index' to the docstring.
13699 2009-12-05 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
13701 * textmodes/bibtex.el (bibtex-map-entries): Use marker to keep
13702 track of the buffer position of the end of a BibTeX entry as this
13703 position may change during reformatting.
13704 (bibtex-format-entry): Remove whitespace before processing
13705 numerical fields so that we recognize the latter properly.
13706 (bibtex-reformat): Do not use push which changes the global value
13707 of bibtex-entry-format.
13708 (bibtex-field-braces-alist, bibtex-field-strings-alist)
13709 (bibtex-field-re-init): Replace only space characters by regexp
13711 (bibtex-generate-url-list, bibtex-cite-matcher-alist): Fix docstring.
13712 (bibtex-initialize): Also update bibtex-strings.
13713 (bibtex-kill-field): Preserve white space at end of entry.
13714 (bibtex-kill-entry, bibtex-yank-pop, bibtex-insert-kill):
13715 Update bibtex-reference-keys.
13717 2009-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
13719 * minibuffer.el (completion-pcm--merge-try): Also consider placing
13720 point after a star, if that's the only place where modifications can
13723 2009-12-05 Dan Nicolaescu <dann@ics.uci.edu>
13725 * vc-dir.el (vc-dir): Use the correct markup for showing keymaps
13728 2009-12-04 Juri Linkov <juri@jurta.org>
13730 * proced.el (proced): Call `(proced-update t)' to update process
13731 information instead of only running proced-post-display-hook.
13732 (proced-send-signal): Add a leading space to the buffer name
13733 " *Marked Processes*" to make this buffer ephemeral.
13735 2009-12-04 Juri Linkov <juri@jurta.org>
13737 * dired.el (dired-auto-revert-buffer): New defcustom.
13738 (dired-internal-noselect): Use it.
13740 2009-12-04 Juri Linkov <juri@jurta.org>
13742 Change roles of modes and functions in image-mode.el (Bug#5062).
13744 * image-mode.el: Replace `image-mode-maybe' with `image-mode'
13745 in `auto-mode-alist'.
13746 (image-mode-previous-major-mode): New variable.
13747 (image-minor-mode-map): Rename from `image-mode-text-map'.
13748 (image-mode): Move graceful error-handling code from
13749 `image-minor-mode' to here. On errors call `image-mode-as-text'.
13750 (image-minor-mode): Remove all image-handling code.
13751 Replace `image-mode-text-map' with `image-minor-mode-map'.
13752 Check for `image-type' in mode-line format string.
13753 (image-mode-maybe): Make obsolete with an alias to `image-mode'.
13754 (image-mode-as-text): New function with most code from
13755 `image-mode-maybe'.
13756 (image-toggle-display-text): Move code that removes image
13757 properties from `image-toggle-display' to here.
13758 (image-toggle-display-image): New function with code that adds
13759 image properties copied from `image-toggle-display'.
13760 (image-toggle-display): Remove most code with leaving only code
13761 that toggles between `image-mode-as-text' and `image-mode'.
13763 2009-12-04 Ulf Jasper <ulf.jasper@web.de>
13765 * net/newst-treeview.el
13766 (newsticker--treeview-list-highlight-start): Restored call to
13767 save-excursion: Selected item was stuck.
13768 (newsticker--treeview-list-select): New.
13769 (newsticker--treeview-item-show-text)
13770 (newsticker--treeview-item-show)
13771 (newsticker--treeview-item-update): Use new
13772 newsticker-treeview-item-mode.
13773 (newsticker-treeview-update): Keep current item.
13774 (newsticker-treeview-next-new-or-immortal-item): Doc change.
13775 (newsticker--treeview-first-feed): Doc change.
13776 (newsticker-treeview-list-menu)
13777 (newsticker-treeview-item-menu): Add menu entries.
13778 (newsticker-treeview-item-mode): New.
13780 * net/newst-backend.el (newsticker-customize): Delete other
13783 2009-12-04 Sam Steingold <sds@gnu.org>
13785 * log-view.el (log-view-mode-map): "q" calls quit-window,
13786 like in all the other non-self-insert buffers.
13788 2009-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
13791 * term.el (term-send-raw, term-send-raw-meta): Use read-key-sequence's
13792 key decoding rather than do it manually via last-input-event +
13794 (term-exec): Use delete-and-extract-region.
13795 (term-handle-ansi-terminal-messages): Remove unused var `end'.
13796 (term-process-pager): Remove unused var `i'.
13797 (term-dynamic-simple-complete): Make obsolete.
13798 (serial-update-config-menu): Remove unused vars `y' and `str'.
13799 (term-update-mode-line): Remove unused var `temp'.
13801 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
13803 Limit the number of log entries displayed by default.
13804 * vc.el (vc-print-log-internal): Fix check for limit-unsupported.
13805 (vc-print-log, vc-print-root-log): Use vc-log-show-limit when not
13806 using a prefix argument.
13808 2009-12-03 Glenn Morris <rgm@gnu.org>
13810 * progmodes/idlwave.el (class): Restore still useful declaration.
13812 2009-12-03 Alan Mackenzie <acm@muc.de>
13814 Enhance `c-parse-state' to run efficiently in "brace deserts".
13816 * progmodes/cc-mode.el (c-basic-common-init):
13817 Call c-state-cache-init.
13818 (c-neutralize-syntax-in-and-mark-CPP): Rename from
13819 c-extend-and-neutralize-syntax-in-CPP. Mark each CPP construct by
13820 placing `category' properties value 'c-cpp-delimiter at its boundaries.
13822 * progmodes/cc-langs.el (c-before-font-lock-function):
13823 c-extend-and-neutralize-syntax-in-CPP has been renamed
13824 c-neutralize-syntax-in-and-mark-CPP.
13826 * progmodes/cc-fonts.el (c-cpp-matchers): Mark template brackets
13827 with `category' properties now, not `syntax-table' ones.
13829 * progmodes/cc-engine.el (c-syntactic-end-of-macro): A new
13830 enhanced (but slower) version of c-end-of-macro that won't land
13831 inside a literal or on another awkward character.
13832 (c-state-cache-too-far, c-state-cache-start)
13833 (c-state-nonlit-pos-interval, c-state-nonlit-pos-cache)
13834 (c-state-nonlit-pos-cache-limit, c-state-point-min)
13835 (c-state-point-min-lit-type, c-state-point-min-lit-start)
13836 (c-state-min-scan-pos, c-state-brace-pair-desert)
13837 (c-state-old-cpp-beg, c-state-old-cpp-end): New constants and
13838 buffer local variables.
13839 (c-state-literal-at, c-state-lit-beg)
13840 (c-state-cache-non-literal-place, c-state-get-min-scan-pos)
13841 (c-state-mark-point-min-literal, c-state-cache-top-lparen)
13842 (c-state-cache-top-paren, c-state-cache-after-top-paren)
13843 (c-get-cache-scan-pos, c-get-fallback-scan-pos)
13844 (c-state-balance-parens-backwards, c-parse-state-get-strategy)
13845 (c-renarrow-state-cache)
13846 (c-append-lower-brace-pair-to-state-cache)
13847 (c-state-push-any-brace-pair, c-append-to-state-cache)
13848 (c-remove-stale-state-cache)
13849 (c-remove-stale-state-cache-backwards, c-state-cache-init)
13850 (c-invalidate-state-cache-1, c-parse-state-1)
13851 (c-invalidate-state-cache): New defuns/defmacros/defsubsts.
13852 (c-parse-state): Enhance and refactor.
13853 (c-debug-parse-state): Amend to deal with all the new variables.
13855 * progmodes/cc-defs.el (c-<-as-paren-syntax, c-mark-<-as-paren)
13856 (c->-as-paren-syntax, c-mark->-as-paren, c-unmark-<->-as-paren):
13857 modify to use category text properties rather than syntax-table ones.
13858 (c-suppress-<->-as-parens, c-restore-<->-as-parens): New defsubsts
13859 to switch off/on the syntactic paren property of C++ template
13860 delimiters using the category property.
13861 (c-with-<->-as-parens-suppressed): Macro to invoke code with
13862 template delims suppressed.
13863 (c-cpp-delimiter, c-set-cpp-delimiters, c-clear-cpp-delimiters):
13864 New constant/macros which apply category properties to the start
13865 and end of preprocessor constructs.
13866 (c-comment-out-cpps, c-uncomment-out-cpps): Defsubsts which
13867 "comment out" the syntactic value of characters in preprocessor
13869 (c-with-cpps-commented-out)
13870 (c-with-all-but-one-cpps-commented-out): Macros to invoke code
13871 with characters in all or all but one preprocessor constructs
13874 2009-12-03 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
13876 * proced.el (proced-filter-alist): Use regexp-quote.
13878 2009-12-03 Michael Albinus <michael.albinus@gmx.de>
13881 * eshell/em-unix.el (top): Require 'esh-opt and 'pcomplete.
13882 (eshell/su, eshell/sudo): Require 'tramp. Fix problems reading
13883 arguments. Expand `default-directory'.
13885 * net/tramp.el (tramp-handle-file-remote-p): Expand FILENAME for
13886 the benefit of returning an expanded localname.
13887 (tramp-tramp-file-p): Handle the case NAME is not a string.
13889 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
13891 Add support for bzr shelve/unshelve.
13892 * vc-bzr.el (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
13893 (vc-bzr-extra-menu-map): New variables.
13894 (vc-bzr-extra-menu, vc-bzr-extra-status-menu, vc-bzr-shelve)
13895 (vc-bzr-shelve-apply, vc-bzr-shelve-list)
13896 (vc-bzr-shelve-get-at-point, vc-bzr-shelve-delete-at-point)
13897 (vc-bzr-shelve-apply-at-point, vc-bzr-shelve-menu): New functions.
13898 (vc-bzr-dir-extra-headers): Display shelves.
13900 * vc-bzr.el (vc-bzr-print-log): Deal with nil arguments better.
13902 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
13904 * textmodes/bibtex.el (bibtex-complete-internal):
13905 Use completion-in-region.
13906 (bibtex-text-in-field-bounds): Remove unused var `opoint'.
13908 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
13910 Support applying stashes. Improve UI.
13911 * vc-git.el (vc-git-dir-extra-headers): Add tooltips.
13912 (vc-git-stash-apply, vc-git-stash-pop)
13913 (vc-git-stash-apply-at-point, vc-git-stash-pop-at-point)
13914 (vc-git-stash-menu): New functions.
13915 (vc-git-stash-menu-map): New variable.
13916 (vc-git-stash-map): Add bindings to popup a menu and to apply stashes.
13918 2009-12-03 Glenn Morris <rgm@gnu.org>
13920 * vc.el (log-view-vc-backend, log-view-vc-fileset): Declare.
13921 (vc-print-log-internal): Fix previous change.
13922 (vc-revert): Correct pluralization.
13924 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
13926 * progmodes/make-mode.el (makefile-special-targets-list): No need for
13927 it to be an alist any more.
13928 (makefile-complete): Use completion-in-region.
13930 * progmodes/octave-mod.el (octave-complete-symbol):
13931 Use completion-in-region.
13934 * progmodes/idlwave.el (idlwave-comment-hook): Simplify with `or'.
13935 (idlwave-code-abbrev, idlwave-display-user-catalog-widget)
13936 (idlwave-complete-class): Don't quote lambda.
13937 (idlwave-find-symbol-syntax-table, idlwave-mode-syntax-table)
13938 (idlwave-mode-map): Move initialization into declaration.
13939 (idlwave-action-and-binding): Use backquotes.
13940 (idlwave-in-quote, idlwave-reset-sintern, idlwave-complete-in-buffer):
13942 (idlwave-is-pointer-dereference): Remove unused var `pos'.
13943 (idlwave-xml-create-rinfo-list): Remove unused var `entry'.
13944 (idlwave-convert-xml-clean-sysvar-aliases): Remove unused vars `new',
13945 `parts', and `all-parts'.
13946 (idlwave-xml-create-sysvar-alist): Remove unused var `fields'.
13947 (idlwave-convert-xml-system-routine-info): Remove unused string
13949 (idlwave-display-user-catalog-widget): Use dolist.
13950 (idlwave-scanning-lib): Declare dynamically-scoped var.
13951 (idlwave-scan-library-catalogs): Remove unused var `flags'.
13952 (completion-highlight-first-word-only): Declare to silence bytecomp.
13953 (idlwave-popup-select): Tighten scope of `resp'.
13954 (idlwave-find-struct-tag): Remove unused var `beg'.
13955 (idlwave-after-load-rinfo-hook): Declare.
13956 (idlwave-sintern-class-info): Remove unused var `taglist'.
13957 (idlwave-find-class-definition): Remove unused var `list'.
13958 (idlwave-complete-sysvar-tag-help): Remove unused var `main-base'.
13959 (idlwave-what-module-find-class): Remove unused var `classes'.
13961 2009-12-03 Juanma Barranquero <lekktu@gmail.com>
13963 * progmodes/pascal.el: Require CL when compiling (for lexical-let).
13965 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
13967 * hippie-exp.el (try-expand-dabbrev-visible): Preserve point in the
13968 buffers visited. Remove redundant current-buffer-saving.
13970 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
13972 Use completion-in-buffer and remove uses of dynamic scoping.
13973 * progmodes/pascal.el (pascal-str, pascal-all, pascal-pred)
13974 (pascal-buffer-to-use, pascal-flag): Don't declare.
13975 (pascal-func-completion, pascal-type-completion, pascal-var-completion)
13976 (pascal-get-completion-decl, pascal-keyword-completion):
13977 Add `pascal-str' argument, save-excursion,
13978 return the found completions, and don't filter with pascal-pred.
13979 (pascal-completion-cache): New var.
13980 (pascal-completion): Don't switch buffer any more (it was never
13981 necessary). Don't save-excursion any more (it's done by the called
13982 subroutines). Use a cache to avoid redundant computations.
13983 Use complete-with-action rather than pascal-completion-response and
13984 let it apply the predicate as well.
13985 (pascal-complete-word): Use completion-in-buffer when
13986 pascal-toggle-completions is nil.
13987 (pascal-show-completions): Don't bind pascal-buffer-to-use since it's
13989 (pascal-comp-defun): Don't change buffer any more.
13990 Use complete-with-action rather than pascal-completion-response and
13991 let it apply the predicate as well.
13992 (pascal-goto-defun): Change buffer before calling pascal-comp-defun
13995 2009-12-02 Kenichi Handa <handa@m17n.org>
13997 * language/indian.el: Include ZWJ and ZWNJ in the patterns to
13998 shape for all Indic scripts.
14000 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
14002 Use completion-in-buffer.
14003 * wid-edit.el (widget-field-text-end): New function.
14004 (widget-field-value-get): Use it.
14005 (widget-string-complete, widget-file-complete)
14006 (widget-color-complete): Use it and completion-in-region.
14007 (widget-complete): Don't narrow the buffer.
14009 2009-12-02 Glenn Morris <rgm@gnu.org>
14011 * mail/rmail.el (rmail-pop-to-buffer): New function. (Bug#2282)
14012 (rmail-select-summary): Use rmail-pop-to-buffer.
14013 * mail/rmailsum.el: Replace all pop-to-buffer calls with
14014 rmail-pop-to-buffer, to prevent horizontal splits.
14016 * calendar/diary-lib.el (diary-list-entries): Replace superfluous
14017 save-excursion with save-current-buffer.
14018 Widen before searching. (Bug#5093)
14019 (diary-list-sexp-entries): Remove superfluous save-excursion.
14021 2009-12-02 Michael Welsh Duggan <mwd@cert.org>
14023 * woman.el (woman-make-bufname): Handle man-pages with "." in the
14026 2009-12-02 Andreas Politz <politza@fh-trier.de> (tiny change)
14028 * ido.el (ido-file-internal): Handle filenames at point that do
14029 not have a directory part. (Bug#5049)
14031 2009-12-02 Juanma Barranquero <lekktu@gmail.com>
14033 * mpc.el (mpc-intersection, mpc-host, mpc-songs-playlist)
14034 (mpc-songs-jump-to, mpc-resume): Doc fixes.
14036 2009-12-01 Rob Riepel <riepel@networking.Stanford.EDU>
14038 * emulation/tpu-extras.el (tpu-cursor-free-mode): Emit message.
14039 (tpu-set-cursor-free, tpu-set-cursor-bound): Don't emit a message
14042 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
14044 * comint.el (comint-insert-input): Ignore clicks to the right of
14045 the field. Reported by Bob Nnamtrop <bobnnamtrop@gmail.com>.
14047 * vc.el (vc-print-log-internal): Don't wait for the process to
14048 terminate before setting up the major mode.
14050 * pcmpl-unix.el (pcomplete/cd): Complete more than one argument, just
14053 * pcomplete.el (pcomplete-std-complete): Don't try to complete past
14056 * simple.el (normal-erase-is-backspace-mode): Fix thinko in message.
14058 2009-12-01 Glenn Morris <rgm@gnu.org>
14060 * window.el (window--display-buffer-2): Fix previous changes.
14062 2009-12-01 Chong Yidong <cyd@stupidchicken.com>
14064 * mail/sendmail.el (mail-setup-hook, mail-send-hook): Doc fixes.
14066 2009-12-01 Glenn Morris <rgm@gnu.org>
14068 * Makefile.in (ELCFILES): Add mpc.elc.
14070 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
14072 * mpc.el: New file.
14074 2009-12-01 Glenn Morris <rgm@gnu.org>
14076 * window.el (window-to-use): Define for compiler.
14078 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Make message
14079 consistent with others (no final period).
14081 * mail/rmailmm.el (rmail-mime-handle): Doc fix.
14082 (rmail-mime-show): Downcase the encoding. (Bug#5070)
14084 2009-12-01 Dan Nicolaescu <dann@ics.uci.edu>
14086 Make vc-print-log buttons work.
14087 * log-view.el (log-view-mode-map): Inherit from widget-keymap.
14089 2009-11-30 Ryan C. Thompson <rct@thompsonclan.org> (tiny change)
14091 * savehist.el (savehist-autosave-interval): Allow setting to nil
14092 through customize. (Bug#5056)
14094 2009-11-30 Juanma Barranquero <lekktu@gmail.com>
14096 Fix references to jit-lock properties.
14097 * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
14098 Refer to jit-lock-defer-multiline, not jit-lock-multiline.
14099 (perl-font-lock-special-syntactic-constructs):
14100 Quote jit-lock-defer-multiline property.
14102 2009-11-30 Dan Nicolaescu <dann@ics.uci.edu>
14104 * vc-git.el (vc-git-registered): Call vc-git-root only once.
14106 2009-11-30 Juri Linkov <juri@jurta.org>
14108 * misearch.el (multi-isearch-search-fun): Always provide a non-nil
14109 value `buffer' of `multi-isearch-next-buffer-current-function'.
14110 Use `(current-buffer)' when `buffer' is nil.
14111 (multi-isearch-next-buffer-from-list): Don't fallback to
14112 `(current-buffer)' when `buffer' is nil. (Bug#4947)
14114 2009-11-30 Juri Linkov <juri@jurta.org>
14116 * misearch.el (multi-isearch-read-buffers): Move canonicalization
14117 of buffers with `get-buffer' to `multi-isearch-buffers'.
14118 (multi-isearch-buffers, multi-isearch-buffers-regexp):
14119 Canonicalize BUFFERS with `get-buffer'. Doc fix.
14120 (multi-isearch-files, multi-isearch-files-regexp): Canonicalize
14121 FILES with `expand-file-name' converting relative file names
14122 to absolute. Doc fix. (Bug#4727)
14124 2009-11-30 Juri Linkov <juri@jurta.org>
14126 * misearch.el (multi-isearch-read-buffers)
14127 (multi-isearch-read-matching-buffers): New functions.
14128 (multi-isearch-buffers, multi-isearch-buffers-regexp):
14129 Use them in the `interactive' spec. Doc fix.
14130 (multi-isearch-read-files, multi-isearch-read-matching-files):
14132 (multi-isearch-files, multi-isearch-files-regexp):
14133 Use them in the `interactive' spec. Doc fix. (Bug#4725)
14135 2009-11-30 Juri Linkov <juri@jurta.org>
14137 * doc-view.el (doc-view-continuous):
14138 Rename from `doc-view-continuous-mode'.
14139 (doc-view-menu): Move "Toggle display" to the top.
14140 Add submenu "Continuous" with radio buttons "Off"/"On"
14141 and "Save as Default".
14142 (doc-view-scroll-up-or-next-page)
14143 (doc-view-scroll-down-or-previous-page)
14144 (doc-view-next-line-or-next-page)
14145 (doc-view-previous-line-or-previous-page):
14146 Rename `doc-view-continuous-mode' to `doc-view-continuous'. (Bug#4896)
14148 2009-11-30 Juri Linkov <juri@jurta.org>
14150 * comint.el (comint-mode-map): Rebind `M-r' from
14151 `comint-previous-matching-input' to
14152 `comint-history-isearch-backward-regexp'.
14153 Unbind `M-s' to allow global key binding `M-s'.
14154 Add menu items for `comint-history-isearch-backward' and
14155 `comint-history-isearch-backward-regexp'. (Bug#3746)
14157 2009-11-30 Juri Linkov <juri@jurta.org>
14159 * replace.el (perform-replace): Let-bind recenter-last-op to nil.
14160 For def=recenter, replace `recenter' with `recenter-top-bottom'
14161 that is called with `this-command' and `last-command' let-bound
14162 to `recenter-top-bottom'. When the last `def' was not `recenter',
14163 set `recenter-last-op' to nil. (Bug#4981)
14165 2009-11-30 Stefan Monnier <monnier@iro.umontreal.ca>
14167 Minor cleanup and simplification.
14168 * filecache.el (file-cache-add-directory)
14169 (file-cache-add-directory-recursively)
14170 (file-cache-add-from-file-cache-buffer)
14171 (file-cache-delete-file-regexp, file-cache-delete-directory)
14172 (file-cache-files-matching-internal, file-cache-display): Use dolist.
14173 (file-cache-temp-minibuffer-message): Delete function.
14174 (file-cache-minibuffer-complete): Use minibuffer-message instead.
14176 * progmodes/perl-mode.el (perl-font-lock-special-syntactic-constructs):
14177 Don't signal an error when bumping into EOB in tr, s, or y.
14179 2009-11-29 Juri Linkov <juri@jurta.org>
14181 * startup.el (fancy-about-text): Fix wording of Guided Tour.
14184 * descr-text.el (describe-char-unidata-list): Use lowercase name
14185 for "Unicode name" like in other tags.
14187 2009-11-29 Juri Linkov <juri@jurta.org>
14189 * ediff-util.el (ediff-minibuffer-with-setup-hook):
14190 New compatibility macro.
14191 (ediff-read-file-name): Use it instead of `minibuffer-with-setup-hook'.
14193 2009-11-29 Juri Linkov <juri@jurta.org>
14195 Add defcustom to define the cycling order of `recenter-top-bottom'.
14198 * window.el (recenter-last-op): Doc fix.
14199 (recenter-positions): New defcustom.
14200 (recenter-top-bottom): Rewrite to use `recenter-positions'.
14201 (move-to-window-line-top-bottom): Rewrite to use `recenter-positions'.
14203 2009-11-29 Michael Albinus <michael.albinus@gmx.de>
14205 Improve integration of Tramp and ange-ftp in eshell.
14207 * eshell/em-unix.el (eshell/whoami): Make it a defun but a defalias.
14208 (eshell/su): Flatten args. Apply better args parsing. Use "cd".
14209 (eshell/sudo): Flatten args. Let-bind `default-directory'.
14211 * eshell/esh-util.el (top): Require also Tramp when compiling.
14212 (eshell-directory-files-and-attributes): Check for FTP remote
14214 (eshell-parse-ange-ls): Let-bind `ange-ftp-name-format',
14215 `ange-ftp-ftp-name-arg', `ange-ftp-ftp-name-res'.
14216 (eshell-file-attributes): Handle ".". Return `entry'.
14218 * net/ange-ftp.el (ange-ftp-parse-filename): Use `save-match-data'.
14219 (ange-ftp-directory-files-and-attributes)
14220 (ange-ftp-real-directory-files-and-attributes): New defuns.
14222 * net/tramp.el (tramp-maybe-open-connection): Open the remote
14223 shell with "exec" when possible. This prevents trailing prompts
14224 in `start-file-process'.
14226 2009-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
14228 Try and remove assumptions about point-min==1.
14229 * nxml/rng-valid.el (rng-validate-mode): Don't hardcode point-min==1.
14230 (rng-compute-mode-line-string): Show the validation percentage in
14231 terms of the narrowed text, not the widened text.
14232 (rng-do-some-validation): Don't catch internal errors when debugging.
14233 (rng-first-error): Simplify.
14234 (rng-after-change-function): Remove work around. AFAIK the bug has
14235 been fixed a while ago.
14237 * image-mode.el (image-minor-mode): Exit more gracefully when the image
14238 cannot be displayed (e.g. when doing C-x C-f some-new-file.svg RET).
14240 * man.el (Man-completion-table): Make it easier to enter "<sec> <name>".
14242 * eshell/em-prompt.el (eshell-prompt-function): Abbreviate pwd, since
14243 `cd' doesn't always do it for us (bug#5067).
14245 * pcomplete.el (pcomplete-entries): Revert change installed mistakenly
14246 on 2009-10-25 as part of some other change (bug#5067).
14248 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
14250 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
14252 (byte-compile-warnings): Use byte-compile-warning-types.
14253 (byte-compile-save-excursion): Warn about use of set-buffer right
14254 after save-excursion.
14256 * progmodes/gud.el (gud-basic-call): Don't only save the buffer but
14257 the excursion as well.
14259 2009-11-27 Michael Albinus <michael.albinus@gmx.de>
14261 * eshell/em-unix.el (eshell/su, eshell/sudo): New defuns,
14262 providing a Tramp related implementation of "su" and "sudo".
14263 (eshell-unix-initialize): Add "su" and "sudo".
14265 2009-11-27 Daiki Ueno <ueno@unixuser.org>
14267 * net/socks.el (socks-send-command): Convert binary request to
14268 unibyte before sending. This fixes mishandling of some port
14269 numbers such as 129.
14271 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
14273 * help.el (describe-bindings-internal): Remove `interactive'.
14275 * man.el (Man-completion-table): Trim a terminating "(".
14276 Remove the space between name page a section.
14277 Add the command's description on the `help-echo' property.
14278 Remove `process-connection-type' binding since it's unused by
14280 Provide completion for the "<section> <name>" format as well.
14281 (Man-default-man-entry): Remove spurious var shadowing the argument.
14283 2009-11-26 Kevin Ryde <user42@zip.com.au>
14285 * log-view.el: Add "Keywords: tools", since its other keywords
14286 aren't in finder-known-keywords, and following vc.el.
14288 * sha1.el (sha1-string-external): default-directory "/" in case
14289 otherwise non-existent. process-connection-type pipe for touch of
14290 efficiency recommended by elisp manual. (An aside in Bug#3911.)
14292 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
14294 Misc coding convention cleanups.
14295 * htmlfontify.el (hfy-init-kludge-hook): Rename from
14296 hfy-init-kludge-hooks.
14297 (hfy-etags-cmd, hfy-flatten-style, hfy-invisible-name, hfy-face-at)
14298 (hfy-fontify-buffer, hfy-prepare-index-i, hfy-subtract-maps)
14299 (hfy-save-kill-buffers, htmlfontify-copy-and-link-dir): Use dolist
14301 (hfy-slant, hfy-weight): Use tables rather than code.
14302 (hfy-box-to-border-assoc, hfy-box-to-style, hfy-decor)
14303 (hfy-face-to-style-i, hfy-fontify-buffer): Use `case'.
14304 (hfy-face-attr-for-class): Initialize `face-spec' directly.
14305 (hfy-face-to-css): Remove `nconc' with single arg.
14306 (hfy-p-to-face-lennart): Use `or'.
14307 (hfy-face-at): Hoist common code. Remove spurious quotes in `case'.
14308 (hfy-overlay-props-at, hfy-mark-tag-hrefs): Eta-reduce.
14309 (hfy-compile-stylesheet, hfy-merge-adjacent-spans)
14310 (hfy-compile-face-map, hfy-parse-tags-buffer): Use push.
14311 (hfy-force-fontification): Use run-hooks.
14313 2009-11-26 Vivek Dasmohapatra <vivek@etla.org>
14315 Various minor fixes.
14316 * htmlfontify.el (hfy-default-header): Add toggle_invis since
14317 Javascript belongs in the header, not the body.
14318 (hfy-javascript): Remove.
14319 (hfy-fontify-buffer): Don't insert it any more.
14320 (hfy-face-at): Handle (face0 face1 face2) style face properties.
14321 Fix bug in invis handling when there were no invis props in a chunk.
14323 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
14325 * vc-bzr.el (vc-bzr-annotate-command): Make operation asynchronous.
14327 2009-11-26 Dan Nicolaescu <dann@ics.uci.edu>
14329 * finder.el (finder-mode-map): Add a menu.
14331 2009-11-26 Michael McNamara <mac@mail.brushroad.com>
14333 * progmodes/verilog-mode.el (verilog-at-struct-p): Support "signed" and
14334 "unsigned" structs.
14336 (verilog-leap-to-head, verilog-backward-token): Handle "disable
14337 fork" statement better.
14339 2009-11-26 Wilson Snyder <wsnyder@wsnyder.org>
14341 * progmodes/verilog-mode.el (verilog-auto-insert-lisp)
14342 (verilog-delete-auto, verilog-delete-empty-auto-pair)
14343 (verilog-library-filenames): Fix AUTOINSERTLISP to support insert-file.
14344 Reported by Clay Douglass.
14346 (verilog-auto-inst, verilog-auto-star-safe)
14347 (verilog-delete-auto-star-implicit, verilog-read-sub-decls):
14348 Fix removing "// Interfaces" when saving .* expansions.
14349 Reported by Pierre-David Pfister.
14351 2009-11-26 Glenn Morris <rgm@gnu.org>
14353 * eshell/em-dirs.el (eshell/cd): Don't throw to a tag outside
14356 2009-11-25 Johan Bockgård <bojohan@gnu.org>
14358 * vc-annotate.el (vc-annotate-revision-previous-to-line):
14359 Really use previous revision.
14361 2009-11-25 Kevin Ryde <user42@zip.com.au>
14363 * man.el (Man-completion-table): default-directory "/" in case
14364 doesn't otherwise exist. process-environment COLUMNS=999 so as
14365 not to truncate long names. process-connection-type pipe to avoid
14366 any chance of hitting the pseudo-tty TIOCGWINSZ.
14367 (man): completion-ignore-case t for friendliness and since man
14368 itself is case-insensitive on the command line.
14369 Further to Bug#3717.
14371 * arc-mode.el: Add "Keywords: files", so the details in its
14372 commentary can be reached from finder-by-keyword.
14373 * textmodes/dns-mode.el: Add "Keywords: comm". It's only an
14374 editing mode, but it's comms related and sgml-mode.el has "comm"
14376 * textmodes/bibtex-style.el: Add "Keywords: tex".
14377 * international/isearch-x.el, international/ja-dic-cnv.el:
14378 * international/ja-dic-utl.el, international/kkc.el:
14379 Add "Keywords: i18n", so they can be reached from finder-by-keyword.
14381 2009-11-25 Juri Linkov <juri@jurta.org>
14383 * man.el (Man-completion-table): Modify regexp to include
14384 section names to completion strings. (Bug#3717)
14386 2009-11-25 Juri Linkov <juri@jurta.org>
14388 Search recursively in gzipped files. (Bug#4982)
14390 * progmodes/grep.el (grep-highlight-matches): Add new options
14391 `always' and `auto'. Doc fix.
14392 (grep-process-setup): Check `grep-highlight-matches' for
14393 `auto-detect' to determine the need to compute grep defaults.
14394 Move Windows/DOS specific --colors settings handling
14395 to `grep-compute-defaults'. Check `grep-highlight-matches'
14396 to get the value of "--color=".
14397 (grep-compute-defaults): Compute `grep-highlight-matches' when it
14398 has the value `auto-detect'. Move Windows/DOS specific settings
14399 from `grep-process-setup'.
14400 (zrgrep): New command with alias `rzgrep'.
14402 2009-11-25 Juri Linkov <juri@jurta.org>
14404 * doc-view.el (doc-view-mode): Set buffer-local `view-read-only'
14405 to nil instead of switching off view-mode. (Bug#4896)
14407 2009-11-25 Juri Linkov <juri@jurta.org>
14409 Mouse-wheel scrolling for DocView Continuous mode. (Bug#4896)
14411 * mwheel.el (mwheel-scroll-up-function)
14412 (mwheel-scroll-down-function): New defvars.
14413 (mwheel-scroll): Funcall `mwheel-scroll-up-function' instead of
14414 `scroll-up', and `mwheel-scroll-down-function' instead of
14417 * doc-view.el (doc-view-scroll-up-or-next-page)
14418 (doc-view-scroll-down-or-previous-page): Add optional ARG.
14419 Use this ARG in the call to image-scroll-up/image-scroll-down.
14420 Change `interactive' spec to "P". Goto next/previous page only
14421 when `doc-view-continuous-mode' is non-nil or ARG is nil (for the
14422 SPC/DEL case). Doc fix.
14423 (doc-view-next-line-or-next-page)
14424 (doc-view-previous-line-or-previous-page): Rename arg to ARG
14426 (doc-view-mode): Set buffer-local `mwheel-scroll-up-function' to
14427 `doc-view-scroll-up-or-next-page', and buffer-local
14428 `mwheel-scroll-down-function' to
14429 `doc-view-scroll-down-or-previous-page'.
14431 2009-11-25 Juri Linkov <juri@jurta.org>
14433 Provide additional default values (directories at other Dired
14434 windows) via M-n in the minibuffer of some Dired commands.
14436 * dired-aux.el (dired-diff, dired-compare-directories)
14437 (dired-do-create-files): Use `dired-dwim-target-defaults' to set
14438 `minibuffer-default' in `minibuffer-with-setup-hook'.
14439 (dired-dwim-target-directory): Find a window that displays Dired
14440 buffer instead of failing when the next window is not Dired.
14441 Use `get-window-with-predicate' to find for the next Dired window.
14442 (dired-dwim-target-defaults): New function.
14444 * ediff-util.el (ediff-read-file-name):
14445 Use `dired-dwim-target-defaults' to set `minibuffer-default'
14446 in `minibuffer-with-setup-hook'.
14448 2009-11-25 Juri Linkov <juri@jurta.org>
14450 Provide additional default values (file name at point or at the
14451 current Dired line) via M-n for file reading minibuffers. (Bug#5010)
14453 * minibuffer.el (read-file-name-defaults): New function.
14454 (read-file-name): Reset `minibuffer-default' to nil when
14455 it duplicates initial input `insdef'.
14456 Bind `minibuffer-default-add-function' to lambda that
14457 calls `read-file-name-defaults' in `minibuffer-selected-window'.
14458 (minibuffer-insert-file-name-at-point): New command.
14460 * files.el (file-name-at-point-functions): New defcustom.
14461 (find-file-default): Remove defvar.
14462 (find-file-read-args): Don't use `find-file-default'.
14463 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
14464 to `read-file-name'.
14465 (find-file-literally): Use `read-file-name' with
14466 `confirm-nonexistent-file-or-buffer'.
14468 * ffap.el (ffap-guess-file-name-at-point): New autoloaded function.
14470 * dired.el (dired-read-dir-and-switches):
14471 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
14472 to `read-file-name'.
14473 (dired-file-name-at-point): New function.
14474 (dired-mode): Add hook `dired-file-name-at-point' to
14475 `file-name-at-point-functions'.
14477 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
14479 Really make the *Completions* window soft-dedicated (bug#5030).
14480 * window.el (window--display-buffer-2): Add `dedicated' argument.
14481 (display-buffer): Pass it when needed so the dedicated flag is set
14482 after calling set-window-buffer, which would otherwise reset it.
14484 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
14486 * progmodes/meta-mode.el (meta-complete-symbol):
14487 * progmodes/etags.el (complete-tag):
14488 * mail/mailabbrev.el (mail-abbrev-complete-alias):
14489 Use completion-in-region.
14491 * dabbrev.el (dabbrev--minibuffer-origin): Use minibuffer-selected-window.
14492 (dabbrev-completion): Use completion-in-region.
14493 (dabbrev--abbrev-at-point): Simplify regexp.
14495 * abbrev.el (abbrev--before-point): Use word-motion functions
14496 if :regexp is not specified (bug#5031).
14498 * subr.el (string-prefix-p): New function.
14500 * man.el (Man-completion-cache): New var.
14501 (Man-completion-table): Use it.
14503 * vc.el (vc-print-log-internal): Make `limit' optional for better
14504 compatibility (e.g. with vc-annotate.el).
14506 2009-11-24 Kevin Ryde <user42@zip.com.au>
14508 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp):
14509 Build value with regexp-opt instead of explicit joining loop. (Bug#4927)
14511 * emacs-lisp/elint.el (elint-add-required-env): Better error message
14512 when .el source file not found or other error.
14514 2009-11-24 Markus Triska <markus.triska@gmx.at>
14516 * linum.el (linum-update-window): Ignore intangible (bug#4996).
14518 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
14520 Handle the [back] button properly (bug#4979).
14521 * descr-text.el (describe-text-properties): Add a `buffer' argument.
14522 Use help-setup-xref, help-buffer, and with-help-window.
14523 (describe-char): Add `buffer' argument.
14524 Pass proper command to help-setup-xref. Don't meddle with
14525 help-xref-stack-item directly.
14526 (describe-text-category): Use with-help-window and help-buffer.
14528 * emacs-lisp/shadow.el (list-load-path-shadows): Setup a major mode
14529 for the displayed buffer (bug#4887).
14531 * man.el (Man-completion-table): New function.
14534 2009-11-24 David Reitter <david.reitter@gmail.com>
14536 * vc-git.el (vc-git-registered): Use checkout directory (where
14537 .git is) rather than the file's directory and a relative path spec
14538 to work around a bug in git.
14540 2009-11-24 Michael Albinus <michael.albinus@gmx.de>
14542 Improve handling of processes on remote hosts.
14544 * eshell/esh-util.el (eshell-path-env): New defvar.
14545 (eshell-parse-colon-path): New defun.
14546 (eshell-file-attributes): Use `eshell-parse-colon-path'.
14548 * eshell/esh-ext.el (eshell-search-path):
14549 Use `eshell-parse-colon-path'.
14550 (eshell-remote-command): Remove argument HANDLER.
14551 (eshell-external-command): Check for FTP remote connection.
14553 * eshell/esh-proc.el (eshell-gather-process-output):
14554 Use `file-truename', in order to start also symlinked files.
14555 Apply `start-file-process' instead of `start-process'.
14556 Shorten `command' to the local file name part.
14558 * eshell/em-cmpl.el (eshell-complete-commands-list):
14559 Use `eshell-parse-colon-path'.
14561 * eshell/em-unix.el (eshell/du): Check for FTP remote connection.
14563 * net/tramp.el (tramp-eshell-directory-change): New defun. Add it
14564 to `eshell-directory-change-hook'.
14566 2009-11-24 Tassilo Horn <tassilo@member.fsf.org>
14568 * doc-view.el (doc-view-mode): Switch off view-mode explicitly,
14569 because it could be enabled automatically if view-read-only is non-nil.
14571 2009-11-24 Michael Kifer <kifer@cs.stonybrook.edu>
14573 * ediff-vers.el (ediff-rcs-get-output-buffer): Revert the change
14574 made on 2009-11-22.
14576 2009-11-24 Glenn Morris <rgm@gnu.org>
14578 * bookmark.el (bookmark-bmenu-hide-filenames): Remove assignment to
14579 deleted variable bookmark-bmenu-bookmark-column.
14581 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
14583 * bookmark.el (bookmark-bmenu-search): Clear echo area when exiting.
14585 2009-11-23 Ken Brown <kbrown@cornell.edu> (tiny change)
14587 * net/browse-url.el (browse-url-filename-alist): On Windows, add
14588 two slashes to the "file:" prefix.
14589 (browse-url-file-url): De-munge Cygwin filenames before passing
14590 them to Windows browser.
14591 (browse-url-default-windows-browser): Use call-process.
14593 2009-11-23 Juri Linkov <juri@jurta.org>
14595 Implement DocView Continuous mode. (Bug#4896)
14596 * doc-view.el (doc-view-continuous-mode): New defcustom.
14597 (doc-view-mode-map): Bind C-n/<down> to
14598 `doc-view-next-line-or-next-page', C-p/<up> to
14599 `doc-view-previous-line-or-previous-page'.
14600 (doc-view-next-line-or-next-page)
14601 (doc-view-previous-line-or-previous-page): New commands.
14603 2009-11-23 Juri Linkov <juri@jurta.org>
14605 Implement Isearch in comint input history. (Bug#3746)
14606 * comint.el (comint-mode): Add `comint-history-isearch-setup' to
14607 `isearch-mode-hook'.
14608 (comint-history-isearch): New defcustom.
14609 (comint-history-isearch-backward)
14610 (comint-history-isearch-backward-regexp): New commands.
14611 (comint-history-isearch-message-overlay): New buffer-local variable.
14612 (comint-history-isearch-setup, comint-history-isearch-end)
14613 (comint-goto-input, comint-history-isearch-search)
14614 (comint-history-isearch-message, comint-history-isearch-wrap)
14615 (comint-history-isearch-push-state)
14616 (comint-history-isearch-pop-state): New functions.
14618 2009-11-23 Michael Albinus <michael.albinus@gmx.de>
14620 * net/tramp.el (tramp-shell-prompt-pattern): Use \r for carriage
14622 (tramp-handle-make-symbolic-link)
14623 (tramp-handle-dired-compress-file, tramp-handle-expand-file-name):
14625 (tramp-send-command-and-check): New argument DONT-SUPPRESS-ERR.
14626 (tramp-handle-process-file): Use it.
14628 2009-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
14630 * window.el (move-to-window-line-last-op): Remove.
14631 (move-to-window-line-top-bottom): Reuse recenter-last-op instead.
14633 2009-11-23 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
14635 Make M-r mirror the new cycling behavior of C-l.
14636 * window.el (move-to-window-line-last-op): New var.
14637 (move-to-window-line-top-bottom): New command.
14638 (global-map): Bind M-r move-to-window-line-top-bottom.
14640 2009-11-23 Sven Joachim <svenjoac@gmx.de>
14642 * dired-x.el (dired-guess-shell-alist-default):
14643 Support xz format. (Bug#4953)
14645 2009-11-22 Michael Kifer <kifer@cs.stonybrook.edu>
14647 * emulation/viper-cmd.el: Use viper-last-command-char instead of
14648 last-command-char/last-command-event.
14649 (viper-prefix-arg-value): Do correct conversion of event-char for
14652 * emulation/viper-util.el, emulation/viper.el:
14653 Use viper-last-command-char instead of
14654 last-command-char/last-command-event.
14656 * ediff-init.el, ediff-mult.el, ediff-util.el:
14657 Replace last-command-char and last-command-event
14658 with (ediff-last-command-char) everywhere.
14660 * ediff-vers.el (ediff-rcs-get-output-buffer): Make sure the buffer is
14661 created in fundamental mode.
14663 * ediff.el (ediff-version): Revert the change of interactive-p to
14664 called-interactively-p.
14666 2009-11-22 Tassilo Horn <tassilo@member.fsf.org>
14668 * progmodes/subword.el (subword-mode-map): Fix subword-mode-map
14669 generation from word-movement command names.
14671 2009-11-21 Jan Djärv <jan.h.d@swipnet.se>
14673 * cus-start.el (all): Add native condition for font-use-system-font.
14675 2009-11-21 Nathaniel Flath <flat0103@gmail.com>
14677 * progmodes/cc-menus.el (cc-imenu-java-generic-expression):
14678 Correct the patch from 2009-11-18. (Bug#3910)
14680 2009-11-21 Tassilo Horn <tassilo@member.fsf.org>
14682 * progmodes/subword.el: Rename from lisp/subword.el.
14684 * subword.el: Rename to progmodes/subword.el.
14686 * Makefile.in (ELCFILES): Adapt to subword.el move.
14688 2009-11-21 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14689 Stefan Monnier <monnier@iro.umontreal.ca>
14691 * bookmark.el (bookmark-bmenu-bookmark-column): Remove var.
14692 (bookmark-bmenu-list): Save name on `bookmark-name-prop' text-prop.
14693 (bookmark-bmenu-show-filenames): Use push.
14694 (bookmark-bmenu-hide-filenames): Use local var instead of
14695 bookmark-bmenu-bookmark-column. Use pop. Don't save window-excursion.
14696 (bookmark-bmenu-bookmark): Use the new `bookmark-name-prop' text-prop.
14697 (bookmark-bmenu-execute-deletions): Don't bother adding/removing the
14698 filenames now that the bookmark names are always available.
14700 2009-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
14702 * bookmark.el (bookmark-search-prompt, bookmark-search-timer): Remove.
14703 (bookmark-search-pattern): Move and leave unbound.
14704 (bookmark-bmenu-mode-map): Change binding.
14705 (bookmark-read-search-input): Simplify.
14706 Don't use text-char-description. Don't error on non-char events.
14707 (bookmark-filtered-alist-by-regexp-only): Remove by folding into the
14708 only caller (i.e. bookmark-bmenu-filter-alist-by-regexp).
14709 (bookmark-bmenu-search): Don't check we're in a bookmark-list buffer.
14710 Use a local var for the timer.
14711 (bookmark-bmenu-cancel-search): Remove by folding into the only caller
14712 (i.e. bookmark-bmenu-search).
14714 2009-11-21 Glenn Morris <rgm@gnu.org>
14716 * mail/rmailmm.el (rmail-mime): Decode in fundamental-mode. (Bug#4993)
14718 2009-11-20 Ken Brown <kbrown@cornell.edu> (tiny change)
14720 * net/browse-url.el (browse-url-default-windows-browser):
14721 Use cygstart for cygwin.
14723 2009-11-20 Karl Fogel <karl.fogel@red-bean.com>
14725 * bookmark.el: Formatting and doc fixes only:
14726 (bookmark-search-delay): Shorten doc string to fit in 80 columns.
14727 (bookmark-bmenu-search): Wrap to fit within 80 columns.
14728 Minor grammar and punctuation fixes in doc string.
14729 (bookmark-read-search-input): Adjust to fit within 80 columns.
14731 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
14733 * progmodes/cc-cmds.el (c-forward-into-nomenclature)
14734 (c-backward-into-nomenclature): Adapt to subword renaming.
14736 * subword.el (subword-forward, subword-backward, subword-mark)
14737 (subword-kill, subword-backward-kill, subword-transpose)
14738 (subword-downcase, subword-upcase, subword-capitalize)
14739 (subword-forward-internal, subword-backward-internal):
14740 Rename from forward-subword, backward-subword, mark-subword,
14741 kill-subword, backward-kill-subword, transpose-subwords,
14742 downcase-subword, upcase-subword, capitalize-subword,
14743 forward-subword-internal, backward-subword-internal.
14745 2009-11-20 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14747 * bookmark.el (bookmark-search-delay, bookmark-search-prompt):
14749 (bookmark-search-pattern, bookmark-search-timer, bookmark-quit-flag):
14751 (bookmark-read-search-input, bookmark-filtered-alist-by-regexp-only)
14752 (bookmark-bmenu-filter-alist-by-regexp)
14753 (bookmark-bmenu-goto-bookmark, bookmark-bmenu-cancel-search): New funs.
14754 (bookmark-bmenu-search): New command.
14755 (bookmark-bmenu-mode-map): Bind it.
14757 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
14759 * progmodes/cc-cmds.el: declare-functioned forward-subword and
14760 backward-subword to quit the byte-compiler.
14762 * makefile.w32-in: Don't refer cc-subword.elc but subword.elc.
14764 * Makefile.in: Don't refer cc-subword.elc but subword.elc.
14766 * progmodes/cc-cmds.el (c-update-modeline)
14767 (c-forward-into-nomenclature, c-backward-into-nomenclature):
14768 Refer to subword.el functions instead of cc-subword.el.
14770 * progmodes/cc-mode.el (subword-mode, c-mode-base-map): Refer to
14771 subword.el functions instead of cc-subword.el.
14773 * progmodes/cc-subword.el: Rename to subword.el.
14774 * subword.el: Rename from progmodes/cc-subword.el.
14775 (subword-mode-map): Rename from c-subword-mode-map.
14776 (subword-mode): Rename from c-subword-mode.
14777 (global-subword-mode): New global minor mode.
14778 (forward-subword): Rename from c-forward-subword.
14779 (backward-subword): Rename from c-backward-subword.
14780 (mark-subword): Rename from c-mark-subword.
14781 (kill-subword): Rename from c-kill-subword.
14782 (backward-kill-subword): Rename from c-backward-kill-subword.
14783 (transpose-subwords): Rename from c-tranpose-subword.
14784 (downcase-subword): Rename from c-downcase-subword.
14785 (capitalize-subword): Rename from c-capitalize-subword.
14786 (forward-subword-internal): Rename from c-forward-subword-internal.
14787 (backward-subword-internal): Rename from c-backward-subword-internal.
14789 2009-11-20 Dan Nicolaescu <dann@ics.uci.edu>
14791 * vc.el (vc-deduce-fileset): Allow non-state changing operations
14792 from a dired buffer.
14793 (vc-dired-deduce-fileset): New function.
14794 (vc-root-diff, vc-print-root-log): Use it.
14796 * vc-annotate.el (vc-annotate-show-log-revision-at-line): Pass a
14797 nil LIMIT argument to vc-print-log-internal.
14799 2009-11-20 Glenn Morris <rgm@gnu.org>
14801 * Makefile.in (ELCFILES): Regenerate.
14803 2009-11-20 Jay Belanger <jay.p.belanger@gmail.com>
14805 * calc/calc.el (calc-set-mode-line):
14806 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
14807 (math-format-number): Rename `math-format-complement-signed' to
14808 `math-format-twos-complement'.
14810 * calc/calc-bin.el (math-format-twos-complement): Rename from
14811 math-format-complement-signed.
14812 (calc-radix): Rename `calc-complement-signed-mode' to
14813 `calc-twos-complement-mode'.
14814 (calc-octal-radix, calc-hex-radix): Add an argument for
14817 * calc/calc-embed.el (calc-embedded-mode-vars):
14818 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
14820 * calc/calc-ext.el (calc-init-extensions):
14821 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
14822 (math-format-number-fancy): Let `calc-twos-complement-mode' be nil.
14824 * calc/calc-units.el (math-build-units-table-buffer):
14825 Let `calc-twos-complement-mode' be nil.
14827 * calc/calc-menu.el (calc-modes-menu): Clean up two's complement
14830 * calc/calc-vec.el (calcFunc-vunpack):
14831 * calc/calc-aent.el (calc-do-calc-eval):
14832 * calc/calc-forms.el (math-format-date):
14833 * calc/calc-graph.el (calc-graph-plot):
14834 * calc/calc-math.el (math-use-emacs-fn):
14835 * calc/calccomp.el (math-compose-expr):
14836 Let `calc-twos-complement-mode' be nil.
14838 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
14840 * abbrev.el (abbrev-with-wrapper-hook): (re)move...
14841 * simple.el (with-wrapper-hook): ...to here. Add argument `args'.
14842 * minibuffer.el (completion-in-region-functions): New hook.
14843 (completion-in-region): New function.
14844 * emacs-lisp/lisp.el (lisp-complete-symbol):
14845 * pcomplete.el (pcomplete-std-complete): Use it.
14847 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
14849 * textmodes/tex-mode.el (latex-complete-bibtex-cache)
14850 (latex-complete-alist): New vars.
14851 (latex-string-prefix-p, latex-complete-bibtex-keys)
14852 (latex-complete-envnames, latex-complete-refkeys)
14853 (latex-complete-data): New functions.
14854 (latex-complete, latex-indent-or-complete): New commands.
14856 * window.el (display-buffer-mark-dedicated): New var.
14857 (display-buffer): Obey it.
14858 * minibuffer.el (minibuffer-completion-help): Use it.
14860 * progmodes/sym-comp.el (symbol-complete): Use completion-in-region.
14862 * filecache.el (file-cache-add-file): Use push and cons.
14863 (file-cache-delete-file-regexp): Use push.
14864 (file-cache-complete): Use completion-in-region.
14866 * simple.el (with-wrapper-hook): Fix thinko.
14868 * hfy-cmap.el (hfy-rgb-file): Use locate-file.
14869 (htmlfontify-load-rgb-file): Remove unnused var `ff'.
14870 Use with-current-buffer and string-to-number.
14871 (hfy-fallback-colour-values): Use assoc-string.
14872 * htmlfontify.el (hfy-face-to-css): Remove unused var `style'.
14873 (hfy-face-at): Remove unused var `found-face'.
14874 (hfy-compile-stylesheet): Remove unused var `css'.
14875 (hfy-fontify-buffer): Remove unused vars `in-style', `invis-button',
14877 (hfy-buffer, hfy-copy-and-fontify-file, hfy-parse-tags-buffer):
14878 Use with-current-buffer.
14879 (hfy-text-p): Use expand-file-name and fewer setq.
14881 2009-11-19 Vivek Dasmohapatra <vivek@etla.org>
14883 * htmlfontify.el, hfy-cmap.el: New files.
14885 2009-11-19 Juri Linkov <juri@jurta.org>
14887 * minibuffer.el (completions-format): New defcustom.
14888 (completion--insert-strings): Implement vertical format.
14890 * simple.el (switch-to-completions): Move point to the first
14891 completion when point was at the beginning of the buffer.
14893 2009-11-19 Juri Linkov <juri@jurta.org>
14895 * find-dired.el (find-name-arg): Remove autoload. (Bug#4387)
14897 * progmodes/grep.el (rgrep): Require `find-dired' for `find-name-arg'.
14899 2009-11-19 Chong Yidong <cyd@stupidchicken.com>
14901 * mail/sendmail.el (mail-yank-prefix): Change default to "> ".
14902 (mail-signature): Change default to t.
14903 (mail-from-style): Deprecate `system-default' value.
14904 (mail-insert-from-field): For default value of mail-from-style,
14905 default to `angles' unless `angles' needs quoting and `parens'
14907 (mail-citation-prefix-regexp): Use citation regexp from
14910 2009-11-19 Michael Albinus <michael.albinus@gmx.de>
14912 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
14913 Set variables for computing the prompt for reading password.
14915 2009-11-19 Glenn Morris <rgm@gnu.org>
14917 * dired-aux.el (dired-compress-file-suffixes): Add ".xz". (Bug#4953)
14919 * textmodes/flyspell.el (sgml-lexical-context): Declare.
14921 * net/newst-treeview.el (newsticker-treeview-treewindow-width)
14922 (newsticker-treeview-listwindow-height): Fix custom type.
14924 2009-11-19 Kenichi Handa <handa@m17n.org>
14926 * descr-text.el (describe-char-padded-string): Compose with TAB
14927 only if there's a font for CH.
14928 (describe-char): Fix the condition for detecting a trivial composition.
14930 2009-11-18 Nathaniel Flath <flat0103@gmail.com>
14932 * progmodes/cc-menus.el (cc-imenu-java-generic-expression): A new,
14933 more accurate version of the regexp. (Bug#3910)
14935 2009-11-18 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
14937 * vc-hg.el (vc-hg-diff): Fix last patch: do not change directory.
14939 2009-11-18 Juanma Barranquero <lekktu@gmail.com>
14941 * font-setting.el (font-use-system-font): Declare for byte-compiler.
14942 (font-setting-change-default-font): Fix typo in docstring.
14944 2009-11-18 Alan Mackenzie <acm@muc.de>
14946 * progmodes/cc-defs.el (c-version): Bump to 5.31.8.
14948 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
14950 * font-setting.el (font-use-system-font): Move ...
14952 * cus-start.el (all): ... to here.
14954 2009-11-17 Michael Albinus <michael.albinus@gmx.de>
14956 * net/tramp.el (tramp-advice-file-expand-wildcards): Simplify.
14957 Don't set `ad-return-value' if `ad-do-it' doesn't.
14959 * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Set file
14962 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
14964 * menu-bar.el: Put "Use system font" in Option-menu.
14965 (menu-bar-options-save): Add font-use-system-font.
14967 * loadup.el: If feature system-font-setting or font-render-setting is
14968 there, load font-setting.
14970 * Makefile.in (ELCFILES): Add font-settings.el.
14971 * font-setting.el: New file.
14973 2009-11-17 Glenn Morris <rgm@gnu.org>
14975 * vc-svn.el (vc-svn-print-log): Fix typo in previous.
14977 * net/newst-treeview.el (newsticker--treeview-list-update-faces):
14978 Preserve point in the list buffer. (Bug#4939)
14980 (newsticker--treeview-list-update-highlight)
14981 (newsticker--treeview-tree-update-highlight): Use point-at-bol/eol.
14983 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
14985 * calc/calc-bin.el (math-symclip, calcFunc-symclip, calc-symclip):
14988 * calc/calc-ext.el (calc-init-extensions): Remove references to
14991 * calc/calc-menu.el (calc-arithmetic-menu): Remove `calc-symclip'.
14993 * calc/calc-map.el (calc-get-operator, calc-b-oper-keys):
14994 * calc/calc-help.el (calc-b-prefix-help): Remove references to
14997 2009-11-16 Kevin Ryde <user42@zip.com.au>
14999 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
15000 Use `sgml-lexical-context' instead of own parse for tag (Bug#4511).
15002 * emacs-lisp/lisp-mnt.el (lm-keywords): Allow multi-line keywords.
15003 (lm-keywords-list): Allow comma-only separator like "foo,bar".
15004 Ignore trailing spaces by omit-nulls to split-string (fixing
15005 regression from Emacs 21 due to the incompatible split-string
15006 change). (Bug #4928.)
15008 2009-11-16 Dan Nicolaescu <dann@ics.uci.edu>
15010 * vc.el (vc-log-show-limit): Default to 2000.
15011 (vc-print-log-internal): Insert buttons to request more entries
15012 when limiting the output.
15014 * vc-sccs.el (vc-sccs-print-log):
15015 * vc-rcs.el (vc-rcs-print-log):
15016 * vc-cvs.el (vc-cvs-print-log):
15017 * vc-git.el (vc-git-print-log): Return 'limit-unsupported when
15020 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
15022 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Raise only an
15023 error when `tramp-gvfs-dbus-event-vector' is set.
15024 (tramp-gvfs-maybe-open-connection): Loop over `read-event'.
15026 2009-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
15028 * vc-rcs.el (vc-rcs-consult-headers): Add missing save-excursion.
15030 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
15032 * net/dbus.el (dbus-unregister-service): New defun.
15033 (dbus-register-property): Register the handlers of
15034 "org.freedesktop.DBus.Properties" for SERVICE.
15035 (dbus-property-handler): Fix docstring.
15037 2009-11-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
15039 * emacs-lisp/bytecomp.el (byte-compile-output-file-form):
15040 Quote doc string reference in defvaralias as it is not in special form.
15041 (byte-compile-output-docform): Doc fix.
15043 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
15045 * calc/calc.el (math-2-word-size, math-half-2-word-size)
15046 (calc-complement-signed-mode): New variables.
15047 (calc-set-mode-line): Add indicator for twos-complements.
15048 (math-format-number): Format twos-complement notation.
15050 * calc/calc-bin.el (calc-word-size): Reset the variables
15051 `math-2-word-size' and `math-half-2-word-size'.
15052 (math-format-complement-signed, math-symclip, calcFunc-symclip)
15053 (calc-symclip): New functions.
15055 * calc/calc-aent.el (math-read-token): Read complement signed numbers.
15057 * calc/calc-embed.el (calc-embedded-mode-vars):
15058 Add `calc-complement-signed-mode' to the list of modes.
15060 * calc/calc-map.el (calc-get-operator): Add `calc-symclip'.
15061 (calc-b-oper-keys): Add `calc-symclip' to list.
15063 * calc/calc-ext.el (math-read-number-fancy): Read complement
15065 (calc-init-extensions): Add binding for `calc-symclip'.
15066 Add autoload for `calcFunc-symclip' and `calc-symclip'.
15068 * calc/calc-menu.el (calc-arithmetic-menu): Add item for
15070 (calc-modes-menu): Add item for twos complement mode.
15072 * calc/calc-help.el (calc-b-prefix-help): Add help for `calc-symclip'.
15074 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
15076 * register.el (jump-to-register, insert-register): Handle Semantic
15077 tags. From commented-out advice in semantic/senator.el.
15079 2009-11-15 Dan Nicolaescu <dann@ics.uci.edu>
15081 * vc.el (vc-log-show-limit): New variable.
15082 (vc-print-log, vc-print-root-log): Add new argument LIMIT. Set it
15083 when using a prefix argument.
15084 (vc-print-log-internal): Add new argument LIMIT.
15086 * vc-svn.el (vc-svn-print-log):
15087 * vc-mtn.el (vc-mtn-print-log):
15088 * vc-hg.el (vc-hg-print-log):
15089 * vc-bzr.el (vc-bzr-print-log): Add new optional argument LIMIT,
15090 pass it to the log command when set. Make the BUFFER argument
15093 * vc-sccs.el (vc-sccs-print-log):
15094 * vc-rcs.el (vc-rcs-print-log):
15095 * vc-git.el (vc-git-print-log):
15096 * vc-cvs.el (vc-cvs-print-log): Add new optional argument LIMIT,
15097 ignore it. Make the BUFFER argument non-optional
15099 * bindings.el (mode-line-buffer-identification): Do not purecopy.
15101 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
15103 * dired.el (dired-mode-map): Move encryption items to "Operate"
15106 * strokes.el (strokes-update-window-configuration): Make strokes
15107 buffer current before erasing (Bug#4906).
15109 2009-11-15 Juri Linkov <juri@jurta.org>
15111 * simple.el (set-mark-default-inactive): Add :type, :group
15112 and :version. (Bug#4876)
15114 2009-11-15 Michael Albinus <michael.albinus@gmx.de>
15116 * arc-mode.el (archive-maybe-copy): Move creation of directory ...
15117 (archive-unique-fname): ... here. (Bug#4929)
15119 2009-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
15121 * help-mode.el (help-make-xrefs): Undo the last revert, and replace it
15124 * novice.el (disabled-command-function): Add useful args.
15125 Setup the help buffer so that [back] works.
15126 Remove redundant call to help-mode.
15127 (disabled-command-function): Use `case'.
15128 (en/disable-command): New function extracted from enable-command.
15129 (enable-command, disable-command): Use it.
15131 2009-11-14 Glenn Morris <rgm@gnu.org>
15133 * menu-bar.el (menu-bar-tools-menu): Read and send mail entries are not
15134 constants. (Bug#4913)
15136 * emacs-lisp/elint.el (elint-standard-variables): Doc fix.
15138 2009-11-14 Shigeru Fukaya <shigeru.fukaya@gmail.com>
15140 * emacs-lisp/elint.el (elint-standard-variables): Add some variables
15141 defined in C that have no doc-strings. (Bug#1063)
15143 2009-11-14 Francis Wright <F.J.Wright@qmul.ac.uk>
15145 * cus-edit.el (data, files):
15146 * ps-print.el (postscript): Doc fixes for custom groups. (Bug#3327)
15148 2009-11-14 Chong Yidong <cyd@stupidchicken.com>
15150 * simple.el (shell-command): Doc fix (Bug#4891).
15152 * help-mode.el (help-make-xrefs): Revert 2009-11-13 change.
15154 2009-11-14 Glenn Morris <rgm@gnu.org>
15156 * emulation/viper.el (viper-set-hooks): Remove duplicate advice
15157 statements for vc-diff, emerge-quit, and rmail-cease-edit.
15158 If they are already loaded, eval-after-load will do the right thing.
15160 * speedbar.el (top-level): Remove unnecessary load of ange-ftp when
15163 * emacs-lisp/bytecomp.el (byte-compile-single-version): Remove, unused.
15165 * simple.el (x-selection-owner-p): Declare.
15166 (read-mail-command): Use custom radio type rather than choice.
15167 (completion-no-auto-exit): Doc fix.
15169 * custom.el (defgroup):
15170 * epg-config.el (epg): Doc fixes.
15172 2009-11-14 Dan Nicolaescu <dann@ics.uci.edu>
15174 * bindings.el (mode-line-buffer-identification): Purecopy only the string.
15175 * international/ccl.el (define-ccl-program): Do not purecopy the
15176 docstring, defconst does it anyway.
15178 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
15180 * add-log.el (add-change-log-entry): Avoid displaying the changelog
15183 * x-dnd.el (x-dnd-maybe-call-test-function):
15184 * window.el (split-window-vertically):
15185 * whitespace.el (whitespace-help-on):
15186 * vc-rcs.el (vc-rcs-consult-headers):
15187 * userlock.el (ask-user-about-lock-help)
15188 (ask-user-about-supersession-help):
15189 * type-break.el (type-break-force-mode-line-update):
15190 * time-stamp.el (time-stamp-conv-warn):
15191 * terminal.el (te-set-output-log, te-more-break, te-filter)
15192 (te-sentinel, terminal-emulator):
15193 * term.el (make-term, term-exec, term-sentinel, term-read-input-ring)
15194 (term-write-input-ring, term-check-source, term-start-output-log):
15195 (term-display-buffer-line, term-dynamic-list-completions):
15196 (term-ansi-make-term, serial-term):
15197 * subr.el (selective-display):
15198 * strokes.el (strokes-xpm-to-compressed-string, strokes-decode-buffer)
15199 (strokes-encode-buffer, strokes-xpm-for-compressed-string):
15200 * speedbar.el (speedbar-buffers-tail-notes, speedbar-buffers-item-info)
15201 (speedbar-reconfigure-keymaps, speedbar-add-localized-speedbar-support)
15202 (speedbar-remove-localized-speedbar-support)
15203 (speedbar-set-mode-line-format, speedbar-create-tag-hierarchy)
15204 (speedbar-update-special-contents, speedbar-buffer-buttons-engine)
15205 (speedbar-buffers-line-directory):
15206 * simple.el (shell-command-on-region, append-to-buffer)
15207 (prepend-to-buffer):
15208 * shadowfile.el (shadow-save-todo-file):
15209 * scroll-bar.el (scroll-bar-set-window-start, scroll-bar-drag-1)
15210 (scroll-bar-maybe-set-window-start):
15211 * sb-image.el (speedbar-image-dump):
15212 * saveplace.el (save-place-alist-to-file, save-places-to-alist)
15213 (load-save-place-alist-from-file):
15214 * ps-samp.el (ps-print-message-from-summary):
15215 * ps-print.el (ps-flush-output, ps-insert-file, ps-get-boundingbox)
15216 (ps-background-image, ps-begin-job, ps-do-despool):
15217 * ps-bdf.el (bdf-find-file, bdf-read-font-info):
15218 * printing.el (pr-interface, pr-ps-file-print, pr-find-buffer-visiting)
15219 (pr-ps-message-from-summary, pr-lpr-message-from-summary):
15220 (pr-call-process, pr-file-list, pr-interface-save):
15221 * novice.el (disabled-command-function)
15222 (enable-command, disable-command):
15223 * mouse.el (mouse-buffer-menu-alist):
15224 * mouse-copy.el (mouse-kill-preserving-secondary):
15225 * macros.el (kbd-macro-query):
15226 * ledit.el (ledit-go-to-lisp, ledit-go-to-liszt):
15227 * informat.el (batch-info-validate):
15228 * ido.el (ido-copy-current-word, ido-initiate-auto-merge):
15229 * hippie-exp.el (try-expand-dabbrev-visible):
15230 * help-mode.el (help-make-xrefs):
15231 * help-fns.el (describe-variable):
15232 * generic-x.el (bat-generic-mode-run-as-comint):
15233 * finder.el (finder-mouse-select):
15234 * find-dired.el (find-dired-sentinel):
15235 * filesets.el (filesets-file-close):
15236 * files.el (list-directory):
15237 * faces.el (list-faces-display, describe-face):
15238 * facemenu.el (list-colors-display):
15239 * ezimage.el (ezimage-image-association-dump, ezimage-image-dump):
15240 * epg.el (epg--process-filter, epg-cancel):
15241 * epa.el (epa--marked-keys, epa--select-keys, epa-display-info)
15242 (epa--read-signature-type):
15243 * emerge.el (emerge-copy-as-kill-A, emerge-copy-as-kill-B)
15244 (emerge-file-names):
15245 * ehelp.el (electric-helpify):
15246 * ediff.el (ediff-regions-wordwise, ediff-regions-linewise):
15247 * ediff-vers.el (rcs-ediff-view-revision):
15248 * ediff-util.el (ediff-setup):
15249 * ediff-mult.el (ediff-append-custom-diff):
15250 * ediff-diff.el (ediff-exec-process, ediff-process-sentinel)
15252 * echistory.el (Electric-command-history-redo-expression):
15253 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
15254 * disp-table.el (describe-display-table):
15255 * dired.el (dired-find-buffer-nocreate):
15256 * dired-aux.el (dired-rename-subdir, dired-dwim-target-directory):
15257 * dabbrev.el (dabbrev--same-major-mode-p):
15258 * chistory.el (list-command-history):
15259 * apropos.el (apropos-documentation):
15260 * allout.el (allout-obtain-passphrase):
15261 (allout-copy-exposed-to-buffer):
15262 (allout-verify-passphrase): Use with-current-buffer.
15264 2009-11-13 Glenn Morris <rgm@gnu.org>
15266 * Makefile.in (ELCFILES): Regenerate.
15268 2009-11-13 Michael Albinus <michael.albinus@gmx.de>
15270 * net/dbus.el (dbus-registered-objects-table): Rename from
15271 `dbus-registered-functions-table', because it contains also properties.
15272 (dbus-unregister-object): Unregister also properties.
15273 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
15274 Use a timeout of 500 msec, in order to not block.
15275 (dbus-register-property, dbus-property-handler): New defuns.
15277 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
15279 * simple.el (minibuffer-default-add-completions): Drop deprecated
15282 2009-11-13 Tomas Abrahamsson <tab@lysator.liu.se>
15284 * textmodes/artist.el (artist-mouse-choose-operation):
15285 Call `tmm-prompt' instead of `x-popup-menu' if we cannot popup
15286 menus. Bug noticed by Eli Zaretskii <eliz@gnu.org>.
15287 (artist-compute-up-event-key): New function.
15288 (artist-mouse-choose-operation, artist-down-mouse-1): Call it.
15290 2009-11-13 Kenichi Handa <handa@m17n.org>
15292 * language/japan-util.el: Make sure that the value of jisx0208
15293 property is jisx0208 character.
15295 2009-11-13 Dan Nicolaescu <dann@ics.uci.edu>
15297 * international/mule.el (auto-coding-regexp-alist): Only purecopy
15298 car or each item, not the whole list.
15300 2009-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
15302 * minibuffer.el (minibuffer-completion-help):
15303 Use minibuffer-hide-completions.
15305 2009-11-12 Per Starbäck <per@starback.se> (tiny change)
15307 * dired.el (dired-save-positions, dired-restore-positions): New funs.
15308 (dired-revert): Use them (bug#4880).
15310 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
15312 * tooltip.el (tooltip-frame-parameters): Undo previous change.
15314 2009-11-12 Juri Linkov <juri@jurta.org>
15316 * ffap.el (ffap-alternate-file-other-window, ffap-literally):
15318 (find-file-literally-at-point): Alias of `ffap-literally'.
15320 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
15322 * textmodes/ispell.el (ispell-skip-region-alist):
15323 * textmodes/css-mode.el (auto-mode-alist):
15324 * progmodes/compile.el (auto-mode-alist):
15325 * international/mule.el (ctext-non-standard-encodings-alist)
15326 (ctext-non-standard-encodings-regexp):
15327 * simple.el (shell-command-switch, text-read-only):
15328 * replace.el (occur-mode-map):
15329 * paths.el (rmail-file-name):
15330 * jka-cmpr-hook.el (jka-compr-build-file-regexp):
15331 * find-file.el (ff-special-constructs):
15332 * files.el (file-name-handler-alist):
15333 * composite.el: Purecopy strings.
15335 * emacs-lisp/cl-macs.el (define-compiler-macro): Purecopy the file name.
15337 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
15339 * widget.el (define-widget): Purecopy the docstring.
15340 * international/mule-cmds.el (charset): Do not purecopy the
15341 docstring here, define-widget does it.
15343 * textmodes/texinfo.el (texinfo-open-quote, texinfo-close-quote):
15344 * textmodes/bibtex-style.el (auto-mode-alist):
15345 * progmodes/inf-lisp.el (inferior-lisp-prompt):
15346 * progmodes/compile.el (compile-command):
15347 * language/korea-util.el (default-korean-keyboard):
15348 * international/mule-conf.el (file-coding-system-alist):
15349 * emacs-lisp/eldoc.el (eldoc-minor-mode-string):
15350 * tooltip.el (tooltip-frame-parameters):
15351 * newcomment.el (comment-end, comment-padding):
15352 * dired.el (dired-trivial-filenames):
15353 * comint.el (comint-file-name-prefix): Purecopy initial values.
15355 2009-11-11 Michael Albinus <michael.albinus@gmx.de>
15357 * net/tramp.el (tramp-advice-minibuffer-electric-separator)
15358 (tramp-advice-minibuffer-electric-tilde): Unload advices via
15360 (tramp-advice-make-auto-save-file-name)
15361 (tramp-advice-file-expand-wildcards): Apply also `ad-activate'
15362 after removing the advice.
15364 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
15366 * progmodes/grep.el (grep-regexp-alist):
15367 * international/mule-cmds.el (iso-2022-control-alist):
15368 * emacs-lisp/timer.el (timer-duration-words):
15369 * subr.el (version-separator, version-regexp-alist):
15370 * minibuffer.el (completion-styles-alist):
15371 * faces.el (face-attribute-name-alist, list-faces-sample-text):
15372 Change defvars to defconsts.
15374 * Makefile.in (ELCFILES): Add international/mule-conf.elc.
15375 * loadup.el ("international/mule-conf"): Load the byte compiled version.
15376 * international/mule-conf.el: Allow to be byte compiled.
15378 * international/mule.el (define-charset): Purecopy props.
15379 (load-with-code-conversion): Purecopy doc string and file name.
15380 (put-charset-property): Purecopy strings.
15381 (auto-coding-alist, auto-coding-regexp-alist): Purecopy initial value.
15383 * international/mule-cmds.el (register-input-method): Purecopy arguments.
15384 (define-char-code-property): Correctly purecopy the table.
15386 * international/ccl.el (define-ccl-program): Purecopy the docstring.
15388 * emacs-lisp/easy-mmode.el (define-minor-mode): Purecopy :lighter.
15390 * subr.el (add-hook): Purecopy strings.
15391 (eval-after-load): Purecopy load-history-regexp and the form.
15393 * custom.el (custom-declare-group): Purecopy load-file-name.
15395 * subr.el (menu-bar-separator): New defconst.
15396 * net/eudc.el (eudc-tools-menu):
15397 * international/mule-cmds.el (set-coding-system-map)
15398 (mule-menu-keymap):
15399 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
15400 * vc-hooks.el (vc-menu-map):
15401 * replace.el (occur-mode-map):
15402 * menu-bar.el (menu-bar-file-menu, menu-bar-search-menu)
15403 (menu-bar-edit-menu, menu-bar-goto-menu)
15404 (menu-bar-custom-menu, menu-bar-showhide-menu)
15405 (menu-bar-options-menu, menu-bar-tools-menu)
15406 (menu-bar-encryption-decryption-menu, menu-bar-describe-menu)
15407 (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
15408 (menu-bar-help-menu):
15409 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu):
15410 * buff-menu.el (Buffer-menu-mode-map): Use menu-bar-separator.
15412 * term/x-win.el (x-gtk-stock-map):
15413 * progmodes/vera-mode.el (auto-mode-alist):
15414 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
15415 (inferior-lisp-program, inferior-lisp-load-command):
15416 * progmodes/hideshow.el (hs-special-modes-alist):
15417 * progmodes/gud.el (same-window-regexps):
15418 * progmodes/grep.el (grep-program, find-program, xargs-program):
15419 * net/telnet.el (same-window-regexps):
15420 * net/rlogin.el (same-window-regexps):
15421 * language/ethiopic.el (font-ccl-encoder-alist):
15422 * vc-sccs.el (vc-sccs-master-templates):
15423 * vc-rcs.el (vc-rcs-master-templates):
15424 * subr.el (cl-assertion-failed):
15425 * simple.el (next-error-overlay-arrow-position):
15426 * lpr.el (lpr-command):
15427 * locate.el (locate-ls-subdir-switches):
15428 * info.el (same-window-regexps, info)
15429 (Info-goto-emacs-command-node, Info-goto-emacs-key-command-node):
15430 * image-mode.el (image-mode, auto-mode-alist):
15431 * hippie-exp.el (hippie-expand-ignore-buffers):
15432 * format.el (format-alist):
15433 * find-dired.el (find-ls-subdir-switches, find-grep-options)
15435 * facemenu.el (facemenu-keybindings):
15436 * dired.el (dired-listing-switches, dired-chown-program):
15437 * diff.el (diff-switches, diff-command):
15438 * cus-edit.el (same-window-regexps):
15439 * bindings.el (mode-line-mule-info)
15440 (mode-line-buffer-identification): Purecopy strings.
15442 2009-11-11 Juri Linkov <juri@jurta.org>
15444 * simple.el (dired-get-filename) <declare-function>:
15445 Tell the byte-compiler about dired-get-filename.
15446 (shell-command): In Dired mode, get filename from the current line
15447 as the default value.
15449 2009-11-10 Glenn Morris <rgm@gnu.org>
15451 * dired.el, hi-lock.el, calendar/cal-menu.el, calendar/calendar.el:
15452 * calendar/holidays.el, progmodes/cperl-mode.el:
15453 Update x-popup-menu declarations.
15455 * emacs-lisp/shadow.el (find-emacs-lisp-shadows)
15456 (list-load-path-shadows): Use dolist.
15457 (list-load-path-shadows): Use with-current-buffer.
15459 2009-11-10 Juri Linkov <juri@jurta.org>
15461 * minibuffer.el (read-file-name): Support a list of default values
15462 in `default-filename'. Use the first file name where only one
15463 element is required. Doc fix.
15465 2009-11-09 Michael Albinus <michael.albinus@gmx.de>
15467 * net/dbus.el (dbus-unregister-object): Release service, if no
15468 other method is registered for it.
15470 2009-11-08 Markus Rost <rost@math.uni-bielefeld.de>
15472 * bookmark.el (bookmark-completing-read): Sort bookmark names if
15473 bookmark-sort-flag is non-nil (Bug#4653).
15475 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
15477 * emulation/cua-base.el: Add CUA property to some CC mode commands
15480 2009-11-08 Kevin Ryde <user42@zip.com.au>
15482 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp): Match noun
15483 at end of sentence (Bug#4818).
15485 2009-11-08 Jared Finder <jfinder@crypticstudios.com>
15487 * progmodes/compile.el (compilation-error-regexp-alist-alist):
15488 Handle "see declaration of" MSFT statements (Bug#4100).
15490 2009-11-08 Michael Albinus <michael.albinus@gmx.de>
15492 * net/tramp.el (tramp-advice-make-auto-save-file-name)
15493 (tramp-advice-file-expand-wildcards): Unload via
15494 `ad-remove-advice'.
15496 * net/trampver.el: Update release number.
15498 2009-11-08 Kevin Ryde <user42@zip.com.au>
15500 * net/tramp.el (tramp-advice-file-expand-wildcards): Don't rely on
15503 2009-11-08 Andr <m00naticus@gmail.com> (tiny change)
15505 * net/tramp.el (tramp-handle-write-region): Copy but rename temp file,
15506 in order to keep context in SELinux.
15508 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
15510 * dired-aux.el (dired-query): Place cursor in echo area and allow
15513 * dired.el (dired-mode-map): Disable dired-maybe-insert-subdir
15514 menu item if not on a directory (Bug#4701).
15516 2009-11-07 Michael Albinus <michael.albinus@gmx.de>
15518 Sync with Tramp 2.1.17.
15520 * net/tramp.el (tramp-handle-copy-directory): Don't use
15521 `file-remote-p' (due to compatibility).
15523 * net/tramp-compat.el (tramp-compat-copy-directory)
15524 (tramp-compat-delete-directory): New defuns.
15526 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
15527 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
15528 Use `tramp-compat-delete-directory'.
15530 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
15531 (tramp-smb-handle-delete-directory):
15532 Use `tramp-compat-copy-directory' and `tramp-compat-delete-directory'.
15534 * net/trampver.el: Update release number.
15536 2009-11-07 Chong Yidong <cyd@stupidchicken.com>
15538 * tar-mode.el (tar-copy): Call write-region on the right buffer
15541 * mail/rmailsum.el (rmail-summary-rmail-update): Call linum-update
15542 by hand, if necessary (Bug#4878).
15544 2009-11-06 Chong Yidong <cyd@stupidchicken.com>
15546 * buff-menu.el (Buffer-menu-buffer+size): Use display property to
15547 align size column (Bug#4839).
15549 * emacs-lisp/autoload.el (autoload-rubric): Always issue a provide
15552 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
15554 * progmodes/ld-script.el (auto-mode-alist):
15555 * vc-hooks.el (vc-directory-exclusion-list): Purecopy strings.
15557 * cus-face.el (custom-declare-face): Purecopy face spec.
15559 2009-11-06 Kenichi Handa <handa@m17n.org>
15561 * international/uni-bidi.el: Re-generated.
15562 * international/uni-category.el: Re-generated.
15563 * international/uni-combining.el: Re-generated.
15564 * international/uni-mirrored.el: Re-generated.
15566 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
15568 * textmodes/tex-mode.el (tex-alt-dvi-print-command)
15569 (tex-dvi-print-command, tex-bibtex-command, tex-start-commands)
15570 (tex-start-options, slitex-run-command, latex-run-command)
15571 (tex-run-command, tex-directory):
15572 * textmodes/ispell.el (ispell-html-skip-alists)
15573 (ispell-tex-skip-alists, ispell-tex-skip-alists):
15574 * textmodes/fill.el (adaptive-fill-first-line-regexp):
15575 (adaptive-fill-regexp):
15576 * textmodes/dns-mode.el (auto-mode-alist):
15577 * progmodes/python.el (interpreter-mode-alist):
15578 * progmodes/etags.el (tags-compression-info-list):
15579 * progmodes/etags.el (tags-file-name):
15580 * net/browse-url.el (browse-url-galeon-program)
15581 (browse-url-firefox-program):
15582 * mail/sendmail.el (mail-signature-file)
15583 (mail-citation-prefix-regexp):
15584 * international/mule-conf.el (eight-bit):
15585 * international/latexenc.el (latex-inputenc-coding-alist):
15586 * international/fontset.el (x-pixel-size-width-font-regexp):
15587 * emacs-lisp/warnings.el (warning-type-format):
15588 * emacs-lisp/trace.el (trace-buffer):
15589 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-map)
15590 (emacs-lisp-mode-map):
15591 * calendar/holidays.el (holiday-solar-holidays)
15592 (holiday-bahai-holidays, holiday-islamic-holidays)
15593 (holiday-christian-holidays, holiday-hebrew-holidays)
15594 (hebrew-holidays-4, hebrew-holidays-3, hebrew-holidays-2)
15595 (hebrew-holidays-1, holiday-oriental-holidays)
15596 (holiday-general-holidays):
15597 * x-dnd.el (x-dnd-known-types):
15598 * tool-bar.el (tool-bar):
15599 * startup.el (site-run-file):
15600 * shell.el (shell-dumb-shell-regexp):
15601 * rfn-eshadow.el (file-name-shadow-tty-properties)
15602 (file-name-shadow-properties):
15603 * paths.el (remote-shell-program, news-directory):
15604 * mouse.el ([C-down-mouse-3]):
15605 * menu-bar.el (menu-bar-tools-menu):
15606 * jka-cmpr-hook.el (jka-compr-load-suffixes)
15607 (jka-compr-mode-alist-additions, jka-compr-compression-info-list)
15608 (jka-compr-compression-info-list):
15609 * isearch.el (search-whitespace-regexp):
15610 * image-file.el (image-file-name-extensions):
15611 * find-dired.el (find-ls-option):
15612 * files.el (directory-listing-before-filename-regexp)
15613 (directory-free-space-args, insert-directory-program)
15614 (list-directory-brief-switches, magic-fallback-mode-alist)
15615 (magic-fallback-mode-alist, auto-mode-interpreter-regexp)
15616 (automount-dir-prefix):
15617 * faces.el (face-x-resources, x-font-regexp, x-font-regexp-head)
15618 (x-font-regexp-slant, x-font-regexp-weight, face-x-resources)
15619 (face-font-registry-alternatives, face-font-registry-alternatives)
15620 (face-font-family-alternatives):
15621 * facemenu.el (facemenu-add-new-face, facemenu-background-menu)
15622 (facemenu-foreground-menu, facemenu-face-menu):
15623 * epa-hook.el (epa-file-name-regexp):
15624 * dnd.el (dnd-protocol-alist):
15625 * textmodes/rst.el (auto-mode-alist):
15626 * button.el (default-button): Purecopy strings.
15628 2009-11-06 Glenn Morris <rgm@gnu.org>
15630 * Makefile.in (ELCFILES): Update.
15632 2009-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
15634 * emacs-lisp/lucid.el: Move to obsolete/lucid.el.
15635 * emacs-lisp/levents.el: Move to obsolete/levents.el.
15637 * nxml/xsd-regexp.el (xsdre-gen-categories):
15638 * nxml/xmltok.el (xmltok-parse-entity):
15639 * nxml/rng-parse.el (rng-parse-validate-file):
15640 * nxml/rng-maint.el (rng-format-manual)
15641 (rng-manual-output-force-new-line):
15642 * nxml/rng-loc.el (rng-save-schema-location-1):
15643 * nxml/rng-cmpct.el (rng-c-parse-file):
15644 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
15645 * nxml/nxml-parse.el (nxml-parse-file): Use with-current-buffer.
15647 2009-11-05 Wilson Snyder <wsnyder@wsnyder.org>
15649 * progmodes/verilog-mode.el (verilog-getopt-file, verilog-set-define):
15650 Remove extra save-excursions and make-variable-buffer-local's.
15651 Suggested by Stefan Monnier.
15653 (verilog-getopt-file, verilog-module-inside-filename-p)
15654 (verilog-set-define): Merge GNU 1.35 and repair changes from
15655 switching to using with-current-buffer.
15657 (verilog-read-always-signals-recurse): Fix "a == 2'b00 ? b : c"
15658 being treated as a number and confusing AUTORESET.
15659 Reported by Dan Dever.
15661 (verilog-auto-ignore-concat, verilog-read-sub-decls-expr):
15662 Add verilog-auto-ignore-concat to fix backward compatibility with
15663 older verilog-modes. Reported by Dan Katz.
15665 (verilog-read-auto-template): Fix AUTO_TEMPLATEs with regexps
15666 containing closing anchors "...$".
15668 (verilog-read-decls): Fix AUTOREG not detecting "assign {a,b}".
15669 Reported by Wade Smith.
15671 (verilog-batch-execute-func): Comment on function usage.
15673 2009-11-05 Michael McNamara <mac@mail.brushroad.com>
15675 * progmodes/verilog-mode.el (verilog-label-re): Fix regular expression
15678 (verilog-label-re, verilog-calc-1): Support proper indent of named
15681 (verilog-backward-token, verilog-basic-complete-re)
15682 (verilog-beg-of-statement, verilog-indent-re): Support proper
15683 indent of the assert statement at the beginning of a block of text.
15685 (verilog-beg-block-re, verilog-ovm-begin-re): Support the
15686 `ovm_object_param_utils_begin and `ovm_component_param_utils_begin
15689 2009-11-05 Glenn Morris <rgm@gnu.org>
15691 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Drop test for
15692 Emacs 19. (Bug#1531)
15693 (byte-compile-fix-header): Update for the above change.
15694 Drop test for epoch::version.
15696 * emacs-lisp/autoload.el (autoload-rubric): Add optional feature arg.
15697 * cus-dep.el (custom-make-dependencies):
15698 * finder.el (finder-compile-keywords):
15699 Use autoload-rubric's feature argument.
15701 * calendar/diary-lib.el (top-level): Make load behave more like require.
15703 * vc-git.el (vc-git-stash-map): Move definition before use.
15705 2009-11-04 Dan Nicolaescu <dann@ics.uci.edu>
15707 * custom.el (custom-declare-group): Purecopy standard-value.
15708 (custom-declare-group): Purecopy custom-prefix.
15710 * international/mule.el (load-with-code-conversion):
15711 Call do-after-load-evaluation unconditionally.
15713 * emacs-lisp/bytecomp.el (byte-compile-output-file-form): Handle defvaralias.
15715 2009-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
15717 * descr-text.el: Require help-mode rather than help-fns (bug#4861).
15719 2009-11-04 Glenn Morris <rgm@gnu.org>
15721 * emacs-lisp/bytecomp.el (byte-compile-version-cond): Remove macro.
15722 (byte-compile-compatibility): Remove option.
15723 (byte-compile-close-variables, byte-compile-fix-header)
15724 (byte-compile-insert-header, byte-compile-output-docform)
15725 (byte-compile-file-form-defmumble, byte-compile-byte-code-maker)
15726 (byte-compile-lambda, byte-compile-form, byte-defop-compiler19)
15727 (byte-compile-list, byte-compile-concat, byte-compile-function-form)
15728 (byte-compile-insert, byte-compile-defun):
15729 Remove support for byte-compile-compatibility and Emacs 18. (Bug#4571)
15730 (byte-defop-compiler19): Remove.
15731 Without byte-compile-compatibility, the 'emacs19-opcode property is not
15732 used by anything. Replace all calls with byte-defop-compiler.
15734 2009-11-04 Juri Linkov <juri@jurta.org>
15736 * menu-bar.el (menu-bar-make-mm-toggle): Quote each element of `props'.
15737 (menu-bar-options-menu): Don't quote the `prop' arg of
15738 `menu-bar-make-mm-toggle'.
15740 2009-11-04 Juanma Barranquero <lekktu@gmail.com>
15742 * calendar/calendar.el (cal-loaddefs):
15743 * calendar/diary-lib.el (diary-loaddefs):
15744 * calendar/holidays.el (hol-loaddefs):
15745 * eshell/esh-module.el (esh-groups): Load rather than require.
15747 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
15749 * calendar/todo-mode.el (todo-add-category): Don't hardcode
15751 (todo-top-priorities): Only display-buffer when called interactively.
15752 (todo-item-start): Don't save excursion point.
15753 (todo-item-end): Be slightly more careful. Add `include-sep' arg.
15754 (todo-insert-item-here, todo-file-item, todo-remove-item):
15755 Adjust uses of todo-item-start and todo-item-end.
15757 * emacs-lisp/autoload.el (generated-autoload-feature): Remove.
15758 (autoload-rubric): Don't use any more.
15760 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Use dolist,
15761 and only put a prop if it is non-nil.
15763 2009-11-03 Juri Linkov <juri@jurta.org>
15765 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle)
15766 (menu-bar-options-menu): Fix list quoting (Bug#4429).
15768 * buff-menu.el (Buffer-menu-mode-map): Add hyphen between "Buffer"
15769 and "Menu" to make top-level menu item visually one unit (like
15770 it's done for "Lisp-Interaction", "Emacs-Lisp" and other
15771 multi-word menu items). Fix :help string for quit-window.
15773 2009-11-03 Glenn Morris <rgm@gnu.org>
15775 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
15776 (byte-compile-file-form-define-abbrev-table)
15777 (byte-compile-file-form-custom-declare-variable)
15778 (byte-compile-variable-ref, byte-compile-defvar):
15779 Whether or not a warning is enabled should only affect whether we issue
15780 the warning, not whether or not we collect the relevant data.
15781 Eg warnings can be turned on and off throughout the course of a file.
15783 * eshell/esh-mode.el (ansi-color-apply-on-region): Autoload it...
15784 (eshell-handle-ansi-color): ... Rather than requiring ansi-color.
15786 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
15788 * term/ns-win.el (ns-scroll-bar-move, ns-face-at-pos):
15789 * play/mpuz.el (mpuz-create-buffer):
15790 * play/landmark.el (lm-prompt-for-move, lm-print-wts, lm-print-smell)
15791 (lm-print-y,s,noise, lm-print-w0, lm-init):
15792 * play/gomoku.el (gomoku-prompt-for-move):
15793 * play/fortune.el (fortune-in-buffer):
15794 * play/dissociate.el (dissociated-press):
15795 * play/decipher.el (decipher-adjacency-list, decipher-display-regexp)
15796 (decipher-analyze-buffer, decipher-stats-buffer, decipher-stats-buffer):
15797 * mail/supercite.el (sc-eref-show):
15798 * mail/smtpmail.el (smtpmail-send-it):
15799 * mail/rmailsum.el (rmail-summary-next-labeled-message)
15800 (rmail-summary-previous-labeled-message, rmail-summary-wipe)
15801 (rmail-summary-undelete-many, rmail-summary-rmail-update)
15802 (rmail-summary-goto-msg, rmail-summary-expunge)
15803 (rmail-summary-get-new-mail, rmail-summary-search-backward)
15804 (rmail-summary-add-label, rmail-summary-output-menu)
15805 (rmail-summary-output-body):
15806 * mail/rfc822.el (rfc822-addresses):
15807 * mail/reporter.el (reporter-dump-variable, reporter-dump-state):
15808 * mail/mailpost.el (post-mail-send-it):
15809 * mail/hashcash.el (hashcash-generate-payment):
15810 * mail/feedmail.el (feedmail-run-the-queue)
15811 (feedmail-queue-send-edit-prompt-help-first)
15812 (feedmail-send-it-immediately, feedmail-give-it-to-buffer-eater)
15813 (feedmail-deduce-address-list):
15814 * eshell/esh-ext.el (eshell-remote-command):
15815 * eshell/em-unix.el (eshell-occur-mode-mouse-goto):
15816 * emulation/viper-util.el (viper-glob-unix-files, viper-save-setting)
15817 (viper-wildcard-to-regexp, viper-glob-mswindows-files)
15818 (viper-save-string-in-file, viper-valid-marker):
15819 * emulation/viper-keym.el (viper-toggle-key):
15820 * emulation/viper-ex.el (ex-expand-filsyms, viper-get-ex-file)
15821 (ex-edit, ex-global, ex-mark, ex-next-related-buffer, ex-quit)
15822 (ex-get-inline-cmd-args, ex-tag, ex-command, ex-compile):
15823 * emulation/viper-cmd.el (viper-exec-form-in-vi)
15824 (viper-exec-form-in-emacs, viper-brac-function):
15825 * emulation/viper.el (viper-delocalize-var):
15826 * emulation/vip.el (vip-mode, vip-get-ex-token, vip-ex, vip-get-ex-pat)
15827 (vip-get-ex-command, vip-get-ex-opt-gc, vip-get-ex-buffer)
15828 (vip-get-ex-count, vip-get-ex-file, ex-edit, ex-global, ex-mark)
15829 (ex-map, ex-unmap, ex-quit, ex-read, ex-tag, ex-command):
15830 * emulation/vi.el (vi-switch-mode, vi-ex-cmd):
15831 * emulation/edt.el (edt-electric-helpify):
15832 * emulation/cua-rect.el (cua--rectangle-aux-replace):
15833 * emulation/cua-gmrk.el (cua--insert-at-global-mark)
15834 (cua--delete-at-global-mark, cua--copy-rectangle-to-global-mark)
15835 (cua-indent-to-global-mark-column):
15836 * calendar/diary-lib.el (calendar-mark-1):
15837 * calendar/cal-hebrew.el (calendar-hebrew-mark-date-pattern):
15838 Use with-current-buffer.
15839 * emulation/viper.el (viper-delocalize-var): Use dolist.
15841 2009-11-03 Chong Yidong <cyd@stupidchicken.com>
15843 * comint.el (comint-replace-by-expanded-history-before-point):
15844 Replace !! with the previous input string literally (Bug#1795).
15846 2009-11-02 Jay Belanger <jay.p.belanger@gmail.com>
15848 * calc/calc-forms.el (calc-date-notation): Allow a "blank string"
15849 to be made up of whitespace.
15851 2009-11-02 Chong Yidong <cyd@stupidchicken.com>
15853 * minibuffer.el (read-file-name): Don't use file dialogs for
15854 remote directories (Bug#99).
15856 2009-11-01 Chong Yidong <cyd@stupidchicken.com>
15858 * progmodes/sh-script.el (sh-font-lock-paren): Fix last change.
15860 2009-11-01 Andreas Schwab <schwab@linux-m68k.org>
15862 * view.el (view-mode-exit): If OLD-BUF is dead bury the buffer
15863 instead of deleting the window or frame.
15865 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
15867 * textmodes/sgml-mode.el (sgml-mode-facemenu-add-face-function):
15868 Support face colors.
15870 * textmodes/tex-mode.el (tex-facemenu-add-face-function):
15871 New function. Support face colors (Bug#1168).
15872 (tex-common-initialization): Use it.
15874 * facemenu.el (facemenu-enable-faces-p): Enable facemenu if the
15875 mode allows it (Bug#1168).
15877 2009-10-31 Juri Linkov <juri@jurta.org>
15879 * facemenu.el (list-colors-display): Don't mark buffer as
15880 modified (Bug#3948).
15882 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
15884 * international/mule-diag.el (list-character-sets-1):
15885 Minor message fix (Bug#3526).
15887 * progmodes/etags.el (etags-list-tags, etags-tags-apropos):
15888 Fix face property (Bug#4834).
15889 (etags-list-tags, etags-tags-apropos-additional)
15890 (etags-tags-apropos, tags-select-tags-table): Add follow-link
15893 * menu-bar.el (menu-bar-tools-menu): Add Semantic and EDE menu
15896 2009-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
15898 * textmodes/two-column.el (2C-split):
15899 * textmodes/texnfo-upd.el (texinfo-multi-file-included-list):
15900 * textmodes/tex-mode.el (tex-set-buffer-directory):
15901 * textmodes/spell.el (spell-region, spell-string):
15902 * textmodes/reftex.el (reftex-erase-buffer):
15903 (reftex-get-file-buffer-force, reftex-kill-temporary-buffers):
15904 * textmodes/reftex-toc.el (reftex-toc-promote-action):
15905 * textmodes/reftex-sel.el (reftex-get-offset, reftex-insert-docstruct)
15906 (reftex-select-item):
15907 * textmodes/reftex-ref.el (reftex-label-info-update)
15908 (reftex-offer-label-menu):
15909 * textmodes/reftex-index.el (reftex-index-change-entry)
15910 (reftex-index-phrases-info):
15911 * textmodes/reftex-global.el (reftex-create-tags-file)
15912 (reftex-save-all-document-buffers, reftex-ensure-write-access):
15913 * textmodes/reftex-dcr.el (reftex-echo-ref, reftex-echo-cite)
15914 (reftex-view-crossref-from-bibtex):
15915 * textmodes/reftex-cite.el (reftex-bibtex-selection-callback)
15916 (reftex-extract-bib-entries-from-thebibliography)
15917 (reftex-all-used-citation-keys, reftex-create-bibtex-file):
15918 * textmodes/refbib.el (r2b-capitalize-title):
15919 (r2b-convert-buffer, r2b-help):
15920 * textmodes/page-ext.el (pages-directory)
15921 (pages-directory-goto-with-mouse):
15922 * textmodes/bibtex.el (bibtex-validate-globally):
15923 * textmodes/bib-mode.el (bib-capitalize-title):
15924 * textmodes/artist.el (artist-clear-buffer, artist-system):
15925 * progmodes/xscheme.el (global-set-scheme-interaction-buffer):
15926 (local-set-scheme-interaction-buffer, xscheme-process-filter)
15927 (verify-xscheme-buffer, xscheme-enter-interaction-mode)
15928 (xscheme-enter-debugger-mode, xscheme-debugger-mode-p)
15929 (xscheme-send-control-g-interrupt, xscheme-start-process)
15930 (xscheme-process-sentinel, xscheme-cd):
15931 * progmodes/verilog-mode.el (verilog-read-always-signals)
15932 (verilog-set-define, verilog-getopt-file)
15933 (verilog-module-inside-filename-p):
15934 * progmodes/sh-script.el:
15935 * progmodes/python.el (python-pdbtrack-get-source-buffer)
15936 (python-pdbtrack-grub-for-buffer, python-execute-file):
15937 * progmodes/octave-inf.el (inferior-octave):
15938 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
15939 (idlwave-shell-compile-helper-routines, idlwave-set-local)
15940 (idlwave-display-completion-list-xemacs, idlwave-list-abbrevs)
15941 (idlwave-display-completion-list-emacs, idlwave-list-load-path-shadows)
15942 (idlwave-completion-fontify-classes, idlwave-display-calling-sequence):
15943 * progmodes/idlw-shell.el (idlwave-shell-examine-display-clear)
15944 (idlwave-shell-filter, idlwave-shell-examine-highlight)
15945 (idlwave-shell-sentinel, idlwave-shell-filter-directory)
15946 (idlwave-shell-display-line, idlwave-shell-set-bp-in-module)
15947 (idlwave-shell-examine-display, idlwave-shell-run-region)
15948 (idlwave-shell-filter-bp, idlwave-shell-save-and-action)
15949 (idlwave-shell-sources-filter, idlwave-shell-goto-next-error):
15950 * progmodes/idlw-help.el (idlwave-help-get-special-help)
15951 (idlwave-help-get-help-buffer):
15952 * progmodes/gud.el (gud-basic-call, gud-find-class)
15953 (gud-tooltip-activate-mouse-motions-if-enabled):
15954 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
15955 * progmodes/ebrowse.el (ebrowse-member-table, ebrowse-save-tree-as)
15956 (ebrowse-view-exit-fn, ebrowse-tags-list-members-in-file)
15957 (ebrowse-tags-next-file):
15958 * progmodes/ebnf2ps.el (ebnf-generate-eps, ebnf-generate-eps)
15959 (ebnf-eps-production-list, ebnf-begin-file, ebnf-log)
15960 (ebnf-eps-finish-and-write):
15961 * progmodes/cpp.el (cpp-edit-save):
15962 * progmodes/cperl-mode.el (cperl-pod-to-manpage):
15963 * progmodes/cc-defs.el (c-emacs-features):
15964 * progmodes/antlr-mode.el (antlr-invalidate-context-cache)
15965 (antlr-directory-dependencies):
15966 * progmodes/ada-xref.el (ada-gnat-parse-gpr, ada-get-ali-file-name)
15967 (ada-run-application, ada-find-in-src-path, ada-goto-parent)
15968 (ada-find-any-references, ada-make-filename-from-adaname)
15969 (ada-make-body-gnatstub):
15970 * obsolete/rnews.el (news-list-news-groups):
15971 * obsolete/resume.el (resume-suspend-hook, resume-write-buffer-to-file):
15972 * obsolete/iso-acc.el (iso-acc-minibuf-setup):
15973 * net/rcirc.el (rcirc-debug):
15974 * net/newst-treeview.el (newsticker--treeview-list-add-item)
15975 (newsticker--treeview-list-clear, newsticker-treeview-browse-url)
15976 (newsticker--treeview-list-update-faces, newsticker-treeview-save)
15977 (newsticker--treeview-item-show-text, newsticker--treeview-item-show)
15978 (newsticker--treeview-tree-update-tag, newsticker--treeview-buffer-init)
15979 (newsticker-treeview-show-item, newsticker--treeview-unfold-node)
15980 (newsticker--treeview-list-clear-highlight)
15981 (newsticker--treeview-list-update-highlight)
15982 (newsticker--treeview-list-highlight-start)
15983 (newsticker--treeview-tree-update-highlight)
15984 (newsticker--treeview-get-selected-item)
15985 (newsticker-treeview-mark-list-items-old)
15986 (newsticker--treeview-set-current-node):
15987 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
15988 * net/newst-backend.el (newsticker--get-news-by-funcall)
15989 (newsticker--get-news-by-wget, newsticker--image-get)
15990 (newsticker--image-sentinel):
15991 * net/mairix.el (mairix-rmail-fetch-field, mairix-gnus-fetch-field):
15992 * net/eudcb-ph.el (eudc-ph-do-request, eudc-ph-open-session):
15993 (eudc-ph-close-session):
15994 * net/eudc.el (eudc-save-options):
15995 * language/thai-word.el (thai-update-word-table):
15996 * language/japan-util.el (japanese-string-conversion):
15997 * international/titdic-cnv.el (tsang-quick-converter)
15998 (ziranma-converter, ctlau-converter):
15999 * international/mule-cmds.el (describe-language-environment):
16000 * international/ja-dic-cnv.el (skkdic-convert-okuri-ari)
16001 (skkdic-convert-postfix, skkdic-convert-prefix):
16002 (skkdic-convert-okuri-nasi, skkdic-convert):
16003 * emacs-lisp/re-builder.el (reb-update-overlays):
16004 * emacs-lisp/pp.el (pp-to-string, pp-display-expression):
16005 * emacs-lisp/gulp.el (gulp-send-requests):
16006 * emacs-lisp/find-gc.el (trace-call-tree):
16007 * emacs-lisp/eieio-opt.el (eieio-browse, eieio-describe-class)
16008 (eieio-describe-generic):
16009 * emacs-lisp/eieio-base.el (eieio-persistent-read):
16010 * emacs-lisp/edebug.el (edebug-outside-excursion):
16011 * emacs-lisp/debug.el (debugger-make-xrefs):
16012 * emacs-lisp/cust-print.el (custom-prin1-to-string):
16013 * emacs-lisp/chart.el (chart-new-buffer):
16014 * emacs-lisp/authors.el (authors-scan-el, authors-scan-change-log):
16015 Use with-current-buffer.
16016 * textmodes/artist.el (artist-system): Don't call
16017 copy-sequence on a fresh string.
16018 * progmodes/idlw-shell.el (easymenu setup): Use dolist.
16020 2009-10-31 Stephen Berman <stephen.berman@gmx.net>
16022 * calendar/todo-mode.el (todo-edit-item): Signal an error if there
16023 is no item to edit. (Bug#4820)
16024 (todo-top-priorities): Restore point and restore narrowing in Todo
16027 2009-10-31 Glenn Morris <rgm@gnu.org>
16029 * net/ange-ftp.el (top-level): Don't require dired when compiling.
16030 (comint-last-output-start, comint-last-input-start)
16031 (comint-last-input-end): Don't defvar when compiling.
16032 (ange-ftp-process-file): Use bound-and-true-p.
16034 * pcmpl-rpm.el (top-level): Move provide statement to end.
16035 (pcmpl-rpm): Remove unused custom group.
16037 * pcmpl-gnu.el (tar-parse-info, tar-header-name): Declare for compiler.
16039 * mail/emacsbug.el (report-emacs-bug): Request `emacs -Q' recipes.
16041 * emacs-lisp/bytecomp.el (byte-compile-warning-types)
16042 (byte-compile-warnings): Add `constants' as an option.
16043 (byte-compile-callargs-warn, byte-compile-arglist-warn)
16044 (display-call-tree): Update for byte-compile-fdefinition possibly
16045 returning `(macro lambda ...)'. (Bug#4778)
16046 (byte-compile-variable-ref, byte-compile-setq-default):
16047 Respect `constants' member of byte-compile-warnings.
16049 2009-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
16051 * vc-bzr.el (vc-bzr-revision-keywords): New var.
16052 (vc-bzr-revision-completion-table): Use it to fix completion of "s:"
16055 2009-10-30 Dan Nicolaescu <dann@ics.uci.edu>
16057 * textmodes/ispell.el (ispell-skip-region-alist):
16058 * international/mule-conf.el (eight-bit):
16059 * international/fontset.el (font-encoding-alist):
16060 * startup.el (pure-space-overflow-message):
16061 * simple.el (overwrite-mode-textual, overwrite-mode-binary):
16062 * paths.el (gnus-nntp-service, rmail-spool-directory)
16063 (term-file-prefix):
16064 * files.el (save-some-buffers-action-alist):
16065 * cmuscheme.el (same-window-buffer-names):
16066 * ielm.el (same-window-buffer-names):
16067 * shell.el (same-window-buffer-names):
16068 * mail/sendmail.el (same-window-buffer-names):
16069 * progmodes/inf-lisp.el (same-window-buffer-names):
16070 * bindings.el (mode-line-client)
16071 (mode-line-column-line-number-mode-map):
16072 * language/tibetan.el (tibetan-precomposition-rule-regexp)
16073 (tibetan-precomposed-regexp): Purecopy string arguments.
16075 2009-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
16077 * calc/calc.el (calc, calc-refresh, calc-trail-buffer, calc-record)
16078 (calcDigit-nondigit):
16079 * calc/calc-yank.el (calc-copy-to-buffer):
16080 * calc/calc-units.el (calc-invalidate-units-table):
16081 * calc/calc-trail.el (calc-trail-yank):
16082 * calc/calc-store.el (calc-insert-variables):
16083 * calc/calc-rewr.el (math-rewrite, math-rewrite-phase):
16084 * calc/calc-prog.el (calc-read-parse-table):
16085 * calc/calc-keypd.el (calc-do-keypad, calc-keypad-right-click):
16086 * calc/calc-help.el (calc-describe-bindings, calc-describe-key):
16087 * calc/calc-graph.el (calc-graph-delete, calc-graph-add-curve)
16088 (calc-graph-juggle, calc-graph-count-curves, calc-graph-plot)
16089 (calc-graph-plot, calc-graph-format-data, calc-graph-set-styles)
16090 (calc-graph-name, calc-graph-find-command, calc-graph-view)
16091 (calc-graph-view, calc-gnuplot-command, calc-graph-init):
16092 * calc/calc-ext.el (calc-realign):
16093 * calc/calc-embed.el (calc-do-embedded, calc-do-embedded)
16094 (calc-embedded-finish-edit, calc-embedded-make-info)
16095 (calc-embedded-finish-command, calc-embedded-stack-change):
16096 * calc/calc-aent.el (calcAlg-enter): Use with-current-buffer.
16098 * pcomplete.el (pcomplete-comint-setup): If there's a choice, replace
16099 shell-dynamic-complete-filename in preference to
16100 comint-dynamic-complete-filename.
16102 * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
16103 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
16104 Don't consider whether the display supports colors.
16105 (bookmark-import-new-list): Use dolist.
16106 (bookmark-bmenu-mode-map): Move initialization into declaration.
16107 (bookmark-bmenu-list): Use dolist, simplify.
16108 (bookmark-show-all-annotations): Use save-selected-window and dolist.
16109 (menu-bar-final-items): Use push.
16111 2009-10-28 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
16113 * vc-hg.el (vc-hg-state, vc-hg-working-revision): Use process-file so
16114 it works on remote files.
16115 (vc-hg-diff): Don't pass any `--cwd' argument.
16117 2009-10-27 Kevin Ryde <user42@zip.com.au>
16119 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
16120 Use help-xref-info-regexp and help-xref-url-regexp to identify links.
16121 (Further to Bug#3921).
16123 2009-10-27 Michael Albinus <michael.albinus@gmx.de>
16125 * net/tramp-imap.el (top): Add `X-Size' to `imap-hash-headers'.
16126 (tramp-imap-do-copy-or-rename-file): Don't use the inode, when
16127 calling `tramp-imap-put-file'. Add file size to the call.
16128 (tramp-imap-get-file-entries): Compute also user name, file size,
16130 (tramp-imap-handle-insert-directory): Insert uid and gid.
16131 (tramp-imap-handle-file-attributes): Transform uid and gid
16132 according to `id-format'.
16133 (tramp-imap-put-file): New optional parameter SIZE. Encode file
16134 size in header X-Size.
16136 2009-10-26 Juanma Barranquero <lekktu@gmail.com>
16138 * simple.el (transpose-subr): Give clearer error when the mark
16139 is not set. (Bug#4807)
16141 2009-10-26 Michael Albinus <michael.albinus@gmx.de>
16143 * net/tramp.el (tramp-perl-file-truename): New defconst.
16144 Perl code contributed by yary <not.com@gmail.com> (tiny change).
16145 (tramp-handle-file-truename, tramp-get-remote-perl): Use it.
16146 Check also for "perl-file-spec" and "perl-cwd-realpath" properties.
16147 (tramp-handle-write-region): In case of APPEND, reuse the tmpfile name.
16149 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
16150 Ignore `dired-call-process'.
16151 (tramp-imap-make-iht): Use `user' and `ssl' with `imap-hash-make'.
16153 2009-10-26 Julian Scheid <julians37@gmail.com>
16155 * net/tramp.el (tramp-perl-file-name-all-completions): New defconst.
16156 (tramp-get-remote-readlink): New defun.
16157 (tramp-handle-file-truename): Use it.
16158 (tramp-handle-file-exists-p): Check file-attributes cache, assume
16159 file exists if cache value present.
16160 (tramp-check-cached-permissions): New defun.
16161 (tramp-handle-file-readable-p): Use it.
16162 (tramp-handle-file-writable-p): Likewise.
16163 (tramp-handle-file-executable-p): Likewise.
16164 (tramp-handle-file-name-all-completions): Try using Perl to get
16165 partial completions. When perl not available, combine `cd' and
16166 `ls' into single remote operation and use shell expansion to get
16167 partial remote directory contents. Set `file-exists-p' cache for
16168 directory and any files returned by ls. Change cache handling to
16169 support partial directory contents. Use error message emitted by
16170 remote `cd' or Perl code for local tramp-error.
16171 (tramp-do-copy-or-rename-file-directly): Avoid separate
16172 tramp-send-command-and-check call.
16173 (tramp-handle-process-file): Merge three remote ops into one.
16174 Do not flush all caches when `process-file-side-effects' is set.
16175 (tramp-handle-write-region): Avoid tramp-set-file-uid-gid if
16176 file-attributes shows uid/gid to be set already.
16178 2009-10-26 Dan Nicolaescu <dann@ics.uci.edu>
16180 * textmodes/tex-mode.el (tex-dvi-view-command)
16181 (tex-show-queue-command, tex-open-quote):
16182 * progmodes/ruby-mode.el (auto-mode-alist)
16183 (interpreter-mode-alist): Purecopy strings.
16185 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Purecopy item names.
16187 * emacs-lisp/derived.el (define-derived-mode): Purecopy the doc
16188 string for the hook, keymap and abbrev table.
16190 * emacs-lisp/byte-run.el (make-obsolete): Purecopy the current name.
16192 * x-dnd.el (x-dnd-xdnd-to-action):
16193 * startup.el (fancy-startup-text, fancy-about-text): Change to
16194 defconst from defvar.
16196 * ps-print.el (ps-page-dimensions-database): Purecopy initial value.
16198 * mouse.el (mouse-buffer-menu-mode-groups, x-fixed-font-alist):
16199 Purecopy initialization strings.
16201 * mail/sendmail.el (mail-header-separator)
16202 (mail-personal-alias-file):
16203 * mail/rmail.el (rmail-default-dont-reply-to-names)
16204 (rmail-ignored-headers, rmail-retry-ignored-headers)
16205 (rmail-highlighted-headers, rmail-secondary-file-directory)
16206 (rmail-secondary-file-regexp):
16207 * files.el (null-device, file-name-invalid-regexp)
16208 (locate-dominating-stop-dir-regexp)
16209 (inhibit-first-line-modes-regexps): Purecopy initialization strings.
16210 (interpreter-mode-alist): Use mapcar instead of mapc.
16212 * buff-menu.el (Buffer-menu-mode-map): Purecopy name.
16214 * bindings.el (mode-line-major-mode-keymap): Purecopy name.
16215 (completion-ignored-extensions):
16216 (debug-ignored-errors): Purecopy strings.
16218 2009-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
16220 * pcomplete.el (pcomplete-std-complete): Obey pcomplete-use-paring.
16221 (pcomplete, pcomplete-parse-buffer-arguments, pcomplete-opt)
16222 (pcomplete--here): Use push.
16224 * subr.el (all-completions): Declare the 4th arg obsolete.
16226 2009-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
16228 * pcomplete.el (pcomplete-unquote-argument-function): New var.
16229 (pcomplete-unquote-argument): New function.
16230 (pcomplete--common-suffix): Always pay attention to case.
16231 (pcomplete--table-subvert): Quote and unquote the text.
16232 (pcomplete--common-quoted-suffix): New function.
16233 (pcomplete-std-complete): Use it and pcomplete-begin.
16235 * bookmark.el (bookmark-bmenu-list): Don't use switch-to-buffer if
16236 we're inside a dedicated or minibuffer window.
16238 2009-10-24 Karl Fogel <kfogel@red-bean.com>
16240 * bookmark.el: Update documentation, especially documentation
16241 of `bookmark-alist' and of the bookmark file format.
16242 Patch by Drew Adams, with minor tweaks from me. (Bug#4195)
16244 2009-10-24 Chong Yidong <cyd@stupidchicken.com>
16246 * mail/emacsbug.el (report-emacs-bug): Clarify that the
16247 keybindings apply to the mail buffer (Bug#4003). Shrink help
16250 * whitespace.el (whitespace-mode, whitespace-newline-mode)
16251 (global-whitespace-mode, global-whitespace-newline-mode)
16252 (whitespace-toggle-options, global-whitespace-toggle-options):
16253 Doc fix (Bug#3660).
16255 * nxml/nxml-mode.el (nxml-balanced-close-start-tag): Use the value
16256 of xmltok-start before the end tag was inserted (Bug#2840).
16258 * progmodes/sh-script.el (sh-font-lock-paren): Handle case
16259 patterns that are preceded by an open-paren (Bug#1320).
16261 2009-10-24 Sven Joachim <svenjoac@gmx.de>
16263 * files.el (delete-directory): Delete symlinks to directories with
16264 delete-file (Bug#4739).
16266 2009-10-24 Dan Nicolaescu <dann@ics.uci.edu>
16268 * vc.el (vc-backend-for-registration): Rename from
16269 vc-get-backend-for-registration. Update callers.
16271 * international/mule-cmds.el (set-language-info-alist):
16273 (leim-list-header, leim-list-entry-regexp): Change defvars to defconst.
16274 (charset): Purecopy the name.
16275 (define-char-code-property): Purecopy string arguments.
16277 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
16278 Purecopy string arguments.
16280 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
16281 * ediff-hook.el (menu-bar-ediff-menu):
16282 * buff-menu.el (Buffer-menu-mode-map): Purecopy names and tooltips.
16283 * bookmark.el (menu-bar-bookmark-map): Add :help and purecopy the name.
16285 2009-10-24 Glenn Morris <rgm@gnu.org>
16287 * comint.el (comint-dynamic-list-completions):
16288 * term.el (term-dynamic-list-completions): Use choose-completion rather
16289 than obsolete alias mouse-choose-completion.
16291 * filecache.el (file-cache-completions-keymap): Bind mouse-2 to
16292 file-cache-choose-completion.
16293 (file-cache-choose-completion): Handle an optional event argument.
16294 (file-cache-mouse-choose-completion): Make it an obsolete alias.
16296 * progmodes/octave-mod.el (octave-complete-symbol):
16297 Use choose-completion if mouse-choose-completion is ever removed.
16299 * textmodes/sgml-mode.el (sgml-looking-back-at): Move definition before
16302 * emacs-lisp/checkdoc.el (generate-autoload-cookie): Define for
16305 * vc-hooks.el (vc-responsible-backend): Fix declaration.
16307 2009-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
16309 * minibuffer.el (completion--embedded-envvar-table): Fix last change.
16310 Ignore `pred' now that we receive one.
16311 Handle test-completion specially.
16313 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
16315 * vc.el (vc-responsible-backend): Throw an error if not backend is
16316 found. Remove the REGISTER argument. Move the code dealing with
16318 (vc-get-backend-for-registration): ... here. New function.
16319 (vc-deduce-fileset): Call vc-get-backend-for-registration instead
16320 of vc-responsible-backend, pass the file name instead of the
16323 2009-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
16325 * pcomplete.el (pcomplete-common-suffix, pcomplete-table-subvert):
16327 (pcomplete-std-complete): Use them. Obey pcomplete-termination-string.
16328 (pcomplete-comint-setup): Don't modify a global var via
16329 accidental side-effects.
16330 (pcomplete-shell-setup): Adjust call accordingly.
16331 (pcomplete-parse-comint-arguments): Use push.
16333 2009-10-23 Chong Yidong <cyd@stupidchicken.com>
16335 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
16336 Allow uncapitalized info node names (Bug#3921).
16338 * mail/emacsbug.el (report-emacs-bug): Tweak the sentence pointing
16339 to the DEBUG file (Bug#3781).
16341 2009-10-23 Jari Aalto <jari.aalto@cante.net>
16343 * textmodes/ispell.el (ispell-dictionary-base-alist): Add finnish
16344 dictionary entry (Bug#4579).
16346 2009-10-23 Michael Albinus <michael.albinus@gmx.de>
16348 * net/tramp.el (top): Remove `tramp-rfn-eshadow-update-overlay'
16349 from `rfn-eshadow-update-overlay-hook' when unloading.
16350 (tramp-methods): Add `tramp-copy-keep-tmpfile' for "rsync" and
16351 "rsyncc". Adjust doc string.
16352 (tramp-temp-buffer-file-name): New buffer-local defvar.
16353 (tramp-handle-insert-file-contents, tramp-handle-write-region):
16354 Keep temporary file when indicated by method ("rsync" and
16356 (tramp-handle-write-region): Handle APPEND.
16357 (tramp-delete-temp-file-function): New defun. Added to
16358 `kill-buffer-hook'.
16360 2009-10-23 Juanma Barranquero <lekktu@gmail.com>
16362 * menu-bar.el (cua-enable-cua-keys): Declare for the byte-compiler.
16364 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
16366 * term/tty-colors.el (msdos-color-values): Remove declaration, unused.
16367 (color-name-rgb-alist, tty-standard-colors)
16368 (tty-color-mode-alist): Change to defconst.
16370 * simple.el (mark-inactive): Purecopy message.
16372 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle): Fix macro.
16373 (global-map, yank-menu):
16374 * textmodes/ispell.el (ispell-menu-map):
16375 * net/eudc.el (eudc-tools-menu):
16376 * international/mule-cmds.el (describe-language-environment-map)
16377 (setup-language-environment-map, set-coding-system-map)
16378 (mule-menu-keymap):
16379 * vc-hooks.el (vc-menu-entry, vc-menu-map):
16380 * replace.el (occur-mode-map):
16381 * pcvs-defs.el (cvs-global-menu): Purecopy names and tooltips.
16383 2009-10-23 Jay Belanger <jay.p.belanger@gmail.com>
16385 * calc/calc.el (math-read-number, math-read-number-simple):
16386 Use `save-match-data'.
16388 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
16390 * simple.el (normal-erase-is-backspace-mode): Use input-decode-map
16391 rather than fiddling with global-map bindings, since it should only
16392 affect per-terminal settings.
16393 See http://bugs.gentoo.org/show_bug.cgi?id=289709.
16395 * minibuffer.el (completion-table-with-terminator): Allow to specify
16396 the terminator-regexp.
16398 * simple.el (switch-to-completions): Look for *Completions* in other
16401 * pcomplete.el: Allow the use of completion-tables.
16402 (pcomplete-std-complete): New command.
16403 (pcomplete-dirs-or-entries): Use a single call to pcomplete-entries.
16404 (pcomplete--here): Use a function for `form' rather than an expression,
16405 so it can be byte-compiled.
16406 (pcomplete-here, pcomplete-here*): Adjust accordingly.
16407 Add edebug declaration.
16408 (pcomplete-show-completions): Remove unused var `curbuf'.
16409 (pcomplete-do-complete, pcomplete-stub):
16410 Don't assume `completions' is a list of strings any more.
16412 2009-10-22 Juanma Barranquero <lekktu@gmail.com>
16414 * find-dired.el (find-name-arg): Fix typo in docstring.
16416 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
16418 * pcmpl-linux.el (pcomplete/kill): Don't abuse pcomplete-entries.
16419 (pcmpl-linux-fs-types): Same, and update to new modules layout.
16421 * pcmpl-gnu.el (pcmpl-gnu-makefile-names): Use a single call to
16424 * comint.el (comint-read-input-ring, comint-write-input-ring)
16425 (comint-substitute-in-file-name)
16426 (comint-dynamic-complete-as-filename)
16427 (comint-dynamic-simple-complete)
16428 (comint-dynamic-list-filename-completions)
16429 (comint-dynamic-list-completions)
16430 (comint-redirect-results-list-from-process): Minor simplifications.
16432 2009-10-21 Kevin Ryde <user42@zip.com.au>
16434 * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
16435 When inserting ";;; Code" put it before any ";;;###autoload" cookie on
16436 the first form. And insert a blank line after ";;; Code" since
16437 that's usual style. (Bug#4612)
16439 * net/dns.el: Add "Keywords: comm", as per net/net-utils.el.
16441 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
16443 * minibuffer.el (completion-table-with-terminator): Properly implement
16444 boundaries, in case `terminator' appears in the suffix.
16445 (completion--embedded-envvar-table): Don't return boundaries if
16446 there's no valid completion. Simplify.
16447 (completion-file-name-table): New completion table extracted from
16448 completion--file-name-table.
16449 (completion--file-name-table): Use it.
16450 (read-file-name-predicate): Declare obsolete.
16451 (read-file-name): Use the pred arg i.s.o read-file-name-predicate.
16452 * vc-bzr.el (vc-bzr-revision-completion-table): Use the new
16453 completion-file-name-table, and use the `pred' argument.
16454 * files.el (locate-file-completion-table): Use the `pred' arg rather
16455 than read-file-name-predicate.
16456 (abbreviate-file-name): Use \` rather than ^ for BOS.
16458 2009-10-21 Dan Nicolaescu <dann@ics.uci.edu>
16460 * vc.el (vc-deduce-fileset): Undo previous change, do not tell
16461 vc-responsible-backend to register, it causes problems.
16463 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
16465 * help-fns.el: Don't require help-mode (to avoid bootstrap issues).
16467 2009-10-21 Michael Albinus <michael.albinus@gmx.de>
16469 * net/tramp-smb.el (tramp-smb-get-stat-capability): New defun.
16470 (tramp-smb-handle-file-attributes): Use it.
16471 (tramp-smb-do-file-attributes-with-stat): Don't raise an error.
16472 (tramp-smb-handle-insert-directory): Use `mapc' rather than
16473 `mapcar'. Use `tramp-smb-get-stat-capability'.
16474 Add `dired-filename' text properties.
16475 (tramp-smb-get-cifs-capabilities): Apply `save-match-data'.
16476 (tramp-smb-maybe-open-connection): Simplify check for smbclient
16479 2009-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
16481 * subr.el (read-key-delay): Reduce to 0.01.
16482 (read-key): Use read-key-sequence-vector to avoid turning M-t into 244
16485 2009-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
16487 * bindings.el (function-key-map): Map C-@ to C-SPC if C-@ is unbound.
16489 * info.el (Info-complete-menu-item): Handle `boundaries' explicitly.
16490 (Info-menu): Remove unused vars `last' and `completions'.
16491 (Info-index-nodes): Remove unused var `node'.
16493 * info.el (Info-complete-menu-item): Use complete-with-action.
16495 2009-10-19 Dan Nicolaescu <dann@ics.uci.edu>
16497 Make vc-annotate work through copies and renames.
16498 * vc-annotate.el (vc-annotate-extract-revision-at-line):
16499 Return the file name too.
16500 (vc-annotate-revision-at-line)
16501 (vc-annotate-find-revision-at-line)
16502 (vc-annotate-revision-previous-to-line)
16503 (vc-annotate-show-log-revision-at-line): Update to get the file
16504 name from vc-annotate-extract-revision-at-line.
16505 (vc-annotate-show-diff-revision-at-line-internal): Change the
16506 argument to mean whether to show a file diff or not. Get the file
16507 name from vc-annotate-extract-revision-at-line.
16508 (vc-annotate-show-diff-revision-at-line):
16509 Update vc-annotate-show-diff-revision-at-line call.
16510 (vc-annotate-warp-revision): Add an optional file argument.
16512 * vc-git.el (vc-git-annotate-command): Pass -C -C to the blame command.
16513 (vc-git-annotate-extract-revision-at-line): Also return the file
16516 * vc-hg.el (vc-hg-annotate-command): Pass --follow to the annotate
16517 command. Remove unused code.
16518 (vc-hg-annotate-re): Update to match --follow output.
16519 (vc-hg-annotate-extract-revision-at-line): Also return the file
16522 * vc.el: Update annotate-extract-revision-at-line documentation.
16524 2009-10-18 Kevin Ryde <user42@zip.com.au>
16526 * ibuffer.el (ibuffer-confirm-operation-on): Correction to error
16527 re-throw, `err' is a pair not a list so can't use apply (Bug#4740).
16529 * net/browse-url.el (browse-url): Identify alist with "consp and
16530 not functionp" and let all other things go down the `apply' leg,
16531 as suggested by Stefan. (Further to bug#4531.)
16533 2009-10-18 Chong Yidong <cyd@stupidchicken.com>
16535 * minibuffer.el (read-file-name): Check for repeat before putting
16536 a default argument in file-name-history (Bug#4657).
16538 * emacs-lisp/lisp-mode.el (preceding-sexp): Recognize hash table
16539 read syntax (Bug#4737).
16541 * textmodes/sgml-mode.el (sgml-delete-tag): Use sgml-looking-back-at.
16543 2009-10-18 Aaron S. Hawley <aaron.s.hawley@gmail.com>
16545 * textmodes/sgml-mode.el (sgml-tag-help): Prompt user for tag.
16546 (html-tag-alist, html-tag-help): Add descriptions for undocumented
16547 entries and make note of obsolete tags.
16549 2009-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
16551 * net/ange-ftp.el (ange-ftp-file-size): Use unwind-protect.
16553 2009-10-18 Glenn Morris <rgm@gnu.org>
16555 * Makefile.in (compile-last): Ensure GREP_OPTIONS is null before calling
16556 grep, so that binary files (eg international/uni-bidi.el) can match.
16557 Remove test for "UnicodeData" files, since it is hopefully unnecessary
16558 now, and in any case the file header format has changed.
16560 2009-10-17 Glenn Morris <rgm@gnu.org>
16562 * textmodes/flyspell.el (flyspell-large-region, flyspell-word)
16563 (flyspell-get-word, flyspell-large-region)
16564 (flyspell-auto-correct-previous-word): Doc/error message fixes.
16566 2009-10-17 Chong Yidong <cyd@stupidchicken.com>
16568 * Makefile.in (ELCFILES): Add ede/shell.
16570 2009-10-17 Dan Nicolaescu <dann@ics.uci.edu>
16572 * term/common-win.el (x-colors): Purecopy it.
16574 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
16576 * tar-mode.el (tar-data-swapped-p): Make the assertion a bit more
16577 permissive for when the buffer is empty.
16578 (tar-header-block-tokenize): Decode the username and groupname.
16579 (tar-chown-entry, tar-chgrp-entry): Encode the names (bug#4730).
16581 2009-10-17 Eric Ludlam <zappo@gnu.org>
16583 * emacs-lisp/eieio-base.el (eieio-persistent-save): If buffer
16584 contains multibyte characters, choose first applicable coding
16585 system automatically.
16587 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
16589 * international/mule-cmds.el (select-safe-coding-system): If the file
16590 has a coding cookie, use it regardless of any other setting (bug#4712).
16592 2009-10-17 Glenn Morris <rgm@gnu.org>
16594 * foldout.el (foldout-mouse-swallow-events):
16595 * gs.el (gs-load-image): Replace obsolete forms of sit-for, sleep-for.
16597 * dired.el (dired-ls-F-marks-symlinks, dired-keep-marker-rename)
16598 (dired-keep-marker-copy, dired-keep-marker-hardlink)
16599 (dired-keep-marker-symlink, dired-dwim-target)
16600 (dired-copy-preserve-time): Do not autoload these defcustoms.
16602 * mail/rmail.el (rmail-write-region-annotate): Prevent viewing different
16603 messages from messing up the file coding. (Bug#4623)
16605 2009-10-17 Jari Aalto <jari.aalto@cante.net>
16607 * textmodes/ispell.el (ispell-get-decoded-string): Give an error
16608 if no match is found for the current dictionary. (Bug#4578)
16610 * textmodes/flyspell.el (flyspell-get-word): Make `following' argument
16611 optional, since that is how it is documented, and this is often called
16612 with a nil argument. (Bug#4577)
16613 (flyspell-external-point-words, flyspell-auto-correct-word)
16614 (flyspell-correct-word-before-point, flyspell-word-search-forward)
16615 (flyspell-word-search-backward): Remove nil argument in calls to
16616 flyspell-get-word, since it is not needed now.
16618 2009-10-17 Ulrich Mueller <ulm@gentoo.org>
16620 * play/doctor.el (doctor-adverbp): Exclude some nouns. (Bug#4565)
16622 2009-10-16 Glenn Morris <rgm@gnu.org>
16624 * net/rcirc.el (rcirc-authenticate): Simplify previous change.
16626 2009-10-16 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
16628 * net/ange-ftp.el (ange-ftp-send-cmd): Handle `size' like `mdtm'.
16629 (ange-ftp-file-size): New function.
16630 (ange-ftp-file-attributes): Use it.
16632 2009-10-16 Michael Albinus <michael.albinus@gmx.de>
16634 * net/tramp-smb.el (tramp-smb-version): New defvar.
16635 (tramp-smb-maybe-open-connection): Use it, in order to avoid
16638 2009-10-16 Glenn Morris <rgm@gnu.org>
16640 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Doc fix.
16641 Maybe copy some custom properties from old to new name. (Bug#4706)
16643 2009-10-16 Juanma Barranquero <lekktu@gmail.com>
16645 * subr.el (error, sit-for, start-process-shell-command)
16646 (start-file-process-shell-command): Set the calling convention
16647 after the function definition.
16649 2009-10-16 Stefan Monnier <monnier@iro.umontreal.ca>
16651 * subr.el (error, sit-for, start-process-shell-command)
16652 (start-file-process-shell-command): Use the new
16653 set-advertised-calling-convention feature.
16655 2009-10-16 Taichi Kawabata <kawabata.taichi@gmail.com>
16657 * international/ucs-normalize.el (ucs-normalize-version):
16659 (check-range): Adjust for Unicode 5.2.
16661 2009-10-15 Juri Linkov <juri@jurta.org>
16663 * menu-bar.el (menu-bar-file-menu): Convert `separator-exit'
16664 to the `menu-item' format.
16666 2009-10-15 Michael Albinus <michael.albinus@gmx.de>
16668 * net/tramp.el (tramp-replace-environment-variables): Do not fail
16669 if the environment variable does not exist.
16671 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
16672 (tramp-smb-get-share, tramp-smb-get-localname): Use only VEC as
16674 (tramp-smb-handle-add-name-to-file)
16675 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
16676 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
16677 (tramp-smb-handle-file-attributes)
16678 (tramp-smb-do-file-attributes-with-stat)
16679 (tramp-smb-handle-file-local-copy)
16680 (tramp-smb-handle-insert-directory)
16681 (tramp-smb-handle-make-directory)
16682 (tramp-smb-handle-make-directory-internal)
16683 (tramp-smb-handle-make-symbolic-link)
16684 (tramp-smb-handle-rename-file, tramp-smb-handle-set-file-modes)
16685 (tramp-smb-handle-write-region, tramp-smb-get-file-entries)
16686 (tramp-smb-maybe-open-connection): Apply the changed parameters.
16687 (tramp-smb-read-file-entry): Read Disk names in compressed format.
16688 Handle long file names.
16689 (tramp-smb-get-cifs-capabilities): Check, whether the connection
16690 process is running.
16691 (tramp-smb-maybe-open-connection): Trace "smbclient -V" command.
16692 Read share names with "-g" option.
16694 2009-10-15 Ryan Yeske <rcyeske@gmail.com>
16696 * net/rcirc.el (rcirc-view-log-file): New command.
16697 (rcirc-track-minor-mode-map): Remove C-c ` binding.
16698 (rcirc-authenticate, rcirc-authinfo): Allow nickserv-nick to be
16701 2009-10-15 Glenn Morris <rgm@gnu.org>
16703 * w32-fns.el (w32-batch-update-autoloads): Take autoload-make-program
16704 from the second command-line argument.
16705 * makefile.w32-in (autoloads, $(lisp)/calendar/cal-loaddefs.el)
16706 ($(lisp)/calendar/diary-loaddefs.el, $(lisp)/calendar/hol-loaddefs.el)
16707 ($(lisp)/mh-e/mh-loaddefs.el): Pass $(MAKE) as second argument to
16708 w32-batch-update-autoloads.
16709 * emacs-lisp/autoload.el (autoload-make-program): New variable.
16710 (batch-update-autoloads): Handle autoload-excludes on windows-nt.
16712 * mail/rmailedit.el (rmail-cease-edit): Give an error if the end of
16713 the headers cannot be located. Simplify, subtracting superflous
16716 2009-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
16718 Replace completion-base-size by completion-base-position to fix bugs
16719 such as (bug#4699).
16720 * simple.el (completion-base-position): New var.
16721 (completion-base-size): Mark as obsolete.
16722 (choose-completion): Make it work for mouse events as well.
16723 Pass the new base-position to choose-completion-string.
16724 (choose-completion-guess-base-position): New function, extracted from
16725 choose-completion-delete-max-match.
16726 (choose-completion-delete-max-match): Use it. Make obsolete.
16727 (choose-completion-string): Use the new base-position info.
16728 (completion-root-regexp): Delete.
16729 (completion-setup-function): Preserve completion-base-position.
16730 Eliminate obsolete base-size manipulation.
16731 * minibuffer.el (display-completion-list): Don't mess with base-size.
16732 (minibuffer-completion-help): Set completion-base-position instead.
16733 * mouse.el (mouse-choose-completion): Redefine as a mere alias to
16735 * textmodes/bibtex.el (bibtex-complete):
16736 * emacs-lisp/crm.el (crm--choose-completion-string):
16737 Adjust to new calling convention.
16738 * complete.el (partial-completion-mode): Use minibufferp to avoid
16739 bumping into incompatible change to choose-completion-string-functions.
16740 * ido.el (ido-choose-completion-string): Make its calling convention
16742 * comint.el (comint-dynamic-list-input-ring-select): Remove obsolete
16743 base-size manipulation.
16744 (comint-dynamic-list-input-ring): Use dotimes and push.
16745 * iswitchb.el (iswitchb-completion-help): Remove dead-code call to
16746 fundamental-mode. Use `or'.
16748 2009-10-14 Juri Linkov <juri@jurta.org>
16750 * misearch.el (multi-isearch-next-buffer-from-list)
16751 (multi-isearch-next-file-buffer-from-list): Doc fix. (Bug#4723)
16753 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
16755 * Makefile.in (compile-onefile): Load `bytecomp' rather than
16758 * minibuffer.el (completion-pcm--merge-completions): Make sure the
16759 string we return is all made up of text from the completions rather
16760 than part from the completions and part from the input (bug#4219).
16762 * ido.el (ido-everywhere): Use define-minor-mode.
16764 * buff-menu.el (list-buffers, ctl-x-map):
16765 Mark the entry points with ;;;###autoload cookies.
16767 2009-10-14 Dan Nicolaescu <dann@ics.uci.edu>
16769 * vc-git.el (vc-git-dir-extra-headers): Set the branch name
16770 correctly in the detached head case.
16771 (vc-git-print-log): Remove unused binding.
16773 * vc.el (vc-responsible-backend): When a directory is passed for
16774 for registration create a VC repository if no backend is
16775 responsible for the directory argument.
16776 (vc-deduce-fileset): Tell vc-responsible-backend to register.
16778 * vc.el: Move comments about RCS and SCCS ...
16780 * vc-sccs.el: ... here, respectively.
16782 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
16784 * minibuffer.el (completion--file-name-table): Return nil if there's
16785 no file completion, even if substitute-in-file-name changed
16786 the string (bug#4708).
16788 2009-10-13 Juri Linkov <juri@jurta.org>
16790 * files-x.el (read-file-local-variable-value): Don't filter out
16791 minor modes from mode name completion (bug#4664).
16793 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
16795 * international/mule-cmds.el (ucs-names): Remove exclusion of
16796 "Enclosed Ideographic Supplement" range (U+1F200..U+1F2FF).
16798 2009-10-13 Kenichi Handa <handa@m17n.org>
16800 * international/uni-name.el: Regenerated.
16802 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
16804 * bs.el (bs-mode): Fix last change. (`revert-buffer-function'
16805 should be automatically buffer-local, but isn't.)
16807 2009-10-12 Sam Steingold <sds@gnu.org>
16809 * progmodes/compile.el (compilation-next-error-function): Fix the
16810 timestamps if the buffer has been visited before.
16811 (compilation-mode-font-lock-keywords): Do not prepend "^ *" to
16812 non-anchored patterns, like the perl one (bug#3928).
16814 2009-10-12 Glenn Morris <rgm@gnu.org>
16816 * net/tramp-smb.el (tramp-smb-do-file-attributes-with-stat):
16819 2009-10-12 Juanma Barranquero <lekktu@gmail.com>
16821 * proced.el (proced-unload-function): New function.
16823 * bs.el (bs-mode): Set `revert-buffer-function' to `bs-refresh'.
16824 (bs-refresh): Add IGNORED arg for `revert-buffer' compatibility.
16827 * menu-bar.el (menu-bar-file-menu): Fix format of `separator-exit' item.
16829 2009-10-11 Juri Linkov <juri@jurta.org>
16831 * files-x.el (read-file-local-variable-value):
16832 Provide default value only for bound variables (bug#4664).
16834 2009-10-11 Michael Albinus <michael.albinus@gmx.de>
16836 * net/tramp.el (tramp-local-host-p): Function shall return nil for
16837 connection methods like smb.
16839 * net/tramp-cache.el (tramp-flush-connection-property): The hash
16842 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
16843 (tramp-smb-file-name-handler-alist): Add handlers for
16844 `add-name-to-file', `make-symbolic-link'.
16845 (tramp-smb-handle-add-name-to-file)
16846 (tramp-smb-do-file-attributes-with-stat)
16847 (tramp-smb-handle-make-symbolic-link)
16848 (tramp-smb-get-cifs-capabilities): New defuns.
16849 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
16850 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
16851 (tramp-smb-handle-file-local-copy)
16852 (tramp-smb-handle-make-directory-internal)
16853 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
16854 The file name syntax depends on cifs capabilities.
16855 (tramp-smb-handle-file-attributes):
16856 Call `tramp-smb-do-file-attributes-with-stat' if possible.
16857 (tramp-smb-handle-insert-directory): Use posix attributes if possible.
16858 (tramp-smb-handle-set-file-modes): It is applicable for posix only.
16860 2009-10-11 Chong Yidong <cyd@stupidchicken.com>
16862 * emacs-lisp/eieio.el: Avoid requiring cl at runtime.
16863 (eieio-defclass): Apply deftype handler and setf-method properties
16865 (eieio-add-new-slot): Avoid union function from cl library.
16866 (eieio--typep): New function.
16867 (eieio-perform-slot-validation): Use it.
16869 2009-10-10 Karl Fogel <kfogel@red-bean.com>
16871 * bookmark.el (bookmark-yank-word, bookmark-insert-current-bookmark):
16872 Update documentation to refer to the variables documented in r1.135.
16875 2009-10-10 Karl Fogel <kfogel@red-bean.com>
16877 * bookmark.el (Info-suffix-list): Remove this unused variable.
16878 (bookmark-current-point): Remove this obsolete variable.
16879 (bookmark-set, bookmark-rename, bookmark-send-edited-annotation):
16880 Adjust for removal of bookmark-current-point.
16882 (bookmarks-already-loaded, bookmark-current-buffer)
16883 (bookmark-yank-point): Document. (Bug#4188)
16885 2009-10-10 Glenn Morris <rgm@gnu.org>
16887 * frame.el (frame-height): Doc fix.
16889 * calendar/calendar.el (calendar-split-width-threshold): New option.
16890 (calendar-basic-setup): Use calendar-split-width-threshold.
16892 2009-10-09 Juanma Barranquero <lekktu@gmail.com>
16894 * international/mule-cmds.el (ucs-names): Exclude new "Enclosed
16895 Ideographic Supplement" range (U+1F200..U+1F2FF).
16897 2009-10-09 Karl Fogel <kfogel@red-bean.com>
16899 * bookmark.el (bookmark-bmenu-rename): Don't call bookmark-bmenu-list,
16900 since the list will have been rebuilt anyway. (Bug#4349)
16902 2009-10-09 Karl Fogel <kfogel@red-bean.com>
16904 * bookmark.el (bookmark-delete): Don't let batch arg prevent saving.
16905 (bookmark-bmenu-execute-deletions): Don't save here, as
16906 bookmark-delete will now do so if necessary.
16907 Suggested by Thierry Volpiatto <thierry.volpiatto {_AT_} gmail.com>.
16910 2009-10-09 Glenn Morris <rgm@gnu.org>
16912 * mail/emacsbug.el (report-emacs-bug): Also print `features'.
16914 2009-10-09 Karl Fogel <kfogel@red-bean.com>
16916 * bookmark.el (bookmark-jump): Add new `display-func' parameter.
16917 (bookmark-jump-other-window): Just invoke bookmark-jump with new
16918 argument now, so the two function's behaviors will match. (Bug#3645)
16920 2009-10-08 Michael Albinus <michael.albinus@gmx.de>
16922 * net/tramp.el (tramp-file-name-real-user, tramp-file-name-domain)
16923 (tramp-file-name-real-host, tramp-file-name-port):
16924 Apply `save-match-data'.
16926 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Handle the
16927 case both directories are remote.
16928 (tramp-smb-handle-expand-file-name): Implement "~" expansion.
16929 (tramp-smb-maybe-open-connection): Flush the cache only if necessary.
16931 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
16933 * makefile.w32-in (WINS_UPDATES): Fix typo in previous change.
16935 2009-10-07 Glenn Morris <rgm@gnu.org>
16937 * emacs-lisp/autoload.el (batch-update-autoloads): Remove useless use
16940 2009-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
16942 * files-x.el (read-file-local-variable): Include some
16943 non-user-variables in the completion table (bug#4664).
16945 2009-10-07 Michael Albinus <michael.albinus@gmx.de>
16947 * net/tramp-cache.el (tramp-flush-connection-property): Add trace
16950 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
16951 (tramp-smb-file-name-handler-alist): Add handler for
16952 `copy-directory', `expand-file-name', `set-file-modes'.
16953 (tramp-smb-handle-copy-directory)
16954 (tramp-smb-handle-expand-file-name)
16955 (tramp-smb-handle-set-file-modes): New defuns.
16956 (tramp-smb-handle-copy-file): Handle KEEP-DATE.
16957 (tramp-smb-handle-file-attributes): Simplify check for retrieving
16959 (tramp-smb-handle-insert-directory): Don't flush the cache.
16960 (tramp-smb-maybe-open-connection): Check for samba client and
16963 2009-10-07 Eli Zaretskii <eliz@gnu.org>
16965 * emacs-lisp/autoload.el (batch-update-autoloads): Fix last change
16966 to not error out of search for "^lisp=" fails.
16968 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
16970 * makefile.w32-in (WINS_UPDATES): New macro.
16971 (custom-deps, finder-data, autoloads): Use it.
16973 2009-10-07 Glenn Morris <rgm@gnu.org>
16975 * Makefile.in (autoloads): Revert previous change.
16976 * emacs-lisp/autoload.el (batch-update-autoloads): Rather than having
16977 the list of preloaded files passed on the command-line, get
16978 it from src/Makefile.
16980 * calendar/calendar.el (calendar-basic-setup): In the wide frame case,
16981 show the original buffer rather than a random one.
16983 2009-10-07 Markus Rost <rost@math.uni-bielefeld.de>
16985 * help.el (describe-no-warranty): Place point in a slightly better
16986 position in the GPLv3 text.
16988 2009-10-06 Sam Steingold <sds@gnu.org>
16990 * net/tramp-compat.el (tramp-compat-process-running-p): Check that
16991 the comm attribute is present before calling regexp-quote.
16993 2009-10-06 Juanma Barranquero <lekktu@gmail.com>
16995 * play/animate.el (animate-string): For good effect, make sure
16996 `indent-tabs-mode' and `show-trailing-whitespace' are nil.
16998 * play/animate.el (animate-sequence, animate-birthday-present):
16999 * misc.el (butterfly): Don't set `indent-tabs-mode'.
17001 2009-10-06 Glenn Morris <rgm@gnu.org>
17003 * emacs-lisp/byte-run.el (define-obsolete-face-alias): Doc fix.
17005 * emacs-lisp/autoload.el (autoload-excludes): New variable.
17006 (autoload-generate-file-autoloads): Skip files in autoload-excludes.
17007 (batch-update-autoloads): Process a string value of autoload-excludes,
17008 set during the build process.
17009 * Makefile.in (autoloads): Skip preloaded files. (Bug#4446)
17011 * net/tramp.el (tramp-handle-start-file-process): Move tramp-error call
17012 inside with-parsed... macro so that `v' is defined.
17014 * progmodes/f90.el (f90-end-of-block, f90-beginning-of-block):
17015 * progmodes/fortran.el (fortran-end-of-block)
17016 (fortran-beginning-of-block):
17017 Also push mark in the macro case.
17019 * emerge.el (emerge-show-file-name):
17020 * calc/calc.el (calc-quit):
17021 * calc/calc-misc.el (calc-big-or-small):
17022 * calc/calc-graph.el (calc-graph-view):
17023 * calc/calc-ext.el (calc-reset):
17024 * calendar/calendar.el (calendar-basic-setup):
17025 Use window-full-height-p.
17027 * mail/rmailedit.el (rmail-cease-edit): If there is a Content-Type
17028 header we don't understand, don't insert another. (Bug#4624)
17029 If changing mime charset, insert the new one in the right place.
17031 2009-10-06 Matthew Junker <matthew.junker@sbcglobal.net> (tiny change)
17033 * calendar/cal-tex.el (cal-tex-cursor-month-landscape)
17034 (cal-tex-cursor-month): Correctly increment the end date for diary and
17035 holiday listing. (Bug#4626)
17037 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
17039 * help-fns.el (describe-function-1): Don't burp if the function is not
17042 2009-10-05 Juanma Barranquero <lekktu@gmail.com>
17044 * emacs-lisp/chart.el (chart-face-pixmap-list, chart-new-buffer, chart)
17045 (chart-axis-range, chart-axis-names, chart-sequece, chart-bar)
17046 (chart-draw, chart-axis-draw, chart-sort, chart-sort-matchlist)
17047 (chart-draw-line, chart-bar-quickie): Fix typos in docstrings.
17049 * emacs-lisp/eieio.el (generic-p, eieiomt-next, eieio-generic-form)
17050 (eieio-default-superclass): Reflow docstrings.
17051 (this, class-option-assoc, defclass, eieio-class-un-autoload)
17052 (eieio-unbind-method-implementations, defmethod)
17053 (eieio-validate-slot-value, eieio-validate-class-slot-value)
17054 (oref-default, eieio-oref-default, eieio-oset, eieio-oset-default)
17055 (with-slots, eieio-add-new-slot, object-assoc, object-remove-from-list)
17056 (eieio-slot-originating-class-p, eieio-slot-name-index)
17057 (eieio-pre-method-execution-hooks, eieio-initarg-to-attribute)
17058 (constructor, initialize-instance, no-next-method, object-print)
17059 (object-write, eieio-override-prin1, eieio-edebug-prin1-to-string):
17060 Fix typos in docstrings.
17061 (eieio-defclass, eieio-perform-slot-validation-for-default, defgeneric)
17062 (child-of-class-p, object-slots, slot-boundp, slot-exists-p)
17063 (next-method-p): Doc fixes.
17064 (eieio-add-new-slot, call-next-method, eieiomt-add, change-class):
17065 Fix typos in error messages.
17066 (eieio-defmethod): Fix typo in description of generic method.
17068 * emacs-lisp/eieio-base.el (eieio-instance-inheritor, slot-unbound)
17069 (eieio-persistent-save-interactive, slot-missing):
17070 Fix typos in docstrings.
17071 (eieio-instance-inheritor-slot-boundp): Doc fix.
17073 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod)
17074 (byte-compile-defmethod-param-convert): Fix typos in docstrings.
17076 * emacs-lisp/eieio-custom.el (eieio-done-customizing)
17077 (eieio-custom-object-apply-reset):
17078 Fix typos in docstrings and error messages.
17080 * emacs-lisp/eieio-datadebug.el (data-debug-show):
17081 Fix typo in docstring.
17083 * emacs-lisp/eieio-opt.el (top): Fix typo in error message.
17084 (eieio-browse-tree): Doc fix.
17085 (eieio-all-generic-functions, eieio-class-speedbar): Reflow docstrings.
17086 (eieio-help-mode-augmentation-maybee, eieio-class-speedbar-make-map):
17087 Fix typos in docstrings.
17089 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-file-button): Doc fix.
17090 (eieio-speedbar-key-map, eieio-speedbar-create-engine)
17091 (eieio-speedbar-buttons, eieio-speedbar, eieio-speedbar-object-children)
17092 (eieio-speedbar-make-tag-line, eieio-speedbar-object-expand):
17095 2009-10-05 Dan Nicolaescu <dann@ics.uci.edu>
17097 * vc-hg.el (log-view-vc-backend): Declare for compiler.
17098 (vc-hg-outgoing-mode, vc-hg-incoming-mode):
17099 Set log-view-vc-backend so that diff can work.
17101 * log-view.el (log-view-diff): Use vc-diff-internal instead of
17103 (vc-diff-internal): Autoload this instead of vc-version-diff.
17105 2009-10-05 Eli Zaretskii <eliz@gnu.org>
17107 * simple.el (eval-expression): Doc fix.
17109 * progmodes/cwarn.el (cwarn-mode): Doc fix.
17111 2009-10-05 Michael Albinus <michael.albinus@gmx.de>
17113 * files.el (directory-files-no-dot-files-regexp): New defconst.
17114 (delete-directory): Use it.
17115 (copy-directory): Use it. Remove parameter PRESERVE-UID-GID.
17117 * net/tramp.el (tramp-verbose): Fix docstring.
17118 (tramp-methods): Add recursive option to `tramp-copy-args'.
17119 Add `tramp-copy-recursive'. Valid for "rcp", "scp", "scp1", "scp2",
17120 "scp1_old", "scp2_old", "rsync", "rsyncc".
17121 (tramp-default-method): Check also for `auth-source-user-or-password'.
17122 (tramp-file-name-handler-alist, tramp-file-name-for-operation):
17123 Add handler for `copy-directory'.
17124 (tramp-handle-copy-directory): New defun.
17125 (tramp-do-copy-or-rename-file-out-of-band): Handle directory case.
17126 (tramp-handle-start-file-process): Raise an error when PROGRAM is nil.
17127 Optimize sent command.
17129 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
17131 * calendar/diary-lib.el (diary-show-all-entries): Re-fit the calendar
17132 window if necessary.
17134 * calendar/calendar.el (calendar-basic-setup): Don't call
17135 switch-to-buffer in a dedicated window.
17137 2009-10-05 Karl Fogel <kfogel@red-bean.com>
17139 * bookmark.el (bookmark-handle-bookmark): If bookmark has no file,
17140 don't do anything related to relocating, just return nil.
17141 (bookmark-error-no-filename): New error.
17142 (bookmark-default-handler): Signal `bookmark-error-no-filename' if
17143 bookmark has no file. Don't even attempt to handle things that
17144 are not files; the whole point of custom handlers is to keep that
17145 knowledge elsewhere anyway. Tighten some comments.
17146 (bookmark-file-or-variation-thereof): Remove now-unused function.
17147 (bookmark-location): Doc string fix.
17150 2009-10-04 Karl Fogel <kfogel@red-bean.com>
17152 * bookmark.el (bookmark-handle-bookmark): When relocating a bookmark,
17153 don't use a file dialog, because they usually don't know how to read
17154 a directory target from the user. (Bug#4230)
17155 Also, make sure the prompt can display directories as well as files.
17157 2009-10-04 Karl Fogel <kfogel@red-bean.com>
17159 * bookmark.el (bookmark-set, bookmark-buffer-name):
17160 Improve doc strings. (Bug#1193)
17162 2009-10-04 Karl Fogel <kfogel@red-bean.com>
17164 * bookmark.el (bookmark-get-bookmark, bookmark-get-bookmark-record)
17165 (bookmark-set-name, bookmark-prop-get, bookmark-prop-set)
17166 (bookmark-get-annotation, bookmark-set-annotation)
17167 (bookmark-get-filename, bookmark-set-filename, bookmark-get-position)
17168 (bookmark-set-position, bookmark-get-front-context-string)
17169 (bookmark-set-front-context-string, bookmark-get-rear-context-string)
17170 (bookmark-set-rear-context-string, bookmark-location, bookmark-jump)
17171 (bookmark-jump-other-window, bookmark-handle-bookmark)
17172 (bookmark-relocate, bookmark-insert-location, bookmark-rename)
17173 (bookmark-insert, bookmark-delete, bookmark-time-to-save-p)
17174 (bookmark-edit-annotation-mode, bookmark-edit-annotation):
17175 Improve doc strings to say whether bookmark can be a string or
17176 a record or both, and make other consistency and clarity fixes.
17177 (bookmark-get-handler, bookmark--jump-via, bookmark-write-file)
17178 (bookmark-default-annotation-text, bookmark-yank-word)
17179 (bookmark-maybe-load-default-file, bookmark-maybe-sort-alist)
17180 (bookmark-import-new-list, bookmark-maybe-rename)
17181 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
17182 (bookmark-bmenu-bookmark): Give these doc strings.
17183 (bookmark-bmenu-check-position): Give this a doc string, but also
17184 add a FIXME comment about how the function may be pointless.
17185 (bookmark-default-handler): Rework doc string and change a
17186 parameter name, to clarify that this takes a bookmark record
17187 not a bookmark name.
17188 (bookmark-set): Change a parameter name to indicate its meaning,
17189 and improve the doc string a bit.
17192 2009-10-04 Karl Fogel <kfogel@red-bean.com>
17194 * bookmark.el (bookmark-alist): Document the new `handler' element
17195 in the param alist.
17196 (bookmark-make-record-function): Adjust documentation for above.
17199 2009-10-04 Karl Fogel <kfogel@red-bean.com>
17201 * info.el (Info-bookmark-make-record): Document this function.
17202 (Info-bookmark-jump): Document with a doc string, not just a comment.
17205 2009-10-04 Michael Albinus <michael.albinus@gmx.de>
17207 * files.el (copy-directory): New defun.
17209 * dired-aux.el (dired-copy-file-recursive): Use it.
17211 2009-10-04 Juanma Barranquero <lekktu@gmail.com>
17213 * files-x.el (modify-dir-local-variable)
17214 (copy-dir-locals-to-file-locals-prop-line): Fix typos in
17217 * recentf.el (recentf-unload-function): New function.
17219 2009-10-04 Glenn Morris <rgm@gnu.org>
17221 * window.el (window-full-height-p): Add doc string.
17223 2009-10-04 Martin Rudalics <rudalics@gmx.at>
17225 * window.el (window-full-height-p): New function. (Bug#4543)
17227 2009-10-03 Dan Nicolaescu <dann@ics.uci.edu>
17229 * vc.el: Remove commented out code.
17230 (vc-derived-from-dir-mode): Remove, unused.
17231 (vc-version-diff, vc-diff): Consistently pass t to vc-deduce-fileset.
17233 2009-10-03 Michael Albinus <michael.albinus@gmx.de>
17235 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
17236 Disable `file-name-handler-alist' when loading 'ange-ftp. Otherwise,
17237 there could be recursive loading when `default-directory' is a
17238 remote file name. (Bug#4614)
17240 2009-10-03 Glenn Morris <rgm@gnu.org>
17242 * calendar/calendar.el (calendar-basic-setup): Handle the case where
17244 (calendar-generate-window): Test for shrinkability rather than width.
17246 * mail/rmail.el (rmail-generate-viewer-buffer): Be more careful about
17247 reusing existing buffers, in case we happen to visit two files with the
17248 same basename. (Bug#4593)
17250 2009-10-02 Eli Zaretskii <eliz@gnu.org>
17252 * makefile.w32-in (update-subdirs-CMD): Add cedet to $(WINS_SUBDIR).
17253 (WINS_CEDET_SUBDIRS): List of subdirectories of cedet.
17254 (bootstrap-clean-CMD, bootstrap-clean-SH): Remove *.elc files in
17255 subdirs of cedet as well.
17256 (AUTOGENEL): Add loaddefs.el files in cedet subdirectories.
17258 2009-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
17260 * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string):
17261 Obey advertised-signature-table.
17263 * help-fns.el (help-function-arglist): Don't check
17264 advertised-signature-table.
17265 (describe-function-1): Do it here instead so it also applies to subrs.
17267 2009-10-02 Michael Albinus <michael.albinus@gmx.de>
17269 * simple.el (start-file-process): Say in the doc-string, that file
17270 handlers might not support pty association, if PROGRAM is nil.
17272 * net/ange-ftp.el (ange-ftp-generate-passwd-key): Check, whether
17273 HOST and USER are strings. They are nil, when there are
17274 incomplete entries in ~/.netrc, for example.
17275 (ange-ftp-delete-directory): Implement RECURSIVE case. Change to
17276 root directory ("device busy" error otherwise).
17278 * net/tramp-smb.el (tramp-smb-handle-make-directory-internal):
17279 Flush file properties of created directory.
17281 2009-10-02 Eli Zaretskii <eliz@gnu.org>
17283 * makefile.w32-in (WINS_BASIC): Remove cedet.
17284 (WINS_CEDET): Add cedet.
17285 (update-subdirs-SH): Use $(WINS_SUBDIR), not $(WINS).
17287 2009-10-02 Kevin Ryde <user42@zip.com.au>
17289 * net/browse-url.el (browse-url): Pass any symbol in
17290 browse-url-browser-function to `apply', since if you've mistakenly put
17291 an unbound symbol then the error is clearer. (Bug#4531)
17293 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
17295 * allout.el (allout-init, allout-back-to-current-heading)
17296 (allout-beginning-of-current-entry, allout-ascend-to-depth)
17297 (allout-ascend, allout-up-current-level, allout-end-of-level)
17298 (allout-previous-visible-heading, allout-forward-current-level)
17299 (allout-backward-current-level, allout-show-children):
17300 * apropos.el (apropos-describe-plist):
17301 * bookmark.el (bookmark-maybe-historicize-string, bookmark-bmenu-list):
17302 * comint.el (comint-strip-ctrl-m, comint-goto-process-mark):
17303 * completion.el (add-completion, add-permanent-completion):
17304 * descr-text.el (describe-text-category, describe-char):
17305 * desktop.el (desktop-lazy-abort):
17306 * dired-x.el (dired-omit-expunge, dired-x-bind-find-file):
17307 * dired.el (dired-build-subdir-alist):
17308 * ediff.el (ediff-version):
17309 * elide-head.el (elide-head, elide-head-show):
17310 * emerge.el (emerge-version):
17312 * face-remap.el (variable-pitch-mode):
17313 * faces.el (describe-face):
17314 * ffap.el (ffap-next-url, find-file-at-point, ffap-at-mouse)
17316 * files.el (find-file-existing, auto-save-mode):
17317 * font-lock.el (font-lock-fontify-buffer):
17318 * help-fns.el (describe-function, describe-variable)
17319 (describe-syntax, describe-categories):
17320 * help.el (view-lossage, describe-bindings, describe-key)
17322 * hexl.el (hexl-current-address):
17323 * hi-lock.el (hi-lock-mode, hi-lock-find-patterns):
17324 * info.el (Info-goto-emacs-key-command-node):
17325 * log-edit.el (log-edit-insert-cvs-template)
17326 (log-edit-insert-cvs-rcstemplate):
17327 * menu-bar.el (menu-bar-mode):
17328 * mouse.el (mouse-appearance-menu):
17329 * newcomment.el (comment-indent-new-line):
17330 * pgg.el (pgg-save-coding-system, pgg-encrypt-region)
17331 (pgg-encrypt-symmetric-region, pgg-encrypt-symmetric)
17332 (pgg-encrypt, pgg-decrypt-region, pgg-decrypt)
17333 (pgg-sign-region, pgg-sign, pgg-verify-region, pgg-verify):
17334 * recentf.el (recentf-mode):
17335 * savehist.el (savehist-mode, savehist-save):
17336 * shadowfile.el (shadow-copy-files):
17337 * simple.el (kill-ring-save, next-line, previous-line)
17338 (normal-erase-is-backspace-mode):
17339 * strokes.el (strokes-update-window-configuration)
17340 (strokes-load-user-strokes, strokes-prompt-user-save-strokes)
17341 (strokes-xpm-for-stroke):
17342 * time.el (emacs-uptime, emacs-init-time):
17343 * tutorial.el (tutorial--describe-nonstandard-key)
17344 (tutorial--detailed-help):
17345 * type-break.el (type-break-mode)
17346 (type-break-mode-line-message-mode, type-break-query-mode)
17347 (type-break-guesstimate-keystroke-threshold):
17348 * vc.el (vc-version-diff, vc-diff, vc-root-diff):
17349 * version.el (emacs-version):
17350 * vt-control.el (vt-keypad-on, vt-keypad-off, vt-numlock):
17351 * winner.el (winner-mode):
17352 * calendar/timeclock.el (timeclock-in, timeclock-out)
17353 (timeclock-status-string, timeclock-change)
17354 (timeclock-workday-remaining-string)
17355 (timeclock-workday-elapsed-string)
17356 (timeclock-when-to-leave-string):
17357 * calendar/todo-mode.el (todo-add-category):
17358 * emacs-lisp/advice.el (ad-enable-regexp, ad-disable-regexp):
17359 * emacs-lisp/autoload.el (update-file-autoloads):
17360 * emacs-lisp/checkdoc.el (checkdoc-current-buffer)
17361 (checkdoc-start, checkdoc-continue, checkdoc-rogue-spaces)
17362 (checkdoc-message-text, checkdoc-defun):
17363 * emacs-lisp/debug.el (debugger-list-functions):
17364 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
17365 * emacs-lisp/eieio-opt.el (eieio-describe-class)
17366 (eieio-describe-generic):
17367 * emacs-lisp/lisp-mnt.el (lm-synopsis):
17368 * emacs-lisp/shadow.el (list-load-path-shadows):
17369 * emulation/cua-base.el (cua-mode):
17370 * emulation/edt.el (edt-set-scroll-margins):
17371 * emulation/tpu-edt.el (tpu-toggle-newline-and-indent)
17372 (tpu-toggle-regexp, tpu-toggle-search-direction)
17373 (tpu-toggle-rectangle, tpu-toggle-control-keys):
17374 * emulation/tpu-extras.el (tpu-set-scroll-margins):
17375 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
17376 (viper-set-parsing-style-toggling-macro)
17377 (viper-set-emacs-state-searchstyle-macros):
17378 * emulation/viper.el (viper-set-hooks):
17379 * eshell/esh-mode.el (eshell-truncate-buffer):
17380 * international/mule-cmds.el (prefer-coding-system)
17381 (describe-input-method, describe-language-environment):
17382 * international/mule-diag.el (list-character-sets)
17383 (describe-character-set, describe-coding-system)
17384 (describe-fontset, list-fontsets, list-input-methods):
17385 * mail/sendmail.el (mail-signature):
17386 * net/ange-ftp.el (ange-ftp-copy-file):
17387 * net/browse-url.el (browse-url):
17388 * net/eudc.el (eudc-set-server, eudc-get-attribute-list):
17389 * net/quickurl.el (quickurl-add-url):
17390 * net/rcirc.el (names, topic):
17391 * net/xesam.el (xesam-mode):
17392 * play/5x5.el (5x5-new-game):
17393 * play/yow.el (apropos-zippy):
17394 * progmodes/ada-mode.el (ada-mode-version):
17395 * progmodes/f90.el (f90-beginning-of-subprogram, f90-end-of-subprogram)
17397 (f90-beginning-of-block):
17398 * progmodes/fortran.el (fortran-end-of-block)
17399 (fortran-beginning-of-block):
17400 * progmodes/js.el (js-syntactic-context, js-gc, js-eval):
17401 * progmodes/python.el (python-describe-symbol, python-shell):
17402 * term/ns-win.el (ns-print-buffer):
17403 * textmodes/bibtex.el (bibtex-end-of-entry, bibtex-url):
17404 * textmodes/flyspell.el (flyspell-mode-on):
17405 * textmodes/page-ext.el (set-page-delimiter, pages-directory)
17406 (pages-directory-for-addresses):
17407 * textmodes/table.el (table-recognize-cell)
17408 (table-query-dimension, table-generate-source)
17409 (table-insert-sequence, table--warn-incompatibility):
17410 * textmodes/tex-mode.el (tex-validate-buffer):
17411 * textmodes/texinfmt.el (texinfmt-version)
17412 (texinfo-format-buffer):
17413 Use `called-interactively-p' instead of `interactive-p'.
17415 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
17417 * image-mode.el (image-toggle-display):
17418 * emacs-lisp/elp.el (elp-instrument-function):
17419 * emacs-lisp/advice.el (ad-make-advised-definition):
17420 * emacs-lisp/easy-mmode.el (define-minor-mode):
17421 * net/browse-url.el (browse-url-maybe-new-window):
17422 * progmodes/sh-script.el (sh-learn-buffer-indent):
17423 Pass new argument 'any to `called-interactively-p'.
17425 2009-10-01 Juanma Barranquero <lekktu@gmail.com>
17427 * international/uni-bidi.el:
17428 * international/uni-category.el:
17429 * international/uni-combining.el:
17430 * international/uni-comment.el:
17431 * international/uni-decimal.el:
17432 * international/uni-decomposition.el:
17433 * international/uni-digit.el:
17434 * international/uni-lowercase.el:
17435 * international/uni-mirrored.el:
17436 * international/uni-name.el:
17437 * international/uni-numeric.el:
17438 * international/uni-old-name.el:
17439 * international/uni-titlecase.el:
17440 * international/uni-uppercase.el:
17441 Regenerate from Unicode 5.2.0 data.
17443 2009-10-01 Glenn Morris <rgm@gnu.org>
17445 * Makefile.in (ELCFILES): Regenerate.
17447 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
17449 * subr.el (interactive-p): Mark obsolete.
17450 (called-interactively-p): Make the optional-ness of `kind' obsolete.
17451 * emacs-lisp/bytecomp.el (byte-compile-fdefinition): Make it obey
17452 advertised-signature-table for subroutines as well.
17454 * emacs-lisp/byte-run.el (advertised-signature-table): New var.
17455 (set-advertised-calling-convention): New function.
17456 (make-obsolete, define-obsolete-function-alias)
17457 (make-obsolete-variable, define-obsolete-variable-alias):
17458 Make the optional-ness of `when' obsolete.
17459 (define-obsolete-face-alias): Make `when' non-optional.
17460 * help-fns.el (help-function-arglist):
17461 * emacs-lisp/bytecomp.el (byte-compile-fdefinition):
17462 Use advertised-signature-table.
17464 2009-10-01 Michael Albinus <michael.albinus@gmx.de>
17466 * files.el (delete-directory): New defun. The original function
17467 in fileio.c has been renamed to `delete-directory-internal'.
17469 * dired.el (dired-delete-file): Call `delete-directory' with
17470 RECURSIVE parameter.
17472 * net/ange-ftp.el (ange-ftp-delete-directory): Add optional
17473 parameter RECURSIVE. Implementation is missing.
17475 * net/tramp.el (tramp-handle-make-directory): Flush upper
17476 directory's file properties.
17477 (tramp-handle-delete-directory): Handle optional parameter RECURSIVE.
17478 (tramp-handle-dired-recursive-delete-directory): Flush directory
17479 properties after the remove command only.
17481 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
17482 Handle optional parameter RECURSIVE.
17484 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
17485 Handle optional parameter RECURSIVE.
17487 * net/tramp-smb.el (tramp-smb-errors): Add error message for
17488 connection timeout.
17489 (tramp-smb-handle-delete-directory): Handle optional parameter
17492 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
17494 * emacs-lisp/bytecomp.el (byte-compile-defmacro-declaration): New fun.
17495 (byte-compile-file-form-defmumble, byte-compile-defmacro): Use it.
17496 (byte-compile-defmacro): Use backquotes.
17498 * files.el (cd-absolute): Don't abbreviate-file-name (bug#4599).
17500 * vc-dispatcher.el (vc-resynch-window): Don't revert a buffer which
17501 has no associated file.
17502 (vc-resynch-buffer): Use vc-dir-buffers.
17504 2009-10-01 Glenn Morris <rgm@gnu.org>
17506 * emacs-lisp/chart.el (chart-zap-chars, chart-bar-quickie)
17507 (chart-file-count):
17508 * emacs-lisp/eieio-comp.el (byte-compile-defmethod-param-convert):
17509 * emacs-lisp/eieio-datadebug.el (data-debug-insert-object-button):
17510 * emacs-lisp/eieio-opt.el (eieio-describe-class):
17511 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-create):
17512 * emacs-lisp/eieio.el (defclass, eieio-defclass-autoload)
17513 (eieio-copy-parents-into-subclass, make-instance, class-children)
17514 (eieio-generic-form):
17516 * vc-cvs.el (vc-cvs-parse-entry): Be more careful with the
17517 match-data. (Bug#4555).
17519 * emacs-lisp/check-declare.el (check-declare-scan): Read the declaration
17520 rather than parsing it as a regexp. This relaxes the layout
17521 requirements and makes errors easier to detect.
17522 (check-declare-verify): Check file is regular.
17523 (check-declare-directory): Doc fix.
17524 * subr.el (declare-function): Doc fix.
17526 * ibuffer.el (ibuffer-format-qualifier):
17527 * isearch.el (hi-lock-regexp-okay):
17528 * calc/calc.el (math-zerop):
17529 * mail/uce.el (rmail-msgbeg, rmail-msgend):
17530 * term/w32-win.el (setup-default-fontset, set-fontset-font):
17531 Remove unused declarations.
17533 2009-09-30 Eric Ludlam <zappo@gnu.org>
17535 * emacs-lisp/eieio.el (boolean-p): Delete.
17537 2009-09-30 Glenn Morris <rgm@gnu.org>
17539 * emacs-lisp/authors.el (authors-ignored-files): Add "js2-mode.el".
17541 * emacs-lisp/elint.el (elint-init-form): Report declarations where the
17542 filename is not a string.
17544 2009-09-29 Chong Yidong <cyd@stupidchicken.com>
17546 * files.el (safe-local-eval-forms): Fix typo.
17548 2009-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
17550 * vc-hooks.el (vc-dir-buffers): New var.
17551 (vc-state-refresh): New function.
17552 (vc-state): Use it.
17553 (vc-after-save): Always ask the backend to recompute the new state.
17554 Always call vc-dir if necessary, using vc-dir-buffers.
17555 * vc-dir.el (vc-dir-prepare-status-buffer, vc-dir-resynch-file):
17556 Use vc-dir-buffers.
17557 (vc-dir-mode): Use vc-dir-buffers rather than after-save-hook.
17558 (vc-dir-prepare-status-buffer, vc-dir-update)
17559 (vc-dir-resync-directory-files, vc-dir-resynch-file, vc-dir-mode):
17560 Don't call expand-file-name on default-directory.
17562 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
17564 * speedbar.el (speedbar-item-delete):
17565 * calc/calc-prog.el (calc-kbd-if):
17566 * language/hanja-util.el (hanja-init-load): Fix typos in messages.
17568 * epa.el (epa-key-list-mode-map):
17569 * hi-lock.el (hi-lock-menu): Fix typos in menus.
17571 * progmodes/hideshow.el (hs-allow-nesting): Reflow docstring.
17572 (hs-show-hook): Fix typo in docstring.
17574 2009-09-29 Glenn Morris <rgm@gnu.org>
17576 * emacs-lisp/check-declare.el (check-declare-locate): Remove pointless
17577 file-name-nondirectory call preventing location of cedet files.
17578 (check-declare-verify): Use literal search rather than re-search.
17579 Add basic defmethod and defclass, and define-overloadable-function.
17581 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
17582 Use tramp-compat-file-attributes rather than nonexistent
17583 tramp-compat-handle-file-attributes.
17585 * Makefile.in (lisptagsfiles4): New.
17586 (AUTOGENEL): Add cedet loaddefs files.
17587 (TAGS, TAGS-LISP): Use $lisptagsfiles4.
17588 (update-elclist, compile-always, backup-compiled-files)
17589 (bootstrap-clean): Add yet another directory level.
17590 (update-elclist): Use LC_COLLATE rather than COLLATE.
17591 (ELCFILES): Update, via `make update-elclist'.
17593 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
17595 * makefile.w32-in (WINS_CEDET, WINS_BASIC, WINS_SUBDIR): New macros.
17596 (WINS_ALMOST): Set from WINS_BASIC and WINS_CEDET.
17597 (update-subdirs-CMD): Use WINS_SUBDIR, not WINS_ALMOST.
17599 2009-09-28 Andreas Schwab <schwab@linux-m68k.org>
17601 * Makefile.in (lisptagsfiles3): Define.
17602 (TAGS, TAGS-LISP): Use it.
17603 (update-elclist): Add third directory level to look for elc files.
17604 (compile-always): Likewise.
17605 (backup-compiled-files): Likewise.
17606 (bootstrap-clean): Likewise.
17607 (ELCFILES): Update.
17609 2009-09-28 Chong Yidong <cyd@stupidchicken.com>
17611 * Makefile.in (ELCFILES): Add CEDET files.
17613 2009-09-28 Michael Albinus <michael.albinus@gmx.de>
17615 * Makefile.in (ELCFILES): Add net/tramp-imap.elc.
17617 * net/tramp.el (top): Require tramp-imap.
17619 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
17620 Use `tramp-compat-handle-file-attributes'.
17622 2009-09-28 Teodor Zlatanov <tzz@lifelogs.com>
17624 * net/tramp-imap.el: New package.
17626 2009-09-28 Eric Ludlam <zappo@gnu.org>
17628 * emacs-lisp/chart.el:
17629 * emacs-lisp/eieio-base.el:
17630 * emacs-lisp/eieio-comp.el:
17631 * emacs-lisp/eieio-custom.el:
17632 * emacs-lisp/eieio-datadebug.el:
17633 * emacs-lisp/eieio-opt.el:
17634 * emacs-lisp/eieio-speedbar.el:
17635 * emacs-lisp/eieio.el: New files.
17637 2009-09-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
17639 * whitespace.el (whitespace-trailing-regexp)
17640 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
17643 2009-09-27 Chong Yidong <cyd@stupidchicken.com>
17645 * menu-bar.el: Remove menu-bar-ediff-misc-menu from the Tools
17648 * ediff-hook.el: Move menu-bar-ediff-misc-menu into
17649 menu-bar-ediff-menu.
17651 * emacs-lisp/lisp-mode.el: Add doc-string-elt property to
17652 define-overloadable-function.
17654 * progmodes/autoconf.el: Provide autoconf as well, so that this
17655 file can be `require'd.
17657 * emacs-lisp/cl-macs.el (deftype): Add to cl-loaddefs.
17659 * emacs-lisp/autoload.el (generated-autoload-feature)
17660 (generated-autoload-load-name): New vars.
17661 (autoload-rubric, autoload-generate-file-autoloads): Use them.
17662 (make-autoload): Recognize define-overloadable-function and
17663 defclass forms (for EIEIO).
17665 * Makefile.in (update-subdirs): Exclude cedet directory.
17667 2009-09-27 Adrian Robert <Adrian.B.Robert@gmail.com>
17669 * term/ns-win.el: Don't set the region face background. (Bug#4381)
17671 * faces.el: Default light-background background for region face to
17672 ns_selection_color under NS.
17674 2009-09-27 Teodor Zlatanov <tzz@lifelogs.com>
17676 * net/imap-hash.el: New library, see NEWS.
17678 * Makefile.in (ELCFILES): Add imap-hash.el.
17680 2009-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
17682 * help.el (help-for-help-internal): Don't purecopy the text (bug#4560).
17683 * isearch.el (isearch-help-for-help-internal): Purecopy the second arg.
17684 * help-macro.el (make-help-screen): Avoid using an ambiguous function
17685 definition where the docstring could be taken for the return value.
17687 2009-09-26 Glenn Morris <rgm@gnu.org>
17689 * mail/rmailmm.el (rmail-mime-show-images, rmail-mime-bulk-handler):
17690 Add option to only show images below a certain size.
17691 (rmail-mime-multipart-handler): Remove unnecessary save-match-data and
17692 save-excursion calls.
17694 2009-09-26 Eli Zaretskii <eliz@gnu.org>
17696 * makefile.w32-in (WINS_ALMOST): Add cedet (with its
17697 subdirectories) and eieio.
17699 2009-09-26 Alan Mackenzie <acm@muc.de>
17701 * progmodes/cc-engine.el (c-beginning-of-statement-1):
17702 Correct buggy bracketing. (Bug#4289)
17704 * progmodes/cc-langs.el (c-nonlabel-token-key): Allow quoted
17705 character constants (as case labels). (Bug#4289)
17707 2009-09-25 Juri Linkov <juri@jurta.org>
17709 * files.el (safe-local-eval-forms): Allow time-stamp in
17710 before-save-hook (Bug#4554).
17712 2009-09-25 Drew Adams <drew.adams@oracle.com>
17714 * menu-bar.el (list-buffers-directory): Doc fix.
17716 2009-09-25 Stefan Monnier <monnier@iro.umontreal.ca>
17718 * log-edit.el (log-edit-changelog-entries): Avoid inf-loops.
17719 Try and avoid copying twice the same paragraph.
17720 (log-edit-changelog-paragraph, log-edit-changelog-subparagraph):
17721 Remove save-excursion.
17722 (log-edit-changelog-entry): Do it here instead.
17724 2009-09-25 Juanma Barranquero <lekktu@gmail.com>
17726 * bs.el (bs--get-file-name): Use `list-buffers-directory'
17727 when available, instead of hardcoding mode names. Doc fix.
17729 * menu-bar.el (list-buffers-directory): Add docstring.
17730 Make automatically buffer-local.
17732 * dired.el (dired-mode):
17733 * files.el (cd-absolute):
17734 * pcvs.el (cvs-temp-buffer):
17735 * pcvs-util.el (cvs-get-buffer-create):
17736 * shell.el (shell-mode):
17737 * vc-dir.el (vc-dir-mode):
17738 Don't make `list-buffers-directory' buffer local.
17740 2009-09-25 Devon Sean McCullough <emacs-hacker@Jovi.Net>
17742 * comint.el (comint-exec, comint-run, make-comint):
17743 Doc fixes (Bug#4542).
17745 2009-09-25 Glenn Morris <rgm@gnu.org>
17747 * mail/rmailmm.el (rmail-mime): New custom group.
17748 Move all defcustoms in this file into this group.
17749 (rmail-mime-media-type-handlers-alist): Revert previous change.
17750 (rmail-mime-show-images): New option.
17751 (rmail-mime-total-number-of-bulk-attachments): Remove variable and all
17752 references to it, since it wasn't actually used for anything.
17753 (rmail-mime-insert-image): New function.
17754 (rmail-mime-image): Use rmail-mime-insert-image.
17755 (rmail-mime-bulk-handler): Remove optional `image' argument, instead
17756 obey the value of `rmail-mime-show-images' option. Print the size of
17759 2009-09-25 David Engster <deng@randomsample.de>
17761 * progmodes/hideshow.el (hs-show-block): Run `hs-show-hook'. (Bug#4548)
17763 2009-09-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
17765 * whitespace.el: Does not highlight trailing spaces While point is
17766 at end of line. Does not highligt spaces at beginning of buffer
17767 while point is at beginning of buffer. Does not highlight spaces
17768 at end of buffer while point is at end of buffer. (Bug#4177)
17770 (whitespace-display-mappings): Adjust initialization.
17771 (whitespace-point, whitespace-font-lock-refontify): New vars.
17772 (whitespace-color-on, whitespace-color-off): Adjust code.
17773 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
17774 (whitespace-empty-at-eob-regexp, whitespace-space-regexp)
17775 (whitespace-tab-regexp, whitespace-post-command-hook): New funs.
17777 2009-09-24 Chong Yidong <cyd@stupidchicken.com>
17779 * nxml/nxml-mode.el: Alias xml-mode to nxml-mode.
17781 * textmodes/sgml-mode.el: Remove xml-mode alias.
17783 * files.el (auto-mode-alist, conf-mode-maybe)
17784 (magic-fallback-mode-alist): Revert 2009-09-18 and 2009-09-21 changes.
17786 2009-09-24 Alan Mackenzie <acm@muc.de>
17788 * progmodes/cc-cmds.el (c-scan-conditionals): A new function like
17789 c-forward-conditionals, but it doesn't move point and doesn't set
17791 (c-up-conditional, c-up-conditional-with-else, c-down-conditional)
17792 (c-down-conditional-with-else, c-backward-conditional)
17793 (c-forward-conditional): Refactor to use c-scan-conditionals.
17795 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
17797 * help-fns.el (help-downcase-arguments): New option, defaulting to nil.
17798 (help-default-arg-highlight): Remove.
17799 (help-highlight-arg): New function.
17800 (help-do-arg-highlight): Use it.
17801 Suggested by Drew Adams <drew.adams@oracle.com>. (Bug#4510, bug#4520)
17803 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
17805 * term.el (term-set-scroll-region, term-handle-ansi-escape):
17806 Undo last change, which didn't fix the problem and introduced others.
17808 2009-09-24 Nick Roberts <nickrob@snap.net.nz>
17810 * progmodes/gdb-mi.el: Don't require speedbar.
17811 (gdb-jsonify-buffer): Handle case where "=" is part of value string.
17813 2009-09-24 Glenn Morris <rgm@gnu.org>
17815 * calendar/diary-lib.el (diary-fancy-display): Always run the hook.
17817 * term/ns-win.el (ns-reg-to-script): Define for compiler.
17819 * mail/rmailmm.el (rmail-mime-multipart-handler): Accept the case where
17820 there is no newline after the final mime boundary. (Bug#4539)
17821 Move markers on insertion so that any buttons inserted don't end up in
17822 the next part of a multipart message.
17823 (rmail-mime-media-type-handlers-alist): Doc fix. Add image handler.
17824 (rmail-mime-bulk-handler): Optionally handle images.
17825 (rmail-mime-image): New button action.
17826 (rmail-mime-image-handler): New function.
17827 (rmail-mime-mode): New mode.
17828 (rmail-mime): Doc fix. Use rmail-mime-mode (for font-lock).
17830 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
17832 * minibuffer.el (minibuffer-force-complete): Cycle the list, rather
17833 than just dropping elements from it (bug#4504).
17835 * term.el (term-set-scroll-region): Don't move cursor any more.
17836 (term-handle-ansi-escape): Call term-goto here instead.
17837 Suggested by Ivan Kanis <apple@kanis.eu>.
17839 * term.el: Require CL.
17840 (term-ansi-reset): New function.
17841 (term-mode, term-emulate-terminal, term-handle-colors-array): Use it.
17842 (term-handle-colors-array): Simplify.
17844 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
17846 * allout.el (allout-overlay-interior-modification-handler)
17847 (allout-obtain-passphrase):
17848 * epa-file.el (epa-file-write-region):
17849 * ps-print.el (ps-begin-job):
17850 * vc-hooks.el (vc-toggle-read-only):
17851 * vc-rcs.el (vc-rcs-rollback):
17852 * vc-sccs.el (vc-sccs-rollback):
17853 * vc.el (vc-deduce-fileset, vc-next-action, vc-register-with)
17854 (vc-version-diff, vc-revert, vc-rollback):
17855 * wdired.el (wdired-check-kill-buffer):
17856 * emacs-lisp/authors.el (authors):
17857 * net/socks.el (socks-open-connection):
17858 * net/zeroconf.el (zeroconf-service-add-hook):
17859 * obsolete/vc-mcvs.el (vc-mcvs-register):
17860 * progmodes/gdb-mi.el (def-gdb-thread-buffer-gud-command)
17861 (gdb-select-frame):
17862 * progmodes/grep.el (lgrep, rgrep):
17863 * progmodes/idlw-help.el (idlwave-help-check-locations)
17864 (idlwave-help-html-link, idlwave-help-assistant-open-link):
17865 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
17866 * textmodes/reftex-toc.el (reftex-toc-promote-prepare)
17867 (reftex-toc-rename-label): Fix typos in error messages.
17869 * dired-aux.el (dired-do-shell-command): Reflow docstring.
17870 (dired-copy-how-to-fn): Doc fix.
17871 (dired-files-attributes, dired-read-shell-command):
17872 Fix typos in docstrings.
17874 * dired-x.el (dired-enable-local-variables, dired-filename-at-point)
17875 (dired-x-find-file-other-window): Reflow docstrings.
17876 (dired-omit-marker-char, dired-read-shell-command)
17877 (dired-x-submit-report): Fix typos in docstrings.
17879 * shell.el (shell-mode-hook):
17880 * view.el (View-scroll-line-forward):
17881 * progmodes/inf-lisp.el (inferior-lisp-mode-hook):
17882 Fix typos in docstrings.
17884 * net/dig.el (dig-invoke): Fix typo in docstring.
17885 (query-dig): Reflow docstring.
17887 * progmodes/idlwave.el (idlwave-create-user-catalog-file)
17888 (idlwave-quoted, idlwave-rinfo-max-source-lines): Doc fixes.
17889 (idlwave-abbrev-move, idlwave-auto-routine-info-updates)
17890 (idlwave-begin-block-reg, idlwave-begin-unit-reg)
17891 (idlwave-beginning-of-subprogram, idlwave-block-jump-out)
17892 (idlwave-block-match-regexp, idlwave-calculate-paren-indent)
17893 (idlwave-check-abbrev, idlwave-class-file-or-buffer)
17894 (idlwave-class-found-in, idlwave-complete, idlwave-complete-in-buffer)
17895 (idlwave-completion-map, idlwave-current-indent)
17896 (idlwave-custom-ampersand-surround, idlwave-customize)
17897 (idlwave-default-font-lock-items, idlwave-default-insert-timestamp)
17898 (idlwave-define-abbrev, idlwave-determine-class-special)
17899 (idlwave-do-action, idlwave-doc-header, idlwave-doc-modification)
17900 (idlwave-end-block-reg, idlwave-end-of-statement)
17901 (idlwave-end-of-statement0, idlwave-end-of-subprogram)
17902 (idlwave-end-unit-reg, idlwave-entry-find-keyword)
17903 (idlwave-explicit-class-listed, idlwave-file-header)
17904 (idlwave-fill-paragraph, idlwave-find-class-definition)
17905 (idlwave-fix-keywords, idlwave-hang-indent-regexp, idlwave-hard-tab)
17906 (idlwave-idlwave_routine_info-compiled, idlwave-in-comment)
17907 (idlwave-in-quote, idlwave-indent-action-table)
17908 (idlwave-indent-expand-table, idlwave-indent-line)
17909 (idlwave-indent-subprogram, idlwave-indent-to-open-paren)
17910 (idlwave-is-comment-line, idlwave-is-comment-or-empty-line)
17911 (idlwave-is-continuation-line, idlwave-is-pointer-dereference)
17912 (idlwave-kill-autoloaded-buffers, idlwave-lib-p, idlwave-look-at)
17913 (idlwave-make-tags, idlwave-mode, idlwave-mode-abbrev-table)
17914 (idlwave-mouse-active-rinfo, idlwave-newline, idlwave-no-change-comment)
17915 (idlwave-outlawed-buffers, idlwave-popup-select)
17916 (idlwave-previous-statement, idlwave-rescan-catalog-directories)
17917 (idlwave-routine-entry-compare, idlwave-routine-info.pro)
17918 (idlwave-scan-all-buffers-for-routine-info, idlwave-scan-class-info)
17919 (idlwave-shell-automatic-start, idlwave-shell-explicit-file-name)
17920 (idlwave-show-begin, idlwave-split-line, idlwave-split-link-target)
17921 (idlwave-statement-type, idlwave-struct-skip)
17922 (idlwave-substitute-link-target, idlwave-toggle-comment-region)
17923 (idlwave-update-current-buffer-info, idlwave-use-library-catalogs)
17924 (idlwave-what-module-find-class): Fix typos in docstrings.
17925 (idlwave-all-method-classes, idlwave-calc-hanging-indent)
17926 (idlwave-calculate-cont-indent, idlwave-expand-equal)
17927 (idlwave-find-module, idlwave-find-structure-definition)
17928 (idlwave-init-rinfo-when-idle-after, idlwave-insert-source-location)
17929 (idlwave-list-load-path-shadows, idlwave-next-statement)
17930 (idlwave-routine-entry-compare-twins, idlwave-routine-info)
17931 (idlwave-routines, idlwave-sintern-rinfo-list, idlwave-statement-match)
17932 (idlwave-template): Reflow docstrings.
17934 * progmodes/idlw-shell.el (idlwave-shell-syntax-error): Doc fix.
17935 (idlwave-shell-batch-command, idlwave-shell-bp-alist)
17936 (idlwave-shell-bp-get, idlwave-shell-bp-overlays)
17937 (idlwave-shell-bp-query, idlwave-shell-break-here, idlwave-shell-buffer)
17938 (idlwave-shell-display-line, idlwave-shell-display-wframe)
17939 (idlwave-shell-electric-debug-mode, idlwave-shell-examine-select)
17940 (idlwave-shell-file-name-chars, idlwave-shell-filter-bp)
17941 (idlwave-shell-goto-frame, idlwave-shell-halt-messages-re)
17942 (idlwave-shell-highlighting-and-faces, idlwave-shell-idl-wframe)
17943 (idlwave-shell-mode-hook, idlwave-shell-mode-line-info)
17944 (idlwave-shell-mode-map, idlwave-shell-module-source-filter)
17945 (idlwave-shell-mouse-help, idlwave-shell-mouse-print)
17946 (idlwave-shell-pc-frame, idlwave-shell-pending-commands)
17947 (idlwave-shell-print, idlwave-shell-quit, idlwave-shell-redisplay)
17948 (idlwave-shell-scan-for-state, idlwave-shell-send-command)
17949 (idlwave-shell-sentinel-hook, idlwave-shell-separate-examine-output)
17950 (idlwave-shell-shell-command, idlwave-shell-sources-alist)
17951 (idlwave-shell-sources-bp, idlwave-shell-sources-filter)
17952 (idlwave-shell-step, idlwave-shell-use-breakpoint-glyph)
17953 (idlwave-toolbar-add-everywhere, idlwave-toolbar-toggle):
17954 Fix typos in docstrings.
17955 (idlwave-shell-bp, idlwave-shell-clear-current-bp)
17956 (idlwave-shell-hide-output, idlwave-shell-mode)
17957 (idlwave-shell-run-region, idlwave-shell-set-bp-in-module):
17960 * textmodes/bibtex.el (bibtex-sort-entry-class): Fix group name.
17962 2009-09-24 Ivan Kanis <apple@kanis.eu>
17964 * term.el (term-bold-attribute): New var.
17965 (term-handle-colors-array): Use it.
17967 2009-09-23 Nick Roberts <nickrob@snap.net.nz>
17969 * progmodes/gdb-mi.el (gdb-version): New variable.
17970 (gdb-non-stop-handler): Set gdb-version.
17971 (gdb-gud-context-command, gdb-current-context-command, gdb-stopped):
17972 Condition "--thread" option on gdb-version.
17973 (gdb-invalidate-threads): Remove unused argument.
17975 2009-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
17977 * textmodes/flyspell.el (sgml-mode-flyspell-verify): Pass limit args
17978 to looking-back to avoid ridiculous slow down in large files (bug#4511).
17980 2009-09-23 Glenn Morris <rgm@gnu.org>
17982 * mail/rmail.el (rmail-reply): Don't try to add a References header when
17983 replying to mail without References or Message-Id. (Bug#4525)
17985 2009-09-23 Adrian Robert <Adrian.B.Robert@gmail.com>
17987 * term/ns-win.el (ns-reg-to-script): New variable.
17989 2009-09-23 Daiki Ueno <ueno@unixuser.org>
17991 * epg.el (epg-wait-for-status): Preserve existing 'error results.
17993 2009-09-22 Sam Steingold <sds@gnu.org>
17995 * vc-hg.el (vc-hg-print-log): Fix shortlog arg passing.
17996 (vc-hg-outgoing, vc-hg-incoming): Bump okstatus in `vc-hg-command'
17997 to 1 because hg returns status 1 when nothing is found.
17998 Bind `vc-short-log' for the sake of `vc-hg-log-view-mode'.
18000 2009-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
18002 * textmodes/fill.el: Convert to utf-8 encoding.
18003 (fill-french-nobreak-p): Remove redundant » and « inherited from our
18006 * add-log.el (change-log-fill-forward-paragraph): New function.
18007 (change-log-mode): Use it so fill-region DTRT.
18008 Set fill-indent-according-to-mode here rather than in
18009 change-log-fill-paragraph.
18010 (change-log-fill-paragraph): Remove.
18012 2009-09-22 Juanma Barranquero <lekktu@gmail.com>
18014 * info.el (Info-try-follow-nearest-node): Use the URL extracted by
18015 `Info-get-token', instead of `browse-url-url-at-point'. (Bug#4508)
18017 2009-09-22 Glenn Morris <rgm@gnu.org>
18019 * calendar/calendar.el (calendar-mode-map): Make mouse-1 and 3 clicks on
18020 the scroll-bar scroll the calendar window rather than the buffer.
18022 * calendar/cal-menu.el (cal-menu-scroll-menu): Add a sub-section with
18023 commands that move point (as opposed to scrolling).
18025 * emulation/tpu-edt.el (tpu-copy-keyfile): Fix condition-case handler.
18027 * emacs-lisp/elint.el (elint): New custom group.
18028 (elint-log-buffer): Make it a defcustom.
18029 (elint-scan-preloaded, elint-ignored-warnings)
18030 (elint-directory-skip-re): New options.
18031 (elint-builtin-variables): Doc fix.
18032 (elint-preloaded-env): New variable.
18033 (elint-unknown-builtin-args): Add an entry for encode-time.
18034 (elint-extra-errors): Make it a variable rather than a constant.
18035 (elint-preloaded-skip-re): New constant.
18036 (elint-directory): Skip files matching elint-directory-skip-re.
18037 (elint-features): New variable, local to linted buffers.
18038 (elint-update-env): Initialize elint-features. Possibly add
18039 elint-preloaded-env to the buffer's environment.
18040 (elint-get-top-forms): Bind elint-current-pos, for log messages.
18042 (elint-init-form): New function, extracted from elint-init-env.
18043 Make non-list forms a warning rather than an error.
18044 Add the mode-map for define-derived-mode. Handle define-minor-mode,
18045 easy-menu-define, put that adds an error-condition, and provide.
18046 When requiring cl, also require cl-macs. Really require cl, to handle
18047 some cl macros. Store required libraries in the list elint-features,
18048 so as not to re-load them. Treat cc-require like require.
18049 (elint-init-env): Call elint-init-form to do the work.
18050 Handle eval-and-compile and such like.
18051 (elint-add-required-env): Do not clear messages.
18052 (elint-special-forms): Add handlers for function, defalias, if, when,
18054 (elint-form): Add optional argument to ignore elint-special-forms,
18055 useful to prevent recursive calls from handlers. Doc fix.
18056 Respect elint-ignored-warnings.
18057 (elint-form): Respect elint-ignored-warnings.
18058 (elint-bound-variable, elint-bound-function): New variables.
18059 (elint-unbound-variable): Respect elint-bound-variable.
18060 (elint-get-args): Respect elint-bound-function.
18061 (elint-check-cond-form): Add some simple handling for (f)boundp and
18063 (elint-check-defalias-form): New handler.
18064 (elint-check-let-form): Make an empty let a warning rather than an
18066 (elint-check-setq-form): Make an empty setq a warning rather than an
18067 error. Respect elint-ignored-warnings.
18068 (elint-check-defvar-form): Accept null doc-strings.
18069 (elint-check-conditional-form): New handler. Does some simple-minded
18070 checking of featurep and (f)boundp tests.
18071 (elint-put-function-args): New function.
18072 (elint-initialize): Use elint-scan-doc-file rather than
18073 elint-find-builtin-variables. Use elint-put-function-args.
18074 Possibly scan preloaded-file-list.
18075 (elint-scan-doc-file): Rename from elint-find-builtin-variables and
18076 extend to handle functions as well.
18078 2009-09-22 Lennart Borgman <lennart.borgman@gmail.com>
18080 * linum.el (linum-delete-overlays, linum-update-window):
18081 Do not modify the right margin. (Bug#3971)
18083 2009-09-21 Chong Yidong <cyd@stupidchicken.com>
18085 * files.el (conf-mode-maybe, magic-fallback-mode-alist):
18086 Use nxml-mode instead of xml-mode.
18088 2009-09-21 Kevin Ryde <user42@zip.com.au>
18090 * net/dig.el: Add "Keywords: comm", as per net-utils.el. (Bug#4501)
18092 2009-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
18094 * net/dig.el (dig-mode): Use define-derived-mode.
18096 2009-09-20 Dan Nicolaescu <dann@ics.uci.edu>
18098 * vc-dispatcher.el (vc-do-command): Return the process object in
18099 the asynchronous case. Use when instead of if. Do not run
18100 vc-exec-after to display a message if not enabled. (Bug#4463)
18102 * vc-git.el (vc-git-dir-extra-headers): Add keymap and mouse-face
18103 properties to the stash strings.
18104 (vc-git-stash-list): Return a list of strings.
18105 (vc-git-stash-get-at-point, vc-git-stash-delete-at-point)
18106 (vc-git-stash-show-at-point): New functions.
18107 (vc-git-stash-map): New keymap.
18109 * register.el (ctl-x-r-map): Define the keys here instead of
18112 2009-09-20 Thierry Volpiatto <thierry.volpiatto@gmail.com> (tiny change)
18114 * bookmark.el (bookmark-write-file): Avoid calling `pp' with large
18115 list, to workaround performance problem (bug#4485).
18117 2009-09-20 Nick Roberts <nickrob@snap.net.nz>
18119 * progmodes/gud.el (gud-sentinel): Revert indavertant change.
18121 2009-09-20 Daiki Ueno <ueno@unixuser.org>
18123 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
18124 Document that this option is not recommended to use.
18126 2009-09-19 Glenn Morris <rgm@gnu.org>
18128 * calc/calc-graph.el (calc-graph-lookup): Avoid assignment to free
18131 * calc/calc-alg.el (var):
18132 * calc/calcalg2.el (var): Define for compiler.
18134 2009-09-19 Chong Yidong <cyd@stupidchicken.com>
18136 * emacs-lisp/advice.el (ad-get-argument, ad-set-argument):
18137 Doc fix (Bug#3932).
18139 * subr.el (baud-rate): Remove long-obsolete function (Bug#4372).
18141 * time-stamp.el (time-stamp-month-dd-yyyy)
18142 (time-stamp-dd/mm/yyyy, time-stamp-mon-dd-yyyy)
18143 (time-stamp-dd-mon-yy, time-stamp-yy/mm/dd)
18144 (time-stamp-yyyy/mm/dd, time-stamp-yyyy-mm-dd)
18145 (time-stamp-yymmdd, time-stamp-hh:mm:ss, time-stamp-hhmm):
18146 Remove functions that have been obsolete since 1995 (Bug#4436).
18148 * progmodes/sh-script.el (sh-learn-buffer-indent): Pop to the
18149 indent buffer only if called interactively (Bug#4452).
18151 2009-09-19 Juanma Barranquero <lekktu@gmail.com>
18152 Eli Zaretskii <eliz@gnu.org>
18154 This fixes bug#4197 (merged to bug#865, though not identical).
18155 * server.el (server-auth-dir): Add docstring note about FAT32.
18156 (server-ensure-safe-dir): Accept FAT32 directories as "safe",
18157 but warn against using them.
18159 2009-09-19 Nick Roberts <nickrob@snap.net.nz>
18161 * progmodes/gdb-mi.el (gdb-var-update-handler-1): Include case of
18162 older GDB where there is no has_more field.
18164 2009-09-19 Glenn Morris <rgm@gnu.org>
18166 * pgg-pgp.el (pgg-pgp-encrypt-region): Add missing mapconcat separator.
18168 2009-09-18 Chong Yidong <cyd@stupidchicken.com>
18170 * files.el (auto-mode-alist): Change default for XML files to nXML
18173 2009-09-18 Juanma Barranquero <lekktu@gmail.com>
18175 * server.el (server-ensure-safe-dir): Pass 'integer
18176 to `file-attributes', as suggested.
18178 2009-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
18180 * dired-aux.el (dired-query-alist): Remove spurious backslash.
18181 (dired-query): Use read-key.
18183 2009-09-18 Adrian Robert <Adrian.B.Robert@gmail.com>
18185 * cus-start.el (ns-use-qd-smoothing): Remove.
18187 2009-09-18 Glenn Morris <rgm@gnu.org>
18189 * allout.el (top-level): Remove unnecessary progn.
18191 * progmodes/js.el (js-end-of-defun): Remove malformed and unneeded let.
18193 * emacs-lisp/derived.el (define-derived-mode): Fix paren typo in
18194 definition of abbrev table.
18196 * speedbar.el (speedbar-track-mouse):
18197 * net/eudc-bob.el (eudc-bob-pipe-object-to-external-program):
18198 * net/eudc.el (eudc-expand-inline):
18199 * net/newst-backend.el (newsticker--cache-read-feed):
18200 * nxml/nxml-outln.el (nxml-end-of-heading): Fix typos in
18201 condition-case handlers.
18203 2009-09-18 Nick Roberts <nickrob@snap.net.nz>
18205 * progmodes/gdb-mi.el (gdb-frame-address): New variable.
18206 (gdb-var-list): Add an element for has_more field.
18207 (gdb-non-stop-handler): Enable pretty printing for STL containers.
18208 (gdb-var-create-handler, gdb-var-list-children-handler-1)
18209 (gdb-var-update-handler-1): Parse output of dynamic variable
18210 objects (STL containers).
18211 (gdb-var-delete-1): Pass var1 as an explicit second argument.
18212 (gdb-get-field): Delete alias. Use bindat-get-field directly.
18214 * progmodes/gud.el (gud-speedbar-item-info): Adjust for change to
18216 (gud-speedbar-buttons): Make node expandable if expression "has more"
18219 2009-09-17 Juanma Barranquero <lekktu@gmail.com>
18221 * startup.el (emacs-quick-startup): Remove variable and all uses.
18222 (command-line): Set `inhibit-x-resources' instead.
18223 (command-line-1): Use `inhibit-x-resources' instead.
18225 2009-09-17 Chong Yidong <cyd@stupidchicken.com>
18227 * subr.el: Fix last change to avoid using the `unless' macro,
18228 which breaks bootstrapping.
18230 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
18232 * subr.el (push, pop, dolist, dotimes, declare): Don't overwrite CL's
18233 extended definitions, in case we reload subr.el after having
18235 (eval-next-after-load): Mark as obsolete.
18237 2009-09-17 Juri Linkov <juri@jurta.org>
18239 * menu-bar.el (menu-bar-search-menu, menu-bar-edit-menu)
18240 (menu-bar-options-menu, menu-bar-showhide-fringe-menu)
18241 (menu-bar-showhide-menu, menu-bar-tools-menu)
18242 (menu-bar-describe-menu, menu-bar-help-menu)
18243 (minibuffer-local-completion-map, minibuffer-local-map):
18246 2009-09-17 Glenn Morris <rgm@gnu.org>
18248 * emacs-lisp/bytecomp.el (byte-compile-form): Always check the function
18249 arguments, whether or not it has a handler.
18251 * ansi-color.el (ansi-color-get-face-1): Fix typo in handler.
18253 * simple.el (hard-newline): Give it a doc-string.
18255 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
18256 (lisp-mode-syntax-table): Give them doc-strings.
18258 2009-09-17 Dan Nicolaescu <dann@ics.uci.edu>
18260 * menu-bar.el (menu-bar-file-menu, menu-bar-file-menu)
18261 (menu-bar-i-search-menu, menu-bar-edit-menu, menu-bar-custom-menu)
18262 (menu-bar-options-menu, menu-bar-showhide-menu)
18263 (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
18264 (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
18265 (menu-bar-options-menu, menu-bar-line-wrapping-menu)
18266 (menu-bar-options-menu, menu-bar-tools-menu)
18267 (menu-bar-describe-menu, menu-bar-search-documentation-menu)
18268 (menu-bar-help-menu):
18269 (menu-bar-make-mm-toggle, menu-bar-make-toggle): Purecopy the
18272 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu)
18273 (menu-bar-epatch-menu, menu-bar-ediff-misc-menu): Add purecopy
18274 calls for the menu names and :help.
18276 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
18278 * mouse.el (minor-mode-menu-from-indicator): Pay attention
18279 to :minor-mode-function (bug#4455).
18281 2009-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
18283 * startup.el (command-line): Initialize the window-system after
18284 processing the command-line.
18286 * textmodes/page.el (what-page): Make sure we don't inf-loop if
18287 page-delimiter matches the empty string.
18289 2009-09-16 Glenn Morris <rgm@gnu.org>
18291 * emacs-lisp/bytecomp.el (byte-compile-not-obsolete-vars): Rename from
18292 byte-compile-not-obsolete-var. It's a list now.
18293 (byte-compile-not-obsolete-funcs): New variable.
18294 (byte-compile-warn-obsolete): Don't warn about functions if they are in
18295 byte-compile-not-obsolete-funcs.
18296 (byte-compile-variable-ref, byte-compile-defvar): Update for
18297 byte-compile-not-obsolete-vars name-change and list nature.
18298 (byte-compile-maybe-guarded): Suppress warnings about obsolete functions
18299 and variables behind (f)boundp tests.
18300 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Set if bound.
18302 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
18304 * vc-git.el (vc-git-log-view-mode): Undo inadvertent change.
18306 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
18308 * Makefile.in (compile-onefile): Use byte-compile-refresh-preloaded.
18309 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded):
18312 2009-09-15 Stephen Eglen <stephen@gnu.org>
18314 * iswitchb.el (iswitchb-read-buffer): When selecting a match from
18315 the virtual-buffers, use the name of the buffer specified by
18316 find-file-noselect, as the match may be a symlink. (This was a
18317 problem if the target and the symlink had different names.)
18319 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
18321 * custom.el (custom-initialize-default, custom-initialize-set): CSE.
18323 * desktop.el (desktop-path): Check user-emacs-directory.
18325 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): New function.
18327 * loadup.el: Use after-load-functions to GC after loading each file.
18328 Remove the explicit GC calls that used to be sprinkled around.
18330 * subr.el (after-load-functions): New hook.
18331 (do-after-load-evaluation): Run it. Use string-match-p to detect
18332 `obsolete' packages, rather than painfully extracting the relevant
18335 2009-09-15 Glenn Morris <rgm@gnu.org>
18337 * apropos.el (apropos-documentation-check-doc-file): Avoid assignment to
18338 free variable `doc'.
18340 * dired.el (dired-mode-map): Add menu entry for async shell command.
18342 * help-fns.el (find-lisp-object-file-name): When looking for autoloaded
18343 variables, also consider the .elc files, since the .el files are
18344 normally gzipped (subsequent code locates the .el.gz from the .elc).
18346 * calc/calc-prog.el (arglist): Define for compiler.
18348 * calendar/diary-lib.el (diary-display-function): Change the default to
18350 (body): Define for compiler.
18352 * emacs-lisp/bytecomp.el (byte-compile-keep-pending)
18353 (byte-compile-file-form, byte-compile-lambda)
18354 (byte-compile-top-level-body, byte-compile-form)
18355 (byte-compile-variable-ref, byte-compile-setq)
18356 (byte-compile-setq-default, byte-compile-body)
18357 (byte-compile-body-do-effect, byte-compile-and, byte-compile-or)
18358 (batch-byte-compile): Give some more local variables with common names
18359 a "bytecomp-" prefix to avoid masking warnings about free variables.
18361 * startup.el (command-line-1): Give local variables with common names a
18362 distinguishing prefix, so as not to hide free variable warnings during
18365 * mail/rmailmm.el (rmail-mime-save): If file exists, don't try to be
18366 clever and add a suffix to make a unique name, just let the user decide
18367 whether or not to overwrite it. If the input is a directory, write the
18368 default filename to that directory. (Bug#4388)
18369 (rmail-mime-bulk-handler): Ensure the save button's 'directory property
18370 is a filename-as-a-directory.
18372 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
18374 * textmodes/page.el (what-page): Don't move to beginning of line.
18375 See <87tyz5ajte.fsf@x2.delysid.org> in emacs-devel.
18377 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
18379 * vc-git.el (vc-git-dir-extra-headers): Show the remote location.
18381 2009-09-14 Dan Nicolaescu <dann@ics.uci.edu>
18383 * bindings.el (mode-line-mode-menu): Add purecopy calls for :help.
18384 * help.el (help-for-help-internal): Add purecopy calls for text.
18386 * vc.el (top): print-log method now takes an optional SHORTLOG
18387 argument. Add a new method: root.
18388 (vc-root-diff, vc-print-root-log): New functions.
18389 (vc-log-short-style): New variable.
18390 (vc-print-log-internal): Add support for showing short logs.
18392 * vc-hooks.el (vc-prefix-map, vc-menu-map): Add bindings for
18393 vc-print-root-log and vc-print-root-diff.
18395 * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-print-log):
18396 * vc-git.el (vc-git-print-log, vc-git-log-view-mode):
18397 * vc-hg.el (vc-hg-print-log, vc-hg-log-view-mode): Add support for
18400 * vc-cvs.el (vc-cvs-print-log):
18401 * vc-mtn.el (vc-mtn-print-log):
18402 * vc-rcs.el (vc-rcs-print-log):
18403 * vc-sccs.el (vc-sccs-print-log):
18404 * vc-svn.el (vc-svn-print-log): Add an optional argument shortlog
18405 that is ignored for now.
18407 * vc-mtn.el (vc-mtn-annotate-command):
18408 * vc-svn.el (vc-svn-annotate-command): Run asynchronously.
18410 2009-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
18412 * simple.el: Add mapping for backspace/delete/clear/tab/escape/return
18413 to function-key-map, and give them ascii-character property.
18414 * term/x-win.el (x-alternatives-map):
18415 * term/ns-win.el (ns-alternatives-map):
18416 * term/internal.el (msdos-key-remapping-map):
18417 * w32-fns.el (x-alternatives-map): Remove redundant mappings.
18419 2009-09-14 Glenn Morris <rgm@gnu.org>
18421 * emacs-lisp/elint.el (elint-add-required-env): Revert to not using
18422 temp-buffers (2009-09-12).
18424 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
18426 * textmodes/ispell.el (ispell-command-loop): Improve last fix, using
18427 the new read-key function.
18429 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
18431 * term/x-win.el (x-menu-bar-open): Only call accelerate-menu if it
18432 is defined (Bug#4405).
18434 2009-09-13 Vincent Belaïche <vincent.belaiche@gmail.com>
18436 * recentf.el (recentf-cleanup): Use a hash table to find
18437 duplicates (Bug#4407).
18439 2009-09-13 Per Starbäck <per@starback.se> (tiny change)
18441 * textmodes/ispell.el (ispell-command-loop): Convert keys such as
18442 kp-0 to ascii equivalents (Bug#4325).
18444 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
18446 * progmodes/cperl-mode.el (cperl-init-faces): Revert last change.
18448 * eshell/em-hist.el:
18449 * eshell/em-dirs.el (eshell-complete-user-reference):
18450 Declare pcomplete functions and variables to avoid compiler warnings.
18452 2009-09-13 Leo <sdl.web@gmail.com> (tiny change)
18454 * eshell/em-script.el (eshell-login-script, eshell-rc-script):
18455 * eshell/em-dirs.el (eshell-last-dir-ring-file-name):
18456 * eshell/em-alias.el (eshell-aliases-file):
18457 * eshell/em-hist.el (eshell-history-file-name):
18458 Use expand-file-name instead of concat to make file names (Bug#4308).
18460 2009-09-13 Glenn Morris <rgm@gnu.org>
18462 * ediff-merg.el (ediff-do-merge):
18463 * filesets.el (filesets-run-cmd):
18464 * emulation/ws-mode.el (ws-show-markers, ws-move-block, ws-delete-block)
18465 (ws-find-marker-0, ws-find-marker-1, ws-find-marker-2, ws-find-marker-3)
18466 (ws-find-marker-4, ws-find-marker-5, ws-find-marker-6, ws-find-marker-7)
18467 (ws-find-marker-8, ws-find-marker-9, ws-goto-block-begin)
18468 (ws-goto-block-end, ws-goto-last-cursorposition, ws-copy-block):
18469 Replace empty `let's with `progn'.
18471 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
18473 * mail/sendmail.el (send-mail-function):
18474 * tooltip.el (tooltip-mode):
18475 * simple.el (transient-mark-mode):
18476 * rfn-eshadow.el (file-name-shadow-mode):
18477 * frame.el (blink-cursor-mode):
18478 * font-core.el (global-font-lock-mode):
18479 * files.el (temporary-file-directory)
18480 (small-temporary-file-directory, auto-save-file-name-transforms):
18481 * epa-hook.el (auto-encryption-mode):
18482 * composite.el (global-auto-composition-mode):
18483 Use custom-initialize-delay.
18484 * startup.el (command-line): Don't explicitly call
18485 custom-reevaluate-setting for all the above vars.
18486 * custom.el (custom-initialize-safe-set)
18487 (custom-initialize-safe-default): Delete.
18489 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
18491 * term/x-win.el (x-initialize-window-system):
18492 * term/w32-win.el (w32-initialize-window-system):
18493 * term/ns-win.el (ns-initialize-window-system): Don't call
18494 mouse-wheel-mode since it's enabled globally by default already.
18496 * mwheel.el (mouse-wheel-mode): Make sure the new defvar doesn't
18497 actually define the variable, but only silences the byte-compiler.
18498 (mouse-wheel-change-button): Check whether mouse-wheel-mode is bound
18499 before looking it up.
18500 (mouse-wheel-scroll-amount): Also reset the bindings if this value
18503 2009-09-12 Glenn Morris <rgm@gnu.org>
18505 * emacs-lisp/elint.el (elint-file): Make max-lisp-eval-depth at least
18507 (elint-add-required-env): Don't beep on error.
18508 (elint-forms): In case of error, return ENV unchanged.
18509 (elint-init-env): Skip non-list forms.
18510 (elint-log): Handle unknown file positions.
18512 2009-09-12 Daiki Ueno <ueno@unixuser.org>
18514 * epg.el (epg-make-context): Add autoload cookie.
18515 (epg-list-keys, epg-cancel, epg-start-decrypt, epg-decrypt-file)
18516 (epg-decrypt-string, epg-start-verify, epg-verify-file)
18517 (epg-verify-string, epg-start-sign, epg-sign-file)
18518 (epg-sign-string, epg-start-encrypt, epg-encrypt-file)
18519 (epg-encrypt-string, epg-start-export-keys)
18520 (epg-export-keys-to-file, epg-export-keys-to-string)
18521 (epg-start-import-keys, epg-import-keys-from-file)
18522 (epg-import-keys-from-string, epg-start-receive-keys)
18523 (epg-receive-keys, epg-import-keys-from-server)
18524 (epg-start-delete-keys, epg-delete-keys, epg-start-sign-keys)
18525 (epg-sign-keys, epg-start-generate-key)
18526 (epg-generate-key-from-file, epg-generate-key-from-string):
18527 Remove autoload cookie.
18529 2009-09-12 Eli Zaretskii <eliz@gnu.org>
18531 * dos-fns.el (dos-reevaluate-defcustoms): Comment out the
18532 reevaluation of trash-directory.
18534 * mwheel.el: Fix last change.
18535 (mouse-wheel-mode): New defvar.
18536 (mouse-wheel-mode): Remove autoload cookie.
18538 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
18540 * mwheel.el (mwheel-installed-bindings): New var.
18541 (mouse-wheel-mode): Use it, so as to make sure we really remove all
18542 the bindings we set last time. Use custom-initialize-delay.
18543 * loadup.el: Load mwheel after term/*-win.el.
18544 * startup.el (command-line): Don't reevaluate mouse-wheel-down-event
18545 and mouse-wheel-up-event now that their first evaluation is done
18546 sufficiently late to be correct.
18548 * startup.el (tutorial-directory): Make it a defcustom.
18549 Use custom-initialize-delay rather than eval-at-startup to set it.
18550 * image.el (image-load-path): Make it a defcustom.
18551 Use custom-initialize-delay rather than eval-at-startup to set it.
18552 * subr.el (eval-at-startup): Remove.
18553 * font-lock.el (lisp-font-lock-keywords-2): Remove eval-at-startup.
18555 * subr.el (do-after-load-evaluation): Warn the user after loading an
18558 2009-09-12 Glenn Morris <rgm@gnu.org>
18560 * proced.el (proced-mark-alt): Remove alias.
18561 (proced-mode-map): Remove proced-mark-alt.
18563 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries to
18564 Elint file and directory. Remove initialization entry.
18566 * emacs-lisp/elint.el (elint-file, elint-directory): New autoloaded
18568 (elint-current-buffer): Set mode-line-process.
18569 (elint-init-env): Handle define-derived-mode.
18570 Fix declare-function with unspecified arglist. Guard against odd
18571 defalias statements (eg iso-insert's 8859-1-map).
18572 (elint-add-required-env): Use a temp buffer.
18573 (elint-form): Just print the function/macro name, not the whole form.
18574 Return env unchanged if we fail to parse a macro.
18575 (elint-forms): Guard against parse errors.
18576 (elint-output): New function, to handle batch mode.
18577 (elint-log-message): Add optional argument. Use elint-output.
18578 (elint-set-mode-line): New function.
18580 2009-09-12 Andreas Politz <politza@fh-trier.de> (tiny change)
18582 * emacs-lisp/elp.el (elp-not-profilable): Add more
18583 functions (Bug#4233).
18585 2009-09-12 Chong Yidong <cyd@stupidchicken.com>
18587 * emulation/pc-select.el (scroll-down-mark, scroll-down-nomark)
18588 (scroll-up-mark, scroll-up-nomark): Doc fix (Bug#4190).
18590 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
18592 * progmodes/gdb-mi.el (gdb-var-list-children-regexp): Delete.
18593 (gdb-var-list-children): Use json parsing.
18595 2009-09-11 Daniel Colascione <dan.colascione@gmail.com>
18597 * progmodes/js.el (js--proper-indentation): Handle the case where
18598 char-before is null. Reported by Deniz Dogan.
18600 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
18602 * emacs-lisp/cl-macs.el (help-add-fundoc-usage): Declare.
18604 2009-09-11 Daiki Ueno <ueno@unixuser.org>
18606 * epg.el (epg-cipher-algorithm-alist): Add CAMELLIA.
18607 (epg-digest-algorithm-alist): Add SHA224.
18608 (epg-context-set-passphrase-callback)
18609 (epg-context-set-progress-callback): Add description about
18612 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
18614 * custom.el (custom-delayed-init-variables): New var.
18615 (custom-initialize-delay): New function.
18616 * startup.el (command-line): "Re"evaluate all vars in
18617 custom-delayed-init-variables. Don't reevaluate abbrev-file-name
18618 explicitly any more.
18619 * abbrev.el (abbrev-file-name): Use custom-initialize-delay
18620 to avoid creating a ~/.emacs.d at build-time (bug#4347).
18622 * proced.el (proced-mode-map): Prefer "m" for proced-mark (bug#4362).
18624 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
18626 * progmodes/gdb-mi.el (gdb-var-update-regexp): Delete.
18627 (gdb-var-update-handler): Use json parsing.
18629 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
18631 * vc-annotate.el (vc-annotate): Use the main file's coding-system to
18632 decode annotated text, regardless of language environment. (Bug#2741)
18634 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
18636 * Makefile.in (autoloads): Make rmail.el writable as well.
18638 2009-09-11 Glenn Morris <rgm@gnu.org>
18640 * dired-aux.el, dired-x.el: Put autoloads in dired.el rather than
18642 * dired.el: Regenerate with extracted autoloads.
18643 * Makefile.in (autoloads): Make dired.el writable.
18645 * ibuf-ext.el: Put autoloads in ibuffer.el rather than loaddefs.el.
18646 * ibuffer.el: Regenerate with extracted autoloads.
18647 * Makefile.in (autoloads): Make ibuffer.el writable.
18649 * paths.el (prune-directory-list, gnus-nntp-service, rmail-file-name):
18650 * version.el (emacs-copyright, emacs-major-version)
18651 (emacs-minor-version): Reformat doc-strings for make-docfile.
18653 * apropos.el (apropos-documentation-check-doc-file): Exclude unbound
18654 functions and variables, since they must be stuff specific to some other
18656 (apropos-print): Make mouse-click message less specific about button.
18658 * emacs-lisp/cl-macs.el (define-compiler-macro): Add a property
18659 that records where a macro was defined.
18660 * help-fns.el (describe-function-1): Mention if a function has a
18662 * help-mode.el (help-function-cmacro): New button.
18664 * locate.el (top-level): Always require dired.
18665 (locate-mode-map): Initialize inside the defvar.
18667 * net/ange-ftp.el (dired-compress-file): Declare.
18668 (ange-ftp-dired-compress-file): Add doc string.
18670 * term/ns-win.el (x-display-name, x-setup-function-keys):
18671 Unify doc-strings with X versions.
18673 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
18675 * emulation/crisp.el (crisp-mode-map): Move initialization
18677 (crisp-mode): Use define-minor-mode.
18679 * progmodes/xscheme.el (xscheme-evaluation-commands):
18680 Put a :advertised-binding property rather than using
18681 advertised-xscheme-send-previous-expression.
18682 (advertised-xscheme-send-previous-expression): Declare obsolete.
18683 * emulation/crisp.el (crisp-mode-map): Use `undo' rather than
18685 (crisp-mode): Add corresponding bindings to
18686 undo's :advertised-binding instead.
18687 * dired.el (dired-mode-map): Put a :advertised-binding property rather
18688 than using dired-advertised-find-file.
18689 (dired-advertised-find-file):
18690 * simple.el (advertised-undo):
18691 * wid-edit.el (advertised-widget-backward): Declare obsolete.
18692 (widget-keymap): Put a :advertised-binding property rather
18693 than using advertised-widget-backward.
18694 * bindings.el (ctl-x-map): Put a :advertised-binding property rather
18695 than using advertised-undo.
18696 * tutorial.el (tutorial--default-keys): Adjust accordingly.
18698 2009-09-10 Simon South <ssouth@slowcomputing.org>
18700 * progmodes/delphi.el (delphi-tab): Indent region when Transient
18701 Mark mode is enabled and region is active; otherwise indent or
18702 insert TAB as usual.
18703 (delphi-mode): Update description of TAB-key binding.
18705 2009-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
18707 * subr.el (define-key-rebound-commands): Mark obsolete.
18708 * startup.el (precompute-menubar-bindings): Remove.
18709 (normal-top-level): Remove obsolete code that tried to precompute
18711 * loadup.el (define-key-rebound-commands): Don't bother fiddling with
18712 define-key-rebound-commands and precompute-menubar-bindings.
18714 2009-09-10 Teodor Zlatanov <tzz@lifelogs.com>
18716 * net/imap.el (imap-interactive-login): Better messages.
18717 (imap-open): Fix bug with renamed buffer on reconnect.
18718 (imap-authenticate): Add buffer-local imap-last-authenticator variable
18719 for easier debugging and cleaner code. On successful (guessed based on
18720 server capabilities) secondary authentication, set imap-state
18722 (imap-last-authenticator): Define imap-last-authenticator as a variable
18725 2009-09-10 Glenn Morris <rgm@gnu.org>
18727 * pcvs.el (cvs-mode-find-file): Use forward-line rather than goto-line.
18729 * emacs-lisp/bytecomp.el (byte-compile-function-environment): Doc fix.
18730 (byte-compile-file-form-autoload): Don't warn about unknown functions
18731 where the autoload statement comes after the use.
18732 (with-no-warnings): Give it a byte-hunk-handler like than of progn, so
18733 that any handlers inside the body (eg require) are in turn respected.
18735 * emacs-lisp/byte-opt.el (degrees-to-radians): Mark as free from side
18738 * emacs-lisp/derived.el (define-derived-mode): Give the mode's map,
18739 and syntax and abbrev tables basic docs, if they don't have any.
18741 * emacs-lisp/easy-mmode.el (easy-mmode-defmap): Add doc-string.
18743 * international/mule-cmds.el (top-level): Require cl when compiling.
18744 (view-hello-file): Use default-value rather than
18745 default-enable-multibyte-characters.
18747 * progmodes/fortran.el: Move all safe and risky properties into the
18750 * mail/rmailedit.el, mail/rmailkwd.el, mail/rmailmm.el:
18751 * mail/rmailmsc.el, mail/rmailsort.el, mail/rmailsum.el:
18752 * mail/undigest.el:
18753 Put autoloads in rmail.el rather than loaddefs.el.
18754 * mail/rmail.el: Regenerate with extracted autoloads.
18756 * mail/rmailsum.el (rmail-user-mail-address-regexp): Move to rmail.el.
18757 * mail/rmail.el (rmail-user-mail-address-regexp): Move from rmailsum.el.
18759 2009-09-10 Nick Roberts <nickrob@snap.net.nz>
18761 Reported in thread for Bug#4375.
18762 * progmodes/gud.el (gud-tooltip-print-command): Use MI command
18763 "-data-evaluate-expression" instead of print.
18764 * progmodes/gdb-mi.el (gdb-tooltip-print-1): Ditto.
18765 (gdb-tooltip-print): Parse output from above MI command.
18766 (gdb): Revert 2009-08-11 change. User should detach inferior
18769 Remove the word "separate" from IO functions as inferior
18770 output is now never displayed in the GUD buffer.
18772 2009-09-10 Juanma Barranquero <lekktu@gmail.com>
18774 * startup.el (command-line-normalize-file-name): On Windows and
18775 MS-DOS, also convert C:\/ and C:\\ (two backslashes) into C:/.
18777 2009-09-10 Juri Linkov <juri@jurta.org>
18779 * isearch.el (isearch-text-char-description): Propertize escape
18780 character sequences with the `escape-glyph' face. (Bug#4344)
18782 * simple.el (shell-command): Set asynchronous process filter to
18783 `comint-output-filter'. (Bug#4343)
18785 * progmodes/grep.el (grep-template): Add "<X>" to docstring.
18786 (grep-files-aliases): Add "all". Move "el" and "ch" to the top of
18787 the list. Move "asm" to the bottom.
18788 (grep-find-ignored-directories): Add `choice' with nil value
18789 to empty the list easily.
18790 (grep-find-ignored-files): New option.
18791 (grep-files-history): Set to nil by default instead of '("ch" "el").
18792 (grep-compute-defaults): Add "<X>" to `grep-template'.
18793 (grep-read-files): Bind new local variables `default-alias' and
18794 `default-extension'. Use a list of default values for the file prompt.
18795 (lgrep): Add `--exclude=' command line options composed from
18796 `grep-find-ignored-files'.
18797 (rgrep): Add `-name' command line options composed from
18798 `grep-find-ignored-files'. (Bug#4301)
18800 2009-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
18802 * diff-mode.el (diff-hunk-kill): Fix the search of the next hunk
18805 2009-09-09 Katsumi Yamaoka <yamaoka@jpl.org>
18807 * calendar/time-date.el (autoload):
18808 Expand define-obsolete-function-alias into defalias and make-obsolete
18809 for old Emacsen that Gnus supports.
18810 (with-no-warnings): Define it for old Emacsen.
18811 (time-to-seconds): Don't use (featurep 'xemacs) to check if float-time
18813 (time-to-number-of-days): Don't use (featurep 'xemacs) to check if
18814 float-time is available; suppress compile warning for time-to-seconds.
18816 2009-09-09 Teodor Zlatanov <tzz@lifelogs.com>
18818 * net/imap.el (imap-message-map): Docstring fix.
18820 2009-09-09 Glenn Morris <rgm@gnu.org>
18822 * ffap.el (ffap-file-at-point): Handle absolute (non-remote) files with
18823 line numbers too. (Bug#4374)
18825 2009-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
18827 * smerge-mode.el (smerge-remove-props, smerge-refine):
18828 Use with-silent-modifications (bug#4342).
18830 * subr.el (with-silent-modifications): New macro.
18832 2009-09-07 Juanma Barranquero <lekktu@gmail.com>
18834 * files.el (top-level): Require `cl' when compiling.
18836 2009-09-07 Glenn Morris <rgm@gnu.org>
18838 * files.el (auto-mode-alist): Use delphi-mode for .dpr files.
18840 * proced.el (proced-mode-map): Bind "d" to proced-mark-alt.
18841 (proced-mark-alt): New alias, to control the advertised key. (Bug#4362)
18843 2009-09-06 Nick Roberts <nickrob@snap.net.nz>
18845 * vc-git.el (vc-git-annotate-command): Use separator to parse
18846 arguments correctly.
18848 2009-09-06 Eli Zaretskii <eliz@gnu.org>
18850 * proced.el (proced-mode): Doc fix.
18852 2009-09-06 Julian Scheid <julians37@gmail.com> (tiny change)
18854 * net/tramp.el (tramp-perl-file-attributes): Print "nil" when
18856 (tramp-do-file-attributes-with-ls): Check for file existence at
18858 (tramp-do-file-attributes-with-stat): Likewise.
18859 (tramp-convert-file-attributes): Return nil when attr is nil.
18861 2009-09-05 Glenn Morris <rgm@gnu.org>
18863 * calendar/diary-lib.el (diary-entry): Add help-echo and follow-link
18864 properties to this button.
18865 (diary-fancy-display): Don't extend the button to the final newline.
18866 (diary-fancy-display-mode): Continue to define "q" as a local key.
18868 * calendar/cal-china.el (holiday-chinese): Make it slightly more
18871 * font-lock.el (lisp-font-lock-keywords-2): Add letf.
18873 * emacs-lisp/bytecomp.el (emacs-lisp-file-regexp): Doc fix.
18874 (byte-compile-dest-file-function): New option.
18875 (byte-compile-dest-file): Doc fix.
18876 Obey byte-compile-dest-file-function.
18877 (byte-compile-cl-file-p): New function.
18878 (byte-compile-eval): Only suppress noruntime warnings about cl functions
18879 if the cl-functions warning is enabled. Use byte-compile-cl-file-p.
18880 (byte-compile-eval): Check for non-nil byte-compile-cl-functions rather
18881 than for file being previously loaded.
18882 (byte-compile-find-cl-functions): Use byte-compile-cl-file-p.
18883 (byte-compile-file-form-require): Handle the case where requiring a file
18884 indirectly causes CL to be loaded.
18886 2009-09-05 Karl Fogel <kfogel@red-bean.com>
18888 * files.el (find-alternate-file): Run `kill-buffer-hook' manually
18889 before killing the old buffer, since by the time `kill-buffer' is
18890 run so many buffer variables have been set to nil that it may not
18891 behave as expected. (Bug#4061)
18893 2009-09-05 Karl Fogel <kfogel@red-bean.com>
18895 * files.el (find-alternate-file): If the old buffer is modified
18896 and visiting a file, behave similarly to `kill-buffer' when
18897 killing it, thus reverting to the pre-1.878 behavior; see
18898 http://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00101.html
18899 for discussion. Also, consult `buffer-file-name' as a variable
18900 not as a function, for consistency with the rest of the code.
18902 2009-09-04 Michael Albinus <michael.albinus@gmx.de>
18904 * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
18905 also when adding a new directory.
18907 * net/tramp-compat.el (tramp-compat-line-beginning-position):
18910 2009-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
18912 * files.el (locate-file-completion-table): Make it provide boundary
18913 information, so partial-completion works better.
18915 2009-09-04 Leo <sdl.web@gmail.com> (tiny change)
18917 * mail/footnote.el (Footnote-text-under-cursor):
18918 Check footnote-text-marker-alist before using it (bug#4324).
18920 2009-09-04 Glenn Morris <rgm@gnu.org>
18922 * play/5x5.el, play/decipher.el, play/gametree.el, play/handwrite.el:
18923 * play/hanoi.el, play/landmark.el, play/mpuz.el, play/pong.el:
18924 * play/solitaire.el, play/tetris.el:
18925 Remove leading * from defcustom and defface docs.
18927 * calendar/diary-lib.el (diary-fancy-display): Only switch modes if
18929 (diary-fancy-overriding-map): New variable.
18930 (diary-fancy-display-mode): Set minor-mode-overriding-map-alist.
18933 * vc-rcs.el (vc-rcs-annotate-command): Use forward-line rather than
18936 2009-09-03 Glenn Morris <rgm@gnu.org>
18938 * arc-mode.el (archive-mode):
18939 * dos-fns.el (set-default-process-coding-system):
18940 * man.el (Man-getpage-in-background):
18941 * menu-bar.el (menu-bar-describe-menu):
18942 * server.el (server-process-filter):
18943 * startup.el (command-line):
18944 * tar-mode.el (tar-header-block-tokenize, tar-extract):
18945 * w32-fns.el (set-default-process-coding-system):
18946 * x-dnd.el (x-dnd-handle-file-name):
18947 * international/mule-cmds.el (mule-menu-keymap)
18948 (set-default-coding-systems, language-info-alist, set-language-info)
18949 (set-language-environment, standard-display-european-internal)
18950 (set-locale-environment):
18951 * international/mule-diag.el (mule-diag):
18952 * mail/emacsbug.el (report-emacs-bug):
18953 * mail/rmail.el (rmail-mode):
18954 * mail/sendmail.el (mail-setup):
18955 Use default-value rather than default-enable-multibyte-characters.
18957 * progmodes/f90.el: Move all safe properties into the defcustoms.
18958 (f90-get-correct-indent, f90-indent-region, f90-abbrev-start): Use memq.
18960 * calendar/appt.el (appt-check):
18961 * calendar/diary-lib.el (diary-set-header, diary-live-p)
18962 (diary-check-diary-file, diary-list-entries)
18963 (diary-include-other-diary-files, diary-simple-display)
18964 (diary-fancy-display, diary-print-entries)
18965 (diary-mark-included-diary-files, diary-make-entry):
18966 Don't call substitute-in-file-name on diary-file.
18968 2009-09-03 Eduard Wiebe <usenet@pusto.de>
18969 Stefan Monnier <monnier@iro.umontreal.ca>
18971 * mail/footnote.el (footnote-prefix): Make it a defcustom.
18972 (footnote-mode-map): Move initialization into the declaration.
18973 (footnote-minor-mode-map): Define it rather than changing global-map.
18974 (footnote-mode): Use define-minor-mode.
18976 2009-09-02 Michael Albinus <michael.albinus@gmx.de>
18978 * net/tramp.el (tramp-handle-file-attributes-with-ls)
18979 (tramp-do-file-attributes-with-perl)
18980 (tramp-do-file-attributes-with-stat): Rename from
18981 `tramp-handle-file-attributes-with-*'.
18982 (tramp-handle-file-attributes): Use them.
18983 (tramp-do-directory-files-and-attributes-with-perl)
18984 (tramp-do-directory-files-and-attributes-with-stat): Rename from
18985 `tramp-handle-directory-files-and-attributes-with-*'.
18986 (tramp-handle-directory-files-and-attributes): Use them.
18987 (tramp-method-out-of-band-p): Additional parameter SIZE.
18988 (tramp-do-copy-or-rename-file, tramp-handle-file-local-copy)
18989 (tramp-handle-write-region): Use it.
18990 (tramp-handle-insert-directory): Use "?\ " for compatibility reasons.
18991 (tramp-handle-vc-registered): Check, whether the first run did
18992 return files to be tested.
18993 (tramp-advice-make-auto-save-file-name): Do not call directly
18994 `tramp-handle-make-auto-save-file-name', because this would bypass
18995 the locking mechanism.
18997 * net/tramp-compat.el (top): Autoload used functions from tramp.el.
18998 (file-remote-p, process-file, start-file-process, set-file-times)
18999 (tramp-compat-file-attributes): Compatibility functions shall not
19000 call directly `tramp-handle-*', because this would bypass the
19002 (tramp-compat-number-sequence): New defun.
19004 2009-09-02 Glenn Morris <rgm@gnu.org>
19006 * calendar/time-date.el (time-to-seconds): In Emacs, make it an obsolete
19007 alias for float-time.
19008 (time-to-number-of-days): In Emacs, use float-time.
19009 * net/newst-backend.el (time-add): Suppress warnings from compat
19011 * time.el (emacs-uptime, emacs-init-time):
19012 * net/rcirc.el (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE):
19013 Use float-time rather than time-to-seconds.
19015 * minibuffer.el (completion-initials-expand): Fix typo.
19017 * faces.el (modeline, modeline-inactive, modeline-highlight)
19018 (modeline-buffer-id):
19019 * info.el (info-menu-5): Mark these face aliases as obsolete.
19021 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
19023 * progmodes/gdb-mi.el (gdb-current-context-command): Move the
19025 (gdb-gud-context-call): ... to here for pre GDB 7.0 when there is
19026 no "--thread" option.
19027 (gdb-stopped): Don't print "Switched to thread" message when it is
19030 2009-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
19032 * minibuffer.el (completion-try-completion)
19033 (completion-all-completions): Remove ill-defined (and
19034 mistakenly installed and luckily never used nor documented)
19035 `completion-styles' property.
19036 (completion-initials-expand, completion-initials-all-completions)
19037 (completion-initials-try-completion): New functions.
19038 (completion-styles-alist): Add doc to each entry.
19039 Add new `initials' entry.
19041 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
19043 * progmodes/gdb-mi.el (gdb-var-create-handler): Remove redundant
19044 MI command -var-evaluate-expression.
19045 (gdb-var-list-children-regexp): Update from regexp-1 in gdb-ui.el
19046 and tweak for case of string child.
19047 (gdb-var-list-children-handler): Update from handler-1 in gdb-ui.el.
19049 2009-09-01 Glenn Morris <rgm@gnu.org>
19051 * add-log.el (change-log-date-face, change-log-name-face)
19052 (change-log-email-face, change-log-file-face, change-log-list-face)
19053 (change-log-conditionals-face, change-log-function-face)
19054 (change-log-acknowledgement-face):
19055 * cus-edit.el (custom-invalid-face, custom-rogue-face)
19056 (custom-modified-face, custom-set-face, custom-changed-face)
19057 (custom-saved-face, custom-button-face, custom-button-pressed-face)
19058 (custom-documentation-face, custom-state-face, custom-comment-face)
19059 (custom-comment-tag-face, custom-variable-tag-face)
19060 (custom-variable-button-face, custom-face-tag-face)
19061 (custom-group-tag-face-1, custom-group-tag-face):
19062 * diff-mode.el (diff-header-face, diff-file-header-face)
19063 (diff-index-face, diff-hunk-header-face, diff-removed-face)
19064 (diff-added-face, diff-changed-face, diff-function-face)
19065 (diff-context-face, diff-nonexistent-face):
19066 * generic-x.el (show-tabs-tab-face, show-tabs-space-face):
19067 * hilit-chg.el (highlight-changes-face, highlight-changes-delete-face):
19068 * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face)
19069 (Info-title-4-face):
19070 * isearch.el (isearch-lazy-highlight-face):
19071 * log-view.el (log-view-file-face, log-view-message-face):
19072 * paren.el (show-paren-match-face, show-paren-mismatch-face):
19073 * pcvs-info.el (cvs-header-face, cvs-filename-face, cvs-unknown-face)
19074 (cvs-handled-face, cvs-need-action-face, cvs-marked-face)
19076 * smerge-mode.el (smerge-mine-face, smerge-other-face)
19077 (smerge-base-face, smerge-markers-face):
19078 * wid-edit.el (widget-documentation-face, widget-button-face)
19079 (widget-field-face, widget-single-line-field-face)
19080 (widget-inactive-face, widget-button-pressed-face):
19081 * woman.el (woman-italic-face, woman-bold-face, woman-unknown-face)
19082 (woman-addition-face):
19083 * eshell/em-ls.el (eshell-ls-directory-face, eshell-ls-symlink-face)
19084 (eshell-ls-executable-face, eshell-ls-readonly-face)
19085 (eshell-ls-unreadable-face, eshell-ls-special-face)
19086 (eshell-ls-missing-face, eshell-ls-archive-face)
19087 (eshell-ls-backup-face, eshell-ls-product-face)
19088 (eshell-ls-clutter-face):
19089 * eshell/em-prompt.el (eshell-prompt-face):
19090 * eshell/esh-test.el (eshell-test-ok-face, eshell-test-failed-face):
19091 * obsolete/old-whitespace.el (whitespace-highlight-face):
19092 * progmodes/antlr-mode.el (antlr-font-lock-default-face)
19093 (antlr-font-lock-keyword-face, antlr-font-lock-syntax-face)
19094 (antlr-font-lock-ruledef-face, antlr-font-lock-tokendef-face)
19095 (antlr-font-lock-ruleref-face, antlr-font-lock-tokenref-face)
19096 (antlr-font-lock-literal-face):
19097 * progmodes/ebrowse.el (ebrowse-tree-mark-face)
19098 (ebrowse-root-class-face, ebrowse-file-name-face)
19099 (ebrowse-default-face, ebrowse-member-attribute-face)
19100 (ebrowse-member-class-face, ebrowse-progress-face):
19101 * progmodes/make-mode.el (makefile-space-face):
19102 * progmodes/sh-script.el (sh-heredoc-face):
19103 * textmodes/flyspell.el (flyspell-incorrect-face)
19104 (flyspell-duplicate-face):
19105 * textmodes/tex-mode.el (tex-math-face, tex-verbatim-face):
19106 * textmodes/texinfo.el (texinfo-heading-face):
19107 Mark face aliases with "-face" suffix as obsolete.
19109 * mail/feedmail.el (file-name-buffer-file-type-alist): Define for
19112 * net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-image-menu)
19113 (eudc-bob-sound-menu): Use defvar rather than defconst, since
19114 easy-menu-define wants to modify these.
19116 * net/net-utils.el (nslookup): Use make-comint rather than comint-run.
19118 * net/browse-url.el (browse-url-file-url):
19119 * term/internal.el (dos-codepage-setup):
19120 Use default-value rather than default-enable-multibyte-characters.
19122 * progmodes/etags.el (etags-goto-tag-location):
19123 * progmodes/flymake.el (flymake-highlight-line)
19124 (flymake-goto-file-and-line, flymake-goto-line):
19125 * progmodes/gdb-mi.el (gdb-mouse-until, gdb-mouse-jump)
19126 (gdb-goto-breakpoint):
19127 * progmodes/idlw-shell.el (idlwave-shell-move-to-bp):
19128 * progmodes/python.el (python-find-function)
19129 (python-pdbtrack-track-stack-file):
19130 * progmodes/verilog-mode.el (verilog-surelint-off):
19131 * term/ns-win.el (ns-open-file-select-line):
19132 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
19133 Use forward-line rather than goto-line.
19135 * textmodes/reftex-cite.el (reftex-offer-bib-menu):
19136 * textmodes/reftex-index.el (reftex-display-index):
19137 * textmodes/reftex-ref.el (reftex-offer-label-menu):
19138 * textmodes/reftex-toc.el (reftex-toc):
19139 Remove unnecessary bindings of default-major-mode (all are followed by
19140 major-mode check and possible mode switch).
19142 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
19144 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
19145 Handle watchpoints (bug#4282).
19146 (def-gdb-thread-buffer-command): Enable thread to be selected by
19147 clicking without selecting threads buffer first.
19148 (gdb-current-context-command): Use selected frame so that "up",
19149 "down" etc work in the GUD buffer.
19150 (gdb-update): Find selected frame before rendering stack buffer.
19151 (gdb-frame-handler): Set gdb-frame-number for stack buffer.
19153 2009-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
19155 * progmodes/sym-comp.el (displayed-completions): Remove.
19156 (symbol-complete): Use minibuffer-complete.
19158 2009-08-31 Glenn Morris <rgm@gnu.org>
19160 * emacs-lisp/byte-run.el (define-obsolete-face-alias): New macro.
19162 * apropos.el (apropos-symbols-internal):
19163 Handle (obsolete) face aliases.
19165 * faces.el (describe-face): Adjust the output format to be more like
19166 describe-variable, and to mention (obsolete) face aliases.
19167 Adjust the whitespace so that help-setup-xref works.
19169 * calendar/calendar.el (calendar-today-face, diary-face, holiday-face):
19170 * calendar/diary-lib.el (diary-button-face):
19171 Mark these face aliases as obsolete.
19173 * calendar/calendar.el (calendar-today): Doc fix.
19175 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
19177 * progmodes/gdb-mi.el (gdb-control-all-threads)
19178 (gdb-control-current-thread): Force tool bar update.
19179 (gdb-non-stop-handler): New function.
19180 (gdb-init-1): Use it to test if non-stop mode is supported.
19181 Remove unused gdbmi buffer type.
19183 2009-08-30 Kevin Rodgers <kevin.d.rodgers@gmail.com>
19185 * progmodes/grep.el (grep-read-files): Strip trailing <N> from
19186 buffer names not visiting a file (e.g. cloned buffers). (Bug#4210)
19188 2009-08-30 Nick Roberts <nickrob@snap.net.nz>
19190 * comint.el (comint-exec-1): Check command is non-null first.
19191 Part of gdb-mi.el change (2009-08-28).
19193 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
19195 * emacs-lisp/lisp.el (lisp-complete-symbol): Use minibuffer-complete.
19197 2009-08-30 Juanma Barranquero <lekktu@gmail.com>
19199 * subr.el (do-after-load-evaluation): Fix last change: use `mapc'
19200 instead of `dolist' to avoid a recursive require when bootstrapping.
19202 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
19204 * emacs-lisp/lisp.el (field-complete): Use minibuffer-complete.
19206 * net/ldap.el (ldap-search-internal): Use with-current-buffer and push.
19208 * net/imap.el (imap-send-command): Simplify.
19209 (imap-wait-for-tag): point-max -> buffer-size.
19211 * net/ange-ftp.el (internal-ange-ftp-mode): Use define-derived-mode.
19213 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't use symbol-value
19214 with constant argument.
19216 * emacs-lisp/debug.el (debugger-setup-buffer): Make it multibyte.
19218 * emacs-lisp/cl.el (cl-macro-environment): Don't define it here.
19220 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag):
19221 Change default, since most of our files don't have a history.
19222 (checkdoc-display-status-buffer): Don't use a hidden buffer to show to
19225 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
19228 * calc/calc.el: Improve commenting convention.
19229 (calc-digit-map, toplevel): Simplify.
19231 * comint.el (comint-insert-input): Be careful to only set point if we
19232 don't delegate to some other command.
19234 * proced.el (proced-signal-list): Make it an alist.
19235 (proced-grammar-alist): Capitalize names.
19236 (proced-send-signal): Use a non-hidden buffer (since it's displayed).
19237 Disable undo manually and make it read-only.
19238 Use completion-annotate-function.
19240 * minibuffer.el (minibuffer-message): If the current buffer is not
19241 a minibuffer, insert the message in the echo area rather than at the
19243 (completion-annotate-function): New variable.
19244 (minibuffer-completion-help): Use it.
19245 (completion--embedded-envvar-table): Environment vars are
19246 always case-sensitive.
19248 2009-08-30 Glenn Morris <rgm@gnu.org>
19250 * progmodes/fortran.el (fortran-start-prog-re): New constant, extracted
19251 from fortran-current-defun.
19252 (fortran-beginning-of-subprogram): Be more precise about finding the
19253 start, to avoid an infinite loop in end-of-defun. (Bug#4259)
19254 (fortran-end-of-subprogram): Simplify.
19255 (fortran-current-defun): Use fortran-start-prog-re.
19257 2009-08-29 Juanma Barranquero <lekktu@gmail.com>
19259 * subr.el (do-after-load-evaluation): Simplify.
19261 2009-08-29 Dan Nicolaescu <dann@ics.uci.edu>
19263 * vc.el (vc-print-log-internal): Move RCS/CVS specific code ...
19265 * vc-rcs.el (vc-rcs-print-log-cleanup): ... here. New function.
19266 (vc-rcs-print-log): Use it.
19268 * vc-cvs.el (vc-cvs-print-log): Use vc-rcs-print-log-cleanup.
19270 2009-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
19272 * paths.el (abbrev-file-name): Move to abbrev.el.
19273 * abbrev.el (abbrev-file-name): Move from paths.el.
19274 Obey user-emacs-directory.
19275 * calc/calc.el (calc-settings-file): Don't autoload and instead obey
19276 user-emacs-directory.
19277 * dos-fns.el (dos-reevaluate-defcustoms): Don't reevaluate
19278 abbrev-file-name and calc-settings-file any more.
19279 * startup.el (command-line): Recompute abbrev-file-name and
19280 abbreviated-home-dir.
19281 (normal-no-mouse-startup-screen): Improve the generic code and get rid
19282 of the special code for when C-h bindings haven't been changed.
19283 (display-startup-echo-area-message): Use with-current-buffer.
19284 (command-line-1): Use a list of strings, rather than a list of lists
19285 of strings for longopts.
19287 * files.el (get-free-disk-space): Use / for default-directory.
19289 * textmodes/ispell.el (ispell-accept-output, ispell-command-loop):
19290 Use with-current-buffer.
19292 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p):
19293 Recognize immutable variables like most-positive-fixnum.
19294 (byte-compile-setq-default): Check and warn if trying to assign
19295 to an immutable variable, or a non-variable.
19297 * progmodes/cc-vars.el (c-comment-continuation-stars):
19298 * progmodes/cc-engine.el (c-looking-at-bos):
19299 * progmodes/cc-cmds.el (c-toggle-auto-state)
19300 (c-forward-into-nomenclature, c-backward-into-nomenclature)
19301 (c-comment-line-break-function): Add version of obsolescence.
19303 2009-08-28 Juri Linkov <juri@jurta.org>
19305 * files.el (magic-fallback-mode-alist): Add ZIP magic number
19306 associated with `archive-mode'.
19308 * image.el (image-type-header-regexps): Use only JPEG magic number
19309 to determine JPEG images, and don't use `image-jpeg-p' because
19310 Emacs can display non-JFIF non-Exif JPEG images.
19312 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
19314 * arc-mode.el (archive-mode):
19315 * emacs-lisp/re-builder.el (re-builder-unload-function):
19316 Protect against the default value of `major-mode' being nil.
19318 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
19320 * international/ucs-normalize.el (ucs-normalize-sort, quick-check-list):
19321 Fix typos in docstrings.
19323 * progmodes/js.el (js--macro-decl-re): Doc fix.
19324 (js--plain-method-re, js--split-name): Refloc docstring.
19325 (js--class-styles, js--make-merged-item, js--splice-into-items):
19326 Fix typos in docstrings; reflow docstrings.
19327 (js--maybe-join, js--function-prologue-beginning, js--flush-caches)
19328 (js--variable-decl-matcher, js--inside-pitem-p)
19329 (js--parse-state-at-point, js--get-all-known-symbols)
19330 (js--symbol-history, js-find-symbol, js--js-references)
19331 (js--moz-interactor, js--js-encode-value, js--read-tab):
19332 Fix typos in docstrings.
19334 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
19336 * textmodes/reftex.el (reftex-get-file-buffer-force):
19337 * progmodes/verilog-mode.el (verilog-batch-execute-func):
19338 * emulation/viper.el (viper-go-away, viper-set-hooks):
19339 * emacs-lisp/re-builder.el (re-builder-unload-function):
19340 * emacs-lisp/bytecomp.el (byte-compile-file):
19341 * ses.el (ses-unload-function):
19342 * hexl.el (hexl-find-file):
19343 * files.el (normal-mode):
19344 * ehelp.el (with-electric-help):
19345 * autoinsert.el (auto-insert-alist):
19346 * arc-mode.el (archive-mode):
19347 Use (default-value 'major-mode) instead of default-major-mode.
19349 * textmodes/ispell.el (ispell-check-version, ispell-send-string):
19350 * international/mule.el (load-with-code-conversion):
19351 * emacs-lisp/debug.el (debug):
19352 * ediff-vers.el (ediff-rcs-get-output-buffer):
19353 * dired.el (dired-internal-noselect): Don't let-bind
19354 default-major-mode around code that doesn't use it.
19355 E.g. buffer creation via get-buffer-create doesn't use it.
19357 2009-08-28 Michael Albinus <michael.albinus@gmx.de>
19359 * net/tramp.el (all): Replace "'(lambda" by "(lambda".
19360 (tramp-handle-file-local-copy): Unset `file-name-handler-alist'
19361 when writing the temp file. Otherwise, epa-file gets confused.
19362 (tramp-register-file-name-handlers): Make it a defun. Move also
19363 `epa-file-handler' to the front of `file-name-handler-alist'.
19365 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
19367 * net/tramp.el (tramp-shell-prompt-pattern): Allow a prompt to
19368 start right after a ^M.
19369 (tramp-root-regexp, tramp-completion-file-name-regexp-unified)
19370 (tramp-completion-file-name-regexp-separate)
19371 (tramp-completion-file-name-regexp-url): Use \\` and \\'.
19372 (tramp-handle-file-attributes, tramp-set-file-uid-gid):
19373 Don't modify last-coding-system-used by accident.
19374 (tramp-completion-file-name-handler): Apply the checks here,
19375 instead during registration.
19376 (tramp-register-file-name-handlers): Rename from
19377 `tramp-register-file-name-handler'. Register both
19378 `tramp-file-name-handler' and `tramp-completion-file-name-handler'.
19379 (tramp-register-completion-file-name-handler): Remove. (Bug#4260)
19381 2009-08-28 Nick Roberts <nickrob@snap.net.nz>
19383 * progmodes/gdb-mi.el (gdb-use-separate-io-buffer):
19384 Remove variable ...
19385 (gdb-init-1, gdb-display-separate-io-buffer)
19386 (gdb-frame-separate-io-buffer, gdb-setup-windows): ... and
19388 (gdb-inferior-io-mode): Use make-comint-in-buffer.
19389 (gdb-inferior-filter): Use comint-output-filter to stop
19390 echoing and remove ^M characters.
19392 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
19394 * emulation/viper-init.el (viper-restore-cursor-type):
19395 * emulation/cua-base.el (cua--update-indications):
19396 Replace default-cursor-type with (default-value 'cursor-type).
19398 * mail/sendmail.el (mail-recover-1):
19399 * international/mule-diag.el (describe-current-coding-system-briefly)
19400 (describe-current-coding-system):
19401 * international/mule-cmds.el (select-safe-coding-system)
19402 (select-message-coding-system)
19403 (set-language-environment-coding-systems, set-locale-environment):
19404 * hexl.el (hexl-insert-multibyte-char):
19405 * dos-w32.el (find-buffer-file-type-coding-system):
19406 * simple.el (what-cursor-position):
19407 Replace uses of default-buffer-file-coding-system
19408 with (default-value 'buffer-file-coding-system).
19410 * emacs-lisp/edebug.el (edebug-display, edebug-outside-excursion):
19411 Replace uses of default-cursor-in-non-selected-windows
19412 with (default-value 'cursor-in-non-selected-windows).
19413 Use with-current-buffer.
19415 * mail/feedmail.el: Use CL macros.
19416 (feedmail-run-the-queue, feedmail-send-it-immediately):
19417 * dos-w32.el (find-buffer-file-type): Replace uses of
19418 default-buffer-file-type with (default-value 'buffer-file-type).
19420 2009-08-28 Glenn Morris <rgm@gnu.org>
19422 * calendar/diary-lib.el (diary-list-entries, diary-goto-entry)
19423 (diary-show-all-entries, diary-mark-entries, diary-make-entry):
19424 Use default-value of major-mode rather than default-major-mode.
19426 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
19428 * Makefile.in (update-elcfiles): Report left over elc files.
19430 * mail/mailalias.el (build-mail-aliases): Use with-temp-buffer,
19431 expand-file-name and with-current-buffer.
19432 (mail-get-names, mail-directory): Use with-current-buffer.
19434 * vc.el (vc-read-revision): New function.
19435 (vc-version-diff, vc-merge): Use it.
19437 2009-08-27 Sam Steingold <sds@gnu.org>
19439 * simple.el (kill-do-not-save-duplicates): New user option.
19440 (kill-new): When it is non-nil, and the new string is the same as
19441 the latest kill, set replace to t to avoid duplicates in kill-ring.
19443 2009-08-27 Julian Scheid <julians37@gmail.com> (tiny change)
19445 * net/tramp.el (tramp-handle-process-file): Do not flush all
19446 caches when `process-file-side-effects' is set.
19447 (tramp-handle-vc-registered): Use `tramp-get-file-exists-command'
19448 instead of `tramp-find-file-exists-command'.
19449 Unset `process-file-side-effects'.
19451 2009-08-27 Michael Albinus <michael.albinus@gmx.de>
19453 * net/tramp.el (tramp-methods): New method "rsyncc".
19454 (top): Add completion function for "rsyncc".
19455 (tramp-message-show-message): New defvar.
19456 (tramp-message, tramp-error): Use it.
19457 (tramp-do-copy-or-rename-file-directly): Extend check for direct
19459 (tramp-do-copy-or-rename-file-out-of-band): Handle new
19460 `tramp-methods' entry `copy-env' of "rsyncc".
19461 (tramp-vc-registered-read-file-names): New defconst.
19462 (tramp-vc-registered-file-names): New defvar.
19463 (tramp-handle-vc-registered): Implement optimization strategy.
19464 (tramp-run-real-handler): Add `tramp-vc-file-name-handler'.
19465 (tramp-vc-file-name-handler): New defun.
19466 (tramp-get-ls-command, tramp-get-test-command)
19467 (tramp-get-file-exists-command, tramp-get-remote-ln)
19468 (tramp-get-remote-perl, tramp-get-remote-stat)
19469 (tramp-get-remote-id): Remove superfluous `with-current-buffer'.
19471 * net/tramp-cache.el (top): Autoload `tramp-time-less-p'.
19472 (tramp-cache-inhibit-cache): Extend doc string. It allows also
19474 (tramp-get-file-property): Check for timestamps in
19475 `tramp-cache-inhibit-cache'.
19476 (tramp-set-file-property): Write timestamp.
19478 2009-08-27 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
19480 * language/japan-util.el (japanese-symbol-table): Add entries for
19483 * international/characters.el: Add category `j' to cp932-2-byte.
19485 2009-08-27 Kenichi Handa <handa@m17n.org>
19487 * international/fontset.el (build-default-fontset-data): New macro.
19488 (setup-default-fontset): Use build-default-fontset-data for CJK,
19489 tibetan, ethiopic, and ipa.
19491 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
19493 * cus-start.el (default-major-mode): Customize `major-mode' instead.
19494 (enable-multibyte-characters): Not customizable any more.
19496 * subr.el (default-mode-line-format, default-header-line-format)
19497 (default-line-spacing, default-abbrev-mode, default-ctl-arrow)
19498 (default-direction-reversed, default-truncate-lines)
19499 (default-left-margin, default-tab-width, default-case-fold-search)
19500 (default-left-margin-width, default-right-margin-width)
19501 (default-left-fringe-width, default-right-fringe-width)
19502 (default-fringes-outside-margins, default-scroll-bar-width)
19503 (default-vertical-scroll-bar, default-indicate-empty-lines)
19504 (default-indicate-buffer-boundaries, default-fringe-indicator-alist)
19505 (default-fringe-cursor-alist, default-scroll-up-aggressively)
19506 (default-scroll-down-aggressively, default-fill-column)
19507 (default-cursor-type, default-buffer-file-type)
19508 (default-cursor-in-non-selected-windows)
19509 (default-buffer-file-coding-system, default-major-mode)
19510 (default-enable-multibyte-characters): Mark as obsolete.
19512 2009-08-27 Dan Nicolaescu <dann@ics.uci.edu>
19514 * vc-dir.el (vc-dir-update): Remove debug helper.
19516 * vc-cvs.el (vc-cvs-update-changelog): Fix typo.
19518 2009-08-26 Sam Steingold <sds@gnu.org>
19520 * simple.el (save-interprogram-paste-before-kill): New user option.
19521 (kill-new): When `save-interprogram-paste-before-kill' is non-nil,
19522 save the interprogram-paste into kill-ring before overriding it
19523 with the Emacs kill.
19525 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
19527 * vc.el (vc-trunk-p): Rename to vc-rcs-trunk-p and move to vc-rcs.el.
19528 (vc-minor-part): Rename to vc-rcs-minor-part and move to vc-rcs.el.
19529 (vc-default-previous-revision): Rename to vc-rcs-previous-revision
19530 and move to vc-rcs.el.
19531 (vc-default-next-revision): Rename to vc-rcs-next-revision and
19533 (vc-cvs-update-changelog): Move to vc-cvs.el, use vc-call-backend.
19534 (vc-rcs-update-changelog): Remove.
19535 (vc-update-changelog-rcs2log): Rename to vc-rcs-update-changelog
19536 and move to vc-rcs.el.
19538 * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-checkin)
19539 (vc-rcs-checkout, vc-rcs-rollback): Adjust for the vc-rcs-trunk-p
19541 (vc-rcs-trunk-p, vc-rcs-minor-part, vc-rcs-previous-revision)
19542 (vc-rcs-next-revision, vc-rcs-update-changelog): Move here from
19543 vc.el, renamed to be RCS specific.
19545 * vc-cvs.el (vc-cvs-previous-revision, vc-cvs-next-revision):
19547 (vc-cvs-update-changelog): Move here from vc.el.
19549 * vc-sccs.el (vc-sccs-previous-revision, vc-sccs-next-revision):
19552 2009-08-26 Stefan Monnier <monnier@iro.umontreal.ca>
19554 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix up last change.
19556 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
19558 * vc-git.el (vc-git-register): Use "git add" for directories.
19559 (vc-git-stash, vc-git-stash-show): New functions.
19560 (vc-git-extra-menu-map): Bind them.
19562 * vc-dir.el (vc-dir-node-directory, vc-dir-update): Get the parent
19563 directory correctly in case the item is a directory itself.
19565 * vc.el: Document the desired behavior for reverted files in the
19567 (vc-default-prettify-state-info): Remove function, unused.
19569 * vc-bzr.el (vc-bzr-prettify-state-info): Remove function, unused.
19571 2009-08-26 Glenn Morris <rgm@gnu.org>
19573 * bindings.el (standard-mode-line-format): Reposition dashes in
19574 which-func entry. (Bug#4217)
19576 * files.el (enable-local-variables, enable-local-eval)
19577 (safe-local-variable-values, safe-local-eval-forms): Mark as risky in
19579 (auto-mode-alist, ignored-local-variables)
19580 (save-some-buffers-action-alist): Move risky declarations to the
19582 (dabbrev-case-fold-search, dabbrev-case-replace, display-time-string)
19583 (font-lock-defaults, format-alist, imenu--index-alist)
19584 (imenu-generic-expression, input-method-alist, minor-mode-alist)
19585 (mode-line-buffer-identification, mode-line-client, mode-line-modes)
19586 (mode-line-modified, mode-line-mule-info, mode-line-position)
19587 (mode-line-process, mode-line-remote, outline-level)
19588 (parse-time-rules, rmail-output-file-alist)
19589 (special-display-buffer-names, vc-mode):
19590 Move risky declarations to the relevant files.
19591 * bindings.el (mode-line-client, mode-line-mule-info, mode-line-remote)
19592 (mode-line-modified, mode-line-process, mode-line-position)
19593 (mode-line-modes, mode-line-buffer-identification, minor-mode-alist)
19594 * font-core.el (font-lock-defaults):
19595 * format.el (format-alist):
19596 * vc-hooks.el (vc-mode):
19597 * window.el (special-display-buffer-names):
19598 * international/mule-cmds.el (input-method-alist):
19599 Define riskiness here (dumped file) rather than in files.el.
19600 * dabbrev.el (dabbrev-case-fold-search, dabbrev-case-replace):
19601 * imenu.el (imenu-generic-expression, imenu--index-alist):
19602 * outline.el (outline-level):
19603 * time.el (display-time-string):
19604 * calendar/parse-time.el (parse-time-rules):
19605 * mail/rmailout.el (rmail-output-file-alist):
19606 Autoload riskiness here, rather than placing in files.el.
19608 2009-08-26 Andreas Schwab <schwab@linux-m68k.org>
19610 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Signal overflow.
19612 2009-08-25 Michael Albinus <michael.albinus@gmx.de>
19614 * simple.el (process-file-side-effects): New defvar.
19616 * dired-aux.el (dired-show-file-type):
19617 * vc.el (vc-diff-internal):
19618 * vc-arch.el (vc-arch-diff):
19619 * vc-bzr.el (vc-bzr-sha1, vc-bzr-revision-completion-table):
19620 * vc-cvs.el (vc-cvs-state, vc-cvs-diff, vc-cvs-revision-table):
19621 * vc-git.el (vc-git-registered, vc-git-working-revision)
19622 (vc-git-find-revision, vc-git-diff, vc-git-revision-table)
19623 (vc-git--empty-db-p):
19624 * vc-hooks.el (vc-user-login-name):
19625 * vc-svn.el (vc-svn-registered, vc-svn-state)
19626 (vc-svn-dir-extra-headers, vc-svn-find-revision):
19627 * progmodes/grep.el (grep-probe): Let-bind
19628 `process-file-side-effects' with nil.
19630 * net/dbus.el (dbus-ping): Add optional parameter TIMEOUT.
19632 * net/tramp-gvfs.el (top): Use timeout of 100 msec pinging GVFS
19633 daemon. Replace ping by checking for running service for bluez
19634 and zeroconf. (Bug#4239)
19636 2009-08-25 Kevin Ryde <user42@zip.com.au>
19638 * net/dig.el (dig): Add autoload cookie.
19640 2009-08-25 Glenn Morris <rgm@gnu.org>
19642 * emacs-lisp/bytecomp.el (byte-compile-eval): Fix test for cl in
19643 load-history for absolute file-names.
19644 (byte-compile-file-form-require): Warn about use of the cl package.
19646 * format.el (format-alist): Doc fix.
19648 * play/bubbles.el (top-level): Don't require cl at run-time.
19650 * progmodes/verilog-mode.el (top-level): Don't require lucid (and hence
19653 2009-08-24 Dmitry Dzhus <dima@sphinx.net.ru>
19655 * progmodes/gdb-mi.el (gdb-mapcar*): Replacement for `mapcar*'
19657 (gdb-table-add-row, gdb-table-string): Use `gdb-mapcar*'.
19659 2009-08-24 Jay Belanger <jay.p.belanger@gmail.com>
19661 * calc/calc-alg.el (math-trig-rewrite)
19662 (math-hyperbolic-trig-rewrite): New functions.
19663 (calc-simplify): Simplify trig functions when asked.
19665 2009-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
19667 * diff-mode.el (diff-find-source-location): Avoid goto-line.
19669 2009-08-24 Kenichi Handa <handa@m17n.org>
19671 * language/ind-util.el (mapthread): Delete it.
19672 (combinatorial): New function.
19673 (indian--puthash-cv): Use combinatorial instead of mapthread.
19675 2009-08-22 Kevin Ryde <user42@zip.com.au>
19677 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag)
19678 (checkdoc-arguments-in-order-flag): Add safe-local-variable booleanp.
19679 (checkdoc-symbol-words): Add safe-local-variable for list of strings.
19680 Clarify docstring that the value is strings not symbols.
19681 (checkdoc-list-of-strings-p): New function.
19683 2009-08-22 Glenn Morris <rgm@gnu.org>
19685 * files.el (auto-mode-alist):
19686 * hippie-exp.el (he-concat-directory-file-name):
19687 * lpr.el (lpr-windows-system, printer-name):
19688 * ls-lisp.el (ls-lisp-emulation, ls-lisp-use-insert-directory-program):
19689 * ps-print.el (ps-windows-system):
19690 * startup.el (command-line):
19691 * emulation/viper-ex.el (viper-glob-function):
19692 * international/mule-cmds.el (set-language-environment-coding-systems):
19693 * net/ange-ftp.el (ange-ftp-write-region):
19694 * obsolete/fast-lock.el (fast-lock-cache-name):
19695 Remove code for defunct system-types emx, macos, mswindows, next-mach,
19696 unisoft-unix, vax-vms, win32, w32.
19698 * calendar/diary-lib.el (diary-mark-entries-1): Only mark all days of a
19699 given name if the pattern is not more specific.
19701 * calendar/lunar.el (lunar-phase-names): New option.
19702 (lunar-phase): Doc fix.
19703 (lunar-cycles-per-year): New constant.
19704 (lunar-index): New function.
19705 (lunar-phase-list, diary-lunar-phases): Use lunar-index.
19706 (lunar-phase-name): Use lunar-phase-names.
19707 (calendar-lunar-phases): Use format.
19708 (lunar-new-moon-on-or-after): Use lunar-cycles-per-year.
19710 * progmodes/cperl-mode.el (cperl-imenu-name-and-position):
19711 Copy imenu-example--name-and-position function here for own use.
19712 (cperl-xsub-scan): Use cperl-imenu-name-and-position.
19714 * bs.el (bs--redisplay):
19715 * cus-edit.el (custom-redraw):
19716 * ibuffer.el (ibuffer-bury-buffer):
19717 * server.el (server-goto-line-column):
19718 * startup.el (command-line-1):
19719 * strokes.el (strokes-xpm-for-stroke):
19720 * term.el (term-display-buffer-line):
19721 * view.el (View-goto-line):
19722 * calc/calc.el (calc-do, calc-trail-buffer):
19723 * play/gamegrid.el (gamegrid-add-score-insecure):
19724 * progmodes/ada-mode.el (ada-compile-goto-error):
19725 * progmodes/ada-xref.el (ada-xref-find-in-modified-ali):
19726 (ebrowse-select-1st-to-9nth):
19727 * progmodes/cperl-mode.el (cperl-time-fontification):
19728 * progmodes/ebrowse.el (ebrowse-toggle-file-name-display)
19729 * progmodes/gud.el (gud-display-line):
19730 (idlwave-shell-display-line):
19731 * progmodes/idlw-shell.el (idlwave-shell-goto-frame)
19732 * progmodes/make-mode.el (makefile-browser-toggle):
19733 (vhdl-speedbar-port-copy, vhdl-compose-components-package):
19734 * progmodes/vhdl-mode.el (vhdl-speedbar-find-file)
19735 * textmodes/picture.el (picture-draw-rectangle):
19736 * textmodes/reftex-index.el (reftex-index-goto-letter):
19737 (reftex-select-jump-to-previous):
19738 * textmodes/reftex-sel.el (reftex-find-start-point)
19739 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-restore-region):
19740 (rst-straighten-deco-spacing, rst-section-tree, rst-toc):
19741 * textmodes/rst.el (rst-promote-region, rst-straighten-decorations)
19742 * textmodes/tex-mode.el (tex-compilation-parse-errors):
19743 * textmodes/two-column.el (2C-associated-buffer):
19744 Use forward-line rather than goto-line.
19746 * emulation/vi.el (vi-goto-line): Don't warn about non-interactive
19749 * international/ucs-normalize.el (nfd, decomposition-translation-alist)
19750 (decomposition-char-recursively, alist-list-to-vector, quick-check-list)
19751 (quick-check-list-to-regexp): Declare.
19753 * progmodes/make-mode.el (makefile-browser-insert-selection):
19754 Use goto-char rather than goto-line.
19756 * progmodes/prolog.el (compilation-error-regexp-alist)
19757 (compilation-forget-errors): Declare.
19759 2009-08-22 Juri Linkov <juri@jurta.org>
19761 * progmodes/grep.el (lgrep, rgrep): At the beginning
19762 set `dir' to `default-directory' unless `dir' is a non-nil
19763 readable directory. (Bug#4052)
19764 (lgrep, rgrep): Change a weird way to report an error
19765 from using `read-string' to using `error'.
19766 Instead of using interactive arguments in the function body,
19767 add new argument `confirm'.
19769 2009-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
19771 * textmodes/remember.el (remember-buffer):
19772 * progmodes/cperl-mode.el (cperl-vc-header-alist):
19773 * calendar/icalendar.el (icalendar-convert-diary-to-ical)
19774 (icalendar-extract-ical-from-buffer):
19775 * net/newst-treeview.el (newsticker-groups-filename):
19776 * net/newst-backend.el (newsticker-cache-filename):
19777 * speedbar.el (speedbar-update-speed, speedbar-navigating-speed)
19778 (speedbar-ignored-path-expressions, speedbar-ignored-path-regexp)
19779 (speedbar-add-ignored-path-regexp, speedbar-line-path)
19780 (speedbar-buffers-line-path, speedbar-path-line)
19781 (speedbar-buffers-line-path):
19782 * epg.el (epg-passphrase-callback-function, epg-start-sign-keys)
19784 * epa.el (epa-display-verify-result):
19785 * progmodes/pascal.el (pascal-outline): Add version of obsolescence.
19787 2009-08-21 Glenn Morris <rgm@gnu.org>
19789 * progmodes/js.el (inferior-moz-process): Fix declaration.
19791 * imenu.el (imenu-example--name-and-position): Fix obsolescence message.
19793 * obsolete/rnewspost.el (news-mail-reply):
19794 Use goto-char rather than goto-line.
19796 * term/ns-win.el (ns-open-file-select-line):
19797 Use line-beginning-position rather than goto-line.
19799 * apropos.el (apropos-command):
19800 * ehelp.el (electric-helpify):
19801 * printing.el (pr-show-setup):
19802 * strokes.el (strokes-help):
19803 * tutorial.el (tutorial--describe-nonstandard-key)
19804 (tutorial--detailed-help):
19805 * woman.el (woman-mini-help, woman-display-extended-fonts):
19806 * calc/calc-help.el (calc-describe-key):
19807 * emulation/edt.el (edt-electric-helpify):
19808 * international/mule-diag.el (mule-diag):
19809 * play/yow.el (apropos-zippy):
19810 * progmodes/python.el (python-describe-symbol):
19811 * progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode):
19812 * textmodes/table.el (*table--cell-describe-mode)
19813 (*table--cell-describe-bindings):
19814 Use help-print-return-message rather than the now obsolete alias.
19816 * calendar/cal-move.el (calendar-cursor-to-nearest-date)
19817 (calendar-cursor-to-visible-date):
19818 * play/5x5.el (5x5-position-cursor):
19819 * play/decipher.el (decipher):
19820 * play/gomoku.el (gomoku-goto-xy):
19821 * play/landmark.el (lm-goto-xy):
19822 * play/mpuz.el (mpuz-paint-errors, mpuz-paint-statistics)
19823 (mpuz-paint-digit):
19824 Use forward-line, not goto-line.
19826 * mail/rmail.el (rmail-obsolete): Delete custom group.
19827 (rmail-pop-password, rmail-pop-password-required): Make into aliases.
19828 (rmail-remote-password, rmail-remote-password-required):
19829 Remove unneeded :set-after and :set properties.
19831 2009-08-21 Michael Albinus <michael.albinus@gmx.de>
19833 * net/dbus.el (top): Initialize only when `dbusbind' is loaded.
19835 2009-08-21 Dan Nicolaescu <dann@ics.uci.edu>
19837 * loadup.el: Remove leftover macos code.
19839 * vc-git.el (vc-git-annotate-command): Run asynchronously.
19840 Explicitly pass the date format to git blame so that user local
19841 so that the output format can be parsed.
19843 2009-08-20 Michael Albinus <michael.albinus@gmx.de>
19845 * net/dbus.el (top): Don't check for (getenv
19846 "DBUS_SESSION_BUS_ADDRESS"). It's done in dbusbind.c now.
19848 2009-08-19 Magnus Henoch <magnus.henoch@gmail.com>
19850 * log-edit.el (log-edit-strip-single-file-name): New var.
19851 (log-edit-insert-changelog): Use it. Bug#3571
19853 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
19855 * subr.el (read-passwd): Use read-key so keypad keys work as well.
19858 * help.el (help-print-return-message): Rename from
19859 print-help-return-message.
19861 * log-view.el (log-view-mode-map): Remove `q' binding, and unreliable
19862 cvs-mode-map parent hack.
19863 (log-view-mode): Derive from special-mode.
19865 * linum.el (linum-mode): window-size-change-functions is redundant.
19866 Adapt to new window-configuration-change-hook behavior.
19867 (linum-after-size, linum-after-config): Remove.
19869 * imenu.el (imenu-example--name-and-position)
19870 (imenu-example--lisp-extract-index-name)
19871 (imenu-example--create-lisp-index, imenu-example--create-c-index):
19874 * progmodes/prolog.el (inferior-prolog-error-regexp-alist): New var.
19875 (inferior-prolog-mode): Use it.
19876 (inferior-prolog-load-file): Reset list of errors.
19878 2009-08-19 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
19880 * language/tibetan.el ("Tibetan"): Fix sample-text entry.
19882 * language/tai-viet.el ("TaiViet"): Fix sample-text entry.
19884 2009-08-19 Michael Albinus <michael.albinus@gmx.de>
19886 * net/dbus.el (top): Apply `dbus-init-bus' only if the session bus
19887 is running already.
19889 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
19891 * subr.el (listify-key-sequence-1): Use normal syntax since those
19892 integers are nowadays always represented by the same (positive) number
19894 (read-key-empty-map): New const.
19895 (read-key-delay): New var.
19896 (read-key): New function.
19897 (force-mode-line-update): Use with-current-buffer.
19898 (locate-user-emacs-file): Don't forget to abbreviate the file name.
19899 (start-process-shell-command, start-file-process-shell-command):
19900 Discourage the use of command-args.
19902 2009-08-19 Glenn Morris <rgm@gnu.org>
19904 * emacs-lisp/authors.el (authors-fixed-entries): Remove cvtmail.
19906 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
19908 * simple.el (choose-completion-string): Don't rely on
19909 minibuffer-completing-file-name and ad-hoc checks to decide whether
19910 to continue completion or not.
19912 * minibuffer.el (minibuffer-hide-completions): New function.
19913 (completion--do-completion): Use it.
19914 (completions-annotations): New face.
19915 (completion--insert-strings): Use it.
19916 (completion-pcm--delim-wild-regex): Add docstring.
19917 (completion-pcm--string->pattern): Add support for 0-width delimiters
19918 in completion-pcm--delim-wild-regex.
19920 2009-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
19922 * international/ucs-normalize.el (ucs-normalize-hfs-nfd-post-read-conversion):
19923 Remove unused var `buffer-modified-p'.
19925 * minibuffer.el (completion--do-completion): Move point for the #b001
19926 case as well (bug#4176).
19927 (minibuffer-complete, minibuffer-complete-word): Don't move point.
19929 2009-08-18 Michael Albinus <michael.albinus@gmx.de>
19931 * net/dbus.el (dbus-init-bus): Declare. Apply it for the :system
19932 and :session buses.
19934 2009-08-18 Kenichi Handa <handa@m17n.org>
19936 * international/ucs-normalize.el (ucs-normalize-version):
19938 (ucs-normalize-hfs-nfd-pre-write-conversion): New function.
19939 (utf-8-hfs): Make it perform normalization on encoding too.
19941 * textmodes/paragraphs.el: Change to utf-8. Adjust coding cookie.
19942 (sentence-end-without-space): Delete duplicated chars.
19943 (sentence-end-base): Likewise.
19945 * textmodes/sgml-mode.el: Change to utf-8. Adjust coding cookie.
19946 (html-mode): Delete duplicated chars from sentence-end-base.
19948 * textmodes/texinfo.el: Change to utf-8. Adjust coding cookie.
19949 (texinfo-mode): Delete duplicated chars from sentence-end-base.
19951 2009-08-17 Chong Yidong <cyd@stupidchicken.com>
19953 * files.el (hack-one-local-variable): If the mode function is for
19954 a minor mode, pass it an argument (Bug#4148).
19956 2009-08-17 Michael Albinus <michael.albinus@gmx.de>
19958 * net/tramp.el (tramp-register-completion-file-name-handler):
19959 Check also for (member 'partial-completion completion-styles).
19961 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
19963 * progmodes/cperl-mode.el (cperl-electric-paren): Don't expand
19966 2009-08-16 Ilya Zakharevich <ilyaz@cpan.org>
19968 * progmodes/cperl-mode.el: Merge upstream 6.2.
19969 (cperl-mode-syntax-table): Modify syntax entry for ["'`].
19970 (cperl-forward-re): Check cperl-brace-recursing.
19971 (cperl-highlight-charclass): New function.
19972 (cperl-find-pods-heres): Use it.
19973 (cperl-fill-paragraph): Synch to save-excursion placement used upstream.
19974 (cperl-beautify-regexp-piece): Fix column calculation.
19975 (cperl-make-regexp-x): Handle case where point is between "q" and "rs".
19976 (cperl-beautify-level): Don't process entire regexp.
19977 (cperl-build-manpage, cperl-perldoc): Bind Man-switches before
19979 (cperl-tips-faces, cperl-mode, cperl-electric-backspace): Doc fix.
19980 (cperl-init-faces): Build a list in the normal way.
19982 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
19984 * calendar/parse-time.el (parse-time-string-chars): Save match
19987 2009-08-16 Stefan Monnier <monnier@iro.umontreal.ca>
19989 * progmodes/sql.el (sql-product-alist): Add :name tag to entries.
19990 (sql-product): Use it.
19991 (sql-mode-menu): Auto-generate the menu based on sql-product-alist.
19992 (sql-set-product): Add completion.
19993 (sql-highlight-oracle-keywords, sql-highlight-postgres-keywords)
19994 (sql-highlight-linter-keywords, sql-highlight-ms-keywords)
19995 (sql-highlight-ansi-keywords, sql-highlight-sybase-keywords)
19996 (sql-highlight-informix-keywords, sql-highlight-interbase-keywords)
19997 (sql-highlight-ingres-keywords, sql-highlight-solid-keywords)
19998 (sql-highlight-mysql-keywords, sql-highlight-sqlite-keywords)
19999 (sql-highlight-db2-keywords): Remove.
20000 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
20001 (sql-highlight-product): Use derived-mode-p.
20002 (sql-set-sqli-buffer): Use with-current-buffer.
20003 (sql-connect-informix, sql-connect-ingres, sql-connect-oracle):
20006 * emacs-lisp/lisp-mode.el (lisp-indent-region): Remove unused function.
20008 * term.el: Fix commenting convention, turn comments into docstrings.
20010 2009-08-16 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
20012 * whitespace.el (whitespace-style): Doc fix (Bug#3661).
20014 2009-08-16 Jan Seeger <jan.seeger@thenybble.de> (tiny change)
20016 * calendar/parse-time.el (parse-time-string-chars): Compute using
20017 character classes, to handle non-ascii characters (Bug#3190).
20019 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
20021 * progmodes/sh-script.el (sh-maybe-here-document): Avoid inserting
20022 another heredoc if the user adds another < (Bug#3226).
20024 * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
20025 Don't initialize based on window-system (Bug#4124).
20027 * facemenu.el (facemenu-read-color): Use a completion function
20028 that accepts any defined color, such as RGB triplets (Bug#3677).
20030 * files.el (get-free-disk-space): Change fallback default
20031 directory to /. Expand DIR argument before switching to fallback.
20032 Suggested by Kevin Ryde (Bug#2631, Bug#3911).
20034 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
20036 * files.el (load-library): Doc fix.
20038 2009-08-15 Michael Kifer <kifer@cs.stonybrook.edu>
20040 * emulation/viper-cmd.el (viper-insert-isearch-string): New function.
20041 (viper-if-string): Redefine C-s in the minibuffer to insert the last
20042 incremental search string.
20044 * ediff-init.el (ediff-coding-system): Use escape-quoted in case of
20047 * ediff-merg.el (ediff-merge-region-is-non-clash-to-skip)
20048 (ediff-merge-region-is-non-clash)
20049 (ediff-skip-merge-region-if-changed-from-default-p): Use defun.
20050 Also check if the job is really a merge job.
20052 * ediff.el (ediff-current-file): New function.
20054 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
20056 * progmodes/js.el: Edit docstrings throughout to follow Emacs
20058 (js-insert-and-indent): Delete function.
20059 (js-mode-map): Don't bind keys to js-insert-and-indent.
20060 (js-beginning-of-defun): Rename from js--beginning-of-defun.
20061 (js-end-of-defun): Rename from js--end-of-defun.
20062 (js-auto-indent-flag): Delete variable.
20064 2009-08-14 Chong Yidong <cyd@stupidchicken.com>
20066 * progmodes/js.el: Remove proclaim statement.
20067 Defvar which-func-imenu-joiner-function to silence compiler.
20069 * files.el (auto-mode-alist): Use js-mode for .js files.
20071 * progmodes/js2-mode.el: Remove file.
20073 * Makefile.in (ELCFILES): Add js.el, and remove js2-mode.el.
20075 * speedbar.el (speedbar-supported-extension-expressions): Add .js.
20077 * progmodes/hideshow.el (hs-special-modes-alist): Add js-mode entry.
20079 2009-08-14 Daniel Colascione <dan.colascione@gmail.com>
20080 Karl Landstrom <karl.landstrom@brgeight.se>
20082 * progmodes/js.el: New file.
20084 2009-08-14 Mark A. Hershberger <mah@everybody.org>
20086 * timezone.el (timezone-parse-date): Add ability to understand ISO
20087 basic format (minimal separators) dates in addition to the
20088 already-supported extended format dates.
20090 2009-08-14 Eli Zaretskii <eliz@gnu.org>
20092 * international/ucs-normalize.el: Add a `coding' file variable.
20094 * Makefile.in (ELCFILES): Add international/ucs-normalize.elc.
20096 2009-08-14 Sam Steingold <sds@gnu.org>
20098 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
20100 2009-08-13 Chong Yidong <cyd@stupidchicken.com>
20102 * faces.el (help-argument-name): Define it here instead of
20103 help-fns.el, because in daemon mode help-fns.el may be loaded when
20104 faces are still uninitialized (Bug#1078).
20106 * help-fns.el (help-argument-name): Move defface to faces.el.
20108 2009-08-13 Nick Roberts <nickrob@snap.net.nz>
20110 * progmodes/gdb-mi.el (gdb-inferior-io-mode): Use start-process to
20111 create buffer with a pty but no process so that GDB can make the
20112 inferior the controlling process.
20114 2009-08-13 Taichi Kawabata <kawabata.taichi@gmail.com>
20116 * international/ucs-normalize.el: New file.
20118 2009-08-13 Richard Stallman <rms@gnu.org>
20120 * mail/rmail.el (rmail-get-attr-names):
20121 Accept an attribute header that is too short.
20123 * mail/rmail.el (rmail-forget-messages):
20124 Ignore nil elt in rmail-message-vector. Use dotimes.
20126 * progmodes/compile.el (compilation-goto-locus):
20127 Use next-error-move-function.
20129 * simple.el (next-error-move-function): New variable.
20131 2009-08-12 Juri Linkov <juri@jurta.org>
20133 * progmodes/grep.el (lgrep): Ensure that `default-directory' is
20134 always non-nil. (Bug#4052)
20136 * replace.el (read-regexp): Return empty string when
20137 `default-value' is nil.
20138 (keep-lines-read-args): Don't use empty string as the
20139 default value for `read-regexp'. (Bug#2495)
20141 2009-08-12 Juri Linkov <juri@jurta.org>
20143 * international/mule-cmds.el (ucs-insert): Change arguments
20144 from `arg' to `character', `count', `inherit' to be the same
20145 as in `insert-char'. Doc fix. (Bug#4039)
20147 * international/mule-conf.el (utf-16be-with-signature): Doc fix.
20149 2009-08-12 Juri Linkov <juri@jurta.org>
20151 * files-x.el: New file.
20153 * files.el: Move code that deals with adding/deleting
20154 file/directory-local variables to files-x.el.
20156 * Makefile.in (ELCFILES): Add files-x.elc.
20158 2009-08-11 Dmitry Dzhus <dima@sphinx.net.ru>
20160 * progmodes/gdb-mi.el (gdb-line-posns): New helper which helps not
20161 to use `goto-line'.
20162 (gdb-place-breakpoints, gdb-get-location): Rewritten without
20164 (gdb-invalidate-disassembly): Do not refresh upon receiving
20165 'update signal. Instead, update all disassembly buffers only after
20167 (gdb): Send -target-detach when buffer is killed (Bug#3794).
20168 (gdb-starting): Move -data-list-register-names...
20169 (gdb-stopped): ...here so it's sent when first thread stops.
20170 (gdb-registers-handler-custom): Do nothing if register names are
20173 * progmodes/gud.el (gud-stop-subjob): Rewritten without macros
20174 from `gdb-mi.el' to avoid extra tangling.
20176 * progmodes/gdb-mi.el (gdb-gud-context-call): Reverting previous
20177 change which breaks `gud-def' definitions used in `gdb'.
20178 (gdb-update-gud-running): No extra fuss for updating frame number.
20180 2009-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
20182 * international/mule-cmds.el (mule-keymap, mule-menu-keymap)
20183 (describe-language-environment-map, setup-language-environment-map)
20184 (set-coding-system-map): Move initialization into declaration.
20185 (set-language-info-alist): Last arg to define-key-after can be skipped.
20187 * international/quail.el (quail-completion-1): Simplify.
20188 (quail-define-rules): Use slightly more compact code.
20189 (quail-insert-decode-map): Propertize keys, compact columns.
20191 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
20194 2009-08-10 Miles Bader <miles@gnu.org>
20196 * progmodes/js2-mode.el (js2-warning, js2-error, js2-jsdoc-tag)
20197 (js2-jsdoc-type, js2-jsdoc-value, js2-function-param)
20198 (js2-instance-member, js2-private-member, js2-private-function-call)
20199 (js2-jsdoc-html-tag-name, js2-jsdoc-html-tag-delimiter)
20200 (js2-magic-paren, js2-external-variable):
20201 Remove "-face" suffix from face names.
20202 (js2-jsdoc-highlight-helper, js2-highlight-jsdoc)
20203 (js2-highlight-undeclared-vars, js2-peek-token)
20204 (js2-parse-function-params, js2-mode-show-errors)
20205 (js2-mode-show-warnings, js2-make-magic-delimiter)
20206 (js2-mode-highlight-magic-parens): Update to use new face names.
20208 2009-08-09 Michael Albinus <michael.albinus@gmx.de>
20210 * net/tramp.el (tramp-get-ls-command-with-dired): New defun.
20211 (tramp-handle-insert-directory): Handle "--dired". (Bug#4075)
20213 2009-08-09 Chong Yidong <cyd@stupidchicken.com>
20215 * subr.el: Provide hashtable-print-readable.
20217 * progmodes/hideshow.el (hs-special-modes-alist): Don't use
20218 hs-c-like-adjust-block-beginning.
20219 (hs-hide-block-at-point): Stop hiding at the beginning of
20220 hs-block-end-regexp (Bug#700).
20222 2009-08-09 Dmitry Dzhus <dima@sphinx.net.ru>
20224 * progmodes/gdb-mi.el (gdb-gud-context-call): Does not need to be
20226 (gdb-registers-handler-custom): Do not fail when register names
20229 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
20231 * progmodes/gdb-mi.el (gdb-control-all-threads)
20232 (gdb-control-current-thread): Interactive setters for
20233 `gdb-gud-control-all-threads' to use in menu.
20234 (gdb-show-run-p): Show «Go» when process is not active.
20235 (gud-tool-bar-map): Add non-stop/A,T indicator.
20236 Uses gud/thread.xpm and gud/all.xpm.
20238 2009-08-08 Yoni Rabkin <yoni@rabkins.net>
20240 * net/net-utils.el (net-utils-font-lock-keywords): New var.
20241 (nslookup-font-lock-keywords): Make it a variable.
20242 (net-utils-mode): New mode for viewing diagnostic network output.
20243 (net-utils-remove-ctrl-m-filter): Set inhibit-read-only.
20244 (net-utils-run-simple): New function.
20245 (ifconfig, iwconfig, netstat, arp, route): Use it.
20247 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
20249 * progmodes/gdb-mi.el (gdb-read-memory-custom)
20250 (gdb-memory-set-address, def-gdb-set-positive-number)
20251 (def-gdb-memory-format, def-gdb-memory-unit): Update memory buffer
20252 after changing settings.
20253 (gdb-invalidate-disassembly): Update when first shown.
20254 (gdb-edit-locals-value): Fixed.
20255 (gdb-registers-handler-custom): Print registers in right order and
20256 allow changing register values (only for current thread yet).
20257 (gdb-breakpoints-mode-map): Don't assume threads buffer is present.
20258 (gdb-threads-mode-map): Don't assume breakpoints buffer is present.
20259 (gdb-disassembly-handler-custom, gdb-stack-list-frames-custom)
20260 (gdb-locals-handler-custom, gdb-registers-handler-custom):
20261 Thread info in mode name.
20262 (gdb-registers-mode-map): TAB to switch to locals.
20264 2009-08-08 Eli Zaretskii <eliz@gnu.org>
20266 * mail/rmail.el (rmail-add-mbox-headers)
20267 (rmail-set-message-counters-counter): Search for
20268 rmail-unix-mail-delimiter instead of just "From ". (Bug#4076)
20270 2009-08-08 Glenn Morris <rgm@gnu.org>
20272 * Makefile.in (ELCFILES): Update.
20274 2009-08-07 Eli Zaretskii <eliz@gnu.org>
20276 * mail/sendmail.el (mail-yank-original):
20277 Set buffer-file-coding-system from the one used by the message whose
20280 * calc/calc-graph.el (calc-graph-plot): Set calc-graph-last-device
20281 to "windows" when "pgnuplot" is used.
20282 (calc-graph-command, calc-gnuplot-command, calc-graph-init):
20283 Don't call accept-process-output if "pgnuplot" is used.
20284 (calc-graph-init): Don't send -display and -geometry to
20285 "pgnuplot". If "pgnuplot" is used, glean gnuplot version by
20286 running "pgnuplot -V" with shell-command-to-string.
20288 * calc/calc.el (calc-gnuplot-name) [windows-nt]: Use "pgnuplot" as
20291 2009-08-07 Eli Zaretskii <eliz@gnu.org>
20293 * Makefile.in (ELCFILES): org/org-export-latex.elc renamed to
20296 2009-08-07 Dan Nicolaescu <dann@ics.uci.edu>
20298 * vc-dispatcher.el (vc-resynch-window): Update comment.
20300 * term.el (term-handle-ansi-escape): Add comments with the
20301 terminfo capabilities implemented.
20303 2009-08-06 Dmitry Dzhus <dima@sphinx.net.ru>
20305 * progmodes/gdb-mi.el (gdb-var-create-regexp): Removed.
20306 (gdb-var-create-handler): Rewritten using JSON parser.
20307 (gdb-propertize-header): Move earlier.
20308 (gdb-set-header): Remove to avoid duplication.
20309 (gdb-thread-list-handler-custom, gdb-invalidate-disassembly):
20310 Refresh disassembly buffers only after threads list have been
20312 (gdb-threads-header, gdb-registers-header): Per-buffer header line
20315 2009-08-04 Juri Linkov <juri@jurta.org>
20317 * files.el: Commands to add/delete file/directory-local variables.
20318 (read-file-local-variable, read-file-local-variable-value)
20319 (read-file-local-variable-mode, modify-file-local-variable)
20320 (modify-file-local-variable-prop-line)
20321 (modify-dir-local-variable): New functions.
20322 (add-file-local-variable, delete-file-local-variable)
20323 (add-file-local-variable-prop-line, delete-file-local-variable-prop-line)
20324 (add-dir-local-variable, delete-dir-local-variable)
20325 (copy-file-locals-to-dir-locals, copy-dir-locals-to-file-locals)
20326 (copy-dir-locals-to-file-locals-prop-line): New commands.
20328 2009-08-04 Chong Yidong <cyd@stupidchicken.com>
20330 * abbrev.el (insert-abbrev-table-description): Prettify output.
20331 Suggested by Karl Chen.
20333 2009-08-04 Dmitry Dzhus <dima@sphinx.net.ru>
20335 * progmodes/gdb-mi.el (gdb-frame-number): Initialize with nil.
20336 (gdb-overlay-arrow-position): Rename to `gdb-disassembly-position'.
20337 (gdb-overlay-arrow-position, gdb-thread-position)
20338 (gdb-disassembly-position): Declare variables.
20339 (gdb-wait-for-pending): Function now.
20340 (gdb-add-subscriber, gdb-delete-subscriber, gdb-get-subscribers)
20341 (gdb-emit-signal, gdb-buf-publisher): Declare before first use so
20342 compilation goes smoothly.
20343 (gdb, gdb-non-stop, gdb-buffers): New customization groups.
20344 (gdb-non-stop-setting): New customization setting which replaces
20345 `gdb-non-stop' so changing it doesn't break active GDB session.
20346 (gdb-stack-buffer-locations, gdb-stack-buffer-addresses)
20347 (gdb-thread-buffer-verbose-names, gdb-thread-buffer-arguments)
20348 (gdb-thread-buffer-locations, gdb-thread-buffer-addresses)
20349 (gdb-show-threads-by-default): New customization options.
20350 (gdb-buffer-type, gdb-buffer-shows-main-thread-p): New helper
20352 (gdb-get-buffer-create): Send buffers update signal when they are
20354 (gdb-invalidate-locals, gdb-invalidate-registers)
20355 (gdb-invalidate-breakpoints)
20356 (gdb-invalidate-threads, gdb-invalidate-disassembly)
20357 (gdb-invalidate-memory): Accept update signal.
20358 (gdb-current-context-command): Use --frame option.
20359 (gdb-update-gud-running, gdb-running, gdb-setq-thread-number):
20360 Implement `gdb-frame-number' selection logic.
20361 (gdb-show-run-p, gdb-show-stop-p): Helper functions which decide
20362 whether to show GUD toolbar buttons.
20363 (gdb-thread-exited): Unselect current thread when it exits.
20364 (gdb-stopped): Typo fixed (now really runs `gdb-stopped-hooks').
20365 (gdb-mark-line): Routine which sets overlay arrow or inverses
20366 video on fringeless displays.
20367 (gdb-table, gdb-table-add-row, gdb-table-string): Structure used
20368 to build aligned columns of data in GDB buffers and set text
20369 properties line-by-line.
20370 (gdb-invalidate-breakpoints)
20371 (gdb-breakpoints-list-handler-custom)
20372 (gdb-thread-list-handler-custom, gdb-disassembly-handler-custom)
20373 (gdb-stack-list-frames-custom, gdb-locals-handler-custom)
20374 (gdb-registers-handler-custom): Align data columns.
20375 (gdb-locals-handler-custom): Now prints data like in variable
20377 (gdb-jump-to, gdb-file-button, gdb-insert-file-location-button):
20378 Remove confusing buttons.
20379 (gdb-invalidate-threads): Append --frame.
20380 (gdb-threads-mode-map, gdb-breakpoints-mode-map): TAB to switch
20381 between breakpoints/threads buffers.
20382 (gdb-set-window-buffer): Now can ignore dedicated windows.
20383 (gdb-propertize-header): Use `gdb-set-window-buffer'.
20384 (def-gdb-thread-buffer-simple-command): Numerous typos fixed.
20385 (def-gdb-thread-buffer-gud-command): Replaces
20386 `def-gdb-thread-buffer-gdb-command' and uses standard GUD commands
20387 for fine thread control.
20388 (gdb-preempt-existing-or-display-buffer): New function used to
20389 display bound buffers without breaking window layout.
20390 (gdb-frame-location): Replaces `gdb-insert-frame-location'.
20391 (gdb-select-frame): New version of `gdb-frames-select' which now
20392 sets `gdb-frame-number' so commands may use --frame option instead
20393 of inner debugger state.
20394 (gdb-frame-handler): Do not set `gdb-frame-number'.
20395 (gdb-threads-mode-map): Select threads with mouse.
20397 * progmodes/gud.el (gdb-gud-context-call): Declare function to
20398 avoid compilation warning.
20399 (gud-menu-map, gud-minor-mode-map): Use `gdb-show-run-p` and
20402 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create):
20403 Argument `key' renamed to `buffer-type'.
20404 (gdb-current-context-buffer-name): Do not add thread info to
20405 buffer name when no thread is selected.
20406 (gdbmi-record-list, gdb-shell): Try to handle GDB `shell'
20407 command (bug 3794).
20408 (gdb-thread-selected): Handle `=thread-selected' notification.
20409 (gdb-wait-for-pending): New macro to deal with congestion problems.
20410 (gdb-breakpoints-list-handler-custom): Don't fail on pending
20412 (gdb-invalidate-disassembly): Use 'fullname instead of 'file.
20413 This fixes problem similar to one described in bug 3947.
20414 (gud-menu-map): More menu items.
20415 (gdb-init-1): Reset `gdb-thread-number' to nil.
20417 * progmodes/gud.el (gud-stop-subjob, gud-menu-map): Respect GDB
20420 * progmodes/gdb-mi.el (gdb-thread-number): Initialize with nil.
20421 (gdb-current-context-command): Do not append --thread if
20422 `gdb-thread-number' is nil.
20423 (gdb-running-threads-count, gdb-stopped-threads-count):
20425 (gdb-non-stop, gdb-gud-control-all-threads, gdb-switch-reasons)
20426 (gdb-stopped-hooks, gdb-switch-when-another-stopped):
20427 New customization options.
20428 (gdb-gud-context-command, gdb-gud-context-call): New wrappers for
20430 (gdb): `gud-def' definitions changed to use `gdb-gud-context-call'.
20431 (gdb-init-1): Activate non-stop mode if `gdb-non-stop' is enabled.
20432 (gdb-setq-thread-number, gdb-update-gud-running): New functions to
20433 set `gdb-thread-number' and update `gud-running' properly.
20434 (gdb-running): Update threads list when new threads appear.
20435 (gdb-stopped): Support non-stop operation and new thread switching
20437 (gdb-jsonify-buffer, gdb-json-read-buffer, gdb-json-string)
20438 (gdb-json-partial-output): New set of JSON routines.
20439 (def-gdb-auto-update-trigger): New `signal-list' optional
20441 (gdb-thread-list-handler-custom): Update `gud-running',
20442 `gdb-stopped-threads-count' and `gdb-running-threads-count'.
20443 (def-gdb-thread-buffer-gdb-command, gdb-interrupt-thread)
20444 (gdb-continue-thread, gdb-step-thread): New commands for fine
20445 thread execution control.
20446 (gud-menu-map): New menu items to switch non-stop options.
20447 (gdb-reset): Cleanup `gdb-thread-position' overlay arrow marker.
20448 (gdb-send): Mimic RET properly (bug 3794).
20450 * progmodes/gdb-mi.el (gdb-rules-name-maker)
20451 (gdb-rules-buffer-mode, gdb-rules-update-trigger): Accessors for
20453 (def-gdb-auto-update-handler): New nopreserve optional argument.
20454 (gdb-stack-list-frames-custom): Print stack from top to bottom.
20456 * progmodes/gdb-mi.el (gdb-pc-address): Remove unused variable.
20457 (gdb-threads-list, gdb-breakpoints-list): New assoc lists.
20458 (gdb-parent-mode): New mode to derive other GDB modes from.
20459 (gdb-display-disassembly-for-thread)
20460 (gdb-frame-disassembly-for-thread): New commands for threads
20463 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create)
20464 (gdb-init-1, gdb-bind-function-to-buffer, gdb-add-subscriber)
20465 (gdb-get-subscribers, gdb-emit-signal, gdb-buf-publisher)
20466 (gdb-update): We now store all GDB buffers in a list so that they
20467 can be updated by traversing a list instead of calling invalidate
20468 triggers explicitly.
20469 (def-gdb-trigger-and-handler): New macro to define trigger-handler
20470 pair for GDB buffer.
20471 (gdb-stack-buffer-name): Add thread information.
20472 (gdb-add-pending, gdb-pending-p, gdb-delete-pending): Macros to
20473 handle pending triggers.
20474 (gdb-threads-mode-map, def-gdb-thread-buffer-command)
20475 (def-gdb-thread-buffer-simple-command)
20476 (gdb-display-stack-for-thread, gdb-display-locals-for-thread)
20477 (gdb-display-registers-for-thread, gdb-frame-stack-for-thread)
20478 (gdb-frame-locals-for-thread, gdb-frame-registers-for-thread):
20479 New commands which show buffers bound to thread.
20480 (gdb-stack-list-locals-regexp): Remove unused regexp.
20482 * progmodes/gdb-mi.el (gdb-breakpoints-buffer-name)
20483 (gdb-locals-buffer-name, gdb-registers-buffer-name)
20484 (gdb-memory-buffer-name, gdb-stack-buffer-name): Do not switch
20485 to (gud-comint-buffer) in *-buffer-name functions
20486 because (gdb-get-target-string) already does that.
20487 (gdb-locals-handler-custom, gdb-registers-handler-custom)
20488 (gdb-changed-registers-handler): Rewritten without regexps.
20490 * progmodes/gdb-mi.el: Basic thread selection support.
20491 (gdb-thread-number): New variable.
20492 (gdb-current-context-command): New macro which adds --thread
20494 (gdb-threads-mode-map): Select thread with SPC.
20495 (gdb-thread-list-handler-custom): Mark current thread with overlay
20496 arrow. Synchronize GDB thread and Emacs thread.
20497 (gdb-select-thread): New command which selects current thread.
20498 (gdb-invalidate-frames, gdb-invalidate-locals)
20499 (gdb-invalidate-registers): Use --thread option.
20501 2009-08-04 Michael Albinus <michael.albinus@gmx.de>
20503 * net/tramp.el (top): Make check for tramp-gvfs loading more
20505 (tramp-handle-insert-file-contents): `unwind-protect' must be
20506 inside `with-parsed-tramp-file-name'.
20508 * net/tramp-gvfs.el (top): Remove superfluous message when loading
20511 2009-08-03 Nick Roberts <nickrob@snap.net.nz>
20513 * progmodes/gud.el (jdb): Set gud-jdb-classpath-string to current
20514 directory if CLASSPATH is not set.
20516 2009-08-03 Michael Albinus <michael.albinus@gmx.de>
20518 * net/tramp.el (tramp-rfn-eshadow-update-overlay-regexp):
20520 (tramp-rfn-eshadow-update-overlay): Use it. (Bug#4004)
20522 2009-08-02 Kevin Ryde <user42@zip.com.au>
20524 * net/newst-backend.el (newsticker--raw-url-list-defaults):
20525 Update freshmeat link. Delete newsforge.com as it seems gone.
20527 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
20529 * select.el (x-set-selection): Doc fix (Bug#4021).
20531 * w32-fns.el (x-set-selection): Doc fix (Bug#4021).
20533 * help-fns.el (describe-variable): Treat list return values from
20534 dir-locals-find-file properly (Bug#4005).
20536 2009-08-02 Julian Scheid <julians37@googlemail.com> (tiny change)
20538 * net/tramp.el (tramp-debug-message): Print also microseconds.
20540 2009-08-02 Michael Albinus <michael.albinus@gmx.de>
20542 * net/tramp.el (tramp-handle-insert-file-contents): Optimize, when BEG
20544 (tramp-handle-vc-registered): Use `tramp-cache-inhibit-cache'.
20545 (tramp-get-debug-buffer): Change `outline-regexp' according to new
20548 * net/tramp-cache.el (tramp-cache-inhibit-cache): New defvar.
20549 (tramp-get-file-property): Use it.
20551 * autorevert.el (auto-revert-handler):
20552 Allow `auto-revert-tail-mode' for remote files.
20554 2009-08-02 Jason Rumney <jasonr@gnu.org>
20556 * minibuffer.el (read-file-name): Treat confirm options to
20557 MUSTMATCH as nil when invoking x-file-dialog. (Bug#3969)
20559 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
20561 * font-lock.el (font-lock-string-face, font-lock-builtin-face)
20562 (font-lock-variable-name-face, font-lock-constant-face):
20563 Darken the colors for light backgrounds.
20565 2009-08-01 Eli Zaretskii <eliz@gnu.org>
20567 * mail/rmailsum.el (rmail-header-summary): Ignore letter-case of
20568 month names. (Bug#3987)
20570 2009-07-31 Chong Yidong <cyd@stupidchicken.com>
20572 * simple.el (line-move-finish): Pass whole number to
20573 line-move-to-column.
20574 (line-move-visual): Perform hscroll to the recorded position.
20576 2009-07-30 Jay Belanger <jay.p.belanger@gmail.com>
20578 * calc/calc-mode.el (calc-matrix-brackets): Remove "P" from prompt.
20580 2009-07-29 Alan Mackenzie <acm@muc.de>
20582 * progmodes/cc-defs.el (c-version): Bump to 5.31.7.
20584 2009-07-29 Dmitry Dzhus <dima@sphinx.net.ru>
20586 * progmodes/gdb-mi.el (gdb-goto-breakpoint)
20587 (gdb-place-breakpoints): Use full path when setting breakpoints.
20589 2009-07-29 Jay Belanger <jay.p.belanger@gmail.com>
20591 * calc/calc.el (calc-mode-map): Add keybinding for
20592 `calc-transpose-lines'.
20594 2009-07-29 Vincent Belaïche <vincent.belaiche@gmail.com>
20596 * calc/calc-misc.el (calc-transpose-lines): New function.
20598 2009-07-28 Michael Albinus <michael.albinus@gmx.de>
20600 * net/tramp.el (tramp-do-copy-or-rename-file): Add messages.
20601 Simplify check for out-of-band methods.
20602 (tramp-do-copy-or-rename-file-out-of-band): Allow both files to be
20603 remote. Remove messages which are in `tramp-do-copy-or-rename-file'.
20605 2009-07-28 Dan Nicolaescu <dann@ics.uci.edu>
20607 * vc-git.el (vc-git-checkin): Fix typo.
20609 2009-07-28 Steve Yegge <steve.yegge@gmail.com>
20611 * progmodes/js2-mode.el: New file.
20613 2009-07-28 Nick Roberts <nickrob@snap.net.nz>
20615 * progmodes/gud.el (jdb): Add gud-pstar to dump object information.
20616 (gud-menu-map): Adjust tooltip accordingly.
20618 2009-07-27 Dan Nicolaescu <dann@ics.uci.edu>
20620 * vc-bzr.el (vc-bzr-print-log): Pass multiple arguments to bzr log.
20621 (vc-bzr-log-view-mode): Adjust log-view-file-re.
20623 * add-log.el (change-log-mode-map): Add a menu.
20625 2009-07-27 Michael Albinus <michael.albinus@gmx.de>
20627 * net/dbus.el (dbus-call-method-non-blocking): Handle the case the
20628 function returns nil.
20629 (dbus-handle-event): Handle special return value :ignore.
20630 Reported by Jan Moringen <jan.moringen@uni-bielefeld.de>.
20632 2009-07-26 Chong Yidong <cyd@stupidchicken.com>
20634 * view.el (view-mode-enable): Don't define Helper-return-blurb if
20637 2009-07-25 Eli Zaretskii <eliz@gnu.org>
20641 * w32-vars.el (x-select-enable-clipboard): Doc fix.
20643 * term/pc-win.el (x-display-name, x-colors)
20644 (x-select-enable-clipboard, x-select-text): Doc fix.
20646 * term/common-win.el (x-display-name, x-colors): Doc fix.
20648 * term/ns-win.el (x-select-text, x-setup-function-keys, x-colors)
20649 (xw-defined-colors): Doc fix.
20651 * w32-fns.el (x-select-text, x-setup-function-keys)
20652 (x-get-selection, x-set-selection): Doc fix.
20654 * term/x-win.el (x-select-text, x-setup-function-keys)
20655 (x-select-enable-clipboard, xw-defined-colors): Doc fix.
20657 * select.el (x-set-selection): Doc fix.
20659 2009-07-25 Michael Albinus <michael.albinus@gmx.de>
20661 * net/zeroconf.el (zeroconf-init): Check for "GetVersionString"
20662 instead of "IsNSSSupportAvailable". Avahi ought to work also when
20663 "IsNSSSupportAvailable" method is not available.
20664 Reported by Steve Youngs <steve@sxemacs.org>.
20666 2009-07-24 Kenichi Handa <handa@m17n.org>
20668 * international/characters.el: Fix setting of category ?C, ?|, ?K,
20669 and ?H. Fix setting of case for Latin Extended and Greek Extended.
20670 (build-unicode-category-table): Fix range checks.
20672 2009-07-24 Dan Nicolaescu <dann@ics.uci.edu>
20674 * vc-dispatcher.el (vc-resynch-buffers-in-directory): Make sure
20675 the buffer we try to sync is current when calling
20678 * vc-dir.el (vc-dir-resynch-file): Make sure vc-dir-update does
20679 not show up to date files.
20681 2009-07-24 Glenn Morris <rgm@gnu.org>
20683 * emacs-lisp/elint.el (elint-current-buffer, elint-defun):
20684 Add autoload cookies. If necessary, initialize.
20685 (elint-log): Handle non-file buffers.
20686 (elint-initialize): Add optional argument to reinitialize.
20687 (elint-find-builtin-variables): Save excursion.
20689 2009-07-23 Dan Nicolaescu <dann@ics.uci.edu>
20691 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
20694 2009-07-22 Dan Nicolaescu <dann@ics.uci.edu>
20696 * vc.el (vc-print-log-internal): New function, split out from ...
20697 (vc-print-log): ... here.
20698 (vc-dir-move-to-goal-column): Declare.
20700 * vc-git.el (vc-git-add-signoff): New variable.
20701 (vc-git-checkin): Use it.
20702 (vc-git-toggle-signoff): New function.
20703 (vc-git-extra-menu-map): Bind it to menu.
20704 (vc-git--run-command-string): Accept a nil FILE argument.
20705 (vc-git-stash-list): New function.
20706 (vc-git-dir-extra-headers): Use it.
20708 2009-07-23 Glenn Morris <rgm@gnu.org>
20710 * help-fns.el (describe-variable): Describe ignored and risky local
20711 variables in a similar way to that in which we describe safe ones.
20713 * emacs-lisp/bytecomp.el (byte-compile-from-buffer)
20714 (byte-compile-output-file-form, byte-compile-output-docform)
20715 (byte-compile-file-form-defmumble, byte-compile-output-as-comment):
20716 Give some more local variables with common names a "bytecomp-" prefix,
20717 so as not to shadow things during compilation.
20718 * emacs-lisp/cl-macs.el (load-time-value)
20719 * emacs-lisp/cl.el (cl-compiling-file): Update for the name-change
20720 `outbuffer' to `bytecomp-outbuffer'.
20722 * emacs-lisp/elint.el (elint-standard-variables): Remove most members,
20723 since the next two variables cover them automatically now.
20724 (elint-builtin-variables, elint-autoloaded-variables): New.
20725 (elint-unknown-builtin-args): Remove all members, since they can be
20726 parsed automatically now.
20727 (elint-extra-errors): New.
20728 (elint-env-add-env, elint-env-add-macro): Use cadr.
20729 (elint-current-buffer): Use or. Change final message.
20730 (elint-get-top-forms): Use line-end-position.
20731 (elint-init-env): Use cadr. Handle autoload, declare-function,
20733 (elint-add-required-env): Doc fix. Use or. Standardize error.
20734 (regexp-assoc): Remove unused function.
20735 (elint-top-form): Set elint-current-pos, to record the start of the
20736 top-level form, for compilation-mode.
20737 (elint-form): Trap errors in macro expansion. Use dolist.
20738 (elint-unbound-variable): Use elint-builtin-variables and
20739 elint-autoloaded-variables.
20740 (elint-get-args): Use cadr, or.
20741 (elint-check-cond-form): Use dolist, cadr.
20742 (elint-check-condition-case-form): Doc fix. Use cadr.
20743 Use elint-extra-errors.
20744 (elint-log): New function.
20745 (elint-error, elint-warning): Use elint-log for a bytecomp-style format.
20746 Distinguish errors and warnings.
20747 (elint-log-message): Use with-current-buffer. Inhibit read-only.
20748 Use a bytecomp-style format.
20749 (elint-clear-log): Preserve default-directory. Inhibit read-only.
20750 (elint-get-log-buffer): Use compilation mode. Disable undo.
20751 Don't truncate lines.
20752 (elint-initialize): Set builtin and autoloaded variable lists.
20753 Only process elint-unknown-builtin-args if non-nil.
20754 (elint-find-builtin-variables, elint-find-autoloaded-variables):
20756 (elint-find-builtin-args): Doc fix. Handle "BODY...)".
20758 2009-07-22 Kevin Ryde <user42@zip.com.au>
20760 * net/newst-backend.el (newsticker--parse-atom-1.0)
20761 (newsticker--parse-rss-0.91, newsticker--parse-rss-0.92)
20762 (newsticker--parse-rss-1.0):
20763 * progmodes/idlwave.el (idlwave-mode):
20764 * progmodes/idlw-shell.el (idlwave-shell-mode):
20765 * progmodes/vera-mode.el (vera-mode):
20766 * progmodes/verilog-mode.el (verilog-auto-inst, verilog-auto):
20767 * progmodes/vhdl-mode.el (vhdl-mode):
20768 * textmodes/table.el (table-generate-source)
20769 (table--warn-incompatibility):
20770 Hyperlink urls in docstrings with URL `...'.
20772 2009-07-22 Glenn Morris <rgm@gnu.org>
20774 * emacs-lisp/advice.el, emacs-lisp/checkdoc.el:
20775 * emacs-lisp/debug.el, emacs-lisp/elp.el, emacs-lisp/gulp.el:
20776 * emacs-lisp/lisp.el, emacs-lisp/pp.el, emacs-lisp/trace.el:
20777 Remove leading * from defcustom docs.
20779 * simple.el (blink-matching-paren-distance): Bump to 100k. (Bug#3889)
20781 * emacs-lisp/shadow.el (shadows-compare-text-p): Remove leading * from
20783 (list-load-path-shadows): Optionally, just return shadows as a string.
20785 * mail/emacsbug.el (report-emacs-bug): Include any load-path shadows.
20787 2009-07-21 Chong Yidong <cyd@stupidchicken.com>
20789 * mail/rmailedit.el (rmail-edit-mode):
20790 Use auto-save-include-big-deletions.
20792 * mail/rmail.el (rmail-variables):
20793 Use auto-save-include-big-deletions.
20795 * files.el (auto-save-mode): Revert 2009-07-21 and 2009-07-16
20798 2009-07-21 Jay Belanger <jay.p.belanger@gmail.com>
20800 * calc/calc.el (calc-undo-length): New variable.
20801 (calc-quit): Truncate rather than eliminate `calc-undo-list'.
20803 2009-07-21 Richard Stallman <rms@gnu.org>
20805 * files.el (auto-save-mode): Handle buffer-save-size = -2
20808 2009-07-21 Glenn Morris <rgm@gnu.org>
20810 * textmodes/ispell.el (ispell-looking-back): Update declaration.
20812 * calendar/todo-mode.el (calendar-current-date): Update declaration.
20814 * ps-print.el (ps-jitify, ps-lazify): Remove aliases only used to
20815 silence compiler. Instead...
20816 (jit-lock-fontify-now, lazy-lock-fontify-region): ...Declare.
20817 (ps-print-ensure-fontified): Update for above function name changes.
20819 * printing.el (pr-mh-get-msg-num, pr-mh-show)
20820 (pr-mh-start-of-uncleaned-message): Remove aliases only used to
20821 silence compiler. Instead...
20822 (mh-get-msg-num, mh-show, mh-start-of-uncleaned-message): ...Declare.
20823 (mh-show-buffer): Only define for compiler.
20824 (pr-mh-current-message): Update for above function name changes.
20826 * files.el (abort-if-file-too-large): Explicitly pass `filename'
20828 (find-file-noselect, insert-file-1): Update for above change.
20830 * mail/rmail.el (rmail-retry-ignored-headers): Bump :version.
20832 * mail/mailclient.el (mailclient-send-it): Fix message.
20834 * emacs-lisp/edebug.el (cl-debug-env): Only define for compiler.
20835 (edebug-eval): Check cl-debug-env is bound.
20836 (print-level, print-circle): Don't redefine built-in variables.
20838 * emacs-lisp/cust-print.el: Remove leading * from defcustom docs.
20839 (custom-print-vectors): Remove old comments from doc.
20841 * emerge.el (menu-bar-emerge-menu): Remove unused variable.
20842 (emerge-version): Make the variable an obsolete alias for the
20843 emacs-version variable. Make the function obsolete.
20844 (emerge-fast-keymap, emerge-edit-keymap): Make a separate menu for
20845 Emerge options, rather than merging in into the main Options menu.
20846 (emerge-options-menu): Adjust menu text. Use buttons for skip prefers
20847 and auto advance modes. Disable edit/fast items when not relevant.
20849 2009-07-20 Dan Nicolaescu <dann@ics.uci.edu>
20851 * term/vt420.el (terminal-init-vt420): Fix typo.
20853 2009-07-20 Sam Steingold <sds@gnu.org>
20855 * progmodes/ada-mode.el (compile-auto-highlight): Remove the
20856 variable (removed from compile.el on 2004-03-11).
20858 2009-07-20 Chong Yidong <cyd@stupidchicken.com>
20860 * files.el (hack-local-variables-filter): Fix last change.
20862 2009-07-19 Juri Linkov <juri@jurta.org>
20864 * files.el (ignored-local-variables): Add `dir-local-variables-alist'.
20865 (dir-local-variables-alist): New buffer-local variable.
20866 (hack-local-variables-filter): If variable is not dir-local,
20867 i.e. `dir-name' is nil, then remove it from `dir-local-variables-alist',
20868 because file-local overrides dir-local.
20869 (c-postprocess-file-styles) <declare-function>:
20870 Remove obsolete declaration.
20871 (hack-dir-local-variables): Add dir-local variable/value pair to
20872 `dir-local-variables-alist' and remove duplicates. Doc fix.
20874 * help-fns.el (describe-variable): Add information about
20875 file-local and dir-local variables.
20877 2009-07-19 Chong Yidong <cyd@stupidchicken.com>
20879 * files.el (hack-local-variables-filter): Rewrite.
20881 2009-07-19 Glenn Morris <rgm@gnu.org>
20883 * progmodes/verilog-mode.el (verilog-error-regexp-add-xemacs):
20884 Silence compiler by only defining on XEmacs.
20886 * international/mule.el (auto-coding-regexp-alist): Only match
20887 BABYL... at the start of buffer, not of lines. (Bug#3790)
20889 * calendar/cal-menu.el (cal-menu-set-date-title): Handle calls from
20890 non-calendar buffers (Bug#3862). Restore "not on a date" message.
20891 (cal-menu-context-mouse-menu): Doc fix.
20893 * desktop.el (desktop-buffers-not-to-save): Set :version tag.
20895 * simple.el (mail-user-agent): Doc fix. Set :version tag.
20897 2009-07-18 Juri Linkov <juri@jurta.org>
20899 * info.el: Virtual Info keyword finder.
20900 (add-to-list) <Info-virtual-files>: Add "\\`\\*Finder.*\\*\\'".
20901 (Info-finder-file): New variable.
20902 (Info-finder-find-file): New function.
20903 (finder-known-keywords, finder-package-info)
20904 (find-library-name, lm-commentary): Use defvar and
20905 declare-function to silence compiler warnings.
20906 (Info-finder-find-node): New function.
20907 (info-finder): New command.
20909 * subr.el (process-kill-buffer-query-function): New function.
20910 (add-hook)<kill-buffer-query-functions>: Add hook
20911 `process-kill-buffer-query-function'.
20913 2009-07-18 Alan Mackenzie <acm@muc.de>
20915 * progmodes/cc-mode.el (c-before-hack-hook)
20916 (c-postprocess-file-styles): Give invocation of `c-set-style'
20917 DONT-OVERRIDE parameter of t. Already set style variables will
20918 thus not be overridden by style settings given by `c-file-syle'.
20920 * files.el (hack-local-variables-filter): Remove entries with
20921 duplicate keys from `file-local-variables-alist'.
20923 2009-07-18 Eli Zaretskii <eliz@gnu.org>
20925 * simple.el (deactivate-mark, activate-mark, set-mark): Don't call
20926 x-set-selection if display-selections-p returns nil for the
20929 2009-07-18 Chong Yidong <cyd@stupidchicken.com>
20931 * simple.el (region-active-p, use-region-p): Doc fix (Bug#3873).
20933 2009-07-18 Eli Zaretskii <eliz@gnu.org>
20935 * desktop.el (desktop-buffers-not-to-save): Default value is nil.
20936 Accept nil in addition to a regexp.
20937 (desktop-files-not-to-save): Add "(ftp)$" to the default regexp.
20938 Accept nil in addition to a regexp.
20939 (desktop-save-buffer-p): Don't use desktop-buffers-not-to-save for
20940 buffers that have an associated file. Handle nil values of
20941 desktop-buffers-not-to-save and desktop-files-not-to-save.
20944 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
20945 (x-disown-selection-internal): New functions.
20947 2009-07-18 Nick Roberts <nickrob@snap.net.nz>
20949 * progmodes/gdb-mi.el (speedbar-frame): Declare to avoid compiler
20951 (gdb-breakpoints-header): Move forward to avoid compiler warning.
20952 (gdb-make-header-line-mouse-map): Remove duplicate definition.
20954 2009-07-18 David De La Harpe Golden <david@harpegolden.net>
20956 * simple.el (set-mark): Revert last change.
20958 2009-07-17 Tassilo Horn <tassilo@member.fsf.org>
20960 * doc-view.el (doc-view-initiate-display): Add yes-or-no-p if
20961 rendering of pngs is not possible instead of messaging a long
20964 2009-07-17 David De La Harpe Golden <david@harpegolden.net>
20966 * w32-fns.el (x-selection-owner-p): New function.
20968 * mouse.el (mouse-drag-track): Call deactivate-mark earlier.
20969 (mouse-yank-at-click, mouse-yank-primary):
20970 If select-active-regions is non-nil, deactivate the mark before
20973 * simple.el (deactivate-mark, set-mark): Only save selection if we
20976 2009-07-17 Kenichi Handa <handa@m17n.org>
20978 * case-table.el (describe-buffer-case-table): Fix for the case
20979 that KEY is a cons.
20981 2009-07-16 Dan Nicolaescu <dann@ics.uci.edu>
20983 * vc-rcs.el (vc-rcs-find-file-hook):
20984 * vc-sccs.el (vc-sccs-find-file-hook): Fix cut and paste error.
20986 2009-07-16 Michael Albinus <michael.albinus@gmx.de>
20988 * net/tramp.el (tramp-wait-for-output): Handle the case when
20989 commands do not return a newline but a null byte before the shell
20992 2009-07-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
20994 * term/ns-win.el (ns-set-alpha): Don't declare.
20995 (ns-set-background-alpha): Remove function.
20997 2009-07-16 Kevin Ryde <user42@zip.com.au>
20999 * emacs-lisp/copyright.el (copyright-update): Save match-data across
21000 y-or-n-p, for safety.
21002 2009-07-16 Richard Stallman <rms@gnu.org>
21004 * files.el (auto-save-mode): If buffer-saved-size is -2,
21007 * mail/rmail.el (rmail-variables): Set buffer-saved-size to -2.
21008 (rmail-retry-ignored-headers): Add more uninteresting fields.
21010 2009-07-15 Jari Aalto <jari.aalto@cante.net>
21012 * net/rcirc.el (rcirc): Use history variables.
21013 (rcirc-server-name-history, rcirc-nick-name-history)
21014 (rcirc-server-port-history): New variables.
21016 2009-07-15 Kenichi Handa <handa@m17n.org>
21018 * international/mule-cmds.el (set-language-environment-charset):
21019 If coding-system-charset-list returns `iso-2022' or `emacs-mule',
21022 * language/misc-lang.el ("IPA"): Change coding systems to utf-8.
21023 Delete unibyte-display.
21025 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
21027 * simple.el (kill-visual-line): Obey kill-whole-line (Bug#3695).
21029 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
21031 * simple.el (deactivate-mark): Optional argument FORCE.
21032 (set-mark): Use deactivate-mark.
21034 * info.el (Info-search): No need to check transient-mark-mode
21035 before calling deactivate-mark.
21037 * select.el (x-set-selection): Doc fix.
21038 (x-valid-simple-selection-p): Allow buffer values.
21039 (xselect--selection-bounds): Handle buffer values.
21040 Suggested by David De La Harpe Golden.
21042 * mouse.el (mouse-set-region, mouse-drag-track):
21043 Call copy-region-as-kill before setting the mark, to let
21044 select-active-regions work.
21046 2009-07-15 David De La Harpe Golden <david@harpegolden.net>
21048 * simple.el (deactivate-mark): If select-active-regions is
21049 non-nil, copy the selection data into a string.
21050 (activate-mark): If select-active-regions is non-nil, set the
21051 selection to the current buffer.
21052 (set-mark): Update selection if select-active-regions is non-nil.
21054 * select.el (x-valid-simple-selection-p): Allow buffer values.
21056 2009-07-14 Stefan Monnier <monnier@iro.umontreal.ca>
21058 * simple.el (mail-user-agent): Default to the upwardly-UI-compatible
21059 and more featureful message-mode.
21061 2009-07-14 Chong Yidong <cyd@stupidchicken.com>
21063 * select.el (x-set-selection): Doc fix.
21064 (x-valid-simple-selection-p): Disallow selection data consisting
21065 of a list or cons of integers, since that is not used.
21066 (xselect--selection-bounds, xselect--int-to-cons): New functions.
21067 (xselect-convert-to-string, xselect-convert-to-length)
21068 (xselect-convert-to-filename, xselect-convert-to-charpos)
21069 (xselect-convert-to-lineno, xselect-convert-to-colno): Use them.
21071 2009-07-14 Dmitry Dzhus <dima@sphinx.net.ru>
21073 * progmodes/gdb-mi.el (json-partial-output): Fix broken GDB/MI
21074 output in -break-info command (Emacs bug #3794).
21076 2009-07-14 Glenn Morris <rgm@gnu.org>
21078 * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-forms)
21079 (edebug-eval-macro-args, edebug-save-displayed-buffer-points)
21080 (edebug-print-length, edebug-print-level, edebug-print-circle)
21081 (edebug-sit-for-seconds, edebug-view-outside)
21082 (edebug-bounce-point, edebug-set-global-break-condition)
21083 (edebug-Go-nonstop-mode, edebug-trace-mode)
21084 (edebug-Trace-fast-mode, edebug-continue-mode)
21085 (edebug-Continue-fast-mode, edebug-forward-sexp, edebug-help)
21086 (edebug-visit-eval-list): Doc fixes.
21088 * subr.el (def-edebug-spec): Doc fix.
21090 2009-07-14 Kenichi Handa <handa@m17n.org>
21092 * international/characters.el: Fix setting of category ?C.
21094 2009-07-13 Jan Djärv <jan.h.d@swipnet.se>
21096 * term/ns-win.el (x-select-font): defalias x-select-font to
21097 ns-popup-font-panel instead of generate-fontset-menu.
21099 2009-07-12 Eli Zaretskii <eliz@gnu.org>
21101 * desktop.el (desktop-buffers-not-to-save): Remove ".log". (Bug#3833)
21103 2009-07-12 Peter Jolly <peter@jollys.org> (tiny change)
21105 * arc-mode.el (archive-find-type): Allow for a PK00 string before
21106 the PK\003\004 header (Bug#3770).
21108 2009-07-12 Guanpeng Xu <herberteuler@hotmail.com>
21110 * pcomplete.el (pcomplete-comint-setup): Check for
21111 shell-dynamic-complete-filename too.
21113 2009-07-11 Chong Yidong <cyd@stupidchicken.com>
21115 * simple.el (temporary-goal-column): Change the value for
21116 line-move-visual to a cons cell.
21117 (line-move-visual): Record or set the window hscroll, if
21118 necessary (Bug#3494).
21119 (line-move-1): Handle cons value of temporary-goal-column.
21121 2009-07-11 Kenichi Handa <handa@m17n.org>
21123 * international/mule-diag.el (describe-character-set): Don't show
21126 2009-07-10 Sam Steingold <sds@gnu.org>
21128 * progmodes/compile.el (compilation-mode-font-lock-keywords):
21129 Omake sometimes indents the errors it prints, so allow all
21130 regexps to start with spaces.
21132 2009-07-10 Eli Zaretskii <eliz@gnu.org>
21134 * cus-edit.el (customize-changed-options-previous-release):
21135 Bump value to 22.1. (Bug#3804)
21137 2009-07-08 Sam Steingold <sds@gnu.org>
21139 * progmodes/grep.el (rgrep): Allow grep-find-ignored-directories
21140 to be a cons cell (test . ignored-directory) to selectively ignore
21141 some directories depending on the location of the search.
21143 2009-07-08 Michael Albinus <michael.albinus@gmx.de>
21145 * net/tramp.el (tramp-set-file-uid-gid): Handle the case the
21146 remote user is root, on the local host.
21147 (tramp-local-host-p): Either the local user or the remote user
21148 must be root. (Bug#3771)
21150 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
21152 * progmodes/gdb-mi.el (gdb): Remove description of
21153 gdb-use-separate-io-buffer.
21154 (menu): Don't allow toggling of or enable
21155 gdb-use-separate-io-buffer from menubar.
21157 2009-07-08 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
21159 * mail/unrmail.el (unrmail): Make sure the message ends with two
21160 newlines (Bug#3769).
21162 2009-07-08 Glenn Morris <rgm@gnu.org>
21164 * calendar/calendar.el (calendar-current-date): Rework previous change.
21166 2009-07-08 Ed Reingold <reingold@emr.cs.iit.edu>
21168 * calendar/calendar.el (calendar-current-date):
21169 Add an optional argument giving an offset from today.
21171 2009-07-08 Glenn Morris <rgm@gnu.org>
21173 * tutorial.el (tutorial--describe-nonstandard-key):
21174 Adjust the message for when a key has been unbound.
21175 (help-with-tutorial): Hide the arch-tag.
21177 2009-07-08 Kenichi Handa <handa@m17n.org>
21179 * international/fontset.el (setup-default-fontset): For each
21180 script, append (not set) font-specs.
21182 * language/japanese.el (japanese-shift-jis-2004): Fix typo in the
21185 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
21187 * progmodes/gdb-mi.el (gdb-init-1): Move sending
21188 -data-list-register-names to ...
21189 (gdb-starting): ... here because GDB 7.0 requires execution to
21190 have started when using this MI command.
21191 (gdb-set-header): New function to distinguish select and
21192 unselected tabs in gdb buffers.
21193 (gdb-propertize-header): New macro that uses gdb-set-header.
21194 (gdb-breakpoints-header, gdb-locals-header): Use it.
21195 (gdb-disassembly-mode-map): Add keybinding to kill buffer.
21197 2009-07-07 Chong Yidong <cyd@stupidchicken.com>
21199 * Makefile.in (ELCFILES): Remove fadr.elc.
21201 2009-07-07 Dmitry Dzhus <dima@sphinx.net.ru>
21203 * progmodes/gdb-mi.el (gdb-init-1): Disassembly buffer mode name
21204 may contain frame information, so `string-match' should be used.
21205 (gdb-update): Disassembly is invalidated through
21206 `gdb-get-selected-frame'.
21207 (gdb-pad-string): New function to pad string with spaces.
21208 (gdb-invalidate-disassembly): Invalidate only if the buffer
21210 (gdb-disassembly-handler-custom): Column alignment.
21211 (gdb-disassembly-place-breakpoints): Clear old breakpoints before
21213 (gdb-toggle-breakpoint, gdb-delete-breakpoint): Now work from the
21215 (gdb-frame-handler): Match convention to for disassembly buffer
21217 (gdb-stack-list-frames-handler): Rewritten without regexps.
21218 (gdb-breakpoints-list-handler-custom): y/n instead of on/off; do
21219 not highlight breakpoints without line information.
21220 (gdb-input): Add trailing newline to command.
21222 * progmodes/gdb-mi.el (gdb-init-1): Set mode name for disassembly
21224 (gdb-breakpoints-list-handler-custom): Replacement for
21225 `gdb-break-list-handler'. Using real parser instead of regexps
21227 (gdb-place-breakpoints): Replacement for `gdb-break-list-custom'.
21228 Use `gdb-breakpoints-list' instead of parsing breakpoints buffer
21229 to place breakpoints.
21230 (def-gdb-memory-unit): A new macro to define gdb-memory-unit-..
21232 (gdb-disassembly-handler-custom): Show overlay arrow.
21233 (gdb-disassembly-place-breakpoints): Show breakpoints in
21234 disassembly buffer.
21235 (gdb-toggle-breakpoint, gdb-delete-breakpoint)
21236 (gdb-goto-breakpoint): Using `gdb-breakpoint' text properties
21237 instead of parsing breakpoints buffer. Fixed old menu references
21242 * progmodes/gdb-mi.el: Port memory buffer from gdb-ui.el.
21243 (gdb-memory-address): New variable which holds top address of
21244 memory page shown in memory buffer.
21245 (gdb-memory-repeat-count, gdb-memory-format, gdb-memory-unit):
21246 New customization variables.
21248 (gdb-display-memory-buffer, gdb-frame-memory-buffer): Functions to
21249 display the memory buffer.
21250 (gdb-memory-set-address, gdb-memory-set-repeat-count): Set memory
21251 buffer display parameters.
21252 (def-gdb-memory-format, gdb-memory-format-binary)
21253 (gdb-memory-format-octal, gdb-memory-format-unsigned)
21254 (gdb-memory-format-signed, gdb-memory-format-hexadecimal):
21255 Functions for setting memory buffer format.
21256 (gdb-memory-unit-word, gdb-memory-unit-halfword)
21257 (gdb-memory-unit-giant, gdb-memory-unit-byte): Functions to set
21258 unit size used in memory buffer.
21259 (gdb-memory-show-next-page, gdb-memory-show-previous-page):
21260 Switch to next/previous page of memory buffer.
21261 Now using (bindat-get-field) instead of fadr functions.
21263 2009-07-07 Sam Steingold <sds@gnu.org>
21265 * vc-cvs.el (vc-cvs-merge-news): Fix message parsing for
21266 non-top-level files.
21268 2009-07-07 Kenichi Handa <handa@m17n.org>
21270 * international/mule-cmds.el (reset-language-environment):
21271 Put the highset priority to the charset iso-8859-1.
21273 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
21275 * progmodes/hideshow.el (hs-hide-block-at-point): Don't move point
21276 to the end of the line when locating the block (Bug#700).
21278 2009-07-06 Michael Albinus <michael.albinus@gmx.de>
21280 * net/tramp.el (tramp-handle-write-region): Flush file properties
21281 in case of short track.
21283 2009-07-06 Michael McNamara <mac@mail.brushroad.com>
21285 * progmodes/verilog-mode.el (verilog-error-regexp-emacs-alist):
21286 Coded custom representation of verilog error regular expressions
21287 to work with Emacs-22's new format.
21288 (verilog-error-regexp-xemacs-alist): Coded custom representation
21289 of verilog error regular expressions to work with XEmacs format.
21290 (verilog-error-regexp-add-xemacs): Hook routine to install verilog
21291 error recognition into XEmacs.
21292 (verilog-error-regexp-add-emacs): Hook routine to install verilog
21293 error recognition into Emacs-22.
21295 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
21297 * woman.el: Remove stand-alone closing parentheses.
21298 (woman-file-name, woman2-format-paragraphs)
21299 (woman-leave-blank-lines): Code cleanup.
21300 (woman-use-own-frame): Change default to nil.
21301 (woman-italic, woman-bold, woman-unknown, woman-addition):
21302 Change defaults to inherit from default faces.
21303 (woman2-process-escapes): Consume the newline after a stand-alone
21304 filler character (Bug#3651).
21306 2009-07-06 Glenn Morris <rgm@gnu.org>
21308 * ffap.el (ffap-version): Make it an obsolete alias for emacs-version.
21309 (top-level): Move provide to the end.
21310 (ffap): Remove defunct URL from custom group.
21312 * subr.el (eval-after-load): Doc fix.
21314 2009-07-06 Vincent Belaïche <vincent.belaiche@gmail.com>
21316 * calc/calc-embed.el (calc-embedded-make-info): Don't force when
21317 `calc-embedded-word' is called twice.
21319 2009-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
21321 * files.el (find-alternate-file-other-window, find-alternate-file):
21322 Obey confirm-nonexistent-file-or-buffer.
21324 2009-07-05 Michael Albinus <michael.albinus@gmx.de>
21326 * dired-aux.el (dired-show-file-type): Handle remote files.
21328 2009-07-05 Jari Aalto <jari.aalto@cante.net>
21330 * desktop.el (desktop-globals-to-save):
21331 Add file-name-history (Bug#2750).
21333 2009-07-05 Chong Yidong <cyd@stupidchicken.com>
21335 * add-log.el (add-log-current-defun-header-regexp): Doc fix (Bug#2217).
21337 2009-07-04 Johan Bockgård <bojohan@gnu.org>
21339 * eshell/esh-arg.el (eshell-parse-argument-hook): Put `number'
21340 property on entire argument since this is what eshell-lisp-command
21343 2009-07-03 Michael Albinus <michael.albinus@gmx.de>
21345 * net/tramp-gvfs.el (tramp-gvfs-methods)
21346 (tramp-gvfs-zeroconf-domain)
21347 (tramp-bluez-discover-devices-timeout): Add version flag.
21348 (tramp-gvfs-handler-mounted-unmounted)
21349 (tramp-gvfs-connection-mounted-p): Polish handling of
21350 incompatibilities between GVFS 0.2 and 1.0.
21352 2009-07-03 Jan Djärv <jan.h.d@swipnet.se>
21354 * cus-start.el (all): Add make-pointer-invisible.
21356 2009-07-03 Jay Belanger <jay.p.belanger@gmail.com>
21358 * calc/calc-math.el (math-use-emacs-fn): Make sure that the number is
21359 formatted correctly.
21361 2009-07-02 Juri Linkov <juri@jurta.org>
21363 * info.el: Virtual Info files and nodes.
21364 (Info-virtual-files, Info-virtual-nodes): New variables.
21365 (Info-current-node-virtual): New variable.
21366 (Info-virtual-file-p, Info-virtual-fun, Info-virtual-call):
21368 (Info-file-supports-index-cookies): Use Info-virtual-file-p
21369 to check for a virtual file instead of checking a fixed list
21371 (Info-find-file): Use Info-virtual-fun and Info-virtual-call
21372 instead of ad-hoc processing of "dir" and (apropos history toc).
21373 (Info-find-node-2): Use Info-virtual-fun and Info-virtual-call
21374 instead of ad-hoc processing of "dir" and (apropos history toc).
21375 Reread a file when moving from a virtual node.
21376 (add-to-list)<Info-virtual-files>: Add "\\`dir\\'".
21377 (Info-directory-toc-nodes, Info-directory-find-file)
21378 (Info-directory-find-node): New functions.
21379 (add-to-list)<Info-virtual-files>: Add "\\`\\*History\\*\\'".
21380 (Info-history): Move part of code to
21381 `Info-history-find-node'.
21382 (Info-history-toc-nodes, Info-history-find-file)
21383 (Info-history-find-node): New functions.
21384 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*TOC\\*\\'".
21385 (Info-toc): Move part of code to `Info-toc-find-node'.
21386 (Info-toc-find-node): New function.
21387 (Info-toc-insert): Rename from `Info-insert-toc'. Don't insert
21388 the current Info file name to references because now the node
21389 "*TOC*" belongs to the same Info manual.
21390 (Info-toc-build): Rename from `Info-build-toc'.
21391 (Info-toc-nodes): Rename input argument `file' to `filename'.
21392 Use Info-virtual-fun, Info-virtual-call and Info-virtual-file-p
21393 instead of ad-hoc processing of ("dir" apropos history toc).
21394 (Info-index-nodes): Use Info-virtual-file-p
21395 to check for a virtual file instead of checking a fixed list
21397 (Info-index-node): Add check for `Info-current-node-virtual'.
21398 Raise `save-match-data' higher up the tree to contain
21399 `search-forward' too (bug fix).
21400 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*Index.*\\*\\'".
21401 (Info-virtual-index-nodes): New variable.
21402 (Info-virtual-index-find-node, Info-virtual-index): New functions.
21403 (add-to-list)<Info-virtual-files>: Add "\\`\\*Apropos\\*\\'".
21404 (Info-apropos-file, Info-apropos-nodes): New variables.
21405 (Info-apropos-toc-nodes, Info-apropos-find-file)
21406 (Info-apropos-find-node, Info-apropos-matches): New functions.
21407 (info-apropos): Move part of code to `Info-apropos-find-node' and
21408 `Info-apropos-matches'.
21409 (Info-mode-map): Bind "I" to `Info-virtual-index'.
21410 (Info-desktop-buffer-misc-data): Use Info-virtual-file-p to check
21411 for a virtual file instead of checking a fixed list of node names.
21413 * simple.el (async-shell-command): New command.
21415 * bindings.el (esc-map): Bind "&" to `async-shell-command'.
21417 * net/tramp-gvfs.el (tramp-gvfs-connection-mounted-p): Use `elt'
21418 instead of `mount-info'.
21420 2009-07-02 Michael Albinus <michael.albinus@gmx.de>
21422 * net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted)
21423 (tramp-gvfs-connection-mounted-p): Handle changed mount-info interface.
21425 2009-07-02 Kenichi Handa <handa@m17n.org>
21427 * international/mule.el (set-keyboard-coding-system): Force *-unix
21428 coding-system to avoid eol conversion.
21430 2009-07-01 Michael Albinus <michael.albinus@gmx.de>
21432 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
21433 Add handler for `process-file', `shell-command' and
21434 `start-file-process'.
21435 (tramp-gvfs-handle-shell-command)
21436 (tramp-gvfs-handle-start-file-process)
21437 (tramp-gvfs-handle-process-file): New defuns.
21438 (tramp-synce-list-devices): Simplify check for existence of property.
21440 2009-07-01 Jan Djärv <jan.h.d@swipnet.se>
21442 * startup.el (command-line-x-option-alist): Add -mm and --maximized.
21444 2009-07-01 Eduard Wiebe <usenet@pusto.de> (tiny change)
21446 * language/korean.el (set-language-info-alist): Add korean-cp949,
21449 2009-07-01 Kenichi Handa <handa@m17n.org>
21451 * Makefile.in (ELCFILES): Delete encoded-kb.elc.
21453 * international/encoded-kb.el: Deleted.
21455 * international/mule.el (set-keyboard-coding-system): Perform the
21456 necessary setup here instead of calling encoded-kbd-setup-display.
21458 2009-07-01 Glenn Morris <rgm@gnu.org>
21460 * progmodes/f90.el (f90-break-delimiters, f90-no-break-re): Doc fixes.
21462 2009-07-01 Evangelos Evangelou <vangelis@email.unc.edu> (tiny change)
21464 * progmodes/f90.el (f90-no-break-re): Add "(/" and "/)". (Bug#3730)
21466 2009-06-30 Michael Albinus <michael.albinus@gmx.de>
21468 * net/tramp.el (tramp-do-copy-or-rename-file-directly):
21469 Handle also the 'rename case, when setting file modes. (Bug#3712)
21470 (tramp-default-file-modes): Remove execute permissions.
21472 * net/tramp-gvfs.el (tramp-gvfs-methods): Add "synce" method.
21473 (top): Add a default for "synce" in `tramp-default-user-alist'.
21474 Add completion function for "synce" method.
21475 (tramp-hal-service, tramp-hal-path-manager)
21476 (tramp-hal-interface-manager, tramp-hal-interface-device):
21478 (tramp-gvfs-connection-mounted-p): Handle empty user name for synce.
21479 (tramp-synce-list-devices, tramp-synce-parse-device-names):
21482 * net/trampver.el: Update release number.
21484 2009-06-30 Kenichi Handa <handa@m17n.org>
21486 * international/fontset.el (setup-default-fontset): Add CJK fonts
21487 for symbols and the other miscellaneous characters.
21489 * language/korea-util.el (setup-korean-environment-internal):
21490 Make char-width-table suitable for Korean environments.
21491 (exit-korean-environment): Cancel above.
21493 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
21494 ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK"): Add a
21495 setup-function to make char-width-table suitable for respective
21496 environments, and an exit-function to cancel that.
21498 * language/japan-util.el (setup-japanese-environment-internal):
21499 Call use-cjk-char-width-table with arg `ja_JP'.
21501 * international/characters.el (cjk-char-width-table): Delete it.
21502 (cjk-char-width-table-list): New variable.
21503 (use-cjk-char-width-table): New arg local-name.
21504 (use-default-char-width-table): Fix for the case that Emacs is
21505 already using the default char-width-table.
21507 2009-06-29 Michael Albinus <michael.albinus@gmx.de>
21509 * net/tramp.el (tramp-do-copy-or-rename-file-directly): Set file
21510 modes mandatory. (Bug#3712)
21512 2009-06-29 Alan Mackenzie <acm@muc.de>
21514 * progmodes/cc-cmds.el (c-mask-paragraph): Remove a spurious
21515 correction between the visible width of TABs and their number of bytes.
21517 2009-06-29 Chong Yidong <cyd@stupidchicken.com>
21519 * server.el (server-buffer-done): Prevent kill-buffer from
21520 prompting by clearing the buffer modification flag (Bug#3696).
21522 2009-06-28 Michael McNamara <mac@mail.brushroad.com>
21524 * progmodes/verilog-mode.el (verilog-beg-of-statement)
21525 (verilog-endcomment-reason-re): Support unique case and priority case.
21526 (verilog-basic-complete-re): Support localparam lineup.
21527 (verilog-beg-of-statement-1): Fix for robustness, unique case.
21528 (verilog-set-auto-endcomments): Fix for unique case, always_comb
21530 (verilog-leap-to-case-head): Now support *nested* unique &
21531 priority case statements.
21532 (verilog-auto-lineup): Make just declarations the default (as it
21534 (verilog-leap-to-case-head): Support priority/unique case statements.
21535 (verilog-auto-lineup): Rework to give users radio buttons to
21536 select the various styles of automatic lineup.
21537 (verilog-error-regexp-alist): Rework to support the XEmacs style
21538 of error regular expressions from compilers, lint tools &
21539 simulators. Note that GNU Emacs has made it impossible for a mode
21540 to load such things.
21541 (electric-verilog-terminate-line, verilog-indent-declaration)
21542 (verilog-auto-wiure): Rework for radio button selection of
21543 auto-lineup selection of specification of auto lineup.
21544 (verilog-beg-of-statement-1): Redesign to support proper operation
21545 in additional code, based on testing with auto-lineup.
21546 (verilog-calculate-indent, assignments & declarations)
21547 (verilog-backward-token): Enhance to support auto-lineup of
21548 assignments & declarations.
21549 (verilog-in-directive-p, verilog-at-struct-p): New function for
21550 easy test of whether we are.
21551 (verilog-pretty-declarations, verilog-pretty-expr): Massive rework
21552 to support safe execution at almost anyline.
21553 (verilog-calc-1): Properly support indenting deep inside generate
21555 (verilog-init-font): Remove definition & use of verilog-init-font,
21556 as it is redundant with font-lock-defaults.
21557 (verilog-mode): Alter the definition of verilog-font-lock-defaults
21558 to avoid circular calls if syntax-ppss is a function (as is the
21559 case now in 22.x GNU Emacs) as that function would sometimes call
21560 itself, leading to (nearly) infinite recursion.
21561 (verilog-ovm-begin-re, verilog-ovm-end-re)
21562 (verilog-ovm-statement-re, verilog-leap-to-head)
21563 (verilog-backward-token): Add support for OVM macros. Some are
21564 complete statements, and others open and close scopes like begin
21566 (verilog-defun-level-not-generate-re, verilog-defun-level-re)
21567 (verilog-defun-level-generate-only-re): Really fix the defun-list
21569 (verilog-calc-1, verilog-beg-of-statement): Enhance support for
21570 coverpoint, constraint and cross statements.
21571 (verilog-defun-level-list, verilog-generate-defun-level-list)
21572 (verilog-all-defun-level-list): Redo these specifications - it is
21573 too hard to support eval-when compile aggregation of lists also
21574 built at when-compile time.
21575 (verilog-defun-level-list): Place defconsts of variables used in
21576 building regular expressions which are built in eval-when-compile
21577 bodies in the same eval-when-compile body to facilitate compile
21579 (verilog-beg-block-re-ordered): Support indenting
21580 virtual/protected tasks and functions.
21581 (verilog-defun-level-list, verilog-in-generate-region-p)
21582 (verilog-backward-ws&directives, verilog-calc-1): Speed up
21583 indentation of some module items (generate items).
21584 (verilog-forward-sexp, verilog-leap-to-head): Support stepping
21585 across virtual/protected tasks and functions.
21587 2009-06-28 Wilson Snyder <wsnyder@wsnyder.org>
21589 * progmodes/verilog-mode.el (verilog-auto-arg, verilog-auto-arg-sort):
21590 Allow sorting AUTOARG lists. Suggested by Andrea Fedeli.
21591 (verilog-read-sub-decls-line): Fix AUTOWIRE signals getting lost
21592 in concatenations. Reported by Yishay Belkind.
21593 (verilog-auto-ascii-enum): Support one-hot state machines in
21594 AUTOASCIIENUM. Suggested by Lloyd Gomez.
21595 (verilog-auto-inst, verilog-auto-inst-port): Include interface
21596 modport in AUTOINST and add vl-modport for users.
21597 Reported by David Rogoff.
21598 (verilog-auto-inout-module, verilog-auto-inst)
21599 (verilog-decls-get-interfaces, verilog-insert-definition)
21600 (verilog-insert-one-definition, verilog-read-decls)
21601 (verilog-read-sub-decls, verilog-read-sub-decls-sig)
21602 (verilog-sig-modport, verilog-signals-combine-bus)
21603 (verilog-subdecls-get-interfaces): Fix expansion of SystemVerilog
21604 interfaces in AUTOINOUTMODULE, AUTOINOUTCOMP, and AUTOINST.
21605 Suggested by David Rogoff.
21606 (verilog-repair-open-comma): Fix non-insertion of comma when
21607 `DEFINE occurs in V2K argument list. Reported by Lane Brooks.
21608 (verilog-make-width-expression): Simplify [A-1:0] expression
21609 widths to just {A{1'b0}}.
21610 (verilog-mode): Cleanup checkdoc warnings.
21611 (verilog-auto-inout-module, verilog-signals-matching-dir-re):
21612 Add third optional regexp to AUTOINOUTMODULE to allow selecting only
21613 inputs/outputs or data type. Suggested by Vasu Kandadi.
21614 (next-error-last-buffer): Fix byte-compiler warning.
21615 (verilog-auto, verilog-auto-insert-lisp, verilog-auto-inst)
21616 (verilog-delete-auto): Add AUTOINSERTLISP to insert arbitrary lisp
21617 or shell command text during AUTO expansion. Suggested by Tad Truex.
21618 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line)
21619 (verilog-read-sub-decls-sig, verilog-symbol-detick-text):
21620 Fix dotted nets {a.b,c.d} and excaped identifiers being mis-included
21621 in AUTOINOUT. Reported by Matthew Lovell.
21622 (verilog-read-always-signals-recurse): Fix AUTORESET "if (a<=b)"
21623 causing use of <= assignments. Reported by Alex Reed.
21624 (verilog-read-decls): Fix triand, trior, wand, wor to be
21625 recognized by AUTOWIRE. Reported by Spencer Isaacson.
21626 (verilog-extended-complete-re): Support import "DPI-C" functions.
21627 (verilog-read-always-signals-recurse): Fix AUTORESET of "x <=
21628 y[a+1:a+1]" to not include a in reset list. Reported by Dan Dever.
21629 (verilog-insert-date, verilog-insert-year)
21630 (verilog-sk-header-tmpl): Fix verilog-header inserting error on
21631 Windows systems. Reported by Michael Potts.
21632 (verilog-read-module-name): Fix AUTOINST when the child module
21633 declaration's name is a tick define. Reported by Elliot Mednick.
21634 (verilog-read-decls): Fix V2K parameter bit subscripts getting
21635 passed to next parameter's definition. Reported by Bruce T.
21636 (verilog-read-decls): Fix detecting "parameter int" when using
21637 AUTOINSTPARAM. Reported by Bruce T.
21638 (verilog-goto-defun): Fix goto not finding modules unless first
21639 perform a verilog-auto expansion. Suggested by Lawrence Butcher.
21640 (verilog-mode): Expand -f flag arguments on entry to mode so
21641 verilog-goto-defun will work. Reported by Lawrence Butcher.
21642 (verilog-getopt): Expand environment variables in -f file
21643 arguments. Suggested by Lawrence Butcher.
21644 (verilog-set-define): Fix "Symbol's value as variable is void"
21645 when reading enumerations.
21646 (verilog-auto-ascii-enum): Fix duplicate labels in AUTOASCIIENUM.
21647 Suggested by Stephen Peltan.
21648 (verilog-read-defines): Fix reading of enumerations in include
21649 files. Reported by Steve Peltan.
21651 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
21653 * files.el (trash-directory): Fix defcustom type.
21655 2009-06-28 Juri Linkov <juri@jurta.org>
21657 * help-fns.el (describe-function-1): Correctly locate adviced
21658 functions in hyperlink (Bug#2438).
21660 2009-06-28 Chong Yidong <cyd@stupidchicken.com>
21662 * files.el (trash-directory): Change default to nil.
21663 (move-file-to-trash): If trash-directory is nil and
21664 system-move-file-to-trash is unbound, perform freedesktop-style
21667 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
21669 * files.el (move-file-to-trash): Add freedesktop trash
21672 2009-06-28 Glenn Morris <rgm@gnu.org>
21674 * autorevert.el (global-auto-revert-non-file-buffers)
21675 (global-auto-revert-mode): Doc fixes.
21677 2009-06-27 Johan Bockgård <bojohan@gnu.org>
21679 * emacs-lisp/cl-specs.el (defstruct): Fix :conc-name spec.
21681 2009-06-27 Chong Yidong <cyd@stupidchicken.com>
21683 * faces.el (x-handle-named-frame-geometry): Ensure that we have
21684 opened an X connection before calling x-get-resource (Bug#3194).
21686 * play/doctor.el: Remove reference to obsolete website.
21687 (make-doctor-variables): Correct grammar mistake (Bug#2633).
21689 2009-06-26 Dan Nicolaescu <dann@ics.uci.edu>
21691 Remove find-file-not-found-hook VC method. (Bug#2757)
21692 * vc-hooks.el (vc-file-not-found-hook)
21693 (vc-default-find-file-not-found-hook): Remove functions.
21694 (find-file-not-found-functions): Do not add vc-file-not-found-hook.
21695 * vc-rcs.el (vc-rcs-find-file-not-found-hook): Remove function.
21698 * vc-git.el: Do not mention find-file-not-found-hook VC method.
21700 2009-06-25 Agustín Martín <agustin.martin@hispalinux.es>
21702 * textmodes/ispell.el: Add `ispell-looking-back' XEmacs
21703 compatibility function for `looking-back'.
21705 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
21706 Use `ispell-looking-back'.
21708 2009-06-24 Michael Albinus <michael.albinus@gmx.de>
21710 * net/tramp-gvfs.el (tramp-gvfs-handle-make-directory): Use `dir'
21711 rather than `filename'.
21713 2009-06-23 Miles Bader <miles@gnu.org>
21715 * face-remap.el (text-scale-set): New function.
21717 2009-06-23 Glenn Morris <rgm@gnu.org>
21719 * pcmpl-rpm.el (pcomplete/rpm): Doc fix.
21721 * bindings.el (mode-line-modified): Fix case of "Buffer is modified".
21723 * textmodes/ispell.el (ispell-local-dictionary): Doc fix.
21725 * progmodes/gdb-mi.el (gud-remove, gud-break): Update declarations.
21727 * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
21728 Simplify Persian conditionals.
21730 * calc/calc-graph.el (calc-graph-plot): Avoid assignment to free
21731 variable `filename'.
21733 * comint.el (comint-insert-input): Doc fix.
21735 * Makefile.in (ELCFILES): Fix typo in previous change.
21737 2009-06-23 Miles Bader <miles@gnu.org>
21739 * cus-start.el: Add entry for `recenter-redisplay'.
21741 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
21743 * vc-hooks.el (vc-stay-local-p, vc-state, vc-working-revision):
21744 Add an optional argument for the backend, use it instead of
21745 calling vc-backend.
21746 (vc-mode-line): Add an optional argument for the backend.
21747 Pass the backend to vc-state and vc-working-revision. Move code for
21748 special handling for vc-state being a buffer to ...
21750 * vc-rcs.el (vc-rcs-find-file-hook):
21751 * vc-sccs.el (vc-sccs-find-file-hook): ... here. New functions.
21753 * vc-svn.el (vc-svn-state, vc-svn-dir-status, vc-svn-checkout)
21754 (vc-svn-print-log, vc-svn-diff): Pass 'SVN to vc-state,
21755 vc-stay-local-p and vc-mode-line calls.
21757 * vc-cvs.el (vc-cvs-state, vc-cvs-checkout, vc-cvs-print-log)
21758 (vc-cvs-diff, vc-cvs-annotate-command)
21759 (vc-cvs-make-version-backups-p, vc-cvs-stay-local-p)
21760 (vc-cvs-dir-status): Pass 'CVS to vc-state, vc-stay-local-p and
21761 vc-mode-line calls.
21763 * vc.el (vc-deduce-fileset): Use vc-deduce-fileset instead of
21765 (vc-next-action, vc-transfer-file, vc-rename-file): Also pass the
21766 backend when calling vc-mode-line.
21767 (vc-register): Do not create a closure for calling the vc register
21768 function, call it directly.
21770 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
21772 * emacs-lisp/elp.el (elp-output-insert-symname): Add a link face
21773 to make it obvious item can be clicked.
21775 * vc-mtn.el (vc-mtn-after-dir-status, vc-mtn-dir-status): New functions.
21777 2009-06-23 Kenichi Handa <handa@m17n.org>
21779 * language/korea-util.el (korean-key-bindings): Change the binding
21780 of F9 to hangul-to-hanja-conversion. Bind Hangul_Hanja to the
21783 2009-06-22 Michael Albinus <michael.albinus@gmx.de>
21785 Sync with Tramp 2.1.16.
21787 * Makefile.in (ELCFILES): Add net/tramp-gvfs.elc.
21789 * net/tramp.el (top): Require tramp-gvfs. Catch `tramp-loading',
21790 when a loading of a package fails. Completion function for rsync
21791 is `tramp-completion-function-alist-ssh'.
21792 (all): Replace all calls of `split-string' and
21793 `tramp-split-string' by `tramp-compat-split-string'.
21794 (tramp-default-method): Use `tramp-compat-process-running-p'.
21795 (tramp-default-proxies-alist): Allow also Lisp forms.
21796 (tramp-remote-path): Add choice "Private Directories".
21797 (tramp-wrong-passwd-regexp): Remove "Tramp connection closed" option.
21798 (tramp-domain-regexp): Allow also "-", "_" and ".".
21799 (tramp-end-of-output): Remove newlines, and add "$" at the end.
21800 (tramp-file-name-handler-alist): Add handler for `dired-uncache'.
21801 (tramp-debug-message): Insert header line in debug buffer.
21802 (tramp-handle-directory-files-and-attributes-with-stat):
21803 Care about filenames with spaces, or starting with "-".
21804 (tramp-handle-dired-uncache): New defun.
21805 (tramp-handle-insert-directory): Don't flush the directory from
21806 cache, this is handled by `dired-uncache' now.
21807 (tramp-handle-insert-file-contents): Improve error handling.
21808 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
21809 Quote `tramp-end-of-output'.
21810 (tramp-action-password): Improve trace message.
21811 (tramp-check-for-regexp): Both echoes must be present, before removing.
21812 (tramp-open-connection-setup-interactive-shell): Trace coding system.
21813 (tramp-compute-multi-hops): Eval cons cells of
21814 `tramp-default-proxies-alist'.
21815 (tramp-maybe-open-connection): Use the same command pattern for
21816 first hop and further hops.
21817 (tramp-wait-for-output): Remove handling of newlines.
21818 (tramp-get-remote-path): Handle also `tramp-own-remote-path'.
21819 (tramp-split-string): Remove function. It is handled in
21822 * net/tramp-cmds.el (tramp-bug):
21823 Recommend `tramp-cleanup-all-connections' in the bug mail.
21825 * net/tramp-compat.el (tramp-compat-split-string)
21826 (tramp-compat-process-running-p): New defuns.
21828 * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add handler
21829 for `dired-uncache'.
21831 * net/tramp-gvfs.el: New package.
21833 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
21834 Add handler for `dired-uncache'.
21835 (tramp-smb-handle-file-local-copy): Cleanup in case of error.
21837 * net/trampver.el: Update release number. Make version check fit
21840 2009-06-22 Jim Meyering <meyering@redhat.com>
21842 Automatically handle .xz suffix (XZ-compressed files), too.
21843 * jka-cmpr-hook.el (jka-compr-compression-info-list): Add xz.
21844 XZ is the successor to LZMA: <http://tukaani.org/xz/>
21846 2009-06-22 Dmitry Dzhus <dima@sphinx.net.ru>
21847 Nick Roberts <nickrob@snap.net.nz>
21849 * progmodes/gdb-mi.el: Pull further modified changes from Dmitry's
21850 repository (http://sphinx.net.ru/hg/gdb-mi/).
21852 2009-06-22 Glenn Morris <rgm@gnu.org>
21854 * files.el (dir-locals-collect-mode-variables): Allow for any number of
21855 `mode' and `eval' entries. (Bug#3430)
21857 * Makefile.in (ELCFILES): Add fadr.elc.
21859 * calendar/appt.el (appt-make-list): Fix off-by-one error caused by
21860 differing behavior of \n and ^ in strings. (Bug#3385)
21862 * emacs-lisp/cl-indent.el: Remove leading "*" from defcustom docs.
21864 * emacs-lisp/lisp-mode.el (lisp-indent-offset): Fix safe-local-variable
21866 (lisp-indent-function): Make it a defcustom.
21868 2009-06-21 Nick Roberts <nickrob@snap.net.nz>
21870 * progmodes/gdb-ui.el: Replace with ...
21871 * progmodes/gdb-mi.el: ... this file.
21872 * progmodes/gud.el: Modify for gdb-mi.el.
21874 2009-06-21 Dmitry Dzhus <dima@sphinx.net.ru>
21876 * fadr.el: New file.
21878 See ChangeLog.14 for earlier changes.
21880 ;; Local Variables:
21884 Copyright (C) 2009-2011 Free Software Foundation, Inc.
21886 This file is part of GNU Emacs.
21888 GNU Emacs is free software: you can redistribute it and/or modify
21889 it under the terms of the GNU General Public License as published by
21890 the Free Software Foundation, either version 3 of the License, or
21891 (at your option) any later version.
21893 GNU Emacs is distributed in the hope that it will be useful,
21894 but WITHOUT ANY WARRANTY; without even the implied warranty of
21895 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21896 GNU General Public License for more details.
21898 You should have received a copy of the GNU General Public License
21899 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.