1 2010-10-28 Glenn Morris <rgm@gnu.org>
3 * simple.el (x-selection-owner-p): Remove unused declaration.
5 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
7 * minibuffer.el (completion-cycling): New var (bug#7266).
8 (minibuffer-complete, completion--do-completion):
9 Use completion--flush-all-sorted-completions.
10 (minibuffer-complete): Only cycle if completion-cycling is set.
11 (completion--flush-all-sorted-completions): Unset completion-cycling.
12 (minibuffer-force-complete): Set completion-cycling.
13 (completion-all-sorted-completions): Move declaration before first use.
15 2010-10-28 Leo <sdl.web@gmail.com>
17 * iswitchb.el (iswitchb-kill-buffer): Avoid `iswitchb-make-buflist'
18 which changes the order of matches seen by users (bug#7231).
20 2010-10-28 Jes Bodi Klinke <jes@bodi-klinke.dk> (tiny change)
22 * progmodes/compile.el (compilation-mode-font-lock-keywords):
23 Don't confuse -omega as "-o mega".
25 2010-10-27 Stefan Monnier <monnier@iro.umontreal.ca>
27 * vc/log-edit.el (log-edit-rewrite-fixes): New var.
28 (log-edit-author): New dynamic var.
29 (log-edit-changelog-ours-p, log-edit-insert-changelog-entries): Use it
30 to return the author if different from committer.
31 (log-edit-insert-changelog): Use them to add Author: and Fixes headers.
33 * play/landmark.el: Adjust commenting convention.
34 (lm-nil-score): Rename from nil-score.
35 (Xscore, XXscore, XXXscore, XXXXscore, Oscore, OOscore, OOOscore)
36 (OOOOscore): Move into a let in lm-score-trans-table.
37 (lm-winning-threshold, lm-loosing-threshold): Use lm-score-trans-table.
39 * electric.el (electric-indent-chars): Autoload.
40 * progmodes/octave-mod.el (octave-mode):
41 * progmodes/ruby-mode.el (ruby-mode): Take advantage of it.
42 (ruby-mode-abbrev-table): Merge initialization and declaration.
44 2010-10-27 Glenn Morris <rgm@gnu.org>
46 * abbrev.el (abbrev-mode): Remove one of the three definitions of this
49 * server.el (server-host, server-port, server-auth-dir): Autoload risky.
51 * term/ns-win.el: Restore require of cl when compiling.
52 (menu-bar-final-items): Remove non-existent `windows' menu.
53 (ns-handle-nxopen): Optionally handle the temp-case.
54 (ns-handle-nxopentemp): Just call ns-handle-nxopen.
55 (ns-insert-file, ns-find-file): Use `pop'.
57 2010-10-26 Glenn Morris <rgm@gnu.org>
59 * term/common-win.el (xw-defined-colors): Simplify the 'ns case.
61 2010-10-26 Adrian Robert <Adrian.B.Robert@gmail.com>
63 * term/ns-win.el (ns-new-frame, ns-show-prefs): Don't add to
65 * term/common-win.el (x-setup-function-keys): Remove most of the
66 keymappings. Comment on the remaining ones.
68 2010-10-26 Peter Oliver <p.d.oliver@mavit.org.uk> (tiny change)
70 * server.el (server-port): New option. (Bug#854)
71 (server-start): Use server-port.
73 2010-10-26 Glenn Morris <rgm@gnu.org>
75 * term/ns-win.el (ns-version-string): Remove unused declaration.
76 (ns-invocation-args): Change to x-invocation-args.
77 (ns-handle-switch, ns-handle-numeric-switch, ns-handle-iconic)
78 (ns-handle-name-switch, ns-ignore-2-arg): Remove.
79 (ns-handle-nxopen, ns-handle-nxopentemp, ns-ignore-1-arg):
80 Use x-invocation-args instead of ns-invocation-args.
81 (ns-initialize-window-system, handle-args-function-alist):
82 Use x-handle-args instead of ns-handle-args.
83 * term/common-win.el (x-handle-args): Also handle nextstep arguments.
84 * startup.el (command-line-ns-option-alist): Replace
85 ns-handle-name-switch, ns-handle-switch, ns-handle-numeric-switch,
86 ns-handle-iconic with the x- equivalents.
88 * term/common-win.el (x-select-enable-clipboard):
89 * term/pc-win.el (x-select-enable-clipboard): Doc fix.
91 * term/ns-win.el: No need to require cl when compiling.
92 (x-display-name, x-setup-function-keys, x-select-text, x-colors)
93 (xw-defined-colors): Use the common-win definitions.
94 (ns-alternatives-map): Make it an obsolete alias for x-alternatives-map.
95 (ns-handle-iconic): Make it an alias for x-handle-iconic.
96 * term/common-win.el (x-select-text, x-alternatives-map)
97 (x-setup-function-keys, x-colors, xw-defined-colors): Handle 'ns case.
98 * loadup.el [ns]: Load common-win.
100 2010-10-26 Daiki Ueno <ueno@unixuser.org>
102 * epa-mail.el (epa-mail-encrypt): Handle local-part only
103 recipients; expand mail aliases (Bug#7280).
105 2010-10-25 Glenn Morris <rgm@gnu.org>
107 * term/common-win.el (x-handle-switch): Simplify with pop.
108 Optionally handle numeric switches.
109 (x-handle-numeric-switch): Just call x-handle-switch.
110 (x-handle-initial-switch, x-handle-xrm-switch, x-handle-geometry)
111 (x-handle-name-switch, x-handle-display, x-handle-args):
114 * term/ns-win.el: Do not require easymenu.
115 (menu-bar-edit-menu) <copy, paste, paste-from-menu, separator-undo>:
116 <spell>: Move adjustments to menu-bar.el.
117 * menu-bar.el (menu-bar-edit-menu) <copy, paste, paste-from-menu>:
118 <separator-undo, spell>: Move ns-win's adjustments here.
119 * loadup.el [ns]: Do not load easymenu.
121 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
123 * image.el (image-checkbox-checked, image-checkbox-unchecked):
126 * startup.el (fancy-startup-tail): Instead of using inline images,
127 refer to image files from etc/.
129 * wid-edit.el (checkbox): Likewise.
130 (widget-image-find): Center image specs.
132 2010-10-24 Glenn Morris <rgm@gnu.org>
134 * term/ns-win.el (x-select-text): Doc fix.
135 * w32-fns.el (x-alternatives-map, x-setup-function-keys)
136 (x-select-text): Move to term/common-win.
137 * term/w32-win.el (xw-defined-colors): Move to common-win.
138 * term/x-win.el (xw-defined-colors, x-alternatives-map)
139 (x-setup-function-keys, x-select-text): Move to common-win.
140 * term/common-win.el (x-select-text, x-alternatives-map)
141 (x-setup-function-keys, xw-defined-colors): Merge x- and w32-
144 2010-10-24 T.V. Raman <tv.raman.tv@gmail.com> (tiny change)
146 * net/mairix.el (mairix-searches-mode-map):
147 * mail/mspools.el (mspools-mode-map): Fix 2010-10-10 change.
149 2010-10-24 Michael McNamara <mac@mail.brushroad.com>
151 * verilog-mode.el (verilog-directive-re): Make this variable
152 auto-built for efficiency of execution and updating.
153 (verilog-extended-complete-re): Support 'pure' fucntion & task
154 declarations (these have no bodies).
155 (verilog-beg-of-statement): general cleanup to enable support of
156 'pure' fucntion & task declarations (these have no bodies). These
157 efforts together fix Verilog bug210 from veripool; which was also
158 noticed by Steve Pearlmutter.
159 (verilog-directive-re, verilog-directive-begin, verilog-indent-re)
160 (verilog-directive-nest-re, verilog-set-auto-endcomments): Support
161 `elsif. Reported by Shankar Giri.
162 (verilog-forward-ws&directives, verilog-in-attribute-p): Fixes for
163 attribute handling for lining up declarations and assignments.
164 (verilog-beg-of-statement-1): Fix issue where continued declaration
165 is indented differently if it is after a begin..end clock.
166 (verilog-in-attribute-p, verilog-skip-backward-comments)
167 (verilog-skip-forward-comment-p): Support proper treatment of
168 attributes by indent code. Reported by Jeff Steele.
169 (verilog-in-directive-p): Fix comment to correctly describe
171 (verilog-backward-up-list, verilog-in-struct-region-p)
172 (verilog-backward-token, verilog-in-struct-p)
173 (verilog-in-coverage-p, verilog-do-indent)
174 (verilog-pretty-declarations): Use verilog-backward-up-list as
175 wrapper around backward-up-list inorder to properly skip comments.
176 Reported by David Rogoff.
177 (verilog-property-re, verilog-endcomment-reason-re)
178 (verilog-beg-of-statement, verilog-set-auto-endcomments)
179 (verilog-calc-1 ): Fix for assert a; else b; indentation (new form
180 of if). Reported by Max Bjurling and
181 (verilog-calc-1): Fix for clocking block in modport
182 declaration. Reported by Brian Hunter.
184 2010-10-24 Wilson Snyder <wsnyder@wsnyder.org>
186 * verilog-mode.el (verilog-auto-inst, verilog-gate-ios)
187 (verilog-gate-keywords, verilog-read-sub-decls)
188 (verilog-read-sub-decls-gate, verilog-read-sub-decls-gate-ios)
189 (verilog-read-sub-decls-line, verilog-read-sub-decls-sig): Support
190 AUTOINST for gate primitives, bug284. Reported by Mark Johnson.
191 (verilog-read-decls): Fix spaces in V2K module parameters causing
192 mis-identification as interfaces, bug287.
193 (verilog-read-decls): Fix not treating "parameter string" as a
194 parameter in AUTOINSTPARAM.
195 (verilog-read-always-signals-recurse, verilog-read-decls): Fix not
196 treating `elsif similar to `endif inside AUTOSENSE.
197 (verilog-do-indent): Implement correct automatic or static task or
198 function end comment highlight. Reported by Steve Pearlmutter.
199 (verilog-font-lock-keywords-2): Fix highlighting of single
200 character pins, bug264. Reported by Michael Laajanen.
201 (verilog-auto-inst, verilog-read-decls, verilog-read-sub-decls)
202 (verilog-read-sub-decls-in-interfaced, verilog-read-sub-decls-sig)
203 (verilog-subdecls-get-interfaced, verilog-subdecls-new): Support
204 interfaces with AUTOINST, bug270. Reported by Luis Gutierrez.
205 (verilog-pretty-expr): Fix interactive arguments, bug272. Reported
207 (verilog-auto-tieoff, verilog-auto-tieoff-ignore-regexp): Add
208 'verilog-auto-tieoff-ignore-regexp' for AUTOTIEOFF,
209 bug269. Suggested by Gary Delp.
210 (verilog-mode-map, verilog-preprocess, verilog-preprocess-history)
211 (verilog-preprocessor, verilog-set-compile-command): Create
212 verilog-preprocess and verilog-preprocessor to show preprocessed
214 (verilog-get-beg-of-line, verilog-get-end-of-line)
215 (verilog-modi-file-or-buffer, verilog-modi-name)
216 (verilog-modi-point, verilog-within-string): Move defmacro's
217 before first use to avoid warning. Reported by Steve Pearlmutter.
218 (verilog-colorize-buffer, verilog-colorize-include-files-buffer)
219 (verilog-colorize-region, verilog-highlight-buffer)
220 (verilog-highlight-includes, verilog-highlight-modules)
221 (verilog-highlight-region, verilog-mode): Rename colorize to
222 highlight to match other packages. Disable module highlighting,
223 as received speed complaints, reenable for experimentation only
224 using new verilog-highlight-modules.
225 (verilog-read-decls): Fix regexp stack overflow in very large
226 AUTO_TEMPLATEs, bug250.
227 (verilog-auto, verilog-delete-auto, verilog-save-buffer-state)
228 (verilog-scan): Create verilog-save-buffer-state to standardize
229 making insignificant changes that shouldn't call hooks.
230 (verilog-save-no-change-functions, verilog-save-scan-cache)
231 (verilog-scan, verilog-scan-cache-ok-p, verilog-scan-region):
232 Create verilog-save-no-change-functions to wrap verilog-scan
233 preservation, and fix to work with nested preserved calls.
234 (verilog-auto-inst, verilog-auto-inst-dot-name): Support .name
235 port syntax for AUTOWIRE, and with new verilog-auto-inst-dot-name
236 generate .name with AUTOINST, bug245. Suggested by David Rogoff.
237 (verilog-submit-bug-report): Update variable list to be complete.
238 (verilog-auto, verilog-colorize-region): Fix AUTO expansion
239 breaking on-the-fly font-locking.
240 (verilog-colorize-buffer, verilog-colorize-include-files)
241 (verilog-colorize-include-files-buffer, verilog-colorize-region)
242 (verilog-load-file-at-mouse, verilog-load-file-at-point)
243 (verilog-mode, verilog-read-inst-module-matcher): With point on a
244 AUTOINST cell instance name, middle mouse button now finds-file on
245 it. Suggested by Brad Dobbie.
246 (verilog-alw-get-temps, verilog-auto-reset)
247 (verilog-auto-sense-sigs, verilog-read-always-signals)
248 (verilog-read-always-signals-recurse): Fix loop indexes being
249 AUTORESET. AUTORESET now assumes any variables in the
250 initialization section of a for() should be ignored. Reported by
252 (verilog-error-font-lock-keywords)
253 (verilog-error-regexp-emacs-alist)
254 (verilog-error-regexp-xemacs-alist): Fix error detection of
255 Cadence HAL, reported by David Asher. Repair drift between the
256 three similar error variables.
257 (verilog-modi-lookup, verilog-modi-lookup-cache)
258 (verilog-modi-lookup-last-current, verilog-modi-lookup-last-mod)
259 (verilog-modi-lookup-last-modi, verilog-modi-lookup-last-tick):
260 Fix slow verilog-auto expansion on very large files.
261 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line): Fix
262 AUTOOUTPUT treating "1*2" as a signal name in submodule connection
263 "{1*2{...". Broke in last revision.
264 (verilog-read-sub-decls-expr): Fix AUTOOUTPUT not detecting
265 submodule connections with replications "{#{a},#{b}}".
267 2010-10-24 Juanma Barranquero <lekktu@gmail.com>
269 * progmodes/dcl-mode.el (dcl-electric-reindent-regexps):
270 Fix typo in docstring.
272 2010-10-24 Kenichi Handa <handa@m17n.org>
274 * face-remap.el (text-scale-adjust): Call read-event with a proper
277 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
279 * emacs-lisp/unsafep.el: Don't mark functions that display
280 messages as safe. Suggested by Johan Bockgård.
282 2010-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
284 * emacs-lisp/regexp-opt.el (regexp-opt-group, regexp-opt-charset):
285 Turn comments into docstrings.
287 * minibuffer.el (completion--replace): Move point where it belongs
288 when there's a common suffix (bug#7215).
290 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
292 Merge read-color and facemenu-read-color (Bug#7242).
294 * faces.el (read-color): Use the completion code from
295 facemenu-read-color. Require match in completion. Doc fix.
297 * facemenu.el (facemenu-read-color): Alias for read-color.
298 (facemenu-set-foreground, facemenu-set-background): Use
301 * frame.el (set-background-color, set-foreground-color)
302 (set-cursor-color, set-mouse-color, set-border-color): Use
305 2010-10-24 Leo <sdl.web@gmail.com>
307 * eshell/em-unix.el (eshell-remove-entries): Use the TRASH
308 argument of delete-file and delete-directory (Bug#7011).
310 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
312 * emacs-lisp/package.el (package-menu-mode-map): Inherit from
315 2010-10-24 Ralf Angeli <angeli@caeruleus.net>
317 * emacs-lisp/package.el (package--generate-package-list): Make the
318 *Packages* buffer read-only.
320 2010-10-24 Alan Mackenzie <acm@muc.de>
322 * progmodes/cc-fonts.el (c-font-lock-declarations): Cache the
323 result of `c-beginning-of-decl-1' between invocations of a lambda
324 function (Bug #7265).
326 2010-10-24 Daiki Ueno <ueno@unixuser.org>
328 * epg-config.el (epg-gpg-program): Try to use "gpg2" if "gpg"
329 executable is not available on the system (Bug#7268).
331 2010-10-24 Glenn Morris <rgm@gnu.org>
333 * select.el (selection-coding-system, next-selection-coding-system):
334 Sync doc with C versions.
336 * w32-vars.el (x-select-enable-clipboard):
337 * term/x-win.el (x-select-enable-clipboard): Move to common-win.
338 * term/common-win.el (x-select-enable-clipboard): Move here.
340 * term/tty-colors.el (tty-defined-color-alist): Remove duplicate
341 definition of C variable.
343 * frame.el (show-trailing-whitespace, auto-hscroll-mode)
344 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
345 Don't redefine things that are defined in C.
346 * cus-start.el: Also handle :risky, :safe, :set, and :tag.
347 (show-trailing-whitespace, auto-hscroll-mode)
348 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
349 Set up the appropriate custom properties.
351 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
354 * progmodes/f90.el (f90-mode-map): ... f90-insert-end.
355 * nxml/nxml-mode.el (nxml-mode-map): ... nxml-finish-element.
356 * textmodes/tex-mode.el (tex-mode-map): ... latex-close-block.
357 * textmodes/sgml-mode.el (sgml-mode-map): ... sgml-close-tag.
359 2010-10-23 Glenn Morris <rgm@gnu.org>
361 * textmodes/flyspell.el (flyspell-mode): If there was an error,
364 * frame.el (auto-hscroll-mode, cursor-in-non-selected-windows):
365 Sync docs with C version.
367 * term/ns-win.el (xw-defined-colors):
368 * term/x-win.el (xw-defined-colors): Make docs identical to w32-win.
370 * term/pc-win.el (x-select-enable-clipboard):
371 * term/x-win.el (x-select-enable-clipboard):
372 * w32-vars.el (x-select-enable-clipboard): Make doc-strings identical.
374 * comint.el (comint-password-prompt-regexp): Make it less vague.
377 * help-fns.el (doc-file-to-man, doc-file-to-info): New commands.
379 * help.el (finder-by-keyword): Remove unnecessary autoload.
381 2010-10-22 Glenn Morris <rgm@gnu.org>
383 * loadup.el: Unconditionally load float-sup.
384 * paren.el (show-paren-delay):
385 * emacs-lisp/float-sup.el:
386 * emulation/cua-base.el (cua-prefix-override-inhibit-delay):
387 * obsolete/lazy-lock.el (lazy-lock-defer-time, lazy-lock-stealth-nice)
388 (lazy-lock-stealth-verbose): Assume float support.
389 * ps-print.el: Assume float support on Emacs.
390 * emacs-lisp/timer.el (timer-next-integral-multiple-of-time):
391 Remove non-float branch.
393 * emacs-lisp/autoload.el (batch-update-autoloads): Update for
394 src/Makefile no longer being pre-processed.
396 2010-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
398 * emacs-lisp/find-func.el (find-library): Use test-completion.
400 2010-10-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
402 * newcomment.el (comment-dwim): Fix the intentation in the doc string.
404 010-10-21 Michael Albinus <michael.albinus@gmx.de>
406 * net/tramp-sh.el (tramp-do-file-attributes-with-stat): Do not use
407 space in stat format string.
408 (tramp-send-command): Unset $PS1 when using here documents, in
409 order not to get several prompts.
410 (tramp-get-inline-coding): Return `nil' in case of errors.
412 2010-10-21 Daiki Ueno <ueno@unixuser.org>
414 * hexl.el (hexl-mode, hexl-mode-exit):
415 Tweak revert-buffer-function to inhibit auto-mode-alist (Bug#7252).
416 (hexl-revert-buffer-function): New function.
417 (hexl-before-revert-hook, hexl-after-revert-hook): Abolish.
419 2010-10-19 Alan Mackenzie <acm@muc.de>
421 * progmodes/cc-langs.el (c-type-decl-prefix-key): C++ bit:
422 Move "\(const\|throw\|volatile\)\>" nearer the start of the regexp, so
423 that these keywords aren't wrongly matched as identifiers.
425 * progmodes/cc-mode.el (c-before-change, c-after-change): Move the
426 setting of c-new-BEG and c-new-END from c-before-change to
427 c-after-change. (Bug#7181)
429 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
431 * cus-face.el (custom-theme-set-faces): Revert 2010-10-18 change.
434 * custom.el (custom-theme-set-variables): Likewise.
435 (load-theme): Add custom-theme-set-faces and
436 custom-theme-set-variables to safe-functions while loading.
437 (custom-enabled-themes): Mark as risky.
439 2010-10-18 Julien Danjou <julien@danjou.info>
441 * bindings.el: Remove end dashes in default mode-line-format.
443 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
445 * bindings.el (global-map): Bind C-d to delete-char and deletechar
446 to delete-forward-char.
448 * simple.el (normal-erase-is-backspace-mode): Remap delete to
449 deletechar, and hence delete-forward-char.
451 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
453 * repeat.el (repeat): Use read-key (bug#6256).
455 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
457 * emacs-lisp/unsafep.el: Don't mark functions that display
458 messages as safe. Suggested by Johan Bockgård.
460 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
462 * minibuffer.el (completion--replace): Move point where it belongs
463 when there's a common suffix (bug#7215).
465 2010-10-19 Kenichi Handa <handa@m17n.org>
467 * international/characters.el: Add category '|' (word breakable)
468 to fullwidth characters.
470 2010-10-19 Michael Albinus <michael.albinus@gmx.de>
472 * net/tramp-sh.el (tramp-do-file-attributes-with-stat)
473 (tramp-do-directory-files-and-attributes-with-stat): Use "e0" in
474 order to make stat results a float. Patch by Andreas Schwab
475 <schwab@linux-m68k.org>.
477 2010-10-18 Julien Danjou <julien@danjou.info>
479 * avoid.el (mouse-avoidance-ignore-p): Ignore mouse when it is
480 hidden by `make-pointer-invisible'.
482 2010-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
484 * files.el (locate-file-completion-table): Strip non-matching elements
485 before checking length of list (bug#7238).
487 2010-10-18 Chong Yidong <cyd@stupidchicken.com>
489 * custom.el (custom-theme-set-variables): Mark as a safe function.
490 (load-theme): Check forms using unsafep.
492 * cus-face.el (custom-theme-set-faces): Mark as a safe function.
494 2010-10-17 Agustín Martín <agustin.martin@hispalinux.es>
496 * textmodes/ispell.el (ispell-aspell-find-dictionary):
497 Fix aspell data file searching (bug#7230).
499 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
501 * cus-theme.el (custom-theme--migrate-settings): New var.
502 (customize-create-theme): Allow editing the `user' theme.
503 (custom-theme-add-variable, custom-theme-add-var-1)
504 (custom-theme-add-face, custom-theme-add-face-1): Add a checkbox
505 to the front of each variable or face widget.
506 (custom-theme-write): Save theme settings in the correct order.
507 Optionally, remove saved settings from user customizations.
508 (custom-theme-write-variables, custom-theme-write-faces):
509 Save only the checked widgets.
510 (customize-themes): Add a link for migrating custom settings.
512 * custom.el (custom-declare-theme, provide-theme):
513 Use custom-theme-name-valid-p.
514 (custom-theme-name-valid-p): Remove checks that are now
515 unnecessary since themes no longer obey load-path.
517 * cus-edit.el (custom-variable-value-create): For the simple
518 style, hide documentation string when hidden.
520 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
522 * cus-edit.el (custom-variable, custom-face): Combine the
523 :inhibit-magic and :display-style properties into a single
524 :custom-style property.
525 (custom-toggle-hide-variable, custom-toggle-hide-face):
526 New functions. If hiding an edited value, save it to :shown-value.
527 (custom-variable-value-create, custom-face-value-create): Use them.
528 (custom-magic-reset): Allow magic property to be unset.
530 * custom.el: Custom themes no longer use load-path.
531 (custom-theme-load-path): New option. Change built-in theme
533 (custom-enabled-themes): Add custom-theme-load-path dependency.
534 (custom-theme--load-path): New function.
535 (load-theme, custom-available-themes): Use it.
537 * cus-theme.el (describe-theme-1): Use custom-theme--load-path.
538 (customize-themes): Link to custom-theme-load-path variable.
539 (custom-theme-add-var-1, custom-theme-add-face-1): Use the
540 :custom-style property.
542 * themes/*.el: Moved to etc/.
544 2010-10-16 Ralf Angeli <angeli@caeruleus.net>
546 * textmodes/reftex-cite.el
547 (reftex-extract-bib-entries-from-thebibliography): Do not move
548 point when searching for \bibitem entries. Match entries with
549 spaces or tabs in front of arguments.
551 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
553 * cus-theme.el (customize-create-theme): Delete overlays after
554 erasing. If given a THEME arg, display only the faces of that arg
555 instead of custom-theme--listed-faces.
556 (custom-theme-variable-menu, custom-theme-variable-action)
557 (custom-variable-reset-theme, custom-theme-delete-variable): Delete.
558 (custom-theme-add-variable, custom-theme-add-face): Apply value
559 from the theme settings, instead of the current value.
560 (custom-theme-add-var-1, custom-theme-add-face-1): New functions.
561 (custom-theme-visit-theme): Allow calling outside theme buffers.
562 (custom-theme-merge-theme): Don't enable the theme when merging.
563 (custom-theme-write-variables, custom-theme-write-faces): Use the
564 :shown-value properties to save buffer values, not global ones.
565 (customize-themes): Display a warning about user customizations.
567 * cus-edit.el (custom-variable-value-create)
568 (custom-face-value-create): Obey new special properties
569 :shown-value and :inhibit-magic.
571 2010-10-15 Michael Albinus <michael.albinus@gmx.de>
573 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
574 Suppress expansion of tabs to spaces. Reported by Dale Sedivec
577 2010-10-14 Kenichi Handa <handa@m17n.org>
579 * mail/rmail.el (rmail-show-message-1): Catch an error of
580 base64-decode-region and just show an error message (bug#7165).
582 * ps-mule.el (ps-mule-font-spec-list): Delete it. Not used anymore.
583 (ps-mule-begin-job): Fix for the case that only ENCODING is set in
584 a font-spec (bug#7197).
586 2010-10-14 Glenn Morris <rgm@gnu.org>
588 * mail/emacsbug.el (report-emacs-bug): Mention debbugs.gnu.org.
590 2010-10-14 Juanma Barranquero <lekktu@gmail.com>
592 * international/mule.el (define-coding-system):
593 * international/titdic-cnv.el (quail-cxterm-package-ext-info):
594 * composite.el (compose-region): Fix typo in docstring.
596 2010-10-14 Chong Yidong <cyd@stupidchicken.com>
598 * cus-face.el (custom-theme-set-faces): Call custom-push-theme
599 only after checking the theme-face property.
601 * faces.el (face-spec-reset-face): Reset all attributes in one
602 single call to set-face-attribute.
603 (face-spec-match-p): Make it a defsubst.
604 (frame-set-background-mode): New arg KEEP-FACE-SPECS.
605 (x-create-frame-with-faces, tty-create-frame-with-faces)
606 (tty-set-up-initial-frame-faces): Don't recompute face specs in
607 frame-set-background-mode, since they are recomputed immediately
608 afterwards in face-set-after-frame-default.
609 (face-set-after-frame-default): Minor optimization.
610 (cursor): Provide non-trivial defface spec.
612 * custom.el (custom-theme-recalc-face): Simplify.
614 2010-10-14 Jay Belanger <jay.p.belanger@gmail.com>
616 * calc/calc-alg.el (math-var): Rename from `var'.
617 (math-is-polynomial, math-is-poly-rec): Replace `var'
620 * calc/calcalg2.el (math-var): Rename from `var'.
621 (calcFunc-table, math-scan-for-limits): Replace `var'
624 2010-10-13 Glenn Morris <rgm@gnu.org>
626 * subr.el (last): Deal with dotted lists (reported in bug#7174).
628 2010-10-13 Stephen Berman <stephen.berman@gmx.net>
630 * subr.el (last): Use `safe-length' instead of `length' (bug#7206).
632 2010-10-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
634 * net/tls.el (tls-program): Remove spurious %s from openssl.
635 (tls-starttls-switches): Remove starttls hack.
636 (open-tls-stream): Ditto.
637 (tls-find-starttls-argument): Ditto.
639 2010-10-13 Juanma Barranquero <lekktu@gmail.com>
641 * image.el (image-library-alist): Declare as obsolete alias.
642 (image-type-available-p): Use `dynamic-library-alist'.
644 * term/w32-win.el (dynamic-library-alist):
645 Use instead of `image-library-alist'.
647 2010-10-13 IRIE Shinsuke <irieshinsuke@yahoo.co.jp> (tiny change)
649 * subr.el (last): Make it faster. (Bug#7174)
651 2010-10-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> (tiny change)
653 * Makefile.in (compile-clean): Use `` instead of $(). (Bug#7178)
655 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
657 * cus-theme.el (custom-theme--listed-faces): Add cursor face.
658 (describe-theme-1): Extract doc from unloaded themes.
660 * custom.el (custom-theme-name-valid-p): Don't list color-themes.
662 * themes/tango-theme.el:
663 * themes/tango-dark-theme.el:
664 * themes/wheatgrass-theme.el: New files.
666 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
668 * cus-theme.el (describe-theme, customize-themes)
669 (custom-theme-save): New commands.
670 (custom-new-theme-mode-map): Bind C-x C-s.
671 (custom-new-theme-mode): Use custom--initialize-widget-variables.
672 (customize-create-theme): New optional arg THEME.
673 (custom-theme-revert): Use it.
674 (custom-theme-visit-theme): Remove dead code.
675 (custom-theme-merge-theme): Use custom-available-themes.
676 (custom-theme-write): Make interactive.
677 (custom-theme-write): Use custom-theme-name-valid-p.
678 (describe-theme-1, custom-theme-choose-revert)
679 (custom-theme-checkbox-toggle, custom-theme-selections-toggle):
681 (custom-theme-allow-multiple-selections): New option.
682 (custom-theme-choose-mode): New major mode.
684 * custom.el (custom-theme-set-variables): Remove dead code.
685 Obey custom--inhibit-theme-enable.
686 (custom--inhibit-theme-enable): New var.
687 (provide-theme): Obey it.
688 (load-theme): Replace load with manual read/eval, in order to
689 check for correctness. Use custom-theme-name-valid-p.
690 (custom-theme-name-valid-p): New function.
691 (custom-available-themes): Use it.
693 * cus-edit.el (custom--initialize-widget-variables): New function.
694 (Custom-mode): Use it.
696 * cus-face.el (custom-theme-set-faces): Remove dead code.
697 Obey custom--inhibit-theme-enable.
699 * help-mode.el (help-theme-def, help-theme-edit): New buttons.
701 2010-10-12 Juanma Barranquero <lekktu@gmail.com>
703 * net/telnet.el (telnet-mode-map): Fix previous change (bug#7193).
705 2010-10-12 Jan Djärv <jan.h.d@swipnet.se>
707 * term/ns-win.el (ns-right-alternate-modifier): New defvar.
708 (ns-right-option-modifier): New alias for ns-right-alternate-modifier.
709 (mac-right-option-modifier): New alias for ns-right-option-modifier.
711 * cus-start.el (all): ns-right-alternate-modifier is new.
713 2010-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
715 * emacs-lisp/lisp.el (lisp-completion-at-point):
716 Use emacs-lisp-mode-syntax-table for the whole function.
718 2010-10-12 David Koppelman <koppel@ece.lsu.edu>
720 * hi-lock.el (hi-lock-font-lock-hook): Check font-lock-fontified
721 instead of font-lock-mode before adding keywords.
722 Remove hi-lock-mode off code. Remove inhibit hack.
723 (hi-lock-set-pattern): Only add keywords if font-lock-fontified
724 non-nil; removed hook inhibit hack.
726 2010-10-12 Glenn Morris <rgm@gnu.org>
728 * emacs-lisp/shadow.el (find-emacs-lisp-shadows): Rename it...
729 (load-path-shadows-find): ... to this.
730 (list-load-path-shadows): Update for above change.
732 * mail/mail-utils.el (mail-mbox-from): Also try return-path.
734 2010-10-11 Katsumi Yamaoka <yamaoka@jpl.org>
736 * mail/hashcash.el, net/imap.el, pgg-parse.el, pgg.el:
737 Fix comment for declare-function.
739 2010-10-11 Chong Yidong <cyd@stupidchicken.com>
741 * custom.el (custom-fix-face-spec): New function; code moved from
742 custom-face-edit-fix-value.
743 (custom-push-theme): Use it when checking if a face has been
744 changed outside customize.
745 (custom-available-themes): New function.
746 (load-theme): Use it.
748 * cus-edit.el (custom-face-edit-fix-value): Use custom-fix-face-spec.
750 * custom.el (custom-push-theme): Cleanup (use cond).
751 (disable-theme): Recompute the saved-face property.
752 (custom-theme-recalc-face): Follow face alias before setting prop.
754 * image.el (image-checkbox-checked, image-checkbox-unchecked):
755 New variables, containing checkbox images.
757 * startup.el (fancy-startup-tail):
758 * wid-edit.el (checkbox): Use them.
760 2010-10-10 Dan Nicolaescu <dann@ics.uci.edu>
762 * shell.el (shell-mode-map):
763 * progmodes/modula2.el (m2-mode-map):
764 * progmodes/inf-lisp.el (inferior-lisp-mode-map):
765 * play/mpuz.el (mpuz-mode-map):
766 * play/landmark.el (lm-mode-map):
767 * play/decipher.el (decipher-mode-map):
768 * play/5x5.el (5x5-mode-map):
769 * net/telnet.el (telnet-mode-map):
770 * net/quickurl.el (quickurl-list-mode-map):
771 * net/mairix.el (mairix-searches-mode-map):
772 * net/eudc-hotlist.el (eudc-hotlist-mode-map):
773 * net/dig.el (dig-mode-map):
774 * mail/mspools.el (mspools-mode-map):
775 * hexl.el (hexl-mode-map):
776 * emulation/ws-mode.el (wordstar-C-k-map, wordstar-mode-map)
777 (wordstar-C-o-map, wordstar-C-q-map):
778 * emacs-lisp/edebug.el (edebug-eval-mode-map):
779 * emacs-lisp/chart.el (chart-map):
780 * edmacro.el (edmacro-mode-map):
781 * erc/erc-list.el (erc-list-menu-mode-map):
782 * array.el (array-mode-map): Declare and define in one step.
784 * vc/log-view.el (log-view-mode-map): Bind revert-buffer.
786 2010-10-10 Daiki Ueno <ueno@unixuser.org>
788 * epa.el (epa-passphrase-callback-function): Display filename
789 passed as the 3rd arg.
790 * epa-file.el (epa-file-passphrase-callback-function):
791 Pass filename to epa-passphrase-callback-function.
793 2010-10-09 Chong Yidong <cyd@stupidchicken.com>
795 * cus-edit.el (custom-face-widget-to-spec)
796 (custom-face-get-current-spec, custom-face-state): New functions.
797 (custom-face-set, custom-face-mark-to-save)
798 (custom-face-value-create, custom-face-state-set): Use them.
800 * cus-theme.el (custom-theme--listed-faces): New var.
801 (customize-create-theme): Use *Custom Theme* as the buffer name.
802 Set revert-buffer-function. Optional arg BUFFER. Insert all
803 faces listed in custom-theme--listed-faces.
804 (custom-theme-revert): New function.
805 (custom-theme-add-variable, custom-theme-add-face): Insert at the
807 (custom-theme-write): Prompt for theme name if empty.
808 (custom-theme-write-variables): Use dolist.
809 (custom-theme-write-faces): Handle hidden (collapsed) widgets.
811 2010-10-09 Alan Mackenzie <acm@muc.de>
813 Enhance fontification of declarators to take account of the
814 presence/absence of "typedef".
816 * cc-engine.el (c-forward-type): New &optional param
818 (c-forward-decl-or-cast-1): cdr of return value now indicates the
819 presence of either or both of a "struct"-like keyword and "typedef".
821 * cc-fonts.el (c-complex-decl-matchers): Remove the heuristic
822 fontification of declarators which follow a "}".
823 (c-font-lock-declarations): Fontify declarators according to the
824 presence/absence of "typedef".
826 * cc-langs.el (c-typedef-kwds c-typedef-key): New lang variable
828 (c-typedef-decl-key): New lang variable built from
831 2010-10-09 Lars Magne Ingebrigtsen <larsi@gnus.org>
833 * ibuffer.el (ibuffer-mode-map): Don't redefine the cursor keys,
834 since that's too annoying. Move the filter groups commands to
837 * epa.el (epa-passphrase-callback-function): Say what we're
838 querying the password for.
840 * ibuffer.el (ibuffer-visit-buffer): To mimick list-buffers
841 behaviour, don't bury the ibuffer buffer when visiting other buffers.
843 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
845 * cus-edit.el (custom-commands, custom-buffer-create-internal)
846 (custom-magic-value-create): Pad button tags with spaces.
847 (custom-face-edit): New variable.
848 (custom-face-value-create): Determine whether to use the usual
849 face editor here, instead of using custom-face-selected.
850 Pass face defaults to custom-face-edit widget.
851 (custom-face-selected, custom-display-unselected): Delete widgets.
852 (custom-display-unselected-match): Function removed.
853 (custom-face-set, custom-face-mark-to-save):
854 Accept custom-face-edit widgets as the direct widget child.
856 * wid-edit.el (widget--completing-widget): New var.
857 (widget-default-complete): Bind it when doing completion.
858 (widget-string-complete, widget-file-complete): Use it.
860 2010-10-09 Glenn Morris <rgm@gnu.org>
862 * calendar/cal-hebrew.el (holiday-hebrew-rosh-hashanah)
863 (holiday-hebrew-passover, holiday-hebrew-tisha-b-av)
864 (holiday-hebrew-misc): Small simplifications.
866 * emacs-lisp/authors.el (authors-valid-file-names): Add b2m.c.
868 * net/browse-url.el: Don't require thingatpt, term, dired,
869 executable, or w3-auto when compiling.
870 (dired-get-filename, term-char-mode, term-send-down, term-send-string):
872 (browse-url-text-emacs): Require term.
874 2010-10-08 Andreas Schwab <schwab@linux-m68k.org>
876 * net/browse-url.el (browse-url-xdg-open): Remove use of /bin/sh.
878 2010-10-08 Glenn Morris <rgm@gnu.org>
880 * emacs-lisp/cl-compat.el, emacs-lisp/lmenu.el: Move to obsolete/.
882 * emacs-lisp/shadow.el (lisp-shadow): Change prefix.
883 (shadows-compare-text-p): Make it an obsolete alias for...
884 (load-path-shadows-compare-text): ... new name.
885 (find-emacs-lisp-shadows): Update for above name change.
886 (load-path-shadows-same-file-or-nonexistent): New name for the old
887 shadow-same-file-or-nonexistent.
889 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
891 * minibuffer.el (completion--some, completion--do-completion)
892 (minibuffer-complete-and-exit, minibuffer-completion-help)
893 (completion-basic-try-completion)
894 (completion-basic-all-completions)
895 (completion-pcm--find-all-completions): Use lexical-let to
896 avoid some false matches in variable completion (Bug#7056)
898 2010-10-08 Olof Ohlsson Sax <olof.ohlsson.sax@gmail.com> (tiny change)
900 * vc-svn.el (vc-svn-merge-news): Use --non-interactive. (Bug#7152)
902 2010-10-08 Leo <sdl.web@gmail.com>
904 * dnd.el (dnd-get-local-file-name): If MUST-EXIST is non-nil, only
905 return non-nil if the file exists (Bug#7090).
907 2010-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
909 * minibuffer.el (completion--replace):
910 Better preserve markers (bug#7138).
912 2010-10-08 Juanma Barranquero <lekktu@gmail.com>
914 * server.el (server-process-filter): Doc fix.
916 2010-10-08 Drew Adams <drew.adams@oracle.com>
918 * dired.el (dired-save-positions): Doc fix. (Bug#7119)
920 2010-10-08 Andreas Schwab <schwab@linux-m68k.org>
922 * Makefile.in (ELCFILES): Update.
924 2010-10-08 Glenn Morris <rgm@gnu.org>
926 * vc/ediff-wind.el (ediff-setup-control-frame):
927 * vc/ediff-ptch.el (ediff-default-backup-extension):
928 * vc/ediff-diff.el (ediff-shell, ediff-diff-options)
929 (ediff-exec-process): Remove system-types emx, windows-95.
931 * net/browse-url.el (browse-url-xdg-open): Shell-quote url. (Bug#7166)
933 2010-10-07 Chong Yidong <cyd@stupidchicken.com>
935 * cus-edit.el (custom-variable, custom-face): Doc fix.
936 (custom-face-edit): Add value-create attribute.
937 (custom-face-edit-value-create)
938 (custom-face-edit-value-visibility-action): New functions.
939 Hide unused face attributes by default, and add a visibility toggle.
940 (custom-face-edit-deactivate): Show empty values with shadow face.
941 (custom-face-selected): Only use this for face specs with default
943 (custom-face-value-create): Cleanup.
945 * wid-edit.el (widget-checklist-value-create): Use dolist.
946 (widget-checklist-match-find): Make second arg optional.
948 2010-10-07 Glenn Morris <rgm@gnu.org>
950 * hilit-chg.el (hilit-chg-get-diff-info, hilit-chg-get-diff-list-hk):
953 * emacs-lisp/shadow.el (shadow-font-lock-keywords)
954 (load-path-shadows-mode, list-load-path-shadows): Rename shadow-mode to
955 load-path-shadows-mode, update references.
956 (load-path-shadows-font-lock-keywords, load-path-shadows-find-file):
957 Rename variable and button.
958 (list-load-path-shadows): Update button caller.
960 2010-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
962 * emacs-lisp/smie.el (smie-bnf-classify): New function.
963 (smie-bnf-precedence-table): Use it to remember the closers/openers.
964 (smie-merge-prec2s): Handle those new entries.
965 (smie-prec2-levels): Only set precedence to nil for actual
967 * progmodes/octave-mod.el (octave-smie-op-levels): Remove dummy entry
968 that is now unnecessary.
970 2010-10-07 Miles Bader <miles@gnu.org>
972 * emacs-lisp/regexp-opt.el (regexp-opt): Add `symbols' mode.
974 2010-10-07 Glenn Morris <rgm@gnu.org>
976 * mail/rmail.el (mail-sendmail-delimit-header, mail-header-end)
977 (mail-position-on-field): Remove declarations.
978 (mail-position-on-field): Autoload it.
979 (rmail-retry-failure): Replace use of mail-sendmail-delimit-header
980 and mail-header-end. Don't require sendmail.
982 * emacs-lisp/shadow.el (shadow-font-lock-keywords): New variable.
983 (shadow-mode): New mode.
984 (shadow-find-file): New button.
985 (list-load-path-shadows): Use shadow-mode and buttons.
987 * iimage.el (iimage-version): Remove.
988 (iimage-mode-image-search-path, iimage-mode-image-regex-alist):
989 Turn into defcustoms.
990 (iimage-mode-map): Give it a doc string.
992 * calendar/appt.el (appt-activate): Give a warning rather than an error
993 if there is no diary-file.
995 2010-10-06 Michael Albinus <michael.albinus@gmx.de>
997 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
998 Use `tramp-handle-find-backup-file-name'.
1000 2010-10-06 Glenn Morris <rgm@gnu.org>
1002 * font-core.el (font-lock-defaults-alist): Remove variable.
1003 (font-lock-mode): Doc fix.
1004 (font-lock-default-function): Do not consult font-lock-defaults-alist.
1005 * font-lock.el (font-lock-refresh-defaults): Doc fix.
1006 (font-lock-set-defaults): Doc fix.
1007 Do not consult font-lock-defaults-alist.
1009 * hilit-chg.el (hilit-chg-get-diff-list-hk): Declare `e' for compiler.
1011 * emacs-lisp/cl.el: No longer provide cl-19.
1013 2010-10-05 Michael Albinus <michael.albinus@gmx.de>
1015 * net/tramp.el (tramp-handle-directory-files-and-attributes)
1016 (tramp-handle-file-exists-p, tramp-handle-file-newer-than-file-p):
1017 New defuns, taken from tramp-smb.el.
1018 (tramp-coding-system-change-eol-conversion)
1019 (tramp-set-process-query-on-exit-flag): Remove.
1021 * net/tramp-compat.el (top): Do not check for byte-compiler objects.
1022 (tramp-compat-coding-system-change-eol-conversion)
1023 (tramp-compat-set-process-query-on-exit-flag): New defuns, taken
1026 * net/tramp-gvfs.el:
1027 * net/tramp-gw.el: Replace `tramp-set-process-query-on-exit-flag'
1028 by `tramp-compat-set-process-query-on-exit-flag'.
1030 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
1031 Use `tramp-handle-directory-files-and-attributes',
1032 `tramp-handle-file-exists-p' and
1033 `tramp-handle-file-newer-than-file-p'.
1034 (tramp-imap-handle-file-exists-p)
1035 (tramp-imap-handle-file-executable-p)
1036 (tramp-imap-handle-file-readable-p)
1037 (tramp-imap-handle-directory-files-and-attributes)
1038 (tramp-imap-handle-file-newer-than-file-p): Remove.
1040 * net/tramp-sh.el: Replace `tramp-set-process-query-on-exit-flag'
1041 by `tramp-compat-set-process-query-on-exit-flag' and
1042 `tramp-coding-system-change-eol-conversion' by
1043 `tramp-compat-coding-system-change-eol-conversion'.
1045 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
1046 Use `tramp-handle-directory-files-and-attributes',
1047 `tramp-handle-file-exists-p' and
1048 `tramp-handle-file-newer-than-file-p'.
1049 (tramp-smb-handle-directory-files-and-attributes)
1050 (tramp-smb-handle-file-exists-p)
1051 (tramp-smb-handle-file-newer-than-file-p): Remove.
1052 (tramp-smb-maybe-open-connection):
1053 Replace `tramp-set-process-query-on-exit-flag' by
1054 `tramp-compat-set-process-query-on-exit-flag'.
1056 2010-10-05 Glenn Morris <rgm@gnu.org>
1058 * obsolete/rnews.el, obsolete/rnewspost.el: Remove files.
1060 2010-10-04 Michael Albinus <michael.albinus@gmx.de>
1062 Continue reorganization of load dependencies. (Bug#7156)
1064 * net/tramp.el (tramp-handle-file-local-copy-hook)
1065 (tramp-delete-temp-file-function): Move down.
1066 (tramp-exists-file-name-handler): Move up.
1067 (tramp-register-file-name-handlers): Simplify autoload.
1068 (tramp-handle-write-region-hook, tramp-handle-directory-file-name)
1069 (tramp-handle-directory-files, tramp-handle-dired-uncache)
1070 (tramp-handle-file-modes, tramp-handle-file-name-as-directory)
1071 (tramp-handle-file-name-completion)
1072 (tramp-handle-file-name-directory)
1073 (tramp-handle-file-name-nondirectory, tramp-handle-file-regular-p)
1074 (tramp-handle-file-remote-p, tramp-handle-file-symlink-p)
1075 (tramp-handle-find-backup-file-name)
1076 (tramp-handle-insert-file-contents, tramp-handle-load)
1077 (tramp-handle-substitute-in-file-name)
1078 (tramp-handle-unhandled-file-name-directory)
1079 (tramp-mode-string-to-int, tramp-local-host-p)
1080 (tramp-make-tramp-temp-file): Move from tramp-sh.el.
1082 * net/tramp-gvfs.el (top):
1083 * net/tramp-smb.el (top): Do not require 'tramp-sh.
1085 * net/tramp-sh.el (all): Move several objects to tramp.el, see
1086 there. Rename `tramp-handle-*' to `tramp-sh-handle-*'.
1088 2010-10-04 Glenn Morris <rgm@gnu.org>
1090 * calendar/appt.el (appt-add): Ensure reminders are enabled.
1091 (appt-activate): Give status messages.
1093 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
1095 * net/gnutls.el: Improve docs. Remove starttls and ssl emulation.
1096 Provide only `open-gnutls-stream' (formerly `open-ssl-stream') and
1097 `gnutls-negotiate' (formerly `starttls-negotiate').
1098 Remove trivial wrapper `starttls-open-stream'.
1100 2010-10-03 Dan Nicolaescu <dann@ics.uci.edu>
1102 Make 'g' (AKA revert-buffer) rerun the VC log, log-incoming and
1103 log-outgoing commands.
1104 * vc/vc.el (vc-log-internal-common): Add a new argument and use it
1105 to create a buffer local revert-buffer-function variable.
1106 (vc-print-log-internal, vc-log-incoming, vc-log-outgoing): Pass a
1107 revert-buffer-function lambda.
1109 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
1111 * net/gnutls.el (starttls-negotiate): Use the plist interface to
1112 `gnutls-boot'. Make TYPE the only required parameter.
1113 Allow TRUSTFILES and KEYFILES to be lists.
1114 (open-ssl-stream): Use it.
1116 2010-10-03 Glenn Morris <rgm@gnu.org>
1118 * subr.el (directory-sep-char): Remove obsolete variable.
1119 * net/tramp-compat.el: Don't mess about with the byte-compiler unless
1122 * vc/vc-hooks.el (vc-header-alist): Remove obsolete variable.
1123 * vc/vc.el (vc-static-header-alist): Doc fix.
1124 * vc/vc-cvs.el (vc-cvs-header):
1125 * vc/vc-rcs.el (vc-rcs-header):
1126 * vc/vc-sccs.el (vc-sccs-header):
1127 * vc/vc-svn.el (vc-svn-header): Do not consult vc-header-alist.
1128 * obsolete/vc-mcvs.el (vc-mcvs-header):
1129 * progmodes/cperl-mode.el (cperl-mode): Only set vc-header-alist
1132 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
1134 * emacs-lisp/bytecomp.el (byte-compile-from-buffer):
1135 Remove obsolete use of binary-overwrite-mode (Bug#7001).
1137 2010-10-03 Glenn Morris <rgm@gnu.org>
1139 * obsolete/x-menu.el: Remove file, obsolete since 21.1
1141 * textmodes/rst.el (rst-font-lock-keywords-function):
1144 * textmodes/artist.el (artist-replace-char): Drop Emacs 20 code.
1146 * printing.el: Drop Emacs 20 code.
1148 * calendar/appt.el (appt-delete): Don't autoload it (you can't use it
1149 without having used appt.el already).
1151 * subr.el (make-local-hook): Remove function obsolete since 21.1.
1152 * progmodes/cc-mode.el (make-local-hook): Don't do cc-bytecomp stuff.
1153 (c-basic-common-init, c-font-lock-init): Only call make-local-hook on
1155 * progmodes/cc-styles.el (make-local-hook): Don't do cc-bytecomp stuff.
1156 (c-make-styles-buffer-local): Only call make-local-hook on XEmacs.
1158 * ps-def.el (leading-code-private-22, charset-bytes, charset-id)
1159 (charset-width, find-charset-region, chars-in-region, forward-point)
1160 (encode-coding-string, coding-system-p, ccl-execute-on-string)
1161 (define-ccl-program, multibyte-string-p, string-make-multibyte):
1162 Remove compatibility cruft (none of these are used by ps*.el).
1164 2010-10-03 Kevin Rodgers <kevin.d.rodgers@gmail.com>
1166 * subr.el (booleanp): Return t instead of a list (Bug#7086).
1168 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
1170 * server.el (server-process-filter, server-return-error):
1171 Give emacsclient time to shut down after receiving an error string.
1173 2010-10-02 Michael Albinus <michael.albinus@gmx.de>
1175 * files.el (remote-file-name-inhibit-cache): New defcustom.
1177 * time.el (display-time-file-nonempty-p):
1178 Use `remote-file-name-inhibit-cache'.
1180 * net/tramp.el (tramp-completion-reread-directory-timeout):
1183 * net/tramp-cache.el (tramp-cache-inhibit-cache): Remove.
1184 (tramp-get-file-property): Replace `tramp-cache-inhibit-cache' by
1185 `remote-file-name-inhibit-cache'. Check also for an integer
1186 value. Add/increase counter when `tramp-verbose' >= 10.
1187 (tramp-set-file-property): Add/increase counter when
1188 `tramp-verbose' >= 10.
1190 * net/tramp-cmds.el (tramp-cleanup-all-connections)
1191 (tramp-cleanup-all-buffers): Set tramp-autoload cookie.
1192 (tramp-bug): Set tramp-autoload cookie. Report all interned
1193 tramp-* variables. Report also `remote-file-name-inhibit-cache'.
1194 (tramp-reporter-dump-variable): Fix docstring. Mask non-7bit
1195 characters only in strings.
1197 * net/tramp-compat.el (remote-file-name-inhibit-cache): Define due
1198 to backward compatibility.
1200 * net/tramp-sh.el (tramp-handle-verify-visited-file-modtime)
1201 (tramp-handle-file-name-all-completions)
1202 (tramp-handle-vc-registered): Use `remote-file-name-inhibit-cache'.
1203 (tramp-open-connection-setup-interactive-shell):
1204 Call `tramp-cleanup-connection' directly.
1206 2010-10-02 Glenn Morris <rgm@gnu.org>
1208 * emacs-lisp/checkdoc.el (checkdoc-minor-keymap): Remove obsolete alias.
1210 * subr.el (char-bytes): Remove obsolete function.
1212 * isearch.el (isearch-return-char): Remove obsolete function.
1214 * mouse.el: No longer provide mldrag.
1215 (mldrag-drag-mode-line, mldrag-drag-vertical-line):
1216 Remove obsolete aliases.
1218 * comint.el (comint-kill-output): Remove obsolete alias.
1220 * composite.el (decompose-composite-char): Remove obsolete function.
1221 * ps-def.el (decompose-composite-char): Remove unused function.
1223 * iswitchb.el (iswitchb-default-keybindings): Remove obsolete function.
1225 * outline.el (outline-visible): Remove obsolete function.
1227 * term/pc-win.el (x-frob-font-slant, x-frob-font-weight):
1228 * faces.el (internal-find-face, internal-get-face)
1229 (frame-update-faces, frame-update-face-colors)
1230 (x-frob-font-weight, x-frob-font-slant)
1231 (internal-frob-font-weight, internal-frob-font-slant)
1232 (x-make-font-bold, x-make-font-demibold, x-make-font-unbold)
1233 (x-make-font-italic, x-make-font-oblique, x-make-font-unitalic)
1234 (x-make-font-bold-italic): Remove functions and aliases, obsolete
1236 * emulation/viper-util.el (viper-get-face):
1237 * obsolete/lucid.el (find-face, get-face): Use facep.
1238 * vc/ediff-init.el (ediff-valid-color-p, ediff-get-face):
1239 Remove unused functions.
1240 * vc/ediff-util.el (ediff-submit-report): Doc fix.
1242 * emacs-lisp/bytecomp.el (byte-compile-file): Use kill-emacs-hook to
1243 delete tempfile if interrupted during compilation.
1245 2010-10-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1247 * net/tls.el (tls-starttls-switches): Give up on using starttls with
1249 (tls-program): Add --insecure to be consistent with the defaults from
1250 openssl s_client. Now all three commands are insecure.
1252 2010-10-01 Eli Zaretskii <eliz@gnu.org>
1254 * makefile.w32-in (DEST, TAGS, TAGS-LISP, TAGS-nmake)
1255 (TAGS-LISP-nmake, TAGS-gmake, TAGS-LISP-gmake, TAGS-SH)
1256 (TAGS-LISP-SH, TAGS-CMD, TAGS-LISP-CMD): New targets.
1258 2010-10-01 Glenn Morris <rgm@gnu.org>
1260 * obsolete/sc.el: Remove file.
1262 * files.el (temporary-file-directory): On darwin, also try
1263 DARWIN_USER_TEMP_DIR (see discussion in bug#7135).
1265 2010-10-01 Juanma Barranquero <lekktu@gmail.com>
1267 * server.el (server-start): Revert part of 2010-09-30T02:53:26Z!lekktu@gmail.com.
1268 Let's not break compatibility gratuitously, shall we?
1270 2010-09-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
1272 * net/tls.el (tls-starttls-switches): New variable.
1273 (tls-find-starttls-argument): Use it.
1274 (open-tls-stream): Ditto.
1276 * net/netrc.el (netrc-credentials): Return the value of the "default"
1278 (netrc-machine): Ditto.
1280 2010-09-30 Eli Zaretskii <eliz@gnu.org>
1282 * vc/vc-hooks.el (vc-default-mode-line-string): Doc fix.
1284 2010-09-30 Juanma Barranquero <lekktu@gmail.com>
1286 * server.el (server-start): Don't write pid to the authentication file.
1287 (server-create-tty-frame): Don't send pid.
1288 (server-process-filter): Send pid at the start of every connection.
1290 2010-09-30 Glenn Morris <rgm@gnu.org>
1292 * calendar/diary-lib.el (view-diary-entries, list-diary-entries)
1293 (show-all-diary-entries): Remove obsolete function aliases.
1295 * calendar/appt.el (appt-issue-message, appt-visible, appt-msg-window):
1296 Remove options, obsolete since 22.1.
1297 (appt-display-format, appt-display-message): Remove
1298 backwards-compatibility code.
1299 (appt-check): No longer check appt-issue-message.
1300 (appt-make-list): No longer autoload it. Doc fix. No longer
1301 activate the package.
1303 2010-09-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
1305 * net/gnutls.el (starttls-negotiate): Loop a lot longer.
1306 (starttls-negotiate): Just call boot, and let the handshake be
1307 triggered from the read loop.
1309 2010-09-29 Glenn Morris <rgm@gnu.org>
1311 * calendar/diary-lib.el (diary-list-entries): Use temp buffers when
1312 not displaying the diary.
1313 (diary-add-to-list): If no buffer-file-name, fall back to diary-file.
1314 * calendar/appt.el (appt-check): No longer need to kill diary.
1316 * calendar/diary-lib.el (diary-list-entries): Move the
1317 "Preparing..." message entirely here.
1318 (diary-simple-display, diary-fancy-display): Move "Preparing..."
1319 messages to diary-list-entries.
1320 (diary-include-other-diary-files): Use LIST-ONLY rather than setting
1321 diary-display-function.
1323 * calendar/diary-lib.el (diary-include-other-diary-files):
1324 Trap some recursive includes.
1326 * calendar/appt.el (appt-activate): Check diary file.
1328 2010-09-29 Katsumi Yamaoka <yamaoka@jpl.org>
1330 * pgg.el (pgg-run-at-time-1): Define it for XEmacs only; fix if/else
1333 * calendar/time-date.el: No need to require cl for Emacs 21.
1335 2010-09-28 Glenn Morris <rgm@gnu.org>
1337 * calendar/appt.el (appt-check): Minor simplification.
1339 2010-09-28 Katsumi Yamaoka <yamaoka@jpl.org>
1341 * mail/sendmail.el (mail-citation-prefix-regexp): Remove "}" from
1344 2010-09-27 Andreas Schwab <schwab@linux-m68k.org>
1346 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
1347 Avoid infinite recursion on erroneous lambda form. (Bug#7114)
1349 2010-09-27 Kenichi Handa <handa@m17n.org>
1351 * tar-mode.el (tar-header-block-tokenize): Decode filenames in
1354 2010-09-27 Kenichi Handa <handa@m17n.org>
1356 * international/mule.el (define-coding-system): Docstring fixed.
1358 * international/mule-diag.el (describe-character-set): Use princ
1359 with proper print-length and print-level instead of insert.
1361 2010-09-27 Juanma Barranquero <lekktu@gmail.com>
1363 * window.el (walk-windows): Doc fix (bug#7105).
1365 2010-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
1367 * emacs-lisp/float-sup.el (e): Remove.
1369 2010-09-27 Teodor Zlatanov <tzz@lifelogs.com>
1371 * net/gnutls.el (gnutls, gnutls-log-level): Add group and custom
1373 (starttls-negotiate): Use it.
1375 2010-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
1377 * net/gnutls.el (starttls-negotiate): Stop looping when we get a t
1380 2010-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
1382 * emacs-lisp/pcase.el (pcase-let*, pcase-let): plet -> pcase-let.
1384 2010-09-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
1386 * net/gnutls.el (starttls-negotiate): Avoid the cl.el decf function.
1388 * net/netrc.el (netrc-store-data): New function.
1390 2010-09-26 Teodor Zlatanov <tzz@lifelogs.com>
1392 * net/gnutls.el: GnuTLS glue code to set up a connection.
1394 2010-09-25 Julien Danjou <julien@danjou.info>
1396 * notifications.el: Call dbus-register-signal only if it is bound.
1398 2010-09-25 Glenn Morris <rgm@gnu.org>
1400 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
1401 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
1402 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
1403 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
1404 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
1405 * eshell/esh-cmd.el, eshell/esh-ext.el, eshell/esh-io.el:
1406 * eshell/esh-mode.el, eshell/esh-proc.el, eshell/esh-test.el:
1407 * eshell/esh-util.el, eshell/esh-var.el:
1408 Remove leading `*' from docs of faces and defcustoms.
1410 2010-09-25 Ulrich Mueller <ulm@gentoo.org>
1412 * eshell/em-ls.el (eshell-ls-archive-regexp):
1413 * eshell/esh-util.el (eshell-tar-regexp):
1414 * ibuffer.el (ibuffer-compressed-file-name-regexp):
1415 * info.el (Info-suffix-list):
1416 * international/mule.el (auto-coding-alist):
1417 * woman.el (woman-file-regexp, woman-file-compression-regexp):
1418 * progmodes/etags.el (tags-compression-info-list):
1419 Support xz compression.
1421 2010-09-25 Chong Yidong <cyd@stupidchicken.com>
1423 * files.el (get-free-disk-space): Don't assume the "df" output
1424 columns line up (Bug#6995).
1426 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
1428 * finder.el (finder-unknown-keywords):
1429 * progmodes/gdb-mi.el (gdb-jsonify-buffer, gdb-running-threads-count):
1430 * progmodes/etags.el (tags-table-including): Fix typos in docstrings.
1432 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
1434 * server.el (server-start): Revert part of 2010-08-08 change. Using
1435 address 127.0.0.1 for local host is now done in Fmake_network_process.
1437 2010-09-24 Glenn Morris <rgm@gnu.org>
1439 * image-mode.el, progmodes/compile.el, progmodes/gud.el:
1440 * progmodes/mixal-mode.el, textmodes/bibtex-style.el:
1441 * textmodes/css-mode.el, textmodes/dns-mode.el:
1442 Move autoloaded auto-mode-alist entries to files.el.
1443 * files.el (auto-mode-alist): Move entries here.
1445 2010-09-23 Glenn Morris <rgm@gnu.org>
1447 * isearch.el (isearch-lazy-highlight-cleanup)
1448 (isearch-lazy-highlight-initial-delay)
1449 (isearch-lazy-highlight-interval)
1450 (isearch-lazy-highlight-max-at-a-time, isearch-lazy-highlight-face):
1451 * net/net-utils.el (ipconfig-program-options):
1452 Move aliases to options before the associated definitions.
1454 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
1456 * newcomment.el (comment-normalize-vars): Better test validity of
1459 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
1461 * emacs-lisp/float-sup.el (float-pi): New name for `pi'.
1462 (float-e): New name for `e'.
1463 (degrees-to-radians, radians-to-degrees):
1464 * calendar/solar.el (solar-longitude):
1465 * calculator.el (calculator-registers, calculator-funcall):
1466 * textmodes/artist.el (artist-spray-random-points):
1467 * play/bubbles.el (bubbles--initialize-images): Use new names.
1469 2010-09-23 Eric M. Ludlam <zappo@gnu.org>
1471 Update to CEDET 1.0's version of EIEIO.
1473 * emacs-lisp/eieio.el (eieio-specialized-key-to-generic-key):
1475 (eieio-defmethod, eieio-generic-form, eieio-generic-call): Use it.
1476 (eieio-default-eval-maybe): Eval val instead of unquoting only.
1477 (class-precedence-list): If class is nil, return nil.
1478 (eieio-generic-call): If class of first input arg is nil, don't
1479 look up static methods, and do check for primary methods.
1480 (initialize-instance): See if the default needs to be evaluated
1481 during the constructor.
1482 (eieio-perform-slot-validation-for-default): Don't do the check
1483 for values that will eventually be evaluated.
1484 (eieio-eval-default-p): New function.
1485 (eieio-default-eval-maybe): Use it.
1487 2010-09-23 Jan Moringen <jan.moringen@uni-bielefeld.de>
1489 * emacs-lisp/eieio.el (eieio-defclass): Allow :c3
1490 method-invocation-order.
1491 (eieio-c3-candidate, eieio-c3-merge-lists): New functions.
1492 (eieio-class-precedence-dfs): Compute class precedence list using
1494 (eieio-class-precedence-bfs): Compute class precedence list using
1496 (eieio-class-precedence-c3): Compute class precedence list using
1498 (class-precedence-list): New function.
1499 (eieiomt-method-list, eieiomt-sym-optimize): Use it.
1500 (inconsistent-class-hierarchy): New error symbol.
1501 (call-next-method): Stow the replacement argument list for future
1502 call-next-method invocations.
1504 2010-09-23 Glenn Morris <rgm@gnu.org>
1506 * calendar/appt.el (appt-check): If not displaying the diary,
1507 use (diary 1) to only get the entries we need.
1508 (appt-make-list): Sort diary-list-entries, if we cannot guarantee
1509 that it is in day order. (Bug#7019)
1511 * calendar/appt.el (appt-check): Rather than showing the diary,
1512 just turn off invisible display, and only if needed.
1514 * calendar/diary-lib.el (diary-list-entries): Doc fix. (Bug#7019)
1516 2010-09-23 Glenn Morris <rgm@gnu.org>
1518 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
1519 (byte-compile-defvar, byte-compile-cl-warn):
1520 Start warnings with lower-case, like the majority.
1522 * files.el (auto-mode-alist): Add .xa, .xw, .xsw for ld-script-mode.
1524 * files.el (auto-mode-alist): Prefer C-mode for .xs. (Bug#7071)
1526 * progmodes/ld-script.el (auto-mode-alist): Move to files.el.
1527 * files.el (auto-mode-alist): Move ld-script entries here, further down
1530 * vc/add-log.el: Don't require timezone when compiling.
1531 (timezone-make-date-sortable): Autoload it.
1532 (change-log-sortable-date-at): Don't require timezone.
1533 Use `ignore-errors'.
1535 * comint.el (comint-use-prompt-regexp-instead-of-fields):
1536 Move alias before definition, so it does not need autoloading.
1538 * emulation/crisp.el, emulation/cua-base.el, emulation/edt.el:
1539 * emulation/pc-select.el, emulation/vip.el, international/iso-ascii.el:
1540 * international/kkc.el, international/ogonek.el, mail/feedmail.el:
1541 * net/browse-url.el, net/eudc-vars.el, net/net-utils.el:
1542 * net/rcompile.el, net/rlogin.el, textmodes/enriched.el:
1543 * textmodes/makeinfo.el, textmodes/page-ext.el, textmodes/picture.el:
1544 * textmodes/refer.el, textmodes/spell.el, textmodes/table.el:
1545 * textmodes/tex-mode.el, textmodes/two-column.el:
1546 Remove leading `*' from docs of defcustoms etc.
1548 2010-09-23 Teodor Zlatanov <tzz@lifelogs.com>
1550 * net/netrc.el (netrc-parse): Remove encrypt.el mentions.
1552 2010-09-22 Dan Christensen <jdc@uwo.ca>
1554 * calendar/time-date.el (date-to-time): Try using parse-time-string
1555 first before using the slower timezone-make-date-arpa-standard.
1557 2010-09-22 Katsumi Yamaoka <yamaoka@jpl.org>
1559 * calendar/time-date.el (format-seconds): Comment fix.
1561 2010-09-22 Glenn Morris <rgm@gnu.org>
1563 * emacs-lisp/package.el (package-menu-mode): `revert-buffer-function'
1564 is not automatically buffer-local.
1566 2010-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
1568 * emacs-lisp/smie.el (smie-debug--describe-cycle): Fix typo.
1569 (smie-indent-comment): Be more careful with comment-start-skip.
1570 (smie-indent-comment-close, smie-indent-comment-inside): New funs.
1571 (smie-indent-functions): Use them.
1573 2010-09-21 Michael Albinus <michael.albinus@gmx.de>
1575 * net/ange-ftp.el (ange-ftp-skip-msgs): Add "^504 ..." message.
1577 2010-09-21 Jan Djärv <jan.h.d@swipnet.se>
1579 * menu-bar.el (menu-bar-set-tool-bar-position): customize-set-variable
1580 tool-bar-position. Don't modify frame parameters here.
1581 (menu-bar-options-save): Add tool-bar-position.
1583 * tool-bar.el (tool-bar-position): New defcustom (Bug#7049).
1585 2010-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
1587 * textmodes/reftex-parse.el (reftex-what-macro)
1588 (reftex-context-substring): Let-bind forward-sexp-function to nil
1589 since we don't need/want to treat \begin...\end as a block (bug#7053).
1591 * emacs-lisp/lisp.el (up-list): Don't do nothing silently.
1593 * simple.el (blink-matching-open): Use syntax-class.
1595 * progmodes/pascal.el (pascal-mode): Use define-derived-mode.
1596 Set invisibility spec for pascal's outline mode.
1597 (pascal-outline-change): Clean up calling convention.
1598 (pascal-show-all, pascal-hide-other-defuns): Update callers.
1600 * progmodes/prolog.el (prolog-smie-forward-token)
1601 (prolog-smie-backward-token): New functions.
1602 (prolog-mode-variables): Use them to parse "!," correctly.
1603 Set up smie-blink-matching for ".".
1605 * textmodes/ispell.el (ispell-start, ispell-end): Rename from `start'
1607 (ispell-region, ispell-process-line): Update users.
1609 * textmodes/reftex-parse.el (reftex-what-macro): Don't hardcode
1612 * textmodes/ispell.el: Fix commenting convention.
1613 (ispell-parse-output): Simplify, use push.
1614 (ispell-region): Use match-string-no-properties.
1615 (ispell-begin-skip-region-regexp): Use mapconcat to simplify.
1616 (ispell-minor-mode): Use define-minor-mode.
1617 (ispell-message): Remove unused var `skip-regexp'.
1618 (ispell-add-per-file-word-list): Use dynamic let-binding.
1619 Try and use the proper comment marker.
1621 * mail/sendmail.el: Fix commenting convention.
1622 (sendmail-send-it): Use line-beginning-position.
1624 * help-fns.el (describe-variable): Add original value, if applicable.
1626 2010-09-20 Juanma Barranquero <lekktu@gmail.com>
1628 * subr.el (y-or-n-p): Remove leftover code from 2010-09-17T13:30:30Z!monnier@iro.umontreal.ca.
1630 * emacs-lisp/smie.el (smie-indent--hanging-p): Use `smie-indent--bolp'.
1632 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
1634 * emacs-lisp/smie.el (smie-bnf-precedence-table): Improve error message.
1635 (smie-debug--prec2-cycle, smie-debug--describe-cycle): New functions.
1636 (smie-prec2-levels): Use them to better diagnose precedence cycles.
1637 (smie-blink-matching-check): Don't signal a mismatch if car is t.
1638 (smie-blink-matching-open): Rewrite to remove assumptions, so that
1639 something like "." can also be a closer.
1640 (smie--associative-p, smie-indent--hanging-p, smie-indent--bolp)
1641 (smie-indent--offset, smie-indent--offset-rule, smie-indent--column):
1642 Rename internal functions to use "--". Update callers.
1644 * frame.el (make-frame-names-alist): Don't list frames on other displays.
1646 * fringe.el (fringe-styles): New var.
1647 (fringe-mode, fringe-query-style): Use it.
1649 2010-09-18 Michael R. Mauger <mmaug@yahoo.com>
1651 * progmodes/sql.el: Version 2.8
1652 (sql-login-params): Update widget structure; changes still needed.
1653 (sql-product-alist): Add :list-all and :list-table features for
1654 SQLite, Postgres and MySQL products.
1655 (sql-redirect): Handle default value.
1656 (sql-execute, sql-execute-feature): New functions.
1657 (sql-read-table-name): New function.
1658 (sql-list-all, sql-list-table): New functions. User API.
1659 (sql-mode-map, sql-interactive-mode-map): Add key definitions
1660 for above functions.
1661 (sql-mode-menu, sql-interactive-mode-menu): Add menu definitions
1662 for above functions.
1663 (sql-postgres-login-params): Add user and database defaults.
1664 (sql-buffer-live-p): Bug fix.
1665 (sql-product-history): New variable.
1666 (sql-read-product): New function. Use it.
1667 (sql-set-product, sql-product-interactive): Use it.
1668 (sql-connection-history): New variable.
1669 (sql-read-connection): New function. Use it.
1670 (sql-connect): New function.
1671 (sql-for-each-login): Redesign function interface.
1672 (sql-make-alternate-buffer-name, sql-save-connection): Use it.
1673 (sql-get-login-ext, sql-get-login): Use it. Handle default values.
1674 (sql-comint): Check for program. Existing live buffer.
1675 (sql-comint-postgres): Add port parameter.
1677 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
1679 * emacs-lisp/warnings.el: Fix commenting convention.
1680 (display-warning): Use special mode and make the buffer read-only.
1682 2010-09-18 Jay Belanger <jay.p.belanger@gmail.com>
1684 * calc/calc-prog.el (calc-read-parse-table-part): Don't "fix" the
1685 empty string when it follows a repeated or optional pattern.
1687 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
1689 * indent.el (indent-according-to-mode): Apply syntax-propertize.
1690 (indent-region): Use indent-according-to-mode.
1692 2010-09-18 Eli Zaretskii <eliz@gnu.org>
1694 * fringe.el (fringe-mode): Doc fix.
1696 2010-09-14 Kan-Ru Chen <kanru@kanru.info> (tiny change)
1698 * textmodes/nroff-mode.el (nroff-view): Kill old buffer before
1699 refreshing the preview buffer.
1701 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
1703 * textmodes/tex-mode.el (tex-syntax-propertize-rules)
1704 (latex-syntax-propertize-rules): New consts; replace
1705 tex-font-lock-syntactic-keywords.
1706 (tex-env-mark, latex-env-before-change): New functions.
1707 (latex-electric-env-pair-mode): New minor mode.
1708 (tex-font-lock-verb): Change arguments; do move point.
1709 (tex-font-lock-syntactic-face-function): Adjust to new verbatim
1710 representation as a form of comment.
1711 (tex-font-lock-keywords-1): Remove workaround, now unneeded.
1712 (doctex-syntax-propertize-rules): New const; replaces
1713 doctex-font-lock-syntactic-keywords.
1714 (tex-common-initialization, doctex-mode): Use syntax-propertize-rules.
1716 * progmodes/fortran.el (fortran--font-lock-syntactic-keywords): Remove.
1717 (fortran-make-syntax-propertize-function): New function; replaces
1718 fortran-font-lock-syntactic-keywords.
1719 (fortran-mode): Use it.
1720 (fortran-line-length): Use it. Improve interactive spec.
1722 * emacs-lisp/syntax.el (syntax-propertize-precompile-rules): New macro.
1723 (syntax-propertize-rules): Add var-ref case. Fix offset computation
1724 when adding surrounding \(..\).
1726 * progmodes/js.el (js-mode): Fix last change (bug#7054).
1728 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1730 * obsolete/old-whitespace.el (whitespace-rescan-files-in-buffers):
1731 Use with-current-buffer.
1733 * isearch.el (isearch-face): Rename from `isearch'.
1734 (isearch-highlight): Use new name.
1736 2010-09-17 Eli Zaretskii <eliz@gnu.org>
1738 * fringe.el (fringe-mode, fringe-query-style): Use 4 pixels, not
1739 5, for `half' width fringes. (Bug#6933)
1741 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1743 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
1744 (byte-compile-defvar): "foo/bar" does not lack a prefix.
1746 * subr.el (y-or-n-p): Add the "(y or n)" that was lost somehow.
1748 2010-09-17 Stephen Berman <stephen.berman@gmx.net>
1750 * dframe.el (dframe-reposition-frame-emacs): Use tool-bar-pixel-width
1751 in calculating new frame position. Add more space between new and
1752 parent on the left (Bug#7048).
1754 2010-09-17 Michael Albinus <michael.albinus@gmx.de>
1756 * net/tramp-compat.el (tramp-compat-with-temp-message): Make it a
1759 2010-09-16 Chong Yidong <cyd@stupidchicken.com>
1761 * mail/sendmail.el: Add "*unsent mail*" to same-window-buffer-names.
1763 * term/x-win.el (x-cut-buffer-or-selection-value): Define as
1764 obsolete alias for x-selection-value.
1766 * ido.el (ido-make-buffer-list): Fix error in 2010-08-22 merge.
1768 2010-09-16 Michael Albinus <michael.albinus@gmx.de>
1770 * net/tramp-cmds.el (tramp-cleanup-connection): Set tramp-autoload
1773 2010-09-15 Michael Albinus <michael.albinus@gmx.de>
1775 * net/tramp-compat.el (tramp-compat-with-temp-message)
1776 (tramp-compat-font-lock-add-keywords, tramp-compat-process-get)
1777 (tramp-compat-process-put): New defuns.
1779 * net/tramp.el (top):
1780 * net/tramp-gvfs.el (top):
1781 * net/tramp-cache.el (top): Use `tramp-compat-font-lock-add-keywords'.
1783 * net/tramp.el (tramp-progress-reporter-update):
1784 Use `tramp-compat-funcall'.
1786 * net/tramp.el (tramp-process-actions):
1787 * net/tramp-gvfs.el (tramp-handle-vc-registered):
1788 * net/tramp-sh.el (tramp-gvfs-handler-askquestion)
1789 (tramp-get-remote-stat, tramp-get-remote-readlink):
1790 Use `tramp-compat-with-temp-message'.
1792 * net/tramp-sh.el (top): Require 'cl.
1793 (tramp-handle-start-file-process): Use `tramp-compat-process-get'.
1794 (tramp-open-connection-setup-interactive-shell):
1795 Use `tramp-compat-process-put'.
1797 2010-09-15 Alan Mackenzie <acm@muc.de>
1799 * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Correct the
1801 (c-forward-<>-arglist-recur): Fix an infinite recursion.
1803 2010-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
1805 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
1806 `lexical' for warnings related to lexical scoping.
1807 (byte-compile-file-form-defvar, byte-compile-defvar): Warn about
1808 global vars which don't have a prefix and could hence affect lexical
1809 scoping in unrelated files.
1811 2010-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
1813 * net/imap.el: Revert back to version
1814 cb950ed8ff3e0f40dac437a51b269166f9ffb60d, since some of the changes
1817 2010-09-14 Juanma Barranquero <lekktu@gmail.com>
1819 * obsolete/old-whitespace.el (whitespace-unload-function):
1820 Explicitly pass `obarray' to `unintern' to avoid a warning.
1822 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
1824 * emacs-lisp/byte-run.el (set-advertised-calling-convention):
1825 Add `when' argument. Update callers.
1827 * subr.el (unintern): Declare the obarray arg mandatory.
1829 2010-09-14 Glenn Morris <rgm@gnu.org>
1831 * calendar/diary-lib.el (diary-list-entries-hook, diary-sort-entries):
1834 * calendar/diary-lib.el (diary-included-files): New variable.
1835 (diary-list-entries): Maybe initialize diary-included-files.
1836 (diary-include-other-diary-files): Append to diary-included-files.
1837 * calendar/appt.el (appt-update-list): Also check the members of
1838 diary-included-files. (Bug#6999)
1839 (appt-check): Doc fix.
1841 2010-09-14 David Reitter <david.reitter@gmail.com>
1843 * simple.el (line-move-visual): Do not truncate goal column to
1844 integer size. (Bug#7020)
1846 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
1848 * repeat.el (repeat): Allow repeating when the last event is a click.
1849 Suggested by Drew Adams (bug#6256).
1851 2010-09-14 Sascha Wilde <wilde@sha-bang.de>
1853 * vc/vc-hg.el (vc-hg-state,vc-hg-working-revision):
1854 Replace setting HGRCPATH to "" by some less invasive --config options.
1856 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
1858 * font-lock.el (font-lock-beginning-of-syntax-function):
1861 2010-09-14 Glenn Morris <rgm@gnu.org>
1863 * menu-bar.el (menu-bar-options-save): Fix handling of menu-bar
1864 and tool-bar modes. (Bug#6211)
1865 (menu-bar-mode): Move setting of standard-value after the
1866 minor-mode definition, otherwise it seems to have no effect.
1868 2010-09-14 Masatake YAMATO <yamato@redhat.com>
1870 * progmodes/antlr-mode.el (antlr-font-lock-additional-keywords):
1871 Fix typo. (Bug#6976)
1873 2010-09-14 Vinicius Jose Latorre <viniciusjl@ig.com.br>
1875 * whitespace.el: Allow cleaning up blanks without blank
1876 visualization (Bug#6651). Adjust help window for
1877 whitespace-toggle-options (Bug#6479). Allow to use fill-column
1878 instead of whitespace-line-column (from EmacsWiki). New version 13.1.
1879 (whitespace-style): Add new value 'face. Adjust docstring.
1880 (whitespace-space, whitespace-hspace, whitespace-tab):
1881 Adjust foreground property face.
1882 (whitespace-line-column): Adjust docstring and type declaration.
1883 (whitespace-style-value-list, whitespace-toggle-option-alist)
1884 (whitespace-help-text): Adjust const initialization.
1885 (whitespace-toggle-options, global-whitespace-toggle-options):
1887 (whitespace-display-window, whitespace-interactive-char)
1888 (whitespace-style-face-p, whitespace-color-on): Adjust code.
1889 (whitespace-help-scroll): New fun.
1891 2010-09-14 Katsumi Yamaoka <yamaoka@jpl.org>
1893 * calendar/time-date.el (format-seconds): Comment fix.
1895 2010-09-13 Michael R. Mauger <mmaug@yahoo.com>
1897 * progmodes/sql.el: Version 2.7.
1898 (sql-buffer-live-p): Improve detection.
1899 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
1900 (sql-set-sqli-buffer): Use it.
1901 (sql-product-interactive): Run `sql-set-sqli-hook'.
1902 (sql-rename-buffer): Code cleanup.
1903 (sql-redirect, sql-redirect-value): New functions. More to come.
1905 2010-09-13 Juanma Barranquero <lekktu@gmail.com>
1907 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.
1908 * makefile.w32-in (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
1909 (TRAMP_SRC): New macro.
1910 ($(lisp)/net/tramp-loaddefs.el): New target.
1912 2010-09-13 Michael Albinus <michael.albinus@gmx.de>
1914 Major code cleanup. Split tramp.el into tramp.el and tramp-sh.el.
1916 * Makefile.in (TRAMP_SRC): Remove tramp-fish.el. Add tramp-sh.el.
1918 * net/tramp.el (top): Don't show loading message. Require just
1919 'tramp-compat, everything else is required there.
1920 Use `ignore-errors' where appropriate.
1921 (tramp-inline-compress-start-size, tramp-copy-size-limit)
1922 (tramp-terminal-type, tramp-end-of-output)
1923 (tramp-initial-end-of-output, tramp-completion-function-alist-rsh)
1924 (tramp-completion-function-alist-ssh)
1925 (tramp-completion-function-alist-telnet)
1926 (tramp-completion-function-alist-su)
1927 (tramp-completion-function-alist-putty, tramp-remote-path)
1928 (tramp-remote-process-environment, tramp-sh-extra-args)
1929 (tramp-actions-before-shell, tramp-uudecode)
1930 (tramp-perl-file-truename, tramp-perl-file-name-all-completions)
1931 (tramp-perl-file-attributes)
1932 (tramp-perl-directory-files-and-attributes)
1933 (tramp-perl-encode-with-module, tramp-perl-decode-with-module)
1934 (tramp-perl-encode, tramp-perl-decode)
1935 (tramp-vc-registered-read-file-names, tramp-file-mode-type-map)
1936 (tramp-file-name-handler-alist, tramp-make-tramp-temp-file)
1937 (tramp-handle-make-symbolic-link, tramp-handle-load)
1938 (tramp-handle-file-name-as-directory)
1939 (tramp-handle-file-name-directory)
1940 (tramp-handle-file-name-nondirectory, tramp-handle-file-truename)
1941 (tramp-handle-file-exists-p, tramp-handle-file-attributes)
1942 (tramp-do-file-attributes-with-ls)
1943 (tramp-do-file-attributes-with-perl)
1944 (tramp-do-file-attributes-with-stat)
1945 (tramp-handle-set-visited-file-modtime)
1946 (tramp-handle-verify-visited-file-modtime)
1947 (tramp-handle-set-file-modes, tramp-handle-set-file-times)
1948 (tramp-set-file-uid-gid, tramp-remote-selinux-p)
1949 (tramp-handle-file-selinux-context)
1950 (tramp-handle-set-file-selinux-context)
1951 (tramp-handle-file-executable-p, tramp-handle-file-readable-p)
1952 (tramp-handle-file-newer-than-file-p, tramp-handle-file-modes)
1953 (tramp-handle-file-directory-p, tramp-handle-file-regular-p)
1954 (tramp-handle-file-symlink-p, tramp-handle-file-writable-p)
1955 (tramp-handle-file-ownership-preserved-p)
1956 (tramp-handle-directory-file-name, tramp-handle-directory-files)
1957 (tramp-handle-directory-files-and-attributes)
1958 (tramp-do-directory-files-and-attributes-with-perl)
1959 (tramp-do-directory-files-and-attributes-with-stat)
1960 (tramp-handle-file-name-all-completions)
1961 (tramp-handle-file-name-completion, tramp-handle-add-name-to-file)
1962 (tramp-handle-copy-file, tramp-handle-copy-directory)
1963 (tramp-handle-rename-file, tramp-do-copy-or-rename-file)
1964 (tramp-do-copy-or-rename-file-via-buffer)
1965 (tramp-do-copy-or-rename-file-directly)
1966 (tramp-do-copy-or-rename-file-out-of-band)
1967 (tramp-handle-make-directory, tramp-handle-delete-directory)
1968 (tramp-handle-delete-file)
1969 (tramp-handle-dired-recursive-delete-directory)
1970 (tramp-handle-dired-compress-file, tramp-handle-dired-uncache)
1971 (tramp-handle-insert-directory)
1972 (tramp-handle-unhandled-file-name-directory)
1973 (tramp-handle-expand-file-name)
1974 (tramp-handle-substitute-in-file-name)
1975 (tramp-handle-executable-find, tramp-process-sentinel)
1976 (tramp-handle-start-file-process, tramp-handle-process-file)
1977 (tramp-handle-call-process-region, tramp-handle-shell-command)
1978 (tramp-handle-file-local-copy, tramp-handle-file-remote-p)
1979 (tramp-handle-insert-file-contents)
1980 (tramp-handle-insert-file-contents-literally)
1981 (tramp-handle-find-backup-file-name)
1982 (tramp-handle-make-auto-save-file-name, tramp-handle-write-region)
1983 (tramp-vc-registered-file-names, tramp-handle-vc-registered)
1984 (tramp-sh-file-name-handler, tramp-vc-file-name-handler)
1985 (tramp-maybe-send-script, tramp-set-auto-save, tramp-run-test)
1986 (tramp-run-test2, tramp-find-executable, tramp-set-remote-path)
1987 (tramp-find-file-exists-command, tramp-open-shell)
1988 (tramp-find-shell, tramp-barf-if-no-shell-prompt)
1989 (tramp-open-connection-setup-interactive-shell)
1990 (tramp-local-coding-commands, tramp-remote-coding-commands)
1991 (tramp-find-inline-encoding, tramp-call-local-coding-command)
1992 (tramp-inline-compress-commands, tramp-find-inline-compress)
1993 (tramp-compute-multi-hops, tramp-maybe-open-connection)
1994 (tramp-send-command, tramp-wait-for-output)
1995 (tramp-send-command-and-check, tramp-barf-unless-okay)
1996 (tramp-send-command-and-read, tramp-mode-string-to-int)
1997 (tramp-convert-file-attributes, tramp-check-cached-permissions)
1998 (tramp-file-mode-from-int, tramp-file-mode-permissions)
1999 (tramp-shell-case-fold, tramp-make-copy-program-file-name)
2000 (tramp-method-out-of-band-p, tramp-local-host-p)
2001 (tramp-get-remote-path, tramp-get-remote-tmpdir)
2002 (tramp-get-ls-command, tramp-get-ls-command-with-dired)
2003 (tramp-get-test-command, tramp-get-test-nt-command)
2004 (tramp-get-file-exists-command, tramp-get-remote-ln)
2005 (tramp-get-remote-perl, tramp-get-remote-stat)
2006 (tramp-get-remote-readlink, tramp-get-remote-trash)
2007 (tramp-get-remote-id, tramp-get-remote-uid, tramp-get-remote-gid)
2008 (tramp-get-local-uid, tramp-get-local-gid)
2009 (tramp-get-inline-compress, tramp-get-inline-coding): Move to
2011 (tramp-methods, tramp-default-method-alist)
2012 (tramp-default-user-alist, tramp-foreign-file-name-handler-alist):
2013 Move initialization to tramp-sh.el.
2014 (tramp-temp-name-prefix): Make it a defconst.
2015 (tramp-dissect-file-name): Don't check anymore for multi-hop
2017 (tramp-debug-outline-regexp): Add a docstring.
2018 (tramp-debug-outline-level): Rename from `tramp-outline-level'.
2019 (tramp-get-debug-buffer): Use it.
2021 * net/tramp-cache.el (top): Set tramp-autoload cookie for
2022 initialization forms.
2023 (tramp-set-connection-property): Don't protect `tramp-message'
2024 call, it isn't necessary any longer.
2025 (tramp-dump-connection-properties): Use `ignore-errors'.
2027 * net/tramp-compat.el (top): Require 'advice, 'format-spec,
2028 'password-cache and 'auth-source.
2030 * net/tramp-gvfs.el (top):
2031 * net/tramp-smb.el (top): Require 'tramp-sh.
2033 * net/tramp-gw.el (tramp-gw-open-network-stream): Use `ignore-errors'.
2035 * net/tramp-sh.el: New file, derived from tramp.el.
2036 (top): Initialize `tramp-methods', `tramp-default-method-alist',
2037 `tramp-default-user-alist', `tramp-foreign-file-name-handler-alist'.
2038 Remove "scp1_old", "scp2_old", "ssh1_old", "ssh2_old".
2039 Use `ignore-errors' where appropriate.
2040 (tramp-sh-file-name-handler-alist): Rename from
2041 `tramp-file-name-handler-alist'.
2042 (tramp-send-command-and-check): Return t or nil. Remove all
2043 `zerop' checks, where called.
2044 (tramp-handle-set-file-modes)
2045 (tramp-do-copy-or-rename-file-directly)
2046 (tramp-handle-delete-directory, tramp-handle-delete-file)
2047 (tramp-maybe-send-script): Use `tramp-barf-unless-okay'.
2048 (tramp-sh-file-name-handler, tramp-send-command-and-check)
2049 (tramp-get-remote-ln): Set tramp-autoload cookie.
2051 * net/tramp-fish.el: Remove file.
2053 2010-09-13 Daiki Ueno <ueno@unixuser.org>
2055 * epa-file.el (epa-file-insert-file-contents): If visiting, bind
2056 buffer-file-name to avoid file-locking. (Bug#7026)
2058 2010-09-13 Julien Danjou <julien@danjou.info>
2060 * notifications.el (notifications-notify): Add support for
2061 image-path and sound-name.
2062 (notifications-specification-version): Add this variable.
2064 2010-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2066 * subr.el (y-or-n-p): New function, moved from src/fns.c; use read-key.
2068 2010-09-12 Leo <sdl.web@gmail.com>
2070 * net/rcirc.el (rcirc-server-commands, rcirc-client-commands)
2071 (rcirc-completion-start): New variables.
2072 (rcirc-nick-completions): Rename to rcirc-completions.
2073 (rcirc-nick-completion-start-offset): Delete.
2074 (rcirc-completion-at-point): New function for constructing
2075 completion data for both nicks and irc commands. Add to
2076 completion-at-point-functions in rcirc mode.
2077 (rcirc-complete): Rename from rcirc-nick-complete; use
2078 rcirc-completion-at-point.
2079 (defun-rcirc-command): Update rcirc-client-commands.
2081 2010-09-11 Glenn Morris <rgm@gnu.org>
2083 * emacs-lisp/bytecomp.el (byte-compile-file): Create .elc files
2084 atomically, to avoid parallel build errors. (Bug#4196)
2086 2010-09-11 Michael R. Mauger <mmaug@yahoo.com>
2088 * progmodes/sql.el: Version 2.6
2089 (sql-dialect): Synonym for "sql-product".
2090 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
2091 (sql-set-sqli-buffer, sql-show-sqli-buffer, sql-interactive-mode):
2092 Set "sql-buffer" to buffer name not buffer object so multiple sql
2093 interactive buffers work properly. Reverts misguided changes in
2095 (sql-comint): Make sure different buffer name is used if "*SQL*"
2096 buffer is for a different product.
2097 (sql-make-alternate-buffer-name): Fix bug with "sql-database"
2099 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
2100 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
2101 (sql-db2, sql-linter, sql-product-interactive, sql-rename-buffer):
2102 Accept new buffer name or prompt for one.
2103 (sql-port): Default to zero.
2104 (sql-comint-mysql): Handle "sql-port" as a numeric.
2105 (sql-port-history): Delete unused variable.
2106 (sql-get-login): Default "sql-port" to a number.
2107 (sql-product-alist): Correct Postgres prompt and terminator regexp.
2108 (sql-sqlite-program): Dynamically detect presence of "sqlite" or
2109 "sqlite3" executables.
2110 (sql-sqlite-login-params): Add "*.sqlite[23]?" database name pattern.
2111 (sql-buffer-live-p): New function.
2112 (sql-mode-menu, sql-send-string): Use it.
2113 (sql-mode-oracle-font-lock-keywords): Improve SQL*Plus REMARK
2115 (sql-mode-postgres-font-lock-keywords): Support Postgres V9.
2116 (sql-mode-sqlite-font-lock-keywords): Hilight sqlite commands.
2118 2010-09-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
2120 * net/netrc.el (netrc-credentials): New convenience function.
2122 2010-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
2124 * textmodes/texinfo.el (texinfo-syntax-propertize-function): New fun
2125 to replace texinfo-font-lock-syntactic-keywords.
2126 (texinfo-mode): Use it.
2128 * textmodes/tex-mode.el (tex-common-initialization, doctex-mode):
2129 Use syntax-propertize-function.
2131 * textmodes/sgml-mode.el (sgml-syntax-propertize-function): New var to
2132 replace sgml-font-lock-syntactic-keywords.
2133 (sgml-mode): Use it.
2135 * textmodes/reftex.el (font-lock-syntactic-keywords): Don't declare
2136 since we don't use it.
2138 * textmodes/bibtex.el (bibtex-mode): Use syntax-propertize-function.
2140 * progmodes/vhdl-mode.el (vhdl-mode): Use syntax-propertize-function
2142 (vhdl-fontify-buffer): Adjust.
2144 * progmodes/tcl.el (tcl-syntax-propertize-function): New var to
2145 replace tcl-font-lock-syntactic-keywords.
2148 * progmodes/simula.el (simula-syntax-propertize-function): New var to
2149 replace simula-font-lock-syntactic-keywords.
2150 (simula-mode): Use it.
2152 * progmodes/sh-script.el (sh-st-symbol): Remove.
2153 (sh-font-lock-close-heredoc, sh-font-lock-open-heredoc): Add eol arg.
2154 (sh-font-lock-flush-syntax-ppss-cache, sh-font-lock-here-doc): Remove.
2155 (sh-font-lock-quoted-subshell): Assume we've already matched $(.
2156 (sh-font-lock-paren): Set syntax-multiline.
2157 (sh-font-lock-syntactic-keywords): Remove.
2158 (sh-syntax-propertize-function): New function to replace it.
2161 * progmodes/ruby-mode.el (ruby-here-doc-beg-re):
2162 Define while compiling.
2163 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
2164 (ruby-font-lock-syntactic-keywords, ruby-comment-beg-syntax)
2165 (syntax-ppss, ruby-in-ppss-context-p, ruby-in-here-doc-p)
2166 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
2167 (ruby-here-doc-end-syntax): Only define when
2168 syntax-propertize is not available.
2169 (ruby-syntax-propertize-function, ruby-syntax-propertize-heredoc):
2171 (ruby-in-ppss-context-p): Update to new syntax of heredocs.
2172 (electric-indent-chars): Silence bytecompiler.
2173 (ruby-mode): Use prog-mode, syntax-propertize-function, and
2174 electric-indent-chars.
2176 * progmodes/python.el (python-syntax-propertize-function): New var to
2177 replace python-font-lock-syntactic-keywords.
2178 (python-mode): Use it.
2179 (python-quote-syntax): Simplify and adjust to new use.
2181 * progmodes/perl-mode.el (perl-syntax-propertize-function): New fun to
2182 replace perl-font-lock-syntactic-keywords.
2183 (perl-syntax-propertize-special-constructs): New fun to replace
2184 perl-font-lock-special-syntactic-constructs.
2185 (perl-font-lock-syntactic-face-function): New fun.
2186 (perl-mode): Use it.
2188 * progmodes/octave-mod.el (octave-syntax-propertize-sqs): New function
2189 to replace octave-font-lock-close-quotes.
2190 (octave-syntax-propertize-function): New function to replace
2191 octave-font-lock-syntactic-keywords.
2192 (octave-mode): Use it.
2194 * progmodes/mixal-mode.el (mixal-syntax-propertize-function): New var;
2195 replaces mixal-font-lock-syntactic-keywords.
2196 (mixal-mode): Use it.
2198 * progmodes/make-mode.el (makefile-syntax-propertize-function):
2199 New var; replaces makefile-font-lock-syntactic-keywords.
2200 (makefile-mode): Use it.
2201 (makefile-imake-mode): Adjust.
2203 * progmodes/js.el (js--regexp-literal): Define while compiling.
2204 (js-syntax-propertize-function): New var; replaces
2205 js-font-lock-syntactic-keywords.
2208 * progmodes/gud.el (gdb-script-syntax-propertize-function): New var;
2209 replaces gdb-script-font-lock-syntactic-keywords.
2210 (gdb-script-mode): Use it.
2212 * progmodes/fortran.el (fortran-mode): Use syntax-propertize-function.
2213 (fortran--font-lock-syntactic-keywords): New var.
2214 (fortran-line-length): Update syntax-propertize-function and
2215 fortran--font-lock-syntactic-keywords.
2217 * progmodes/cperl-mode.el (cperl-mode): Use syntax-propertize-function.
2219 * progmodes/cfengine.el (cfengine-mode):
2220 Use syntax-propertize-function.
2221 (cfengine-font-lock-syntactic-keywords): Remove.
2223 * progmodes/autoconf.el (autoconf-mode):
2224 Use syntax-propertize-function.
2225 (autoconf-font-lock-syntactic-keywords): Remove.
2227 * progmodes/ada-mode.el (ada-set-syntax-table-properties)
2228 (ada-after-change-function, ada-initialize-syntax-table-properties)
2229 (ada-handle-syntax-table-properties): Only define when
2230 syntax-propertize is not available.
2231 (ada-mode): Use syntax-propertize-function.
2233 * font-lock.el (font-lock-syntactic-keywords): Make obsolete.
2234 (font-lock-fontify-syntactic-keywords-region): Move handling of
2235 font-lock-syntactically-fontified to...
2236 (font-lock-default-fontify-region): ...here.
2237 Let syntax-propertize-function take precedence.
2238 (font-lock-fontify-syntactically-region): Cal syntax-propertize.
2240 * emacs-lisp/syntax.el (syntax-propertize-function)
2241 (syntax-propertize-chunk-size, syntax-propertize--done)
2242 (syntax-propertize-extend-region-functions): New vars.
2243 (syntax-propertize-wholelines, syntax-propertize-multiline)
2244 (syntax-propertize--shift-groups, syntax-propertize-via-font-lock)
2245 (syntax-propertize): New functions.
2246 (syntax-propertize-rules): New macro.
2247 (syntax-ppss-flush-cache): Set syntax-propertize--done.
2248 (syntax-ppss): Call syntax-propertize.
2250 * emacs-lisp/regexp-opt.el (regexp-opt-depth): Skip named groups.
2252 2010-09-10 Agustín Martín <agustin.martin@hispalinux.es>
2254 * textmodes/ispell.el (ispell-init-process): Improve comments.
2255 XEmacs compatibility changes regarding (add-hook) 'local option
2256 and (set-process-query-on-exit-flag).
2258 2010-09-09 Michael Albinus <michael.albinus@gmx.de>
2260 * net/tramp-cache.el (tramp-parse-connection-properties):
2261 Set tramp-autoload cookie.
2263 2010-09-09 Glenn Morris <rgm@gnu.org>
2265 * image.el (imagemagick-types-inhibit): Add :type, :version, :group.
2266 (imagemagick-register-types): Doc fix.
2268 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
2270 * progmodes/octave-mod.el (electric-indent-chars): Silence bytecomp.
2272 * progmodes/js.el (require): Require is already "eval-and-compile".
2273 (js--re-search-forward): Avoid `eval'. Preserve the error data.
2274 (js--re-search-backward): Use js--re-search-forward.
2276 * progmodes/fortran.el (fortran-line-length): Don't recompute
2277 syntactic keywords redundantly a second time.
2279 * progmodes/ada-mode.el: Replace "(set '" with setq.
2280 (ada-mode): Simplify.
2281 (ada-create-case-exception, ada-adjust-case-interactive)
2282 (ada-adjust-case-region, ada-format-paramlist, ada-indent-current)
2283 (ada-search-ignore-string-comment, ada-move-to-start)
2284 (ada-move-to-end): Use with-syntax-table.
2286 * font-lock.el (save-buffer-state): Remove `varlist' arg.
2287 (font-lock-unfontify-region, font-lock-default-fontify-region):
2288 Update usage correspondingly.
2289 (font-lock-fontify-syntactic-keywords-region):
2290 Set parse-sexp-lookup-properties buffer-locally here.
2291 (font-lock-fontify-syntactically-region): Remove unused `ppss' arg.
2293 * simple.el (blink-matching-open): Don't burp if we can't find a match.
2295 2010-09-08 Glenn Morris <rgm@gnu.org>
2297 * emacs-lisp/bytecomp.el (byte-compile-report-ops):
2298 Error if not compiled with -DBYTE_CODE_METER.
2300 * emacs-lisp/bytecomp.el (byte-recompile-directory):
2301 Ignore dir-locals-file.
2303 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
2305 * progmodes/compile.el (compilation-error-regexp-alist-alist):
2307 (compilation-error-regexp-alist-alist): Rule out ": " in file names
2308 for the `gnu' messages.
2309 (compilation-set-skip-threshold): New command.
2310 (compilation-start): Use \' rather than $.
2311 (compilation-forget-errors): Use clrhash.
2313 2010-09-08 Agustín Martín <agustin.martin@hispalinux.es>
2315 * textmodes/ispell.el (ispell-valid-dictionary-list):
2318 2010-09-08 Michael Albinus <michael.albinus@gmx.de>
2320 Migrate to Tramp 2.2. Rearrange load dependencies.
2321 (Bug#1529, Bug#5448, Bug#5705)
2323 * Makefile.in (TRAMP_DIR, TRAMP_SRC): New variables.
2324 ($(TRAMP_DIR)/tramp-loaddefs.el): New target.
2325 (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
2327 * net/tramp.el (top): Remove all other tramp-* loads except
2328 tramp-compat.el. Remove all changes to tramp-unload-hook for
2329 other tramp-* packages. Rearrange defun order. Change calls of
2330 `tramp-compat-call-process', `tramp-compat-decimal-to-octal',
2331 `tramp-compat-octal-to-decimal' to new function names.
2332 (tramp-terminal-type, tramp-initial-end-of-output)
2333 (tramp-methods, tramp-foreign-file-name-handler-alist)
2334 (tramp-tramp-file-p, tramp-completion-mode-p)
2335 (tramp-send-command-and-check, tramp-get-remote-path)
2336 (tramp-get-remote-tmpdir, tramp-get-remote-ln)
2337 (tramp-shell-quote-argument): Set tramp-autoload cookie.
2338 (with-file-property, with-connection-property): Move to
2340 (tramp-local-call-process, tramp-decimal-to-octal)
2341 (tramp-octal-to-decimal): Move to tramp-compat.el.
2342 (tramp-handle-shell-command): Do not require 'shell.
2343 (tramp-compute-multi-hops): No special handling for tramp-gw-*
2345 (tramp-unload-tramp): Do not call `tramp-unload-file-name-handlers'.
2347 * net/tramp-cache.el (top): Require 'tramp. Add to
2348 `tramp-unload-hook'.
2349 (tramp-cache-data, tramp-get-file-property)
2350 (tramp-set-file-property, tramp-flush-file-property)
2351 (tramp-flush-directory-property, tramp-get-connection-property)
2352 (tramp-set-connection-property, tramp-flush-connection-property)
2353 (tramp-cache-print, tramp-list-connections): Set tramp-autoload
2355 (with-file-property, with-connection-property): New defuns, moved
2357 (tramp-flush-file-function): Use `with-parsed-tramp-file-name'
2360 * net/tramp-cmds.el (top): Add to `tramp-unload-hook'.
2361 (tramp-version): Set tramp-autoload cookie.
2363 * net/tramp-compat.el (top): Require 'tramp-loaddefs. Remove all
2364 changes to tramp-unload-hook for other tramp-* packages. Add to
2365 `tramp-unload-hook'.
2366 (tramp-compat-decimal-to-octal, tramp-compat-octal-to-decimal)
2367 (tramp-compat-call-process): New defuns, moved from tramp.el.
2369 * net/tramp-fish.el (top) Require just 'tramp. Add objects to
2370 `tramp-methods' and `tramp-foreign-file-name-handler-alist'. Add
2371 to `tramp-unload-hook'. Change call of
2372 `tramp-compat-decimal-to-octal' to new function name.
2373 (tramp-fish-method): Make it a defconst.
2374 (tramp-fish-file-name-p): Make it a defsubst.
2375 (tramp-fish-method, tramp-fish-file-name-handler)
2376 (tramp-fish-file-name-p): Set tramp-autoload cookie.
2378 * net/tramp-ftp.el (top) Add objects to `tramp-methods' and
2379 `tramp-foreign-file-name-handler-alist'. Add to
2380 `tramp-unload-hook'.
2381 (tramp-ftp-method): Make it a defconst.
2382 (tramp-ftp-file-name-p): Make it a defsubst.
2383 (tramp-ftp-method, tramp-ftp-file-name-handler)
2384 (tramp-ftp-file-name-p): Set tramp-autoload cookie.
2386 * net/tramp-gvfs.el (top) Add objects to `tramp-methods' and
2387 `tramp-foreign-file-name-handler-alist'. Add to
2388 `tramp-unload-hook'. Change checks, whether package can be
2390 (tramp-gvfs-file-name-p): Make it a defsubst.
2391 (tramp-gvfs-methods, tramp-gvfs-file-name-handler)
2392 (tramp-gvfs-file-name-p): Set tramp-autoload cookie.
2393 (tramp-gvfs-handle-file-directory-p): New defun.
2394 (tramp-gvfs-file-name-handler-alist): Use it.
2396 * net/tramp-gw.el (top) Add objects to `tramp-methods' and
2397 `tramp-foreign-file-name-handler-alist'. Add to
2398 `tramp-unload-hook'.
2399 (tramp-gw-tunnel-method, tramp-gw-default-tunnel-port)
2400 (tramp-gw-socks-method, tramp-gw-default-socks-port): Make it a
2402 (tramp-gw-tunnel-method, tramp-gw-socks-method)
2403 (tramp-gw-open-connection): Set tramp-autoload cookie.
2405 * net/tramp-imap.el (top) Require just 'tramp. Add objects to
2406 `tramp-methods' and `tramp-foreign-file-name-handler-alist'. Add
2407 to `tramp-unload-hook'. Change checks, whether package can be
2409 (tramp-imap-file-name-p): Make it a defsubst.
2410 (tramp-imap-method, tramp-imaps-method)
2411 (tramp-imap-file-name-handler)
2412 (tramp-imap-file-name-p): Set tramp-autoload cookie.
2414 * net/tramp-smb.el (top) Require just 'tramp. Add objects to
2415 `tramp-methods' and `tramp-foreign-file-name-handler-alist'. Add
2416 to `tramp-unload-hook'. Change checks, whether package can be
2417 loaded. Change call of `tramp-compat-decimal-to-octal' to new
2419 (tramp-smb-tunnel-method): Make it a defconst.
2420 (tramp-smb-file-name-p): Make it a defsubst.
2421 (tramp-smb-method, tramp-smb-file-name-handler)
2422 (tramp-smb-file-name-p): Set tramp-autoload cookie.
2424 * net/tramp-uu.el (top) Add to `tramp-unload-hook'.
2425 (tramp-uuencode-region): Set tramp-autoload cookie.
2427 * net/trampver.el (top) Add to `tramp-unload-hook'.
2428 (tramp-version, tramp-bug-report-address): Set tramp-autoload
2429 cookie. Update release number.
2431 2010-09-07 Agustín Martín <agustin.martin@hispalinux.es>
2433 * textmodes/ispell.el (ispell-start-process): Make sure original
2434 arg list is properly initialized (Bug#6993, Bug#6994).
2436 2010-09-06 Alexander Klimov <alserkli@inbox.ru> (tiny change)
2438 * files.el (directory-abbrev-alist): Use \` as default regexp.
2440 * emacs-lisp/rx.el (rx-any): Don't explode ranges that end in special
2441 chars like - or ] (bug#6984).
2442 (rx-any-condense-range): Explode 2-char ranges.
2444 2010-09-06 Glenn Morris <rgm@gnu.org>
2446 * desktop.el (desktop-path): Bump :version after 2009-09-15 change.
2448 2010-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
2450 * textmodes/bibtex.el:
2451 * proced.el: Update to new email for Roland Winkler <winkler@gnu.org>.
2453 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
2455 * net/imap.el (imap-message-map): Remove optional buffer parameter,
2456 since no callers use it.
2457 (imap-message-get): Ditto.
2458 (imap-message-put): Ditto.
2459 (imap-mailbox-map): Ditto.
2460 (imap-mailbox-put): Ditto.
2461 (imap-mailbox-get): Ditto.
2462 (imap-mailbox-get): Revert last change for this function.
2464 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
2466 * net/imap.el (imap-fetch-safe): Remove function, and alter all
2467 callers to use `imap-fetch' instead. According to the comments, this
2468 should be safe, since all other IMAP clients use the 1:* syntax.
2469 (imap-enable-exchange-bug-workaround): Remove.
2470 (imap-debug): Remove -- doesn't seem very useful.
2472 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
2474 * net/imap.el (imap-log): New convenience function used throughout
2475 instead of repeating the same code all over the place.
2477 2010-09-05 David De La Harpe Golden <david@harpegolden.net>
2479 * mouse.el (mouse-save-then-kill): Save region to kill-ring
2480 when mouse-drag-copy-region is non-nil (Bug#6956).
2482 2010-09-05 Chong Yidong <cyd@stupidchicken.com>
2484 * dired.el (dired-ls-sorting-switches, dired-sort-by-name-regexp):
2485 Improve regexps (Bug#6987).
2486 (dired-sort-toggle): Search more robustly for -t flag.
2488 * files.el (get-free-disk-space): Search more robustly for
2489 "available" column. Suggested by Ehud Karni
2490 <ehud@unix.mvs.co.il>.
2492 2010-09-05 Juanma Barranquero <lekktu@gmail.com>
2494 * international/uni-bidi.el:
2495 * international/uni-category.el:
2496 * international/uni-combining.el:
2497 * international/uni-decimal.el:
2498 * international/uni-mirrored.el:
2499 * international/uni-name.el: Regenerate.
2501 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
2503 * electric.el (electric-indent-post-self-insert-function):
2504 Don't reindent with a sloppy indentation function.
2506 * emacs-lisp/syntax.el (syntax-ppss): More sanity check to catch
2507 border case in change-log-mode.
2509 2010-09-04 Chong Yidong <cyd@stupidchicken.com>
2511 * progmodes/compile.el (compilation-error-regexp-alist-alist):
2512 Remove ruby regexp; handle Ruby errors with gcc-include and gnu.
2513 Recognize leading tab in gcc-include regexp. Ignore names with
2514 leading "from" or "in" in gnu regexp (Bug#6937).
2516 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
2518 Avoid global recursive calls to kill-buffer-hooks; fit into 80 cols.
2519 * textmodes/ispell.el (ispell-process-buffer-name): Remove.
2520 (ispell-start-process): Avoid setq and simplify logic.
2521 (ispell-init-process): Setup kill-buffer-hook locally when needed.
2522 (kill-buffer-hook): Don't use it globally with code that uses
2523 expand-file-name since that may call kill-buffer via
2524 code_conversion_restore.
2526 2010-09-04 Noorul Islam K M <noorul@noorul.com> (tiny change)
2528 * emacs-lisp/package.el (package-directory-list): Only call
2529 file-name-nondirectory on a string.
2531 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
2533 * emacs-lisp/package.el (package--download-one-archive):
2534 Ensure that archive-contents is valid before saving it.
2535 (package-activate-1, package-mark-obsolete, define-package)
2536 (package-compute-transaction, package-list-maybe-add): Use push.
2538 2010-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
2540 Use SMIE's blink-paren for octave-mode.
2541 * progmodes/octave-mod.el (octave-font-lock-close-quotes):
2542 Backslashes do not escape single-quotes, single-quotes do.
2543 (octave-block-else-regexp, octave-block-end-regexp)
2544 (octave-block-match-alist): Remove.
2545 (octave-smie-bnf-table): New var, with old content.
2546 (octave-smie-op-levels): Use it.
2547 (octave-smie-closer-alist): New var.
2548 (octave-mode): Use it. Setup smie-blink-matching and electric-indent.
2549 (octave-blink-matching-block-open): Remove.
2550 (octave-reindent-then-newline-and-indent, octave-electric-semi)
2551 (octave-electric-space): Let self-insert-command run expand-abbrev and
2554 * electric.el (electricity): New group.
2555 (electric-indent-chars): New var.
2556 (electric-indent-post-self-insert-function): New fun.
2557 (electric-indent-mode): New minor mode.
2558 (electric-pair-skip-self): New custom.
2559 (electric-pair-post-self-insert-function): New function.
2560 (electric-pair-mode): New minor mode.
2562 * calc/calc-aent.el (calcAlg-blink-matching-check): New fun, to replace
2563 calcAlg-blink-matching-open.
2564 (calc-alg-ent-map, calc-alg-ent-esc-map): Initialize in the declaration.
2565 (calc-do-alg-entry): Only touch the part of the keymap that varies.
2566 Use the new blink-matching-check-function.
2568 Provide blink-matching support to SMIE.
2569 * emacs-lisp/smie.el (smie-bnf-closer-alist): New function.
2570 (smie-blink-matching-triggers, smie-blink-matching-inners): New vars.
2571 (smie-blink-matching-check, smie-blink-matching-open): New functions.
2573 * simple.el (newline): Fix last change to properly remove itself from
2576 2010-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
2578 * simple.el (newline): Eliminate optimization.
2579 Use post-self-insert-hook to set hard-newline and things before
2580 running post-self-insert-hook.
2581 (blink-matching-check-mismatch): New function.
2582 (blink-matching-check-function): New variable.
2583 (blink-matching-open): Use them.
2584 Skip back forward over prefix chars skipped by forward-sexp.
2585 Don't check if the parens are backslash escaped.
2586 (blink-paren-post-self-insert-function): Check backslash escaping here.
2588 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
2590 * emacs-lisp/package.el (package-menu-mode-map):
2591 Change package-menu-revert bindings to revert-buffer.
2592 (package-menu-mode): Set revert-buffer-function.
2593 (package-menu-revert): Doc fix.
2595 2010-09-02 Agustín Martín <agustin.martin@hispalinux.es>
2597 * textmodes/ispell.el (ispell-init-process): Use "~/" as
2598 `default-directory' unless using Ispell per-directory personal
2599 dictionaries and not in a mini-buffer under XEmacs.
2600 (kill-buffer-hook): Do not kill ispell process on exit when
2601 `ispell-process-directory' is "~/". (Bug#6143)
2603 2010-09-02 Jan Djärv <jan.h.d@swipnet.se>
2605 * simple.el (kill-new): Call interprogram-cut-function with only
2608 * term.el (term-mouse-paste): Don't call x-get-cutbuffer.
2609 Remove cut buffer from error message.
2611 * term/x-win.el (x-select-text):
2612 * term/pc-win.el (x-selection-value):
2613 * term/ns-win.el (x-selection-value):
2614 * eshell/em-term.el:
2615 * w32-fns.el (x-get-selection-value):
2616 * mouse-sel.el (mouse-sel-set-selection-function):
2617 * frame.el (display-selections-p): Remove cut-buffer in documentation.
2619 * term/x-win.el: Update documentation for x-last-selected-text-*.
2620 (x-last-selected-text-cut, x-last-selected-text-cut-encoded)
2621 (x-last-cut-buffer-coding, x-cut-buffer-max): Remove.
2622 (x-select-text): Remove argument PUSH, update documentation. Remove
2624 (x-selection-value-internal): Was previously x-selection-value.
2625 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
2626 Update documentation, remove cut-buffer code. Call
2627 x-selection-value-internal.
2628 (x-clipboard-yank): Call x-selection-value-internal.
2629 (x-initialize-window-system): Remove setting of x-cut-buffer-max.
2631 * term/pc-win.el (x-last-selected-text):
2632 x-cut-buffer-or-selection-value renamed to x-selection-value
2633 (x-select-text): Remove argument PUSH, update documentation.
2635 * term/ns-win.el (x-setup-function-keys, ns-last-selected-text):
2636 x-cut-buffer-or-selection-value renamed to x-selection-value
2637 (x-selection-value): Renamed from x-cut-buffer-or-selection-value.
2638 (x-select-text): Remove argument PUSH, update documentation.
2640 * emacs-lisp/cl-macs.el (x-get-cutbuffer, x-get-cut-buffer): Remove.
2642 * w32-fns.el (x-last-selected-text):
2643 x-cut-buffer-or-selection-value renamed to x-selection-value.
2644 (x-cut-buffer-max): Remove.
2645 (x-select-text): Remove argument PUSH, update documentation.
2647 * simple.el (interprogram-cut-function): Remove mention of PUSH.
2649 * select.el (x-get-cut-buffer, x-set-cut-buffer): Remove.
2651 * mouse-sel.el (mouse-sel-get-selection-function):
2652 x-cut-buffer-or-selection-value renamed to x-selection-value.
2653 (x-select-text): Remove optional push.
2655 2010-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
2657 * simple.el (blink-paren-function): Move from C to here.
2658 (blink-paren-post-self-insert-function): New function.
2659 (post-self-insert-hook): Use it.
2661 * emacs-lisp/pcase.el (pcase-split-memq):
2662 Fix overenthusiastic optimisation.
2663 (pcase-u1): Handle the case of a lambda pred.
2665 2010-08-31 Kenichi Handa <handa@m17n.org>
2667 * international/mule-cmds.el (standard-display-european-internal):
2668 Setup standard-display-table for 8-bit characters by storing 8-bit
2669 characters in the element vector.
2671 * disp-table.el (standard-display-8bit):
2672 Setup standard-display-table for 8-bit characters by storing 8-bit
2673 characters in the element vector.
2674 (standard-display-european): Likewise.
2676 2010-08-31 Masatake YAMATO <yamato@redhat.com>
2678 * textmodes/nroff-mode.el (nroff-view): New command.
2679 (nroff-mode-map): Bind it to C-c C-c.
2681 2010-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
2683 * emacs-lisp/smie.el (smie-down-list): New command.
2685 Remove old indentation and navigation code on octave-mode.
2686 * progmodes/octave-mod.el (octave-mode-map): Remap down-list to
2687 smie-down-list rather than add a binding for octave-down-block.
2688 (octave-mark-block, octave-blink-matching-block-open):
2689 Rely on forward-sexp-function.
2690 (octave-fill-paragraph): Don't narrow, so you can use
2691 indent-according-to-mode.
2692 (octave-block-begin-regexp, octave-block-begin-or-end-regexp): Remove.
2693 (octave-in-block-p, octave-re-search-forward-kw)
2694 (octave-re-search-backward-kw, octave-indent-calculate)
2695 (octave-end-as-array-index-p, octave-block-end-offset)
2696 (octave-scan-blocks, octave-forward-block, octave-backward-block)
2697 (octave-down-block, octave-backward-up-block, octave-up-block)
2698 (octave-before-magic-comment-p, octave-indent-line): Remove.
2700 2010-08-31 Chong Yidong <cyd@stupidchicken.com>
2702 * emacs-lisp/package.el (package--read-archive-file): Just use
2703 `read', to avoid copying an additional string.
2704 (package-menu-mode): Set header-line-format here.
2705 (package-menu-refresh, package-menu-revert): Signal an error if
2706 not in the Package Menu.
2707 (package-menu-package-list): New var.
2708 (package--generate-package-list): Operate on the current buffer;
2709 don't assume that it is *Packages*, since the user may rename it.
2710 Allow persistent package listings and sort keys using
2711 package-menu-package-list and package-menu-package-sort-key.
2712 (package-menu--version-predicate): Fix version calculation.
2713 (package-menu-sort-by-column): Don't select the window.
2714 (package--list-packages): Create the *Packages* buffer.
2715 Set package-menu-package-list-key.
2716 (list-packages): Sorting by status is now the default.
2717 (package-buffer-info): Use match-string-no-properties.
2718 (define-package): Add a &rest argument for future proofing, but
2720 (package-install-from-buffer, package-install-buffer-internal):
2721 Merge into a single function, package-install-from-buffer.
2722 (package-install-file): Change caller.
2724 * finder.el: Load finder-inf using `require'.
2725 (finder-list-matches): Sorting by status is now the default.
2726 (finder-compile-keywords): Simpify printing.
2728 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
2730 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
2731 (octave-mode-map): Remove special bindings for forward/backward-block
2732 and octave-backward-up-block. Use smie-close-block.
2733 (octave-continuation-marker-regexp): New var.
2734 (octave-continuation-regexp): Use it.
2735 (octave-operator-table, octave-smie-op-levels)
2736 (octave-operator-regexp, octave-smie-indent-rules): New vars.
2737 (octave-smie-backward-token, octave-smie-forward-token): New funs.
2738 (octave-mode): Use SMIE.
2739 (octave-close-block): Delete.
2741 2010-08-30 Eli Zaretskii <eliz@gnu.org>
2743 * menu-bar.el (menu-bar-edit-menu) <"Paste">: Check selection in
2744 CLIPBOARD, not in PRIMARY. (Bug#6944)
2746 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
2748 * emacs-lisp/smie.el (smie-indent-offset-rule): Let :parent take
2750 (smie-indent-column): Allow indirection through variables.
2752 * composite.el (save-buffer-state): Delete, unused.
2753 * font-lock.el (save-buffer-state): Use with-silent-modifications.
2754 (font-lock-default-fontify-region): Use with-syntax-table.
2755 * jit-lock.el (with-buffer-unmodified): Remove.
2756 (with-buffer-prepared-for-jit-lock): Use with-silent-modifications.
2758 Use `declare' in defmacros.
2759 * window.el (save-selected-window):
2760 * subr.el (with-temp-file, with-temp-message, with-syntax-table):
2761 * progmodes/python.el (def-python-skeleton):
2762 * net/dbus.el (dbus-ignore-errors):
2763 * jka-cmpr-hook.el (with-auto-compression-mode):
2764 * international/mule.el (with-category-table):
2765 * emacs-lisp/timer.el (with-timeout):
2766 * emacs-lisp/lisp-mnt.el (lm-with-file):
2767 * emacs-lisp/eieio.el (with-slots):
2768 * emacs-lisp/easymenu.el (easy-menu-define):
2769 * emacs-lisp/debug.el (debugger-env-macro):
2770 * emacs-lisp/cl-compat.el (Multiple-value-bind, Multiple-value-setq)
2771 (Multiple-value-call, Multiple-value-prog1):
2772 * emacs-lisp/cl-seq.el (cl-parsing-keywords, cl-check-key)
2773 (cl-check-test-nokey, cl-check-test, cl-check-match): Move indent and
2774 edebug rule to definition.
2775 * emacs-lisp/lisp-mode.el (save-selected-window)
2776 (with-current-buffer, combine-after-change-calls)
2777 (with-output-to-string, with-temp-file, with-temp-buffer)
2778 (with-temp-message, with-syntax-table, read-if, eval-after-load)
2779 (dolist, dotimes, when, unless):
2780 * emacs-lisp/byte-run.el (inline): Remove indent rule, redundant.
2782 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
2784 * finder.el: Require `package'.
2785 (finder-known-keywords): Tweak descriptions. Retire `oop' keyword.
2786 (finder-package-info): Var deleted.
2787 (finder-keywords-hash, finder--builtins-alist): New vars.
2788 (finder-compile-keywords): Compute package--builtins and
2789 finder-keywords-hash instead of finder-keywords-hash, respecting
2790 the "Package" header.
2791 (finder-unknown-keywords, finder-list-matches):
2792 Use finder-keywords-hash and package--list-packages.
2793 (finder-mode): Don't set font-lock-defaults.
2794 (finder-exit): We don't use "*Finder-package*" and "*Finder
2795 Category*" buffers anymore.
2797 * emacs-lisp/package.el (package--builtins-base): Var deleted.
2798 (package--builtins): Set default value to nil.
2799 (package-initialize): Load precomputed value of package--builtins
2801 (package-alist, package-compute-transaction)
2802 (package-download-transaction): Improve docstring.
2803 (package-read-all-archive-contents): Do not change
2804 package--builtins here.
2805 (list-packages): Make package-list-packages an alias for this.
2806 Sort by status by default.
2807 (package--list-packages): Add optional PACKAGES arg.
2808 (describe-package-1): Use font-lock-face property. For built-in
2809 packages, insert file commentary.
2810 (package--generate-package-list): Rename from
2811 package-list-packages-internal; all callers changed. Add optional
2812 PACKAGES arg. Add alphabetical sort fallbacks.
2813 (package-menu--version-predicate, package-menu--status-predicate)
2814 (package-menu--description-predicate)
2815 (package-menu--name-predicate): New functions.
2817 * info.el (Info-finder-find-node): Search package-alist instead of
2818 finder-package-info.
2820 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
2822 * subr.el (version-regexp-alist): Don't use "a" and "b" for
2824 (version-to-list): Handle versions like "10.3d".
2826 2010-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
2828 * emacs-lisp/macroexp.el (macroexpand-all-1): Use pcase.
2829 (macroexp-accumulate): Use `declare'.
2831 2010-08-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
2833 * whitespace.el (whitespace-style): Adjust type declaration.
2835 2010-08-26 Magnus Henoch <magnus.henoch@gmail.com>
2837 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
2838 empty argument to gvfs-copy.
2840 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
2842 * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
2843 handle new TRASH arg of `delete-file'.
2845 2010-08-26 Christian Lynbech <christian.lynbech@tieto.com> (tiny change)
2847 * net/tramp.el (tramp-handle-insert-directory): Don't use
2848 `forward-word', its default syntax could be changed.
2850 2010-08-26 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
2851 Michael Albinus <michael.albinus@gmx.de>
2853 Implement compression for inline methods.
2855 * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
2856 (tramp-copy-size-limit): Allow also nil.
2857 (tramp-inline-compress-commands): New defconst.
2858 (tramp-find-inline-compress, tramp-get-inline-compress)
2859 (tramp-get-inline-coding): New defuns.
2860 (tramp-get-remote-coding, tramp-get-local-coding): Remove,
2861 replaced by `tramp-get-inline-coding'.
2862 (tramp-handle-file-local-copy, tramp-handle-write-region)
2863 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
2865 2010-08-26 Noah Lavine <noah549@gmail.com> (tiny change)
2867 Detect ssh 'ControlMaster' argument automatically in some cases.
2869 * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
2870 (tramp-default-method): Use it.
2872 2010-08-26 Karel Klíč <kklic@redhat.com>
2874 * net/tramp.el (tramp-file-name-for-operation):
2875 Add file-selinux-context.
2877 2010-08-26 Łukasz Stelmach <lukasz.stelmach@iem.pw.edu.pl> (tiny change)
2879 * play/cookie1.el (read-cookie): Fix off-by-one error (bug#6921).
2881 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
2883 * simple.el (beginning-of-buffer, end-of-buffer): Doc fix
2886 2010-08-26 Nathan Weizenbaum <nweiz@cressida.sea.corp.google.com> (tiny change)
2888 * progmodes/js.el: Make indentation more customizable (Bug#6914).
2889 (js-paren-indent-offset, js-square-indent-offset)
2890 (js-curly-indent-offset): New options.
2891 (js--proper-indentation): Use them.
2893 2010-08-26 Daniel Colascione <dan.colascione@gmail.com>
2895 * progmodes/sh-script.el (sh-get-indent-info): Use syntax-ppss
2896 instead of inspecting font-lock properties (Bug#6916).
2898 2010-08-26 David Reitter <david.reitter@gmail.com>
2900 * server.el (server-visit-files): Run pre-command-hook and
2901 post-command-hook for each buffer while it is current (Bug#6910).
2902 (server-execute): Do not run hooks here.
2904 2010-08-26 Michael Albinus <michael.albinus@gmx.de>
2906 Sync with Tramp 2.1.19.
2908 * net/tramp-cmds.el (tramp-cleanup-all-connections)
2909 (tramp-reporter-dump-variable, tramp-load-report-modules)
2910 (tramp-append-tramp-buffers): Use `tramp-compat-funcall'.
2911 (tramp-bug): Recommend setting of `tramp-verbose' to 9.
2913 * net/tramp-compat.el (top): Do not autoload
2914 `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el
2915 only when `start-file-process' is not bound.
2916 (byte-compile-not-obsolete-vars): Define if not bound.
2917 (tramp-compat-funcall): New defmacro.
2918 (tramp-compat-line-beginning-position)
2919 (tramp-compat-line-end-position)
2920 (tramp-compat-temporary-file-directory)
2921 (tramp-compat-make-temp-file, tramp-compat-file-attributes)
2922 (tramp-compat-copy-file, tramp-compat-copy-directory)
2923 (tramp-compat-delete-file, tramp-compat-delete-directory)
2924 (tramp-compat-number-sequence, tramp-compat-process-running-p):
2926 (tramp-advice-file-expand-wildcards): Do not use
2927 `tramp-handle-file-remote-p'.
2928 (tramp-compat-make-temp-file): Simplify fallback implementation.
2929 (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
2930 (tramp-compat-copy-tree): Remove function.
2931 (tramp-compat-delete-file): New defun.
2932 (tramp-compat-delete-directory): Provide implementation for older
2934 (tramp-compat-file-attributes): Handle only
2935 `wrong-number-of-arguments' error.
2937 * net/tramp-fish.el (tramp-fish-handle-copy-file):
2938 Add PRESERVE_SELINUX_CONTEXT.
2939 (tramp-fish-handle-delete-file): Add TRASH arg.
2940 (tramp-fish-handle-directory-files-and-attributes):
2941 Do not use `tramp-fish-handle-file-attributes.
2942 (tramp-fish-handle-file-local-copy)
2943 (tramp-fish-handle-insert-file-contents)
2944 (tramp-fish-maybe-open-connection): Use `with-progress-reporter'.
2946 * net/tramp-gvfs.el (top): Require url-util.
2947 (tramp-gvfs-mount-point): Remove.
2948 (tramp-gvfs-file-name-handler-alist): Add `file-selinux-context'
2949 and `set-file-selinux-context'.
2950 (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command)
2951 (tramp-gvfs-handle-file-selinux-context)
2952 (tramp-gvfs-handle-set-file-selinux-context): New defuns.
2953 (with-tramp-dbus-call-method): Format trace message.
2954 (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
2955 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
2956 Implement backup call, when operation on local files fails.
2957 Use progress reporter. Flush properties of changed files.
2958 (tramp-gvfs-handle-delete-file): Add TRASH arg. Use
2959 `tramp-compat-delete-file'.
2960 (tramp-gvfs-handle-expand-file-name): Expand "~/".
2961 (tramp-gvfs-handle-make-directory): Make more traces.
2962 (tramp-gvfs-handle-write-region): Protect deleting tmpfile.
2963 (tramp-gvfs-url-file-name): Hexify file name in url.
2964 (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
2965 into account for the resulting file name.
2966 (tramp-gvfs-handler-askquestion): Preserve current message, in
2967 order to let progress reporter continue afterwards. (Bug#6257)
2968 Return dummy mountpoint, when the answer is "no".
2969 See `tramp-gvfs-maybe-open-connection'.
2970 (tramp-gvfs-handler-mounted-unmounted)
2971 (tramp-gvfs-connection-mounted-p): Test also for new mountspec
2972 attribute "default_location". Set "prefix" property.
2973 Handle default-location.
2974 (tramp-gvfs-mount-spec): Return both prefix and mountspec.
2975 (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
2976 exists. Raise an error, if not (due to a corresponding answer
2977 "no" in interactive questions, for example).
2978 Use `tramp-compat-funcall'.
2980 * net/tramp-imap.el (top): Autoload `epg-make-context'.
2981 (tramp-imap-handle-copy-file): Add PRESERVE-SELINUX-CONTEXT.
2982 (tramp-imap-do-copy-or-rename-file)
2983 (tramp-imap-handle-insert-file-contents)
2984 (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
2985 (tramp-imap-handle-delete-file): Add TRASH arg.
2987 * net/tramp-smb.el (tramp-smb-handle-copy-file):
2988 Add PRESERVE-SELINUX-CONTEXT.
2989 (tramp-smb-handle-copy-file)
2990 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
2991 (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
2992 Use `with-progress-reporter'.
2993 (tramp-smb-handle-delete-file): Add TRASH arg.
2995 * net/tramp.el (tramp-methods): Move hostname to the end in all
2996 ssh `tramp-login-args'. Add `tramp-async-args' attribute where
2998 (tramp-verbose): Describe verbose level 9.
2999 (tramp-completion-function-alist)
3000 (tramp-file-name-regexp, tramp-chunksize)
3001 (tramp-local-coding-commands, tramp-remote-coding-commands)
3002 (with-connection-property, tramp-completion-mode-p)
3003 (tramp-action-process-alive, tramp-action-out-of-band)
3004 (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
3005 (tramp-exists-file-name-handler): Fix docstring.
3006 (tramp-remote-process-environment): Use `format' instead of
3007 `concat'. Protect version string by apostroph.
3008 (tramp-shell-prompt-pattern): Do not use a shy group in case of
3010 (tramp-file-name-regexp-unified)
3011 (tramp-completion-file-name-regexp-unified): On W32 systems, do
3012 not regard the volume letter as remote filename. (Bug#5447)
3013 (tramp-perl-file-attributes)
3014 (tramp-perl-directory-files-and-attributes): Don't pass "$3".
3015 (tramp-vc-registered-read-file-names): Read input as
3016 here-document, otherwise the command could exceed maximum length
3018 (tramp-file-name-handler-alist): Add `file-selinux-context' and
3019 `set-file-selinux-context'.
3020 (tramp-debug-message): Add `tramp-compat-funcall' to ignored
3021 backtrace functions.
3022 (tramp-error-with-buffer): Don't show the connection buffer when
3023 we are in completion mode.
3024 (tramp-progress-reporter-update, tramp-remote-selinux-p)
3025 (tramp-handle-file-selinux-context)
3026 (tramp-handle-set-file-selinux-context, tramp-process-sentinel)
3027 (tramp-connectable-p, tramp-open-shell, tramp-get-remote-trash):
3029 (with-progress-reporter): New defmacro.
3030 (tramp-debug-outline-regexp): New defconst.
3031 (top, tramp-rfn-eshadow-setup-minibuffer)
3032 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
3033 (tramp-handle-dired-compress-file, tramp-handle-shell-command)
3034 (tramp-completion-mode-p, tramp-check-for-regexp)
3035 (tramp-open-connection-setup-interactive-shell)
3036 (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
3037 (tramp-time-diff, tramp-coding-system-change-eol-conversion)
3038 (tramp-set-process-query-on-exit-flag, tramp-unload-tramp):
3039 Use `tramp-compat-funcall'.
3040 (tramp-handle-make-symbolic-link): Flush file properties.
3041 (tramp-handle-load, tramp-handle-file-local-copy)
3042 (tramp-handle-insert-file-contents, tramp-handle-write-region)
3043 (tramp-handle-vc-registered, tramp-maybe-send-script)
3044 (tramp-find-shell): Use `with-progress-reporter'.
3045 (tramp-do-file-attributes-with-stat): Add space in format string,
3046 in order to work around a bug in pdksh. Reported by Gilles Pion
3048 (tramp-handle-verify-visited-file-modtime): Do not send a command
3049 when the connection is not established.
3050 (tramp-handle-set-file-times): Simplify the check for utc.
3051 (tramp-handle-directory-files-and-attributes)
3052 (tramp-get-remote-path): Use `copy-tree'.
3053 (tramp-completion-handle-file-name-all-completions): Ensure, that
3054 non remote files are still checked. Oops.
3055 (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
3056 Handle PRESERVE-SELINUX-CONTEXT.
3057 (tramp-do-copy-or-rename-file): Add progress reporter.
3058 (tramp-do-copy-or-rename-file-directly): Do not use
3059 `tramp-handle-file-remote-p'.
3060 (tramp-do-copy-or-rename-file-out-of-band):
3061 Use `tramp-compat-delete-directory'.
3062 (tramp-do-copy-or-rename-file-out-of-band)
3063 (tramp-compute-multi-hops, tramp-maybe-open-connection):
3064 Use `format-spec-make'.
3065 (tramp-handle-delete-file): Add TRASH arg.
3066 (tramp-handle-dired-uncache): Flush directory cache, not only file
3068 (tramp-handle-expand-file-name)
3069 (tramp-completion-handle-file-name-all-completions)
3070 (tramp-completion-handle-file-name-completion):
3071 Use `tramp-connectable-p'.
3072 (tramp-handle-start-file-process): Set connection property "vec".
3073 Use it, in order to invalidate file caches. Check only for
3074 `remote-tty' process property.
3075 Implement tty setting. (Bug#4604, Bug#6360)
3076 (tramp-file-name-for-operation): Add `call-process-region' and
3077 `set-file-selinux-context'.
3078 (tramp-find-foreign-file-name-handler)
3079 (tramp-advice-make-auto-save-file-name)
3080 (tramp-set-auto-save-file-modes): Remove superfluous check for
3081 `stringp'. This is done inside `tramp-tramp-file-p'.
3082 (tramp-file-name-handler): Trace 'quit. Catch the error for some
3083 operations when we are in completion mode. This gives the user
3084 the chance to correct the file name in the minibuffer.
3085 (tramp-completion-mode-p): Use `non-essential'.
3086 (tramp-handle-file-name-all-completions): Backward/ XEmacs
3087 compatibility: Use `completion-ignore-case' if
3088 `read-file-name-completion-ignore-case' does not exist.
3089 (tramp-get-debug-buffer): Use `tramp-debug-outline-regexp'.
3090 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
3092 (tramp-action-password): Hide password prompt before next run.
3093 (tramp-process-actions): Widen connection buffer for the trace.
3094 (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
3095 process property. Trace stty settings if `tramp-verbose' >= 9.
3096 Apply workaround for IRIX64 bug. Move argument of last
3097 `tramp-send-command' where it belongs to.
3098 (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
3099 front of `login-args'.
3100 (tramp-get-ls-command, tramp-get-ls-command-with-dired): Run tests
3101 on "/dev/null" instead of "/".
3102 (tramp-get-ls-command-with-dired): Make test for "--dired"
3104 (tramp-set-auto-save-file-modes): Adapt version check.
3105 (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
3106 (tramp-handle-process-file): Call the program in a subshell, in
3107 order to preserve working directory.
3108 (tramp-handle-shell-command): Don't use hard-wired "/bin/sh" but
3109 `tramp-remote-sh' from `tramp-methods'.
3110 (tramp-get-ls-command): Make test for "--color=never" stronger.
3111 (tramp-check-for-regexp): Use (forward-line 1).
3113 * net/trampver.el: Update release number.
3115 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
3117 * help.el (help-map): Bind `C-h P' to describe-package.
3119 * menu-bar.el (menu-bar-describe-menu): Add describe-package.
3121 * emacs-lisp/package.el (package-refresh-contents): Catch errors
3122 when downloading archives.
3123 (describe-package-1): Add package commentary.
3124 (package-install-button-action): New function.
3125 (package-menu-mode-map): Bind ? to package-menu-describe-package.
3126 (package-menu-view-commentary): Function removed.
3127 (package-list-packages-internal): Hide the `package' package too.
3129 2010-08-25 Kenichi Handa <handa@m17n.org>
3131 * language/misc-lang.el ("Arabic"): New language environment.
3132 Setup composition-function-table for Arabic characters.
3134 * international/fontset.el (setup-default-fontset): Fix typo for
3135 arabic OTF spec (fini->fina).
3137 2010-08-25 Jan Djärv <jan.h.d@swipnet.se>
3139 * menu-bar.el (menu-bar-set-tool-bar-position): Set frame parameter
3142 2010-08-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
3144 * whitespace.el: Allow cleaning up blanks without blank
3145 visualization (Bug#6651). Adjust help window for
3146 whitespace-toggle-options (Bug#6479). Allow to use fill-column
3147 instead of whitespace-line-column (from EmacsWiki). New version
3149 (whitespace-style): Added new value 'face. Adjust docstring.
3150 (whitespace-space, whitespace-hspace, whitespace-tab): Adjust
3151 foreground property face.
3152 (whitespace-line-column): Adjust docstring and type declaration.
3153 (whitespace-style-value-list, whitespace-toggle-option-alist)
3154 (whitespace-help-text): Adjust const initialization.
3155 (whitespace-toggle-options, global-whitespace-toggle-options):
3157 (whitespace-display-window, whitespace-interactive-char)
3158 (whitespace-style-face-p, whitespace-color-on): Adjust code.
3159 (whitespace-help-scroll): New fun.
3161 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
3163 * emacs-lisp/package.el (list-packages): Alias for
3164 package-list-packages.
3166 2010-08-24 Kevin Ryde <user42@zip.com.au>
3168 * textmodes/flyspell.el (flyspell-check-tex-math-command): Doc fix
3171 * progmodes/ruby-mode.el (ruby): Add defgroup.
3173 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
3175 * progmodes/python.el: Add Ipython support (Bug#5390).
3176 (python-shell-prompt-alist)
3177 (python-shell-continuation-prompt-alist): New options.
3178 (python--set-prompt-regexp): New function.
3179 (inferior-python-mode, run-python, python-shell): Require
3180 ansi-color. Use python--set-prompt-regexp to set the comint
3181 prompt based on the Python interpreter.
3182 (python--prompt-regexp): New var.
3183 (python-check-comint-prompt)
3184 (python-comint-output-filter-function): Use it.
3185 (run-python): Use a pipe (Bug#5694).
3187 2010-08-24 Fabian Ezequiel Gallina <galli.87@gmail.com> (tiny change)
3189 * progmodes/python.el (python-send-region): Send a different
3190 Python command if Ipython is in use.
3191 (python-check-version): Use a Python command to find the version.
3193 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
3195 * mouse.el (mouse-yank-primary): Avoid setting primary when
3196 deactivating the mark (Bug#6872).
3198 2010-08-23 Chris Foote <chris@foote.com.au> (tiny change)
3200 * progmodes/python.el (python-block-pairs): Allow use of "finally"
3201 with "else" (Bug#3991).
3203 2010-08-23 Michael Albinus <michael.albinus@gmx.de>
3205 * net/dbus.el: Accept UNIX domain sockets as bus address.
3206 (top): Don't initialize `dbus-registered-objects-table' anymore,
3207 this is done in dbusbind,c.
3208 (dbus-check-event): Adapt test for bus.
3209 (dbus-return-values-table, dbus-unregister-service)
3210 (dbus-event-bus-name, dbus-introspect, dbus-register-property):
3213 2010-08-23 Juanma Barranquero <lekktu@gmail.com>
3215 * ido.el (ido-use-virtual-buffers): Fix typo in docstring.
3217 2010-08-22 Juri Linkov <juri@jurta.org>
3219 * simple.el (read-extended-command): New function with the logic
3220 for `completing-read' moved to Elisp from `execute-extended-command'.
3221 Use `function-called-at-point' in `minibuffer-default-add-function'
3222 to get a command name for M-n (bug#5364, bug#5214).
3224 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
3226 * startup.el (command-line-1): Issue warning for ignored arguments
3227 --unibyte, etc (Bug#6886).
3229 2010-08-22 Leo <sdl.web@gmail.com>
3231 * net/rcirc.el (rcirc-add-or-remove): Accept a list of elements.
3232 (ignore, bright, dim, keyword): Split list of nicknames before
3233 passing to rcirc-add-or-remove (Bug#6894).
3235 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
3237 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix (Bug#6880).
3239 2010-08-22 Leo <sdl.web@gmail.com>
3241 Fix buffer-list rename&refresh after killing a buffer in ido.
3242 * ido.el: Revert Óscar's.
3243 (ido-kill-buffer-at-head): Exit the minibuffer with ido-exit=refresh.
3244 Remember the buffers at head, rather than their name.
3245 * iswitchb.el (iswitchb-kill-buffer): Re-make the list.
3247 2010-08-22 Kirk Kelsey <kirk.kelsey@0x4b.net> (tiny change)
3248 Stefan Monnier <monnier@iro.umontreal.ca>
3250 * progmodes/make-mode.el (makefile-fill-paragraph): Account for the
3251 extra backslash added to each line (bug#6890).
3253 2010-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
3255 * subr.el (read-key): Don't echo keystrokes (bug#6883).
3257 2010-08-22 Glenn Morris <rgm@gnu.org>
3259 * menu-bar.el (menu-bar-games-menu): Add landmark.
3261 2010-08-22 Glenn Morris <rgm@gnu.org>
3263 * align.el (align-regexp): Make group and spacing arguments
3264 use the interactive defaults when non-interactive. (Bug#6698)
3266 * mail/rmail.el (rmail-forward): Replace mail-text-start with its
3267 expansion, so as not to need sendmail.
3268 (mail-text-start): Remove declaration.
3269 (rmail-retry-failure): Require sendmail.
3271 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
3273 * subr.el (read-key): Don't hide the menu-bar entries (bug#6881).
3275 2010-08-22 Michael Albinus <michael.albinus@gmx.de>
3277 * progmodes/flymake.el (flymake-start-syntax-check-process):
3278 Use `start-file-process' in order to let it run also on remote hosts.
3280 2010-08-22 Kenichi Handa <handa@m17n.org>
3282 * files.el: Add `word-wrap' as safe local variable.
3284 2010-08-22 Glenn Morris <rgm@gnu.org>
3286 * woman.el (woman-translate): Case matters. (Bug#6849)
3288 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
3290 * simple.el (kill-region): Doc fix (Bug#6787).
3292 2010-08-22 Glenn Morris <rgm@gnu.org>
3294 * calendar/diary-lib.el (diary-header-line-format):
3295 Fit it to the window, not the frame.
3297 2010-08-22 Andreas Schwab <schwab@linux-m68k.org>
3299 * subr.el (ignore-errors): Add debug declaration.
3301 2010-08-22 Geoff Gole <geoffgole@gmail.com> (tiny change)
3303 * whitespace.el (whitespace-color-off): Remove post-command-hook
3306 2010-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
3308 * vc/add-log.el (add-log-file-name): Don't get confused by symlinks.
3310 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
3312 * cus-edit.el (custom-group-value-create): Add extra newline
3313 before end line (Bug#6876).
3315 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
3317 * mouse.el (mouse-save-then-kill): Don't save region to kill ring
3318 when extending it. Before killing on the second click, check if
3319 the buffer is the correct one. Doc fix.
3320 (mouse-secondary-save-then-kill): Allow usage without first
3321 calling mouse-start-secondary, by defaulting to point. Don't save
3322 an empty secondary selection. Doc fix.
3324 2010-08-21 Vinicius Jose Latorre <viniciusjl@ig.com.br>
3326 * whitespace.el: Fix slow cursor movement (Bug#6172). Reported by
3327 Christoph Groth <cwg@falma.de> and Liu Xin <x_liu@neusoft.com>.
3329 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
3330 Adjust initialization.
3331 (whitespace-bob-marker, whitespace-eob-marker)
3332 (whitespace-buffer-changed): New vars.
3333 (whitespace-cleanup, whitespace-color-on, whitespace-color-off)
3334 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp)
3335 (whitespace-post-command-hook, whitespace-display-char-on):
3337 (whitespace-looking-back, whitespace-buffer-changed): New funs.
3338 (whitespace-space-regexp, whitespace-tab-regexp): Fun eliminated.
3340 2010-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
3342 * files.el (locate-file-completion-table): Only list the .el and .elc
3343 extensions if there's no other choice (bug#5955).
3345 * facemenu.el (facemenu-self-insert-data): New var.
3346 (facemenu-post-self-insert-function, facemenu-set-self-insert-face):
3348 (facemenu-add-face): Use them.
3350 * simple.el (blink-matching-open): Obey forward-sexp-function.
3352 2010-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
3354 * simple.el (prog-mode-map): New var.
3355 (prog-indent-sexp): New command.
3357 * progmodes/octave-mod.el (octave-mode-menu): Make toggle buttons.
3359 * progmodes/prolog.el (smie): Require.
3361 * emacs-lisp/smie.el (smie-default-backward-token)
3362 (smie-default-forward-token): Strip properties.
3363 (smie-next-sexp): Be more careful with associative operators.
3364 (smie-forward-sexp-command): Generalize.
3365 (smie-backward-sexp-command): Simplify.
3366 (smie-closer-alist): New var.
3367 (smie-close-block): New command.
3368 (smie-indent-debug-log): New var.
3369 (smie-indent-offset-rule): Add a few more cases.
3370 (smie-indent-column): New function.
3371 (smie-indent-after-keyword): Use it.
3372 (smie-indent-keyword): Use it.
3373 Fix up the opener code's point position.
3374 (smie-indent-comment): Only applies at BOL.
3375 (smie-indent-debug): New command.
3377 * emacs-lisp/autoload.el (make-autoload): Preload the macros's
3378 declarations that are useful before running the macro.
3380 2010-08-18 Joakim Verona <joakim@verona.se>
3382 * image.el (imagemagick-types-inhibit): New variable.
3383 (imagemagick-register-types): New function.
3384 * image-mode.el (image-transform-properties): New function.
3385 (image-transform-set-scale, image-transform-fit-to-height)
3386 (image-transform-set-rotation, image-transform-set-resize)
3387 (image-transform-fit-to-width, image-transform-fit-to-height):
3389 (image-toggle-display-image): Support image transforms.
3391 2010-08-18 Katsumi Yamaoka <yamaoka@jpl.org>
3393 * image.el (create-animated-image): Don't add heuristic mask to image
3396 2010-08-18 Jan Djärv <jan.h.d@swipnet.se>
3398 * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard):
3399 Use QCLIPBOARD instead of QPRIMARY (Bug#6677).
3401 2010-08-17 Stefan Monnier <monnier@iro.umontreal.ca>
3403 * emacs-lisp/lisp.el (up-list): Obey forward-sexp-function if set.
3405 Font-lock '...' strings, plus various simplifications and fixes.
3406 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
3407 (octave-font-lock-close-quotes): New function.
3408 (octave-font-lock-syntactic-keywords): New var.
3409 (octave-mode): Use it. Set beginning-of-defun-function.
3410 (octave-mode-map): Don't override the <foo>-defun commands.
3411 (octave-mode-menu): Pass it directly to easy-menu-define;
3412 remove (now generic) <foo>-defun commands; use info-lookup-symbol.
3413 (octave-block-match-alist): Fix up last change so that
3414 octave-close-block uses the more specific keyword.
3415 (info-lookup-mode): Silence byte-compiler.
3416 (octave-beginning-of-defun): Not interactive any more.
3418 (octave-end-of-defun, octave-mark-defun, octave-in-defun-p): Remove.
3419 (octave-indent-defun, octave-send-defun): Use mark-defun instead.
3420 (octave-completion-at-point-function): Make sure point is within
3422 (octave-reindent-then-newline-and-indent):
3423 Use reindent-then-newline-and-indent.
3424 (octave-add-octave-menu): Remove.
3426 2010-08-17 Jan Djärv <jan.h.d@swipnet.se>
3428 * mail/emacsbug.el (report-emacs-bug-insert-to-mailer)
3429 (report-emacs-bug-can-use-xdg-email): New functions.
3430 (report-emacs-bug): Set can-xdg-email to result of
3431 report-emacs-bug-can-use-xdg-email. If can-xdg-email bind
3432 \C-cm to report-emacs-bug-insert-to-mailer and add help text
3435 * net/browse-url.el (browse-url-default-browser): Add cond
3436 for browse-url-xdg-open.
3437 (browse-url-can-use-xdg-open, browse-url-xdg-open): New functions.
3439 2010-08-17 Glenn Morris <rgm@gnu.org>
3441 * progmodes/cc-engine.el (c-new-BEG, c-new-END)
3442 (c-fontify-recorded-types-and-refs): Define for compiler.
3443 * progmodes/cc-mode.el (c-new-BEG, c-new-END): Move definitions
3446 * calendar/icalendar.el (icalendar--convert-recurring-to-diary):
3449 2010-08-17 Michael Albinus <michael.albinus@gmx.de>
3451 * net/tramp.el (tramp-handle-make-symbolic-link): Flush file
3453 (tramp-handle-process-file): Call the program in a subshell, in
3454 order to preserve working directory.
3455 (tramp-action-password): Hide password prompt before next run.
3456 (tramp-process-actions): Widen connection buffer for the trace.
3458 2010-08-16 Deniz Dogan <deniz.a.m.dogan@gmail.com>
3460 * net/rcirc.el (rcirc-log-process-buffers): New option.
3461 (rcirc-print): Use it.
3462 (rcirc-generate-log-filename): New function.
3463 (rcirc-log-filename-function): Change default to
3464 rcirc-generate-log-filename (Bug#6828).
3466 2010-08-16 Chong Yidong <cyd@stupidchicken.com>
3468 * simple.el (deactivate-mark): If select-active-regions is `only',
3469 only set selection for temporarily active regions.
3471 * cus-start.el: Change defcustom for select-active-regions.
3473 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
3475 * mouse.el (mouse--drag-set-mark-and-point): New function.
3476 (mouse-drag-track): Use LOCATION arg to push-mark.
3477 Use mouse--drag-set-mark-and-point to take click-count into
3478 consideration when updating point and mark (Bug#6840).
3480 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
3482 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3483 Give the Ruby rule a lower priority than Gnu (Bug#6778).
3485 2010-08-14 Štěpán Němec <stepnem@gmail.com> (tiny change)
3487 * font-lock.el (lisp-font-lock-keywords-2):
3488 Add combine-after-change-calls, condition-case-no-debug,
3489 with-demoted-errors, and with-silent-modifications (Bug#6025).
3491 2010-08-14 Kevin Ryde <user42@zip.com.au>
3493 * emacs-lisp/copyright.el (copyright-update-year)
3494 (copyright-update): Temporary switch-to-buffer to ensure the
3495 buffer change being queried is visible (Bug#5394).
3497 2010-08-14 Tom Tromey <tromey@redhat.com>
3499 * progmodes/etags.el (tags-file-name): Mark safe if stringp
3502 2010-08-14 Eli Zaretskii <eliz@gnu.org>
3504 * mouse.el (mouse-yank-primary): Fix mouse-2 on MS-Windows and
3507 2010-08-13 Jan Djärv <jan.h.d@swipnet.se>
3509 * menu-bar.el (menu-bar-set-tool-bar-position): New function.
3510 (menu-bar-showhide-tool-bar-menu-customize-enable-left)
3511 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
3512 (menu-bar-showhide-tool-bar-menu-customize-enable-top)
3513 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom):
3514 Call menu-bar-set-tool-bar-position.
3516 2010-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
3518 * progmodes/octave-mod.el (octave-mode-syntax-table): Use the new "c"
3519 comment style (bug#6834).
3520 * progmodes/scheme.el (scheme-mode-syntax-table):
3521 * emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Remove spurious
3522 "b" flag in "' 14b" syntax.
3524 * progmodes/octave-mod.el (octave-mode-map): Remove special bindings
3525 for (un)commenting the region and performing completion.
3526 (octave-mode-menu): Use standard commands for help and completion.
3527 (octave-mode-syntax-table): Support %{..%} comments (sort of).
3528 (octave-mode): Use define-derived-mode.
3529 Set completion-at-point-functions and don't set columns.
3530 Don't disable adaptive-fill-regexp.
3531 (octave-describe-major-mode, octave-comment-region)
3532 (octave-uncomment-region, octave-comment-indent)
3533 (octave-indent-for-comment): Remove.
3534 (octave-indent-calculate): Rename from calculate-octave-indent.
3535 (octave-indent-line, octave-fill-paragraph): Update caller.
3536 (octave-initialize-completions): No need to make an alist.
3537 (octave-completion-at-point-function): New function.
3538 (octave-complete-symbol): Use it.
3539 (octave-insert-defun): Use define-skeleton.
3541 * progmodes/octave-mod.el (octave-mode): Set comment-add.
3542 (octave-mode-map): Use comment-dwim (bug#6829).
3544 2010-08-12 Antoine Levitt <antoine.levitt@gmail.com> (tiny change)
3546 * cus-edit.el (custom-save-variables, custom-save-faces): Fix up
3547 indentation of inserted comment.
3549 2010-08-11 Jan Djärv <jan.h.d@swipnet.se>
3551 * faces.el (region): Add type gtk that uses gtk colors.
3553 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
3554 Handle theme-name change.
3556 2010-08-10 Michael R. Mauger <mmaug@yahoo.com>
3558 * progmodes/sql.el: Version 2.5
3559 (sql-product-alist): Add :prompt-cont-regexp property for several
3561 (sql-prompt-cont-regexp): New variable.
3562 (sql-output-newline-count, sql-output-by-send):
3563 New variables. Record number of newlines in input text.
3564 (sql-send-string): Handle multiple filters and count newlines.
3565 (sql-send-magic-terminator): Count terminator newline.
3566 (sql-interactive-remove-continuation-prompt): Filters output to
3567 remove continuation prompts; one for each newline.
3568 (sql-interactive-mode): Set up new variables, prompt regexp and
3570 (sql-mode-sqlite-font-lock-keywords): Correct some keywords.
3571 (sql-make-alternate-buffer-name): Correct buffer name in edge cases.
3573 2010-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
3575 * emacs-lisp/pcase.el: New file.
3577 2010-08-10 Michael Albinus <michael.albinus@gmx.de>
3579 * net/tramp.el (tramp-vc-registered-read-file-names): Read input
3580 as here-document, otherwise the command could exceed maximum
3581 length of command line.
3582 (tramp-handle-vc-registered): Call script accordingly.
3583 Reported by Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>.
3585 2010-08-10 Kenichi Handa <handa@m17n.org>
3587 * language/hebrew.el: Exclude U+05C3 (Hebrew SOF PASUQ) from the
3590 2010-08-09 Chong Yidong <cyd@stupidchicken.com>
3592 * emacs-lisp/package.el (package-version-split)
3593 (package--version-first-nonzero, package-version-compare):
3595 (package-directory-list, package-load-all-descriptors)
3596 (package--built-in, package-activate, define-package)
3597 (package-installed-p, package-compute-transaction)
3598 (package-read-all-archive-contents)
3599 (package--add-to-archive-contents, package-buffer-info)
3600 (package-tar-file-info, package-list-packages-internal):
3601 Use version-to-list and version-list-*.
3603 * emacs-lisp/package-x.el (package-upload-buffer-internal):
3604 Use version-to-list.
3605 (package-upload-buffer-internal): Use version-list-<=.
3607 2010-08-09 Kenichi Handa <handa@m17n.org>
3609 * language/hebrew.el: Exclude U+05BD (Hebrew MAQAF) from the
3612 2010-08-08 Chong Yidong <cyd@stupidchicken.com>
3614 * tutorial.el (tutorial--default-keys): C-d is now bound to
3615 delete-forward-char (Bug#6826).
3617 * mouse.el (mouse-drag-track): Remove accidentally-removed check
3618 for `double' value of mouse-1-click-follows-link (Bug#6807).
3620 2010-08-08 Johan Bockgård <bojohan@gnu.org>
3622 * replace.el (replace-highlight): Bind isearch-forward and
3623 isearch-error, ensuring that highlighting is updated if the user
3624 switches the search direction (Bug#6808).
3626 * isearch.el (isearch-lazy-highlight-forward): New var.
3627 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
3628 (isearch-lazy-highlight-update): Use it.
3630 2010-08-08 Kenichi Handa <handa@m17n.org>
3632 * international/mule.el (define-charset): Store NAME as :base property.
3633 (ctext-non-standard-encodings-table): Pay attention to charset aliases.
3634 (ctext-pre-write-conversion): Sort ctext-standard-encodings by the
3635 current priority. Force using the designation of the specific
3636 charset by adding `charset' text property. Improve the whole algorithm.
3638 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
3640 * emulation/pc-select.el (pc-selection-mode-hook)
3641 (copy-region-as-kill-nomark, beginning-of-buffer-mark)
3642 (pc-selection-mode): Fix typos in docstrings.
3644 2010-08-08 Kenichi Handa <handa@m17n.org>
3646 * language/cyrillic.el: Don't add "microsoft-cp1251" to
3647 ctext-non-standard-encodings-alist here.
3649 * international/mule.el (ctext-non-standard-encodings-alist):
3650 Add "koi8-r" and "microsoft-cp1251".
3651 (ctext-standard-encodings): New variable.
3652 (ctext-non-standard-encodings-table): List only elements for
3653 non-standard encodings.
3654 (ctext-pre-write-conversion): Adjust for the above change.
3655 Check ctext-standard-encodings.
3657 * international/mule-conf.el (compound-text): Doc fix.
3658 (ctext-no-compositions): Doc fix.
3659 (compound-text-with-extensions): Doc fix.
3661 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
3663 * simple.el (exchange-dot-and-mark): Mark obsolete, finally.
3665 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
3667 * progmodes/which-func.el (which-func-format): Split help-echo text
3668 into lines, like other mode-line tooltips.
3670 * server.el (server-start): When using TCP sockets, force IPv4
3671 and use a literal 127.0.0.1 for localhost. (Related to bug#6781.)
3673 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
3675 * bindings.el (complete-symbol): Run completion-at-point as a fallback.
3677 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
3679 * term.el (term-delimiter-argument-list): Reflow docstring.
3680 (term-read-input-ring, term-write-input-ring, term-send-input)
3681 (term-bol, term-erase-in-display, serial-supported-or-barf):
3682 Fix typos in docstrings.
3684 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
3686 * bindings.el (function-key-map): Add a S-tab => backtab fallback.
3688 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
3690 * dabbrev.el (dabbrev-completion): Fix typo in docstring.
3692 2010-08-08 MON KEY <monkey@sandpframing.com> (tiny change)
3694 * emacs-lisp/syntax.el (syntax-ppss-toplevel-pos):
3695 Fix typo in docstring (bug#6747).
3697 2010-08-08 Leo <sdl.web@gmail.com>
3699 * eshell/esh-io.el (eshell-get-target): Better detection of
3700 read-only file (Bug#6762).
3702 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
3704 * align.el (align-default-spacing): Doc fix.
3705 (align-region-heuristic, align-regexp): Fix typos in docstrings.
3707 2010-08-08 Stephen Peters <speters@itasoftware.com>
3709 * calendar/icalendar.el
3710 (icalendar--split-value): Fix splitting regexp. (Bug#6766)
3711 (icalendar--get-weekday-numbers): New.
3712 (icalendar--convert-recurring-to-diary): Handle multiple byday
3713 values in weekly rules. (Bug#6766)
3715 2010-08-08 Ulf Jasper <ulf.jasper@web.de>
3717 * calendar/icalendar.el (icalendar-uid-format): Doc fix.
3718 (icalendar--create-uid, icalendar-export-region)
3719 (icalendar--parse-summary-and-rest): Code formatting.
3721 2010-08-08 Jay Belanger <jay.p.belanger@gmail.com>
3723 * calc/calc.el (calc-trail-mode,calc-refresh): Use `face' property
3724 to italicize headers.
3725 (calc-highlight-selections-with-faces): New variable.
3726 (calc-selected-face, calc-nonselected-face): New faces.
3728 * calc/calccomp.el (math-comp-highlight-string): Use
3729 `calc-highlight-selections-with-faces' to determine how to highlight
3732 * calc/calc-sel.el (calc-show-selections): Change message to when
3733 using faces to highlight selections.
3735 2010-08-07 Michael R. Mauger <mmaug@yahoo.com>
3737 * progmodes/sql.el (sql-mode-sqlite-font-lock-keywords):
3738 Add SQLite 3 keywords, functions and datatypes.
3739 (sql-interactive-mode): Remove `comint-process-echoes' set to t
3742 2010-08-07 Chong Yidong <cyd@stupidchicken.com>
3744 * simple.el (select-active-regions): Move to keyboard.c.
3745 (deactivate-mark): Used saved-region-selection.
3746 (select-active-region): Function removed.
3747 (activate-mark, set-mark, push-mark-command)
3748 (handle-shift-selection): Don't call it.
3749 (keyboard-quit): Avoid adding the region to the window selection.
3751 * mouse.el (mouse-drag-track): Remove hacks to deal with old
3752 select-active-regions implementation.
3753 (mouse-yank-at-click): Doc fix.
3755 * cus-start.el: Add custom declaration for select-active-regions.
3757 2010-08-07 Eli Zaretskii <eliz@gnu.org>
3759 * simple.el (delete-forward-char): Doc fix.
3761 * tutorial.el (help-with-tutorial): Hack safe file-local variables
3762 after reading the tutorial.
3764 2010-08-06 Alan Mackenzie <bug-cc-mode@gnu.org>
3766 * progmodes/cc-cmds.el (c-mask-paragraph, c-fill-paragraph): Fix
3767 for the case that a C style comment has its delimiters alone on
3768 their respective lines.
3770 2010-08-06 Michael Albinus <michael.albinus@gmx.de>
3772 * net/tramp.el (tramp-handle-start-file-process): Set connection
3774 (tramp-process-sentinel): Use it for flushing the cache. We
3775 cannot do it via the process buffer, the buffer could be deleted
3776 already when running the sentinel.
3778 2010-08-06 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
3780 * comint.el (comint-mode): Make directory tracking functions
3781 functional on remote files. (Bug#6764)
3783 2010-08-06 Dan Nicolaescu <dann@ics.uci.edu>
3785 * vc/diff-mode.el (diff-mode-shared-map): Bind g to revert-buffer.
3787 2010-08-05 Eli Zaretskii <eliz@gnu.org>
3789 * emacs-lisp/find-gc.el (find-gc-source-files): Rename
3790 unexec.c => unexcoff.c.
3792 * emacs-lisp/authors.el (authors-fixed-entries): Rename
3793 unexec.c => unexcoff.c.
3795 2010-08-05 Michael Albinus <michael.albinus@gmx.de>
3797 * net/tramp.el (tramp-handle-dired-uncache): Flush directory
3798 cache, not only file cache.
3799 (tramp-process-sentinel): New defun.
3800 (tramp-handle-start-file-process): Use it, in order to invalidate
3803 2010-08-03 Leo <sdl.web@gmail.com>
3805 * server.el (server-start): Simplify loop.
3807 2010-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
3809 * frame.el (screen-height, screen-width, set-screen-width)
3810 (set-screen-height): Remove ancient compatibility aliases.
3812 * textmodes/fill.el (justify-current-line): Don't add 1 to nspaces
3813 when justifying. It seems useless and harmful for ncols=1 (bug#6738).
3815 * emacs-lisp/timer.el (timer-event-handler): Protect against timers
3816 that change current buffer.
3818 2010-08-01 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
3820 * mouse.el (mouse-fixup-help-message): Match "mouse-2" only at the
3821 beginning of the string. Use `string-match-p'. (Bug#6765)
3823 2010-08-01 Jan Djärv <jan.h.d@swipnet.se>
3825 * cus-start.el (x-gtk-use-system-tooltips): New variable.
3827 2010-08-01 Chong Yidong <cyd@stupidchicken.com>
3829 * emacs-lisp/package.el (package--list-packages): Fix column alignment.
3830 (package--builtins): Tweak descriptions.
3831 (package-print-package): Upcase descriptions if necessary.
3832 Show all built-in packages in font-lock-builtin-face.
3833 (package-list-packages-internal): Omit "emacs" package.
3834 Show status of built-in packages as "built-in".
3836 2010-07-31 Chong Yidong <cyd@stupidchicken.com>
3838 * mouse.el (mouse-save-then-kill): Doc fix. Deactivate mark
3839 before killing to preserve the primary selection (Bug#6701).
3841 * term/x-win.el (x-select-text): Doc fix.
3843 2010-07-31 Nathaniel Flath <flat0103@gmail.com>
3845 Enhance Java Mode to handle Java 5.0 (Tiger) and Java 6 (Mustang).
3846 The following functions were modified or created:
3848 * progmodes/cc-vars.el (c-offsets-alist, c-inside-block-syms)
3849 (objc-font-lock-extra-types):
3850 * progmodes/cc-mode.el (c-basic-common-init):
3851 * progmodes/cc-langs.el (c-make-mode-syntax-table)
3852 (c++-make-template-syntax-table)
3853 (c-identifier-syntax-modifications, c-symbol-start, c-operators)
3854 (c-<-op-cont-regexp, c->-op-cont-regexp, c-class-decl-kwds)
3855 (c-brace-list-decl-kwds, c-modifier-kwds, c-prefix-spec-kwds-re)
3856 (c-type-list-kwds, c-decl-prefix-re, c-opt-type-suffix-key):
3857 * progmodes/cc-fonts.el (c-make-inverse-face)
3858 (c-basic-matchers-after):
3859 * progmodes/cc-engine.el (c-forward-keyword-clause)
3860 (c-forward-<>-arglist, c-forward-<>-arglist-recur)
3861 (c-forward-name, c-forward-type, c-forward-decl-or-cast-1)
3862 (c-guess-continued-construct, c-guess-basic-syntax):
3864 2010-07-31 Jan Djärv <jan.h.d@swipnet.se>
3866 * faces.el (face-all-attributes): Improve documentation (Bug#6767).
3868 2010-07-31 Eli Zaretskii <eliz@gnu.org>
3870 * files.el (bidi-paragraph-direction): Define safe local values.
3872 * language/hebrew.el ("Hebrew"): Add TUTORIAL.he to
3873 language-info-alist. Remove outdated FIXME in a comment.
3875 2010-07-31 Alan Mackenzie <acm@muc.de>
3877 * progmodes/cc-cmds.el (c-mask-paragraph): Fix bug #6688:
3878 Auto-fill broken in C/C++ modes.
3880 2010-07-29 Jan Djärv <jan.h.d@swipnet.se>
3882 * menu-bar.el (menu-bar-showhide-tool-bar-menu-customize-enable-left)
3883 (menu-bar-showhide-tool-bar-menu-customize-disable)
3884 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
3885 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom)
3886 (menu-bar-showhide-tool-bar-menu-customize-enable-top): New functions
3887 (menu-bar-showhide-tool-bar-menu): If tool bar is moveable,
3888 make a menu for Options => toolbar that can move it.
3890 2010-07-29 Chong Yidong <cyd@stupidchicken.com>
3892 * emacs-lisp/package-x.el (package--make-rss-entry):
3893 (package-maint-add-news-item, package--update-news)
3894 (package-upload-buffer-internal): New arg ARCHIVE-URL.
3896 * emacs-lisp/package.el (package-archive-url): Rename from
3898 (package-install): Doc fix.
3899 (package-download-single, package-download-tar, package-install)
3900 (package-menu-view-commentary): Callers changed.
3902 2010-07-29 Michael Albinus <michael.albinus@gmx.de>
3904 * net/tramp.el (tramp-handle-start-file-process): Check only for
3905 `remote-tty' process property.
3906 (tramp-open-shell): Don't check for tty.
3907 (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
3910 * progmodes/gdb-mi.el (gdb-init-1): Check also for tty on a remote
3913 2010-07-28 Chong Yidong <cyd@stupidchicken.com>
3915 * emacs-lisp/package.el (package-load-list, package-archives)
3916 (package-archive-contents, package-user-dir)
3917 (package-directory-list, package--builtins, package-alist)
3918 (package-activated-list, package-obsolete-alist): Mark as risky.
3920 2010-07-28 Phil Hagelberg <phil@evri.com>
3922 Add support for non-default package repositories.
3923 * emacs-lisp/package.el (package-archive-base): Var deleted.
3924 (package-archives): New variable.
3925 (package-archive-contents): Doc fix.
3926 (package-load-descriptor): Do nothing if descriptor file is missing.
3927 (package--write-file-no-coding): New function.
3928 (package-unpack-single): Use it.
3929 (package-archive-id): New function.
3930 (package-download-single, package-download-tar)
3931 (package-menu-view-commentary): Use it.
3932 (package-installed-p): Make second argument optional.
3933 (package-read-all-archive-contents): New function.
3934 (package-initialize): Use it.
3935 (package-read-archive-contents): Add ARCHIVE argument.
3936 (package--add-to-archive-contents): New function.
3937 (package-install): Don't call package-read-archive-contents.
3938 (package--download-one-archive): Store archive file in a
3939 subdirectory of package-user-dir.
3940 (package-menu-execute): Remove spurious line movement.
3942 2010-07-28 Jan Djärv <jan.h.d@swipnet.se>
3944 * cus-start.el (tool-bar-style): Add text-image-horiz.
3946 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
3948 * progmodes/gud.el (gud-common-init): Check for remoteness of
3949 `file', and not of `default-directory'.
3951 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
3953 * net/tramp.el (tramp-methods): Move hostname to the end in all
3954 ssh `tramp-login-args'.
3955 (tramp-verbose): Describe verbose level 9.
3956 (tramp-open-shell): Check for tty if `tramp-verbose' >= 9.
3957 (tramp-open-connection-setup-interactive-shell): Trace stty
3958 settings if `tramp-verbose' >= 9.
3959 (tramp-handle-start-file-process): Implement tty setting.
3960 (Bug#4604, Bug#6360)
3962 * net/tramp-cmds.el (tramp-bug): Recommend setting of
3963 `tramp-verbose' to 9.
3965 2010-07-27 Aaron S. Hawley <ashawley@burlingtontelecom.net>
3967 * emacs-lisp/re-builder.el (reb-re-syntax, reb-lisp-mode)
3968 (reb-lisp-syntax-p, reb-change-syntax, reb-cook-regexp):
3969 Remove references to package `lisp-re' (bug#4369).
3971 2010-07-27 Tom Tromey <tromey@redhat.com>
3973 * progmodes/js.el (js-mode):
3974 * progmodes/make-mode.el (makefile-mode):
3975 * progmodes/simula.el (simula-mode):
3976 * progmodes/tcl.el (tcl-mode): Derive from prog-mode.
3978 2010-07-27 Juanma Barranquero <lekktu@gmail.com>
3980 * help-fns.el (find-lisp-object-file-name): Doc fix (bug#6494).
3982 * time.el (display-time-day-and-date): Remove spurious * in docstring.
3983 (display-time-world-buffer-name, display-time-world-mode-map):
3984 Fix typos in docstrings.
3986 2010-07-27 Shyam Karanatt <shyam@swathanthran.in> (tiny change)
3988 * image-mode.el (image-display-size): New function.
3989 (image-forward-hscroll, image-next-line, image-eol, image-eob)
3990 (image-mode-fit-frame): Use it (Bug#6639).
3992 2010-07-27 Chong Yidong <cyd@stupidchicken.com>
3994 * dired.el (dired-buffers-for-dir): Handle list values of
3995 dired-directory (Bug#6636).
3997 2010-07-26 Sam Steingold <sds@gnu.org>
3999 * mouse.el (mouse-yank-primary, mouse-yank-secondary):
4000 Do not call `x-get-selection' the second time, reuse the value.
4002 2010-07-26 Daiki Ueno <ueno@unixuser.org>
4004 * epa-mail.el (epa-mail-mode-map): Add alternative key bindings
4005 which consist of control chars only. Suggested by Richard Stallman.
4007 2010-07-25 Daiki Ueno <ueno@unixuser.org>
4009 * epa-file.el (epa-file-insert-file-contents): Check if LOCAL-FILE
4010 exists before passing an error to find-file-not-found-functions
4013 2010-07-23 Lukas Huonker <l.huonker@gmail.com>
4015 * play/tetris.el (tetris-tty-colors, tetris-x-colors, tetris-blank):
4016 Remove leading nil element, adjust values.
4017 (tetris-shapes, tetris-shape-scores):
4018 Change representation of shapes and remove some redundancy.
4019 (tetris-get-shape-cell, tetris-shape-width, tetris-draw-next-shape)
4020 (tetris-draw-shape, tetris-erase-shape, tetris-test-shape):
4021 Adjust for working with new representation of shapes.
4022 (tetris-shape-rotations): New function.
4023 (tetris-move-bottom, tetris-move-left, tetris-move-right)
4024 (tetris-rotate-prev, tetris-rotate-next):
4025 Adjust for working with the new version of tetris-test-shape.
4027 2010-07-23 Markus Triska <markus.triska@gmx.at>
4029 * progmodes/ps-mode.el: Use comint (bug#5954).
4030 (ps-run-mode-map): Adapt for comint-mode; omit "\r", [return]..
4031 (ps-mode-other-newline): Simplify.
4032 (ps-run-mode): Derive from comint-mode instead of
4033 fundamental-mode, yielding input history etc.
4034 (ps-run-start, ps-run-quit, ps-run-clear, ps-run-region)
4035 (ps-run-send-string): Adapt for comint-mode.
4036 (ps-run-newline): Remove now unneeded function.
4038 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
4040 * net/tramp.el (tramp-methods): Move hostname to the end in all
4041 plink `tramp-login-args'.
4043 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
4045 * net/tramp.el (tramp-open-shell): New defun.
4046 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
4049 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
4051 * net/tramp.el (tramp-file-name-regexp-unified)
4052 (tramp-completion-file-name-regexp-unified): On W32 systems, do
4053 not regard the volume letter as remote filename. (Bug#5447)
4055 2010-07-23 Juanma Barranquero <lekktu@gmail.com>
4057 * custom.el (custom-declare-variable): Give a clearer error message
4058 when the docstring is missing (bug#6476).
4060 2010-07-22 Michael R. Mauger <mmaug@yahoo.com>
4062 * progmodes/sql.el: Version 2.4. Improved Login prompting.
4063 (sql-login-params): New widget definition.
4064 (sql-oracle-login-params, sql-mysql-login-params)
4065 (sql-solid-login-params, sql-sybase-login-params)
4066 (sql-informix-login-params, sql-ingres-login-params)
4067 (sql-ms-login-params, sql-postgres-login-params)
4068 (sql-interbase-login-params, sql-db2-login-params)
4069 (sql-linter-login-params): Use it.
4070 (sql-sqlite-login-params): Use it; Define "database" parameter as
4072 (sql-sqlite-program): Change to "sqlite3".
4073 (sql-comint-sqlite): Make sure database name is complete.
4074 (sql-for-each-login): New function.
4075 (sql-connect, sql-save-connection): Use it.
4076 (sql-get-login-ext): New function.
4077 (sql-get-login): Use it.
4078 (sql-make-alternate-buffer-name): Handle :file parameters.
4080 2010-07-22 Juanma Barranquero <lekktu@gmail.com>
4082 * dired.el (dired-no-confirm): Document value t and fix defcustom to
4083 accept it (bug#6597). Suggested by Drew Adams <drew.adams@oracle.com>.
4085 2010-07-22 Teemu Likonen <tlikonen@iki.fi> (tiny change)
4087 * dired.el (dired-mode-map): Use command remapping (bug#6632).
4089 2010-07-22 Lawrence Mitchell <wence@gmx.li>
4091 * term/vt100.el (vt100-wide-mode): Fix :init-value keyword (bug#6620).
4093 2010-07-21 Michael Albinus <michael.albinus@gmx.de>
4095 * net/tramp.el (tramp-get-ls-command)
4096 (tramp-get-ls-command-with-dired): Run tests on "/dev/null"
4099 2010-07-20 Michael R. Mauger <mmaug@yahoo.com>
4101 * progmodes/sql.el: Version 2.3.
4102 (sql-connection-alist): Changed keys from symbols to strings;
4103 enhanced the widget definition.
4104 (sql-mode-menu): Added submenu to select connections.
4105 (sql-interactive-mode-menu): Added "Save Connection" item.
4106 (sql-add-product): Fixed menu item.
4107 (sql-get-product-feature): Improved error handling.
4108 (sql--alt-buffer-part, sql--alt-if-not-empty): Removed.
4109 (sql-make-alternate-buffer-name): Simplified.
4110 (sql-product-interactive): Handle missing product.
4111 (sql-connect): Support string keys, minor improvements.
4112 (sql-save-connection): New function.
4113 (sql-connection-menu-filter): New function.
4115 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
4117 * net/tramp.el (tramp-file-name-handler): Trace 'quit.
4118 (tramp-open-connection-setup-interactive-shell): Apply
4119 workaround for IRIX64 bug. Move argument of last
4120 `tramp-send-command' where it belongs to.
4122 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
4124 * net/tramp.el (tramp-perl-file-attributes)
4125 (tramp-perl-directory-files-and-attributes): Don't pass "$3".
4126 (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
4127 front of `login-args'.
4129 2010-07-19 Juanma Barranquero <lekktu@gmail.com>
4131 * time.el (display-time-world-mode): Define with `define-derived-mode'.
4132 Set `show-trailing-whitespace' to nil.
4133 (display-time-world-display): Simplify.
4135 2010-07-18 Alan Mackenzie <acm@muc.de>
4137 Enhance `c-file-style' in file/directory local variables.
4138 * progmodes/cc-mode.el (c-count-cfss): New function.
4139 (c-before-hack-hook): Call `c-set-style' differently according to
4140 whether c-file-style was set in file or directory local
4143 2010-07-18 Michael R. Mauger <mmaug@yahoo.com>
4145 * progmodes/sql.el: Version 2.2.
4146 (sql-product, sql-user, sql-database, sql-server, sql-port): Use
4147 defcustom :safe keyword rather than putting safe-local-variable
4149 (sql-password): Use defcustom :risky keyword rather than putting
4150 risky-local-variable property.
4151 (sql-oracle-login-params, sql-sqlite-login-params)
4152 (sql-solid-login-params, sql-sybase-login-params)
4153 (sql-informix-login-params, sql-ingres-login-params)
4154 (sql-ms-login-params, sql-postgres-login-params)
4155 (sql-interbase-login-params, sql-db2-login-params)
4156 (sql-linter-login-params): Add `port' option.
4157 (sql-get-product-feature): Added NO-INDIRECT parameter.
4158 (sql-comint-oracle, sql-comint-sybase)
4159 (sql-comint-informix, sql-comint-sqlite, sql-comint-mysql)
4160 (sql-comint-solid, sql-comint-ingres, sql-comint-ms)
4161 (sql-comint-postgres, sql-comint-interbase, sql-comint-db2)
4162 (sql-comint-linter): Renamed sql-connect-* functions to
4164 (sql-product-alist, sql-mode-menu): Renamed as above and
4165 :sqli-connect-func to :sqli-comint-func.
4166 (sql-connection): New variable.
4167 (sql-interactive-mode): Set it.
4168 (sql-connection-alist): New variable.
4169 (sql-connect): New function.
4170 (sql--alt-buffer-part, sql--alt-if-not-empty)
4171 (sql-make-alternate-buffer-name): Improved alternative buffer name.
4173 2010-07-17 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4175 * image-mode.el (image-bookmark-make-record): Do not set context
4176 in an image (Bug#6650).
4178 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
4180 * simple.el (select-active-region): New function.
4181 (push-mark-command, set-mark, activate-mark)
4182 (handle-shift-selection): Use it.
4183 (deactivate-mark): Don't check for size of region.
4185 * mouse.el (mouse-drag-track): Use select-active-region.
4187 2010-07-17 Michael Albinus <michael.albinus@gmx.de>
4189 * net/tramp.el (tramp-get-ls-command-with-dired): Make test for
4192 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
4194 * term/x-win.el (x-select-enable-primary): Change default to nil.
4195 (x-select-enable-clipboard): Add :version keyword.
4197 * mouse.el (mouse-drag-copy-region):
4198 * simple.el (select-active-regions): Likewise.
4200 2010-07-16 Reiner Steib <Reiner.Steib@gmx.de>
4202 * vc/vc.el (vc-coding-system-inherit-eol): New defvar.
4203 (vc-coding-system-for-diff): Use it to decide whether to inherit
4204 from the file the EOL format for reading the diffs of that file.
4207 2010-07-16 Eli Zaretskii <eliz@gnu.org>
4209 * mail/rmailmm.el (rmail-mime-save): Make the temp buffer
4210 unibyte, so compressed attachments are not compressed again.
4212 2010-07-16 Michael Albinus <michael.albinus@gmx.de>
4214 * net/tramp.el (tramp-handle-shell-command): Don't use hard-wired
4215 "/bin/sh" but `tramp-remote-sh' from `tramp-methods'.
4216 (tramp-find-shell): Simplify setting connection property.
4217 (tramp-get-ls-command): Make test for "--color=never" stronger.
4219 2010-07-15 Simon South <ssouth@member.fsf.org>
4221 * progmodes/delphi.el (delphi-previous-indent-of): Indent case
4222 blocks within record declarations (i.e. variant parts) correctly.
4224 2010-07-15 Simon South <ssouth@member.fsf.org>
4226 * progmodes/delphi.el (delphi-token-at): Give newlines precedence
4227 over literal tokens when parsing so newlines aren't "absorbed" by
4228 single-line comments. Corrects the indentation of case blocks
4229 that have a comment on the first line.
4231 2010-07-14 Karl Fogel <kfogel@red-bean.com>
4233 * bookmark.el (bookmark-load-hook): Fix doc string as suggested
4234 by Drew Adams (Bug#5504).
4236 2010-07-14 Jan Djärv <jan.h.d@swipnet.se>
4238 * xt-mouse.el (xterm-mouse-event-read): Fix for characters > 127
4239 now that Unicode is used (Bug#6594).
4241 2010-07-14 Chong Yidong <cyd@stupidchicken.com>
4243 * term/x-win.el (x-select-enable-clipboard): Default to t.
4244 (x-initialize-window-system): Don't overwrite Paste menu item.
4246 * simple.el (select-active-regions): Default to t.
4247 (push-mark-command): Don't overwrite primary with empty string.
4249 * mouse.el: Bind mouse-2 to mouse-yank-primary.
4250 (mouse-drag-copy-region): Default to nil.
4252 * menu-bar.el (menu-bar-enable-clipboard): Don't overwrite
4253 Cut/Copy/Paste menu bar items.
4255 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4257 Allow C-w when setting a bookmark in a Gnus Article buffer (Bug#5975).
4258 Patch applied by Karl Fogel.
4260 * bookmark.el (bookmark-set): Don't set `bookmark-yank-point'
4261 and `bookmark-current-buffer' if they have been already set in
4262 another buffer (e.g gnus-art).
4264 2010-07-13 Karl Fogel <kfogel@red-bean.com>
4265 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4267 Preparation for setting bookmarks in Gnus article buffers (Bug#5975).
4269 * bookmark.el (bookmark-make-record-default): Allow unneeded
4270 information to be omitted from the record.
4272 Adjust declarations and calls:
4274 * info.el (bookmark-make-record-default): Adjust declaration.
4275 (Info-bookmark-make-record): Adjust call.
4277 * woman.el (bookmark-make-record-default): Adjust declaration.
4278 (woman-bookmark-make-record): Adjust call.
4280 * man.el (bookmark-make-record-default): Adjust declaration.
4281 (Man-bookmark-make-record): Adjust call.
4283 * image-mode.el (bookmark-make-record-default): Adjust declaration.
4285 * doc-view.el (bookmark-make-record-default): Adjust declaration.
4287 2010-07-13 Karl Fogel <kfogel@red-bean.com>
4289 * bookmark.el (bookmark-show-annotation): Use `when' instead of `if'.
4290 This is also from Thierry Volpiatto's patch in bug #6444. However,
4291 because it was extraneous to the functional change in that patch,
4292 and causes a re-indendation, I am committing it separately.
4294 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4296 * bookmark.el (bookmark-show-annotation): Ensure annotations show,
4297 e.g. in Info bookmarks, by using `switch-to-buffer-other-window'.
4298 Patch applied by Karl Fogel (Bug#6444).
4300 2010-07-13 Chong Yidong <cyd@stupidchicken.com>
4302 * frame.el (make-frame): Fix typo in 2010-06-30 change (Bug#6625).
4304 2010-07-13 Adrian Robert <Adrian.B.Robert@gmail.com>
4306 * term/ns-win.el: Bind M-~ to 'ns-prev-frame (due to Matthew
4307 Dempsky; bug#5084). Remove incorrect binding for S-tab.
4308 (ns-alternatives-map): Change S-tab binding to backtab
4311 * simple.el (normal-erase-is-backspace-setup-frame): Set mode on
4314 2010-07-12 Andreas Schwab <schwab@linux-m68k.org>
4316 * language/tai-viet.el ("TaiViet"): Try to fix re-encoding bugs.
4319 * language/tv-util.el (tai-viet-re): Remove format.
4321 2010-07-12 Kenichi Handa <handa@m17n.org>
4323 * language/hebrew.el: Remove no-byte-compile declaration.
4324 Change coding: tag to utf-8. Register hebrew-shape-gstring in
4325 composition-function-table for 3-character looking back.
4326 (hebrew-font-get-precomposed): New function.
4327 (hebrew-shape-gstring): Utilize precomposed glyphs if available.
4329 2010-07-11 Chong Yidong <cyd@stupidchicken.com>
4331 * mouse.el (mouse-drag-track): Handle select-active-regions
4334 2010-07-11 Magnus Henoch <magnus.henoch@gmail.com>
4336 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
4337 empty argument to gvfs-copy.
4339 2010-07-10 Glenn Morris <rgm@gnu.org>
4341 * calendar/calendar.el (calendar-week-end-day): New function.
4342 * calendar/cal-tex.el (cal-tex-cursor-month): Remove unused vars.
4343 Respect calendar-week-start-day. (Bug#6606)
4344 (cal-tex-insert-day-names, cal-tex-insert-blank-days)
4345 (cal-tex-insert-blank-days-at-end): Respect calendar-week-start-day.
4346 (cal-tex-first-blank-p, cal-tex-last-blank-p): Simplify, and
4347 respect calendar-week-start-day.
4349 2010-07-10 Chong Yidong <cyd@stupidchicken.com>
4351 * simple.el (use-region-p): Doc fix (Bug#6607).
4353 2010-07-10 Aleksei Gusev <aleksei.gusev@gmail.com> (tiny change)
4355 * progmodes/compile.el (compilation-error-regexp-alist-alist): Add
4356 regexps for cucumber and ruby.
4358 2010-07-08 Daiki Ueno <ueno@unixuser.org>
4360 * epa-file.el (epa-file-error, epa-file--find-file-not-found-function)
4361 (epa-file-insert-file-contents): Hack to prevent
4362 find-file from opening empty buffer when decryption failed
4365 2010-07-07 Agustín Martín <agustin.martin@hispalinux.es>
4367 * textmodes/ispell.el (ispell-alternate-dictionary):
4368 Use file-readable-p.
4369 Return nil if no word-list is found at default locations.
4370 (ispell-complete-word-dict): Default to nil.
4371 (ispell-command-loop): Use 'word-list' when using lookup-words.
4372 (lookup-words): Use ispell-complete-word-dict or
4373 ispell-alternate-dictionary. Check for word-list availability
4374 and handle errors if needed with better messages (Bug#6539).
4375 (ispell-complete-word): Use ispell-complete-word-dict or
4376 ispell-alternate-dictionary.
4378 2010-07-07 Christoph Scholtes <cschol2112@gmail.com>
4380 * progmodes/python.el (python-font-lock-keywords): Add Python 2.7
4381 builtins (BufferError, BytesWarning, WindowsError; callables
4382 bin, bytearray, bytes, format, memoryview, next, print; __package__).
4384 2010-07-07 Glenn Morris <rgm@gnu.org>
4386 * play/zone.el (top-level): Do not require timer, tabify, or cl.
4387 (zone-shift-left): Ignore intangibility, and any errors from
4389 (zone-shift-right): Remove no-op end-of-line. Ignore intangibility.
4390 (zone-pgm-putz-with-case): Use upcase-region rather than inserting,
4391 deleting, and copying text properties.
4392 (zone-line-specs, zone-pgm-stress): Check forward-line exit status.
4393 (zone-pgm-rotate): Handle odd buffers like that of gomoku, where getting
4394 to point-max is hard.
4395 (zone-fret, zone-fill-out-screen): Replace cl's do with dotimes.
4396 (zone-fill-out-screen): Ignore intangibility.
4398 2010-07-05 Chong Yidong <cyd@stupidchicken.com>
4400 * menu-bar.el (menu-bar-mode):
4401 * tool-bar.el (tool-bar-mode): Replace default-frame-alist element
4404 * mouse.el (mouse-drag-track): Call mouse-start-end to handle
4405 word/line selection (Bug#6565).
4407 2010-07-04 Juanma Barranquero <lekktu@gmail.com>
4409 * net/dbus.el (dbus-send-signal): Declare function.
4411 2010-07-04 Michael Albinus <michael.albinus@gmx.de>
4413 * net/dbus.el: Implement signal "PropertiesChanged" (from D-Bus 1.3.1).
4414 (dbus-register-property): New optional argument EMITS-SIGNAL.
4415 (dbus-property-handler): Send signal "PropertiesChanged" if requested.
4417 2010-07-03 Chong Yidong <cyd@stupidchicken.com>
4419 * mouse.el (mouse-drag-overlay): Variable deleted.
4420 (mouse-move-drag-overlay, mouse-show-mark): Functions deleted.
4421 (mouse--remap-link-click-p): New function.
4422 (mouse-drag-track): Handle dragging by using temporary Transient
4423 Mark mode, instead of a special overlay.
4424 (mouse-kill-ring-save, mouse-save-then-kill): Don't call
4427 * mouse-sel.el (mouse-sel-selection-alist): mouse-drag-overlay
4430 2010-07-02 Juri Linkov <juri@jurta.org>
4432 * autoinsert.el (auto-insert-alist): Fix readability
4433 by using dotted pair notation for lambda.
4435 2010-07-02 Juri Linkov <juri@jurta.org>
4437 * faces.el (read-face-name): Rename arg `string-describing-default'
4438 to `default'. Doc fix. Display the default value in quotes
4439 in the prompt. With empty input, return the `default' arg,
4440 unless the default value is a string (in which case return nil).
4441 (describe-face): Replace the string `default' arg of `read-face-name'
4442 with the symbol `default'.
4444 2010-07-02 Chong Yidong <cyd@stupidchicken.com>
4446 * emulation/viper-cmd.el (viper-delete-backward-char)
4447 (viper-del-backward-char-in-insert)
4448 (viper-del-backward-char-in-replace, viper-change)
4449 (viper-backward-indent): Replace delete-backward-char with
4450 delete-char (Bug#6552).
4452 2010-07-01 Chong Yidong <cyd@stupidchicken.com>
4454 * ruler-mode.el (ruler--save-header-line-format): Fix typos.
4456 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
4458 * frame.el (make-frame): Add default-frame-alist to the PARAMETERS
4459 argument passed to frame-creation-function (Bug#5378).
4461 * faces.el (x-handle-named-frame-geometry)
4462 (x-handle-reverse-video, x-create-frame-with-faces)
4463 (face-set-after-frame-default, tty-create-frame-with-faces): Don't
4464 separately consult default-frame-alist. It is now passed as the
4467 2010-06-30 Andreas Schwab <schwab@linux-m68k.org>
4469 * startup.el (command-line): Don't call tool-bar-setup in a
4472 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
4474 * ruler-mode.el (ruler--save-header-line-format): New fun.
4475 (ruler-mode): Use it as a setter function, so as not to overwrite
4476 ruler-mode-header-line-format-old if Ruler mode is on (Bug#5370).
4478 2010-06-29 Chong Yidong <cyd@stupidchicken.com>
4480 * vc/vc.el (vc-deduce-backend): New fun. Handle diff buffers.
4481 (vc-root-diff, vc-print-root-log, vc-log-incoming)
4482 (vc-log-outgoing): Use it.
4483 (vc-diff-internal): Set diff-vc-backend.
4485 * vc/diff-mode.el (diff-vc-backend): New var.
4487 2010-06-28 Jan Djärv <jan.h.d@swipnet.se>
4489 * dynamic-setting.el (font-setting-change-default-font): Remove
4492 2010-06-28 Kenichi Handa <handa@m17n.org>
4494 * international/quail.el (quail-insert-kbd-layout): Fix the
4495 showing of untranslated characters.
4497 2010-06-28 Chong Yidong <cyd@stupidchicken.com>
4499 * simple.el (delete-active-region): New option.
4500 (delete-backward-char): Implement in Lisp.
4501 (delete-forward-char): New command.
4503 * mouse.el (mouse-region-delete-keys): Deleted.
4504 (mouse-show-mark): Simplify.
4506 * bindings.el (global-map): Bind delete and DEL, the former to
4507 delete-forward-char.
4509 2010-06-27 Lennart Borgman <lennart.borgman@gmail.com>
4511 * progmodes/ruby-mode.el (ruby-mode-map): Don't bind TAB.
4512 (ruby-mode): Bind indent-line-function (Bug#5119).
4514 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
4516 * startup.el (command-line): Recognize "0" X resource value.
4518 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
4520 * startup.el (command-line): Use X resources to set the value of
4521 menu-bar-mode and tool-bar-mode, before calling frame-initialize.
4523 * menu-bar.el (menu-bar-mode):
4524 * tool-bar.el (tool-bar-mode): Don't change default-frame-alist.
4525 Set init-value to t.
4527 * frame.el (frame-notice-user-settings): Don't change
4528 default-frame-alist based on menu-bar-mode and tool-bar-mode, or
4529 vice versa (Bug#2249).
4531 2010-06-26 Eli Zaretskii <eliz@gnu.org>
4533 * w32-fns.el (w32-convert-standard-filename): Doc fix.
4535 2010-06-25 Agustín Martín <agustin.martin@hispalinux.es>
4537 * textmodes/flyspell.el (flyspell-check-previous-highlighted-word):
4538 Make sure `flyspell-word' re-checks word after function run (Bug#6504).
4540 * textmodes/ispell.el (ispell-init-process): Make sure ispell and
4541 default directories are expanded (Bug#6143).
4543 2010-06-24 Juri Linkov <juri@jurta.org>
4545 * minibuffer.el (completions-format): Change default from nil to
4546 `horizontal'. Remove `nil' value from :type. Doc fix. (Bug#6459)
4548 2010-06-24 Juri Linkov <juri@jurta.org>
4550 * vc/vc.el (vc-diff-internal): Set `revert-buffer-function'
4551 buffer-locally to lambda that re-runs the vc diff command.
4554 2010-06-24 Chong Yidong <cyd@stupidchicken.com>
4556 * kmacro.el (kmacro-call-macro): Don't issue hint message if the
4557 echo area is in use (Bug#3412).
4559 2010-06-22 Glenn Morris <rgm@gnu.org>
4561 * textmodes/texinfmt.el (texinfo-format-region)
4562 (texinfo-raise-lower-sections, texinfo-format-separate-node)
4563 (texinfo-itemize-item, texinfo-multitable-item, texinfo-alias)
4564 (texinfo-format-option, texinfo-noindent):
4565 Use line-beginning-position and line-end-position.
4567 * calc/calc-aent.el, calc/calc-ext.el, calc/calc-lang.el:
4568 * calc/calc-store.el, calc/calc-units.el, calc/calc.el:
4569 * calc/calccomp.el: Add explicit utf-8 coding cookies to files with
4572 2010-06-21 Karl Fogel <kfogel@red-bean.com>
4574 * play/zone.el (zone-fall-through-ws): Fix next-line ->
4575 forward-line fallout.
4577 2010-07-06 Chong Yidong <cyd@stupidchicken.com>
4579 * mouse.el (mouse-appearance-menu): Add docstring.
4581 * help.el (describe-key): Print up-event using key-description.
4583 2010-07-03 Michael Albinus <michael.albinus@gmx.de>
4585 * net/zeroconf.el (zeroconf-resolve-service)
4586 (zeroconf-service-resolver-handler): Use `dbus-byte-array-to-string'.
4587 (zeroconf-publish-service): Use `dbus-string-to-byte-array'.
4589 2010-07-03 Jan Moringen <jan.moringen@uni-bielefeld.de>
4591 * net/zeroconf.el (zeroconf-service-remove-hook): New defun.
4593 2010-06-30 Dan Nicolaescu <dann@ics.uci.edu>
4595 Avoid displaying files with a nil state in vc-dir.
4596 * vc/vc-dir.el (vc-dir-update): Obey the noinsert argument in all
4597 cases that cause insertion.
4598 (vc-dir-resynch-file): Tell vc-dir-update to avoid inserting files
4601 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
4603 * xml.el (xml-parse-region): Avoid infloop (Bug#5281).
4605 2010-06-29 Leo <sdl.web@gmail.com>
4607 * emacs-lisp/rx.el (rx): Doc fix. (Bug#6537)
4609 2010-06-27 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
4611 * generic-x.el (bat-generic-mode): Fix regexp for command line
4612 switches (Bug#5719).
4614 2010-06-27 Masatake YAMATO <yamato@redhat.com>
4616 * htmlfontify.el (hfy-face-attr-for-class): Use append instead
4617 of nconc to avoid pure storage error (Bug#6239).
4619 2010-06-27 Christoph <cschol2112@googlemail.com> (tiny change)
4621 * bookmark.el (bookmark-bmenu-2-window, bookmark-bmenu-other-window)
4622 (bookmark-bmenu-other-window-with-mouse): Remove unnecessary
4623 bindings of bookmark-automatically-show-annotations (Bug#6515).
4625 2010-06-25 Eli Zaretskii <eliz@gnu.org>
4627 * arc-mode.el (archive-zip-extract): Don't quote the file name on
4628 MS-Windows and MS-DOS. (Bug#6467, Bug#6144)
4630 2010-06-24 Štěpán Němec <stepnem@gmail.com> (tiny change)
4632 * comint.el (make-comint, make-comint-in-buffer): Mention return
4633 value in the docstrings. (Bug#6498)
4635 2010-06-24 Yoni Rabkin <yoni@rabkins.net>
4637 * bs.el (bs-mode-font-lock-keywords): Remove "by" from Dired pattern,
4638 since it is not present when using some non-default switches.
4640 2010-06-23 Karl Fogel <kfogel@red-bean.com>
4642 * simple.el (compose-mail): Fix doc string to refer to
4643 `compose-mail-user-agent-warnings', instead of to the
4644 nonexistent `compose-mail-check-user-agent'.
4646 2010-06-21 Alan Mackenzie <bug-cc-mode@gnu.org>
4648 Fix an indentation bug:
4650 * progmodes/cc-mode.el (c-common-init): Initialise c-new-BEG/END.
4651 (c-neutralize-syntax-in-and-mark-CPP): c-new-BEG/END: Take account
4654 * progmodes/cc-engine.el (c-clear-<-pair-props-if-match-after)
4655 (c-clear->-pair-props-if-match-before): now return t when they've
4656 cleared properties, nil otherwise.
4657 (c-before-change-check-<>-operators): Set c-new-beg/end correctly
4658 by taking account of the existing value.
4660 * progmodes/cc-defs.el
4661 (c-clear-char-property-with-value-function): Fix this to clear the
4662 property rather than overwriting it with nil.
4664 2010-06-20 Chong Yidong <cyd@stupidchicken.com>
4666 * emacs-lisp/package.el (package-print-package): Add link to
4667 package description via describe-package.
4668 (describe-package-1): List package requirements. Add button to
4669 perform installation.
4670 (package-menu-describe-package): New command.
4672 * help-mode.el (help-package): New button type.
4674 2010-06-19 Chong Yidong <cyd@stupidchicken.com>
4676 * emacs-lisp/package.el: Move package-list-packages binding to
4678 (describe-package, describe-package-1, package--dir): New funs.
4679 (package-activate-1): Use package--dir.
4681 * emacs-lisp/package-x.el (gnus-article-buffer): Require package.
4683 * help-mode.el (help-package-def): New button type.
4685 * menu-bar.el: Move package-list-packages binding here from
4688 2010-06-19 Gustav Hållberg <gustav@gmail.com> (tiny change)
4690 * descr-text.el (describe-char): Avoid trailing whitespace. (Bug#6423)
4692 2010-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
4694 * emacs-lisp/edebug.el (edebug-read-list):
4695 Phase out old-style backquotes.
4697 2010-06-17 Juri Linkov <juri@jurta.org>
4699 * help-mode.el (help-mode): Set buffer-local variable
4700 revert-buffer-function to help-mode-revert-buffer.
4701 (help-mode-revert-buffer): New function.
4703 * info.el (Info-revert-find-node): Check for major-mode Info-mode
4704 before popping to "*info*" (like in other Info functions).
4705 Keep buffer-name in old-buffer-name. Keep Info-history-forward in
4706 old-history-forward. Pop to old-buffer-name or "*info*" to
4707 recreate the killed buffer. Set Info-history-forward from
4708 old-history-forward.
4709 (Info-breadcrumbs-depth): Add :group and :version.
4711 2010-06-17 Dan Nicolaescu <dann@ics.uci.edu>
4713 * emacs-lisp/package.el (package-menu-mode-map): Add a menu.
4715 2010-06-17 Agustín Martín <agustin.martin@hispalinux.es>
4717 * textmodes/ispell.el (ispell-aspell-find-dictionary): Fix regexp
4718 for languages like Portuguese with pt_{BR,PT} and no plain pt.
4720 2010-06-17 Juanma Barranquero <lekktu@gmail.com>
4722 * emacs-lisp/package.el (package-menu-mode-map):
4723 Move initialization into declaration.
4725 * menu-bar.el (menu-bar-options-menu): Fix typo in menu entry.
4727 2010-06-17 Chong Yidong <cyd@stupidchicken.com>
4729 * emacs-lisp/package.el (package-archive-base): Point to
4731 (package-enable, package-load-list): New defcustoms.
4732 (package-user-dir, package-directory-list): Turn into defcustoms.
4733 Don't include package-user-dir in package-directory-list.
4734 (package--builtins-base): Don't include Emacs as a "package".
4735 (package-subdirectory-regexp): New var.
4736 (package-load-all-descriptors, package-compute-transaction)
4737 (package-download-transaction): Obey package-load-list.
4738 (package-activate-1): Rename from package-do-activate.
4739 (package-list-packages-internal): Check package-load-list.
4740 (package-load-descriptor, package-generate-autoloads)
4741 (package-unpack, package-unpack-single)
4742 (package--read-archive-file, package-delete): Use
4745 * emacs-lisp/package-x.el: New file. Package uploading
4746 functionality split out from package.el.
4748 * startup.el (command-line): Load packages after reading init file.
4750 2010-06-17 Tom Tromey <tromey@redhat.com>
4752 * emacs-lisp/package.el: New file.
4754 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
4756 Fix vc-annotate for renamed files when using Git.
4757 * vc/vc-git.el (vc-git-find-revision): Deal with empty results from
4758 ls-files. Doe not pass the object as a file name to cat-file, it
4760 (vc-git-annotate-command): Pass the file name using -- to avoid
4761 ambiguity with the revision.
4762 (vc-git-previous-revision): Pass a relative file name.
4764 2010-06-22 Glenn Morris <rgm@gnu.org>
4766 * progmodes/js.el (js-mode-map): Use standard capitalization and
4767 ellipses for menu entries.
4769 * wid-edit.el (widget-complete): Doc fix.
4771 2010-06-22 Jürgen Hötzel <juergen@hoetzel.info> (tiny change)
4773 * wid-edit.el (widget-complete): Fix typo in 2009-12-02 change.
4775 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
4777 Fix annotating other revisions for renamed files in vc-annotate.
4778 * vc/vc-annotate.el (vc-annotate): Add an optional argument for the
4779 VC backend. Use it when non-nil.
4780 (vc-annotate-warp-revision): Pass the VC backend to vc-annotate.
4783 Fix vc-annotate-show-changeset-diff-revision-at-line for git.
4784 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
4785 Do not pass the file name to the 'previous-revision call when we
4786 don't want a file diff. (Bug#6489)
4788 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
4790 Fix finding revisions for renamed files in vc-annotate.
4791 * vc/vc.el (vc-find-revision): Add an optional argument for
4792 the VC backend. Use it when non-nil.
4793 * vc/vc-annotate.el (vc-annotate-find-revision-at-line): Pass the VC
4794 backend to vc-find-revision. (Bug#6487)
4796 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
4798 Fix reading file names in Git annotate buffers.
4799 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line):
4800 Remove trailing whitespace. Suggested by Eric Hanchrow. (Bug#6481)
4802 2010-06-20 Alan Mackenzie <acm@muc.de>
4804 * progmodes/cc-mode.el (c-before-hack-hook): When the mode is set
4805 in file local variables, set it first.
4807 2010-06-19 Glenn Morris <rgm@gnu.org>
4809 * descr-text.el (describe-char-unicode-data): Insert separating
4810 space when needed. (Bug#6422)
4812 * progmodes/idlwave.el (idlwave-action-and-binding):
4813 Fix typo in 2009-12-03 change. (Bug#6450)
4815 2010-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
4817 * emacs-lisp/macroexp.el (macroexpand-all-1): Put back special
4818 handling for `lambda' (misunderstanding).
4820 2010-06-16 Jay Belanger <jay.p.belanger@gmail.com>
4822 * calc/calc-poly.el (math-accum-factors): Make sure that
4823 constants aren't distributed after they are factored out.
4825 2010-06-16 Juri Linkov <juri@jurta.org>
4827 * facemenu.el (list-colors-display): Call `pop-to-buffer' before
4828 `list-colors-print'. (Bug#6332)
4830 * subr.el (read-quoted-char): Fix up last change (bug#6290).
4832 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
4834 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't handle `lambda'
4835 specially, since it's a macro. Fix up wrong hint passed to maybe-cons.
4837 * font-lock.el (font-lock-major-mode): Rename from
4838 font-lock-mode-major-mode to distinguish it from
4839 global-font-lock-mode's own font-lock-mode-major-mode (bug#6135).
4840 (font-lock-set-defaults):
4841 * font-core.el (font-lock-default-function): Adjust users.
4842 (font-lock-mode): Don't set it at all.
4844 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
4846 * vc/vc-annotate.el (vc-annotate): Use vc-read-revision.
4848 2010-06-16 Glenn Morris <rgm@gnu.org>
4850 * calendar/appt.el (appt-time-msg-list): Doc fix.
4851 (appt-check): Let-bind appt-warn-time.
4852 (appt-add): Make the 3rd argument optional.
4853 Simplify argument names. Doc fix. Check for integer WARNTIME.
4854 Only add WARNTIME to the output list if non-nil.
4856 2010-06-16 Ivan Kanis <apple@kanis.eu>
4858 * calendar/appt.el (appt-check): Let the 3rd element of
4859 appt-time-msg-list specify the warning time.
4860 (appt-add): Add new argument with the warning time. (Bug#5176)
4862 2010-06-16 Bob Rogers <rogers-emacs@rgrjr.dyndns.org> (tiny change)
4864 * vc/vc-svn.el (vc-svn-after-dir-status): Fix regexp for Subversions
4865 older than version 1.6. (Bug#6361)
4867 2010-06-16 Helmut Eller <eller.helmut@gmail.com>
4869 * emacs-lisp/cl-macs.el (destructuring-bind): Bind `bind-enquote',
4870 used by cl-do-arglist. (Bug#6408)
4872 2010-06-16 Agustín Martín <agustin.martin@hispalinux.es>
4874 * textmodes/ispell.el (ispell-dictionary-base-alist): Fix
4875 portuguese casechars/not-casechars for missing 'çÇ'.
4876 Suggested by Rolando Pereira (bug#6434).
4878 2010-06-15 Juanma Barranquero <lekktu@gmail.com>
4880 * facemenu.el (list-colors-sort): Doc fix.
4882 2010-06-15 Bob Rogers <rogers-emacs@rgrjr.dyndns.org> (tiny change)
4884 * progmodes/sql.el (sql-connect-mysql): Fix typo.
4886 2010-06-14 Juri Linkov <juri@jurta.org>
4888 Add sort option `list-colors-sort'. (Bug#6332)
4889 * facemenu.el (color-rgb-to-hsv): New function.
4890 (list-colors-sort): New defcustom.
4891 (list-colors-sort-key): New function.
4892 (list-colors-display): Doc fix. Sort list according to the option
4894 (list-colors-print): Add HSV values to `help-echo' property of
4897 2010-06-14 Juri Linkov <juri@jurta.org>
4899 * compare-w.el: Move to the "vc" subdirectory.
4901 2010-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
4903 * image-mode.el (image-mode-map): Remap left-char and right-char.
4905 * nxml/nxml-mode.el (nxml-indent-line): Standardize indent behavior.
4907 2010-06-12 Chong Yidong <cyd@stupidchicken.com>
4909 * term/common-win.el (x-colors): Add all the color names defined
4910 in rgb.txt (Bug#6332).
4912 * facemenu.el (list-colors-print): Don't print extra names if it
4913 will overflow the window width.
4915 * vc/log-edit.el (log-edit-font-lock-keywords): Revert 2010-06-02
4918 2010-06-12 Eli Zaretskii <eliz@gnu.org>
4920 * files.el (make-directory): Doc fix (bug#6396).
4922 2010-06-12 Michael Albinus <michael.albinus@gmx.de>
4924 * net/tramp.el (tramp-remote-process-environment): Protect version
4925 string by apostroph.
4926 (tramp-shell-prompt-pattern): Do not use a shy group in case of
4928 (tramp-file-name-for-operation): Add `call-process-region'.
4929 (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
4931 * net/tramp-compat.el (top): Do not autoload
4932 `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el
4933 only when `start-file-process' is not bound.
4934 (tramp-advice-file-expand-wildcards): Do not use
4935 `tramp-handle-file-remote-p'.
4936 (tramp-compat-make-temp-file): Handle the case, that
4937 `make-temp-file' has no third argument EXTENSION.
4939 2010-06-11 Juanma Barranquero <lekktu@gmail.com>
4941 * makefile.w32-in (WINS_BASIC): Include new directory vc.
4943 * loadup.el ("vc-hooks", "ediff-hook"): Load from lisp/vc/.
4945 2010-06-11 Juri Linkov <juri@jurta.org>
4947 * finder.el (finder-known-keywords): Add keyword "vc"
4948 for version control.
4950 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff.el,
4951 * emerge.el, log-edit.el, log-view.el, pcvs.el, smerge-mode.el,
4952 * vc-annotate.el, vc-bzr.el, vc-dir.el, vc-dispatcher.el, vc-git.el,
4953 * vc-hg.el, vc-mtn.el, vc.el: Add keyword "vc".
4955 2010-06-11 Juri Linkov <juri@jurta.org>
4957 Move version control related files to the "vc" subdirectory.
4958 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff-diff.el,
4959 * ediff.el, ediff-help.el, ediff-hook.el, ediff-init.el,
4960 * ediff-merg.el, ediff-mult.el, ediff-ptch.el, ediff-util.el,
4961 * ediff-vers.el, ediff-wind.el, emerge.el, log-edit.el, log-view.el,
4962 * pcvs-defs.el, pcvs.el, pcvs-info.el, pcvs-parse.el, pcvs-util.el,
4963 * smerge-mode.el, vc-annotate.el, vc-arch.el, vc-bzr.el, vc-cvs.el,
4964 * vc-dav.el, vc-dir.el, vc-dispatcher.el, vc.el, vc-git.el,
4965 * vc-hg.el, vc-hooks.el, vc-mtn.el, vc-rcs.el, vc-sccs.el, vc-svn.el:
4966 Move files to the "vc" subdirectory.
4968 2010-06-11 Chong Yidong <cyd@stupidchicken.com>
4970 * comint.el (comint-password-prompt-regexp): Fix 2010-04-10 change
4973 2010-06-11 Stephen Eglen <stephen@gnu.org>
4975 * shell.el: Bind `shell-resync-dirs' to M-RET.
4977 2010-06-10 Michael Albinus <michael.albinus@gmx.de>
4979 * notifications.el: Move file from lisp/net, because it is
4980 supposed to talk locally to the user.
4982 2010-06-10 Julien Danjou <julien@danjou.info>
4984 * net/notifications.el (notifications-on-action-signal)
4985 (notifications-on-closed-signal): Pass notification id as first
4986 argument to the callback functions. Add docstrings.
4987 (notifications-notify): Fix docstring.
4989 2010-06-10 Glenn Morris <rgm@gnu.org>
4991 * emacs-lisp/authors.el (authors-ignored-files)
4992 (authors-valid-file-names): Add some files.
4994 2010-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
4996 * net/rcirc.el (rcirc-server-alist, rcirc, rcirc-connect): Resolve
4997 merge conflict, giving preference to the emacs-23 version of the code.
4999 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
5001 * emacs-lisp/advice.el (ad-compile-function):
5002 Define warning-suppress-types before we let-bind it (bug#6275).
5004 * vc-dispatcher.el: Rename mode-line-hook to vc-mode-line-hook;
5005 declare it, make it buffer-local and permanent-local (bug#6324).
5006 (vc-resynch-window): Adjust name.
5007 * vc-hooks.el (vc-find-file-hook): Adjust name.
5009 2010-06-09 Michael Albinus <michael.albinus@gmx.de>
5011 * net/notifications.el (notifications-notify): Fix docstring.
5013 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
5015 Update to Unicode 6.0.0 beta.
5016 * international/charprop.el: Update copyright.
5017 * international/mule-cmds.el (ucs-names): Update character ranges.
5018 * international/uni-bidi.el:
5019 * international/uni-category.el:
5020 * international/uni-combining.el:
5021 * international/uni-comment.el:
5022 * international/uni-decimal.el:
5023 * international/uni-decomposition.el:
5024 * international/uni-digit.el:
5025 * international/uni-lowercase.el:
5026 * international/uni-mirrored.el:
5027 * international/uni-name.el:
5028 * international/uni-numeric.el:
5029 * international/uni-old-name.el:
5030 * international/uni-titlecase.el:
5031 * international/uni-uppercase.el: Regenerate.
5033 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
5035 * emacs-lisp/smie.el (comment-string-strip): Declare function.
5036 (smie-precs-precedence-table): Fix typo in docstring.
5038 * vc-mtn.el (log-edit-extract-headers): Declare function.
5040 * vc-hg.el (log-edit-extract-headers): Remove duplicate declaration.
5042 * net/notifications.el (dbus-register-signal): Declare function.
5043 (notifications-notify): Fix typos and reflow docstring.
5045 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
5047 Improve VC create/retrieve tag/branch.
5048 * vc.el (vc-create-tag): Do not read the directory name for VCs
5049 with repository revision granularity. Adjust the tag/branch
5050 prompt. Reset VC properties.
5051 (vc-retrieve-tag): Do not read the directory name for VCs
5052 with repository revision granularity. Reset VC properties.
5054 2010-06-09 Julien Danjou <julien@danjou.info>
5056 * net/notifications.el: New file.
5058 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
5060 Add optional support for resetting VC properties.
5061 * vc-dispatcher.el (vc-resynch-window): Add new optional argument,
5062 call vc-file-clearprops when true.
5063 (vc-resynch-buffer): Add new optional argument, pass it down.
5064 (vc-resynch-buffers-in-directory): Likewise.
5066 Improve support for special markup in the VC commit message.
5067 * vc-mtn.el (vc-mtn-checkin): Add support for Author: and Date: markup.
5068 * vc-hg.el (vc-hg-checkin): Add support for Date:.
5069 * vc-git.el (vc-git-checkin):
5070 * vc-bzr.el (vc-bzr-checkin): Likewise.
5072 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
5074 * emacs-lisp/smie.el (smie-indent-keyword): Remove special case that
5075 can be handled with a ((:before "fn") (:prev "=>" parent)) rule.
5077 2010-06-07 Martin Pohlack <mp26@os.inf.tu-dresden.de>
5079 * iimage.el: Remove images as soon as the underlying text is modified.
5080 (iimage-modification-hook): New function.
5081 (iimage-mode-buffer): Use it.
5083 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
5085 * emacs-lisp/smie.el (smie-indent-offset-rule): Rename from
5086 smie-indent-offset-after. Add :prev case. Make a bit more generic.
5087 (smie-indent-virtual): Remove `virtual' arg. Update callers.
5088 (smie-indent-keyword): Add handling of open-paren keywords.
5089 (smie-indent-comment-continue): Don't assume comment-continue.
5091 2010-06-07 Martin Rudalics <rudalics@gmx.at>
5093 * window.el (pop-to-buffer): Remove the conditional that
5094 compares new-window and old-window, so it will reselect
5095 the selected window unconditionally.
5096 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00078.html
5098 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
5100 * emacs-lisp/smie.el (smie-indent-offset-after)
5101 (smie-indent-forward-token, smie-indent-backward-token): New functions.
5102 (smie-indent-after-keyword): Use them.
5103 (smie-indent-fixindent): Only applies to the indentation of the BOL.
5104 (smie-indent-keyword): Tweak the black magic.
5105 (smie-indent-comment-continue): Strip comment-continue before use.
5106 (smie-indent-functions): Indent comments before keywords.
5108 2010-06-06 Juri Linkov <juri@jurta.org>
5110 * isearch.el (isearch-lazy-highlight-search): Fix looping
5111 by checking for empty match. This syncs this loop with the
5112 similar loop in `isearch-search'. (Bug#6362)
5114 2010-06-05 Juanma Barranquero <lekktu@gmail.com>
5116 * net/dbus.el (dbus-register-method): Declare function.
5117 (dbus-handle-event, dbus-property-handler): Fix typos in docstrings.
5118 (dbus-introspect): Doc fix.
5119 (dbus-event-bus-name, dbus-introspect-get-interface)
5120 (dbus-introspect-get-argument): Reflow docstrings.
5122 2010-06-05 Dan Nicolaescu <dann@ics.uci.edu>
5124 vc-log-incoming/vc-log-outgoing fixes for Git.
5125 * vc-git.el (vc-git-log-view-mode): Fix font lock for
5126 incoming/outgoing logs.
5127 (vc-git-log-outgoing, vc-git-log-incoming): Use @{upstream}
5128 instead of vc-git-compute-remote.
5129 (vc-git-compute-remote): Remove.
5131 2010-06-04 Chong Yidong <cyd@stupidchicken.com>
5133 * term/common-win.el (x-colors): Add "dark green" and "dark
5134 turquoise" (Bug#6332).
5136 2010-06-04 Juri Linkov <juri@jurta.org>
5138 * simple.el (kill-new): Fix logic of kill-do-not-save-duplicates.
5139 Instead of setting `replace' to t and replacing the same string
5140 with itself, don't do certain actions when
5141 kill-do-not-save-duplicates is non-nil and string is equal to car
5142 of kill-ring: don't call menu-bar-update-yank-menu, don't push
5143 interprogram-paste strings to kill-ring, and don't push the input
5144 argument `string' to kill-ring.
5145 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00072.html
5147 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
5149 * subr.el (directory-sep-char): Move from fileio.c and make a defconst.
5151 2010-06-04 Michael Albinus <michael.albinus@gmx.de>
5153 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name): Expand "~/".
5154 (tramp-gvfs-handler-mounted-unmounted)
5155 (tramp-gvfs-connection-mounted-p): Handle default-location.
5157 * net/tramp-smb.el (tramp-smb-handle-delete-directory): Don't try to
5158 move files to trash.
5160 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
5162 * international/mule-cmds.el (nonascii-insert-offset)
5163 (nonascii-translation-table): Add obsolescence information.
5165 * international/mule.el (make-translation-table-from-vector): Doc fix.
5167 2010-06-03 Glenn Morris <rgm@gnu.org>
5169 * desktop.el (desktop-clear-preserve-buffers):
5170 Add "*Warnings*" buffer. (Bug#6336)
5172 2010-06-03 Dan Nicolaescu <dann@ics.uci.edu>
5174 vc-log-incoming/vc-log-outgoing improvements for Git.
5175 * vc-git.el (vc-git-log-outgoing): Use the same format as the
5177 (vc-git-log-incoming): Likewise. Run "git fetch" before the log command.
5179 Add bindings for vc-log-incoming and vc-log-outgoing.
5180 * vc-hooks.el (vc-prefix-map): Add bindings for vc-log-incoming
5181 and vc-log-outgoing.
5182 * vc-dir.el (vc-dir-menu-map): Add menu bindings for vc-log-incoming
5183 and vc-log-outgoing.
5185 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
5187 * net/rcirc.el (rcirc-sort-nicknames): Remove.
5188 (rcirc-handler-366): Always sort nicknames.
5190 2010-06-03 Juanma Barranquero <lekktu@gmail.com>
5192 * emacs-lisp/smie.el (comment-continue): Declare for byte-compiler.
5194 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
5196 * net/rcirc.el (rcirc-nickname<, rcirc-sort-nicknames-join): Doc fix.
5198 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
5200 * net/rcirc.el (rcirc-sort-nicknames): Change default.
5201 (rcirc-sort-nicknames-join): Avoid setq.
5203 2010-06-03 Deniz Dogan <deniz.a.m.dogan@gmail.com>
5205 * net/rcirc.el (rcirc-sort-nicknames): New custom.
5206 (rcirc-nickname<, rcirc-sort-nicknames-join): New funs.
5207 (rcirc-handler-366): Use them.
5209 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
5211 Split smie-indent-calculate into more manageable chunks.
5212 * emacs-lisp/smie.el (smie-indent-virtual, smie-indent-fixindent)
5213 (smie-indent-comment, smie-indent-after-keyword, smie-indent-keyword)
5214 (smie-indent-close, smie-indent-comment-continue, smie-indent-bob)
5215 (smie-indent-exps): Extract from smie-indent-calculate.
5216 (smie-indent-functions): New var.
5217 (smie-indent-functions): Use them.
5219 2010-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
5221 * emacs-lisp/smie.el (smie-indent-hanging-p): Use smie-bolp.
5222 (smie-indent-calculate): Simplify and cleanup.
5224 2010-06-02 Michael Albinus <michael.albinus@gmx.de>
5226 * net/tramp-gvfs.el (top): Require url-util.
5227 (tramp-gvfs-mount-point): Remove.
5228 (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command):
5230 (with-tramp-dbus-call-method): Format trace message.
5231 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
5232 Implement backup call, when operation on local files fails.
5233 Use progress reporter. Flush properties of changed files.
5234 (tramp-gvfs-handle-make-directory): Make more traces.
5235 (tramp-gvfs-url-file-name): Hexify file name in url.
5236 (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
5237 into account for the resulting file name.
5238 (tramp-gvfs-handler-askquestion): Return dummy mountpoint, when
5239 the answer is "no". See `tramp-gvfs-maybe-open-connection'.
5240 (tramp-gvfs-handler-mounted-unmounted)
5241 (tramp-gvfs-connection-mounted-p): Test also for new mountspec
5242 attribute "default_location". Set "prefix" property.
5243 (tramp-gvfs-mount-spec): Return both prefix and mountspec.
5244 (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
5245 exists. Raise an error, if not (due to a corresponding answer
5246 "no" in interactive questions, for example).
5248 2010-06-02 Dan Nicolaescu <dann@ics.uci.edu>
5250 * log-edit.el (log-edit-font-lock-keywords): Make group 4 match lax.
5252 2010-06-01 Juanma Barranquero <lekktu@gmail.com>
5254 * emacs-lisp/eldoc.el: Add completions for new commands left-* and
5257 2010-06-01 Dan Nicolaescu <dann@ics.uci.edu>
5259 Add support for vc-log-incoming, improve vc-log-outgoing for Git.
5260 * vc-git.el (vc-git-compute-remote): New function.
5261 (vc-git-log-outgoing): Use it instead of hard coding a value.
5262 (vc-git-log-incoming): New function.
5264 Improve state updating for VC tag commands.
5265 * vc.el (vc-create-tag, vc-retrieve-tag): Call vc-resynch-buffer
5266 to update the state of all buffers in the directory.
5268 * vc-dir.el (vc-dir-update): Remove entries with a nil state (bug#5539).
5270 2010-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
5272 * vc-bzr.el (vc-bzr-revision-completion-table): Apply
5273 `file-directory-p' to the filename part rather than to the whole text.
5275 2010-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
5277 * man.el (Man-completion-table): Let the user type "-k " (bug#6319).
5279 2010-05-31 Drew Adams <drew.adams@oracle.com>
5281 * files.el (directory-files-no-dot-files-regexp): Doc fix (bug#6298).
5283 2010-05-31 Juanma Barranquero <lekktu@gmail.com>
5285 * subr.el (momentary-string-display): Just use read-event to read
5286 the exit event (Bug#6238).
5288 2010-05-30 Eli Zaretskii <eliz@gnu.org>
5290 * international/mule.el (define-coding-system): Doc fix (bug#6313).
5292 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
5294 * emulation/cua-base.el: Recognize also `right-word' and `left-word'.
5295 Suggested by Eli Zaretskii <eliz@gnu.org>.
5297 2010-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
5299 * minibuffer.el (completion-file-name-table): Don't return a boundary
5300 past the end of `string' (bug#6299).
5301 (completion--file-name-table): Delegate to completion-file-name-table
5302 for the `boundaries' case.
5304 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
5306 * emulation/cua-base.el: Recognize `right-char' and `left-char' as
5309 * progmodes/ada-xref.el (ada-prj-ada-project-path-sep): Set from
5310 `path-separator', but maintain compatibility with Emacs 20.2.
5312 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
5314 * server.el (server-process-filter): Receive parent-id argument
5316 (server-create-window-system-frame): New arg. Pass parent-id as
5319 2010-05-29 Eli Zaretskii <eliz@gnu.org>
5321 Bidi-sensitive word movement with arrow keys.
5322 * subr.el (right-arrow-command, left-arrow-command): Move to
5325 * bindings.el (right-char, left-char): Move from subr.el and
5326 rename from right-arrow-command and left-arrow-command.
5327 (right-word, left-word): New functions.
5328 (global-map) <right>: Bind to right-char.
5329 (global-map) <left>: Bind to left-char.
5330 (global-map) <C-right>: Bind to right-word.
5331 (global-map) <C-left>: Bind to left-word.
5333 * ls-lisp.el (ls-lisp-classify-file): New function.
5334 (ls-lisp-insert-directory): Call it if switches include -F (bug#6294).
5335 (ls-lisp-classify): Call ls-lisp-classify-file.
5336 (insert-directory): Remove blanks from switches.
5338 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
5340 * ansi-color.el: Delete unused escape sequences (Bug#6085).
5341 (ansi-color-drop-regexp): New constant.
5342 (ansi-color-apply, ansi-color-filter-region)
5343 (ansi-color-apply-on-region): Delete unrecognized control sequences.
5344 (ansi-color-apply): Build string list before calling concat.
5346 2010-05-28 Juri Linkov <juri@jurta.org>
5348 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
5349 Replace LOCALP arg of `dired-get-filename' 'no-dir with nil.
5352 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
5354 * net/tramp.el (tramp-debug-message): Add `tramp-compat-funcall'
5355 to ignored backtrace functions.
5356 (with-progress-reporter): Expand docstring.
5357 (tramp-handle-delete-file): Implement TRASH argument.
5358 (tramp-get-remote-trash): New defun.
5360 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
5362 * net/tramp-compat.el (tramp-compat-delete-file): Use
5363 `symbol-value' for backward compatibility.
5365 * net/tramp.el (tramp-handle-make-symbolic-link)
5367 (tramp-do-copy-or-rename-file-via-buffer)
5368 (tramp-do-copy-or-rename-file-directly)
5369 (tramp-do-copy-or-rename-file-out-of-band)
5370 (tramp-handle-process-file, tramp-handle-call-process-region)
5371 (tramp-handle-shell-command, tramp-handle-file-local-copy)
5372 (tramp-handle-insert-file-contents, tramp-handle-write-region)
5373 (tramp-delete-temp-file-function): Use `delete-file' instead
5374 of `tramp-compat-delete-file'.
5376 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
5377 (tramp-fish-handle-make-symbolic-link)
5378 (tramp-fish-handle-process-file): Use `delete-file' instead
5379 of `tramp-compat-delete-file'.
5381 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use
5382 `delete-file' instead of `tramp-compat-delete-file'.
5384 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
5385 (tramp-gvfs-handle-write-region): Use `delete-file' instead of
5386 `tramp-compat-delete-file'.
5388 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file): Use
5389 `delete-file' instead of `tramp-compat-delete-file'.
5391 * net/tramp-smb.el (tramp-smb-handle-copy-file)
5392 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
5393 (tramp-smb-handle-write-region): Use `delete-file' instead of
5394 `tramp-compat-delete-file'.
5395 (tramp-smb-handle-delete-directory): Use 'trash as arg.
5397 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
5399 * dired.el (dired-delete-file): New arg TRASH.
5400 (dired-internal-do-deletions): New arg TRASH. Use progress reporter.
5401 (dired-do-flagged-delete, dired-do-delete): Use trash.
5403 * speedbar.el (speedbar-item-delete): Allow trashing.
5405 * files.el (delete-directory): New arg TRASH.
5407 * net/ange-ftp.el (ange-ftp-del-tmp-name, ange-ftp-delete-file)
5408 (ange-ftp-rename-remote-to-remote)
5409 (ange-ftp-rename-local-to-remote)
5410 (ange-ftp-rename-remote-to-local, ange-ftp-load)
5411 (ange-ftp-compress, ange-ftp-uncompress): Remove optional arg from
5413 (ange-ftp-delete-directory): Add optional arg to `delete-file', to
5416 * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
5417 handle new TRASH arg of `delete-file'.
5419 * net/tramp.el (tramp-handle-delete-file): Change FORCE arg to TRASH.
5420 (tramp-handle-make-symbolic-link, tramp-handle-load)
5421 (tramp-do-copy-or-rename-file-via-buffer)
5422 (tramp-do-copy-or-rename-file-directly)
5423 (tramp-do-copy-or-rename-file-out-of-band)
5424 (tramp-handle-process-file, tramp-handle-call-process-region)
5425 (tramp-handle-shell-command, tramp-handle-file-local-copy)
5426 (tramp-handle-insert-file-contents, tramp-handle-write-region)
5427 (tramp-delete-temp-file-function): Use null TRASH arg in
5428 tramp-compat-delete-file call.
5430 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
5431 (tramp-fish-handle-delete-file)
5432 (tramp-fish-handle-make-symbolic-link)
5433 (tramp-fish-handle-process-file): Use null TRASH arg in
5434 `tramp-compat-delete-file' call.
5436 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use null TRASH
5437 arg in `tramp-compat-delete-file' call.
5439 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
5440 (tramp-gvfs-handle-write-region): Use null TRASH arg in
5441 `tramp-compat-delete-file' call.
5443 * net/tramp-imap.el (tramp-imap-handle-delete-file): Rename arg.
5444 (tramp-imap-do-copy-or-rename-file): Use null TRASH arg in
5445 `tramp-compat-delete-file' call.
5447 * net/tramp-smb.el (tramp-smb-handle-copy-file)
5448 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
5449 (tramp-smb-handle-write-region): Use null TRASH arg in
5450 tramp-compat-delete-file call.
5451 (tramp-smb-handle-delete-directory): Use tramp-compat-delete-file.
5452 (tramp-smb-handle-delete-file): Rename arg.
5454 * diff.el (diff-sentinel):
5455 * epg.el (epg--make-temp-file, epg-decrypt-string)
5456 (epg-verify-string, epg-sign-string, epg-encrypt-string):
5457 * jka-compr.el (jka-compr-partial-uncompress)
5458 (jka-compr-call-process, jka-compr-write-region):
5459 * server.el (server-sentinel): Remove optional arg from
5460 delete-file, reverting 2010-05-03 change.
5462 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
5464 * progmodes/verilog-mode.el (verilog-type-font-keywords): Use
5465 font-lock-constant-face, not obsolete font-lock-reference-face.
5467 2010-05-27 Kenichi Handa <handa@m17n.org>
5469 * language/hebrew.el (hebrew-shape-gstring): Check if a glyph
5470 element of GSTRING is nil.
5472 2010-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
5474 * emacs-lisp/smie.el (smie-forward-token-function)
5475 (smie-backward-token-function): New vars.
5476 (smie-backward-sexp, smie-forward-sexp)
5477 (smie-indent-hanging-p, smie-indent-calculate): Use them.
5478 (smie-default-backward-token): Rename from smie-backward-token and
5480 (smie-default-forward-token): Rename from smie-forward-token and
5482 (smie-next-sexp): Handle nil results from next-token.
5483 (smie-indent-calculate): Add a new case for special `fixindent' comments.
5485 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
5487 * progmodes/verilog-mode.el (verilog-type-font-keywords):
5488 Use font-lock-constant-face, not obsolete font-lock-reference-face.
5490 2010-05-27 Masatake YAMATO <yamato@redhat.com>
5492 * htmlfontify.el (hfy-face-resolve-face): New function.
5493 (hfy-face-to-style): Use it (Bug#6279).
5495 2010-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
5497 * progmodes/ada-xref.el (ada-gnat-parse-gpr):
5498 * emulation/edt.el (edt-load-keys): Avoid (expand-file-name ".").
5500 2010-05-26 Glenn Morris <rgm@gnu.org>
5502 * emulation/edt.el (edt-load-keys): Use locate-library.
5504 2010-05-25 Chong Yidong <cyd@stupidchicken.com>
5506 * log-edit.el (log-edit-strip-single-file-name): Default to nil.
5507 (log-edit-changelog-entries): Doc fix.
5508 (log-edit-changelog-insert-entries): Args changed.
5509 Rename relative filenames in ChangeLog entries. Delete tabs.
5510 (log-edit-insert-changelog-entries): Reorganize return value of
5511 `log-edit-changelog-entries' to pass filenames to
5512 log-edit-changelog-insert-entries.
5514 2010-05-25 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5516 * dired.el (dired-mode-map): Rebind "\C-t\C-t" from
5517 `image-dired-dired-insert-marked-thumbs' to
5518 `image-dired-dired-toggle-marked-thumbs'.
5520 * image-dired.el: Require cl when compiling.
5521 (image-dired-dired-toggle-marked-thumbs): Rename from
5522 `image-dired-dired-insert-marked-thumbs'. Add ARG. Doc fix.
5523 Use interactive spec "P". Set LOCALP arg of `dired-get-filename'
5524 to 'no-dir. Skip files whose names don't match
5525 `image-file-name-regexp'. When file has a thumbnail overlay,
5526 delete it. (Bug#5270)
5528 2010-05-25 Juri Linkov <juri@jurta.org>
5530 * image-mode.el (image-mode): Add image-after-revert-hook to
5532 (image-after-revert-hook): New function. (Bug#5669)
5534 2010-05-25 Juri Linkov <juri@jurta.org>
5536 * image.el (image-animated-p): When delay between animated images
5537 is 0, set it to 10 (0.1 sec). (Bug#6258)
5539 2010-05-25 Christian Lynbech <christian.lynbech@tieto.com> (tiny change)
5541 * net/tramp.el (tramp-handle-insert-directory): Don't use
5542 `forward-word', its default syntax could be changed.
5544 2010-05-25 Michael Albinus <michael.albinus@gmx.de>
5546 * net/tramp.el (tramp-progress-reporter-update): New defun.
5547 (with-progress-reporter): Use it.
5548 (tramp-process-actions):
5549 * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion): Preserve
5550 current message, in order to let progress reporter continue
5551 afterwards. (Bug#6257)
5553 2010-05-25 Glenn Morris <rgm@gnu.org>
5555 * net/rcirc.el (rcirc-default-user-name, rcirc-default-full-name):
5558 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
5560 * net/rcirc.el (rcirc-default-user-name): Change to "user".
5561 (rcirc-default-full-name): Change to "unknown".
5562 (rcirc-user-name-history): Add variable.
5564 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
5565 Jonathan Rockway <jon@jrock.us>
5567 * net/rcirc.el (rcirc-server-alist): Add :pass.
5568 (rcirc): When prompting for connection parameters, also prompt for
5569 username and password.
5570 (rcirc-connect): Take a PASS argument. If PASS is non-nil, send
5571 value to server when connecting.
5573 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
5575 * emacs-lisp/smie.el (smie-set-prec2tab): Check override before use.
5576 (smie-merge-prec2s): Pass the tables as separate args.
5577 (smie-bnf-precedence-table): Adjust call accordingly.
5578 (smie-prec2-levels): Set levels at the end.
5580 Replace Lisp calls to delete-backward-char by delete-char.
5581 * bs.el, expand.el, ido.el, image-dired.el, lpr.el, pcomplete.el,
5582 * skeleton.el, term.el, time.el, wid-edit.el, woman.el,
5583 * calc/calc-graph.el, calc/calc-help.el, calc/calc-incom.el,
5584 * calc/calc.el, emacs-lisp/cl-extra.el, emacs-lips/cl-loaddefs.el,
5585 * emulation/cua-rect.el, emulation/viper-ex.el, eshell/esh-test.el,
5586 * eshell/eshell.el, gnus/gnus-uu.el, gnus/nndoc.el, gnus/nnrss.el,
5587 * gnus/rfc2047.el, gnus/utf7.el, international/utf-7.el,
5588 * language/ethio-util.el, mh-e/mh-alias.el, mh-e/mh-search.el,
5589 * net/imap.el, net/rcirc.el, obsolete/complete.el, play/decipher.el,
5590 * progmodes/ada-mode.el, progmodes/cc-awk.el, progmodes/dcl-mode.el,
5591 * progmodes/ps-mode.el, progmodes/verilog-mode.el,
5592 * progmodes/vhdl-mode.el, textmodes/bibtex.el, textmodes/fill.el,
5593 * textmodes/reftex-auc.el, textmodes/rst.el, textmodes/sgml-mode.el,
5594 * textmodes/table.el, textmodes/texinfmt.el: Replace Lisp calls to
5595 delete-backward-char by calls to delete-char.
5597 2010-05-25 Kenichi Handa <handa@m17n.org>
5599 * language/hebrew.el (hebrew-shape-gstring): New function.
5600 Register it in composition-function-table for all Hebrew combining
5603 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
5605 * epa.el (epa--select-keys): Don't explicitly delete the window since
5606 that can fail (e.g. sole window in frame). Use dedication instead.
5608 2010-05-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
5610 * textmodes/fill.el (fill-region): Don't fill past the end (bug#6201).
5612 2010-05-22 Chong Yidong <cyd@stupidchicken.com>
5614 * image.el (image-refresh): Define as an alias for image-flush.
5616 * image-mode.el (image-toggle-display-image): Caller changed.
5618 2010-05-21 Juri Linkov <juri@jurta.org>
5620 * progmodes/grep.el (grep-read-files): Fix multi-pattern aliases.
5621 Remove "all" from grep-files-aliases. Split grep-files-aliases by
5622 whitespace, call wildcard-to-regexp on substrings and concat them
5623 with "\\|". (Bug#6114)
5625 2010-05-21 Alan Mackenzie <acm@muc.de>
5627 * progmodes/cc-engine.el (c-parse-state-get-strategy):
5628 Replace parameter `here' with `here-' and `here-plus', which sandwich
5629 any pertinent CPP construct.
5630 (c-remove-stale-state-cache-backwards): Fix a bug which happens
5631 when doing (c-parse-state) in a CPP construct: Exclude any "new"
5632 CPP construct from taking part in the scanning.
5634 2010-05-21 Michael Albinus <michael.albinus@gmx.de>
5636 * net/tramp.el (tramp-do-copy-or-rename-file)
5637 (tramp-handle-file-local-copy, tramp-maybe-open-connection):
5638 Tune `with-progress-reporter' messages.
5639 (tramp-handle-vc-registered):
5640 * net/tramp-fish.el (tramp-fish-handle-file-local-copy)
5641 (tramp-fish-handle-insert-file-contents)
5642 (tramp-fish-maybe-open-connection):
5643 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
5644 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file)
5645 (tramp-imap-handle-insert-file-contents)
5646 (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
5648 2010-05-21 Juanma Barranquero <lekktu@gmail.com>
5650 * add-log.el (change-log-font-lock-keywords):
5651 Highlight all authors in multi-author entries.
5653 * smerge-mode.el (smerge-refine-ignore-whitespace)
5654 (smerge-refine-weight-hack, smerge-refine, smerge-makeup-conflict):
5655 Fix typos in docstrings.
5656 (smerge-resolve, smerge-refine-subst): Reflow docstrings.
5658 2010-05-21 Glenn Morris <rgm@gnu.org>
5660 * progmodes/fortran.el (fortran-mode):
5661 * progmodes/f90.el (f90-mode): Derive from prog-mode.
5663 * loadup.el [CANNOT_DUMP]: Update for bootstrap-emacs no longer
5664 having a relative path in src/Makefile.in.
5666 2010-05-20 Kevin Ryde <user42@zip.com.au>
5668 * help-mode.el (help-make-xrefs): For Info node links turn
5669 newlines into spaces. Link node names with newlines are matched
5670 by help-xref-info-regexp and buttonized, this change ensures they
5671 can be followed successfully with RET. (Bug#6206)
5673 2010-05-20 Juri Linkov <juri@jurta.org>
5675 * locate.el (locate): Use pop-to-buffer instead of
5676 switch-to-buffer-other-window. (Bug#6204)
5678 2010-05-20 Juri Linkov <juri@jurta.org>
5680 * replace.el (replace-highlight): Fix lazy-highlighting
5681 for `M-s w str M-% str RET'.
5683 2009-12-15 Masatake YAMATO <yamato@redhat.com>
5685 * isearch.el (isearch-yank-word-or-char): Pull next subword
5686 when `subword-mode' is activated. (Bug#6220)
5688 2010-05-20 Mark A. Hershberger <mah@everybody.org>
5690 * isearch.el (isearch-update-post-hook): New hook.
5691 (isearch-update): Use the new hook. (Bug#6225)
5693 2010-05-20 Juri Linkov <juri@jurta.org>
5695 * isearch.el (isearch-mode-map): Bind more keys to isearch-help-map:
5696 [f1], [help], and (char-to-string help-char) instead of "\C-h".
5699 2010-05-20 Juri Linkov <juri@jurta.org>
5701 * isearch.el (isearch-yank-string): Use isearch-process-search-string.
5704 2010-05-20 Juri Linkov <juri@jurta.org>
5706 * dired-x.el (dired-jump, dired-jump-other-window): Add arg
5707 FILE-NAME to read from the minibuffer when called interactively
5708 with prefix argument instead of using buffer-file-name.
5709 http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00534.html
5711 * dired.el: Update autoloads.
5713 2010-05-20 Chong Yidong <cyd@stupidchicken.com>
5715 * nxml/nxml-mode.el (nxml-mode-map): Bind C-c / to
5716 nxml-finish-element, for consistency with SGML mode.
5718 * progmodes/octave-mod.el (octave-mode-map): Bind C-c / to
5721 2010-05-20 Juanma Barranquero <lekktu@gmail.com>
5723 * composite.el: Require cl when compiling.
5724 (reference-point-alist, compose-gstring-for-graphic)
5725 (compose-gstring-for-terminal): Fix typos in docstrings.
5727 2010-05-19 Juri Linkov <juri@jurta.org>
5729 * emacs-lisp/cl-macs.el (window-parameter): Add defsetf with
5730 set-window-parameter.
5732 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
5734 * net/tramp.el (tramp-methods): Add `tramp-async-args' attribute
5736 (tramp-maybe-open-connection): Use it.
5738 2010-05-19 Eli Zaretskii <eliz@gnu.org>
5740 * simple.el (move-end-of-line): Make sure we are at line beginning
5741 before backing up to end of previous line.
5743 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
5745 * password-cache.el (password-cache-remove): Fix docstring.
5747 * net/secrets.el: Autoload the widget functions.
5748 (secrets-search-items, secrets-create-item)
5749 (secrets-get-attributes, secrets-expand-item): Attributes will be
5750 stored on the password database without leading ":", as all other
5752 (secrets-mode): Fix docstring.
5753 (secrets-show-secrets): Provide it as autoloaded command only when
5754 D-Bus support is available. Check existence of Secret Service API.
5756 2010-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
5758 * indent.el (indent-region): Deactivate region (bug#6200).
5760 2010-05-19 Glenn Morris <rgm@gnu.org>
5762 * vc-dir.el (vc-dir): Don't pop-up-windows. (Bug#6204)
5764 2010-05-19 Kenichi Handa <handa@m17n.org>
5766 * composite.el: Register compose-gstring-for-graphic in
5767 composition-function-table only for combining characters (Mn, Mc, Me).
5769 2010-05-18 Jay Belanger <jay.p.belanger@gmail.com>
5771 * calc/calc-trail.el (calc-trail-isearch-forward)
5772 (calc-trail-isearch-backward): Ensure that the new window
5773 point is set correctly.
5775 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
5777 * subr.el (read-quoted-char): Resolve modifiers after key
5778 remapping (bug#6212).
5780 2010-05-18 Michael Albinus <michael.albinus@gmx.de>
5782 Add visualization code for secrets.
5783 * net/secrets.el (secrets-mode): New major mode.
5784 (secrets-show-secrets, secrets-show-collections)
5785 (secrets-expand-collection, secrets-expand-item)
5786 (secrets-tree-widget-after-toggle-function)
5787 (secrets-tree-widget-show-password): New defuns.
5789 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
5791 * emacs-lisp/smie.el (smie-next-sexp): Break inf-loop at BOB.
5792 (smie-backward-sexp, smie-forward-sexp): Remove boundary condition now
5793 handled in smie-next-sexp.
5794 (smie-indent-calculate): Provide a starting indentation (so the
5795 recursion is well-founded ;-).
5797 Fix handling of non-associative equal levels.
5798 * emacs-lisp/smie.el (smie-prec2-levels): Choose distinct levels even
5799 when it's not needed.
5800 (smie-op-left, smie-op-right): New functions.
5801 (smie-next-sexp): New function, extracted from smie-backward-sexp.
5802 Better handle equal levels to distinguish the associative case from
5803 the "multi-keyword construct" case.
5804 (smie-backward-sexp, smie-forward-sexp): Use it.
5806 2010-05-18 Juanma Barranquero <lekktu@gmail.com>
5808 * progmodes/prolog.el (smie-indent-basic): Declare for byte-compiler.
5810 * emacs-lisp/smie.el (smie-precs-precedence-table, smie-backward-sexp)
5811 (smie-forward-sexp, smie-indent-calculate): Fix typos in docstrings.
5813 2010-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
5815 Provide a simple generic indentation engine and use it for Prolog.
5816 * emacs-lisp/smie.el: New file.
5817 * progmodes/prolog.el (prolog-smie-op-levels)
5818 (prolog-smie-indent-rules): New var.
5819 (prolog-mode-variables): Use them to configure SMIE.
5820 (prolog-indent-line, prolog-indent-level): Remove.
5822 2010-05-17 Jay Belanger <jay.p.belanger@gmail.com>
5824 * calc/calc-vec.el (math-vector-avg): Put the vector elements in
5825 order before computing the averages.
5827 2010-05-16 Jay Belanger <jay.p.belanger@gmail.com>
5829 * calc/calc-vec.el (calc-histogram):
5830 (calcFunc-histogram): Allow vectors as inputs.
5831 (math-vector-avg): New function.
5833 * calc/calc-ext.el (math-group-float): Have the number of digits
5834 being grouped depend on the radix (Bug#6189).
5836 2010-05-15 Ken Raeburn <raeburn@raeburn.org>
5838 * version.el (emacs-copyright, emacs-version): Don't define here,
5839 now that emacs.c defines it.
5841 2010-05-15 Eli Zaretskii <eliz@gnu.org>
5843 * international/mule-cmds.el (mule-menu-keymap): Fix definition of
5844 "Describe Language Environment" menu item.
5846 * language/hebrew.el ("Hebrew", "Windows-1255"): Doc fix.
5848 Bidi-sensitive movement with arrow keys.
5849 * subr.el (right-arrow-command, left-arrow-command): New functions.
5851 * bindings.el (global-map): Bind them to right and left arrow keys.
5853 Don't override standard definition of convert-standard-filename.
5854 * files.el (convert-standard-filename): Call
5855 w32-convert-standard-filename and dos-convert-standard-filename on
5856 the corresponding systems.
5858 * w32-fns.el (w32-convert-standard-filename): Rename from
5859 convert-standard-filename. Doc fix.
5861 * dos-fns.el (dos-convert-standard-filename): Doc fix.
5862 (convert-standard-filename): Don't defalias.
5863 (register-name-alist, make-register, register-value)
5864 (set-register-value, intdos): Obsolete aliases for the
5865 corresponding dos-* functions and variables.
5866 (dos-intdos): Add a doc string.
5868 2010-05-15 Jay Belanger <jay.p.belanger@gmail.com>
5870 * calc/calc-aent.el (math-read-token, math-find-user-tokens):
5871 * calc/calc-lang.el (math-read-big-rec, math-lang-read-symbol):
5872 (math-compose-tex-func):
5873 * calc/calccomp.el (math-compose-expr):
5874 * calc/calc-ext.el (math-format-flat-expr-fancy):
5875 * calc/calc-store.el (calc-read-var-name):
5876 * calc/calc-units.el (calc-explain-units-rec): Allow Greek letters.
5878 * calc/calc.el (var-π, var-φ, var-γ): New variables.
5879 * calc/calc-aent.el (math-read-replacement-list): Add "micro" symbol.
5880 * calc/calc-units.el (math-unit-prefixes): Add mu for micro.
5881 (math-standard-units): Add units.
5883 2010-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
5885 * progmodes/asm-mode.el (asm-mode):
5886 * progmodes/prolog.el (prolog-mode): Use define-derived-mode.
5888 * pcomplete.el (pcomplete-completions-at-point): New function,
5889 extracted from pcomplete-std-complete.
5890 (pcomplete-std-complete): Use it.
5892 2010-05-15 Glenn Morris <rgm@gnu.org>
5894 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
5895 Remove references to CVS, RCS and Old directories.
5897 2010-05-14 Jay Belanger <jay.p.belanger@gmail.com>
5899 * calc/calc-bin.el (math-format-twos-complement): Group digits when
5902 2010-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
5904 * progmodes/sh-script.el (sh-mode-default-syntax-table): Remove.
5905 (sh-mode-syntax-table): Give it a default value instead.
5906 (sh-header-marker): Make buffer-local.
5907 (sh-mode): Move make-local-variable to the corresponding setq.
5908 (sh-add-completer): Avoid gratuitously let-binding a buffer-local var.
5909 Use complete-with-action.
5911 * simple.el (prog-mode): New (abstract) major mode.
5912 * emacs-lisp/lisp-mode.el (emacs-lisp-mode, lisp-mode): Use it.
5913 * progmodes/sh-script.el (sh-mode): Remove redundant var assignment.
5915 2010-05-14 Juanma Barranquero <lekktu@gmail.com>
5917 * progmodes/sql.el (sql-oracle-program): Reflow docstring.
5918 (sql-oracle-scan-on, sql-sybase-program, sql-product-font-lock)
5919 (sql-add-product-keywords, sql-highlight-product, sql-set-product)
5920 (sql-make-alternate-buffer-name, sql-placeholders-filter)
5921 (sql-escape-newlines-filter, sql-input-sender)
5922 (sql-send-magic-terminator, sql-sybase): Fix typos in docstrings.
5924 2010-05-13 Chong Yidong <cyd@stupidchicken.com>
5926 Add TeX open-block and close-block keybindings to SGML, and vice versa.
5928 * textmodes/tex-mode.el (tex-mode-map): Bind C-c C-t to
5929 latex-open-block and C-c / to latex-close-block.
5931 * textmodes/sgml-mode.el (sgml-mode-map): Bind C-c C-o to sgml-tag
5932 and C-c C-e to sgml-close-tag.
5934 2010-05-13 Michael Albinus <michael.albinus@gmx.de>
5936 * net/tramp.el (with-progress-reporter): Create reporter object
5937 only when the message would be displayed. Handle nested calls.
5938 (tramp-handle-load, tramp-handle-file-local-copy)
5939 (tramp-handle-insert-file-contents, tramp-handle-write-region)
5940 (tramp-maybe-send-script, tramp-find-shell):
5941 Use `with-progress-reporter'.
5942 (tramp-handle-dired-compress-file, tramp-maybe-open-connection):
5945 * net/tramp-smb.el (tramp-smb-handle-copy-file)
5946 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
5947 (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
5948 Use `with-progress-reporter'.
5950 2010-05-13 Agustín Martín <agustin.martin@hispalinux.es>
5952 * textmodes/ispell.el (ispell-init-process): Do not kill ispell
5953 process everytime when spellchecking from the minibuffer (bug#6143).
5955 2010-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
5957 * progmodes/sh-script.el (sh-mode): Use define-derived-mode.
5959 * dos-fns.el: Add "dos-" prefix for namespace control.
5960 (convert-standard-filename): Define as alias for
5961 dos-convert-standard-filename but only if applicable.
5963 2010-05-12 Alan Mackenzie <acm@muc.de>
5965 * progmodes/cc-cmds.el (c-beginning-of-defun, c-end-of-defun):
5966 Push the mark at the start of these functions when appropriate.
5968 2010-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
5970 * minibuffer.el (completion-cycle-threshold): New custom var.
5971 (completion--do-completion): Use it.
5972 (minibuffer-complete): Use cycling if appropriate.
5974 2010-05-11 Juanma Barranquero <lekktu@gmail.com>
5976 * dirtrack.el (dirtrackp): Remove defcustom; don't make automatically
5977 buffer-local (it's an obsolete alias for `dirtrack-mode') (bug#6173).
5979 2010-05-11 Juri Linkov <juri@jurta.org>
5981 * scroll-all.el (scroll-all-check-to-scroll):
5982 Add `scroll-up-command' and `scroll-down-command' (bug#6164).
5984 2010-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
5986 * iimage.el (iimage-mode-map): Move initialization into declaration.
5987 (iimage-mode-buffer): Use with-silent-modifications.
5988 Simplify calling convention. Adjust callers.
5989 (iimage-mode): Don't run hook redundantly.
5991 * minibuffer.el (completion-pcm--pattern->regex):
5992 Fix last change (bug#6160).
5994 2010-05-10 Juri Linkov <juri@jurta.org>
5996 Remove nodes visited during Isearch from the Info history.
5997 * info.el (Info-isearch-initial-history)
5998 (Info-isearch-initial-history-list): New variables.
5999 (Info-isearch-start): Record initial values of
6000 Info-isearch-initial-history and Info-isearch-initial-history-list.
6001 Add Info-isearch-end to isearch-mode-end-hook.
6002 (Info-isearch-end): New function.
6004 2010-05-10 Michael Albinus <michael.albinus@gmx.de>
6006 * net/tramp.el (tramp-do-file-attributes-with-stat): Add space in
6007 format string, in order to work around a bug in pdksh.
6008 Reported by Gilles Pion <gpion@lfdj.com>.
6009 (tramp-handle-verify-visited-file-modtime): Do not send a command
6010 when the connection is not established.
6011 (tramp-handle-set-file-times): Simplify the check for utc.
6013 2010-05-10 Juanma Barranquero <lekktu@gmail.com>
6015 Fix use of `filter-buffer-substring' (rework previous change).
6016 * emulation/cua-base.el (cua--filter-buffer-noprops): New function.
6017 (cua-repeat-replace-region):
6018 * emulation/cua-rect.el (cua--extract-rectangle, cua-incr-rectangle):
6019 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
6020 (cua-cut-region-to-global-mark): Use it.
6022 2010-05-09 Michael R. Mauger <mmaug@yahoo.com>
6024 * progmodes/sql.el: Version 2.1.
6025 (sql-product-alist): Redesign structure of product info.
6026 (sql-product, sql-user, sql-server, sql-database): Safe variables.
6027 (sql-port, sql-port-history): New variables.
6028 (sql-interactive-product): New variable.
6029 (sql-send-terminator): New variable.
6030 (sql-imenu-generic-expression): Add "Types" imenu entry.
6031 (sql-oracle-login-params, sql-sqlite-login-params)
6032 (sql-mysql-login-params, sql-solid-login-params)
6033 (sql-sybase-login-params, sql-informix-login-params)
6034 (sql-ingres-login-params, sql-ms-login-params)
6035 (sql-postgres-login-params, sql-interbase-login-params)
6036 (sql-db2-login-params, sql-linter-login-params)
6037 (sql-oracle-scan-on): New variables.
6038 (sql-mode-map): Add C-c C-i to start interactive mode.
6039 (sql-mode-menu): Update existing menu entries.
6040 (sql-font-lock-keywords-builder): Compile-time font-lock optimization.
6041 (sql-mode-oracle-font-lock-keywords)
6042 (sql-mode-postgres-font-lock-keywords)
6043 (sql-mode-ms-font-lock-keywords)
6044 (sql-mode-sybase-font-lock-keywords)
6045 (sql-mode-informix-font-lock-keywords)
6046 (sql-mode-interbase-font-lock-keywords)
6047 (sql-mode-ingres-font-lock-keywords)
6048 (sql-mode-solid-font-lock-keywords)
6049 (sql-mode-mysql-font-lock-keywords)
6050 (sql-mode-sqlite-font-lock-keywords)
6051 (sql-mode-db2-font-lock-keywords)
6052 (sql-mode-linter-font-lock-keywords): Update initialization to
6053 reduce run-time complexity.
6054 (sql-add-product, sql-del-product): New functions.
6055 (sql-set-product-feature, sql-get-product-feature): New functions.
6056 (sql-product-font-lock): Update product API.
6057 (sql-add-product-keywords): New function.
6058 (sql-highlight-product): Update product API.
6059 (sql-help-list-products): New function.
6060 (sql-help): Dynamically lists free and non-free products.
6061 (sql-get-login): Correct bug in handling history and added
6063 (sql-copy-column): Copy without properties.
6064 (sqli-input-sender): Apply filters to SQLi input.
6065 (sql-query-placeholders-and-send): Obey `sql-oracle-scan-on' setting.
6066 Implement as a filter.
6067 (sql-escape-newlines-filter): Implement as a filter.
6068 (sql-remove-tabs-filter): New function.
6069 (sql-send-magic-terminator): New function.
6070 (sql-send-string): Implement magic terminator.
6071 (sql-send-region): Use `sql-send-string'.
6072 (sql-interactive-mode): Use product API.
6073 (sql-product-interactive): Use product API.
6074 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
6075 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
6076 (sql-db2, sql-linter): Use `sql-product-interactive'.
6077 (sql-connect): New function.
6078 (sql-connect-oracle, sql-connect-sybase, sql-connect-informix)
6079 (sql-connect-sqlite, sql-connect-mysql, sql-connect-solid)
6080 (sql-connect-ingres, sql-connect-ms, sql-connect-postgres)
6081 (sql-connect-interbase, sql-connect-db2, sql-connect-linter):
6084 2010-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
6086 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
6087 New custom variable.
6088 (completion-pcm--string->pattern): Use it.
6089 (completion-pcm--pattern->regex, completion-pcm--pattern->string):
6090 Make it handle any symbol as `any'.
6091 (completion-pcm--merge-completions): Extract common suffix for the new
6092 `prefix' symbol as well.
6093 (completion-substring--all-completions): Use the new `prefix' symbol.
6095 2010-05-09 Michael Albinus <michael.albinus@gmx.de>
6097 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Define if
6099 (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
6100 (tramp-compat-funcall): New defmacro.
6101 (tramp-compat-line-beginning-position)
6102 (tramp-compat-line-end-position)
6103 (tramp-compat-temporary-file-directory)
6104 (tramp-compat-make-temp-file, tramp-compat-file-attributes)
6105 (tramp-compat-copy-file, tramp-compat-copy-directory)
6106 (tramp-compat-delete-file, tramp-compat-delete-directory)
6107 (tramp-compat-number-sequence, tramp-compat-process-running-p)
6108 * net/tramp.el (top, with-progress-reporter)
6109 (tramp-rfn-eshadow-setup-minibuffer)
6110 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
6111 (tramp-handle-dired-compress-file, tramp-handle-shell-command)
6112 (tramp-completion-mode-p, tramp-check-for-regexp)
6113 (tramp-open-connection-setup-interactive-shell)
6114 (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
6115 (tramp-time-diff, tramp-coding-system-change-eol-conversion)
6116 (tramp-set-process-query-on-exit-flag, tramp-unload-tramp)
6117 * net/tramp-cmds.el (tramp-cleanup-all-connections)
6118 (tramp-reporter-dump-variable, tramp-load-report-modules)
6119 (tramp-append-tramp-buffers)
6120 * net/tramp-gvfs.el (tramp-gvfs-handle-file-selinux-context): Use it.
6122 * net/tramp-imap.el (top): Autoload `epg-make-context'.
6124 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
6126 * progmodes/compile.el (compilation-buffer-modtime): Rename from
6127 buffer-modtime. Adjust users.
6129 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
6131 * international/mule.el (auto-coding-alist): Only purecopy
6132 car of each item, not the whole list (Bug#6083).
6134 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
6136 * progmodes/js.el (js-mode): Make paragraph variables local before
6137 calling c-setup-paragraph-variables (Bug#6071).
6139 2010-05-08 Eli Zaretskii <eliz@gnu.org>
6141 * composite.el (compose-region, reference-point-alist): Fix typos
6144 2010-05-08 Alexander Klimov <alserkli@inbox.ru> (tiny change)
6146 * calc/calc-graph.el (calc-graph-plot): Use the proper form for
6147 gnuplot's "set" command.
6149 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
6151 * abbrev.el (last-abbrev-text): Doc fix.
6152 (abbrev-prefix-mark): Don't escape parenthesis.
6154 2010-05-08 Andreas Schwab <schwab@linux-m68k.org>
6156 * composite.el (find-composition): Doc fix.
6158 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
6160 * progmodes/sql.el (sql-electric-stuff): Fix typo in tag.
6161 (sql-oracle-program, sql-sqlite-options)
6162 (sql-query-placeholders-and-send): Doc fixes.
6163 (sql-set-product, sql-interactive-mode): Reflow docstrings.
6164 (sql-imenu-generic-expression, sql-buffer)
6165 (sql-mode-ansi-font-lock-keywords, sql-mode-oracle-font-lock-keywords)
6166 (sql-mode-postgres-font-lock-keywords, sql-mode-ms-font-lock-keywords)
6167 (sql-mode-sybase-font-lock-keywords)
6168 (sql-mode-informix-font-lock-keywords)
6169 (sql-mode-interbase-font-lock-keywords)
6170 (sql-mode-ingres-font-lock-keywords, sql-mode-solid-font-lock-keywords)
6171 (sql-mode-mysql-font-lock-keywords, sql-mode-sqlite-font-lock-keywords)
6172 (sql-mode-db2-font-lock-keywords, sql-mode-font-lock-keywords)
6173 (sql-product-feature, sql-highlight-product)
6174 (comint-line-beginning-position, sql-rename-buffer)
6175 (sql-toggle-pop-to-buffer-after-send-region sql-oracle)
6176 (sql-sybase, sql-informix, sql-sqlite, sql-mysql, sql-solid)
6177 (sql-ingres, sql-ms, sql-postgres, sql-interbase, sql-db2, sql-linter):
6178 Fix typos in docstrings.
6180 2010-05-08 Juri Linkov <juri@jurta.org>
6182 * info.el (Info-fontify-node): Put Info-breadcrumbs to the `display'
6183 property instead of `invisible' and `after-string' (bug#5998).
6185 2010-05-08 Juri Linkov <juri@jurta.org>
6187 * image-mode.el (image-mode-as-text): Fix typo in docstring.
6189 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
6191 * filecache.el (file-cache-add-directory-list)
6192 (file-cache-add-directory-recursively): Fix typos in docstrings.
6194 2010-05-08 Kenichi Handa <handa@m17n.org>
6196 * language/indian.el (gurmukhi-composable-pattern): Fix typo.
6197 (gujarati-composable-pattern): Fix typo.
6199 2010-05-08 Kenichi Handa <handa@m17n.org>
6201 * language/indian.el (oriya-composable-pattern)
6202 (tamil-composable-pattern, malayalam-composable-pattern):
6203 Add two-part vowels to "v" (vowel sign).
6205 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
6207 * files.el (copy-directory): Handle symlinks (Bug#5982).
6209 2010-05-08 Dan Nicolaescu <dann@ics.uci.edu>
6211 * vc-hg.el (vc-hg-state): Use HGRCPATH, not HGRC.
6212 (vc-hg-working-revision): Likewise. Use hg parents, not hg parent
6215 2010-05-08 Glenn Morris <rgm@gnu.org>
6217 * emacs-lisp/lisp.el (lisp-completion-at-point): Give it a doc string.
6219 * minibuffer.el (completion-at-point): Doc fix.
6221 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
6223 * electric.el (Electric-command-loop): Minor tweak.
6225 * ebuff-menu.el (electric-buffer-list): Try and make it behave a bit
6226 better with dedicated windows.
6228 2010-05-07 Chong Yidong <cyd@stupidchicken.com>
6230 * Version 23.2 released.
6232 2010-05-07 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
6233 Stefan Monnier <monnier@iro.umontreal.ca>
6235 Highlight vendor specific properties.
6236 * textmodes/css-mode.el (css-proprietary-nmstart-re): New var.
6237 (css-proprietary-property): New face.
6238 (css-font-lock-keywords): Use them.
6240 2010-05-07 Eli Zaretskii <eliz@gnu.org>
6242 * cus-start.el (all): Add native condition for tool-bar-* symbols.
6244 2010-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
6246 * textmodes/dns-mode.el (auto-mode-alist): Add entry for .zone files.
6247 * files.el (auto-mode-alist): Remove redundant entries.
6249 * files.el (auto-save-mode): Move to simple.el to fix bootstrap.
6250 * simple.el (auto-save-mode): Move from files.el.
6251 * minibuffer.el (completion--common-suffix): Fix copy&paste error.
6253 2010-05-07 Christian von Roques <roques@mti.ag> (tiny change)
6255 * epg.el (epg-key-capablity-alist): Add "D" flag (Bug#5592).
6257 2010-05-07 Katsumi Yamaoka <yamaoka@jpl.org>
6259 * mail/binhex.el (binhex-decode-region-internal)
6260 * mail/uudecode.el (uudecode-decode-region-internal)
6261 * net/dns.el (dns-read-string-name, dns-write, dns-read)
6262 (dns-read-type, dns-query)
6263 * pgg-parse.el (pgg-parse-armor)
6264 * pgg.el (pgg-verify-region)
6265 * sha1.el (sha1-string-external): Don't run set-buffer-multibyte for
6268 * net/imap.el (imap-disable-multibyte): Redefine it as a macro.
6270 2010-05-07 Juanma Barranquero <lekktu@gmail.com>
6272 * progmodes/cperl-mode.el (cperl-mode-unload-function): New function.
6274 Fix use of `filter-buffer-substring' (4th arg NOPROPS removed).
6275 * emulation/cua-base.el (cua-repeat-replace-region):
6276 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
6277 (cua-cut-region-to-global-mark):
6278 Remove text properties with `set-text-properties'.
6280 2010-05-06 Michael Albinus <michael.albinus@gmx.de>
6282 * net/tramp.el (top, with-progress-reporter):
6283 Use `symbol-function' inside `funcall'.
6285 * net/tramp-compat.el (tramp-compat-file-attributes)
6286 (tramp-compat-delete-file, tramp-compat-delete-directory):
6287 Handle only `wrong-number-of-arguments' error.
6289 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Fix typo.
6290 (tramp-gvfs-handle-file-selinux-context): Use `symbol-function'
6293 2010-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
6295 * minibuffer.el (completion--sreverse, completion--common-suffix):
6297 (completion-pcm--merge-completions): Extract common suffix when safe.
6299 * emacs-lisp/easy-mmode.el (define-minor-mode):
6300 Make :variable more flexible.
6301 * files.el (auto-save-mode): Use it to define using define-minor-mode.
6303 2010-05-05 Juri Linkov <juri@jurta.org>
6305 Add `slow' and `history' tags to the desktop data.
6307 * info.el (Info-virtual-nodes) [*Index*]: Add `slow' tag.
6308 (Info-virtual-files) [*Apropos*]: Add `slow' tag.
6309 (Info-finder-find-node): Require `finder.el' to be able
6310 to restore node from the desktop.
6311 (Info-desktop-buffer-misc-data): Save all nodes. Save additional
6312 data `Info-history' and `slow' tag in the assoc list.
6313 (Info-restore-desktop-buffer): Don't restore nodes with the
6314 `slow' tag. Restore `Info-history'.
6316 2010-05-05 Michael Albinus <michael.albinus@gmx.de>
6318 Add FORCE argument to `delete-file'.
6320 * net/ange-ftp.el (ange-ftp-del-tmp-name): Make it a defun,
6321 forcing to delete the temporary file.
6322 (ange-ftp-delete-file): Add FORCE arg.
6323 (ange-ftp-rename-remote-to-remote)
6324 (ange-ftp-rename-local-to-remote, ange-ftp-rename-remote-to-local)
6325 (ange-ftp-load, ange-ftp-compress, ange-ftp-uncompress):
6326 Force file deletion.
6328 * net/tramp-compat.el (tramp-compat-delete-file): New defun.
6330 * net/tramp.el (tramp-handle-delete-file): Add FORCE arg.
6331 (tramp-handle-make-symbolic-link, tramp-handle-load)
6332 (tramp-do-copy-or-rename-file-via-buffer)
6333 (tramp-do-copy-or-rename-file-directly)
6334 (tramp-do-copy-or-rename-file-out-of-band)
6335 (tramp-handle-process-file, tramp-handle-call-process-region)
6336 (tramp-handle-shell-command, tramp-handle-file-local-copy)
6337 (tramp-handle-insert-file-contents, tramp-handle-write-region)
6338 (tramp-delete-temp-file-function): Use `tramp-compat-delete-file'.
6340 * net/tramp-fish.el (tramp-fish-handle-delete-file): Add FORCE arg.
6341 (tramp-fish-handle-make-symbolic-link)
6342 (tramp-fish-handle-process-file): Use `tramp-compat-delete-file'.
6344 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
6345 Use `tramp-compat-delete-file'.
6347 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Add FORCE arg.
6348 (tramp-gvfs-handle-write-region): Use `tramp-compat-delete-file'.
6350 * net/tramp-imap.el (tramp-imap-handle-delete-file): Add FORCE arg.
6351 (tramp-imap-do-copy-or-rename-file): Use `tramp-compat-delete-file'.
6353 * net/tramp-smb.el (tramp-smb-handle-delete-file): Add FORCE arg.
6354 (tramp-smb-handle-copy-file, tramp-smb-handle-file-local-copy)
6355 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region): Use
6356 `tramp-compat-delete-file'.
6358 2010-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
6361 * subr.el (add-minor-mode): Use push.
6362 * mail/supercite.el (sc-electric-mode): Use more descriptive arg name.
6363 * emulation/edt.el (edt-select-mode): Simplify.
6365 Use define-minor-mode in more cases.
6366 * term/tvi970.el (tvi970-set-keypad-mode):
6367 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
6368 (normal-erase-is-backspace-mode):
6369 * scroll-bar.el (scroll-bar-mode): Use it and define-minor-mode.
6370 (set-scroll-bar-mode-1): (Re)move to its sole caller.
6371 (get-scroll-bar-mode): New function.
6372 * emacs-lisp/cl-macs.el (eq): Handle a non-variable first arg.
6374 Use define-minor-mode for less obvious cases.
6375 * emacs-lisp/easy-mmode.el (define-minor-mode): Add :variable keyword.
6376 * emacs-lisp/cl-macs.el (terminal-parameter, eq): Add setf method.
6377 * international/iso-ascii.el (iso-ascii-mode):
6378 * frame.el (auto-raise-mode, auto-lower-mode):
6379 * composite.el (global-auto-composition-mode): Use define-minor-mode.
6381 2010-05-04 Michael Albinus <michael.albinus@gmx.de>
6383 * net/tramp.el (tramp-methods): Remove "-q" from `tramp-login-args'
6384 in order to see error messages for failed logins.
6386 2010-05-03 Chong Yidong <cyd@stupidchicken.com>
6388 * diff.el (diff-sentinel):
6390 * epg.el (epg--make-temp-file, epg-decrypt-string)
6391 (epg-verify-string, epg-sign-string, epg-encrypt-string):
6393 * jka-compr.el (jka-compr-partial-uncompress)
6394 (jka-compr-call-process, jka-compr-write-region, jka-compr-load):
6396 * server.el (server-sentinel): Use delete-file's new FORCE arg
6399 2010-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
6401 Use define-minor-mode where applicable.
6402 * view.el (view-mode):
6403 * type-break.el (type-break-query-mode)
6404 (type-break-mode-line-message-mode):
6405 * textmodes/reftex.el (reftex-mode):
6406 * term/vt100.el (vt100-wide-mode):
6407 * tar-mode.el (tar-subfile-mode):
6408 * savehist.el (savehist-mode):
6409 * ibuf-ext.el (ibuffer-auto-mode):
6410 * composite.el (auto-composition-mode):
6411 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
6412 Use define-minor-mode.
6413 (vhdl-mode): Use static mode-line format.
6414 (vhdl-mode-line-update): Delete.
6415 (vhdl-create-mode-menu, vhdl-activate-customizations)
6416 (vhdl-hs-minor-mode): Don't bother calling it.
6418 2010-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
6420 * simple.el (with-wrapper-hook): Move.
6421 (buffer-substring-filters): Mark obsolete.
6422 (filter-buffer-substring-functions): New variable.
6423 (filter-buffer-substring): Use it. Remove unused arg `noprops'.
6425 2010-05-01 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
6426 Michael Albinus <michael.albinus@gmx.de>
6428 Implement compression for inline methods.
6430 * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
6431 (tramp-copy-size-limit): Allow also nil.
6432 (tramp-inline-compress-commands): New defconst.
6433 (tramp-find-inline-compress, tramp-get-inline-compress)
6434 (tramp-get-inline-coding): New defuns.
6435 (tramp-get-remote-coding, tramp-get-local-coding): Remove,
6436 replaced by `tramp-get-inline-coding'.
6437 (tramp-handle-file-local-copy, tramp-handle-write-region)
6438 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
6440 2010-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
6442 * bindings.el (mode-line-abbrev-mode, mode-line-auto-fill-mode):
6443 Remove unused functions.
6445 * emacs-lisp/lisp-mode.el (lisp-mode): Use define-derived-mode.
6446 Set find-tag-default-function as a variable rather than a property.
6448 * minibuffer.el (tags-completion-at-point-function): Move to etags.el.
6449 * progmodes/etags.el (tags-completion-at-point-function):
6450 Remove left over interactive spec. Add autoloading stub.
6451 (complete-tag): Use tags-completion-at-point-function.
6453 2010-04-30 Chong Yidong <cyd@stupidchicken.com>
6455 * minibuffer.el (tags-completion-at-point-function): Fix return value.
6457 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
6459 * ido.el (ido-init-completion-maps): Remove C-v binding.
6460 (ido-minibuffer-setup): Don't set cua-inhibit-cua-keys (Bug#5765).
6462 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
6464 * minibuffer.el (tags-completion-at-point-function): New function.
6465 (completion-at-point-functions): Use it.
6467 * progmodes/etags.el (complete-tag): Revert last change.
6469 2010-04-29 Alan Mackenzie <acm@muc.de>
6471 * progmodes/cc-mode.el (c-extend-region-for-CPP): Fix an
6472 off-by-one error (in end of macro position).
6474 2010-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
6476 * net/browse-url.el (browse-url-firefox-program): Use iceweasel if
6477 firefox is absent. Don't autoload.
6478 (browse-url-galeon-program): Don't autoload.
6480 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
6482 * bindings.el (complete-symbol): Move into minibuffer.el.
6484 * minibuffer.el (complete-tag): Move from etags.el. If tags
6485 completion cannot be performed, return nil instead of signalling
6487 (completion-at-point): Make it an alias for complete-symbol.
6488 (complete-symbol): Move from bindings.el, and replace with the
6489 body of completion-at-point.
6491 * progmodes/etags.el (complete-tag): Move to minibuffer.el.
6493 2010-04-28 Michael Albinus <michael.albinus@gmx.de>
6495 * net/tramp.el (tramp-remote-selinux-p): New defun.
6496 (tramp-handle-file-selinux-context)
6497 (tramp-handle-set-file-selinux-context): Use it.
6499 2010-04-28 Sam Steingold <sds@gnu.org>
6501 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
6502 `safe-local-variable' if the value is a string or a symbol with
6503 the property `bug-reference-url-format'.
6505 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
6507 * progmodes/bug-reference.el (bug-reference-url-format):
6508 Revert 2010-04-27 change due to security risk.
6510 2010-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
6512 Make it possible to locally disable a globally enabled mode.
6513 * simple.el (fundamental-mode): Run fundamental-mode-hook.
6514 * emacs-lisp/derived.el (define-derived-mode): Use fundamental-mode
6515 rather than kill-all-local-variables so it runs fundamental-mode-hook.
6516 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
6517 Use fundamental-mode-hook to run MODE-enable-in-buffers earlier, so
6518 that subsequent hooks get a chance to disable it.
6520 2010-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
6522 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
6523 Avoid re-enabling a minor mode after the user turned the minor mode
6524 off if MODE-enable-in-buffers is run twice (typically once from
6525 fundamental-mode's after-change-major-mode-hook and a second time from
6526 run-mode-hook's own after-change-major-mode-hook).
6528 * emacs-lisp/lisp.el (lisp-complete-symbol): Fail gracefully.
6530 2010-04-27 Sam Steingold <sds@gnu.org>
6532 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
6533 `safe-local-variable' if the value is a string or a function, as
6534 documented and implemented on 2010-04-02.
6536 2010-04-27 Juanma Barranquero <lekktu@gmail.com>
6538 * ido.el (ido-buffer-internal): Bind `ido-use-virtual-buffers' to nil
6539 when method is 'kill.
6541 2010-04-27 Agustín Martín <agustin.martin@hispalinux.es>
6543 * textmodes/ispell.el (ispell-init-process): Fix personal dictionary
6544 condition in default directory check.
6545 (ispell-init-process,ispell-kill-ispell,kill-buffer-hook):
6546 Kill ispell process when killing its associated buffer.
6548 2010-04-27 Jan Djärv <jan.h.d@swipnet.se>
6550 * desktop.el (desktop-kill): ask-if-new: Ask if desktop file exists,
6551 but we aren't using it.
6553 2010-04-25 Jan Djärv <jan.h.d@swipnet.se>
6555 * tool-bar.el (tool-bar-local-item-from-menu): Revert unintended
6556 checkin in 2010-04-23T16:26:11Z!monnier@iro.umontreal.ca.
6558 2010-04-24 Glenn Morris <rgm@gnu.org>
6560 * emacs-lisp/authors.el (authors-obsolete-files-regexps):
6561 Ignore VCS-ignore files, and deleted nextstep preferences files.
6562 (authors-ignored-files): Ignore deleted cedet test files, and "*.el".
6563 (authors-ambiguous-files): New list.
6564 (authors-valid-file-names): Add some deleted files.
6565 (authors-renamed-files-alist): Add font-setting.el, edt-user.doc.
6566 (authors-disambiguate-file-name): New function. (Bug#5501)
6567 (authors-canonical-file-name): Doc fix.
6568 Don't warn about obsolete files.
6569 (authors-canonical-file-name, authors-scan-el):
6570 Use authors-disambiguate-file-name.
6572 * hfy-cmap.el (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
6573 Add autoload cookies.
6574 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values): Add docs.
6575 (generated-autoload-file): Set file-local value to "htmlfontify.el".
6576 * htmlfontify.el (caddr, cadddr): Remove fallback definitions.
6577 They have definitions / compiler macros in cl.el.
6578 (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
6579 Replace manual autoloads with generated ones.
6580 (htmlfontify-unload-rgb-file): Remove autoload.
6581 * Makefile.in (autoloads): Ensure htmlfontify.el is writable.
6583 2010-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
6585 * emacs-lisp/bytecomp.el (byte-compile-set-default): New function.
6586 (byte-compile-setq-default): Optimize for the
6587 single-var case and don't call byte-compile-form in this case to avoid
6588 inf-loop with byte-compile-set-default.
6590 * progmodes/compile.el (compilation-start): Abbreviate default directory.
6592 2010-04-23 Michael Albinus <michael.albinus@gmx.de>
6594 Implement SELINUX backends.
6596 * net/tramp.el (tramp-file-name-handler-alist):
6597 Add `file-selinux-context' and `set-file-selinux-context'.
6598 (tramp-handle-file-selinux-context)
6599 (tramp-handle-set-file-selinux-context): New defuns.
6600 (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
6601 Handle PRESERVE-SELINUX-CONTEXT.
6603 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6604 Add `file-selinux-context' and `set-file-selinux-context'.
6605 (tramp-gvfs-handle-file-selinux-context)
6606 (tramp-gvfs-handle-set-file-selinux-context): New defuns.
6607 (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
6609 * net/ange-ftp.el (ange-ftp-copy-file):
6610 * net/tramp-fish.el (tramp-fish-handle-copy-file):
6611 * net/tramp-imap.el (tramp-imap-handle-copy-file):
6612 * net/tramp-smb.el (tramp-smb-handle-copy-file):
6613 Add PRESERVE-SELINUX-CONTEXT.
6615 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
6617 Synchronize with Tramp repository.
6619 * net/tramp.el (with-connection-property, tramp-completion-mode-p)
6620 (tramp-action-process-alive, tramp-action-out-of-band)
6621 (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
6622 (tramp-exists-file-name-handler): Fix docstring.
6623 (with-progress-reporter): New defmacro.
6624 (tramp-do-copy-or-rename-file, tramp-handle-dired-compress-file)
6625 (tramp-maybe-open-connection): Use it.
6627 2010-04-22 Noah Lavine <noah549@gmail.com> (tiny change)
6629 Detect ssh 'ControlMaster' argument automatically in some cases.
6631 * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
6632 (tramp-default-method): Use it.
6634 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
6636 * net/tramp.el (tramp-handle-copy-file): Add new optional
6637 parameter `preserve-selinux-context'.
6638 (tramp-file-name-for-operation): Add `set-file-selinux-context'.
6640 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
6642 * net/tramp.el (tramp-completion-handle-file-name-all-completions):
6643 Ensure, that non remote files are still checked. Oops.
6645 2010-04-21 Michael Albinus <michael.albinus@gmx.de>
6649 * icomplete.el (icomplete-completions): Use `non-essential'.
6651 * net/tramp.el (tramp-connectable-p): New defun.
6652 (tramp-handle-expand-file-name)
6653 (tramp-completion-handle-file-name-all-completions)
6654 (tramp-completion-handle-file-name-completion): Use it.
6656 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
6658 * emacs-lisp/lisp.el (lisp-completion-at-point): Try and handle errors.
6660 2010-04-21 Jan Djärv <jan.h.d@swipnet.se>
6662 * vc-dir.el (vc-dir-tool-bar-map): Add :label on some tool bar items.
6664 * tool-bar.el (tool-bar-setup): Add :label on some tool bar items.
6666 * loadup.el: Load dynamic-setting.el if feature dynamic-setting
6669 * info.el (info-tool-bar-map): Add labels.
6671 * cus-start.el (all): Add tool-bar-style and tool-bar-max-label-size.
6673 * cus-edit.el (custom-commands): Add labels for tool bar.
6674 (custom-buffer-create-internal, Custom-mode): Adjust for
6675 labels in custom-commands.
6677 * dynamic-setting.el: Renamed from font-setting.el.
6679 2010-04-21 John Wiegley <jwiegley@gmail.com>
6681 * ido.el (ido-init-completion-maps): For ido-switch-buffer, C-o
6682 toggles the use of virtual buffers.
6683 (ido-buffer-internal): Guard `ido-use-virtual-buffers' global value.
6684 (ido-toggle-virtual-buffers): New function.
6686 2010-04-21 Juanma Barranquero <lekktu@gmail.com>
6688 Use `define-derived-mode'; fix window selection; doc fixes.
6689 * play/tetris.el (tetris, tetris-update-speed-function)
6690 (tetris-tty-colors, tetris-x-colors, tetris-move-bottom)
6691 (tetris-move-left, tetris-move-right, tetris-rotate-prev)
6692 (tetris-rotate-next, tetris-end-game, tetris-start-game)
6693 (tetris-pause-game): Fix typos in docstrings.
6694 (tetris-mode-map, tetris-null-map):
6695 Move initialization into declaration.
6696 (tetris-mode): Define with `define-derived-mode';
6697 set show-trailing-whitespace to nil.
6698 (tetris): Prefer window already displaying the "*Tetris*" buffer.
6700 2010-04-21 Karel Klíč <kklic@redhat.com>
6702 * files.el (backup-buffer): Handle SELinux context, and return it
6703 if a backup was made by renaming.
6704 (backup-buffer-copy): Set SELinux context to the target file.
6705 (basic-save-buffer): Set SELinux context of the newly written file.
6706 (basic-save-buffer-1): Now it also returns any SELinux context.
6707 (basic-save-buffer-2): Set SELinux context of the newly created file,
6709 * net/tramp.el (tramp-file-name-for-operation):
6710 Add file-selinux-context.
6712 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
6714 Make the log-edit comments use RFC822 format throughout.
6716 * vc.el (vc-checkin, vc-modify-change-comment):
6717 Adjust to new vc-start/finish-logentry.
6718 (vc-find-conflicted-file): New command.
6719 (vc-transfer-file): Adjust to new vc-checkin.
6720 (vc-next-action): Improve scoping.
6722 * vc-hg.el (vc-hg-log-edit-mode): Remove.
6723 (vc-hg-checkin): Remove extra arg. Use log-edit-extract-headers.
6725 * vc-git.el (vc-git-log-edit-mode): Remove.
6726 (vc-git-checkin): Remove extra arg. Use log-edit-extract-headers.
6727 (vc-git-commits-coding-system): Rename from git-commits-coding-system.
6729 * vc-dispatcher.el (vc-log-edit): Shorten names for log-edit-show-files.
6730 (vc-start-logentry): Remove argument `extra'.
6731 (vc-finish-logentry): Remove extra args.
6733 * vc-bzr.el (vc-bzr-log-edit-mode): Remove.
6734 (vc-bzr-checkin): Remove extra arg. Use log-edit-extract-headers.
6735 (vc-bzr-conflicted-files): New function.
6737 * log-edit.el (log-edit-extra-flags)
6738 (log-edit-before-checkin-process): Remove.
6739 (log-edit-summary, log-edit-header, log-edit-unknown-header): New faces.
6740 (log-edit-headers-alist): New var.
6741 (log-edit-header-contents-regexp): New const.
6742 (log-edit-match-to-eoh): New function.
6743 (log-edit-font-lock-keywords): Use them.
6744 (log-edit): Insert a "Summary:" header as default.
6745 (log-edit-mode): Mark font-lock rules as case-insensitive.
6746 (log-edit-done): Cleanup headers.
6747 (log-view-process-buffer): Remove.
6748 (log-edit-extract-headers): New function to replace it.
6750 2010-04-20 Juanma Barranquero <lekktu@gmail.com>
6752 * subr.el (default-direction-reversed): Remove obsolescence info.
6754 2010-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
6756 * vc-dispatcher.el (vc-finish-logentry): Don't mess so badly with the
6759 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete around point.
6760 I.e. include text after point in the completion region.
6761 Also, return nil when we're not after/in a symbol.
6763 * international/mule-cmds.el (view-hello-file): Don't fiddle with the
6764 default enable-multibyte-characters.
6766 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
6768 * international/mule.el: Help the user choose a valid coding-system.
6769 (read-buffer-file-coding-system): New function.
6770 (set-buffer-file-coding-system): Use it. Prompt the user if the
6771 coding-system cannot encode all the chars.
6773 * vc-bzr.el: Use standard *vc* and *vc-diff* buffers.
6774 (vc-bzr-shelve-show, vc-bzr-shelve-apply)
6775 (vc-bzr-shelve-apply-and-keep, vc-bzr-shelve-snapshot):
6776 Don't use *vc-bzr-shelve*.
6778 2010-04-19 Dan Nicolaescu <dann@ics.uci.edu>
6780 Fix the version number for added files.
6781 * vc-hg.el (vc-hg-working-revision): Check if the file is
6782 registered after hg parent fails (Bug#5961).
6784 2010-04-19 Glenn Morris <rgm@gnu.org>
6786 * htmlfontify.el (htmlfontify-buffer)
6787 (htmlfontify-copy-and-link-dir): Autoload entry points.
6789 2010-04-19 Magnus Henoch <magnus.henoch@gmail.com>
6791 * vc-hg.el (vc-hg-annotate-extract-revision-at-line): Expand file
6792 name relative to the project root (Bug#5960).
6794 2010-04-19 Glenn Morris <rgm@gnu.org>
6796 * vc-git.el (vc-git-print-log): Doc fix.
6798 2010-04-19 Óscar Fuentes <ofv@wanadoo.es>
6800 * ido.el (ido-file-internal): Fix 2009-12-02 change.
6802 2010-04-19 Christoph <cschol2112@googlemail.com> (tiny change)
6804 * progmodes/grep.el (grep-compute-defaults): Fix handling of host
6805 default settings (Bug#5928).
6807 2010-04-19 Glenn Morris <rgm@gnu.org>
6809 * progmodes/fortran.el (fortran-match-and-skip-declaration):
6811 (fortran-font-lock-keywords-3): Use it. (Bug#1385)
6813 2010-04-19 Kenichi Handa <handa@m17n.org>
6815 * language/indian.el (malayalam-composable-pattern): Fix previous
6816 change (add U+0D4D "SIGN VIRAMA").
6817 (oriya-composable-pattern): Add U+0B30 and fix typo in the regexp.
6818 (tamil-composable-pattern): Fix typo in the regexp.
6819 (telugu-composable-pattern): Fix U+0C4D and typo in the regexp.
6820 (kannada-composable-pattern): Fix U+0CB0 and typo in the regexp.
6821 (malayalam-composable-pattern): Fix U+0D4D and typo in the regexp.
6823 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
6825 * textmodes/tex-mode.el (latex-mode): Revert 2008-03-03 change to
6826 paragraph-separate (Bug#5821).
6828 2010-04-19 Juri Linkov <juri@jurta.org>
6830 Put breadcrumbs on overlay instead of inserting to buffer (bug#5809).
6832 * info.el (Info-find-node-2): Comment out code that skips
6834 (Info-mouse-follow-link): New command.
6835 (Info-link-keymap): New keymap.
6836 (Info-breadcrumbs): Rename from `Info-insert-breadcrumbs'.
6837 Return a string with links instead of inserting breadcrumbs
6839 (Info-fontify-node): Comment out code that inserts breadcrumbs.
6840 Instead of putting the `invisible' text property over the Info
6841 header, make an overlay over the Info header with the `invisible'
6842 property and `after-string' set to the string returned by
6845 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
6847 * help.el (help-window-setup-finish): Doc fix (Bug#5830).
6848 Reported by monkey@sandpframing.com.
6850 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
6852 * tmm.el (tmm-prompt): Remove obsolete call to x-popup-menu.
6853 (tmm-get-keymap): Add key-binding shortcuts now that they're not
6854 available in the "keyseq cache" any more.
6856 * custom.el (defcustom): Add edebug spec.
6858 2010-04-18 Juri Linkov <juri@jurta.org>
6860 Test for special mode-class in view-buffer instead of view-file (bug#5513).
6862 * view.el (view-file, view-buffer): Move test for special mode-class
6863 from view-file to view-buffer.
6865 * tar-mode.el (tar-extract): Turn if's into one cond
6866 like in arc-mode.el.
6868 2010-04-18 Juri Linkov <juri@jurta.org>
6870 Add 7z archive format support (bug#5475).
6872 * arc-mode.el (archive-zip-extract): Try to find 7z executable.
6873 (archive-7z-extract): New defcustom.
6874 (archive-find-type): Add magic string for 7z.
6875 (archive-extract-by-stdout): Add new optional arg `stderr-file'.
6876 If `stderr-file' is non-nil, use `(t stderr-file)' for the
6877 `buffer' arg of `call-process'.
6878 (archive-zip-extract): Check `archive-zip-extract' for "7z" and
6879 call the function `archive-7z-extract' with the variable
6880 `archive-7z-extract' let-bound to `archive-zip-extract'.
6881 (archive-7z-summarize, archive-7z-extract): New functions.
6883 * international/mule.el (auto-coding-alist):
6884 * files.el (auto-mode-alist): Add 7z file extension.
6886 2010-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
6888 * loadup.el: Setup hash-cons for pure data.
6890 Fix duplicate entries in cedet's loaddefs.el files.
6891 * emacs-lisp/autoload.el (autoload-file-load-name): Be more clever.
6892 Should make most file-local generated-autoload-file unnecessary.
6893 (print-readably): Silence warnings.
6894 (autoload-find-destination): Take load-name as an arg to make sure
6895 it's the same as the one that will be in the file.
6896 (autoload-generate-file-autoloads): Adjust to above changes.
6897 Try to make the dataflow a bit simpler.
6899 * cvs-status.el (cvs-refontify): Remove unused.
6901 2010-04-18 Jay Belanger <jay.p.belanger@gmail.com>
6903 * calc/calc.el (calc-mode-map): Bind "O" to `calc-missing-key'.
6905 * calc/calc-bin.el (calc-radix): Have the "O" option turn on
6906 twos-complement mode.
6908 2010-04-17 Jay Belanger <jay.p.belanger@gmail.com>
6910 * calc/calc-ext.el (calc-init-extensions): Add keybinding for
6911 'calc-option'. Add `calc-option-prefix-help' to calc-help autoloads.
6912 (calc-inverse): Add "Option" to message, as appropriate.
6913 (calc-hyperbolic): Add "Option" to message, as appropriate.
6914 (calc-option, calc-is-option): New functions.
6916 * calc/calc-help.el (calc-full-help): Add `calc-option-help'.
6917 (calc-option-prefix-help): New function.
6919 * calc/calc-misc.el (calc-help): Add "Option" entry.
6921 * calc/calc.el (calc-local-var-list): Add `calc-option-flag'.
6922 (calc-option-flag): New variable.
6923 (calc-do): Set `calc-option-flag to nil.
6924 (calc-set-mode-line): Add "Opt " as appropriate.
6926 2010-04-16 Juri Linkov <juri@jurta.org>
6928 Move scrolling commands from simple.el to window.el
6929 because their primitives are implemented in window.c.
6931 * simple.el (scroll-error-top-bottom)
6932 (scroll-up-command, scroll-down-command, scroll-up-line)
6933 (scroll-down-line, scroll-other-window-down)
6934 (beginning-of-buffer-other-window, end-of-buffer-other-window):
6935 * window.el (scroll-error-top-bottom)
6936 (scroll-up-command, scroll-down-command, scroll-up-line)
6937 (scroll-down-line, scroll-other-window-down)
6938 (beginning-of-buffer-other-window, end-of-buffer-other-window):
6939 Move from simple.el to window.el because their primitives are
6940 implemented in window.c.
6942 2010-04-16 Juri Linkov <juri@jurta.org>
6944 * isearch.el (isearch-lookup-scroll-key): Check both
6945 `isearch-scroll' and `scroll-command' properties.
6946 (scroll-up, scroll-down): Remove `isearch-scroll' property.
6948 * mwheel.el (mwheel-scroll): Remove `isearch-scroll' property.
6950 * simple.el (scroll-up-command, scroll-down-command)
6951 (scroll-up-line, scroll-down-line): Remove `isearch-scroll' property.
6953 2010-04-15 Juri Linkov <juri@jurta.org>
6955 * simple.el (scroll-up-command, scroll-down-command)
6956 (scroll-up-line, scroll-down-line): Put `scroll-command'
6957 property on the these symbols. Remove them from
6958 `scroll-preserve-screen-position-commands'.
6960 * mwheel.el (mwheel-scroll): Put `scroll-command' and
6961 `isearch-scroll' properties on the `mwheel-scroll' symbol.
6962 Remove it from `scroll-preserve-screen-position-commands'.
6964 * isearch.el (isearch-allow-scroll): Doc fix.
6966 2010-04-15 Michael Albinus <michael.albinus@gmx.de>
6968 * net/tramp.el (tramp-error-with-buffer): Don't show the
6969 connection buffer when we are in completion mode.
6970 (tramp-file-name-handler): Catch the error for some operations
6971 when we are in completion mode. This gives the user the chance to
6972 correct the file name in the minibuffer.
6974 2010-04-15 Glenn Morris <rgm@gnu.org>
6976 * progmodes/verilog-mode.el (verilog-forward-sexp): Avoid free variable.
6978 2010-04-15 Juanma Barranquero <lekktu@gmail.com>
6980 Simplify by using `define-derived-mode'.
6981 * info.el (Info-mode):
6982 * calendar/todo-mode.el (todo-mode):
6983 * play/gomoku.el (gomoku-mode): Define with `define-derived-mode'.
6984 (gomoku-mode-map): Move initialization into declaration.
6986 2010-04-14 Michael Albinus <michael.albinus@gmx.de>
6989 * ido.el (ido-file-name-all-completions-1):
6990 * minibuffer.el (minibuffer-completion-help):
6991 * net/tramp.el (tramp-completion-mode-p): Use `non-essential'.
6993 2010-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
6995 * simple.el (non-essential): New var.
6997 Add a new field `location' to bookmarks for non-file bookmarks.
6998 * bookmark.el (bookmark-location): Use the new field, if present.
6999 (bookmark-insert-location): Undo last change, not needed any more.
7000 * man.el (Man-bookmark-make-record):
7001 * woman.el (woman-bookmark-make-record): Add `location' field.
7003 2010-04-14 Juri Linkov <juri@jurta.org>
7005 * simple.el (scroll-error-top-bottom): New defcustom.
7006 (scroll-up-command, scroll-down-command): Use it. Doc fix.
7008 * emulation/pc-select.el (pc-select-override-scroll-error):
7009 Obsolete in favor of `scroll-error-top-bottom'.
7011 2010-04-14 Juri Linkov <juri@jurta.org>
7013 * tutorial.el (tutorial--default-keys): Rebind `C-v' to
7014 `scroll-up-command' and `M-v' to `scroll-down-command'.
7016 * emulation/cua-rect.el (cua--init-rectangles):
7017 * forms.el (forms--change-commands):
7018 * image-mode.el (image-mode-map):
7019 Remap scroll-down-command and scroll-up-command
7020 in addition to scroll-down and scroll-up.
7022 2010-04-14 Juri Linkov <juri@jurta.org>
7024 * mwheel.el (scroll-preserve-screen-position-commands):
7025 Add mwheel-scroll to this list of commands.
7027 * simple.el (scroll-preserve-screen-position-commands):
7028 Add scroll-up-command, scroll-down-command, scroll-up-line,
7029 scroll-down-line to this list of commands.
7031 2010-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
7033 * obsolete/complete.el: Move from lisp/complete.el.
7035 * pcomplete.el (pcomplete-here*): Fix mistaken change (bug#5935).
7037 * emacs-lisp/easy-mmode.el (define-minor-mode): Passing a nil argument
7038 to the minor mode function now turns the mode ON unconditionally.
7040 2010-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
7042 * vc-dir.el (vc-dir-kill-line): New command.
7043 (vc-dir-mode-map): Bind it to C-k.
7045 * bookmark.el (bookmark-insert-location): Handle a nil filename.
7047 * woman.el: Add bookmark declarations to silence the compiler.
7048 (bookmark-prop-get): Use `man-args' rather than `filename' as a first
7049 step to compatibility between man and woman bookmarks.
7050 Adjust for Man-default-bookmark-title renaming.
7051 (woman-bookmark-jump): Adjust accordingly. Don't forget to autoload.
7053 * man.el: Add bookmark declarations to silence the compiler.
7054 (Man-name-local-regexp): Make it match NAME as well.
7055 (Man-getpage-in-background): Return the buffer.
7056 (Man-notify-when-ready): Use `case'.
7057 (man-set-default-bookmark-title): Rename to Man-default-bookmark-title.
7058 Don't hardcode "NAME". Simplify.
7059 (Man-bookmark-make-record): Use Man-arguments rather than buffer-name.
7060 Rename from Man-bookmark-make-record.
7061 (Man-bookmark-jump): Rename from man-bookmark-jump. Simplify now that
7062 we have the actual man-args. Use Man-getpage-in-background rather
7063 than `man' since the arg is already processed. Let bookmark.el do the
7064 window handling. Only wait for the relevant process.
7065 Don't forget to autoload.
7067 * bookmark.el (bookmark-default-file): Use locate-user-emacs-file.
7069 2010-04-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7071 * woman.el (woman-bookmark-make-record, woman-bookmark-jump):
7073 (woman-mode): Setup bookmark support.
7075 * man.el (man-set-default-bookmark-title, man-bookmark-make-record)
7076 (man-bookmark-jump): New functions.
7077 (Man-mode): Setup bookmark support.
7079 2010-04-10 Jari Aalto <jari.aalto@cante.net>
7081 * comint.el (comint-password-prompt-regexp): Use regexp-opt, and
7082 recognize ssh-keygen prompt (Bug#2817).
7084 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
7086 * net/tramp.el (tramp-do-copy-or-rename-file): Add progress reporter.
7088 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
7090 Synchronize with Tramp repository.
7092 * net/tramp.el (tramp-completion-function-alist)
7093 (tramp-file-name-regexp, tramp-chunksize)
7094 (tramp-local-coding-commands, tramp-remote-coding-commands):
7096 (tramp-remote-process-environment): Use `format' instead of `concat'.
7097 (tramp-handle-directory-files-and-attributes)
7098 (tramp-get-remote-path): Use `copy-tree'.
7099 (tramp-handle-file-name-all-completions): Backward/ XEmacs
7100 compatibility: Use `completion-ignore-case' if
7101 `read-file-name-completion-ignore-case' does not exist.
7102 (tramp-do-copy-or-rename-file-directly): Do not use
7103 `tramp-handle-file-remote-p'.
7104 (tramp-do-copy-or-rename-file-out-of-band):
7105 Use `tramp-compat-delete-directory'.
7106 (tramp-do-copy-or-rename-file-out-of-band)
7107 (tramp-compute-multi-hops, tramp-maybe-open-connection):
7108 Use `format-spec-make'.
7109 (tramp-find-foreign-file-name-handler)
7110 (tramp-advice-make-auto-save-file-name)
7111 (tramp-set-auto-save-file-modes): Remove superfluous check for
7112 `stringp'. This is done inside `tramp-tramp-file-p'.
7113 (tramp-debug-outline-regexp): New defconst.
7114 (tramp-get-debug-buffer): Use it.
7115 (tramp-check-for-regexp): Use (forward-line 1).
7116 (tramp-set-auto-save-file-modes): Adapt version check.
7118 * net/tramp-compat.el (tramp-advice-file-expand-wildcards):
7119 Wrap call of `featurep' for 2nd argument.
7120 (tramp-compat-make-temp-file): Simplify fallback implementation.
7121 (tramp-compat-copy-tree): Remove function.
7122 (tramp-compat-delete-directory): Provide implementation for older
7125 * net/tramp-fish.el (tramp-fish-handle-directory-files-and-attributes):
7126 Do not use `tramp-fish-handle-file-attributes.
7128 * net/trampver.el: Update release number.
7130 2010-04-10 Glenn Morris <rgm@gnu.org>
7132 * progmodes/compile.el (compilation-save-buffers-predicate):
7133 Add missing :version tag.
7135 2010-04-09 Sam Steingold <sds@gnu.org>
7137 * progmodes/compile.el (compilation-save-buffers-predicate):
7138 Remove the "autoload" cookie.
7140 * progmodes/bug-reference.el (turn-on-bug-reference-mode)
7141 (turn-on-bug-reference-prog-mode): Remove, `bug-reference-mode'
7142 and `bug-reference-prog-mode' can be used in hooks directly.
7144 2010-04-09 Dan Nicolaescu <dann@ics.uci.edu>
7146 Add --author support to git commit.
7147 * vc-git.el (vc-git-checkin): Pass extra-args to the commit command.
7148 (vc-git-log-edit-mode): New minor mode.
7149 (log-edit-mode, log-edit-extra-flags, log-edit-mode):
7152 2010-04-09 Eric Raymond <esr@snark.thyrsus.com>
7154 * vc-hooks.el, vc-git.el: Improve documentation comments.
7156 2010-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
7158 Fix some of the problems in defsubst* (bug#5728).
7159 * emacs-lisp/cl-macs.el (defsubst*): Don't substitute non-trivial args.
7160 (cl-defsubst-expand): Do the substitutions simultaneously (bug#5728).
7162 2010-04-07 Sam Steingold <sds@gnu.org>
7164 * progmodes/compile.el (compilation-save-buffers-predicate):
7165 New custom variable.
7166 (compile, recompile): Pass it to `save-some-buffers'.
7168 2010-04-07 Jan Djärv <jan.h.d@swipnet.se>
7170 * wid-edit.el (widget-choose): Move cursor to the second line of
7171 the buffer (Bug#5695).
7173 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
7175 Add new VC methods: vc-log-incoming and vc-log-outgoing.
7176 * vc.el (vc-print-log-setup-buttons): New function split out from
7177 vc-print-log-internal.
7178 (vc-log-internal-common): New function, a parametrized version of
7179 vc-print-log-internal.
7180 (vc-print-log-internal): Just call vc-log-internal-common with the
7182 (vc-incoming-outgoing-internal):
7183 (vc-log-incoming, vc-log-outgoing): New functions.
7184 (vc-log-view-type): New permanent local variable.
7186 * vc-hooks.el (vc-menu-map): Bind vc-log-incoming and vc-log-outgoing.
7188 * vc-bzr.el (vc-bzr-log-view-mode): Use vc-log-view-type instead
7189 of the dynamic bound vc-short-log.
7190 (vc-bzr-log-incoming, vc-bzr-log-outgoing): New functions.
7192 * vc-git.el (vc-git-log-outgoing): New function.
7193 (vc-git-log-view-mode): Use vc-log-view-type instead
7194 of the dynamic bound vc-short-log.
7196 * vc-hg.el (vc-hg-log-view-mode): Use vc-log-view-type instead
7197 of the dynamic bound vc-short-log. Highlight the tag.
7198 (vc-hg-log-incoming, vc-hg-log-outgoing): New functions.
7199 (vc-hg-outgoing, vc-hg-incoming, vc-hg-outgoing-mode):
7200 (vc-hg-incoming-mode): Remove.
7201 (vc-hg-extra-menu-map): Do not bind vc-hg-incoming and vc-hg-outgoing.
7203 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
7205 Fix default-directory for vc-root-diff.
7206 * vc.el (vc-root-diff): Bind default-directory to the root
7207 directory for the diff command.
7209 2010-04-07 Michael McNamara <mac@mail.brushroad.com>
7211 * progmodes/verilog-mode.el (verilog-forward-sexp):
7212 (verilog-calc-1): Support "disable fork" and "fork wait" multi
7213 word keywords, suggested by Steve Pearlmutter.
7214 (verilog-pretty-declarations): Support lineup of declarations in
7216 (verilog-skip-backward-comments, verilog-skip-forward-comment-p):
7217 fix bug for /* / comments.
7218 (verilog-backward-syntactic-ws, verilog-forward-syntactic-ws):
7219 Speed up and simplfy as this is never called with a bound.
7220 (verilog-pretty-declarations): Enhance to line up declarations
7221 inside a parameter list, suggested by Alan Morgan.
7222 (verilog-pretty-expr): Tune assignment regular expression match
7223 string for corner cases; also use markers instead of character
7224 number as indent changes the later.
7226 2010-04-07 Wilson Snyder <wsnyder@wsnyder.org>
7228 * progmodes/verilog-mode.el (verilog-type-keywords): Fix pulldown
7230 (verilog-read-sub-decls-line): Fix comments in AUTO_TEMPLATE
7231 causing truncation of AUTOWIRE signals. Reported by Bruce Tennant.
7232 (verilog-auto-inst, verilog-auto-inst-port): Add vl_mbits for
7233 AUTO_TEMPLATEs needing multiple array bits. Suggested by Bruce
7236 (verilog-1800-2005-keywords, verilog-1800-2009-keywords): Add IEEE
7237 1800-2009 keywords, including "global.".
7239 2010-04-06 John Wiegley <jwiegley@gmail.com>
7241 * ido.el (ido-add-virtual-buffers-to-list): Fix duplicated names
7242 appearing in buffer list (if a live buffer name matched a recentf
7243 file basename). Should use uniquify to offer a real solution.
7245 2010-04-06 John Wiegley <jwiegley@gmail.com>
7247 * ido.el (ido-use-virtual-buffers, ido-virtual): Move a ChangeLog
7248 comment to code, and add a :version tag.
7249 (ido-virtual-buffers): Move defvar to fix byte-compiler warning.
7251 2010-04-06 Juanma Barranquero <lekktu@gmail.com>
7253 Enable recentf-mode if using virtual buffers.
7254 * ido.el (recentf-list): Declare for byte-compiler.
7255 (ido-virtual-buffers): Move up to silence byte-compiler. Add docstring.
7256 (ido-make-buffer-list): Simplify.
7257 (ido-add-virtual-buffers-to-list): Simplify. Enable recentf-mode.
7259 2010-04-05 Juri Linkov <juri@jurta.org>
7261 Scrolling commands which scroll a line instead of full screen.
7262 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
7264 * simple.el (scroll-up-line, scroll-down-line): New commands.
7265 Put property isearch-scroll=t on them.
7267 * emulation/ws-mode.el (scroll-down-line, scroll-up-line):
7270 2010-04-05 Juri Linkov <juri@jurta.org>
7272 Scrolling commands which do not signal errors at top/bottom.
7273 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
7275 * simple.el (scroll-up-command, scroll-down-command): New commands.
7276 Put property isearch-scroll=t on them.
7278 * bindings.el (global-map): Rebind [prior] from `scroll-down' to
7279 `scroll-down-command' and [next] from `scroll-up' to
7280 `scroll-up-command'.
7282 * emulation/cua-base.el: Put property CUA=move on
7283 `scroll-up-command' and `scroll-down-command'.
7284 (cua--init-keymaps): Remap `scroll-up-command' to `cua-scroll-up'
7285 and `scroll-down-command' to `cua-scroll-down'.
7287 2010-04-05 Juanma Barranquero <lekktu@gmail.com>
7289 * help.el (describe-mode): Return nil.
7291 2010-04-04 John Wiegley <jwiegley@gmail.com>
7293 * ido.el (ido-use-virtual-buffers): New variable to indicate
7294 whether "virtual buffer" support is enabled for IDO.
7295 (ido-virtual): Face used to indicate virtual buffers in the list.
7296 (ido-buffer-internal): If a buffer is chosen, and no such buffer
7297 exists, but a virtual buffer of that name does (which would be why
7298 it was in the list), recreate the buffer by reopening the file.
7299 (ido-make-buffer-list): If virtual buffers are being used, call
7300 `ido-add-virtual-buffers-to-list' before the make list hook.
7301 (ido-virtual-buffers): New variable which contains a copy of the
7302 current contents of the `recentf-list', albeit pared down for the
7303 sake of speed, and with proper faces applied.
7304 (ido-add-virtual-buffers-to-list): Using the `recentf-list',
7305 create a list of "virtual buffers" to present to the user in
7306 addition to the currently open set. Note that this logic could
7307 get rather slow if that list is too large. With the default
7308 `recentf-max-saved-items' of 200, there is little speed penalty.
7310 2010-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
7312 * font-lock.el: Require CL when compiling.
7313 (font-lock-turn-on-thing-lock): Use `case'.
7315 2010-04-03 Eli Zaretskii <eliz@gnu.org>
7317 * emacs-lisp/authors.el (authors-fixed-entries): Add entry for Eli
7320 2010-04-02 Juri Linkov <juri@jurta.org>
7322 * ehelp.el (electric-help-orig-major-mode):
7323 New buffer-local variable.
7324 (electric-help-mode): Set it to original major-mode. Doc fix.
7325 (with-electric-help): Use `electric-help-orig-major-mode' instead
7326 of (default-value 'major-mode). Doc fix.
7327 http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00069.html
7329 2010-04-02 Sam Steingold <sds@gnu.org>
7331 * vc-hg.el (vc-hg-push, vc-hg-pull): Use `apply' when calling
7332 `vc-hg-command' with a list of flags.
7334 * progmodes/bug-reference.el (bug-reference-bug-regexp):
7335 Also accept "patch" and "RFE".
7336 (bug-reference-fontify): `bug-reference-url-format' can also be a
7337 function to be able to handle the bug kind.
7338 (turn-on-bug-reference-mode, turn-on-bug-reference-prog-mode): Add.
7340 2010-04-02 Jan Djärv <jan.h.d@swipnet.se>
7342 * tmm.el (tmm-get-keymap): Check with symbolp before passing
7343 value to fboundp, it may not be a symbol.
7345 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
7347 * cus-edit.el (custom-buffer-sort-alphabetically): Update :version.
7349 2010-03-31 Juri Linkov <juri@jurta.org>
7351 * simple.el (next-line, previous-line): Re-throw a signal
7352 with `signal' instead of using `ding'.
7353 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01432.html
7355 2010-03-31 Juri Linkov <juri@jurta.org>
7357 * simple.el (keyboard-escape-quit): Raise deselecting the active
7358 region higher than exiting the minibuffer.
7359 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00904.html
7361 2010-03-31 Juri Linkov <juri@jurta.org>
7363 * image.el (image-animated-p): Use `image-metadata' instead of
7364 `image-extension-data'. Get GIF extenstion data from metadata
7365 property `extension-data'.
7367 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
7369 * simple.el (append-to-buffer): Simplify.
7371 2010-03-31 Tomas Abrahamsson <tab@lysator.liu.se>
7373 * textmodes/artist.el (artist-mode): Fix typo in docstring.
7374 Reported by Alex Schröder <kensanata@gmail.com>. (Bug#5807)
7376 2010-03-31 Kenichi Handa <handa@m17n.org>
7378 * language/sinhala.el (composition-function-table): Fix regexp for
7379 the new Unicode specification.
7381 * language/indian.el (devanagari-composable-pattern)
7382 (tamil-composable-pattern, kannada-composable-pattern)
7383 (malayalam-composable-pattern): Adjust for the new Unicode
7385 (bengali-composable-pattern, gurmukhi-composable-pattern)
7386 (gujarati-composable-pattern, oriya-composable-pattern)
7387 (telugu-composable-pattern): New variables to cope with the new
7388 Unicode specification. Use them in composition-function-table.
7390 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
7392 Make tmm-menubar work for the Buffers menu again (bug#5726).
7393 * tmm.el (tmm-prompt): Also handle keymap entries in the form of
7394 vectors rather than cons cells, as used in menu-bar-update-buffers.
7396 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
7398 * progmodes/js.el (js-auto-indent-flag, js-mode-map)
7399 (js-insert-and-indent): Revert 2009-08-15 change, restoring
7400 electric punctuation for "{}();,:" (Bug#5586).
7402 * mail/sendmail.el (mail-default-directory): Doc fix.
7404 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
7406 * mail/sendmail.el (mail-default-directory): Doc fix.
7408 2010-03-31 Eli Zaretskii <eliz@gnu.org>
7410 * subr.el (version-regexp-alist, version-to-list)
7411 (version-list-<, version-list-=, version-list-<=)
7412 (version-list-not-zero, version<, version<=, version=): Doc fix.
7415 2010-02-31 Dan Nicolaescu <dann@ics.uci.edu>
7417 * vc.el (vc-root-diff): Doc fix.
7419 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
7421 * vc.el (vc-print-log, vc-print-root-log): Doc fix.
7423 * simple.el (append-to-buffer): Fix last change.
7425 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
7427 * simple.el (append-to-buffer): Ensure that point is preserved if
7428 BUFFER is the current buffer. Suggested by YAMAMOTO Mitsuharu.
7431 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
7433 * files.el (auto-mode-case-fold): Change default to t.
7435 2010-03-30 Juri Linkov <juri@jurta.org>
7437 * dired-x.el (dired-omit-mode): Doc fix.
7439 2010-03-30 Juri Linkov <juri@jurta.org>
7441 * replace.el (occur-accumulate-lines): Move occur-engine related
7442 functions `occur-accumulate-lines' and `occur-engine-add-prefix'
7443 to be located after `occur-engine'.
7445 2010-03-30 Juri Linkov <juri@jurta.org>
7447 Make occur handle multi-line matches cleanly with context.
7448 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01280.html
7450 * replace.el (occur-accumulate-lines): Add optional arg `pt'.
7451 (occur-engine): Add local variables `ret', `prev-after-lines',
7452 `prev-lines'. Use more arguments for `occur-context-lines'.
7453 Set first elem of its returned list to `data', and the second elem
7454 to `prev-after-lines'. Don't print the separator line.
7455 In the end, print remaining context after-lines.
7456 (occur-context-lines): Add new arguments `begpt', `endpt',
7457 `lines', `prev-lines', `prev-after-lines'. Rewrite to combine
7458 after-lines of the previous match with before-lines of the
7459 current match and not overlap them. Return a list with two
7460 values: the output line and the list of context after-lines.
7462 2010-03-30 Juri Linkov <juri@jurta.org>
7464 * replace.el (occur-accumulate-lines): Fix a bug where the first
7465 context line at the beginning of the buffer was missing.
7467 2010-03-30 Eli Zaretskii <eliz@gnu.org>
7469 * files.el: Make bidi-display-reordering safe variable for boolean
7472 2010-03-29 Phil Hagelberg <phil@evri.com>
7473 Chong Yidong <cyd@stupidchicken.com>
7475 * subr.el: Extend progress reporters to perform "spinning".
7476 (progress-reporter-update, progress-reporter-do-update):
7477 Handle non-numeric value arguments.
7478 (progress-reporter--pulse-characters): New var.
7480 2010-03-28 Chong Yidong <cyd@stupidchicken.com>
7482 * progmodes/compile.el (compilation-start): Fix regexp detection
7483 of initial cd command (Bug#5771).
7485 2010-03-28 Stefan Guath <stefan@automata.se> (tiny change)
7487 * find-dired.el (find-dired): Use read-directory-name (Bug#5777).
7489 2010-03-27 Nick Roberts <nickrob@snap.net.nz>
7491 Restore GDB/MI fuctionality removed by 2009-12-29T07:15:34Z!nickrob@snap.net.nz.
7492 * progmodes/gdb-mi.el: Restore.
7493 * progmodes/gdb-ui.el: Remove.
7494 * progmodes/gud.el: Re-accommodate for gdb-mi.el.
7496 2010-03-25 Glenn Morris <rgm@gnu.org>
7498 * desktop.el (desktop-save-buffer-p): Don't mistakenly include
7499 all dired buffers, even tramp ones. (Bug#5755)
7501 2010-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
7503 Add "union tags" in mpc.el.
7504 * mpc.el: Remove backward compatibility code.
7505 (mpc-browser-tags): Change default.
7506 (mpc--find-memoize-union-tags): New var.
7507 (mpc-cmd-flush, mpc-cmd-special-tag-p): New fun.
7508 (mpc-cmd-find): Handle the case where the playlist does not exist.
7510 (mpc-cmd-list): Use mpc-cmd-special-tag-p. Handle union-tags.
7511 (mpc-cmd-add): Use mpc-cmd-flush.
7512 (mpc-tagbrowser-tag-name): New fun.
7513 (mpc-tagbrowser-buf): Use it.
7514 (mpc-songs-refresh): Use cond. Move to point-min as a fallback.
7516 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
7519 * progmodes/make-mode.el (makefile-bsdmake-rule-action-regex):
7520 Use replace-regexp-in-string.
7521 (makefile-mode-abbrev-table): Merge defvar and define-abbrev-table.
7522 (makefile-imake-mode-syntax-table): Move init into defvar.
7523 (makefile-mode): Use define-derived-mode.
7525 * progmodes/make-mode.el (makefile-rule-action-regex): Backtrack less.
7526 (makefile-make-font-lock-keywords): Adjust rule since submatch 1 may
7527 not be present any more.
7529 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
7531 * faces.el (set-face-attribute): Fix typo in docstring.
7532 (face-valid-attribute-values): Reflow docstring.
7534 2010-03-24 Glenn Morris <rgm@gnu.org>
7536 * textmodes/flyspell.el (sgml-lexical-context): Autoload it (Bug#5752).
7538 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
7540 * indent.el (indent-for-tab-command): Doc fix.
7542 2010-03-24 Alan Mackenzie <acm@muc.de>
7544 * progmodes/cc-engine.el (c-remove-stale-state-cache):
7545 Fix off-by-one error. Fixes bug #5747.
7547 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
7549 * image-dired.el (image-dired-display-thumbs): Fix typo in docstring.
7550 (image-dired-read-comment): Doc fix.
7552 * json.el (json-object-type, json-array-type, json-key-type)
7553 (json-false, json-null, json-read-number):
7554 * minibuffer.el (completion-in-region-functions):
7555 * calendar/cal-tex.el (cal-tex-daily-end, cal-tex-number-weeks)
7556 (cal-tex-cursor-week):
7557 * emacs-lisp/trace.el (trace-function):
7558 * eshell/em-basic.el (eshell/printnl):
7559 * eshell/em-dirs.el (eshell-last-dir-ring, eshell-parse-drive-letter)
7560 (eshell-read-last-dir-ring, eshell-write-last-dir-ring):
7561 * obsolete/levents.el (allocate-event, event-key, event-object)
7562 (event-point, event-process, event-timestamp, event-to-character)
7563 (event-window, event-x, event-x-pixel, event-y, event-y-pixel):
7564 * textmodes/reftex-vars.el (reftex-index-macros-builtin)
7565 (reftex-section-levels, reftex-auto-recenter-toc, reftex-toc-mode-hook)
7566 (reftex-cite-punctuation, reftex-search-unrecursed-path-first)
7567 (reftex-highlight-selection): Fix typos in docstrings.
7569 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
7571 * minibuffer.el (completion-in-region-functions): Fix docstring typos.
7573 2010-03-24 Glenn Morris <rgm@gnu.org>
7575 * mail/rmail.el (rmail-highlight-face): Restore option deleted
7576 2008-02-13 without comment; mark it obsolete.
7577 (rmail-highlight-headers): Use rmail-highlight-face once more.
7579 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
7581 * woman.el (woman2-process-escapes): Only consume the newline if
7582 the filler character is on a line by itself (Bug#5729).
7584 2010-03-24 Kenichi Handa <handa@m17n.org>
7586 * language/indian.el (devanagari-composable-pattern): Add more
7589 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
7591 * net/trampver.el: Update release number.
7593 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
7595 * net/tramp.el (tramp-find-executable):
7596 Use `tramp-get-connection-buffer'. Make the regexp for checking
7597 output of "wc -l" more robust.
7598 (tramp-find-shell): Use another shell but /bin/sh on OpenSolaris.
7599 (tramp-open-connection-setup-interactive-shell): Remove workaround
7600 for OpenSolaris bug, it is not needed anymore.
7602 2010-03-24 Glenn Morris <rgm@gnu.org>
7604 * emacs-lisp/cl-macs.el (defsubst*): Add autoload cookie. (Bug#4427)
7606 2010-03-24 Wilson Snyder <wsnyder@wsnyder.org>
7608 * files.el (auto-mode-alist): Accept more verilog file patterns.
7610 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
7612 * vc-dir.el (vc-dir-headers): Abbreviate the working dir.
7614 2010-03-24 Glenn Morris <rgm@gnu.org>
7616 * vc-bzr.el (vc-bzr-log-edit-mode): Add --fixes support to
7617 log-edit-before-checkin-process.
7619 * vc.el (vc-modify-change-comment): Pass MODE to vc-start-logentry.
7621 * vc.el, vc-bzr.el, vc-hg.el (log-edit-mode): Declare.
7623 * vc-dispatcher.el (vc-start-logentry): Doc fix.
7624 (log-view-process-buffer, log-edit-extra-flags): Declare.
7626 * log-edit.el (log-edit-before-checkin-process): Doc fix.
7628 2010-03-23 Sam Steingold <sds@gnu.org>
7630 Fix bug#5620: recalculate all markers on compilation buffer
7631 modifications, not on file modifications.
7632 * progmodes/compile.el (buffer-modtime): New buffer-local variable:
7633 the buffer modification time, for buffers not associated with files.
7634 (compilation-mode): Create it.
7635 (compilation-filter): Update it.
7636 (compilation-next-error-function): Use it instead of
7637 `visited-file-modtime' for timestamp.
7639 2010-03-23 Juri Linkov <juri@jurta.org>
7641 Implement Occur multi-line matches.
7642 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01044.html
7644 * replace.el (occur): Doc fix.
7645 (occur-engine): Set `begpt' to the beginning of the first line.
7646 Set `endpt' to the end of the last match line. At first, count
7647 line numbers between `origpt' and `begpt'. Split out code from
7648 `out-line' variable to new let-bindings `match-prefix' and
7649 `match-str'. In `out-line' add non-numeric prefix to all
7650 non-first lines of multi-line matches. Finally, count lines
7651 between `begpt' and `endpt' and add to `lines'.
7653 2010-03-23 Juri Linkov <juri@jurta.org>
7655 * replace.el (occur-accumulate-lines, occur-engine):
7656 Use `occur-engine-line' instead of duplicate code.
7657 (occur-engine-line): New function created from duplicate code
7658 in `occur-accumulate-lines' and `occur-engine'.
7660 * replace.el (occur-engine-line): Add optional arg `keep-props'.
7661 (occur-accumulate-lines, occur-engine): Add arg `keep-props'.
7663 2010-03-23 Juri Linkov <juri@jurta.org>
7665 * finder.el: Remove TODO tasks.
7667 * info.el (Info-finder-find-node): Add node "all"
7668 with all package info. Handle a list of multiple keywords
7670 (info-finder): In interactive use with a prefix argument,
7671 use `completing-read-multiple' to read a list of keywords
7674 2010-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
7676 Add a new completion style `substring'.
7677 * minibuffer.el (completion-basic--pattern): New function.
7678 (completion-basic-try-completion, completion-basic-all-completions):
7680 (completion-substring--all-completions)
7681 (completion-substring-try-completion)
7682 (completion-substring-all-completions): New functions.
7683 (completion-styles-alist): New style `substring'.
7685 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
7687 Get rid of .elc files after removal of the corresponding .el.
7688 * Makefile.in (compile-clean): New target.
7689 (compile-main): Use it.
7691 2010-03-22 Jan Djärv <jan.h.d@swipnet.se>
7693 * Makefile.in (compile-main): cd to $(lisp) in a sub-shell, so we
7694 don't do make there. When compiling with separate object dir, there
7695 is no Makefile there.
7697 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
7699 Get rid of the ELCFILES abomination, again.
7700 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
7701 (all, compile): Don't call compile-last.
7702 (compile-main): Build the "elcfiles" list dynamically.
7703 (compile-targets): New (internal) target.
7705 2010-03-21 Andreas Schwab <schwab@linux-m68k.org>
7707 * Makefile.in (top_srcdir): Define.
7708 (abs_top_builddir): Define.
7709 (srcdir): Don't append `/..'.
7710 (EMACS): Use ${abs_top_builddir}.
7711 (all, compile, compile-always, compile-last): Don't set emacswd.
7712 (update-subdirs, update-authors): Use $(top_srcdir) instead of
7714 (lisp): Use $(srcdir) instead of @srcdir@.
7716 2010-03-21 Juri Linkov <juri@jurta.org>
7718 Fix message of multi-line occur regexps and multi-buffer header lines.
7719 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00457.html
7721 * replace.el (occur-1): Don't display regexp if it is longer
7722 than window-width. Use `query-replace-descr' to display regexp.
7723 (occur-engine): Don't display regexp in the buffer header for
7724 multi-buffer occur. Display a separate header line with total
7725 match count and regexp for multi-buffer occur.
7726 Use `query-replace-descr' to display regexp.
7728 2010-03-20 Teodor Zlatanov <tzz@lifelogs.com>
7730 * net/secrets.el: Fix parenthesis.
7731 (secrets-enabled): Fix parenthesis.
7733 2010-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
7735 Use more relative file and directory names.
7736 * Makefile.in (EMACS): Arrange for it to work when we chdir.
7737 (setwins, setwins_almost, setwins_for_subdirs):
7738 Don't `cd'; output relative names.
7739 (all, compile, compile-always, compile-last): Set emacswd.
7740 (custom-deps, finder-data, autoloads, update-subdirs, compile-last):
7741 Just cd to the lisp source dir so we can use relative file names.
7743 * outline.el (hide-sublevels): Unfix the paren non-typo! (bug#5738).
7745 2010-03-20 Glenn Morris <rgm@gnu.org>
7747 * textmodes/rst.el: Use faces for font-lock customization, and make the
7748 old -face variables obsolete.
7749 (rst-block, rst-external, rst-definition, rst-directive, rst-comment)
7750 (rst-emphasis1, rst-emphasis2, rst-literal, rst-reference): New faces.
7751 (rst-block-face, rst-external-face, rst-definition-face)
7752 (rst-directive-face, rst-comment-face, rst-emphasis1-face)
7753 (rst-emphasis2-face, rst-literal-face, rst-reference-face):
7755 (rst-font-lock-keywords-function): Update for above changes.
7757 2010-03-20 Juri Linkov <juri@jurta.org>
7760 * obsolete/s-region.el: Move to obsolete.
7762 2010-03-19 Juanma Barranquero <lekktu@gmail.com>
7764 * vc-dispatcher.el (vc-do-command): Remove reference to `vc-path'.
7766 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
7768 * vc-hooks.el (vc-path): Remove variable and obsolete declaration.
7770 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
7772 Add special markup processing for commit logs.
7773 * log-edit.el (log-edit-extra-flags): New variable.
7774 (log-edit): Add new argument MODE. Use that mode when non-nil
7775 instead of the log-view-mode.
7776 (log-view-process-buffer): New function.
7778 * vc.el: Document that the checkin method takes optional
7779 arguments. Document new backend specific method: log-view-mode.
7780 (vc-default-log-edit-mode): New function.
7781 (vc-checkin): Use a backend specific log-view-mode.
7782 Pass extra arguments to the checkin method.
7783 (vc-modify-change-comment): Pass a dummy extra argument.
7785 * vc-dispatcher.el (vc-log-edit): Add a mode argument, pass it to
7787 (vc-start-logentry): Add a mode argument, pass it to vc-log-edit.
7788 (vc-finish-logentry): Process the log buffer before passing it
7789 down. Pass log-edit-extra-flags.
7791 * vc-bzr.el (vc-bzr-checkin): Pass extra arguments to the commit
7793 (log-edit-extra-flags, log-edit-before-checkin-process):
7796 * vc-hg.el (vc-hg-checkin): Pass extra arguments to the commit
7798 (log-edit-extra-flags, log-edit-before-checkin-process):
7800 (vc-hg-log-edit-mode): New derived mode.
7802 * vc-arch.el (vc-arch-checkin):
7803 * vc-cvs.el (vc-cvs-checkin):
7804 * vc-git.el (vc-git-checkin):
7805 * vc-mtn.el (vc-mtn-checkin):
7806 * vc-rcs.el (vc-rcs-checkin):
7807 * vc-sccs.el (vc-sccs-checkin):
7808 * vc-svn.el (vc-svn-checkin): Add an optional ignored argument.
7810 2010-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
7812 * outline.el (hide-sublevels): Don't hide trailing newline (and fix
7815 2010-03-19 Glenn Morris <rgm@gnu.org>
7817 * password-cache.el (password-cache, password-cache-expiry): Autoload.
7819 2010-03-18 Glenn Morris <rgm@gnu.org>
7821 * emacs-lisp/autoload.el (autoload-rubric): Doc fix.
7823 * replace.el (query-replace-history): Give it a doc string.
7824 (map-query-replace-regexp): Use query-replace-from-history-variable
7825 and query-replace-to-history-variable.
7827 * mail/hashcash.el (declare-function): Remove duplicate definition.
7829 * mail/emacsbug.el (report-emacs-bug-pretest-address):
7830 Make it an obsolete alias for report-emacs-bug-address.
7831 (message-strip-special-text-properties): Declare.
7832 (report-emacs-bug): Remove test for a pretest bug address.
7833 Combine message-mode-specific code.
7835 * mail/supercite.el: Don't require sendmail.
7836 (mh-in-header-p): Declare rather than using with-no-warnings.
7837 (sc-no-blank-line-or-header): Use rfc822-goto-eoh rather than
7838 mail-header-end. Don't bind mysterious variable `kill-lines-magic'.
7840 * calendar/cal-french.el: Convert to utf-8.
7842 * files.el (interpreter-mode-alist): Use emacs-lisp-mode for
7845 2010-03-16 Michael Albinus <michael.albinus@gmx.de>
7847 * net/secrets.el (secrets-enabled): New variable. Use it instead
7850 2010-03-15 Michael Albinus <michael.albinus@gmx.de>
7852 * net/secrets.el (top): Register the D-Bus signals only when the
7853 service "org.freedesktop.secrets" can be pinged.
7854 Provide subfeature `enabled'.
7856 2010-03-14 Juri Linkov <juri@jurta.org>
7858 Add finder unknown keywords.
7860 * finder.el (finder-unknown-keywords): New function.
7862 * info.el (Info-finder-find-node): Use `finder-unknown-keywords'
7863 to create a Finder node with unknown keywords.
7865 2010-03-14 Juri Linkov <juri@jurta.org>
7867 * finder.el (finder-compile-keywords): Replace `princ' with
7868 `prin1' on a list of symbols interned from keyword strings.
7870 * emacs-lisp/lisp-mnt.el (lm-keywords-list): If `keywords' contains
7871 a comma, then split keywords using a comma and optional whitespace.
7872 Otherwise, split by whitespace.
7880 * progmodes/mixal-mode.el: Fix keywords.
7882 2010-03-13 Michael Albinus <michael.albinus@gmx.de>
7884 * Makefile.in (ELCFILES): Add net/secrets.elc.
7886 * net/secrets.el: New file.
7888 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
7890 * facemenu.el (list-colors-display, list-colors-print): New arg
7891 callback. Use it to allow selecting colors.
7893 * wid-edit.el (widget-image-insert): Insert image prop even if the
7894 current display is non-graphic.
7895 (widget-field-value-set): New fun.
7896 (editable-field): Use it.
7897 (widget-field-value-get): Clean up unused var.
7898 (widget-color-value-create, widget-color--choose-action):
7899 New funs. Allow using list-colors-display to choose color.
7901 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
7903 * cus-edit.el: Resort topmost custom groups.
7904 (custom-buffer-sort-alphabetically): Default to t.
7905 (customize-apropos): Use apropos-parse-pattern.
7906 (custom-search-field): New var.
7907 (custom-buffer-create-internal): Add custom-apropos search field.
7908 (custom-add-parent-links): Don't display parent doc.
7909 (custom-group-value-create): Don't sort top-level custom group.
7910 (custom-magic-value-create): Show visibility button before option name.
7912 (custom-variable-state): New fun, from custom-variable-state-set.
7913 (custom-variable-state-set): Use it.
7914 (custom-group-value-create): Hide options with standard values
7915 using the :hidden-states property. Use progress reporter.
7917 (custom-show): Simplify.
7918 (custom-visibility): Disable images by default.
7919 (custom-variable): New property :hidden-states.
7920 (custom-variable-value-create): Enable images for
7921 custom-visibility widgets. Use :hidden-states property to
7922 determine initial visibility.
7924 * wid-edit.el (widget-image-find): Give images center ascent.
7925 (visibility): Add :on-image and :off-image properties.
7926 (widget-visibility-value-create): Use them.
7928 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
7930 * cus-edit.el (processes): Remove from development group.
7931 (oop, hypermedia): Delete group.
7932 (comm): Promote to top-level group.
7934 * net/browse-url.el (browse-url):
7935 * net/xesam.el (xesam):
7936 * net/tramp.el (tramp):
7937 * net/goto-addr.el (goto-address):
7938 * net/ange-ftp.el (ange-ftp): Put in comm group.
7940 * view.el (view): Remove from editing group.
7942 * uniquify.el (uniquify): Put in files group.
7944 * net/browse-url.el (browse-url):
7945 * ps-print.el (postscript): Put in external group.
7947 * cus-edit.el (outlines):
7948 * textmodes/text-mode.el (text-mode-hook):
7949 * textmodes/table.el (table):
7950 * textmodes/picture.el (picture):
7951 * outline.el (outlines): Put in wp group.
7953 * nxml/nxml-mode.el (nxml): Remove from wp group.
7955 * net/tramp-imap.el (tramp-imap): Put in tramp group.
7957 * mail/metamail.el (metamail): Remove from hypermedia group.
7959 * cus-edit.el (abbrev):
7960 * whitespace.el (whitespace):
7961 * vcursor.el (vcursor):
7962 * reveal.el (reveal):
7963 * hl-line.el (hl-line): Put in convenience group.
7965 * epg-config.el (epg): Put in data group.
7967 * emulation/pc-select.el (pc-select): Put in emulations group.
7969 * calculator.el (calculator): Put in applications group.
7971 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
7973 Add .dir-locals.el support for file-less buffers.
7974 * files.el (hack-local-variables): Split out code to apply local
7975 variable settings ...
7976 (hack-local-variables-apply): ... here. New function.
7977 (hack-dir-local-variables): Use the default directory for when the
7978 buffer does not have an associated file.
7979 (hack-dir-local-variables-non-file-buffer): New function.
7980 * diff-mode.el (diff-mode):
7981 * vc-annotate.el (vc-annotate-mode):
7982 * vc-dir.el (vc-dir-mode):
7983 * log-edit.el (log-edit-mode):
7984 * log-view.el (log-view-mode): Call hack-dir-local-variables-non-file-buffer.
7986 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
7988 Add support for shelving snapshots and for showing shelves.
7989 * vc-bzr.el (vc-bzr-shelve-show, vc-bzr-shelve-show-at-point)
7990 (vc-bzr-shelve-apply-and-keep-at-point, vc-bzr-shelve-snapshot):
7992 (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
7993 (vc-bzr-extra-menu-map): Map them.
7995 2010-03-11 Glenn Morris <rgm@gnu.org>
7997 * cus-edit.el (customize-changed-options-previous-release):
8000 * image.el (image-animate-max-time): Fix :version tag.
8002 2010-03-10 Chong Yidong <cyd@stupidchicken.com>
8006 2010-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
8008 * vc-git.el (vc-git-revision-table): Include remote branches.
8010 2010-03-10 Kim F. Storm <storm@cua.dk>
8013 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00211.html
8015 * image.el (image-animate-max-time): New defcustom.
8016 (image-animated-types): New defconst.
8017 (create-animated-image, image-animate-timer)
8018 (image-animate-start, image-animate-stop, image-animate-timeout)
8019 (image-animated-p): New functions.
8021 * image-mode.el (image-toggle-display-image):
8022 Replace `create-image' with `create-animated-image'.
8024 2010-03-09 Miles Bader <miles@gnu.org>
8026 * vc-git.el (vc-git-print-log): Use "tformat:" for shortlog,
8027 instead of "format:"; this ensures that the output is
8030 2010-03-08 Chong Yidong <cyd@stupidchicken.com>
8032 * mail/rfc822.el (rfc822-addresses): Use nested catches to ensure
8033 that all errors are caught, and that the return value is always a
8036 2010-03-08 Kenichi Handa <handa@m17n.org>
8038 * language/misc-lang.el (windows-1256): New coding system.
8039 (cp1256): New alias of windows-1256 (bug#5690).
8041 2010-03-07 Andreas Schwab <schwab@linux-m68k.org>
8043 * mail/rfc822.el (rfc822-addresses): Move catch clause down around
8044 call to rfc822-bad-address. (Bug#5692)
8046 2010-03-07 Štěpán Němec <stepnem@gmail.com> (tiny change)
8048 * vc-git.el (vc-git-annotate-extract-revision-at-line):
8049 Use vc-git-root as default directory for revision path (Bug#5657).
8051 2010-03-06 Chong Yidong <cyd@stupidchicken.com>
8053 * calculator.el (calculator): Don't bind split-window-keep-point
8056 2010-03-06 Stefan Monnier <monnier@iro.umontreal.ca>
8058 * vc-git.el: Re-flow to fit into 80 columns.
8059 (vc-git-after-dir-status-stage, vc-git-dir-status-goto-stage):
8060 Remove spurious `quote' element in each case alternative.
8061 (vc-git-show-log-entry): Use prog1.
8062 (vc-git-after-dir-status-stage): Remove unused var `remaining'.
8064 2010-03-05 Stefan Monnier <monnier@iro.umontreal.ca>
8066 * man.el (Man-files-regexp): Tighten up the regexp (bug#5686).
8068 2010-03-03 Chong Yidong <cyd@stupidchicken.com>
8070 * macros.el (insert-kbd-macro): Look up keyboard macro using the
8071 definition, not the name (Bug#5481).
8073 2010-03-03 Štěpán Němec <stepnem@gmail.com> (tiny change)
8075 * subr.el (momentary-string-display): Don't overwrite the MESSAGE
8076 argument with a local variable. (Bug#5670)
8078 2010-03-02 Juri Linkov <juri@jurta.org>
8080 * info.el (Info-index-next): Decrement line number by 2. (Bug#5652)
8082 2010-03-02 Michael Albinus <michael.albinus@gmx.de>
8084 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Fix an
8085 error when FILENAME and NEWNAME are existing remote directories.
8087 * net/tramp-compat.el (tramp-compat-make-temp-file): Add optional
8090 2010-03-02 Glenn Morris <rgm@gnu.org>
8092 * calendar/cal-hebrew.el (holiday-hebrew-passover): Fix date
8093 of Yom HaAtzma'ut when it falls on a Monday (rule changed in 2004).
8095 2010-03-01 Kenichi Handa <handa@m17n.org>
8097 * language/burmese.el (burmese-composable-pattern): Rename from
8098 myanmar-composable-pattern.
8100 * international/characters.el (script-list):
8101 * international/fontset.el (script-representative-chars):
8102 Change myanmar to burmese.
8103 (otf-script-alist): Likewise.
8104 (setup-default-fontset): Likewise. Re-fix :otf spec.
8106 2010-02-28 Katsumi Yamaoka <yamaoka@jpl.org>
8108 * menu-bar.el (menu-bar-manuals-menu): Fix typo.
8110 2010-02-28 Jan Djärv <jan.h.d@swipnet.se>
8112 * scroll-bar.el (scroll-bar-drag-1): Add save-excursion, bug #5654.
8114 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
8116 * net/tramp.el (tramp-handle-write-region): START can be a string.
8117 Take care in the checks. Reported by Dan Davison
8118 <davison@stats.ox.ac.uk>.
8120 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
8122 * net/dbus.el (dbus-introspect, dbus-get-property)
8123 (dbus-set-property, dbus-get-all-properties):
8124 Use `dbus-call-method' when noninteractive. (Bug#5645)
8126 2010-02-28 Chong Yidong <cyd@stupidchicken.com>
8128 * textmodes/reftex-toc.el (reftex-toc-promote-prepare):
8129 * emacs-lisp/elint.el (elint-add-required-env):
8130 * calendar/icalendar.el (icalendar--add-diary-entry):
8131 * calc/calcalg2.el (math-tracing-integral):
8132 * files.el (recover-session-finish): Use with-current-buffer
8133 instead of save-excursion.
8135 2010-02-27 Stefan Monnier <monnier@iro.umontreal.ca>
8137 Fix in-buffer completion when after-change-functions modify the buffer.
8138 * minibuffer.el (completion--replace): New function.
8139 (completion--do-completion): Use it and use relative movement.
8141 2010-02-27 Chong Yidong <cyd@stupidchicken.com>
8143 * international/fontset.el (setup-default-fontset): Fix :otf spec.
8145 2010-02-27 Jeremy Whitlock <jcscoobyrs@gmail.com> (tiny change)
8147 * progmodes/python.el (python-pdbtrack-stack-entry-regexp):
8148 Allow the characters _<> in the stack entry (Bug#5653).
8150 2010-02-26 Kenichi Handa <handa@m17n.org>
8152 * language/burmese.el: Fix entries in composition-function-table.
8153 (myanmar-composable-pattern): New variable.
8155 * international/fontset.el (setup-default-fontset): Add an entry
8158 * international/characters.el (script-list): Add Myanmar
8161 2010-02-26 Glenn Morris <rgm@gnu.org>
8163 * custom.el (custom-initialize-delay): Doc fix.
8165 * mail/sendmail.el (send-mail-function): Autoload the call
8166 to custom-initialize-delay, not otherwise preserved in loaddefs.el.
8168 2010-02-24 Chong Yidong <cyd@stupidchicken.com>
8170 * files.el (hack-local-variables-filter): For eval forms, also
8171 check safe-local-variable-p (Bug#5636).
8173 2010-02-22 Michael Albinus <michael.albinus@gmx.de>
8175 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Protect
8176 setting the modes by `ignore-errors'. It might fail, for example
8177 if the file is not owned by the user but the group.
8178 (tramp-handle-write-region): Ensure, that `tmpfile' is always readable.
8180 2010-02-21 Chong Yidong <cyd@stupidchicken.com>
8182 * files.el (directory-listing-before-filename-regexp): Use
8183 stricter matching for iso-style dates, to avoid false matches with
8184 date-like filenames (Bug#5597).
8186 * htmlfontify.el (htmlfontify): Doc fix.
8188 * eshell/eshell.el (eshell): Doc fix.
8190 * startup.el (fancy-about-screen): In mode-line, apply
8191 mode-line-buffer-id face only to the buffer name (Bug#5613).
8193 2010-02-20 Kevin Ryde <user42@zip.com.au>
8195 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8196 In `watcom' anchor regexp to start of line, to avoid slowness
8199 2010-02-20 Eli Zaretskii <eliz@gnu.org>
8201 * subr.el (remove-yank-excluded-properties): Explain in a comment
8202 why `category' property is removed.
8204 2010-02-19 Chong Yidong <cyd@stupidchicken.com>
8206 * isearch.el (isearch-update-post-hook, isearch-update): Revert
8209 2010-02-19 Ulf Jasper <ulf.jasper@web.de>
8211 * calendar/icalendar.el (icalendar--convert-ordinary-to-ical)
8212 (icalendar--convert-weekly-to-ical)
8213 (icalendar--convert-yearly-to-ical)
8214 (icalendar--convert-block-to-ical)
8215 (icalendar--convert-cyclic-to-ical)
8216 (icalendar--convert-anniversary-to-ical): Take care of time
8217 specifications where hour has 1-digit only (Bug#5549).
8219 2010-02-19 Nick Roberts <nickrob@snap.net.nz>
8221 * progmodes/gdb-ui.el (gdb-assembler-handler): Accommodate change
8222 of disassemble output in GDB 7.1.
8224 2010-02-19 Glenn Morris <rgm@gnu.org>
8226 * progmodes/f90.el (f90-electric-insert): Give it a delete-selection
8227 property. (Bug#5593)
8229 2010-02-18 Sam Steingold <sds@gnu.org>
8231 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
8233 2010-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
8235 Use abbreviated file names in bookmarks (bug#5591).
8236 * bookmark.el (bookmark-maybe-load-default-file): Remove redundant
8237 calls to expand-file-name.
8238 (bookmark-relocate): Use abbreviated file names in bookmarks.
8239 (bookmark-load): Use abbreviated file names in messages.
8241 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
8243 * net/tramp.el (tramp-handle-directory-files): When FULL, do not
8244 expand "." and "..". Reported by Thierry Volpiatto
8245 <thierry.volpiatto@gmail.com>.
8247 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
8249 * net/tramp.el (tramp-handle-insert-file-contents): Set always the
8250 permissions of the temporary file to "0600". In case the remote
8251 file has no read permissions for the owner, there might be
8252 problems otherwise. Reported by Ole Laursen <olau@iola.dk>.
8254 22010-02-18 Glenn Morris <rgm@gnu.org>
8256 * emacs-lisp/authors.el (authors-renamed-files-alist):
8257 Add entries for INSTALL.CVS.
8259 2010-02-17 Mark A. Hershberger <mah@everybody.org>
8261 * vc-bzr.el: Fix typo in Known Bugs section.
8263 * isearch.el (isearch-update-post-hook): New hook.
8264 (isearch-update): Use the new hook.
8266 2010-02-16 Michael Albinus <michael.albinus@gmx.de>
8268 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
8269 Fix errors in copying directories.
8270 (tramp-handle-add-name-to-file, tramp-handle-copy-directory)
8271 (tramp-do-copy-or-rename-file, tramp-handle-delete-directory)
8272 (tramp-handle-delete-file)
8273 (tramp-handle-dired-recursive-delete-directory)
8274 (tramp-handle-write-region): Flush also the cache for the upper
8277 2010-02-16 Chong Yidong <cyd@stupidchicken.com>
8279 * simple.el (save-interprogram-paste-before-kill): Doc fix.
8281 * cus-edit.el (hardware): Doc fix.
8283 * man.el (man): Add to external custom group.
8285 * delim-col.el (columns): Move to wp custom group.
8287 * doc-view.el (doc-view): Add to data custom group.
8289 * nxml/nxml-mode.el (nxml-faces): Remove from font-lock-faces group.
8291 * textmodes/flyspell.el (flyspell-word): Obey the offset specified
8292 by ispell-parse-output (Bug#5575).
8294 2010-02-16 Kenichi Handa <handa@m17n.org>
8296 * international/ja-dic-cnv.el (iso-2022-7bit-short): Delete it.
8297 (skkdic-convert-okuri-ari): Ignore lines starting with '>'.
8298 (skkdic-convert): Use `euc-japan' coding system for writing.
8300 2010-02-16 Glenn Morris <rgm@gnu.org>
8302 * textmodes/tex-mode.el (tex-bibtex-file): Expand the result of
8303 tex-main-file before using it. (Bug#5562)
8305 2010-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
8307 * emacs-lisp/advice.el (ad-compile-function): Suppress byte-compiler
8308 warnings, since it is annoying for the user to see them each time he
8311 2010-02-15 Michael Albinus <michael.albinus@gmx.de>
8313 * net/tramp.el (tramp-process-actions, tramp-read-passwd):
8314 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection): Use VEC
8315 instead of PROC for caching "first-password-request". Otherwise,
8316 new processes would not profit from passwords already entered.
8318 * net/tramp-cache.el (tramp-dump-connection-properties):
8319 Don't save "first-password-request" property.
8321 2010-02-14 Juanma Barranquero <lekktu@gmail.com>
8323 * outline.el (outline-head-from-level):
8324 * simple.el (with-wrapper-hook):
8325 * emacs-lisp/elint.el (elint-extra-errors, elint-current-buffer)
8326 (elint-defun, elint-buffer-env, elint-top-form-logged)
8327 (elint-unbound-variable):
8328 * textmodes/reftex-toc.el (reftex-toc-newhead-from-alist):
8329 Fix typos in docstrings.
8331 2010-02-14 Michael Albinus <michael.albinus@gmx.de>
8333 * files.el (insert-directory): When WILDCARD-REGEXP and
8334 FULL-DIRECTORY-P are nil, insert the file entry instead of the
8335 whole directory. (Bug#5551)
8337 * net/ange-ftp.el (ange-ftp-insert-directory): Insert " " for
8338 dired's alignment sanity. (Bug#5516)
8340 2010-02-14 Juri Linkov <juri@jurta.org>
8342 * man.el (Man-fontify-manpage, Man-cleanup-manpage):
8343 Remove remaining ^H with their preceding chars. (Bug#5566)
8345 2010-02-13 Glenn Morris <rgm@gnu.org>
8347 * simple.el (transpose-subr): Give it a doc-string.
8349 * textmodes/paragraphs.el (transpose-paragraphs, transpose-sentences):
8352 2010-02-12 Juri Linkov <juri@jurta.org>
8354 * arc-mode.el (archive-unique-fname): Make directories for nested
8355 archives. (Bug#5540)
8357 2010-02-12 Juri Linkov <juri@jurta.org>
8359 * ffap.el (dired-at-point): Fix docstring. (Bug#5565)
8361 2010-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
8363 * subr.el (copy-overlay): Handle deleted overlays.
8365 * man.el (Man-completion-table): Don't signal an error if we can't run
8366 manual-program (bug#4056).
8368 2010-02-10 Juanma Barranquero <lekktu@gmail.com>
8370 * textmodes/artist.el (artist-mt): Fix typos in docstring.
8372 2010-02-10 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8374 * info.el (Info-bookmark-jump): Simplify.
8376 * bookmark.el (bookmark-handle-bookmark): Catch the right error.
8377 (bookmark-default-handler): Accept new bookmark field `buffer'.
8379 2010-02-10 Chong Yidong <cyd@stupidchicken.com>
8381 * iswitchb.el (iswitchb-completions): Revert last change.
8383 2010-02-10 Michael Albinus <michael.albinus@gmx.de>
8385 * ls-lisp.el (ls-lisp-insert-directory): When WILDCARD-REGEXP and
8386 FULL-DIRECTORY-P are nil, and FILE is absolute, expand it.
8387 This prevents file names like "~/" being listed literally.
8389 2010-02-10 Dan Nicolaescu <dann@ics.uci.edu>
8391 * term/xterm.el (xterm-maybe-set-dark-background-mode):
8392 Remove dead code. (Bug#5546)
8394 2010-02-09 Chong Yidong <cyd@stupidchicken.com>
8396 * eshell/em-ls.el (eshell-ls-applicable): Frob file attributes
8397 correctly (Bug#5548).
8399 2010-02-08 Jose E. Marchesi <jemarch@gnu.org>
8401 * progmodes/ada-mode.el (ada-in-numeric-literal-p): New function.
8402 (ada-adjust-case): Don't adjust case in hexadecimal number literals.
8404 2010-02-08 Kenichi Handa <handa@m17n.org>
8406 * international/mule-util.el (with-coding-priority): Add autoload
8407 cookie for putting `lisp-indent-function'.
8409 2010-02-07 Glenn Morris <rgm@gnu.org>
8411 * progmodes/f90.el (f90-font-lock-keywords-1, f90-font-lock-keywords-2):
8412 Move F2003 named interfaces from keywords-2 to keywords-1, and
8413 use function-name-face rather than constant-face.
8414 Simplify "abstract interface" regexp.
8416 2010-02-07 Chong Yidong <cyd@stupidchicken.com>
8418 * eshell/esh-util.el (eshell-file-attributes): New optional arg
8419 ID-FORMAT. Pass it to `file-attributes'.
8421 * eshell/em-ls.el (eshell-do-ls): Use it (Bug#5528).
8423 2010-02-07 sj <prime.wizard+emacs@gmail.com> (tiny change)
8425 * faces.el (set-face-attribute): Allow calling
8426 internal-set-lisp-face-attribute with 'unspecified family and
8427 foundry argument (Bug#5536).
8429 2010-02-07 Glenn Morris <rgm@gnu.org>
8431 * progmodes/f90.el (f90-font-lock-keywords-2)
8432 (f90-looking-at-type-like, f90-looking-at-program-block-end):
8433 Handle F2003 named interfaces.
8435 2010-02-06 Chong Yidong <cyd@stupidchicken.com>
8437 * progmodes/cc-mode.el (c-common-init): Bind temporary variables
8438 beg and end before calling c-get-state-before-change-functions.
8440 2010-02-06 Dan Nicolaescu <dann@ics.uci.edu>
8442 * vc-bzr.el (vc-bzr-dir-extra-headers): Disable the pending merges header.
8444 2010-02-05 Juri Linkov <juri@jurta.org>
8446 * doc-view.el (doc-view-mode):
8447 * image-mode.el (image-mode): Put property mode-class=special.
8450 2010-02-05 Mark A. Hershberger <mah@everybody.org>
8452 * vc-svn.el (vc-svn-revision-table): New function.
8454 2010-02-05 Michael Albinus <michael.albinus@gmx.de>
8456 * net/ange-ftp.el (ange-ftp-insert-directory):
8457 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
8458 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
8459 Handle also directories. (Bug#5478)
8461 2010-02-05 Glenn Morris <rgm@gnu.org>
8463 * progmodes/f90.el (f90-font-lock-keywords-2): Fix `enum'.
8465 2010-02-05 Chong Yidong <cyd@stupidchicken.com>
8467 * startup.el (command-line-1): Convert options beginning with a
8468 single dash as well (Bug#5519).
8470 2010-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
8472 Make `initials' completion work for /hh -> /home/horn again (bug#5524).
8473 * minibuffer.el (completion-initials-expand): Only check the presence
8474 of delims *within* the boundaries, since otherwise the / delim is
8475 always found for files.
8477 Fix up various corner case problems.
8478 * doc-view.el (doc-view-last-page-number): New function.
8479 (doc-view-mode, doc-view-last-page, doc-view-goto-page): Use it.
8480 (doc-view-goto-page): Avoid inf-loops when the conversion fails.
8481 (doc-view-kill-proc): Avoid inf-loop in freak cases.
8482 (doc-view-reconvert-doc): Use the new recursive delete-directory.
8483 (doc-view-convert-current-doc): Don't create the resolution.el file
8485 (doc-view-pdf/ps->png): Do it here instead.
8486 (doc-view-already-converted-p): Check that resolution.el is present.
8487 (doc-view-pdf->png): Don't rely on doc-view-pdf/ps->png for the few
8488 windows that are not yet showing images.
8490 2010-02-04 Michael Albinus <michael.albinus@gmx.de>
8492 * dired.el (dired-revert): If DIRED-DIRECTORY is a cons cell, call
8493 `dired-uncache' for every elemnt which is an absolute file name.
8495 * net/tramp.el (tramp-handle-dired-uncache): When DIR is not a
8496 directory, handle its directory component.
8497 (tramp-handle-file-remote-p): Let-bind `tramp-verbose' to 3; this
8498 function is called permanently and creates noise, otherwise.
8500 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
8501 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
8502 Handle the case, FILENAME is not in `default-directory'. (Bug#5478)
8504 2010-02-04 David Burger <dburger@google.com> (tiny change)
8506 * macros.el (apply-macro-to-region-lines):
8507 Minor simplification. (Bug#5485)
8509 2010-02-04 Glenn Morris <rgm@gnu.org>
8511 * mail/rmail.el (rmail-show-message-1): Handle malformed
8512 quoted-printable text. (Bug#5441)
8514 * mail/mail-utils.el (mail-unquote-printable-region): Doc fix.
8516 * simple.el (visual-line-mode): Capitalize lighter.
8518 2010-02-03 John Wiegley <jwiegley@gmail.com>
8520 * iswitchb.el (iswitchb-completions): Add bookmark files to the
8521 list of files considered for "virtual buffer" completions.
8523 2010-02-03 Michael Albinus <michael.albinus@gmx.de>
8525 * net/ange-ftp.el (ange-ftp-insert-directory): Parse directory
8526 also in case of (and (not full) (not wildcard)). This is needed
8527 when dired is called with a list of files, which are not in
8528 `default-directory'. (Bug#5478)
8530 2010-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
8532 * vc-hooks.el (vc-path): Make it an obsolete var, rather than function.
8534 2010-02-02 Juri Linkov <juri@jurta.org>
8536 * textmodes/ispell.el (ispell-message-text-end): Remove final newline
8537 from unidiff to allow function-line after @@.
8539 2010-02-02 Juri Linkov <juri@jurta.org>
8541 * ediff-util.el (ediff-file-checked-in-p): Replace '(nil CVS) by
8542 '(RCS SCCS) with inverted condition.
8544 2010-02-02 Michael Albinus <michael.albinus@gmx.de>
8546 * net/ange-ftp.el (ange-ftp-skip-msgs): Ignore all ""^500 .*AUTH"
8549 2010-02-01 Juri Linkov <juri@jurta.org>
8551 * arc-mode.el (archive-zip-extract): Use `member-ignore-case' to
8552 compare with "pkunzip" and "pkzip" instead of only "pkzip".
8553 In the `archive-extract-by-stdout' branch use `shell-quote-argument'
8554 only when (car archive-zip-extract) is "unzip". (Bug#5475)
8556 2010-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
8558 * doc-view.el (doc-view-new-window-function): Be a bit more defensive.
8559 (doc-view-revert-buffer): New command.
8560 (doc-view-mode-map): Use it.
8562 2010-02-01 Dan Nicolaescu <dann@ics.uci.edu>
8564 * vc-bzr.el (vc-bzr-dir-extra-headers): Add a header when a
8565 pending merge is detected.
8567 2010-01-31 Juri Linkov <juri@jurta.org>
8569 * progmodes/grep.el (zrgrep): Call `grep-compute-defaults' at the
8570 beginning of interactive spec like all other grep commands do.
8571 Put "all" in front of "gz". (Bug#5260)
8573 2010-01-29 Dan Nicolaescu <dann@ics.uci.edu>
8575 * vc-bzr.el (vc-bzr-after-dir-status): Match another renaming indicator.
8577 2010-01-29 Chong Yidong <cyd@stupidchicken.com>
8579 * dirtrack.el (dirtrack): Warn instead of signalling error if the
8580 regexp is incorrect (Bug#5476).
8582 2010-01-29 Michael Albinus <michael.albinus@gmx.de>
8584 * net/tramp.el (tramp-handle-insert-directory): Handle also
8585 symlinks, when FILENAME is not in `default-directory'.
8587 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
8589 * net/ange-ftp.el (ange-ftp-insert-directory): Handle the case,
8590 FILE is not in `default-directory'. (Bug#5478)
8592 * net/tramp.el (tramp-handle-insert-directory): Simplify handling
8593 of SWITCHES. Handle the case, FILENAME is not in
8594 `default-directory'. (Bug#5478)
8595 (tramp-register-file-name-handlers): Add safe-magic property.
8597 2010-01-28 Chong Yidong <cyd@stupidchicken.com>
8599 * arc-mode.el (archive-zip-extract): Quote the argument passed to
8602 2010-01-28 Nil Geisweiller <ngeiswei@googlemail.com> (tiny change)
8604 * progmodes/flymake.el (flymake-allowed-file-name-masks)
8605 (flymake-master-make-header-init): Add other C++ filename masks.
8606 (flymake-find-possible-master-files)
8607 (flymake-check-patch-master-file-buffer): Doc fixes (Bug#5488).
8609 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
8611 Fix some busybox annoyances.
8613 * net/tramp.el (tramp-wrong-passwd-regexp): Add "Timeout, server
8614 not responding." string.
8615 (tramp-open-connection-setup-interactive-shell): Dump stty
8616 settings. Enable "neveropen" arg for all `tramp-send-command'
8617 calls. Handle "=" in variable values properly.
8618 (tramp-find-inline-encoding): Raise an error, when no encoding is
8620 (tramp-wait-for-output): Check, whether PROC buffer is available.
8621 Remove spurious " ^H" sequences, sent by busybox.
8622 (tramp-get-ls-command): Suppress coloring, if possible.
8624 2010-01-28 Glenn Morris <rgm@gnu.org>
8626 * vc-svn.el (vc-svn-update): Use "svn --non-interactive". (Bug#4280)
8628 * log-edit.el (log-edit-strip-single-file-name): Add missing
8629 :safe, :group, and :version tags.
8631 2010-01-27 Stephen Berman <stephen.berman@gmx.net>
8633 * calendar/diary-lib.el (diary-unhide-everything): Handle narrowed
8636 2010-01-27 David De La Harpe Golden <david@harpegolden.net>
8638 * files.el (delete-directory): Handle moving to trash without
8639 first doing recursion (Bug#5436).
8641 2010-01-26 Dan Nicolaescu <dann@ics.uci.edu>
8643 * vc-hooks.el (vc-path): Mark as obsolete.
8645 2010-01-25 Dan Nicolaescu <dann@ics.uci.edu>
8647 * vc-annotate.el (vc-annotate-revision-at-line): Compare file
8650 * vc-bzr.el (vc-bzr-print-log): Use the more compact --line option
8652 (vc-bzr-log-view-mode): Adjust regexp for the above change.
8654 2010-01-25 Mark A. Hershberger <mah@everybody.org>
8656 * progmodes/python.el: Replace reference to obsolete c-subword-mode.
8658 * vc-bzr.el (vc-bzr-revision-table): New function.
8660 2010-01-25 Eric Hanchrow <eric.hanchrow@gmail.com> (tiny change)
8662 * vc-git.el (vc-git-dir-status-goto-stage): Pass --relative to the
8663 diff-index command. This requires at least git-1.5.5. (Bug#1589).
8665 2010-01-24 Dan Nicolaescu <dann@ics.uci.edu>
8667 Remove support for adding --signoff on commit.
8668 Future support will use an incompatible generic mechanism.
8669 * vc-git.el (vc-git-add-signoff): Remove variable.
8670 (vc-git-toggle-signoff): Remove function.
8671 (vc-git-extra-menu-map): Do not bind vc-git-toggle-signoff.
8673 * term/xterm.el (xterm-maybe-set-dark-background-mode): Rename
8674 from xterm-set-background-mode. Return t if the background mode
8676 (terminal-init-xterm): Move tty-set-up-initial-frame-faces
8677 earlier, call it again in case the background mode has changed.
8679 2010-01-23 Dmitri Paduchikh <dpaduch@k66.ru> (tiny change)
8681 * emacs-lisp/advice.el (ad-set-orig-definition): Fix typo
8684 2010-01-23 Chong Yidong <cyd@stupidchicken.com>
8686 * emacs-lisp/assoc.el (aelement): Doc fix.
8687 (aput, adelete, amake): Use lexical-let (Bug#5450).
8689 2010-01-23 Stephen Leake <stephen_leake@member.fsf.org>
8691 * progmodes/ada-mode.el (ada-in-paramlist-p): Pragma syntax
8692 is the same as subprogram call, not declaration. (Bug#5435).
8694 2010-01-23 Michael Albinus <michael.albinus@gmx.de>
8696 * net/tramp-smb.el (tramp-smb-conf): New defcustom.
8697 (tramp-smb-maybe-open-connection): Use it.
8699 2010-01-22 Michael Albinus <michael.albinus@gmx.de>
8701 * net/tramp-imap.el (top): Autoload needed packages. (Bug#5448)
8703 2010-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
8705 * mail/rmailmm.el (rmail-mime-handle): Don't set the buffer to unibyte
8706 just because we see "encoding: 8bit".
8707 * mail/rmail.el (rmail-show-message-1): Decode the body's QP into bytes.
8709 2010-01-22 Chong Yidong <cyd@stupidchicken.com>
8711 * isearch.el (isearch-allow-scroll): Doc fix (Bug#5446).
8713 2010-01-22 Eli Zaretskii <eliz@gnu.org>
8715 * jka-compr.el (jka-compr-load): If load-file is not in
8716 load-history, try its file-truename version. (bug#5447)
8718 2010-01-21 Alan Mackenzie <acm@muc.de>
8720 Fix a situation where deletion of a cpp construct throws an error.
8721 * progmodes/cc-engine.el (c-invalidate-state-cache):
8722 Before invoking c-with-all-but-one-cpps-commented-out, check that the
8723 special cpp construct is still in the buffer.
8724 (c-parse-state): Record the special cpp with markers, not numbers.
8726 2010-01-21 Kenichi Handa <handa@m17n.org>
8728 * textmodes/sgml-mode.el (sgml-maybe-name-self): No need to
8729 process last-command-event, as it is now decoded first (Bug#5380).
8731 2010-01-20 Chong Yidong <cyd@stupidchicken.com>
8733 * term.el (term-send-raw-meta): Revert 2009-12-04 change (Bug#5330).
8735 2010-01-20 Glenn Morris <rgm@gnu.org>
8737 * indent.el (tab-always-indent): Fix custom-type.
8739 2010-01-19 Alan Mackenzie <acm@muc.de>
8741 * progmodes/cc-defs.el: Fix bug#5395: typing '#' in an empty
8742 buffer throws "args out of range".
8743 (c-set-cpp-delimiters, c-clear-cpp-delimiters): Check for EOB
8744 playing the role of delimiter.
8746 2010-01-18 Stephen Leake <stephen_leake@member.fsf.org>
8748 * progmodes/ada-mode.el: Fix bug#5400.
8749 (ada-matching-decl-start-re): Move into ada-goto-decl-start.
8750 (ada-goto-decl-start): Rename from ada-goto-matching-decl-start; callers
8751 changed. Delete RECURSIVE parameter; never used. Improve doc string.
8752 Improve comments in "is" portion. Handle null procedure declaration.
8753 (ada-move-to-end): Improve doc string.
8755 2010-01-18 Óscar Fuentes <ofv@wanadoo.es>
8757 * ido.el (ido-cur-list): Initialize to nil.
8758 Remove obsolete information from commentary.
8759 (ido-choice-list): Initialize to nil.
8760 (ido-get-bufname): Reject minibuffers.
8761 (ido-make-buffer-list): If "default" is a nonexistent
8762 buffer, ignore it, as per the function's comment.
8763 (ido-kill-buffer-internal): New function.
8764 (ido-kill-buffer-at-head): Use it.
8765 (ido-visit-buffer): Likewise.
8767 2010-01-18 Chong Yidong <cyd@stupidchicken.com>
8769 * calendar/time-date.el (date-to-time): Doc fix (Bug#5408).
8771 2010-01-18 Juanma Barranquero <lekktu@gmail.com>
8773 * emacs-lisp/chart.el (chart-file-count, chart-rmail-from):
8774 Fix typos in chart titles.
8776 * whitespace.el (whitespace-style, global-whitespace-newline-mode):
8777 * emacs-lisp/eieio.el (eieio-error-unsupported-class-tags)
8778 (eieio-generic-form, eieio-help-mode-augmentation-maybee, eieio-browse)
8779 (describe-class, eieio-describe-generic, describe-generic):
8780 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click)
8781 (eieio-speedbar-expand):
8782 * emulation/viper-cmd.el (viper-exec-form-in-vi)
8783 (viper-exec-form-in-emacs, viper-harness-minor-mode, viper-ESC)
8784 (viper-repeat, viper-replace-state-exit-cmd, viper-toggle-search-style)
8785 (viper-del-backward-char-in-replace, viper-backward-indent)
8786 (viper-brac-function, viper-register-to-point, viper-submit-report):
8787 * net/tramp.el (tramp-remote-coding-commands):
8788 * term/x-win.el (emacs-session-save, x-menu-bar-open, icon-map-list):
8789 Fix typos in docstrings.
8791 2010-01-17 Chong Yidong <cyd@stupidchicken.com>
8793 * mail/sendmail.el (mail-yank-original): Set the mark if the
8794 specified function for yanking does not do it.
8796 2010-01-17 Dan Nicolaescu <dann@ics.uci.edu>
8798 * vc.el (with-vc-properties): Deal with directory arguments. (Bug#5298)
8800 * vc-dir.el (vc-dir-resynch-file): Update the vc-dir header when
8801 resyncing a directory.
8803 2010-01-17 Stephen Leake <stephen_leake@member.fsf.org>
8805 * progmodes/ada-mode.el: Fix bug#1920.
8806 (ada-ident-re): Delete ., allow multibyte characters.
8807 (ada-goto-label-re): New; matches goto labels.
8808 (ada-block-label-re): New; matches block labels.
8809 (ada-label-re): New; matches both.
8810 (ada-named-block-re): Deleted; callers changed to use
8811 `ada-block-label-re' instead.
8812 (ada-get-current-indent, ada-get-indent-noindent, ada-get-indent-loop):
8813 Use `ada-block-label-re'.
8814 (ada-indent-on-previous-lines): Improve handling of goto labels.
8815 (ada-get-indent-block-start): Special-case block label.
8816 (ada-get-indent-label): Split into `ada-indent-block-label' and
8817 `ada-indent-goto-label'.
8818 (ada-goto-stmt-start, ada-goto-next-non-ws):
8819 Optionally ignore goto labels.
8820 (ada-goto-next-word): Simplify.
8821 (ada-indent-newline-indent-conditional): Insert newline before
8822 trying to fix indentation; doc fix.
8824 2010-01-17 Jay Belanger <jay.p.belanger@gmail.com>
8826 * calc/calc.el (calc-command-flags): Give it an initial value.
8828 2010-01-17 Juanma Barranquero <lekktu@gmail.com>
8830 * files.el (minibuffer-with-setup-hook):
8831 * textmodes/artist.el (artist-mt, artist-key-undraw-continously)
8832 (artist-key-draw-continously, artist-key-do-continously-continously)
8833 (artist-key-set-point-continously, artist-mouse-draw-continously):
8834 Fix typos in docstrings.
8836 2010-01-16 Lennart Borgman <lennart.borgman@gmail.com>
8838 * nxml/nxml-mode.el (nxml-extend-after-change-region): Never
8839 return t (Bug#3898).
8841 2010-01-16 Frédéric Perrin <frederic.perrin@resel.fr> (tiny change)
8843 * vc-dispatcher.el (vc-do-command): Set LC_MESSAGES, so that we
8844 can parse the output of the external commands (Bug#5279).
8846 2010-01-16 Jari Aalto <jari.aalto@cante.net>
8848 * pcmpl-unix.el (pcmpl-unix-read-passwd-file): Doc fix.
8850 2010-01-16 Chong Yidong <cyd@stupidchicken.com>
8852 * emacs-lisp/advice.el (ad-add-advice): Doc fix (Bug#5274)
8854 * emacs-lisp/cl-macs.el (defstruct): Doc fix (Bug#5267).
8856 * startup.el (command-line): Remove unused --icon-type arg.
8857 Handle --display arg, passing it to command-line-1 (Bug#5392).
8859 2010-01-16 Mario Lang <mlang@delysid.org>
8861 * emacs-lisp/chart.el (chart-translate-namezone):
8862 * textmodes/artist.el (artist-compute-popup-menu-table):
8863 Remove duplicated words in doc-strings.
8865 2010-01-15 David Abrahams <dave@boostpro.com> (tiny change)
8867 * net/mairix.el (mairix-widget-send-query): Send -1 instead of nil
8868 to mairix-search to suppress threading (Bug#5342).
8870 2010-01-15 Kenichi Handa <handa@m17n.org>
8872 * international/mule-cmds.el (canonicalize-coding-system-name):
8873 Convert "msXXX", "ibmXXX", "windows-XXX" to "cpXXX" (Bug#5387).
8875 2010-01-15 Glenn Morris <rgm@gnu.org>
8877 * log-view.el (top-level): Require 'wid-edit. (Bug#5311)
8879 * wid-edit.el (widget-keymap): Doc fix.
8881 * vc-svn.el (vc-svn-print-log): Use --limit rather than -l since the
8882 former seems to be more widely accepted by various svn versions.
8884 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
8886 * find-cmd.el (find-constituents):
8887 * vc-arch.el (vc-arch-root):
8888 * window.el (window-body-height, pop-up-frames):
8889 * emacs-lisp/eieio-base.el (eieio-singleton, slot-missing):
8890 * progmodes/ada-stmt.el (ada-if):
8891 * progmodes/gdb-ui.el (gdb-jsonify-buffer):
8892 * textmodes/ispell.el (ispell-grep-options, ispell-dictionary-alist)
8893 (ispell-encoding8-command, ispell-aspell-supports-utf8)
8894 (ispell-last-program-name, ispell-help): Fix typos in docstrings.
8896 * progmodes/flymake.el (flymake-post-syntax-check):
8897 Fix typo in error message.
8899 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
8901 * hexl.el (hexl-printable-character): Fix check of `hexl-iso',
8902 which is always a string. (Bug#5313)
8904 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
8906 * progmodes/ada-xref.el (ada-default-prj-properties):
8907 Simplify previous change.
8909 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
8911 * progmodes/ada-xref.el (ada-default-prj-properties):
8912 Default ada_project_path to $ADA_PROJECT_PATH.
8914 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
8916 * progmodes/ada-mode.el (ada-create-keymap):
8917 Override `narrow-to-defun' with `ada-narrow-to-defun'.
8919 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
8921 * progmodes/ada-mode.el: Deal with Ada 2005 "overriding" keyword.
8922 (ada-subprog-start-re, ada-imenu-subprogram-menu-re): Add keyword.
8923 (ada-get-current-indent, ada-imenu-generic-expression)
8924 (ada-which-function): Check for it.
8926 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
8928 * progmodes/ada-mode.el (ada-clean-buffer-before-saving): Make obsolete.
8929 (ada-mode): Don't obey `ada-clean-buffer-before-saving' anymore.
8931 2010-01-14 Glenn Morris <rgm@gnu.org>
8933 * frame.el (show-trailing-whitespace): Safe if boolean. (Bug#5312)
8935 2010-01-14 Kenichi Handa <handa@m17n.org>
8937 * composite.el (auto-composition-mode): Make it a buffer local
8938 variable (permanent-local).
8939 (auto-composition-function): Set the default value to
8941 (auto-composition-mode): Make it a simple function, not a minor mode.
8942 (global-auto-composition-mode): Likewise.
8943 (turn-on-auto-composition-if-enabled): Delete it.
8945 2010-01-13 Karl Fogel <kfogel@red-bean.com>
8947 * bookmark.el (bookmark-bmenu-execute-deletions): Doc fix (Bug#5276).
8949 2010-01-12 Michael Albinus <michael.albinus@gmx.de>
8951 * files.el (copy-directory): Compute target for recursive
8952 directories with identical names. (Bug#5343)
8954 2010-01-12 Glenn Morris <rgm@gnu.org>
8956 * mail/emacsbug.el (report-emacs-bug-pretest-address): Set
8957 it to bug-gnu-emacs rather than emacs-pretest-bug.
8959 2010-01-11 Sam Steingold <sds@gnu.org>
8961 * imenu.el (imenu-default-create-index-function): Detect infinite
8962 loops caused by imenu-prev-index-position-function.
8964 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
8966 * htmlfontify.el (htmlfontify-load-rgb-file)
8967 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values)
8968 (htmlfontify-manual, htmlfontify, hfy-page-header, hfy-page-footer)
8969 (hfy-src-doc-link-style, hfy-src-doc-link-unstyle, hfy-link-extn)
8970 (hfy-link-style-fun, hfy-index-file, hfy-instance-file)
8971 (hfy-html-quote-regex, hfy-init-kludge-hook, hfy-post-html-hooks)
8972 (hfy-default-face-def, hfy-etag-regex, hfy-html-quote-map)
8973 (hfy-etags-cmd-alist-default, hfy-etags-bin, hfy-ignored-properties)
8974 (hfy-which-etags, hfy-etags-cmd, hfy-istext-command, hfy-display-class)
8975 (hfy-optimisations, hfy-tags-cache, hfy-tags-sortl, hfy-tags-rmap)
8976 (hfy-style-assoc, hfy-sheet-assoc, hfy-facemap-assoc, hfy-interq)
8977 (hfy-colour-vals, hfy-default-header, hfy-link-style-string)
8978 (hfy-triplet, hfy-slant, hfy-weight, hfy-combined-face-spec)
8979 (hfy-face-attr-for-class, hfy-face-to-style-i, hfy-size-to-int)
8980 (hfy-flatten-style, hfy-face-to-style, hfy-face-or-def-to-name)
8981 (hfy-face-to-css, hfy-p-to-face, hfy-p-to-face-lennart, hfy-face-at)
8982 (hfy-fontified-p, hfy-merge-adjacent-spans, hfy-buffer)
8983 (hfy-html-enkludge-buffer, hfy-html-quote, hfy-html-dekludge-buffer)
8984 (hfy-force-fontification, htmlfontify-buffer, hfy-dirname)
8985 (hfy-make-directory, hfy-text-p, hfy-mark-tag-names, hfy-relstub)
8986 (hfy-href-stub, hfy-href, hfy-mark-tag-hrefs, hfy-prepare-index-i)
8987 (hfy-prepare-index, hfy-prepare-tag-map, hfy-subtract-maps)
8988 (htmlfontify-run-etags): Fix typos in docstrings and remove superfluous
8989 backslash-quoting from parentheses, etc.
8991 2010-01-11 Chong Yidong <cyd@stupidchicken.com>
8993 * progmodes/js.el: Autoload javascript-mode alias.
8995 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
8997 * ffap.el (ffap-shell-prompt-regexp, ffap-all-subdirs, ffap-url-p)
8998 (ffap-alist, ffap-tex-path, ffap-url-at-point, ffap-gopher-regexp)
8999 (ffap-gopher-at-point, ffap-file-at-point, ffap-read-file-or-url)
9000 (ffap-read-url-internal, ffap-menu, ffap-at-mouse):
9001 Fix typos in docstrings.
9002 (ffap-url-regexp): Doc fix.
9003 (ffap-at-mouse): Fix typo in message.
9005 2010-01-11 Glenn Morris <rgm@gnu.org>
9007 * version.el (emacs-copyright): Set copyright year to 2010.
9009 2010-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
9011 * format.el (format-annotate-function): Only set
9012 write-region-post-annotation-function after running to-fn so as not to
9013 affect nested write-region calls (bug#5273).
9015 2010-01-10 Chong Yidong <cyd@stupidchicken.com>
9017 * Makefile.in (ELCFILES): Add wisent/python-wy.el and
9020 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
9022 * man.el (Man-goto-section): Signal error if the section is not
9025 2010-01-09 Juanma Barranquero <lekktu@gmail.com>
9027 * vc-bzr.el (vc-bzr-working-revision): On Windows and MS-DOS, accept
9028 URLs with a leading triple slash in the file: scheme. (Bug#5345)
9030 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
9032 * progmodes/compile.el: Don't treat compile-command as safe if
9033 compilation-read-command might be nil (Bug#4218).
9035 2010-01-09 Jan Djärv <jan.h.d@swipnet.se>
9037 * startup.el (command-line-1): Use orig-argi to check for ignored X and
9040 2010-01-08 Kenichi Handa <handa@m17n.org>
9042 * international/fontset.el (build-default-fontset-data):
9043 Exclude characters in scripts kana, hangul, han, or cjk-misc.
9045 2010-01-07 Juanma Barranquero <lekktu@gmail.com>
9047 * vc-dir.el (vc-dir-prepare-status-buffer): Pass a (fake) filename
9048 to `create-file-buffer' as it expects, not just a buffer name.
9049 (vc-dir-mode): Include the buffer name in `list-buffers-directory',
9050 to help uniquify. (Bug#3224)
9052 2010-01-06 Jan Djärv <jan.h.d@swipnet.se>
9054 * font-setting.el (font-setting-change-default-font): Use user-spec
9057 2010-01-06 Dan Nicolaescu <dann@ics.uci.edu>
9059 * vc-bzr.el (vc-bzr-after-dir-status): Ignore pending merges.
9061 2010-01-05 Tom Tromey <tromey@redhat.com>
9063 * progmodes/python.el (python-font-lock-keywords):
9064 Handle qualified decorators (Bug#881).
9066 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
9068 * vc-bzr.el (vc-bzr-working-revision): Fix looking for a revision
9069 in a lightweight checkout.
9071 2010-01-05 Kenichi Handa <handa@m17n.org>
9073 * language/indian.el (malayalam-composable-pattern): Fix ZWNJ and ZWJ.
9075 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
9077 * vc-bzr.el (vc-bzr-diff): Obey vc-disable-async-diff.
9079 2010-01-04 Dan Nicolaescu <dann@ics.uci.edu>
9081 * vc-bzr.el (vc-bzr-state-heuristic): Make it work for lightweight
9082 checkouts. (Bug#618)
9083 (vc-bzr-log-view-mode): Also highlight the author.
9084 (vc-bzr-shelve-map): Change binding for vc-bzr-shelve-apply-at-point.
9085 (vc-bzr-shelve-menu-map):
9086 (vc-bzr-dir-extra-headers): Improve menu and tooltip text.
9087 (vc-bzr-shelve-apply): Make prompt more explicit.
9089 2010-01-02 Chong Yidong <cyd@stupidchicken.com>
9091 * net/browse-url.el (browse-url-encode-url): Don't escape commas.
9092 They are valid characters in URL paths (rfc3986), and at least
9093 Firefox does not understand the encoded version (Bug#3166).
9095 2010-01-02 Daniel Elliott <danelliottster@gmail.com> (tiny change)
9097 * progmodes/octave-mod.el (octave-end-keywords)
9098 (octave-block-begin-or-end-regexp, octave-block-match-alist):
9099 Add "end" keyword (Bug#3061).
9100 (octave-end-as-array-index-p): New function.
9101 (calculate-octave-indent): Use it.
9103 2010-01-02 Karl Fogel <kfogel@red-bean.com>
9105 * bookmark.el: Consistently put the text property on the bookmark name.
9106 (bookmark-bmenu-marks-width): Bump back to 2, to include
9108 (bookmark-bmenu-hide-filenames): Adjust for above, and put the text
9109 property on the bookmark name, instead of not putting it at all.
9110 (bookmark-bmenu-list): Fix where we put the text property.
9112 2010-01-02 Karl Fogel <kfogel@red-bean.com>
9114 * bookmark.el (bookmark-bmenu-save): Just depend on the new logic
9115 for showing buffer modified state (as added in the previous change).
9117 2010-01-02 Karl Fogel <kfogel@red-bean.com>
9119 * bookmark.el: Show modified state of bookmark buffer more accurately.
9120 (bookmark-bmenu-list): Initialize buffer-modified-p properly.
9121 (bookmark-send-edited-annotation): Mark bookmark-alist as modified.
9122 (with-buffer-modified-unmodified): New macro.
9123 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
9124 (bookmark-bmenu-mark, bookmark-bmenu-unmark, bookmark-bmenu-delete):
9125 Use new macro to preserve the buffer modified state.
9127 2010-01-02 Karl Fogel <kfogel@red-bean.com>
9129 * bookmark.el (bookmark-bmenu-select, bookmark-bmenu-1-window)
9130 (bookmark-bmenu-2-window, bookmark-bmenu-this-window)
9131 (bookmark-bmenu-other-window, bookmark-bmenu-switch-other-window)
9132 (bookmark-bmenu-show-annotation, bookmark-bmenu-edit-annotation)
9133 (bookmark-bmenu-rename, bookmark-bmenu-locate)
9134 (bookmark-bmenu-relocate, bookmark-bmenu-goto-bookmark):
9135 Remove unnecessary calls to `bookmark-bmenu-ensure-position'.
9137 2010-01-02 Eli Zaretskii <eliz@gnu.org>
9139 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9140 Make the lines in the generated doc string shorter. (Bug#4668)
9142 2010-01-02 Ryan Yeske <rcyeske@gmail.com>
9144 * net/rcirc.el: Add follow-link binding (Bug#4738).
9146 2010-01-02 Eli Zaretskii <eliz@gnu.org>
9148 * Makefile.in (bzr-update): Rename from cvs-update.
9149 (cvs-update): New target for backward compatibility.
9151 * makefile.w32-in (bzr-update): Rename from cvs-update.
9152 (cvs-update): New target for backward compatibility.
9154 2010-01-02 Karl Fogel <kfogel@red-bean.com>
9156 * bookmark.el: Remove gratuitous gratitude.
9158 2010-01-02 Karl Fogel <kfogel@red-bean.com>
9160 * bookmark.el (bookmark-bmenu-any-marks): New function.
9161 (bookmark-bmenu-save): Clear buffer modification if no marks.
9163 2010-01-02 Karl Fogel <kfogel@red-bean.com>
9165 * bookmark.el (bookmark-bmenu-marks-width): Define to 1, not 2.
9166 (bookmark-bmenu-list, bookmark-bmenu-bookmark): Calculate property
9167 positions by using `bookmark-bmenu-marks-width', instead of hardcoding.
9168 This fixes the `bookmark-bmenu-execute-deletions' bug reported here:
9170 http://lists.gnu.org/archive/html/emacs-devel/2009-12/msg00819.html
9171 From: Sun Yijiang <sunyijiang {_AT_} gmail.com>
9172 To: emacs-devel {_AT_} gnu.org
9173 Subject: bookmark.el bug report
9174 Date: Mon, 28 Dec 2009 14:19:16 +0800
9175 Message-ID: 5065e2900912272219y3734fc9fsdaee41167ef99ad7@mail.gmail.com
9177 2010-01-02 Karl Fogel <kfogel@red-bean.com>
9179 * bookmark.el: Improvements suggested by Drew Adams:
9180 (bookmark-bmenu-ensure-position): New name for
9181 `bookmark-bmenu-check-position'. Just ensure the position,
9182 don't return any meaningful value.
9183 (bookmark-bmenu-header-height, bookmark-bmenu-marks-width):
9186 2010-01-02 Juanma Barranquero <lekktu@gmail.com>
9188 * bookmark.el (bookmarks-already-loaded): Doc fix (don't use `iff').
9189 (bookmark-yank-point, bookmark-bmenu-check-position):
9190 Fix typos in docstrings.
9191 (bookmark-save-flag, bookmark-bmenu-toggle-filenames)
9192 (bookmark-name-from-full-record, bookmark-get-position)
9193 (bookmark-set-position, bookmark-set, bookmark-handle-bookmark)
9194 (bookmark-delete, bookmark-save, bookmark-save, bookmark-bmenu-mode):
9195 Remove useless quoting of parenthesis, etc. in docstrings.
9197 * ediff-mult.el (ediff-prepare-meta-buffer): Fix typo in help message.
9198 (ediff-append-custom-diff): Fix typo in error message.
9199 (ediff-meta-mark-equal-files): Fix typos in messages.
9201 * mpc.el (mpc-playlist-delete): Fix typo in error messages.
9203 * net/imap-hash.el (imap-hash-make): Doc fix.
9204 (imap-hash-test): Fix typo in error message; reflow docstring.
9205 (imap-hash-p, imap-hash-get, imap-hash-put, imap-hash-make-message)
9206 (imap-hash-count, imap-hash-server, imap-hash-port, imap-hash-ssl)
9207 (imap-hash-mailbox, imap-hash-user, imap-hash-password):
9208 Fix typos in docstrings.
9209 (imap-hash-open-connection): Fix typo in error message.
9211 * play/gomoku.el (gomoku): Fix typos in docstring.
9213 * progmodes/gdb-ui.el (gdb-location-alist): Reflow docstring.
9214 (gdb-jsonify-buffer): Fix typos in docstring.
9215 (gdb-goto-breakpoint): Fix typo in error message.
9216 ("Display Other Windows"): Fix typo in help message.
9217 (gdb-speedbar-expand-node): Fix typo in question.
9219 * progmodes/idlw-help.el (idlwave-help-browse-url-available)
9220 (idlwave-html-system-help-location, idlwave-html-help-location)
9221 (idlwave-help-browser-function, idlwave-help-browser-generic-program)
9222 (idlwave-help-browser-generic-args, idlwave-help-directory)
9223 (idlwave-html-help-is-available, idlwave-help-mode-line-indicator)
9224 (idlwave-help-mode-map, idlwave-help-mode, idlwave-do-context-help)
9225 (idlwave-online-help, idlwave-help-html-link)
9226 (idlwave-help-show-help-frame, idlwave-help-assistant-command):
9227 Fix typos in docstrings.
9228 (idlwave-help-with-source, idlwave-help-find-routine-definition):
9230 (idlwave-help-assistant-start): Fix typo in error message.
9232 * progmodes/octave-mod.el (octave-mode, octave-electric-semi)
9233 (octave-electric-space): Fix typos in docstrings.
9235 2010-01-01 Chong Yidong <cyd@stupidchicken.com>
9237 * files.el (minibuffer-with-setup-hook): Doc fix (Bug#5149).
9239 2010-01-01 Juri Linkov <juri@jurta.org>
9241 * comint.el (comint-input-ring-size): Make it a defcustom and
9242 increase the default to 500 (Bug#5148).
9244 2009-12-31 Nick Roberts <nickrob@snap.net.nz>
9246 Further changes from EMACS_23_1_RC branch (2009-12-29 contd).
9247 * term/x-win.el (x-gtk-stock-map): Map some GUD buttons.
9248 * progmodes/gud.el (gud-menu-map): Add reverse-execution commands.
9250 2009-12-30 Nick Roberts <nickrob@snap.net.nz>
9252 Show working revision correctly for mercurial.
9253 * vc-hg.el (vc-hg-working-revision): Use hg parent instead of
9254 hg log as suggested by Alex Harsanyi <alexharsanyi@gmail.com>.
9256 2009-12-29 Juanma Barranquero <lekktu@gmail.com>
9258 Declare some functions for the byte-compiler.
9259 * progmodes/gdb-ui.el (speedbar-change-initial-expansion-list)
9260 (speedbar-timer-fn, speedbar-change-expand-button-char)
9261 (speedbar-delete-subblock, speedbar-center-buffer-smartly): Declare.
9263 2009-12-29 Nick Roberts <nickrob@snap.net.nz>
9265 This changeset reverts GDB Graphical Interface to use annotations.
9266 * progmodes/gdb-ui.el, progmodes/gud.el: Import from EMACS_23_1_RC.
9268 2009-12-29 Dan Nicolaescu <dann@ics.uci.edu>
9270 Make vc-dir work on subdirectories of the bzr root.
9271 * vc-bzr.el (vc-bzr-after-dir-status): Add new argument. Return
9272 file names relative to it.
9273 (vc-bzr-dir-status, vc-bzr-dir-status-files): Pass the bzr root
9274 relative directory to vc-bzr-after-dir-status.
9276 2009-12-28 Tassilo Horn <tassilo@member.fsf.org>
9278 * font-lock.el (font-lock-refresh-defaults): New function, which
9279 can be used to let font-lock react to external changes in
9280 variables like font-lock-defaults and keywords.
9281 See http://thread.gmane.org/gmane.emacs.devel/118777/focus=118802
9283 2009-12-28 Dan Nicolaescu <dann@ics.uci.edu>
9285 * vc-rcs.el (vc-rcs-register): Fix registering a specific version.
9287 * vc-bzr.el (vc-bzr-log-view-mode): Fix short log regexp.
9289 2009-12-28 Juanma Barranquero <lekktu@gmail.com>
9291 Supersede color.diff settings in git log (bug#5211).
9293 * vc-git.el (vc-git-print-log): Pass "--no-color" to log to avoid
9294 escape chars in its output when the user has color.diff set to `always'.
9295 This fix works on git 1.4.2 and newer (released on 2006-08-13).
9297 2009-12-26 Kevin Ryde <user42@zip.com.au>
9299 * info-look.el (sh-mode): Look for coreutils new "Concept Index"
9300 node. Keep previous "Index" name to work with past coreutils too.
9302 * man.el (man): Revise docstring a bit to show -a and -l as
9303 examples. Add -k description since support for it has otherwise
9304 been a secret. (Further to bug#3717.)
9305 (Man-bgproc-sentinel): When "-k foo" produces no output show error
9306 "no matches" rather than "Can't find manpage", as the latter reads
9307 like -k was interpreted as a page name, which is not so. (Bug#5431)
9309 2009-12-26 Michael Albinus <michael.albinus@gmx.de>
9311 * net/tramp.el (tramp-handle-insert-directory): Quote "'" in the
9312 switches. Check also for //SUBDIRED// line.
9314 2009-12-25 Kenichi Handa <handa@m17n.org>
9316 * language/indian.el (devanagari-composable-pattern): Fixed to
9317 handle ZWNJ and ZWJ. Use it in composition-function-table for
9319 (malayalam-composable-pattern): Fix previous change.
9321 2009-12-23 Vinicius Jose Latorre <viniciusjl@ig.com.br>
9323 * ps-print.el (ps-face-attributes): It was not returning the
9324 attribute face for faces specified as string. Reported by harven
9325 <harven@free.fr>. (Bug#5254)
9326 (ps-print-version): New version 7.3.5.
9328 2009-12-18 Ulf Jasper <ulf.jasper@web.de>
9330 * calendar/icalendar.el (icalendar--convert-tz-offset):
9332 (icalendar--convert-tz-offset): Fix the "last-day-problem".
9333 (icalendar--add-diary-entry): Remove the trailing blank that
9334 diary-make-entry inserts.
9336 2009-12-17 Michael Albinus <michael.albinus@gmx.de>
9338 Make `file-expand-wildcards' work for remote files.
9340 * files.el (file-expand-wildcards): In case of remote files, check
9341 only local file name part for wildcards. Provide feature 'files
9342 and subfeature 'remote-wildcards. (Bug#5198)
9344 * net/tramp.el (tramp-handle-file-remote-p): Expand file name only
9345 if there is already an established connection.
9346 (tramp-advice-file-expand-wildcards): Remove it.
9348 * net/tramp-compat.el (top): Autoload `tramp-handle-file-remote-p'.
9349 (tramp-advice-file-expand-wildcards): Move from tramp.el.
9350 Activate advice for older GNU Emacs versions. (Bug#5237)
9352 2009-12-17 Juanma Barranquero <lekktu@gmail.com>
9354 Some doc fixes (more needed).
9356 * find-cmd.el (find-constituents): Reflow docstring.
9357 (find-cmd, find-prune, find-command): Fix typos in docstrings.
9358 (find-generic): Doc fix.
9360 2009-12-17 Juri Linkov <juri@jurta.org>
9362 Fix regression from 23.1 to allow multiple modes in Local Variables.
9364 * files.el (hack-local-variables-filter): While ignoring duplicates,
9365 don't take `mode' into account.
9366 (hack-local-variables-filter, hack-dir-local-variables):
9367 Don't remove duplicate `mode' from local-variables-alist (like `eval').
9369 2009-12-17 Juri Linkov <juri@jurta.org>
9371 Make `dired-diff' safer. (Bug#5225)
9373 * dired-aux.el (dired-diff): Signal an error when `file' equals to
9374 `current' or when `file' is a directory of the `current' file.
9376 2009-12-17 Andreas Schwab <schwab@linux-m68k.org>
9378 * emacs-lisp/autoload.el (batch-update-autoloads): Only exclude
9379 unconditionally preloaded files.
9381 2009-12-16 Juri Linkov <juri@jurta.org>
9383 Revert to old 23.1 logic of using the file at the mark as default.
9384 * dired-aux.el (dired-diff): Use the file at the mark as default
9385 if it's not the same as the current file, and the target dir is
9386 the current dir or the mark is active. Add the current file
9387 as the arg of `dired-dwim-target-defaults'. Use the default file
9388 in the prompt. (Bug#5225)
9390 2009-12-15 Michael Albinus <michael.albinus@gmx.de>
9392 * net/tramp.el (tramp-echo-mark-marker-length): New defconst.
9393 (tramp-echo-mark, tramp-echoed-echo-mark-regexp): Use it.
9394 (tramp-check-for-regexp): Check also, when an echoing shell stops
9395 to echo sent commands.
9397 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
9399 * Makefile.in: Revert last change (Bug#5191).
9401 2009-12-14 Dan Nicolaescu <dann@ics.uci.edu>
9403 * vc-hg.el (vc-hg-print-log): Fix argument order.
9404 (vc-hg-working-revision): Make sure the command is executed in a
9405 known environment so that we can parse the output. (Bug#4417)
9407 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
9409 * progmodes/python.el (python-symbol-completions): Remove text
9410 properties from symbol string before calling python-send-receive.
9412 2009-12-14 Nick Roberts <nickrob@snap.net.nz>
9414 * progmodes/gdb-mi.el (gdb-frame-handler): Only set gud-lat-frame
9415 when there are values for both file and line. (Bug#5060)
9417 2009-12-14 Juri Linkov <juri@jurta.org>
9419 * ediff-ptch.el (ediff-context-diff-label-regexp): Don't match
9420 whitespace after the file name of the first line of unified format,
9421 because git-diff doesn't output whitespace and file modification time
9422 after the file name.
9424 2009-12-14 David Kastrup <dak@gnu.org>
9426 * info.el (Info-hide-cookies-node): Before hiding a cookie,
9427 check if it already has the `display' property added by
9428 `Info-display-images-node', and not put the `invisible' property
9431 2009-12-13 Glenn Morris <rgm@gnu.org>
9433 * mail/emacsbug.el (message-sort-headers): Define for compiler.
9434 (report-emacs-bug): In message-mode, sort manually before storing
9435 original report text. (Bug#5178)
9436 Remove superfluous save-excursion.
9438 2009-12-12 Michael Albinus <michael.albinus@gmx.de>
9440 * net/dbus.el (dbus-property-handler): Filter lambda forms out
9441 when responding to "GetAll" properties.
9443 2009-12-12 Chong Yidong <cyd@stupidchicken.com>
9445 * simple.el (compose-mail): Remove mail-setup-with-from from
9446 customization checks.
9448 2009-12-12 Eli Zaretskii <eliz@gnu.org>
9450 * arc-mode.el (archive-rar-summarize): Support Attribute fields in
9451 RAR archives created on Unix systems.
9453 2009-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
9455 * minibuffer.el (minibuffer-local-must-match-filename-map): Re-instate
9456 the varalias that was accidentally removed by the 2009-11-19 change
9459 2009-12-12 Kenichi Handa <handa@m17n.org>
9461 * language/indian.el (indian-compose-regexp): New function.
9462 (malayalam-composable-pattern): Fix the pattern.
9463 (composition-function-table): Set malayalam-composable-pattern for
9464 Malayalam characters.
9466 2009-12-11 Chong Yidong <cyd@stupidchicken.com>
9468 * progmodes/bug-reference.el (bug-reference-map): Bind mouse-2
9469 rather than down-mouse-1, based on follow-link conventions.
9471 * makefile.w32-in: Ensure that Lisp files in CEDET subdirectories
9474 2009-12-11 Michael McNamara <mac@mail.brushroad.com>
9476 * progmodes/verilog-mode.el (verilog-vmm-begin-re, verilog-vmm-end-re)
9477 (verilog-vmm-statement-re, verilog-ovm-statement-re)
9478 (verilog-defun-level-not-generate-re, verilog-calculate-indent)
9479 (verilog-leap-to-head, verilog-backward-token):
9480 Fix indenting VMM macros. Reported by Jonathan Ashbrook.
9482 2009-12-11 Wilson Snyder <wsnyder@wsnyder.org>
9484 * progmodes/verilog-mode.el (verilog-auto-lineup)
9485 (verilog-nameable-item-re): Cleanup user-visible spelling and
9486 documentation errors. One reported by Gary Delp.
9487 (verilog-submit-bug-report): Mention bug tracking and CC co-author.
9488 (verilog-read-decls): Fix AUTOWIRE with types declared in a
9489 package, bug195. Reported by Pierre-David Pfister.
9491 2009-12-11 Glenn Morris <rgm@gnu.org>
9493 * progmodes/cc-engine.el (safe-pos-list): Define for compiler.
9495 * mail/emacsbug.el: No longer require sendmail.
9496 Replace sendmail's `mail-text' by `rfc822-goto-eoh'. (Bug#5174)
9497 (report-emacs-bug-orig-text): Doc fix.
9498 (report-emacs-bug-send-command, report-emacs-bug-send-hook):
9499 New local variables, to adapt to different mail-user-agents.
9500 (report-emacs-bug): Fix test for a gnu.org address.
9501 Use overlays for emphasis, since font-lock defeats 'face property.
9502 Pretest bugs also end up at the newsgroup these days.
9503 Stop message-mode stripping text properties.
9504 Set and use the new buffer-local variables.
9505 (report-emacs-bug-hook): Add doc-string.
9506 Remove some unnecessary save-excursions and simplify.
9507 Use the appropriate hook and send-command.
9509 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Standardize the
9510 capitalization of some menu entries.
9512 2009-12-10 Vinicius Jose Latorre <viniciusjl@ig.com.br>
9514 * whitespace.el (whitespace-display-char-on):
9515 Ensure `buffer-display-table' is unique when two or more windows are
9516 visible. Reported by Martin Pohlack <mp26@os.inf.tu-dresden.de>.
9519 2009-12-10 Eli Zaretskii <eliz@gnu.org>
9521 * arc-mode.el (archive-rar-summarize): Allow between 6 and 7
9522 characters in the Attribute field.
9524 2009-12-10 Dan Nicolaescu <dann@ics.uci.edu>
9526 * vc-svn.el (vc-svn-after-dir-status): Fix regexp. (Bug#4741)
9528 2009-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
9530 Let loaddefs.el adjust to changes in autoload-excludes (bug#5162).
9531 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
9532 Disregard autoload-excludes.
9533 (update-directory-autoloads): Obey autoload-excludes here instead.
9534 But don't store its contents in no-autoloads and remove entries that
9535 refer to excludes files.
9537 2009-12-10 Glenn Morris <rgm@gnu.org>
9539 * mail/feedmail.el (top-level): Move require 'mail-utils to start.
9540 (expand-mail-aliases): Define for compiler.
9542 * vc-annotate.el (log-view-vc-backend, log-view-vc-fileset):
9543 Define for compiler.
9545 * mail/emacsbug.el (report-emacs-bug): Use whichever send command is
9546 appropriate for the mail-user-agent in use.
9548 2009-12-09 Michael Albinus <michael.albinus@gmx.de>
9550 * net/tramp.el (tramp-handle-insert-directory): Suppress error messages.
9552 2009-12-09 Dan Nicolaescu <dann@ics.uci.edu>
9554 Fix short log parsing and fontification.
9555 * vc-bzr.el (vc-bzr-log-view-mode): Match dot in revision number.
9556 Fix fontification for the [merge] label.
9558 2009-12-09 Vivek Dasmohapatra <vivek@etla.org>
9560 Drop some properties to avoid surprises (bug#5002).
9561 * htmlfontify.el (hfy-ignored-properties): New defcustom.
9562 (hfy-fontify-buffer): Use it.
9564 2009-12-09 Stefan Monnier <monnier@iro.umontreal.ca>
9567 * ffap.el (ffap-symbol-value): Replace ffap-soft-value.
9569 (ffap-locate-file): Remove unused arg `dir-ok' and make other
9570 args compulsory. Adjust callers.
9571 (ffap-gopher-at-point): Remove unused var `name'.
9573 Get rid of the ELCFILES abomination.
9574 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
9575 (compile-elcfiles): New phony target.
9576 (compile-main): Compute ELCFILES dynamically.
9577 (compile-clean): New target to remove left-over elc files.
9578 (compile, all): Use it.
9580 2009-12-09 Kenichi Handa <handa@etlken>
9582 * international/mule-diag.el: Require help-mode instead of help-fns.
9584 2009-12-09 Kenichi Handa <handa@m17n.org>
9586 * international/mule-cmds.el (ucs-names): Supply sufficiently
9587 fine ranges instead of pre-calculating accurate ranges.
9588 Iterate with bigger gc-cons-threshold.
9590 2009-12-08 Dan Nicolaescu <dann@ics.uci.edu>
9592 Add support for stashing a snapshot of the current tree.
9593 * vc-git.el (vc-git-stash-snapshot): New function.
9594 (vc-git-stash-map, vc-git-extra-menu-map): Add a mapping for it.
9596 2009-12-08 Jose E. Marchesi <jemarch@gnu.org>
9598 * play/gomoku.el (gomoku-mode-map): Remap `move-(beginning|end)-of-line'
9599 instead of `(beginning|end)-of-line'.
9601 2009-12-08 Glenn Morris <rgm@gnu.org>
9603 * vc-mtn.el (vc-mtn-print-log): Fix typo in previous.
9605 * Makefile.in (ELCFILES): Regenerate.
9607 2009-12-07 Juri Linkov <juri@jurta.org>
9609 Don't lazy-highlight the comint output in history Isearch mode.
9611 * comint.el (comint-history-isearch-search): Instead of
9612 `comint-line-beginning-position', use `comint-after-pmark-p'
9613 to check if point if before the process mark, and go to
9614 `process-mark' in this case.
9616 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
9618 * textmodes/tex-mode.el (latex-complete)
9619 (latex-indent-or-complete): Remove.
9620 (latex-mode): Set completion-at-point-functions instead.
9622 Provide a standard completion command and hook it into TAB.
9623 * minibuffer.el (completion-at-point-functions): New var.
9624 (completion-at-point): New command.
9625 * indent.el (indent-for-tab-command): Handle the `complete' behavior.
9626 * progmodes/python.el (python-mode-map): Use completion-at-point.
9627 (python-completion-at-point): Rename from python-partial-symbol and
9628 adjust for use in completion-at-point-functions.
9629 (python-mode): Setup completion-at-point for Python completion.
9630 * emacs-lisp/lisp.el (lisp-completion-at-point): New function
9631 extracted from lisp-complete-symbol.
9632 (lisp-complete-symbol): Use it.
9633 * emacs-lisp/lisp-mode.el (emacs-lisp-mode): Use define-derived-mode,
9634 setup completion-at-point for Elisp completion.
9635 (emacs-lisp-mode-map, lisp-interaction-mode-map):
9636 Use completion-at-point.
9637 * ielm.el (ielm-map): Use completion-at-point.
9638 (inferior-emacs-lisp-mode): Setup completion-at-point-functions.
9639 * progmodes/sym-comp.el: Move to...
9640 * obsolete/sym-comp.el: Move from progmodes.
9642 2009-12-07 Eli Zaretskii <eliz@gnu.org>
9644 Prevent save-buffer in Rmail buffers from using the coding-system
9645 of the current message, and from clobbering the encoding mnemonics
9646 in the mode line (Bug#4623).
9648 * mail/rmail.el (rmail-swap-buffers): Swap encoding and modified
9650 (rmail-message-encoding): New variable.
9651 (rmail-write-region-annotate): Record the encoding of the current
9652 message in rmail-message-encoding.
9653 (rmail-after-save-hook): New function, restores the encoding of
9654 the current message after the message collection is saved.
9656 2009-12-07 Juri Linkov <juri@jurta.org>
9658 * progmodes/grep.el (grep-read-files): Use `completing-read'
9659 instead of `read-string'. Set its `collection' arg to
9660 `read-file-name-internal'. (Bug#4301)
9662 2009-12-07 Juri Linkov <juri@jurta.org>
9664 Correctly restore original Isearch point. (Bug#4994)
9666 * isearch.el (isearch-mode): Move `isearch-push-state' after
9667 `(run-hooks 'isearch-mode-hook)'.
9668 (isearch-cancel): When `isearch-push-state-function' is defined,
9669 let-bind `isearch-cmds' to the first state (the last element of
9670 `isearch-cmds') and call `isearch-top-state' (it calls pop-state
9671 function and restores the original point). Otherwise, move point
9672 to `isearch-opoint'.
9674 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
9676 * international/mule-cmds.el (ucs-names): Weed out at compile-time the
9677 chars that don't have names, so the table can be built much faster at
9680 2009-12-07 Chong Yidong <cyd@stupidchicken.com>
9682 * vc-bzr.el (vc-bzr-annotate-command): More elegant form for last
9683 change. Suggested by David Kastrup.
9685 * simple.el (compose-mail): Check for incompatibilities and warn.
9686 (compose-mail-user-agent-warnings): New option.
9688 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
9690 Support showing a single log entry from vc-annotate.
9691 * vc.el (print-log): Add a new argument: START-REVISION.
9692 (vc-print-log-internal): Add a new optional argument and
9693 pass it to the backend.
9694 (vc-print-log, vc-print-root-log): Adjust callers.
9695 * vc-annotate.el (vc-annotate-show-log-revision-at-line): If a
9696 buffer already displays the requested log entry, use it.
9697 Otherwise display only the log entry in question.
9698 * vc-svn.el (vc-svn-print-log):
9699 * vc-mtn.el (vc-mtn-print-log):
9700 * vc-hg.el (vc-hg-state):
9701 * vc-git.el (vc-git-print-log): Add support for new argument START-REVISION.
9702 (vc-git-show-log-entry): Return t on success.
9703 * vc-bzr.el (vc-bzr-print-log): Add support new argument START-REVISION.
9704 (vc-bzr-show-log-entry): Return t on success.
9705 * vc-rcs.el (vc-rcs-print-log):
9706 * vc-sccs.el (vc-sccs-print-log):
9707 * vc-cvs.el (vc-cvs-print-log): Add new argument, ignore it.
9709 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
9711 * ediff-mult.el (ediff-setup-meta-map, ediff-prepare-meta-buffer):
9712 Add menus to the meta mode. (Bug#5043)
9714 2009-12-07 Michael Kifer <kifer@cs.stonybrook.edu>
9716 * ediff-init.el (ediff-event-key): Use event-to-character instead of
9719 * ediff.el (ediff-buffers-internal): Add unwind-protect.
9721 2009-12-07 Michael Albinus <michael.albinus@gmx.de>
9723 Handle prompt rules of ksh in OpenBSD 4.5. Reported by Raphaël
9724 Berbain <raphael.berbain@gmail.com>.
9726 * net/tramp.el (tramp-end-of-output): Move up. Use `#' and `$'
9728 (tramp-initial-end-of-output): New defconst.
9729 (tramp-methods, tramp-find-shell)
9730 (tramp-open-connection-setup-interactive-shell)
9731 (tramp-maybe-open-connection): Use it.
9732 (tramp-shell-prompt-pattern, tramp-wait-for-output): Handle
9733 existence of `#' and `$'.
9735 * net/tramp-fish.el (tramp-fish-maybe-open-connection): Use
9736 `tramp-initial-end-of-output'.
9738 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
9740 Get the background mode from the terminal for xterm, and set
9742 * term/xterm.el (xterm-set-background-mode): New function.
9743 (terminal-init-xterm): Use it in case xterm supports background
9744 color queries. Recompute faces after getting the background
9747 2009-12-07 Ulrich Mueller <ulm@gentoo.org>
9749 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Put the version
9750 number comment back on its own line, for easier parsing.
9752 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
9754 Make it work for non-file buffers (bug#5102).
9755 * doc-view.el (doc-view-current-cache-dir):
9756 Use doc-view-buffer-file-name rather than buffer-file-name.
9757 (doc-view-mode): Use buffer-name when buffer-file-name is nil.
9759 2009-12-06 Óscar Fuentes <ofv@wanadoo.es>
9761 * vc-bzr.el (vc-bzr-annotate-command): Handle the case where the
9762 author field is too short.
9764 2009-12-06 Dan Nicolaescu <dann@ics.uci.edu>
9766 * vc-git.el (vc-git-print-log): Handle a limit argument.
9767 Display the short log in graph form and with labels.
9768 (vc-git-log-view-mode): Handle labels.
9770 Make vc-revert change VC state from 'added to 'unregistered.
9771 * vc-git.el (vc-git-revert): Call git reset first.
9773 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
9775 * net/newst-backend.el, net/newst-plainview.el:
9776 * net/newst-reader.el, net/newst-ticker.el:
9777 * net/newst-treeview.el, net/newsticker.el:
9778 Require/provide newst-... (instead of newsticker-...). (Bug#5096)
9780 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
9782 * log-view.el (log-view-mode-map): Bind "=" to log-view-diff too.
9784 * vc-bzr.el (vc-bzr-annotate-command): Show author in annotation.
9785 Handle empty author field (Bug#4144). Suggested by Óscar Fuentes.
9786 (vc-bzr-annotate-time, vc-bzr-annotate-extract-revision-at-line):
9787 Update annotation regexp.
9789 * simple.el (beginning-of-visual-line): Constrain to field
9790 boundaries (Bug#5106).
9792 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
9794 * xml.el (xml-substitute-numeric-entities): Move
9795 newsticker--decode-numeric-entities in newst-backend.el to
9796 xml-substitute-numeric-entities in xml.el. (Bug#5008)
9797 * net/newst-backend.el (newsticker--parse-generic-feed)
9798 (newsticker--parse-generic-items)
9799 (newsticker--decode-numeric-entities): Move
9800 newsticker--decode-numeric-entities in newst-backend.el to
9801 xml-substitute-numeric-entities in xml.el. (Bug#5008)
9803 2009-12-06 Daniel Colascione <dan.colascione@gmail.com>
9805 * progmodes/js.el (js--js-not): Add null to the list of values.
9807 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
9809 * ansi-color.el (ansi-color-for-comint-mode): Add :version keyword.
9811 2009-12-06 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
9813 * textmodes/bibtex.el (bibtex-enclosing-field): Exclude entry
9814 delimiter if it is at the end of the current line.
9815 (bibtex-generate-url-list): Fix docstring.
9817 2009-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
9819 * minibuffer.el (minibuffer-complete-and-exit): Don't replace the
9820 minibuffer's content with itself.
9821 Fold the confirm-after-completion case into the `confirm' case.
9822 (completion-pcm-word-delimiters): Add : and / to the delimiters.
9824 2009-12-06 Kevin Ryde <user42@zip.com.au>
9826 * ffap.el (ffap-rfc-path): Make this a defcustom since
9827 `ffap-rfc-directories' is also a defcustom. (Bug#4514.)
9829 * info-look.el: Add setup for apropos-mode to use emacs-lisp-mode
9830 manuals, similar to existing setup for help-mode. (Bug#3913.)
9832 2009-12-05 Juri Linkov <juri@jurta.org>
9834 Save and restore dired buffer's point positions too. (Bug#4880)
9836 * dired.el (dired-save-positions): Return in the first element
9837 buffer's position in format (BUFFER DIRED-FILENAME BUFFER-POINT).
9839 (dired-restore-positions): First restore buffer's position.
9840 While restoring window's positions, check if window still displays
9841 the original buffer.
9843 2009-12-05 Chong Yidong <cyd@stupidchicken.com>
9845 * bindings.el (complete-symbol): Call semantic-ia-complete-symbol
9848 * shell.el (shell): Require ansi-color (Bug#5113).
9850 * ansi-color.el (ansi-color-for-comint-mode): Default to t.
9852 * hl-line.el (global-hl-line-highlight): Minor doc fix (Bug#4925).
9854 2009-12-05 Alan Mackenzie <acm@muc.de>
9856 * progmodes/cc-mode.el (c-before-hack-hook)
9857 (c-postprocess-file-styles): Revert change 2009-07-18T21:03:43Z!acm@muc.de to permit
9858 `c-file-style' to work again. This reversion restores the current
9859 software to its state in Emacs 23.1. (Bug#4146)
9861 2009-12-05 Kevin Ryde <user42@zip.com.au>
9863 * textmodes/sgml-mode.el (sgml-lexical-context): Recognise
9864 comment-start-skip to comment-end-skip as comment (Bug#4781).
9866 2009-12-05 Juri Linkov <juri@jurta.org>
9868 * info.el (Info-find-node-2): Set `Info-current-subfile' to nil
9869 for virtual nodes. (Bug#4147)
9870 (Info-find-node-2): Set `Info-current-node-virtual' to nil
9871 when moving from a virtual node.
9872 (Info-mode-menu): Add `Info-virtual-index' to the menu.
9873 (Info-mode): Add `Info-virtual-index' to the docstring.
9875 2009-12-05 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
9877 * textmodes/bibtex.el (bibtex-map-entries): Use marker to keep
9878 track of the buffer position of the end of a BibTeX entry as this
9879 position may change during reformatting.
9880 (bibtex-format-entry): Remove whitespace before processing
9881 numerical fields so that we recognize the latter properly.
9882 (bibtex-reformat): Do not use push which changes the global value
9883 of bibtex-entry-format.
9884 (bibtex-field-braces-alist, bibtex-field-strings-alist)
9885 (bibtex-field-re-init): Replace only space characters by regexp
9887 (bibtex-generate-url-list, bibtex-cite-matcher-alist): Fix docstring.
9888 (bibtex-initialize): Also update bibtex-strings.
9889 (bibtex-kill-field): Preserve white space at end of entry.
9890 (bibtex-kill-entry, bibtex-yank-pop, bibtex-insert-kill):
9891 Update bibtex-reference-keys.
9893 2009-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
9895 * minibuffer.el (completion-pcm--merge-try): Also consider placing
9896 point after a star, if that's the only place where modifications can
9899 2009-12-05 Dan Nicolaescu <dann@ics.uci.edu>
9901 * vc-dir.el (vc-dir): Use the correct markup for showing keymaps
9904 2009-12-04 Juri Linkov <juri@jurta.org>
9906 * proced.el (proced): Call `(proced-update t)' to update process
9907 information instead of only running proced-post-display-hook.
9908 (proced-send-signal): Add a leading space to the buffer name
9909 " *Marked Processes*" to make this buffer ephemeral.
9911 2009-12-04 Juri Linkov <juri@jurta.org>
9913 * dired.el (dired-auto-revert-buffer): New defcustom.
9914 (dired-internal-noselect): Use it.
9916 2009-12-04 Juri Linkov <juri@jurta.org>
9918 Change roles of modes and functions in image-mode.el (Bug#5062).
9920 * image-mode.el: Replace `image-mode-maybe' with `image-mode'
9921 in `auto-mode-alist'.
9922 (image-mode-previous-major-mode): New variable.
9923 (image-minor-mode-map): Rename from `image-mode-text-map'.
9924 (image-mode): Move graceful error-handling code from
9925 `image-minor-mode' to here. On errors call `image-mode-as-text'.
9926 (image-minor-mode): Remove all image-handling code.
9927 Replace `image-mode-text-map' with `image-minor-mode-map'.
9928 Check for `image-type' in mode-line format string.
9929 (image-mode-maybe): Make obsolete with an alias to `image-mode'.
9930 (image-mode-as-text): New function with most code from
9932 (image-toggle-display-text): Move code that removes image
9933 properties from `image-toggle-display' to here.
9934 (image-toggle-display-image): New function with code that adds
9935 image properties copied from `image-toggle-display'.
9936 (image-toggle-display): Remove most code with leaving only code
9937 that toggles between `image-mode-as-text' and `image-mode'.
9939 2009-12-04 Ulf Jasper <ulf.jasper@web.de>
9941 * net/newst-treeview.el
9942 (newsticker--treeview-list-highlight-start): Restored call to
9943 save-excursion: Selected item was stuck.
9944 (newsticker--treeview-list-select): New.
9945 (newsticker--treeview-item-show-text)
9946 (newsticker--treeview-item-show)
9947 (newsticker--treeview-item-update): Use new
9948 newsticker-treeview-item-mode.
9949 (newsticker-treeview-update): Keep current item.
9950 (newsticker-treeview-next-new-or-immortal-item): Doc change.
9951 (newsticker--treeview-first-feed): Doc change.
9952 (newsticker-treeview-list-menu)
9953 (newsticker-treeview-item-menu): Added menu entries.
9954 (newsticker-treeview-item-mode): New.
9956 * net/newst-backend.el (newsticker-customize): Delete other
9959 2009-12-04 Sam Steingold <sds@gnu.org>
9961 * log-view.el (log-view-mode-map): "q" calls quit-window,
9962 like in all the other non-self-insert buffers.
9964 2009-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
9967 * term.el (term-send-raw, term-send-raw-meta): Use read-key-sequence's
9968 key decoding rather than do it manually via last-input-event +
9970 (term-exec): Use delete-and-extract-region.
9971 (term-handle-ansi-terminal-messages): Remove unused var `end'.
9972 (term-process-pager): Remove unused var `i'.
9973 (term-dynamic-simple-complete): Make obsolete.
9974 (serial-update-config-menu): Remove unused vars `y' and `str'.
9975 (term-update-mode-line): Remove unused var `temp'.
9977 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
9979 Limit the number of log entries displayed by default.
9980 * vc.el (vc-print-log-internal): Fix check for limit-unsupported.
9981 (vc-print-log, vc-print-root-log): Use vc-log-show-limit when not
9982 using a prefix argument.
9984 2009-12-03 Glenn Morris <rgm@gnu.org>
9986 * progmodes/idlwave.el (class): Restore still useful declaration.
9988 2009-12-03 Alan Mackenzie <acm@muc.de>
9990 Enhance `c-parse-state' to run efficiently in "brace deserts".
9992 * progmodes/cc-mode.el (c-basic-common-init):
9993 Call c-state-cache-init.
9994 (c-neutralize-syntax-in-and-mark-CPP): Rename from
9995 c-extend-and-neutralize-syntax-in-CPP. Mark each CPP construct by
9996 placing `category' properties value 'c-cpp-delimiter at its boundaries.
9998 * progmodes/cc-langs.el (c-before-font-lock-function):
9999 c-extend-and-neutralize-syntax-in-CPP has been renamed
10000 c-neutralize-syntax-in-and-mark-CPP.
10002 * progmodes/cc-fonts.el (c-cpp-matchers): Mark template brackets
10003 with `category' properties now, not `syntax-table' ones.
10005 * progmodes/cc-engine.el (c-syntactic-end-of-macro): A new
10006 enhanced (but slower) version of c-end-of-macro that won't land
10007 inside a literal or on another awkward character.
10008 (c-state-cache-too-far, c-state-cache-start)
10009 (c-state-nonlit-pos-interval, c-state-nonlit-pos-cache)
10010 (c-state-nonlit-pos-cache-limit, c-state-point-min)
10011 (c-state-point-min-lit-type, c-state-point-min-lit-start)
10012 (c-state-min-scan-pos, c-state-brace-pair-desert)
10013 (c-state-old-cpp-beg, c-state-old-cpp-end): New constants and
10014 buffer local variables.
10015 (c-state-literal-at, c-state-lit-beg)
10016 (c-state-cache-non-literal-place, c-state-get-min-scan-pos)
10017 (c-state-mark-point-min-literal, c-state-cache-top-lparen)
10018 (c-state-cache-top-paren, c-state-cache-after-top-paren)
10019 (c-get-cache-scan-pos, c-get-fallback-scan-pos)
10020 (c-state-balance-parens-backwards, c-parse-state-get-strategy)
10021 (c-renarrow-state-cache)
10022 (c-append-lower-brace-pair-to-state-cache)
10023 (c-state-push-any-brace-pair, c-append-to-state-cache)
10024 (c-remove-stale-state-cache)
10025 (c-remove-stale-state-cache-backwards, c-state-cache-init)
10026 (c-invalidate-state-cache-1, c-parse-state-1)
10027 (c-invalidate-state-cache): New defuns/defmacros/defsubsts.
10028 (c-parse-state): Enhance and refactor.
10029 (c-debug-parse-state): Amend to deal with all the new variables.
10031 * progmodes/cc-defs.el (c-<-as-paren-syntax, c-mark-<-as-paren)
10032 (c->-as-paren-syntax, c-mark->-as-paren, c-unmark-<->-as-paren):
10033 modify to use category text properties rather than syntax-table ones.
10034 (c-suppress-<->-as-parens, c-restore-<->-as-parens): New defsubsts
10035 to switch off/on the syntactic paren property of C++ template
10036 delimiters using the category property.
10037 (c-with-<->-as-parens-suppressed): Macro to invoke code with
10038 template delims suppressed.
10039 (c-cpp-delimiter, c-set-cpp-delimiters, c-clear-cpp-delimiters):
10040 New constant/macros which apply category properties to the start
10041 and end of preprocessor constructs.
10042 (c-comment-out-cpps, c-uncomment-out-cpps): Defsubsts which
10043 "comment out" the syntactic value of characters in preprocessor
10045 (c-with-cpps-commented-out)
10046 (c-with-all-but-one-cpps-commented-out): Macros to invoke code
10047 with characters in all or all but one preprocessor constructs
10050 2009-12-03 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
10052 * proced.el (proced-filter-alist): Use regexp-quote.
10054 2009-12-03 Michael Albinus <michael.albinus@gmx.de>
10057 * eshell/em-unix.el (top): Require 'esh-opt and 'pcomplete.
10058 (eshell/su, eshell/sudo): Require 'tramp. Fix problems reading
10059 arguments. Expand `default-directory'.
10061 * net/tramp.el (tramp-handle-file-remote-p): Expand FILENAME for
10062 the benefit of returning an expanded localname.
10063 (tramp-tramp-file-p): Handle the case NAME is not a string.
10065 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
10067 Add support for bzr shelve/unshelve.
10068 * vc-bzr.el (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
10069 (vc-bzr-extra-menu-map): New variables.
10070 (vc-bzr-extra-menu, vc-bzr-extra-status-menu, vc-bzr-shelve)
10071 (vc-bzr-shelve-apply, vc-bzr-shelve-list)
10072 (vc-bzr-shelve-get-at-point, vc-bzr-shelve-delete-at-point)
10073 (vc-bzr-shelve-apply-at-point, vc-bzr-shelve-menu): New functions.
10074 (vc-bzr-dir-extra-headers): Display shelves.
10076 * vc-bzr.el (vc-bzr-print-log): Deal with nil arguments better.
10078 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
10080 * textmodes/bibtex.el (bibtex-complete-internal):
10081 Use completion-in-region.
10082 (bibtex-text-in-field-bounds): Remove unused var `opoint'.
10084 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
10086 Support applying stashes. Improve UI.
10087 * vc-git.el (vc-git-dir-extra-headers): Add tooltips.
10088 (vc-git-stash-apply, vc-git-stash-pop)
10089 (vc-git-stash-apply-at-point, vc-git-stash-pop-at-point)
10090 (vc-git-stash-menu): New functions.
10091 (vc-git-stash-menu-map): New variable.
10092 (vc-git-stash-map): Add bindings to popup a menu and to apply stashes.
10094 2009-12-03 Glenn Morris <rgm@gnu.org>
10096 * vc.el (log-view-vc-backend, log-view-vc-fileset): Declare.
10097 (vc-print-log-internal): Fix previous change.
10098 (vc-revert): Correct pluralization.
10100 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
10102 * progmodes/make-mode.el (makefile-special-targets-list): No need for
10103 it to be an alist any more.
10104 (makefile-complete): Use completion-in-region.
10106 * progmodes/octave-mod.el (octave-complete-symbol):
10107 Use completion-in-region.
10110 * progmodes/idlwave.el (idlwave-comment-hook): Simplify with `or'.
10111 (idlwave-code-abbrev, idlwave-display-user-catalog-widget)
10112 (idlwave-complete-class): Don't quote lambda.
10113 (idlwave-find-symbol-syntax-table, idlwave-mode-syntax-table)
10114 (idlwave-mode-map): Move initialization into declaration.
10115 (idlwave-action-and-binding): Use backquotes.
10116 (idlwave-in-quote, idlwave-reset-sintern, idlwave-complete-in-buffer):
10118 (idlwave-is-pointer-dereference): Remove unused var `pos'.
10119 (idlwave-xml-create-rinfo-list): Remove unused var `entry'.
10120 (idlwave-convert-xml-clean-sysvar-aliases): Remove unused vars `new',
10121 `parts', and `all-parts'.
10122 (idlwave-xml-create-sysvar-alist): Remove unused var `fields'.
10123 (idlwave-convert-xml-system-routine-info): Remove unused string
10125 (idlwave-display-user-catalog-widget): Use dolist.
10126 (idlwave-scanning-lib): Declare dynamically-scoped var.
10127 (idlwave-scan-library-catalogs): Remove unused var `flags'.
10128 (completion-highlight-first-word-only): Declare to silence bytecomp.
10129 (idlwave-popup-select): Tighten scope of `resp'.
10130 (idlwave-find-struct-tag): Remove unused var `beg'.
10131 (idlwave-after-load-rinfo-hook): Declare.
10132 (idlwave-sintern-class-info): Remove unused var `taglist'.
10133 (idlwave-find-class-definition): Remove unused var `list'.
10134 (idlwave-complete-sysvar-tag-help): Remove unused var `main-base'.
10135 (idlwave-what-module-find-class): Remove unused var `classes'.
10137 2009-12-03 Juanma Barranquero <lekktu@gmail.com>
10139 * progmodes/pascal.el: Require CL when compiling (for lexical-let).
10141 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
10143 * hippie-exp.el (try-expand-dabbrev-visible): Preserve point in the
10144 buffers visited. Remove redundant current-buffer-saving.
10146 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
10148 Use completion-in-buffer and remove uses of dynamic scoping.
10149 * progmodes/pascal.el (pascal-str, pascal-all, pascal-pred)
10150 (pascal-buffer-to-use, pascal-flag): Don't declare.
10151 (pascal-func-completion, pascal-type-completion, pascal-var-completion)
10152 (pascal-get-completion-decl, pascal-keyword-completion):
10153 Add `pascal-str' argument, save-excursion,
10154 return the found completions, and don't filter with pascal-pred.
10155 (pascal-completion-cache): New var.
10156 (pascal-completion): Don't switch buffer any more (it was never
10157 necessary). Don't save-excursion any more (it's done by the called
10158 subroutines). Use a cache to avoid redundant computations.
10159 Use complete-with-action rather than pascal-completion-response and
10160 let it apply the predicate as well.
10161 (pascal-complete-word): Use completion-in-buffer when
10162 pascal-toggle-completions is nil.
10163 (pascal-show-completions): Don't bind pascal-buffer-to-use since it's
10165 (pascal-comp-defun): Don't change buffer any more.
10166 Use complete-with-action rather than pascal-completion-response and
10167 let it apply the predicate as well.
10168 (pascal-goto-defun): Change buffer before calling pascal-comp-defun
10171 2009-12-02 Kenichi Handa <handa@m17n.org>
10173 * language/indian.el: Include ZWJ and ZWNJ in the patterns to
10174 shape for all Indic scripts.
10176 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
10178 Use completion-in-buffer.
10179 * wid-edit.el (widget-field-text-end): New function.
10180 (widget-field-value-get): Use it.
10181 (widget-string-complete, widget-file-complete)
10182 (widget-color-complete): Use it and completion-in-region.
10183 (widget-complete): Don't narrow the buffer.
10185 2009-12-02 Glenn Morris <rgm@gnu.org>
10187 * mail/rmail.el (rmail-pop-to-buffer): New function. (Bug#2282)
10188 (rmail-select-summary): Use rmail-pop-to-buffer.
10189 * mail/rmailsum.el: Replace all pop-to-buffer calls with
10190 rmail-pop-to-buffer, to prevent horizontal splits.
10192 * calendar/diary-lib.el (diary-list-entries): Replace superfluous
10193 save-excursion with save-current-buffer.
10194 Widen before searching. (Bug#5093)
10195 (diary-list-sexp-entries): Remove superfluous save-excursion.
10197 2009-12-02 Michael Welsh Duggan <mwd@cert.org>
10199 * woman.el (woman-make-bufname): Handle man-pages with "." in the
10202 2009-12-02 Andreas Politz <politza@fh-trier.de> (tiny change)
10204 * ido.el (ido-file-internal): Handle filenames at point that do
10205 not have a directory part. (Bug#5049)
10207 2009-12-02 Juanma Barranquero <lekktu@gmail.com>
10209 * mpc.el (mpc-intersection, mpc-host, mpc-songs-playlist)
10210 (mpc-songs-jump-to, mpc-resume): Doc fixes.
10212 2009-12-01 Rob Riepel <riepel@networking.Stanford.EDU>
10214 * emulation/tpu-extras.el (tpu-cursor-free-mode): Emit message.
10215 (tpu-set-cursor-free, tpu-set-cursor-bound): Don't emit a message
10218 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
10220 * comint.el (comint-insert-input): Ignore clicks to the right of
10221 the field. Reported by Bob Nnamtrop <bobnnamtrop@gmail.com>.
10223 * vc.el (vc-print-log-internal): Don't wait for the process to
10224 terminate before setting up the major mode.
10226 * pcmpl-unix.el (pcomplete/cd): Complete more than one argument, just
10229 * pcomplete.el (pcomplete-std-complete): Don't try to complete past
10232 * simple.el (normal-erase-is-backspace-mode): Fix thinko in message.
10234 2009-12-01 Glenn Morris <rgm@gnu.org>
10236 * window.el (window--display-buffer-2): Fix previous changes.
10238 2009-12-01 Chong Yidong <cyd@stupidchicken.com>
10240 * mail/sendmail.el (mail-setup-hook, mail-send-hook): Doc fixes.
10242 2009-12-01 Glenn Morris <rgm@gnu.org>
10244 * Makefile.in (ELCFILES): Add mpc.elc.
10246 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
10248 * mpc.el: New file.
10250 2009-12-01 Glenn Morris <rgm@gnu.org>
10252 * window.el (window-to-use): Define for compiler.
10254 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Make message
10255 consistent with others (no final period).
10257 * mail/rmailmm.el (rmail-mime-handle): Doc fix.
10258 (rmail-mime-show): Downcase the encoding. (Bug#5070)
10260 2009-12-01 Dan Nicolaescu <dann@ics.uci.edu>
10262 Make vc-print-log buttons work.
10263 * log-view.el (log-view-mode-map): Inherit from widget-keymap.
10265 2009-11-30 Ryan C. Thompson <rct@thompsonclan.org> (tiny change)
10267 * savehist.el (savehist-autosave-interval): Allow setting to nil
10268 through customize. (Bug#5056)
10270 2009-11-30 Juanma Barranquero <lekktu@gmail.com>
10272 Fix references to jit-lock properties.
10273 * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
10274 Refer to jit-lock-defer-multiline, not jit-lock-multiline.
10275 (perl-font-lock-special-syntactic-constructs):
10276 Quote jit-lock-defer-multiline property.
10278 2009-11-30 Dan Nicolaescu <dann@ics.uci.edu>
10280 * vc-git.el (vc-git-registered): Call vc-git-root only once.
10282 2009-11-30 Juri Linkov <juri@jurta.org>
10284 * misearch.el (multi-isearch-search-fun): Always provide a non-nil
10285 value `buffer' of `multi-isearch-next-buffer-current-function'.
10286 Use `(current-buffer)' when `buffer' is nil.
10287 (multi-isearch-next-buffer-from-list): Don't fallback to
10288 `(current-buffer)' when `buffer' is nil. (Bug#4947)
10290 2009-11-30 Juri Linkov <juri@jurta.org>
10292 * misearch.el (multi-isearch-read-buffers): Move canonicalization
10293 of buffers with `get-buffer' to `multi-isearch-buffers'.
10294 (multi-isearch-buffers, multi-isearch-buffers-regexp):
10295 Canonicalize BUFFERS with `get-buffer'. Doc fix.
10296 (multi-isearch-files, multi-isearch-files-regexp): Canonicalize
10297 FILES with `expand-file-name' converting relative file names
10298 to absolute. Doc fix. (Bug#4727)
10300 2009-11-30 Juri Linkov <juri@jurta.org>
10302 * misearch.el (multi-isearch-read-buffers)
10303 (multi-isearch-read-matching-buffers): New functions.
10304 (multi-isearch-buffers, multi-isearch-buffers-regexp):
10305 Use them in the `interactive' spec. Doc fix.
10306 (multi-isearch-read-files, multi-isearch-read-matching-files):
10308 (multi-isearch-files, multi-isearch-files-regexp):
10309 Use them in the `interactive' spec. Doc fix. (Bug#4725)
10311 2009-11-30 Juri Linkov <juri@jurta.org>
10313 * doc-view.el (doc-view-continuous):
10314 Rename from `doc-view-continuous-mode'.
10315 (doc-view-menu): Move "Toggle display" to the top.
10316 Add submenu "Continuous" with radio buttons "Off"/"On"
10317 and "Save as Default".
10318 (doc-view-scroll-up-or-next-page)
10319 (doc-view-scroll-down-or-previous-page)
10320 (doc-view-next-line-or-next-page)
10321 (doc-view-previous-line-or-previous-page): Rename
10322 `doc-view-continuous-mode' to `doc-view-continuous'. (Bug#4896)
10324 2009-11-30 Juri Linkov <juri@jurta.org>
10326 * comint.el (comint-mode-map): Rebind `M-r' from
10327 `comint-previous-matching-input' to
10328 `comint-history-isearch-backward-regexp'.
10329 Unbind `M-s' to allow global key binding `M-s'.
10330 Add menu items for `comint-history-isearch-backward' and
10331 `comint-history-isearch-backward-regexp'. (Bug#3746)
10333 2009-11-30 Juri Linkov <juri@jurta.org>
10335 * replace.el (perform-replace): Let-bind recenter-last-op to nil.
10336 For def=recenter, replace `recenter' with `recenter-top-bottom'
10337 that is called with `this-command' and `last-command' let-bound
10338 to `recenter-top-bottom'. When the last `def' was not `recenter',
10339 set `recenter-last-op' to nil. (Bug#4981)
10341 2009-11-30 Stefan Monnier <monnier@iro.umontreal.ca>
10343 Minor cleanup and simplification.
10344 * filecache.el (file-cache-add-directory)
10345 (file-cache-add-directory-recursively)
10346 (file-cache-add-from-file-cache-buffer)
10347 (file-cache-delete-file-regexp, file-cache-delete-directory)
10348 (file-cache-files-matching-internal, file-cache-display): Use dolist.
10349 (file-cache-temp-minibuffer-message): Delete function.
10350 (file-cache-minibuffer-complete): Use minibuffer-message instead.
10352 * progmodes/perl-mode.el (perl-font-lock-special-syntactic-constructs):
10353 Don't signal an error when bumping into EOB in tr, s, or y.
10355 2009-11-29 Juri Linkov <juri@jurta.org>
10357 * startup.el (fancy-about-text): Fix wording of Guided Tour.
10360 * descr-text.el (describe-char-unidata-list): Use lowercase name
10361 for "Unicode name" like in other tags.
10363 2009-11-29 Juri Linkov <juri@jurta.org>
10365 * ediff-util.el (ediff-minibuffer-with-setup-hook):
10366 New compatibility macro.
10367 (ediff-read-file-name): Use it instead of `minibuffer-with-setup-hook'.
10369 2009-11-29 Juri Linkov <juri@jurta.org>
10371 Add defcustom to define the cycling order of `recenter-top-bottom'.
10374 * window.el (recenter-last-op): Doc fix.
10375 (recenter-positions): New defcustom.
10376 (recenter-top-bottom): Rewrite to use `recenter-positions'.
10377 (move-to-window-line-top-bottom): Rewrite to use `recenter-positions'.
10379 2009-11-29 Michael Albinus <michael.albinus@gmx.de>
10381 Improve integration of Tramp and ange-ftp in eshell.
10383 * eshell/em-unix.el (eshell/whoami): Make it a defun but a defalias.
10384 (eshell/su): Flatten args. Apply better args parsing. Use "cd".
10385 (eshell/sudo): Flatten args. Let-bind `default-directory'.
10387 * eshell/esh-util.el (top): Require also Tramp when compiling.
10388 (eshell-directory-files-and-attributes): Check for FTP remote
10390 (eshell-parse-ange-ls): Let-bind `ange-ftp-name-format',
10391 `ange-ftp-ftp-name-arg', `ange-ftp-ftp-name-res'.
10392 (eshell-file-attributes): Handle ".". Return `entry'.
10394 * net/ange-ftp.el (ange-ftp-parse-filename): Use `save-match-data'.
10395 (ange-ftp-directory-files-and-attributes)
10396 (ange-ftp-real-directory-files-and-attributes): New defuns.
10398 * net/tramp.el (tramp-maybe-open-connection): Open the remote
10399 shell with "exec" when possible. This prevents trailing prompts
10400 in `start-file-process'.
10402 2009-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
10404 Try and remove assumptions about point-min==1.
10405 * nxml/rng-valid.el (rng-validate-mode): Don't hardcode point-min==1.
10406 (rng-compute-mode-line-string): Show the validation percentage in
10407 terms of the narrowed text, not the widened text.
10408 (rng-do-some-validation): Don't catch internal errors when debugging.
10409 (rng-first-error): Simplify.
10410 (rng-after-change-function): Remove work around. AFAIK the bug has
10411 been fixed a while ago.
10413 * image-mode.el (image-minor-mode): Exit more gracefully when the image
10414 cannot be displayed (e.g. when doing C-x C-f some-new-file.svg RET).
10416 * man.el (Man-completion-table): Make it easier to enter "<sec> <name>".
10418 * eshell/em-prompt.el (eshell-prompt-function): Abbreviate pwd, since
10419 `cd' doesn't always do it for us (bug#5067).
10421 * pcomplete.el (pcomplete-entries): Revert change installed mistakenly
10422 on 2009-10-25 as part of some other change (bug#5067).
10424 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
10426 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
10428 (byte-compile-warnings): Use byte-compile-warning-types.
10429 (byte-compile-save-excursion): Warn about use of set-buffer right
10430 after save-excursion.
10432 * progmodes/gud.el (gud-basic-call): Don't only save the buffer but
10433 the excursion as well.
10435 2009-11-27 Michael Albinus <michael.albinus@gmx.de>
10437 * eshell/em-unix.el (eshell/su, eshell/sudo): New defuns,
10438 providing a Tramp related implementation of "su" and "sudo".
10439 (eshell-unix-initialize): Add "su" and "sudo".
10441 2009-11-27 Daiki Ueno <ueno@unixuser.org>
10443 * net/socks.el (socks-send-command): Convert binary request to
10444 unibyte before sending. This fixes mishandling of some port
10445 numbers such as 129.
10447 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
10449 * help.el (describe-bindings-internal): Remove `interactive'.
10451 * man.el (Man-completion-table): Trim a terminating "(".
10452 Remove the space between name page a section.
10453 Add the command's description on the `help-echo' property.
10454 Remove `process-connection-type' binding since it's unused by
10456 Provide completion for the "<section> <name>" format as well.
10457 (Man-default-man-entry): Remove spurious var shadowing the argument.
10459 2009-11-26 Kevin Ryde <user42@zip.com.au>
10461 * log-view.el: Add "Keywords: tools", since its other keywords
10462 aren't in finder-known-keywords, and following vc.el.
10464 * sha1.el (sha1-string-external): default-directory "/" in case
10465 otherwise non-existent. process-connection-type pipe for touch of
10466 efficiency recommended by elisp manual. (An aside in Bug#3911.)
10468 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
10470 Misc coding convention cleanups.
10471 * htmlfontify.el (hfy-init-kludge-hook): Rename from
10472 hfy-init-kludge-hooks.
10473 (hfy-etags-cmd, hfy-flatten-style, hfy-invisible-name, hfy-face-at)
10474 (hfy-fontify-buffer, hfy-prepare-index-i, hfy-subtract-maps)
10475 (hfy-save-kill-buffers, htmlfontify-copy-and-link-dir): Use dolist
10477 (hfy-slant, hfy-weight): Use tables rather than code.
10478 (hfy-box-to-border-assoc, hfy-box-to-style, hfy-decor)
10479 (hfy-face-to-style-i, hfy-fontify-buffer): Use `case'.
10480 (hfy-face-attr-for-class): Initialize `face-spec' directly.
10481 (hfy-face-to-css): Remove `nconc' with single arg.
10482 (hfy-p-to-face-lennart): Use `or'.
10483 (hfy-face-at): Hoist common code. Remove spurious quotes in `case'.
10484 (hfy-overlay-props-at, hfy-mark-tag-hrefs): Eta-reduce.
10485 (hfy-compile-stylesheet, hfy-merge-adjacent-spans)
10486 (hfy-compile-face-map, hfy-parse-tags-buffer): Use push.
10487 (hfy-force-fontification): Use run-hooks.
10489 2009-11-26 Vivek Dasmohapatra <vivek@etla.org>
10491 Various minor fixes.
10492 * htmlfontify.el (hfy-default-header): Add toggle_invis since
10493 Javascript belongs in the header, not the body.
10494 (hfy-javascript): Remove.
10495 (hfy-fontify-buffer): Don't insert it any more.
10496 (hfy-face-at): Handle (face0 face1 face2) style face properties.
10497 Fix bug in invis handling when there were no invis props in a chunk.
10499 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
10501 * vc-bzr.el (vc-bzr-annotate-command): Make operation asynchronous.
10503 2009-11-26 Dan Nicolaescu <dann@ics.uci.edu>
10505 * finder.el (finder-mode-map): Add a menu.
10507 2009-11-26 Michael McNamara <mac@mail.brushroad.com>
10509 * progmodes/verilog-mode.el (verilog-at-struct-p): Support "signed" and
10510 "unsigned" structs.
10512 (verilog-leap-to-head, verilog-backward-token): Handle "disable
10513 fork" statement better.
10515 2009-11-26 Wilson Snyder <wsnyder@wsnyder.org>
10517 * progmodes/verilog-mode.el (verilog-auto-insert-lisp)
10518 (verilog-delete-auto, verilog-delete-empty-auto-pair)
10519 (verilog-library-filenames): Fix AUTOINSERTLISP to support insert-file.
10520 Reported by Clay Douglass.
10522 (verilog-auto-inst, verilog-auto-star-safe)
10523 (verilog-delete-auto-star-implicit, verilog-read-sub-decls):
10524 Fix removing "// Interfaces" when saving .* expansions. Reported by
10525 Pierre-David Pfister.
10527 2009-11-26 Glenn Morris <rgm@gnu.org>
10529 * eshell/em-dirs.el (eshell/cd): Don't throw to a tag outside
10532 2009-11-25 Johan Bockgård <bojohan@gnu.org>
10534 * vc-annotate.el (vc-annotate-revision-previous-to-line):
10535 Really use previous revision.
10537 2009-11-25 Kevin Ryde <user42@zip.com.au>
10539 * man.el (Man-completion-table): default-directory "/" in case
10540 doesn't otherwise exist. process-environment COLUMNS=999 so as
10541 not to truncate long names. process-connection-type pipe to avoid
10542 any chance of hitting the pseudo-tty TIOCGWINSZ.
10543 (man): completion-ignore-case t for friendliness and since man
10544 itself is case-insensitive on the command line.
10545 Further to Bug#3717.
10547 * arc-mode.el: Add "Keywords: files", so the details in its
10548 commentary can be reached from finder-by-keyword.
10549 * textmodes/dns-mode.el: Add "Keywords: comm". It's only an
10550 editing mode, but it's comms related and sgml-mode.el has "comm"
10552 * textmodes/bibtex-style.el: Add "Keywords: tex".
10553 * international/isearch-x.el, international/ja-dic-cnv.el:
10554 * international/ja-dic-utl.el, international/kkc.el:
10555 Add "Keywords: i18n", so they can be reached from finder-by-keyword.
10557 2009-11-25 Juri Linkov <juri@jurta.org>
10559 * man.el (Man-completion-table): Modify regexp to include
10560 section names to completion strings. (Bug#3717)
10562 2009-11-25 Juri Linkov <juri@jurta.org>
10564 Search recursively in gzipped files. (Bug#4982)
10566 * progmodes/grep.el (grep-highlight-matches): Add new options
10567 `always' and `auto'. Doc fix.
10568 (grep-process-setup): Check `grep-highlight-matches' for
10569 `auto-detect' to determine the need to compute grep defaults.
10570 Move Windows/DOS specific --colors settings handling
10571 to `grep-compute-defaults'. Check `grep-highlight-matches'
10572 to get the value of "--color=".
10573 (grep-compute-defaults): Compute `grep-highlight-matches' when it
10574 has the value `auto-detect'. Move Windows/DOS specific settings
10575 from `grep-process-setup'.
10576 (zrgrep): New command with alias `rzgrep'.
10578 2009-11-25 Juri Linkov <juri@jurta.org>
10580 * doc-view.el (doc-view-mode): Set buffer-local `view-read-only'
10581 to nil instead of switching off view-mode. (Bug#4896)
10583 2009-11-25 Juri Linkov <juri@jurta.org>
10585 Mouse-wheel scrolling for DocView Continuous mode. (Bug#4896)
10587 * mwheel.el (mwheel-scroll-up-function)
10588 (mwheel-scroll-down-function): New defvars.
10589 (mwheel-scroll): Funcall `mwheel-scroll-up-function' instead of
10590 `scroll-up', and `mwheel-scroll-down-function' instead of
10593 * doc-view.el (doc-view-scroll-up-or-next-page)
10594 (doc-view-scroll-down-or-previous-page): Add optional ARG.
10595 Use this ARG in the call to image-scroll-up/image-scroll-down.
10596 Change `interactive' spec to "P". Goto next/previous page only
10597 when `doc-view-continuous-mode' is non-nil or ARG is nil (for the
10598 SPC/DEL case). Doc fix.
10599 (doc-view-next-line-or-next-page)
10600 (doc-view-previous-line-or-previous-page): Rename arg to ARG
10602 (doc-view-mode): Set buffer-local `mwheel-scroll-up-function' to
10603 `doc-view-scroll-up-or-next-page', and buffer-local
10604 `mwheel-scroll-down-function' to
10605 `doc-view-scroll-down-or-previous-page'.
10607 2009-11-25 Juri Linkov <juri@jurta.org>
10609 Provide additional default values (directories at other Dired
10610 windows) via M-n in the minibuffer of some Dired commands.
10612 * dired-aux.el (dired-diff, dired-compare-directories)
10613 (dired-do-create-files): Use `dired-dwim-target-defaults' to set
10614 `minibuffer-default' in `minibuffer-with-setup-hook'.
10615 (dired-dwim-target-directory): Find a window that displays Dired
10616 buffer instead of failing when the next window is not Dired.
10617 Use `get-window-with-predicate' to find for the next Dired window.
10618 (dired-dwim-target-defaults): New function.
10620 * ediff-util.el (ediff-read-file-name):
10621 Use `dired-dwim-target-defaults' to set `minibuffer-default'
10622 in `minibuffer-with-setup-hook'.
10624 2009-11-25 Juri Linkov <juri@jurta.org>
10626 Provide additional default values (file name at point or at the
10627 current Dired line) via M-n for file reading minibuffers. (Bug#5010)
10629 * minibuffer.el (read-file-name-defaults): New function.
10630 (read-file-name): Reset `minibuffer-default' to nil when
10631 it duplicates initial input `insdef'.
10632 Bind `minibuffer-default-add-function' to lambda that
10633 calls `read-file-name-defaults' in `minibuffer-selected-window'.
10634 (minibuffer-insert-file-name-at-point): New command.
10636 * files.el (file-name-at-point-functions): New defcustom.
10637 (find-file-default): Remove defvar.
10638 (find-file-read-args): Don't use `find-file-default'.
10639 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
10640 to `read-file-name'.
10641 (find-file-literally): Use `read-file-name' with
10642 `confirm-nonexistent-file-or-buffer'.
10644 * ffap.el (ffap-guess-file-name-at-point): New autoloaded function.
10646 * dired.el (dired-read-dir-and-switches):
10647 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
10648 to `read-file-name'.
10649 (dired-file-name-at-point): New function.
10650 (dired-mode): Add hook `dired-file-name-at-point' to
10651 `file-name-at-point-functions'.
10653 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
10655 Really make the *Completions* window soft-dedicated (bug#5030).
10656 * window.el (window--display-buffer-2): Add `dedicated' argument.
10657 (display-buffer): Pass it when needed so the dedicated flag is set
10658 after calling set-window-buffer, which would otherwise reset it.
10660 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
10662 * progmodes/meta-mode.el (meta-complete-symbol):
10663 * progmodes/etags.el (complete-tag):
10664 * mail/mailabbrev.el (mail-abbrev-complete-alias):
10665 Use completion-in-region.
10667 * dabbrev.el (dabbrev--minibuffer-origin): Use minibuffer-selected-window.
10668 (dabbrev-completion): Use completion-in-region.
10669 (dabbrev--abbrev-at-point): Simplify regexp.
10671 * abbrev.el (abbrev--before-point): Use word-motion functions
10672 if :regexp is not specified (bug#5031).
10674 * subr.el (string-prefix-p): New function.
10676 * man.el (Man-completion-cache): New var.
10677 (Man-completion-table): Use it.
10679 * vc.el (vc-print-log-internal): Make `limit' optional for better
10680 compatibility (e.g. with vc-annotate.el).
10682 2009-11-24 Kevin Ryde <user42@zip.com.au>
10684 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp):
10685 Build value with regexp-opt instead of explicit joining loop. (Bug#4927)
10687 * emacs-lisp/elint.el (elint-add-required-env): Better error message
10688 when .el source file not found or other error.
10690 2009-11-24 Markus Triska <markus.triska@gmx.at>
10692 * linum.el (linum-update-window): Ignore intangible (bug#4996).
10694 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
10696 Handle the [back] button properly (bug#4979).
10697 * descr-text.el (describe-text-properties): Add a `buffer' argument.
10698 Use help-setup-xref, help-buffer, and with-help-window.
10699 (describe-char): Add `buffer' argument.
10700 Pass proper command to help-setup-xref. Don't meddle with
10701 help-xref-stack-item directly.
10702 (describe-text-category): Use with-help-window and help-buffer.
10704 * emacs-lisp/shadow.el (list-load-path-shadows): Setup a major mode
10705 for the displayed buffer (bug#4887).
10707 * man.el (Man-completion-table): New function.
10710 2009-11-24 David Reitter <david.reitter@gmail.com>
10712 * vc-git.el (vc-git-registered): Use checkout directory (where
10713 .git is) rather than the file's directory and a relative path spec
10714 to work around a bug in git.
10716 2009-11-24 Michael Albinus <michael.albinus@gmx.de>
10718 Improve handling of processes on remote hosts.
10720 * eshell/esh-util.el (eshell-path-env): New defvar.
10721 (eshell-parse-colon-path): New defun.
10722 (eshell-file-attributes): Use `eshell-parse-colon-path'.
10724 * eshell/esh-ext.el (eshell-search-path):
10725 Use `eshell-parse-colon-path'.
10726 (eshell-remote-command): Remove argument HANDLER.
10727 (eshell-external-command): Check for FTP remote connection.
10729 * eshell/esh-proc.el (eshell-gather-process-output):
10730 Use `file-truename', in order to start also symlinked files.
10731 Apply `start-file-process' instead of `start-process'.
10732 Shorten `command' to the local file name part.
10734 * eshell/em-cmpl.el (eshell-complete-commands-list):
10735 Use `eshell-parse-colon-path'.
10737 * eshell/em-unix.el (eshell/du): Check for FTP remote connection.
10739 * net/tramp.el (tramp-eshell-directory-change): New defun. Add it
10740 to `eshell-directory-change-hook'.
10742 2009-11-24 Tassilo Horn <tassilo@member.fsf.org>
10744 * doc-view.el (doc-view-mode): Switch off view-mode explicitly,
10745 because it could be enabled automatically if view-read-only is non-nil.
10747 2009-11-24 Michael Kifer <kifer@cs.stonybrook.edu>
10749 * ediff-vers.el (ediff-rcs-get-output-buffer): Revert the change
10750 made on 2009-11-22.
10752 2009-11-24 Glenn Morris <rgm@gnu.org>
10754 * bookmark.el (bookmark-bmenu-hide-filenames): Remove assignment to
10755 deleted variable bookmark-bmenu-bookmark-column.
10757 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
10759 * bookmark.el (bookmark-bmenu-search): Clear echo area when exiting.
10761 2009-11-23 Ken Brown <kbrown@cornell.edu> (tiny change)
10763 * net/browse-url.el (browse-url-filename-alist): On Windows, add
10764 two slashes to the "file:" prefix.
10765 (browse-url-file-url): De-munge Cygwin filenames before passing
10766 them to Windows browser.
10767 (browse-url-default-windows-browser): Use call-process.
10769 2009-11-23 Juri Linkov <juri@jurta.org>
10771 Implement DocView Continuous mode. (Bug#4896)
10772 * doc-view.el (doc-view-continuous-mode): New defcustom.
10773 (doc-view-mode-map): Bind C-n/<down> to
10774 `doc-view-next-line-or-next-page', C-p/<up> to
10775 `doc-view-previous-line-or-previous-page'.
10776 (doc-view-next-line-or-next-page)
10777 (doc-view-previous-line-or-previous-page): New commands.
10779 2009-11-23 Juri Linkov <juri@jurta.org>
10781 Implement Isearch in comint input history. (Bug#3746)
10782 * comint.el (comint-mode): Add `comint-history-isearch-setup' to
10783 `isearch-mode-hook'.
10784 (comint-history-isearch): New defcustom.
10785 (comint-history-isearch-backward)
10786 (comint-history-isearch-backward-regexp): New commands.
10787 (comint-history-isearch-message-overlay): New buffer-local variable.
10788 (comint-history-isearch-setup, comint-history-isearch-end)
10789 (comint-goto-input, comint-history-isearch-search)
10790 (comint-history-isearch-message, comint-history-isearch-wrap)
10791 (comint-history-isearch-push-state)
10792 (comint-history-isearch-pop-state): New functions.
10794 2009-11-23 Michael Albinus <michael.albinus@gmx.de>
10796 * net/tramp.el (tramp-shell-prompt-pattern): Use \r for carriage
10798 (tramp-handle-make-symbolic-link)
10799 (tramp-handle-dired-compress-file, tramp-handle-expand-file-name):
10801 (tramp-send-command-and-check): New argument DONT-SUPPRESS-ERR.
10802 (tramp-handle-process-file): Use it.
10804 2009-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
10806 * window.el (move-to-window-line-last-op): Remove.
10807 (move-to-window-line-top-bottom): Reuse recenter-last-op instead.
10809 2009-11-23 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
10811 Make M-r mirror the new cycling behavior of C-l.
10812 * window.el (move-to-window-line-last-op): New var.
10813 (move-to-window-line-top-bottom): New command.
10814 (global-map): Bind M-r move-to-window-line-top-bottom.
10816 2009-11-23 Sven Joachim <svenjoac@gmx.de>
10818 * dired-x.el (dired-guess-shell-alist-default):
10819 Support xz format. (Bug#4953)
10821 2009-11-22 Michael Kifer <kifer@cs.stonybrook.edu>
10823 * emulation/viper-cmd.el: Use viper-last-command-char instead of
10824 last-command-char/last-command-event.
10825 (viper-prefix-arg-value): Do correct conversion of event-char for
10828 * emulation/viper-util.el, emulation/viper.el:
10829 Use viper-last-command-char instead of
10830 last-command-char/last-command-event.
10832 * ediff-init.el, ediff-mult.el, ediff-util.el:
10833 Replace last-command-char and last-command-event
10834 with (ediff-last-command-char) everywhere.
10836 * ediff-vers.el (ediff-rcs-get-output-buffer): Make sure the buffer is
10837 created in fundamental mode.
10839 * ediff.el (ediff-version): Revert the change of interactive-p to
10840 called-interactively-p.
10842 2009-11-22 Tassilo Horn <tassilo@member.fsf.org>
10844 * progmodes/subword.el (subword-mode-map): Fix subword-mode-map
10845 generation from word-movement command names.
10847 2009-11-21 Jan Djärv <jan.h.d@swipnet.se>
10849 * cus-start.el (all): Add native condition for font-use-system-font.
10851 2009-11-21 Nathaniel Flath <flat0103@gmail.com>
10853 * progmodes/cc-menus.el (cc-imenu-java-generic-expression):
10854 Correct the patch from 2009-11-18. (Bug#3910)
10856 2009-11-21 Tassilo Horn <tassilo@member.fsf.org>
10858 * progmodes/subword.el: Rename from lisp/subword.el.
10860 * subword.el: Rename to progmodes/subword.el.
10862 * Makefile.in (ELCFILES): Adapt to subword.el move.
10864 2009-11-21 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10865 Stefan Monnier <monnier@iro.umontreal.ca>
10867 * bookmark.el (bookmark-bmenu-bookmark-column): Remove var.
10868 (bookmark-bmenu-list): Save name on `bookmark-name-prop' text-prop.
10869 (bookmark-bmenu-show-filenames): Use push.
10870 (bookmark-bmenu-hide-filenames): Use local var instead of
10871 bookmark-bmenu-bookmark-column. Use pop. Don't save window-excursion.
10872 (bookmark-bmenu-bookmark): Use the new `bookmark-name-prop' text-prop.
10873 (bookmark-bmenu-execute-deletions): Don't bother adding/removing the
10874 filenames now that the bookmark names are always available.
10876 2009-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
10878 * bookmark.el (bookmark-search-prompt, bookmark-search-timer): Remove.
10879 (bookmark-search-pattern): Move and leave unbound.
10880 (bookmark-bmenu-mode-map): Change binding.
10881 (bookmark-read-search-input): Simplify.
10882 Don't use text-char-description. Don't error on non-char events.
10883 (bookmark-filtered-alist-by-regexp-only): Remove by folding into the
10884 only caller (i.e. bookmark-bmenu-filter-alist-by-regexp).
10885 (bookmark-bmenu-search): Don't check we're in a bookmark-list buffer.
10886 Use a local var for the timer.
10887 (bookmark-bmenu-cancel-search): Remove by folding into the only caller
10888 (i.e. bookmark-bmenu-search).
10890 2009-11-21 Glenn Morris <rgm@gnu.org>
10892 * mail/rmailmm.el (rmail-mime): Decode in fundamental-mode. (Bug#4993)
10894 2009-11-20 Ken Brown <kbrown@cornell.edu> (tiny change)
10896 * net/browse-url.el (browse-url-default-windows-browser):
10897 Use cygstart for cygwin.
10899 2009-11-20 Karl Fogel <karl.fogel@red-bean.com>
10901 * bookmark.el: Formatting and doc fixes only:
10902 (bookmark-search-delay): Shorten doc string to fit in 80 columns.
10903 (bookmark-bmenu-search): Wrap to fit within 80 columns.
10904 Minor grammar and punctuation fixes in doc string.
10905 (bookmark-read-search-input): Adjust to fit within 80 columns.
10907 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
10909 * progmodes/cc-cmds.el (c-forward-into-nomenclature)
10910 (c-backward-into-nomenclature): Adapt to subword renaming.
10912 * subword.el (subword-forward, subword-backward, subword-mark)
10913 (subword-kill, subword-backward-kill, subword-transpose)
10914 (subword-downcase, subword-upcase, subword-capitalize)
10915 (subword-forward-internal, subword-backward-internal):
10916 Rename from forward-subword, backward-subword, mark-subword,
10917 kill-subword, backward-kill-subword, transpose-subwords,
10918 downcase-subword, upcase-subword, capitalize-subword,
10919 forward-subword-internal, backward-subword-internal.
10921 2009-11-20 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10923 * bookmark.el (bookmark-search-delay, bookmark-search-prompt):
10925 (bookmark-search-pattern, bookmark-search-timer, bookmark-quit-flag):
10927 (bookmark-read-search-input, bookmark-filtered-alist-by-regexp-only)
10928 (bookmark-bmenu-filter-alist-by-regexp)
10929 (bookmark-bmenu-goto-bookmark, bookmark-bmenu-cancel-search): New funs.
10930 (bookmark-bmenu-search): New command.
10931 (bookmark-bmenu-mode-map): Bind it.
10933 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
10935 * progmodes/cc-cmds.el: declare-functioned forward-subword and
10936 backward-subword to quit the byte-compiler.
10938 * makefile.w32-in: Don't refer cc-subword.elc but subword.elc.
10940 * Makefile.in: Don't refer cc-subword.elc but subword.elc.
10942 * progmodes/cc-cmds.el (c-update-modeline)
10943 (c-forward-into-nomenclature, c-backward-into-nomenclature):
10944 Refer to subword.el functions instead of cc-subword.el.
10946 * progmodes/cc-mode.el (subword-mode, c-mode-base-map): Refer to
10947 subword.el functions instead of cc-subword.el.
10949 * progmodes/cc-subword.el: Rename to subword.el.
10950 * subword.el: Rename from progmodes/cc-subword.el.
10951 (subword-mode-map): Rename from c-subword-mode-map.
10952 (subword-mode): Rename from c-subword-mode.
10953 (global-subword-mode): New global minor mode.
10954 (forward-subword): Rename from c-forward-subword.
10955 (backward-subword): Rename from c-backward-subword.
10956 (mark-subword): Rename from c-mark-subword.
10957 (kill-subword): Rename from c-kill-subword.
10958 (backward-kill-subword): Rename from c-backward-kill-subword.
10959 (transpose-subwords): Rename from c-tranpose-subword.
10960 (downcase-subword): Rename from c-downcase-subword.
10961 (capitalize-subword): Rename from c-capitalize-subword.
10962 (forward-subword-internal): Rename from c-forward-subword-internal.
10963 (backward-subword-internal): Rename from c-backward-subword-internal.
10965 2009-11-20 Dan Nicolaescu <dann@ics.uci.edu>
10967 * vc.el (vc-deduce-fileset): Allow non-state changing operations
10968 from a dired buffer.
10969 (vc-dired-deduce-fileset): New function.
10970 (vc-root-diff, vc-print-root-log): Use it.
10972 * vc-annotate.el (vc-annotate-show-log-revision-at-line): Pass a
10973 nil LIMIT argument to vc-print-log-internal.
10975 2009-11-20 Glenn Morris <rgm@gnu.org>
10977 * Makefile.in (ELCFILES): Regenerate.
10979 2009-11-20 Jay Belanger <jay.p.belanger@gmail.com>
10981 * calc/calc.el (calc-set-mode-line):
10982 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
10983 (math-format-number): Rename `math-format-complement-signed' to
10984 `math-format-twos-complement'.
10986 * calc/calc-bin.el (math-format-twos-complement): Rename from
10987 math-format-complement-signed.
10988 (calc-radix): Rename `calc-complement-signed-mode' to
10989 `calc-twos-complement-mode'.
10990 (calc-octal-radix, calc-hex-radix): Add an argument for
10993 * calc/calc-embed.el (calc-embedded-mode-vars):
10994 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
10996 * calc/calc-ext.el (calc-init-extensions):
10997 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
10998 (math-format-number-fancy): Let `calc-twos-complement-mode' be nil.
11000 * calc/calc-units.el (math-build-units-table-buffer):
11001 Let `calc-twos-complement-mode' be nil.
11003 * calc/calc-menu.el (calc-modes-menu): Clean up two's complement
11006 * calc/calc-vec.el (calcFunc-vunpack):
11007 * calc/calc-aent.el (calc-do-calc-eval):
11008 * calc/calc-forms.el (math-format-date):
11009 * calc/calc-graph.el (calc-graph-plot):
11010 * calc/calc-math.el (math-use-emacs-fn):
11011 * calc/calccomp.el (math-compose-expr):
11012 Let `calc-twos-complement-mode' be nil.
11014 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
11016 * abbrev.el (abbrev-with-wrapper-hook): (re)move...
11017 * simple.el (with-wrapper-hook): ...to here. Add argument `args'.
11018 * minibuffer.el (completion-in-region-functions): New hook.
11019 (completion-in-region): New function.
11020 * emacs-lisp/lisp.el (lisp-complete-symbol):
11021 * pcomplete.el (pcomplete-std-complete): Use it.
11023 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
11025 * textmodes/tex-mode.el (latex-complete-bibtex-cache)
11026 (latex-complete-alist): New vars.
11027 (latex-string-prefix-p, latex-complete-bibtex-keys)
11028 (latex-complete-envnames, latex-complete-refkeys)
11029 (latex-complete-data): New functions.
11030 (latex-complete, latex-indent-or-complete): New commands.
11032 * window.el (display-buffer-mark-dedicated): New var.
11033 (display-buffer): Obey it.
11034 * minibuffer.el (minibuffer-completion-help): Use it.
11036 * progmodes/sym-comp.el (symbol-complete): Use completion-in-region.
11038 * filecache.el (file-cache-add-file): Use push and cons.
11039 (file-cache-delete-file-regexp): Use push.
11040 (file-cache-complete): Use completion-in-region.
11042 * simple.el (with-wrapper-hook): Fix thinko.
11044 * hfy-cmap.el (hfy-rgb-file): Use locate-file.
11045 (htmlfontify-load-rgb-file): Remove unnused var `ff'.
11046 Use with-current-buffer and string-to-number.
11047 (hfy-fallback-colour-values): Use assoc-string.
11048 * htmlfontify.el (hfy-face-to-css): Remove unused var `style'.
11049 (hfy-face-at): Remove unused var `found-face'.
11050 (hfy-compile-stylesheet): Remove unused var `css'.
11051 (hfy-fontify-buffer): Remove unused vars `in-style', `invis-button',
11053 (hfy-buffer, hfy-copy-and-fontify-file, hfy-parse-tags-buffer):
11054 Use with-current-buffer.
11055 (hfy-text-p): Use expand-file-name and fewer setq.
11057 2009-11-19 Vivek Dasmohapatra <vivek@etla.org>
11059 * htmlfontify.el, hfy-cmap.el: New files.
11061 2009-11-19 Juri Linkov <juri@jurta.org>
11063 * minibuffer.el (completions-format): New defcustom.
11064 (completion--insert-strings): Implement vertical format.
11066 * simple.el (switch-to-completions): Move point to the first
11067 completion when point was at the beginning of the buffer.
11069 2009-11-19 Juri Linkov <juri@jurta.org>
11071 * find-dired.el (find-name-arg): Remove autoload. (Bug#4387)
11073 * progmodes/grep.el (rgrep): Require `find-dired' for `find-name-arg'.
11075 2009-11-19 Chong Yidong <cyd@stupidchicken.com>
11077 * mail/sendmail.el (mail-yank-prefix): Change default to "> ".
11078 (mail-signature): Change default to t.
11079 (mail-from-style): Deprecate `system-default' value.
11080 (mail-insert-from-field): For default value of mail-from-style,
11081 default to `angles' unless `angles' needs quoting and `parens'
11083 (mail-citation-prefix-regexp): Use citation regexp from
11086 2009-11-19 Michael Albinus <michael.albinus@gmx.de>
11088 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
11089 Set variables for computing the prompt for reading password.
11091 2009-11-19 Glenn Morris <rgm@gnu.org>
11093 * dired-aux.el (dired-compress-file-suffixes): Add ".xz". (Bug#4953)
11095 * textmodes/flyspell.el (sgml-lexical-context): Declare.
11097 * net/newst-treeview.el (newsticker-treeview-treewindow-width)
11098 (newsticker-treeview-listwindow-height): Fix custom type.
11100 2009-11-19 Kenichi Handa <handa@m17n.org>
11102 * descr-text.el (describe-char-padded-string): Compose with TAB
11103 only if there's a font for CH.
11104 (describe-char): Fix the condition for detecting a trivial composition.
11106 2009-11-18 Nathaniel Flath <flat0103@gmail.com>
11108 * progmodes/cc-menus.el (cc-imenu-java-generic-expression): A new,
11109 more accurate version of the regexp. (Bug#3910)
11111 2009-11-18 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
11113 * vc-hg.el (vc-hg-diff): Fix last patch: do not change directory.
11115 2009-11-18 Juanma Barranquero <lekktu@gmail.com>
11117 * font-setting.el (font-use-system-font): Declare for byte-compiler.
11118 (font-setting-change-default-font): Fix typo in docstring.
11120 2009-11-18 Alan Mackenzie <acm@muc.de>
11122 * progmodes/cc-defs.el (c-version): Bump to 5.31.8.
11124 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
11126 * font-setting.el (font-use-system-font): Move ...
11128 * cus-start.el (all): ... to here.
11130 2009-11-17 Michael Albinus <michael.albinus@gmx.de>
11132 * net/tramp.el (tramp-advice-file-expand-wildcards): Simplify.
11133 Don't set `ad-return-value' if `ad-do-it' doesn't.
11135 * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Set file
11138 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
11140 * menu-bar.el: Put "Use system font" in Option-menu.
11141 (menu-bar-options-save): Add font-use-system-font.
11143 * loadup.el: If feature system-font-setting or font-render-setting is
11144 there, load font-setting.
11146 * Makefile.in (ELCFILES): Add font-settings.el.
11147 * font-setting.el: New file.
11149 2009-11-17 Glenn Morris <rgm@gnu.org>
11151 * vc-svn.el (vc-svn-print-log): Fix typo in previous.
11153 * net/newst-treeview.el (newsticker--treeview-list-update-faces):
11154 Preserve point in the list buffer. (Bug#4939)
11156 (newsticker--treeview-list-update-highlight)
11157 (newsticker--treeview-tree-update-highlight): Use point-at-bol/eol.
11159 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
11161 * calc/calc-bin.el (math-symclip, calcFunc-symclip, calc-symclip):
11164 * calc/calc-ext.el (calc-init-extensions): Remove references to
11167 * calc/calc-menu.el (calc-arithmetic-menu): Remove `calc-symclip'.
11169 * calc/calc-map.el (calc-get-operator, calc-b-oper-keys):
11170 * calc/calc-help.el (calc-b-prefix-help): Remove references to
11173 2009-11-16 Kevin Ryde <user42@zip.com.au>
11175 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
11176 Use `sgml-lexical-context' instead of own parse for tag (Bug#4511).
11178 * emacs-lisp/lisp-mnt.el (lm-keywords): Allow multi-line keywords.
11179 (lm-keywords-list): Allow comma-only separator like "foo,bar".
11180 Ignore trailing spaces by omit-nulls to split-string (fixing
11181 regression from Emacs 21 due to the incompatible split-string
11182 change). (Bug #4928.)
11184 2009-11-16 Dan Nicolaescu <dann@ics.uci.edu>
11186 * vc.el (vc-log-show-limit): Default to 2000.
11187 (vc-print-log-internal): Insert buttons to request more entries
11188 when limiting the output.
11190 * vc-sccs.el (vc-sccs-print-log):
11191 * vc-rcs.el (vc-rcs-print-log):
11192 * vc-cvs.el (vc-cvs-print-log):
11193 * vc-git.el (vc-git-print-log): Return 'limit-unsupported when
11196 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
11198 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Raise only an
11199 error when `tramp-gvfs-dbus-event-vector' is set.
11200 (tramp-gvfs-maybe-open-connection): Loop over `read-event'.
11202 2009-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
11204 * vc-rcs.el (vc-rcs-consult-headers): Add missing save-excursion.
11206 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
11208 * net/dbus.el (dbus-unregister-service): New defun.
11209 (dbus-register-property): Register the handlers of
11210 "org.freedesktop.DBus.Properties" for SERVICE.
11211 (dbus-property-handler): Fix docstring.
11213 2009-11-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
11215 * emacs-lisp/bytecomp.el (byte-compile-output-file-form):
11216 Quote doc string reference in defvaralias as it is not in special form.
11217 (byte-compile-output-docform): Doc fix.
11219 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
11221 * calc/calc.el (math-2-word-size, math-half-2-word-size)
11222 (calc-complement-signed-mode): New variables.
11223 (calc-set-mode-line): Add indicator for twos-complements.
11224 (math-format-number): Format twos-complement notation.
11226 * calc/calc-bin.el (calc-word-size): Reset the variables
11227 `math-2-word-size' and `math-half-2-word-size'.
11228 (math-format-complement-signed, math-symclip, calcFunc-symclip)
11229 (calc-symclip): New functions.
11231 * calc/calc-aent.el (math-read-token): Read complement signed numbers.
11233 * calc/calc-embed.el (calc-embedded-mode-vars):
11234 Add `calc-complement-signed-mode' to the list of modes.
11236 * calc/calc-map.el (calc-get-operator): Add `calc-symclip'.
11237 (calc-b-oper-keys): Add `calc-symclip' to list.
11239 * calc/calc-ext.el (math-read-number-fancy): Read complement
11241 (calc-init-extensions): Add binding for `calc-symclip'.
11242 Add autoload for `calcFunc-symclip' and `calc-symclip'.
11244 * calc/calc-menu.el (calc-arithmetic-menu): Add item for
11246 (calc-modes-menu): Add item for twos complement mode.
11248 * calc/calc-help.el (calc-b-prefix-help): Add help for `calc-symclip'.
11250 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
11252 * register.el (jump-to-register, insert-register): Handle Semantic
11253 tags. From commented-out advice in semantic/senator.el.
11255 2009-11-15 Dan Nicolaescu <dann@ics.uci.edu>
11257 * vc.el (vc-log-show-limit): New variable.
11258 (vc-print-log, vc-print-root-log): Add new argument LIMIT. Set it
11259 when using a prefix argument.
11260 (vc-print-log-internal): Add new argument LIMIT.
11262 * vc-svn.el (vc-svn-print-log):
11263 * vc-mtn.el (vc-mtn-print-log):
11264 * vc-hg.el (vc-hg-print-log):
11265 * vc-bzr.el (vc-bzr-print-log): Add new optional argument LIMIT,
11266 pass it to the log command when set. Make the BUFFER argument
11269 * vc-sccs.el (vc-sccs-print-log):
11270 * vc-rcs.el (vc-rcs-print-log):
11271 * vc-git.el (vc-git-print-log):
11272 * vc-cvs.el (vc-cvs-print-log): Add new optional argument LIMIT,
11273 ignore it. Make the BUFFER argument non-optional
11275 * bindings.el (mode-line-buffer-identification): Do not purecopy.
11277 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
11279 * dired.el (dired-mode-map): Move encryption items to "Operate"
11282 * strokes.el (strokes-update-window-configuration): Make strokes
11283 buffer current before erasing (Bug#4906).
11285 2009-11-15 Juri Linkov <juri@jurta.org>
11287 * simple.el (set-mark-default-inactive): Add :type, :group
11288 and :version. (Bug#4876)
11290 2009-11-15 Michael Albinus <michael.albinus@gmx.de>
11292 * arc-mode.el (archive-maybe-copy): Move creation of directory ...
11293 (archive-unique-fname): ... here. (Bug#4929)
11295 2009-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
11297 * help-mode.el (help-make-xrefs): Undo the last revert, and replace it
11300 * novice.el (disabled-command-function): Add useful args.
11301 Setup the help buffer so that [back] works.
11302 Remove redundant call to help-mode.
11303 (disabled-command-function): Use `case'.
11304 (en/disable-command): New function extracted from enable-command.
11305 (enable-command, disable-command): Use it.
11307 2009-11-14 Glenn Morris <rgm@gnu.org>
11309 * menu-bar.el (menu-bar-tools-menu): Read and send mail entries are not
11310 constants. (Bug#4913)
11312 * emacs-lisp/elint.el (elint-standard-variables): Doc fix.
11314 2009-11-14 Shigeru Fukaya <shigeru.fukaya@gmail.com>
11316 * emacs-lisp/elint.el (elint-standard-variables): Add some variables
11317 defined in C that have no doc-strings. (Bug#1063)
11319 2009-11-14 Francis Wright <F.J.Wright@qmul.ac.uk>
11321 * cus-edit.el (data, files):
11322 * ps-print.el (postscript): Doc fixes for custom groups. (Bug#3327)
11324 2009-11-14 Chong Yidong <cyd@stupidchicken.com>
11326 * simple.el (shell-command): Doc fix (Bug#4891).
11328 * help-mode.el (help-make-xrefs): Revert 2009-11-13 change.
11330 2009-11-14 Glenn Morris <rgm@gnu.org>
11332 * emulation/viper.el (viper-set-hooks): Remove duplicate advice
11333 statements for vc-diff, emerge-quit, and rmail-cease-edit.
11334 If they are already loaded, eval-after-load will do the right thing.
11336 * speedbar.el (top-level): Remove unnecessary load of ange-ftp when
11339 * emacs-lisp/bytecomp.el (byte-compile-single-version): Remove, unused.
11341 * simple.el (x-selection-owner-p): Declare.
11342 (read-mail-command): Use custom radio type rather than choice.
11343 (completion-no-auto-exit): Doc fix.
11345 * custom.el (defgroup):
11346 * epg-config.el (epg): Doc fixes.
11348 2009-11-14 Dan Nicolaescu <dann@ics.uci.edu>
11350 * bindings.el (mode-line-buffer-identification): Purecopy only the string.
11351 * international/ccl.el (define-ccl-program): Do not purecopy the
11352 docstring, defconst does it anyway.
11354 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
11356 * add-log.el (add-change-log-entry): Avoid displaying the changelog
11359 * x-dnd.el (x-dnd-maybe-call-test-function):
11360 * window.el (split-window-vertically):
11361 * whitespace.el (whitespace-help-on):
11362 * vc-rcs.el (vc-rcs-consult-headers):
11363 * userlock.el (ask-user-about-lock-help)
11364 (ask-user-about-supersession-help):
11365 * type-break.el (type-break-force-mode-line-update):
11366 * time-stamp.el (time-stamp-conv-warn):
11367 * terminal.el (te-set-output-log, te-more-break, te-filter)
11368 (te-sentinel, terminal-emulator):
11369 * term.el (make-term, term-exec, term-sentinel, term-read-input-ring)
11370 (term-write-input-ring, term-check-source, term-start-output-log):
11371 (term-display-buffer-line, term-dynamic-list-completions):
11372 (term-ansi-make-term, serial-term):
11373 * subr.el (selective-display):
11374 * strokes.el (strokes-xpm-to-compressed-string, strokes-decode-buffer)
11375 (strokes-encode-buffer, strokes-xpm-for-compressed-string):
11376 * speedbar.el (speedbar-buffers-tail-notes, speedbar-buffers-item-info)
11377 (speedbar-reconfigure-keymaps, speedbar-add-localized-speedbar-support)
11378 (speedbar-remove-localized-speedbar-support)
11379 (speedbar-set-mode-line-format, speedbar-create-tag-hierarchy)
11380 (speedbar-update-special-contents, speedbar-buffer-buttons-engine)
11381 (speedbar-buffers-line-directory):
11382 * simple.el (shell-command-on-region, append-to-buffer)
11383 (prepend-to-buffer):
11384 * shadowfile.el (shadow-save-todo-file):
11385 * scroll-bar.el (scroll-bar-set-window-start, scroll-bar-drag-1)
11386 (scroll-bar-maybe-set-window-start):
11387 * sb-image.el (speedbar-image-dump):
11388 * saveplace.el (save-place-alist-to-file, save-places-to-alist)
11389 (load-save-place-alist-from-file):
11390 * ps-samp.el (ps-print-message-from-summary):
11391 * ps-print.el (ps-flush-output, ps-insert-file, ps-get-boundingbox)
11392 (ps-background-image, ps-begin-job, ps-do-despool):
11393 * ps-bdf.el (bdf-find-file, bdf-read-font-info):
11394 * printing.el (pr-interface, pr-ps-file-print, pr-find-buffer-visiting)
11395 (pr-ps-message-from-summary, pr-lpr-message-from-summary):
11396 (pr-call-process, pr-file-list, pr-interface-save):
11397 * novice.el (disabled-command-function)
11398 (enable-command, disable-command):
11399 * mouse.el (mouse-buffer-menu-alist):
11400 * mouse-copy.el (mouse-kill-preserving-secondary):
11401 * macros.el (kbd-macro-query):
11402 * ledit.el (ledit-go-to-lisp, ledit-go-to-liszt):
11403 * informat.el (batch-info-validate):
11404 * ido.el (ido-copy-current-word, ido-initiate-auto-merge):
11405 * hippie-exp.el (try-expand-dabbrev-visible):
11406 * help-mode.el (help-make-xrefs):
11407 * help-fns.el (describe-variable):
11408 * generic-x.el (bat-generic-mode-run-as-comint):
11409 * finder.el (finder-mouse-select):
11410 * find-dired.el (find-dired-sentinel):
11411 * filesets.el (filesets-file-close):
11412 * files.el (list-directory):
11413 * faces.el (list-faces-display, describe-face):
11414 * facemenu.el (list-colors-display):
11415 * ezimage.el (ezimage-image-association-dump, ezimage-image-dump):
11416 * epg.el (epg--process-filter, epg-cancel):
11417 * epa.el (epa--marked-keys, epa--select-keys, epa-display-info)
11418 (epa--read-signature-type):
11419 * emerge.el (emerge-copy-as-kill-A, emerge-copy-as-kill-B)
11420 (emerge-file-names):
11421 * ehelp.el (electric-helpify):
11422 * ediff.el (ediff-regions-wordwise, ediff-regions-linewise):
11423 * ediff-vers.el (rcs-ediff-view-revision):
11424 * ediff-util.el (ediff-setup):
11425 * ediff-mult.el (ediff-append-custom-diff):
11426 * ediff-diff.el (ediff-exec-process, ediff-process-sentinel)
11428 * echistory.el (Electric-command-history-redo-expression):
11429 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
11430 * disp-table.el (describe-display-table):
11431 * dired.el (dired-find-buffer-nocreate):
11432 * dired-aux.el (dired-rename-subdir, dired-dwim-target-directory):
11433 * dabbrev.el (dabbrev--same-major-mode-p):
11434 * chistory.el (list-command-history):
11435 * apropos.el (apropos-documentation):
11436 * allout.el (allout-obtain-passphrase):
11437 (allout-copy-exposed-to-buffer):
11438 (allout-verify-passphrase): Use with-current-buffer.
11440 2009-11-13 Glenn Morris <rgm@gnu.org>
11442 * Makefile.in (ELCFILES): Regenerate.
11444 2009-11-13 Michael Albinus <michael.albinus@gmx.de>
11446 * net/dbus.el (dbus-registered-objects-table): Rename from
11447 `dbus-registered-functions-table', because it contains also properties.
11448 (dbus-unregister-object): Unregister also properties.
11449 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
11450 Use a timeout of 500 msec, in order to not block.
11451 (dbus-register-property, dbus-property-handler): New defuns.
11453 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
11455 * simple.el (minibuffer-default-add-completions): Drop deprecated
11458 2009-11-13 Tomas Abrahamsson <tab@lysator.liu.se>
11460 * textmodes/artist.el (artist-mouse-choose-operation):
11461 Call `tmm-prompt' instead of `x-popup-menu' if we cannot popup
11462 menus. Bug noticed by Eli Zaretskii <eliz@gnu.org>.
11463 (artist-compute-up-event-key): New function.
11464 (artist-mouse-choose-operation, artist-down-mouse-1): Call it.
11466 2009-11-13 Kenichi Handa <handa@m17n.org>
11468 * language/japan-util.el: Make sure that the value of jisx0208
11469 property is jisx0208 character.
11471 2009-11-13 Dan Nicolaescu <dann@ics.uci.edu>
11473 * international/mule.el (auto-coding-regexp-alist): Only purecopy
11474 car or each item, not the whole list.
11476 2009-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
11478 * minibuffer.el (minibuffer-completion-help):
11479 Use minibuffer-hide-completions.
11481 2009-11-12 Per Starbäck <per@starback.se> (tiny change)
11483 * dired.el (dired-save-positions, dired-restore-positions): New funs.
11484 (dired-revert): Use them (bug#4880).
11486 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
11488 * tooltip.el (tooltip-frame-parameters): Undo previous change.
11490 2009-11-12 Juri Linkov <juri@jurta.org>
11492 * ffap.el (ffap-alternate-file-other-window, ffap-literally):
11494 (find-file-literally-at-point): Alias of `ffap-literally'.
11496 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
11498 * textmodes/ispell.el (ispell-skip-region-alist):
11499 * textmodes/css-mode.el (auto-mode-alist):
11500 * progmodes/compile.el (auto-mode-alist):
11501 * international/mule.el (ctext-non-standard-encodings-alist)
11502 (ctext-non-standard-encodings-regexp):
11503 * simple.el (shell-command-switch, text-read-only):
11504 * replace.el (occur-mode-map):
11505 * paths.el (rmail-file-name):
11506 * jka-cmpr-hook.el (jka-compr-build-file-regexp):
11507 * find-file.el (ff-special-constructs):
11508 * files.el (file-name-handler-alist):
11509 * composite.el: Purecopy strings.
11511 * emacs-lisp/cl-macs.el (define-compiler-macro): Purecopy the file name.
11513 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
11515 * widget.el (define-widget): Purecopy the docstring.
11516 * international/mule-cmds.el (charset): Do not purecopy the
11517 docstring here, define-widget does it.
11519 * textmodes/texinfo.el (texinfo-open-quote, texinfo-close-quote):
11520 * textmodes/bibtex-style.el (auto-mode-alist):
11521 * progmodes/inf-lisp.el (inferior-lisp-prompt):
11522 * progmodes/compile.el (compile-command):
11523 * language/korea-util.el (default-korean-keyboard):
11524 * international/mule-conf.el (file-coding-system-alist):
11525 * emacs-lisp/eldoc.el (eldoc-minor-mode-string):
11526 * tooltip.el (tooltip-frame-parameters):
11527 * newcomment.el (comment-end, comment-padding):
11528 * dired.el (dired-trivial-filenames):
11529 * comint.el (comint-file-name-prefix): Purecopy initial values.
11531 2009-11-11 Michael Albinus <michael.albinus@gmx.de>
11533 * net/tramp.el (tramp-advice-minibuffer-electric-separator)
11534 (tramp-advice-minibuffer-electric-tilde): Unload advices via
11536 (tramp-advice-make-auto-save-file-name)
11537 (tramp-advice-file-expand-wildcards): Apply also `ad-activate'
11538 after removing the advice.
11540 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
11542 * progmodes/grep.el (grep-regexp-alist):
11543 * international/mule-cmds.el (iso-2022-control-alist):
11544 * emacs-lisp/timer.el (timer-duration-words):
11545 * subr.el (version-separator, version-regexp-alist):
11546 * minibuffer.el (completion-styles-alist):
11547 * faces.el (face-attribute-name-alist, list-faces-sample-text):
11548 Change defvars to defconsts.
11550 * Makefile.in (ELCFILES): Add international/mule-conf.elc.
11551 * loadup.el ("international/mule-conf"): Load the byte compiled version.
11552 * international/mule-conf.el: Allow to be byte compiled.
11554 * international/mule.el (define-charset): Purecopy props.
11555 (load-with-code-conversion): Purecopy doc string and file name.
11556 (put-charset-property): Purecopy strings.
11557 (auto-coding-alist, auto-coding-regexp-alist): Purecopy initial value.
11559 * international/mule-cmds.el (register-input-method): Purecopy arguments.
11560 (define-char-code-property): Correctly purecopy the table.
11562 * international/ccl.el (define-ccl-program): Purecopy the docstring.
11564 * emacs-lisp/easy-mmode.el (define-minor-mode): Purecopy :lighter.
11566 * subr.el (add-hook): Purecopy strings.
11567 (eval-after-load): Purecopy load-history-regexp and the form.
11569 * custom.el (custom-declare-group): Purecopy load-file-name.
11571 * subr.el (menu-bar-separator): New defconst.
11572 * net/eudc.el (eudc-tools-menu):
11573 * international/mule-cmds.el (set-coding-system-map)
11574 (mule-menu-keymap):
11575 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
11576 * vc-hooks.el (vc-menu-map):
11577 * replace.el (occur-mode-map):
11578 * menu-bar.el (menu-bar-file-menu, menu-bar-search-menu)
11579 (menu-bar-edit-menu, menu-bar-goto-menu)
11580 (menu-bar-custom-menu, menu-bar-showhide-menu)
11581 (menu-bar-options-menu, menu-bar-tools-menu)
11582 (menu-bar-encryption-decryption-menu, menu-bar-describe-menu)
11583 (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
11584 (menu-bar-help-menu):
11585 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu):
11586 * buff-menu.el (Buffer-menu-mode-map): Use menu-bar-separator.
11588 * term/x-win.el (x-gtk-stock-map):
11589 * progmodes/vera-mode.el (auto-mode-alist):
11590 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
11591 (inferior-lisp-program, inferior-lisp-load-command):
11592 * progmodes/hideshow.el (hs-special-modes-alist):
11593 * progmodes/gud.el (same-window-regexps):
11594 * progmodes/grep.el (grep-program, find-program, xargs-program):
11595 * net/telnet.el (same-window-regexps):
11596 * net/rlogin.el (same-window-regexps):
11597 * language/ethiopic.el (font-ccl-encoder-alist):
11598 * vc-sccs.el (vc-sccs-master-templates):
11599 * vc-rcs.el (vc-rcs-master-templates):
11600 * subr.el (cl-assertion-failed):
11601 * simple.el (next-error-overlay-arrow-position):
11602 * lpr.el (lpr-command):
11603 * locate.el (locate-ls-subdir-switches):
11604 * info.el (same-window-regexps, info)
11605 (Info-goto-emacs-command-node, Info-goto-emacs-key-command-node):
11606 * image-mode.el (image-mode, auto-mode-alist):
11607 * hippie-exp.el (hippie-expand-ignore-buffers):
11608 * format.el (format-alist):
11609 * find-dired.el (find-ls-subdir-switches, find-grep-options)
11611 * facemenu.el (facemenu-keybindings):
11612 * dired.el (dired-listing-switches, dired-chown-program):
11613 * diff.el (diff-switches, diff-command):
11614 * cus-edit.el (same-window-regexps):
11615 * bindings.el (mode-line-mule-info)
11616 (mode-line-buffer-identification): Purecopy strings.
11618 2009-11-11 Juri Linkov <juri@jurta.org>
11620 * simple.el (dired-get-filename) <declare-function>:
11621 Tell the byte-compiler about dired-get-filename.
11622 (shell-command): In Dired mode, get filename from the current line
11623 as the default value.
11625 2009-11-10 Glenn Morris <rgm@gnu.org>
11627 * dired.el, hi-lock.el, calendar/cal-menu.el, calendar/calendar.el:
11628 * calendar/holidays.el, progmodes/cperl-mode.el:
11629 Update x-popup-menu declarations.
11631 * emacs-lisp/shadow.el (find-emacs-lisp-shadows)
11632 (list-load-path-shadows): Use dolist.
11633 (list-load-path-shadows): Use with-current-buffer.
11635 2009-11-10 Juri Linkov <juri@jurta.org>
11637 * minibuffer.el (read-file-name): Support a list of default values
11638 in `default-filename'. Use the first file name where only one
11639 element is required. Doc fix.
11641 2009-11-09 Michael Albinus <michael.albinus@gmx.de>
11643 * net/dbus.el (dbus-unregister-object): Release service, if no
11644 other method is registered for it.
11646 2009-11-08 Markus Rost <rost@math.uni-bielefeld.de>
11648 * bookmark.el (bookmark-completing-read): Sort bookmark names if
11649 bookmark-sort-flag is non-nil (Bug#4653).
11651 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
11653 * emulation/cua-base.el: Add CUA property to some CC mode commands
11656 2009-11-08 Kevin Ryde <user42@zip.com.au>
11658 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp): Match noun
11659 at end of sentence (Bug#4818).
11661 2009-11-08 Jared Finder <jfinder@crypticstudios.com>
11663 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11664 Handle "see declaration of" MSFT statements (Bug#4100).
11666 2009-11-08 Michael Albinus <michael.albinus@gmx.de>
11668 * net/tramp.el (tramp-advice-make-auto-save-file-name)
11669 (tramp-advice-file-expand-wildcards): Unload via
11670 `ad-remove-advice'.
11672 * net/trampver.el: Update release number.
11674 2009-11-08 Kevin Ryde <user42@zip.com.au>
11676 * net/tramp.el (tramp-advice-file-expand-wildcards): Don't rely on
11679 2009-11-08 Andr <m00naticus@gmail.com> (tiny change)
11681 * net/tramp.el (tramp-handle-write-region): Copy but rename temp file,
11682 in order to keep context in SELinux.
11684 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
11686 * dired-aux.el (dired-query): Place cursor in echo area and allow
11689 * dired.el (dired-mode-map): Disable dired-maybe-insert-subdir
11690 menu item if not on a directory (Bug#4701).
11692 2009-11-07 Michael Albinus <michael.albinus@gmx.de>
11694 Sync with Tramp 2.1.17.
11696 * net/tramp.el (tramp-handle-copy-directory): Don't use
11697 `file-remote-p' (due to compatibility).
11699 * net/tramp-compat.el (tramp-compat-copy-directory)
11700 (tramp-compat-delete-directory): New defuns.
11702 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
11703 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory): Use
11704 `tramp-compat-delete-directory'.
11706 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
11707 (tramp-smb-handle-delete-directory): Use
11708 `tramp-compat-copy-directory' and `tramp-compat-delete-directory'.
11710 * net/trampver.el: Update release number.
11712 2009-11-07 Chong Yidong <cyd@stupidchicken.com>
11714 * tar-mode.el (tar-copy): Call write-region on the right buffer
11717 * mail/rmailsum.el (rmail-summary-rmail-update): Call linum-update
11718 by hand, if necessary (Bug#4878).
11720 2009-11-06 Chong Yidong <cyd@stupidchicken.com>
11722 * buff-menu.el (Buffer-menu-buffer+size): Use display property to
11723 align size column (Bug#4839).
11725 * emacs-lisp/autoload.el (autoload-rubric): Always issue a provide
11728 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
11730 * progmodes/ld-script.el (auto-mode-alist):
11731 * vc-hooks.el (vc-directory-exclusion-list): Purecopy strings.
11733 * cus-face.el (custom-declare-face): Purecopy face spec.
11735 2009-11-06 Kenichi Handa <handa@m17n.org>
11737 * international/uni-bidi.el: Re-generated.
11738 * international/uni-category.el: Re-generated.
11739 * international/uni-combining.el: Re-generated.
11740 * international/uni-mirrored.el: Re-generated.
11742 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
11744 * textmodes/tex-mode.el (tex-alt-dvi-print-command)
11745 (tex-dvi-print-command, tex-bibtex-command, tex-start-commands)
11746 (tex-start-options, slitex-run-command, latex-run-command)
11747 (tex-run-command, tex-directory):
11748 * textmodes/ispell.el (ispell-html-skip-alists)
11749 (ispell-tex-skip-alists, ispell-tex-skip-alists):
11750 * textmodes/fill.el (adaptive-fill-first-line-regexp):
11751 (adaptive-fill-regexp):
11752 * textmodes/dns-mode.el (auto-mode-alist):
11753 * progmodes/python.el (interpreter-mode-alist):
11754 * progmodes/etags.el (tags-compression-info-list):
11755 * progmodes/etags.el (tags-file-name):
11756 * net/browse-url.el (browse-url-galeon-program)
11757 (browse-url-firefox-program):
11758 * mail/sendmail.el (mail-signature-file)
11759 (mail-citation-prefix-regexp):
11760 * international/mule-conf.el (eight-bit):
11761 * international/latexenc.el (latex-inputenc-coding-alist):
11762 * international/fontset.el (x-pixel-size-width-font-regexp):
11763 * emacs-lisp/warnings.el (warning-type-format):
11764 * emacs-lisp/trace.el (trace-buffer):
11765 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-map)
11766 (emacs-lisp-mode-map):
11767 * calendar/holidays.el (holiday-solar-holidays)
11768 (holiday-bahai-holidays, holiday-islamic-holidays)
11769 (holiday-christian-holidays, holiday-hebrew-holidays)
11770 (hebrew-holidays-4, hebrew-holidays-3, hebrew-holidays-2)
11771 (hebrew-holidays-1, holiday-oriental-holidays)
11772 (holiday-general-holidays):
11773 * x-dnd.el (x-dnd-known-types):
11774 * tool-bar.el (tool-bar):
11775 * startup.el (site-run-file):
11776 * shell.el (shell-dumb-shell-regexp):
11777 * rfn-eshadow.el (file-name-shadow-tty-properties)
11778 (file-name-shadow-properties):
11779 * paths.el (remote-shell-program, news-directory):
11780 * mouse.el ([C-down-mouse-3]):
11781 * menu-bar.el (menu-bar-tools-menu):
11782 * jka-cmpr-hook.el (jka-compr-load-suffixes)
11783 (jka-compr-mode-alist-additions, jka-compr-compression-info-list)
11784 (jka-compr-compression-info-list):
11785 * isearch.el (search-whitespace-regexp):
11786 * image-file.el (image-file-name-extensions):
11787 * find-dired.el (find-ls-option):
11788 * files.el (directory-listing-before-filename-regexp)
11789 (directory-free-space-args, insert-directory-program)
11790 (list-directory-brief-switches, magic-fallback-mode-alist)
11791 (magic-fallback-mode-alist, auto-mode-interpreter-regexp)
11792 (automount-dir-prefix):
11793 * faces.el (face-x-resources, x-font-regexp, x-font-regexp-head)
11794 (x-font-regexp-slant, x-font-regexp-weight, face-x-resources)
11795 (face-font-registry-alternatives, face-font-registry-alternatives)
11796 (face-font-family-alternatives):
11797 * facemenu.el (facemenu-add-new-face, facemenu-background-menu)
11798 (facemenu-foreground-menu, facemenu-face-menu):
11799 * epa-hook.el (epa-file-name-regexp):
11800 * dnd.el (dnd-protocol-alist):
11801 * textmodes/rst.el (auto-mode-alist):
11802 * button.el (default-button): Purecopy strings.
11804 2009-11-06 Glenn Morris <rgm@gnu.org>
11806 * Makefile.in (ELCFILES): Update.
11808 2009-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
11810 * emacs-lisp/lucid.el: Move to obsolete/lucid.el.
11811 * emacs-lisp/levents.el: Move to obsolete/levents.el.
11813 * nxml/xsd-regexp.el (xsdre-gen-categories):
11814 * nxml/xmltok.el (xmltok-parse-entity):
11815 * nxml/rng-parse.el (rng-parse-validate-file):
11816 * nxml/rng-maint.el (rng-format-manual)
11817 (rng-manual-output-force-new-line):
11818 * nxml/rng-loc.el (rng-save-schema-location-1):
11819 * nxml/rng-cmpct.el (rng-c-parse-file):
11820 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
11821 * nxml/nxml-parse.el (nxml-parse-file): Use with-current-buffer.
11823 2009-11-05 Wilson Snyder <wsnyder@wsnyder.org>
11825 * progmodes/verilog-mode.el (verilog-getopt-file, verilog-set-define):
11826 Remove extra save-excursions and make-variable-buffer-local's.
11827 Suggested by Stefan Monnier.
11829 (verilog-getopt-file, verilog-module-inside-filename-p)
11830 (verilog-set-define): Merge GNU 1.35 and repair changes from
11831 switching to using with-current-buffer.
11833 (verilog-read-always-signals-recurse): Fix "a == 2'b00 ? b : c"
11834 being treated as a number and confusing AUTORESET.
11835 Reported by Dan Dever.
11837 (verilog-auto-ignore-concat, verilog-read-sub-decls-expr):
11838 Add verilog-auto-ignore-concat to fix backward compatibility with
11839 older verilog-modes. Reported by Dan Katz.
11841 (verilog-read-auto-template): Fix AUTO_TEMPLATEs with regexps
11842 containing closing anchors "...$".
11844 (verilog-read-decls): Fix AUTOREG not detecting "assign {a,b}".
11845 Reported by Wade Smith.
11847 (verilog-batch-execute-func): Comment on function usage.
11849 2009-11-05 Michael McNamara <mac@mail.brushroad.com>
11851 * progmodes/verilog-mode.el (verilog-label-re): Fix regular expression
11854 (verilog-label-re, verilog-calc-1): Support proper indent of named
11857 (verilog-backward-token, verilog-basic-complete-re)
11858 (verilog-beg-of-statement, verilog-indent-re): Support proper
11859 indent of the assert statement at the beginning of a block of text.
11861 (verilog-beg-block-re, verilog-ovm-begin-re): Support the
11862 `ovm_object_param_utils_begin and `ovm_component_param_utils_begin
11865 2009-11-05 Glenn Morris <rgm@gnu.org>
11867 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Drop test for
11868 Emacs 19. (Bug#1531)
11869 (byte-compile-fix-header): Update for the above change.
11870 Drop test for epoch::version.
11872 * emacs-lisp/autoload.el (autoload-rubric): Add optional feature arg.
11873 * cus-dep.el (custom-make-dependencies):
11874 * finder.el (finder-compile-keywords):
11875 Use autoload-rubric's feature argument.
11877 * calendar/diary-lib.el (top-level): Make load behave more like require.
11879 * vc-git.el (vc-git-stash-map): Move definition before use.
11881 2009-11-04 Dan Nicolaescu <dann@ics.uci.edu>
11883 * custom.el (custom-declare-group): Purecopy standard-value.
11884 (custom-declare-group): Purecopy custom-prefix.
11886 * international/mule.el (load-with-code-conversion):
11887 Call do-after-load-evaluation unconditionally.
11889 * emacs-lisp/bytecomp.el (byte-compile-output-file-form): Handle defvaralias.
11891 2009-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
11893 * descr-text.el: Require help-mode rather than help-fns (bug#4861).
11895 2009-11-04 Glenn Morris <rgm@gnu.org>
11897 * emacs-lisp/bytecomp.el (byte-compile-version-cond): Remove macro.
11898 (byte-compile-compatibility): Remove option.
11899 (byte-compile-close-variables, byte-compile-fix-header)
11900 (byte-compile-insert-header, byte-compile-output-docform)
11901 (byte-compile-file-form-defmumble, byte-compile-byte-code-maker)
11902 (byte-compile-lambda, byte-compile-form, byte-defop-compiler19)
11903 (byte-compile-list, byte-compile-concat, byte-compile-function-form)
11904 (byte-compile-insert, byte-compile-defun):
11905 Remove support for byte-compile-compatibility and Emacs 18. (Bug#4571)
11906 (byte-defop-compiler19): Remove.
11907 Without byte-compile-compatibility, the 'emacs19-opcode property is not
11908 used by anything. Replace all calls with byte-defop-compiler.
11910 2009-11-04 Juri Linkov <juri@jurta.org>
11912 * menu-bar.el (menu-bar-make-mm-toggle): Quote each element of `props'.
11913 (menu-bar-options-menu): Don't quote the `prop' arg of
11914 `menu-bar-make-mm-toggle'.
11916 2009-11-04 Juanma Barranquero <lekktu@gmail.com>
11918 * calendar/calendar.el (cal-loaddefs):
11919 * calendar/diary-lib.el (diary-loaddefs):
11920 * calendar/holidays.el (hol-loaddefs):
11921 * eshell/esh-module.el (esh-groups): Load rather than require.
11923 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
11925 * calendar/todo-mode.el (todo-add-category): Don't hardcode
11927 (todo-top-priorities): Only display-buffer when called interactively.
11928 (todo-item-start): Don't save excursion point.
11929 (todo-item-end): Be slightly more careful. Add `include-sep' arg.
11930 (todo-insert-item-here, todo-file-item, todo-remove-item):
11931 Adjust uses of todo-item-start and todo-item-end.
11933 * emacs-lisp/autoload.el (generated-autoload-feature): Remove.
11934 (autoload-rubric): Don't use any more.
11936 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Use dolist,
11937 and only put a prop if it is non-nil.
11939 2009-11-03 Juri Linkov <juri@jurta.org>
11941 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle)
11942 (menu-bar-options-menu): Fix list quoting (Bug#4429).
11944 * buff-menu.el (Buffer-menu-mode-map): Add hyphen between "Buffer"
11945 and "Menu" to make top-level menu item visually one unit (like
11946 it's done for "Lisp-Interaction", "Emacs-Lisp" and other
11947 multi-word menu items). Fix :help string for quit-window.
11949 2009-11-03 Glenn Morris <rgm@gnu.org>
11951 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
11952 (byte-compile-file-form-define-abbrev-table)
11953 (byte-compile-file-form-custom-declare-variable)
11954 (byte-compile-variable-ref, byte-compile-defvar):
11955 Whether or not a warning is enabled should only affect whether we issue
11956 the warning, not whether or not we collect the relevant data.
11957 Eg warnings can be turned on and off throughout the course of a file.
11959 * eshell/esh-mode.el (ansi-color-apply-on-region): Autoload it...
11960 (eshell-handle-ansi-color): ... Rather than requiring ansi-color.
11962 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
11964 * term/ns-win.el (ns-scroll-bar-move, ns-face-at-pos):
11965 * play/mpuz.el (mpuz-create-buffer):
11966 * play/landmark.el (lm-prompt-for-move, lm-print-wts, lm-print-smell)
11967 (lm-print-y,s,noise, lm-print-w0, lm-init):
11968 * play/gomoku.el (gomoku-prompt-for-move):
11969 * play/fortune.el (fortune-in-buffer):
11970 * play/dissociate.el (dissociated-press):
11971 * play/decipher.el (decipher-adjacency-list, decipher-display-regexp)
11972 (decipher-analyze-buffer, decipher-stats-buffer, decipher-stats-buffer):
11973 * mail/supercite.el (sc-eref-show):
11974 * mail/smtpmail.el (smtpmail-send-it):
11975 * mail/rmailsum.el (rmail-summary-next-labeled-message)
11976 (rmail-summary-previous-labeled-message, rmail-summary-wipe)
11977 (rmail-summary-undelete-many, rmail-summary-rmail-update)
11978 (rmail-summary-goto-msg, rmail-summary-expunge)
11979 (rmail-summary-get-new-mail, rmail-summary-search-backward)
11980 (rmail-summary-add-label, rmail-summary-output-menu)
11981 (rmail-summary-output-body):
11982 * mail/rfc822.el (rfc822-addresses):
11983 * mail/reporter.el (reporter-dump-variable, reporter-dump-state):
11984 * mail/mailpost.el (post-mail-send-it):
11985 * mail/hashcash.el (hashcash-generate-payment):
11986 * mail/feedmail.el (feedmail-run-the-queue)
11987 (feedmail-queue-send-edit-prompt-help-first)
11988 (feedmail-send-it-immediately, feedmail-give-it-to-buffer-eater)
11989 (feedmail-deduce-address-list):
11990 * eshell/esh-ext.el (eshell-remote-command):
11991 * eshell/em-unix.el (eshell-occur-mode-mouse-goto):
11992 * emulation/viper-util.el (viper-glob-unix-files, viper-save-setting)
11993 (viper-wildcard-to-regexp, viper-glob-mswindows-files)
11994 (viper-save-string-in-file, viper-valid-marker):
11995 * emulation/viper-keym.el (viper-toggle-key):
11996 * emulation/viper-ex.el (ex-expand-filsyms, viper-get-ex-file)
11997 (ex-edit, ex-global, ex-mark, ex-next-related-buffer, ex-quit)
11998 (ex-get-inline-cmd-args, ex-tag, ex-command, ex-compile):
11999 * emulation/viper-cmd.el (viper-exec-form-in-vi)
12000 (viper-exec-form-in-emacs, viper-brac-function):
12001 * emulation/viper.el (viper-delocalize-var):
12002 * emulation/vip.el (vip-mode, vip-get-ex-token, vip-ex, vip-get-ex-pat)
12003 (vip-get-ex-command, vip-get-ex-opt-gc, vip-get-ex-buffer)
12004 (vip-get-ex-count, vip-get-ex-file, ex-edit, ex-global, ex-mark)
12005 (ex-map, ex-unmap, ex-quit, ex-read, ex-tag, ex-command):
12006 * emulation/vi.el (vi-switch-mode, vi-ex-cmd):
12007 * emulation/edt.el (edt-electric-helpify):
12008 * emulation/cua-rect.el (cua--rectangle-aux-replace):
12009 * emulation/cua-gmrk.el (cua--insert-at-global-mark)
12010 (cua--delete-at-global-mark, cua--copy-rectangle-to-global-mark)
12011 (cua-indent-to-global-mark-column):
12012 * calendar/diary-lib.el (calendar-mark-1):
12013 * calendar/cal-hebrew.el (calendar-hebrew-mark-date-pattern):
12014 Use with-current-buffer.
12015 * emulation/viper.el (viper-delocalize-var): Use dolist.
12017 2009-11-03 Chong Yidong <cyd@stupidchicken.com>
12019 * comint.el (comint-replace-by-expanded-history-before-point):
12020 Replace !! with the previous input string literally (Bug#1795).
12022 2009-11-02 Jay Belanger <jay.p.belanger@gmail.com>
12024 * calc/calc-forms.el (calc-date-notation): Allow a "blank string"
12025 to be made up of whitespace.
12027 2009-11-02 Chong Yidong <cyd@stupidchicken.com>
12029 * minibuffer.el (read-file-name): Don't use file dialogs for
12030 remote directories (Bug#99).
12032 2009-11-01 Chong Yidong <cyd@stupidchicken.com>
12034 * progmodes/sh-script.el (sh-font-lock-paren): Fix last change.
12036 2009-11-01 Andreas Schwab <schwab@linux-m68k.org>
12038 * view.el (view-mode-exit): If OLD-BUF is dead bury the buffer
12039 instead of deleting the window or frame.
12041 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
12043 * textmodes/sgml-mode.el (sgml-mode-facemenu-add-face-function):
12044 Support face colors.
12046 * textmodes/tex-mode.el (tex-facemenu-add-face-function):
12047 New function. Support face colors (Bug#1168).
12048 (tex-common-initialization): Use it.
12050 * facemenu.el (facemenu-enable-faces-p): Enable facemenu if the
12051 mode allows it (Bug#1168).
12053 2009-10-31 Juri Linkov <juri@jurta.org>
12055 * facemenu.el (list-colors-display): Don't mark buffer as
12056 modified (Bug#3948).
12058 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
12060 * international/mule-diag.el (list-character-sets-1): Minor
12061 message fix (Bug#3526).
12063 * progmodes/etags.el (etags-list-tags, etags-tags-apropos): Fix
12064 face property (Bug#4834).
12065 (etags-list-tags, etags-tags-apropos-additional)
12066 (etags-tags-apropos, tags-select-tags-table): Add follow-link
12069 * menu-bar.el (menu-bar-tools-menu): Add Semantic and EDE menu
12072 2009-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
12074 * textmodes/two-column.el (2C-split):
12075 * textmodes/texnfo-upd.el (texinfo-multi-file-included-list):
12076 * textmodes/tex-mode.el (tex-set-buffer-directory):
12077 * textmodes/spell.el (spell-region, spell-string):
12078 * textmodes/reftex.el (reftex-erase-buffer):
12079 (reftex-get-file-buffer-force, reftex-kill-temporary-buffers):
12080 * textmodes/reftex-toc.el (reftex-toc-promote-action):
12081 * textmodes/reftex-sel.el (reftex-get-offset, reftex-insert-docstruct)
12082 (reftex-select-item):
12083 * textmodes/reftex-ref.el (reftex-label-info-update)
12084 (reftex-offer-label-menu):
12085 * textmodes/reftex-index.el (reftex-index-change-entry)
12086 (reftex-index-phrases-info):
12087 * textmodes/reftex-global.el (reftex-create-tags-file)
12088 (reftex-save-all-document-buffers, reftex-ensure-write-access):
12089 * textmodes/reftex-dcr.el (reftex-echo-ref, reftex-echo-cite)
12090 (reftex-view-crossref-from-bibtex):
12091 * textmodes/reftex-cite.el (reftex-bibtex-selection-callback)
12092 (reftex-extract-bib-entries-from-thebibliography)
12093 (reftex-all-used-citation-keys, reftex-create-bibtex-file):
12094 * textmodes/refbib.el (r2b-capitalize-title):
12095 (r2b-convert-buffer, r2b-help):
12096 * textmodes/page-ext.el (pages-directory)
12097 (pages-directory-goto-with-mouse):
12098 * textmodes/bibtex.el (bibtex-validate-globally):
12099 * textmodes/bib-mode.el (bib-capitalize-title):
12100 * textmodes/artist.el (artist-clear-buffer, artist-system):
12101 * progmodes/xscheme.el (global-set-scheme-interaction-buffer):
12102 (local-set-scheme-interaction-buffer, xscheme-process-filter)
12103 (verify-xscheme-buffer, xscheme-enter-interaction-mode)
12104 (xscheme-enter-debugger-mode, xscheme-debugger-mode-p)
12105 (xscheme-send-control-g-interrupt, xscheme-start-process)
12106 (xscheme-process-sentinel, xscheme-cd):
12107 * progmodes/verilog-mode.el (verilog-read-always-signals)
12108 (verilog-set-define, verilog-getopt-file)
12109 (verilog-module-inside-filename-p):
12110 * progmodes/sh-script.el:
12111 * progmodes/python.el (python-pdbtrack-get-source-buffer)
12112 (python-pdbtrack-grub-for-buffer, python-execute-file):
12113 * progmodes/octave-inf.el (inferior-octave):
12114 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
12115 (idlwave-shell-compile-helper-routines, idlwave-set-local)
12116 (idlwave-display-completion-list-xemacs, idlwave-list-abbrevs)
12117 (idlwave-display-completion-list-emacs, idlwave-list-load-path-shadows)
12118 (idlwave-completion-fontify-classes, idlwave-display-calling-sequence):
12119 * progmodes/idlw-shell.el (idlwave-shell-examine-display-clear)
12120 (idlwave-shell-filter, idlwave-shell-examine-highlight)
12121 (idlwave-shell-sentinel, idlwave-shell-filter-directory)
12122 (idlwave-shell-display-line, idlwave-shell-set-bp-in-module)
12123 (idlwave-shell-examine-display, idlwave-shell-run-region)
12124 (idlwave-shell-filter-bp, idlwave-shell-save-and-action)
12125 (idlwave-shell-sources-filter, idlwave-shell-goto-next-error):
12126 * progmodes/idlw-help.el (idlwave-help-get-special-help)
12127 (idlwave-help-get-help-buffer):
12128 * progmodes/gud.el (gud-basic-call, gud-find-class)
12129 (gud-tooltip-activate-mouse-motions-if-enabled):
12130 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
12131 * progmodes/ebrowse.el (ebrowse-member-table, ebrowse-save-tree-as)
12132 (ebrowse-view-exit-fn, ebrowse-tags-list-members-in-file)
12133 (ebrowse-tags-next-file):
12134 * progmodes/ebnf2ps.el (ebnf-generate-eps, ebnf-generate-eps)
12135 (ebnf-eps-production-list, ebnf-begin-file, ebnf-log)
12136 (ebnf-eps-finish-and-write):
12137 * progmodes/cpp.el (cpp-edit-save):
12138 * progmodes/cperl-mode.el (cperl-pod-to-manpage):
12139 * progmodes/cc-defs.el (c-emacs-features):
12140 * progmodes/antlr-mode.el (antlr-invalidate-context-cache)
12141 (antlr-directory-dependencies):
12142 * progmodes/ada-xref.el (ada-gnat-parse-gpr, ada-get-ali-file-name)
12143 (ada-run-application, ada-find-in-src-path, ada-goto-parent)
12144 (ada-find-any-references, ada-make-filename-from-adaname)
12145 (ada-make-body-gnatstub):
12146 * obsolete/rnews.el (news-list-news-groups):
12147 * obsolete/resume.el (resume-suspend-hook, resume-write-buffer-to-file):
12148 * obsolete/iso-acc.el (iso-acc-minibuf-setup):
12149 * net/rcirc.el (rcirc-debug):
12150 * net/newst-treeview.el (newsticker--treeview-list-add-item)
12151 (newsticker--treeview-list-clear, newsticker-treeview-browse-url)
12152 (newsticker--treeview-list-update-faces, newsticker-treeview-save)
12153 (newsticker--treeview-item-show-text, newsticker--treeview-item-show)
12154 (newsticker--treeview-tree-update-tag, newsticker--treeview-buffer-init)
12155 (newsticker-treeview-show-item, newsticker--treeview-unfold-node)
12156 (newsticker--treeview-list-clear-highlight)
12157 (newsticker--treeview-list-update-highlight)
12158 (newsticker--treeview-list-highlight-start)
12159 (newsticker--treeview-tree-update-highlight)
12160 (newsticker--treeview-get-selected-item)
12161 (newsticker-treeview-mark-list-items-old)
12162 (newsticker--treeview-set-current-node):
12163 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
12164 * net/newst-backend.el (newsticker--get-news-by-funcall)
12165 (newsticker--get-news-by-wget, newsticker--image-get)
12166 (newsticker--image-sentinel):
12167 * net/mairix.el (mairix-rmail-fetch-field, mairix-gnus-fetch-field):
12168 * net/eudcb-ph.el (eudc-ph-do-request, eudc-ph-open-session):
12169 (eudc-ph-close-session):
12170 * net/eudc.el (eudc-save-options):
12171 * language/thai-word.el (thai-update-word-table):
12172 * language/japan-util.el (japanese-string-conversion):
12173 * international/titdic-cnv.el (tsang-quick-converter)
12174 (ziranma-converter, ctlau-converter):
12175 * international/mule-cmds.el (describe-language-environment):
12176 * international/ja-dic-cnv.el (skkdic-convert-okuri-ari)
12177 (skkdic-convert-postfix, skkdic-convert-prefix):
12178 (skkdic-convert-okuri-nasi, skkdic-convert):
12179 * emacs-lisp/re-builder.el (reb-update-overlays):
12180 * emacs-lisp/pp.el (pp-to-string, pp-display-expression):
12181 * emacs-lisp/gulp.el (gulp-send-requests):
12182 * emacs-lisp/find-gc.el (trace-call-tree):
12183 * emacs-lisp/eieio-opt.el (eieio-browse, eieio-describe-class)
12184 (eieio-describe-generic):
12185 * emacs-lisp/eieio-base.el (eieio-persistent-read):
12186 * emacs-lisp/edebug.el (edebug-outside-excursion):
12187 * emacs-lisp/debug.el (debugger-make-xrefs):
12188 * emacs-lisp/cust-print.el (custom-prin1-to-string):
12189 * emacs-lisp/chart.el (chart-new-buffer):
12190 * emacs-lisp/authors.el (authors-scan-el, authors-scan-change-log):
12191 Use with-current-buffer.
12192 * textmodes/artist.el (artist-system): Don't call
12193 copy-sequence on a fresh string.
12194 * progmodes/idlw-shell.el (easymenu setup): Use dolist.
12196 2009-10-31 Stephen Berman <stephen.berman@gmx.net>
12198 * calendar/todo-mode.el (todo-edit-item): Signal an error if there
12199 is no item to edit. (Bug#4820)
12200 (todo-top-priorities): Restore point and restore narrowing in Todo
12203 2009-10-31 Glenn Morris <rgm@gnu.org>
12205 * net/ange-ftp.el (top-level): Don't require dired when compiling.
12206 (comint-last-output-start, comint-last-input-start)
12207 (comint-last-input-end): Don't defvar when compiling.
12208 (ange-ftp-process-file): Use bound-and-true-p.
12210 * pcmpl-rpm.el (top-level): Move provide statement to end.
12211 (pcmpl-rpm): Remove unused custom group.
12213 * pcmpl-gnu.el (tar-parse-info, tar-header-name): Declare for compiler.
12215 * mail/emacsbug.el (report-emacs-bug): Request `emacs -Q' recipes.
12217 * emacs-lisp/bytecomp.el (byte-compile-warning-types)
12218 (byte-compile-warnings): Add `constants' as an option.
12219 (byte-compile-callargs-warn, byte-compile-arglist-warn)
12220 (display-call-tree): Update for byte-compile-fdefinition possibly
12221 returning `(macro lambda ...)'. (Bug#4778)
12222 (byte-compile-variable-ref, byte-compile-setq-default):
12223 Respect `constants' member of byte-compile-warnings.
12225 2009-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
12227 * vc-bzr.el (vc-bzr-revision-keywords): New var.
12228 (vc-bzr-revision-completion-table): Use it to fix completion of "s:"
12231 2009-10-30 Dan Nicolaescu <dann@ics.uci.edu>
12233 * textmodes/ispell.el (ispell-skip-region-alist):
12234 * international/mule-conf.el (eight-bit):
12235 * international/fontset.el (font-encoding-alist):
12236 * startup.el (pure-space-overflow-message):
12237 * simple.el (overwrite-mode-textual, overwrite-mode-binary):
12238 * paths.el (gnus-nntp-service, rmail-spool-directory)
12239 (term-file-prefix):
12240 * files.el (save-some-buffers-action-alist):
12241 * cmuscheme.el (same-window-buffer-names):
12242 * ielm.el (same-window-buffer-names):
12243 * shell.el (same-window-buffer-names):
12244 * mail/sendmail.el (same-window-buffer-names):
12245 * progmodes/inf-lisp.el (same-window-buffer-names):
12246 * bindings.el (mode-line-client)
12247 (mode-line-column-line-number-mode-map):
12248 * language/tibetan.el (tibetan-precomposition-rule-regexp)
12249 (tibetan-precomposed-regexp): Purecopy string arguments.
12251 2009-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
12253 * calc/calc.el (calc, calc-refresh, calc-trail-buffer, calc-record)
12254 (calcDigit-nondigit):
12255 * calc/calc-yank.el (calc-copy-to-buffer):
12256 * calc/calc-units.el (calc-invalidate-units-table):
12257 * calc/calc-trail.el (calc-trail-yank):
12258 * calc/calc-store.el (calc-insert-variables):
12259 * calc/calc-rewr.el (math-rewrite, math-rewrite-phase):
12260 * calc/calc-prog.el (calc-read-parse-table):
12261 * calc/calc-keypd.el (calc-do-keypad, calc-keypad-right-click):
12262 * calc/calc-help.el (calc-describe-bindings, calc-describe-key):
12263 * calc/calc-graph.el (calc-graph-delete, calc-graph-add-curve)
12264 (calc-graph-juggle, calc-graph-count-curves, calc-graph-plot)
12265 (calc-graph-plot, calc-graph-format-data, calc-graph-set-styles)
12266 (calc-graph-name, calc-graph-find-command, calc-graph-view)
12267 (calc-graph-view, calc-gnuplot-command, calc-graph-init):
12268 * calc/calc-ext.el (calc-realign):
12269 * calc/calc-embed.el (calc-do-embedded, calc-do-embedded)
12270 (calc-embedded-finish-edit, calc-embedded-make-info)
12271 (calc-embedded-finish-command, calc-embedded-stack-change):
12272 * calc/calc-aent.el (calcAlg-enter): Use with-current-buffer.
12274 * pcomplete.el (pcomplete-comint-setup): If there's a choice, replace
12275 shell-dynamic-complete-filename in preference to
12276 comint-dynamic-complete-filename.
12278 * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
12279 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
12280 Don't consider whether the display supports colors.
12281 (bookmark-import-new-list): Use dolist.
12282 (bookmark-bmenu-mode-map): Move initialization into declaration.
12283 (bookmark-bmenu-list): Use dolist, simplify.
12284 (bookmark-show-all-annotations): Use save-selected-window and dolist.
12285 (menu-bar-final-items): Use push.
12287 2009-10-28 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
12289 * vc-hg.el (vc-hg-state, vc-hg-working-revision): Use process-file so
12290 it works on remote files.
12291 (vc-hg-diff): Don't pass any `--cwd' argument.
12293 2009-10-27 Kevin Ryde <user42@zip.com.au>
12295 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
12296 Use help-xref-info-regexp and help-xref-url-regexp to identify links.
12297 (Further to Bug#3921).
12299 2009-10-27 Michael Albinus <michael.albinus@gmx.de>
12301 * net/tramp-imap.el (top): Add `X-Size' to `imap-hash-headers'.
12302 (tramp-imap-do-copy-or-rename-file): Don't use the inode, when
12303 calling `tramp-imap-put-file'. Add file size to the call.
12304 (tramp-imap-get-file-entries): Compute also user name, file size,
12306 (tramp-imap-handle-insert-directory): Insert uid and gid.
12307 (tramp-imap-handle-file-attributes): Transform uid and gid
12308 according to `id-format'.
12309 (tramp-imap-put-file): New optional parameter SIZE. Encode file
12310 size in header X-Size.
12312 2009-10-26 Juanma Barranquero <lekktu@gmail.com>
12314 * simple.el (transpose-subr): Give clearer error when the mark
12315 is not set. (Bug#4807)
12317 2009-10-26 Michael Albinus <michael.albinus@gmx.de>
12319 * net/tramp.el (tramp-perl-file-truename): New defconst.
12320 Perl code contributed by yary <not.com@gmail.com> (tiny change).
12321 (tramp-handle-file-truename, tramp-get-remote-perl): Use it.
12322 Check also for "perl-file-spec" and "perl-cwd-realpath" properties.
12323 (tramp-handle-write-region): In case of APPEND, reuse the tmpfile name.
12325 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
12326 Ignore `dired-call-process'.
12327 (tramp-imap-make-iht): Use `user' and `ssl' with `imap-hash-make'.
12329 2009-10-26 Julian Scheid <julians37@gmail.com>
12331 * net/tramp.el (tramp-perl-file-name-all-completions): New defconst.
12332 (tramp-get-remote-readlink): New defun.
12333 (tramp-handle-file-truename): Use it.
12334 (tramp-handle-file-exists-p): Check file-attributes cache, assume
12335 file exists if cache value present.
12336 (tramp-check-cached-permissions): New defun.
12337 (tramp-handle-file-readable-p): Use it.
12338 (tramp-handle-file-writable-p): Likewise.
12339 (tramp-handle-file-executable-p): Likewise.
12340 (tramp-handle-file-name-all-completions): Try using Perl to get
12341 partial completions. When perl not available, combine `cd' and
12342 `ls' into single remote operation and use shell expansion to get
12343 partial remote directory contents. Set `file-exists-p' cache for
12344 directory and any files returned by ls. Change cache handling to
12345 support partial directory contents. Use error message emitted by
12346 remote `cd' or Perl code for local tramp-error.
12347 (tramp-do-copy-or-rename-file-directly): Avoid separate
12348 tramp-send-command-and-check call.
12349 (tramp-handle-process-file): Merge three remote ops into one.
12350 Do not flush all caches when `process-file-side-effects' is set.
12351 (tramp-handle-write-region): Avoid tramp-set-file-uid-gid if
12352 file-attributes shows uid/gid to be set already.
12354 2009-10-26 Dan Nicolaescu <dann@ics.uci.edu>
12356 * textmodes/tex-mode.el (tex-dvi-view-command)
12357 (tex-show-queue-command, tex-open-quote):
12358 * progmodes/ruby-mode.el (auto-mode-alist)
12359 (interpreter-mode-alist): Purecopy strings.
12361 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Purecopy item names.
12363 * emacs-lisp/derived.el (define-derived-mode): Purecopy the doc
12364 string for the hook, keymap and abbrev table.
12366 * emacs-lisp/byte-run.el (make-obsolete): Purecopy the current name.
12368 * x-dnd.el (x-dnd-xdnd-to-action):
12369 * startup.el (fancy-startup-text, fancy-about-text): Change to
12370 defconst from defvar.
12372 * ps-print.el (ps-page-dimensions-database): Purecopy initial value.
12374 * mouse.el (mouse-buffer-menu-mode-groups, x-fixed-font-alist):
12375 Purecopy initialization strings.
12377 * mail/sendmail.el (mail-header-separator)
12378 (mail-personal-alias-file):
12379 * mail/rmail.el (rmail-default-dont-reply-to-names)
12380 (rmail-ignored-headers, rmail-retry-ignored-headers)
12381 (rmail-highlighted-headers, rmail-secondary-file-directory)
12382 (rmail-secondary-file-regexp):
12383 * files.el (null-device, file-name-invalid-regexp)
12384 (locate-dominating-stop-dir-regexp)
12385 (inhibit-first-line-modes-regexps): Purecopy initialization strings.
12386 (interpreter-mode-alist): Use mapcar instead of mapc.
12388 * buff-menu.el (Buffer-menu-mode-map): Purecopy name.
12390 * bindings.el (mode-line-major-mode-keymap): Purecopy name.
12391 (completion-ignored-extensions):
12392 (debug-ignored-errors): Purecopy strings.
12394 2009-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
12396 * pcomplete.el (pcomplete-std-complete): Obey pcomplete-use-paring.
12397 (pcomplete, pcomplete-parse-buffer-arguments, pcomplete-opt)
12398 (pcomplete--here): Use push.
12400 * subr.el (all-completions): Declare the 4th arg obsolete.
12402 2009-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
12404 * pcomplete.el (pcomplete-unquote-argument-function): New var.
12405 (pcomplete-unquote-argument): New function.
12406 (pcomplete--common-suffix): Always pay attention to case.
12407 (pcomplete--table-subvert): Quote and unquote the text.
12408 (pcomplete--common-quoted-suffix): New function.
12409 (pcomplete-std-complete): Use it and pcomplete-begin.
12411 * bookmark.el (bookmark-bmenu-list): Don't use switch-to-buffer if
12412 we're inside a dedicated or minibuffer window.
12414 2009-10-24 Karl Fogel <kfogel@red-bean.com>
12416 * bookmark.el: Update documentation, especially documentation
12417 of `bookmark-alist' and of the bookmark file format.
12418 Patch by Drew Adams, with minor tweaks from me. (Bug#4195)
12420 2009-10-24 Chong Yidong <cyd@stupidchicken.com>
12422 * mail/emacsbug.el (report-emacs-bug): Clarify that the
12423 keybindings apply to the mail buffer (Bug#4003). Shrink help
12426 * whitespace.el (whitespace-mode, whitespace-newline-mode)
12427 (global-whitespace-mode, global-whitespace-newline-mode)
12428 (whitespace-toggle-options, global-whitespace-toggle-options):
12429 Doc fix (Bug#3660).
12431 * nxml/nxml-mode.el (nxml-balanced-close-start-tag): Use the value
12432 of xmltok-start before the end tag was inserted (Bug#2840).
12434 * progmodes/sh-script.el (sh-font-lock-paren): Handle case
12435 patterns that are preceded by an open-paren (Bug#1320).
12437 2009-10-24 Sven Joachim <svenjoac@gmx.de>
12439 * files.el (delete-directory): Delete symlinks to directories with
12440 delete-file (Bug#4739).
12442 2009-10-24 Dan Nicolaescu <dann@ics.uci.edu>
12444 * vc.el (vc-backend-for-registration): Rename from
12445 vc-get-backend-for-registration. Update callers.
12447 * international/mule-cmds.el (set-language-info-alist):
12449 (leim-list-header, leim-list-entry-regexp): Change defvars to defconst.
12450 (charset): Purecopy the name.
12451 (define-char-code-property): Purecopy string arguments.
12453 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
12454 Purecopy string arguments.
12456 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
12457 * ediff-hook.el (menu-bar-ediff-menu):
12458 * buff-menu.el (Buffer-menu-mode-map): Purecopy names and tooltips.
12459 * bookmark.el (menu-bar-bookmark-map): Add :help and purecopy the name.
12461 2009-10-24 Glenn Morris <rgm@gnu.org>
12463 * comint.el (comint-dynamic-list-completions):
12464 * term.el (term-dynamic-list-completions): Use choose-completion rather
12465 than obsolete alias mouse-choose-completion.
12467 * filecache.el (file-cache-completions-keymap): Bind mouse-2 to
12468 file-cache-choose-completion.
12469 (file-cache-choose-completion): Handle an optional event argument.
12470 (file-cache-mouse-choose-completion): Make it an obsolete alias.
12472 * progmodes/octave-mod.el (octave-complete-symbol):
12473 Use choose-completion if mouse-choose-completion is ever removed.
12475 * textmodes/sgml-mode.el (sgml-looking-back-at): Move definition before
12478 * emacs-lisp/checkdoc.el (generate-autoload-cookie): Define for
12481 * vc-hooks.el (vc-responsible-backend): Fix declaration.
12483 2009-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
12485 * minibuffer.el (completion--embedded-envvar-table): Fix last change.
12486 Ignore `pred' now that we receive one.
12487 Handle test-completion specially.
12489 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
12491 * vc.el (vc-responsible-backend): Throw an error if not backend is
12492 found. Remove the REGISTER argument. Move the code dealing with
12494 (vc-get-backend-for-registration): ... here. New function.
12495 (vc-deduce-fileset): Call vc-get-backend-for-registration instead
12496 of vc-responsible-backend, pass the file name instead of the
12499 2009-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
12501 * pcomplete.el (pcomplete-common-suffix, pcomplete-table-subvert):
12503 (pcomplete-std-complete): Use them. Obey pcomplete-termination-string.
12504 (pcomplete-comint-setup): Don't modify a global var via
12505 accidental side-effects.
12506 (pcomplete-shell-setup): Adjust call accordingly.
12507 (pcomplete-parse-comint-arguments): Use push.
12509 2009-10-23 Chong Yidong <cyd@stupidchicken.com>
12511 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
12512 Allow uncapitalized info node names (Bug#3921).
12514 * mail/emacsbug.el (report-emacs-bug): Tweak the sentence pointing
12515 to the DEBUG file (Bug#3781).
12517 2009-10-23 Jari Aalto <jari.aalto@cante.net>
12519 * textmodes/ispell.el (ispell-dictionary-base-alist): Add finnish
12520 dictionary entry (Bug#4579).
12522 2009-10-23 Michael Albinus <michael.albinus@gmx.de>
12524 * net/tramp.el (top): Remove `tramp-rfn-eshadow-update-overlay'
12525 from `rfn-eshadow-update-overlay-hook' when unloading.
12526 (tramp-methods): Add `tramp-copy-keep-tmpfile' for "rsync" and
12527 "rsyncc". Adjust doc string.
12528 (tramp-temp-buffer-file-name): New buffer-local defvar.
12529 (tramp-handle-insert-file-contents, tramp-handle-write-region):
12530 Keep temporary file when indicated by method ("rsync" and
12532 (tramp-handle-write-region): Handle APPEND.
12533 (tramp-delete-temp-file-function): New defun. Added to
12534 `kill-buffer-hook'.
12536 2009-10-23 Juanma Barranquero <lekktu@gmail.com>
12538 * menu-bar.el (cua-enable-cua-keys): Declare for the byte-compiler.
12540 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
12542 * term/tty-colors.el (msdos-color-values): Remove declaration, unused.
12543 (color-name-rgb-alist, tty-standard-colors)
12544 (tty-color-mode-alist): Change to defconst.
12546 * simple.el (mark-inactive): Purecopy message.
12548 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle): Fix macro.
12549 (global-map, yank-menu):
12550 * textmodes/ispell.el (ispell-menu-map):
12551 * net/eudc.el (eudc-tools-menu):
12552 * international/mule-cmds.el (describe-language-environment-map)
12553 (setup-language-environment-map, set-coding-system-map)
12554 (mule-menu-keymap):
12555 * vc-hooks.el (vc-menu-entry, vc-menu-map):
12556 * replace.el (occur-mode-map):
12557 * pcvs-defs.el (cvs-global-menu): Purecopy names and tooltips.
12559 2009-10-23 Jay Belanger <jay.p.belanger@gmail.com>
12561 * calc/calc.el (math-read-number, math-read-number-simple): Use
12564 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
12566 * simple.el (normal-erase-is-backspace-mode): Use input-decode-map
12567 rather than fiddling with global-map bindings, since it should only
12568 affect per-terminal settings.
12569 See http://bugs.gentoo.org/show_bug.cgi?id=289709.
12571 * minibuffer.el (completion-table-with-terminator): Allow to specify
12572 the terminator-regexp.
12574 * simple.el (switch-to-completions): Look for *Completions* in other
12577 * pcomplete.el: Allow the use of completion-tables.
12578 (pcomplete-std-complete): New command.
12579 (pcomplete-dirs-or-entries): Use a single call to pcomplete-entries.
12580 (pcomplete--here): Use a function for `form' rather than an expression,
12581 so it can be byte-compiled.
12582 (pcomplete-here, pcomplete-here*): Adjust accordingly.
12583 Add edebug declaration.
12584 (pcomplete-show-completions): Remove unused var `curbuf'.
12585 (pcomplete-do-complete, pcomplete-stub):
12586 Don't assume `completions' is a list of strings any more.
12588 2009-10-22 Juanma Barranquero <lekktu@gmail.com>
12590 * find-dired.el (find-name-arg): Fix typo in docstring.
12592 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
12594 * pcmpl-linux.el (pcomplete/kill): Don't abuse pcomplete-entries.
12595 (pcmpl-linux-fs-types): Same, and update to new modules layout.
12597 * pcmpl-gnu.el (pcmpl-gnu-makefile-names): Use a single call to
12600 * comint.el (comint-read-input-ring, comint-write-input-ring)
12601 (comint-substitute-in-file-name)
12602 (comint-dynamic-complete-as-filename)
12603 (comint-dynamic-simple-complete)
12604 (comint-dynamic-list-filename-completions)
12605 (comint-dynamic-list-completions)
12606 (comint-redirect-results-list-from-process): Minor simplifications.
12608 2009-10-21 Kevin Ryde <user42@zip.com.au>
12610 * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
12611 When inserting ";;; Code" put it before any ";;;###autoload" cookie on
12612 the first form. And insert a blank line after ";;; Code" since
12613 that's usual style. (Bug#4612)
12615 * net/dns.el: Add "Keywords: comm", as per net/net-utils.el.
12617 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
12619 * minibuffer.el (completion-table-with-terminator): Properly implement
12620 boundaries, in case `terminator' appears in the suffix.
12621 (completion--embedded-envvar-table): Don't return boundaries if
12622 there's no valid completion. Simplify.
12623 (completion-file-name-table): New completion table extracted from
12624 completion--file-name-table.
12625 (completion--file-name-table): Use it.
12626 (read-file-name-predicate): Declare obsolete.
12627 (read-file-name): Use the pred arg i.s.o read-file-name-predicate.
12628 * vc-bzr.el (vc-bzr-revision-completion-table): Use the new
12629 completion-file-name-table, and use the `pred' argument.
12630 * files.el (locate-file-completion-table): Use the `pred' arg rather
12631 than read-file-name-predicate.
12632 (abbreviate-file-name): Use \` rather than ^ for BOS.
12634 2009-10-21 Dan Nicolaescu <dann@ics.uci.edu>
12636 * vc.el (vc-deduce-fileset): Undo previous change, do not tell
12637 vc-responsible-backend to register, it causes problems.
12639 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
12641 * help-fns.el: Don't require help-mode (to avoid bootstrap issues).
12643 2009-10-21 Michael Albinus <michael.albinus@gmx.de>
12645 * net/tramp-smb.el (tramp-smb-get-stat-capability): New defun.
12646 (tramp-smb-handle-file-attributes): Use it.
12647 (tramp-smb-do-file-attributes-with-stat): Don't raise an error.
12648 (tramp-smb-handle-insert-directory): Use `mapc' rather than
12649 `mapcar'. Use `tramp-smb-get-stat-capability'.
12650 Add `dired-filename' text properties.
12651 (tramp-smb-get-cifs-capabilities): Apply `save-match-data'.
12652 (tramp-smb-maybe-open-connection): Simplify check for smbclient
12655 2009-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
12657 * subr.el (read-key-delay): Reduce to 0.01.
12658 (read-key): Use read-key-sequence-vector to avoid turning M-t into 244
12661 2009-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
12663 * bindings.el (function-key-map): Map C-@ to C-SPC if C-@ is unbound.
12665 * info.el (Info-complete-menu-item): Handle `boundaries' explicitly.
12666 (Info-menu): Remove unused vars `last' and `completions'.
12667 (Info-index-nodes): Remove unused var `node'.
12669 * info.el (Info-complete-menu-item): Use complete-with-action.
12671 2009-10-19 Dan Nicolaescu <dann@ics.uci.edu>
12673 Make vc-annotate work through copies and renames.
12674 * vc-annotate.el (vc-annotate-extract-revision-at-line):
12675 Return the file name too.
12676 (vc-annotate-revision-at-line)
12677 (vc-annotate-find-revision-at-line)
12678 (vc-annotate-revision-previous-to-line)
12679 (vc-annotate-show-log-revision-at-line): Update to get the file
12680 name from vc-annotate-extract-revision-at-line.
12681 (vc-annotate-show-diff-revision-at-line-internal): Change the
12682 argument to mean whether to show a file diff or not. Get the file
12683 name from vc-annotate-extract-revision-at-line.
12684 (vc-annotate-show-diff-revision-at-line):
12685 Update vc-annotate-show-diff-revision-at-line call.
12686 (vc-annotate-warp-revision): Add an optional file argument.
12688 * vc-git.el (vc-git-annotate-command): Pass -C -C to the blame command.
12689 (vc-git-annotate-extract-revision-at-line): Also return the file
12692 * vc-hg.el (vc-hg-annotate-command): Pass --follow to the annotate
12693 command. Remove unused code.
12694 (vc-hg-annotate-re): Update to match --follow output.
12695 (vc-hg-annotate-extract-revision-at-line): Also return the file
12698 * vc.el: Update annotate-extract-revision-at-line documentation.
12700 2009-10-18 Kevin Ryde <user42@zip.com.au>
12702 * ibuffer.el (ibuffer-confirm-operation-on): Correction to error
12703 re-throw, `err' is a pair not a list so can't use apply (Bug#4740).
12705 * net/browse-url.el (browse-url): Identify alist with "consp and
12706 not functionp" and let all other things go down the `apply' leg,
12707 as suggested by Stefan. (Further to bug#4531.)
12709 2009-10-18 Chong Yidong <cyd@stupidchicken.com>
12711 * minibuffer.el (read-file-name): Check for repeat before putting
12712 a default argument in file-name-history (Bug#4657).
12714 * emacs-lisp/lisp-mode.el (preceding-sexp): Recognize hash table
12715 read syntax (Bug#4737).
12717 * textmodes/sgml-mode.el (sgml-delete-tag): Use sgml-looking-back-at.
12719 2009-10-18 Aaron S. Hawley <aaron.s.hawley@gmail.com>
12721 * textmodes/sgml-mode.el (sgml-tag-help): Prompt user for tag.
12722 (html-tag-alist, html-tag-help): Add descriptions for undocumented
12723 entries and make note of obsolete tags.
12725 2009-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
12727 * net/ange-ftp.el (ange-ftp-file-size): Use unwind-protect.
12729 2009-10-18 Glenn Morris <rgm@gnu.org>
12731 * Makefile.in (compile-last): Ensure GREP_OPTIONS is null before calling
12732 grep, so that binary files (eg international/uni-bidi.el) can match.
12733 Remove test for "UnicodeData" files, since it is hopefully unnecessary
12734 now, and in any case the file header format has changed.
12736 2009-10-17 Glenn Morris <rgm@gnu.org>
12738 * textmodes/flyspell.el (flyspell-large-region, flyspell-word)
12739 (flyspell-get-word, flyspell-large-region)
12740 (flyspell-auto-correct-previous-word): Doc/error message fixes.
12742 2009-10-17 Chong Yidong <cyd@stupidchicken.com>
12744 * Makefile.in (ELCFILES): Add ede/shell.
12746 2009-10-17 Dan Nicolaescu <dann@ics.uci.edu>
12748 * term/common-win.el (x-colors): Purecopy it.
12750 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
12752 * tar-mode.el (tar-data-swapped-p): Make the assertion a bit more
12753 permissive for when the buffer is empty.
12754 (tar-header-block-tokenize): Decode the username and groupname.
12755 (tar-chown-entry, tar-chgrp-entry): Encode the names (bug#4730).
12757 2009-10-17 Eric Ludlam <zappo@gnu.org>
12759 * emacs-lisp/eieio-base.el (eieio-persistent-save): If buffer
12760 contains multibyte characters, choose first applicable coding
12761 system automatically.
12763 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
12765 * international/mule-cmds.el (select-safe-coding-system): If the file
12766 has a coding cookie, use it regardless of any other setting (bug#4712).
12768 2009-10-17 Glenn Morris <rgm@gnu.org>
12770 * foldout.el (foldout-mouse-swallow-events):
12771 * gs.el (gs-load-image): Replace obsolete forms of sit-for, sleep-for.
12773 * dired.el (dired-ls-F-marks-symlinks, dired-keep-marker-rename)
12774 (dired-keep-marker-copy, dired-keep-marker-hardlink)
12775 (dired-keep-marker-symlink, dired-dwim-target)
12776 (dired-copy-preserve-time): Do not autoload these defcustoms.
12778 * mail/rmail.el (rmail-write-region-annotate): Prevent viewing different
12779 messages from messing up the file coding. (Bug#4623)
12781 2009-10-17 Jari Aalto <jari.aalto@cante.net>
12783 * textmodes/ispell.el (ispell-get-decoded-string): Give an error
12784 if no match is found for the current dictionary. (Bug#4578)
12786 * textmodes/flyspell.el (flyspell-get-word): Make `following' argument
12787 optional, since that is how it is documented, and this is often called
12788 with a nil argument. (Bug#4577)
12789 (flyspell-external-point-words, flyspell-auto-correct-word)
12790 (flyspell-correct-word-before-point, flyspell-word-search-forward)
12791 (flyspell-word-search-backward): Remove nil argument in calls to
12792 flyspell-get-word, since it is not needed now.
12794 2009-10-17 Ulrich Mueller <ulm@gentoo.org>
12796 * play/doctor.el (doctor-adverbp): Exclude some nouns. (Bug#4565)
12798 2009-10-16 Glenn Morris <rgm@gnu.org>
12800 * net/rcirc.el (rcirc-authenticate): Simplify previous change.
12802 2009-10-16 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
12804 * net/ange-ftp.el (ange-ftp-send-cmd): Handle `size' like `mdtm'.
12805 (ange-ftp-file-size): New function.
12806 (ange-ftp-file-attributes): Use it.
12808 2009-10-16 Michael Albinus <michael.albinus@gmx.de>
12810 * net/tramp-smb.el (tramp-smb-version): New defvar.
12811 (tramp-smb-maybe-open-connection): Use it, in order to avoid
12814 2009-10-16 Glenn Morris <rgm@gnu.org>
12816 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Doc fix.
12817 Maybe copy some custom properties from old to new name. (Bug#4706)
12819 2009-10-16 Juanma Barranquero <lekktu@gmail.com>
12821 * subr.el (error, sit-for, start-process-shell-command)
12822 (start-file-process-shell-command): Set the calling convention
12823 after the function definition.
12825 2009-10-16 Stefan Monnier <monnier@iro.umontreal.ca>
12827 * subr.el (error, sit-for, start-process-shell-command)
12828 (start-file-process-shell-command): Use the new
12829 set-advertised-calling-convention feature.
12831 2009-10-16 Taichi Kawabata <kawabata.taichi@gmail.com>
12833 * international/ucs-normalize.el (ucs-normalize-version):
12835 (check-range): Adjust for Unicode 5.2.
12837 2009-10-15 Juri Linkov <juri@jurta.org>
12839 * menu-bar.el (menu-bar-file-menu): Convert `separator-exit'
12840 to the `menu-item' format.
12842 2009-10-15 Michael Albinus <michael.albinus@gmx.de>
12844 * net/tramp.el (tramp-replace-environment-variables): Do not fail
12845 if the environment variable does not exist.
12847 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
12848 (tramp-smb-get-share, tramp-smb-get-localname): Use only VEC as
12850 (tramp-smb-handle-add-name-to-file)
12851 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
12852 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
12853 (tramp-smb-handle-file-attributes)
12854 (tramp-smb-do-file-attributes-with-stat)
12855 (tramp-smb-handle-file-local-copy)
12856 (tramp-smb-handle-insert-directory)
12857 (tramp-smb-handle-make-directory)
12858 (tramp-smb-handle-make-directory-internal)
12859 (tramp-smb-handle-make-symbolic-link)
12860 (tramp-smb-handle-rename-file, tramp-smb-handle-set-file-modes)
12861 (tramp-smb-handle-write-region, tramp-smb-get-file-entries)
12862 (tramp-smb-maybe-open-connection): Apply the changed parameters.
12863 (tramp-smb-read-file-entry): Read Disk names in compressed format.
12864 Handle long file names.
12865 (tramp-smb-get-cifs-capabilities): Check, whether the connection
12866 process is running.
12867 (tramp-smb-maybe-open-connection): Trace "smbclient -V" command.
12868 Read share names with "-g" option.
12870 2009-10-15 Ryan Yeske <rcyeske@gmail.com>
12872 * net/rcirc.el (rcirc-view-log-file): New command.
12873 (rcirc-track-minor-mode-map): Remove C-c ` binding.
12874 (rcirc-authenticate, rcirc-authinfo): Allow nickserv-nick to be
12877 2009-10-15 Glenn Morris <rgm@gnu.org>
12879 * w32-fns.el (w32-batch-update-autoloads): Take autoload-make-program
12880 from the second command-line argument.
12881 * makefile.w32-in (autoloads, $(lisp)/calendar/cal-loaddefs.el)
12882 ($(lisp)/calendar/diary-loaddefs.el, $(lisp)/calendar/hol-loaddefs.el)
12883 ($(lisp)/mh-e/mh-loaddefs.el): Pass $(MAKE) as second argument to
12884 w32-batch-update-autoloads.
12885 * emacs-lisp/autoload.el (autoload-make-program): New variable.
12886 (batch-update-autoloads): Handle autoload-excludes on windows-nt.
12888 * mail/rmailedit.el (rmail-cease-edit): Give an error if the end of
12889 the headers cannot be located. Simplify, subtracting superflous
12892 2009-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
12894 Replace completion-base-size by completion-base-position to fix bugs
12895 such as (bug#4699).
12896 * simple.el (completion-base-position): New var.
12897 (completion-base-size): Mark as obsolete.
12898 (choose-completion): Make it work for mouse events as well.
12899 Pass the new base-position to choose-completion-string.
12900 (choose-completion-guess-base-position): New function, extracted from
12901 choose-completion-delete-max-match.
12902 (choose-completion-delete-max-match): Use it. Make obsolete.
12903 (choose-completion-string): Use the new base-position info.
12904 (completion-root-regexp): Delete.
12905 (completion-setup-function): Preserve completion-base-position.
12906 Eliminate obsolete base-size manipulation.
12907 * minibuffer.el (display-completion-list): Don't mess with base-size.
12908 (minibuffer-completion-help): Set completion-base-position instead.
12909 * mouse.el (mouse-choose-completion): Redefine as a mere alias to
12911 * textmodes/bibtex.el (bibtex-complete):
12912 * emacs-lisp/crm.el (crm--choose-completion-string):
12913 Adjust to new calling convention.
12914 * complete.el (partial-completion-mode): Use minibufferp to avoid
12915 bumping into incompatible change to choose-completion-string-functions.
12916 * ido.el (ido-choose-completion-string): Make its calling convention
12918 * comint.el (comint-dynamic-list-input-ring-select): Remove obsolete
12919 base-size manipulation.
12920 (comint-dynamic-list-input-ring): Use dotimes and push.
12921 * iswitchb.el (iswitchb-completion-help): Remove dead-code call to
12922 fundamental-mode. Use `or'.
12924 2009-10-14 Juri Linkov <juri@jurta.org>
12926 * misearch.el (multi-isearch-next-buffer-from-list)
12927 (multi-isearch-next-file-buffer-from-list): Doc fix. (Bug#4723)
12929 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
12931 * Makefile.in (compile-onefile): Load `bytecomp' rather than
12934 * minibuffer.el (completion-pcm--merge-completions): Make sure the
12935 string we return is all made up of text from the completions rather
12936 than part from the completions and part from the input (bug#4219).
12938 * ido.el (ido-everywhere): Use define-minor-mode.
12940 * buff-menu.el (list-buffers, ctl-x-map):
12941 Mark the entry points with ;;;###autoload cookies.
12943 2009-10-14 Dan Nicolaescu <dann@ics.uci.edu>
12945 * vc-git.el (vc-git-dir-extra-headers): Set the branch name
12946 correctly in the detached head case.
12947 (vc-git-print-log): Remove unused binding.
12949 * vc.el (vc-responsible-backend): When a directory is passed for
12950 for registration create a VC repository if no backend is
12951 responsible for the directory argument.
12952 (vc-deduce-fileset): Tell vc-responsible-backend to register.
12954 * vc.el: Move comments about RCS and SCCS ...
12956 * vc-sccs.el: ... here, respectively.
12958 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
12960 * minibuffer.el (completion--file-name-table): Return nil if there's
12961 no file completion, even if substitute-in-file-name changed
12962 the string (bug#4708).
12964 2009-10-13 Juri Linkov <juri@jurta.org>
12966 * files-x.el (read-file-local-variable-value): Don't filter out
12967 minor modes from mode name completion (bug#4664).
12969 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
12971 * international/mule-cmds.el (ucs-names): Remove exclusion of
12972 "Enclosed Ideographic Supplement" range (U+1F200..U+1F2FF).
12974 2009-10-13 Kenichi Handa <handa@m17n.org>
12976 * international/uni-name.el: Regenerated.
12978 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
12980 * bs.el (bs-mode): Fix last change. (`revert-buffer-function'
12981 should be automatically buffer-local, but isn't.)
12983 2009-10-12 Sam Steingold <sds@gnu.org>
12985 * progmodes/compile.el (compilation-next-error-function): Fix the
12986 timestamps if the buffer has been visited before.
12987 (compilation-mode-font-lock-keywords): Do not prepend "^ *" to
12988 non-anchored patterns, like the perl one (bug#3928).
12990 2009-10-12 Glenn Morris <rgm@gnu.org>
12992 * net/tramp-smb.el (tramp-smb-do-file-attributes-with-stat):
12995 2009-10-12 Juanma Barranquero <lekktu@gmail.com>
12997 * proced.el (proced-unload-function): New function.
12999 * bs.el (bs-mode): Set `revert-buffer-function' to `bs-refresh'.
13000 (bs-refresh): Add IGNORED arg for `revert-buffer' compatibility.
13003 * menu-bar.el (menu-bar-file-menu): Fix format of `separator-exit' item.
13005 2009-10-11 Juri Linkov <juri@jurta.org>
13007 * files-x.el (read-file-local-variable-value):
13008 Provide default value only for bound variables (bug#4664).
13010 2009-10-11 Michael Albinus <michael.albinus@gmx.de>
13012 * net/tramp.el (tramp-local-host-p): Function shall return nil for
13013 connection methods like smb.
13015 * net/tramp-cache.el (tramp-flush-connection-property): The hash
13018 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
13019 (tramp-smb-file-name-handler-alist): Add handlers for
13020 `add-name-to-file', `make-symbolic-link'.
13021 (tramp-smb-handle-add-name-to-file)
13022 (tramp-smb-do-file-attributes-with-stat)
13023 (tramp-smb-handle-make-symbolic-link)
13024 (tramp-smb-get-cifs-capabilities): New defuns.
13025 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
13026 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
13027 (tramp-smb-handle-file-local-copy)
13028 (tramp-smb-handle-make-directory-internal)
13029 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
13030 The file name syntax depends on cifs capabilities.
13031 (tramp-smb-handle-file-attributes):
13032 Call `tramp-smb-do-file-attributes-with-stat' if possible.
13033 (tramp-smb-handle-insert-directory): Use posix attributes if possible.
13034 (tramp-smb-handle-set-file-modes): It is applicable for posix only.
13036 2009-10-11 Chong Yidong <cyd@stupidchicken.com>
13038 * emacs-lisp/eieio.el: Avoid requiring cl at runtime.
13039 (eieio-defclass): Apply deftype handler and setf-method properties
13041 (eieio-add-new-slot): Avoid union function from cl library.
13042 (eieio--typep): New function.
13043 (eieio-perform-slot-validation): Use it.
13045 2009-10-10 Karl Fogel <kfogel@red-bean.com>
13047 * bookmark.el (bookmark-yank-word, bookmark-insert-current-bookmark):
13048 Update documentation to refer to the variables documented in r1.135.
13051 2009-10-10 Karl Fogel <kfogel@red-bean.com>
13053 * bookmark.el (Info-suffix-list): Remove this unused variable.
13054 (bookmark-current-point): Remove this obsolete variable.
13055 (bookmark-set, bookmark-rename, bookmark-send-edited-annotation):
13056 Adjust for removal of bookmark-current-point.
13058 (bookmarks-already-loaded, bookmark-current-buffer)
13059 (bookmark-yank-point): Document. (Bug#4188)
13061 2009-10-10 Glenn Morris <rgm@gnu.org>
13063 * frame.el (frame-height): Doc fix.
13065 * calendar/calendar.el (calendar-split-width-threshold): New option.
13066 (calendar-basic-setup): Use calendar-split-width-threshold.
13068 2009-10-09 Juanma Barranquero <lekktu@gmail.com>
13070 * international/mule-cmds.el (ucs-names): Exclude new "Enclosed
13071 Ideographic Supplement" range (U+1F200..U+1F2FF).
13073 2009-10-09 Karl Fogel <kfogel@red-bean.com>
13075 * bookmark.el (bookmark-bmenu-rename): Don't call bookmark-bmenu-list,
13076 since the list will have been rebuilt anyway. (Bug#4349)
13078 2009-10-09 Karl Fogel <kfogel@red-bean.com>
13080 * bookmark.el (bookmark-delete): Don't let batch arg prevent saving.
13081 (bookmark-bmenu-execute-deletions): Don't save here, as
13082 bookmark-delete will now do so if necessary.
13083 Suggested by Thierry Volpiatto <thierry.volpiatto {_AT_} gmail.com>.
13086 2009-10-09 Glenn Morris <rgm@gnu.org>
13088 * mail/emacsbug.el (report-emacs-bug): Also print `features'.
13090 2009-10-09 Karl Fogel <kfogel@red-bean.com>
13092 * bookmark.el (bookmark-jump): Add new `display-func' parameter.
13093 (bookmark-jump-other-window): Just invoke bookmark-jump with new
13094 argument now, so the two function's behaviors will match. (Bug#3645)
13096 2009-10-08 Michael Albinus <michael.albinus@gmx.de>
13098 * net/tramp.el (tramp-file-name-real-user, tramp-file-name-domain)
13099 (tramp-file-name-real-host, tramp-file-name-port):
13100 Apply `save-match-data'.
13102 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Handle the
13103 case both directories are remote.
13104 (tramp-smb-handle-expand-file-name): Implement "~" expansion.
13105 (tramp-smb-maybe-open-connection): Flush the cache only if necessary.
13107 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
13109 * makefile.w32-in (WINS_UPDATES): Fix typo in previous change.
13111 2009-10-07 Glenn Morris <rgm@gnu.org>
13113 * emacs-lisp/autoload.el (batch-update-autoloads): Remove useless use
13116 2009-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
13118 * files-x.el (read-file-local-variable): Include some
13119 non-user-variables in the completion table (bug#4664).
13121 2009-10-07 Michael Albinus <michael.albinus@gmx.de>
13123 * net/tramp-cache.el (tramp-flush-connection-property): Add trace
13126 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
13127 (tramp-smb-file-name-handler-alist): Add handler for
13128 `copy-directory', `expand-file-name', `set-file-modes'.
13129 (tramp-smb-handle-copy-directory)
13130 (tramp-smb-handle-expand-file-name)
13131 (tramp-smb-handle-set-file-modes): New defuns.
13132 (tramp-smb-handle-copy-file): Handle KEEP-DATE.
13133 (tramp-smb-handle-file-attributes): Simplify check for retrieving
13135 (tramp-smb-handle-insert-directory): Don't flush the cache.
13136 (tramp-smb-maybe-open-connection): Check for samba client and
13139 2009-10-07 Eli Zaretskii <eliz@gnu.org>
13141 * emacs-lisp/autoload.el (batch-update-autoloads): Fix last change
13142 to not error out of search for "^lisp=" fails.
13144 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
13146 * makefile.w32-in (WINS_UPDATES): New macro.
13147 (custom-deps, finder-data, autoloads): Use it.
13149 2009-10-07 Glenn Morris <rgm@gnu.org>
13151 * Makefile.in (autoloads): Revert previous change.
13152 * emacs-lisp/autoload.el (batch-update-autoloads): Rather than having
13153 the list of preloaded files passed on the command-line, get
13154 it from src/Makefile.
13156 * calendar/calendar.el (calendar-basic-setup): In the wide frame case,
13157 show the original buffer rather than a random one.
13159 2009-10-07 Markus Rost <rost@math.uni-bielefeld.de>
13161 * help.el (describe-no-warranty): Place point in a slightly better
13162 position in the GPLv3 text.
13164 2009-10-06 Sam Steingold <sds@gnu.org>
13166 * net/tramp-compat.el (tramp-compat-process-running-p): Check that
13167 the comm attribute is present before calling regexp-quote.
13169 2009-10-06 Juanma Barranquero <lekktu@gmail.com>
13171 * play/animate.el (animate-string): For good effect, make sure
13172 `indent-tabs-mode' and `show-trailing-whitespace' are nil.
13174 * play/animate.el (animate-sequence, animate-birthday-present):
13175 * misc.el (butterfly): Don't set `indent-tabs-mode'.
13177 2009-10-06 Glenn Morris <rgm@gnu.org>
13179 * emacs-lisp/byte-run.el (define-obsolete-face-alias): Doc fix.
13181 * emacs-lisp/autoload.el (autoload-excludes): New variable.
13182 (autoload-generate-file-autoloads): Skip files in autoload-excludes.
13183 (batch-update-autoloads): Process a string value of autoload-excludes,
13184 set during the build process.
13185 * Makefile.in (autoloads): Skip preloaded files. (Bug#4446)
13187 * net/tramp.el (tramp-handle-start-file-process): Move tramp-error call
13188 inside with-parsed... macro so that `v' is defined.
13190 * progmodes/f90.el (f90-end-of-block, f90-beginning-of-block):
13191 * progmodes/fortran.el (fortran-end-of-block)
13192 (fortran-beginning-of-block):
13193 Also push mark in the macro case.
13195 * emerge.el (emerge-show-file-name):
13196 * calc/calc.el (calc-quit):
13197 * calc/calc-misc.el (calc-big-or-small):
13198 * calc/calc-graph.el (calc-graph-view):
13199 * calc/calc-ext.el (calc-reset):
13200 * calendar/calendar.el (calendar-basic-setup):
13201 Use window-full-height-p.
13203 * mail/rmailedit.el (rmail-cease-edit): If there is a Content-Type
13204 header we don't understand, don't insert another. (Bug#4624)
13205 If changing mime charset, insert the new one in the right place.
13207 2009-10-06 Matthew Junker <matthew.junker@sbcglobal.net> (tiny change)
13209 * calendar/cal-tex.el (cal-tex-cursor-month-landscape)
13210 (cal-tex-cursor-month): Correctly increment the end date for diary and
13211 holiday listing. (Bug#4626)
13213 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
13215 * help-fns.el (describe-function-1): Don't burp if the function is not
13218 2009-10-05 Juanma Barranquero <lekktu@gmail.com>
13220 * emacs-lisp/chart.el (chart-face-pixmap-list, chart-new-buffer, chart)
13221 (chart-axis-range, chart-axis-names, chart-sequece, chart-bar)
13222 (chart-draw, chart-axis-draw, chart-sort, chart-sort-matchlist)
13223 (chart-draw-line, chart-bar-quickie): Fix typos in docstrings.
13225 * emacs-lisp/eieio.el (generic-p, eieiomt-next, eieio-generic-form)
13226 (eieio-default-superclass): Reflow docstrings.
13227 (this, class-option-assoc, defclass, eieio-class-un-autoload)
13228 (eieio-unbind-method-implementations, defmethod)
13229 (eieio-validate-slot-value, eieio-validate-class-slot-value)
13230 (oref-default, eieio-oref-default, eieio-oset, eieio-oset-default)
13231 (with-slots, eieio-add-new-slot, object-assoc, object-remove-from-list)
13232 (eieio-slot-originating-class-p, eieio-slot-name-index)
13233 (eieio-pre-method-execution-hooks, eieio-initarg-to-attribute)
13234 (constructor, initialize-instance, no-next-method, object-print)
13235 (object-write, eieio-override-prin1, eieio-edebug-prin1-to-string):
13236 Fix typos in docstrings.
13237 (eieio-defclass, eieio-perform-slot-validation-for-default, defgeneric)
13238 (child-of-class-p, object-slots, slot-boundp, slot-exists-p)
13239 (next-method-p): Doc fixes.
13240 (eieio-add-new-slot, call-next-method, eieiomt-add, change-class):
13241 Fix typos in error messages.
13242 (eieio-defmethod): Fix typo in description of generic method.
13244 * emacs-lisp/eieio-base.el (eieio-instance-inheritor, slot-unbound)
13245 (eieio-persistent-save-interactive, slot-missing):
13246 Fix typos in docstrings.
13247 (eieio-instance-inheritor-slot-boundp): Doc fix.
13249 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod)
13250 (byte-compile-defmethod-param-convert): Fix typos in docstrings.
13252 * emacs-lisp/eieio-custom.el (eieio-done-customizing)
13253 (eieio-custom-object-apply-reset):
13254 Fix typos in docstrings and error messages.
13256 * emacs-lisp/eieio-datadebug.el (data-debug-show):
13257 Fix typo in docstring.
13259 * emacs-lisp/eieio-opt.el (top): Fix typo in error message.
13260 (eieio-browse-tree): Doc fix.
13261 (eieio-all-generic-functions, eieio-class-speedbar): Reflow docstrings.
13262 (eieio-help-mode-augmentation-maybee, eieio-class-speedbar-make-map):
13263 Fix typos in docstrings.
13265 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-file-button): Doc fix.
13266 (eieio-speedbar-key-map, eieio-speedbar-create-engine)
13267 (eieio-speedbar-buttons, eieio-speedbar, eieio-speedbar-object-children)
13268 (eieio-speedbar-make-tag-line, eieio-speedbar-object-expand):
13271 2009-10-05 Dan Nicolaescu <dann@ics.uci.edu>
13273 * vc-hg.el (log-view-vc-backend): Declare for compiler.
13274 (vc-hg-outgoing-mode, vc-hg-incoming-mode):
13275 Set log-view-vc-backend so that diff can work.
13277 * log-view.el (log-view-diff): Use vc-diff-internal instead of
13279 (vc-diff-internal): Autoload this instead of vc-version-diff.
13281 2009-10-05 Eli Zaretskii <eliz@gnu.org>
13283 * simple.el (eval-expression): Doc fix.
13285 * progmodes/cwarn.el (cwarn-mode): Doc fix.
13287 2009-10-05 Michael Albinus <michael.albinus@gmx.de>
13289 * files.el (directory-files-no-dot-files-regexp): New defconst.
13290 (delete-directory): Use it.
13291 (copy-directory): Use it. Remove parameter PRESERVE-UID-GID.
13293 * net/tramp.el (tramp-verbose): Fix docstring.
13294 (tramp-methods): Add recursive option to `tramp-copy-args'.
13295 Add `tramp-copy-recursive'. Valid for "rcp", "scp", "scp1", "scp2",
13296 "scp1_old", "scp2_old", "rsync", "rsyncc".
13297 (tramp-default-method): Check also for `auth-source-user-or-password'.
13298 (tramp-file-name-handler-alist, tramp-file-name-for-operation):
13299 Add handler for `copy-directory'.
13300 (tramp-handle-copy-directory): New defun.
13301 (tramp-do-copy-or-rename-file-out-of-band): Handle directory case.
13302 (tramp-handle-start-file-process): Raise an error when PROGRAM is nil.
13303 Optimize sent command.
13305 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
13307 * calendar/diary-lib.el (diary-show-all-entries): Re-fit the calendar
13308 window if necessary.
13310 * calendar/calendar.el (calendar-basic-setup): Don't call
13311 switch-to-buffer in a dedicated window.
13313 2009-10-05 Karl Fogel <kfogel@red-bean.com>
13315 * bookmark.el (bookmark-handle-bookmark): If bookmark has no file,
13316 don't do anything related to relocating, just return nil.
13317 (bookmark-error-no-filename): New error.
13318 (bookmark-default-handler): Signal `bookmark-error-no-filename' if
13319 bookmark has no file. Don't even attempt to handle things that
13320 are not files; the whole point of custom handlers is to keep that
13321 knowledge elsewhere anyway. Tighten some comments.
13322 (bookmark-file-or-variation-thereof): Remove now-unused function.
13323 (bookmark-location): Doc string fix.
13326 2009-10-04 Karl Fogel <kfogel@red-bean.com>
13328 * bookmark.el (bookmark-handle-bookmark): When relocating a bookmark,
13329 don't use a file dialog, because they usually don't know how to read
13330 a directory target from the user. (Bug#4230)
13331 Also, make sure the prompt can display directories as well as files.
13333 2009-10-04 Karl Fogel <kfogel@red-bean.com>
13335 * bookmark.el (bookmark-set, bookmark-buffer-name):
13336 Improve doc strings. (Bug#1193)
13338 2009-10-04 Karl Fogel <kfogel@red-bean.com>
13340 * bookmark.el (bookmark-get-bookmark, bookmark-get-bookmark-record)
13341 (bookmark-set-name, bookmark-prop-get, bookmark-prop-set)
13342 (bookmark-get-annotation, bookmark-set-annotation)
13343 (bookmark-get-filename, bookmark-set-filename, bookmark-get-position)
13344 (bookmark-set-position, bookmark-get-front-context-string)
13345 (bookmark-set-front-context-string, bookmark-get-rear-context-string)
13346 (bookmark-set-rear-context-string, bookmark-location, bookmark-jump)
13347 (bookmark-jump-other-window, bookmark-handle-bookmark)
13348 (bookmark-relocate, bookmark-insert-location, bookmark-rename)
13349 (bookmark-insert, bookmark-delete, bookmark-time-to-save-p)
13350 (bookmark-edit-annotation-mode, bookmark-edit-annotation):
13351 Improve doc strings to say whether bookmark can be a string or
13352 a record or both, and make other consistency and clarity fixes.
13353 (bookmark-get-handler, bookmark--jump-via, bookmark-write-file)
13354 (bookmark-default-annotation-text, bookmark-yank-word)
13355 (bookmark-maybe-load-default-file, bookmark-maybe-sort-alist)
13356 (bookmark-import-new-list, bookmark-maybe-rename)
13357 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
13358 (bookmark-bmenu-bookmark): Give these doc strings.
13359 (bookmark-bmenu-check-position): Give this a doc string, but also
13360 add a FIXME comment about how the function may be pointless.
13361 (bookmark-default-handler): Rework doc string and change a
13362 parameter name, to clarify that this takes a bookmark record
13363 not a bookmark name.
13364 (bookmark-set): Change a parameter name to indicate its meaning,
13365 and improve the doc string a bit.
13368 2009-10-04 Karl Fogel <kfogel@red-bean.com>
13370 * bookmark.el (bookmark-alist): Document the new `handler' element
13371 in the param alist.
13372 (bookmark-make-record-function): Adjust documentation for above.
13375 2009-10-04 Karl Fogel <kfogel@red-bean.com>
13377 * info.el (Info-bookmark-make-record): Document this function.
13378 (Info-bookmark-jump): Document with a doc string, not just a comment.
13381 2009-10-04 Michael Albinus <michael.albinus@gmx.de>
13383 * files.el (copy-directory): New defun.
13385 * dired-aux.el (dired-copy-file-recursive): Use it.
13387 2009-10-04 Juanma Barranquero <lekktu@gmail.com>
13389 * files-x.el (modify-dir-local-variable)
13390 (copy-dir-locals-to-file-locals-prop-line): Fix typos in
13393 * recentf.el (recentf-unload-function): New function.
13395 2009-10-04 Glenn Morris <rgm@gnu.org>
13397 * window.el (window-full-height-p): Add doc string.
13399 2009-10-04 Martin Rudalics <rudalics@gmx.at>
13401 * window.el (window-full-height-p): New function. (Bug#4543)
13403 2009-10-03 Dan Nicolaescu <dann@ics.uci.edu>
13405 * vc.el: Remove commented out code.
13406 (vc-derived-from-dir-mode): Remove, unused.
13407 (vc-version-diff, vc-diff): Consistently pass t to vc-deduce-fileset.
13409 2009-10-03 Michael Albinus <michael.albinus@gmx.de>
13411 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
13412 Disable `file-name-handler-alist' when loading 'ange-ftp. Otherwise,
13413 there could be recursive loading when `default-directory' is a
13414 remote file name. (Bug#4614)
13416 2009-10-03 Glenn Morris <rgm@gnu.org>
13418 * calendar/calendar.el (calendar-basic-setup): Handle the case where
13420 (calendar-generate-window): Test for shrinkability rather than width.
13422 * mail/rmail.el (rmail-generate-viewer-buffer): Be more careful about
13423 reusing existing buffers, in case we happen to visit two files with the
13424 same basename. (Bug#4593)
13426 2009-10-02 Eli Zaretskii <eliz@gnu.org>
13428 * makefile.w32-in (update-subdirs-CMD): Add cedet to $(WINS_SUBDIR).
13429 (WINS_CEDET_SUBDIRS): List of subdirectories of cedet.
13430 (bootstrap-clean-CMD, bootstrap-clean-SH): Remove *.elc files in
13431 subdirs of cedet as well.
13432 (AUTOGENEL): Add loaddefs.el files in cedet subdirectories.
13434 2009-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
13436 * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string):
13437 Obey advertised-signature-table.
13439 * help-fns.el (help-function-arglist): Don't check
13440 advertised-signature-table.
13441 (describe-function-1): Do it here instead so it also applies to subrs.
13443 2009-10-02 Michael Albinus <michael.albinus@gmx.de>
13445 * simple.el (start-file-process): Say in the doc-string, that file
13446 handlers might not support pty association, if PROGRAM is nil.
13448 * net/ange-ftp.el (ange-ftp-generate-passwd-key): Check, whether
13449 HOST and USER are strings. They are nil, when there are
13450 incomplete entries in ~/.netrc, for example.
13451 (ange-ftp-delete-directory): Implement RECURSIVE case. Change to
13452 root directory ("device busy" error otherwise).
13454 * net/tramp-smb.el (tramp-smb-handle-make-directory-internal):
13455 Flush file properties of created directory.
13457 2009-10-02 Eli Zaretskii <eliz@gnu.org>
13459 * makefile.w32-in (WINS_BASIC): Remove cedet.
13460 (WINS_CEDET): Add cedet.
13461 (update-subdirs-SH): Use $(WINS_SUBDIR), not $(WINS).
13463 2009-10-02 Kevin Ryde <user42@zip.com.au>
13465 * net/browse-url.el (browse-url): Pass any symbol in
13466 browse-url-browser-function to `apply', since if you've mistakenly put
13467 an unbound symbol then the error is clearer. (Bug#4531)
13469 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
13471 * allout.el (allout-init, allout-back-to-current-heading)
13472 (allout-beginning-of-current-entry, allout-ascend-to-depth)
13473 (allout-ascend, allout-up-current-level, allout-end-of-level)
13474 (allout-previous-visible-heading, allout-forward-current-level)
13475 (allout-backward-current-level, allout-show-children):
13476 * apropos.el (apropos-describe-plist):
13477 * bookmark.el (bookmark-maybe-historicize-string, bookmark-bmenu-list):
13478 * comint.el (comint-strip-ctrl-m, comint-goto-process-mark):
13479 * completion.el (add-completion, add-permanent-completion):
13480 * descr-text.el (describe-text-category, describe-char):
13481 * desktop.el (desktop-lazy-abort):
13482 * dired-x.el (dired-omit-expunge, dired-x-bind-find-file):
13483 * dired.el (dired-build-subdir-alist):
13484 * ediff.el (ediff-version):
13485 * elide-head.el (elide-head, elide-head-show):
13486 * emerge.el (emerge-version):
13488 * face-remap.el (variable-pitch-mode):
13489 * faces.el (describe-face):
13490 * ffap.el (ffap-next-url, find-file-at-point, ffap-at-mouse)
13492 * files.el (find-file-existing, auto-save-mode):
13493 * font-lock.el (font-lock-fontify-buffer):
13494 * help-fns.el (describe-function, describe-variable)
13495 (describe-syntax, describe-categories):
13496 * help.el (view-lossage, describe-bindings, describe-key)
13498 * hexl.el (hexl-current-address):
13499 * hi-lock.el (hi-lock-mode, hi-lock-find-patterns):
13500 * info.el (Info-goto-emacs-key-command-node):
13501 * log-edit.el (log-edit-insert-cvs-template)
13502 (log-edit-insert-cvs-rcstemplate):
13503 * menu-bar.el (menu-bar-mode):
13504 * mouse.el (mouse-appearance-menu):
13505 * newcomment.el (comment-indent-new-line):
13506 * pgg.el (pgg-save-coding-system, pgg-encrypt-region)
13507 (pgg-encrypt-symmetric-region, pgg-encrypt-symmetric)
13508 (pgg-encrypt, pgg-decrypt-region, pgg-decrypt)
13509 (pgg-sign-region, pgg-sign, pgg-verify-region, pgg-verify):
13510 * recentf.el (recentf-mode):
13511 * savehist.el (savehist-mode, savehist-save):
13512 * shadowfile.el (shadow-copy-files):
13513 * simple.el (kill-ring-save, next-line, previous-line)
13514 (normal-erase-is-backspace-mode):
13515 * strokes.el (strokes-update-window-configuration)
13516 (strokes-load-user-strokes, strokes-prompt-user-save-strokes)
13517 (strokes-xpm-for-stroke):
13518 * time.el (emacs-uptime, emacs-init-time):
13519 * tutorial.el (tutorial--describe-nonstandard-key)
13520 (tutorial--detailed-help):
13521 * type-break.el (type-break-mode)
13522 (type-break-mode-line-message-mode, type-break-query-mode)
13523 (type-break-guesstimate-keystroke-threshold):
13524 * vc.el (vc-version-diff, vc-diff, vc-root-diff):
13525 * version.el (emacs-version):
13526 * vt-control.el (vt-keypad-on, vt-keypad-off, vt-numlock):
13527 * winner.el (winner-mode):
13528 * calendar/timeclock.el (timeclock-in, timeclock-out)
13529 (timeclock-status-string, timeclock-change)
13530 (timeclock-workday-remaining-string)
13531 (timeclock-workday-elapsed-string)
13532 (timeclock-when-to-leave-string):
13533 * calendar/todo-mode.el (todo-add-category):
13534 * emacs-lisp/advice.el (ad-enable-regexp, ad-disable-regexp):
13535 * emacs-lisp/autoload.el (update-file-autoloads):
13536 * emacs-lisp/checkdoc.el (checkdoc-current-buffer)
13537 (checkdoc-start, checkdoc-continue, checkdoc-rogue-spaces)
13538 (checkdoc-message-text, checkdoc-defun):
13539 * emacs-lisp/debug.el (debugger-list-functions):
13540 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
13541 * emacs-lisp/eieio-opt.el (eieio-describe-class)
13542 (eieio-describe-generic):
13543 * emacs-lisp/lisp-mnt.el (lm-synopsis):
13544 * emacs-lisp/shadow.el (list-load-path-shadows):
13545 * emulation/cua-base.el (cua-mode):
13546 * emulation/edt.el (edt-set-scroll-margins):
13547 * emulation/tpu-edt.el (tpu-toggle-newline-and-indent)
13548 (tpu-toggle-regexp, tpu-toggle-search-direction)
13549 (tpu-toggle-rectangle, tpu-toggle-control-keys):
13550 * emulation/tpu-extras.el (tpu-set-scroll-margins):
13551 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
13552 (viper-set-parsing-style-toggling-macro)
13553 (viper-set-emacs-state-searchstyle-macros):
13554 * emulation/viper.el (viper-set-hooks):
13555 * eshell/esh-mode.el (eshell-truncate-buffer):
13556 * international/mule-cmds.el (prefer-coding-system)
13557 (describe-input-method, describe-language-environment):
13558 * international/mule-diag.el (list-character-sets)
13559 (describe-character-set, describe-coding-system)
13560 (describe-fontset, list-fontsets, list-input-methods):
13561 * mail/sendmail.el (mail-signature):
13562 * net/ange-ftp.el (ange-ftp-copy-file):
13563 * net/browse-url.el (browse-url):
13564 * net/eudc.el (eudc-set-server, eudc-get-attribute-list):
13565 * net/quickurl.el (quickurl-add-url):
13566 * net/rcirc.el (names, topic):
13567 * net/xesam.el (xesam-mode):
13568 * play/5x5.el (5x5-new-game):
13569 * play/yow.el (apropos-zippy):
13570 * progmodes/ada-mode.el (ada-mode-version):
13571 * progmodes/f90.el (f90-beginning-of-subprogram, f90-end-of-subprogram)
13573 (f90-beginning-of-block):
13574 * progmodes/fortran.el (fortran-end-of-block)
13575 (fortran-beginning-of-block):
13576 * progmodes/js.el (js-syntactic-context, js-gc, js-eval):
13577 * progmodes/python.el (python-describe-symbol, python-shell):
13578 * term/ns-win.el (ns-print-buffer):
13579 * textmodes/bibtex.el (bibtex-end-of-entry, bibtex-url):
13580 * textmodes/flyspell.el (flyspell-mode-on):
13581 * textmodes/page-ext.el (set-page-delimiter, pages-directory)
13582 (pages-directory-for-addresses):
13583 * textmodes/table.el (table-recognize-cell)
13584 (table-query-dimension, table-generate-source)
13585 (table-insert-sequence, table--warn-incompatibility):
13586 * textmodes/tex-mode.el (tex-validate-buffer):
13587 * textmodes/texinfmt.el (texinfmt-version)
13588 (texinfo-format-buffer):
13589 Use `called-interactively-p' instead of `interactive-p'.
13591 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
13593 * image-mode.el (image-toggle-display):
13594 * emacs-lisp/elp.el (elp-instrument-function):
13595 * emacs-lisp/advice.el (ad-make-advised-definition):
13596 * emacs-lisp/easy-mmode.el (define-minor-mode):
13597 * net/browse-url.el (browse-url-maybe-new-window):
13598 * progmodes/sh-script.el (sh-learn-buffer-indent):
13599 Pass new argument 'any to `called-interactively-p'.
13601 2009-10-01 Juanma Barranquero <lekktu@gmail.com>
13603 * international/uni-bidi.el:
13604 * international/uni-category.el:
13605 * international/uni-combining.el:
13606 * international/uni-comment.el:
13607 * international/uni-decimal.el:
13608 * international/uni-decomposition.el:
13609 * international/uni-digit.el:
13610 * international/uni-lowercase.el:
13611 * international/uni-mirrored.el:
13612 * international/uni-name.el:
13613 * international/uni-numeric.el:
13614 * international/uni-old-name.el:
13615 * international/uni-titlecase.el:
13616 * international/uni-uppercase.el:
13617 Regenerate from Unicode 5.2.0 data.
13619 2009-10-01 Glenn Morris <rgm@gnu.org>
13621 * Makefile.in (ELCFILES): Regenerate.
13623 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
13625 * subr.el (interactive-p): Mark obsolete.
13626 (called-interactively-p): Make the optional-ness of `kind' obsolete.
13627 * emacs-lisp/bytecomp.el (byte-compile-fdefinition): Make it obey
13628 advertised-signature-table for subroutines as well.
13630 * emacs-lisp/byte-run.el (advertised-signature-table): New var.
13631 (set-advertised-calling-convention): New function.
13632 (make-obsolete, define-obsolete-function-alias)
13633 (make-obsolete-variable, define-obsolete-variable-alias):
13634 Make the optional-ness of `when' obsolete.
13635 (define-obsolete-face-alias): Make `when' non-optional.
13636 * help-fns.el (help-function-arglist):
13637 * emacs-lisp/bytecomp.el (byte-compile-fdefinition):
13638 Use advertised-signature-table.
13640 2009-10-01 Michael Albinus <michael.albinus@gmx.de>
13642 * files.el (delete-directory): New defun. The original function
13643 in fileio.c has been renamed to `delete-directory-internal'.
13645 * dired.el (dired-delete-file): Call `delete-directory' with
13646 RECURSIVE parameter.
13648 * net/ange-ftp.el (ange-ftp-delete-directory): Add optional
13649 parameter RECURSIVE. Implementation is missing.
13651 * net/tramp.el (tramp-handle-make-directory): Flush upper
13652 directory's file properties.
13653 (tramp-handle-delete-directory): Handle optional parameter RECURSIVE.
13654 (tramp-handle-dired-recursive-delete-directory): Flush directory
13655 properties after the remove command only.
13657 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
13658 Handle optional parameter RECURSIVE.
13660 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
13661 Handle optional parameter RECURSIVE.
13663 * net/tramp-smb.el (tramp-smb-errors): Add error message for
13664 connection timeout.
13665 (tramp-smb-handle-delete-directory): Handle optional parameter
13668 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
13670 * emacs-lisp/bytecomp.el (byte-compile-defmacro-declaration): New fun.
13671 (byte-compile-file-form-defmumble, byte-compile-defmacro): Use it.
13672 (byte-compile-defmacro): Use backquotes.
13674 * files.el (cd-absolute): Don't abbreviate-file-name (bug#4599).
13676 * vc-dispatcher.el (vc-resynch-window): Don't revert a buffer which
13677 has no associated file.
13678 (vc-resynch-buffer): Use vc-dir-buffers.
13680 2009-10-01 Glenn Morris <rgm@gnu.org>
13682 * emacs-lisp/chart.el (chart-zap-chars, chart-bar-quickie)
13683 (chart-file-count):
13684 * emacs-lisp/eieio-comp.el (byte-compile-defmethod-param-convert):
13685 * emacs-lisp/eieio-datadebug.el (data-debug-insert-object-button):
13686 * emacs-lisp/eieio-opt.el (eieio-describe-class):
13687 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-create):
13688 * emacs-lisp/eieio.el (defclass, eieio-defclass-autoload)
13689 (eieio-copy-parents-into-subclass, make-instance, class-children)
13690 (eieio-generic-form):
13692 * vc-cvs.el (vc-cvs-parse-entry): Be more careful with the
13693 match-data. (Bug#4555).
13695 * emacs-lisp/check-declare.el (check-declare-scan): Read the declaration
13696 rather than parsing it as a regexp. This relaxes the layout
13697 requirements and makes errors easier to detect.
13698 (check-declare-verify): Check file is regular.
13699 (check-declare-directory): Doc fix.
13700 * subr.el (declare-function): Doc fix.
13702 * ibuffer.el (ibuffer-format-qualifier):
13703 * isearch.el (hi-lock-regexp-okay):
13704 * calc/calc.el (math-zerop):
13705 * mail/uce.el (rmail-msgbeg, rmail-msgend):
13706 * term/w32-win.el (setup-default-fontset, set-fontset-font):
13707 Remove unused declarations.
13709 2009-09-30 Eric Ludlam <zappo@gnu.org>
13711 * emacs-lisp/eieio.el (boolean-p): Delete.
13713 2009-09-30 Glenn Morris <rgm@gnu.org>
13715 * emacs-lisp/authors.el (authors-ignored-files): Add "js2-mode.el".
13717 * emacs-lisp/elint.el (elint-init-form): Report declarations where the
13718 filename is not a string.
13720 2009-09-29 Chong Yidong <cyd@stupidchicken.com>
13722 * files.el (safe-local-eval-forms): Fix typo.
13724 2009-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
13726 * vc-hooks.el (vc-dir-buffers): New var.
13727 (vc-state-refresh): New function.
13728 (vc-state): Use it.
13729 (vc-after-save): Always ask the backend to recompute the new state.
13730 Always call vc-dir if necessary, using vc-dir-buffers.
13731 * vc-dir.el (vc-dir-prepare-status-buffer, vc-dir-resynch-file):
13732 Use vc-dir-buffers.
13733 (vc-dir-mode): Use vc-dir-buffers rather than after-save-hook.
13734 (vc-dir-prepare-status-buffer, vc-dir-update)
13735 (vc-dir-resync-directory-files, vc-dir-resynch-file, vc-dir-mode):
13736 Don't call expand-file-name on default-directory.
13738 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
13740 * speedbar.el (speedbar-item-delete):
13741 * calc/calc-prog.el (calc-kbd-if):
13742 * language/hanja-util.el (hanja-init-load): Fix typos in messages.
13744 * epa.el (epa-key-list-mode-map):
13745 * hi-lock.el (hi-lock-menu): Fix typos in menus.
13747 * progmodes/hideshow.el (hs-allow-nesting): Reflow docstring.
13748 (hs-show-hook): Fix typo in docstring.
13750 2009-09-29 Glenn Morris <rgm@gnu.org>
13752 * emacs-lisp/check-declare.el (check-declare-locate): Remove pointless
13753 file-name-nondirectory call preventing location of cedet files.
13754 (check-declare-verify): Use literal search rather than re-search.
13755 Add basic defmethod and defclass, and define-overloadable-function.
13757 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
13758 Use tramp-compat-file-attributes rather than nonexistent
13759 tramp-compat-handle-file-attributes.
13761 * Makefile.in (lisptagsfiles4): New.
13762 (AUTOGENEL): Add cedet loaddefs files.
13763 (TAGS, TAGS-LISP): Use $lisptagsfiles4.
13764 (update-elclist, compile-always, backup-compiled-files)
13765 (bootstrap-clean): Add yet another directory level.
13766 (update-elclist): Use LC_COLLATE rather than COLLATE.
13767 (ELCFILES): Update, via `make update-elclist'.
13769 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
13771 * makefile.w32-in (WINS_CEDET, WINS_BASIC, WINS_SUBDIR): New macros.
13772 (WINS_ALMOST): Set from WINS_BASIC and WINS_CEDET.
13773 (update-subdirs-CMD): Use WINS_SUBDIR, not WINS_ALMOST.
13775 2009-09-28 Andreas Schwab <schwab@linux-m68k.org>
13777 * Makefile.in (lisptagsfiles3): Define.
13778 (TAGS, TAGS-LISP): Use it.
13779 (update-elclist): Add third directory level to look for elc files.
13780 (compile-always): Likewise.
13781 (backup-compiled-files): Likewise.
13782 (bootstrap-clean): Likewise.
13783 (ELCFILES): Update.
13785 2009-09-28 Chong Yidong <cyd@stupidchicken.com>
13787 * Makefile.in (ELCFILES): Add CEDET files.
13789 2009-09-28 Michael Albinus <michael.albinus@gmx.de>
13791 * Makefile.in (ELCFILES): Add net/tramp-imap.elc.
13793 * net/tramp.el (top): Require tramp-imap.
13795 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
13796 Use `tramp-compat-handle-file-attributes'.
13798 2009-09-28 Teodor Zlatanov <tzz@lifelogs.com>
13800 * net/tramp-imap.el: New package.
13802 2009-09-28 Eric Ludlam <zappo@gnu.org>
13804 * emacs-lisp/chart.el:
13805 * emacs-lisp/eieio-base.el:
13806 * emacs-lisp/eieio-comp.el:
13807 * emacs-lisp/eieio-custom.el:
13808 * emacs-lisp/eieio-datadebug.el:
13809 * emacs-lisp/eieio-opt.el:
13810 * emacs-lisp/eieio-speedbar.el:
13811 * emacs-lisp/eieio.el: New files.
13813 2009-09-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
13815 * whitespace.el (whitespace-trailing-regexp)
13816 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
13819 2009-09-27 Chong Yidong <cyd@stupidchicken.com>
13821 * menu-bar.el: Remove menu-bar-ediff-misc-menu from the Tools
13824 * ediff-hook.el: Move menu-bar-ediff-misc-menu into
13825 menu-bar-ediff-menu.
13827 * emacs-lisp/lisp-mode.el: Add doc-string-elt property to
13828 define-overloadable-function.
13830 * progmodes/autoconf.el: Provide autoconf as well, so that this
13831 file can be `require'd.
13833 * emacs-lisp/cl-macs.el (deftype): Add to cl-loaddefs.
13835 * emacs-lisp/autoload.el (generated-autoload-feature)
13836 (generated-autoload-load-name): New vars.
13837 (autoload-rubric, autoload-generate-file-autoloads): Use them.
13838 (make-autoload): Recognize define-overloadable-function and
13839 defclass forms (for EIEIO).
13841 * Makefile.in (update-subdirs): Exclude cedet directory.
13843 2009-09-27 Adrian Robert <Adrian.B.Robert@gmail.com>
13845 * term/ns-win.el: Don't set the region face background. (Bug#4381)
13847 * faces.el: Default light-background background for region face to
13848 ns_selection_color under NS.
13850 2009-09-27 Teodor Zlatanov <tzz@lifelogs.com>
13852 * net/imap-hash.el: New library, see NEWS.
13854 * Makefile.in (ELCFILES): Add imap-hash.el.
13856 2009-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
13858 * help.el (help-for-help-internal): Don't purecopy the text (bug#4560).
13859 * isearch.el (isearch-help-for-help-internal): Purecopy the second arg.
13860 * help-macro.el (make-help-screen): Avoid using an ambiguous function
13861 definition where the docstring could be taken for the return value.
13863 2009-09-26 Glenn Morris <rgm@gnu.org>
13865 * mail/rmailmm.el (rmail-mime-show-images, rmail-mime-bulk-handler):
13866 Add option to only show images below a certain size.
13867 (rmail-mime-multipart-handler): Remove unnecessary save-match-data and
13868 save-excursion calls.
13870 2009-09-26 Eli Zaretskii <eliz@gnu.org>
13872 * makefile.w32-in (WINS_ALMOST): Add cedet (with its
13873 subdirectories) and eieio.
13875 2009-09-26 Alan Mackenzie <acm@muc.de>
13877 * progmodes/cc-engine.el (c-beginning-of-statement-1): Correct
13878 buggy bracketing. (Bug#4289)
13880 * progmodes/cc-langs.el (c-nonlabel-token-key): Allow quoted
13881 character constants (as case labels). (Bug#4289)
13883 2009-09-25 Juri Linkov <juri@jurta.org>
13885 * files.el (safe-local-eval-forms): Allow time-stamp in
13886 before-save-hook (Bug#4554).
13888 2009-09-25 Drew Adams <drew.adams@oracle.com>
13890 * menu-bar.el (list-buffers-directory): Doc fix.
13892 2009-09-25 Stefan Monnier <monnier@iro.umontreal.ca>
13894 * log-edit.el (log-edit-changelog-entries): Avoid inf-loops.
13895 Try and avoid copying twice the same paragraph.
13896 (log-edit-changelog-paragraph, log-edit-changelog-subparagraph):
13897 Remove save-excursion.
13898 (log-edit-changelog-entry): Do it here instead.
13900 2009-09-25 Juanma Barranquero <lekktu@gmail.com>
13902 * bs.el (bs--get-file-name): Use `list-buffers-directory'
13903 when available, instead of hardcoding mode names. Doc fix.
13905 * menu-bar.el (list-buffers-directory): Add docstring.
13906 Make automatically buffer-local.
13908 * dired.el (dired-mode):
13909 * files.el (cd-absolute):
13910 * pcvs.el (cvs-temp-buffer):
13911 * pcvs-util.el (cvs-get-buffer-create):
13912 * shell.el (shell-mode):
13913 * vc-dir.el (vc-dir-mode):
13914 Don't make `list-buffers-directory' buffer local.
13916 2009-09-25 Devon Sean McCullough <emacs-hacker@Jovi.Net>
13918 * comint.el (comint-exec, comint-run, make-comint):
13919 Doc fixes (Bug#4542).
13921 2009-09-25 Glenn Morris <rgm@gnu.org>
13923 * mail/rmailmm.el (rmail-mime): New custom group.
13924 Move all defcustoms in this file into this group.
13925 (rmail-mime-media-type-handlers-alist): Revert previous change.
13926 (rmail-mime-show-images): New option.
13927 (rmail-mime-total-number-of-bulk-attachments): Remove variable and all
13928 references to it, since it wasn't actually used for anything.
13929 (rmail-mime-insert-image): New function.
13930 (rmail-mime-image): Use rmail-mime-insert-image.
13931 (rmail-mime-bulk-handler): Remove optional `image' argument, instead
13932 obey the value of `rmail-mime-show-images' option. Print the size of
13935 2009-09-25 David Engster <deng@randomsample.de>
13937 * progmodes/hideshow.el (hs-show-block): Run `hs-show-hook'. (Bug#4548)
13939 2009-09-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
13941 * whitespace.el: Does not highlight trailing spaces While point is
13942 at end of line. Does not highligt spaces at beginning of buffer
13943 while point is at beginning of buffer. Does not highlight spaces
13944 at end of buffer while point is at end of buffer. (Bug#4177)
13946 (whitespace-display-mappings): Adjust initialization.
13947 (whitespace-point, whitespace-font-lock-refontify): New vars.
13948 (whitespace-color-on, whitespace-color-off): Adjust code.
13949 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
13950 (whitespace-empty-at-eob-regexp, whitespace-space-regexp)
13951 (whitespace-tab-regexp, whitespace-post-command-hook): New funs.
13953 2009-09-24 Chong Yidong <cyd@stupidchicken.com>
13955 * nxml/nxml-mode.el: Alias xml-mode to nxml-mode.
13957 * textmodes/sgml-mode.el: Remove xml-mode alias.
13959 * files.el (auto-mode-alist, conf-mode-maybe)
13960 (magic-fallback-mode-alist): Revert 2009-09-18 and 2009-09-21 changes.
13962 2009-09-24 Alan Mackenzie <acm@muc.de>
13964 * progmodes/cc-cmds.el (c-scan-conditionals): A new function like
13965 c-forward-conditionals, but it doesn't move point and doesn't set
13967 (c-up-conditional, c-up-conditional-with-else, c-down-conditional)
13968 (c-down-conditional-with-else, c-backward-conditional)
13969 (c-forward-conditional): Refactor to use c-scan-conditionals.
13971 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
13973 * help-fns.el (help-downcase-arguments): New option, defaulting to nil.
13974 (help-default-arg-highlight): Remove.
13975 (help-highlight-arg): New function.
13976 (help-do-arg-highlight): Use it.
13977 Suggested by Drew Adams <drew.adams@oracle.com>. (Bug#4510, bug#4520)
13979 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
13981 * term.el (term-set-scroll-region, term-handle-ansi-escape):
13982 Undo last change, which didn't fix the problem and introduced others.
13984 2009-09-24 Nick Roberts <nickrob@snap.net.nz>
13986 * progmodes/gdb-mi.el: Don't require speedbar.
13987 (gdb-jsonify-buffer): Handle case where "=" is part of value string.
13989 2009-09-24 Glenn Morris <rgm@gnu.org>
13991 * calendar/diary-lib.el (diary-fancy-display): Always run the hook.
13993 * term/ns-win.el (ns-reg-to-script): Define for compiler.
13995 * mail/rmailmm.el (rmail-mime-multipart-handler): Accept the case where
13996 there is no newline after the final mime boundary. (Bug#4539)
13997 Move markers on insertion so that any buttons inserted don't end up in
13998 the next part of a multipart message.
13999 (rmail-mime-media-type-handlers-alist): Doc fix. Add image handler.
14000 (rmail-mime-bulk-handler): Optionally handle images.
14001 (rmail-mime-image): New button action.
14002 (rmail-mime-image-handler): New function.
14003 (rmail-mime-mode): New mode.
14004 (rmail-mime): Doc fix. Use rmail-mime-mode (for font-lock).
14006 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
14008 * minibuffer.el (minibuffer-force-complete): Cycle the list, rather
14009 than just dropping elements from it (bug#4504).
14011 * term.el (term-set-scroll-region): Don't move cursor any more.
14012 (term-handle-ansi-escape): Call term-goto here instead.
14013 Suggested by Ivan Kanis <apple@kanis.eu>.
14015 * term.el: Require CL.
14016 (term-ansi-reset): New function.
14017 (term-mode, term-emulate-terminal, term-handle-colors-array): Use it.
14018 (term-handle-colors-array): Simplify.
14020 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
14022 * allout.el (allout-overlay-interior-modification-handler)
14023 (allout-obtain-passphrase):
14024 * epa-file.el (epa-file-write-region):
14025 * ps-print.el (ps-begin-job):
14026 * vc-hooks.el (vc-toggle-read-only):
14027 * vc-rcs.el (vc-rcs-rollback):
14028 * vc-sccs.el (vc-sccs-rollback):
14029 * vc.el (vc-deduce-fileset, vc-next-action, vc-register-with)
14030 (vc-version-diff, vc-revert, vc-rollback):
14031 * wdired.el (wdired-check-kill-buffer):
14032 * emacs-lisp/authors.el (authors):
14033 * net/socks.el (socks-open-connection):
14034 * net/zeroconf.el (zeroconf-service-add-hook):
14035 * obsolete/vc-mcvs.el (vc-mcvs-register):
14036 * progmodes/gdb-mi.el (def-gdb-thread-buffer-gud-command)
14037 (gdb-select-frame):
14038 * progmodes/grep.el (lgrep, rgrep):
14039 * progmodes/idlw-help.el (idlwave-help-check-locations)
14040 (idlwave-help-html-link, idlwave-help-assistant-open-link):
14041 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
14042 * textmodes/reftex-toc.el (reftex-toc-promote-prepare)
14043 (reftex-toc-rename-label): Fix typos in error messages.
14045 * dired-aux.el (dired-do-shell-command): Reflow docstring.
14046 (dired-copy-how-to-fn): Doc fix.
14047 (dired-files-attributes, dired-read-shell-command):
14048 Fix typos in docstrings.
14050 * dired-x.el (dired-enable-local-variables, dired-filename-at-point)
14051 (dired-x-find-file-other-window): Reflow docstrings.
14052 (dired-omit-marker-char, dired-read-shell-command)
14053 (dired-x-submit-report): Fix typos in docstrings.
14055 * shell.el (shell-mode-hook):
14056 * view.el (View-scroll-line-forward):
14057 * progmodes/inf-lisp.el (inferior-lisp-mode-hook):
14058 Fix typos in docstrings.
14060 * net/dig.el (dig-invoke): Fix typo in docstring.
14061 (query-dig): Reflow docstring.
14063 * progmodes/idlwave.el (idlwave-create-user-catalog-file)
14064 (idlwave-quoted, idlwave-rinfo-max-source-lines): Doc fixes.
14065 (idlwave-abbrev-move, idlwave-auto-routine-info-updates)
14066 (idlwave-begin-block-reg, idlwave-begin-unit-reg)
14067 (idlwave-beginning-of-subprogram, idlwave-block-jump-out)
14068 (idlwave-block-match-regexp, idlwave-calculate-paren-indent)
14069 (idlwave-check-abbrev, idlwave-class-file-or-buffer)
14070 (idlwave-class-found-in, idlwave-complete, idlwave-complete-in-buffer)
14071 (idlwave-completion-map, idlwave-current-indent)
14072 (idlwave-custom-ampersand-surround, idlwave-customize)
14073 (idlwave-default-font-lock-items, idlwave-default-insert-timestamp)
14074 (idlwave-define-abbrev, idlwave-determine-class-special)
14075 (idlwave-do-action, idlwave-doc-header, idlwave-doc-modification)
14076 (idlwave-end-block-reg, idlwave-end-of-statement)
14077 (idlwave-end-of-statement0, idlwave-end-of-subprogram)
14078 (idlwave-end-unit-reg, idlwave-entry-find-keyword)
14079 (idlwave-explicit-class-listed, idlwave-file-header)
14080 (idlwave-fill-paragraph, idlwave-find-class-definition)
14081 (idlwave-fix-keywords, idlwave-hang-indent-regexp, idlwave-hard-tab)
14082 (idlwave-idlwave_routine_info-compiled, idlwave-in-comment)
14083 (idlwave-in-quote, idlwave-indent-action-table)
14084 (idlwave-indent-expand-table, idlwave-indent-line)
14085 (idlwave-indent-subprogram, idlwave-indent-to-open-paren)
14086 (idlwave-is-comment-line, idlwave-is-comment-or-empty-line)
14087 (idlwave-is-continuation-line, idlwave-is-pointer-dereference)
14088 (idlwave-kill-autoloaded-buffers, idlwave-lib-p, idlwave-look-at)
14089 (idlwave-make-tags, idlwave-mode, idlwave-mode-abbrev-table)
14090 (idlwave-mouse-active-rinfo, idlwave-newline, idlwave-no-change-comment)
14091 (idlwave-outlawed-buffers, idlwave-popup-select)
14092 (idlwave-previous-statement, idlwave-rescan-catalog-directories)
14093 (idlwave-routine-entry-compare, idlwave-routine-info.pro)
14094 (idlwave-scan-all-buffers-for-routine-info, idlwave-scan-class-info)
14095 (idlwave-shell-automatic-start, idlwave-shell-explicit-file-name)
14096 (idlwave-show-begin, idlwave-split-line, idlwave-split-link-target)
14097 (idlwave-statement-type, idlwave-struct-skip)
14098 (idlwave-substitute-link-target, idlwave-toggle-comment-region)
14099 (idlwave-update-current-buffer-info, idlwave-use-library-catalogs)
14100 (idlwave-what-module-find-class): Fix typos in docstrings.
14101 (idlwave-all-method-classes, idlwave-calc-hanging-indent)
14102 (idlwave-calculate-cont-indent, idlwave-expand-equal)
14103 (idlwave-find-module, idlwave-find-structure-definition)
14104 (idlwave-init-rinfo-when-idle-after, idlwave-insert-source-location)
14105 (idlwave-list-load-path-shadows, idlwave-next-statement)
14106 (idlwave-routine-entry-compare-twins, idlwave-routine-info)
14107 (idlwave-routines, idlwave-sintern-rinfo-list, idlwave-statement-match)
14108 (idlwave-template): Reflow docstrings.
14110 * progmodes/idlw-shell.el (idlwave-shell-syntax-error): Doc fix.
14111 (idlwave-shell-batch-command, idlwave-shell-bp-alist)
14112 (idlwave-shell-bp-get, idlwave-shell-bp-overlays)
14113 (idlwave-shell-bp-query, idlwave-shell-break-here, idlwave-shell-buffer)
14114 (idlwave-shell-display-line, idlwave-shell-display-wframe)
14115 (idlwave-shell-electric-debug-mode, idlwave-shell-examine-select)
14116 (idlwave-shell-file-name-chars, idlwave-shell-filter-bp)
14117 (idlwave-shell-goto-frame, idlwave-shell-halt-messages-re)
14118 (idlwave-shell-highlighting-and-faces, idlwave-shell-idl-wframe)
14119 (idlwave-shell-mode-hook, idlwave-shell-mode-line-info)
14120 (idlwave-shell-mode-map, idlwave-shell-module-source-filter)
14121 (idlwave-shell-mouse-help, idlwave-shell-mouse-print)
14122 (idlwave-shell-pc-frame, idlwave-shell-pending-commands)
14123 (idlwave-shell-print, idlwave-shell-quit, idlwave-shell-redisplay)
14124 (idlwave-shell-scan-for-state, idlwave-shell-send-command)
14125 (idlwave-shell-sentinel-hook, idlwave-shell-separate-examine-output)
14126 (idlwave-shell-shell-command, idlwave-shell-sources-alist)
14127 (idlwave-shell-sources-bp, idlwave-shell-sources-filter)
14128 (idlwave-shell-step, idlwave-shell-use-breakpoint-glyph)
14129 (idlwave-toolbar-add-everywhere, idlwave-toolbar-toggle):
14130 Fix typos in docstrings.
14131 (idlwave-shell-bp, idlwave-shell-clear-current-bp)
14132 (idlwave-shell-hide-output, idlwave-shell-mode)
14133 (idlwave-shell-run-region, idlwave-shell-set-bp-in-module):
14136 * textmodes/bibtex.el (bibtex-sort-entry-class): Fix group name.
14138 2009-09-24 Ivan Kanis <apple@kanis.eu>
14140 * term.el (term-bold-attribute): New var.
14141 (term-handle-colors-array): Use it.
14143 2009-09-23 Nick Roberts <nickrob@snap.net.nz>
14145 * progmodes/gdb-mi.el (gdb-version): New variable.
14146 (gdb-non-stop-handler): Set gdb-version.
14147 (gdb-gud-context-command, gdb-current-context-command, gdb-stopped):
14148 Condition "--thread" option on gdb-version.
14149 (gdb-invalidate-threads): Remove unused argument.
14151 2009-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
14153 * textmodes/flyspell.el (sgml-mode-flyspell-verify): Pass limit args
14154 to looking-back to avoid ridiculous slow down in large files (bug#4511).
14156 2009-09-23 Glenn Morris <rgm@gnu.org>
14158 * mail/rmail.el (rmail-reply): Don't try to add a References header when
14159 replying to mail without References or Message-Id. (Bug#4525)
14161 2009-09-23 Adrian Robert <Adrian.B.Robert@gmail.com>
14163 * term/ns-win.el (ns-reg-to-script): New variable.
14165 2009-09-23 Daiki Ueno <ueno@unixuser.org>
14167 * epg.el (epg-wait-for-status): Preserve existing 'error results.
14169 2009-09-22 Sam Steingold <sds@gnu.org>
14171 * vc-hg.el (vc-hg-print-log): Fix shortlog arg passing.
14172 (vc-hg-outgoing, vc-hg-incoming): Bump okstatus in `vc-hg-command'
14173 to 1 because hg returns status 1 when nothing is found.
14174 Bind `vc-short-log' for the sake of `vc-hg-log-view-mode'.
14176 2009-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
14178 * textmodes/fill.el: Convert to utf-8 encoding.
14179 (fill-french-nobreak-p): Remove redundant » and « inherited from our
14182 * add-log.el (change-log-fill-forward-paragraph): New function.
14183 (change-log-mode): Use it so fill-region DTRT.
14184 Set fill-indent-according-to-mode here rather than in
14185 change-log-fill-paragraph.
14186 (change-log-fill-paragraph): Remove.
14188 2009-09-22 Juanma Barranquero <lekktu@gmail.com>
14190 * info.el (Info-try-follow-nearest-node): Use the URL extracted by
14191 `Info-get-token', instead of `browse-url-url-at-point'. (Bug#4508)
14193 2009-09-22 Glenn Morris <rgm@gnu.org>
14195 * calendar/calendar.el (calendar-mode-map): Make mouse-1 and 3 clicks on
14196 the scroll-bar scroll the calendar window rather than the buffer.
14198 * calendar/cal-menu.el (cal-menu-scroll-menu): Add a sub-section with
14199 commands that move point (as opposed to scrolling).
14201 * emulation/tpu-edt.el (tpu-copy-keyfile): Fix condition-case handler.
14203 * emacs-lisp/elint.el (elint): New custom group.
14204 (elint-log-buffer): Make it a defcustom.
14205 (elint-scan-preloaded, elint-ignored-warnings)
14206 (elint-directory-skip-re): New options.
14207 (elint-builtin-variables): Doc fix.
14208 (elint-preloaded-env): New variable.
14209 (elint-unknown-builtin-args): Add an entry for encode-time.
14210 (elint-extra-errors): Make it a variable rather than a constant.
14211 (elint-preloaded-skip-re): New constant.
14212 (elint-directory): Skip files matching elint-directory-skip-re.
14213 (elint-features): New variable, local to linted buffers.
14214 (elint-update-env): Initialize elint-features. Possibly add
14215 elint-preloaded-env to the buffer's environment.
14216 (elint-get-top-forms): Bind elint-current-pos, for log messages.
14218 (elint-init-form): New function, extracted from elint-init-env.
14219 Make non-list forms a warning rather than an error.
14220 Add the mode-map for define-derived-mode. Handle define-minor-mode,
14221 easy-menu-define, put that adds an error-condition, and provide.
14222 When requiring cl, also require cl-macs. Really require cl, to handle
14223 some cl macros. Store required libraries in the list elint-features,
14224 so as not to re-load them. Treat cc-require like require.
14225 (elint-init-env): Call elint-init-form to do the work.
14226 Handle eval-and-compile and such like.
14227 (elint-add-required-env): Do not clear messages.
14228 (elint-special-forms): Add handlers for function, defalias, if, when,
14230 (elint-form): Add optional argument to ignore elint-special-forms,
14231 useful to prevent recursive calls from handlers. Doc fix.
14232 Respect elint-ignored-warnings.
14233 (elint-form): Respect elint-ignored-warnings.
14234 (elint-bound-variable, elint-bound-function): New variables.
14235 (elint-unbound-variable): Respect elint-bound-variable.
14236 (elint-get-args): Respect elint-bound-function.
14237 (elint-check-cond-form): Add some simple handling for (f)boundp and
14239 (elint-check-defalias-form): New handler.
14240 (elint-check-let-form): Make an empty let a warning rather than an
14242 (elint-check-setq-form): Make an empty setq a warning rather than an
14243 error. Respect elint-ignored-warnings.
14244 (elint-check-defvar-form): Accept null doc-strings.
14245 (elint-check-conditional-form): New handler. Does some simple-minded
14246 checking of featurep and (f)boundp tests.
14247 (elint-put-function-args): New function.
14248 (elint-initialize): Use elint-scan-doc-file rather than
14249 elint-find-builtin-variables. Use elint-put-function-args.
14250 Possibly scan preloaded-file-list.
14251 (elint-scan-doc-file): Rename from elint-find-builtin-variables and
14252 extend to handle functions as well.
14254 2009-09-22 Lennart Borgman <lennart.borgman@gmail.com>
14256 * linum.el (linum-delete-overlays, linum-update-window):
14257 Do not modify the right margin. (Bug#3971)
14259 2009-09-21 Chong Yidong <cyd@stupidchicken.com>
14261 * files.el (conf-mode-maybe, magic-fallback-mode-alist): Use
14262 nxml-mode instead of xml-mode.
14264 2009-09-21 Kevin Ryde <user42@zip.com.au>
14266 * net/dig.el: Add "Keywords: comm", as per net-utils.el. (Bug#4501)
14268 2009-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
14270 * net/dig.el (dig-mode): Use define-derived-mode.
14272 2009-09-20 Dan Nicolaescu <dann@ics.uci.edu>
14274 * vc-dispatcher.el (vc-do-command): Return the process object in
14275 the asynchronous case. Use when instead of if. Do not run
14276 vc-exec-after to display a message if not enabled. (Bug#4463)
14278 * vc-git.el (vc-git-dir-extra-headers): Add keymap and mouse-face
14279 properties to the stash strings.
14280 (vc-git-stash-list): Return a list of strings.
14281 (vc-git-stash-get-at-point, vc-git-stash-delete-at-point)
14282 (vc-git-stash-show-at-point): New functions.
14283 (vc-git-stash-map): New keymap.
14285 * register.el (ctl-x-r-map): Define the keys here instead of
14288 2009-09-20 Thierry Volpiatto <thierry.volpiatto@gmail.com> (tiny change)
14290 * bookmark.el (bookmark-write-file): Avoid calling `pp' with large
14291 list, to workaround performance problem (bug#4485).
14293 2009-09-20 Nick Roberts <nickrob@snap.net.nz>
14295 * progmodes/gud.el (gud-sentinel): Revert indavertant change.
14297 2009-09-20 Daiki Ueno <ueno@unixuser.org>
14299 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
14300 Document that this option is not recommended to use.
14302 2009-09-19 Glenn Morris <rgm@gnu.org>
14304 * calc/calc-graph.el (calc-graph-lookup): Avoid assignment to free
14307 * calc/calc-alg.el (var):
14308 * calc/calcalg2.el (var): Define for compiler.
14310 2009-09-19 Chong Yidong <cyd@stupidchicken.com>
14312 * emacs-lisp/advice.el (ad-get-argument, ad-set-argument):
14313 Doc fix (Bug#3932).
14315 * subr.el (baud-rate): Remove long-obsolete function (Bug#4372).
14317 * time-stamp.el (time-stamp-month-dd-yyyy)
14318 (time-stamp-dd/mm/yyyy, time-stamp-mon-dd-yyyy)
14319 (time-stamp-dd-mon-yy, time-stamp-yy/mm/dd)
14320 (time-stamp-yyyy/mm/dd, time-stamp-yyyy-mm-dd)
14321 (time-stamp-yymmdd, time-stamp-hh:mm:ss, time-stamp-hhmm):
14322 Remove functions that have been obsolete since 1995 (Bug#4436).
14324 * progmodes/sh-script.el (sh-learn-buffer-indent): Pop to the
14325 indent buffer only if called interactively (Bug#4452).
14327 2009-09-19 Juanma Barranquero <lekktu@gmail.com>
14328 Eli Zaretskii <eliz@gnu.org>
14330 This fixes bug#4197 (merged to bug#865, though not identical).
14331 * server.el (server-auth-dir): Add docstring note about FAT32.
14332 (server-ensure-safe-dir): Accept FAT32 directories as "safe",
14333 but warn against using them.
14335 2009-09-19 Nick Roberts <nickrob@snap.net.nz>
14337 * progmodes/gdb-mi.el (gdb-var-update-handler-1): Include case of
14338 older GDB where there is no has_more field.
14340 2009-09-19 Glenn Morris <rgm@gnu.org>
14342 * pgg-pgp.el (pgg-pgp-encrypt-region): Add missing mapconcat separator.
14344 2009-09-18 Chong Yidong <cyd@stupidchicken.com>
14346 * files.el (auto-mode-alist): Change default for XML files to nXML
14349 2009-09-18 Juanma Barranquero <lekktu@gmail.com>
14351 * server.el (server-ensure-safe-dir): Pass 'integer
14352 to `file-attributes', as suggested.
14354 2009-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
14356 * dired-aux.el (dired-query-alist): Remove spurious backslash.
14357 (dired-query): Use read-key.
14359 2009-09-18 Adrian Robert <Adrian.B.Robert@gmail.com>
14361 * cus-start.el (ns-use-qd-smoothing): Remove.
14363 2009-09-18 Glenn Morris <rgm@gnu.org>
14365 * allout.el (top-level): Remove unnecessary progn.
14367 * progmodes/js.el (js-end-of-defun): Remove malformed and unneeded let.
14369 * emacs-lisp/derived.el (define-derived-mode): Fix paren typo in
14370 definition of abbrev table.
14372 * speedbar.el (speedbar-track-mouse):
14373 * net/eudc-bob.el (eudc-bob-pipe-object-to-external-program):
14374 * net/eudc.el (eudc-expand-inline):
14375 * net/newst-backend.el (newsticker--cache-read-feed):
14376 * nxml/nxml-outln.el (nxml-end-of-heading): Fix typos in
14377 condition-case handlers.
14379 2009-09-18 Nick Roberts <nickrob@snap.net.nz>
14381 * progmodes/gdb-mi.el (gdb-frame-address): New variable.
14382 (gdb-var-list): Add an element for has_more field.
14383 (gdb-non-stop-handler): Enable pretty printing for STL containers.
14384 (gdb-var-create-handler, gdb-var-list-children-handler-1)
14385 (gdb-var-update-handler-1): Parse output of dynamic variable
14386 objects (STL containers).
14387 (gdb-var-delete-1): Pass var1 as an explicit second argument.
14388 (gdb-get-field): Delete alias. Use bindat-get-field directly.
14390 * progmodes/gud.el (gud-speedbar-item-info): Adjust for change to
14392 (gud-speedbar-buttons): Make node expandable if expression "has more"
14395 2009-09-17 Juanma Barranquero <lekktu@gmail.com>
14397 * startup.el (emacs-quick-startup): Remove variable and all uses.
14398 (command-line): Set `inhibit-x-resources' instead.
14399 (command-line-1): Use `inhibit-x-resources' instead.
14401 2009-09-17 Chong Yidong <cyd@stupidchicken.com>
14403 * subr.el: Fix last change to avoid using the `unless' macro,
14404 which breaks bootstrapping.
14406 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
14408 * subr.el (push, pop, dolist, dotimes, declare): Don't overwrite CL's
14409 extended definitions, in case we reload subr.el after having
14411 (eval-next-after-load): Mark as obsolete.
14413 2009-09-17 Juri Linkov <juri@jurta.org>
14415 * menu-bar.el (menu-bar-search-menu, menu-bar-edit-menu)
14416 (menu-bar-options-menu, menu-bar-showhide-fringe-menu)
14417 (menu-bar-showhide-menu, menu-bar-tools-menu)
14418 (menu-bar-describe-menu, menu-bar-help-menu)
14419 (minibuffer-local-completion-map, minibuffer-local-map):
14422 2009-09-17 Glenn Morris <rgm@gnu.org>
14424 * emacs-lisp/bytecomp.el (byte-compile-form): Always check the function
14425 arguments, whether or not it has a handler.
14427 * ansi-color.el (ansi-color-get-face-1): Fix typo in handler.
14429 * simple.el (hard-newline): Give it a doc-string.
14431 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
14432 (lisp-mode-syntax-table): Give them doc-strings.
14434 2009-09-17 Dan Nicolaescu <dann@ics.uci.edu>
14436 * menu-bar.el (menu-bar-file-menu, menu-bar-file-menu)
14437 (menu-bar-i-search-menu, menu-bar-edit-menu, menu-bar-custom-menu)
14438 (menu-bar-options-menu, menu-bar-showhide-menu)
14439 (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
14440 (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
14441 (menu-bar-options-menu, menu-bar-line-wrapping-menu)
14442 (menu-bar-options-menu, menu-bar-tools-menu)
14443 (menu-bar-describe-menu, menu-bar-search-documentation-menu)
14444 (menu-bar-help-menu):
14445 (menu-bar-make-mm-toggle, menu-bar-make-toggle): Purecopy the
14448 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu)
14449 (menu-bar-epatch-menu, menu-bar-ediff-misc-menu): Add purecopy
14450 calls for the menu names and :help.
14452 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
14454 * mouse.el (minor-mode-menu-from-indicator): Pay attention
14455 to :minor-mode-function (bug#4455).
14457 2009-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
14459 * startup.el (command-line): Initialize the window-system after
14460 processing the command-line.
14462 * textmodes/page.el (what-page): Make sure we don't inf-loop if
14463 page-delimiter matches the empty string.
14465 2009-09-16 Glenn Morris <rgm@gnu.org>
14467 * emacs-lisp/bytecomp.el (byte-compile-not-obsolete-vars): Rename from
14468 byte-compile-not-obsolete-var. It's a list now.
14469 (byte-compile-not-obsolete-funcs): New variable.
14470 (byte-compile-warn-obsolete): Don't warn about functions if they are in
14471 byte-compile-not-obsolete-funcs.
14472 (byte-compile-variable-ref, byte-compile-defvar): Update for
14473 byte-compile-not-obsolete-vars name-change and list nature.
14474 (byte-compile-maybe-guarded): Suppress warnings about obsolete functions
14475 and variables behind (f)boundp tests.
14476 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Set if bound.
14478 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
14480 * vc-git.el (vc-git-log-view-mode): Undo inadvertent change.
14482 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
14484 * Makefile.in (compile-onefile): Use byte-compile-refresh-preloaded.
14485 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded):
14488 2009-09-15 Stephen Eglen <stephen@gnu.org>
14490 * iswitchb.el (iswitchb-read-buffer): When selecting a match from
14491 the virtual-buffers, use the name of the buffer specified by
14492 find-file-noselect, as the match may be a symlink. (This was a
14493 problem if the target and the symlink had different names.)
14495 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
14497 * custom.el (custom-initialize-default, custom-initialize-set): CSE.
14499 * desktop.el (desktop-path): Check user-emacs-directory.
14501 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): New function.
14503 * loadup.el: Use after-load-functions to GC after loading each file.
14504 Remove the explicit GC calls that used to be sprinkled around.
14506 * subr.el (after-load-functions): New hook.
14507 (do-after-load-evaluation): Run it. Use string-match-p to detect
14508 `obsolete' packages, rather than painfully extracting the relevant
14511 2009-09-15 Glenn Morris <rgm@gnu.org>
14513 * apropos.el (apropos-documentation-check-doc-file): Avoid assignment to
14514 free variable `doc'.
14516 * dired.el (dired-mode-map): Add menu entry for async shell command.
14518 * help-fns.el (find-lisp-object-file-name): When looking for autoloaded
14519 variables, also consider the .elc files, since the .el files are
14520 normally gzipped (subsequent code locates the .el.gz from the .elc).
14522 * calc/calc-prog.el (arglist): Define for compiler.
14524 * calendar/diary-lib.el (diary-display-function): Change the default to
14526 (body): Define for compiler.
14528 * emacs-lisp/bytecomp.el (byte-compile-keep-pending)
14529 (byte-compile-file-form, byte-compile-lambda)
14530 (byte-compile-top-level-body, byte-compile-form)
14531 (byte-compile-variable-ref, byte-compile-setq)
14532 (byte-compile-setq-default, byte-compile-body)
14533 (byte-compile-body-do-effect, byte-compile-and, byte-compile-or)
14534 (batch-byte-compile): Give some more local variables with common names
14535 a "bytecomp-" prefix to avoid masking warnings about free variables.
14537 * startup.el (command-line-1): Give local variables with common names a
14538 distinguishing prefix, so as not to hide free variable warnings during
14541 * mail/rmailmm.el (rmail-mime-save): If file exists, don't try to be
14542 clever and add a suffix to make a unique name, just let the user decide
14543 whether or not to overwrite it. If the input is a directory, write the
14544 default filename to that directory. (Bug#4388)
14545 (rmail-mime-bulk-handler): Ensure the save button's 'directory property
14546 is a filename-as-a-directory.
14548 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
14550 * textmodes/page.el (what-page): Don't move to beginning of line.
14551 See <87tyz5ajte.fsf@x2.delysid.org> in emacs-devel.
14553 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
14555 * vc-git.el (vc-git-dir-extra-headers): Show the remote location.
14557 2009-09-14 Dan Nicolaescu <dann@ics.uci.edu>
14559 * bindings.el (mode-line-mode-menu): Add purecopy calls for :help.
14560 * help.el (help-for-help-internal): Add purecopy calls for text.
14562 * vc.el (top): print-log method now takes an optional SHORTLOG
14563 argument. Add a new method: root.
14564 (vc-root-diff, vc-print-root-log): New functions.
14565 (vc-log-short-style): New variable.
14566 (vc-print-log-internal): Add support for showing short logs.
14568 * vc-hooks.el (vc-prefix-map, vc-menu-map): Add bindings for
14569 vc-print-root-log and vc-print-root-diff.
14571 * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-print-log):
14572 * vc-git.el (vc-git-print-log, vc-git-log-view-mode):
14573 * vc-hg.el (vc-hg-print-log, vc-hg-log-view-mode): Add support for
14576 * vc-cvs.el (vc-cvs-print-log):
14577 * vc-mtn.el (vc-mtn-print-log):
14578 * vc-rcs.el (vc-rcs-print-log):
14579 * vc-sccs.el (vc-sccs-print-log):
14580 * vc-svn.el (vc-svn-print-log): Add an optional argument shortlog
14581 that is ignored for now.
14583 * vc-mtn.el (vc-mtn-annotate-command):
14584 * vc-svn.el (vc-svn-annotate-command): Run asynchronously.
14586 2009-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
14588 * simple.el: Add mapping for backspace/delete/clear/tab/escape/return
14589 to function-key-map, and give them ascii-character property.
14590 * term/x-win.el (x-alternatives-map):
14591 * term/ns-win.el (ns-alternatives-map):
14592 * term/internal.el (msdos-key-remapping-map):
14593 * w32-fns.el (x-alternatives-map): Remove redundant mappings.
14595 2009-09-14 Glenn Morris <rgm@gnu.org>
14597 * emacs-lisp/elint.el (elint-add-required-env): Revert to not using
14598 temp-buffers (2009-09-12).
14600 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
14602 * textmodes/ispell.el (ispell-command-loop): Improve last fix, using
14603 the new read-key function.
14605 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
14607 * term/x-win.el (x-menu-bar-open): Only call accelerate-menu if it
14608 is defined (Bug#4405).
14610 2009-09-13 Vincent Belaïche <vincent.belaiche@gmail.com>
14612 * recentf.el (recentf-cleanup): Use a hash table to find
14613 duplicates (Bug#4407).
14615 2009-09-13 Per Starbäck <per@starback.se> (tiny change)
14617 * textmodes/ispell.el (ispell-command-loop): Convert keys such as
14618 kp-0 to ascii equivalents (Bug#4325).
14620 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
14622 * progmodes/cperl-mode.el (cperl-init-faces): Revert last change.
14624 * eshell/em-hist.el:
14625 * eshell/em-dirs.el (eshell-complete-user-reference):
14626 Declare pcomplete functions and variables to avoid compiler warnings.
14628 2009-09-13 Leo <sdl.web@gmail.com> (tiny change)
14630 * eshell/em-script.el (eshell-login-script, eshell-rc-script):
14631 * eshell/em-dirs.el (eshell-last-dir-ring-file-name):
14632 * eshell/em-alias.el (eshell-aliases-file):
14633 * eshell/em-hist.el (eshell-history-file-name):
14634 Use expand-file-name instead of concat to make file names (Bug#4308).
14636 2009-09-13 Glenn Morris <rgm@gnu.org>
14638 * ediff-merg.el (ediff-do-merge):
14639 * filesets.el (filesets-run-cmd):
14640 * emulation/ws-mode.el (ws-show-markers, ws-move-block, ws-delete-block)
14641 (ws-find-marker-0, ws-find-marker-1, ws-find-marker-2, ws-find-marker-3)
14642 (ws-find-marker-4, ws-find-marker-5, ws-find-marker-6, ws-find-marker-7)
14643 (ws-find-marker-8, ws-find-marker-9, ws-goto-block-begin)
14644 (ws-goto-block-end, ws-goto-last-cursorposition, ws-copy-block):
14645 Replace empty `let's with `progn'.
14647 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
14649 * mail/sendmail.el (send-mail-function):
14650 * tooltip.el (tooltip-mode):
14651 * simple.el (transient-mark-mode):
14652 * rfn-eshadow.el (file-name-shadow-mode):
14653 * frame.el (blink-cursor-mode):
14654 * font-core.el (global-font-lock-mode):
14655 * files.el (temporary-file-directory)
14656 (small-temporary-file-directory, auto-save-file-name-transforms):
14657 * epa-hook.el (auto-encryption-mode):
14658 * composite.el (global-auto-composition-mode):
14659 Use custom-initialize-delay.
14660 * startup.el (command-line): Don't explicitly call
14661 custom-reevaluate-setting for all the above vars.
14662 * custom.el (custom-initialize-safe-set)
14663 (custom-initialize-safe-default): Delete.
14665 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
14667 * term/x-win.el (x-initialize-window-system):
14668 * term/w32-win.el (w32-initialize-window-system):
14669 * term/ns-win.el (ns-initialize-window-system): Don't call
14670 mouse-wheel-mode since it's enabled globally by default already.
14672 * mwheel.el (mouse-wheel-mode): Make sure the new defvar doesn't
14673 actually define the variable, but only silences the byte-compiler.
14674 (mouse-wheel-change-button): Check whether mouse-wheel-mode is bound
14675 before looking it up.
14676 (mouse-wheel-scroll-amount): Also reset the bindings if this value
14679 2009-09-12 Glenn Morris <rgm@gnu.org>
14681 * emacs-lisp/elint.el (elint-file): Make max-lisp-eval-depth at least
14683 (elint-add-required-env): Don't beep on error.
14684 (elint-forms): In case of error, return ENV unchanged.
14685 (elint-init-env): Skip non-list forms.
14686 (elint-log): Handle unknown file positions.
14688 2009-09-12 Daiki Ueno <ueno@unixuser.org>
14690 * epg.el (epg-make-context): Add autoload cookie.
14691 (epg-list-keys, epg-cancel, epg-start-decrypt, epg-decrypt-file)
14692 (epg-decrypt-string, epg-start-verify, epg-verify-file)
14693 (epg-verify-string, epg-start-sign, epg-sign-file)
14694 (epg-sign-string, epg-start-encrypt, epg-encrypt-file)
14695 (epg-encrypt-string, epg-start-export-keys)
14696 (epg-export-keys-to-file, epg-export-keys-to-string)
14697 (epg-start-import-keys, epg-import-keys-from-file)
14698 (epg-import-keys-from-string, epg-start-receive-keys)
14699 (epg-receive-keys, epg-import-keys-from-server)
14700 (epg-start-delete-keys, epg-delete-keys, epg-start-sign-keys)
14701 (epg-sign-keys, epg-start-generate-key)
14702 (epg-generate-key-from-file, epg-generate-key-from-string):
14703 Remove autoload cookie.
14705 2009-09-12 Eli Zaretskii <eliz@gnu.org>
14707 * dos-fns.el (dos-reevaluate-defcustoms): Comment out the
14708 reevaluation of trash-directory.
14710 * mwheel.el: Fix last change.
14711 (mouse-wheel-mode): New defvar.
14712 (mouse-wheel-mode): Remove autoload cookie.
14714 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
14716 * mwheel.el (mwheel-installed-bindings): New var.
14717 (mouse-wheel-mode): Use it, so as to make sure we really remove all
14718 the bindings we set last time. Use custom-initialize-delay.
14719 * loadup.el: Load mwheel after term/*-win.el.
14720 * startup.el (command-line): Don't reevaluate mouse-wheel-down-event
14721 and mouse-wheel-up-event now that their first evaluation is done
14722 sufficiently late to be correct.
14724 * startup.el (tutorial-directory): Make it a defcustom.
14725 Use custom-initialize-delay rather than eval-at-startup to set it.
14726 * image.el (image-load-path): Make it a defcustom.
14727 Use custom-initialize-delay rather than eval-at-startup to set it.
14728 * subr.el (eval-at-startup): Remove.
14729 * font-lock.el (lisp-font-lock-keywords-2): Remove eval-at-startup.
14731 * subr.el (do-after-load-evaluation): Warn the user after loading an
14734 2009-09-12 Glenn Morris <rgm@gnu.org>
14736 * proced.el (proced-mark-alt): Remove alias.
14737 (proced-mode-map): Remove proced-mark-alt.
14739 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries to
14740 Elint file and directory. Remove initialization entry.
14742 * emacs-lisp/elint.el (elint-file, elint-directory): New autoloaded
14744 (elint-current-buffer): Set mode-line-process.
14745 (elint-init-env): Handle define-derived-mode.
14746 Fix declare-function with unspecified arglist. Guard against odd
14747 defalias statements (eg iso-insert's 8859-1-map).
14748 (elint-add-required-env): Use a temp buffer.
14749 (elint-form): Just print the function/macro name, not the whole form.
14750 Return env unchanged if we fail to parse a macro.
14751 (elint-forms): Guard against parse errors.
14752 (elint-output): New function, to handle batch mode.
14753 (elint-log-message): Add optional argument. Use elint-output.
14754 (elint-set-mode-line): New function.
14756 2009-09-12 Andreas Politz <politza@fh-trier.de> (tiny change)
14758 * emacs-lisp/elp.el (elp-not-profilable): Add more
14759 functions (Bug#4233).
14761 2009-09-12 Chong Yidong <cyd@stupidchicken.com>
14763 * emulation/pc-select.el (scroll-down-mark, scroll-down-nomark)
14764 (scroll-up-mark, scroll-up-nomark): Doc fix (Bug#4190).
14766 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
14768 * progmodes/gdb-mi.el (gdb-var-list-children-regexp): Delete.
14769 (gdb-var-list-children): Use json parsing.
14771 2009-09-11 Daniel Colascione <dan.colascione@gmail.com>
14773 * progmodes/js.el (js--proper-indentation): Handle the case where
14774 char-before is null. Reported by Deniz Dogan.
14776 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
14778 * emacs-lisp/cl-macs.el (help-add-fundoc-usage): Declare.
14780 2009-09-11 Daiki Ueno <ueno@unixuser.org>
14782 * epg.el (epg-cipher-algorithm-alist): Add CAMELLIA.
14783 (epg-digest-algorithm-alist): Add SHA224.
14784 (epg-context-set-passphrase-callback)
14785 (epg-context-set-progress-callback): Add description about
14788 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
14790 * custom.el (custom-delayed-init-variables): New var.
14791 (custom-initialize-delay): New function.
14792 * startup.el (command-line): "Re"evaluate all vars in
14793 custom-delayed-init-variables. Don't reevaluate abbrev-file-name
14794 explicitly any more.
14795 * abbrev.el (abbrev-file-name): Use custom-initialize-delay
14796 to avoid creating a ~/.emacs.d at build-time (bug#4347).
14798 * proced.el (proced-mode-map): Prefer "m" for proced-mark (bug#4362).
14800 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
14802 * progmodes/gdb-mi.el (gdb-var-update-regexp): Delete.
14803 (gdb-var-update-handler): Use json parsing.
14805 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
14807 * vc-annotate.el (vc-annotate): Use the main file's coding-system to
14808 decode annotated text, regardless of language environment. (Bug#2741)
14810 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
14812 * Makefile.in (autoloads): Make rmail.el writable as well.
14814 2009-09-11 Glenn Morris <rgm@gnu.org>
14816 * dired-aux.el, dired-x.el: Put autoloads in dired.el rather than
14818 * dired.el: Regenerate with extracted autoloads.
14819 * Makefile.in (autoloads): Make dired.el writable.
14821 * ibuf-ext.el: Put autoloads in ibuffer.el rather than loaddefs.el.
14822 * ibuffer.el: Regenerate with extracted autoloads.
14823 * Makefile.in (autoloads): Make ibuffer.el writable.
14825 * paths.el (prune-directory-list, gnus-nntp-service, rmail-file-name):
14826 * version.el (emacs-copyright, emacs-major-version)
14827 (emacs-minor-version): Reformat doc-strings for make-docfile.
14829 * apropos.el (apropos-documentation-check-doc-file): Exclude unbound
14830 functions and variables, since they must be stuff specific to some other
14832 (apropos-print): Make mouse-click message less specific about button.
14834 * emacs-lisp/cl-macs.el (define-compiler-macro): Add a property
14835 that records where a macro was defined.
14836 * help-fns.el (describe-function-1): Mention if a function has a
14838 * help-mode.el (help-function-cmacro): New button.
14840 * locate.el (top-level): Always require dired.
14841 (locate-mode-map): Initialize inside the defvar.
14843 * net/ange-ftp.el (dired-compress-file): Declare.
14844 (ange-ftp-dired-compress-file): Add doc string.
14846 * term/ns-win.el (x-display-name, x-setup-function-keys):
14847 Unify doc-strings with X versions.
14849 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
14851 * emulation/crisp.el (crisp-mode-map): Move initialization
14853 (crisp-mode): Use define-minor-mode.
14855 * progmodes/xscheme.el (xscheme-evaluation-commands):
14856 Put a :advertised-binding property rather than using
14857 advertised-xscheme-send-previous-expression.
14858 (advertised-xscheme-send-previous-expression): Declare obsolete.
14859 * emulation/crisp.el (crisp-mode-map): Use `undo' rather than
14861 (crisp-mode): Add corresponding bindings to
14862 undo's :advertised-binding instead.
14863 * dired.el (dired-mode-map): Put a :advertised-binding property rather
14864 than using dired-advertised-find-file.
14865 (dired-advertised-find-file):
14866 * simple.el (advertised-undo):
14867 * wid-edit.el (advertised-widget-backward): Declare obsolete.
14868 (widget-keymap): Put a :advertised-binding property rather
14869 than using advertised-widget-backward.
14870 * bindings.el (ctl-x-map): Put a :advertised-binding property rather
14871 than using advertised-undo.
14872 * tutorial.el (tutorial--default-keys): Adjust accordingly.
14874 2009-09-10 Simon South <ssouth@slowcomputing.org>
14876 * progmodes/delphi.el (delphi-tab): Indent region when Transient
14877 Mark mode is enabled and region is active; otherwise indent or
14878 insert TAB as usual.
14879 (delphi-mode): Update description of TAB-key binding.
14881 2009-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
14883 * subr.el (define-key-rebound-commands): Mark obsolete.
14884 * startup.el (precompute-menubar-bindings): Remove.
14885 (normal-top-level): Remove obsolete code that tried to precompute
14887 * loadup.el (define-key-rebound-commands): Don't bother fiddling with
14888 define-key-rebound-commands and precompute-menubar-bindings.
14890 2009-09-10 Teodor Zlatanov <tzz@lifelogs.com>
14892 * net/imap.el (imap-interactive-login): Better messages.
14893 (imap-open): Fix bug with renamed buffer on reconnect.
14894 (imap-authenticate): Add buffer-local imap-last-authenticator variable
14895 for easier debugging and cleaner code. On successful (guessed based on
14896 server capabilities) secondary authentication, set imap-state
14898 (imap-last-authenticator): Define imap-last-authenticator as a variable
14901 2009-09-10 Glenn Morris <rgm@gnu.org>
14903 * pcvs.el (cvs-mode-find-file): Use forward-line rather than goto-line.
14905 * emacs-lisp/bytecomp.el (byte-compile-function-environment): Doc fix.
14906 (byte-compile-file-form-autoload): Don't warn about unknown functions
14907 where the autoload statement comes after the use.
14908 (with-no-warnings): Give it a byte-hunk-handler like than of progn, so
14909 that any handlers inside the body (eg require) are in turn respected.
14911 * emacs-lisp/byte-opt.el (degrees-to-radians): Mark as free from side
14914 * emacs-lisp/derived.el (define-derived-mode): Give the mode's map,
14915 and syntax and abbrev tables basic docs, if they don't have any.
14917 * emacs-lisp/easy-mmode.el (easy-mmode-defmap): Add doc-string.
14919 * international/mule-cmds.el (top-level): Require cl when compiling.
14920 (view-hello-file): Use default-value rather than
14921 default-enable-multibyte-characters.
14923 * progmodes/fortran.el: Move all safe and risky properties into the
14926 * mail/rmailedit.el, mail/rmailkwd.el, mail/rmailmm.el:
14927 * mail/rmailmsc.el, mail/rmailsort.el, mail/rmailsum.el:
14928 * mail/undigest.el:
14929 Put autoloads in rmail.el rather than loaddefs.el.
14930 * mail/rmail.el: Regenerate with extracted autoloads.
14932 * mail/rmailsum.el (rmail-user-mail-address-regexp): Move to rmail.el.
14933 * mail/rmail.el (rmail-user-mail-address-regexp): Move from rmailsum.el.
14935 2009-09-10 Nick Roberts <nickrob@snap.net.nz>
14937 Reported in thread for Bug#4375.
14938 * progmodes/gud.el (gud-tooltip-print-command): Use MI command
14939 "-data-evaluate-expression" instead of print.
14940 * progmodes/gdb-mi.el (gdb-tooltip-print-1): Ditto.
14941 (gdb-tooltip-print): Parse output from above MI command.
14942 (gdb): Revert 2009-08-11 change. User should detach inferior
14945 Remove the word "separate" from IO functions as inferior
14946 output is now never displayed in the GUD buffer.
14948 2009-09-10 Juanma Barranquero <lekktu@gmail.com>
14950 * startup.el (command-line-normalize-file-name): On Windows and
14951 MS-DOS, also convert C:\/ and C:\\ (two backslashes) into C:/.
14953 2009-09-10 Juri Linkov <juri@jurta.org>
14955 * isearch.el (isearch-text-char-description): Propertize escape
14956 character sequences with the `escape-glyph' face. (Bug#4344)
14958 * simple.el (shell-command): Set asynchronous process filter to
14959 `comint-output-filter'. (Bug#4343)
14961 * progmodes/grep.el (grep-template): Add "<X>" to docstring.
14962 (grep-files-aliases): Add "all". Move "el" and "ch" to the top of
14963 the list. Move "asm" to the bottom.
14964 (grep-find-ignored-directories): Add `choice' with nil value
14965 to empty the list easily.
14966 (grep-find-ignored-files): New option.
14967 (grep-files-history): Set to nil by default instead of '("ch" "el").
14968 (grep-compute-defaults): Add "<X>" to `grep-template'.
14969 (grep-read-files): Bind new local variables `default-alias' and
14970 `default-extension'. Use a list of default values for the file prompt.
14971 (lgrep): Add `--exclude=' command line options composed from
14972 `grep-find-ignored-files'.
14973 (rgrep): Add `-name' command line options composed from
14974 `grep-find-ignored-files'. (Bug#4301)
14976 2009-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
14978 * diff-mode.el (diff-hunk-kill): Fix the search of the next hunk
14981 2009-09-09 Katsumi Yamaoka <yamaoka@jpl.org>
14983 * calendar/time-date.el (autoload):
14984 Expand define-obsolete-function-alias into defalias and make-obsolete
14985 for old Emacsen that Gnus supports.
14986 (with-no-warnings): Define it for old Emacsen.
14987 (time-to-seconds): Don't use (featurep 'xemacs) to check if float-time
14989 (time-to-number-of-days): Don't use (featurep 'xemacs) to check if
14990 float-time is available; suppress compile warning for time-to-seconds.
14992 2009-09-09 Teodor Zlatanov <tzz@lifelogs.com>
14994 * net/imap.el (imap-message-map): Docstring fix.
14996 2009-09-09 Glenn Morris <rgm@gnu.org>
14998 * ffap.el (ffap-file-at-point): Handle absolute (non-remote) files with
14999 line numbers too. (Bug#4374)
15001 2009-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
15003 * smerge-mode.el (smerge-remove-props, smerge-refine):
15004 Use with-silent-modifications (bug#4342).
15006 * subr.el (with-silent-modifications): New macro.
15008 2009-09-07 Juanma Barranquero <lekktu@gmail.com>
15010 * files.el (top-level): Require `cl' when compiling.
15012 2009-09-07 Glenn Morris <rgm@gnu.org>
15014 * files.el (auto-mode-alist): Use delphi-mode for .dpr files.
15016 * proced.el (proced-mode-map): Bind "d" to proced-mark-alt.
15017 (proced-mark-alt): New alias, to control the advertised key. (Bug#4362)
15019 2009-09-06 Nick Roberts <nickrob@snap.net.nz>
15021 * vc-git.el (vc-git-annotate-command): Use separator to parse
15022 arguments correctly.
15024 2009-09-06 Eli Zaretskii <eliz@gnu.org>
15026 * proced.el (proced-mode): Doc fix.
15028 2009-09-06 Julian Scheid <julians37@gmail.com> (tiny change)
15030 * net/tramp.el (tramp-perl-file-attributes): Print "nil" when
15032 (tramp-do-file-attributes-with-ls): Check for file existence at
15034 (tramp-do-file-attributes-with-stat): Likewise.
15035 (tramp-convert-file-attributes): Return nil when attr is nil.
15037 2009-09-05 Glenn Morris <rgm@gnu.org>
15039 * calendar/diary-lib.el (diary-entry): Add help-echo and follow-link
15040 properties to this button.
15041 (diary-fancy-display): Don't extend the button to the final newline.
15042 (diary-fancy-display-mode): Continue to define "q" as a local key.
15044 * calendar/cal-china.el (holiday-chinese): Make it slightly more
15047 * font-lock.el (lisp-font-lock-keywords-2): Add letf.
15049 * emacs-lisp/bytecomp.el (emacs-lisp-file-regexp): Doc fix.
15050 (byte-compile-dest-file-function): New option.
15051 (byte-compile-dest-file): Doc fix.
15052 Obey byte-compile-dest-file-function.
15053 (byte-compile-cl-file-p): New function.
15054 (byte-compile-eval): Only suppress noruntime warnings about cl functions
15055 if the cl-functions warning is enabled. Use byte-compile-cl-file-p.
15056 (byte-compile-eval): Check for non-nil byte-compile-cl-functions rather
15057 than for file being previously loaded.
15058 (byte-compile-find-cl-functions): Use byte-compile-cl-file-p.
15059 (byte-compile-file-form-require): Handle the case where requiring a file
15060 indirectly causes CL to be loaded.
15062 2009-09-05 Karl Fogel <kfogel@red-bean.com>
15064 * files.el (find-alternate-file): Run `kill-buffer-hook' manually
15065 before killing the old buffer, since by the time `kill-buffer' is
15066 run so many buffer variables have been set to nil that it may not
15067 behave as expected. (Bug#4061)
15069 2009-09-05 Karl Fogel <kfogel@red-bean.com>
15071 * files.el (find-alternate-file): If the old buffer is modified
15072 and visiting a file, behave similarly to `kill-buffer' when
15073 killing it, thus reverting to the pre-1.878 behavior; see
15074 http://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00101.html
15075 for discussion. Also, consult `buffer-file-name' as a variable
15076 not as a function, for consistency with the rest of the code.
15078 2009-09-04 Michael Albinus <michael.albinus@gmx.de>
15080 * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
15081 also when adding a new directory.
15083 * net/tramp-compat.el (tramp-compat-line-beginning-position): New
15086 2009-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
15088 * files.el (locate-file-completion-table): Make it provide boundary
15089 information, so partial-completion works better.
15091 2009-09-04 Leo <sdl.web@gmail.com> (tiny change)
15093 * mail/footnote.el (Footnote-text-under-cursor):
15094 Check footnote-text-marker-alist before using it (bug#4324).
15096 2009-09-04 Glenn Morris <rgm@gnu.org>
15098 * play/5x5.el, play/decipher.el, play/gametree.el, play/handwrite.el:
15099 * play/hanoi.el, play/landmark.el, play/mpuz.el, play/pong.el:
15100 * play/solitaire.el, play/tetris.el:
15101 Remove leading * from defcustom and defface docs.
15103 * calendar/diary-lib.el (diary-fancy-display): Only switch modes if
15105 (diary-fancy-overriding-map): New variable.
15106 (diary-fancy-display-mode): Set minor-mode-overriding-map-alist.
15109 * vc-rcs.el (vc-rcs-annotate-command): Use forward-line rather than
15112 2009-09-03 Glenn Morris <rgm@gnu.org>
15114 * arc-mode.el (archive-mode):
15115 * dos-fns.el (set-default-process-coding-system):
15116 * man.el (Man-getpage-in-background):
15117 * menu-bar.el (menu-bar-describe-menu):
15118 * server.el (server-process-filter):
15119 * startup.el (command-line):
15120 * tar-mode.el (tar-header-block-tokenize, tar-extract):
15121 * w32-fns.el (set-default-process-coding-system):
15122 * x-dnd.el (x-dnd-handle-file-name):
15123 * international/mule-cmds.el (mule-menu-keymap)
15124 (set-default-coding-systems, language-info-alist, set-language-info)
15125 (set-language-environment, standard-display-european-internal)
15126 (set-locale-environment):
15127 * international/mule-diag.el (mule-diag):
15128 * mail/emacsbug.el (report-emacs-bug):
15129 * mail/rmail.el (rmail-mode):
15130 * mail/sendmail.el (mail-setup):
15131 Use default-value rather than default-enable-multibyte-characters.
15133 * progmodes/f90.el: Move all safe properties into the defcustoms.
15134 (f90-get-correct-indent, f90-indent-region, f90-abbrev-start): Use memq.
15136 * calendar/appt.el (appt-check):
15137 * calendar/diary-lib.el (diary-set-header, diary-live-p)
15138 (diary-check-diary-file, diary-list-entries)
15139 (diary-include-other-diary-files, diary-simple-display)
15140 (diary-fancy-display, diary-print-entries)
15141 (diary-mark-included-diary-files, diary-make-entry):
15142 Don't call substitute-in-file-name on diary-file.
15144 2009-09-03 Eduard Wiebe <usenet@pusto.de>
15145 Stefan Monnier <monnier@iro.umontreal.ca>
15147 * mail/footnote.el (footnote-prefix): Make it a defcustom.
15148 (footnote-mode-map): Move initialization into the declaration.
15149 (footnote-minor-mode-map): Define it rather than changing global-map.
15150 (footnote-mode): Use define-minor-mode.
15152 2009-09-02 Michael Albinus <michael.albinus@gmx.de>
15154 * net/tramp.el (tramp-handle-file-attributes-with-ls)
15155 (tramp-do-file-attributes-with-perl)
15156 (tramp-do-file-attributes-with-stat): Rename from
15157 `tramp-handle-file-attributes-with-*'.
15158 (tramp-handle-file-attributes): Use them.
15159 (tramp-do-directory-files-and-attributes-with-perl)
15160 (tramp-do-directory-files-and-attributes-with-stat): Rename from
15161 `tramp-handle-directory-files-and-attributes-with-*'.
15162 (tramp-handle-directory-files-and-attributes): Use them.
15163 (tramp-method-out-of-band-p): Additional parameter SIZE.
15164 (tramp-do-copy-or-rename-file, tramp-handle-file-local-copy)
15165 (tramp-handle-write-region): Use it.
15166 (tramp-handle-insert-directory): Use "?\ " for compatibility reasons.
15167 (tramp-handle-vc-registered): Check, whether the first run did
15168 return files to be tested.
15169 (tramp-advice-make-auto-save-file-name): Do not call directly
15170 `tramp-handle-make-auto-save-file-name', because this would bypass
15171 the locking mechanism.
15173 * net/tramp-compat.el (top): Autoload used functions from tramp.el.
15174 (file-remote-p, process-file, start-file-process, set-file-times)
15175 (tramp-compat-file-attributes): Compatibility functions shall not
15176 call directly `tramp-handle-*', because this would bypass the
15178 (tramp-compat-number-sequence): New defun.
15180 2009-09-02 Glenn Morris <rgm@gnu.org>
15182 * calendar/time-date.el (time-to-seconds): In Emacs, make it an obsolete
15183 alias for float-time.
15184 (time-to-number-of-days): In Emacs, use float-time.
15185 * net/newst-backend.el (time-add): Suppress warnings from compat
15187 * time.el (emacs-uptime, emacs-init-time):
15188 * net/rcirc.el (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE):
15189 Use float-time rather than time-to-seconds.
15191 * minibuffer.el (completion-initials-expand): Fix typo.
15193 * faces.el (modeline, modeline-inactive, modeline-highlight)
15194 (modeline-buffer-id):
15195 * info.el (info-menu-5): Mark these face aliases as obsolete.
15197 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
15199 * progmodes/gdb-mi.el (gdb-current-context-command): Move the
15201 (gdb-gud-context-call): ... to here for pre GDB 7.0 when there is
15202 no "--thread" option.
15203 (gdb-stopped): Don't print "Switched to thread" message when it is
15206 2009-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
15208 * minibuffer.el (completion-try-completion)
15209 (completion-all-completions): Remove ill-defined (and
15210 mistakenly installed and luckily never used nor documented)
15211 `completion-styles' property.
15212 (completion-initials-expand, completion-initials-all-completions)
15213 (completion-initials-try-completion): New functions.
15214 (completion-styles-alist): Add doc to each entry.
15215 Add new `initials' entry.
15217 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
15219 * progmodes/gdb-mi.el (gdb-var-create-handler): Remove redundant
15220 MI command -var-evaluate-expression.
15221 (gdb-var-list-children-regexp): Update from regexp-1 in gdb-ui.el
15222 and tweak for case of string child.
15223 (gdb-var-list-children-handler): Update from handler-1 in gdb-ui.el.
15225 2009-09-01 Glenn Morris <rgm@gnu.org>
15227 * add-log.el (change-log-date-face, change-log-name-face)
15228 (change-log-email-face, change-log-file-face, change-log-list-face)
15229 (change-log-conditionals-face, change-log-function-face)
15230 (change-log-acknowledgement-face):
15231 * cus-edit.el (custom-invalid-face, custom-rogue-face)
15232 (custom-modified-face, custom-set-face, custom-changed-face)
15233 (custom-saved-face, custom-button-face, custom-button-pressed-face)
15234 (custom-documentation-face, custom-state-face, custom-comment-face)
15235 (custom-comment-tag-face, custom-variable-tag-face)
15236 (custom-variable-button-face, custom-face-tag-face)
15237 (custom-group-tag-face-1, custom-group-tag-face):
15238 * diff-mode.el (diff-header-face, diff-file-header-face)
15239 (diff-index-face, diff-hunk-header-face, diff-removed-face)
15240 (diff-added-face, diff-changed-face, diff-function-face)
15241 (diff-context-face, diff-nonexistent-face):
15242 * generic-x.el (show-tabs-tab-face, show-tabs-space-face):
15243 * hilit-chg.el (highlight-changes-face, highlight-changes-delete-face):
15244 * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face)
15245 (Info-title-4-face):
15246 * isearch.el (isearch-lazy-highlight-face):
15247 * log-view.el (log-view-file-face, log-view-message-face):
15248 * paren.el (show-paren-match-face, show-paren-mismatch-face):
15249 * pcvs-info.el (cvs-header-face, cvs-filename-face, cvs-unknown-face)
15250 (cvs-handled-face, cvs-need-action-face, cvs-marked-face)
15252 * smerge-mode.el (smerge-mine-face, smerge-other-face)
15253 (smerge-base-face, smerge-markers-face):
15254 * wid-edit.el (widget-documentation-face, widget-button-face)
15255 (widget-field-face, widget-single-line-field-face)
15256 (widget-inactive-face, widget-button-pressed-face):
15257 * woman.el (woman-italic-face, woman-bold-face, woman-unknown-face)
15258 (woman-addition-face):
15259 * eshell/em-ls.el (eshell-ls-directory-face, eshell-ls-symlink-face)
15260 (eshell-ls-executable-face, eshell-ls-readonly-face)
15261 (eshell-ls-unreadable-face, eshell-ls-special-face)
15262 (eshell-ls-missing-face, eshell-ls-archive-face)
15263 (eshell-ls-backup-face, eshell-ls-product-face)
15264 (eshell-ls-clutter-face):
15265 * eshell/em-prompt.el (eshell-prompt-face):
15266 * eshell/esh-test.el (eshell-test-ok-face, eshell-test-failed-face):
15267 * obsolete/old-whitespace.el (whitespace-highlight-face):
15268 * progmodes/antlr-mode.el (antlr-font-lock-default-face)
15269 (antlr-font-lock-keyword-face, antlr-font-lock-syntax-face)
15270 (antlr-font-lock-ruledef-face, antlr-font-lock-tokendef-face)
15271 (antlr-font-lock-ruleref-face, antlr-font-lock-tokenref-face)
15272 (antlr-font-lock-literal-face):
15273 * progmodes/ebrowse.el (ebrowse-tree-mark-face)
15274 (ebrowse-root-class-face, ebrowse-file-name-face)
15275 (ebrowse-default-face, ebrowse-member-attribute-face)
15276 (ebrowse-member-class-face, ebrowse-progress-face):
15277 * progmodes/make-mode.el (makefile-space-face):
15278 * progmodes/sh-script.el (sh-heredoc-face):
15279 * textmodes/flyspell.el (flyspell-incorrect-face)
15280 (flyspell-duplicate-face):
15281 * textmodes/tex-mode.el (tex-math-face, tex-verbatim-face):
15282 * textmodes/texinfo.el (texinfo-heading-face):
15283 Mark face aliases with "-face" suffix as obsolete.
15285 * mail/feedmail.el (file-name-buffer-file-type-alist): Define for
15288 * net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-image-menu)
15289 (eudc-bob-sound-menu): Use defvar rather than defconst, since
15290 easy-menu-define wants to modify these.
15292 * net/net-utils.el (nslookup): Use make-comint rather than comint-run.
15294 * net/browse-url.el (browse-url-file-url):
15295 * term/internal.el (dos-codepage-setup):
15296 Use default-value rather than default-enable-multibyte-characters.
15298 * progmodes/etags.el (etags-goto-tag-location):
15299 * progmodes/flymake.el (flymake-highlight-line)
15300 (flymake-goto-file-and-line, flymake-goto-line):
15301 * progmodes/gdb-mi.el (gdb-mouse-until, gdb-mouse-jump)
15302 (gdb-goto-breakpoint):
15303 * progmodes/idlw-shell.el (idlwave-shell-move-to-bp):
15304 * progmodes/python.el (python-find-function)
15305 (python-pdbtrack-track-stack-file):
15306 * progmodes/verilog-mode.el (verilog-surelint-off):
15307 * term/ns-win.el (ns-open-file-select-line):
15308 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
15309 Use forward-line rather than goto-line.
15311 * textmodes/reftex-cite.el (reftex-offer-bib-menu):
15312 * textmodes/reftex-index.el (reftex-display-index):
15313 * textmodes/reftex-ref.el (reftex-offer-label-menu):
15314 * textmodes/reftex-toc.el (reftex-toc):
15315 Remove unnecessary bindings of default-major-mode (all are followed by
15316 major-mode check and possible mode switch).
15318 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
15320 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
15321 Handle watchpoints (bug#4282).
15322 (def-gdb-thread-buffer-command): Enable thread to be selected by
15323 clicking without selecting threads buffer first.
15324 (gdb-current-context-command): Use selected frame so that "up",
15325 "down" etc work in the GUD buffer.
15326 (gdb-update): Find selected frame before rendering stack buffer.
15327 (gdb-frame-handler): Set gdb-frame-number for stack buffer.
15329 2009-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
15331 * progmodes/sym-comp.el (displayed-completions): Remove.
15332 (symbol-complete): Use minibuffer-complete.
15334 2009-08-31 Glenn Morris <rgm@gnu.org>
15336 * emacs-lisp/byte-run.el (define-obsolete-face-alias): New macro.
15338 * apropos.el (apropos-symbols-internal):
15339 Handle (obsolete) face aliases.
15341 * faces.el (describe-face): Adjust the output format to be more like
15342 describe-variable, and to mention (obsolete) face aliases.
15343 Adjust the whitespace so that help-setup-xref works.
15345 * calendar/calendar.el (calendar-today-face, diary-face, holiday-face):
15346 * calendar/diary-lib.el (diary-button-face):
15347 Mark these face aliases as obsolete.
15349 * calendar/calendar.el (calendar-today): Doc fix.
15351 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
15353 * progmodes/gdb-mi.el (gdb-control-all-threads)
15354 (gdb-control-current-thread): Force tool bar update.
15355 (gdb-non-stop-handler): New function.
15356 (gdb-init-1): Use it to test if non-stop mode is supported.
15357 Remove unused gdbmi buffer type.
15359 2009-08-30 Kevin Rodgers <kevin.d.rodgers@gmail.com>
15361 * progmodes/grep.el (grep-read-files): Strip trailing <N> from
15362 buffer names not visiting a file (e.g. cloned buffers). (Bug#4210)
15364 2009-08-30 Nick Roberts <nickrob@snap.net.nz>
15366 * comint.el (comint-exec-1): Check command is non-null first.
15367 Part of gdb-mi.el change (2009-08-28).
15369 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
15371 * emacs-lisp/lisp.el (lisp-complete-symbol): Use minibuffer-complete.
15373 2009-08-30 Juanma Barranquero <lekktu@gmail.com>
15375 * subr.el (do-after-load-evaluation): Fix last change: use `mapc'
15376 instead of `dolist' to avoid a recursive require when bootstrapping.
15378 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
15380 * emacs-lisp/lisp.el (field-complete): Use minibuffer-complete.
15382 * net/ldap.el (ldap-search-internal): Use with-current-buffer and push.
15384 * net/imap.el (imap-send-command): Simplify.
15385 (imap-wait-for-tag): point-max -> buffer-size.
15387 * net/ange-ftp.el (internal-ange-ftp-mode): Use define-derived-mode.
15389 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't use symbol-value
15390 with constant argument.
15392 * emacs-lisp/debug.el (debugger-setup-buffer): Make it multibyte.
15394 * emacs-lisp/cl.el (cl-macro-environment): Don't define it here.
15396 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag):
15397 Change default, since most of our files don't have a history.
15398 (checkdoc-display-status-buffer): Don't use a hidden buffer to show to
15401 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
15404 * calc/calc.el: Improve commenting convention.
15405 (calc-digit-map, toplevel): Simplify.
15407 * comint.el (comint-insert-input): Be careful to only set point if we
15408 don't delegate to some other command.
15410 * proced.el (proced-signal-list): Make it an alist.
15411 (proced-grammar-alist): Capitalize names.
15412 (proced-send-signal): Use a non-hidden buffer (since it's displayed).
15413 Disable undo manually and make it read-only.
15414 Use completion-annotate-function.
15416 * minibuffer.el (minibuffer-message): If the current buffer is not
15417 a minibuffer, insert the message in the echo area rather than at the
15419 (completion-annotate-function): New variable.
15420 (minibuffer-completion-help): Use it.
15421 (completion--embedded-envvar-table): Environment vars are
15422 always case-sensitive.
15424 2009-08-30 Glenn Morris <rgm@gnu.org>
15426 * progmodes/fortran.el (fortran-start-prog-re): New constant, extracted
15427 from fortran-current-defun.
15428 (fortran-beginning-of-subprogram): Be more precise about finding the
15429 start, to avoid an infinite loop in end-of-defun. (Bug#4259)
15430 (fortran-end-of-subprogram): Simplify.
15431 (fortran-current-defun): Use fortran-start-prog-re.
15433 2009-08-29 Juanma Barranquero <lekktu@gmail.com>
15435 * subr.el (do-after-load-evaluation): Simplify.
15437 2009-08-29 Dan Nicolaescu <dann@ics.uci.edu>
15439 * vc.el (vc-print-log-internal): Move RCS/CVS specific code ...
15441 * vc-rcs.el (vc-rcs-print-log-cleanup): ... here. New function.
15442 (vc-rcs-print-log): Use it.
15444 * vc-cvs.el (vc-cvs-print-log): Use vc-rcs-print-log-cleanup.
15446 2009-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
15448 * paths.el (abbrev-file-name): Move to abbrev.el.
15449 * abbrev.el (abbrev-file-name): Move from paths.el.
15450 Obey user-emacs-directory.
15451 * calc/calc.el (calc-settings-file): Don't autoload and instead obey
15452 user-emacs-directory.
15453 * dos-fns.el (dos-reevaluate-defcustoms): Don't reevaluate
15454 abbrev-file-name and calc-settings-file any more.
15455 * startup.el (command-line): Recompute abbrev-file-name and
15456 abbreviated-home-dir.
15457 (normal-no-mouse-startup-screen): Improve the generic code and get rid
15458 of the special code for when C-h bindings haven't been changed.
15459 (display-startup-echo-area-message): Use with-current-buffer.
15460 (command-line-1): Use a list of strings, rather than a list of lists
15461 of strings for longopts.
15463 * files.el (get-free-disk-space): Use / for default-directory.
15465 * textmodes/ispell.el (ispell-accept-output, ispell-command-loop):
15466 Use with-current-buffer.
15468 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p):
15469 Recognize immutable variables like most-positive-fixnum.
15470 (byte-compile-setq-default): Check and warn if trying to assign
15471 to an immutable variable, or a non-variable.
15473 * progmodes/cc-vars.el (c-comment-continuation-stars):
15474 * progmodes/cc-engine.el (c-looking-at-bos):
15475 * progmodes/cc-cmds.el (c-toggle-auto-state)
15476 (c-forward-into-nomenclature, c-backward-into-nomenclature)
15477 (c-comment-line-break-function): Add version of obsolescence.
15479 2009-08-28 Juri Linkov <juri@jurta.org>
15481 * files.el (magic-fallback-mode-alist): Add ZIP magic number
15482 associated with `archive-mode'.
15484 * image.el (image-type-header-regexps): Use only JPEG magic number
15485 to determine JPEG images, and don't use `image-jpeg-p' because
15486 Emacs can display non-JFIF non-Exif JPEG images.
15488 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
15490 * arc-mode.el (archive-mode):
15491 * emacs-lisp/re-builder.el (re-builder-unload-function):
15492 Protect against the default value of `major-mode' being nil.
15494 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
15496 * international/ucs-normalize.el (ucs-normalize-sort, quick-check-list):
15497 Fix typos in docstrings.
15499 * progmodes/js.el (js--macro-decl-re): Doc fix.
15500 (js--plain-method-re, js--split-name): Refloc docstring.
15501 (js--class-styles, js--make-merged-item, js--splice-into-items):
15502 Fix typos in docstrings; reflow docstrings.
15503 (js--maybe-join, js--function-prologue-beginning, js--flush-caches)
15504 (js--variable-decl-matcher, js--inside-pitem-p)
15505 (js--parse-state-at-point, js--get-all-known-symbols)
15506 (js--symbol-history, js-find-symbol, js--js-references)
15507 (js--moz-interactor, js--js-encode-value, js--read-tab):
15508 Fix typos in docstrings.
15510 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
15512 * textmodes/reftex.el (reftex-get-file-buffer-force):
15513 * progmodes/verilog-mode.el (verilog-batch-execute-func):
15514 * emulation/viper.el (viper-go-away, viper-set-hooks):
15515 * emacs-lisp/re-builder.el (re-builder-unload-function):
15516 * emacs-lisp/bytecomp.el (byte-compile-file):
15517 * ses.el (ses-unload-function):
15518 * hexl.el (hexl-find-file):
15519 * files.el (normal-mode):
15520 * ehelp.el (with-electric-help):
15521 * autoinsert.el (auto-insert-alist):
15522 * arc-mode.el (archive-mode):
15523 Use (default-value 'major-mode) instead of default-major-mode.
15525 * textmodes/ispell.el (ispell-check-version, ispell-send-string):
15526 * international/mule.el (load-with-code-conversion):
15527 * emacs-lisp/debug.el (debug):
15528 * ediff-vers.el (ediff-rcs-get-output-buffer):
15529 * dired.el (dired-internal-noselect): Don't let-bind
15530 default-major-mode around code that doesn't use it.
15531 E.g. buffer creation via get-buffer-create doesn't use it.
15533 2009-08-28 Michael Albinus <michael.albinus@gmx.de>
15535 * net/tramp.el (all): Replace "'(lambda" by "(lambda".
15536 (tramp-handle-file-local-copy): Unset `file-name-handler-alist'
15537 when writing the temp file. Otherwise, epa-file gets confused.
15538 (tramp-register-file-name-handlers): Make it a defun. Move also
15539 `epa-file-handler' to the front of `file-name-handler-alist'.
15541 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
15543 * net/tramp.el (tramp-shell-prompt-pattern): Allow a prompt to
15544 start right after a ^M.
15545 (tramp-root-regexp, tramp-completion-file-name-regexp-unified)
15546 (tramp-completion-file-name-regexp-separate)
15547 (tramp-completion-file-name-regexp-url): Use \\` and \\'.
15548 (tramp-handle-file-attributes, tramp-set-file-uid-gid):
15549 Don't modify last-coding-system-used by accident.
15550 (tramp-completion-file-name-handler): Apply the checks here,
15551 instead during registration.
15552 (tramp-register-file-name-handlers): Renamed from
15553 `tramp-register-file-name-handler'. Register both
15554 `tramp-file-name-handler' and `tramp-completion-file-name-handler'.
15555 (tramp-register-completion-file-name-handler): Remove. (Bug#4260)
15557 2009-08-28 Nick Roberts <nickrob@snap.net.nz>
15559 * progmodes/gdb-mi.el (gdb-use-separate-io-buffer):
15560 Remove variable ...
15561 (gdb-init-1, gdb-display-separate-io-buffer)
15562 (gdb-frame-separate-io-buffer, gdb-setup-windows): ... and
15564 (gdb-inferior-io-mode): Use make-comint-in-buffer.
15565 (gdb-inferior-filter): Use comint-output-filter to stop
15566 echoing and remove ^M characters.
15568 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
15570 * emulation/viper-init.el (viper-restore-cursor-type):
15571 * emulation/cua-base.el (cua--update-indications):
15572 Replace default-cursor-type with (default-value 'cursor-type).
15574 * mail/sendmail.el (mail-recover-1):
15575 * international/mule-diag.el (describe-current-coding-system-briefly)
15576 (describe-current-coding-system):
15577 * international/mule-cmds.el (select-safe-coding-system)
15578 (select-message-coding-system)
15579 (set-language-environment-coding-systems, set-locale-environment):
15580 * hexl.el (hexl-insert-multibyte-char):
15581 * dos-w32.el (find-buffer-file-type-coding-system):
15582 * simple.el (what-cursor-position):
15583 Replace uses of default-buffer-file-coding-system
15584 with (default-value 'buffer-file-coding-system).
15586 * emacs-lisp/edebug.el (edebug-display, edebug-outside-excursion):
15587 Replace uses of default-cursor-in-non-selected-windows
15588 with (default-value 'cursor-in-non-selected-windows).
15589 Use with-current-buffer.
15591 * mail/feedmail.el: Use CL macros.
15592 (feedmail-run-the-queue, feedmail-send-it-immediately):
15593 * dos-w32.el (find-buffer-file-type): Replace uses of
15594 default-buffer-file-type with (default-value 'buffer-file-type).
15596 2009-08-28 Glenn Morris <rgm@gnu.org>
15598 * calendar/diary-lib.el (diary-list-entries, diary-goto-entry)
15599 (diary-show-all-entries, diary-mark-entries, diary-make-entry):
15600 Use default-value of major-mode rather than default-major-mode.
15602 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
15604 * Makefile.in (update-elcfiles): Report left over elc files.
15606 * mail/mailalias.el (build-mail-aliases): Use with-temp-buffer,
15607 expand-file-name and with-current-buffer.
15608 (mail-get-names, mail-directory): Use with-current-buffer.
15610 * vc.el (vc-read-revision): New function.
15611 (vc-version-diff, vc-merge): Use it.
15613 2009-08-27 Sam Steingold <sds@gnu.org>
15615 * simple.el (kill-do-not-save-duplicates): New user option.
15616 (kill-new): When it is non-nil, and the new string is the same as
15617 the latest kill, set replace to t to avoid duplicates in kill-ring.
15619 2009-08-27 Julian Scheid <julians37@gmail.com> (tiny change)
15621 * net/tramp.el (tramp-handle-process-file): Do not flush all
15622 caches when `process-file-side-effects' is set.
15623 (tramp-handle-vc-registered): Use `tramp-get-file-exists-command'
15624 instead of `tramp-find-file-exists-command'.
15625 Unset `process-file-side-effects'.
15627 2009-08-27 Michael Albinus <michael.albinus@gmx.de>
15629 * net/tramp.el (tramp-methods): New method "rsyncc".
15630 (top): Add completion function for "rsyncc".
15631 (tramp-message-show-message): New defvar.
15632 (tramp-message, tramp-error): Use it.
15633 (tramp-do-copy-or-rename-file-directly): Extend check for direct
15635 (tramp-do-copy-or-rename-file-out-of-band): Handle new
15636 `tramp-methods' entry `copy-env' of "rsyncc".
15637 (tramp-vc-registered-read-file-names): New defconst.
15638 (tramp-vc-registered-file-names): New defvar.
15639 (tramp-handle-vc-registered): Implement optimization strategy.
15640 (tramp-run-real-handler): Add `tramp-vc-file-name-handler'.
15641 (tramp-vc-file-name-handler): New defun.
15642 (tramp-get-ls-command, tramp-get-test-command)
15643 (tramp-get-file-exists-command, tramp-get-remote-ln)
15644 (tramp-get-remote-perl, tramp-get-remote-stat)
15645 (tramp-get-remote-id): Remove superfluous `with-current-buffer'.
15647 * net/tramp-cache.el (top): Autoload `tramp-time-less-p'.
15648 (tramp-cache-inhibit-cache): Extend doc string. It allows also
15650 (tramp-get-file-property): Check for timestamps in
15651 `tramp-cache-inhibit-cache'.
15652 (tramp-set-file-property): Write timestamp.
15654 2009-08-27 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
15656 * language/japan-util.el (japanese-symbol-table): Add entries for
15659 * international/characters.el: Add category `j' to cp932-2-byte.
15661 2009-08-27 Kenichi Handa <handa@m17n.org>
15663 * international/fontset.el (build-default-fontset-data): New macro.
15664 (setup-default-fontset): Use build-default-fontset-data for CJK,
15665 tibetan, ethiopic, and ipa.
15667 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
15669 * cus-start.el (default-major-mode): Customize `major-mode' instead.
15670 (enable-multibyte-characters): Not customizable any more.
15672 * subr.el (default-mode-line-format, default-header-line-format)
15673 (default-line-spacing, default-abbrev-mode, default-ctl-arrow)
15674 (default-direction-reversed, default-truncate-lines)
15675 (default-left-margin, default-tab-width, default-case-fold-search)
15676 (default-left-margin-width, default-right-margin-width)
15677 (default-left-fringe-width, default-right-fringe-width)
15678 (default-fringes-outside-margins, default-scroll-bar-width)
15679 (default-vertical-scroll-bar, default-indicate-empty-lines)
15680 (default-indicate-buffer-boundaries, default-fringe-indicator-alist)
15681 (default-fringe-cursor-alist, default-scroll-up-aggressively)
15682 (default-scroll-down-aggressively, default-fill-column)
15683 (default-cursor-type, default-buffer-file-type)
15684 (default-cursor-in-non-selected-windows)
15685 (default-buffer-file-coding-system, default-major-mode)
15686 (default-enable-multibyte-characters): Mark as obsolete.
15688 2009-08-27 Dan Nicolaescu <dann@ics.uci.edu>
15690 * vc-dir.el (vc-dir-update): Remove debug helper.
15692 * vc-cvs.el (vc-cvs-update-changelog): Fix typo.
15694 2009-08-26 Sam Steingold <sds@gnu.org>
15696 * simple.el (save-interprogram-paste-before-kill): New user option.
15697 (kill-new): When `save-interprogram-paste-before-kill' is non-nil,
15698 save the interprogram-paste into kill-ring before overriding it
15699 with the Emacs kill.
15701 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
15703 * vc.el (vc-trunk-p): Rename to vc-rcs-trunk-p and move to vc-rcs.el.
15704 (vc-minor-part): Rename to vc-rcs-minor-part and move to vc-rcs.el.
15705 (vc-default-previous-revision): Rename to vc-rcs-previous-revision
15706 and move to vc-rcs.el.
15707 (vc-default-next-revision): Rename to vc-rcs-next-revision and
15709 (vc-cvs-update-changelog): Move to vc-cvs.el, use vc-call-backend.
15710 (vc-rcs-update-changelog): Remove.
15711 (vc-update-changelog-rcs2log): Rename to vc-rcs-update-changelog
15712 and move to vc-rcs.el.
15714 * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-checkin)
15715 (vc-rcs-checkout, vc-rcs-rollback): Adjust for the vc-rcs-trunk-p
15717 (vc-rcs-trunk-p, vc-rcs-minor-part, vc-rcs-previous-revision)
15718 (vc-rcs-next-revision, vc-rcs-update-changelog): Move here from
15719 vc.el, renamed to be RCS specific.
15721 * vc-cvs.el (vc-cvs-previous-revision, vc-cvs-next-revision):
15723 (vc-cvs-update-changelog): Move here from vc.el.
15725 * vc-sccs.el (vc-sccs-previous-revision, vc-sccs-next-revision):
15728 2009-08-26 Stefan Monnier <monnier@iro.umontreal.ca>
15730 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix up last change.
15732 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
15734 * vc-git.el (vc-git-register): Use "git add" for directories.
15735 (vc-git-stash, vc-git-stash-show): New functions.
15736 (vc-git-extra-menu-map): Bind them.
15738 * vc-dir.el (vc-dir-node-directory, vc-dir-update): Get the parent
15739 directory correctly in case the item is a directory itself.
15741 * vc.el: Document the desired behavior for reverted files in the
15743 (vc-default-prettify-state-info): Remove function, unused.
15745 * vc-bzr.el (vc-bzr-prettify-state-info): Remove function, unused.
15747 2009-08-26 Glenn Morris <rgm@gnu.org>
15749 * bindings.el (standard-mode-line-format): Reposition dashes in
15750 which-func entry. (Bug#4217)
15752 * files.el (enable-local-variables, enable-local-eval)
15753 (safe-local-variable-values, safe-local-eval-forms): Mark as risky in
15755 (auto-mode-alist, ignored-local-variables)
15756 (save-some-buffers-action-alist): Move risky declarations to the
15758 (dabbrev-case-fold-search, dabbrev-case-replace, display-time-string)
15759 (font-lock-defaults, format-alist, imenu--index-alist)
15760 (imenu-generic-expression, input-method-alist, minor-mode-alist)
15761 (mode-line-buffer-identification, mode-line-client, mode-line-modes)
15762 (mode-line-modified, mode-line-mule-info, mode-line-position)
15763 (mode-line-process, mode-line-remote, outline-level)
15764 (parse-time-rules, rmail-output-file-alist)
15765 (special-display-buffer-names, vc-mode):
15766 Move risky declarations to the relevant files.
15767 * bindings.el (mode-line-client, mode-line-mule-info, mode-line-remote)
15768 (mode-line-modified, mode-line-process, mode-line-position)
15769 (mode-line-modes, mode-line-buffer-identification, minor-mode-alist)
15770 * font-core.el (font-lock-defaults):
15771 * format.el (format-alist):
15772 * vc-hooks.el (vc-mode):
15773 * window.el (special-display-buffer-names):
15774 * international/mule-cmds.el (input-method-alist):
15775 Define riskiness here (dumped file) rather than in files.el.
15776 * dabbrev.el (dabbrev-case-fold-search, dabbrev-case-replace):
15777 * imenu.el (imenu-generic-expression, imenu--index-alist):
15778 * outline.el (outline-level):
15779 * time.el (display-time-string):
15780 * calendar/parse-time.el (parse-time-rules):
15781 * mail/rmailout.el (rmail-output-file-alist):
15782 Autoload riskiness here, rather than placing in files.el.
15784 2009-08-26 Andreas Schwab <schwab@linux-m68k.org>
15786 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Signal overflow.
15788 2009-08-25 Michael Albinus <michael.albinus@gmx.de>
15790 * simple.el (process-file-side-effects): New defvar.
15792 * dired-aux.el (dired-show-file-type):
15793 * vc.el (vc-diff-internal):
15794 * vc-arch.el (vc-arch-diff):
15795 * vc-bzr.el (vc-bzr-sha1, vc-bzr-revision-completion-table):
15796 * vc-cvs.el (vc-cvs-state, vc-cvs-diff, vc-cvs-revision-table):
15797 * vc-git.el (vc-git-registered, vc-git-working-revision)
15798 (vc-git-find-revision, vc-git-diff, vc-git-revision-table)
15799 (vc-git--empty-db-p):
15800 * vc-hooks.el (vc-user-login-name):
15801 * vc-svn.el (vc-svn-registered, vc-svn-state)
15802 (vc-svn-dir-extra-headers, vc-svn-find-revision):
15803 * progmodes/grep.el (grep-probe): Let-bind
15804 `process-file-side-effects' with nil.
15806 * net/dbus.el (dbus-ping): Add optional parameter TIMEOUT.
15808 * net/tramp-gvfs.el (top): Use timeout of 100 msec pinging GVFS
15809 daemon. Replace ping by checking for running service for bluez
15810 and zeroconf. (Bug#4239)
15812 2009-08-25 Kevin Ryde <user42@zip.com.au>
15814 * net/dig.el (dig): Add autoload cookie.
15816 2009-08-25 Glenn Morris <rgm@gnu.org>
15818 * emacs-lisp/bytecomp.el (byte-compile-eval): Fix test for cl in
15819 load-history for absolute file-names.
15820 (byte-compile-file-form-require): Warn about use of the cl package.
15822 * format.el (format-alist): Doc fix.
15824 * play/bubbles.el (top-level): Don't require cl at run-time.
15826 * progmodes/verilog-mode.el (top-level): Don't require lucid (and hence
15829 2009-08-24 Dmitry Dzhus <dima@sphinx.net.ru>
15831 * progmodes/gdb-mi.el (gdb-mapcar*): Replacement for `mapcar*'
15833 (gdb-table-add-row, gdb-table-string): Use `gdb-mapcar*'.
15835 2009-08-24 Jay Belanger <jay.p.belanger@gmail.com>
15837 * calc/calc-alg.el (math-trig-rewrite)
15838 (math-hyperbolic-trig-rewrite): New functions.
15839 (calc-simplify): Simplify trig functions when asked.
15841 2009-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
15843 * diff-mode.el (diff-find-source-location): Avoid goto-line.
15845 2009-08-24 Kenichi Handa <handa@m17n.org>
15847 * language/ind-util.el (mapthread): Delete it.
15848 (combinatorial): New function.
15849 (indian--puthash-cv): Use combinatorial instead of mapthread.
15851 2009-08-22 Kevin Ryde <user42@zip.com.au>
15853 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag)
15854 (checkdoc-arguments-in-order-flag): Add safe-local-variable booleanp.
15855 (checkdoc-symbol-words): Add safe-local-variable for list of strings.
15856 Clarify docstring that the value is strings not symbols.
15857 (checkdoc-list-of-strings-p): New function.
15859 2009-08-22 Glenn Morris <rgm@gnu.org>
15861 * files.el (auto-mode-alist):
15862 * hippie-exp.el (he-concat-directory-file-name):
15863 * lpr.el (lpr-windows-system, printer-name):
15864 * ls-lisp.el (ls-lisp-emulation, ls-lisp-use-insert-directory-program):
15865 * ps-print.el (ps-windows-system):
15866 * startup.el (command-line):
15867 * emulation/viper-ex.el (viper-glob-function):
15868 * international/mule-cmds.el (set-language-environment-coding-systems):
15869 * net/ange-ftp.el (ange-ftp-write-region):
15870 * obsolete/fast-lock.el (fast-lock-cache-name):
15871 Remove code for defunct system-types emx, macos, mswindows, next-mach,
15872 unisoft-unix, vax-vms, win32, w32.
15874 * calendar/diary-lib.el (diary-mark-entries-1): Only mark all days of a
15875 given name if the pattern is not more specific.
15877 * calendar/lunar.el (lunar-phase-names): New option.
15878 (lunar-phase): Doc fix.
15879 (lunar-cycles-per-year): New constant.
15880 (lunar-index): New function.
15881 (lunar-phase-list, diary-lunar-phases): Use lunar-index.
15882 (lunar-phase-name): Use lunar-phase-names.
15883 (calendar-lunar-phases): Use format.
15884 (lunar-new-moon-on-or-after): Use lunar-cycles-per-year.
15886 * progmodes/cperl-mode.el (cperl-imenu-name-and-position):
15887 Copy imenu-example--name-and-position function here for own use.
15888 (cperl-xsub-scan): Use cperl-imenu-name-and-position.
15890 * bs.el (bs--redisplay):
15891 * cus-edit.el (custom-redraw):
15892 * ibuffer.el (ibuffer-bury-buffer):
15893 * server.el (server-goto-line-column):
15894 * startup.el (command-line-1):
15895 * strokes.el (strokes-xpm-for-stroke):
15896 * term.el (term-display-buffer-line):
15897 * view.el (View-goto-line):
15898 * calc/calc.el (calc-do, calc-trail-buffer):
15899 * play/gamegrid.el (gamegrid-add-score-insecure):
15900 * progmodes/ada-mode.el (ada-compile-goto-error):
15901 * progmodes/ada-xref.el (ada-xref-find-in-modified-ali):
15902 (ebrowse-select-1st-to-9nth):
15903 * progmodes/cperl-mode.el (cperl-time-fontification):
15904 * progmodes/ebrowse.el (ebrowse-toggle-file-name-display)
15905 * progmodes/gud.el (gud-display-line):
15906 (idlwave-shell-display-line):
15907 * progmodes/idlw-shell.el (idlwave-shell-goto-frame)
15908 * progmodes/make-mode.el (makefile-browser-toggle):
15909 (vhdl-speedbar-port-copy, vhdl-compose-components-package):
15910 * progmodes/vhdl-mode.el (vhdl-speedbar-find-file)
15911 * textmodes/picture.el (picture-draw-rectangle):
15912 * textmodes/reftex-index.el (reftex-index-goto-letter):
15913 (reftex-select-jump-to-previous):
15914 * textmodes/reftex-sel.el (reftex-find-start-point)
15915 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-restore-region):
15916 (rst-straighten-deco-spacing, rst-section-tree, rst-toc):
15917 * textmodes/rst.el (rst-promote-region, rst-straighten-decorations)
15918 * textmodes/tex-mode.el (tex-compilation-parse-errors):
15919 * textmodes/two-column.el (2C-associated-buffer):
15920 Use forward-line rather than goto-line.
15922 * emulation/vi.el (vi-goto-line): Don't warn about non-interactive
15925 * international/ucs-normalize.el (nfd, decomposition-translation-alist)
15926 (decomposition-char-recursively, alist-list-to-vector, quick-check-list)
15927 (quick-check-list-to-regexp): Declare.
15929 * progmodes/make-mode.el (makefile-browser-insert-selection):
15930 Use goto-char rather than goto-line.
15932 * progmodes/prolog.el (compilation-error-regexp-alist)
15933 (compilation-forget-errors): Declare.
15935 2009-08-22 Juri Linkov <juri@jurta.org>
15937 * progmodes/grep.el (lgrep, rgrep): At the beginning
15938 set `dir' to `default-directory' unless `dir' is a non-nil
15939 readable directory. (Bug#4052)
15940 (lgrep, rgrep): Change a weird way to report an error
15941 from using `read-string' to using `error'.
15942 Instead of using interactive arguments in the function body,
15943 add new argument `confirm'.
15945 2009-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
15947 * textmodes/remember.el (remember-buffer):
15948 * progmodes/cperl-mode.el (cperl-vc-header-alist):
15949 * calendar/icalendar.el (icalendar-convert-diary-to-ical)
15950 (icalendar-extract-ical-from-buffer):
15951 * net/newst-treeview.el (newsticker-groups-filename):
15952 * net/newst-backend.el (newsticker-cache-filename):
15953 * speedbar.el (speedbar-update-speed, speedbar-navigating-speed)
15954 (speedbar-ignored-path-expressions, speedbar-ignored-path-regexp)
15955 (speedbar-add-ignored-path-regexp, speedbar-line-path)
15956 (speedbar-buffers-line-path, speedbar-path-line)
15957 (speedbar-buffers-line-path):
15958 * epg.el (epg-passphrase-callback-function, epg-start-sign-keys)
15960 * epa.el (epa-display-verify-result):
15961 * progmodes/pascal.el (pascal-outline): Add version of obsolescence.
15963 2009-08-21 Glenn Morris <rgm@gnu.org>
15965 * progmodes/js.el (inferior-moz-process): Fix declaration.
15967 * imenu.el (imenu-example--name-and-position): Fix obsolescence message.
15969 * obsolete/rnewspost.el (news-mail-reply):
15970 Use goto-char rather than goto-line.
15972 * term/ns-win.el (ns-open-file-select-line):
15973 Use line-beginning-position rather than goto-line.
15975 * apropos.el (apropos-command):
15976 * ehelp.el (electric-helpify):
15977 * printing.el (pr-show-setup):
15978 * strokes.el (strokes-help):
15979 * tutorial.el (tutorial--describe-nonstandard-key)
15980 (tutorial--detailed-help):
15981 * woman.el (woman-mini-help, woman-display-extended-fonts):
15982 * calc/calc-help.el (calc-describe-key):
15983 * emulation/edt.el (edt-electric-helpify):
15984 * international/mule-diag.el (mule-diag):
15985 * play/yow.el (apropos-zippy):
15986 * progmodes/python.el (python-describe-symbol):
15987 * progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode):
15988 * textmodes/table.el (*table--cell-describe-mode)
15989 (*table--cell-describe-bindings):
15990 Use help-print-return-message rather than the now obsolete alias.
15992 * calendar/cal-move.el (calendar-cursor-to-nearest-date)
15993 (calendar-cursor-to-visible-date):
15994 * play/5x5.el (5x5-position-cursor):
15995 * play/decipher.el (decipher):
15996 * play/gomoku.el (gomoku-goto-xy):
15997 * play/landmark.el (lm-goto-xy):
15998 * play/mpuz.el (mpuz-paint-errors, mpuz-paint-statistics)
15999 (mpuz-paint-digit):
16000 Use forward-line, not goto-line.
16002 * mail/rmail.el (rmail-obsolete): Delete custom group.
16003 (rmail-pop-password, rmail-pop-password-required): Make into aliases.
16004 (rmail-remote-password, rmail-remote-password-required):
16005 Remove unneeded :set-after and :set properties.
16007 2009-08-21 Michael Albinus <michael.albinus@gmx.de>
16009 * net/dbus.el (top): Initialize only when `dbusbind' is loaded.
16011 2009-08-21 Dan Nicolaescu <dann@ics.uci.edu>
16013 * loadup.el: Remove leftover macos code.
16015 * vc-git.el (vc-git-annotate-command): Run asynchronously.
16016 Explicitly pass the date format to git blame so that user local
16017 so that the output format can be parsed.
16019 2009-08-20 Michael Albinus <michael.albinus@gmx.de>
16021 * net/dbus.el (top): Don't check for (getenv
16022 "DBUS_SESSION_BUS_ADDRESS"). It's done in dbusbind.c now.
16024 2009-08-19 Magnus Henoch <magnus.henoch@gmail.com>
16026 * log-edit.el (log-edit-strip-single-file-name): New var.
16027 (log-edit-insert-changelog): Use it. Bug#3571
16029 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
16031 * subr.el (read-passwd): Use read-key so keypad keys work as well.
16034 * help.el (help-print-return-message): Rename from
16035 print-help-return-message.
16037 * log-view.el (log-view-mode-map): Remove `q' binding, and unreliable
16038 cvs-mode-map parent hack.
16039 (log-view-mode): Derive from special-mode.
16041 * linum.el (linum-mode): window-size-change-functions is redundant.
16042 Adapt to new window-configuration-change-hook behavior.
16043 (linum-after-size, linum-after-config): Remove.
16045 * imenu.el (imenu-example--name-and-position)
16046 (imenu-example--lisp-extract-index-name)
16047 (imenu-example--create-lisp-index, imenu-example--create-c-index):
16050 * progmodes/prolog.el (inferior-prolog-error-regexp-alist): New var.
16051 (inferior-prolog-mode): Use it.
16052 (inferior-prolog-load-file): Reset list of errors.
16054 2009-08-19 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
16056 * language/tibetan.el ("Tibetan"): Fix sample-text entry.
16058 * language/tai-viet.el ("TaiViet"): Fix sample-text entry.
16060 2009-08-19 Michael Albinus <michael.albinus@gmx.de>
16062 * net/dbus.el (top): Apply `dbus-init-bus' only if the session bus
16063 is running already.
16065 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
16067 * subr.el (listify-key-sequence-1): Use normal syntax since those
16068 integers are nowadays always represented by the same (positive) number
16070 (read-key-empty-map): New const.
16071 (read-key-delay): New var.
16072 (read-key): New function.
16073 (force-mode-line-update): Use with-current-buffer.
16074 (locate-user-emacs-file): Don't forget to abbreviate the file name.
16075 (start-process-shell-command, start-file-process-shell-command):
16076 Discourage the use of command-args.
16078 2009-08-19 Glenn Morris <rgm@gnu.org>
16080 * emacs-lisp/authors.el (authors-fixed-entries): Remove cvtmail.
16082 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
16084 * simple.el (choose-completion-string): Don't rely on
16085 minibuffer-completing-file-name and ad-hoc checks to decide whether
16086 to continue completion or not.
16088 * minibuffer.el (minibuffer-hide-completions): New function.
16089 (completion--do-completion): Use it.
16090 (completions-annotations): New face.
16091 (completion--insert-strings): Use it.
16092 (completion-pcm--delim-wild-regex): Add docstring.
16093 (completion-pcm--string->pattern): Add support for 0-width delimiters
16094 in completion-pcm--delim-wild-regex.
16096 2009-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
16098 * international/ucs-normalize.el (ucs-normalize-hfs-nfd-post-read-conversion):
16099 Remove unused var `buffer-modified-p'.
16101 * minibuffer.el (completion--do-completion): Move point for the #b001
16102 case as well (bug#4176).
16103 (minibuffer-complete, minibuffer-complete-word): Don't move point.
16105 2009-08-18 Michael Albinus <michael.albinus@gmx.de>
16107 * net/dbus.el (dbus-init-bus): Declare. Apply it for the :system
16108 and :session buses.
16110 2009-08-18 Kenichi Handa <handa@m17n.org>
16112 * international/ucs-normalize.el (ucs-normalize-version):
16114 (ucs-normalize-hfs-nfd-pre-write-conversion): New function.
16115 (utf-8-hfs): Make it perform normalization on encoding too.
16117 * textmodes/paragraphs.el: Change to utf-8. Adjust coding cookie.
16118 (sentence-end-without-space): Delete duplicated chars.
16119 (sentence-end-base): Likewise.
16121 * textmodes/sgml-mode.el: Change to utf-8. Adjust coding cookie.
16122 (html-mode): Delete duplicated chars from sentence-end-base.
16124 * textmodes/texinfo.el: Change to utf-8. Adjust coding cookie.
16125 (texinfo-mode): Delete duplicated chars from sentence-end-base.
16127 2009-08-17 Chong Yidong <cyd@stupidchicken.com>
16129 * files.el (hack-one-local-variable): If the mode function is for
16130 a minor mode, pass it an argument (Bug#4148).
16132 2009-08-17 Michael Albinus <michael.albinus@gmx.de>
16134 * net/tramp.el (tramp-register-completion-file-name-handler):
16135 Check also for (member 'partial-completion completion-styles).
16137 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
16139 * progmodes/cperl-mode.el (cperl-electric-paren): Don't expand
16142 2009-08-16 Ilya Zakharevich <ilyaz@cpan.org>
16144 * progmodes/cperl-mode.el: Merge upstream 6.2.
16145 (cperl-mode-syntax-table): Modify syntax entry for ["'`].
16146 (cperl-forward-re): Check cperl-brace-recursing.
16147 (cperl-highlight-charclass): New function.
16148 (cperl-find-pods-heres): Use it.
16149 (cperl-fill-paragraph): Synch to save-excursion placement used upstream.
16150 (cperl-beautify-regexp-piece): Fix column calculation.
16151 (cperl-make-regexp-x): Handle case where point is between "q" and "rs".
16152 (cperl-beautify-level): Don't process entire regexp.
16153 (cperl-build-manpage, cperl-perldoc): Bind Man-switches before
16155 (cperl-tips-faces, cperl-mode, cperl-electric-backspace): Doc fix.
16156 (cperl-init-faces): Build a list in the normal way.
16158 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
16160 * calendar/parse-time.el (parse-time-string-chars): Save match
16163 2009-08-16 Stefan Monnier <monnier@iro.umontreal.ca>
16165 * progmodes/sql.el (sql-product-alist): Add :name tag to entries.
16166 (sql-product): Use it.
16167 (sql-mode-menu): Auto-generate the menu based on sql-product-alist.
16168 (sql-set-product): Add completion.
16169 (sql-highlight-oracle-keywords, sql-highlight-postgres-keywords)
16170 (sql-highlight-linter-keywords, sql-highlight-ms-keywords)
16171 (sql-highlight-ansi-keywords, sql-highlight-sybase-keywords)
16172 (sql-highlight-informix-keywords, sql-highlight-interbase-keywords)
16173 (sql-highlight-ingres-keywords, sql-highlight-solid-keywords)
16174 (sql-highlight-mysql-keywords, sql-highlight-sqlite-keywords)
16175 (sql-highlight-db2-keywords): Remove.
16176 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
16177 (sql-highlight-product): Use derived-mode-p.
16178 (sql-set-sqli-buffer): Use with-current-buffer.
16179 (sql-connect-informix, sql-connect-ingres, sql-connect-oracle):
16182 * emacs-lisp/lisp-mode.el (lisp-indent-region): Remove unused function.
16184 * term.el: Fix commenting convention, turn comments into docstrings.
16186 2009-08-16 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
16188 * whitespace.el (whitespace-style): Doc fix (Bug#3661).
16190 2009-08-16 Jan Seeger <jan.seeger@thenybble.de> (tiny change)
16192 * calendar/parse-time.el (parse-time-string-chars): Compute using
16193 character classes, to handle non-ascii characters (Bug#3190).
16195 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
16197 * progmodes/sh-script.el (sh-maybe-here-document): Avoid inserting
16198 another heredoc if the user adds another < (Bug#3226).
16200 * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
16201 Don't initialize based on window-system (Bug#4124).
16203 * facemenu.el (facemenu-read-color): Use a completion function
16204 that accepts any defined color, such as RGB triplets (Bug#3677).
16206 * files.el (get-free-disk-space): Change fallback default
16207 directory to /. Expand DIR argument before switching to fallback.
16208 Suggested by Kevin Ryde (Bug#2631, Bug#3911).
16210 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
16212 * files.el (load-library): Doc fix.
16214 2009-08-15 Michael Kifer <kifer@cs.stonybrook.edu>
16216 * emulation/viper-cmd.el (viper-insert-isearch-string): New function.
16217 (viper-if-string): Redefine C-s in the minibuffer to insert the last
16218 incremental search string.
16220 * ediff-init.el (ediff-coding-system): Use escape-quoted in case of
16223 * ediff-merg.el (ediff-merge-region-is-non-clash-to-skip)
16224 (ediff-merge-region-is-non-clash)
16225 (ediff-skip-merge-region-if-changed-from-default-p): Use defun.
16226 Also check if the job is really a merge job.
16228 * ediff.el (ediff-current-file): New function.
16230 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
16232 * progmodes/js.el: Edit docstrings throughout to follow Emacs
16234 (js-insert-and-indent): Delete function.
16235 (js-mode-map): Don't bind keys to js-insert-and-indent.
16236 (js-beginning-of-defun): Rename from js--beginning-of-defun.
16237 (js-end-of-defun): Rename from js--end-of-defun.
16238 (js-auto-indent-flag): Delete variable.
16240 2009-08-14 Chong Yidong <cyd@stupidchicken.com>
16242 * progmodes/js.el: Remove proclaim statement.
16243 Defvar which-func-imenu-joiner-function to silence compiler.
16245 * files.el (auto-mode-alist): Use js-mode for .js files.
16247 * progmodes/js2-mode.el: Remove file.
16249 * Makefile.in (ELCFILES): Add js.el, and remove js2-mode.el.
16251 * speedbar.el (speedbar-supported-extension-expressions): Add .js.
16253 * progmodes/hideshow.el (hs-special-modes-alist): Add js-mode entry.
16255 2009-08-14 Daniel Colascione <dan.colascione@gmail.com>
16256 Karl Landstrom <karl.landstrom@brgeight.se>
16258 * progmodes/js.el: New file.
16260 2009-08-14 Mark A. Hershberger <mah@everybody.org>
16262 * timezone.el (timezone-parse-date): Add ability to understand ISO
16263 basic format (minimal separators) dates in addition to the
16264 already-supported extended format dates.
16266 2009-08-14 Eli Zaretskii <eliz@gnu.org>
16268 * international/ucs-normalize.el: Add a `coding' file variable.
16270 * Makefile.in (ELCFILES): Add international/ucs-normalize.elc.
16272 2009-08-14 Sam Steingold <sds@gnu.org>
16274 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
16276 2009-08-13 Chong Yidong <cyd@stupidchicken.com>
16278 * faces.el (help-argument-name): Define it here instead of
16279 help-fns.el, because in daemon mode help-fns.el may be loaded when
16280 faces are still uninitialized (Bug#1078).
16282 * help-fns.el (help-argument-name): Move defface to faces.el.
16284 2009-08-13 Nick Roberts <nickrob@snap.net.nz>
16286 * progmodes/gdb-mi.el (gdb-inferior-io-mode): Use start-process to
16287 create buffer with a pty but no process so that GDB can make the
16288 inferior the controlling process.
16290 2009-08-13 Taichi Kawabata <kawabata.taichi@gmail.com>
16292 * international/ucs-normalize.el: New file.
16294 2009-08-13 Richard Stallman <rms@gnu.org>
16296 * mail/rmail.el (rmail-get-attr-names):
16297 Accept an attribute header that is too short.
16299 * mail/rmail.el (rmail-forget-messages):
16300 Ignore nil elt in rmail-message-vector. Use dotimes.
16302 * progmodes/compile.el (compilation-goto-locus):
16303 Use next-error-move-function.
16305 * simple.el (next-error-move-function): New variable.
16307 2009-08-12 Juri Linkov <juri@jurta.org>
16309 * progmodes/grep.el (lgrep): Ensure that `default-directory' is
16310 always non-nil. (Bug#4052)
16312 * replace.el (read-regexp): Return empty string when
16313 `default-value' is nil.
16314 (keep-lines-read-args): Don't use empty string as the
16315 default value for `read-regexp'. (Bug#2495)
16317 2009-08-12 Juri Linkov <juri@jurta.org>
16319 * international/mule-cmds.el (ucs-insert): Change arguments
16320 from `arg' to `character', `count', `inherit' to be the same
16321 as in `insert-char'. Doc fix. (Bug#4039)
16323 * international/mule-conf.el (utf-16be-with-signature): Doc fix.
16325 2009-08-12 Juri Linkov <juri@jurta.org>
16327 * files-x.el: New file.
16329 * files.el: Move code that deals with adding/deleting
16330 file/directory-local variables to files-x.el.
16332 * Makefile.in (ELCFILES): Add files-x.elc.
16334 2009-08-11 Dmitry Dzhus <dima@sphinx.net.ru>
16336 * progmodes/gdb-mi.el (gdb-line-posns): New helper which helps not
16337 to use `goto-line'.
16338 (gdb-place-breakpoints, gdb-get-location): Rewritten without
16340 (gdb-invalidate-disassembly): Do not refresh upon receiving
16341 'update signal. Instead, update all disassembly buffers only after
16343 (gdb): Send -target-detach when buffer is killed (Bug#3794).
16344 (gdb-starting): Moved -data-list-register-names...
16345 (gdb-stopped): ...here so it's sent when first thread stops.
16346 (gdb-registers-handler-custom): Do nothing if register names are
16349 * progmodes/gud.el (gud-stop-subjob): Rewritten without macros
16350 from `gdb-mi.el' to avoid extra tangling.
16352 * progmodes/gdb-mi.el (gdb-gud-context-call): Reverting previous
16353 change which breaks `gud-def' definitions used in `gdb'.
16354 (gdb-update-gud-running): No extra fuss for updating frame number.
16356 2009-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
16358 * international/mule-cmds.el (mule-keymap, mule-menu-keymap)
16359 (describe-language-environment-map, setup-language-environment-map)
16360 (set-coding-system-map): Move initialization into declaration.
16361 (set-language-info-alist): Last arg to define-key-after can be skipped.
16363 * international/quail.el (quail-completion-1): Simplify.
16364 (quail-define-rules): Use slightly more compact code.
16365 (quail-insert-decode-map): Propertize keys, compact columns.
16367 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
16370 2009-08-10 Miles Bader <miles@gnu.org>
16372 * progmodes/js2-mode.el (js2-warning, js2-error, js2-jsdoc-tag)
16373 (js2-jsdoc-type, js2-jsdoc-value, js2-function-param)
16374 (js2-instance-member, js2-private-member, js2-private-function-call)
16375 (js2-jsdoc-html-tag-name, js2-jsdoc-html-tag-delimiter)
16376 (js2-magic-paren, js2-external-variable):
16377 Remove "-face" suffix from face names.
16378 (js2-jsdoc-highlight-helper, js2-highlight-jsdoc)
16379 (js2-highlight-undeclared-vars, js2-peek-token)
16380 (js2-parse-function-params, js2-mode-show-errors)
16381 (js2-mode-show-warnings, js2-make-magic-delimiter)
16382 (js2-mode-highlight-magic-parens): Update to use new face names.
16384 2009-08-09 Michael Albinus <michael.albinus@gmx.de>
16386 * net/tramp.el (tramp-get-ls-command-with-dired): New defun.
16387 (tramp-handle-insert-directory): Handle "--dired". (Bug#4075)
16389 2009-08-09 Chong Yidong <cyd@stupidchicken.com>
16391 * subr.el: Provide hashtable-print-readable.
16393 * progmodes/hideshow.el (hs-special-modes-alist): Don't use
16394 hs-c-like-adjust-block-beginning.
16395 (hs-hide-block-at-point): Stop hiding at the beginning of
16396 hs-block-end-regexp (Bug#700).
16398 2009-08-09 Dmitry Dzhus <dima@sphinx.net.ru>
16400 * progmodes/gdb-mi.el (gdb-gud-context-call): Does not need to be
16402 (gdb-registers-handler-custom): Do not fail when register names
16405 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
16407 * progmodes/gdb-mi.el (gdb-control-all-threads)
16408 (gdb-control-current-thread): Interactive setters for
16409 `gdb-gud-control-all-threads' to use in menu.
16410 (gdb-show-run-p): Show «Go» when process is not active.
16411 (gud-tool-bar-map): Add non-stop/A,T indicator. Uses
16412 gud/thread.xpm and gud/all.xpm.
16414 2009-08-08 Yoni Rabkin <yoni@rabkins.net>
16416 * net/net-utils.el (net-utils-font-lock-keywords): New var.
16417 (nslookup-font-lock-keywords): Make it a variable.
16418 (net-utils-mode): New mode for viewing diagnostic network output.
16419 (net-utils-remove-ctrl-m-filter): Set inhibit-read-only.
16420 (net-utils-run-simple): New function.
16421 (ifconfig, iwconfig, netstat, arp, route): Use it.
16423 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
16425 * progmodes/gdb-mi.el (gdb-read-memory-custom)
16426 (gdb-memory-set-address, def-gdb-set-positive-number)
16427 (def-gdb-memory-format, def-gdb-memory-unit): Update memory buffer
16428 after changing settings.
16429 (gdb-invalidate-disassembly): Update when first shown.
16430 (gdb-edit-locals-value): Fixed.
16431 (gdb-registers-handler-custom): Print registers in right order and
16432 allow changing register values (only for current thread yet).
16433 (gdb-breakpoints-mode-map): Don't assume threads buffer is present.
16434 (gdb-threads-mode-map): Don't assume breakpoints buffer is present.
16435 (gdb-disassembly-handler-custom, gdb-stack-list-frames-custom)
16436 (gdb-locals-handler-custom, gdb-registers-handler-custom): Thread
16438 (gdb-registers-mode-map): TAB to switch to locals.
16440 2009-08-08 Eli Zaretskii <eliz@gnu.org>
16442 * mail/rmail.el (rmail-add-mbox-headers)
16443 (rmail-set-message-counters-counter): Search for
16444 rmail-unix-mail-delimiter instead of just "From ". (Bug#4076)
16446 2009-08-08 Glenn Morris <rgm@gnu.org>
16448 * Makefile.in (ELCFILES): Update.
16450 2009-08-07 Eli Zaretskii <eliz@gnu.org>
16452 * mail/sendmail.el (mail-yank-original): Set
16453 buffer-file-coding-system from the one used by the message whose
16456 * calc/calc-graph.el (calc-graph-plot): Set calc-graph-last-device
16457 to "windows" when "pgnuplot" is used.
16458 (calc-graph-command, calc-gnuplot-command, calc-graph-init): Don't
16459 call accept-process-output if "pgnuplot" is used.
16460 (calc-graph-init): Don't send -display and -geometry to
16461 "pgnuplot". If "pgnuplot" is used, glean gnuplot version by
16462 running "pgnuplot -V" with shell-command-to-string.
16464 * calc/calc.el (calc-gnuplot-name) [windows-nt]: Use "pgnuplot" as
16467 2009-08-07 Eli Zaretskii <eliz@gnu.org>
16469 * Makefile.in (ELCFILES): org/org-export-latex.elc renamed to
16472 2009-08-07 Dan Nicolaescu <dann@ics.uci.edu>
16474 * vc-dispatcher.el (vc-resynch-window): Update comment.
16476 * term.el (term-handle-ansi-escape): Add comments with the
16477 terminfo capabilities implemented.
16479 2009-08-06 Dmitry Dzhus <dima@sphinx.net.ru>
16481 * progmodes/gdb-mi.el (gdb-var-create-regexp): Removed.
16482 (gdb-var-create-handler): Rewritten using JSON parser.
16483 (gdb-propertize-header): Moved earlier.
16484 (gdb-set-header): Removed to avoid duplication.
16485 (gdb-thread-list-handler-custom, gdb-invalidate-disassembly):
16486 Refresh disassembly buffers only after threads list have been
16488 (gdb-threads-header, gdb-registers-header): Per-buffer header line
16491 2009-08-04 Juri Linkov <juri@jurta.org>
16493 * files.el: Commands to add/delete file/directory-local variables.
16494 (read-file-local-variable, read-file-local-variable-value)
16495 (read-file-local-variable-mode, modify-file-local-variable)
16496 (modify-file-local-variable-prop-line)
16497 (modify-dir-local-variable): New functions.
16498 (add-file-local-variable, delete-file-local-variable)
16499 (add-file-local-variable-prop-line, delete-file-local-variable-prop-line)
16500 (add-dir-local-variable, delete-dir-local-variable)
16501 (copy-file-locals-to-dir-locals, copy-dir-locals-to-file-locals)
16502 (copy-dir-locals-to-file-locals-prop-line): New commands.
16504 2009-08-04 Chong Yidong <cyd@stupidchicken.com>
16506 * abbrev.el (insert-abbrev-table-description): Prettify output.
16507 Suggested by Karl Chen.
16509 2009-08-04 Dmitry Dzhus <dima@sphinx.net.ru>
16511 * progmodes/gdb-mi.el (gdb-frame-number): Initialize with nil.
16512 (gdb-overlay-arrow-position): Rename to `gdb-disassembly-position'.
16513 (gdb-overlay-arrow-position, gdb-thread-position)
16514 (gdb-disassembly-position): Declare variables.
16515 (gdb-wait-for-pending): Function now.
16516 (gdb-add-subscriber, gdb-delete-subscriber, gdb-get-subscribers)
16517 (gdb-emit-signal, gdb-buf-publisher): Declare before first use so
16518 compilation goes smoothly.
16519 (gdb, gdb-non-stop, gdb-buffers): New customization groups.
16520 (gdb-non-stop-setting): New customization setting which replaces
16521 `gdb-non-stop' so changing it doesn't break active GDB session.
16522 (gdb-stack-buffer-locations, gdb-stack-buffer-addresses)
16523 (gdb-thread-buffer-verbose-names, gdb-thread-buffer-arguments)
16524 (gdb-thread-buffer-locations, gdb-thread-buffer-addresses)
16525 (gdb-show-threads-by-default): New customization options.
16526 (gdb-buffer-type, gdb-buffer-shows-main-thread-p): New helper
16528 (gdb-get-buffer-create): Send buffers update signal when they are
16530 (gdb-invalidate-locals, gdb-invalidate-registers)
16531 (gdb-invalidate-breakpoints)
16532 (gdb-invalidate-threads, gdb-invalidate-disassembly)
16533 (gdb-invalidate-memory): Accept update signal.
16534 (gdb-current-context-command): Use --frame option.
16535 (gdb-update-gud-running, gdb-running, gdb-setq-thread-number):
16536 Implement `gdb-frame-number' selection logic.
16537 (gdb-show-run-p, gdb-show-stop-p): Helper functions which decide
16538 whether to show GUD toolbar buttons.
16539 (gdb-thread-exited): Unselect current thread when it exits.
16540 (gdb-stopped): Typo fixed (now really runs `gdb-stopped-hooks').
16541 (gdb-mark-line): Routine which sets overlay arrow or inverses
16542 video on fringeless displays.
16543 (gdb-table, gdb-table-add-row, gdb-table-string): Structure used
16544 to build aligned columns of data in GDB buffers and set text
16545 properties line-by-line.
16546 (gdb-invalidate-breakpoints)
16547 (gdb-breakpoints-list-handler-custom)
16548 (gdb-thread-list-handler-custom, gdb-disassembly-handler-custom)
16549 (gdb-stack-list-frames-custom, gdb-locals-handler-custom)
16550 (gdb-registers-handler-custom): Align data columns.
16551 (gdb-locals-handler-custom): Now prints data like in variable
16553 (gdb-jump-to, gdb-file-button, gdb-insert-file-location-button):
16554 Removed confusing buttons.
16555 (gdb-invalidate-threads): Append --frame.
16556 (gdb-threads-mode-map, gdb-breakpoints-mode-map): TAB to switch
16557 between breakpoints/threads buffers.
16558 (gdb-set-window-buffer): Now can ignore dedicated windows.
16559 (gdb-propertize-header): Use `gdb-set-window-buffer'.
16560 (def-gdb-thread-buffer-simple-command): Numerous typos fixed.
16561 (def-gdb-thread-buffer-gud-command): Replaces
16562 `def-gdb-thread-buffer-gdb-command' and uses standard GUD commands
16563 for fine thread control.
16564 (gdb-preempt-existing-or-display-buffer): New function used to
16565 display bound buffers without breaking window layout.
16566 (gdb-frame-location): Replaces `gdb-insert-frame-location'.
16567 (gdb-select-frame): New version of `gdb-frames-select' which now
16568 sets `gdb-frame-number' so commands may use --frame option instead
16569 of inner debugger state.
16570 (gdb-frame-handler): Do not set `gdb-frame-number'.
16571 (gdb-threads-mode-map): Select threads with mouse.
16573 * progmodes/gud.el (gdb-gud-context-call): Declare function to
16574 avoid compilation warning.
16575 (gud-menu-map, gud-minor-mode-map): Use `gdb-show-run-p` and
16578 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create):
16579 Argument `key' renamed to `buffer-type'.
16580 (gdb-current-context-buffer-name): Do not add thread info to
16581 buffer name when no thread is selected.
16582 (gdbmi-record-list, gdb-shell): Try to handle GDB `shell'
16583 command (bug 3794).
16584 (gdb-thread-selected): Handle `=thread-selected' notification.
16585 (gdb-wait-for-pending): New macro to deal with congestion problems.
16586 (gdb-breakpoints-list-handler-custom): Don't fail on pending
16588 (gdb-invalidate-disassembly): Use 'fullname instead of 'file.
16589 This fixes problem similar to one described in bug 3947.
16590 (gud-menu-map): More menu items.
16591 (gdb-init-1): Reset `gdb-thread-number' to nil.
16593 * progmodes/gud.el (gud-stop-subjob, gud-menu-map): Respect GDB
16596 * progmodes/gdb-mi.el (gdb-thread-number): Initialize with nil.
16597 (gdb-current-context-command): Do not append --thread if
16598 `gdb-thread-number' is nil.
16599 (gdb-running-threads-count, gdb-stopped-threads-count): New
16601 (gdb-non-stop, gdb-gud-control-all-threads, gdb-switch-reasons)
16602 (gdb-stopped-hooks, gdb-switch-when-another-stopped): New
16603 customization options.
16604 (gdb-gud-context-command, gdb-gud-context-call): New wrappers for
16606 (gdb): `gud-def' definitions changed to use `gdb-gud-context-call'.
16607 (gdb-init-1): Activate non-stop mode if `gdb-non-stop' is enabled.
16608 (gdb-setq-thread-number, gdb-update-gud-running): New functions to
16609 set `gdb-thread-number' and update `gud-running' properly.
16610 (gdb-running): Update threads list when new threads appear.
16611 (gdb-stopped): Support non-stop operation and new thread switching
16613 (gdb-jsonify-buffer, gdb-json-read-buffer, gdb-json-string)
16614 (gdb-json-partial-output): New set of JSON routines.
16615 (def-gdb-auto-update-trigger): New `signal-list' optional
16617 (gdb-thread-list-handler-custom): Update `gud-running',
16618 `gdb-stopped-threads-count' and `gdb-running-threads-count'.
16619 (def-gdb-thread-buffer-gdb-command, gdb-interrupt-thread)
16620 (gdb-continue-thread, gdb-step-thread): New commands for fine
16621 thread execution control.
16622 (gud-menu-map): New menu items to switch non-stop options.
16623 (gdb-reset): Cleanup `gdb-thread-position' overlay arrow marker.
16624 (gdb-send): Mimic RET properly (bug 3794).
16626 * progmodes/gdb-mi.el (gdb-rules-name-maker)
16627 (gdb-rules-buffer-mode, gdb-rules-update-trigger): Accessors for
16629 (def-gdb-auto-update-handler): New nopreserve optional argument.
16630 (gdb-stack-list-frames-custom): Print stack from top to bottom.
16632 * progmodes/gdb-mi.el (gdb-pc-address): Removed unused variable.
16633 (gdb-threads-list, gdb-breakpoints-list): New assoc lists.
16634 (gdb-parent-mode): New mode to derive other GDB modes from.
16635 (gdb-display-disassembly-for-thread)
16636 (gdb-frame-disassembly-for-thread): New commands for threads
16639 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create)
16640 (gdb-init-1, gdb-bind-function-to-buffer, gdb-add-subscriber)
16641 (gdb-get-subscribers, gdb-emit-signal, gdb-buf-publisher)
16642 (gdb-update): We now store all GDB buffers in a list so that they
16643 can be updated by traversing a list instead of calling invalidate
16644 triggers explicitly.
16645 (def-gdb-trigger-and-handler): New macro to define trigger-handler
16646 pair for GDB buffer.
16647 (gdb-stack-buffer-name): Add thread information.
16648 (gdb-add-pending, gdb-pending-p, gdb-delete-pending): Macros to
16649 handle pending triggers.
16650 (gdb-threads-mode-map, def-gdb-thread-buffer-command)
16651 (def-gdb-thread-buffer-simple-command)
16652 (gdb-display-stack-for-thread, gdb-display-locals-for-thread)
16653 (gdb-display-registers-for-thread, gdb-frame-stack-for-thread)
16654 (gdb-frame-locals-for-thread, gdb-frame-registers-for-thread):
16655 New commands which show buffers bound to thread.
16656 (gdb-stack-list-locals-regexp): Removed unused regexp.
16658 * progmodes/gdb-mi.el (gdb-breakpoints-buffer-name)
16659 (gdb-locals-buffer-name, gdb-registers-buffer-name)
16660 (gdb-memory-buffer-name, gdb-stack-buffer-name): Do not switch
16661 to (gud-comint-buffer) in *-buffer-name functions
16662 because (gdb-get-target-string) already does that.
16663 (gdb-locals-handler-custom, gdb-registers-handler-custom)
16664 (gdb-changed-registers-handler): Rewritten without regexps.
16666 * progmodes/gdb-mi.el: Basic thread selection support.
16667 (gdb-thread-number): New variable.
16668 (gdb-current-context-command): New macro which adds --thread
16670 (gdb-threads-mode-map): Select thread with SPC.
16671 (gdb-thread-list-handler-custom): Mark current thread with overlay
16672 arrow. Synchronize GDB thread and Emacs thread.
16673 (gdb-select-thread): New command which selects current thread.
16674 (gdb-invalidate-frames, gdb-invalidate-locals)
16675 (gdb-invalidate-registers): Use --thread option.
16677 2009-08-04 Michael Albinus <michael.albinus@gmx.de>
16679 * net/tramp.el (top): Make check for tramp-gvfs loading more
16681 (tramp-handle-insert-file-contents): `unwind-protect' must be
16682 inside `with-parsed-tramp-file-name'.
16684 * net/tramp-gvfs.el (top): Remove superfluous message when loading
16687 2009-08-03 Nick Roberts <nickrob@snap.net.nz>
16689 * progmodes/gud.el (jdb): Set gud-jdb-classpath-string to current
16690 directory if CLASSPATH is not set.
16692 2009-08-03 Michael Albinus <michael.albinus@gmx.de>
16694 * net/tramp.el (tramp-rfn-eshadow-update-overlay-regexp):
16696 (tramp-rfn-eshadow-update-overlay): Use it. (Bug#4004)
16698 2009-08-02 Kevin Ryde <user42@zip.com.au>
16700 * net/newst-backend.el (newsticker--raw-url-list-defaults):
16701 Update freshmeat link. Delete newsforge.com as it seems gone.
16703 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
16705 * select.el (x-set-selection): Doc fix (Bug#4021).
16707 * w32-fns.el (x-set-selection): Doc fix (Bug#4021).
16709 * help-fns.el (describe-variable): Treat list return values from
16710 dir-locals-find-file properly (Bug#4005).
16712 2009-08-02 Julian Scheid <julians37@googlemail.com> (tiny change)
16714 * net/tramp.el (tramp-debug-message): Print also microseconds.
16716 2009-08-02 Michael Albinus <michael.albinus@gmx.de>
16718 * net/tramp.el (tramp-handle-insert-file-contents): Optimize, when BEG
16720 (tramp-handle-vc-registered): Use `tramp-cache-inhibit-cache'.
16721 (tramp-get-debug-buffer): Change `outline-regexp' according to new
16724 * net/tramp-cache.el (tramp-cache-inhibit-cache): New defvar.
16725 (tramp-get-file-property): Use it.
16727 * autorevert.el (auto-revert-handler): Allow
16728 `auto-revert-tail-mode' for remote files.
16730 2009-08-02 Jason Rumney <jasonr@gnu.org>
16732 * minibuffer.el (read-file-name): Treat confirm options to
16733 MUSTMATCH as nil when invoking x-file-dialog. (Bug#3969)
16735 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
16737 * font-lock.el (font-lock-string-face, font-lock-builtin-face)
16738 (font-lock-variable-name-face, font-lock-constant-face): Darken
16739 the colors for light backgrounds.
16741 2009-08-01 Eli Zaretskii <eliz@gnu.org>
16743 * mail/rmailsum.el (rmail-header-summary): Ignore letter-case of
16744 month names. (Bug#3987)
16746 2009-07-31 Chong Yidong <cyd@stupidchicken.com>
16748 * simple.el (line-move-finish): Pass whole number to
16749 line-move-to-column.
16750 (line-move-visual): Perform hscroll to the recorded position.
16752 2009-07-30 Jay Belanger <jay.p.belanger@gmail.com>
16754 * calc/calc-mode.el (calc-matrix-brackets): Remove "P" from prompt.
16756 2009-07-29 Alan Mackenzie <acm@muc.de>
16758 * progmodes/cc-defs.el (c-version): Bump to 5.31.7.
16760 2009-07-29 Dmitry Dzhus <dima@sphinx.net.ru>
16762 * progmodes/gdb-mi.el (gdb-goto-breakpoint)
16763 (gdb-place-breakpoints): Use full path when setting breakpoints.
16765 2009-07-29 Jay Belanger <jay.p.belanger@gmail.com>
16767 * calc/calc.el (calc-mode-map): Add keybinding for
16768 `calc-transpose-lines'.
16770 2009-07-29 Vincent Belaïche <vincent.belaiche@gmail.com>
16772 * calc/calc-misc.el (calc-transpose-lines): New function.
16774 2009-07-28 Michael Albinus <michael.albinus@gmx.de>
16776 * net/tramp.el (tramp-do-copy-or-rename-file): Add messages.
16777 Simplify check for out-of-band methods.
16778 (tramp-do-copy-or-rename-file-out-of-band): Allow both files to be
16779 remote. Remove messages which are in `tramp-do-copy-or-rename-file'.
16781 2009-07-28 Dan Nicolaescu <dann@ics.uci.edu>
16783 * vc-git.el (vc-git-checkin): Fix typo.
16785 2009-07-28 Steve Yegge <steve.yegge@gmail.com>
16787 * progmodes/js2-mode.el: New file.
16789 2009-07-28 Nick Roberts <nickrob@snap.net.nz>
16791 * progmodes/gud.el (jdb): Add gud-pstar to dump object information.
16792 (gud-menu-map): Adjust tooltip accordingly.
16794 2009-07-27 Dan Nicolaescu <dann@ics.uci.edu>
16796 * vc-bzr.el (vc-bzr-print-log): Pass multiple arguments to bzr log.
16797 (vc-bzr-log-view-mode): Adjust log-view-file-re.
16799 * add-log.el (change-log-mode-map): Add a menu.
16801 2009-07-27 Michael Albinus <michael.albinus@gmx.de>
16803 * net/dbus.el (dbus-call-method-non-blocking): Handle the case the
16804 function returns nil.
16805 (dbus-handle-event): Handle special return value :ignore.
16806 Reported by Jan Moringen <jan.moringen@uni-bielefeld.de>.
16808 2009-07-26 Chong Yidong <cyd@stupidchicken.com>
16810 * view.el (view-mode-enable): Don't define Helper-return-blurb if
16813 2009-07-25 Eli Zaretskii <eliz@gnu.org>
16817 * w32-vars.el (x-select-enable-clipboard): Doc fix.
16819 * term/pc-win.el (x-display-name, x-colors)
16820 (x-select-enable-clipboard, x-select-text): Doc fix.
16822 * term/common-win.el (x-display-name, x-colors): Doc fix.
16824 * term/ns-win.el (x-select-text, x-setup-function-keys, x-colors)
16825 (xw-defined-colors): Doc fix.
16827 * w32-fns.el (x-select-text, x-setup-function-keys)
16828 (x-get-selection, x-set-selection): Doc fix.
16830 * term/x-win.el (x-select-text, x-setup-function-keys)
16831 (x-select-enable-clipboard, xw-defined-colors): Doc fix.
16833 * select.el (x-set-selection): Doc fix.
16835 2009-07-25 Michael Albinus <michael.albinus@gmx.de>
16837 * net/zeroconf.el (zeroconf-init): Check for "GetVersionString"
16838 instead of "IsNSSSupportAvailable". Avahi ought to work also when
16839 "IsNSSSupportAvailable" method is not available. Reported by
16840 Steve Youngs <steve@sxemacs.org>.
16842 2009-07-24 Kenichi Handa <handa@m17n.org>
16844 * international/characters.el: Fix setting of category ?C, ?|, ?K,
16845 and ?H. Fix setting of case for Latin Extended and Greek Extended.
16846 (build-unicode-category-table): Fix range checks.
16848 2009-07-24 Dan Nicolaescu <dann@ics.uci.edu>
16850 * vc-dispatcher.el (vc-resynch-buffers-in-directory): Make sure
16851 the buffer we try to sync is current when calling
16854 * vc-dir.el (vc-dir-resynch-file): Make sure vc-dir-update does
16855 not show up to date files.
16857 2009-07-24 Glenn Morris <rgm@gnu.org>
16859 * emacs-lisp/elint.el (elint-current-buffer, elint-defun):
16860 Add autoload cookies. If necessary, initialize.
16861 (elint-log): Handle non-file buffers.
16862 (elint-initialize): Add optional argument to reinitialize.
16863 (elint-find-builtin-variables): Save excursion.
16865 2009-07-23 Dan Nicolaescu <dann@ics.uci.edu>
16867 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
16870 2009-07-22 Dan Nicolaescu <dann@ics.uci.edu>
16872 * vc.el (vc-print-log-internal): New function, split out from ...
16873 (vc-print-log): ... here.
16874 (vc-dir-move-to-goal-column): Declare.
16876 * vc-git.el (vc-git-add-signoff): New variable.
16877 (vc-git-checkin): Use it.
16878 (vc-git-toggle-signoff): New function.
16879 (vc-git-extra-menu-map): Bind it to menu.
16880 (vc-git--run-command-string): Accept a nil FILE argument.
16881 (vc-git-stash-list): New function.
16882 (vc-git-dir-extra-headers): Use it.
16884 2009-07-23 Glenn Morris <rgm@gnu.org>
16886 * help-fns.el (describe-variable): Describe ignored and risky local
16887 variables in a similar way to that in which we describe safe ones.
16889 * emacs-lisp/bytecomp.el (byte-compile-from-buffer)
16890 (byte-compile-output-file-form, byte-compile-output-docform)
16891 (byte-compile-file-form-defmumble, byte-compile-output-as-comment):
16892 Give some more local variables with common names a "bytecomp-" prefix,
16893 so as not to shadow things during compilation.
16894 * emacs-lisp/cl-macs.el (load-time-value)
16895 * emacs-lisp/cl.el (cl-compiling-file): Update for the name-change
16896 `outbuffer' to `bytecomp-outbuffer'.
16898 * emacs-lisp/elint.el (elint-standard-variables): Remove most members,
16899 since the next two variables cover them automatically now.
16900 (elint-builtin-variables, elint-autoloaded-variables): New.
16901 (elint-unknown-builtin-args): Remove all members, since they can be
16902 parsed automatically now.
16903 (elint-extra-errors): New.
16904 (elint-env-add-env, elint-env-add-macro): Use cadr.
16905 (elint-current-buffer): Use or. Change final message.
16906 (elint-get-top-forms): Use line-end-position.
16907 (elint-init-env): Use cadr. Handle autoload, declare-function,
16909 (elint-add-required-env): Doc fix. Use or. Standardize error.
16910 (regexp-assoc): Remove unused function.
16911 (elint-top-form): Set elint-current-pos, to record the start of the
16912 top-level form, for compilation-mode.
16913 (elint-form): Trap errors in macro expansion. Use dolist.
16914 (elint-unbound-variable): Use elint-builtin-variables and
16915 elint-autoloaded-variables.
16916 (elint-get-args): Use cadr, or.
16917 (elint-check-cond-form): Use dolist, cadr.
16918 (elint-check-condition-case-form): Doc fix. Use cadr.
16919 Use elint-extra-errors.
16920 (elint-log): New function.
16921 (elint-error, elint-warning): Use elint-log for a bytecomp-style format.
16922 Distinguish errors and warnings.
16923 (elint-log-message): Use with-current-buffer. Inhibit read-only.
16924 Use a bytecomp-style format.
16925 (elint-clear-log): Preserve default-directory. Inhibit read-only.
16926 (elint-get-log-buffer): Use compilation mode. Disable undo.
16927 Don't truncate lines.
16928 (elint-initialize): Set builtin and autoloaded variable lists.
16929 Only process elint-unknown-builtin-args if non-nil.
16930 (elint-find-builtin-variables, elint-find-autoloaded-variables):
16932 (elint-find-builtin-args): Doc fix. Handle "BODY...)".
16934 2009-07-22 Kevin Ryde <user42@zip.com.au>
16936 * net/newst-backend.el (newsticker--parse-atom-1.0)
16937 (newsticker--parse-rss-0.91, newsticker--parse-rss-0.92)
16938 (newsticker--parse-rss-1.0):
16939 * progmodes/idlwave.el (idlwave-mode):
16940 * progmodes/idlw-shell.el (idlwave-shell-mode):
16941 * progmodes/vera-mode.el (vera-mode):
16942 * progmodes/verilog-mode.el (verilog-auto-inst, verilog-auto):
16943 * progmodes/vhdl-mode.el (vhdl-mode):
16944 * textmodes/table.el (table-generate-source)
16945 (table--warn-incompatibility):
16946 Hyperlink urls in docstrings with URL `...'.
16948 2009-07-22 Glenn Morris <rgm@gnu.org>
16950 * emacs-lisp/advice.el, emacs-lisp/checkdoc.el:
16951 * emacs-lisp/debug.el, emacs-lisp/elp.el, emacs-lisp/gulp.el:
16952 * emacs-lisp/lisp.el, emacs-lisp/pp.el, emacs-lisp/trace.el:
16953 Remove leading * from defcustom docs.
16955 * simple.el (blink-matching-paren-distance): Bump to 100k. (Bug#3889)
16957 * emacs-lisp/shadow.el (shadows-compare-text-p): Remove leading * from
16959 (list-load-path-shadows): Optionally, just return shadows as a string.
16961 * mail/emacsbug.el (report-emacs-bug): Include any load-path shadows.
16963 2009-07-21 Chong Yidong <cyd@stupidchicken.com>
16965 * mail/rmailedit.el (rmail-edit-mode): Use
16966 auto-save-include-big-deletions.
16968 * mail/rmail.el (rmail-variables): Use
16969 auto-save-include-big-deletions.
16971 * files.el (auto-save-mode): Revert 2009-07-21 and 2009-07-16
16974 2009-07-21 Jay Belanger <jay.p.belanger@gmail.com>
16976 * calc/calc.el (calc-undo-length): New variable.
16977 (calc-quit): Truncate rather than eliminate `calc-undo-list'.
16979 2009-07-21 Richard Stallman <rms@gnu.org>
16981 * files.el (auto-save-mode): Handle buffer-save-size = -2
16984 2009-07-21 Glenn Morris <rgm@gnu.org>
16986 * textmodes/ispell.el (ispell-looking-back): Update declaration.
16988 * calendar/todo-mode.el (calendar-current-date): Update declaration.
16990 * ps-print.el (ps-jitify, ps-lazify): Remove aliases only used to
16991 silence compiler. Instead...
16992 (jit-lock-fontify-now, lazy-lock-fontify-region): ...Declare.
16993 (ps-print-ensure-fontified): Update for above function name changes.
16995 * printing.el (pr-mh-get-msg-num, pr-mh-show)
16996 (pr-mh-start-of-uncleaned-message): Remove aliases only used to
16997 silence compiler. Instead...
16998 (mh-get-msg-num, mh-show, mh-start-of-uncleaned-message): ...Declare.
16999 (mh-show-buffer): Only define for compiler.
17000 (pr-mh-current-message): Update for above function name changes.
17002 * files.el (abort-if-file-too-large): Explicitly pass `filename'
17004 (find-file-noselect, insert-file-1): Update for above change.
17006 * mail/rmail.el (rmail-retry-ignored-headers): Bump :version.
17008 * mail/mailclient.el (mailclient-send-it): Fix message.
17010 * emacs-lisp/edebug.el (cl-debug-env): Only define for compiler.
17011 (edebug-eval): Check cl-debug-env is bound.
17012 (print-level, print-circle): Don't redefine built-in variables.
17014 * emacs-lisp/cust-print.el: Remove leading * from defcustom docs.
17015 (custom-print-vectors): Remove old comments from doc.
17017 * emerge.el (menu-bar-emerge-menu): Remove unused variable.
17018 (emerge-version): Make the variable an obsolete alias for the
17019 emacs-version variable. Make the function obsolete.
17020 (emerge-fast-keymap, emerge-edit-keymap): Make a separate menu for
17021 Emerge options, rather than merging in into the main Options menu.
17022 (emerge-options-menu): Adjust menu text. Use buttons for skip prefers
17023 and auto advance modes. Disable edit/fast items when not relevant.
17025 2009-07-20 Dan Nicolaescu <dann@ics.uci.edu>
17027 * term/vt420.el (terminal-init-vt420): Fix typo.
17029 2009-07-20 Sam Steingold <sds@gnu.org>
17031 * progmodes/ada-mode.el (compile-auto-highlight): Remove the
17032 variable (removed from compile.el on 2004-03-11).
17034 2009-07-20 Chong Yidong <cyd@stupidchicken.com>
17036 * files.el (hack-local-variables-filter): Fix last change.
17038 2009-07-19 Juri Linkov <juri@jurta.org>
17040 * files.el (ignored-local-variables): Add `dir-local-variables-alist'.
17041 (dir-local-variables-alist): New buffer-local variable.
17042 (hack-local-variables-filter): If variable is not dir-local,
17043 i.e. `dir-name' is nil, then remove it from `dir-local-variables-alist',
17044 because file-local overrides dir-local.
17045 (c-postprocess-file-styles) <declare-function>:
17046 Remove obsolete declaration.
17047 (hack-dir-local-variables): Add dir-local variable/value pair to
17048 `dir-local-variables-alist' and remove duplicates. Doc fix.
17050 * help-fns.el (describe-variable): Add information about
17051 file-local and dir-local variables.
17053 2009-07-19 Chong Yidong <cyd@stupidchicken.com>
17055 * files.el (hack-local-variables-filter): Rewrite.
17057 2009-07-19 Glenn Morris <rgm@gnu.org>
17059 * progmodes/verilog-mode.el (verilog-error-regexp-add-xemacs):
17060 Silence compiler by only defining on XEmacs.
17062 * international/mule.el (auto-coding-regexp-alist): Only match
17063 BABYL... at the start of buffer, not of lines. (Bug#3790)
17065 * calendar/cal-menu.el (cal-menu-set-date-title): Handle calls from
17066 non-calendar buffers (Bug#3862). Restore "not on a date" message.
17067 (cal-menu-context-mouse-menu): Doc fix.
17069 * desktop.el (desktop-buffers-not-to-save): Set :version tag.
17071 * simple.el (mail-user-agent): Doc fix. Set :version tag.
17073 2009-07-18 Juri Linkov <juri@jurta.org>
17075 * info.el: Virtual Info keyword finder.
17076 (add-to-list) <Info-virtual-files>: Add "\\`\\*Finder.*\\*\\'".
17077 (Info-finder-file): New variable.
17078 (Info-finder-find-file): New function.
17079 (finder-known-keywords, finder-package-info)
17080 (find-library-name, lm-commentary): Use defvar and
17081 declare-function to silence compiler warnings.
17082 (Info-finder-find-node): New function.
17083 (info-finder): New command.
17085 * subr.el (process-kill-buffer-query-function): New function.
17086 (add-hook)<kill-buffer-query-functions>: Add hook
17087 `process-kill-buffer-query-function'.
17089 2009-07-18 Alan Mackenzie <acm@muc.de>
17091 * progmodes/cc-mode.el (c-before-hack-hook)
17092 (c-postprocess-file-styles): Give invocation of `c-set-style'
17093 DONT-OVERRIDE parameter of t. Already set style variables will
17094 thus not be overridden by style settings given by `c-file-syle'.
17096 * files.el (hack-local-variables-filter): Remove entries with
17097 duplicate keys from `file-local-variables-alist'.
17099 2009-07-18 Eli Zaretskii <eliz@gnu.org>
17101 * simple.el (deactivate-mark, activate-mark, set-mark): Don't call
17102 x-set-selection if display-selections-p returns nil for the
17105 2009-07-18 Chong Yidong <cyd@stupidchicken.com>
17107 * simple.el (region-active-p, use-region-p): Doc fix (Bug#3873).
17109 2009-07-18 Eli Zaretskii <eliz@gnu.org>
17111 * desktop.el (desktop-buffers-not-to-save): Default value is nil.
17112 Accept nil in addition to a regexp.
17113 (desktop-files-not-to-save): Add "(ftp)$" to the default regexp.
17114 Accept nil in addition to a regexp.
17115 (desktop-save-buffer-p): Don't use desktop-buffers-not-to-save for
17116 buffers that have an associated file. Handle nil values of
17117 desktop-buffers-not-to-save and desktop-files-not-to-save.
17120 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
17121 (x-disown-selection-internal): New functions.
17123 2009-07-18 Nick Roberts <nickrob@snap.net.nz>
17125 * progmodes/gdb-mi.el (speedbar-frame): Declare to avoid compiler
17127 (gdb-breakpoints-header): Move forward to avoid compiler warning.
17128 (gdb-make-header-line-mouse-map): Remove duplicate definition.
17130 2009-07-18 David De La Harpe Golden <david@harpegolden.net>
17132 * simple.el (set-mark): Revert last change.
17134 2009-07-17 Tassilo Horn <tassilo@member.fsf.org>
17136 * doc-view.el (doc-view-initiate-display): Add yes-or-no-p if
17137 rendering of pngs is not possible instead of messaging a long
17140 2009-07-17 David De La Harpe Golden <david@harpegolden.net>
17142 * w32-fns.el (x-selection-owner-p): New function.
17144 * mouse.el (mouse-drag-track): Call deactivate-mark earlier.
17145 (mouse-yank-at-click, mouse-yank-primary): If
17146 select-active-regions is non-nil, deactivate the mark before
17149 * simple.el (deactivate-mark, set-mark): Only save selection if we
17152 2009-07-17 Kenichi Handa <handa@m17n.org>
17154 * case-table.el (describe-buffer-case-table): Fix for the case
17155 that KEY is a cons.
17157 2009-07-16 Dan Nicolaescu <dann@ics.uci.edu>
17159 * vc-rcs.el (vc-rcs-find-file-hook):
17160 * vc-sccs.el (vc-sccs-find-file-hook): Fix cut and paste error.
17162 2009-07-16 Michael Albinus <michael.albinus@gmx.de>
17164 * net/tramp.el (tramp-wait-for-output): Handle the case when
17165 commands do not return a newline but a null byte before the shell
17168 2009-07-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
17170 * term/ns-win.el (ns-set-alpha): Don't declare.
17171 (ns-set-background-alpha): Remove function.
17173 2009-07-16 Kevin Ryde <user42@zip.com.au>
17175 * emacs-lisp/copyright.el (copyright-update): Save match-data across
17176 y-or-n-p, for safety.
17178 2009-07-16 Richard Stallman <rms@gnu.org>
17180 * files.el (auto-save-mode): If buffer-saved-size is -2,
17183 * mail/rmail.el (rmail-variables): Set buffer-saved-size to -2.
17184 (rmail-retry-ignored-headers): Add more uninteresting fields.
17186 2009-07-15 Jari Aalto <jari.aalto@cante.net>
17188 * net/rcirc.el (rcirc): Use history variables.
17189 (rcirc-server-name-history, rcirc-nick-name-history)
17190 (rcirc-server-port-history): New variables.
17192 2009-07-15 Kenichi Handa <handa@m17n.org>
17194 * international/mule-cmds.el (set-language-environment-charset):
17195 If coding-system-charset-list returns `iso-2022' or `emacs-mule',
17198 * language/misc-lang.el ("IPA"): Change coding systems to utf-8.
17199 Delete unibyte-display.
17201 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
17203 * simple.el (kill-visual-line): Obey kill-whole-line (Bug#3695).
17205 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
17207 * simple.el (deactivate-mark): Optional argument FORCE.
17208 (set-mark): Use deactivate-mark.
17210 * info.el (Info-search): No need to check transient-mark-mode
17211 before calling deactivate-mark.
17213 * select.el (x-set-selection): Doc fix.
17214 (x-valid-simple-selection-p): Allow buffer values.
17215 (xselect--selection-bounds): Handle buffer values. Suggested by
17216 David De La Harpe Golden.
17218 * mouse.el (mouse-set-region, mouse-drag-track): Call
17219 copy-region-as-kill before setting the mark, to let
17220 select-active-regions work.
17222 2009-07-15 David De La Harpe Golden <david@harpegolden.net>
17224 * simple.el (deactivate-mark): If select-active-regions is
17225 non-nil, copy the selection data into a string.
17226 (activate-mark): If select-active-regions is non-nil, set the
17227 selection to the current buffer.
17228 (set-mark): Update selection if select-active-regions is non-nil.
17230 * select.el (x-valid-simple-selection-p): Allow buffer values.
17232 2009-07-14 Stefan Monnier <monnier@iro.umontreal.ca>
17234 * simple.el (mail-user-agent): Default to the upwardly-UI-compatible
17235 and more featureful message-mode.
17237 2009-07-14 Chong Yidong <cyd@stupidchicken.com>
17239 * select.el (x-set-selection): Doc fix.
17240 (x-valid-simple-selection-p): Disallow selection data consisting
17241 of a list or cons of integers, since that is not used.
17242 (xselect--selection-bounds, xselect--int-to-cons): New functions.
17243 (xselect-convert-to-string, xselect-convert-to-length)
17244 (xselect-convert-to-filename, xselect-convert-to-charpos)
17245 (xselect-convert-to-lineno, xselect-convert-to-colno): Use them.
17247 2009-07-14 Dmitry Dzhus <dima@sphinx.net.ru>
17249 * progmodes/gdb-mi.el (json-partial-output): Fix broken GDB/MI
17250 output in -break-info command (Emacs bug #3794).
17252 2009-07-14 Glenn Morris <rgm@gnu.org>
17254 * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-forms)
17255 (edebug-eval-macro-args, edebug-save-displayed-buffer-points)
17256 (edebug-print-length, edebug-print-level, edebug-print-circle)
17257 (edebug-sit-for-seconds, edebug-view-outside)
17258 (edebug-bounce-point, edebug-set-global-break-condition)
17259 (edebug-Go-nonstop-mode, edebug-trace-mode)
17260 (edebug-Trace-fast-mode, edebug-continue-mode)
17261 (edebug-Continue-fast-mode, edebug-forward-sexp, edebug-help)
17262 (edebug-visit-eval-list): Doc fixes.
17264 * subr.el (def-edebug-spec): Doc fix.
17266 2009-07-14 Kenichi Handa <handa@m17n.org>
17268 * international/characters.el: Fix setting of category ?C.
17270 2009-07-13 Jan Djärv <jan.h.d@swipnet.se>
17272 * term/ns-win.el (x-select-font): defalias x-select-font to
17273 ns-popup-font-panel instead of generate-fontset-menu.
17275 2009-07-12 Eli Zaretskii <eliz@gnu.org>
17277 * desktop.el (desktop-buffers-not-to-save): Remove ".log". (Bug#3833)
17279 2009-07-12 Peter Jolly <peter@jollys.org> (tiny change)
17281 * arc-mode.el (archive-find-type): Allow for a PK00 string before
17282 the PK\003\004 header (Bug#3770).
17284 2009-07-12 Guanpeng Xu <herberteuler@hotmail.com>
17286 * pcomplete.el (pcomplete-comint-setup): Check for
17287 shell-dynamic-complete-filename too.
17289 2009-07-11 Chong Yidong <cyd@stupidchicken.com>
17291 * simple.el (temporary-goal-column): Change the value for
17292 line-move-visual to a cons cell.
17293 (line-move-visual): Record or set the window hscroll, if
17294 necessary (Bug#3494).
17295 (line-move-1): Handle cons value of temporary-goal-column.
17297 2009-07-11 Kenichi Handa <handa@m17n.org>
17299 * international/mule-diag.el (describe-character-set): Don't show
17302 2009-07-10 Sam Steingold <sds@gnu.org>
17304 * progmodes/compile.el (compilation-mode-font-lock-keywords):
17305 Omake sometimes indents the errors it prints, so allow all
17306 regexps to start with spaces.
17308 2009-07-10 Eli Zaretskii <eliz@gnu.org>
17310 * cus-edit.el (customize-changed-options-previous-release):
17311 Bump value to 22.1. (Bug#3804)
17313 2009-07-08 Sam Steingold <sds@gnu.org>
17315 * progmodes/grep.el (rgrep): Allow grep-find-ignored-directories
17316 to be a cons cell (test . ignored-directory) to selectively ignore
17317 some directories depending on the location of the search.
17319 2009-07-08 Michael Albinus <michael.albinus@gmx.de>
17321 * net/tramp.el (tramp-set-file-uid-gid): Handle the case the
17322 remote user is root, on the local host.
17323 (tramp-local-host-p): Either the local user or the remote user
17324 must be root. (Bug#3771)
17326 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
17328 * progmodes/gdb-mi.el (gdb): Remove description of
17329 gdb-use-separate-io-buffer.
17330 (menu): Don't allow toggling of or enable
17331 gdb-use-separate-io-buffer from menubar.
17333 2009-07-08 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
17335 * mail/unrmail.el (unrmail): Make sure the message ends with two
17336 newlines (Bug#3769).
17338 2009-07-08 Glenn Morris <rgm@gnu.org>
17340 * calendar/calendar.el (calendar-current-date): Rework previous change.
17342 2009-07-08 Ed Reingold <reingold@emr.cs.iit.edu>
17344 * calendar/calendar.el (calendar-current-date):
17345 Add an optional argument giving an offset from today.
17347 2009-07-08 Glenn Morris <rgm@gnu.org>
17349 * tutorial.el (tutorial--describe-nonstandard-key):
17350 Adjust the message for when a key has been unbound.
17351 (help-with-tutorial): Hide the arch-tag.
17353 2009-07-08 Kenichi Handa <handa@m17n.org>
17355 * international/fontset.el (setup-default-fontset): For each
17356 script, append (not set) font-specs.
17358 * language/japanese.el (japanese-shift-jis-2004): Fix typo in the
17361 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
17363 * progmodes/gdb-mi.el (gdb-init-1): Move sending
17364 -data-list-register-names to ...
17365 (gdb-starting): ... here because GDB 7.0 requires execution to
17366 have started when using this MI command.
17367 (gdb-set-header): New function to distinguish select and
17368 unselected tabs in gdb buffers.
17369 (gdb-propertize-header): New macro that uses gdb-set-header.
17370 (gdb-breakpoints-header, gdb-locals-header): Use it.
17371 (gdb-disassembly-mode-map): Add keybinding to kill buffer.
17373 2009-07-07 Chong Yidong <cyd@stupidchicken.com>
17375 * Makefile.in (ELCFILES): Remove fadr.elc.
17377 2009-07-07 Dmitry Dzhus <dima@sphinx.net.ru>
17379 * progmodes/gdb-mi.el (gdb-init-1): Disassembly buffer mode name
17380 may contain frame information, so `string-match' should be used.
17381 (gdb-update): Disassembly is invalidated through
17382 `gdb-get-selected-frame'.
17383 (gdb-pad-string): New function to pad string with spaces.
17384 (gdb-invalidate-disassembly): Invalidate only if the buffer
17386 (gdb-disassembly-handler-custom): Column alignment.
17387 (gdb-disassembly-place-breakpoints): Clear old breakpoints before
17389 (gdb-toggle-breakpoint, gdb-delete-breakpoint): Now work from the
17391 (gdb-frame-handler): Match convention to for disassembly buffer
17393 (gdb-stack-list-frames-handler): Rewritten without regexps.
17394 (gdb-breakpoints-list-handler-custom): y/n instead of on/off; do
17395 not highlight breakpoints without line information.
17396 (gdb-input): Add trailing newline to command.
17398 * progmodes/gdb-mi.el (gdb-init-1): Set mode name for disassembly
17400 (gdb-breakpoints-list-handler-custom): Replacement for
17401 `gdb-break-list-handler'. Using real parser instead of regexps
17403 (gdb-place-breakpoints): Replacement for `gdb-break-list-custom'.
17404 Use `gdb-breakpoints-list' instead of parsing breakpoints buffer
17405 to place breakpoints.
17406 (def-gdb-memory-unit): A new macro to define gdb-memory-unit-..
17408 (gdb-disassembly-handler-custom): Show overlay arrow.
17409 (gdb-disassembly-place-breakpoints): Show breakpoints in
17410 disassembly buffer.
17411 (gdb-toggle-breakpoint, gdb-delete-breakpoint)
17412 (gdb-goto-breakpoint): Using `gdb-breakpoint' text properties
17413 instead of parsing breakpoints buffer. Fixed old menu references
17418 * progmodes/gdb-mi.el: Port memory buffer from gdb-ui.el.
17419 (gdb-memory-address): New variable which holds top address of
17420 memory page shown in memory buffer.
17421 (gdb-memory-repeat-count, gdb-memory-format, gdb-memory-unit): New
17422 customization variables.
17424 (gdb-display-memory-buffer, gdb-frame-memory-buffer): Functions to
17425 display the memory buffer.
17426 (gdb-memory-set-address, gdb-memory-set-repeat-count): Set memory
17427 buffer display parameters.
17428 (def-gdb-memory-format, gdb-memory-format-binary)
17429 (gdb-memory-format-octal, gdb-memory-format-unsigned)
17430 (gdb-memory-format-signed, gdb-memory-format-hexadecimal):
17431 Functions for setting memory buffer format.
17432 (gdb-memory-unit-word, gdb-memory-unit-halfword)
17433 (gdb-memory-unit-giant, gdb-memory-unit-byte): Functions to set
17434 unit size used in memory buffer.
17435 (gdb-memory-show-next-page, gdb-memory-show-previous-page): Switch
17436 to next/previous page of memory buffer.
17437 Now using (bindat-get-field) instead of fadr functions.
17439 2009-07-07 Sam Steingold <sds@gnu.org>
17441 * vc-cvs.el (vc-cvs-merge-news): Fix message parsing for
17442 non-top-level files.
17444 2009-07-07 Kenichi Handa <handa@m17n.org>
17446 * international/mule-cmds.el (reset-language-environment): Put
17447 the highset priority to the charset iso-8859-1.
17449 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
17451 * progmodes/hideshow.el (hs-hide-block-at-point): Don't move point
17452 to the end of the line when locating the block (Bug#700).
17454 2009-07-06 Michael Albinus <michael.albinus@gmx.de>
17456 * net/tramp.el (tramp-handle-write-region): Flush file properties
17457 in case of short track.
17459 2009-07-06 Michael McNamara <mac@mail.brushroad.com>
17461 * progmodes/verilog-mode.el (verilog-error-regexp-emacs-alist):
17462 Coded custom representation of verilog error regular expressions
17463 to work with Emacs-22's new format.
17464 (verilog-error-regexp-xemacs-alist): Coded custom representation
17465 of verilog error regular expressions to work with XEmacs format.
17466 (verilog-error-regexp-add-xemacs): Hook routine to install verilog
17467 error recognition into XEmacs.
17468 (verilog-error-regexp-add-emacs): Hook routine to install verilog
17469 error recognition into Emacs-22.
17471 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
17473 * woman.el: Remove stand-alone closing parentheses.
17474 (woman-file-name, woman2-format-paragraphs)
17475 (woman-leave-blank-lines): Code cleanup.
17476 (woman-use-own-frame): Change default to nil.
17477 (woman-italic, woman-bold, woman-unknown, woman-addition): Change
17478 defaults to inherit from default faces.
17479 (woman2-process-escapes): Consume the newline after a stand-alone
17480 filler character (Bug#3651).
17482 2009-07-06 Glenn Morris <rgm@gnu.org>
17484 * ffap.el (ffap-version): Make it an obsolete alias for emacs-version.
17485 (top-level): Move provide to the end.
17486 (ffap): Remove defunct URL from custom group.
17488 * subr.el (eval-after-load): Doc fix.
17490 2009-07-06 Vincent Belaïche <vincent.belaiche@gmail.com>
17492 * calc/calc-embed.el (calc-embedded-make-info): Don't force when
17493 `calc-embedded-word' is called twice.
17495 2009-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
17497 * files.el (find-alternate-file-other-window, find-alternate-file):
17498 Obey confirm-nonexistent-file-or-buffer.
17500 2009-07-05 Michael Albinus <michael.albinus@gmx.de>
17502 * dired-aux.el (dired-show-file-type): Handle remote files.
17504 2009-07-05 Jari Aalto <jari.aalto@cante.net>
17506 * desktop.el (desktop-globals-to-save):
17507 Add file-name-history (Bug#2750).
17509 2009-07-05 Chong Yidong <cyd@stupidchicken.com>
17511 * add-log.el (add-log-current-defun-header-regexp): Doc fix (Bug#2217).
17513 2009-07-04 Johan Bockgård <bojohan@gnu.org>
17515 * eshell/esh-arg.el (eshell-parse-argument-hook): Put `number'
17516 property on entire argument since this is what eshell-lisp-command
17519 2009-07-03 Michael Albinus <michael.albinus@gmx.de>
17521 * net/tramp-gvfs.el (tramp-gvfs-methods)
17522 (tramp-gvfs-zeroconf-domain)
17523 (tramp-bluez-discover-devices-timeout): Add version flag.
17524 (tramp-gvfs-handler-mounted-unmounted)
17525 (tramp-gvfs-connection-mounted-p): Polish handling of
17526 incompatibilities between GVFS 0.2 and 1.0.
17528 2009-07-03 Jan Djärv <jan.h.d@swipnet.se>
17530 * cus-start.el (all): Add make-pointer-invisible.
17532 2009-07-03 Jay Belanger <jay.p.belanger@gmail.com>
17534 * calc/calc-math.el (math-use-emacs-fn): Make sure that the number is
17535 formatted correctly.
17537 2009-07-02 Juri Linkov <juri@jurta.org>
17539 * info.el: Virtual Info files and nodes.
17540 (Info-virtual-files, Info-virtual-nodes): New variables.
17541 (Info-current-node-virtual): New variable.
17542 (Info-virtual-file-p, Info-virtual-fun, Info-virtual-call):
17544 (Info-file-supports-index-cookies): Use Info-virtual-file-p
17545 to check for a virtual file instead of checking a fixed list
17547 (Info-find-file): Use Info-virtual-fun and Info-virtual-call
17548 instead of ad-hoc processing of "dir" and (apropos history toc).
17549 (Info-find-node-2): Use Info-virtual-fun and Info-virtual-call
17550 instead of ad-hoc processing of "dir" and (apropos history toc).
17551 Reread a file when moving from a virtual node.
17552 (add-to-list)<Info-virtual-files>: Add "\\`dir\\'".
17553 (Info-directory-toc-nodes, Info-directory-find-file)
17554 (Info-directory-find-node): New functions.
17555 (add-to-list)<Info-virtual-files>: Add "\\`\\*History\\*\\'".
17556 (Info-history): Move part of code to
17557 `Info-history-find-node'.
17558 (Info-history-toc-nodes, Info-history-find-file)
17559 (Info-history-find-node): New functions.
17560 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*TOC\\*\\'".
17561 (Info-toc): Move part of code to `Info-toc-find-node'.
17562 (Info-toc-find-node): New function.
17563 (Info-toc-insert): Rename from `Info-insert-toc'. Don't insert
17564 the current Info file name to references because now the node
17565 "*TOC*" belongs to the same Info manual.
17566 (Info-toc-build): Rename from `Info-build-toc'.
17567 (Info-toc-nodes): Rename input argument `file' to `filename'.
17568 Use Info-virtual-fun, Info-virtual-call and Info-virtual-file-p
17569 instead of ad-hoc processing of ("dir" apropos history toc).
17570 (Info-index-nodes): Use Info-virtual-file-p
17571 to check for a virtual file instead of checking a fixed list
17573 (Info-index-node): Add check for `Info-current-node-virtual'.
17574 Raise `save-match-data' higher up the tree to contain
17575 `search-forward' too (bug fix).
17576 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*Index.*\\*\\'".
17577 (Info-virtual-index-nodes): New variable.
17578 (Info-virtual-index-find-node, Info-virtual-index): New functions.
17579 (add-to-list)<Info-virtual-files>: Add "\\`\\*Apropos\\*\\'".
17580 (Info-apropos-file, Info-apropos-nodes): New variables.
17581 (Info-apropos-toc-nodes, Info-apropos-find-file)
17582 (Info-apropos-find-node, Info-apropos-matches): New functions.
17583 (info-apropos): Move part of code to `Info-apropos-find-node' and
17584 `Info-apropos-matches'.
17585 (Info-mode-map): Bind "I" to `Info-virtual-index'.
17586 (Info-desktop-buffer-misc-data): Use Info-virtual-file-p to check
17587 for a virtual file instead of checking a fixed list of node names.
17589 * simple.el (async-shell-command): New command.
17591 * bindings.el (esc-map): Bind "&" to `async-shell-command'.
17593 * net/tramp-gvfs.el (tramp-gvfs-connection-mounted-p): Use `elt'
17594 instead of `mount-info'.
17596 2009-07-02 Michael Albinus <michael.albinus@gmx.de>
17598 * net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted)
17599 (tramp-gvfs-connection-mounted-p): Handle changed mount-info interface.
17601 2009-07-02 Kenichi Handa <handa@m17n.org>
17603 * international/mule.el (set-keyboard-coding-system): Force *-unix
17604 coding-system to avoid eol conversion.
17606 2009-07-01 Michael Albinus <michael.albinus@gmx.de>
17608 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
17609 Add handler for `process-file', `shell-command' and
17610 `start-file-process'.
17611 (tramp-gvfs-handle-shell-command)
17612 (tramp-gvfs-handle-start-file-process)
17613 (tramp-gvfs-handle-process-file): New defuns.
17614 (tramp-synce-list-devices): Simplify check for existence of property.
17616 2009-07-01 Jan Djärv <jan.h.d@swipnet.se>
17618 * startup.el (command-line-x-option-alist): Add -mm and --maximized.
17620 2009-07-01 Eduard Wiebe <usenet@pusto.de> (tiny change)
17622 * language/korean.el (set-language-info-alist): Add korean-cp949,
17625 2009-07-01 Kenichi Handa <handa@m17n.org>
17627 * Makefile.in (ELCFILES): Delete encoded-kb.elc.
17629 * international/encoded-kb.el: Deleted.
17631 * international/mule.el (set-keyboard-coding-system): Perform the
17632 necessary setup here instead of calling encoded-kbd-setup-display.
17634 2009-07-01 Glenn Morris <rgm@gnu.org>
17636 * progmodes/f90.el (f90-break-delimiters, f90-no-break-re): Doc fixes.
17638 2009-07-01 Evangelos Evangelou <vangelis@email.unc.edu> (tiny change)
17640 * progmodes/f90.el (f90-no-break-re): Add "(/" and "/)". (Bug#3730)
17642 2009-06-30 Michael Albinus <michael.albinus@gmx.de>
17644 * net/tramp.el (tramp-do-copy-or-rename-file-directly):
17645 Handle also the 'rename case, when setting file modes. (Bug#3712)
17646 (tramp-default-file-modes): Remove execute permissions.
17648 * net/tramp-gvfs.el (tramp-gvfs-methods): Add "synce" method.
17649 (top): Add a default for "synce" in `tramp-default-user-alist'.
17650 Add completion function for "synce" method.
17651 (tramp-hal-service, tramp-hal-path-manager)
17652 (tramp-hal-interface-manager, tramp-hal-interface-device):
17654 (tramp-gvfs-connection-mounted-p): Handle empty user name for synce.
17655 (tramp-synce-list-devices, tramp-synce-parse-device-names):
17658 * net/trampver.el: Update release number.
17660 2009-06-30 Kenichi Handa <handa@m17n.org>
17662 * international/fontset.el (setup-default-fontset): Add CJK fonts
17663 for symbols and the other miscellaneous characters.
17665 * language/korea-util.el (setup-korean-environment-internal):
17666 Make char-width-table suitable for Korean environments.
17667 (exit-korean-environment): Cancel above.
17669 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
17670 ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK"): Add a
17671 setup-function to make char-width-table suitable for respective
17672 environments, and an exit-function to cancel that.
17674 * language/japan-util.el (setup-japanese-environment-internal):
17675 Call use-cjk-char-width-table with arg `ja_JP'.
17677 * international/characters.el (cjk-char-width-table): Delete it.
17678 (cjk-char-width-table-list): New variable.
17679 (use-cjk-char-width-table): New arg local-name.
17680 (use-default-char-width-table): Fix for the case that Emacs is
17681 already using the default char-width-table.
17683 2009-06-29 Michael Albinus <michael.albinus@gmx.de>
17685 * net/tramp.el (tramp-do-copy-or-rename-file-directly): Set file
17686 modes mandatory. (Bug#3712)
17688 2009-06-29 Alan Mackenzie <acm@muc.de>
17690 * progmodes/cc-cmds.el (c-mask-paragraph): Remove a spurious
17691 correction between the visible width of TABs and their number of bytes.
17693 2009-06-29 Chong Yidong <cyd@stupidchicken.com>
17695 * server.el (server-buffer-done): Prevent kill-buffer from
17696 prompting by clearing the buffer modification flag (Bug#3696).
17698 2009-06-28 Michael McNamara <mac@mail.brushroad.com>
17700 * progmodes/verilog-mode.el (verilog-beg-of-statement)
17701 (verilog-endcomment-reason-re): Support unique case and priority case.
17702 (verilog-basic-complete-re): Support localparam lineup.
17703 (verilog-beg-of-statement-1): Fix for robustness, unique case.
17704 (verilog-set-auto-endcomments): Fix for unique case, always_comb
17706 (verilog-leap-to-case-head): Now support *nested* unique &
17707 priority case statements.
17708 (verilog-auto-lineup): Make just declarations the default (as it
17710 (verilog-leap-to-case-head): Support priority/unique case statements.
17711 (verilog-auto-lineup): Rework to give users radio buttons to
17712 select the various styles of automatic lineup.
17713 (verilog-error-regexp-alist): Rework to support the XEmacs style
17714 of error regular expressions from compilers, lint tools &
17715 simulators. Note that GNU Emacs has made it impossible for a mode
17716 to load such things.
17717 (electric-verilog-terminate-line, verilog-indent-declaration)
17718 (verilog-auto-wiure): Rework for radio button selection of
17719 auto-lineup selection of specification of auto lineup.
17720 (verilog-beg-of-statement-1): Redesign to support proper operation
17721 in additional code, based on testing with auto-lineup.
17722 (verilog-calculate-indent, assignments & declarations)
17723 (verilog-backward-token): Enhance to support auto-lineup of
17724 assignments & declarations.
17725 (verilog-in-directive-p, verilog-at-struct-p): New function for
17726 easy test of whether we are.
17727 (verilog-pretty-declarations, verilog-pretty-expr): Massive rework
17728 to support safe execution at almost anyline.
17729 (verilog-calc-1): Properly support indenting deep inside generate
17731 (verilog-init-font): Remove definition & use of verilog-init-font,
17732 as it is redundant with font-lock-defaults.
17733 (verilog-mode): Alter the definition of verilog-font-lock-defaults
17734 to avoid circular calls if syntax-ppss is a function (as is the
17735 case now in 22.x GNU Emacs) as that function would sometimes call
17736 itself, leading to (nearly) infinite recursion.
17737 (verilog-ovm-begin-re, verilog-ovm-end-re)
17738 (verilog-ovm-statement-re, verilog-leap-to-head)
17739 (verilog-backward-token): Add support for OVM macros. Some are
17740 complete statements, and others open and close scopes like begin
17742 (verilog-defun-level-not-generate-re, verilog-defun-level-re)
17743 (verilog-defun-level-generate-only-re): Really fix the defun-list
17745 (verilog-calc-1, verilog-beg-of-statement): Enhance support for
17746 coverpoint, constraint and cross statements.
17747 (verilog-defun-level-list, verilog-generate-defun-level-list)
17748 (verilog-all-defun-level-list): Redo these specifications - it is
17749 too hard to support eval-when compile aggregation of lists also
17750 built at when-compile time.
17751 (verilog-defun-level-list): Place defconsts of variables used in
17752 building regular expressions which are built in eval-when-compile
17753 bodies in the same eval-when-compile body to facilitate compile
17755 (verilog-beg-block-re-ordered): Support indenting
17756 virtual/protected tasks and functions.
17757 (verilog-defun-level-list, verilog-in-generate-region-p)
17758 (verilog-backward-ws&directives, verilog-calc-1): Speed up
17759 indentation of some module items (generate items).
17760 (verilog-forward-sexp, verilog-leap-to-head): Support stepping
17761 across virtual/protected tasks and functions.
17763 2009-06-28 Wilson Snyder <wsnyder@wsnyder.org>
17765 * progmodes/verilog-mode.el (verilog-auto-arg, verilog-auto-arg-sort):
17766 Allow sorting AUTOARG lists. Suggested by Andrea Fedeli.
17767 (verilog-read-sub-decls-line): Fix AUTOWIRE signals getting lost
17768 in concatenations. Reported by Yishay Belkind.
17769 (verilog-auto-ascii-enum): Support one-hot state machines in
17770 AUTOASCIIENUM. Suggested by Lloyd Gomez.
17771 (verilog-auto-inst, verilog-auto-inst-port): Include interface
17772 modport in AUTOINST and add vl-modport for users. Reported by
17774 (verilog-auto-inout-module, verilog-auto-inst)
17775 (verilog-decls-get-interfaces, verilog-insert-definition)
17776 (verilog-insert-one-definition, verilog-read-decls)
17777 (verilog-read-sub-decls, verilog-read-sub-decls-sig)
17778 (verilog-sig-modport, verilog-signals-combine-bus)
17779 (verilog-subdecls-get-interfaces): Fix expansion of SystemVerilog
17780 interfaces in AUTOINOUTMODULE, AUTOINOUTCOMP, and AUTOINST.
17781 Suggested by David Rogoff.
17782 (verilog-repair-open-comma): Fix non-insertion of comma when
17783 `DEFINE occurs in V2K argument list. Reported by Lane Brooks.
17784 (verilog-make-width-expression): Simplify [A-1:0] expression
17785 widths to just {A{1'b0}}.
17786 (verilog-mode): Cleanup checkdoc warnings.
17787 (verilog-auto-inout-module, verilog-signals-matching-dir-re):
17788 Add third optional regexp to AUTOINOUTMODULE to allow selecting only
17789 inputs/outputs or data type. Suggested by Vasu Kandadi.
17790 (next-error-last-buffer): Fix byte-compiler warning.
17791 (verilog-auto, verilog-auto-insert-lisp, verilog-auto-inst)
17792 (verilog-delete-auto): Add AUTOINSERTLISP to insert arbitrary lisp
17793 or shell command text during AUTO expansion. Suggested by Tad Truex.
17794 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line)
17795 (verilog-read-sub-decls-sig, verilog-symbol-detick-text):
17796 Fix dotted nets {a.b,c.d} and excaped identifiers being mis-included
17797 in AUTOINOUT. Reported by Matthew Lovell.
17798 (verilog-read-always-signals-recurse): Fix AUTORESET "if (a<=b)"
17799 causing use of <= assignments. Reported by Alex Reed.
17800 (verilog-read-decls): Fix triand, trior, wand, wor to be
17801 recognized by AUTOWIRE. Reported by Spencer Isaacson.
17802 (verilog-extended-complete-re): Support import "DPI-C" functions.
17803 (verilog-read-always-signals-recurse): Fix AUTORESET of "x <=
17804 y[a+1:a+1]" to not include a in reset list. Reported by Dan Dever.
17805 (verilog-insert-date, verilog-insert-year)
17806 (verilog-sk-header-tmpl): Fix verilog-header inserting error on
17807 Windows systems. Reported by Michael Potts.
17808 (verilog-read-module-name): Fix AUTOINST when the child module
17809 declaration's name is a tick define. Reported by Elliot Mednick.
17810 (verilog-read-decls): Fix V2K parameter bit subscripts getting
17811 passed to next parameter's definition. Reported by Bruce T.
17812 (verilog-read-decls): Fix detecting "parameter int" when using
17813 AUTOINSTPARAM. Reported by Bruce T.
17814 (verilog-goto-defun): Fix goto not finding modules unless first
17815 perform a verilog-auto expansion. Suggested by Lawrence Butcher.
17816 (verilog-mode): Expand -f flag arguments on entry to mode so
17817 verilog-goto-defun will work. Reported by Lawrence Butcher.
17818 (verilog-getopt): Expand environment variables in -f file
17819 arguments. Suggested by Lawrence Butcher.
17820 (verilog-set-define): Fix "Symbol's value as variable is void"
17821 when reading enumerations.
17822 (verilog-auto-ascii-enum): Fix duplicate labels in AUTOASCIIENUM.
17823 Suggested by Stephen Peltan.
17824 (verilog-read-defines): Fix reading of enumerations in include
17825 files. Reported by Steve Peltan.
17827 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
17829 * files.el (trash-directory): Fix defcustom type.
17831 2009-06-28 Juri Linkov <juri@jurta.org>
17833 * help-fns.el (describe-function-1): Correctly locate adviced
17834 functions in hyperlink (Bug#2438).
17836 2009-06-28 Chong Yidong <cyd@stupidchicken.com>
17838 * files.el (trash-directory): Change default to nil.
17839 (move-file-to-trash): If trash-directory is nil and
17840 system-move-file-to-trash is unbound, perform freedesktop-style
17843 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
17845 * files.el (move-file-to-trash): Add freedesktop trash
17848 2009-06-28 Glenn Morris <rgm@gnu.org>
17850 * autorevert.el (global-auto-revert-non-file-buffers)
17851 (global-auto-revert-mode): Doc fixes.
17853 2009-06-27 Johan Bockgård <bojohan@gnu.org>
17855 * emacs-lisp/cl-specs.el (defstruct): Fix :conc-name spec.
17857 2009-06-27 Chong Yidong <cyd@stupidchicken.com>
17859 * faces.el (x-handle-named-frame-geometry): Ensure that we have
17860 opened an X connection before calling x-get-resource (Bug#3194).
17862 * play/doctor.el: Remove reference to obsolete website.
17863 (make-doctor-variables): Correct grammar mistake (Bug#2633).
17865 2009-06-26 Dan Nicolaescu <dann@ics.uci.edu>
17867 Remove find-file-not-found-hook VC method. (Bug#2757)
17868 * vc-hooks.el (vc-file-not-found-hook)
17869 (vc-default-find-file-not-found-hook): Remove functions.
17870 (find-file-not-found-functions): Do not add vc-file-not-found-hook.
17871 * vc-rcs.el (vc-rcs-find-file-not-found-hook): Remove function.
17874 * vc-git.el: Do not mention find-file-not-found-hook VC method.
17876 2009-06-25 Agustín Martín <agustin.martin@hispalinux.es>
17878 * textmodes/ispell.el: Add `ispell-looking-back' XEmacs
17879 compatibility function for `looking-back'.
17881 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
17882 Use `ispell-looking-back'.
17884 2009-06-24 Michael Albinus <michael.albinus@gmx.de>
17886 * net/tramp-gvfs.el (tramp-gvfs-handle-make-directory): Use `dir'
17887 rather than `filename'.
17889 2009-06-23 Miles Bader <miles@gnu.org>
17891 * face-remap.el (text-scale-set): New function.
17893 2009-06-23 Glenn Morris <rgm@gnu.org>
17895 * pcmpl-rpm.el (pcomplete/rpm): Doc fix.
17897 * bindings.el (mode-line-modified): Fix case of "Buffer is modified".
17899 * textmodes/ispell.el (ispell-local-dictionary): Doc fix.
17901 * progmodes/gdb-mi.el (gud-remove, gud-break): Update declarations.
17903 * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
17904 Simplify Persian conditionals.
17906 * calc/calc-graph.el (calc-graph-plot): Avoid assignment to free
17907 variable `filename'.
17909 * comint.el (comint-insert-input): Doc fix.
17911 * Makefile.in (ELCFILES): Fix typo in previous change.
17913 2009-06-23 Miles Bader <miles@gnu.org>
17915 * cus-start.el: Add entry for `recenter-redisplay'.
17917 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
17919 * vc-hooks.el (vc-stay-local-p, vc-state, vc-working-revision):
17920 Add an optional argument for the backend, use it instead of
17921 calling vc-backend.
17922 (vc-mode-line): Add an optional argument for the backend.
17923 Pass the backend to vc-state and vc-working-revision. Move code for
17924 special handling for vc-state being a buffer to ...
17926 * vc-rcs.el (vc-rcs-find-file-hook):
17927 * vc-sccs.el (vc-sccs-find-file-hook): ... here. New functions.
17929 * vc-svn.el (vc-svn-state, vc-svn-dir-status, vc-svn-checkout)
17930 (vc-svn-print-log, vc-svn-diff): Pass 'SVN to vc-state,
17931 vc-stay-local-p and vc-mode-line calls.
17933 * vc-cvs.el (vc-cvs-state, vc-cvs-checkout, vc-cvs-print-log)
17934 (vc-cvs-diff, vc-cvs-annotate-command)
17935 (vc-cvs-make-version-backups-p, vc-cvs-stay-local-p)
17936 (vc-cvs-dir-status): Pass 'CVS to vc-state, vc-stay-local-p and
17937 vc-mode-line calls.
17939 * vc.el (vc-deduce-fileset): Use vc-deduce-fileset instead of
17941 (vc-next-action, vc-transfer-file, vc-rename-file): Also pass the
17942 backend when calling vc-mode-line.
17943 (vc-register): Do not create a closure for calling the vc register
17944 function, call it directly.
17946 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
17948 * emacs-lisp/elp.el (elp-output-insert-symname): Add a link face
17949 to make it obvious item can be clicked.
17951 * vc-mtn.el (vc-mtn-after-dir-status, vc-mtn-dir-status): New functions.
17953 2009-06-23 Kenichi Handa <handa@m17n.org>
17955 * language/korea-util.el (korean-key-bindings): Change the binding
17956 of F9 to hangul-to-hanja-conversion. Bind Hangul_Hanja to the
17959 2009-06-22 Michael Albinus <michael.albinus@gmx.de>
17961 Sync with Tramp 2.1.16.
17963 * Makefile.in (ELCFILES): Add net/tramp-gvfs.elc.
17965 * net/tramp.el (top): Require tramp-gvfs. Catch `tramp-loading',
17966 when a loading of a package fails. Completion function for rsync
17967 is `tramp-completion-function-alist-ssh'.
17968 (all): Replace all calls of `split-string' and
17969 `tramp-split-string' by `tramp-compat-split-string'.
17970 (tramp-default-method): Use `tramp-compat-process-running-p'.
17971 (tramp-default-proxies-alist): Allow also Lisp forms.
17972 (tramp-remote-path): Add choice "Private Directories".
17973 (tramp-wrong-passwd-regexp): Remove "Tramp connection closed" option.
17974 (tramp-domain-regexp): Allow also "-", "_" and ".".
17975 (tramp-end-of-output): Remove newlines, and add "$" at the end.
17976 (tramp-file-name-handler-alist): Add handler for `dired-uncache'.
17977 (tramp-debug-message): Insert header line in debug buffer.
17978 (tramp-handle-directory-files-and-attributes-with-stat):
17979 Care about filenames with spaces, or starting with "-".
17980 (tramp-handle-dired-uncache): New defun.
17981 (tramp-handle-insert-directory): Don't flush the directory from
17982 cache, this is handled by `dired-uncache' now.
17983 (tramp-handle-insert-file-contents): Improve error handling.
17984 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
17985 Quote `tramp-end-of-output'.
17986 (tramp-action-password): Improve trace message.
17987 (tramp-check-for-regexp): Both echoes must be present, before removing.
17988 (tramp-open-connection-setup-interactive-shell): Trace coding system.
17989 (tramp-compute-multi-hops): Eval cons cells of
17990 `tramp-default-proxies-alist'.
17991 (tramp-maybe-open-connection): Use the same command pattern for
17992 first hop and further hops.
17993 (tramp-wait-for-output): Remove handling of newlines.
17994 (tramp-get-remote-path): Handle also `tramp-own-remote-path'.
17995 (tramp-split-string): Remove function. It is handled in
17998 * net/tramp-cmds.el (tramp-bug):
17999 Recommend `tramp-cleanup-all-connections' in the bug mail.
18001 * net/tramp-compat.el (tramp-compat-split-string)
18002 (tramp-compat-process-running-p): New defuns.
18004 * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add handler
18005 for `dired-uncache'.
18007 * net/tramp-gvfs.el: New package.
18009 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
18010 Add handler for `dired-uncache'.
18011 (tramp-smb-handle-file-local-copy): Cleanup in case of error.
18013 * net/trampver.el: Update release number. Make version check fit
18016 2009-06-22 Jim Meyering <meyering@redhat.com>
18018 Automatically handle .xz suffix (XZ-compressed files), too.
18019 * jka-cmpr-hook.el (jka-compr-compression-info-list): Add xz.
18020 XZ is the successor to LZMA: <http://tukaani.org/xz/>
18022 2009-06-22 Dmitry Dzhus <dima@sphinx.net.ru>
18023 Nick Roberts <nickrob@snap.net.nz>
18025 * progmodes/gdb-mi.el: Pull further modified changes from Dmitry's
18026 repository (http://sphinx.net.ru/hg/gdb-mi/).
18028 2009-06-22 Glenn Morris <rgm@gnu.org>
18030 * files.el (dir-locals-collect-mode-variables): Allow for any number of
18031 `mode' and `eval' entries. (Bug#3430)
18033 * Makefile.in (ELCFILES): Add fadr.elc.
18035 * calendar/appt.el (appt-make-list): Fix off-by-one error caused by
18036 differing behavior of \n and ^ in strings. (Bug#3385)
18038 * emacs-lisp/cl-indent.el: Remove leading "*" from defcustom docs.
18040 * emacs-lisp/lisp-mode.el (lisp-indent-offset): Fix safe-local-variable
18042 (lisp-indent-function): Make it a defcustom.
18044 2009-06-21 Nick Roberts <nickrob@snap.net.nz>
18046 * progmodes/gdb-ui.el: Replace with ...
18047 * progmodes/gdb-mi.el: ... this file.
18048 * progmodes/gud.el: Modify for gdb-mi.el.
18050 2009-06-21 Dmitry Dzhus <dima@sphinx.net.ru>
18052 * fadr.el: New file.
18054 See ChangeLog.14 for earlier changes.
18056 ;; Local Variables:
18060 Copyright (C) 2009, 2010 Free Software Foundation, Inc.
18062 This file is part of GNU Emacs.
18064 GNU Emacs is free software: you can redistribute it and/or modify
18065 it under the terms of the GNU General Public License as published by
18066 the Free Software Foundation, either version 3 of the License, or
18067 (at your option) any later version.
18069 GNU Emacs is distributed in the hope that it will be useful,
18070 but WITHOUT ANY WARRANTY; without even the implied warranty of
18071 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18072 GNU General Public License for more details.
18074 You should have received a copy of the GNU General Public License
18075 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.