1 2010-11-06 Glenn Morris <rgm@gnu.org>
3 * mail/mail-extr.el (mail-extract-address-components): Give dynamic
4 local variables `cbeg' and `cend' a prefix.
5 (mail-extr-voodoo): Update for above name change.
7 * textmodes/reftex-toc.el (reftex-toc-do-promote)
8 (reftex-toc-promote-prepare): Pass `delta' as an explicit argument.
9 (reftex-toc-promote-action): Doc fix.
11 * textmodes/reftex-sel.el (reftex-select-item): Give local variables
12 `prompt', `data' a prefix.
13 (reftex-select-post-command-hook, reftex-select-callback)
14 (reftex-select-mouse-accept, reftex-select-read-cite):
15 Update for above name changes.
17 * textmodes/reftex-ref.el (reftex-reference): Rename local variable
18 `refstyle' to reftex-refstyle.
19 (reftex-offer-label-menu): Update for above name change.
20 * textmodes/reftex-sel.el (reftex-select-toggle-varioref): Update for
21 `refstyle' name change.
23 * vc/emerge.el (emerge-eval-in-buffer): Remove, and replace all uses
24 with with-current-buffer.
25 (diff, template): Give dynamic local variables a prefix.
26 (emerge-line-numbers): Rename local `diff' to emerge-line-diff.
27 (emerge-line-number-in-buf): Update for above name change.
28 (emerge-combine-versions-internal): Rename local `template' to
29 emerge-combine-template.
30 (emerge-combine-versions-edit): Update for above name change.
32 2010-11-06 Ralf Angeli <angeli@caeruleus.net>
34 * textmodes/reftex-cite.el
35 (reftex-extract-bib-entries-from-thebibliography): Match bibitem
36 entries with whitespace after \bibitem.
37 (reftex-create-bibtex-file): Match entries containing numbers and
38 symbol constituents. Make sure that entries with whitespace at
39 various places are found.
41 2010-11-05 Christian Millour <cm@abtela.com> (tiny change)
43 * shell.el (shell-process-popd): Made aware of comint-file-name-prefix.
45 2010-11-05 Jan Djärv <jan.h.d@swipnet.se>
47 * mouse.el (mouse-yank-primary): Update comment (Bug#6802).
49 2010-11-05 Glenn Morris <rgm@gnu.org>
51 * woman.el (woman0-roff-buffer, woman1-roff-buffer)
52 (woman2-roff-buffer): Give local variable `request' a prefix.
53 (woman0-macro): Rename argument `request' in the same way.
54 (woman-request): New name for `request' dynamic variable.
55 (woman-unquote, woman-forward-arg): Update for above name change.
56 (woman1-roff-buffer): Give local variable `unquote' a prefix.
57 (woman1-unquote): New name for `unquote' dynamic variable.
58 (woman1-B-or-I, woman1-alt-fonts): Update for above name change.
59 (woman-translations): Rename from `translations'. No longer global.
60 (woman2-tr, woman-translate): Update for above name change.
61 (woman-translate): Check for bound variable.
62 (woman2-roff-buffer): Give local variable `translations' a prefix.
64 * play/doctor.el: Give all local variables a prefix. Update callers.
65 (doc$, doctor-put-meaning): Use backquote.
67 * emacs-lisp/cl-macs.el (loop): Give local variable args a prefix.
68 (cl-parse-loop-clause, cl-loop-handle-accum): Update for above change.
70 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Give local
71 variables bytes, ptr, op a prefix.
72 (disassemble-offset): Update for above change.
74 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
76 * emacs-lisp/package.el (package-unpack): Remove no-op.
77 (package--builtins, package--dir): Doc fix.
78 (package-activate-1, package-activate, package-install)
79 (package-compute-transaction): Fix error message.
80 (package-delete): Use delete-directory. Omit system packages.
81 (package-initialize): Set package-alist to nil first.
82 (package-menu-mark-delete, package-menu-mark-install): Don't add
83 symbols that are inconsistent with the package state.
84 (package-menu-execute): Perform deletions and installations as
85 single batch operations.
87 2010-11-03 Glenn Morris <rgm@gnu.org>
89 * progmodes/idlwave.el (idlwave-pset): Only used on XEmacs.
90 (props): Remove unnecessary declaration.
92 * textmodes/ispell.el (ispell-init-process): On Emacs, always use
93 set-process-query-on-exit-flag.
95 * textmodes/reftex-toc.el (name1, dummy, dummy2): Remove unused decs.
96 (reftex-toc-do-promote): Remove unused local `mpos'.
97 (reftex-toc-restore-region): Make `mpos' local to this function.
99 * net/dbus.el (dbus-name-owner-changed-handler): Doc fix.
101 * play/landmark.el (lm-losing-threshold): Correct spelling.
102 (lm-human-plays): Use new name.
104 * play/gomoku.el (gomoku-loosing-threshold): Correct spelling.
105 (gomoku-human-plays): Use new name.
107 * play/gomoku.el (nil-score, Xscore, XXscore, XXXscore, XXXXscore)
108 (Oscore, OOscore, OOOscore, OOOOscore): Rename with gomoku- prefix.
109 (gomoku-score-trans-table, gomoku-winning-threshold)
110 (gomoku-loosing-threshold, gomoku-init-score-table): Use new names.
112 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
114 * emacs-lisp/package.el: Don't put built-in packages in
115 package-alist, to avoid loading inefficiencies.
116 (package-built-in-p): Make VERSION optional, and treat it as a
117 minimum acceptable version.
118 (package-activate): Search separately for built-in packages. Emit
119 a warning if a dependency fails.
120 (define-package): Handle most common case, where there is no
121 obsolete package, first.
122 (package-compute-transaction): Print required version in error.
123 (package--initialized): New variable.
124 (list-packages): Use it.
125 (package-initialize): Optional arg NO-ACTIVATE. Don't put
126 built-in packages in packages-alist; keep it separate. Set
127 package--initialized.
128 (describe-package): Avoid activating packages as a side-effect.
129 Search separately for built-in packages.
130 (describe-package-1): Handle the case where an elpa package is
131 simultaneously built-in and available/installed.
132 (package-installed-p, package--generate-package-list): Search
133 separately for built-in packages.
134 (package-load-descriptor): Doc fix.
136 2010-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
138 * progmodes/perl-mode.el (perl-syntax-propertize-function):
139 Handle __DATA__ and __END__.
141 2010-11-02 Noah Friedman <friedman@splode.com>
143 * emacs-lisp/bytecomp.el (byte-recompile-file): If bytecomp-arg is
144 nil, do not ask to recompile files that are not already compiled,
145 and do not recompile them.
147 2010-11-02 Chong Yidong <cyd@stupidchicken.com>
149 * emacs-lisp/package.el (package-initialize): Ensure that
150 obsoleted built-in packages are not in package-activated-list
152 (describe-package-1): Make the "installed" status override
155 2010-11-01 Vinicius Jose Latorre <viniciusjl@ig.com.br>
157 * subr.el (version-separator, version-regexp-alist): Remove '*'
159 (version-list-<=, version<=, version=): Doc fix.
161 2010-11-01 Kenichi Handa <handa@m17n.org>
163 * faces.el (glyphless-char): Inherit underline for tty.
165 2010-11-01 Kenichi Handa <handa@m17n.org>
167 Implement various display methods for glyphless characters.
169 * international/characters.el (char-acronym-table): New variable.
170 (glyphless-char-control): New variable.
171 (update-glyphless-char-display): New funciton.
173 * faces.el (glyphless-char): New face.
175 2010-11-01 Glenn Morris <rgm@gnu.org>
177 * calendar/holidays.el (general-holidays, oriental-holidays)
178 (local-holidays, other-holidays, hebrew-holidays, christian-holidays)
179 (islamic-holidays, bahai-holidays, solar-holidays): Move aliases before
180 the definitions of their targets.
182 * emacs-lisp/smie.el (smie): New custom group.
183 (smie-blink-matching-inners, smie-indent-basic): Add :group.
185 * faces.el (xw-defined-colors, x-setup-function-keys):
186 * mouse-sel.el (x-select-text):
187 * term/w32console.el (x-setup-function-keys): Update declarations.
189 * progmodes/ruby-mode.el (ruby-syntax-propertize-heredoc): Declare.
191 * textmodes/ispell.el (comment-add): Declare.
193 * net/gnutls.el (gnutls-boot, gnutls-errorp, gnutls-error-string):
196 * info.el (finder-keywords-hash, package-alist): Declare.
198 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
200 * finder.el (finder-compile-keywords): Don't use intern-soft,
201 since package names may not yet exist in the obarray.
203 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
205 * vc/vc-arch.el (vc-arch-checkin):
206 * vc/vc-cvs.el (vc-cvs-checkin):
207 * vc/vc-mtn.el (vc-mtn-checkin):
208 * vc/vc-rcs.el (vc-rcs-checkin):
209 * vc/vc-sccs.el (vc-sccs-checkin):
210 * vc/vc-svn.el (vc-svn-checkin): Remove optional extra arg, unused
211 since 2010-04-21 commit by Stefan Monnier.
213 2010-11-01 Glenn Morris <rgm@gnu.org>
215 * emacs-lisp/bytecomp.el (byte-recompile-file): Fix previous change.
217 * startup.el (package-enable-at-startup, package-initialize):
220 * progmodes/ada-mode.el (ada-font-lock-syntactic-keywords):
223 2010-10-31 Julien Danjou <julien@danjou.info>
225 * emacs-lisp/bytecomp.el (byte-recompile-file): New fun (bug#7297).
226 (byte-recompile-directory):
227 * emacs-lisp/lisp-mode.el (emacs-lisp-byte-compile-and-load):
228 Use `byte-recompile-file'.
230 2010-10-31 Glenn Morris <rgm@gnu.org>
232 * cus-start.el: Handle standard values via a keyword.
233 Only set version property if specified.
234 (cursor-in-non-selected-windows, menu-bar-mode)
235 (tool-bar-mode, show-trailing-whitespace):
236 Do not specify standard values.
237 (transient-mark-mode, temporary-file-directory): Use :standard.
239 2010-10-31 Jan Djärv <jan.h.d@swipnet.se>
241 * term/x-win.el (x-get-selection-value): New function that gets
242 PRIMARY with type as specified in x-select-request-type. (Bug#6802).
244 2010-10-31 Michael Albinus <michael.albinus@gmx.de>
246 * net/tramp.el (tramp-handle-insert-file-contents): For root,
247 preserve owner and group when editing files. (Bug#7289)
249 2010-10-31 Glenn Morris <rgm@gnu.org>
251 * speedbar.el (speedbar-mode):
252 * play/fortune.el (fortune-in-buffer, fortune):
253 * play/gomoku.el (gomoku-mode):
254 * play/landmark.el (lm-mode):
255 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
256 Replace inappropriate uses of toggle-read-only. (Bug#7292)
258 * select.el (x-selection): Mark it as an obsolete alias.
260 2010-10-31 Aaron S. Hawley <aaron.s.hawley@gmail.com>
262 * vc/add-log.el (find-change-log): Use derived-mode-p rather than
263 major-mode (bug#7284).
265 2010-10-31 Glenn Morris <rgm@gnu.org>
267 * menu-bar.el (menu-bar-files-menu): Make it into an actual alias,
268 rather than just an unused variable that inherits from the real one.
270 2010-10-31 Alan Mackenzie <acm@muc.de>
272 * progmodes/cc-cmds.el (c-mask-paragraph): Fix an off-by-1 error.
273 This fixes bug #7185.
275 2010-10-30 Chong Yidong <cyd@stupidchicken.com>
277 * startup.el (command-line): Search for package directories, and
278 don't load package.el if none are found.
280 * emacs-lisp/package.el (describe-package, list-packages): Call
281 package-initialize if it has not been called yet.
283 2010-10-30 Alan Mackenzie <acm@muc.de>
285 * progmodes/cc-fonts.el (c-font-lock-enum-tail): New function
286 which fontifies the tail of an enum.
287 (c-basic-matchers-after): Insert a call to the above new function.
288 This fixes bug #7264.
290 2010-10-30 Glenn Morris <rgm@gnu.org>
292 * cus-start.el: Add :set properties for minor modes menu-bar-mode,
293 tool-bar-mode, transient-mark-mode. (Bug#7306)
294 Include the :set property in the dumped Emacs.
296 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
298 SMIE: change indent rules format, improve smie-setup.
299 * emacs-lisp/smie.el (smie-precs-precedence-table)
300 (smie-merge-prec2s, smie-bnf-precedence-table, smie-prec2-levels):
301 Mark them pure so the tables gets built at compile time.
302 (smie-bnf-precedence-table): Store the closer-alist in the table.
303 (smie-prec2-levels): Preserve the closer-alist.
304 (smie-blink-matching-open): Be more forgiving in case of indentation.
305 (smie-hanging-p): Rename from smie-indent--hanging-p.
306 (smie-bolp): Rename from smie-indent--bolp.
307 (smie--parent, smie--after): New dynamic vars.
308 (smie-parent-p, smie-next-p, smie-prev-p): New funs.
309 (smie-indent-rules): Remove.
310 (smie-indent--offset-rule): Remove fun.
311 (smie-rules-function): New var.
312 (smie-indent--rule): New fun.
313 (smie-indent--offset, smie-indent-keyword, smie-indent-after-keyword)
314 (smie-indent-exps): Use it.
315 (smie-setup): Setup paren blinking; add keyword args for token
316 functions; extract closer-alist from op-levels.
317 (smie-indent-debug-log): Remove var.
318 (smie-indent-debug): Remove fun.
319 * progmodes/prolog.el (prolog-smie-indent-rules): Remove.
320 (prolog-smie-rules): New fun to replace it.
321 (prolog-mode-variables): Simplify.
322 * progmodes/octave-mod.el (octave-smie-closer-alist): Remove, now that
323 it's setup automatically.
324 (octave-smie-indent-rules): Remove.
325 (octave-smie-rules): New fun to replace it.
326 (octave-mode): Simplify.
328 2010-10-29 Glenn Morris <rgm@gnu.org>
330 * files.el (temporary-file-directory): Remove (already defined in C).
331 * cus-start.el: Add temporary-file-directory.
333 * abbrev.el (abbrev-mode):
334 * composite.el (auto-composition-mode):
335 * menu-bar.el (menu-bar-mode):
336 * simple.el (transient-mark-mode):
337 * tool-bar.el (tool-bar-mode): Adjust the define-minor-mode calls so
338 that they do not define the associated variables twice.
339 * simple.el (transient-mark-mode): Remove defvar.
340 * composite.el (auto-composition-mode): Make variable auto-buffer-local.
341 * cus-start.el: Add transient-mark-mode, menu-bar-mode, tool-bar-mode.
342 Handle multiple groups, and also custom-delayed-init-variables.
343 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
345 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
347 * emacs-lisp/pcase.el (pcase): New `string' and `guard' patterns.
348 (pcase-if): Add one minor optimization.
349 (pcase-split-equal): Rename from pcase-split-eq.
350 (pcase-split-member): Rename from pcase-split-memq.
351 (pcase-u1): Add strings to the member optimization.
352 Add `guard' variant of predicates.
353 (pcase-q1): Add string patterns.
355 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
357 * vc/log-edit.el (log-edit-rewrite-fixes): State its safety pred.
359 2010-10-28 Glenn Morris <rgm@gnu.org>
361 * term/ns-win.el (global-map, menu-bar-final-items, menu-bar-help-menu):
362 Move menu-bar related settings to ../menu-bar.el.
363 * menu-bar.el (global-map, menu-bar-final-items, menu-bar-help-menu):
364 Move ns-specific settings here from term/ns-win.el.
366 * simple.el (x-selection-owner-p): Remove unused declaration.
368 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
370 * minibuffer.el (completion-cycling): New var (bug#7266).
371 (minibuffer-complete, completion--do-completion):
372 Use completion--flush-all-sorted-completions.
373 (minibuffer-complete): Only cycle if completion-cycling is set.
374 (completion--flush-all-sorted-completions): Unset completion-cycling.
375 (minibuffer-force-complete): Set completion-cycling.
376 (completion-all-sorted-completions): Move declaration before first use.
378 2010-10-28 Leo <sdl.web@gmail.com>
380 * iswitchb.el (iswitchb-kill-buffer): Avoid `iswitchb-make-buflist'
381 which changes the order of matches seen by users (bug#7231).
383 2010-10-28 Jes Bodi Klinke <jes@bodi-klinke.dk> (tiny change)
385 * progmodes/compile.el (compilation-mode-font-lock-keywords):
386 Don't confuse -omega as "-o mega".
388 2010-10-27 Stefan Monnier <monnier@iro.umontreal.ca>
390 * vc/log-edit.el (log-edit-rewrite-fixes): New var.
391 (log-edit-author): New dynamic var.
392 (log-edit-changelog-ours-p, log-edit-insert-changelog-entries): Use it
393 to return the author if different from committer.
394 (log-edit-insert-changelog): Use them to add Author: and Fixes headers.
396 * play/landmark.el: Adjust commenting convention.
397 (lm-nil-score): Rename from nil-score.
398 (Xscore, XXscore, XXXscore, XXXXscore, Oscore, OOscore, OOOscore)
399 (OOOOscore): Move into a let in lm-score-trans-table.
400 (lm-winning-threshold, lm-loosing-threshold): Use lm-score-trans-table.
402 * electric.el (electric-indent-chars): Autoload.
403 * progmodes/octave-mod.el (octave-mode):
404 * progmodes/ruby-mode.el (ruby-mode): Take advantage of it.
405 (ruby-mode-abbrev-table): Merge initialization and declaration.
407 2010-10-27 Glenn Morris <rgm@gnu.org>
409 * abbrev.el (abbrev-mode): Remove one of the three definitions of this
412 * server.el (server-host, server-port, server-auth-dir): Autoload risky.
414 * term/ns-win.el: Restore require of cl when compiling.
415 (menu-bar-final-items): Remove non-existent `windows' menu.
416 (ns-handle-nxopen): Optionally handle the temp-case.
417 (ns-handle-nxopentemp): Just call ns-handle-nxopen.
418 (ns-insert-file, ns-find-file): Use `pop'.
420 2010-10-26 Glenn Morris <rgm@gnu.org>
422 * term/common-win.el (xw-defined-colors): Simplify the 'ns case.
424 2010-10-26 Adrian Robert <Adrian.B.Robert@gmail.com>
426 * term/ns-win.el (ns-new-frame, ns-show-prefs): Don't add to
428 * term/common-win.el (x-setup-function-keys): Remove most of the
429 keymappings. Comment on the remaining ones.
431 2010-10-26 Peter Oliver <p.d.oliver@mavit.org.uk> (tiny change)
433 * server.el (server-port): New option. (Bug#854)
434 (server-start): Use server-port.
436 2010-10-26 Glenn Morris <rgm@gnu.org>
438 * term/ns-win.el (ns-version-string): Remove unused declaration.
439 (ns-invocation-args): Change to x-invocation-args.
440 (ns-handle-switch, ns-handle-numeric-switch, ns-handle-iconic)
441 (ns-handle-name-switch, ns-ignore-2-arg): Remove.
442 (ns-handle-nxopen, ns-handle-nxopentemp, ns-ignore-1-arg):
443 Use x-invocation-args instead of ns-invocation-args.
444 (ns-initialize-window-system, handle-args-function-alist):
445 Use x-handle-args instead of ns-handle-args.
446 * term/common-win.el (x-handle-args): Also handle nextstep arguments.
447 * startup.el (command-line-ns-option-alist): Replace
448 ns-handle-name-switch, ns-handle-switch, ns-handle-numeric-switch,
449 ns-handle-iconic with the x- equivalents.
451 * term/common-win.el (x-select-enable-clipboard):
452 * term/pc-win.el (x-select-enable-clipboard): Doc fix.
454 * term/ns-win.el: No need to require cl when compiling.
455 (x-display-name, x-setup-function-keys, x-select-text, x-colors)
456 (xw-defined-colors): Use the common-win definitions.
457 (ns-alternatives-map): Make it an obsolete alias for x-alternatives-map.
458 (ns-handle-iconic): Make it an alias for x-handle-iconic.
459 * term/common-win.el (x-select-text, x-alternatives-map)
460 (x-setup-function-keys, x-colors, xw-defined-colors): Handle 'ns case.
461 * loadup.el [ns]: Load common-win.
463 2010-10-26 Daiki Ueno <ueno@unixuser.org>
465 * epa-mail.el (epa-mail-encrypt): Handle local-part only
466 recipients; expand mail aliases (Bug#7280).
468 2010-10-25 Glenn Morris <rgm@gnu.org>
470 * term/common-win.el (x-handle-switch): Simplify with pop.
471 Optionally handle numeric switches.
472 (x-handle-numeric-switch): Just call x-handle-switch.
473 (x-handle-initial-switch, x-handle-xrm-switch, x-handle-geometry)
474 (x-handle-name-switch, x-handle-display, x-handle-args):
477 * term/ns-win.el: Do not require easymenu.
478 (menu-bar-edit-menu) <copy, paste, paste-from-menu, separator-undo>:
479 <spell>: Move adjustments to menu-bar.el.
480 * menu-bar.el (menu-bar-edit-menu) <copy, paste, paste-from-menu>:
481 <separator-undo, spell>: Move ns-win's adjustments here.
482 * loadup.el [ns]: Do not load easymenu.
484 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
486 * image.el (image-checkbox-checked, image-checkbox-unchecked):
489 * startup.el (fancy-startup-tail): Instead of using inline images,
490 refer to image files from etc/.
492 * wid-edit.el (checkbox): Likewise.
493 (widget-image-find): Center image specs.
495 2010-10-24 Glenn Morris <rgm@gnu.org>
497 * term/ns-win.el (x-select-text): Doc fix.
498 * w32-fns.el (x-alternatives-map, x-setup-function-keys)
499 (x-select-text): Move to term/common-win.
500 * term/w32-win.el (xw-defined-colors): Move to common-win.
501 * term/x-win.el (xw-defined-colors, x-alternatives-map)
502 (x-setup-function-keys, x-select-text): Move to common-win.
503 * term/common-win.el (x-select-text, x-alternatives-map)
504 (x-setup-function-keys, xw-defined-colors): Merge x- and w32-
507 2010-10-24 T.V. Raman <tv.raman.tv@gmail.com> (tiny change)
509 * net/mairix.el (mairix-searches-mode-map):
510 * mail/mspools.el (mspools-mode-map): Fix 2010-10-10 change.
512 2010-10-24 Michael McNamara <mac@mail.brushroad.com>
514 * verilog-mode.el (verilog-directive-re): Make this variable
515 auto-built for efficiency of execution and updating.
516 (verilog-extended-complete-re): Support 'pure' fucntion & task
517 declarations (these have no bodies).
518 (verilog-beg-of-statement): General cleanup to enable support of
519 'pure' fucntion & task declarations (these have no bodies).
520 These efforts together fix Verilog bug210 from veripool; which was also
521 noticed by Steve Pearlmutter.
522 (verilog-directive-re, verilog-directive-begin, verilog-indent-re)
523 (verilog-directive-nest-re, verilog-set-auto-endcomments):
524 Support `elsif. Reported by Shankar Giri.
525 (verilog-forward-ws&directives, verilog-in-attribute-p): Fixes for
526 attribute handling for lining up declarations and assignments.
527 (verilog-beg-of-statement-1): Fix issue where continued declaration
528 is indented differently if it is after a begin..end clock.
529 (verilog-in-attribute-p, verilog-skip-backward-comments)
530 (verilog-skip-forward-comment-p): Support proper treatment of
531 attributes by indent code. Reported by Jeff Steele.
532 (verilog-in-directive-p): Fix comment to correctly describe function.
533 (verilog-backward-up-list, verilog-in-struct-region-p)
534 (verilog-backward-token, verilog-in-struct-p)
535 (verilog-in-coverage-p, verilog-do-indent)
536 (verilog-pretty-declarations): Use verilog-backward-up-list as
537 wrapper around backward-up-list inorder to properly skip comments.
538 Reported by David Rogoff.
539 (verilog-property-re, verilog-endcomment-reason-re)
540 (verilog-beg-of-statement, verilog-set-auto-endcomments)
541 (verilog-calc-1 ): Fix for assert a; else b; indentation (new form
542 of if). Reported by Max Bjurling and
543 (verilog-calc-1): Fix for clocking block in modport
544 declaration. Reported by Brian Hunter.
546 2010-10-24 Wilson Snyder <wsnyder@wsnyder.org>
548 * verilog-mode.el (verilog-auto-inst, verilog-gate-ios)
549 (verilog-gate-keywords, verilog-read-sub-decls)
550 (verilog-read-sub-decls-gate, verilog-read-sub-decls-gate-ios)
551 (verilog-read-sub-decls-line, verilog-read-sub-decls-sig): Support
552 AUTOINST for gate primitives, bug284. Reported by Mark Johnson.
553 (verilog-read-decls): Fix spaces in V2K module parameters causing
554 mis-identification as interfaces, bug287.
555 (verilog-read-decls): Fix not treating "parameter string" as a
556 parameter in AUTOINSTPARAM.
557 (verilog-read-always-signals-recurse, verilog-read-decls): Fix not
558 treating `elsif similar to `endif inside AUTOSENSE.
559 (verilog-do-indent): Implement correct automatic or static task or
560 function end comment highlight. Reported by Steve Pearlmutter.
561 (verilog-font-lock-keywords-2): Fix highlighting of single
562 character pins, bug264. Reported by Michael Laajanen.
563 (verilog-auto-inst, verilog-read-decls, verilog-read-sub-decls)
564 (verilog-read-sub-decls-in-interfaced, verilog-read-sub-decls-sig)
565 (verilog-subdecls-get-interfaced, verilog-subdecls-new): Support
566 interfaces with AUTOINST, bug270. Reported by Luis Gutierrez.
567 (verilog-pretty-expr): Fix interactive arguments, bug272.
568 Reported by Mark Johnson.
569 (verilog-auto-tieoff, verilog-auto-tieoff-ignore-regexp):
570 Add 'verilog-auto-tieoff-ignore-regexp' for AUTOTIEOFF,
571 bug269. Suggested by Gary Delp.
572 (verilog-mode-map, verilog-preprocess, verilog-preprocess-history)
573 (verilog-preprocessor, verilog-set-compile-command):
574 Create verilog-preprocess and verilog-preprocessor to show
576 (verilog-get-beg-of-line, verilog-get-end-of-line)
577 (verilog-modi-file-or-buffer, verilog-modi-name)
578 (verilog-modi-point, verilog-within-string): Move defmacro's
579 before first use to avoid warning. Reported by Steve Pearlmutter.
580 (verilog-colorize-buffer, verilog-colorize-include-files-buffer)
581 (verilog-colorize-region, verilog-highlight-buffer)
582 (verilog-highlight-includes, verilog-highlight-modules)
583 (verilog-highlight-region, verilog-mode): Rename colorize to
584 highlight to match other packages. Disable module highlighting,
585 as received speed complaints, reenable for experimentation only
586 using new verilog-highlight-modules.
587 (verilog-read-decls): Fix regexp stack overflow in very large
588 AUTO_TEMPLATEs, bug250.
589 (verilog-auto, verilog-delete-auto, verilog-save-buffer-state)
590 (verilog-scan): Create verilog-save-buffer-state to standardize
591 making insignificant changes that shouldn't call hooks.
592 (verilog-save-no-change-functions, verilog-save-scan-cache)
593 (verilog-scan, verilog-scan-cache-ok-p, verilog-scan-region):
594 Create verilog-save-no-change-functions to wrap verilog-scan
595 preservation, and fix to work with nested preserved calls.
596 (verilog-auto-inst, verilog-auto-inst-dot-name): Support .name
597 port syntax for AUTOWIRE, and with new verilog-auto-inst-dot-name
598 generate .name with AUTOINST, bug245. Suggested by David Rogoff.
599 (verilog-submit-bug-report): Update variable list to be complete.
600 (verilog-auto, verilog-colorize-region): Fix AUTO expansion
601 breaking on-the-fly font-locking.
602 (verilog-colorize-buffer, verilog-colorize-include-files)
603 (verilog-colorize-include-files-buffer, verilog-colorize-region)
604 (verilog-load-file-at-mouse, verilog-load-file-at-point)
605 (verilog-mode, verilog-read-inst-module-matcher): With point on a
606 AUTOINST cell instance name, middle mouse button now finds-file on
607 it. Suggested by Brad Dobbie.
608 (verilog-alw-get-temps, verilog-auto-reset)
609 (verilog-auto-sense-sigs, verilog-read-always-signals)
610 (verilog-read-always-signals-recurse): Fix loop indexes being
611 AUTORESET. AUTORESET now assumes any variables in the
612 initialization section of a for() should be ignored. Reported by
614 (verilog-error-font-lock-keywords)
615 (verilog-error-regexp-emacs-alist)
616 (verilog-error-regexp-xemacs-alist): Fix error detection of
617 Cadence HAL, reported by David Asher. Repair drift between the
618 three similar error variables.
619 (verilog-modi-lookup, verilog-modi-lookup-cache)
620 (verilog-modi-lookup-last-current, verilog-modi-lookup-last-mod)
621 (verilog-modi-lookup-last-modi, verilog-modi-lookup-last-tick):
622 Fix slow verilog-auto expansion on very large files.
623 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line):
624 Fix AUTOOUTPUT treating "1*2" as a signal name in submodule connection
625 "{1*2{...". Broke in last revision.
626 (verilog-read-sub-decls-expr): Fix AUTOOUTPUT not detecting
627 submodule connections with replications "{#{a},#{b}}".
629 2010-10-24 Juanma Barranquero <lekktu@gmail.com>
631 * progmodes/dcl-mode.el (dcl-electric-reindent-regexps):
632 Fix typo in docstring.
634 2010-10-24 Kenichi Handa <handa@m17n.org>
636 * face-remap.el (text-scale-adjust): Call read-event with a proper
639 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
641 * emacs-lisp/unsafep.el: Don't mark functions that display
642 messages as safe. Suggested by Johan Bockgård.
644 2010-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
646 * emacs-lisp/regexp-opt.el (regexp-opt-group, regexp-opt-charset):
647 Turn comments into docstrings.
649 * minibuffer.el (completion--replace): Move point where it belongs
650 when there's a common suffix (bug#7215).
652 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
654 Merge read-color and facemenu-read-color (Bug#7242).
656 * faces.el (read-color): Use the completion code from
657 facemenu-read-color. Require match in completion. Doc fix.
659 * facemenu.el (facemenu-read-color): Alias for read-color.
660 (facemenu-set-foreground, facemenu-set-background): Use
663 * frame.el (set-background-color, set-foreground-color)
664 (set-cursor-color, set-mouse-color, set-border-color): Use
667 2010-10-24 Leo <sdl.web@gmail.com>
669 * eshell/em-unix.el (eshell-remove-entries): Use the TRASH
670 argument of delete-file and delete-directory (Bug#7011).
672 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
674 * emacs-lisp/package.el (package-menu-mode-map): Inherit from
677 2010-10-24 Ralf Angeli <angeli@caeruleus.net>
679 * emacs-lisp/package.el (package--generate-package-list): Make the
680 *Packages* buffer read-only.
682 2010-10-24 Alan Mackenzie <acm@muc.de>
684 * progmodes/cc-fonts.el (c-font-lock-declarations): Cache the
685 result of `c-beginning-of-decl-1' between invocations of a lambda
686 function (Bug #7265).
688 2010-10-24 Daiki Ueno <ueno@unixuser.org>
690 * epg-config.el (epg-gpg-program): Try to use "gpg2" if "gpg"
691 executable is not available on the system (Bug#7268).
693 2010-10-24 Glenn Morris <rgm@gnu.org>
695 * select.el (selection-coding-system, next-selection-coding-system):
696 Sync doc with C versions.
698 * w32-vars.el (x-select-enable-clipboard):
699 * term/x-win.el (x-select-enable-clipboard): Move to common-win.
700 * term/common-win.el (x-select-enable-clipboard): Move here.
702 * term/tty-colors.el (tty-defined-color-alist): Remove duplicate
703 definition of C variable.
705 * frame.el (show-trailing-whitespace, auto-hscroll-mode)
706 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
707 Don't redefine things that are defined in C.
708 * cus-start.el: Also handle :risky, :safe, :set, and :tag.
709 (show-trailing-whitespace, auto-hscroll-mode)
710 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
711 Set up the appropriate custom properties.
713 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
716 * progmodes/f90.el (f90-mode-map): ... f90-insert-end.
717 * nxml/nxml-mode.el (nxml-mode-map): ... nxml-finish-element.
718 * textmodes/tex-mode.el (tex-mode-map): ... latex-close-block.
719 * textmodes/sgml-mode.el (sgml-mode-map): ... sgml-close-tag.
721 2010-10-23 Glenn Morris <rgm@gnu.org>
723 * textmodes/flyspell.el (flyspell-mode): If there was an error,
726 * frame.el (auto-hscroll-mode, cursor-in-non-selected-windows):
727 Sync docs with C version.
729 * term/ns-win.el (xw-defined-colors):
730 * term/x-win.el (xw-defined-colors): Make docs identical to w32-win.
732 * term/pc-win.el (x-select-enable-clipboard):
733 * term/x-win.el (x-select-enable-clipboard):
734 * w32-vars.el (x-select-enable-clipboard): Make doc-strings identical.
736 * comint.el (comint-password-prompt-regexp): Make it less vague.
739 * help-fns.el (doc-file-to-man, doc-file-to-info): New commands.
741 * help.el (finder-by-keyword): Remove unnecessary autoload.
743 2010-10-22 Glenn Morris <rgm@gnu.org>
745 * loadup.el: Unconditionally load float-sup.
746 * paren.el (show-paren-delay):
747 * emacs-lisp/float-sup.el:
748 * emulation/cua-base.el (cua-prefix-override-inhibit-delay):
749 * obsolete/lazy-lock.el (lazy-lock-defer-time, lazy-lock-stealth-nice)
750 (lazy-lock-stealth-verbose): Assume float support.
751 * ps-print.el: Assume float support on Emacs.
752 * emacs-lisp/timer.el (timer-next-integral-multiple-of-time):
753 Remove non-float branch.
755 * emacs-lisp/autoload.el (batch-update-autoloads): Update for
756 src/Makefile no longer being pre-processed.
758 2010-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
760 * emacs-lisp/find-func.el (find-library): Use test-completion.
762 2010-10-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
764 * newcomment.el (comment-dwim): Fix the intentation in the doc string.
766 010-10-21 Michael Albinus <michael.albinus@gmx.de>
768 * net/tramp-sh.el (tramp-do-file-attributes-with-stat): Do not use
769 space in stat format string.
770 (tramp-send-command): Unset $PS1 when using here documents, in
771 order not to get several prompts.
772 (tramp-get-inline-coding): Return `nil' in case of errors.
774 2010-10-21 Daiki Ueno <ueno@unixuser.org>
776 * hexl.el (hexl-mode, hexl-mode-exit):
777 Tweak revert-buffer-function to inhibit auto-mode-alist (Bug#7252).
778 (hexl-revert-buffer-function): New function.
779 (hexl-before-revert-hook, hexl-after-revert-hook): Abolish.
781 2010-10-19 Alan Mackenzie <acm@muc.de>
783 * progmodes/cc-langs.el (c-type-decl-prefix-key): C++ bit:
784 Move "\(const\|throw\|volatile\)\>" nearer the start of the regexp, so
785 that these keywords aren't wrongly matched as identifiers.
787 * progmodes/cc-mode.el (c-before-change, c-after-change): Move the
788 setting of c-new-BEG and c-new-END from c-before-change to
789 c-after-change. (Bug#7181)
791 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
793 * cus-face.el (custom-theme-set-faces): Revert 2010-10-18 change.
796 * custom.el (custom-theme-set-variables): Likewise.
797 (load-theme): Add custom-theme-set-faces and
798 custom-theme-set-variables to safe-functions while loading.
799 (custom-enabled-themes): Mark as risky.
801 2010-10-18 Julien Danjou <julien@danjou.info>
803 * bindings.el: Remove end dashes in default mode-line-format.
805 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
807 * bindings.el (global-map): Bind C-d to delete-char and deletechar
808 to delete-forward-char.
810 * simple.el (normal-erase-is-backspace-mode): Remap delete to
811 deletechar, and hence delete-forward-char.
813 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
815 * repeat.el (repeat): Use read-key (bug#6256).
817 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
819 * emacs-lisp/unsafep.el: Don't mark functions that display
820 messages as safe. Suggested by Johan Bockgård.
822 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
824 * minibuffer.el (completion--replace): Move point where it belongs
825 when there's a common suffix (bug#7215).
827 2010-10-19 Kenichi Handa <handa@m17n.org>
829 * international/characters.el: Add category '|' (word breakable)
830 to fullwidth characters.
832 2010-10-19 Michael Albinus <michael.albinus@gmx.de>
834 * net/tramp-sh.el (tramp-do-file-attributes-with-stat)
835 (tramp-do-directory-files-and-attributes-with-stat): Use "e0" in
836 order to make stat results a float. Patch by Andreas Schwab
837 <schwab@linux-m68k.org>.
839 2010-10-18 Julien Danjou <julien@danjou.info>
841 * avoid.el (mouse-avoidance-ignore-p): Ignore mouse when it is
842 hidden by `make-pointer-invisible'.
844 2010-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
846 * files.el (locate-file-completion-table): Strip non-matching elements
847 before checking length of list (bug#7238).
849 2010-10-18 Chong Yidong <cyd@stupidchicken.com>
851 * custom.el (custom-theme-set-variables): Mark as a safe function.
852 (load-theme): Check forms using unsafep.
854 * cus-face.el (custom-theme-set-faces): Mark as a safe function.
856 2010-10-17 Agustín Martín <agustin.martin@hispalinux.es>
858 * textmodes/ispell.el (ispell-aspell-find-dictionary):
859 Fix aspell data file searching (bug#7230).
861 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
863 * cus-theme.el (custom-theme--migrate-settings): New var.
864 (customize-create-theme): Allow editing the `user' theme.
865 (custom-theme-add-variable, custom-theme-add-var-1)
866 (custom-theme-add-face, custom-theme-add-face-1): Add a checkbox
867 to the front of each variable or face widget.
868 (custom-theme-write): Save theme settings in the correct order.
869 Optionally, remove saved settings from user customizations.
870 (custom-theme-write-variables, custom-theme-write-faces):
871 Save only the checked widgets.
872 (customize-themes): Add a link for migrating custom settings.
874 * custom.el (custom-declare-theme, provide-theme):
875 Use custom-theme-name-valid-p.
876 (custom-theme-name-valid-p): Remove checks that are now
877 unnecessary since themes no longer obey load-path.
879 * cus-edit.el (custom-variable-value-create): For the simple
880 style, hide documentation string when hidden.
882 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
884 * cus-edit.el (custom-variable, custom-face): Combine the
885 :inhibit-magic and :display-style properties into a single
886 :custom-style property.
887 (custom-toggle-hide-variable, custom-toggle-hide-face):
888 New functions. If hiding an edited value, save it to :shown-value.
889 (custom-variable-value-create, custom-face-value-create): Use them.
890 (custom-magic-reset): Allow magic property to be unset.
892 * custom.el: Custom themes no longer use load-path.
893 (custom-theme-load-path): New option. Change built-in theme
895 (custom-enabled-themes): Add custom-theme-load-path dependency.
896 (custom-theme--load-path): New function.
897 (load-theme, custom-available-themes): Use it.
899 * cus-theme.el (describe-theme-1): Use custom-theme--load-path.
900 (customize-themes): Link to custom-theme-load-path variable.
901 (custom-theme-add-var-1, custom-theme-add-face-1): Use the
902 :custom-style property.
904 * themes/*.el: Moved to etc/.
906 2010-10-16 Ralf Angeli <angeli@caeruleus.net>
908 * textmodes/reftex-cite.el
909 (reftex-extract-bib-entries-from-thebibliography): Do not move
910 point when searching for \bibitem entries. Match entries with
911 spaces or tabs in front of arguments.
913 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
915 * cus-theme.el (customize-create-theme): Delete overlays after
916 erasing. If given a THEME arg, display only the faces of that arg
917 instead of custom-theme--listed-faces.
918 (custom-theme-variable-menu, custom-theme-variable-action)
919 (custom-variable-reset-theme, custom-theme-delete-variable): Delete.
920 (custom-theme-add-variable, custom-theme-add-face): Apply value
921 from the theme settings, instead of the current value.
922 (custom-theme-add-var-1, custom-theme-add-face-1): New functions.
923 (custom-theme-visit-theme): Allow calling outside theme buffers.
924 (custom-theme-merge-theme): Don't enable the theme when merging.
925 (custom-theme-write-variables, custom-theme-write-faces): Use the
926 :shown-value properties to save buffer values, not global ones.
927 (customize-themes): Display a warning about user customizations.
929 * cus-edit.el (custom-variable-value-create)
930 (custom-face-value-create): Obey new special properties
931 :shown-value and :inhibit-magic.
933 2010-10-15 Michael Albinus <michael.albinus@gmx.de>
935 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
936 Suppress expansion of tabs to spaces. Reported by Dale Sedivec
939 2010-10-14 Kenichi Handa <handa@m17n.org>
941 * mail/rmail.el (rmail-show-message-1): Catch an error of
942 base64-decode-region and just show an error message (bug#7165).
944 * ps-mule.el (ps-mule-font-spec-list): Delete it. Not used anymore.
945 (ps-mule-begin-job): Fix for the case that only ENCODING is set in
946 a font-spec (bug#7197).
948 2010-10-14 Glenn Morris <rgm@gnu.org>
950 * mail/emacsbug.el (report-emacs-bug): Mention debbugs.gnu.org.
952 2010-10-14 Juanma Barranquero <lekktu@gmail.com>
954 * international/mule.el (define-coding-system):
955 * international/titdic-cnv.el (quail-cxterm-package-ext-info):
956 * composite.el (compose-region): Fix typo in docstring.
958 2010-10-14 Chong Yidong <cyd@stupidchicken.com>
960 * cus-face.el (custom-theme-set-faces): Call custom-push-theme
961 only after checking the theme-face property.
963 * faces.el (face-spec-reset-face): Reset all attributes in one
964 single call to set-face-attribute.
965 (face-spec-match-p): Make it a defsubst.
966 (frame-set-background-mode): New arg KEEP-FACE-SPECS.
967 (x-create-frame-with-faces, tty-create-frame-with-faces)
968 (tty-set-up-initial-frame-faces): Don't recompute face specs in
969 frame-set-background-mode, since they are recomputed immediately
970 afterwards in face-set-after-frame-default.
971 (face-set-after-frame-default): Minor optimization.
972 (cursor): Provide non-trivial defface spec.
974 * custom.el (custom-theme-recalc-face): Simplify.
976 2010-10-14 Jay Belanger <jay.p.belanger@gmail.com>
978 * calc/calc-alg.el (math-var): Rename from `var'.
979 (math-is-polynomial, math-is-poly-rec): Replace `var'
982 * calc/calcalg2.el (math-var): Rename from `var'.
983 (calcFunc-table, math-scan-for-limits): Replace `var'
986 2010-10-13 Glenn Morris <rgm@gnu.org>
988 * subr.el (last): Deal with dotted lists (reported in bug#7174).
990 2010-10-13 Stephen Berman <stephen.berman@gmx.net>
992 * subr.el (last): Use `safe-length' instead of `length' (bug#7206).
994 2010-10-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
996 * net/tls.el (tls-program): Remove spurious %s from openssl.
997 (tls-starttls-switches): Remove starttls hack.
998 (open-tls-stream): Ditto.
999 (tls-find-starttls-argument): Ditto.
1001 2010-10-13 Juanma Barranquero <lekktu@gmail.com>
1003 * image.el (image-library-alist): Declare as obsolete alias.
1004 (image-type-available-p): Use `dynamic-library-alist'.
1006 * term/w32-win.el (dynamic-library-alist):
1007 Use instead of `image-library-alist'.
1009 2010-10-13 IRIE Shinsuke <irieshinsuke@yahoo.co.jp> (tiny change)
1011 * subr.el (last): Make it faster. (Bug#7174)
1013 2010-10-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> (tiny change)
1015 * Makefile.in (compile-clean): Use `` instead of $(). (Bug#7178)
1017 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
1019 * cus-theme.el (custom-theme--listed-faces): Add cursor face.
1020 (describe-theme-1): Extract doc from unloaded themes.
1022 * custom.el (custom-theme-name-valid-p): Don't list color-themes.
1024 * themes/tango-theme.el:
1025 * themes/tango-dark-theme.el:
1026 * themes/wheatgrass-theme.el: New files.
1028 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
1030 * cus-theme.el (describe-theme, customize-themes)
1031 (custom-theme-save): New commands.
1032 (custom-new-theme-mode-map): Bind C-x C-s.
1033 (custom-new-theme-mode): Use custom--initialize-widget-variables.
1034 (customize-create-theme): New optional arg THEME.
1035 (custom-theme-revert): Use it.
1036 (custom-theme-visit-theme): Remove dead code.
1037 (custom-theme-merge-theme): Use custom-available-themes.
1038 (custom-theme-write): Make interactive.
1039 (custom-theme-write): Use custom-theme-name-valid-p.
1040 (describe-theme-1, custom-theme-choose-revert)
1041 (custom-theme-checkbox-toggle, custom-theme-selections-toggle):
1043 (custom-theme-allow-multiple-selections): New option.
1044 (custom-theme-choose-mode): New major mode.
1046 * custom.el (custom-theme-set-variables): Remove dead code.
1047 Obey custom--inhibit-theme-enable.
1048 (custom--inhibit-theme-enable): New var.
1049 (provide-theme): Obey it.
1050 (load-theme): Replace load with manual read/eval, in order to
1051 check for correctness. Use custom-theme-name-valid-p.
1052 (custom-theme-name-valid-p): New function.
1053 (custom-available-themes): Use it.
1055 * cus-edit.el (custom--initialize-widget-variables): New function.
1056 (Custom-mode): Use it.
1058 * cus-face.el (custom-theme-set-faces): Remove dead code.
1059 Obey custom--inhibit-theme-enable.
1061 * help-mode.el (help-theme-def, help-theme-edit): New buttons.
1063 2010-10-12 Juanma Barranquero <lekktu@gmail.com>
1065 * net/telnet.el (telnet-mode-map): Fix previous change (bug#7193).
1067 2010-10-12 Jan Djärv <jan.h.d@swipnet.se>
1069 * term/ns-win.el (ns-right-alternate-modifier): New defvar.
1070 (ns-right-option-modifier): New alias for ns-right-alternate-modifier.
1071 (mac-right-option-modifier): New alias for ns-right-option-modifier.
1073 * cus-start.el (all): ns-right-alternate-modifier is new.
1075 2010-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
1077 * emacs-lisp/lisp.el (lisp-completion-at-point):
1078 Use emacs-lisp-mode-syntax-table for the whole function.
1080 2010-10-12 David Koppelman <koppel@ece.lsu.edu>
1082 * hi-lock.el (hi-lock-font-lock-hook): Check font-lock-fontified
1083 instead of font-lock-mode before adding keywords.
1084 Remove hi-lock-mode off code. Remove inhibit hack.
1085 (hi-lock-set-pattern): Only add keywords if font-lock-fontified
1086 non-nil; removed hook inhibit hack.
1088 2010-10-12 Glenn Morris <rgm@gnu.org>
1090 * emacs-lisp/shadow.el (find-emacs-lisp-shadows): Rename it...
1091 (load-path-shadows-find): ... to this.
1092 (list-load-path-shadows): Update for above change.
1094 * mail/mail-utils.el (mail-mbox-from): Also try return-path.
1096 2010-10-11 Katsumi Yamaoka <yamaoka@jpl.org>
1098 * mail/hashcash.el, net/imap.el, pgg-parse.el, pgg.el:
1099 Fix comment for declare-function.
1101 2010-10-11 Chong Yidong <cyd@stupidchicken.com>
1103 * custom.el (custom-fix-face-spec): New function; code moved from
1104 custom-face-edit-fix-value.
1105 (custom-push-theme): Use it when checking if a face has been
1106 changed outside customize.
1107 (custom-available-themes): New function.
1108 (load-theme): Use it.
1110 * cus-edit.el (custom-face-edit-fix-value): Use custom-fix-face-spec.
1112 * custom.el (custom-push-theme): Cleanup (use cond).
1113 (disable-theme): Recompute the saved-face property.
1114 (custom-theme-recalc-face): Follow face alias before setting prop.
1116 * image.el (image-checkbox-checked, image-checkbox-unchecked):
1117 New variables, containing checkbox images.
1119 * startup.el (fancy-startup-tail):
1120 * wid-edit.el (checkbox): Use them.
1122 2010-10-10 Dan Nicolaescu <dann@ics.uci.edu>
1124 * shell.el (shell-mode-map):
1125 * progmodes/modula2.el (m2-mode-map):
1126 * progmodes/inf-lisp.el (inferior-lisp-mode-map):
1127 * play/mpuz.el (mpuz-mode-map):
1128 * play/landmark.el (lm-mode-map):
1129 * play/decipher.el (decipher-mode-map):
1130 * play/5x5.el (5x5-mode-map):
1131 * net/telnet.el (telnet-mode-map):
1132 * net/quickurl.el (quickurl-list-mode-map):
1133 * net/mairix.el (mairix-searches-mode-map):
1134 * net/eudc-hotlist.el (eudc-hotlist-mode-map):
1135 * net/dig.el (dig-mode-map):
1136 * mail/mspools.el (mspools-mode-map):
1137 * hexl.el (hexl-mode-map):
1138 * emulation/ws-mode.el (wordstar-C-k-map, wordstar-mode-map)
1139 (wordstar-C-o-map, wordstar-C-q-map):
1140 * emacs-lisp/edebug.el (edebug-eval-mode-map):
1141 * emacs-lisp/chart.el (chart-map):
1142 * edmacro.el (edmacro-mode-map):
1143 * erc/erc-list.el (erc-list-menu-mode-map):
1144 * array.el (array-mode-map): Declare and define in one step.
1146 * vc/log-view.el (log-view-mode-map): Bind revert-buffer.
1148 2010-10-10 Daiki Ueno <ueno@unixuser.org>
1150 * epa.el (epa-passphrase-callback-function): Display filename
1151 passed as the 3rd arg.
1152 * epa-file.el (epa-file-passphrase-callback-function):
1153 Pass filename to epa-passphrase-callback-function.
1155 2010-10-09 Chong Yidong <cyd@stupidchicken.com>
1157 * cus-edit.el (custom-face-widget-to-spec)
1158 (custom-face-get-current-spec, custom-face-state): New functions.
1159 (custom-face-set, custom-face-mark-to-save)
1160 (custom-face-value-create, custom-face-state-set): Use them.
1162 * cus-theme.el (custom-theme--listed-faces): New var.
1163 (customize-create-theme): Use *Custom Theme* as the buffer name.
1164 Set revert-buffer-function. Optional arg BUFFER. Insert all
1165 faces listed in custom-theme--listed-faces.
1166 (custom-theme-revert): New function.
1167 (custom-theme-add-variable, custom-theme-add-face): Insert at the
1169 (custom-theme-write): Prompt for theme name if empty.
1170 (custom-theme-write-variables): Use dolist.
1171 (custom-theme-write-faces): Handle hidden (collapsed) widgets.
1173 2010-10-09 Alan Mackenzie <acm@muc.de>
1175 Enhance fontification of declarators to take account of the
1176 presence/absence of "typedef".
1178 * cc-engine.el (c-forward-type): New &optional param
1180 (c-forward-decl-or-cast-1): cdr of return value now indicates the
1181 presence of either or both of a "struct"-like keyword and "typedef".
1183 * cc-fonts.el (c-complex-decl-matchers): Remove the heuristic
1184 fontification of declarators which follow a "}".
1185 (c-font-lock-declarations): Fontify declarators according to the
1186 presence/absence of "typedef".
1188 * cc-langs.el (c-typedef-kwds c-typedef-key): New lang variable
1190 (c-typedef-decl-key): New lang variable built from
1191 c-typedef-decl-kwds.
1193 2010-10-09 Lars Magne Ingebrigtsen <larsi@gnus.org>
1195 * ibuffer.el (ibuffer-mode-map): Don't redefine the cursor keys,
1196 since that's too annoying. Move the filter groups commands to
1199 * epa.el (epa-passphrase-callback-function): Say what we're
1200 querying the password for.
1202 * ibuffer.el (ibuffer-visit-buffer): To mimick list-buffers
1203 behaviour, don't bury the ibuffer buffer when visiting other buffers.
1205 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
1207 * cus-edit.el (custom-commands, custom-buffer-create-internal)
1208 (custom-magic-value-create): Pad button tags with spaces.
1209 (custom-face-edit): New variable.
1210 (custom-face-value-create): Determine whether to use the usual
1211 face editor here, instead of using custom-face-selected.
1212 Pass face defaults to custom-face-edit widget.
1213 (custom-face-selected, custom-display-unselected): Delete widgets.
1214 (custom-display-unselected-match): Function removed.
1215 (custom-face-set, custom-face-mark-to-save):
1216 Accept custom-face-edit widgets as the direct widget child.
1218 * wid-edit.el (widget--completing-widget): New var.
1219 (widget-default-complete): Bind it when doing completion.
1220 (widget-string-complete, widget-file-complete): Use it.
1222 2010-10-09 Glenn Morris <rgm@gnu.org>
1224 * calendar/cal-hebrew.el (holiday-hebrew-rosh-hashanah)
1225 (holiday-hebrew-passover, holiday-hebrew-tisha-b-av)
1226 (holiday-hebrew-misc): Small simplifications.
1228 * emacs-lisp/authors.el (authors-valid-file-names): Add b2m.c.
1230 * net/browse-url.el: Don't require thingatpt, term, dired,
1231 executable, or w3-auto when compiling.
1232 (dired-get-filename, term-char-mode, term-send-down, term-send-string):
1234 (browse-url-text-emacs): Require term.
1236 2010-10-08 Andreas Schwab <schwab@linux-m68k.org>
1238 * net/browse-url.el (browse-url-xdg-open): Remove use of /bin/sh.
1240 2010-10-08 Glenn Morris <rgm@gnu.org>
1242 * emacs-lisp/cl-compat.el, emacs-lisp/lmenu.el: Move to obsolete/.
1244 * emacs-lisp/shadow.el (lisp-shadow): Change prefix.
1245 (shadows-compare-text-p): Make it an obsolete alias for...
1246 (load-path-shadows-compare-text): ... new name.
1247 (find-emacs-lisp-shadows): Update for above name change.
1248 (load-path-shadows-same-file-or-nonexistent): New name for the old
1249 shadow-same-file-or-nonexistent.
1251 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
1253 * minibuffer.el (completion--some, completion--do-completion)
1254 (minibuffer-complete-and-exit, minibuffer-completion-help)
1255 (completion-basic-try-completion)
1256 (completion-basic-all-completions)
1257 (completion-pcm--find-all-completions): Use lexical-let to
1258 avoid some false matches in variable completion (Bug#7056)
1260 2010-10-08 Olof Ohlsson Sax <olof.ohlsson.sax@gmail.com> (tiny change)
1262 * vc-svn.el (vc-svn-merge-news): Use --non-interactive. (Bug#7152)
1264 2010-10-08 Leo <sdl.web@gmail.com>
1266 * dnd.el (dnd-get-local-file-name): If MUST-EXIST is non-nil, only
1267 return non-nil if the file exists (Bug#7090).
1269 2010-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
1271 * minibuffer.el (completion--replace):
1272 Better preserve markers (bug#7138).
1274 2010-10-08 Juanma Barranquero <lekktu@gmail.com>
1276 * server.el (server-process-filter): Doc fix.
1278 2010-10-08 Drew Adams <drew.adams@oracle.com>
1280 * dired.el (dired-save-positions): Doc fix. (Bug#7119)
1282 2010-10-08 Andreas Schwab <schwab@linux-m68k.org>
1284 * Makefile.in (ELCFILES): Update.
1286 2010-10-08 Glenn Morris <rgm@gnu.org>
1288 * vc/ediff-wind.el (ediff-setup-control-frame):
1289 * vc/ediff-ptch.el (ediff-default-backup-extension):
1290 * vc/ediff-diff.el (ediff-shell, ediff-diff-options)
1291 (ediff-exec-process): Remove system-types emx, windows-95.
1293 * net/browse-url.el (browse-url-xdg-open): Shell-quote url. (Bug#7166)
1295 2010-10-07 Chong Yidong <cyd@stupidchicken.com>
1297 * cus-edit.el (custom-variable, custom-face): Doc fix.
1298 (custom-face-edit): Add value-create attribute.
1299 (custom-face-edit-value-create)
1300 (custom-face-edit-value-visibility-action): New functions.
1301 Hide unused face attributes by default, and add a visibility toggle.
1302 (custom-face-edit-deactivate): Show empty values with shadow face.
1303 (custom-face-selected): Only use this for face specs with default
1305 (custom-face-value-create): Cleanup.
1307 * wid-edit.el (widget-checklist-value-create): Use dolist.
1308 (widget-checklist-match-find): Make second arg optional.
1310 2010-10-07 Glenn Morris <rgm@gnu.org>
1312 * hilit-chg.el (hilit-chg-get-diff-info, hilit-chg-get-diff-list-hk):
1315 * emacs-lisp/shadow.el (shadow-font-lock-keywords)
1316 (load-path-shadows-mode, list-load-path-shadows): Rename shadow-mode to
1317 load-path-shadows-mode, update references.
1318 (load-path-shadows-font-lock-keywords, load-path-shadows-find-file):
1319 Rename variable and button.
1320 (list-load-path-shadows): Update button caller.
1322 2010-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
1324 * emacs-lisp/smie.el (smie-bnf-classify): New function.
1325 (smie-bnf-precedence-table): Use it to remember the closers/openers.
1326 (smie-merge-prec2s): Handle those new entries.
1327 (smie-prec2-levels): Only set precedence to nil for actual
1329 * progmodes/octave-mod.el (octave-smie-op-levels): Remove dummy entry
1330 that is now unnecessary.
1332 2010-10-07 Miles Bader <miles@gnu.org>
1334 * emacs-lisp/regexp-opt.el (regexp-opt): Add `symbols' mode.
1336 2010-10-07 Glenn Morris <rgm@gnu.org>
1338 * mail/rmail.el (mail-sendmail-delimit-header, mail-header-end)
1339 (mail-position-on-field): Remove declarations.
1340 (mail-position-on-field): Autoload it.
1341 (rmail-retry-failure): Replace use of mail-sendmail-delimit-header
1342 and mail-header-end. Don't require sendmail.
1344 * emacs-lisp/shadow.el (shadow-font-lock-keywords): New variable.
1345 (shadow-mode): New mode.
1346 (shadow-find-file): New button.
1347 (list-load-path-shadows): Use shadow-mode and buttons.
1349 * iimage.el (iimage-version): Remove.
1350 (iimage-mode-image-search-path, iimage-mode-image-regex-alist):
1351 Turn into defcustoms.
1352 (iimage-mode-map): Give it a doc string.
1354 * calendar/appt.el (appt-activate): Give a warning rather than an error
1355 if there is no diary-file.
1357 2010-10-06 Michael Albinus <michael.albinus@gmx.de>
1359 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
1360 Use `tramp-handle-find-backup-file-name'.
1362 2010-10-06 Glenn Morris <rgm@gnu.org>
1364 * font-core.el (font-lock-defaults-alist): Remove variable.
1365 (font-lock-mode): Doc fix.
1366 (font-lock-default-function): Do not consult font-lock-defaults-alist.
1367 * font-lock.el (font-lock-refresh-defaults): Doc fix.
1368 (font-lock-set-defaults): Doc fix.
1369 Do not consult font-lock-defaults-alist.
1371 * hilit-chg.el (hilit-chg-get-diff-list-hk): Declare `e' for compiler.
1373 * emacs-lisp/cl.el: No longer provide cl-19.
1375 2010-10-05 Michael Albinus <michael.albinus@gmx.de>
1377 * net/tramp.el (tramp-handle-directory-files-and-attributes)
1378 (tramp-handle-file-exists-p, tramp-handle-file-newer-than-file-p):
1379 New defuns, taken from tramp-smb.el.
1380 (tramp-coding-system-change-eol-conversion)
1381 (tramp-set-process-query-on-exit-flag): Remove.
1383 * net/tramp-compat.el (top): Do not check for byte-compiler objects.
1384 (tramp-compat-coding-system-change-eol-conversion)
1385 (tramp-compat-set-process-query-on-exit-flag): New defuns, taken
1388 * net/tramp-gvfs.el:
1389 * net/tramp-gw.el: Replace `tramp-set-process-query-on-exit-flag'
1390 by `tramp-compat-set-process-query-on-exit-flag'.
1392 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
1393 Use `tramp-handle-directory-files-and-attributes',
1394 `tramp-handle-file-exists-p' and
1395 `tramp-handle-file-newer-than-file-p'.
1396 (tramp-imap-handle-file-exists-p)
1397 (tramp-imap-handle-file-executable-p)
1398 (tramp-imap-handle-file-readable-p)
1399 (tramp-imap-handle-directory-files-and-attributes)
1400 (tramp-imap-handle-file-newer-than-file-p): Remove.
1402 * net/tramp-sh.el: Replace `tramp-set-process-query-on-exit-flag'
1403 by `tramp-compat-set-process-query-on-exit-flag' and
1404 `tramp-coding-system-change-eol-conversion' by
1405 `tramp-compat-coding-system-change-eol-conversion'.
1407 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
1408 Use `tramp-handle-directory-files-and-attributes',
1409 `tramp-handle-file-exists-p' and
1410 `tramp-handle-file-newer-than-file-p'.
1411 (tramp-smb-handle-directory-files-and-attributes)
1412 (tramp-smb-handle-file-exists-p)
1413 (tramp-smb-handle-file-newer-than-file-p): Remove.
1414 (tramp-smb-maybe-open-connection):
1415 Replace `tramp-set-process-query-on-exit-flag' by
1416 `tramp-compat-set-process-query-on-exit-flag'.
1418 2010-10-05 Glenn Morris <rgm@gnu.org>
1420 * obsolete/rnews.el, obsolete/rnewspost.el: Remove files.
1422 2010-10-04 Michael Albinus <michael.albinus@gmx.de>
1424 Continue reorganization of load dependencies. (Bug#7156)
1426 * net/tramp.el (tramp-handle-file-local-copy-hook)
1427 (tramp-delete-temp-file-function): Move down.
1428 (tramp-exists-file-name-handler): Move up.
1429 (tramp-register-file-name-handlers): Simplify autoload.
1430 (tramp-handle-write-region-hook, tramp-handle-directory-file-name)
1431 (tramp-handle-directory-files, tramp-handle-dired-uncache)
1432 (tramp-handle-file-modes, tramp-handle-file-name-as-directory)
1433 (tramp-handle-file-name-completion)
1434 (tramp-handle-file-name-directory)
1435 (tramp-handle-file-name-nondirectory, tramp-handle-file-regular-p)
1436 (tramp-handle-file-remote-p, tramp-handle-file-symlink-p)
1437 (tramp-handle-find-backup-file-name)
1438 (tramp-handle-insert-file-contents, tramp-handle-load)
1439 (tramp-handle-substitute-in-file-name)
1440 (tramp-handle-unhandled-file-name-directory)
1441 (tramp-mode-string-to-int, tramp-local-host-p)
1442 (tramp-make-tramp-temp-file): Move from tramp-sh.el.
1444 * net/tramp-gvfs.el (top):
1445 * net/tramp-smb.el (top): Do not require 'tramp-sh.
1447 * net/tramp-sh.el (all): Move several objects to tramp.el, see
1448 there. Rename `tramp-handle-*' to `tramp-sh-handle-*'.
1450 2010-10-04 Glenn Morris <rgm@gnu.org>
1452 * calendar/appt.el (appt-add): Ensure reminders are enabled.
1453 (appt-activate): Give status messages.
1455 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
1457 * net/gnutls.el: Improve docs. Remove starttls and ssl emulation.
1458 Provide only `open-gnutls-stream' (formerly `open-ssl-stream') and
1459 `gnutls-negotiate' (formerly `starttls-negotiate').
1460 Remove trivial wrapper `starttls-open-stream'.
1462 2010-10-03 Dan Nicolaescu <dann@ics.uci.edu>
1464 Make 'g' (AKA revert-buffer) rerun the VC log, log-incoming and
1465 log-outgoing commands.
1466 * vc/vc.el (vc-log-internal-common): Add a new argument and use it
1467 to create a buffer local revert-buffer-function variable.
1468 (vc-print-log-internal, vc-log-incoming, vc-log-outgoing): Pass a
1469 revert-buffer-function lambda.
1471 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
1473 * net/gnutls.el (starttls-negotiate): Use the plist interface to
1474 `gnutls-boot'. Make TYPE the only required parameter.
1475 Allow TRUSTFILES and KEYFILES to be lists.
1476 (open-ssl-stream): Use it.
1478 2010-10-03 Glenn Morris <rgm@gnu.org>
1480 * subr.el (directory-sep-char): Remove obsolete variable.
1481 * net/tramp-compat.el: Don't mess about with the byte-compiler unless
1484 * vc/vc-hooks.el (vc-header-alist): Remove obsolete variable.
1485 * vc/vc.el (vc-static-header-alist): Doc fix.
1486 * vc/vc-cvs.el (vc-cvs-header):
1487 * vc/vc-rcs.el (vc-rcs-header):
1488 * vc/vc-sccs.el (vc-sccs-header):
1489 * vc/vc-svn.el (vc-svn-header): Do not consult vc-header-alist.
1490 * obsolete/vc-mcvs.el (vc-mcvs-header):
1491 * progmodes/cperl-mode.el (cperl-mode): Only set vc-header-alist
1494 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
1496 * emacs-lisp/bytecomp.el (byte-compile-from-buffer):
1497 Remove obsolete use of binary-overwrite-mode (Bug#7001).
1499 2010-10-03 Glenn Morris <rgm@gnu.org>
1501 * obsolete/x-menu.el: Remove file, obsolete since 21.1
1503 * textmodes/rst.el (rst-font-lock-keywords-function):
1506 * textmodes/artist.el (artist-replace-char): Drop Emacs 20 code.
1508 * printing.el: Drop Emacs 20 code.
1510 * calendar/appt.el (appt-delete): Don't autoload it (you can't use it
1511 without having used appt.el already).
1513 * subr.el (make-local-hook): Remove function obsolete since 21.1.
1514 * progmodes/cc-mode.el (make-local-hook): Don't do cc-bytecomp stuff.
1515 (c-basic-common-init, c-font-lock-init): Only call make-local-hook on
1517 * progmodes/cc-styles.el (make-local-hook): Don't do cc-bytecomp stuff.
1518 (c-make-styles-buffer-local): Only call make-local-hook on XEmacs.
1520 * ps-def.el (leading-code-private-22, charset-bytes, charset-id)
1521 (charset-width, find-charset-region, chars-in-region, forward-point)
1522 (encode-coding-string, coding-system-p, ccl-execute-on-string)
1523 (define-ccl-program, multibyte-string-p, string-make-multibyte):
1524 Remove compatibility cruft (none of these are used by ps*.el).
1526 2010-10-03 Kevin Rodgers <kevin.d.rodgers@gmail.com>
1528 * subr.el (booleanp): Return t instead of a list (Bug#7086).
1530 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
1532 * server.el (server-process-filter, server-return-error):
1533 Give emacsclient time to shut down after receiving an error string.
1535 2010-10-02 Michael Albinus <michael.albinus@gmx.de>
1537 * files.el (remote-file-name-inhibit-cache): New defcustom.
1539 * time.el (display-time-file-nonempty-p):
1540 Use `remote-file-name-inhibit-cache'.
1542 * net/tramp.el (tramp-completion-reread-directory-timeout):
1545 * net/tramp-cache.el (tramp-cache-inhibit-cache): Remove.
1546 (tramp-get-file-property): Replace `tramp-cache-inhibit-cache' by
1547 `remote-file-name-inhibit-cache'. Check also for an integer
1548 value. Add/increase counter when `tramp-verbose' >= 10.
1549 (tramp-set-file-property): Add/increase counter when
1550 `tramp-verbose' >= 10.
1552 * net/tramp-cmds.el (tramp-cleanup-all-connections)
1553 (tramp-cleanup-all-buffers): Set tramp-autoload cookie.
1554 (tramp-bug): Set tramp-autoload cookie. Report all interned
1555 tramp-* variables. Report also `remote-file-name-inhibit-cache'.
1556 (tramp-reporter-dump-variable): Fix docstring. Mask non-7bit
1557 characters only in strings.
1559 * net/tramp-compat.el (remote-file-name-inhibit-cache): Define due
1560 to backward compatibility.
1562 * net/tramp-sh.el (tramp-handle-verify-visited-file-modtime)
1563 (tramp-handle-file-name-all-completions)
1564 (tramp-handle-vc-registered): Use `remote-file-name-inhibit-cache'.
1565 (tramp-open-connection-setup-interactive-shell):
1566 Call `tramp-cleanup-connection' directly.
1568 2010-10-02 Glenn Morris <rgm@gnu.org>
1570 * emacs-lisp/checkdoc.el (checkdoc-minor-keymap): Remove obsolete alias.
1572 * subr.el (char-bytes): Remove obsolete function.
1574 * isearch.el (isearch-return-char): Remove obsolete function.
1576 * mouse.el: No longer provide mldrag.
1577 (mldrag-drag-mode-line, mldrag-drag-vertical-line):
1578 Remove obsolete aliases.
1580 * comint.el (comint-kill-output): Remove obsolete alias.
1582 * composite.el (decompose-composite-char): Remove obsolete function.
1583 * ps-def.el (decompose-composite-char): Remove unused function.
1585 * iswitchb.el (iswitchb-default-keybindings): Remove obsolete function.
1587 * outline.el (outline-visible): Remove obsolete function.
1589 * term/pc-win.el (x-frob-font-slant, x-frob-font-weight):
1590 * faces.el (internal-find-face, internal-get-face)
1591 (frame-update-faces, frame-update-face-colors)
1592 (x-frob-font-weight, x-frob-font-slant)
1593 (internal-frob-font-weight, internal-frob-font-slant)
1594 (x-make-font-bold, x-make-font-demibold, x-make-font-unbold)
1595 (x-make-font-italic, x-make-font-oblique, x-make-font-unitalic)
1596 (x-make-font-bold-italic): Remove functions and aliases, obsolete
1598 * emulation/viper-util.el (viper-get-face):
1599 * obsolete/lucid.el (find-face, get-face): Use facep.
1600 * vc/ediff-init.el (ediff-valid-color-p, ediff-get-face):
1601 Remove unused functions.
1602 * vc/ediff-util.el (ediff-submit-report): Doc fix.
1604 * emacs-lisp/bytecomp.el (byte-compile-file): Use kill-emacs-hook to
1605 delete tempfile if interrupted during compilation.
1607 2010-10-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1609 * net/tls.el (tls-starttls-switches): Give up on using starttls with
1611 (tls-program): Add --insecure to be consistent with the defaults from
1612 openssl s_client. Now all three commands are insecure.
1614 2010-10-01 Eli Zaretskii <eliz@gnu.org>
1616 * makefile.w32-in (DEST, TAGS, TAGS-LISP, TAGS-nmake)
1617 (TAGS-LISP-nmake, TAGS-gmake, TAGS-LISP-gmake, TAGS-SH)
1618 (TAGS-LISP-SH, TAGS-CMD, TAGS-LISP-CMD): New targets.
1620 2010-10-01 Glenn Morris <rgm@gnu.org>
1622 * obsolete/sc.el: Remove file.
1624 * files.el (temporary-file-directory): On darwin, also try
1625 DARWIN_USER_TEMP_DIR (see discussion in bug#7135).
1627 2010-10-01 Juanma Barranquero <lekktu@gmail.com>
1629 * server.el (server-start): Revert part of 2010-09-30T02:53:26Z!lekktu@gmail.com.
1630 Let's not break compatibility gratuitously, shall we?
1632 2010-09-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
1634 * net/tls.el (tls-starttls-switches): New variable.
1635 (tls-find-starttls-argument): Use it.
1636 (open-tls-stream): Ditto.
1638 * net/netrc.el (netrc-credentials): Return the value of the "default"
1640 (netrc-machine): Ditto.
1642 2010-09-30 Eli Zaretskii <eliz@gnu.org>
1644 * vc/vc-hooks.el (vc-default-mode-line-string): Doc fix.
1646 2010-09-30 Juanma Barranquero <lekktu@gmail.com>
1648 * server.el (server-start): Don't write pid to the authentication file.
1649 (server-create-tty-frame): Don't send pid.
1650 (server-process-filter): Send pid at the start of every connection.
1652 2010-09-30 Glenn Morris <rgm@gnu.org>
1654 * calendar/diary-lib.el (view-diary-entries, list-diary-entries)
1655 (show-all-diary-entries): Remove obsolete function aliases.
1657 * calendar/appt.el (appt-issue-message, appt-visible, appt-msg-window):
1658 Remove options, obsolete since 22.1.
1659 (appt-display-format, appt-display-message): Remove
1660 backwards-compatibility code.
1661 (appt-check): No longer check appt-issue-message.
1662 (appt-make-list): No longer autoload it. Doc fix. No longer
1663 activate the package.
1665 2010-09-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
1667 * net/gnutls.el (starttls-negotiate): Loop a lot longer.
1668 (starttls-negotiate): Just call boot, and let the handshake be
1669 triggered from the read loop.
1671 2010-09-29 Glenn Morris <rgm@gnu.org>
1673 * calendar/diary-lib.el (diary-list-entries): Use temp buffers when
1674 not displaying the diary.
1675 (diary-add-to-list): If no buffer-file-name, fall back to diary-file.
1676 * calendar/appt.el (appt-check): No longer need to kill diary.
1678 * calendar/diary-lib.el (diary-list-entries): Move the
1679 "Preparing..." message entirely here.
1680 (diary-simple-display, diary-fancy-display): Move "Preparing..."
1681 messages to diary-list-entries.
1682 (diary-include-other-diary-files): Use LIST-ONLY rather than setting
1683 diary-display-function.
1685 * calendar/diary-lib.el (diary-include-other-diary-files):
1686 Trap some recursive includes.
1688 * calendar/appt.el (appt-activate): Check diary file.
1690 2010-09-29 Katsumi Yamaoka <yamaoka@jpl.org>
1692 * pgg.el (pgg-run-at-time-1): Define it for XEmacs only; fix if/else
1695 * calendar/time-date.el: No need to require cl for Emacs 21.
1697 2010-09-28 Glenn Morris <rgm@gnu.org>
1699 * calendar/appt.el (appt-check): Minor simplification.
1701 2010-09-28 Katsumi Yamaoka <yamaoka@jpl.org>
1703 * mail/sendmail.el (mail-citation-prefix-regexp): Remove "}" from
1706 2010-09-27 Andreas Schwab <schwab@linux-m68k.org>
1708 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
1709 Avoid infinite recursion on erroneous lambda form. (Bug#7114)
1711 2010-09-27 Kenichi Handa <handa@m17n.org>
1713 * tar-mode.el (tar-header-block-tokenize): Decode filenames in
1716 2010-09-27 Kenichi Handa <handa@m17n.org>
1718 * international/mule.el (define-coding-system): Docstring fixed.
1720 * international/mule-diag.el (describe-character-set): Use princ
1721 with proper print-length and print-level instead of insert.
1723 2010-09-27 Juanma Barranquero <lekktu@gmail.com>
1725 * window.el (walk-windows): Doc fix (bug#7105).
1727 2010-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
1729 * emacs-lisp/float-sup.el (e): Remove.
1731 2010-09-27 Teodor Zlatanov <tzz@lifelogs.com>
1733 * net/gnutls.el (gnutls, gnutls-log-level): Add group and custom
1735 (starttls-negotiate): Use it.
1737 2010-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
1739 * net/gnutls.el (starttls-negotiate): Stop looping when we get a t
1742 2010-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
1744 * emacs-lisp/pcase.el (pcase-let*, pcase-let): plet -> pcase-let.
1746 2010-09-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
1748 * net/gnutls.el (starttls-negotiate): Avoid the cl.el decf function.
1750 * net/netrc.el (netrc-store-data): New function.
1752 2010-09-26 Teodor Zlatanov <tzz@lifelogs.com>
1754 * net/gnutls.el: GnuTLS glue code to set up a connection.
1756 2010-09-25 Julien Danjou <julien@danjou.info>
1758 * notifications.el: Call dbus-register-signal only if it is bound.
1760 2010-09-25 Glenn Morris <rgm@gnu.org>
1762 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
1763 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
1764 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
1765 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
1766 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
1767 * eshell/esh-cmd.el, eshell/esh-ext.el, eshell/esh-io.el:
1768 * eshell/esh-mode.el, eshell/esh-proc.el, eshell/esh-test.el:
1769 * eshell/esh-util.el, eshell/esh-var.el:
1770 Remove leading `*' from docs of faces and defcustoms.
1772 2010-09-25 Ulrich Mueller <ulm@gentoo.org>
1774 * eshell/em-ls.el (eshell-ls-archive-regexp):
1775 * eshell/esh-util.el (eshell-tar-regexp):
1776 * ibuffer.el (ibuffer-compressed-file-name-regexp):
1777 * info.el (Info-suffix-list):
1778 * international/mule.el (auto-coding-alist):
1779 * woman.el (woman-file-regexp, woman-file-compression-regexp):
1780 * progmodes/etags.el (tags-compression-info-list):
1781 Support xz compression.
1783 2010-09-25 Chong Yidong <cyd@stupidchicken.com>
1785 * files.el (get-free-disk-space): Don't assume the "df" output
1786 columns line up (Bug#6995).
1788 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
1790 * finder.el (finder-unknown-keywords):
1791 * progmodes/gdb-mi.el (gdb-jsonify-buffer, gdb-running-threads-count):
1792 * progmodes/etags.el (tags-table-including): Fix typos in docstrings.
1794 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
1796 * server.el (server-start): Revert part of 2010-08-08 change. Using
1797 address 127.0.0.1 for local host is now done in Fmake_network_process.
1799 2010-09-24 Glenn Morris <rgm@gnu.org>
1801 * image-mode.el, progmodes/compile.el, progmodes/gud.el:
1802 * progmodes/mixal-mode.el, textmodes/bibtex-style.el:
1803 * textmodes/css-mode.el, textmodes/dns-mode.el:
1804 Move autoloaded auto-mode-alist entries to files.el.
1805 * files.el (auto-mode-alist): Move entries here.
1807 2010-09-23 Glenn Morris <rgm@gnu.org>
1809 * isearch.el (isearch-lazy-highlight-cleanup)
1810 (isearch-lazy-highlight-initial-delay)
1811 (isearch-lazy-highlight-interval)
1812 (isearch-lazy-highlight-max-at-a-time, isearch-lazy-highlight-face):
1813 * net/net-utils.el (ipconfig-program-options):
1814 Move aliases to options before the associated definitions.
1816 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
1818 * newcomment.el (comment-normalize-vars): Better test validity of
1821 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
1823 * emacs-lisp/float-sup.el (float-pi): New name for `pi'.
1824 (float-e): New name for `e'.
1825 (degrees-to-radians, radians-to-degrees):
1826 * calendar/solar.el (solar-longitude):
1827 * calculator.el (calculator-registers, calculator-funcall):
1828 * textmodes/artist.el (artist-spray-random-points):
1829 * play/bubbles.el (bubbles--initialize-images): Use new names.
1831 2010-09-23 Eric M. Ludlam <zappo@gnu.org>
1833 Update to CEDET 1.0's version of EIEIO.
1835 * emacs-lisp/eieio.el (eieio-specialized-key-to-generic-key):
1837 (eieio-defmethod, eieio-generic-form, eieio-generic-call): Use it.
1838 (eieio-default-eval-maybe): Eval val instead of unquoting only.
1839 (class-precedence-list): If class is nil, return nil.
1840 (eieio-generic-call): If class of first input arg is nil, don't
1841 look up static methods, and do check for primary methods.
1842 (initialize-instance): See if the default needs to be evaluated
1843 during the constructor.
1844 (eieio-perform-slot-validation-for-default): Don't do the check
1845 for values that will eventually be evaluated.
1846 (eieio-eval-default-p): New function.
1847 (eieio-default-eval-maybe): Use it.
1849 2010-09-23 Jan Moringen <jan.moringen@uni-bielefeld.de>
1851 * emacs-lisp/eieio.el (eieio-defclass): Allow :c3
1852 method-invocation-order.
1853 (eieio-c3-candidate, eieio-c3-merge-lists): New functions.
1854 (eieio-class-precedence-dfs): Compute class precedence list using
1856 (eieio-class-precedence-bfs): Compute class precedence list using
1858 (eieio-class-precedence-c3): Compute class precedence list using
1860 (class-precedence-list): New function.
1861 (eieiomt-method-list, eieiomt-sym-optimize): Use it.
1862 (inconsistent-class-hierarchy): New error symbol.
1863 (call-next-method): Stow the replacement argument list for future
1864 call-next-method invocations.
1866 2010-09-23 Glenn Morris <rgm@gnu.org>
1868 * calendar/appt.el (appt-check): If not displaying the diary,
1869 use (diary 1) to only get the entries we need.
1870 (appt-make-list): Sort diary-list-entries, if we cannot guarantee
1871 that it is in day order. (Bug#7019)
1873 * calendar/appt.el (appt-check): Rather than showing the diary,
1874 just turn off invisible display, and only if needed.
1876 * calendar/diary-lib.el (diary-list-entries): Doc fix. (Bug#7019)
1878 2010-09-23 Glenn Morris <rgm@gnu.org>
1880 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
1881 (byte-compile-defvar, byte-compile-cl-warn):
1882 Start warnings with lower-case, like the majority.
1884 * files.el (auto-mode-alist): Add .xa, .xw, .xsw for ld-script-mode.
1886 * files.el (auto-mode-alist): Prefer C-mode for .xs. (Bug#7071)
1888 * progmodes/ld-script.el (auto-mode-alist): Move to files.el.
1889 * files.el (auto-mode-alist): Move ld-script entries here, further down
1892 * vc/add-log.el: Don't require timezone when compiling.
1893 (timezone-make-date-sortable): Autoload it.
1894 (change-log-sortable-date-at): Don't require timezone.
1895 Use `ignore-errors'.
1897 * comint.el (comint-use-prompt-regexp-instead-of-fields):
1898 Move alias before definition, so it does not need autoloading.
1900 * emulation/crisp.el, emulation/cua-base.el, emulation/edt.el:
1901 * emulation/pc-select.el, emulation/vip.el, international/iso-ascii.el:
1902 * international/kkc.el, international/ogonek.el, mail/feedmail.el:
1903 * net/browse-url.el, net/eudc-vars.el, net/net-utils.el:
1904 * net/rcompile.el, net/rlogin.el, textmodes/enriched.el:
1905 * textmodes/makeinfo.el, textmodes/page-ext.el, textmodes/picture.el:
1906 * textmodes/refer.el, textmodes/spell.el, textmodes/table.el:
1907 * textmodes/tex-mode.el, textmodes/two-column.el:
1908 Remove leading `*' from docs of defcustoms etc.
1910 2010-09-23 Teodor Zlatanov <tzz@lifelogs.com>
1912 * net/netrc.el (netrc-parse): Remove encrypt.el mentions.
1914 2010-09-22 Dan Christensen <jdc@uwo.ca>
1916 * calendar/time-date.el (date-to-time): Try using parse-time-string
1917 first before using the slower timezone-make-date-arpa-standard.
1919 2010-09-22 Katsumi Yamaoka <yamaoka@jpl.org>
1921 * calendar/time-date.el (format-seconds): Comment fix.
1923 2010-09-22 Glenn Morris <rgm@gnu.org>
1925 * emacs-lisp/package.el (package-menu-mode): `revert-buffer-function'
1926 is not automatically buffer-local.
1928 2010-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
1930 * emacs-lisp/smie.el (smie-debug--describe-cycle): Fix typo.
1931 (smie-indent-comment): Be more careful with comment-start-skip.
1932 (smie-indent-comment-close, smie-indent-comment-inside): New funs.
1933 (smie-indent-functions): Use them.
1935 2010-09-21 Michael Albinus <michael.albinus@gmx.de>
1937 * net/ange-ftp.el (ange-ftp-skip-msgs): Add "^504 ..." message.
1939 2010-09-21 Jan Djärv <jan.h.d@swipnet.se>
1941 * menu-bar.el (menu-bar-set-tool-bar-position): customize-set-variable
1942 tool-bar-position. Don't modify frame parameters here.
1943 (menu-bar-options-save): Add tool-bar-position.
1945 * tool-bar.el (tool-bar-position): New defcustom (Bug#7049).
1947 2010-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
1949 * textmodes/reftex-parse.el (reftex-what-macro)
1950 (reftex-context-substring): Let-bind forward-sexp-function to nil
1951 since we don't need/want to treat \begin...\end as a block (bug#7053).
1953 * emacs-lisp/lisp.el (up-list): Don't do nothing silently.
1955 * simple.el (blink-matching-open): Use syntax-class.
1957 * progmodes/pascal.el (pascal-mode): Use define-derived-mode.
1958 Set invisibility spec for pascal's outline mode.
1959 (pascal-outline-change): Clean up calling convention.
1960 (pascal-show-all, pascal-hide-other-defuns): Update callers.
1962 * progmodes/prolog.el (prolog-smie-forward-token)
1963 (prolog-smie-backward-token): New functions.
1964 (prolog-mode-variables): Use them to parse "!," correctly.
1965 Set up smie-blink-matching for ".".
1967 * textmodes/ispell.el (ispell-start, ispell-end): Rename from `start'
1969 (ispell-region, ispell-process-line): Update users.
1971 * textmodes/reftex-parse.el (reftex-what-macro): Don't hardcode
1974 * textmodes/ispell.el: Fix commenting convention.
1975 (ispell-parse-output): Simplify, use push.
1976 (ispell-region): Use match-string-no-properties.
1977 (ispell-begin-skip-region-regexp): Use mapconcat to simplify.
1978 (ispell-minor-mode): Use define-minor-mode.
1979 (ispell-message): Remove unused var `skip-regexp'.
1980 (ispell-add-per-file-word-list): Use dynamic let-binding.
1981 Try and use the proper comment marker.
1983 * mail/sendmail.el: Fix commenting convention.
1984 (sendmail-send-it): Use line-beginning-position.
1986 * help-fns.el (describe-variable): Add original value, if applicable.
1988 2010-09-20 Juanma Barranquero <lekktu@gmail.com>
1990 * subr.el (y-or-n-p): Remove leftover code from 2010-09-17T13:30:30Z!monnier@iro.umontreal.ca.
1992 * emacs-lisp/smie.el (smie-indent--hanging-p): Use `smie-indent--bolp'.
1994 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
1996 * emacs-lisp/smie.el (smie-bnf-precedence-table): Improve error message.
1997 (smie-debug--prec2-cycle, smie-debug--describe-cycle): New functions.
1998 (smie-prec2-levels): Use them to better diagnose precedence cycles.
1999 (smie-blink-matching-check): Don't signal a mismatch if car is t.
2000 (smie-blink-matching-open): Rewrite to remove assumptions, so that
2001 something like "." can also be a closer.
2002 (smie--associative-p, smie-indent--hanging-p, smie-indent--bolp)
2003 (smie-indent--offset, smie-indent--offset-rule, smie-indent--column):
2004 Rename internal functions to use "--". Update callers.
2006 * frame.el (make-frame-names-alist): Don't list frames on other displays.
2008 * fringe.el (fringe-styles): New var.
2009 (fringe-mode, fringe-query-style): Use it.
2011 2010-09-18 Michael R. Mauger <mmaug@yahoo.com>
2013 * progmodes/sql.el: Version 2.8
2014 (sql-login-params): Update widget structure; changes still needed.
2015 (sql-product-alist): Add :list-all and :list-table features for
2016 SQLite, Postgres and MySQL products.
2017 (sql-redirect): Handle default value.
2018 (sql-execute, sql-execute-feature): New functions.
2019 (sql-read-table-name): New function.
2020 (sql-list-all, sql-list-table): New functions. User API.
2021 (sql-mode-map, sql-interactive-mode-map): Add key definitions
2022 for above functions.
2023 (sql-mode-menu, sql-interactive-mode-menu): Add menu definitions
2024 for above functions.
2025 (sql-postgres-login-params): Add user and database defaults.
2026 (sql-buffer-live-p): Bug fix.
2027 (sql-product-history): New variable.
2028 (sql-read-product): New function. Use it.
2029 (sql-set-product, sql-product-interactive): Use it.
2030 (sql-connection-history): New variable.
2031 (sql-read-connection): New function. Use it.
2032 (sql-connect): New function.
2033 (sql-for-each-login): Redesign function interface.
2034 (sql-make-alternate-buffer-name, sql-save-connection): Use it.
2035 (sql-get-login-ext, sql-get-login): Use it. Handle default values.
2036 (sql-comint): Check for program. Existing live buffer.
2037 (sql-comint-postgres): Add port parameter.
2039 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
2041 * emacs-lisp/warnings.el: Fix commenting convention.
2042 (display-warning): Use special mode and make the buffer read-only.
2044 2010-09-18 Jay Belanger <jay.p.belanger@gmail.com>
2046 * calc/calc-prog.el (calc-read-parse-table-part): Don't "fix" the
2047 empty string when it follows a repeated or optional pattern.
2049 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
2051 * indent.el (indent-according-to-mode): Apply syntax-propertize.
2052 (indent-region): Use indent-according-to-mode.
2054 2010-09-18 Eli Zaretskii <eliz@gnu.org>
2056 * fringe.el (fringe-mode): Doc fix.
2058 2010-09-14 Kan-Ru Chen <kanru@kanru.info> (tiny change)
2060 * textmodes/nroff-mode.el (nroff-view): Kill old buffer before
2061 refreshing the preview buffer.
2063 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
2065 * textmodes/tex-mode.el (tex-syntax-propertize-rules)
2066 (latex-syntax-propertize-rules): New consts; replace
2067 tex-font-lock-syntactic-keywords.
2068 (tex-env-mark, latex-env-before-change): New functions.
2069 (latex-electric-env-pair-mode): New minor mode.
2070 (tex-font-lock-verb): Change arguments; do move point.
2071 (tex-font-lock-syntactic-face-function): Adjust to new verbatim
2072 representation as a form of comment.
2073 (tex-font-lock-keywords-1): Remove workaround, now unneeded.
2074 (doctex-syntax-propertize-rules): New const; replaces
2075 doctex-font-lock-syntactic-keywords.
2076 (tex-common-initialization, doctex-mode): Use syntax-propertize-rules.
2078 * progmodes/fortran.el (fortran--font-lock-syntactic-keywords): Remove.
2079 (fortran-make-syntax-propertize-function): New function; replaces
2080 fortran-font-lock-syntactic-keywords.
2081 (fortran-mode): Use it.
2082 (fortran-line-length): Use it. Improve interactive spec.
2084 * emacs-lisp/syntax.el (syntax-propertize-precompile-rules): New macro.
2085 (syntax-propertize-rules): Add var-ref case. Fix offset computation
2086 when adding surrounding \(..\).
2088 * progmodes/js.el (js-mode): Fix last change (bug#7054).
2090 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
2092 * obsolete/old-whitespace.el (whitespace-rescan-files-in-buffers):
2093 Use with-current-buffer.
2095 * isearch.el (isearch-face): Rename from `isearch'.
2096 (isearch-highlight): Use new name.
2098 2010-09-17 Eli Zaretskii <eliz@gnu.org>
2100 * fringe.el (fringe-mode, fringe-query-style): Use 4 pixels, not
2101 5, for `half' width fringes. (Bug#6933)
2103 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
2105 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
2106 (byte-compile-defvar): "foo/bar" does not lack a prefix.
2108 * subr.el (y-or-n-p): Add the "(y or n)" that was lost somehow.
2110 2010-09-17 Stephen Berman <stephen.berman@gmx.net>
2112 * dframe.el (dframe-reposition-frame-emacs): Use tool-bar-pixel-width
2113 in calculating new frame position. Add more space between new and
2114 parent on the left (Bug#7048).
2116 2010-09-17 Michael Albinus <michael.albinus@gmx.de>
2118 * net/tramp-compat.el (tramp-compat-with-temp-message): Make it a
2121 2010-09-16 Chong Yidong <cyd@stupidchicken.com>
2123 * mail/sendmail.el: Add "*unsent mail*" to same-window-buffer-names.
2125 * term/x-win.el (x-cut-buffer-or-selection-value): Define as
2126 obsolete alias for x-selection-value.
2128 * ido.el (ido-make-buffer-list): Fix error in 2010-08-22 merge.
2130 2010-09-16 Michael Albinus <michael.albinus@gmx.de>
2132 * net/tramp-cmds.el (tramp-cleanup-connection): Set tramp-autoload
2135 2010-09-15 Michael Albinus <michael.albinus@gmx.de>
2137 * net/tramp-compat.el (tramp-compat-with-temp-message)
2138 (tramp-compat-font-lock-add-keywords, tramp-compat-process-get)
2139 (tramp-compat-process-put): New defuns.
2141 * net/tramp.el (top):
2142 * net/tramp-gvfs.el (top):
2143 * net/tramp-cache.el (top): Use `tramp-compat-font-lock-add-keywords'.
2145 * net/tramp.el (tramp-progress-reporter-update):
2146 Use `tramp-compat-funcall'.
2148 * net/tramp.el (tramp-process-actions):
2149 * net/tramp-gvfs.el (tramp-handle-vc-registered):
2150 * net/tramp-sh.el (tramp-gvfs-handler-askquestion)
2151 (tramp-get-remote-stat, tramp-get-remote-readlink):
2152 Use `tramp-compat-with-temp-message'.
2154 * net/tramp-sh.el (top): Require 'cl.
2155 (tramp-handle-start-file-process): Use `tramp-compat-process-get'.
2156 (tramp-open-connection-setup-interactive-shell):
2157 Use `tramp-compat-process-put'.
2159 2010-09-15 Alan Mackenzie <acm@muc.de>
2161 * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Correct the
2163 (c-forward-<>-arglist-recur): Fix an infinite recursion.
2165 2010-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
2167 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
2168 `lexical' for warnings related to lexical scoping.
2169 (byte-compile-file-form-defvar, byte-compile-defvar): Warn about
2170 global vars which don't have a prefix and could hence affect lexical
2171 scoping in unrelated files.
2173 2010-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
2175 * net/imap.el: Revert back to version
2176 cb950ed8ff3e0f40dac437a51b269166f9ffb60d, since some of the changes
2179 2010-09-14 Juanma Barranquero <lekktu@gmail.com>
2181 * obsolete/old-whitespace.el (whitespace-unload-function):
2182 Explicitly pass `obarray' to `unintern' to avoid a warning.
2184 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
2186 * emacs-lisp/byte-run.el (set-advertised-calling-convention):
2187 Add `when' argument. Update callers.
2189 * subr.el (unintern): Declare the obarray arg mandatory.
2191 2010-09-14 Glenn Morris <rgm@gnu.org>
2193 * calendar/diary-lib.el (diary-list-entries-hook, diary-sort-entries):
2196 * calendar/diary-lib.el (diary-included-files): New variable.
2197 (diary-list-entries): Maybe initialize diary-included-files.
2198 (diary-include-other-diary-files): Append to diary-included-files.
2199 * calendar/appt.el (appt-update-list): Also check the members of
2200 diary-included-files. (Bug#6999)
2201 (appt-check): Doc fix.
2203 2010-09-14 David Reitter <david.reitter@gmail.com>
2205 * simple.el (line-move-visual): Do not truncate goal column to
2206 integer size. (Bug#7020)
2208 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
2210 * repeat.el (repeat): Allow repeating when the last event is a click.
2211 Suggested by Drew Adams (bug#6256).
2213 2010-09-14 Sascha Wilde <wilde@sha-bang.de>
2215 * vc/vc-hg.el (vc-hg-state,vc-hg-working-revision):
2216 Replace setting HGRCPATH to "" by some less invasive --config options.
2218 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
2220 * font-lock.el (font-lock-beginning-of-syntax-function):
2223 2010-09-14 Glenn Morris <rgm@gnu.org>
2225 * menu-bar.el (menu-bar-options-save): Fix handling of menu-bar
2226 and tool-bar modes. (Bug#6211)
2227 (menu-bar-mode): Move setting of standard-value after the
2228 minor-mode definition, otherwise it seems to have no effect.
2230 2010-09-14 Masatake YAMATO <yamato@redhat.com>
2232 * progmodes/antlr-mode.el (antlr-font-lock-additional-keywords):
2233 Fix typo. (Bug#6976)
2235 2010-09-14 Vinicius Jose Latorre <viniciusjl@ig.com.br>
2237 * whitespace.el: Allow cleaning up blanks without blank
2238 visualization (Bug#6651). Adjust help window for
2239 whitespace-toggle-options (Bug#6479). Allow to use fill-column
2240 instead of whitespace-line-column (from EmacsWiki). New version 13.1.
2241 (whitespace-style): Add new value 'face. Adjust docstring.
2242 (whitespace-space, whitespace-hspace, whitespace-tab):
2243 Adjust foreground property face.
2244 (whitespace-line-column): Adjust docstring and type declaration.
2245 (whitespace-style-value-list, whitespace-toggle-option-alist)
2246 (whitespace-help-text): Adjust const initialization.
2247 (whitespace-toggle-options, global-whitespace-toggle-options):
2249 (whitespace-display-window, whitespace-interactive-char)
2250 (whitespace-style-face-p, whitespace-color-on): Adjust code.
2251 (whitespace-help-scroll): New fun.
2253 2010-09-14 Katsumi Yamaoka <yamaoka@jpl.org>
2255 * calendar/time-date.el (format-seconds): Comment fix.
2257 2010-09-13 Michael R. Mauger <mmaug@yahoo.com>
2259 * progmodes/sql.el: Version 2.7.
2260 (sql-buffer-live-p): Improve detection.
2261 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
2262 (sql-set-sqli-buffer): Use it.
2263 (sql-product-interactive): Run `sql-set-sqli-hook'.
2264 (sql-rename-buffer): Code cleanup.
2265 (sql-redirect, sql-redirect-value): New functions. More to come.
2267 2010-09-13 Juanma Barranquero <lekktu@gmail.com>
2269 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.
2270 * makefile.w32-in (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
2271 (TRAMP_SRC): New macro.
2272 ($(lisp)/net/tramp-loaddefs.el): New target.
2274 2010-09-13 Michael Albinus <michael.albinus@gmx.de>
2276 Major code cleanup. Split tramp.el into tramp.el and tramp-sh.el.
2278 * Makefile.in (TRAMP_SRC): Remove tramp-fish.el. Add tramp-sh.el.
2280 * net/tramp.el (top): Don't show loading message. Require just
2281 'tramp-compat, everything else is required there.
2282 Use `ignore-errors' where appropriate.
2283 (tramp-inline-compress-start-size, tramp-copy-size-limit)
2284 (tramp-terminal-type, tramp-end-of-output)
2285 (tramp-initial-end-of-output, tramp-completion-function-alist-rsh)
2286 (tramp-completion-function-alist-ssh)
2287 (tramp-completion-function-alist-telnet)
2288 (tramp-completion-function-alist-su)
2289 (tramp-completion-function-alist-putty, tramp-remote-path)
2290 (tramp-remote-process-environment, tramp-sh-extra-args)
2291 (tramp-actions-before-shell, tramp-uudecode)
2292 (tramp-perl-file-truename, tramp-perl-file-name-all-completions)
2293 (tramp-perl-file-attributes)
2294 (tramp-perl-directory-files-and-attributes)
2295 (tramp-perl-encode-with-module, tramp-perl-decode-with-module)
2296 (tramp-perl-encode, tramp-perl-decode)
2297 (tramp-vc-registered-read-file-names, tramp-file-mode-type-map)
2298 (tramp-file-name-handler-alist, tramp-make-tramp-temp-file)
2299 (tramp-handle-make-symbolic-link, tramp-handle-load)
2300 (tramp-handle-file-name-as-directory)
2301 (tramp-handle-file-name-directory)
2302 (tramp-handle-file-name-nondirectory, tramp-handle-file-truename)
2303 (tramp-handle-file-exists-p, tramp-handle-file-attributes)
2304 (tramp-do-file-attributes-with-ls)
2305 (tramp-do-file-attributes-with-perl)
2306 (tramp-do-file-attributes-with-stat)
2307 (tramp-handle-set-visited-file-modtime)
2308 (tramp-handle-verify-visited-file-modtime)
2309 (tramp-handle-set-file-modes, tramp-handle-set-file-times)
2310 (tramp-set-file-uid-gid, tramp-remote-selinux-p)
2311 (tramp-handle-file-selinux-context)
2312 (tramp-handle-set-file-selinux-context)
2313 (tramp-handle-file-executable-p, tramp-handle-file-readable-p)
2314 (tramp-handle-file-newer-than-file-p, tramp-handle-file-modes)
2315 (tramp-handle-file-directory-p, tramp-handle-file-regular-p)
2316 (tramp-handle-file-symlink-p, tramp-handle-file-writable-p)
2317 (tramp-handle-file-ownership-preserved-p)
2318 (tramp-handle-directory-file-name, tramp-handle-directory-files)
2319 (tramp-handle-directory-files-and-attributes)
2320 (tramp-do-directory-files-and-attributes-with-perl)
2321 (tramp-do-directory-files-and-attributes-with-stat)
2322 (tramp-handle-file-name-all-completions)
2323 (tramp-handle-file-name-completion, tramp-handle-add-name-to-file)
2324 (tramp-handle-copy-file, tramp-handle-copy-directory)
2325 (tramp-handle-rename-file, tramp-do-copy-or-rename-file)
2326 (tramp-do-copy-or-rename-file-via-buffer)
2327 (tramp-do-copy-or-rename-file-directly)
2328 (tramp-do-copy-or-rename-file-out-of-band)
2329 (tramp-handle-make-directory, tramp-handle-delete-directory)
2330 (tramp-handle-delete-file)
2331 (tramp-handle-dired-recursive-delete-directory)
2332 (tramp-handle-dired-compress-file, tramp-handle-dired-uncache)
2333 (tramp-handle-insert-directory)
2334 (tramp-handle-unhandled-file-name-directory)
2335 (tramp-handle-expand-file-name)
2336 (tramp-handle-substitute-in-file-name)
2337 (tramp-handle-executable-find, tramp-process-sentinel)
2338 (tramp-handle-start-file-process, tramp-handle-process-file)
2339 (tramp-handle-call-process-region, tramp-handle-shell-command)
2340 (tramp-handle-file-local-copy, tramp-handle-file-remote-p)
2341 (tramp-handle-insert-file-contents)
2342 (tramp-handle-insert-file-contents-literally)
2343 (tramp-handle-find-backup-file-name)
2344 (tramp-handle-make-auto-save-file-name, tramp-handle-write-region)
2345 (tramp-vc-registered-file-names, tramp-handle-vc-registered)
2346 (tramp-sh-file-name-handler, tramp-vc-file-name-handler)
2347 (tramp-maybe-send-script, tramp-set-auto-save, tramp-run-test)
2348 (tramp-run-test2, tramp-find-executable, tramp-set-remote-path)
2349 (tramp-find-file-exists-command, tramp-open-shell)
2350 (tramp-find-shell, tramp-barf-if-no-shell-prompt)
2351 (tramp-open-connection-setup-interactive-shell)
2352 (tramp-local-coding-commands, tramp-remote-coding-commands)
2353 (tramp-find-inline-encoding, tramp-call-local-coding-command)
2354 (tramp-inline-compress-commands, tramp-find-inline-compress)
2355 (tramp-compute-multi-hops, tramp-maybe-open-connection)
2356 (tramp-send-command, tramp-wait-for-output)
2357 (tramp-send-command-and-check, tramp-barf-unless-okay)
2358 (tramp-send-command-and-read, tramp-mode-string-to-int)
2359 (tramp-convert-file-attributes, tramp-check-cached-permissions)
2360 (tramp-file-mode-from-int, tramp-file-mode-permissions)
2361 (tramp-shell-case-fold, tramp-make-copy-program-file-name)
2362 (tramp-method-out-of-band-p, tramp-local-host-p)
2363 (tramp-get-remote-path, tramp-get-remote-tmpdir)
2364 (tramp-get-ls-command, tramp-get-ls-command-with-dired)
2365 (tramp-get-test-command, tramp-get-test-nt-command)
2366 (tramp-get-file-exists-command, tramp-get-remote-ln)
2367 (tramp-get-remote-perl, tramp-get-remote-stat)
2368 (tramp-get-remote-readlink, tramp-get-remote-trash)
2369 (tramp-get-remote-id, tramp-get-remote-uid, tramp-get-remote-gid)
2370 (tramp-get-local-uid, tramp-get-local-gid)
2371 (tramp-get-inline-compress, tramp-get-inline-coding): Move to
2373 (tramp-methods, tramp-default-method-alist)
2374 (tramp-default-user-alist, tramp-foreign-file-name-handler-alist):
2375 Move initialization to tramp-sh.el.
2376 (tramp-temp-name-prefix): Make it a defconst.
2377 (tramp-dissect-file-name): Don't check anymore for multi-hop
2379 (tramp-debug-outline-regexp): Add a docstring.
2380 (tramp-debug-outline-level): Rename from `tramp-outline-level'.
2381 (tramp-get-debug-buffer): Use it.
2383 * net/tramp-cache.el (top): Set tramp-autoload cookie for
2384 initialization forms.
2385 (tramp-set-connection-property): Don't protect `tramp-message'
2386 call, it isn't necessary any longer.
2387 (tramp-dump-connection-properties): Use `ignore-errors'.
2389 * net/tramp-compat.el (top): Require 'advice, 'format-spec,
2390 'password-cache and 'auth-source.
2392 * net/tramp-gvfs.el (top):
2393 * net/tramp-smb.el (top): Require 'tramp-sh.
2395 * net/tramp-gw.el (tramp-gw-open-network-stream): Use `ignore-errors'.
2397 * net/tramp-sh.el: New file, derived from tramp.el.
2398 (top): Initialize `tramp-methods', `tramp-default-method-alist',
2399 `tramp-default-user-alist', `tramp-foreign-file-name-handler-alist'.
2400 Remove "scp1_old", "scp2_old", "ssh1_old", "ssh2_old".
2401 Use `ignore-errors' where appropriate.
2402 (tramp-sh-file-name-handler-alist): Rename from
2403 `tramp-file-name-handler-alist'.
2404 (tramp-send-command-and-check): Return t or nil. Remove all
2405 `zerop' checks, where called.
2406 (tramp-handle-set-file-modes)
2407 (tramp-do-copy-or-rename-file-directly)
2408 (tramp-handle-delete-directory, tramp-handle-delete-file)
2409 (tramp-maybe-send-script): Use `tramp-barf-unless-okay'.
2410 (tramp-sh-file-name-handler, tramp-send-command-and-check)
2411 (tramp-get-remote-ln): Set tramp-autoload cookie.
2413 * net/tramp-fish.el: Remove file.
2415 2010-09-13 Daiki Ueno <ueno@unixuser.org>
2417 * epa-file.el (epa-file-insert-file-contents): If visiting, bind
2418 buffer-file-name to avoid file-locking. (Bug#7026)
2420 2010-09-13 Julien Danjou <julien@danjou.info>
2422 * notifications.el (notifications-notify): Add support for
2423 image-path and sound-name.
2424 (notifications-specification-version): Add this variable.
2426 2010-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2428 * subr.el (y-or-n-p): New function, moved from src/fns.c; use read-key.
2430 2010-09-12 Leo <sdl.web@gmail.com>
2432 * net/rcirc.el (rcirc-server-commands, rcirc-client-commands)
2433 (rcirc-completion-start): New variables.
2434 (rcirc-nick-completions): Rename to rcirc-completions.
2435 (rcirc-nick-completion-start-offset): Delete.
2436 (rcirc-completion-at-point): New function for constructing
2437 completion data for both nicks and irc commands. Add to
2438 completion-at-point-functions in rcirc mode.
2439 (rcirc-complete): Rename from rcirc-nick-complete; use
2440 rcirc-completion-at-point.
2441 (defun-rcirc-command): Update rcirc-client-commands.
2443 2010-09-11 Glenn Morris <rgm@gnu.org>
2445 * emacs-lisp/bytecomp.el (byte-compile-file): Create .elc files
2446 atomically, to avoid parallel build errors. (Bug#4196)
2448 2010-09-11 Michael R. Mauger <mmaug@yahoo.com>
2450 * progmodes/sql.el: Version 2.6
2451 (sql-dialect): Synonym for "sql-product".
2452 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
2453 (sql-set-sqli-buffer, sql-show-sqli-buffer, sql-interactive-mode):
2454 Set "sql-buffer" to buffer name not buffer object so multiple sql
2455 interactive buffers work properly. Reverts misguided changes in
2457 (sql-comint): Make sure different buffer name is used if "*SQL*"
2458 buffer is for a different product.
2459 (sql-make-alternate-buffer-name): Fix bug with "sql-database"
2461 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
2462 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
2463 (sql-db2, sql-linter, sql-product-interactive, sql-rename-buffer):
2464 Accept new buffer name or prompt for one.
2465 (sql-port): Default to zero.
2466 (sql-comint-mysql): Handle "sql-port" as a numeric.
2467 (sql-port-history): Delete unused variable.
2468 (sql-get-login): Default "sql-port" to a number.
2469 (sql-product-alist): Correct Postgres prompt and terminator regexp.
2470 (sql-sqlite-program): Dynamically detect presence of "sqlite" or
2471 "sqlite3" executables.
2472 (sql-sqlite-login-params): Add "*.sqlite[23]?" database name pattern.
2473 (sql-buffer-live-p): New function.
2474 (sql-mode-menu, sql-send-string): Use it.
2475 (sql-mode-oracle-font-lock-keywords): Improve SQL*Plus REMARK
2477 (sql-mode-postgres-font-lock-keywords): Support Postgres V9.
2478 (sql-mode-sqlite-font-lock-keywords): Hilight sqlite commands.
2480 2010-09-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
2482 * net/netrc.el (netrc-credentials): New convenience function.
2484 2010-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
2486 * textmodes/texinfo.el (texinfo-syntax-propertize-function): New fun
2487 to replace texinfo-font-lock-syntactic-keywords.
2488 (texinfo-mode): Use it.
2490 * textmodes/tex-mode.el (tex-common-initialization, doctex-mode):
2491 Use syntax-propertize-function.
2493 * textmodes/sgml-mode.el (sgml-syntax-propertize-function): New var to
2494 replace sgml-font-lock-syntactic-keywords.
2495 (sgml-mode): Use it.
2497 * textmodes/reftex.el (font-lock-syntactic-keywords): Don't declare
2498 since we don't use it.
2500 * textmodes/bibtex.el (bibtex-mode): Use syntax-propertize-function.
2502 * progmodes/vhdl-mode.el (vhdl-mode): Use syntax-propertize-function
2504 (vhdl-fontify-buffer): Adjust.
2506 * progmodes/tcl.el (tcl-syntax-propertize-function): New var to
2507 replace tcl-font-lock-syntactic-keywords.
2510 * progmodes/simula.el (simula-syntax-propertize-function): New var to
2511 replace simula-font-lock-syntactic-keywords.
2512 (simula-mode): Use it.
2514 * progmodes/sh-script.el (sh-st-symbol): Remove.
2515 (sh-font-lock-close-heredoc, sh-font-lock-open-heredoc): Add eol arg.
2516 (sh-font-lock-flush-syntax-ppss-cache, sh-font-lock-here-doc): Remove.
2517 (sh-font-lock-quoted-subshell): Assume we've already matched $(.
2518 (sh-font-lock-paren): Set syntax-multiline.
2519 (sh-font-lock-syntactic-keywords): Remove.
2520 (sh-syntax-propertize-function): New function to replace it.
2523 * progmodes/ruby-mode.el (ruby-here-doc-beg-re):
2524 Define while compiling.
2525 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
2526 (ruby-font-lock-syntactic-keywords, ruby-comment-beg-syntax)
2527 (syntax-ppss, ruby-in-ppss-context-p, ruby-in-here-doc-p)
2528 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
2529 (ruby-here-doc-end-syntax): Only define when
2530 syntax-propertize is not available.
2531 (ruby-syntax-propertize-function, ruby-syntax-propertize-heredoc):
2533 (ruby-in-ppss-context-p): Update to new syntax of heredocs.
2534 (electric-indent-chars): Silence bytecompiler.
2535 (ruby-mode): Use prog-mode, syntax-propertize-function, and
2536 electric-indent-chars.
2538 * progmodes/python.el (python-syntax-propertize-function): New var to
2539 replace python-font-lock-syntactic-keywords.
2540 (python-mode): Use it.
2541 (python-quote-syntax): Simplify and adjust to new use.
2543 * progmodes/perl-mode.el (perl-syntax-propertize-function): New fun to
2544 replace perl-font-lock-syntactic-keywords.
2545 (perl-syntax-propertize-special-constructs): New fun to replace
2546 perl-font-lock-special-syntactic-constructs.
2547 (perl-font-lock-syntactic-face-function): New fun.
2548 (perl-mode): Use it.
2550 * progmodes/octave-mod.el (octave-syntax-propertize-sqs): New function
2551 to replace octave-font-lock-close-quotes.
2552 (octave-syntax-propertize-function): New function to replace
2553 octave-font-lock-syntactic-keywords.
2554 (octave-mode): Use it.
2556 * progmodes/mixal-mode.el (mixal-syntax-propertize-function): New var;
2557 replaces mixal-font-lock-syntactic-keywords.
2558 (mixal-mode): Use it.
2560 * progmodes/make-mode.el (makefile-syntax-propertize-function):
2561 New var; replaces makefile-font-lock-syntactic-keywords.
2562 (makefile-mode): Use it.
2563 (makefile-imake-mode): Adjust.
2565 * progmodes/js.el (js--regexp-literal): Define while compiling.
2566 (js-syntax-propertize-function): New var; replaces
2567 js-font-lock-syntactic-keywords.
2570 * progmodes/gud.el (gdb-script-syntax-propertize-function): New var;
2571 replaces gdb-script-font-lock-syntactic-keywords.
2572 (gdb-script-mode): Use it.
2574 * progmodes/fortran.el (fortran-mode): Use syntax-propertize-function.
2575 (fortran--font-lock-syntactic-keywords): New var.
2576 (fortran-line-length): Update syntax-propertize-function and
2577 fortran--font-lock-syntactic-keywords.
2579 * progmodes/cperl-mode.el (cperl-mode): Use syntax-propertize-function.
2581 * progmodes/cfengine.el (cfengine-mode):
2582 Use syntax-propertize-function.
2583 (cfengine-font-lock-syntactic-keywords): Remove.
2585 * progmodes/autoconf.el (autoconf-mode):
2586 Use syntax-propertize-function.
2587 (autoconf-font-lock-syntactic-keywords): Remove.
2589 * progmodes/ada-mode.el (ada-set-syntax-table-properties)
2590 (ada-after-change-function, ada-initialize-syntax-table-properties)
2591 (ada-handle-syntax-table-properties): Only define when
2592 syntax-propertize is not available.
2593 (ada-mode): Use syntax-propertize-function.
2595 * font-lock.el (font-lock-syntactic-keywords): Make obsolete.
2596 (font-lock-fontify-syntactic-keywords-region): Move handling of
2597 font-lock-syntactically-fontified to...
2598 (font-lock-default-fontify-region): ...here.
2599 Let syntax-propertize-function take precedence.
2600 (font-lock-fontify-syntactically-region): Cal syntax-propertize.
2602 * emacs-lisp/syntax.el (syntax-propertize-function)
2603 (syntax-propertize-chunk-size, syntax-propertize--done)
2604 (syntax-propertize-extend-region-functions): New vars.
2605 (syntax-propertize-wholelines, syntax-propertize-multiline)
2606 (syntax-propertize--shift-groups, syntax-propertize-via-font-lock)
2607 (syntax-propertize): New functions.
2608 (syntax-propertize-rules): New macro.
2609 (syntax-ppss-flush-cache): Set syntax-propertize--done.
2610 (syntax-ppss): Call syntax-propertize.
2612 * emacs-lisp/regexp-opt.el (regexp-opt-depth): Skip named groups.
2614 2010-09-10 Agustín Martín <agustin.martin@hispalinux.es>
2616 * textmodes/ispell.el (ispell-init-process): Improve comments.
2617 XEmacs compatibility changes regarding (add-hook) 'local option
2618 and (set-process-query-on-exit-flag).
2620 2010-09-09 Michael Albinus <michael.albinus@gmx.de>
2622 * net/tramp-cache.el (tramp-parse-connection-properties):
2623 Set tramp-autoload cookie.
2625 2010-09-09 Glenn Morris <rgm@gnu.org>
2627 * image.el (imagemagick-types-inhibit): Add :type, :version, :group.
2628 (imagemagick-register-types): Doc fix.
2630 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
2632 * progmodes/octave-mod.el (electric-indent-chars): Silence bytecomp.
2634 * progmodes/js.el (require): Require is already "eval-and-compile".
2635 (js--re-search-forward): Avoid `eval'. Preserve the error data.
2636 (js--re-search-backward): Use js--re-search-forward.
2638 * progmodes/fortran.el (fortran-line-length): Don't recompute
2639 syntactic keywords redundantly a second time.
2641 * progmodes/ada-mode.el: Replace "(set '" with setq.
2642 (ada-mode): Simplify.
2643 (ada-create-case-exception, ada-adjust-case-interactive)
2644 (ada-adjust-case-region, ada-format-paramlist, ada-indent-current)
2645 (ada-search-ignore-string-comment, ada-move-to-start)
2646 (ada-move-to-end): Use with-syntax-table.
2648 * font-lock.el (save-buffer-state): Remove `varlist' arg.
2649 (font-lock-unfontify-region, font-lock-default-fontify-region):
2650 Update usage correspondingly.
2651 (font-lock-fontify-syntactic-keywords-region):
2652 Set parse-sexp-lookup-properties buffer-locally here.
2653 (font-lock-fontify-syntactically-region): Remove unused `ppss' arg.
2655 * simple.el (blink-matching-open): Don't burp if we can't find a match.
2657 2010-09-08 Glenn Morris <rgm@gnu.org>
2659 * emacs-lisp/bytecomp.el (byte-compile-report-ops):
2660 Error if not compiled with -DBYTE_CODE_METER.
2662 * emacs-lisp/bytecomp.el (byte-recompile-directory):
2663 Ignore dir-locals-file.
2665 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
2667 * progmodes/compile.el (compilation-error-regexp-alist-alist):
2669 (compilation-error-regexp-alist-alist): Rule out ": " in file names
2670 for the `gnu' messages.
2671 (compilation-set-skip-threshold): New command.
2672 (compilation-start): Use \' rather than $.
2673 (compilation-forget-errors): Use clrhash.
2675 2010-09-08 Agustín Martín <agustin.martin@hispalinux.es>
2677 * textmodes/ispell.el (ispell-valid-dictionary-list):
2680 2010-09-08 Michael Albinus <michael.albinus@gmx.de>
2682 Migrate to Tramp 2.2. Rearrange load dependencies.
2683 (Bug#1529, Bug#5448, Bug#5705)
2685 * Makefile.in (TRAMP_DIR, TRAMP_SRC): New variables.
2686 ($(TRAMP_DIR)/tramp-loaddefs.el): New target.
2687 (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
2689 * net/tramp.el (top): Remove all other tramp-* loads except
2690 tramp-compat.el. Remove all changes to tramp-unload-hook for
2691 other tramp-* packages. Rearrange defun order. Change calls of
2692 `tramp-compat-call-process', `tramp-compat-decimal-to-octal',
2693 `tramp-compat-octal-to-decimal' to new function names.
2694 (tramp-terminal-type, tramp-initial-end-of-output)
2695 (tramp-methods, tramp-foreign-file-name-handler-alist)
2696 (tramp-tramp-file-p, tramp-completion-mode-p)
2697 (tramp-send-command-and-check, tramp-get-remote-path)
2698 (tramp-get-remote-tmpdir, tramp-get-remote-ln)
2699 (tramp-shell-quote-argument): Set tramp-autoload cookie.
2700 (with-file-property, with-connection-property): Move to
2702 (tramp-local-call-process, tramp-decimal-to-octal)
2703 (tramp-octal-to-decimal): Move to tramp-compat.el.
2704 (tramp-handle-shell-command): Do not require 'shell.
2705 (tramp-compute-multi-hops): No special handling for tramp-gw-*
2707 (tramp-unload-tramp): Do not call `tramp-unload-file-name-handlers'.
2709 * net/tramp-cache.el (top): Require 'tramp. Add to
2710 `tramp-unload-hook'.
2711 (tramp-cache-data, tramp-get-file-property)
2712 (tramp-set-file-property, tramp-flush-file-property)
2713 (tramp-flush-directory-property, tramp-get-connection-property)
2714 (tramp-set-connection-property, tramp-flush-connection-property)
2715 (tramp-cache-print, tramp-list-connections): Set tramp-autoload
2717 (with-file-property, with-connection-property): New defuns, moved
2719 (tramp-flush-file-function): Use `with-parsed-tramp-file-name'
2722 * net/tramp-cmds.el (top): Add to `tramp-unload-hook'.
2723 (tramp-version): Set tramp-autoload cookie.
2725 * net/tramp-compat.el (top): Require 'tramp-loaddefs. Remove all
2726 changes to tramp-unload-hook for other tramp-* packages. Add to
2727 `tramp-unload-hook'.
2728 (tramp-compat-decimal-to-octal, tramp-compat-octal-to-decimal)
2729 (tramp-compat-call-process): New defuns, moved from tramp.el.
2731 * net/tramp-fish.el (top) Require just 'tramp. Add objects to
2732 `tramp-methods' and `tramp-foreign-file-name-handler-alist'. Add
2733 to `tramp-unload-hook'. Change call of
2734 `tramp-compat-decimal-to-octal' to new function name.
2735 (tramp-fish-method): Make it a defconst.
2736 (tramp-fish-file-name-p): Make it a defsubst.
2737 (tramp-fish-method, tramp-fish-file-name-handler)
2738 (tramp-fish-file-name-p): Set tramp-autoload cookie.
2740 * net/tramp-ftp.el (top) Add objects to `tramp-methods' and
2741 `tramp-foreign-file-name-handler-alist'. Add to
2742 `tramp-unload-hook'.
2743 (tramp-ftp-method): Make it a defconst.
2744 (tramp-ftp-file-name-p): Make it a defsubst.
2745 (tramp-ftp-method, tramp-ftp-file-name-handler)
2746 (tramp-ftp-file-name-p): Set tramp-autoload cookie.
2748 * net/tramp-gvfs.el (top) Add objects to `tramp-methods' and
2749 `tramp-foreign-file-name-handler-alist'. Add to
2750 `tramp-unload-hook'. Change checks, whether package can be
2752 (tramp-gvfs-file-name-p): Make it a defsubst.
2753 (tramp-gvfs-methods, tramp-gvfs-file-name-handler)
2754 (tramp-gvfs-file-name-p): Set tramp-autoload cookie.
2755 (tramp-gvfs-handle-file-directory-p): New defun.
2756 (tramp-gvfs-file-name-handler-alist): Use it.
2758 * net/tramp-gw.el (top) Add objects to `tramp-methods' and
2759 `tramp-foreign-file-name-handler-alist'. Add to
2760 `tramp-unload-hook'.
2761 (tramp-gw-tunnel-method, tramp-gw-default-tunnel-port)
2762 (tramp-gw-socks-method, tramp-gw-default-socks-port): Make it a
2764 (tramp-gw-tunnel-method, tramp-gw-socks-method)
2765 (tramp-gw-open-connection): Set tramp-autoload cookie.
2767 * net/tramp-imap.el (top) Require just 'tramp. Add objects to
2768 `tramp-methods' and `tramp-foreign-file-name-handler-alist'. Add
2769 to `tramp-unload-hook'. Change checks, whether package can be
2771 (tramp-imap-file-name-p): Make it a defsubst.
2772 (tramp-imap-method, tramp-imaps-method)
2773 (tramp-imap-file-name-handler)
2774 (tramp-imap-file-name-p): Set tramp-autoload cookie.
2776 * net/tramp-smb.el (top) Require just 'tramp. Add objects to
2777 `tramp-methods' and `tramp-foreign-file-name-handler-alist'. Add
2778 to `tramp-unload-hook'. Change checks, whether package can be
2779 loaded. Change call of `tramp-compat-decimal-to-octal' to new
2781 (tramp-smb-tunnel-method): Make it a defconst.
2782 (tramp-smb-file-name-p): Make it a defsubst.
2783 (tramp-smb-method, tramp-smb-file-name-handler)
2784 (tramp-smb-file-name-p): Set tramp-autoload cookie.
2786 * net/tramp-uu.el (top) Add to `tramp-unload-hook'.
2787 (tramp-uuencode-region): Set tramp-autoload cookie.
2789 * net/trampver.el (top) Add to `tramp-unload-hook'.
2790 (tramp-version, tramp-bug-report-address): Set tramp-autoload
2791 cookie. Update release number.
2793 2010-09-07 Agustín Martín <agustin.martin@hispalinux.es>
2795 * textmodes/ispell.el (ispell-start-process): Make sure original
2796 arg list is properly initialized (Bug#6993, Bug#6994).
2798 2010-09-06 Alexander Klimov <alserkli@inbox.ru> (tiny change)
2800 * files.el (directory-abbrev-alist): Use \` as default regexp.
2802 * emacs-lisp/rx.el (rx-any): Don't explode ranges that end in special
2803 chars like - or ] (bug#6984).
2804 (rx-any-condense-range): Explode 2-char ranges.
2806 2010-09-06 Glenn Morris <rgm@gnu.org>
2808 * desktop.el (desktop-path): Bump :version after 2009-09-15 change.
2810 2010-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
2812 * textmodes/bibtex.el:
2813 * proced.el: Update to new email for Roland Winkler <winkler@gnu.org>.
2815 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
2817 * net/imap.el (imap-message-map): Remove optional buffer parameter,
2818 since no callers use it.
2819 (imap-message-get): Ditto.
2820 (imap-message-put): Ditto.
2821 (imap-mailbox-map): Ditto.
2822 (imap-mailbox-put): Ditto.
2823 (imap-mailbox-get): Ditto.
2824 (imap-mailbox-get): Revert last change for this function.
2826 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
2828 * net/imap.el (imap-fetch-safe): Remove function, and alter all
2829 callers to use `imap-fetch' instead. According to the comments, this
2830 should be safe, since all other IMAP clients use the 1:* syntax.
2831 (imap-enable-exchange-bug-workaround): Remove.
2832 (imap-debug): Remove -- doesn't seem very useful.
2834 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
2836 * net/imap.el (imap-log): New convenience function used throughout
2837 instead of repeating the same code all over the place.
2839 2010-09-05 David De La Harpe Golden <david@harpegolden.net>
2841 * mouse.el (mouse-save-then-kill): Save region to kill-ring
2842 when mouse-drag-copy-region is non-nil (Bug#6956).
2844 2010-09-05 Chong Yidong <cyd@stupidchicken.com>
2846 * dired.el (dired-ls-sorting-switches, dired-sort-by-name-regexp):
2847 Improve regexps (Bug#6987).
2848 (dired-sort-toggle): Search more robustly for -t flag.
2850 * files.el (get-free-disk-space): Search more robustly for
2851 "available" column. Suggested by Ehud Karni
2852 <ehud@unix.mvs.co.il>.
2854 2010-09-05 Juanma Barranquero <lekktu@gmail.com>
2856 * international/uni-bidi.el:
2857 * international/uni-category.el:
2858 * international/uni-combining.el:
2859 * international/uni-decimal.el:
2860 * international/uni-mirrored.el:
2861 * international/uni-name.el: Regenerate.
2863 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
2865 * electric.el (electric-indent-post-self-insert-function):
2866 Don't reindent with a sloppy indentation function.
2868 * emacs-lisp/syntax.el (syntax-ppss): More sanity check to catch
2869 border case in change-log-mode.
2871 2010-09-04 Chong Yidong <cyd@stupidchicken.com>
2873 * progmodes/compile.el (compilation-error-regexp-alist-alist):
2874 Remove ruby regexp; handle Ruby errors with gcc-include and gnu.
2875 Recognize leading tab in gcc-include regexp. Ignore names with
2876 leading "from" or "in" in gnu regexp (Bug#6937).
2878 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
2880 Avoid global recursive calls to kill-buffer-hooks; fit into 80 cols.
2881 * textmodes/ispell.el (ispell-process-buffer-name): Remove.
2882 (ispell-start-process): Avoid setq and simplify logic.
2883 (ispell-init-process): Setup kill-buffer-hook locally when needed.
2884 (kill-buffer-hook): Don't use it globally with code that uses
2885 expand-file-name since that may call kill-buffer via
2886 code_conversion_restore.
2888 2010-09-04 Noorul Islam K M <noorul@noorul.com> (tiny change)
2890 * emacs-lisp/package.el (package-directory-list): Only call
2891 file-name-nondirectory on a string.
2893 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
2895 * emacs-lisp/package.el (package--download-one-archive):
2896 Ensure that archive-contents is valid before saving it.
2897 (package-activate-1, package-mark-obsolete, define-package)
2898 (package-compute-transaction, package-list-maybe-add): Use push.
2900 2010-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
2902 Use SMIE's blink-paren for octave-mode.
2903 * progmodes/octave-mod.el (octave-font-lock-close-quotes):
2904 Backslashes do not escape single-quotes, single-quotes do.
2905 (octave-block-else-regexp, octave-block-end-regexp)
2906 (octave-block-match-alist): Remove.
2907 (octave-smie-bnf-table): New var, with old content.
2908 (octave-smie-op-levels): Use it.
2909 (octave-smie-closer-alist): New var.
2910 (octave-mode): Use it. Setup smie-blink-matching and electric-indent.
2911 (octave-blink-matching-block-open): Remove.
2912 (octave-reindent-then-newline-and-indent, octave-electric-semi)
2913 (octave-electric-space): Let self-insert-command run expand-abbrev and
2916 * electric.el (electricity): New group.
2917 (electric-indent-chars): New var.
2918 (electric-indent-post-self-insert-function): New fun.
2919 (electric-indent-mode): New minor mode.
2920 (electric-pair-skip-self): New custom.
2921 (electric-pair-post-self-insert-function): New function.
2922 (electric-pair-mode): New minor mode.
2924 * calc/calc-aent.el (calcAlg-blink-matching-check): New fun, to replace
2925 calcAlg-blink-matching-open.
2926 (calc-alg-ent-map, calc-alg-ent-esc-map): Initialize in the declaration.
2927 (calc-do-alg-entry): Only touch the part of the keymap that varies.
2928 Use the new blink-matching-check-function.
2930 Provide blink-matching support to SMIE.
2931 * emacs-lisp/smie.el (smie-bnf-closer-alist): New function.
2932 (smie-blink-matching-triggers, smie-blink-matching-inners): New vars.
2933 (smie-blink-matching-check, smie-blink-matching-open): New functions.
2935 * simple.el (newline): Fix last change to properly remove itself from
2938 2010-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
2940 * simple.el (newline): Eliminate optimization.
2941 Use post-self-insert-hook to set hard-newline and things before
2942 running post-self-insert-hook.
2943 (blink-matching-check-mismatch): New function.
2944 (blink-matching-check-function): New variable.
2945 (blink-matching-open): Use them.
2946 Skip back forward over prefix chars skipped by forward-sexp.
2947 Don't check if the parens are backslash escaped.
2948 (blink-paren-post-self-insert-function): Check backslash escaping here.
2950 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
2952 * emacs-lisp/package.el (package-menu-mode-map):
2953 Change package-menu-revert bindings to revert-buffer.
2954 (package-menu-mode): Set revert-buffer-function.
2955 (package-menu-revert): Doc fix.
2957 2010-09-02 Agustín Martín <agustin.martin@hispalinux.es>
2959 * textmodes/ispell.el (ispell-init-process): Use "~/" as
2960 `default-directory' unless using Ispell per-directory personal
2961 dictionaries and not in a mini-buffer under XEmacs.
2962 (kill-buffer-hook): Do not kill ispell process on exit when
2963 `ispell-process-directory' is "~/". (Bug#6143)
2965 2010-09-02 Jan Djärv <jan.h.d@swipnet.se>
2967 * simple.el (kill-new): Call interprogram-cut-function with only
2970 * term.el (term-mouse-paste): Don't call x-get-cutbuffer.
2971 Remove cut buffer from error message.
2973 * term/x-win.el (x-select-text):
2974 * term/pc-win.el (x-selection-value):
2975 * term/ns-win.el (x-selection-value):
2976 * eshell/em-term.el:
2977 * w32-fns.el (x-get-selection-value):
2978 * mouse-sel.el (mouse-sel-set-selection-function):
2979 * frame.el (display-selections-p): Remove cut-buffer in documentation.
2981 * term/x-win.el: Update documentation for x-last-selected-text-*.
2982 (x-last-selected-text-cut, x-last-selected-text-cut-encoded)
2983 (x-last-cut-buffer-coding, x-cut-buffer-max): Remove.
2984 (x-select-text): Remove argument PUSH, update documentation. Remove
2986 (x-selection-value-internal): Was previously x-selection-value.
2987 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
2988 Update documentation, remove cut-buffer code. Call
2989 x-selection-value-internal.
2990 (x-clipboard-yank): Call x-selection-value-internal.
2991 (x-initialize-window-system): Remove setting of x-cut-buffer-max.
2993 * term/pc-win.el (x-last-selected-text):
2994 x-cut-buffer-or-selection-value renamed to x-selection-value
2995 (x-select-text): Remove argument PUSH, update documentation.
2997 * term/ns-win.el (x-setup-function-keys, ns-last-selected-text):
2998 x-cut-buffer-or-selection-value renamed to x-selection-value
2999 (x-selection-value): Renamed from x-cut-buffer-or-selection-value.
3000 (x-select-text): Remove argument PUSH, update documentation.
3002 * emacs-lisp/cl-macs.el (x-get-cutbuffer, x-get-cut-buffer): Remove.
3004 * w32-fns.el (x-last-selected-text):
3005 x-cut-buffer-or-selection-value renamed to x-selection-value.
3006 (x-cut-buffer-max): Remove.
3007 (x-select-text): Remove argument PUSH, update documentation.
3009 * simple.el (interprogram-cut-function): Remove mention of PUSH.
3011 * select.el (x-get-cut-buffer, x-set-cut-buffer): Remove.
3013 * mouse-sel.el (mouse-sel-get-selection-function):
3014 x-cut-buffer-or-selection-value renamed to x-selection-value.
3015 (x-select-text): Remove optional push.
3017 2010-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
3019 * simple.el (blink-paren-function): Move from C to here.
3020 (blink-paren-post-self-insert-function): New function.
3021 (post-self-insert-hook): Use it.
3023 * emacs-lisp/pcase.el (pcase-split-memq):
3024 Fix overenthusiastic optimisation.
3025 (pcase-u1): Handle the case of a lambda pred.
3027 2010-08-31 Kenichi Handa <handa@m17n.org>
3029 * international/mule-cmds.el (standard-display-european-internal):
3030 Setup standard-display-table for 8-bit characters by storing 8-bit
3031 characters in the element vector.
3033 * disp-table.el (standard-display-8bit):
3034 Setup standard-display-table for 8-bit characters by storing 8-bit
3035 characters in the element vector.
3036 (standard-display-european): Likewise.
3038 2010-08-31 Masatake YAMATO <yamato@redhat.com>
3040 * textmodes/nroff-mode.el (nroff-view): New command.
3041 (nroff-mode-map): Bind it to C-c C-c.
3043 2010-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
3045 * emacs-lisp/smie.el (smie-down-list): New command.
3047 Remove old indentation and navigation code on octave-mode.
3048 * progmodes/octave-mod.el (octave-mode-map): Remap down-list to
3049 smie-down-list rather than add a binding for octave-down-block.
3050 (octave-mark-block, octave-blink-matching-block-open):
3051 Rely on forward-sexp-function.
3052 (octave-fill-paragraph): Don't narrow, so you can use
3053 indent-according-to-mode.
3054 (octave-block-begin-regexp, octave-block-begin-or-end-regexp): Remove.
3055 (octave-in-block-p, octave-re-search-forward-kw)
3056 (octave-re-search-backward-kw, octave-indent-calculate)
3057 (octave-end-as-array-index-p, octave-block-end-offset)
3058 (octave-scan-blocks, octave-forward-block, octave-backward-block)
3059 (octave-down-block, octave-backward-up-block, octave-up-block)
3060 (octave-before-magic-comment-p, octave-indent-line): Remove.
3062 2010-08-31 Chong Yidong <cyd@stupidchicken.com>
3064 * emacs-lisp/package.el (package--read-archive-file): Just use
3065 `read', to avoid copying an additional string.
3066 (package-menu-mode): Set header-line-format here.
3067 (package-menu-refresh, package-menu-revert): Signal an error if
3068 not in the Package Menu.
3069 (package-menu-package-list): New var.
3070 (package--generate-package-list): Operate on the current buffer;
3071 don't assume that it is *Packages*, since the user may rename it.
3072 Allow persistent package listings and sort keys using
3073 package-menu-package-list and package-menu-package-sort-key.
3074 (package-menu--version-predicate): Fix version calculation.
3075 (package-menu-sort-by-column): Don't select the window.
3076 (package--list-packages): Create the *Packages* buffer.
3077 Set package-menu-package-list-key.
3078 (list-packages): Sorting by status is now the default.
3079 (package-buffer-info): Use match-string-no-properties.
3080 (define-package): Add a &rest argument for future proofing, but
3082 (package-install-from-buffer, package-install-buffer-internal):
3083 Merge into a single function, package-install-from-buffer.
3084 (package-install-file): Change caller.
3086 * finder.el: Load finder-inf using `require'.
3087 (finder-list-matches): Sorting by status is now the default.
3088 (finder-compile-keywords): Simpify printing.
3090 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
3092 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
3093 (octave-mode-map): Remove special bindings for forward/backward-block
3094 and octave-backward-up-block. Use smie-close-block.
3095 (octave-continuation-marker-regexp): New var.
3096 (octave-continuation-regexp): Use it.
3097 (octave-operator-table, octave-smie-op-levels)
3098 (octave-operator-regexp, octave-smie-indent-rules): New vars.
3099 (octave-smie-backward-token, octave-smie-forward-token): New funs.
3100 (octave-mode): Use SMIE.
3101 (octave-close-block): Delete.
3103 2010-08-30 Eli Zaretskii <eliz@gnu.org>
3105 * menu-bar.el (menu-bar-edit-menu) <"Paste">: Check selection in
3106 CLIPBOARD, not in PRIMARY. (Bug#6944)
3108 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
3110 * emacs-lisp/smie.el (smie-indent-offset-rule): Let :parent take
3112 (smie-indent-column): Allow indirection through variables.
3114 * composite.el (save-buffer-state): Delete, unused.
3115 * font-lock.el (save-buffer-state): Use with-silent-modifications.
3116 (font-lock-default-fontify-region): Use with-syntax-table.
3117 * jit-lock.el (with-buffer-unmodified): Remove.
3118 (with-buffer-prepared-for-jit-lock): Use with-silent-modifications.
3120 Use `declare' in defmacros.
3121 * window.el (save-selected-window):
3122 * subr.el (with-temp-file, with-temp-message, with-syntax-table):
3123 * progmodes/python.el (def-python-skeleton):
3124 * net/dbus.el (dbus-ignore-errors):
3125 * jka-cmpr-hook.el (with-auto-compression-mode):
3126 * international/mule.el (with-category-table):
3127 * emacs-lisp/timer.el (with-timeout):
3128 * emacs-lisp/lisp-mnt.el (lm-with-file):
3129 * emacs-lisp/eieio.el (with-slots):
3130 * emacs-lisp/easymenu.el (easy-menu-define):
3131 * emacs-lisp/debug.el (debugger-env-macro):
3132 * emacs-lisp/cl-compat.el (Multiple-value-bind, Multiple-value-setq)
3133 (Multiple-value-call, Multiple-value-prog1):
3134 * emacs-lisp/cl-seq.el (cl-parsing-keywords, cl-check-key)
3135 (cl-check-test-nokey, cl-check-test, cl-check-match): Move indent and
3136 edebug rule to definition.
3137 * emacs-lisp/lisp-mode.el (save-selected-window)
3138 (with-current-buffer, combine-after-change-calls)
3139 (with-output-to-string, with-temp-file, with-temp-buffer)
3140 (with-temp-message, with-syntax-table, read-if, eval-after-load)
3141 (dolist, dotimes, when, unless):
3142 * emacs-lisp/byte-run.el (inline): Remove indent rule, redundant.
3144 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
3146 * finder.el: Require `package'.
3147 (finder-known-keywords): Tweak descriptions. Retire `oop' keyword.
3148 (finder-package-info): Var deleted.
3149 (finder-keywords-hash, finder--builtins-alist): New vars.
3150 (finder-compile-keywords): Compute package--builtins and
3151 finder-keywords-hash instead of finder-keywords-hash, respecting
3152 the "Package" header.
3153 (finder-unknown-keywords, finder-list-matches):
3154 Use finder-keywords-hash and package--list-packages.
3155 (finder-mode): Don't set font-lock-defaults.
3156 (finder-exit): We don't use "*Finder-package*" and "*Finder
3157 Category*" buffers anymore.
3159 * emacs-lisp/package.el (package--builtins-base): Var deleted.
3160 (package--builtins): Set default value to nil.
3161 (package-initialize): Load precomputed value of package--builtins
3163 (package-alist, package-compute-transaction)
3164 (package-download-transaction): Improve docstring.
3165 (package-read-all-archive-contents): Do not change
3166 package--builtins here.
3167 (list-packages): Make package-list-packages an alias for this.
3168 Sort by status by default.
3169 (package--list-packages): Add optional PACKAGES arg.
3170 (describe-package-1): Use font-lock-face property. For built-in
3171 packages, insert file commentary.
3172 (package--generate-package-list): Rename from
3173 package-list-packages-internal; all callers changed. Add optional
3174 PACKAGES arg. Add alphabetical sort fallbacks.
3175 (package-menu--version-predicate, package-menu--status-predicate)
3176 (package-menu--description-predicate)
3177 (package-menu--name-predicate): New functions.
3179 * info.el (Info-finder-find-node): Search package-alist instead of
3180 finder-package-info.
3182 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
3184 * subr.el (version-regexp-alist): Don't use "a" and "b" for
3186 (version-to-list): Handle versions like "10.3d".
3188 2010-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
3190 * emacs-lisp/macroexp.el (macroexpand-all-1): Use pcase.
3191 (macroexp-accumulate): Use `declare'.
3193 2010-08-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
3195 * whitespace.el (whitespace-style): Adjust type declaration.
3197 2010-08-26 Magnus Henoch <magnus.henoch@gmail.com>
3199 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
3200 empty argument to gvfs-copy.
3202 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
3204 * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
3205 handle new TRASH arg of `delete-file'.
3207 2010-08-26 Christian Lynbech <christian.lynbech@tieto.com> (tiny change)
3209 * net/tramp.el (tramp-handle-insert-directory): Don't use
3210 `forward-word', its default syntax could be changed.
3212 2010-08-26 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
3213 Michael Albinus <michael.albinus@gmx.de>
3215 Implement compression for inline methods.
3217 * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
3218 (tramp-copy-size-limit): Allow also nil.
3219 (tramp-inline-compress-commands): New defconst.
3220 (tramp-find-inline-compress, tramp-get-inline-compress)
3221 (tramp-get-inline-coding): New defuns.
3222 (tramp-get-remote-coding, tramp-get-local-coding): Remove,
3223 replaced by `tramp-get-inline-coding'.
3224 (tramp-handle-file-local-copy, tramp-handle-write-region)
3225 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
3227 2010-08-26 Noah Lavine <noah549@gmail.com> (tiny change)
3229 Detect ssh 'ControlMaster' argument automatically in some cases.
3231 * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
3232 (tramp-default-method): Use it.
3234 2010-08-26 Karel Klíč <kklic@redhat.com>
3236 * net/tramp.el (tramp-file-name-for-operation):
3237 Add file-selinux-context.
3239 2010-08-26 Łukasz Stelmach <lukasz.stelmach@iem.pw.edu.pl> (tiny change)
3241 * play/cookie1.el (read-cookie): Fix off-by-one error (bug#6921).
3243 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
3245 * simple.el (beginning-of-buffer, end-of-buffer): Doc fix
3248 2010-08-26 Nathan Weizenbaum <nweiz@cressida.sea.corp.google.com> (tiny change)
3250 * progmodes/js.el: Make indentation more customizable (Bug#6914).
3251 (js-paren-indent-offset, js-square-indent-offset)
3252 (js-curly-indent-offset): New options.
3253 (js--proper-indentation): Use them.
3255 2010-08-26 Daniel Colascione <dan.colascione@gmail.com>
3257 * progmodes/sh-script.el (sh-get-indent-info): Use syntax-ppss
3258 instead of inspecting font-lock properties (Bug#6916).
3260 2010-08-26 David Reitter <david.reitter@gmail.com>
3262 * server.el (server-visit-files): Run pre-command-hook and
3263 post-command-hook for each buffer while it is current (Bug#6910).
3264 (server-execute): Do not run hooks here.
3266 2010-08-26 Michael Albinus <michael.albinus@gmx.de>
3268 Sync with Tramp 2.1.19.
3270 * net/tramp-cmds.el (tramp-cleanup-all-connections)
3271 (tramp-reporter-dump-variable, tramp-load-report-modules)
3272 (tramp-append-tramp-buffers): Use `tramp-compat-funcall'.
3273 (tramp-bug): Recommend setting of `tramp-verbose' to 9.
3275 * net/tramp-compat.el (top): Do not autoload
3276 `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el
3277 only when `start-file-process' is not bound.
3278 (byte-compile-not-obsolete-vars): Define if not bound.
3279 (tramp-compat-funcall): New defmacro.
3280 (tramp-compat-line-beginning-position)
3281 (tramp-compat-line-end-position)
3282 (tramp-compat-temporary-file-directory)
3283 (tramp-compat-make-temp-file, tramp-compat-file-attributes)
3284 (tramp-compat-copy-file, tramp-compat-copy-directory)
3285 (tramp-compat-delete-file, tramp-compat-delete-directory)
3286 (tramp-compat-number-sequence, tramp-compat-process-running-p):
3288 (tramp-advice-file-expand-wildcards): Do not use
3289 `tramp-handle-file-remote-p'.
3290 (tramp-compat-make-temp-file): Simplify fallback implementation.
3291 (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
3292 (tramp-compat-copy-tree): Remove function.
3293 (tramp-compat-delete-file): New defun.
3294 (tramp-compat-delete-directory): Provide implementation for older
3296 (tramp-compat-file-attributes): Handle only
3297 `wrong-number-of-arguments' error.
3299 * net/tramp-fish.el (tramp-fish-handle-copy-file):
3300 Add PRESERVE_SELINUX_CONTEXT.
3301 (tramp-fish-handle-delete-file): Add TRASH arg.
3302 (tramp-fish-handle-directory-files-and-attributes):
3303 Do not use `tramp-fish-handle-file-attributes.
3304 (tramp-fish-handle-file-local-copy)
3305 (tramp-fish-handle-insert-file-contents)
3306 (tramp-fish-maybe-open-connection): Use `with-progress-reporter'.
3308 * net/tramp-gvfs.el (top): Require url-util.
3309 (tramp-gvfs-mount-point): Remove.
3310 (tramp-gvfs-file-name-handler-alist): Add `file-selinux-context'
3311 and `set-file-selinux-context'.
3312 (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command)
3313 (tramp-gvfs-handle-file-selinux-context)
3314 (tramp-gvfs-handle-set-file-selinux-context): New defuns.
3315 (with-tramp-dbus-call-method): Format trace message.
3316 (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
3317 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
3318 Implement backup call, when operation on local files fails.
3319 Use progress reporter. Flush properties of changed files.
3320 (tramp-gvfs-handle-delete-file): Add TRASH arg. Use
3321 `tramp-compat-delete-file'.
3322 (tramp-gvfs-handle-expand-file-name): Expand "~/".
3323 (tramp-gvfs-handle-make-directory): Make more traces.
3324 (tramp-gvfs-handle-write-region): Protect deleting tmpfile.
3325 (tramp-gvfs-url-file-name): Hexify file name in url.
3326 (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
3327 into account for the resulting file name.
3328 (tramp-gvfs-handler-askquestion): Preserve current message, in
3329 order to let progress reporter continue afterwards. (Bug#6257)
3330 Return dummy mountpoint, when the answer is "no".
3331 See `tramp-gvfs-maybe-open-connection'.
3332 (tramp-gvfs-handler-mounted-unmounted)
3333 (tramp-gvfs-connection-mounted-p): Test also for new mountspec
3334 attribute "default_location". Set "prefix" property.
3335 Handle default-location.
3336 (tramp-gvfs-mount-spec): Return both prefix and mountspec.
3337 (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
3338 exists. Raise an error, if not (due to a corresponding answer
3339 "no" in interactive questions, for example).
3340 Use `tramp-compat-funcall'.
3342 * net/tramp-imap.el (top): Autoload `epg-make-context'.
3343 (tramp-imap-handle-copy-file): Add PRESERVE-SELINUX-CONTEXT.
3344 (tramp-imap-do-copy-or-rename-file)
3345 (tramp-imap-handle-insert-file-contents)
3346 (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
3347 (tramp-imap-handle-delete-file): Add TRASH arg.
3349 * net/tramp-smb.el (tramp-smb-handle-copy-file):
3350 Add PRESERVE-SELINUX-CONTEXT.
3351 (tramp-smb-handle-copy-file)
3352 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
3353 (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
3354 Use `with-progress-reporter'.
3355 (tramp-smb-handle-delete-file): Add TRASH arg.
3357 * net/tramp.el (tramp-methods): Move hostname to the end in all
3358 ssh `tramp-login-args'. Add `tramp-async-args' attribute where
3360 (tramp-verbose): Describe verbose level 9.
3361 (tramp-completion-function-alist)
3362 (tramp-file-name-regexp, tramp-chunksize)
3363 (tramp-local-coding-commands, tramp-remote-coding-commands)
3364 (with-connection-property, tramp-completion-mode-p)
3365 (tramp-action-process-alive, tramp-action-out-of-band)
3366 (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
3367 (tramp-exists-file-name-handler): Fix docstring.
3368 (tramp-remote-process-environment): Use `format' instead of
3369 `concat'. Protect version string by apostroph.
3370 (tramp-shell-prompt-pattern): Do not use a shy group in case of
3372 (tramp-file-name-regexp-unified)
3373 (tramp-completion-file-name-regexp-unified): On W32 systems, do
3374 not regard the volume letter as remote filename. (Bug#5447)
3375 (tramp-perl-file-attributes)
3376 (tramp-perl-directory-files-and-attributes): Don't pass "$3".
3377 (tramp-vc-registered-read-file-names): Read input as
3378 here-document, otherwise the command could exceed maximum length
3380 (tramp-file-name-handler-alist): Add `file-selinux-context' and
3381 `set-file-selinux-context'.
3382 (tramp-debug-message): Add `tramp-compat-funcall' to ignored
3383 backtrace functions.
3384 (tramp-error-with-buffer): Don't show the connection buffer when
3385 we are in completion mode.
3386 (tramp-progress-reporter-update, tramp-remote-selinux-p)
3387 (tramp-handle-file-selinux-context)
3388 (tramp-handle-set-file-selinux-context, tramp-process-sentinel)
3389 (tramp-connectable-p, tramp-open-shell, tramp-get-remote-trash):
3391 (with-progress-reporter): New defmacro.
3392 (tramp-debug-outline-regexp): New defconst.
3393 (top, tramp-rfn-eshadow-setup-minibuffer)
3394 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
3395 (tramp-handle-dired-compress-file, tramp-handle-shell-command)
3396 (tramp-completion-mode-p, tramp-check-for-regexp)
3397 (tramp-open-connection-setup-interactive-shell)
3398 (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
3399 (tramp-time-diff, tramp-coding-system-change-eol-conversion)
3400 (tramp-set-process-query-on-exit-flag, tramp-unload-tramp):
3401 Use `tramp-compat-funcall'.
3402 (tramp-handle-make-symbolic-link): Flush file properties.
3403 (tramp-handle-load, tramp-handle-file-local-copy)
3404 (tramp-handle-insert-file-contents, tramp-handle-write-region)
3405 (tramp-handle-vc-registered, tramp-maybe-send-script)
3406 (tramp-find-shell): Use `with-progress-reporter'.
3407 (tramp-do-file-attributes-with-stat): Add space in format string,
3408 in order to work around a bug in pdksh. Reported by Gilles Pion
3410 (tramp-handle-verify-visited-file-modtime): Do not send a command
3411 when the connection is not established.
3412 (tramp-handle-set-file-times): Simplify the check for utc.
3413 (tramp-handle-directory-files-and-attributes)
3414 (tramp-get-remote-path): Use `copy-tree'.
3415 (tramp-completion-handle-file-name-all-completions): Ensure, that
3416 non remote files are still checked. Oops.
3417 (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
3418 Handle PRESERVE-SELINUX-CONTEXT.
3419 (tramp-do-copy-or-rename-file): Add progress reporter.
3420 (tramp-do-copy-or-rename-file-directly): Do not use
3421 `tramp-handle-file-remote-p'.
3422 (tramp-do-copy-or-rename-file-out-of-band):
3423 Use `tramp-compat-delete-directory'.
3424 (tramp-do-copy-or-rename-file-out-of-band)
3425 (tramp-compute-multi-hops, tramp-maybe-open-connection):
3426 Use `format-spec-make'.
3427 (tramp-handle-delete-file): Add TRASH arg.
3428 (tramp-handle-dired-uncache): Flush directory cache, not only file
3430 (tramp-handle-expand-file-name)
3431 (tramp-completion-handle-file-name-all-completions)
3432 (tramp-completion-handle-file-name-completion):
3433 Use `tramp-connectable-p'.
3434 (tramp-handle-start-file-process): Set connection property "vec".
3435 Use it, in order to invalidate file caches. Check only for
3436 `remote-tty' process property.
3437 Implement tty setting. (Bug#4604, Bug#6360)
3438 (tramp-file-name-for-operation): Add `call-process-region' and
3439 `set-file-selinux-context'.
3440 (tramp-find-foreign-file-name-handler)
3441 (tramp-advice-make-auto-save-file-name)
3442 (tramp-set-auto-save-file-modes): Remove superfluous check for
3443 `stringp'. This is done inside `tramp-tramp-file-p'.
3444 (tramp-file-name-handler): Trace 'quit. Catch the error for some
3445 operations when we are in completion mode. This gives the user
3446 the chance to correct the file name in the minibuffer.
3447 (tramp-completion-mode-p): Use `non-essential'.
3448 (tramp-handle-file-name-all-completions): Backward/ XEmacs
3449 compatibility: Use `completion-ignore-case' if
3450 `read-file-name-completion-ignore-case' does not exist.
3451 (tramp-get-debug-buffer): Use `tramp-debug-outline-regexp'.
3452 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
3454 (tramp-action-password): Hide password prompt before next run.
3455 (tramp-process-actions): Widen connection buffer for the trace.
3456 (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
3457 process property. Trace stty settings if `tramp-verbose' >= 9.
3458 Apply workaround for IRIX64 bug. Move argument of last
3459 `tramp-send-command' where it belongs to.
3460 (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
3461 front of `login-args'.
3462 (tramp-get-ls-command, tramp-get-ls-command-with-dired): Run tests
3463 on "/dev/null" instead of "/".
3464 (tramp-get-ls-command-with-dired): Make test for "--dired"
3466 (tramp-set-auto-save-file-modes): Adapt version check.
3467 (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
3468 (tramp-handle-process-file): Call the program in a subshell, in
3469 order to preserve working directory.
3470 (tramp-handle-shell-command): Don't use hard-wired "/bin/sh" but
3471 `tramp-remote-sh' from `tramp-methods'.
3472 (tramp-get-ls-command): Make test for "--color=never" stronger.
3473 (tramp-check-for-regexp): Use (forward-line 1).
3475 * net/trampver.el: Update release number.
3477 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
3479 * help.el (help-map): Bind `C-h P' to describe-package.
3481 * menu-bar.el (menu-bar-describe-menu): Add describe-package.
3483 * emacs-lisp/package.el (package-refresh-contents): Catch errors
3484 when downloading archives.
3485 (describe-package-1): Add package commentary.
3486 (package-install-button-action): New function.
3487 (package-menu-mode-map): Bind ? to package-menu-describe-package.
3488 (package-menu-view-commentary): Function removed.
3489 (package-list-packages-internal): Hide the `package' package too.
3491 2010-08-25 Kenichi Handa <handa@m17n.org>
3493 * language/misc-lang.el ("Arabic"): New language environment.
3494 Setup composition-function-table for Arabic characters.
3496 * international/fontset.el (setup-default-fontset): Fix typo for
3497 arabic OTF spec (fini->fina).
3499 2010-08-25 Jan Djärv <jan.h.d@swipnet.se>
3501 * menu-bar.el (menu-bar-set-tool-bar-position): Set frame parameter
3504 2010-08-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
3506 * whitespace.el: Allow cleaning up blanks without blank
3507 visualization (Bug#6651). Adjust help window for
3508 whitespace-toggle-options (Bug#6479). Allow to use fill-column
3509 instead of whitespace-line-column (from EmacsWiki). New version
3511 (whitespace-style): Added new value 'face. Adjust docstring.
3512 (whitespace-space, whitespace-hspace, whitespace-tab): Adjust
3513 foreground property face.
3514 (whitespace-line-column): Adjust docstring and type declaration.
3515 (whitespace-style-value-list, whitespace-toggle-option-alist)
3516 (whitespace-help-text): Adjust const initialization.
3517 (whitespace-toggle-options, global-whitespace-toggle-options):
3519 (whitespace-display-window, whitespace-interactive-char)
3520 (whitespace-style-face-p, whitespace-color-on): Adjust code.
3521 (whitespace-help-scroll): New fun.
3523 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
3525 * emacs-lisp/package.el (list-packages): Alias for
3526 package-list-packages.
3528 2010-08-24 Kevin Ryde <user42@zip.com.au>
3530 * textmodes/flyspell.el (flyspell-check-tex-math-command): Doc fix
3533 * progmodes/ruby-mode.el (ruby): Add defgroup.
3535 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
3537 * progmodes/python.el: Add Ipython support (Bug#5390).
3538 (python-shell-prompt-alist)
3539 (python-shell-continuation-prompt-alist): New options.
3540 (python--set-prompt-regexp): New function.
3541 (inferior-python-mode, run-python, python-shell): Require
3542 ansi-color. Use python--set-prompt-regexp to set the comint
3543 prompt based on the Python interpreter.
3544 (python--prompt-regexp): New var.
3545 (python-check-comint-prompt)
3546 (python-comint-output-filter-function): Use it.
3547 (run-python): Use a pipe (Bug#5694).
3549 2010-08-24 Fabian Ezequiel Gallina <galli.87@gmail.com> (tiny change)
3551 * progmodes/python.el (python-send-region): Send a different
3552 Python command if Ipython is in use.
3553 (python-check-version): Use a Python command to find the version.
3555 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
3557 * mouse.el (mouse-yank-primary): Avoid setting primary when
3558 deactivating the mark (Bug#6872).
3560 2010-08-23 Chris Foote <chris@foote.com.au> (tiny change)
3562 * progmodes/python.el (python-block-pairs): Allow use of "finally"
3563 with "else" (Bug#3991).
3565 2010-08-23 Michael Albinus <michael.albinus@gmx.de>
3567 * net/dbus.el: Accept UNIX domain sockets as bus address.
3568 (top): Don't initialize `dbus-registered-objects-table' anymore,
3569 this is done in dbusbind,c.
3570 (dbus-check-event): Adapt test for bus.
3571 (dbus-return-values-table, dbus-unregister-service)
3572 (dbus-event-bus-name, dbus-introspect, dbus-register-property):
3575 2010-08-23 Juanma Barranquero <lekktu@gmail.com>
3577 * ido.el (ido-use-virtual-buffers): Fix typo in docstring.
3579 2010-08-22 Juri Linkov <juri@jurta.org>
3581 * simple.el (read-extended-command): New function with the logic
3582 for `completing-read' moved to Elisp from `execute-extended-command'.
3583 Use `function-called-at-point' in `minibuffer-default-add-function'
3584 to get a command name for M-n (bug#5364, bug#5214).
3586 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
3588 * startup.el (command-line-1): Issue warning for ignored arguments
3589 --unibyte, etc (Bug#6886).
3591 2010-08-22 Leo <sdl.web@gmail.com>
3593 * net/rcirc.el (rcirc-add-or-remove): Accept a list of elements.
3594 (ignore, bright, dim, keyword): Split list of nicknames before
3595 passing to rcirc-add-or-remove (Bug#6894).
3597 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
3599 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix (Bug#6880).
3601 2010-08-22 Leo <sdl.web@gmail.com>
3603 Fix buffer-list rename&refresh after killing a buffer in ido.
3604 * ido.el: Revert Óscar's.
3605 (ido-kill-buffer-at-head): Exit the minibuffer with ido-exit=refresh.
3606 Remember the buffers at head, rather than their name.
3607 * iswitchb.el (iswitchb-kill-buffer): Re-make the list.
3609 2010-08-22 Kirk Kelsey <kirk.kelsey@0x4b.net> (tiny change)
3610 Stefan Monnier <monnier@iro.umontreal.ca>
3612 * progmodes/make-mode.el (makefile-fill-paragraph): Account for the
3613 extra backslash added to each line (bug#6890).
3615 2010-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
3617 * subr.el (read-key): Don't echo keystrokes (bug#6883).
3619 2010-08-22 Glenn Morris <rgm@gnu.org>
3621 * menu-bar.el (menu-bar-games-menu): Add landmark.
3623 2010-08-22 Glenn Morris <rgm@gnu.org>
3625 * align.el (align-regexp): Make group and spacing arguments
3626 use the interactive defaults when non-interactive. (Bug#6698)
3628 * mail/rmail.el (rmail-forward): Replace mail-text-start with its
3629 expansion, so as not to need sendmail.
3630 (mail-text-start): Remove declaration.
3631 (rmail-retry-failure): Require sendmail.
3633 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
3635 * subr.el (read-key): Don't hide the menu-bar entries (bug#6881).
3637 2010-08-22 Michael Albinus <michael.albinus@gmx.de>
3639 * progmodes/flymake.el (flymake-start-syntax-check-process):
3640 Use `start-file-process' in order to let it run also on remote hosts.
3642 2010-08-22 Kenichi Handa <handa@m17n.org>
3644 * files.el: Add `word-wrap' as safe local variable.
3646 2010-08-22 Glenn Morris <rgm@gnu.org>
3648 * woman.el (woman-translate): Case matters. (Bug#6849)
3650 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
3652 * simple.el (kill-region): Doc fix (Bug#6787).
3654 2010-08-22 Glenn Morris <rgm@gnu.org>
3656 * calendar/diary-lib.el (diary-header-line-format):
3657 Fit it to the window, not the frame.
3659 2010-08-22 Andreas Schwab <schwab@linux-m68k.org>
3661 * subr.el (ignore-errors): Add debug declaration.
3663 2010-08-22 Geoff Gole <geoffgole@gmail.com> (tiny change)
3665 * whitespace.el (whitespace-color-off): Remove post-command-hook
3668 2010-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
3670 * vc/add-log.el (add-log-file-name): Don't get confused by symlinks.
3672 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
3674 * cus-edit.el (custom-group-value-create): Add extra newline
3675 before end line (Bug#6876).
3677 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
3679 * mouse.el (mouse-save-then-kill): Don't save region to kill ring
3680 when extending it. Before killing on the second click, check if
3681 the buffer is the correct one. Doc fix.
3682 (mouse-secondary-save-then-kill): Allow usage without first
3683 calling mouse-start-secondary, by defaulting to point. Don't save
3684 an empty secondary selection. Doc fix.
3686 2010-08-21 Vinicius Jose Latorre <viniciusjl@ig.com.br>
3688 * whitespace.el: Fix slow cursor movement (Bug#6172). Reported by
3689 Christoph Groth <cwg@falma.de> and Liu Xin <x_liu@neusoft.com>.
3691 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
3692 Adjust initialization.
3693 (whitespace-bob-marker, whitespace-eob-marker)
3694 (whitespace-buffer-changed): New vars.
3695 (whitespace-cleanup, whitespace-color-on, whitespace-color-off)
3696 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp)
3697 (whitespace-post-command-hook, whitespace-display-char-on):
3699 (whitespace-looking-back, whitespace-buffer-changed): New funs.
3700 (whitespace-space-regexp, whitespace-tab-regexp): Fun eliminated.
3702 2010-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
3704 * files.el (locate-file-completion-table): Only list the .el and .elc
3705 extensions if there's no other choice (bug#5955).
3707 * facemenu.el (facemenu-self-insert-data): New var.
3708 (facemenu-post-self-insert-function, facemenu-set-self-insert-face):
3710 (facemenu-add-face): Use them.
3712 * simple.el (blink-matching-open): Obey forward-sexp-function.
3714 2010-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
3716 * simple.el (prog-mode-map): New var.
3717 (prog-indent-sexp): New command.
3719 * progmodes/octave-mod.el (octave-mode-menu): Make toggle buttons.
3721 * progmodes/prolog.el (smie): Require.
3723 * emacs-lisp/smie.el (smie-default-backward-token)
3724 (smie-default-forward-token): Strip properties.
3725 (smie-next-sexp): Be more careful with associative operators.
3726 (smie-forward-sexp-command): Generalize.
3727 (smie-backward-sexp-command): Simplify.
3728 (smie-closer-alist): New var.
3729 (smie-close-block): New command.
3730 (smie-indent-debug-log): New var.
3731 (smie-indent-offset-rule): Add a few more cases.
3732 (smie-indent-column): New function.
3733 (smie-indent-after-keyword): Use it.
3734 (smie-indent-keyword): Use it.
3735 Fix up the opener code's point position.
3736 (smie-indent-comment): Only applies at BOL.
3737 (smie-indent-debug): New command.
3739 * emacs-lisp/autoload.el (make-autoload): Preload the macros's
3740 declarations that are useful before running the macro.
3742 2010-08-18 Joakim Verona <joakim@verona.se>
3744 * image.el (imagemagick-types-inhibit): New variable.
3745 (imagemagick-register-types): New function.
3746 * image-mode.el (image-transform-properties): New function.
3747 (image-transform-set-scale, image-transform-fit-to-height)
3748 (image-transform-set-rotation, image-transform-set-resize)
3749 (image-transform-fit-to-width, image-transform-fit-to-height):
3751 (image-toggle-display-image): Support image transforms.
3753 2010-08-18 Katsumi Yamaoka <yamaoka@jpl.org>
3755 * image.el (create-animated-image): Don't add heuristic mask to image
3758 2010-08-18 Jan Djärv <jan.h.d@swipnet.se>
3760 * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard):
3761 Use QCLIPBOARD instead of QPRIMARY (Bug#6677).
3763 2010-08-17 Stefan Monnier <monnier@iro.umontreal.ca>
3765 * emacs-lisp/lisp.el (up-list): Obey forward-sexp-function if set.
3767 Font-lock '...' strings, plus various simplifications and fixes.
3768 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
3769 (octave-font-lock-close-quotes): New function.
3770 (octave-font-lock-syntactic-keywords): New var.
3771 (octave-mode): Use it. Set beginning-of-defun-function.
3772 (octave-mode-map): Don't override the <foo>-defun commands.
3773 (octave-mode-menu): Pass it directly to easy-menu-define;
3774 remove (now generic) <foo>-defun commands; use info-lookup-symbol.
3775 (octave-block-match-alist): Fix up last change so that
3776 octave-close-block uses the more specific keyword.
3777 (info-lookup-mode): Silence byte-compiler.
3778 (octave-beginning-of-defun): Not interactive any more.
3780 (octave-end-of-defun, octave-mark-defun, octave-in-defun-p): Remove.
3781 (octave-indent-defun, octave-send-defun): Use mark-defun instead.
3782 (octave-completion-at-point-function): Make sure point is within
3784 (octave-reindent-then-newline-and-indent):
3785 Use reindent-then-newline-and-indent.
3786 (octave-add-octave-menu): Remove.
3788 2010-08-17 Jan Djärv <jan.h.d@swipnet.se>
3790 * mail/emacsbug.el (report-emacs-bug-insert-to-mailer)
3791 (report-emacs-bug-can-use-xdg-email): New functions.
3792 (report-emacs-bug): Set can-xdg-email to result of
3793 report-emacs-bug-can-use-xdg-email. If can-xdg-email bind
3794 \C-cm to report-emacs-bug-insert-to-mailer and add help text
3797 * net/browse-url.el (browse-url-default-browser): Add cond
3798 for browse-url-xdg-open.
3799 (browse-url-can-use-xdg-open, browse-url-xdg-open): New functions.
3801 2010-08-17 Glenn Morris <rgm@gnu.org>
3803 * progmodes/cc-engine.el (c-new-BEG, c-new-END)
3804 (c-fontify-recorded-types-and-refs): Define for compiler.
3805 * progmodes/cc-mode.el (c-new-BEG, c-new-END): Move definitions
3808 * calendar/icalendar.el (icalendar--convert-recurring-to-diary):
3811 2010-08-17 Michael Albinus <michael.albinus@gmx.de>
3813 * net/tramp.el (tramp-handle-make-symbolic-link): Flush file
3815 (tramp-handle-process-file): Call the program in a subshell, in
3816 order to preserve working directory.
3817 (tramp-action-password): Hide password prompt before next run.
3818 (tramp-process-actions): Widen connection buffer for the trace.
3820 2010-08-16 Deniz Dogan <deniz.a.m.dogan@gmail.com>
3822 * net/rcirc.el (rcirc-log-process-buffers): New option.
3823 (rcirc-print): Use it.
3824 (rcirc-generate-log-filename): New function.
3825 (rcirc-log-filename-function): Change default to
3826 rcirc-generate-log-filename (Bug#6828).
3828 2010-08-16 Chong Yidong <cyd@stupidchicken.com>
3830 * simple.el (deactivate-mark): If select-active-regions is `only',
3831 only set selection for temporarily active regions.
3833 * cus-start.el: Change defcustom for select-active-regions.
3835 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
3837 * mouse.el (mouse--drag-set-mark-and-point): New function.
3838 (mouse-drag-track): Use LOCATION arg to push-mark.
3839 Use mouse--drag-set-mark-and-point to take click-count into
3840 consideration when updating point and mark (Bug#6840).
3842 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
3844 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3845 Give the Ruby rule a lower priority than Gnu (Bug#6778).
3847 2010-08-14 Štěpán Němec <stepnem@gmail.com> (tiny change)
3849 * font-lock.el (lisp-font-lock-keywords-2):
3850 Add combine-after-change-calls, condition-case-no-debug,
3851 with-demoted-errors, and with-silent-modifications (Bug#6025).
3853 2010-08-14 Kevin Ryde <user42@zip.com.au>
3855 * emacs-lisp/copyright.el (copyright-update-year)
3856 (copyright-update): Temporary switch-to-buffer to ensure the
3857 buffer change being queried is visible (Bug#5394).
3859 2010-08-14 Tom Tromey <tromey@redhat.com>
3861 * progmodes/etags.el (tags-file-name): Mark safe if stringp
3864 2010-08-14 Eli Zaretskii <eliz@gnu.org>
3866 * mouse.el (mouse-yank-primary): Fix mouse-2 on MS-Windows and
3869 2010-08-13 Jan Djärv <jan.h.d@swipnet.se>
3871 * menu-bar.el (menu-bar-set-tool-bar-position): New function.
3872 (menu-bar-showhide-tool-bar-menu-customize-enable-left)
3873 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
3874 (menu-bar-showhide-tool-bar-menu-customize-enable-top)
3875 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom):
3876 Call menu-bar-set-tool-bar-position.
3878 2010-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
3880 * progmodes/octave-mod.el (octave-mode-syntax-table): Use the new "c"
3881 comment style (bug#6834).
3882 * progmodes/scheme.el (scheme-mode-syntax-table):
3883 * emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Remove spurious
3884 "b" flag in "' 14b" syntax.
3886 * progmodes/octave-mod.el (octave-mode-map): Remove special bindings
3887 for (un)commenting the region and performing completion.
3888 (octave-mode-menu): Use standard commands for help and completion.
3889 (octave-mode-syntax-table): Support %{..%} comments (sort of).
3890 (octave-mode): Use define-derived-mode.
3891 Set completion-at-point-functions and don't set columns.
3892 Don't disable adaptive-fill-regexp.
3893 (octave-describe-major-mode, octave-comment-region)
3894 (octave-uncomment-region, octave-comment-indent)
3895 (octave-indent-for-comment): Remove.
3896 (octave-indent-calculate): Rename from calculate-octave-indent.
3897 (octave-indent-line, octave-fill-paragraph): Update caller.
3898 (octave-initialize-completions): No need to make an alist.
3899 (octave-completion-at-point-function): New function.
3900 (octave-complete-symbol): Use it.
3901 (octave-insert-defun): Use define-skeleton.
3903 * progmodes/octave-mod.el (octave-mode): Set comment-add.
3904 (octave-mode-map): Use comment-dwim (bug#6829).
3906 2010-08-12 Antoine Levitt <antoine.levitt@gmail.com> (tiny change)
3908 * cus-edit.el (custom-save-variables, custom-save-faces): Fix up
3909 indentation of inserted comment.
3911 2010-08-11 Jan Djärv <jan.h.d@swipnet.se>
3913 * faces.el (region): Add type gtk that uses gtk colors.
3915 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
3916 Handle theme-name change.
3918 2010-08-10 Michael R. Mauger <mmaug@yahoo.com>
3920 * progmodes/sql.el: Version 2.5
3921 (sql-product-alist): Add :prompt-cont-regexp property for several
3923 (sql-prompt-cont-regexp): New variable.
3924 (sql-output-newline-count, sql-output-by-send):
3925 New variables. Record number of newlines in input text.
3926 (sql-send-string): Handle multiple filters and count newlines.
3927 (sql-send-magic-terminator): Count terminator newline.
3928 (sql-interactive-remove-continuation-prompt): Filters output to
3929 remove continuation prompts; one for each newline.
3930 (sql-interactive-mode): Set up new variables, prompt regexp and
3932 (sql-mode-sqlite-font-lock-keywords): Correct some keywords.
3933 (sql-make-alternate-buffer-name): Correct buffer name in edge cases.
3935 2010-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
3937 * emacs-lisp/pcase.el: New file.
3939 2010-08-10 Michael Albinus <michael.albinus@gmx.de>
3941 * net/tramp.el (tramp-vc-registered-read-file-names): Read input
3942 as here-document, otherwise the command could exceed maximum
3943 length of command line.
3944 (tramp-handle-vc-registered): Call script accordingly.
3945 Reported by Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>.
3947 2010-08-10 Kenichi Handa <handa@m17n.org>
3949 * language/hebrew.el: Exclude U+05C3 (Hebrew SOF PASUQ) from the
3952 2010-08-09 Chong Yidong <cyd@stupidchicken.com>
3954 * emacs-lisp/package.el (package-version-split)
3955 (package--version-first-nonzero, package-version-compare):
3957 (package-directory-list, package-load-all-descriptors)
3958 (package--built-in, package-activate, define-package)
3959 (package-installed-p, package-compute-transaction)
3960 (package-read-all-archive-contents)
3961 (package--add-to-archive-contents, package-buffer-info)
3962 (package-tar-file-info, package-list-packages-internal):
3963 Use version-to-list and version-list-*.
3965 * emacs-lisp/package-x.el (package-upload-buffer-internal):
3966 Use version-to-list.
3967 (package-upload-buffer-internal): Use version-list-<=.
3969 2010-08-09 Kenichi Handa <handa@m17n.org>
3971 * language/hebrew.el: Exclude U+05BD (Hebrew MAQAF) from the
3974 2010-08-08 Chong Yidong <cyd@stupidchicken.com>
3976 * tutorial.el (tutorial--default-keys): C-d is now bound to
3977 delete-forward-char (Bug#6826).
3979 * mouse.el (mouse-drag-track): Remove accidentally-removed check
3980 for `double' value of mouse-1-click-follows-link (Bug#6807).
3982 2010-08-08 Johan Bockgård <bojohan@gnu.org>
3984 * replace.el (replace-highlight): Bind isearch-forward and
3985 isearch-error, ensuring that highlighting is updated if the user
3986 switches the search direction (Bug#6808).
3988 * isearch.el (isearch-lazy-highlight-forward): New var.
3989 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
3990 (isearch-lazy-highlight-update): Use it.
3992 2010-08-08 Kenichi Handa <handa@m17n.org>
3994 * international/mule.el (define-charset): Store NAME as :base property.
3995 (ctext-non-standard-encodings-table): Pay attention to charset aliases.
3996 (ctext-pre-write-conversion): Sort ctext-standard-encodings by the
3997 current priority. Force using the designation of the specific
3998 charset by adding `charset' text property. Improve the whole algorithm.
4000 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
4002 * emulation/pc-select.el (pc-selection-mode-hook)
4003 (copy-region-as-kill-nomark, beginning-of-buffer-mark)
4004 (pc-selection-mode): Fix typos in docstrings.
4006 2010-08-08 Kenichi Handa <handa@m17n.org>
4008 * language/cyrillic.el: Don't add "microsoft-cp1251" to
4009 ctext-non-standard-encodings-alist here.
4011 * international/mule.el (ctext-non-standard-encodings-alist):
4012 Add "koi8-r" and "microsoft-cp1251".
4013 (ctext-standard-encodings): New variable.
4014 (ctext-non-standard-encodings-table): List only elements for
4015 non-standard encodings.
4016 (ctext-pre-write-conversion): Adjust for the above change.
4017 Check ctext-standard-encodings.
4019 * international/mule-conf.el (compound-text): Doc fix.
4020 (ctext-no-compositions): Doc fix.
4021 (compound-text-with-extensions): Doc fix.
4023 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
4025 * simple.el (exchange-dot-and-mark): Mark obsolete, finally.
4027 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
4029 * progmodes/which-func.el (which-func-format): Split help-echo text
4030 into lines, like other mode-line tooltips.
4032 * server.el (server-start): When using TCP sockets, force IPv4
4033 and use a literal 127.0.0.1 for localhost. (Related to bug#6781.)
4035 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
4037 * bindings.el (complete-symbol): Run completion-at-point as a fallback.
4039 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
4041 * term.el (term-delimiter-argument-list): Reflow docstring.
4042 (term-read-input-ring, term-write-input-ring, term-send-input)
4043 (term-bol, term-erase-in-display, serial-supported-or-barf):
4044 Fix typos in docstrings.
4046 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
4048 * bindings.el (function-key-map): Add a S-tab => backtab fallback.
4050 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
4052 * dabbrev.el (dabbrev-completion): Fix typo in docstring.
4054 2010-08-08 MON KEY <monkey@sandpframing.com> (tiny change)
4056 * emacs-lisp/syntax.el (syntax-ppss-toplevel-pos):
4057 Fix typo in docstring (bug#6747).
4059 2010-08-08 Leo <sdl.web@gmail.com>
4061 * eshell/esh-io.el (eshell-get-target): Better detection of
4062 read-only file (Bug#6762).
4064 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
4066 * align.el (align-default-spacing): Doc fix.
4067 (align-region-heuristic, align-regexp): Fix typos in docstrings.
4069 2010-08-08 Stephen Peters <speters@itasoftware.com>
4071 * calendar/icalendar.el
4072 (icalendar--split-value): Fix splitting regexp. (Bug#6766)
4073 (icalendar--get-weekday-numbers): New.
4074 (icalendar--convert-recurring-to-diary): Handle multiple byday
4075 values in weekly rules. (Bug#6766)
4077 2010-08-08 Ulf Jasper <ulf.jasper@web.de>
4079 * calendar/icalendar.el (icalendar-uid-format): Doc fix.
4080 (icalendar--create-uid, icalendar-export-region)
4081 (icalendar--parse-summary-and-rest): Code formatting.
4083 2010-08-08 Jay Belanger <jay.p.belanger@gmail.com>
4085 * calc/calc.el (calc-trail-mode,calc-refresh): Use `face' property
4086 to italicize headers.
4087 (calc-highlight-selections-with-faces): New variable.
4088 (calc-selected-face, calc-nonselected-face): New faces.
4090 * calc/calccomp.el (math-comp-highlight-string): Use
4091 `calc-highlight-selections-with-faces' to determine how to highlight
4094 * calc/calc-sel.el (calc-show-selections): Change message to when
4095 using faces to highlight selections.
4097 2010-08-07 Michael R. Mauger <mmaug@yahoo.com>
4099 * progmodes/sql.el (sql-mode-sqlite-font-lock-keywords):
4100 Add SQLite 3 keywords, functions and datatypes.
4101 (sql-interactive-mode): Remove `comint-process-echoes' set to t
4104 2010-08-07 Chong Yidong <cyd@stupidchicken.com>
4106 * simple.el (select-active-regions): Move to keyboard.c.
4107 (deactivate-mark): Used saved-region-selection.
4108 (select-active-region): Function removed.
4109 (activate-mark, set-mark, push-mark-command)
4110 (handle-shift-selection): Don't call it.
4111 (keyboard-quit): Avoid adding the region to the window selection.
4113 * mouse.el (mouse-drag-track): Remove hacks to deal with old
4114 select-active-regions implementation.
4115 (mouse-yank-at-click): Doc fix.
4117 * cus-start.el: Add custom declaration for select-active-regions.
4119 2010-08-07 Eli Zaretskii <eliz@gnu.org>
4121 * simple.el (delete-forward-char): Doc fix.
4123 * tutorial.el (help-with-tutorial): Hack safe file-local variables
4124 after reading the tutorial.
4126 2010-08-06 Alan Mackenzie <bug-cc-mode@gnu.org>
4128 * progmodes/cc-cmds.el (c-mask-paragraph, c-fill-paragraph): Fix
4129 for the case that a C style comment has its delimiters alone on
4130 their respective lines.
4132 2010-08-06 Michael Albinus <michael.albinus@gmx.de>
4134 * net/tramp.el (tramp-handle-start-file-process): Set connection
4136 (tramp-process-sentinel): Use it for flushing the cache. We
4137 cannot do it via the process buffer, the buffer could be deleted
4138 already when running the sentinel.
4140 2010-08-06 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
4142 * comint.el (comint-mode): Make directory tracking functions
4143 functional on remote files. (Bug#6764)
4145 2010-08-06 Dan Nicolaescu <dann@ics.uci.edu>
4147 * vc/diff-mode.el (diff-mode-shared-map): Bind g to revert-buffer.
4149 2010-08-05 Eli Zaretskii <eliz@gnu.org>
4151 * emacs-lisp/find-gc.el (find-gc-source-files): Rename
4152 unexec.c => unexcoff.c.
4154 * emacs-lisp/authors.el (authors-fixed-entries): Rename
4155 unexec.c => unexcoff.c.
4157 2010-08-05 Michael Albinus <michael.albinus@gmx.de>
4159 * net/tramp.el (tramp-handle-dired-uncache): Flush directory
4160 cache, not only file cache.
4161 (tramp-process-sentinel): New defun.
4162 (tramp-handle-start-file-process): Use it, in order to invalidate
4165 2010-08-03 Leo <sdl.web@gmail.com>
4167 * server.el (server-start): Simplify loop.
4169 2010-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
4171 * frame.el (screen-height, screen-width, set-screen-width)
4172 (set-screen-height): Remove ancient compatibility aliases.
4174 * textmodes/fill.el (justify-current-line): Don't add 1 to nspaces
4175 when justifying. It seems useless and harmful for ncols=1 (bug#6738).
4177 * emacs-lisp/timer.el (timer-event-handler): Protect against timers
4178 that change current buffer.
4180 2010-08-01 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
4182 * mouse.el (mouse-fixup-help-message): Match "mouse-2" only at the
4183 beginning of the string. Use `string-match-p'. (Bug#6765)
4185 2010-08-01 Jan Djärv <jan.h.d@swipnet.se>
4187 * cus-start.el (x-gtk-use-system-tooltips): New variable.
4189 2010-08-01 Chong Yidong <cyd@stupidchicken.com>
4191 * emacs-lisp/package.el (package--list-packages): Fix column alignment.
4192 (package--builtins): Tweak descriptions.
4193 (package-print-package): Upcase descriptions if necessary.
4194 Show all built-in packages in font-lock-builtin-face.
4195 (package-list-packages-internal): Omit "emacs" package.
4196 Show status of built-in packages as "built-in".
4198 2010-07-31 Chong Yidong <cyd@stupidchicken.com>
4200 * mouse.el (mouse-save-then-kill): Doc fix. Deactivate mark
4201 before killing to preserve the primary selection (Bug#6701).
4203 * term/x-win.el (x-select-text): Doc fix.
4205 2010-07-31 Nathaniel Flath <flat0103@gmail.com>
4207 Enhance Java Mode to handle Java 5.0 (Tiger) and Java 6 (Mustang).
4208 The following functions were modified or created:
4210 * progmodes/cc-vars.el (c-offsets-alist, c-inside-block-syms)
4211 (objc-font-lock-extra-types):
4212 * progmodes/cc-mode.el (c-basic-common-init):
4213 * progmodes/cc-langs.el (c-make-mode-syntax-table)
4214 (c++-make-template-syntax-table)
4215 (c-identifier-syntax-modifications, c-symbol-start, c-operators)
4216 (c-<-op-cont-regexp, c->-op-cont-regexp, c-class-decl-kwds)
4217 (c-brace-list-decl-kwds, c-modifier-kwds, c-prefix-spec-kwds-re)
4218 (c-type-list-kwds, c-decl-prefix-re, c-opt-type-suffix-key):
4219 * progmodes/cc-fonts.el (c-make-inverse-face)
4220 (c-basic-matchers-after):
4221 * progmodes/cc-engine.el (c-forward-keyword-clause)
4222 (c-forward-<>-arglist, c-forward-<>-arglist-recur)
4223 (c-forward-name, c-forward-type, c-forward-decl-or-cast-1)
4224 (c-guess-continued-construct, c-guess-basic-syntax):
4226 2010-07-31 Jan Djärv <jan.h.d@swipnet.se>
4228 * faces.el (face-all-attributes): Improve documentation (Bug#6767).
4230 2010-07-31 Eli Zaretskii <eliz@gnu.org>
4232 * files.el (bidi-paragraph-direction): Define safe local values.
4234 * language/hebrew.el ("Hebrew"): Add TUTORIAL.he to
4235 language-info-alist. Remove outdated FIXME in a comment.
4237 2010-07-31 Alan Mackenzie <acm@muc.de>
4239 * progmodes/cc-cmds.el (c-mask-paragraph): Fix bug #6688:
4240 Auto-fill broken in C/C++ modes.
4242 2010-07-29 Jan Djärv <jan.h.d@swipnet.se>
4244 * menu-bar.el (menu-bar-showhide-tool-bar-menu-customize-enable-left)
4245 (menu-bar-showhide-tool-bar-menu-customize-disable)
4246 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
4247 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom)
4248 (menu-bar-showhide-tool-bar-menu-customize-enable-top): New functions
4249 (menu-bar-showhide-tool-bar-menu): If tool bar is moveable,
4250 make a menu for Options => toolbar that can move it.
4252 2010-07-29 Chong Yidong <cyd@stupidchicken.com>
4254 * emacs-lisp/package-x.el (package--make-rss-entry):
4255 (package-maint-add-news-item, package--update-news)
4256 (package-upload-buffer-internal): New arg ARCHIVE-URL.
4258 * emacs-lisp/package.el (package-archive-url): Rename from
4260 (package-install): Doc fix.
4261 (package-download-single, package-download-tar, package-install)
4262 (package-menu-view-commentary): Callers changed.
4264 2010-07-29 Michael Albinus <michael.albinus@gmx.de>
4266 * net/tramp.el (tramp-handle-start-file-process): Check only for
4267 `remote-tty' process property.
4268 (tramp-open-shell): Don't check for tty.
4269 (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
4272 * progmodes/gdb-mi.el (gdb-init-1): Check also for tty on a remote
4275 2010-07-28 Chong Yidong <cyd@stupidchicken.com>
4277 * emacs-lisp/package.el (package-load-list, package-archives)
4278 (package-archive-contents, package-user-dir)
4279 (package-directory-list, package--builtins, package-alist)
4280 (package-activated-list, package-obsolete-alist): Mark as risky.
4282 2010-07-28 Phil Hagelberg <phil@evri.com>
4284 Add support for non-default package repositories.
4285 * emacs-lisp/package.el (package-archive-base): Var deleted.
4286 (package-archives): New variable.
4287 (package-archive-contents): Doc fix.
4288 (package-load-descriptor): Do nothing if descriptor file is missing.
4289 (package--write-file-no-coding): New function.
4290 (package-unpack-single): Use it.
4291 (package-archive-id): New function.
4292 (package-download-single, package-download-tar)
4293 (package-menu-view-commentary): Use it.
4294 (package-installed-p): Make second argument optional.
4295 (package-read-all-archive-contents): New function.
4296 (package-initialize): Use it.
4297 (package-read-archive-contents): Add ARCHIVE argument.
4298 (package--add-to-archive-contents): New function.
4299 (package-install): Don't call package-read-archive-contents.
4300 (package--download-one-archive): Store archive file in a
4301 subdirectory of package-user-dir.
4302 (package-menu-execute): Remove spurious line movement.
4304 2010-07-28 Jan Djärv <jan.h.d@swipnet.se>
4306 * cus-start.el (tool-bar-style): Add text-image-horiz.
4308 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
4310 * progmodes/gud.el (gud-common-init): Check for remoteness of
4311 `file', and not of `default-directory'.
4313 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
4315 * net/tramp.el (tramp-methods): Move hostname to the end in all
4316 ssh `tramp-login-args'.
4317 (tramp-verbose): Describe verbose level 9.
4318 (tramp-open-shell): Check for tty if `tramp-verbose' >= 9.
4319 (tramp-open-connection-setup-interactive-shell): Trace stty
4320 settings if `tramp-verbose' >= 9.
4321 (tramp-handle-start-file-process): Implement tty setting.
4322 (Bug#4604, Bug#6360)
4324 * net/tramp-cmds.el (tramp-bug): Recommend setting of
4325 `tramp-verbose' to 9.
4327 2010-07-27 Aaron S. Hawley <ashawley@burlingtontelecom.net>
4329 * emacs-lisp/re-builder.el (reb-re-syntax, reb-lisp-mode)
4330 (reb-lisp-syntax-p, reb-change-syntax, reb-cook-regexp):
4331 Remove references to package `lisp-re' (bug#4369).
4333 2010-07-27 Tom Tromey <tromey@redhat.com>
4335 * progmodes/js.el (js-mode):
4336 * progmodes/make-mode.el (makefile-mode):
4337 * progmodes/simula.el (simula-mode):
4338 * progmodes/tcl.el (tcl-mode): Derive from prog-mode.
4340 2010-07-27 Juanma Barranquero <lekktu@gmail.com>
4342 * help-fns.el (find-lisp-object-file-name): Doc fix (bug#6494).
4344 * time.el (display-time-day-and-date): Remove spurious * in docstring.
4345 (display-time-world-buffer-name, display-time-world-mode-map):
4346 Fix typos in docstrings.
4348 2010-07-27 Shyam Karanatt <shyam@swathanthran.in> (tiny change)
4350 * image-mode.el (image-display-size): New function.
4351 (image-forward-hscroll, image-next-line, image-eol, image-eob)
4352 (image-mode-fit-frame): Use it (Bug#6639).
4354 2010-07-27 Chong Yidong <cyd@stupidchicken.com>
4356 * dired.el (dired-buffers-for-dir): Handle list values of
4357 dired-directory (Bug#6636).
4359 2010-07-26 Sam Steingold <sds@gnu.org>
4361 * mouse.el (mouse-yank-primary, mouse-yank-secondary):
4362 Do not call `x-get-selection' the second time, reuse the value.
4364 2010-07-26 Daiki Ueno <ueno@unixuser.org>
4366 * epa-mail.el (epa-mail-mode-map): Add alternative key bindings
4367 which consist of control chars only. Suggested by Richard Stallman.
4369 2010-07-25 Daiki Ueno <ueno@unixuser.org>
4371 * epa-file.el (epa-file-insert-file-contents): Check if LOCAL-FILE
4372 exists before passing an error to find-file-not-found-functions
4375 2010-07-23 Lukas Huonker <l.huonker@gmail.com>
4377 * play/tetris.el (tetris-tty-colors, tetris-x-colors, tetris-blank):
4378 Remove leading nil element, adjust values.
4379 (tetris-shapes, tetris-shape-scores):
4380 Change representation of shapes and remove some redundancy.
4381 (tetris-get-shape-cell, tetris-shape-width, tetris-draw-next-shape)
4382 (tetris-draw-shape, tetris-erase-shape, tetris-test-shape):
4383 Adjust for working with new representation of shapes.
4384 (tetris-shape-rotations): New function.
4385 (tetris-move-bottom, tetris-move-left, tetris-move-right)
4386 (tetris-rotate-prev, tetris-rotate-next):
4387 Adjust for working with the new version of tetris-test-shape.
4389 2010-07-23 Markus Triska <markus.triska@gmx.at>
4391 * progmodes/ps-mode.el: Use comint (bug#5954).
4392 (ps-run-mode-map): Adapt for comint-mode; omit "\r", [return]..
4393 (ps-mode-other-newline): Simplify.
4394 (ps-run-mode): Derive from comint-mode instead of
4395 fundamental-mode, yielding input history etc.
4396 (ps-run-start, ps-run-quit, ps-run-clear, ps-run-region)
4397 (ps-run-send-string): Adapt for comint-mode.
4398 (ps-run-newline): Remove now unneeded function.
4400 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
4402 * net/tramp.el (tramp-methods): Move hostname to the end in all
4403 plink `tramp-login-args'.
4405 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
4407 * net/tramp.el (tramp-open-shell): New defun.
4408 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
4411 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
4413 * net/tramp.el (tramp-file-name-regexp-unified)
4414 (tramp-completion-file-name-regexp-unified): On W32 systems, do
4415 not regard the volume letter as remote filename. (Bug#5447)
4417 2010-07-23 Juanma Barranquero <lekktu@gmail.com>
4419 * custom.el (custom-declare-variable): Give a clearer error message
4420 when the docstring is missing (bug#6476).
4422 2010-07-22 Michael R. Mauger <mmaug@yahoo.com>
4424 * progmodes/sql.el: Version 2.4. Improved Login prompting.
4425 (sql-login-params): New widget definition.
4426 (sql-oracle-login-params, sql-mysql-login-params)
4427 (sql-solid-login-params, sql-sybase-login-params)
4428 (sql-informix-login-params, sql-ingres-login-params)
4429 (sql-ms-login-params, sql-postgres-login-params)
4430 (sql-interbase-login-params, sql-db2-login-params)
4431 (sql-linter-login-params): Use it.
4432 (sql-sqlite-login-params): Use it; Define "database" parameter as
4434 (sql-sqlite-program): Change to "sqlite3".
4435 (sql-comint-sqlite): Make sure database name is complete.
4436 (sql-for-each-login): New function.
4437 (sql-connect, sql-save-connection): Use it.
4438 (sql-get-login-ext): New function.
4439 (sql-get-login): Use it.
4440 (sql-make-alternate-buffer-name): Handle :file parameters.
4442 2010-07-22 Juanma Barranquero <lekktu@gmail.com>
4444 * dired.el (dired-no-confirm): Document value t and fix defcustom to
4445 accept it (bug#6597). Suggested by Drew Adams <drew.adams@oracle.com>.
4447 2010-07-22 Teemu Likonen <tlikonen@iki.fi> (tiny change)
4449 * dired.el (dired-mode-map): Use command remapping (bug#6632).
4451 2010-07-22 Lawrence Mitchell <wence@gmx.li>
4453 * term/vt100.el (vt100-wide-mode): Fix :init-value keyword (bug#6620).
4455 2010-07-21 Michael Albinus <michael.albinus@gmx.de>
4457 * net/tramp.el (tramp-get-ls-command)
4458 (tramp-get-ls-command-with-dired): Run tests on "/dev/null"
4461 2010-07-20 Michael R. Mauger <mmaug@yahoo.com>
4463 * progmodes/sql.el: Version 2.3.
4464 (sql-connection-alist): Changed keys from symbols to strings;
4465 enhanced the widget definition.
4466 (sql-mode-menu): Added submenu to select connections.
4467 (sql-interactive-mode-menu): Added "Save Connection" item.
4468 (sql-add-product): Fixed menu item.
4469 (sql-get-product-feature): Improved error handling.
4470 (sql--alt-buffer-part, sql--alt-if-not-empty): Removed.
4471 (sql-make-alternate-buffer-name): Simplified.
4472 (sql-product-interactive): Handle missing product.
4473 (sql-connect): Support string keys, minor improvements.
4474 (sql-save-connection): New function.
4475 (sql-connection-menu-filter): New function.
4477 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
4479 * net/tramp.el (tramp-file-name-handler): Trace 'quit.
4480 (tramp-open-connection-setup-interactive-shell): Apply
4481 workaround for IRIX64 bug. Move argument of last
4482 `tramp-send-command' where it belongs to.
4484 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
4486 * net/tramp.el (tramp-perl-file-attributes)
4487 (tramp-perl-directory-files-and-attributes): Don't pass "$3".
4488 (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
4489 front of `login-args'.
4491 2010-07-19 Juanma Barranquero <lekktu@gmail.com>
4493 * time.el (display-time-world-mode): Define with `define-derived-mode'.
4494 Set `show-trailing-whitespace' to nil.
4495 (display-time-world-display): Simplify.
4497 2010-07-18 Alan Mackenzie <acm@muc.de>
4499 Enhance `c-file-style' in file/directory local variables.
4500 * progmodes/cc-mode.el (c-count-cfss): New function.
4501 (c-before-hack-hook): Call `c-set-style' differently according to
4502 whether c-file-style was set in file or directory local
4505 2010-07-18 Michael R. Mauger <mmaug@yahoo.com>
4507 * progmodes/sql.el: Version 2.2.
4508 (sql-product, sql-user, sql-database, sql-server, sql-port): Use
4509 defcustom :safe keyword rather than putting safe-local-variable
4511 (sql-password): Use defcustom :risky keyword rather than putting
4512 risky-local-variable property.
4513 (sql-oracle-login-params, sql-sqlite-login-params)
4514 (sql-solid-login-params, sql-sybase-login-params)
4515 (sql-informix-login-params, sql-ingres-login-params)
4516 (sql-ms-login-params, sql-postgres-login-params)
4517 (sql-interbase-login-params, sql-db2-login-params)
4518 (sql-linter-login-params): Add `port' option.
4519 (sql-get-product-feature): Added NO-INDIRECT parameter.
4520 (sql-comint-oracle, sql-comint-sybase)
4521 (sql-comint-informix, sql-comint-sqlite, sql-comint-mysql)
4522 (sql-comint-solid, sql-comint-ingres, sql-comint-ms)
4523 (sql-comint-postgres, sql-comint-interbase, sql-comint-db2)
4524 (sql-comint-linter): Renamed sql-connect-* functions to
4526 (sql-product-alist, sql-mode-menu): Renamed as above and
4527 :sqli-connect-func to :sqli-comint-func.
4528 (sql-connection): New variable.
4529 (sql-interactive-mode): Set it.
4530 (sql-connection-alist): New variable.
4531 (sql-connect): New function.
4532 (sql--alt-buffer-part, sql--alt-if-not-empty)
4533 (sql-make-alternate-buffer-name): Improved alternative buffer name.
4535 2010-07-17 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4537 * image-mode.el (image-bookmark-make-record): Do not set context
4538 in an image (Bug#6650).
4540 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
4542 * simple.el (select-active-region): New function.
4543 (push-mark-command, set-mark, activate-mark)
4544 (handle-shift-selection): Use it.
4545 (deactivate-mark): Don't check for size of region.
4547 * mouse.el (mouse-drag-track): Use select-active-region.
4549 2010-07-17 Michael Albinus <michael.albinus@gmx.de>
4551 * net/tramp.el (tramp-get-ls-command-with-dired): Make test for
4554 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
4556 * term/x-win.el (x-select-enable-primary): Change default to nil.
4557 (x-select-enable-clipboard): Add :version keyword.
4559 * mouse.el (mouse-drag-copy-region):
4560 * simple.el (select-active-regions): Likewise.
4562 2010-07-16 Reiner Steib <Reiner.Steib@gmx.de>
4564 * vc/vc.el (vc-coding-system-inherit-eol): New defvar.
4565 (vc-coding-system-for-diff): Use it to decide whether to inherit
4566 from the file the EOL format for reading the diffs of that file.
4569 2010-07-16 Eli Zaretskii <eliz@gnu.org>
4571 * mail/rmailmm.el (rmail-mime-save): Make the temp buffer
4572 unibyte, so compressed attachments are not compressed again.
4574 2010-07-16 Michael Albinus <michael.albinus@gmx.de>
4576 * net/tramp.el (tramp-handle-shell-command): Don't use hard-wired
4577 "/bin/sh" but `tramp-remote-sh' from `tramp-methods'.
4578 (tramp-find-shell): Simplify setting connection property.
4579 (tramp-get-ls-command): Make test for "--color=never" stronger.
4581 2010-07-15 Simon South <ssouth@member.fsf.org>
4583 * progmodes/delphi.el (delphi-previous-indent-of): Indent case
4584 blocks within record declarations (i.e. variant parts) correctly.
4586 2010-07-15 Simon South <ssouth@member.fsf.org>
4588 * progmodes/delphi.el (delphi-token-at): Give newlines precedence
4589 over literal tokens when parsing so newlines aren't "absorbed" by
4590 single-line comments. Corrects the indentation of case blocks
4591 that have a comment on the first line.
4593 2010-07-14 Karl Fogel <kfogel@red-bean.com>
4595 * bookmark.el (bookmark-load-hook): Fix doc string as suggested
4596 by Drew Adams (Bug#5504).
4598 2010-07-14 Jan Djärv <jan.h.d@swipnet.se>
4600 * xt-mouse.el (xterm-mouse-event-read): Fix for characters > 127
4601 now that Unicode is used (Bug#6594).
4603 2010-07-14 Chong Yidong <cyd@stupidchicken.com>
4605 * term/x-win.el (x-select-enable-clipboard): Default to t.
4606 (x-initialize-window-system): Don't overwrite Paste menu item.
4608 * simple.el (select-active-regions): Default to t.
4609 (push-mark-command): Don't overwrite primary with empty string.
4611 * mouse.el: Bind mouse-2 to mouse-yank-primary.
4612 (mouse-drag-copy-region): Default to nil.
4614 * menu-bar.el (menu-bar-enable-clipboard): Don't overwrite
4615 Cut/Copy/Paste menu bar items.
4617 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4619 Allow C-w when setting a bookmark in a Gnus Article buffer (Bug#5975).
4620 Patch applied by Karl Fogel.
4622 * bookmark.el (bookmark-set): Don't set `bookmark-yank-point'
4623 and `bookmark-current-buffer' if they have been already set in
4624 another buffer (e.g gnus-art).
4626 2010-07-13 Karl Fogel <kfogel@red-bean.com>
4627 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4629 Preparation for setting bookmarks in Gnus article buffers (Bug#5975).
4631 * bookmark.el (bookmark-make-record-default): Allow unneeded
4632 information to be omitted from the record.
4634 Adjust declarations and calls:
4636 * info.el (bookmark-make-record-default): Adjust declaration.
4637 (Info-bookmark-make-record): Adjust call.
4639 * woman.el (bookmark-make-record-default): Adjust declaration.
4640 (woman-bookmark-make-record): Adjust call.
4642 * man.el (bookmark-make-record-default): Adjust declaration.
4643 (Man-bookmark-make-record): Adjust call.
4645 * image-mode.el (bookmark-make-record-default): Adjust declaration.
4647 * doc-view.el (bookmark-make-record-default): Adjust declaration.
4649 2010-07-13 Karl Fogel <kfogel@red-bean.com>
4651 * bookmark.el (bookmark-show-annotation): Use `when' instead of `if'.
4652 This is also from Thierry Volpiatto's patch in bug #6444. However,
4653 because it was extraneous to the functional change in that patch,
4654 and causes a re-indendation, I am committing it separately.
4656 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4658 * bookmark.el (bookmark-show-annotation): Ensure annotations show,
4659 e.g. in Info bookmarks, by using `switch-to-buffer-other-window'.
4660 Patch applied by Karl Fogel (Bug#6444).
4662 2010-07-13 Chong Yidong <cyd@stupidchicken.com>
4664 * frame.el (make-frame): Fix typo in 2010-06-30 change (Bug#6625).
4666 2010-07-13 Adrian Robert <Adrian.B.Robert@gmail.com>
4668 * term/ns-win.el: Bind M-~ to 'ns-prev-frame (due to Matthew
4669 Dempsky; bug#5084). Remove incorrect binding for S-tab.
4670 (ns-alternatives-map): Change S-tab binding to backtab
4673 * simple.el (normal-erase-is-backspace-setup-frame): Set mode on
4676 2010-07-12 Andreas Schwab <schwab@linux-m68k.org>
4678 * language/tai-viet.el ("TaiViet"): Try to fix re-encoding bugs.
4681 * language/tv-util.el (tai-viet-re): Remove format.
4683 2010-07-12 Kenichi Handa <handa@m17n.org>
4685 * language/hebrew.el: Remove no-byte-compile declaration.
4686 Change coding: tag to utf-8. Register hebrew-shape-gstring in
4687 composition-function-table for 3-character looking back.
4688 (hebrew-font-get-precomposed): New function.
4689 (hebrew-shape-gstring): Utilize precomposed glyphs if available.
4691 2010-07-11 Chong Yidong <cyd@stupidchicken.com>
4693 * mouse.el (mouse-drag-track): Handle select-active-regions
4696 2010-07-11 Magnus Henoch <magnus.henoch@gmail.com>
4698 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
4699 empty argument to gvfs-copy.
4701 2010-07-10 Glenn Morris <rgm@gnu.org>
4703 * calendar/calendar.el (calendar-week-end-day): New function.
4704 * calendar/cal-tex.el (cal-tex-cursor-month): Remove unused vars.
4705 Respect calendar-week-start-day. (Bug#6606)
4706 (cal-tex-insert-day-names, cal-tex-insert-blank-days)
4707 (cal-tex-insert-blank-days-at-end): Respect calendar-week-start-day.
4708 (cal-tex-first-blank-p, cal-tex-last-blank-p): Simplify, and
4709 respect calendar-week-start-day.
4711 2010-07-10 Chong Yidong <cyd@stupidchicken.com>
4713 * simple.el (use-region-p): Doc fix (Bug#6607).
4715 2010-07-10 Aleksei Gusev <aleksei.gusev@gmail.com> (tiny change)
4717 * progmodes/compile.el (compilation-error-regexp-alist-alist): Add
4718 regexps for cucumber and ruby.
4720 2010-07-08 Daiki Ueno <ueno@unixuser.org>
4722 * epa-file.el (epa-file-error, epa-file--find-file-not-found-function)
4723 (epa-file-insert-file-contents): Hack to prevent
4724 find-file from opening empty buffer when decryption failed
4727 2010-07-07 Agustín Martín <agustin.martin@hispalinux.es>
4729 * textmodes/ispell.el (ispell-alternate-dictionary):
4730 Use file-readable-p.
4731 Return nil if no word-list is found at default locations.
4732 (ispell-complete-word-dict): Default to nil.
4733 (ispell-command-loop): Use 'word-list' when using lookup-words.
4734 (lookup-words): Use ispell-complete-word-dict or
4735 ispell-alternate-dictionary. Check for word-list availability
4736 and handle errors if needed with better messages (Bug#6539).
4737 (ispell-complete-word): Use ispell-complete-word-dict or
4738 ispell-alternate-dictionary.
4740 2010-07-07 Christoph Scholtes <cschol2112@gmail.com>
4742 * progmodes/python.el (python-font-lock-keywords): Add Python 2.7
4743 builtins (BufferError, BytesWarning, WindowsError; callables
4744 bin, bytearray, bytes, format, memoryview, next, print; __package__).
4746 2010-07-07 Glenn Morris <rgm@gnu.org>
4748 * play/zone.el (top-level): Do not require timer, tabify, or cl.
4749 (zone-shift-left): Ignore intangibility, and any errors from
4751 (zone-shift-right): Remove no-op end-of-line. Ignore intangibility.
4752 (zone-pgm-putz-with-case): Use upcase-region rather than inserting,
4753 deleting, and copying text properties.
4754 (zone-line-specs, zone-pgm-stress): Check forward-line exit status.
4755 (zone-pgm-rotate): Handle odd buffers like that of gomoku, where getting
4756 to point-max is hard.
4757 (zone-fret, zone-fill-out-screen): Replace cl's do with dotimes.
4758 (zone-fill-out-screen): Ignore intangibility.
4760 2010-07-05 Chong Yidong <cyd@stupidchicken.com>
4762 * menu-bar.el (menu-bar-mode):
4763 * tool-bar.el (tool-bar-mode): Replace default-frame-alist element
4766 * mouse.el (mouse-drag-track): Call mouse-start-end to handle
4767 word/line selection (Bug#6565).
4769 2010-07-04 Juanma Barranquero <lekktu@gmail.com>
4771 * net/dbus.el (dbus-send-signal): Declare function.
4773 2010-07-04 Michael Albinus <michael.albinus@gmx.de>
4775 * net/dbus.el: Implement signal "PropertiesChanged" (from D-Bus 1.3.1).
4776 (dbus-register-property): New optional argument EMITS-SIGNAL.
4777 (dbus-property-handler): Send signal "PropertiesChanged" if requested.
4779 2010-07-03 Chong Yidong <cyd@stupidchicken.com>
4781 * mouse.el (mouse-drag-overlay): Variable deleted.
4782 (mouse-move-drag-overlay, mouse-show-mark): Functions deleted.
4783 (mouse--remap-link-click-p): New function.
4784 (mouse-drag-track): Handle dragging by using temporary Transient
4785 Mark mode, instead of a special overlay.
4786 (mouse-kill-ring-save, mouse-save-then-kill): Don't call
4789 * mouse-sel.el (mouse-sel-selection-alist): mouse-drag-overlay
4792 2010-07-02 Juri Linkov <juri@jurta.org>
4794 * autoinsert.el (auto-insert-alist): Fix readability
4795 by using dotted pair notation for lambda.
4797 2010-07-02 Juri Linkov <juri@jurta.org>
4799 * faces.el (read-face-name): Rename arg `string-describing-default'
4800 to `default'. Doc fix. Display the default value in quotes
4801 in the prompt. With empty input, return the `default' arg,
4802 unless the default value is a string (in which case return nil).
4803 (describe-face): Replace the string `default' arg of `read-face-name'
4804 with the symbol `default'.
4806 2010-07-02 Chong Yidong <cyd@stupidchicken.com>
4808 * emulation/viper-cmd.el (viper-delete-backward-char)
4809 (viper-del-backward-char-in-insert)
4810 (viper-del-backward-char-in-replace, viper-change)
4811 (viper-backward-indent): Replace delete-backward-char with
4812 delete-char (Bug#6552).
4814 2010-07-01 Chong Yidong <cyd@stupidchicken.com>
4816 * ruler-mode.el (ruler--save-header-line-format): Fix typos.
4818 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
4820 * frame.el (make-frame): Add default-frame-alist to the PARAMETERS
4821 argument passed to frame-creation-function (Bug#5378).
4823 * faces.el (x-handle-named-frame-geometry)
4824 (x-handle-reverse-video, x-create-frame-with-faces)
4825 (face-set-after-frame-default, tty-create-frame-with-faces): Don't
4826 separately consult default-frame-alist. It is now passed as the
4829 2010-06-30 Andreas Schwab <schwab@linux-m68k.org>
4831 * startup.el (command-line): Don't call tool-bar-setup in a
4834 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
4836 * ruler-mode.el (ruler--save-header-line-format): New fun.
4837 (ruler-mode): Use it as a setter function, so as not to overwrite
4838 ruler-mode-header-line-format-old if Ruler mode is on (Bug#5370).
4840 2010-06-29 Chong Yidong <cyd@stupidchicken.com>
4842 * vc/vc.el (vc-deduce-backend): New fun. Handle diff buffers.
4843 (vc-root-diff, vc-print-root-log, vc-log-incoming)
4844 (vc-log-outgoing): Use it.
4845 (vc-diff-internal): Set diff-vc-backend.
4847 * vc/diff-mode.el (diff-vc-backend): New var.
4849 2010-06-28 Jan Djärv <jan.h.d@swipnet.se>
4851 * dynamic-setting.el (font-setting-change-default-font): Remove
4854 2010-06-28 Kenichi Handa <handa@m17n.org>
4856 * international/quail.el (quail-insert-kbd-layout): Fix the
4857 showing of untranslated characters.
4859 2010-06-28 Chong Yidong <cyd@stupidchicken.com>
4861 * simple.el (delete-active-region): New option.
4862 (delete-backward-char): Implement in Lisp.
4863 (delete-forward-char): New command.
4865 * mouse.el (mouse-region-delete-keys): Deleted.
4866 (mouse-show-mark): Simplify.
4868 * bindings.el (global-map): Bind delete and DEL, the former to
4869 delete-forward-char.
4871 2010-06-27 Lennart Borgman <lennart.borgman@gmail.com>
4873 * progmodes/ruby-mode.el (ruby-mode-map): Don't bind TAB.
4874 (ruby-mode): Bind indent-line-function (Bug#5119).
4876 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
4878 * startup.el (command-line): Recognize "0" X resource value.
4880 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
4882 * startup.el (command-line): Use X resources to set the value of
4883 menu-bar-mode and tool-bar-mode, before calling frame-initialize.
4885 * menu-bar.el (menu-bar-mode):
4886 * tool-bar.el (tool-bar-mode): Don't change default-frame-alist.
4887 Set init-value to t.
4889 * frame.el (frame-notice-user-settings): Don't change
4890 default-frame-alist based on menu-bar-mode and tool-bar-mode, or
4891 vice versa (Bug#2249).
4893 2010-06-26 Eli Zaretskii <eliz@gnu.org>
4895 * w32-fns.el (w32-convert-standard-filename): Doc fix.
4897 2010-06-25 Agustín Martín <agustin.martin@hispalinux.es>
4899 * textmodes/flyspell.el (flyspell-check-previous-highlighted-word):
4900 Make sure `flyspell-word' re-checks word after function run (Bug#6504).
4902 * textmodes/ispell.el (ispell-init-process): Make sure ispell and
4903 default directories are expanded (Bug#6143).
4905 2010-06-24 Juri Linkov <juri@jurta.org>
4907 * minibuffer.el (completions-format): Change default from nil to
4908 `horizontal'. Remove `nil' value from :type. Doc fix. (Bug#6459)
4910 2010-06-24 Juri Linkov <juri@jurta.org>
4912 * vc/vc.el (vc-diff-internal): Set `revert-buffer-function'
4913 buffer-locally to lambda that re-runs the vc diff command.
4916 2010-06-24 Chong Yidong <cyd@stupidchicken.com>
4918 * kmacro.el (kmacro-call-macro): Don't issue hint message if the
4919 echo area is in use (Bug#3412).
4921 2010-06-22 Glenn Morris <rgm@gnu.org>
4923 * textmodes/texinfmt.el (texinfo-format-region)
4924 (texinfo-raise-lower-sections, texinfo-format-separate-node)
4925 (texinfo-itemize-item, texinfo-multitable-item, texinfo-alias)
4926 (texinfo-format-option, texinfo-noindent):
4927 Use line-beginning-position and line-end-position.
4929 * calc/calc-aent.el, calc/calc-ext.el, calc/calc-lang.el:
4930 * calc/calc-store.el, calc/calc-units.el, calc/calc.el:
4931 * calc/calccomp.el: Add explicit utf-8 coding cookies to files with
4934 2010-06-21 Karl Fogel <kfogel@red-bean.com>
4936 * play/zone.el (zone-fall-through-ws): Fix next-line ->
4937 forward-line fallout.
4939 2010-07-06 Chong Yidong <cyd@stupidchicken.com>
4941 * mouse.el (mouse-appearance-menu): Add docstring.
4943 * help.el (describe-key): Print up-event using key-description.
4945 2010-07-03 Michael Albinus <michael.albinus@gmx.de>
4947 * net/zeroconf.el (zeroconf-resolve-service)
4948 (zeroconf-service-resolver-handler): Use `dbus-byte-array-to-string'.
4949 (zeroconf-publish-service): Use `dbus-string-to-byte-array'.
4951 2010-07-03 Jan Moringen <jan.moringen@uni-bielefeld.de>
4953 * net/zeroconf.el (zeroconf-service-remove-hook): New defun.
4955 2010-06-30 Dan Nicolaescu <dann@ics.uci.edu>
4957 Avoid displaying files with a nil state in vc-dir.
4958 * vc/vc-dir.el (vc-dir-update): Obey the noinsert argument in all
4959 cases that cause insertion.
4960 (vc-dir-resynch-file): Tell vc-dir-update to avoid inserting files
4963 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
4965 * xml.el (xml-parse-region): Avoid infloop (Bug#5281).
4967 2010-06-29 Leo <sdl.web@gmail.com>
4969 * emacs-lisp/rx.el (rx): Doc fix. (Bug#6537)
4971 2010-06-27 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
4973 * generic-x.el (bat-generic-mode): Fix regexp for command line
4974 switches (Bug#5719).
4976 2010-06-27 Masatake YAMATO <yamato@redhat.com>
4978 * htmlfontify.el (hfy-face-attr-for-class): Use append instead
4979 of nconc to avoid pure storage error (Bug#6239).
4981 2010-06-27 Christoph <cschol2112@googlemail.com> (tiny change)
4983 * bookmark.el (bookmark-bmenu-2-window, bookmark-bmenu-other-window)
4984 (bookmark-bmenu-other-window-with-mouse): Remove unnecessary
4985 bindings of bookmark-automatically-show-annotations (Bug#6515).
4987 2010-06-25 Eli Zaretskii <eliz@gnu.org>
4989 * arc-mode.el (archive-zip-extract): Don't quote the file name on
4990 MS-Windows and MS-DOS. (Bug#6467, Bug#6144)
4992 2010-06-24 Štěpán Němec <stepnem@gmail.com> (tiny change)
4994 * comint.el (make-comint, make-comint-in-buffer): Mention return
4995 value in the docstrings. (Bug#6498)
4997 2010-06-24 Yoni Rabkin <yoni@rabkins.net>
4999 * bs.el (bs-mode-font-lock-keywords): Remove "by" from Dired pattern,
5000 since it is not present when using some non-default switches.
5002 2010-06-23 Karl Fogel <kfogel@red-bean.com>
5004 * simple.el (compose-mail): Fix doc string to refer to
5005 `compose-mail-user-agent-warnings', instead of to the
5006 nonexistent `compose-mail-check-user-agent'.
5008 2010-06-21 Alan Mackenzie <bug-cc-mode@gnu.org>
5010 Fix an indentation bug:
5012 * progmodes/cc-mode.el (c-common-init): Initialise c-new-BEG/END.
5013 (c-neutralize-syntax-in-and-mark-CPP): c-new-BEG/END: Take account
5016 * progmodes/cc-engine.el (c-clear-<-pair-props-if-match-after)
5017 (c-clear->-pair-props-if-match-before): now return t when they've
5018 cleared properties, nil otherwise.
5019 (c-before-change-check-<>-operators): Set c-new-beg/end correctly
5020 by taking account of the existing value.
5022 * progmodes/cc-defs.el
5023 (c-clear-char-property-with-value-function): Fix this to clear the
5024 property rather than overwriting it with nil.
5026 2010-06-20 Chong Yidong <cyd@stupidchicken.com>
5028 * emacs-lisp/package.el (package-print-package): Add link to
5029 package description via describe-package.
5030 (describe-package-1): List package requirements. Add button to
5031 perform installation.
5032 (package-menu-describe-package): New command.
5034 * help-mode.el (help-package): New button type.
5036 2010-06-19 Chong Yidong <cyd@stupidchicken.com>
5038 * emacs-lisp/package.el: Move package-list-packages binding to
5040 (describe-package, describe-package-1, package--dir): New funs.
5041 (package-activate-1): Use package--dir.
5043 * emacs-lisp/package-x.el (gnus-article-buffer): Require package.
5045 * help-mode.el (help-package-def): New button type.
5047 * menu-bar.el: Move package-list-packages binding here from
5050 2010-06-19 Gustav Hållberg <gustav@gmail.com> (tiny change)
5052 * descr-text.el (describe-char): Avoid trailing whitespace. (Bug#6423)
5054 2010-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
5056 * emacs-lisp/edebug.el (edebug-read-list):
5057 Phase out old-style backquotes.
5059 2010-06-17 Juri Linkov <juri@jurta.org>
5061 * help-mode.el (help-mode): Set buffer-local variable
5062 revert-buffer-function to help-mode-revert-buffer.
5063 (help-mode-revert-buffer): New function.
5065 * info.el (Info-revert-find-node): Check for major-mode Info-mode
5066 before popping to "*info*" (like in other Info functions).
5067 Keep buffer-name in old-buffer-name. Keep Info-history-forward in
5068 old-history-forward. Pop to old-buffer-name or "*info*" to
5069 recreate the killed buffer. Set Info-history-forward from
5070 old-history-forward.
5071 (Info-breadcrumbs-depth): Add :group and :version.
5073 2010-06-17 Dan Nicolaescu <dann@ics.uci.edu>
5075 * emacs-lisp/package.el (package-menu-mode-map): Add a menu.
5077 2010-06-17 Agustín Martín <agustin.martin@hispalinux.es>
5079 * textmodes/ispell.el (ispell-aspell-find-dictionary): Fix regexp
5080 for languages like Portuguese with pt_{BR,PT} and no plain pt.
5082 2010-06-17 Juanma Barranquero <lekktu@gmail.com>
5084 * emacs-lisp/package.el (package-menu-mode-map):
5085 Move initialization into declaration.
5087 * menu-bar.el (menu-bar-options-menu): Fix typo in menu entry.
5089 2010-06-17 Chong Yidong <cyd@stupidchicken.com>
5091 * emacs-lisp/package.el (package-archive-base): Point to
5093 (package-enable, package-load-list): New defcustoms.
5094 (package-user-dir, package-directory-list): Turn into defcustoms.
5095 Don't include package-user-dir in package-directory-list.
5096 (package--builtins-base): Don't include Emacs as a "package".
5097 (package-subdirectory-regexp): New var.
5098 (package-load-all-descriptors, package-compute-transaction)
5099 (package-download-transaction): Obey package-load-list.
5100 (package-activate-1): Rename from package-do-activate.
5101 (package-list-packages-internal): Check package-load-list.
5102 (package-load-descriptor, package-generate-autoloads)
5103 (package-unpack, package-unpack-single)
5104 (package--read-archive-file, package-delete): Use
5107 * emacs-lisp/package-x.el: New file. Package uploading
5108 functionality split out from package.el.
5110 * startup.el (command-line): Load packages after reading init file.
5112 2010-06-17 Tom Tromey <tromey@redhat.com>
5114 * emacs-lisp/package.el: New file.
5116 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
5118 Fix vc-annotate for renamed files when using Git.
5119 * vc/vc-git.el (vc-git-find-revision): Deal with empty results from
5120 ls-files. Doe not pass the object as a file name to cat-file, it
5122 (vc-git-annotate-command): Pass the file name using -- to avoid
5123 ambiguity with the revision.
5124 (vc-git-previous-revision): Pass a relative file name.
5126 2010-06-22 Glenn Morris <rgm@gnu.org>
5128 * progmodes/js.el (js-mode-map): Use standard capitalization and
5129 ellipses for menu entries.
5131 * wid-edit.el (widget-complete): Doc fix.
5133 2010-06-22 Jürgen Hötzel <juergen@hoetzel.info> (tiny change)
5135 * wid-edit.el (widget-complete): Fix typo in 2009-12-02 change.
5137 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
5139 Fix annotating other revisions for renamed files in vc-annotate.
5140 * vc/vc-annotate.el (vc-annotate): Add an optional argument for the
5141 VC backend. Use it when non-nil.
5142 (vc-annotate-warp-revision): Pass the VC backend to vc-annotate.
5145 Fix vc-annotate-show-changeset-diff-revision-at-line for git.
5146 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
5147 Do not pass the file name to the 'previous-revision call when we
5148 don't want a file diff. (Bug#6489)
5150 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
5152 Fix finding revisions for renamed files in vc-annotate.
5153 * vc/vc.el (vc-find-revision): Add an optional argument for
5154 the VC backend. Use it when non-nil.
5155 * vc/vc-annotate.el (vc-annotate-find-revision-at-line): Pass the VC
5156 backend to vc-find-revision. (Bug#6487)
5158 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
5160 Fix reading file names in Git annotate buffers.
5161 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line):
5162 Remove trailing whitespace. Suggested by Eric Hanchrow. (Bug#6481)
5164 2010-06-20 Alan Mackenzie <acm@muc.de>
5166 * progmodes/cc-mode.el (c-before-hack-hook): When the mode is set
5167 in file local variables, set it first.
5169 2010-06-19 Glenn Morris <rgm@gnu.org>
5171 * descr-text.el (describe-char-unicode-data): Insert separating
5172 space when needed. (Bug#6422)
5174 * progmodes/idlwave.el (idlwave-action-and-binding):
5175 Fix typo in 2009-12-03 change. (Bug#6450)
5177 2010-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
5179 * emacs-lisp/macroexp.el (macroexpand-all-1): Put back special
5180 handling for `lambda' (misunderstanding).
5182 2010-06-16 Jay Belanger <jay.p.belanger@gmail.com>
5184 * calc/calc-poly.el (math-accum-factors): Make sure that
5185 constants aren't distributed after they are factored out.
5187 2010-06-16 Juri Linkov <juri@jurta.org>
5189 * facemenu.el (list-colors-display): Call `pop-to-buffer' before
5190 `list-colors-print'. (Bug#6332)
5192 * subr.el (read-quoted-char): Fix up last change (bug#6290).
5194 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
5196 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't handle `lambda'
5197 specially, since it's a macro. Fix up wrong hint passed to maybe-cons.
5199 * font-lock.el (font-lock-major-mode): Rename from
5200 font-lock-mode-major-mode to distinguish it from
5201 global-font-lock-mode's own font-lock-mode-major-mode (bug#6135).
5202 (font-lock-set-defaults):
5203 * font-core.el (font-lock-default-function): Adjust users.
5204 (font-lock-mode): Don't set it at all.
5206 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
5208 * vc/vc-annotate.el (vc-annotate): Use vc-read-revision.
5210 2010-06-16 Glenn Morris <rgm@gnu.org>
5212 * calendar/appt.el (appt-time-msg-list): Doc fix.
5213 (appt-check): Let-bind appt-warn-time.
5214 (appt-add): Make the 3rd argument optional.
5215 Simplify argument names. Doc fix. Check for integer WARNTIME.
5216 Only add WARNTIME to the output list if non-nil.
5218 2010-06-16 Ivan Kanis <apple@kanis.eu>
5220 * calendar/appt.el (appt-check): Let the 3rd element of
5221 appt-time-msg-list specify the warning time.
5222 (appt-add): Add new argument with the warning time. (Bug#5176)
5224 2010-06-16 Bob Rogers <rogers-emacs@rgrjr.dyndns.org> (tiny change)
5226 * vc/vc-svn.el (vc-svn-after-dir-status): Fix regexp for Subversions
5227 older than version 1.6. (Bug#6361)
5229 2010-06-16 Helmut Eller <eller.helmut@gmail.com>
5231 * emacs-lisp/cl-macs.el (destructuring-bind): Bind `bind-enquote',
5232 used by cl-do-arglist. (Bug#6408)
5234 2010-06-16 Agustín Martín <agustin.martin@hispalinux.es>
5236 * textmodes/ispell.el (ispell-dictionary-base-alist): Fix
5237 portuguese casechars/not-casechars for missing 'çÇ'.
5238 Suggested by Rolando Pereira (bug#6434).
5240 2010-06-15 Juanma Barranquero <lekktu@gmail.com>
5242 * facemenu.el (list-colors-sort): Doc fix.
5244 2010-06-15 Bob Rogers <rogers-emacs@rgrjr.dyndns.org> (tiny change)
5246 * progmodes/sql.el (sql-connect-mysql): Fix typo.
5248 2010-06-14 Juri Linkov <juri@jurta.org>
5250 Add sort option `list-colors-sort'. (Bug#6332)
5251 * facemenu.el (color-rgb-to-hsv): New function.
5252 (list-colors-sort): New defcustom.
5253 (list-colors-sort-key): New function.
5254 (list-colors-display): Doc fix. Sort list according to the option
5256 (list-colors-print): Add HSV values to `help-echo' property of
5259 2010-06-14 Juri Linkov <juri@jurta.org>
5261 * compare-w.el: Move to the "vc" subdirectory.
5263 2010-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
5265 * image-mode.el (image-mode-map): Remap left-char and right-char.
5267 * nxml/nxml-mode.el (nxml-indent-line): Standardize indent behavior.
5269 2010-06-12 Chong Yidong <cyd@stupidchicken.com>
5271 * term/common-win.el (x-colors): Add all the color names defined
5272 in rgb.txt (Bug#6332).
5274 * facemenu.el (list-colors-print): Don't print extra names if it
5275 will overflow the window width.
5277 * vc/log-edit.el (log-edit-font-lock-keywords): Revert 2010-06-02
5280 2010-06-12 Eli Zaretskii <eliz@gnu.org>
5282 * files.el (make-directory): Doc fix (bug#6396).
5284 2010-06-12 Michael Albinus <michael.albinus@gmx.de>
5286 * net/tramp.el (tramp-remote-process-environment): Protect version
5287 string by apostroph.
5288 (tramp-shell-prompt-pattern): Do not use a shy group in case of
5290 (tramp-file-name-for-operation): Add `call-process-region'.
5291 (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
5293 * net/tramp-compat.el (top): Do not autoload
5294 `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el
5295 only when `start-file-process' is not bound.
5296 (tramp-advice-file-expand-wildcards): Do not use
5297 `tramp-handle-file-remote-p'.
5298 (tramp-compat-make-temp-file): Handle the case, that
5299 `make-temp-file' has no third argument EXTENSION.
5301 2010-06-11 Juanma Barranquero <lekktu@gmail.com>
5303 * makefile.w32-in (WINS_BASIC): Include new directory vc.
5305 * loadup.el ("vc-hooks", "ediff-hook"): Load from lisp/vc/.
5307 2010-06-11 Juri Linkov <juri@jurta.org>
5309 * finder.el (finder-known-keywords): Add keyword "vc"
5310 for version control.
5312 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff.el,
5313 * emerge.el, log-edit.el, log-view.el, pcvs.el, smerge-mode.el,
5314 * vc-annotate.el, vc-bzr.el, vc-dir.el, vc-dispatcher.el, vc-git.el,
5315 * vc-hg.el, vc-mtn.el, vc.el: Add keyword "vc".
5317 2010-06-11 Juri Linkov <juri@jurta.org>
5319 Move version control related files to the "vc" subdirectory.
5320 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff-diff.el,
5321 * ediff.el, ediff-help.el, ediff-hook.el, ediff-init.el,
5322 * ediff-merg.el, ediff-mult.el, ediff-ptch.el, ediff-util.el,
5323 * ediff-vers.el, ediff-wind.el, emerge.el, log-edit.el, log-view.el,
5324 * pcvs-defs.el, pcvs.el, pcvs-info.el, pcvs-parse.el, pcvs-util.el,
5325 * smerge-mode.el, vc-annotate.el, vc-arch.el, vc-bzr.el, vc-cvs.el,
5326 * vc-dav.el, vc-dir.el, vc-dispatcher.el, vc.el, vc-git.el,
5327 * vc-hg.el, vc-hooks.el, vc-mtn.el, vc-rcs.el, vc-sccs.el, vc-svn.el:
5328 Move files to the "vc" subdirectory.
5330 2010-06-11 Chong Yidong <cyd@stupidchicken.com>
5332 * comint.el (comint-password-prompt-regexp): Fix 2010-04-10 change
5335 2010-06-11 Stephen Eglen <stephen@gnu.org>
5337 * shell.el: Bind `shell-resync-dirs' to M-RET.
5339 2010-06-10 Michael Albinus <michael.albinus@gmx.de>
5341 * notifications.el: Move file from lisp/net, because it is
5342 supposed to talk locally to the user.
5344 2010-06-10 Julien Danjou <julien@danjou.info>
5346 * net/notifications.el (notifications-on-action-signal)
5347 (notifications-on-closed-signal): Pass notification id as first
5348 argument to the callback functions. Add docstrings.
5349 (notifications-notify): Fix docstring.
5351 2010-06-10 Glenn Morris <rgm@gnu.org>
5353 * emacs-lisp/authors.el (authors-ignored-files)
5354 (authors-valid-file-names): Add some files.
5356 2010-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
5358 * net/rcirc.el (rcirc-server-alist, rcirc, rcirc-connect): Resolve
5359 merge conflict, giving preference to the emacs-23 version of the code.
5361 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
5363 * emacs-lisp/advice.el (ad-compile-function):
5364 Define warning-suppress-types before we let-bind it (bug#6275).
5366 * vc-dispatcher.el: Rename mode-line-hook to vc-mode-line-hook;
5367 declare it, make it buffer-local and permanent-local (bug#6324).
5368 (vc-resynch-window): Adjust name.
5369 * vc-hooks.el (vc-find-file-hook): Adjust name.
5371 2010-06-09 Michael Albinus <michael.albinus@gmx.de>
5373 * net/notifications.el (notifications-notify): Fix docstring.
5375 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
5377 Update to Unicode 6.0.0 beta.
5378 * international/charprop.el: Update copyright.
5379 * international/mule-cmds.el (ucs-names): Update character ranges.
5380 * international/uni-bidi.el:
5381 * international/uni-category.el:
5382 * international/uni-combining.el:
5383 * international/uni-comment.el:
5384 * international/uni-decimal.el:
5385 * international/uni-decomposition.el:
5386 * international/uni-digit.el:
5387 * international/uni-lowercase.el:
5388 * international/uni-mirrored.el:
5389 * international/uni-name.el:
5390 * international/uni-numeric.el:
5391 * international/uni-old-name.el:
5392 * international/uni-titlecase.el:
5393 * international/uni-uppercase.el: Regenerate.
5395 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
5397 * emacs-lisp/smie.el (comment-string-strip): Declare function.
5398 (smie-precs-precedence-table): Fix typo in docstring.
5400 * vc-mtn.el (log-edit-extract-headers): Declare function.
5402 * vc-hg.el (log-edit-extract-headers): Remove duplicate declaration.
5404 * net/notifications.el (dbus-register-signal): Declare function.
5405 (notifications-notify): Fix typos and reflow docstring.
5407 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
5409 Improve VC create/retrieve tag/branch.
5410 * vc.el (vc-create-tag): Do not read the directory name for VCs
5411 with repository revision granularity. Adjust the tag/branch
5412 prompt. Reset VC properties.
5413 (vc-retrieve-tag): Do not read the directory name for VCs
5414 with repository revision granularity. Reset VC properties.
5416 2010-06-09 Julien Danjou <julien@danjou.info>
5418 * net/notifications.el: New file.
5420 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
5422 Add optional support for resetting VC properties.
5423 * vc-dispatcher.el (vc-resynch-window): Add new optional argument,
5424 call vc-file-clearprops when true.
5425 (vc-resynch-buffer): Add new optional argument, pass it down.
5426 (vc-resynch-buffers-in-directory): Likewise.
5428 Improve support for special markup in the VC commit message.
5429 * vc-mtn.el (vc-mtn-checkin): Add support for Author: and Date: markup.
5430 * vc-hg.el (vc-hg-checkin): Add support for Date:.
5431 * vc-git.el (vc-git-checkin):
5432 * vc-bzr.el (vc-bzr-checkin): Likewise.
5434 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
5436 * emacs-lisp/smie.el (smie-indent-keyword): Remove special case that
5437 can be handled with a ((:before "fn") (:prev "=>" parent)) rule.
5439 2010-06-07 Martin Pohlack <mp26@os.inf.tu-dresden.de>
5441 * iimage.el: Remove images as soon as the underlying text is modified.
5442 (iimage-modification-hook): New function.
5443 (iimage-mode-buffer): Use it.
5445 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
5447 * emacs-lisp/smie.el (smie-indent-offset-rule): Rename from
5448 smie-indent-offset-after. Add :prev case. Make a bit more generic.
5449 (smie-indent-virtual): Remove `virtual' arg. Update callers.
5450 (smie-indent-keyword): Add handling of open-paren keywords.
5451 (smie-indent-comment-continue): Don't assume comment-continue.
5453 2010-06-07 Martin Rudalics <rudalics@gmx.at>
5455 * window.el (pop-to-buffer): Remove the conditional that
5456 compares new-window and old-window, so it will reselect
5457 the selected window unconditionally.
5458 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00078.html
5460 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
5462 * emacs-lisp/smie.el (smie-indent-offset-after)
5463 (smie-indent-forward-token, smie-indent-backward-token): New functions.
5464 (smie-indent-after-keyword): Use them.
5465 (smie-indent-fixindent): Only applies to the indentation of the BOL.
5466 (smie-indent-keyword): Tweak the black magic.
5467 (smie-indent-comment-continue): Strip comment-continue before use.
5468 (smie-indent-functions): Indent comments before keywords.
5470 2010-06-06 Juri Linkov <juri@jurta.org>
5472 * isearch.el (isearch-lazy-highlight-search): Fix looping
5473 by checking for empty match. This syncs this loop with the
5474 similar loop in `isearch-search'. (Bug#6362)
5476 2010-06-05 Juanma Barranquero <lekktu@gmail.com>
5478 * net/dbus.el (dbus-register-method): Declare function.
5479 (dbus-handle-event, dbus-property-handler): Fix typos in docstrings.
5480 (dbus-introspect): Doc fix.
5481 (dbus-event-bus-name, dbus-introspect-get-interface)
5482 (dbus-introspect-get-argument): Reflow docstrings.
5484 2010-06-05 Dan Nicolaescu <dann@ics.uci.edu>
5486 vc-log-incoming/vc-log-outgoing fixes for Git.
5487 * vc-git.el (vc-git-log-view-mode): Fix font lock for
5488 incoming/outgoing logs.
5489 (vc-git-log-outgoing, vc-git-log-incoming): Use @{upstream}
5490 instead of vc-git-compute-remote.
5491 (vc-git-compute-remote): Remove.
5493 2010-06-04 Chong Yidong <cyd@stupidchicken.com>
5495 * term/common-win.el (x-colors): Add "dark green" and "dark
5496 turquoise" (Bug#6332).
5498 2010-06-04 Juri Linkov <juri@jurta.org>
5500 * simple.el (kill-new): Fix logic of kill-do-not-save-duplicates.
5501 Instead of setting `replace' to t and replacing the same string
5502 with itself, don't do certain actions when
5503 kill-do-not-save-duplicates is non-nil and string is equal to car
5504 of kill-ring: don't call menu-bar-update-yank-menu, don't push
5505 interprogram-paste strings to kill-ring, and don't push the input
5506 argument `string' to kill-ring.
5507 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00072.html
5509 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
5511 * subr.el (directory-sep-char): Move from fileio.c and make a defconst.
5513 2010-06-04 Michael Albinus <michael.albinus@gmx.de>
5515 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name): Expand "~/".
5516 (tramp-gvfs-handler-mounted-unmounted)
5517 (tramp-gvfs-connection-mounted-p): Handle default-location.
5519 * net/tramp-smb.el (tramp-smb-handle-delete-directory): Don't try to
5520 move files to trash.
5522 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
5524 * international/mule-cmds.el (nonascii-insert-offset)
5525 (nonascii-translation-table): Add obsolescence information.
5527 * international/mule.el (make-translation-table-from-vector): Doc fix.
5529 2010-06-03 Glenn Morris <rgm@gnu.org>
5531 * desktop.el (desktop-clear-preserve-buffers):
5532 Add "*Warnings*" buffer. (Bug#6336)
5534 2010-06-03 Dan Nicolaescu <dann@ics.uci.edu>
5536 vc-log-incoming/vc-log-outgoing improvements for Git.
5537 * vc-git.el (vc-git-log-outgoing): Use the same format as the
5539 (vc-git-log-incoming): Likewise. Run "git fetch" before the log command.
5541 Add bindings for vc-log-incoming and vc-log-outgoing.
5542 * vc-hooks.el (vc-prefix-map): Add bindings for vc-log-incoming
5543 and vc-log-outgoing.
5544 * vc-dir.el (vc-dir-menu-map): Add menu bindings for vc-log-incoming
5545 and vc-log-outgoing.
5547 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
5549 * net/rcirc.el (rcirc-sort-nicknames): Remove.
5550 (rcirc-handler-366): Always sort nicknames.
5552 2010-06-03 Juanma Barranquero <lekktu@gmail.com>
5554 * emacs-lisp/smie.el (comment-continue): Declare for byte-compiler.
5556 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
5558 * net/rcirc.el (rcirc-nickname<, rcirc-sort-nicknames-join): Doc fix.
5560 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
5562 * net/rcirc.el (rcirc-sort-nicknames): Change default.
5563 (rcirc-sort-nicknames-join): Avoid setq.
5565 2010-06-03 Deniz Dogan <deniz.a.m.dogan@gmail.com>
5567 * net/rcirc.el (rcirc-sort-nicknames): New custom.
5568 (rcirc-nickname<, rcirc-sort-nicknames-join): New funs.
5569 (rcirc-handler-366): Use them.
5571 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
5573 Split smie-indent-calculate into more manageable chunks.
5574 * emacs-lisp/smie.el (smie-indent-virtual, smie-indent-fixindent)
5575 (smie-indent-comment, smie-indent-after-keyword, smie-indent-keyword)
5576 (smie-indent-close, smie-indent-comment-continue, smie-indent-bob)
5577 (smie-indent-exps): Extract from smie-indent-calculate.
5578 (smie-indent-functions): New var.
5579 (smie-indent-functions): Use them.
5581 2010-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
5583 * emacs-lisp/smie.el (smie-indent-hanging-p): Use smie-bolp.
5584 (smie-indent-calculate): Simplify and cleanup.
5586 2010-06-02 Michael Albinus <michael.albinus@gmx.de>
5588 * net/tramp-gvfs.el (top): Require url-util.
5589 (tramp-gvfs-mount-point): Remove.
5590 (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command):
5592 (with-tramp-dbus-call-method): Format trace message.
5593 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
5594 Implement backup call, when operation on local files fails.
5595 Use progress reporter. Flush properties of changed files.
5596 (tramp-gvfs-handle-make-directory): Make more traces.
5597 (tramp-gvfs-url-file-name): Hexify file name in url.
5598 (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
5599 into account for the resulting file name.
5600 (tramp-gvfs-handler-askquestion): Return dummy mountpoint, when
5601 the answer is "no". See `tramp-gvfs-maybe-open-connection'.
5602 (tramp-gvfs-handler-mounted-unmounted)
5603 (tramp-gvfs-connection-mounted-p): Test also for new mountspec
5604 attribute "default_location". Set "prefix" property.
5605 (tramp-gvfs-mount-spec): Return both prefix and mountspec.
5606 (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
5607 exists. Raise an error, if not (due to a corresponding answer
5608 "no" in interactive questions, for example).
5610 2010-06-02 Dan Nicolaescu <dann@ics.uci.edu>
5612 * log-edit.el (log-edit-font-lock-keywords): Make group 4 match lax.
5614 2010-06-01 Juanma Barranquero <lekktu@gmail.com>
5616 * emacs-lisp/eldoc.el: Add completions for new commands left-* and
5619 2010-06-01 Dan Nicolaescu <dann@ics.uci.edu>
5621 Add support for vc-log-incoming, improve vc-log-outgoing for Git.
5622 * vc-git.el (vc-git-compute-remote): New function.
5623 (vc-git-log-outgoing): Use it instead of hard coding a value.
5624 (vc-git-log-incoming): New function.
5626 Improve state updating for VC tag commands.
5627 * vc.el (vc-create-tag, vc-retrieve-tag): Call vc-resynch-buffer
5628 to update the state of all buffers in the directory.
5630 * vc-dir.el (vc-dir-update): Remove entries with a nil state (bug#5539).
5632 2010-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
5634 * vc-bzr.el (vc-bzr-revision-completion-table): Apply
5635 `file-directory-p' to the filename part rather than to the whole text.
5637 2010-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
5639 * man.el (Man-completion-table): Let the user type "-k " (bug#6319).
5641 2010-05-31 Drew Adams <drew.adams@oracle.com>
5643 * files.el (directory-files-no-dot-files-regexp): Doc fix (bug#6298).
5645 2010-05-31 Juanma Barranquero <lekktu@gmail.com>
5647 * subr.el (momentary-string-display): Just use read-event to read
5648 the exit event (Bug#6238).
5650 2010-05-30 Eli Zaretskii <eliz@gnu.org>
5652 * international/mule.el (define-coding-system): Doc fix (bug#6313).
5654 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
5656 * emulation/cua-base.el: Recognize also `right-word' and `left-word'.
5657 Suggested by Eli Zaretskii <eliz@gnu.org>.
5659 2010-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
5661 * minibuffer.el (completion-file-name-table): Don't return a boundary
5662 past the end of `string' (bug#6299).
5663 (completion--file-name-table): Delegate to completion-file-name-table
5664 for the `boundaries' case.
5666 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
5668 * emulation/cua-base.el: Recognize `right-char' and `left-char' as
5671 * progmodes/ada-xref.el (ada-prj-ada-project-path-sep): Set from
5672 `path-separator', but maintain compatibility with Emacs 20.2.
5674 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
5676 * server.el (server-process-filter): Receive parent-id argument
5678 (server-create-window-system-frame): New arg. Pass parent-id as
5681 2010-05-29 Eli Zaretskii <eliz@gnu.org>
5683 Bidi-sensitive word movement with arrow keys.
5684 * subr.el (right-arrow-command, left-arrow-command): Move to
5687 * bindings.el (right-char, left-char): Move from subr.el and
5688 rename from right-arrow-command and left-arrow-command.
5689 (right-word, left-word): New functions.
5690 (global-map) <right>: Bind to right-char.
5691 (global-map) <left>: Bind to left-char.
5692 (global-map) <C-right>: Bind to right-word.
5693 (global-map) <C-left>: Bind to left-word.
5695 * ls-lisp.el (ls-lisp-classify-file): New function.
5696 (ls-lisp-insert-directory): Call it if switches include -F (bug#6294).
5697 (ls-lisp-classify): Call ls-lisp-classify-file.
5698 (insert-directory): Remove blanks from switches.
5700 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
5702 * ansi-color.el: Delete unused escape sequences (Bug#6085).
5703 (ansi-color-drop-regexp): New constant.
5704 (ansi-color-apply, ansi-color-filter-region)
5705 (ansi-color-apply-on-region): Delete unrecognized control sequences.
5706 (ansi-color-apply): Build string list before calling concat.
5708 2010-05-28 Juri Linkov <juri@jurta.org>
5710 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
5711 Replace LOCALP arg of `dired-get-filename' 'no-dir with nil.
5714 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
5716 * net/tramp.el (tramp-debug-message): Add `tramp-compat-funcall'
5717 to ignored backtrace functions.
5718 (with-progress-reporter): Expand docstring.
5719 (tramp-handle-delete-file): Implement TRASH argument.
5720 (tramp-get-remote-trash): New defun.
5722 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
5724 * net/tramp-compat.el (tramp-compat-delete-file): Use
5725 `symbol-value' for backward compatibility.
5727 * net/tramp.el (tramp-handle-make-symbolic-link)
5729 (tramp-do-copy-or-rename-file-via-buffer)
5730 (tramp-do-copy-or-rename-file-directly)
5731 (tramp-do-copy-or-rename-file-out-of-band)
5732 (tramp-handle-process-file, tramp-handle-call-process-region)
5733 (tramp-handle-shell-command, tramp-handle-file-local-copy)
5734 (tramp-handle-insert-file-contents, tramp-handle-write-region)
5735 (tramp-delete-temp-file-function): Use `delete-file' instead
5736 of `tramp-compat-delete-file'.
5738 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
5739 (tramp-fish-handle-make-symbolic-link)
5740 (tramp-fish-handle-process-file): Use `delete-file' instead
5741 of `tramp-compat-delete-file'.
5743 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use
5744 `delete-file' instead of `tramp-compat-delete-file'.
5746 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
5747 (tramp-gvfs-handle-write-region): Use `delete-file' instead of
5748 `tramp-compat-delete-file'.
5750 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file): Use
5751 `delete-file' instead of `tramp-compat-delete-file'.
5753 * net/tramp-smb.el (tramp-smb-handle-copy-file)
5754 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
5755 (tramp-smb-handle-write-region): Use `delete-file' instead of
5756 `tramp-compat-delete-file'.
5757 (tramp-smb-handle-delete-directory): Use 'trash as arg.
5759 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
5761 * dired.el (dired-delete-file): New arg TRASH.
5762 (dired-internal-do-deletions): New arg TRASH. Use progress reporter.
5763 (dired-do-flagged-delete, dired-do-delete): Use trash.
5765 * speedbar.el (speedbar-item-delete): Allow trashing.
5767 * files.el (delete-directory): New arg TRASH.
5769 * net/ange-ftp.el (ange-ftp-del-tmp-name, ange-ftp-delete-file)
5770 (ange-ftp-rename-remote-to-remote)
5771 (ange-ftp-rename-local-to-remote)
5772 (ange-ftp-rename-remote-to-local, ange-ftp-load)
5773 (ange-ftp-compress, ange-ftp-uncompress): Remove optional arg from
5775 (ange-ftp-delete-directory): Add optional arg to `delete-file', to
5778 * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
5779 handle new TRASH arg of `delete-file'.
5781 * net/tramp.el (tramp-handle-delete-file): Change FORCE arg to TRASH.
5782 (tramp-handle-make-symbolic-link, tramp-handle-load)
5783 (tramp-do-copy-or-rename-file-via-buffer)
5784 (tramp-do-copy-or-rename-file-directly)
5785 (tramp-do-copy-or-rename-file-out-of-band)
5786 (tramp-handle-process-file, tramp-handle-call-process-region)
5787 (tramp-handle-shell-command, tramp-handle-file-local-copy)
5788 (tramp-handle-insert-file-contents, tramp-handle-write-region)
5789 (tramp-delete-temp-file-function): Use null TRASH arg in
5790 tramp-compat-delete-file call.
5792 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
5793 (tramp-fish-handle-delete-file)
5794 (tramp-fish-handle-make-symbolic-link)
5795 (tramp-fish-handle-process-file): Use null TRASH arg in
5796 `tramp-compat-delete-file' call.
5798 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use null TRASH
5799 arg in `tramp-compat-delete-file' call.
5801 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
5802 (tramp-gvfs-handle-write-region): Use null TRASH arg in
5803 `tramp-compat-delete-file' call.
5805 * net/tramp-imap.el (tramp-imap-handle-delete-file): Rename arg.
5806 (tramp-imap-do-copy-or-rename-file): Use null TRASH arg in
5807 `tramp-compat-delete-file' call.
5809 * net/tramp-smb.el (tramp-smb-handle-copy-file)
5810 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
5811 (tramp-smb-handle-write-region): Use null TRASH arg in
5812 tramp-compat-delete-file call.
5813 (tramp-smb-handle-delete-directory): Use tramp-compat-delete-file.
5814 (tramp-smb-handle-delete-file): Rename arg.
5816 * diff.el (diff-sentinel):
5817 * epg.el (epg--make-temp-file, epg-decrypt-string)
5818 (epg-verify-string, epg-sign-string, epg-encrypt-string):
5819 * jka-compr.el (jka-compr-partial-uncompress)
5820 (jka-compr-call-process, jka-compr-write-region):
5821 * server.el (server-sentinel): Remove optional arg from
5822 delete-file, reverting 2010-05-03 change.
5824 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
5826 * progmodes/verilog-mode.el (verilog-type-font-keywords): Use
5827 font-lock-constant-face, not obsolete font-lock-reference-face.
5829 2010-05-27 Kenichi Handa <handa@m17n.org>
5831 * language/hebrew.el (hebrew-shape-gstring): Check if a glyph
5832 element of GSTRING is nil.
5834 2010-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
5836 * emacs-lisp/smie.el (smie-forward-token-function)
5837 (smie-backward-token-function): New vars.
5838 (smie-backward-sexp, smie-forward-sexp)
5839 (smie-indent-hanging-p, smie-indent-calculate): Use them.
5840 (smie-default-backward-token): Rename from smie-backward-token and
5842 (smie-default-forward-token): Rename from smie-forward-token and
5844 (smie-next-sexp): Handle nil results from next-token.
5845 (smie-indent-calculate): Add a new case for special `fixindent' comments.
5847 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
5849 * progmodes/verilog-mode.el (verilog-type-font-keywords):
5850 Use font-lock-constant-face, not obsolete font-lock-reference-face.
5852 2010-05-27 Masatake YAMATO <yamato@redhat.com>
5854 * htmlfontify.el (hfy-face-resolve-face): New function.
5855 (hfy-face-to-style): Use it (Bug#6279).
5857 2010-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
5859 * progmodes/ada-xref.el (ada-gnat-parse-gpr):
5860 * emulation/edt.el (edt-load-keys): Avoid (expand-file-name ".").
5862 2010-05-26 Glenn Morris <rgm@gnu.org>
5864 * emulation/edt.el (edt-load-keys): Use locate-library.
5866 2010-05-25 Chong Yidong <cyd@stupidchicken.com>
5868 * log-edit.el (log-edit-strip-single-file-name): Default to nil.
5869 (log-edit-changelog-entries): Doc fix.
5870 (log-edit-changelog-insert-entries): Args changed.
5871 Rename relative filenames in ChangeLog entries. Delete tabs.
5872 (log-edit-insert-changelog-entries): Reorganize return value of
5873 `log-edit-changelog-entries' to pass filenames to
5874 log-edit-changelog-insert-entries.
5876 2010-05-25 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5878 * dired.el (dired-mode-map): Rebind "\C-t\C-t" from
5879 `image-dired-dired-insert-marked-thumbs' to
5880 `image-dired-dired-toggle-marked-thumbs'.
5882 * image-dired.el: Require cl when compiling.
5883 (image-dired-dired-toggle-marked-thumbs): Rename from
5884 `image-dired-dired-insert-marked-thumbs'. Add ARG. Doc fix.
5885 Use interactive spec "P". Set LOCALP arg of `dired-get-filename'
5886 to 'no-dir. Skip files whose names don't match
5887 `image-file-name-regexp'. When file has a thumbnail overlay,
5888 delete it. (Bug#5270)
5890 2010-05-25 Juri Linkov <juri@jurta.org>
5892 * image-mode.el (image-mode): Add image-after-revert-hook to
5894 (image-after-revert-hook): New function. (Bug#5669)
5896 2010-05-25 Juri Linkov <juri@jurta.org>
5898 * image.el (image-animated-p): When delay between animated images
5899 is 0, set it to 10 (0.1 sec). (Bug#6258)
5901 2010-05-25 Christian Lynbech <christian.lynbech@tieto.com> (tiny change)
5903 * net/tramp.el (tramp-handle-insert-directory): Don't use
5904 `forward-word', its default syntax could be changed.
5906 2010-05-25 Michael Albinus <michael.albinus@gmx.de>
5908 * net/tramp.el (tramp-progress-reporter-update): New defun.
5909 (with-progress-reporter): Use it.
5910 (tramp-process-actions):
5911 * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion): Preserve
5912 current message, in order to let progress reporter continue
5913 afterwards. (Bug#6257)
5915 2010-05-25 Glenn Morris <rgm@gnu.org>
5917 * net/rcirc.el (rcirc-default-user-name, rcirc-default-full-name):
5920 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
5922 * net/rcirc.el (rcirc-default-user-name): Change to "user".
5923 (rcirc-default-full-name): Change to "unknown".
5924 (rcirc-user-name-history): Add variable.
5926 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
5927 Jonathan Rockway <jon@jrock.us>
5929 * net/rcirc.el (rcirc-server-alist): Add :pass.
5930 (rcirc): When prompting for connection parameters, also prompt for
5931 username and password.
5932 (rcirc-connect): Take a PASS argument. If PASS is non-nil, send
5933 value to server when connecting.
5935 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
5937 * emacs-lisp/smie.el (smie-set-prec2tab): Check override before use.
5938 (smie-merge-prec2s): Pass the tables as separate args.
5939 (smie-bnf-precedence-table): Adjust call accordingly.
5940 (smie-prec2-levels): Set levels at the end.
5942 Replace Lisp calls to delete-backward-char by delete-char.
5943 * bs.el, expand.el, ido.el, image-dired.el, lpr.el, pcomplete.el,
5944 * skeleton.el, term.el, time.el, wid-edit.el, woman.el,
5945 * calc/calc-graph.el, calc/calc-help.el, calc/calc-incom.el,
5946 * calc/calc.el, emacs-lisp/cl-extra.el, emacs-lips/cl-loaddefs.el,
5947 * emulation/cua-rect.el, emulation/viper-ex.el, eshell/esh-test.el,
5948 * eshell/eshell.el, gnus/gnus-uu.el, gnus/nndoc.el, gnus/nnrss.el,
5949 * gnus/rfc2047.el, gnus/utf7.el, international/utf-7.el,
5950 * language/ethio-util.el, mh-e/mh-alias.el, mh-e/mh-search.el,
5951 * net/imap.el, net/rcirc.el, obsolete/complete.el, play/decipher.el,
5952 * progmodes/ada-mode.el, progmodes/cc-awk.el, progmodes/dcl-mode.el,
5953 * progmodes/ps-mode.el, progmodes/verilog-mode.el,
5954 * progmodes/vhdl-mode.el, textmodes/bibtex.el, textmodes/fill.el,
5955 * textmodes/reftex-auc.el, textmodes/rst.el, textmodes/sgml-mode.el,
5956 * textmodes/table.el, textmodes/texinfmt.el: Replace Lisp calls to
5957 delete-backward-char by calls to delete-char.
5959 2010-05-25 Kenichi Handa <handa@m17n.org>
5961 * language/hebrew.el (hebrew-shape-gstring): New function.
5962 Register it in composition-function-table for all Hebrew combining
5965 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
5967 * epa.el (epa--select-keys): Don't explicitly delete the window since
5968 that can fail (e.g. sole window in frame). Use dedication instead.
5970 2010-05-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
5972 * textmodes/fill.el (fill-region): Don't fill past the end (bug#6201).
5974 2010-05-22 Chong Yidong <cyd@stupidchicken.com>
5976 * image.el (image-refresh): Define as an alias for image-flush.
5978 * image-mode.el (image-toggle-display-image): Caller changed.
5980 2010-05-21 Juri Linkov <juri@jurta.org>
5982 * progmodes/grep.el (grep-read-files): Fix multi-pattern aliases.
5983 Remove "all" from grep-files-aliases. Split grep-files-aliases by
5984 whitespace, call wildcard-to-regexp on substrings and concat them
5985 with "\\|". (Bug#6114)
5987 2010-05-21 Alan Mackenzie <acm@muc.de>
5989 * progmodes/cc-engine.el (c-parse-state-get-strategy):
5990 Replace parameter `here' with `here-' and `here-plus', which sandwich
5991 any pertinent CPP construct.
5992 (c-remove-stale-state-cache-backwards): Fix a bug which happens
5993 when doing (c-parse-state) in a CPP construct: Exclude any "new"
5994 CPP construct from taking part in the scanning.
5996 2010-05-21 Michael Albinus <michael.albinus@gmx.de>
5998 * net/tramp.el (tramp-do-copy-or-rename-file)
5999 (tramp-handle-file-local-copy, tramp-maybe-open-connection):
6000 Tune `with-progress-reporter' messages.
6001 (tramp-handle-vc-registered):
6002 * net/tramp-fish.el (tramp-fish-handle-file-local-copy)
6003 (tramp-fish-handle-insert-file-contents)
6004 (tramp-fish-maybe-open-connection):
6005 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6006 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file)
6007 (tramp-imap-handle-insert-file-contents)
6008 (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
6010 2010-05-21 Juanma Barranquero <lekktu@gmail.com>
6012 * add-log.el (change-log-font-lock-keywords):
6013 Highlight all authors in multi-author entries.
6015 * smerge-mode.el (smerge-refine-ignore-whitespace)
6016 (smerge-refine-weight-hack, smerge-refine, smerge-makeup-conflict):
6017 Fix typos in docstrings.
6018 (smerge-resolve, smerge-refine-subst): Reflow docstrings.
6020 2010-05-21 Glenn Morris <rgm@gnu.org>
6022 * progmodes/fortran.el (fortran-mode):
6023 * progmodes/f90.el (f90-mode): Derive from prog-mode.
6025 * loadup.el [CANNOT_DUMP]: Update for bootstrap-emacs no longer
6026 having a relative path in src/Makefile.in.
6028 2010-05-20 Kevin Ryde <user42@zip.com.au>
6030 * help-mode.el (help-make-xrefs): For Info node links turn
6031 newlines into spaces. Link node names with newlines are matched
6032 by help-xref-info-regexp and buttonized, this change ensures they
6033 can be followed successfully with RET. (Bug#6206)
6035 2010-05-20 Juri Linkov <juri@jurta.org>
6037 * locate.el (locate): Use pop-to-buffer instead of
6038 switch-to-buffer-other-window. (Bug#6204)
6040 2010-05-20 Juri Linkov <juri@jurta.org>
6042 * replace.el (replace-highlight): Fix lazy-highlighting
6043 for `M-s w str M-% str RET'.
6045 2009-12-15 Masatake YAMATO <yamato@redhat.com>
6047 * isearch.el (isearch-yank-word-or-char): Pull next subword
6048 when `subword-mode' is activated. (Bug#6220)
6050 2010-05-20 Mark A. Hershberger <mah@everybody.org>
6052 * isearch.el (isearch-update-post-hook): New hook.
6053 (isearch-update): Use the new hook. (Bug#6225)
6055 2010-05-20 Juri Linkov <juri@jurta.org>
6057 * isearch.el (isearch-mode-map): Bind more keys to isearch-help-map:
6058 [f1], [help], and (char-to-string help-char) instead of "\C-h".
6061 2010-05-20 Juri Linkov <juri@jurta.org>
6063 * isearch.el (isearch-yank-string): Use isearch-process-search-string.
6066 2010-05-20 Juri Linkov <juri@jurta.org>
6068 * dired-x.el (dired-jump, dired-jump-other-window): Add arg
6069 FILE-NAME to read from the minibuffer when called interactively
6070 with prefix argument instead of using buffer-file-name.
6071 http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00534.html
6073 * dired.el: Update autoloads.
6075 2010-05-20 Chong Yidong <cyd@stupidchicken.com>
6077 * nxml/nxml-mode.el (nxml-mode-map): Bind C-c / to
6078 nxml-finish-element, for consistency with SGML mode.
6080 * progmodes/octave-mod.el (octave-mode-map): Bind C-c / to
6083 2010-05-20 Juanma Barranquero <lekktu@gmail.com>
6085 * composite.el: Require cl when compiling.
6086 (reference-point-alist, compose-gstring-for-graphic)
6087 (compose-gstring-for-terminal): Fix typos in docstrings.
6089 2010-05-19 Juri Linkov <juri@jurta.org>
6091 * emacs-lisp/cl-macs.el (window-parameter): Add defsetf with
6092 set-window-parameter.
6094 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
6096 * net/tramp.el (tramp-methods): Add `tramp-async-args' attribute
6098 (tramp-maybe-open-connection): Use it.
6100 2010-05-19 Eli Zaretskii <eliz@gnu.org>
6102 * simple.el (move-end-of-line): Make sure we are at line beginning
6103 before backing up to end of previous line.
6105 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
6107 * password-cache.el (password-cache-remove): Fix docstring.
6109 * net/secrets.el: Autoload the widget functions.
6110 (secrets-search-items, secrets-create-item)
6111 (secrets-get-attributes, secrets-expand-item): Attributes will be
6112 stored on the password database without leading ":", as all other
6114 (secrets-mode): Fix docstring.
6115 (secrets-show-secrets): Provide it as autoloaded command only when
6116 D-Bus support is available. Check existence of Secret Service API.
6118 2010-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
6120 * indent.el (indent-region): Deactivate region (bug#6200).
6122 2010-05-19 Glenn Morris <rgm@gnu.org>
6124 * vc-dir.el (vc-dir): Don't pop-up-windows. (Bug#6204)
6126 2010-05-19 Kenichi Handa <handa@m17n.org>
6128 * composite.el: Register compose-gstring-for-graphic in
6129 composition-function-table only for combining characters (Mn, Mc, Me).
6131 2010-05-18 Jay Belanger <jay.p.belanger@gmail.com>
6133 * calc/calc-trail.el (calc-trail-isearch-forward)
6134 (calc-trail-isearch-backward): Ensure that the new window
6135 point is set correctly.
6137 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
6139 * subr.el (read-quoted-char): Resolve modifiers after key
6140 remapping (bug#6212).
6142 2010-05-18 Michael Albinus <michael.albinus@gmx.de>
6144 Add visualization code for secrets.
6145 * net/secrets.el (secrets-mode): New major mode.
6146 (secrets-show-secrets, secrets-show-collections)
6147 (secrets-expand-collection, secrets-expand-item)
6148 (secrets-tree-widget-after-toggle-function)
6149 (secrets-tree-widget-show-password): New defuns.
6151 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
6153 * emacs-lisp/smie.el (smie-next-sexp): Break inf-loop at BOB.
6154 (smie-backward-sexp, smie-forward-sexp): Remove boundary condition now
6155 handled in smie-next-sexp.
6156 (smie-indent-calculate): Provide a starting indentation (so the
6157 recursion is well-founded ;-).
6159 Fix handling of non-associative equal levels.
6160 * emacs-lisp/smie.el (smie-prec2-levels): Choose distinct levels even
6161 when it's not needed.
6162 (smie-op-left, smie-op-right): New functions.
6163 (smie-next-sexp): New function, extracted from smie-backward-sexp.
6164 Better handle equal levels to distinguish the associative case from
6165 the "multi-keyword construct" case.
6166 (smie-backward-sexp, smie-forward-sexp): Use it.
6168 2010-05-18 Juanma Barranquero <lekktu@gmail.com>
6170 * progmodes/prolog.el (smie-indent-basic): Declare for byte-compiler.
6172 * emacs-lisp/smie.el (smie-precs-precedence-table, smie-backward-sexp)
6173 (smie-forward-sexp, smie-indent-calculate): Fix typos in docstrings.
6175 2010-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6177 Provide a simple generic indentation engine and use it for Prolog.
6178 * emacs-lisp/smie.el: New file.
6179 * progmodes/prolog.el (prolog-smie-op-levels)
6180 (prolog-smie-indent-rules): New var.
6181 (prolog-mode-variables): Use them to configure SMIE.
6182 (prolog-indent-line, prolog-indent-level): Remove.
6184 2010-05-17 Jay Belanger <jay.p.belanger@gmail.com>
6186 * calc/calc-vec.el (math-vector-avg): Put the vector elements in
6187 order before computing the averages.
6189 2010-05-16 Jay Belanger <jay.p.belanger@gmail.com>
6191 * calc/calc-vec.el (calc-histogram):
6192 (calcFunc-histogram): Allow vectors as inputs.
6193 (math-vector-avg): New function.
6195 * calc/calc-ext.el (math-group-float): Have the number of digits
6196 being grouped depend on the radix (Bug#6189).
6198 2010-05-15 Ken Raeburn <raeburn@raeburn.org>
6200 * version.el (emacs-copyright, emacs-version): Don't define here,
6201 now that emacs.c defines it.
6203 2010-05-15 Eli Zaretskii <eliz@gnu.org>
6205 * international/mule-cmds.el (mule-menu-keymap): Fix definition of
6206 "Describe Language Environment" menu item.
6208 * language/hebrew.el ("Hebrew", "Windows-1255"): Doc fix.
6210 Bidi-sensitive movement with arrow keys.
6211 * subr.el (right-arrow-command, left-arrow-command): New functions.
6213 * bindings.el (global-map): Bind them to right and left arrow keys.
6215 Don't override standard definition of convert-standard-filename.
6216 * files.el (convert-standard-filename): Call
6217 w32-convert-standard-filename and dos-convert-standard-filename on
6218 the corresponding systems.
6220 * w32-fns.el (w32-convert-standard-filename): Rename from
6221 convert-standard-filename. Doc fix.
6223 * dos-fns.el (dos-convert-standard-filename): Doc fix.
6224 (convert-standard-filename): Don't defalias.
6225 (register-name-alist, make-register, register-value)
6226 (set-register-value, intdos): Obsolete aliases for the
6227 corresponding dos-* functions and variables.
6228 (dos-intdos): Add a doc string.
6230 2010-05-15 Jay Belanger <jay.p.belanger@gmail.com>
6232 * calc/calc-aent.el (math-read-token, math-find-user-tokens):
6233 * calc/calc-lang.el (math-read-big-rec, math-lang-read-symbol):
6234 (math-compose-tex-func):
6235 * calc/calccomp.el (math-compose-expr):
6236 * calc/calc-ext.el (math-format-flat-expr-fancy):
6237 * calc/calc-store.el (calc-read-var-name):
6238 * calc/calc-units.el (calc-explain-units-rec): Allow Greek letters.
6240 * calc/calc.el (var-π, var-φ, var-γ): New variables.
6241 * calc/calc-aent.el (math-read-replacement-list): Add "micro" symbol.
6242 * calc/calc-units.el (math-unit-prefixes): Add mu for micro.
6243 (math-standard-units): Add units.
6245 2010-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
6247 * progmodes/asm-mode.el (asm-mode):
6248 * progmodes/prolog.el (prolog-mode): Use define-derived-mode.
6250 * pcomplete.el (pcomplete-completions-at-point): New function,
6251 extracted from pcomplete-std-complete.
6252 (pcomplete-std-complete): Use it.
6254 2010-05-15 Glenn Morris <rgm@gnu.org>
6256 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
6257 Remove references to CVS, RCS and Old directories.
6259 2010-05-14 Jay Belanger <jay.p.belanger@gmail.com>
6261 * calc/calc-bin.el (math-format-twos-complement): Group digits when
6264 2010-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
6266 * progmodes/sh-script.el (sh-mode-default-syntax-table): Remove.
6267 (sh-mode-syntax-table): Give it a default value instead.
6268 (sh-header-marker): Make buffer-local.
6269 (sh-mode): Move make-local-variable to the corresponding setq.
6270 (sh-add-completer): Avoid gratuitously let-binding a buffer-local var.
6271 Use complete-with-action.
6273 * simple.el (prog-mode): New (abstract) major mode.
6274 * emacs-lisp/lisp-mode.el (emacs-lisp-mode, lisp-mode): Use it.
6275 * progmodes/sh-script.el (sh-mode): Remove redundant var assignment.
6277 2010-05-14 Juanma Barranquero <lekktu@gmail.com>
6279 * progmodes/sql.el (sql-oracle-program): Reflow docstring.
6280 (sql-oracle-scan-on, sql-sybase-program, sql-product-font-lock)
6281 (sql-add-product-keywords, sql-highlight-product, sql-set-product)
6282 (sql-make-alternate-buffer-name, sql-placeholders-filter)
6283 (sql-escape-newlines-filter, sql-input-sender)
6284 (sql-send-magic-terminator, sql-sybase): Fix typos in docstrings.
6286 2010-05-13 Chong Yidong <cyd@stupidchicken.com>
6288 Add TeX open-block and close-block keybindings to SGML, and vice versa.
6290 * textmodes/tex-mode.el (tex-mode-map): Bind C-c C-t to
6291 latex-open-block and C-c / to latex-close-block.
6293 * textmodes/sgml-mode.el (sgml-mode-map): Bind C-c C-o to sgml-tag
6294 and C-c C-e to sgml-close-tag.
6296 2010-05-13 Michael Albinus <michael.albinus@gmx.de>
6298 * net/tramp.el (with-progress-reporter): Create reporter object
6299 only when the message would be displayed. Handle nested calls.
6300 (tramp-handle-load, tramp-handle-file-local-copy)
6301 (tramp-handle-insert-file-contents, tramp-handle-write-region)
6302 (tramp-maybe-send-script, tramp-find-shell):
6303 Use `with-progress-reporter'.
6304 (tramp-handle-dired-compress-file, tramp-maybe-open-connection):
6307 * net/tramp-smb.el (tramp-smb-handle-copy-file)
6308 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
6309 (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
6310 Use `with-progress-reporter'.
6312 2010-05-13 Agustín Martín <agustin.martin@hispalinux.es>
6314 * textmodes/ispell.el (ispell-init-process): Do not kill ispell
6315 process everytime when spellchecking from the minibuffer (bug#6143).
6317 2010-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
6319 * progmodes/sh-script.el (sh-mode): Use define-derived-mode.
6321 * dos-fns.el: Add "dos-" prefix for namespace control.
6322 (convert-standard-filename): Define as alias for
6323 dos-convert-standard-filename but only if applicable.
6325 2010-05-12 Alan Mackenzie <acm@muc.de>
6327 * progmodes/cc-cmds.el (c-beginning-of-defun, c-end-of-defun):
6328 Push the mark at the start of these functions when appropriate.
6330 2010-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
6332 * minibuffer.el (completion-cycle-threshold): New custom var.
6333 (completion--do-completion): Use it.
6334 (minibuffer-complete): Use cycling if appropriate.
6336 2010-05-11 Juanma Barranquero <lekktu@gmail.com>
6338 * dirtrack.el (dirtrackp): Remove defcustom; don't make automatically
6339 buffer-local (it's an obsolete alias for `dirtrack-mode') (bug#6173).
6341 2010-05-11 Juri Linkov <juri@jurta.org>
6343 * scroll-all.el (scroll-all-check-to-scroll):
6344 Add `scroll-up-command' and `scroll-down-command' (bug#6164).
6346 2010-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
6348 * iimage.el (iimage-mode-map): Move initialization into declaration.
6349 (iimage-mode-buffer): Use with-silent-modifications.
6350 Simplify calling convention. Adjust callers.
6351 (iimage-mode): Don't run hook redundantly.
6353 * minibuffer.el (completion-pcm--pattern->regex):
6354 Fix last change (bug#6160).
6356 2010-05-10 Juri Linkov <juri@jurta.org>
6358 Remove nodes visited during Isearch from the Info history.
6359 * info.el (Info-isearch-initial-history)
6360 (Info-isearch-initial-history-list): New variables.
6361 (Info-isearch-start): Record initial values of
6362 Info-isearch-initial-history and Info-isearch-initial-history-list.
6363 Add Info-isearch-end to isearch-mode-end-hook.
6364 (Info-isearch-end): New function.
6366 2010-05-10 Michael Albinus <michael.albinus@gmx.de>
6368 * net/tramp.el (tramp-do-file-attributes-with-stat): Add space in
6369 format string, in order to work around a bug in pdksh.
6370 Reported by Gilles Pion <gpion@lfdj.com>.
6371 (tramp-handle-verify-visited-file-modtime): Do not send a command
6372 when the connection is not established.
6373 (tramp-handle-set-file-times): Simplify the check for utc.
6375 2010-05-10 Juanma Barranquero <lekktu@gmail.com>
6377 Fix use of `filter-buffer-substring' (rework previous change).
6378 * emulation/cua-base.el (cua--filter-buffer-noprops): New function.
6379 (cua-repeat-replace-region):
6380 * emulation/cua-rect.el (cua--extract-rectangle, cua-incr-rectangle):
6381 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
6382 (cua-cut-region-to-global-mark): Use it.
6384 2010-05-09 Michael R. Mauger <mmaug@yahoo.com>
6386 * progmodes/sql.el: Version 2.1.
6387 (sql-product-alist): Redesign structure of product info.
6388 (sql-product, sql-user, sql-server, sql-database): Safe variables.
6389 (sql-port, sql-port-history): New variables.
6390 (sql-interactive-product): New variable.
6391 (sql-send-terminator): New variable.
6392 (sql-imenu-generic-expression): Add "Types" imenu entry.
6393 (sql-oracle-login-params, sql-sqlite-login-params)
6394 (sql-mysql-login-params, sql-solid-login-params)
6395 (sql-sybase-login-params, sql-informix-login-params)
6396 (sql-ingres-login-params, sql-ms-login-params)
6397 (sql-postgres-login-params, sql-interbase-login-params)
6398 (sql-db2-login-params, sql-linter-login-params)
6399 (sql-oracle-scan-on): New variables.
6400 (sql-mode-map): Add C-c C-i to start interactive mode.
6401 (sql-mode-menu): Update existing menu entries.
6402 (sql-font-lock-keywords-builder): Compile-time font-lock optimization.
6403 (sql-mode-oracle-font-lock-keywords)
6404 (sql-mode-postgres-font-lock-keywords)
6405 (sql-mode-ms-font-lock-keywords)
6406 (sql-mode-sybase-font-lock-keywords)
6407 (sql-mode-informix-font-lock-keywords)
6408 (sql-mode-interbase-font-lock-keywords)
6409 (sql-mode-ingres-font-lock-keywords)
6410 (sql-mode-solid-font-lock-keywords)
6411 (sql-mode-mysql-font-lock-keywords)
6412 (sql-mode-sqlite-font-lock-keywords)
6413 (sql-mode-db2-font-lock-keywords)
6414 (sql-mode-linter-font-lock-keywords): Update initialization to
6415 reduce run-time complexity.
6416 (sql-add-product, sql-del-product): New functions.
6417 (sql-set-product-feature, sql-get-product-feature): New functions.
6418 (sql-product-font-lock): Update product API.
6419 (sql-add-product-keywords): New function.
6420 (sql-highlight-product): Update product API.
6421 (sql-help-list-products): New function.
6422 (sql-help): Dynamically lists free and non-free products.
6423 (sql-get-login): Correct bug in handling history and added
6425 (sql-copy-column): Copy without properties.
6426 (sqli-input-sender): Apply filters to SQLi input.
6427 (sql-query-placeholders-and-send): Obey `sql-oracle-scan-on' setting.
6428 Implement as a filter.
6429 (sql-escape-newlines-filter): Implement as a filter.
6430 (sql-remove-tabs-filter): New function.
6431 (sql-send-magic-terminator): New function.
6432 (sql-send-string): Implement magic terminator.
6433 (sql-send-region): Use `sql-send-string'.
6434 (sql-interactive-mode): Use product API.
6435 (sql-product-interactive): Use product API.
6436 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
6437 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
6438 (sql-db2, sql-linter): Use `sql-product-interactive'.
6439 (sql-connect): New function.
6440 (sql-connect-oracle, sql-connect-sybase, sql-connect-informix)
6441 (sql-connect-sqlite, sql-connect-mysql, sql-connect-solid)
6442 (sql-connect-ingres, sql-connect-ms, sql-connect-postgres)
6443 (sql-connect-interbase, sql-connect-db2, sql-connect-linter):
6446 2010-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
6448 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
6449 New custom variable.
6450 (completion-pcm--string->pattern): Use it.
6451 (completion-pcm--pattern->regex, completion-pcm--pattern->string):
6452 Make it handle any symbol as `any'.
6453 (completion-pcm--merge-completions): Extract common suffix for the new
6454 `prefix' symbol as well.
6455 (completion-substring--all-completions): Use the new `prefix' symbol.
6457 2010-05-09 Michael Albinus <michael.albinus@gmx.de>
6459 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Define if
6461 (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
6462 (tramp-compat-funcall): New defmacro.
6463 (tramp-compat-line-beginning-position)
6464 (tramp-compat-line-end-position)
6465 (tramp-compat-temporary-file-directory)
6466 (tramp-compat-make-temp-file, tramp-compat-file-attributes)
6467 (tramp-compat-copy-file, tramp-compat-copy-directory)
6468 (tramp-compat-delete-file, tramp-compat-delete-directory)
6469 (tramp-compat-number-sequence, tramp-compat-process-running-p)
6470 * net/tramp.el (top, with-progress-reporter)
6471 (tramp-rfn-eshadow-setup-minibuffer)
6472 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
6473 (tramp-handle-dired-compress-file, tramp-handle-shell-command)
6474 (tramp-completion-mode-p, tramp-check-for-regexp)
6475 (tramp-open-connection-setup-interactive-shell)
6476 (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
6477 (tramp-time-diff, tramp-coding-system-change-eol-conversion)
6478 (tramp-set-process-query-on-exit-flag, tramp-unload-tramp)
6479 * net/tramp-cmds.el (tramp-cleanup-all-connections)
6480 (tramp-reporter-dump-variable, tramp-load-report-modules)
6481 (tramp-append-tramp-buffers)
6482 * net/tramp-gvfs.el (tramp-gvfs-handle-file-selinux-context): Use it.
6484 * net/tramp-imap.el (top): Autoload `epg-make-context'.
6486 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
6488 * progmodes/compile.el (compilation-buffer-modtime): Rename from
6489 buffer-modtime. Adjust users.
6491 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
6493 * international/mule.el (auto-coding-alist): Only purecopy
6494 car of each item, not the whole list (Bug#6083).
6496 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
6498 * progmodes/js.el (js-mode): Make paragraph variables local before
6499 calling c-setup-paragraph-variables (Bug#6071).
6501 2010-05-08 Eli Zaretskii <eliz@gnu.org>
6503 * composite.el (compose-region, reference-point-alist): Fix typos
6506 2010-05-08 Alexander Klimov <alserkli@inbox.ru> (tiny change)
6508 * calc/calc-graph.el (calc-graph-plot): Use the proper form for
6509 gnuplot's "set" command.
6511 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
6513 * abbrev.el (last-abbrev-text): Doc fix.
6514 (abbrev-prefix-mark): Don't escape parenthesis.
6516 2010-05-08 Andreas Schwab <schwab@linux-m68k.org>
6518 * composite.el (find-composition): Doc fix.
6520 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
6522 * progmodes/sql.el (sql-electric-stuff): Fix typo in tag.
6523 (sql-oracle-program, sql-sqlite-options)
6524 (sql-query-placeholders-and-send): Doc fixes.
6525 (sql-set-product, sql-interactive-mode): Reflow docstrings.
6526 (sql-imenu-generic-expression, sql-buffer)
6527 (sql-mode-ansi-font-lock-keywords, sql-mode-oracle-font-lock-keywords)
6528 (sql-mode-postgres-font-lock-keywords, sql-mode-ms-font-lock-keywords)
6529 (sql-mode-sybase-font-lock-keywords)
6530 (sql-mode-informix-font-lock-keywords)
6531 (sql-mode-interbase-font-lock-keywords)
6532 (sql-mode-ingres-font-lock-keywords, sql-mode-solid-font-lock-keywords)
6533 (sql-mode-mysql-font-lock-keywords, sql-mode-sqlite-font-lock-keywords)
6534 (sql-mode-db2-font-lock-keywords, sql-mode-font-lock-keywords)
6535 (sql-product-feature, sql-highlight-product)
6536 (comint-line-beginning-position, sql-rename-buffer)
6537 (sql-toggle-pop-to-buffer-after-send-region sql-oracle)
6538 (sql-sybase, sql-informix, sql-sqlite, sql-mysql, sql-solid)
6539 (sql-ingres, sql-ms, sql-postgres, sql-interbase, sql-db2, sql-linter):
6540 Fix typos in docstrings.
6542 2010-05-08 Juri Linkov <juri@jurta.org>
6544 * info.el (Info-fontify-node): Put Info-breadcrumbs to the `display'
6545 property instead of `invisible' and `after-string' (bug#5998).
6547 2010-05-08 Juri Linkov <juri@jurta.org>
6549 * image-mode.el (image-mode-as-text): Fix typo in docstring.
6551 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
6553 * filecache.el (file-cache-add-directory-list)
6554 (file-cache-add-directory-recursively): Fix typos in docstrings.
6556 2010-05-08 Kenichi Handa <handa@m17n.org>
6558 * language/indian.el (gurmukhi-composable-pattern): Fix typo.
6559 (gujarati-composable-pattern): Fix typo.
6561 2010-05-08 Kenichi Handa <handa@m17n.org>
6563 * language/indian.el (oriya-composable-pattern)
6564 (tamil-composable-pattern, malayalam-composable-pattern):
6565 Add two-part vowels to "v" (vowel sign).
6567 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
6569 * files.el (copy-directory): Handle symlinks (Bug#5982).
6571 2010-05-08 Dan Nicolaescu <dann@ics.uci.edu>
6573 * vc-hg.el (vc-hg-state): Use HGRCPATH, not HGRC.
6574 (vc-hg-working-revision): Likewise. Use hg parents, not hg parent
6577 2010-05-08 Glenn Morris <rgm@gnu.org>
6579 * emacs-lisp/lisp.el (lisp-completion-at-point): Give it a doc string.
6581 * minibuffer.el (completion-at-point): Doc fix.
6583 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
6585 * electric.el (Electric-command-loop): Minor tweak.
6587 * ebuff-menu.el (electric-buffer-list): Try and make it behave a bit
6588 better with dedicated windows.
6590 2010-05-07 Chong Yidong <cyd@stupidchicken.com>
6592 * Version 23.2 released.
6594 2010-05-07 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
6595 Stefan Monnier <monnier@iro.umontreal.ca>
6597 Highlight vendor specific properties.
6598 * textmodes/css-mode.el (css-proprietary-nmstart-re): New var.
6599 (css-proprietary-property): New face.
6600 (css-font-lock-keywords): Use them.
6602 2010-05-07 Eli Zaretskii <eliz@gnu.org>
6604 * cus-start.el (all): Add native condition for tool-bar-* symbols.
6606 2010-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
6608 * textmodes/dns-mode.el (auto-mode-alist): Add entry for .zone files.
6609 * files.el (auto-mode-alist): Remove redundant entries.
6611 * files.el (auto-save-mode): Move to simple.el to fix bootstrap.
6612 * simple.el (auto-save-mode): Move from files.el.
6613 * minibuffer.el (completion--common-suffix): Fix copy&paste error.
6615 2010-05-07 Christian von Roques <roques@mti.ag> (tiny change)
6617 * epg.el (epg-key-capablity-alist): Add "D" flag (Bug#5592).
6619 2010-05-07 Katsumi Yamaoka <yamaoka@jpl.org>
6621 * mail/binhex.el (binhex-decode-region-internal)
6622 * mail/uudecode.el (uudecode-decode-region-internal)
6623 * net/dns.el (dns-read-string-name, dns-write, dns-read)
6624 (dns-read-type, dns-query)
6625 * pgg-parse.el (pgg-parse-armor)
6626 * pgg.el (pgg-verify-region)
6627 * sha1.el (sha1-string-external): Don't run set-buffer-multibyte for
6630 * net/imap.el (imap-disable-multibyte): Redefine it as a macro.
6632 2010-05-07 Juanma Barranquero <lekktu@gmail.com>
6634 * progmodes/cperl-mode.el (cperl-mode-unload-function): New function.
6636 Fix use of `filter-buffer-substring' (4th arg NOPROPS removed).
6637 * emulation/cua-base.el (cua-repeat-replace-region):
6638 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
6639 (cua-cut-region-to-global-mark):
6640 Remove text properties with `set-text-properties'.
6642 2010-05-06 Michael Albinus <michael.albinus@gmx.de>
6644 * net/tramp.el (top, with-progress-reporter):
6645 Use `symbol-function' inside `funcall'.
6647 * net/tramp-compat.el (tramp-compat-file-attributes)
6648 (tramp-compat-delete-file, tramp-compat-delete-directory):
6649 Handle only `wrong-number-of-arguments' error.
6651 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Fix typo.
6652 (tramp-gvfs-handle-file-selinux-context): Use `symbol-function'
6655 2010-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
6657 * minibuffer.el (completion--sreverse, completion--common-suffix):
6659 (completion-pcm--merge-completions): Extract common suffix when safe.
6661 * emacs-lisp/easy-mmode.el (define-minor-mode):
6662 Make :variable more flexible.
6663 * files.el (auto-save-mode): Use it to define using define-minor-mode.
6665 2010-05-05 Juri Linkov <juri@jurta.org>
6667 Add `slow' and `history' tags to the desktop data.
6669 * info.el (Info-virtual-nodes) [*Index*]: Add `slow' tag.
6670 (Info-virtual-files) [*Apropos*]: Add `slow' tag.
6671 (Info-finder-find-node): Require `finder.el' to be able
6672 to restore node from the desktop.
6673 (Info-desktop-buffer-misc-data): Save all nodes. Save additional
6674 data `Info-history' and `slow' tag in the assoc list.
6675 (Info-restore-desktop-buffer): Don't restore nodes with the
6676 `slow' tag. Restore `Info-history'.
6678 2010-05-05 Michael Albinus <michael.albinus@gmx.de>
6680 Add FORCE argument to `delete-file'.
6682 * net/ange-ftp.el (ange-ftp-del-tmp-name): Make it a defun,
6683 forcing to delete the temporary file.
6684 (ange-ftp-delete-file): Add FORCE arg.
6685 (ange-ftp-rename-remote-to-remote)
6686 (ange-ftp-rename-local-to-remote, ange-ftp-rename-remote-to-local)
6687 (ange-ftp-load, ange-ftp-compress, ange-ftp-uncompress):
6688 Force file deletion.
6690 * net/tramp-compat.el (tramp-compat-delete-file): New defun.
6692 * net/tramp.el (tramp-handle-delete-file): Add FORCE arg.
6693 (tramp-handle-make-symbolic-link, tramp-handle-load)
6694 (tramp-do-copy-or-rename-file-via-buffer)
6695 (tramp-do-copy-or-rename-file-directly)
6696 (tramp-do-copy-or-rename-file-out-of-band)
6697 (tramp-handle-process-file, tramp-handle-call-process-region)
6698 (tramp-handle-shell-command, tramp-handle-file-local-copy)
6699 (tramp-handle-insert-file-contents, tramp-handle-write-region)
6700 (tramp-delete-temp-file-function): Use `tramp-compat-delete-file'.
6702 * net/tramp-fish.el (tramp-fish-handle-delete-file): Add FORCE arg.
6703 (tramp-fish-handle-make-symbolic-link)
6704 (tramp-fish-handle-process-file): Use `tramp-compat-delete-file'.
6706 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
6707 Use `tramp-compat-delete-file'.
6709 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Add FORCE arg.
6710 (tramp-gvfs-handle-write-region): Use `tramp-compat-delete-file'.
6712 * net/tramp-imap.el (tramp-imap-handle-delete-file): Add FORCE arg.
6713 (tramp-imap-do-copy-or-rename-file): Use `tramp-compat-delete-file'.
6715 * net/tramp-smb.el (tramp-smb-handle-delete-file): Add FORCE arg.
6716 (tramp-smb-handle-copy-file, tramp-smb-handle-file-local-copy)
6717 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region): Use
6718 `tramp-compat-delete-file'.
6720 2010-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
6723 * subr.el (add-minor-mode): Use push.
6724 * mail/supercite.el (sc-electric-mode): Use more descriptive arg name.
6725 * emulation/edt.el (edt-select-mode): Simplify.
6727 Use define-minor-mode in more cases.
6728 * term/tvi970.el (tvi970-set-keypad-mode):
6729 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
6730 (normal-erase-is-backspace-mode):
6731 * scroll-bar.el (scroll-bar-mode): Use it and define-minor-mode.
6732 (set-scroll-bar-mode-1): (Re)move to its sole caller.
6733 (get-scroll-bar-mode): New function.
6734 * emacs-lisp/cl-macs.el (eq): Handle a non-variable first arg.
6736 Use define-minor-mode for less obvious cases.
6737 * emacs-lisp/easy-mmode.el (define-minor-mode): Add :variable keyword.
6738 * emacs-lisp/cl-macs.el (terminal-parameter, eq): Add setf method.
6739 * international/iso-ascii.el (iso-ascii-mode):
6740 * frame.el (auto-raise-mode, auto-lower-mode):
6741 * composite.el (global-auto-composition-mode): Use define-minor-mode.
6743 2010-05-04 Michael Albinus <michael.albinus@gmx.de>
6745 * net/tramp.el (tramp-methods): Remove "-q" from `tramp-login-args'
6746 in order to see error messages for failed logins.
6748 2010-05-03 Chong Yidong <cyd@stupidchicken.com>
6750 * diff.el (diff-sentinel):
6752 * epg.el (epg--make-temp-file, epg-decrypt-string)
6753 (epg-verify-string, epg-sign-string, epg-encrypt-string):
6755 * jka-compr.el (jka-compr-partial-uncompress)
6756 (jka-compr-call-process, jka-compr-write-region, jka-compr-load):
6758 * server.el (server-sentinel): Use delete-file's new FORCE arg
6761 2010-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
6763 Use define-minor-mode where applicable.
6764 * view.el (view-mode):
6765 * type-break.el (type-break-query-mode)
6766 (type-break-mode-line-message-mode):
6767 * textmodes/reftex.el (reftex-mode):
6768 * term/vt100.el (vt100-wide-mode):
6769 * tar-mode.el (tar-subfile-mode):
6770 * savehist.el (savehist-mode):
6771 * ibuf-ext.el (ibuffer-auto-mode):
6772 * composite.el (auto-composition-mode):
6773 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
6774 Use define-minor-mode.
6775 (vhdl-mode): Use static mode-line format.
6776 (vhdl-mode-line-update): Delete.
6777 (vhdl-create-mode-menu, vhdl-activate-customizations)
6778 (vhdl-hs-minor-mode): Don't bother calling it.
6780 2010-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
6782 * simple.el (with-wrapper-hook): Move.
6783 (buffer-substring-filters): Mark obsolete.
6784 (filter-buffer-substring-functions): New variable.
6785 (filter-buffer-substring): Use it. Remove unused arg `noprops'.
6787 2010-05-01 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
6788 Michael Albinus <michael.albinus@gmx.de>
6790 Implement compression for inline methods.
6792 * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
6793 (tramp-copy-size-limit): Allow also nil.
6794 (tramp-inline-compress-commands): New defconst.
6795 (tramp-find-inline-compress, tramp-get-inline-compress)
6796 (tramp-get-inline-coding): New defuns.
6797 (tramp-get-remote-coding, tramp-get-local-coding): Remove,
6798 replaced by `tramp-get-inline-coding'.
6799 (tramp-handle-file-local-copy, tramp-handle-write-region)
6800 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
6802 2010-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
6804 * bindings.el (mode-line-abbrev-mode, mode-line-auto-fill-mode):
6805 Remove unused functions.
6807 * emacs-lisp/lisp-mode.el (lisp-mode): Use define-derived-mode.
6808 Set find-tag-default-function as a variable rather than a property.
6810 * minibuffer.el (tags-completion-at-point-function): Move to etags.el.
6811 * progmodes/etags.el (tags-completion-at-point-function):
6812 Remove left over interactive spec. Add autoloading stub.
6813 (complete-tag): Use tags-completion-at-point-function.
6815 2010-04-30 Chong Yidong <cyd@stupidchicken.com>
6817 * minibuffer.el (tags-completion-at-point-function): Fix return value.
6819 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
6821 * ido.el (ido-init-completion-maps): Remove C-v binding.
6822 (ido-minibuffer-setup): Don't set cua-inhibit-cua-keys (Bug#5765).
6824 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
6826 * minibuffer.el (tags-completion-at-point-function): New function.
6827 (completion-at-point-functions): Use it.
6829 * progmodes/etags.el (complete-tag): Revert last change.
6831 2010-04-29 Alan Mackenzie <acm@muc.de>
6833 * progmodes/cc-mode.el (c-extend-region-for-CPP): Fix an
6834 off-by-one error (in end of macro position).
6836 2010-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
6838 * net/browse-url.el (browse-url-firefox-program): Use iceweasel if
6839 firefox is absent. Don't autoload.
6840 (browse-url-galeon-program): Don't autoload.
6842 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
6844 * bindings.el (complete-symbol): Move into minibuffer.el.
6846 * minibuffer.el (complete-tag): Move from etags.el. If tags
6847 completion cannot be performed, return nil instead of signalling
6849 (completion-at-point): Make it an alias for complete-symbol.
6850 (complete-symbol): Move from bindings.el, and replace with the
6851 body of completion-at-point.
6853 * progmodes/etags.el (complete-tag): Move to minibuffer.el.
6855 2010-04-28 Michael Albinus <michael.albinus@gmx.de>
6857 * net/tramp.el (tramp-remote-selinux-p): New defun.
6858 (tramp-handle-file-selinux-context)
6859 (tramp-handle-set-file-selinux-context): Use it.
6861 2010-04-28 Sam Steingold <sds@gnu.org>
6863 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
6864 `safe-local-variable' if the value is a string or a symbol with
6865 the property `bug-reference-url-format'.
6867 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
6869 * progmodes/bug-reference.el (bug-reference-url-format):
6870 Revert 2010-04-27 change due to security risk.
6872 2010-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
6874 Make it possible to locally disable a globally enabled mode.
6875 * simple.el (fundamental-mode): Run fundamental-mode-hook.
6876 * emacs-lisp/derived.el (define-derived-mode): Use fundamental-mode
6877 rather than kill-all-local-variables so it runs fundamental-mode-hook.
6878 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
6879 Use fundamental-mode-hook to run MODE-enable-in-buffers earlier, so
6880 that subsequent hooks get a chance to disable it.
6882 2010-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
6884 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
6885 Avoid re-enabling a minor mode after the user turned the minor mode
6886 off if MODE-enable-in-buffers is run twice (typically once from
6887 fundamental-mode's after-change-major-mode-hook and a second time from
6888 run-mode-hook's own after-change-major-mode-hook).
6890 * emacs-lisp/lisp.el (lisp-complete-symbol): Fail gracefully.
6892 2010-04-27 Sam Steingold <sds@gnu.org>
6894 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
6895 `safe-local-variable' if the value is a string or a function, as
6896 documented and implemented on 2010-04-02.
6898 2010-04-27 Juanma Barranquero <lekktu@gmail.com>
6900 * ido.el (ido-buffer-internal): Bind `ido-use-virtual-buffers' to nil
6901 when method is 'kill.
6903 2010-04-27 Agustín Martín <agustin.martin@hispalinux.es>
6905 * textmodes/ispell.el (ispell-init-process): Fix personal dictionary
6906 condition in default directory check.
6907 (ispell-init-process,ispell-kill-ispell,kill-buffer-hook):
6908 Kill ispell process when killing its associated buffer.
6910 2010-04-27 Jan Djärv <jan.h.d@swipnet.se>
6912 * desktop.el (desktop-kill): ask-if-new: Ask if desktop file exists,
6913 but we aren't using it.
6915 2010-04-25 Jan Djärv <jan.h.d@swipnet.se>
6917 * tool-bar.el (tool-bar-local-item-from-menu): Revert unintended
6918 checkin in 2010-04-23T16:26:11Z!monnier@iro.umontreal.ca.
6920 2010-04-24 Glenn Morris <rgm@gnu.org>
6922 * emacs-lisp/authors.el (authors-obsolete-files-regexps):
6923 Ignore VCS-ignore files, and deleted nextstep preferences files.
6924 (authors-ignored-files): Ignore deleted cedet test files, and "*.el".
6925 (authors-ambiguous-files): New list.
6926 (authors-valid-file-names): Add some deleted files.
6927 (authors-renamed-files-alist): Add font-setting.el, edt-user.doc.
6928 (authors-disambiguate-file-name): New function. (Bug#5501)
6929 (authors-canonical-file-name): Doc fix.
6930 Don't warn about obsolete files.
6931 (authors-canonical-file-name, authors-scan-el):
6932 Use authors-disambiguate-file-name.
6934 * hfy-cmap.el (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
6935 Add autoload cookies.
6936 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values): Add docs.
6937 (generated-autoload-file): Set file-local value to "htmlfontify.el".
6938 * htmlfontify.el (caddr, cadddr): Remove fallback definitions.
6939 They have definitions / compiler macros in cl.el.
6940 (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
6941 Replace manual autoloads with generated ones.
6942 (htmlfontify-unload-rgb-file): Remove autoload.
6943 * Makefile.in (autoloads): Ensure htmlfontify.el is writable.
6945 2010-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
6947 * emacs-lisp/bytecomp.el (byte-compile-set-default): New function.
6948 (byte-compile-setq-default): Optimize for the
6949 single-var case and don't call byte-compile-form in this case to avoid
6950 inf-loop with byte-compile-set-default.
6952 * progmodes/compile.el (compilation-start): Abbreviate default directory.
6954 2010-04-23 Michael Albinus <michael.albinus@gmx.de>
6956 Implement SELINUX backends.
6958 * net/tramp.el (tramp-file-name-handler-alist):
6959 Add `file-selinux-context' and `set-file-selinux-context'.
6960 (tramp-handle-file-selinux-context)
6961 (tramp-handle-set-file-selinux-context): New defuns.
6962 (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
6963 Handle PRESERVE-SELINUX-CONTEXT.
6965 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6966 Add `file-selinux-context' and `set-file-selinux-context'.
6967 (tramp-gvfs-handle-file-selinux-context)
6968 (tramp-gvfs-handle-set-file-selinux-context): New defuns.
6969 (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
6971 * net/ange-ftp.el (ange-ftp-copy-file):
6972 * net/tramp-fish.el (tramp-fish-handle-copy-file):
6973 * net/tramp-imap.el (tramp-imap-handle-copy-file):
6974 * net/tramp-smb.el (tramp-smb-handle-copy-file):
6975 Add PRESERVE-SELINUX-CONTEXT.
6977 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
6979 Synchronize with Tramp repository.
6981 * net/tramp.el (with-connection-property, tramp-completion-mode-p)
6982 (tramp-action-process-alive, tramp-action-out-of-band)
6983 (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
6984 (tramp-exists-file-name-handler): Fix docstring.
6985 (with-progress-reporter): New defmacro.
6986 (tramp-do-copy-or-rename-file, tramp-handle-dired-compress-file)
6987 (tramp-maybe-open-connection): Use it.
6989 2010-04-22 Noah Lavine <noah549@gmail.com> (tiny change)
6991 Detect ssh 'ControlMaster' argument automatically in some cases.
6993 * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
6994 (tramp-default-method): Use it.
6996 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
6998 * net/tramp.el (tramp-handle-copy-file): Add new optional
6999 parameter `preserve-selinux-context'.
7000 (tramp-file-name-for-operation): Add `set-file-selinux-context'.
7002 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
7004 * net/tramp.el (tramp-completion-handle-file-name-all-completions):
7005 Ensure, that non remote files are still checked. Oops.
7007 2010-04-21 Michael Albinus <michael.albinus@gmx.de>
7011 * icomplete.el (icomplete-completions): Use `non-essential'.
7013 * net/tramp.el (tramp-connectable-p): New defun.
7014 (tramp-handle-expand-file-name)
7015 (tramp-completion-handle-file-name-all-completions)
7016 (tramp-completion-handle-file-name-completion): Use it.
7018 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
7020 * emacs-lisp/lisp.el (lisp-completion-at-point): Try and handle errors.
7022 2010-04-21 Jan Djärv <jan.h.d@swipnet.se>
7024 * vc-dir.el (vc-dir-tool-bar-map): Add :label on some tool bar items.
7026 * tool-bar.el (tool-bar-setup): Add :label on some tool bar items.
7028 * loadup.el: Load dynamic-setting.el if feature dynamic-setting
7031 * info.el (info-tool-bar-map): Add labels.
7033 * cus-start.el (all): Add tool-bar-style and tool-bar-max-label-size.
7035 * cus-edit.el (custom-commands): Add labels for tool bar.
7036 (custom-buffer-create-internal, Custom-mode): Adjust for
7037 labels in custom-commands.
7039 * dynamic-setting.el: Renamed from font-setting.el.
7041 2010-04-21 John Wiegley <jwiegley@gmail.com>
7043 * ido.el (ido-init-completion-maps): For ido-switch-buffer, C-o
7044 toggles the use of virtual buffers.
7045 (ido-buffer-internal): Guard `ido-use-virtual-buffers' global value.
7046 (ido-toggle-virtual-buffers): New function.
7048 2010-04-21 Juanma Barranquero <lekktu@gmail.com>
7050 Use `define-derived-mode'; fix window selection; doc fixes.
7051 * play/tetris.el (tetris, tetris-update-speed-function)
7052 (tetris-tty-colors, tetris-x-colors, tetris-move-bottom)
7053 (tetris-move-left, tetris-move-right, tetris-rotate-prev)
7054 (tetris-rotate-next, tetris-end-game, tetris-start-game)
7055 (tetris-pause-game): Fix typos in docstrings.
7056 (tetris-mode-map, tetris-null-map):
7057 Move initialization into declaration.
7058 (tetris-mode): Define with `define-derived-mode';
7059 set show-trailing-whitespace to nil.
7060 (tetris): Prefer window already displaying the "*Tetris*" buffer.
7062 2010-04-21 Karel Klíč <kklic@redhat.com>
7064 * files.el (backup-buffer): Handle SELinux context, and return it
7065 if a backup was made by renaming.
7066 (backup-buffer-copy): Set SELinux context to the target file.
7067 (basic-save-buffer): Set SELinux context of the newly written file.
7068 (basic-save-buffer-1): Now it also returns any SELinux context.
7069 (basic-save-buffer-2): Set SELinux context of the newly created file,
7071 * net/tramp.el (tramp-file-name-for-operation):
7072 Add file-selinux-context.
7074 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
7076 Make the log-edit comments use RFC822 format throughout.
7078 * vc.el (vc-checkin, vc-modify-change-comment):
7079 Adjust to new vc-start/finish-logentry.
7080 (vc-find-conflicted-file): New command.
7081 (vc-transfer-file): Adjust to new vc-checkin.
7082 (vc-next-action): Improve scoping.
7084 * vc-hg.el (vc-hg-log-edit-mode): Remove.
7085 (vc-hg-checkin): Remove extra arg. Use log-edit-extract-headers.
7087 * vc-git.el (vc-git-log-edit-mode): Remove.
7088 (vc-git-checkin): Remove extra arg. Use log-edit-extract-headers.
7089 (vc-git-commits-coding-system): Rename from git-commits-coding-system.
7091 * vc-dispatcher.el (vc-log-edit): Shorten names for log-edit-show-files.
7092 (vc-start-logentry): Remove argument `extra'.
7093 (vc-finish-logentry): Remove extra args.
7095 * vc-bzr.el (vc-bzr-log-edit-mode): Remove.
7096 (vc-bzr-checkin): Remove extra arg. Use log-edit-extract-headers.
7097 (vc-bzr-conflicted-files): New function.
7099 * log-edit.el (log-edit-extra-flags)
7100 (log-edit-before-checkin-process): Remove.
7101 (log-edit-summary, log-edit-header, log-edit-unknown-header): New faces.
7102 (log-edit-headers-alist): New var.
7103 (log-edit-header-contents-regexp): New const.
7104 (log-edit-match-to-eoh): New function.
7105 (log-edit-font-lock-keywords): Use them.
7106 (log-edit): Insert a "Summary:" header as default.
7107 (log-edit-mode): Mark font-lock rules as case-insensitive.
7108 (log-edit-done): Cleanup headers.
7109 (log-view-process-buffer): Remove.
7110 (log-edit-extract-headers): New function to replace it.
7112 2010-04-20 Juanma Barranquero <lekktu@gmail.com>
7114 * subr.el (default-direction-reversed): Remove obsolescence info.
7116 2010-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
7118 * vc-dispatcher.el (vc-finish-logentry): Don't mess so badly with the
7121 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete around point.
7122 I.e. include text after point in the completion region.
7123 Also, return nil when we're not after/in a symbol.
7125 * international/mule-cmds.el (view-hello-file): Don't fiddle with the
7126 default enable-multibyte-characters.
7128 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
7130 * international/mule.el: Help the user choose a valid coding-system.
7131 (read-buffer-file-coding-system): New function.
7132 (set-buffer-file-coding-system): Use it. Prompt the user if the
7133 coding-system cannot encode all the chars.
7135 * vc-bzr.el: Use standard *vc* and *vc-diff* buffers.
7136 (vc-bzr-shelve-show, vc-bzr-shelve-apply)
7137 (vc-bzr-shelve-apply-and-keep, vc-bzr-shelve-snapshot):
7138 Don't use *vc-bzr-shelve*.
7140 2010-04-19 Dan Nicolaescu <dann@ics.uci.edu>
7142 Fix the version number for added files.
7143 * vc-hg.el (vc-hg-working-revision): Check if the file is
7144 registered after hg parent fails (Bug#5961).
7146 2010-04-19 Glenn Morris <rgm@gnu.org>
7148 * htmlfontify.el (htmlfontify-buffer)
7149 (htmlfontify-copy-and-link-dir): Autoload entry points.
7151 2010-04-19 Magnus Henoch <magnus.henoch@gmail.com>
7153 * vc-hg.el (vc-hg-annotate-extract-revision-at-line): Expand file
7154 name relative to the project root (Bug#5960).
7156 2010-04-19 Glenn Morris <rgm@gnu.org>
7158 * vc-git.el (vc-git-print-log): Doc fix.
7160 2010-04-19 Óscar Fuentes <ofv@wanadoo.es>
7162 * ido.el (ido-file-internal): Fix 2009-12-02 change.
7164 2010-04-19 Christoph <cschol2112@googlemail.com> (tiny change)
7166 * progmodes/grep.el (grep-compute-defaults): Fix handling of host
7167 default settings (Bug#5928).
7169 2010-04-19 Glenn Morris <rgm@gnu.org>
7171 * progmodes/fortran.el (fortran-match-and-skip-declaration):
7173 (fortran-font-lock-keywords-3): Use it. (Bug#1385)
7175 2010-04-19 Kenichi Handa <handa@m17n.org>
7177 * language/indian.el (malayalam-composable-pattern): Fix previous
7178 change (add U+0D4D "SIGN VIRAMA").
7179 (oriya-composable-pattern): Add U+0B30 and fix typo in the regexp.
7180 (tamil-composable-pattern): Fix typo in the regexp.
7181 (telugu-composable-pattern): Fix U+0C4D and typo in the regexp.
7182 (kannada-composable-pattern): Fix U+0CB0 and typo in the regexp.
7183 (malayalam-composable-pattern): Fix U+0D4D and typo in the regexp.
7185 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
7187 * textmodes/tex-mode.el (latex-mode): Revert 2008-03-03 change to
7188 paragraph-separate (Bug#5821).
7190 2010-04-19 Juri Linkov <juri@jurta.org>
7192 Put breadcrumbs on overlay instead of inserting to buffer (bug#5809).
7194 * info.el (Info-find-node-2): Comment out code that skips
7196 (Info-mouse-follow-link): New command.
7197 (Info-link-keymap): New keymap.
7198 (Info-breadcrumbs): Rename from `Info-insert-breadcrumbs'.
7199 Return a string with links instead of inserting breadcrumbs
7201 (Info-fontify-node): Comment out code that inserts breadcrumbs.
7202 Instead of putting the `invisible' text property over the Info
7203 header, make an overlay over the Info header with the `invisible'
7204 property and `after-string' set to the string returned by
7207 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
7209 * help.el (help-window-setup-finish): Doc fix (Bug#5830).
7210 Reported by monkey@sandpframing.com.
7212 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
7214 * tmm.el (tmm-prompt): Remove obsolete call to x-popup-menu.
7215 (tmm-get-keymap): Add key-binding shortcuts now that they're not
7216 available in the "keyseq cache" any more.
7218 * custom.el (defcustom): Add edebug spec.
7220 2010-04-18 Juri Linkov <juri@jurta.org>
7222 Test for special mode-class in view-buffer instead of view-file (bug#5513).
7224 * view.el (view-file, view-buffer): Move test for special mode-class
7225 from view-file to view-buffer.
7227 * tar-mode.el (tar-extract): Turn if's into one cond
7228 like in arc-mode.el.
7230 2010-04-18 Juri Linkov <juri@jurta.org>
7232 Add 7z archive format support (bug#5475).
7234 * arc-mode.el (archive-zip-extract): Try to find 7z executable.
7235 (archive-7z-extract): New defcustom.
7236 (archive-find-type): Add magic string for 7z.
7237 (archive-extract-by-stdout): Add new optional arg `stderr-file'.
7238 If `stderr-file' is non-nil, use `(t stderr-file)' for the
7239 `buffer' arg of `call-process'.
7240 (archive-zip-extract): Check `archive-zip-extract' for "7z" and
7241 call the function `archive-7z-extract' with the variable
7242 `archive-7z-extract' let-bound to `archive-zip-extract'.
7243 (archive-7z-summarize, archive-7z-extract): New functions.
7245 * international/mule.el (auto-coding-alist):
7246 * files.el (auto-mode-alist): Add 7z file extension.
7248 2010-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
7250 * loadup.el: Setup hash-cons for pure data.
7252 Fix duplicate entries in cedet's loaddefs.el files.
7253 * emacs-lisp/autoload.el (autoload-file-load-name): Be more clever.
7254 Should make most file-local generated-autoload-file unnecessary.
7255 (print-readably): Silence warnings.
7256 (autoload-find-destination): Take load-name as an arg to make sure
7257 it's the same as the one that will be in the file.
7258 (autoload-generate-file-autoloads): Adjust to above changes.
7259 Try to make the dataflow a bit simpler.
7261 * cvs-status.el (cvs-refontify): Remove unused.
7263 2010-04-18 Jay Belanger <jay.p.belanger@gmail.com>
7265 * calc/calc.el (calc-mode-map): Bind "O" to `calc-missing-key'.
7267 * calc/calc-bin.el (calc-radix): Have the "O" option turn on
7268 twos-complement mode.
7270 2010-04-17 Jay Belanger <jay.p.belanger@gmail.com>
7272 * calc/calc-ext.el (calc-init-extensions): Add keybinding for
7273 'calc-option'. Add `calc-option-prefix-help' to calc-help autoloads.
7274 (calc-inverse): Add "Option" to message, as appropriate.
7275 (calc-hyperbolic): Add "Option" to message, as appropriate.
7276 (calc-option, calc-is-option): New functions.
7278 * calc/calc-help.el (calc-full-help): Add `calc-option-help'.
7279 (calc-option-prefix-help): New function.
7281 * calc/calc-misc.el (calc-help): Add "Option" entry.
7283 * calc/calc.el (calc-local-var-list): Add `calc-option-flag'.
7284 (calc-option-flag): New variable.
7285 (calc-do): Set `calc-option-flag to nil.
7286 (calc-set-mode-line): Add "Opt " as appropriate.
7288 2010-04-16 Juri Linkov <juri@jurta.org>
7290 Move scrolling commands from simple.el to window.el
7291 because their primitives are implemented in window.c.
7293 * simple.el (scroll-error-top-bottom)
7294 (scroll-up-command, scroll-down-command, scroll-up-line)
7295 (scroll-down-line, scroll-other-window-down)
7296 (beginning-of-buffer-other-window, end-of-buffer-other-window):
7297 * window.el (scroll-error-top-bottom)
7298 (scroll-up-command, scroll-down-command, scroll-up-line)
7299 (scroll-down-line, scroll-other-window-down)
7300 (beginning-of-buffer-other-window, end-of-buffer-other-window):
7301 Move from simple.el to window.el because their primitives are
7302 implemented in window.c.
7304 2010-04-16 Juri Linkov <juri@jurta.org>
7306 * isearch.el (isearch-lookup-scroll-key): Check both
7307 `isearch-scroll' and `scroll-command' properties.
7308 (scroll-up, scroll-down): Remove `isearch-scroll' property.
7310 * mwheel.el (mwheel-scroll): Remove `isearch-scroll' property.
7312 * simple.el (scroll-up-command, scroll-down-command)
7313 (scroll-up-line, scroll-down-line): Remove `isearch-scroll' property.
7315 2010-04-15 Juri Linkov <juri@jurta.org>
7317 * simple.el (scroll-up-command, scroll-down-command)
7318 (scroll-up-line, scroll-down-line): Put `scroll-command'
7319 property on the these symbols. Remove them from
7320 `scroll-preserve-screen-position-commands'.
7322 * mwheel.el (mwheel-scroll): Put `scroll-command' and
7323 `isearch-scroll' properties on the `mwheel-scroll' symbol.
7324 Remove it from `scroll-preserve-screen-position-commands'.
7326 * isearch.el (isearch-allow-scroll): Doc fix.
7328 2010-04-15 Michael Albinus <michael.albinus@gmx.de>
7330 * net/tramp.el (tramp-error-with-buffer): Don't show the
7331 connection buffer when we are in completion mode.
7332 (tramp-file-name-handler): Catch the error for some operations
7333 when we are in completion mode. This gives the user the chance to
7334 correct the file name in the minibuffer.
7336 2010-04-15 Glenn Morris <rgm@gnu.org>
7338 * progmodes/verilog-mode.el (verilog-forward-sexp): Avoid free variable.
7340 2010-04-15 Juanma Barranquero <lekktu@gmail.com>
7342 Simplify by using `define-derived-mode'.
7343 * info.el (Info-mode):
7344 * calendar/todo-mode.el (todo-mode):
7345 * play/gomoku.el (gomoku-mode): Define with `define-derived-mode'.
7346 (gomoku-mode-map): Move initialization into declaration.
7348 2010-04-14 Michael Albinus <michael.albinus@gmx.de>
7351 * ido.el (ido-file-name-all-completions-1):
7352 * minibuffer.el (minibuffer-completion-help):
7353 * net/tramp.el (tramp-completion-mode-p): Use `non-essential'.
7355 2010-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
7357 * simple.el (non-essential): New var.
7359 Add a new field `location' to bookmarks for non-file bookmarks.
7360 * bookmark.el (bookmark-location): Use the new field, if present.
7361 (bookmark-insert-location): Undo last change, not needed any more.
7362 * man.el (Man-bookmark-make-record):
7363 * woman.el (woman-bookmark-make-record): Add `location' field.
7365 2010-04-14 Juri Linkov <juri@jurta.org>
7367 * simple.el (scroll-error-top-bottom): New defcustom.
7368 (scroll-up-command, scroll-down-command): Use it. Doc fix.
7370 * emulation/pc-select.el (pc-select-override-scroll-error):
7371 Obsolete in favor of `scroll-error-top-bottom'.
7373 2010-04-14 Juri Linkov <juri@jurta.org>
7375 * tutorial.el (tutorial--default-keys): Rebind `C-v' to
7376 `scroll-up-command' and `M-v' to `scroll-down-command'.
7378 * emulation/cua-rect.el (cua--init-rectangles):
7379 * forms.el (forms--change-commands):
7380 * image-mode.el (image-mode-map):
7381 Remap scroll-down-command and scroll-up-command
7382 in addition to scroll-down and scroll-up.
7384 2010-04-14 Juri Linkov <juri@jurta.org>
7386 * mwheel.el (scroll-preserve-screen-position-commands):
7387 Add mwheel-scroll to this list of commands.
7389 * simple.el (scroll-preserve-screen-position-commands):
7390 Add scroll-up-command, scroll-down-command, scroll-up-line,
7391 scroll-down-line to this list of commands.
7393 2010-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
7395 * obsolete/complete.el: Move from lisp/complete.el.
7397 * pcomplete.el (pcomplete-here*): Fix mistaken change (bug#5935).
7399 * emacs-lisp/easy-mmode.el (define-minor-mode): Passing a nil argument
7400 to the minor mode function now turns the mode ON unconditionally.
7402 2010-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
7404 * vc-dir.el (vc-dir-kill-line): New command.
7405 (vc-dir-mode-map): Bind it to C-k.
7407 * bookmark.el (bookmark-insert-location): Handle a nil filename.
7409 * woman.el: Add bookmark declarations to silence the compiler.
7410 (bookmark-prop-get): Use `man-args' rather than `filename' as a first
7411 step to compatibility between man and woman bookmarks.
7412 Adjust for Man-default-bookmark-title renaming.
7413 (woman-bookmark-jump): Adjust accordingly. Don't forget to autoload.
7415 * man.el: Add bookmark declarations to silence the compiler.
7416 (Man-name-local-regexp): Make it match NAME as well.
7417 (Man-getpage-in-background): Return the buffer.
7418 (Man-notify-when-ready): Use `case'.
7419 (man-set-default-bookmark-title): Rename to Man-default-bookmark-title.
7420 Don't hardcode "NAME". Simplify.
7421 (Man-bookmark-make-record): Use Man-arguments rather than buffer-name.
7422 Rename from Man-bookmark-make-record.
7423 (Man-bookmark-jump): Rename from man-bookmark-jump. Simplify now that
7424 we have the actual man-args. Use Man-getpage-in-background rather
7425 than `man' since the arg is already processed. Let bookmark.el do the
7426 window handling. Only wait for the relevant process.
7427 Don't forget to autoload.
7429 * bookmark.el (bookmark-default-file): Use locate-user-emacs-file.
7431 2010-04-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7433 * woman.el (woman-bookmark-make-record, woman-bookmark-jump):
7435 (woman-mode): Setup bookmark support.
7437 * man.el (man-set-default-bookmark-title, man-bookmark-make-record)
7438 (man-bookmark-jump): New functions.
7439 (Man-mode): Setup bookmark support.
7441 2010-04-10 Jari Aalto <jari.aalto@cante.net>
7443 * comint.el (comint-password-prompt-regexp): Use regexp-opt, and
7444 recognize ssh-keygen prompt (Bug#2817).
7446 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
7448 * net/tramp.el (tramp-do-copy-or-rename-file): Add progress reporter.
7450 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
7452 Synchronize with Tramp repository.
7454 * net/tramp.el (tramp-completion-function-alist)
7455 (tramp-file-name-regexp, tramp-chunksize)
7456 (tramp-local-coding-commands, tramp-remote-coding-commands):
7458 (tramp-remote-process-environment): Use `format' instead of `concat'.
7459 (tramp-handle-directory-files-and-attributes)
7460 (tramp-get-remote-path): Use `copy-tree'.
7461 (tramp-handle-file-name-all-completions): Backward/ XEmacs
7462 compatibility: Use `completion-ignore-case' if
7463 `read-file-name-completion-ignore-case' does not exist.
7464 (tramp-do-copy-or-rename-file-directly): Do not use
7465 `tramp-handle-file-remote-p'.
7466 (tramp-do-copy-or-rename-file-out-of-band):
7467 Use `tramp-compat-delete-directory'.
7468 (tramp-do-copy-or-rename-file-out-of-band)
7469 (tramp-compute-multi-hops, tramp-maybe-open-connection):
7470 Use `format-spec-make'.
7471 (tramp-find-foreign-file-name-handler)
7472 (tramp-advice-make-auto-save-file-name)
7473 (tramp-set-auto-save-file-modes): Remove superfluous check for
7474 `stringp'. This is done inside `tramp-tramp-file-p'.
7475 (tramp-debug-outline-regexp): New defconst.
7476 (tramp-get-debug-buffer): Use it.
7477 (tramp-check-for-regexp): Use (forward-line 1).
7478 (tramp-set-auto-save-file-modes): Adapt version check.
7480 * net/tramp-compat.el (tramp-advice-file-expand-wildcards):
7481 Wrap call of `featurep' for 2nd argument.
7482 (tramp-compat-make-temp-file): Simplify fallback implementation.
7483 (tramp-compat-copy-tree): Remove function.
7484 (tramp-compat-delete-directory): Provide implementation for older
7487 * net/tramp-fish.el (tramp-fish-handle-directory-files-and-attributes):
7488 Do not use `tramp-fish-handle-file-attributes.
7490 * net/trampver.el: Update release number.
7492 2010-04-10 Glenn Morris <rgm@gnu.org>
7494 * progmodes/compile.el (compilation-save-buffers-predicate):
7495 Add missing :version tag.
7497 2010-04-09 Sam Steingold <sds@gnu.org>
7499 * progmodes/compile.el (compilation-save-buffers-predicate):
7500 Remove the "autoload" cookie.
7502 * progmodes/bug-reference.el (turn-on-bug-reference-mode)
7503 (turn-on-bug-reference-prog-mode): Remove, `bug-reference-mode'
7504 and `bug-reference-prog-mode' can be used in hooks directly.
7506 2010-04-09 Dan Nicolaescu <dann@ics.uci.edu>
7508 Add --author support to git commit.
7509 * vc-git.el (vc-git-checkin): Pass extra-args to the commit command.
7510 (vc-git-log-edit-mode): New minor mode.
7511 (log-edit-mode, log-edit-extra-flags, log-edit-mode):
7514 2010-04-09 Eric Raymond <esr@snark.thyrsus.com>
7516 * vc-hooks.el, vc-git.el: Improve documentation comments.
7518 2010-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
7520 Fix some of the problems in defsubst* (bug#5728).
7521 * emacs-lisp/cl-macs.el (defsubst*): Don't substitute non-trivial args.
7522 (cl-defsubst-expand): Do the substitutions simultaneously (bug#5728).
7524 2010-04-07 Sam Steingold <sds@gnu.org>
7526 * progmodes/compile.el (compilation-save-buffers-predicate):
7527 New custom variable.
7528 (compile, recompile): Pass it to `save-some-buffers'.
7530 2010-04-07 Jan Djärv <jan.h.d@swipnet.se>
7532 * wid-edit.el (widget-choose): Move cursor to the second line of
7533 the buffer (Bug#5695).
7535 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
7537 Add new VC methods: vc-log-incoming and vc-log-outgoing.
7538 * vc.el (vc-print-log-setup-buttons): New function split out from
7539 vc-print-log-internal.
7540 (vc-log-internal-common): New function, a parametrized version of
7541 vc-print-log-internal.
7542 (vc-print-log-internal): Just call vc-log-internal-common with the
7544 (vc-incoming-outgoing-internal):
7545 (vc-log-incoming, vc-log-outgoing): New functions.
7546 (vc-log-view-type): New permanent local variable.
7548 * vc-hooks.el (vc-menu-map): Bind vc-log-incoming and vc-log-outgoing.
7550 * vc-bzr.el (vc-bzr-log-view-mode): Use vc-log-view-type instead
7551 of the dynamic bound vc-short-log.
7552 (vc-bzr-log-incoming, vc-bzr-log-outgoing): New functions.
7554 * vc-git.el (vc-git-log-outgoing): New function.
7555 (vc-git-log-view-mode): Use vc-log-view-type instead
7556 of the dynamic bound vc-short-log.
7558 * vc-hg.el (vc-hg-log-view-mode): Use vc-log-view-type instead
7559 of the dynamic bound vc-short-log. Highlight the tag.
7560 (vc-hg-log-incoming, vc-hg-log-outgoing): New functions.
7561 (vc-hg-outgoing, vc-hg-incoming, vc-hg-outgoing-mode):
7562 (vc-hg-incoming-mode): Remove.
7563 (vc-hg-extra-menu-map): Do not bind vc-hg-incoming and vc-hg-outgoing.
7565 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
7567 Fix default-directory for vc-root-diff.
7568 * vc.el (vc-root-diff): Bind default-directory to the root
7569 directory for the diff command.
7571 2010-04-07 Michael McNamara <mac@mail.brushroad.com>
7573 * progmodes/verilog-mode.el (verilog-forward-sexp):
7574 (verilog-calc-1): Support "disable fork" and "fork wait" multi
7575 word keywords, suggested by Steve Pearlmutter.
7576 (verilog-pretty-declarations): Support lineup of declarations in
7578 (verilog-skip-backward-comments, verilog-skip-forward-comment-p):
7579 fix bug for /* / comments.
7580 (verilog-backward-syntactic-ws, verilog-forward-syntactic-ws):
7581 Speed up and simplfy as this is never called with a bound.
7582 (verilog-pretty-declarations): Enhance to line up declarations
7583 inside a parameter list, suggested by Alan Morgan.
7584 (verilog-pretty-expr): Tune assignment regular expression match
7585 string for corner cases; also use markers instead of character
7586 number as indent changes the later.
7588 2010-04-07 Wilson Snyder <wsnyder@wsnyder.org>
7590 * progmodes/verilog-mode.el (verilog-type-keywords): Fix pulldown
7592 (verilog-read-sub-decls-line): Fix comments in AUTO_TEMPLATE
7593 causing truncation of AUTOWIRE signals. Reported by Bruce Tennant.
7594 (verilog-auto-inst, verilog-auto-inst-port): Add vl_mbits for
7595 AUTO_TEMPLATEs needing multiple array bits. Suggested by Bruce
7598 (verilog-1800-2005-keywords, verilog-1800-2009-keywords): Add IEEE
7599 1800-2009 keywords, including "global.".
7601 2010-04-06 John Wiegley <jwiegley@gmail.com>
7603 * ido.el (ido-add-virtual-buffers-to-list): Fix duplicated names
7604 appearing in buffer list (if a live buffer name matched a recentf
7605 file basename). Should use uniquify to offer a real solution.
7607 2010-04-06 John Wiegley <jwiegley@gmail.com>
7609 * ido.el (ido-use-virtual-buffers, ido-virtual): Move a ChangeLog
7610 comment to code, and add a :version tag.
7611 (ido-virtual-buffers): Move defvar to fix byte-compiler warning.
7613 2010-04-06 Juanma Barranquero <lekktu@gmail.com>
7615 Enable recentf-mode if using virtual buffers.
7616 * ido.el (recentf-list): Declare for byte-compiler.
7617 (ido-virtual-buffers): Move up to silence byte-compiler. Add docstring.
7618 (ido-make-buffer-list): Simplify.
7619 (ido-add-virtual-buffers-to-list): Simplify. Enable recentf-mode.
7621 2010-04-05 Juri Linkov <juri@jurta.org>
7623 Scrolling commands which scroll a line instead of full screen.
7624 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
7626 * simple.el (scroll-up-line, scroll-down-line): New commands.
7627 Put property isearch-scroll=t on them.
7629 * emulation/ws-mode.el (scroll-down-line, scroll-up-line):
7632 2010-04-05 Juri Linkov <juri@jurta.org>
7634 Scrolling commands which do not signal errors at top/bottom.
7635 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
7637 * simple.el (scroll-up-command, scroll-down-command): New commands.
7638 Put property isearch-scroll=t on them.
7640 * bindings.el (global-map): Rebind [prior] from `scroll-down' to
7641 `scroll-down-command' and [next] from `scroll-up' to
7642 `scroll-up-command'.
7644 * emulation/cua-base.el: Put property CUA=move on
7645 `scroll-up-command' and `scroll-down-command'.
7646 (cua--init-keymaps): Remap `scroll-up-command' to `cua-scroll-up'
7647 and `scroll-down-command' to `cua-scroll-down'.
7649 2010-04-05 Juanma Barranquero <lekktu@gmail.com>
7651 * help.el (describe-mode): Return nil.
7653 2010-04-04 John Wiegley <jwiegley@gmail.com>
7655 * ido.el (ido-use-virtual-buffers): New variable to indicate
7656 whether "virtual buffer" support is enabled for IDO.
7657 (ido-virtual): Face used to indicate virtual buffers in the list.
7658 (ido-buffer-internal): If a buffer is chosen, and no such buffer
7659 exists, but a virtual buffer of that name does (which would be why
7660 it was in the list), recreate the buffer by reopening the file.
7661 (ido-make-buffer-list): If virtual buffers are being used, call
7662 `ido-add-virtual-buffers-to-list' before the make list hook.
7663 (ido-virtual-buffers): New variable which contains a copy of the
7664 current contents of the `recentf-list', albeit pared down for the
7665 sake of speed, and with proper faces applied.
7666 (ido-add-virtual-buffers-to-list): Using the `recentf-list',
7667 create a list of "virtual buffers" to present to the user in
7668 addition to the currently open set. Note that this logic could
7669 get rather slow if that list is too large. With the default
7670 `recentf-max-saved-items' of 200, there is little speed penalty.
7672 2010-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
7674 * font-lock.el: Require CL when compiling.
7675 (font-lock-turn-on-thing-lock): Use `case'.
7677 2010-04-03 Eli Zaretskii <eliz@gnu.org>
7679 * emacs-lisp/authors.el (authors-fixed-entries): Add entry for Eli
7682 2010-04-02 Juri Linkov <juri@jurta.org>
7684 * ehelp.el (electric-help-orig-major-mode):
7685 New buffer-local variable.
7686 (electric-help-mode): Set it to original major-mode. Doc fix.
7687 (with-electric-help): Use `electric-help-orig-major-mode' instead
7688 of (default-value 'major-mode). Doc fix.
7689 http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00069.html
7691 2010-04-02 Sam Steingold <sds@gnu.org>
7693 * vc-hg.el (vc-hg-push, vc-hg-pull): Use `apply' when calling
7694 `vc-hg-command' with a list of flags.
7696 * progmodes/bug-reference.el (bug-reference-bug-regexp):
7697 Also accept "patch" and "RFE".
7698 (bug-reference-fontify): `bug-reference-url-format' can also be a
7699 function to be able to handle the bug kind.
7700 (turn-on-bug-reference-mode, turn-on-bug-reference-prog-mode): Add.
7702 2010-04-02 Jan Djärv <jan.h.d@swipnet.se>
7704 * tmm.el (tmm-get-keymap): Check with symbolp before passing
7705 value to fboundp, it may not be a symbol.
7707 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
7709 * cus-edit.el (custom-buffer-sort-alphabetically): Update :version.
7711 2010-03-31 Juri Linkov <juri@jurta.org>
7713 * simple.el (next-line, previous-line): Re-throw a signal
7714 with `signal' instead of using `ding'.
7715 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01432.html
7717 2010-03-31 Juri Linkov <juri@jurta.org>
7719 * simple.el (keyboard-escape-quit): Raise deselecting the active
7720 region higher than exiting the minibuffer.
7721 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00904.html
7723 2010-03-31 Juri Linkov <juri@jurta.org>
7725 * image.el (image-animated-p): Use `image-metadata' instead of
7726 `image-extension-data'. Get GIF extenstion data from metadata
7727 property `extension-data'.
7729 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
7731 * simple.el (append-to-buffer): Simplify.
7733 2010-03-31 Tomas Abrahamsson <tab@lysator.liu.se>
7735 * textmodes/artist.el (artist-mode): Fix typo in docstring.
7736 Reported by Alex Schröder <kensanata@gmail.com>. (Bug#5807)
7738 2010-03-31 Kenichi Handa <handa@m17n.org>
7740 * language/sinhala.el (composition-function-table): Fix regexp for
7741 the new Unicode specification.
7743 * language/indian.el (devanagari-composable-pattern)
7744 (tamil-composable-pattern, kannada-composable-pattern)
7745 (malayalam-composable-pattern): Adjust for the new Unicode
7747 (bengali-composable-pattern, gurmukhi-composable-pattern)
7748 (gujarati-composable-pattern, oriya-composable-pattern)
7749 (telugu-composable-pattern): New variables to cope with the new
7750 Unicode specification. Use them in composition-function-table.
7752 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
7754 Make tmm-menubar work for the Buffers menu again (bug#5726).
7755 * tmm.el (tmm-prompt): Also handle keymap entries in the form of
7756 vectors rather than cons cells, as used in menu-bar-update-buffers.
7758 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
7760 * progmodes/js.el (js-auto-indent-flag, js-mode-map)
7761 (js-insert-and-indent): Revert 2009-08-15 change, restoring
7762 electric punctuation for "{}();,:" (Bug#5586).
7764 * mail/sendmail.el (mail-default-directory): Doc fix.
7766 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
7768 * mail/sendmail.el (mail-default-directory): Doc fix.
7770 2010-03-31 Eli Zaretskii <eliz@gnu.org>
7772 * subr.el (version-regexp-alist, version-to-list)
7773 (version-list-<, version-list-=, version-list-<=)
7774 (version-list-not-zero, version<, version<=, version=): Doc fix.
7777 2010-02-31 Dan Nicolaescu <dann@ics.uci.edu>
7779 * vc.el (vc-root-diff): Doc fix.
7781 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
7783 * vc.el (vc-print-log, vc-print-root-log): Doc fix.
7785 * simple.el (append-to-buffer): Fix last change.
7787 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
7789 * simple.el (append-to-buffer): Ensure that point is preserved if
7790 BUFFER is the current buffer. Suggested by YAMAMOTO Mitsuharu.
7793 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
7795 * files.el (auto-mode-case-fold): Change default to t.
7797 2010-03-30 Juri Linkov <juri@jurta.org>
7799 * dired-x.el (dired-omit-mode): Doc fix.
7801 2010-03-30 Juri Linkov <juri@jurta.org>
7803 * replace.el (occur-accumulate-lines): Move occur-engine related
7804 functions `occur-accumulate-lines' and `occur-engine-add-prefix'
7805 to be located after `occur-engine'.
7807 2010-03-30 Juri Linkov <juri@jurta.org>
7809 Make occur handle multi-line matches cleanly with context.
7810 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01280.html
7812 * replace.el (occur-accumulate-lines): Add optional arg `pt'.
7813 (occur-engine): Add local variables `ret', `prev-after-lines',
7814 `prev-lines'. Use more arguments for `occur-context-lines'.
7815 Set first elem of its returned list to `data', and the second elem
7816 to `prev-after-lines'. Don't print the separator line.
7817 In the end, print remaining context after-lines.
7818 (occur-context-lines): Add new arguments `begpt', `endpt',
7819 `lines', `prev-lines', `prev-after-lines'. Rewrite to combine
7820 after-lines of the previous match with before-lines of the
7821 current match and not overlap them. Return a list with two
7822 values: the output line and the list of context after-lines.
7824 2010-03-30 Juri Linkov <juri@jurta.org>
7826 * replace.el (occur-accumulate-lines): Fix a bug where the first
7827 context line at the beginning of the buffer was missing.
7829 2010-03-30 Eli Zaretskii <eliz@gnu.org>
7831 * files.el: Make bidi-display-reordering safe variable for boolean
7834 2010-03-29 Phil Hagelberg <phil@evri.com>
7835 Chong Yidong <cyd@stupidchicken.com>
7837 * subr.el: Extend progress reporters to perform "spinning".
7838 (progress-reporter-update, progress-reporter-do-update):
7839 Handle non-numeric value arguments.
7840 (progress-reporter--pulse-characters): New var.
7842 2010-03-28 Chong Yidong <cyd@stupidchicken.com>
7844 * progmodes/compile.el (compilation-start): Fix regexp detection
7845 of initial cd command (Bug#5771).
7847 2010-03-28 Stefan Guath <stefan@automata.se> (tiny change)
7849 * find-dired.el (find-dired): Use read-directory-name (Bug#5777).
7851 2010-03-27 Nick Roberts <nickrob@snap.net.nz>
7853 Restore GDB/MI fuctionality removed by 2009-12-29T07:15:34Z!nickrob@snap.net.nz.
7854 * progmodes/gdb-mi.el: Restore.
7855 * progmodes/gdb-ui.el: Remove.
7856 * progmodes/gud.el: Re-accommodate for gdb-mi.el.
7858 2010-03-25 Glenn Morris <rgm@gnu.org>
7860 * desktop.el (desktop-save-buffer-p): Don't mistakenly include
7861 all dired buffers, even tramp ones. (Bug#5755)
7863 2010-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
7865 Add "union tags" in mpc.el.
7866 * mpc.el: Remove backward compatibility code.
7867 (mpc-browser-tags): Change default.
7868 (mpc--find-memoize-union-tags): New var.
7869 (mpc-cmd-flush, mpc-cmd-special-tag-p): New fun.
7870 (mpc-cmd-find): Handle the case where the playlist does not exist.
7872 (mpc-cmd-list): Use mpc-cmd-special-tag-p. Handle union-tags.
7873 (mpc-cmd-add): Use mpc-cmd-flush.
7874 (mpc-tagbrowser-tag-name): New fun.
7875 (mpc-tagbrowser-buf): Use it.
7876 (mpc-songs-refresh): Use cond. Move to point-min as a fallback.
7878 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
7881 * progmodes/make-mode.el (makefile-bsdmake-rule-action-regex):
7882 Use replace-regexp-in-string.
7883 (makefile-mode-abbrev-table): Merge defvar and define-abbrev-table.
7884 (makefile-imake-mode-syntax-table): Move init into defvar.
7885 (makefile-mode): Use define-derived-mode.
7887 * progmodes/make-mode.el (makefile-rule-action-regex): Backtrack less.
7888 (makefile-make-font-lock-keywords): Adjust rule since submatch 1 may
7889 not be present any more.
7891 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
7893 * faces.el (set-face-attribute): Fix typo in docstring.
7894 (face-valid-attribute-values): Reflow docstring.
7896 2010-03-24 Glenn Morris <rgm@gnu.org>
7898 * textmodes/flyspell.el (sgml-lexical-context): Autoload it (Bug#5752).
7900 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
7902 * indent.el (indent-for-tab-command): Doc fix.
7904 2010-03-24 Alan Mackenzie <acm@muc.de>
7906 * progmodes/cc-engine.el (c-remove-stale-state-cache):
7907 Fix off-by-one error. Fixes bug #5747.
7909 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
7911 * image-dired.el (image-dired-display-thumbs): Fix typo in docstring.
7912 (image-dired-read-comment): Doc fix.
7914 * json.el (json-object-type, json-array-type, json-key-type)
7915 (json-false, json-null, json-read-number):
7916 * minibuffer.el (completion-in-region-functions):
7917 * calendar/cal-tex.el (cal-tex-daily-end, cal-tex-number-weeks)
7918 (cal-tex-cursor-week):
7919 * emacs-lisp/trace.el (trace-function):
7920 * eshell/em-basic.el (eshell/printnl):
7921 * eshell/em-dirs.el (eshell-last-dir-ring, eshell-parse-drive-letter)
7922 (eshell-read-last-dir-ring, eshell-write-last-dir-ring):
7923 * obsolete/levents.el (allocate-event, event-key, event-object)
7924 (event-point, event-process, event-timestamp, event-to-character)
7925 (event-window, event-x, event-x-pixel, event-y, event-y-pixel):
7926 * textmodes/reftex-vars.el (reftex-index-macros-builtin)
7927 (reftex-section-levels, reftex-auto-recenter-toc, reftex-toc-mode-hook)
7928 (reftex-cite-punctuation, reftex-search-unrecursed-path-first)
7929 (reftex-highlight-selection): Fix typos in docstrings.
7931 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
7933 * minibuffer.el (completion-in-region-functions): Fix docstring typos.
7935 2010-03-24 Glenn Morris <rgm@gnu.org>
7937 * mail/rmail.el (rmail-highlight-face): Restore option deleted
7938 2008-02-13 without comment; mark it obsolete.
7939 (rmail-highlight-headers): Use rmail-highlight-face once more.
7941 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
7943 * woman.el (woman2-process-escapes): Only consume the newline if
7944 the filler character is on a line by itself (Bug#5729).
7946 2010-03-24 Kenichi Handa <handa@m17n.org>
7948 * language/indian.el (devanagari-composable-pattern): Add more
7951 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
7953 * net/trampver.el: Update release number.
7955 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
7957 * net/tramp.el (tramp-find-executable):
7958 Use `tramp-get-connection-buffer'. Make the regexp for checking
7959 output of "wc -l" more robust.
7960 (tramp-find-shell): Use another shell but /bin/sh on OpenSolaris.
7961 (tramp-open-connection-setup-interactive-shell): Remove workaround
7962 for OpenSolaris bug, it is not needed anymore.
7964 2010-03-24 Glenn Morris <rgm@gnu.org>
7966 * emacs-lisp/cl-macs.el (defsubst*): Add autoload cookie. (Bug#4427)
7968 2010-03-24 Wilson Snyder <wsnyder@wsnyder.org>
7970 * files.el (auto-mode-alist): Accept more verilog file patterns.
7972 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
7974 * vc-dir.el (vc-dir-headers): Abbreviate the working dir.
7976 2010-03-24 Glenn Morris <rgm@gnu.org>
7978 * vc-bzr.el (vc-bzr-log-edit-mode): Add --fixes support to
7979 log-edit-before-checkin-process.
7981 * vc.el (vc-modify-change-comment): Pass MODE to vc-start-logentry.
7983 * vc.el, vc-bzr.el, vc-hg.el (log-edit-mode): Declare.
7985 * vc-dispatcher.el (vc-start-logentry): Doc fix.
7986 (log-view-process-buffer, log-edit-extra-flags): Declare.
7988 * log-edit.el (log-edit-before-checkin-process): Doc fix.
7990 2010-03-23 Sam Steingold <sds@gnu.org>
7992 Fix bug#5620: recalculate all markers on compilation buffer
7993 modifications, not on file modifications.
7994 * progmodes/compile.el (buffer-modtime): New buffer-local variable:
7995 the buffer modification time, for buffers not associated with files.
7996 (compilation-mode): Create it.
7997 (compilation-filter): Update it.
7998 (compilation-next-error-function): Use it instead of
7999 `visited-file-modtime' for timestamp.
8001 2010-03-23 Juri Linkov <juri@jurta.org>
8003 Implement Occur multi-line matches.
8004 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01044.html
8006 * replace.el (occur): Doc fix.
8007 (occur-engine): Set `begpt' to the beginning of the first line.
8008 Set `endpt' to the end of the last match line. At first, count
8009 line numbers between `origpt' and `begpt'. Split out code from
8010 `out-line' variable to new let-bindings `match-prefix' and
8011 `match-str'. In `out-line' add non-numeric prefix to all
8012 non-first lines of multi-line matches. Finally, count lines
8013 between `begpt' and `endpt' and add to `lines'.
8015 2010-03-23 Juri Linkov <juri@jurta.org>
8017 * replace.el (occur-accumulate-lines, occur-engine):
8018 Use `occur-engine-line' instead of duplicate code.
8019 (occur-engine-line): New function created from duplicate code
8020 in `occur-accumulate-lines' and `occur-engine'.
8022 * replace.el (occur-engine-line): Add optional arg `keep-props'.
8023 (occur-accumulate-lines, occur-engine): Add arg `keep-props'.
8025 2010-03-23 Juri Linkov <juri@jurta.org>
8027 * finder.el: Remove TODO tasks.
8029 * info.el (Info-finder-find-node): Add node "all"
8030 with all package info. Handle a list of multiple keywords
8032 (info-finder): In interactive use with a prefix argument,
8033 use `completing-read-multiple' to read a list of keywords
8036 2010-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
8038 Add a new completion style `substring'.
8039 * minibuffer.el (completion-basic--pattern): New function.
8040 (completion-basic-try-completion, completion-basic-all-completions):
8042 (completion-substring--all-completions)
8043 (completion-substring-try-completion)
8044 (completion-substring-all-completions): New functions.
8045 (completion-styles-alist): New style `substring'.
8047 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
8049 Get rid of .elc files after removal of the corresponding .el.
8050 * Makefile.in (compile-clean): New target.
8051 (compile-main): Use it.
8053 2010-03-22 Jan Djärv <jan.h.d@swipnet.se>
8055 * Makefile.in (compile-main): cd to $(lisp) in a sub-shell, so we
8056 don't do make there. When compiling with separate object dir, there
8057 is no Makefile there.
8059 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
8061 Get rid of the ELCFILES abomination, again.
8062 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
8063 (all, compile): Don't call compile-last.
8064 (compile-main): Build the "elcfiles" list dynamically.
8065 (compile-targets): New (internal) target.
8067 2010-03-21 Andreas Schwab <schwab@linux-m68k.org>
8069 * Makefile.in (top_srcdir): Define.
8070 (abs_top_builddir): Define.
8071 (srcdir): Don't append `/..'.
8072 (EMACS): Use ${abs_top_builddir}.
8073 (all, compile, compile-always, compile-last): Don't set emacswd.
8074 (update-subdirs, update-authors): Use $(top_srcdir) instead of
8076 (lisp): Use $(srcdir) instead of @srcdir@.
8078 2010-03-21 Juri Linkov <juri@jurta.org>
8080 Fix message of multi-line occur regexps and multi-buffer header lines.
8081 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00457.html
8083 * replace.el (occur-1): Don't display regexp if it is longer
8084 than window-width. Use `query-replace-descr' to display regexp.
8085 (occur-engine): Don't display regexp in the buffer header for
8086 multi-buffer occur. Display a separate header line with total
8087 match count and regexp for multi-buffer occur.
8088 Use `query-replace-descr' to display regexp.
8090 2010-03-20 Teodor Zlatanov <tzz@lifelogs.com>
8092 * net/secrets.el: Fix parenthesis.
8093 (secrets-enabled): Fix parenthesis.
8095 2010-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
8097 Use more relative file and directory names.
8098 * Makefile.in (EMACS): Arrange for it to work when we chdir.
8099 (setwins, setwins_almost, setwins_for_subdirs):
8100 Don't `cd'; output relative names.
8101 (all, compile, compile-always, compile-last): Set emacswd.
8102 (custom-deps, finder-data, autoloads, update-subdirs, compile-last):
8103 Just cd to the lisp source dir so we can use relative file names.
8105 * outline.el (hide-sublevels): Unfix the paren non-typo! (bug#5738).
8107 2010-03-20 Glenn Morris <rgm@gnu.org>
8109 * textmodes/rst.el: Use faces for font-lock customization, and make the
8110 old -face variables obsolete.
8111 (rst-block, rst-external, rst-definition, rst-directive, rst-comment)
8112 (rst-emphasis1, rst-emphasis2, rst-literal, rst-reference): New faces.
8113 (rst-block-face, rst-external-face, rst-definition-face)
8114 (rst-directive-face, rst-comment-face, rst-emphasis1-face)
8115 (rst-emphasis2-face, rst-literal-face, rst-reference-face):
8117 (rst-font-lock-keywords-function): Update for above changes.
8119 2010-03-20 Juri Linkov <juri@jurta.org>
8122 * obsolete/s-region.el: Move to obsolete.
8124 2010-03-19 Juanma Barranquero <lekktu@gmail.com>
8126 * vc-dispatcher.el (vc-do-command): Remove reference to `vc-path'.
8128 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
8130 * vc-hooks.el (vc-path): Remove variable and obsolete declaration.
8132 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
8134 Add special markup processing for commit logs.
8135 * log-edit.el (log-edit-extra-flags): New variable.
8136 (log-edit): Add new argument MODE. Use that mode when non-nil
8137 instead of the log-view-mode.
8138 (log-view-process-buffer): New function.
8140 * vc.el: Document that the checkin method takes optional
8141 arguments. Document new backend specific method: log-view-mode.
8142 (vc-default-log-edit-mode): New function.
8143 (vc-checkin): Use a backend specific log-view-mode.
8144 Pass extra arguments to the checkin method.
8145 (vc-modify-change-comment): Pass a dummy extra argument.
8147 * vc-dispatcher.el (vc-log-edit): Add a mode argument, pass it to
8149 (vc-start-logentry): Add a mode argument, pass it to vc-log-edit.
8150 (vc-finish-logentry): Process the log buffer before passing it
8151 down. Pass log-edit-extra-flags.
8153 * vc-bzr.el (vc-bzr-checkin): Pass extra arguments to the commit
8155 (log-edit-extra-flags, log-edit-before-checkin-process):
8158 * vc-hg.el (vc-hg-checkin): Pass extra arguments to the commit
8160 (log-edit-extra-flags, log-edit-before-checkin-process):
8162 (vc-hg-log-edit-mode): New derived mode.
8164 * vc-arch.el (vc-arch-checkin):
8165 * vc-cvs.el (vc-cvs-checkin):
8166 * vc-git.el (vc-git-checkin):
8167 * vc-mtn.el (vc-mtn-checkin):
8168 * vc-rcs.el (vc-rcs-checkin):
8169 * vc-sccs.el (vc-sccs-checkin):
8170 * vc-svn.el (vc-svn-checkin): Add an optional ignored argument.
8172 2010-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
8174 * outline.el (hide-sublevels): Don't hide trailing newline (and fix
8177 2010-03-19 Glenn Morris <rgm@gnu.org>
8179 * password-cache.el (password-cache, password-cache-expiry): Autoload.
8181 2010-03-18 Glenn Morris <rgm@gnu.org>
8183 * emacs-lisp/autoload.el (autoload-rubric): Doc fix.
8185 * replace.el (query-replace-history): Give it a doc string.
8186 (map-query-replace-regexp): Use query-replace-from-history-variable
8187 and query-replace-to-history-variable.
8189 * mail/hashcash.el (declare-function): Remove duplicate definition.
8191 * mail/emacsbug.el (report-emacs-bug-pretest-address):
8192 Make it an obsolete alias for report-emacs-bug-address.
8193 (message-strip-special-text-properties): Declare.
8194 (report-emacs-bug): Remove test for a pretest bug address.
8195 Combine message-mode-specific code.
8197 * mail/supercite.el: Don't require sendmail.
8198 (mh-in-header-p): Declare rather than using with-no-warnings.
8199 (sc-no-blank-line-or-header): Use rfc822-goto-eoh rather than
8200 mail-header-end. Don't bind mysterious variable `kill-lines-magic'.
8202 * calendar/cal-french.el: Convert to utf-8.
8204 * files.el (interpreter-mode-alist): Use emacs-lisp-mode for
8207 2010-03-16 Michael Albinus <michael.albinus@gmx.de>
8209 * net/secrets.el (secrets-enabled): New variable. Use it instead
8212 2010-03-15 Michael Albinus <michael.albinus@gmx.de>
8214 * net/secrets.el (top): Register the D-Bus signals only when the
8215 service "org.freedesktop.secrets" can be pinged.
8216 Provide subfeature `enabled'.
8218 2010-03-14 Juri Linkov <juri@jurta.org>
8220 Add finder unknown keywords.
8222 * finder.el (finder-unknown-keywords): New function.
8224 * info.el (Info-finder-find-node): Use `finder-unknown-keywords'
8225 to create a Finder node with unknown keywords.
8227 2010-03-14 Juri Linkov <juri@jurta.org>
8229 * finder.el (finder-compile-keywords): Replace `princ' with
8230 `prin1' on a list of symbols interned from keyword strings.
8232 * emacs-lisp/lisp-mnt.el (lm-keywords-list): If `keywords' contains
8233 a comma, then split keywords using a comma and optional whitespace.
8234 Otherwise, split by whitespace.
8242 * progmodes/mixal-mode.el: Fix keywords.
8244 2010-03-13 Michael Albinus <michael.albinus@gmx.de>
8246 * Makefile.in (ELCFILES): Add net/secrets.elc.
8248 * net/secrets.el: New file.
8250 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
8252 * facemenu.el (list-colors-display, list-colors-print): New arg
8253 callback. Use it to allow selecting colors.
8255 * wid-edit.el (widget-image-insert): Insert image prop even if the
8256 current display is non-graphic.
8257 (widget-field-value-set): New fun.
8258 (editable-field): Use it.
8259 (widget-field-value-get): Clean up unused var.
8260 (widget-color-value-create, widget-color--choose-action):
8261 New funs. Allow using list-colors-display to choose color.
8263 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
8265 * cus-edit.el: Resort topmost custom groups.
8266 (custom-buffer-sort-alphabetically): Default to t.
8267 (customize-apropos): Use apropos-parse-pattern.
8268 (custom-search-field): New var.
8269 (custom-buffer-create-internal): Add custom-apropos search field.
8270 (custom-add-parent-links): Don't display parent doc.
8271 (custom-group-value-create): Don't sort top-level custom group.
8272 (custom-magic-value-create): Show visibility button before option name.
8274 (custom-variable-state): New fun, from custom-variable-state-set.
8275 (custom-variable-state-set): Use it.
8276 (custom-group-value-create): Hide options with standard values
8277 using the :hidden-states property. Use progress reporter.
8279 (custom-show): Simplify.
8280 (custom-visibility): Disable images by default.
8281 (custom-variable): New property :hidden-states.
8282 (custom-variable-value-create): Enable images for
8283 custom-visibility widgets. Use :hidden-states property to
8284 determine initial visibility.
8286 * wid-edit.el (widget-image-find): Give images center ascent.
8287 (visibility): Add :on-image and :off-image properties.
8288 (widget-visibility-value-create): Use them.
8290 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
8292 * cus-edit.el (processes): Remove from development group.
8293 (oop, hypermedia): Delete group.
8294 (comm): Promote to top-level group.
8296 * net/browse-url.el (browse-url):
8297 * net/xesam.el (xesam):
8298 * net/tramp.el (tramp):
8299 * net/goto-addr.el (goto-address):
8300 * net/ange-ftp.el (ange-ftp): Put in comm group.
8302 * view.el (view): Remove from editing group.
8304 * uniquify.el (uniquify): Put in files group.
8306 * net/browse-url.el (browse-url):
8307 * ps-print.el (postscript): Put in external group.
8309 * cus-edit.el (outlines):
8310 * textmodes/text-mode.el (text-mode-hook):
8311 * textmodes/table.el (table):
8312 * textmodes/picture.el (picture):
8313 * outline.el (outlines): Put in wp group.
8315 * nxml/nxml-mode.el (nxml): Remove from wp group.
8317 * net/tramp-imap.el (tramp-imap): Put in tramp group.
8319 * mail/metamail.el (metamail): Remove from hypermedia group.
8321 * cus-edit.el (abbrev):
8322 * whitespace.el (whitespace):
8323 * vcursor.el (vcursor):
8324 * reveal.el (reveal):
8325 * hl-line.el (hl-line): Put in convenience group.
8327 * epg-config.el (epg): Put in data group.
8329 * emulation/pc-select.el (pc-select): Put in emulations group.
8331 * calculator.el (calculator): Put in applications group.
8333 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
8335 Add .dir-locals.el support for file-less buffers.
8336 * files.el (hack-local-variables): Split out code to apply local
8337 variable settings ...
8338 (hack-local-variables-apply): ... here. New function.
8339 (hack-dir-local-variables): Use the default directory for when the
8340 buffer does not have an associated file.
8341 (hack-dir-local-variables-non-file-buffer): New function.
8342 * diff-mode.el (diff-mode):
8343 * vc-annotate.el (vc-annotate-mode):
8344 * vc-dir.el (vc-dir-mode):
8345 * log-edit.el (log-edit-mode):
8346 * log-view.el (log-view-mode): Call hack-dir-local-variables-non-file-buffer.
8348 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
8350 Add support for shelving snapshots and for showing shelves.
8351 * vc-bzr.el (vc-bzr-shelve-show, vc-bzr-shelve-show-at-point)
8352 (vc-bzr-shelve-apply-and-keep-at-point, vc-bzr-shelve-snapshot):
8354 (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
8355 (vc-bzr-extra-menu-map): Map them.
8357 2010-03-11 Glenn Morris <rgm@gnu.org>
8359 * cus-edit.el (customize-changed-options-previous-release):
8362 * image.el (image-animate-max-time): Fix :version tag.
8364 2010-03-10 Chong Yidong <cyd@stupidchicken.com>
8368 2010-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
8370 * vc-git.el (vc-git-revision-table): Include remote branches.
8372 2010-03-10 Kim F. Storm <storm@cua.dk>
8375 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00211.html
8377 * image.el (image-animate-max-time): New defcustom.
8378 (image-animated-types): New defconst.
8379 (create-animated-image, image-animate-timer)
8380 (image-animate-start, image-animate-stop, image-animate-timeout)
8381 (image-animated-p): New functions.
8383 * image-mode.el (image-toggle-display-image):
8384 Replace `create-image' with `create-animated-image'.
8386 2010-03-09 Miles Bader <miles@gnu.org>
8388 * vc-git.el (vc-git-print-log): Use "tformat:" for shortlog,
8389 instead of "format:"; this ensures that the output is
8392 2010-03-08 Chong Yidong <cyd@stupidchicken.com>
8394 * mail/rfc822.el (rfc822-addresses): Use nested catches to ensure
8395 that all errors are caught, and that the return value is always a
8398 2010-03-08 Kenichi Handa <handa@m17n.org>
8400 * language/misc-lang.el (windows-1256): New coding system.
8401 (cp1256): New alias of windows-1256 (bug#5690).
8403 2010-03-07 Andreas Schwab <schwab@linux-m68k.org>
8405 * mail/rfc822.el (rfc822-addresses): Move catch clause down around
8406 call to rfc822-bad-address. (Bug#5692)
8408 2010-03-07 Štěpán Němec <stepnem@gmail.com> (tiny change)
8410 * vc-git.el (vc-git-annotate-extract-revision-at-line):
8411 Use vc-git-root as default directory for revision path (Bug#5657).
8413 2010-03-06 Chong Yidong <cyd@stupidchicken.com>
8415 * calculator.el (calculator): Don't bind split-window-keep-point
8418 2010-03-06 Stefan Monnier <monnier@iro.umontreal.ca>
8420 * vc-git.el: Re-flow to fit into 80 columns.
8421 (vc-git-after-dir-status-stage, vc-git-dir-status-goto-stage):
8422 Remove spurious `quote' element in each case alternative.
8423 (vc-git-show-log-entry): Use prog1.
8424 (vc-git-after-dir-status-stage): Remove unused var `remaining'.
8426 2010-03-05 Stefan Monnier <monnier@iro.umontreal.ca>
8428 * man.el (Man-files-regexp): Tighten up the regexp (bug#5686).
8430 2010-03-03 Chong Yidong <cyd@stupidchicken.com>
8432 * macros.el (insert-kbd-macro): Look up keyboard macro using the
8433 definition, not the name (Bug#5481).
8435 2010-03-03 Štěpán Němec <stepnem@gmail.com> (tiny change)
8437 * subr.el (momentary-string-display): Don't overwrite the MESSAGE
8438 argument with a local variable. (Bug#5670)
8440 2010-03-02 Juri Linkov <juri@jurta.org>
8442 * info.el (Info-index-next): Decrement line number by 2. (Bug#5652)
8444 2010-03-02 Michael Albinus <michael.albinus@gmx.de>
8446 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Fix an
8447 error when FILENAME and NEWNAME are existing remote directories.
8449 * net/tramp-compat.el (tramp-compat-make-temp-file): Add optional
8452 2010-03-02 Glenn Morris <rgm@gnu.org>
8454 * calendar/cal-hebrew.el (holiday-hebrew-passover): Fix date
8455 of Yom HaAtzma'ut when it falls on a Monday (rule changed in 2004).
8457 2010-03-01 Kenichi Handa <handa@m17n.org>
8459 * language/burmese.el (burmese-composable-pattern): Rename from
8460 myanmar-composable-pattern.
8462 * international/characters.el (script-list):
8463 * international/fontset.el (script-representative-chars):
8464 Change myanmar to burmese.
8465 (otf-script-alist): Likewise.
8466 (setup-default-fontset): Likewise. Re-fix :otf spec.
8468 2010-02-28 Katsumi Yamaoka <yamaoka@jpl.org>
8470 * menu-bar.el (menu-bar-manuals-menu): Fix typo.
8472 2010-02-28 Jan Djärv <jan.h.d@swipnet.se>
8474 * scroll-bar.el (scroll-bar-drag-1): Add save-excursion, bug #5654.
8476 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
8478 * net/tramp.el (tramp-handle-write-region): START can be a string.
8479 Take care in the checks. Reported by Dan Davison
8480 <davison@stats.ox.ac.uk>.
8482 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
8484 * net/dbus.el (dbus-introspect, dbus-get-property)
8485 (dbus-set-property, dbus-get-all-properties):
8486 Use `dbus-call-method' when noninteractive. (Bug#5645)
8488 2010-02-28 Chong Yidong <cyd@stupidchicken.com>
8490 * textmodes/reftex-toc.el (reftex-toc-promote-prepare):
8491 * emacs-lisp/elint.el (elint-add-required-env):
8492 * calendar/icalendar.el (icalendar--add-diary-entry):
8493 * calc/calcalg2.el (math-tracing-integral):
8494 * files.el (recover-session-finish): Use with-current-buffer
8495 instead of save-excursion.
8497 2010-02-27 Stefan Monnier <monnier@iro.umontreal.ca>
8499 Fix in-buffer completion when after-change-functions modify the buffer.
8500 * minibuffer.el (completion--replace): New function.
8501 (completion--do-completion): Use it and use relative movement.
8503 2010-02-27 Chong Yidong <cyd@stupidchicken.com>
8505 * international/fontset.el (setup-default-fontset): Fix :otf spec.
8507 2010-02-27 Jeremy Whitlock <jcscoobyrs@gmail.com> (tiny change)
8509 * progmodes/python.el (python-pdbtrack-stack-entry-regexp):
8510 Allow the characters _<> in the stack entry (Bug#5653).
8512 2010-02-26 Kenichi Handa <handa@m17n.org>
8514 * language/burmese.el: Fix entries in composition-function-table.
8515 (myanmar-composable-pattern): New variable.
8517 * international/fontset.el (setup-default-fontset): Add an entry
8520 * international/characters.el (script-list): Add Myanmar
8523 2010-02-26 Glenn Morris <rgm@gnu.org>
8525 * custom.el (custom-initialize-delay): Doc fix.
8527 * mail/sendmail.el (send-mail-function): Autoload the call
8528 to custom-initialize-delay, not otherwise preserved in loaddefs.el.
8530 2010-02-24 Chong Yidong <cyd@stupidchicken.com>
8532 * files.el (hack-local-variables-filter): For eval forms, also
8533 check safe-local-variable-p (Bug#5636).
8535 2010-02-22 Michael Albinus <michael.albinus@gmx.de>
8537 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Protect
8538 setting the modes by `ignore-errors'. It might fail, for example
8539 if the file is not owned by the user but the group.
8540 (tramp-handle-write-region): Ensure, that `tmpfile' is always readable.
8542 2010-02-21 Chong Yidong <cyd@stupidchicken.com>
8544 * files.el (directory-listing-before-filename-regexp): Use
8545 stricter matching for iso-style dates, to avoid false matches with
8546 date-like filenames (Bug#5597).
8548 * htmlfontify.el (htmlfontify): Doc fix.
8550 * eshell/eshell.el (eshell): Doc fix.
8552 * startup.el (fancy-about-screen): In mode-line, apply
8553 mode-line-buffer-id face only to the buffer name (Bug#5613).
8555 2010-02-20 Kevin Ryde <user42@zip.com.au>
8557 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8558 In `watcom' anchor regexp to start of line, to avoid slowness
8561 2010-02-20 Eli Zaretskii <eliz@gnu.org>
8563 * subr.el (remove-yank-excluded-properties): Explain in a comment
8564 why `category' property is removed.
8566 2010-02-19 Chong Yidong <cyd@stupidchicken.com>
8568 * isearch.el (isearch-update-post-hook, isearch-update): Revert
8571 2010-02-19 Ulf Jasper <ulf.jasper@web.de>
8573 * calendar/icalendar.el (icalendar--convert-ordinary-to-ical)
8574 (icalendar--convert-weekly-to-ical)
8575 (icalendar--convert-yearly-to-ical)
8576 (icalendar--convert-block-to-ical)
8577 (icalendar--convert-cyclic-to-ical)
8578 (icalendar--convert-anniversary-to-ical): Take care of time
8579 specifications where hour has 1-digit only (Bug#5549).
8581 2010-02-19 Nick Roberts <nickrob@snap.net.nz>
8583 * progmodes/gdb-ui.el (gdb-assembler-handler): Accommodate change
8584 of disassemble output in GDB 7.1.
8586 2010-02-19 Glenn Morris <rgm@gnu.org>
8588 * progmodes/f90.el (f90-electric-insert): Give it a delete-selection
8589 property. (Bug#5593)
8591 2010-02-18 Sam Steingold <sds@gnu.org>
8593 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
8595 2010-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
8597 Use abbreviated file names in bookmarks (bug#5591).
8598 * bookmark.el (bookmark-maybe-load-default-file): Remove redundant
8599 calls to expand-file-name.
8600 (bookmark-relocate): Use abbreviated file names in bookmarks.
8601 (bookmark-load): Use abbreviated file names in messages.
8603 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
8605 * net/tramp.el (tramp-handle-directory-files): When FULL, do not
8606 expand "." and "..". Reported by Thierry Volpiatto
8607 <thierry.volpiatto@gmail.com>.
8609 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
8611 * net/tramp.el (tramp-handle-insert-file-contents): Set always the
8612 permissions of the temporary file to "0600". In case the remote
8613 file has no read permissions for the owner, there might be
8614 problems otherwise. Reported by Ole Laursen <olau@iola.dk>.
8616 22010-02-18 Glenn Morris <rgm@gnu.org>
8618 * emacs-lisp/authors.el (authors-renamed-files-alist):
8619 Add entries for INSTALL.CVS.
8621 2010-02-17 Mark A. Hershberger <mah@everybody.org>
8623 * vc-bzr.el: Fix typo in Known Bugs section.
8625 * isearch.el (isearch-update-post-hook): New hook.
8626 (isearch-update): Use the new hook.
8628 2010-02-16 Michael Albinus <michael.albinus@gmx.de>
8630 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
8631 Fix errors in copying directories.
8632 (tramp-handle-add-name-to-file, tramp-handle-copy-directory)
8633 (tramp-do-copy-or-rename-file, tramp-handle-delete-directory)
8634 (tramp-handle-delete-file)
8635 (tramp-handle-dired-recursive-delete-directory)
8636 (tramp-handle-write-region): Flush also the cache for the upper
8639 2010-02-16 Chong Yidong <cyd@stupidchicken.com>
8641 * simple.el (save-interprogram-paste-before-kill): Doc fix.
8643 * cus-edit.el (hardware): Doc fix.
8645 * man.el (man): Add to external custom group.
8647 * delim-col.el (columns): Move to wp custom group.
8649 * doc-view.el (doc-view): Add to data custom group.
8651 * nxml/nxml-mode.el (nxml-faces): Remove from font-lock-faces group.
8653 * textmodes/flyspell.el (flyspell-word): Obey the offset specified
8654 by ispell-parse-output (Bug#5575).
8656 2010-02-16 Kenichi Handa <handa@m17n.org>
8658 * international/ja-dic-cnv.el (iso-2022-7bit-short): Delete it.
8659 (skkdic-convert-okuri-ari): Ignore lines starting with '>'.
8660 (skkdic-convert): Use `euc-japan' coding system for writing.
8662 2010-02-16 Glenn Morris <rgm@gnu.org>
8664 * textmodes/tex-mode.el (tex-bibtex-file): Expand the result of
8665 tex-main-file before using it. (Bug#5562)
8667 2010-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
8669 * emacs-lisp/advice.el (ad-compile-function): Suppress byte-compiler
8670 warnings, since it is annoying for the user to see them each time he
8673 2010-02-15 Michael Albinus <michael.albinus@gmx.de>
8675 * net/tramp.el (tramp-process-actions, tramp-read-passwd):
8676 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection): Use VEC
8677 instead of PROC for caching "first-password-request". Otherwise,
8678 new processes would not profit from passwords already entered.
8680 * net/tramp-cache.el (tramp-dump-connection-properties):
8681 Don't save "first-password-request" property.
8683 2010-02-14 Juanma Barranquero <lekktu@gmail.com>
8685 * outline.el (outline-head-from-level):
8686 * simple.el (with-wrapper-hook):
8687 * emacs-lisp/elint.el (elint-extra-errors, elint-current-buffer)
8688 (elint-defun, elint-buffer-env, elint-top-form-logged)
8689 (elint-unbound-variable):
8690 * textmodes/reftex-toc.el (reftex-toc-newhead-from-alist):
8691 Fix typos in docstrings.
8693 2010-02-14 Michael Albinus <michael.albinus@gmx.de>
8695 * files.el (insert-directory): When WILDCARD-REGEXP and
8696 FULL-DIRECTORY-P are nil, insert the file entry instead of the
8697 whole directory. (Bug#5551)
8699 * net/ange-ftp.el (ange-ftp-insert-directory): Insert " " for
8700 dired's alignment sanity. (Bug#5516)
8702 2010-02-14 Juri Linkov <juri@jurta.org>
8704 * man.el (Man-fontify-manpage, Man-cleanup-manpage):
8705 Remove remaining ^H with their preceding chars. (Bug#5566)
8707 2010-02-13 Glenn Morris <rgm@gnu.org>
8709 * simple.el (transpose-subr): Give it a doc-string.
8711 * textmodes/paragraphs.el (transpose-paragraphs, transpose-sentences):
8714 2010-02-12 Juri Linkov <juri@jurta.org>
8716 * arc-mode.el (archive-unique-fname): Make directories for nested
8717 archives. (Bug#5540)
8719 2010-02-12 Juri Linkov <juri@jurta.org>
8721 * ffap.el (dired-at-point): Fix docstring. (Bug#5565)
8723 2010-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
8725 * subr.el (copy-overlay): Handle deleted overlays.
8727 * man.el (Man-completion-table): Don't signal an error if we can't run
8728 manual-program (bug#4056).
8730 2010-02-10 Juanma Barranquero <lekktu@gmail.com>
8732 * textmodes/artist.el (artist-mt): Fix typos in docstring.
8734 2010-02-10 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8736 * info.el (Info-bookmark-jump): Simplify.
8738 * bookmark.el (bookmark-handle-bookmark): Catch the right error.
8739 (bookmark-default-handler): Accept new bookmark field `buffer'.
8741 2010-02-10 Chong Yidong <cyd@stupidchicken.com>
8743 * iswitchb.el (iswitchb-completions): Revert last change.
8745 2010-02-10 Michael Albinus <michael.albinus@gmx.de>
8747 * ls-lisp.el (ls-lisp-insert-directory): When WILDCARD-REGEXP and
8748 FULL-DIRECTORY-P are nil, and FILE is absolute, expand it.
8749 This prevents file names like "~/" being listed literally.
8751 2010-02-10 Dan Nicolaescu <dann@ics.uci.edu>
8753 * term/xterm.el (xterm-maybe-set-dark-background-mode):
8754 Remove dead code. (Bug#5546)
8756 2010-02-09 Chong Yidong <cyd@stupidchicken.com>
8758 * eshell/em-ls.el (eshell-ls-applicable): Frob file attributes
8759 correctly (Bug#5548).
8761 2010-02-08 Jose E. Marchesi <jemarch@gnu.org>
8763 * progmodes/ada-mode.el (ada-in-numeric-literal-p): New function.
8764 (ada-adjust-case): Don't adjust case in hexadecimal number literals.
8766 2010-02-08 Kenichi Handa <handa@m17n.org>
8768 * international/mule-util.el (with-coding-priority): Add autoload
8769 cookie for putting `lisp-indent-function'.
8771 2010-02-07 Glenn Morris <rgm@gnu.org>
8773 * progmodes/f90.el (f90-font-lock-keywords-1, f90-font-lock-keywords-2):
8774 Move F2003 named interfaces from keywords-2 to keywords-1, and
8775 use function-name-face rather than constant-face.
8776 Simplify "abstract interface" regexp.
8778 2010-02-07 Chong Yidong <cyd@stupidchicken.com>
8780 * eshell/esh-util.el (eshell-file-attributes): New optional arg
8781 ID-FORMAT. Pass it to `file-attributes'.
8783 * eshell/em-ls.el (eshell-do-ls): Use it (Bug#5528).
8785 2010-02-07 sj <prime.wizard+emacs@gmail.com> (tiny change)
8787 * faces.el (set-face-attribute): Allow calling
8788 internal-set-lisp-face-attribute with 'unspecified family and
8789 foundry argument (Bug#5536).
8791 2010-02-07 Glenn Morris <rgm@gnu.org>
8793 * progmodes/f90.el (f90-font-lock-keywords-2)
8794 (f90-looking-at-type-like, f90-looking-at-program-block-end):
8795 Handle F2003 named interfaces.
8797 2010-02-06 Chong Yidong <cyd@stupidchicken.com>
8799 * progmodes/cc-mode.el (c-common-init): Bind temporary variables
8800 beg and end before calling c-get-state-before-change-functions.
8802 2010-02-06 Dan Nicolaescu <dann@ics.uci.edu>
8804 * vc-bzr.el (vc-bzr-dir-extra-headers): Disable the pending merges header.
8806 2010-02-05 Juri Linkov <juri@jurta.org>
8808 * doc-view.el (doc-view-mode):
8809 * image-mode.el (image-mode): Put property mode-class=special.
8812 2010-02-05 Mark A. Hershberger <mah@everybody.org>
8814 * vc-svn.el (vc-svn-revision-table): New function.
8816 2010-02-05 Michael Albinus <michael.albinus@gmx.de>
8818 * net/ange-ftp.el (ange-ftp-insert-directory):
8819 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
8820 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
8821 Handle also directories. (Bug#5478)
8823 2010-02-05 Glenn Morris <rgm@gnu.org>
8825 * progmodes/f90.el (f90-font-lock-keywords-2): Fix `enum'.
8827 2010-02-05 Chong Yidong <cyd@stupidchicken.com>
8829 * startup.el (command-line-1): Convert options beginning with a
8830 single dash as well (Bug#5519).
8832 2010-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
8834 Make `initials' completion work for /hh -> /home/horn again (bug#5524).
8835 * minibuffer.el (completion-initials-expand): Only check the presence
8836 of delims *within* the boundaries, since otherwise the / delim is
8837 always found for files.
8839 Fix up various corner case problems.
8840 * doc-view.el (doc-view-last-page-number): New function.
8841 (doc-view-mode, doc-view-last-page, doc-view-goto-page): Use it.
8842 (doc-view-goto-page): Avoid inf-loops when the conversion fails.
8843 (doc-view-kill-proc): Avoid inf-loop in freak cases.
8844 (doc-view-reconvert-doc): Use the new recursive delete-directory.
8845 (doc-view-convert-current-doc): Don't create the resolution.el file
8847 (doc-view-pdf/ps->png): Do it here instead.
8848 (doc-view-already-converted-p): Check that resolution.el is present.
8849 (doc-view-pdf->png): Don't rely on doc-view-pdf/ps->png for the few
8850 windows that are not yet showing images.
8852 2010-02-04 Michael Albinus <michael.albinus@gmx.de>
8854 * dired.el (dired-revert): If DIRED-DIRECTORY is a cons cell, call
8855 `dired-uncache' for every elemnt which is an absolute file name.
8857 * net/tramp.el (tramp-handle-dired-uncache): When DIR is not a
8858 directory, handle its directory component.
8859 (tramp-handle-file-remote-p): Let-bind `tramp-verbose' to 3; this
8860 function is called permanently and creates noise, otherwise.
8862 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
8863 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
8864 Handle the case, FILENAME is not in `default-directory'. (Bug#5478)
8866 2010-02-04 David Burger <dburger@google.com> (tiny change)
8868 * macros.el (apply-macro-to-region-lines):
8869 Minor simplification. (Bug#5485)
8871 2010-02-04 Glenn Morris <rgm@gnu.org>
8873 * mail/rmail.el (rmail-show-message-1): Handle malformed
8874 quoted-printable text. (Bug#5441)
8876 * mail/mail-utils.el (mail-unquote-printable-region): Doc fix.
8878 * simple.el (visual-line-mode): Capitalize lighter.
8880 2010-02-03 John Wiegley <jwiegley@gmail.com>
8882 * iswitchb.el (iswitchb-completions): Add bookmark files to the
8883 list of files considered for "virtual buffer" completions.
8885 2010-02-03 Michael Albinus <michael.albinus@gmx.de>
8887 * net/ange-ftp.el (ange-ftp-insert-directory): Parse directory
8888 also in case of (and (not full) (not wildcard)). This is needed
8889 when dired is called with a list of files, which are not in
8890 `default-directory'. (Bug#5478)
8892 2010-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
8894 * vc-hooks.el (vc-path): Make it an obsolete var, rather than function.
8896 2010-02-02 Juri Linkov <juri@jurta.org>
8898 * textmodes/ispell.el (ispell-message-text-end): Remove final newline
8899 from unidiff to allow function-line after @@.
8901 2010-02-02 Juri Linkov <juri@jurta.org>
8903 * ediff-util.el (ediff-file-checked-in-p): Replace '(nil CVS) by
8904 '(RCS SCCS) with inverted condition.
8906 2010-02-02 Michael Albinus <michael.albinus@gmx.de>
8908 * net/ange-ftp.el (ange-ftp-skip-msgs): Ignore all ""^500 .*AUTH"
8911 2010-02-01 Juri Linkov <juri@jurta.org>
8913 * arc-mode.el (archive-zip-extract): Use `member-ignore-case' to
8914 compare with "pkunzip" and "pkzip" instead of only "pkzip".
8915 In the `archive-extract-by-stdout' branch use `shell-quote-argument'
8916 only when (car archive-zip-extract) is "unzip". (Bug#5475)
8918 2010-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
8920 * doc-view.el (doc-view-new-window-function): Be a bit more defensive.
8921 (doc-view-revert-buffer): New command.
8922 (doc-view-mode-map): Use it.
8924 2010-02-01 Dan Nicolaescu <dann@ics.uci.edu>
8926 * vc-bzr.el (vc-bzr-dir-extra-headers): Add a header when a
8927 pending merge is detected.
8929 2010-01-31 Juri Linkov <juri@jurta.org>
8931 * progmodes/grep.el (zrgrep): Call `grep-compute-defaults' at the
8932 beginning of interactive spec like all other grep commands do.
8933 Put "all" in front of "gz". (Bug#5260)
8935 2010-01-29 Dan Nicolaescu <dann@ics.uci.edu>
8937 * vc-bzr.el (vc-bzr-after-dir-status): Match another renaming indicator.
8939 2010-01-29 Chong Yidong <cyd@stupidchicken.com>
8941 * dirtrack.el (dirtrack): Warn instead of signalling error if the
8942 regexp is incorrect (Bug#5476).
8944 2010-01-29 Michael Albinus <michael.albinus@gmx.de>
8946 * net/tramp.el (tramp-handle-insert-directory): Handle also
8947 symlinks, when FILENAME is not in `default-directory'.
8949 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
8951 * net/ange-ftp.el (ange-ftp-insert-directory): Handle the case,
8952 FILE is not in `default-directory'. (Bug#5478)
8954 * net/tramp.el (tramp-handle-insert-directory): Simplify handling
8955 of SWITCHES. Handle the case, FILENAME is not in
8956 `default-directory'. (Bug#5478)
8957 (tramp-register-file-name-handlers): Add safe-magic property.
8959 2010-01-28 Chong Yidong <cyd@stupidchicken.com>
8961 * arc-mode.el (archive-zip-extract): Quote the argument passed to
8964 2010-01-28 Nil Geisweiller <ngeiswei@googlemail.com> (tiny change)
8966 * progmodes/flymake.el (flymake-allowed-file-name-masks)
8967 (flymake-master-make-header-init): Add other C++ filename masks.
8968 (flymake-find-possible-master-files)
8969 (flymake-check-patch-master-file-buffer): Doc fixes (Bug#5488).
8971 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
8973 Fix some busybox annoyances.
8975 * net/tramp.el (tramp-wrong-passwd-regexp): Add "Timeout, server
8976 not responding." string.
8977 (tramp-open-connection-setup-interactive-shell): Dump stty
8978 settings. Enable "neveropen" arg for all `tramp-send-command'
8979 calls. Handle "=" in variable values properly.
8980 (tramp-find-inline-encoding): Raise an error, when no encoding is
8982 (tramp-wait-for-output): Check, whether PROC buffer is available.
8983 Remove spurious " ^H" sequences, sent by busybox.
8984 (tramp-get-ls-command): Suppress coloring, if possible.
8986 2010-01-28 Glenn Morris <rgm@gnu.org>
8988 * vc-svn.el (vc-svn-update): Use "svn --non-interactive". (Bug#4280)
8990 * log-edit.el (log-edit-strip-single-file-name): Add missing
8991 :safe, :group, and :version tags.
8993 2010-01-27 Stephen Berman <stephen.berman@gmx.net>
8995 * calendar/diary-lib.el (diary-unhide-everything): Handle narrowed
8998 2010-01-27 David De La Harpe Golden <david@harpegolden.net>
9000 * files.el (delete-directory): Handle moving to trash without
9001 first doing recursion (Bug#5436).
9003 2010-01-26 Dan Nicolaescu <dann@ics.uci.edu>
9005 * vc-hooks.el (vc-path): Mark as obsolete.
9007 2010-01-25 Dan Nicolaescu <dann@ics.uci.edu>
9009 * vc-annotate.el (vc-annotate-revision-at-line): Compare file
9012 * vc-bzr.el (vc-bzr-print-log): Use the more compact --line option
9014 (vc-bzr-log-view-mode): Adjust regexp for the above change.
9016 2010-01-25 Mark A. Hershberger <mah@everybody.org>
9018 * progmodes/python.el: Replace reference to obsolete c-subword-mode.
9020 * vc-bzr.el (vc-bzr-revision-table): New function.
9022 2010-01-25 Eric Hanchrow <eric.hanchrow@gmail.com> (tiny change)
9024 * vc-git.el (vc-git-dir-status-goto-stage): Pass --relative to the
9025 diff-index command. This requires at least git-1.5.5. (Bug#1589).
9027 2010-01-24 Dan Nicolaescu <dann@ics.uci.edu>
9029 Remove support for adding --signoff on commit.
9030 Future support will use an incompatible generic mechanism.
9031 * vc-git.el (vc-git-add-signoff): Remove variable.
9032 (vc-git-toggle-signoff): Remove function.
9033 (vc-git-extra-menu-map): Do not bind vc-git-toggle-signoff.
9035 * term/xterm.el (xterm-maybe-set-dark-background-mode): Rename
9036 from xterm-set-background-mode. Return t if the background mode
9038 (terminal-init-xterm): Move tty-set-up-initial-frame-faces
9039 earlier, call it again in case the background mode has changed.
9041 2010-01-23 Dmitri Paduchikh <dpaduch@k66.ru> (tiny change)
9043 * emacs-lisp/advice.el (ad-set-orig-definition): Fix typo
9046 2010-01-23 Chong Yidong <cyd@stupidchicken.com>
9048 * emacs-lisp/assoc.el (aelement): Doc fix.
9049 (aput, adelete, amake): Use lexical-let (Bug#5450).
9051 2010-01-23 Stephen Leake <stephen_leake@member.fsf.org>
9053 * progmodes/ada-mode.el (ada-in-paramlist-p): Pragma syntax
9054 is the same as subprogram call, not declaration. (Bug#5435).
9056 2010-01-23 Michael Albinus <michael.albinus@gmx.de>
9058 * net/tramp-smb.el (tramp-smb-conf): New defcustom.
9059 (tramp-smb-maybe-open-connection): Use it.
9061 2010-01-22 Michael Albinus <michael.albinus@gmx.de>
9063 * net/tramp-imap.el (top): Autoload needed packages. (Bug#5448)
9065 2010-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
9067 * mail/rmailmm.el (rmail-mime-handle): Don't set the buffer to unibyte
9068 just because we see "encoding: 8bit".
9069 * mail/rmail.el (rmail-show-message-1): Decode the body's QP into bytes.
9071 2010-01-22 Chong Yidong <cyd@stupidchicken.com>
9073 * isearch.el (isearch-allow-scroll): Doc fix (Bug#5446).
9075 2010-01-22 Eli Zaretskii <eliz@gnu.org>
9077 * jka-compr.el (jka-compr-load): If load-file is not in
9078 load-history, try its file-truename version. (bug#5447)
9080 2010-01-21 Alan Mackenzie <acm@muc.de>
9082 Fix a situation where deletion of a cpp construct throws an error.
9083 * progmodes/cc-engine.el (c-invalidate-state-cache):
9084 Before invoking c-with-all-but-one-cpps-commented-out, check that the
9085 special cpp construct is still in the buffer.
9086 (c-parse-state): Record the special cpp with markers, not numbers.
9088 2010-01-21 Kenichi Handa <handa@m17n.org>
9090 * textmodes/sgml-mode.el (sgml-maybe-name-self): No need to
9091 process last-command-event, as it is now decoded first (Bug#5380).
9093 2010-01-20 Chong Yidong <cyd@stupidchicken.com>
9095 * term.el (term-send-raw-meta): Revert 2009-12-04 change (Bug#5330).
9097 2010-01-20 Glenn Morris <rgm@gnu.org>
9099 * indent.el (tab-always-indent): Fix custom-type.
9101 2010-01-19 Alan Mackenzie <acm@muc.de>
9103 * progmodes/cc-defs.el: Fix bug#5395: typing '#' in an empty
9104 buffer throws "args out of range".
9105 (c-set-cpp-delimiters, c-clear-cpp-delimiters): Check for EOB
9106 playing the role of delimiter.
9108 2010-01-18 Stephen Leake <stephen_leake@member.fsf.org>
9110 * progmodes/ada-mode.el: Fix bug#5400.
9111 (ada-matching-decl-start-re): Move into ada-goto-decl-start.
9112 (ada-goto-decl-start): Rename from ada-goto-matching-decl-start; callers
9113 changed. Delete RECURSIVE parameter; never used. Improve doc string.
9114 Improve comments in "is" portion. Handle null procedure declaration.
9115 (ada-move-to-end): Improve doc string.
9117 2010-01-18 Óscar Fuentes <ofv@wanadoo.es>
9119 * ido.el (ido-cur-list): Initialize to nil.
9120 Remove obsolete information from commentary.
9121 (ido-choice-list): Initialize to nil.
9122 (ido-get-bufname): Reject minibuffers.
9123 (ido-make-buffer-list): If "default" is a nonexistent
9124 buffer, ignore it, as per the function's comment.
9125 (ido-kill-buffer-internal): New function.
9126 (ido-kill-buffer-at-head): Use it.
9127 (ido-visit-buffer): Likewise.
9129 2010-01-18 Chong Yidong <cyd@stupidchicken.com>
9131 * calendar/time-date.el (date-to-time): Doc fix (Bug#5408).
9133 2010-01-18 Juanma Barranquero <lekktu@gmail.com>
9135 * emacs-lisp/chart.el (chart-file-count, chart-rmail-from):
9136 Fix typos in chart titles.
9138 * whitespace.el (whitespace-style, global-whitespace-newline-mode):
9139 * emacs-lisp/eieio.el (eieio-error-unsupported-class-tags)
9140 (eieio-generic-form, eieio-help-mode-augmentation-maybee, eieio-browse)
9141 (describe-class, eieio-describe-generic, describe-generic):
9142 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click)
9143 (eieio-speedbar-expand):
9144 * emulation/viper-cmd.el (viper-exec-form-in-vi)
9145 (viper-exec-form-in-emacs, viper-harness-minor-mode, viper-ESC)
9146 (viper-repeat, viper-replace-state-exit-cmd, viper-toggle-search-style)
9147 (viper-del-backward-char-in-replace, viper-backward-indent)
9148 (viper-brac-function, viper-register-to-point, viper-submit-report):
9149 * net/tramp.el (tramp-remote-coding-commands):
9150 * term/x-win.el (emacs-session-save, x-menu-bar-open, icon-map-list):
9151 Fix typos in docstrings.
9153 2010-01-17 Chong Yidong <cyd@stupidchicken.com>
9155 * mail/sendmail.el (mail-yank-original): Set the mark if the
9156 specified function for yanking does not do it.
9158 2010-01-17 Dan Nicolaescu <dann@ics.uci.edu>
9160 * vc.el (with-vc-properties): Deal with directory arguments. (Bug#5298)
9162 * vc-dir.el (vc-dir-resynch-file): Update the vc-dir header when
9163 resyncing a directory.
9165 2010-01-17 Stephen Leake <stephen_leake@member.fsf.org>
9167 * progmodes/ada-mode.el: Fix bug#1920.
9168 (ada-ident-re): Delete ., allow multibyte characters.
9169 (ada-goto-label-re): New; matches goto labels.
9170 (ada-block-label-re): New; matches block labels.
9171 (ada-label-re): New; matches both.
9172 (ada-named-block-re): Deleted; callers changed to use
9173 `ada-block-label-re' instead.
9174 (ada-get-current-indent, ada-get-indent-noindent, ada-get-indent-loop):
9175 Use `ada-block-label-re'.
9176 (ada-indent-on-previous-lines): Improve handling of goto labels.
9177 (ada-get-indent-block-start): Special-case block label.
9178 (ada-get-indent-label): Split into `ada-indent-block-label' and
9179 `ada-indent-goto-label'.
9180 (ada-goto-stmt-start, ada-goto-next-non-ws):
9181 Optionally ignore goto labels.
9182 (ada-goto-next-word): Simplify.
9183 (ada-indent-newline-indent-conditional): Insert newline before
9184 trying to fix indentation; doc fix.
9186 2010-01-17 Jay Belanger <jay.p.belanger@gmail.com>
9188 * calc/calc.el (calc-command-flags): Give it an initial value.
9190 2010-01-17 Juanma Barranquero <lekktu@gmail.com>
9192 * files.el (minibuffer-with-setup-hook):
9193 * textmodes/artist.el (artist-mt, artist-key-undraw-continously)
9194 (artist-key-draw-continously, artist-key-do-continously-continously)
9195 (artist-key-set-point-continously, artist-mouse-draw-continously):
9196 Fix typos in docstrings.
9198 2010-01-16 Lennart Borgman <lennart.borgman@gmail.com>
9200 * nxml/nxml-mode.el (nxml-extend-after-change-region): Never
9201 return t (Bug#3898).
9203 2010-01-16 Frédéric Perrin <frederic.perrin@resel.fr> (tiny change)
9205 * vc-dispatcher.el (vc-do-command): Set LC_MESSAGES, so that we
9206 can parse the output of the external commands (Bug#5279).
9208 2010-01-16 Jari Aalto <jari.aalto@cante.net>
9210 * pcmpl-unix.el (pcmpl-unix-read-passwd-file): Doc fix.
9212 2010-01-16 Chong Yidong <cyd@stupidchicken.com>
9214 * emacs-lisp/advice.el (ad-add-advice): Doc fix (Bug#5274)
9216 * emacs-lisp/cl-macs.el (defstruct): Doc fix (Bug#5267).
9218 * startup.el (command-line): Remove unused --icon-type arg.
9219 Handle --display arg, passing it to command-line-1 (Bug#5392).
9221 2010-01-16 Mario Lang <mlang@delysid.org>
9223 * emacs-lisp/chart.el (chart-translate-namezone):
9224 * textmodes/artist.el (artist-compute-popup-menu-table):
9225 Remove duplicated words in doc-strings.
9227 2010-01-15 David Abrahams <dave@boostpro.com> (tiny change)
9229 * net/mairix.el (mairix-widget-send-query): Send -1 instead of nil
9230 to mairix-search to suppress threading (Bug#5342).
9232 2010-01-15 Kenichi Handa <handa@m17n.org>
9234 * international/mule-cmds.el (canonicalize-coding-system-name):
9235 Convert "msXXX", "ibmXXX", "windows-XXX" to "cpXXX" (Bug#5387).
9237 2010-01-15 Glenn Morris <rgm@gnu.org>
9239 * log-view.el (top-level): Require 'wid-edit. (Bug#5311)
9241 * wid-edit.el (widget-keymap): Doc fix.
9243 * vc-svn.el (vc-svn-print-log): Use --limit rather than -l since the
9244 former seems to be more widely accepted by various svn versions.
9246 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
9248 * find-cmd.el (find-constituents):
9249 * vc-arch.el (vc-arch-root):
9250 * window.el (window-body-height, pop-up-frames):
9251 * emacs-lisp/eieio-base.el (eieio-singleton, slot-missing):
9252 * progmodes/ada-stmt.el (ada-if):
9253 * progmodes/gdb-ui.el (gdb-jsonify-buffer):
9254 * textmodes/ispell.el (ispell-grep-options, ispell-dictionary-alist)
9255 (ispell-encoding8-command, ispell-aspell-supports-utf8)
9256 (ispell-last-program-name, ispell-help): Fix typos in docstrings.
9258 * progmodes/flymake.el (flymake-post-syntax-check):
9259 Fix typo in error message.
9261 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
9263 * hexl.el (hexl-printable-character): Fix check of `hexl-iso',
9264 which is always a string. (Bug#5313)
9266 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
9268 * progmodes/ada-xref.el (ada-default-prj-properties):
9269 Simplify previous change.
9271 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
9273 * progmodes/ada-xref.el (ada-default-prj-properties):
9274 Default ada_project_path to $ADA_PROJECT_PATH.
9276 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
9278 * progmodes/ada-mode.el (ada-create-keymap):
9279 Override `narrow-to-defun' with `ada-narrow-to-defun'.
9281 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
9283 * progmodes/ada-mode.el: Deal with Ada 2005 "overriding" keyword.
9284 (ada-subprog-start-re, ada-imenu-subprogram-menu-re): Add keyword.
9285 (ada-get-current-indent, ada-imenu-generic-expression)
9286 (ada-which-function): Check for it.
9288 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
9290 * progmodes/ada-mode.el (ada-clean-buffer-before-saving): Make obsolete.
9291 (ada-mode): Don't obey `ada-clean-buffer-before-saving' anymore.
9293 2010-01-14 Glenn Morris <rgm@gnu.org>
9295 * frame.el (show-trailing-whitespace): Safe if boolean. (Bug#5312)
9297 2010-01-14 Kenichi Handa <handa@m17n.org>
9299 * composite.el (auto-composition-mode): Make it a buffer local
9300 variable (permanent-local).
9301 (auto-composition-function): Set the default value to
9303 (auto-composition-mode): Make it a simple function, not a minor mode.
9304 (global-auto-composition-mode): Likewise.
9305 (turn-on-auto-composition-if-enabled): Delete it.
9307 2010-01-13 Karl Fogel <kfogel@red-bean.com>
9309 * bookmark.el (bookmark-bmenu-execute-deletions): Doc fix (Bug#5276).
9311 2010-01-12 Michael Albinus <michael.albinus@gmx.de>
9313 * files.el (copy-directory): Compute target for recursive
9314 directories with identical names. (Bug#5343)
9316 2010-01-12 Glenn Morris <rgm@gnu.org>
9318 * mail/emacsbug.el (report-emacs-bug-pretest-address): Set
9319 it to bug-gnu-emacs rather than emacs-pretest-bug.
9321 2010-01-11 Sam Steingold <sds@gnu.org>
9323 * imenu.el (imenu-default-create-index-function): Detect infinite
9324 loops caused by imenu-prev-index-position-function.
9326 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
9328 * htmlfontify.el (htmlfontify-load-rgb-file)
9329 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values)
9330 (htmlfontify-manual, htmlfontify, hfy-page-header, hfy-page-footer)
9331 (hfy-src-doc-link-style, hfy-src-doc-link-unstyle, hfy-link-extn)
9332 (hfy-link-style-fun, hfy-index-file, hfy-instance-file)
9333 (hfy-html-quote-regex, hfy-init-kludge-hook, hfy-post-html-hooks)
9334 (hfy-default-face-def, hfy-etag-regex, hfy-html-quote-map)
9335 (hfy-etags-cmd-alist-default, hfy-etags-bin, hfy-ignored-properties)
9336 (hfy-which-etags, hfy-etags-cmd, hfy-istext-command, hfy-display-class)
9337 (hfy-optimisations, hfy-tags-cache, hfy-tags-sortl, hfy-tags-rmap)
9338 (hfy-style-assoc, hfy-sheet-assoc, hfy-facemap-assoc, hfy-interq)
9339 (hfy-colour-vals, hfy-default-header, hfy-link-style-string)
9340 (hfy-triplet, hfy-slant, hfy-weight, hfy-combined-face-spec)
9341 (hfy-face-attr-for-class, hfy-face-to-style-i, hfy-size-to-int)
9342 (hfy-flatten-style, hfy-face-to-style, hfy-face-or-def-to-name)
9343 (hfy-face-to-css, hfy-p-to-face, hfy-p-to-face-lennart, hfy-face-at)
9344 (hfy-fontified-p, hfy-merge-adjacent-spans, hfy-buffer)
9345 (hfy-html-enkludge-buffer, hfy-html-quote, hfy-html-dekludge-buffer)
9346 (hfy-force-fontification, htmlfontify-buffer, hfy-dirname)
9347 (hfy-make-directory, hfy-text-p, hfy-mark-tag-names, hfy-relstub)
9348 (hfy-href-stub, hfy-href, hfy-mark-tag-hrefs, hfy-prepare-index-i)
9349 (hfy-prepare-index, hfy-prepare-tag-map, hfy-subtract-maps)
9350 (htmlfontify-run-etags): Fix typos in docstrings and remove superfluous
9351 backslash-quoting from parentheses, etc.
9353 2010-01-11 Chong Yidong <cyd@stupidchicken.com>
9355 * progmodes/js.el: Autoload javascript-mode alias.
9357 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
9359 * ffap.el (ffap-shell-prompt-regexp, ffap-all-subdirs, ffap-url-p)
9360 (ffap-alist, ffap-tex-path, ffap-url-at-point, ffap-gopher-regexp)
9361 (ffap-gopher-at-point, ffap-file-at-point, ffap-read-file-or-url)
9362 (ffap-read-url-internal, ffap-menu, ffap-at-mouse):
9363 Fix typos in docstrings.
9364 (ffap-url-regexp): Doc fix.
9365 (ffap-at-mouse): Fix typo in message.
9367 2010-01-11 Glenn Morris <rgm@gnu.org>
9369 * version.el (emacs-copyright): Set copyright year to 2010.
9371 2010-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
9373 * format.el (format-annotate-function): Only set
9374 write-region-post-annotation-function after running to-fn so as not to
9375 affect nested write-region calls (bug#5273).
9377 2010-01-10 Chong Yidong <cyd@stupidchicken.com>
9379 * Makefile.in (ELCFILES): Add wisent/python-wy.el and
9382 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
9384 * man.el (Man-goto-section): Signal error if the section is not
9387 2010-01-09 Juanma Barranquero <lekktu@gmail.com>
9389 * vc-bzr.el (vc-bzr-working-revision): On Windows and MS-DOS, accept
9390 URLs with a leading triple slash in the file: scheme. (Bug#5345)
9392 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
9394 * progmodes/compile.el: Don't treat compile-command as safe if
9395 compilation-read-command might be nil (Bug#4218).
9397 2010-01-09 Jan Djärv <jan.h.d@swipnet.se>
9399 * startup.el (command-line-1): Use orig-argi to check for ignored X and
9402 2010-01-08 Kenichi Handa <handa@m17n.org>
9404 * international/fontset.el (build-default-fontset-data):
9405 Exclude characters in scripts kana, hangul, han, or cjk-misc.
9407 2010-01-07 Juanma Barranquero <lekktu@gmail.com>
9409 * vc-dir.el (vc-dir-prepare-status-buffer): Pass a (fake) filename
9410 to `create-file-buffer' as it expects, not just a buffer name.
9411 (vc-dir-mode): Include the buffer name in `list-buffers-directory',
9412 to help uniquify. (Bug#3224)
9414 2010-01-06 Jan Djärv <jan.h.d@swipnet.se>
9416 * font-setting.el (font-setting-change-default-font): Use user-spec
9419 2010-01-06 Dan Nicolaescu <dann@ics.uci.edu>
9421 * vc-bzr.el (vc-bzr-after-dir-status): Ignore pending merges.
9423 2010-01-05 Tom Tromey <tromey@redhat.com>
9425 * progmodes/python.el (python-font-lock-keywords):
9426 Handle qualified decorators (Bug#881).
9428 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
9430 * vc-bzr.el (vc-bzr-working-revision): Fix looking for a revision
9431 in a lightweight checkout.
9433 2010-01-05 Kenichi Handa <handa@m17n.org>
9435 * language/indian.el (malayalam-composable-pattern): Fix ZWNJ and ZWJ.
9437 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
9439 * vc-bzr.el (vc-bzr-diff): Obey vc-disable-async-diff.
9441 2010-01-04 Dan Nicolaescu <dann@ics.uci.edu>
9443 * vc-bzr.el (vc-bzr-state-heuristic): Make it work for lightweight
9444 checkouts. (Bug#618)
9445 (vc-bzr-log-view-mode): Also highlight the author.
9446 (vc-bzr-shelve-map): Change binding for vc-bzr-shelve-apply-at-point.
9447 (vc-bzr-shelve-menu-map):
9448 (vc-bzr-dir-extra-headers): Improve menu and tooltip text.
9449 (vc-bzr-shelve-apply): Make prompt more explicit.
9451 2010-01-02 Chong Yidong <cyd@stupidchicken.com>
9453 * net/browse-url.el (browse-url-encode-url): Don't escape commas.
9454 They are valid characters in URL paths (rfc3986), and at least
9455 Firefox does not understand the encoded version (Bug#3166).
9457 2010-01-02 Daniel Elliott <danelliottster@gmail.com> (tiny change)
9459 * progmodes/octave-mod.el (octave-end-keywords)
9460 (octave-block-begin-or-end-regexp, octave-block-match-alist):
9461 Add "end" keyword (Bug#3061).
9462 (octave-end-as-array-index-p): New function.
9463 (calculate-octave-indent): Use it.
9465 2010-01-02 Karl Fogel <kfogel@red-bean.com>
9467 * bookmark.el: Consistently put the text property on the bookmark name.
9468 (bookmark-bmenu-marks-width): Bump back to 2, to include
9470 (bookmark-bmenu-hide-filenames): Adjust for above, and put the text
9471 property on the bookmark name, instead of not putting it at all.
9472 (bookmark-bmenu-list): Fix where we put the text property.
9474 2010-01-02 Karl Fogel <kfogel@red-bean.com>
9476 * bookmark.el (bookmark-bmenu-save): Just depend on the new logic
9477 for showing buffer modified state (as added in the previous change).
9479 2010-01-02 Karl Fogel <kfogel@red-bean.com>
9481 * bookmark.el: Show modified state of bookmark buffer more accurately.
9482 (bookmark-bmenu-list): Initialize buffer-modified-p properly.
9483 (bookmark-send-edited-annotation): Mark bookmark-alist as modified.
9484 (with-buffer-modified-unmodified): New macro.
9485 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
9486 (bookmark-bmenu-mark, bookmark-bmenu-unmark, bookmark-bmenu-delete):
9487 Use new macro to preserve the buffer modified state.
9489 2010-01-02 Karl Fogel <kfogel@red-bean.com>
9491 * bookmark.el (bookmark-bmenu-select, bookmark-bmenu-1-window)
9492 (bookmark-bmenu-2-window, bookmark-bmenu-this-window)
9493 (bookmark-bmenu-other-window, bookmark-bmenu-switch-other-window)
9494 (bookmark-bmenu-show-annotation, bookmark-bmenu-edit-annotation)
9495 (bookmark-bmenu-rename, bookmark-bmenu-locate)
9496 (bookmark-bmenu-relocate, bookmark-bmenu-goto-bookmark):
9497 Remove unnecessary calls to `bookmark-bmenu-ensure-position'.
9499 2010-01-02 Eli Zaretskii <eliz@gnu.org>
9501 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9502 Make the lines in the generated doc string shorter. (Bug#4668)
9504 2010-01-02 Ryan Yeske <rcyeske@gmail.com>
9506 * net/rcirc.el: Add follow-link binding (Bug#4738).
9508 2010-01-02 Eli Zaretskii <eliz@gnu.org>
9510 * Makefile.in (bzr-update): Rename from cvs-update.
9511 (cvs-update): New target for backward compatibility.
9513 * makefile.w32-in (bzr-update): Rename from cvs-update.
9514 (cvs-update): New target for backward compatibility.
9516 2010-01-02 Karl Fogel <kfogel@red-bean.com>
9518 * bookmark.el: Remove gratuitous gratitude.
9520 2010-01-02 Karl Fogel <kfogel@red-bean.com>
9522 * bookmark.el (bookmark-bmenu-any-marks): New function.
9523 (bookmark-bmenu-save): Clear buffer modification if no marks.
9525 2010-01-02 Karl Fogel <kfogel@red-bean.com>
9527 * bookmark.el (bookmark-bmenu-marks-width): Define to 1, not 2.
9528 (bookmark-bmenu-list, bookmark-bmenu-bookmark): Calculate property
9529 positions by using `bookmark-bmenu-marks-width', instead of hardcoding.
9530 This fixes the `bookmark-bmenu-execute-deletions' bug reported here:
9532 http://lists.gnu.org/archive/html/emacs-devel/2009-12/msg00819.html
9533 From: Sun Yijiang <sunyijiang {_AT_} gmail.com>
9534 To: emacs-devel {_AT_} gnu.org
9535 Subject: bookmark.el bug report
9536 Date: Mon, 28 Dec 2009 14:19:16 +0800
9537 Message-ID: 5065e2900912272219y3734fc9fsdaee41167ef99ad7@mail.gmail.com
9539 2010-01-02 Karl Fogel <kfogel@red-bean.com>
9541 * bookmark.el: Improvements suggested by Drew Adams:
9542 (bookmark-bmenu-ensure-position): New name for
9543 `bookmark-bmenu-check-position'. Just ensure the position,
9544 don't return any meaningful value.
9545 (bookmark-bmenu-header-height, bookmark-bmenu-marks-width):
9548 2010-01-02 Juanma Barranquero <lekktu@gmail.com>
9550 * bookmark.el (bookmarks-already-loaded): Doc fix (don't use `iff').
9551 (bookmark-yank-point, bookmark-bmenu-check-position):
9552 Fix typos in docstrings.
9553 (bookmark-save-flag, bookmark-bmenu-toggle-filenames)
9554 (bookmark-name-from-full-record, bookmark-get-position)
9555 (bookmark-set-position, bookmark-set, bookmark-handle-bookmark)
9556 (bookmark-delete, bookmark-save, bookmark-save, bookmark-bmenu-mode):
9557 Remove useless quoting of parenthesis, etc. in docstrings.
9559 * ediff-mult.el (ediff-prepare-meta-buffer): Fix typo in help message.
9560 (ediff-append-custom-diff): Fix typo in error message.
9561 (ediff-meta-mark-equal-files): Fix typos in messages.
9563 * mpc.el (mpc-playlist-delete): Fix typo in error messages.
9565 * net/imap-hash.el (imap-hash-make): Doc fix.
9566 (imap-hash-test): Fix typo in error message; reflow docstring.
9567 (imap-hash-p, imap-hash-get, imap-hash-put, imap-hash-make-message)
9568 (imap-hash-count, imap-hash-server, imap-hash-port, imap-hash-ssl)
9569 (imap-hash-mailbox, imap-hash-user, imap-hash-password):
9570 Fix typos in docstrings.
9571 (imap-hash-open-connection): Fix typo in error message.
9573 * play/gomoku.el (gomoku): Fix typos in docstring.
9575 * progmodes/gdb-ui.el (gdb-location-alist): Reflow docstring.
9576 (gdb-jsonify-buffer): Fix typos in docstring.
9577 (gdb-goto-breakpoint): Fix typo in error message.
9578 ("Display Other Windows"): Fix typo in help message.
9579 (gdb-speedbar-expand-node): Fix typo in question.
9581 * progmodes/idlw-help.el (idlwave-help-browse-url-available)
9582 (idlwave-html-system-help-location, idlwave-html-help-location)
9583 (idlwave-help-browser-function, idlwave-help-browser-generic-program)
9584 (idlwave-help-browser-generic-args, idlwave-help-directory)
9585 (idlwave-html-help-is-available, idlwave-help-mode-line-indicator)
9586 (idlwave-help-mode-map, idlwave-help-mode, idlwave-do-context-help)
9587 (idlwave-online-help, idlwave-help-html-link)
9588 (idlwave-help-show-help-frame, idlwave-help-assistant-command):
9589 Fix typos in docstrings.
9590 (idlwave-help-with-source, idlwave-help-find-routine-definition):
9592 (idlwave-help-assistant-start): Fix typo in error message.
9594 * progmodes/octave-mod.el (octave-mode, octave-electric-semi)
9595 (octave-electric-space): Fix typos in docstrings.
9597 2010-01-01 Chong Yidong <cyd@stupidchicken.com>
9599 * files.el (minibuffer-with-setup-hook): Doc fix (Bug#5149).
9601 2010-01-01 Juri Linkov <juri@jurta.org>
9603 * comint.el (comint-input-ring-size): Make it a defcustom and
9604 increase the default to 500 (Bug#5148).
9606 2009-12-31 Nick Roberts <nickrob@snap.net.nz>
9608 Further changes from EMACS_23_1_RC branch (2009-12-29 contd).
9609 * term/x-win.el (x-gtk-stock-map): Map some GUD buttons.
9610 * progmodes/gud.el (gud-menu-map): Add reverse-execution commands.
9612 2009-12-30 Nick Roberts <nickrob@snap.net.nz>
9614 Show working revision correctly for mercurial.
9615 * vc-hg.el (vc-hg-working-revision): Use hg parent instead of
9616 hg log as suggested by Alex Harsanyi <alexharsanyi@gmail.com>.
9618 2009-12-29 Juanma Barranquero <lekktu@gmail.com>
9620 Declare some functions for the byte-compiler.
9621 * progmodes/gdb-ui.el (speedbar-change-initial-expansion-list)
9622 (speedbar-timer-fn, speedbar-change-expand-button-char)
9623 (speedbar-delete-subblock, speedbar-center-buffer-smartly): Declare.
9625 2009-12-29 Nick Roberts <nickrob@snap.net.nz>
9627 This changeset reverts GDB Graphical Interface to use annotations.
9628 * progmodes/gdb-ui.el, progmodes/gud.el: Import from EMACS_23_1_RC.
9630 2009-12-29 Dan Nicolaescu <dann@ics.uci.edu>
9632 Make vc-dir work on subdirectories of the bzr root.
9633 * vc-bzr.el (vc-bzr-after-dir-status): Add new argument. Return
9634 file names relative to it.
9635 (vc-bzr-dir-status, vc-bzr-dir-status-files): Pass the bzr root
9636 relative directory to vc-bzr-after-dir-status.
9638 2009-12-28 Tassilo Horn <tassilo@member.fsf.org>
9640 * font-lock.el (font-lock-refresh-defaults): New function, which
9641 can be used to let font-lock react to external changes in
9642 variables like font-lock-defaults and keywords.
9643 See http://thread.gmane.org/gmane.emacs.devel/118777/focus=118802
9645 2009-12-28 Dan Nicolaescu <dann@ics.uci.edu>
9647 * vc-rcs.el (vc-rcs-register): Fix registering a specific version.
9649 * vc-bzr.el (vc-bzr-log-view-mode): Fix short log regexp.
9651 2009-12-28 Juanma Barranquero <lekktu@gmail.com>
9653 Supersede color.diff settings in git log (bug#5211).
9655 * vc-git.el (vc-git-print-log): Pass "--no-color" to log to avoid
9656 escape chars in its output when the user has color.diff set to `always'.
9657 This fix works on git 1.4.2 and newer (released on 2006-08-13).
9659 2009-12-26 Kevin Ryde <user42@zip.com.au>
9661 * info-look.el (sh-mode): Look for coreutils new "Concept Index"
9662 node. Keep previous "Index" name to work with past coreutils too.
9664 * man.el (man): Revise docstring a bit to show -a and -l as
9665 examples. Add -k description since support for it has otherwise
9666 been a secret. (Further to bug#3717.)
9667 (Man-bgproc-sentinel): When "-k foo" produces no output show error
9668 "no matches" rather than "Can't find manpage", as the latter reads
9669 like -k was interpreted as a page name, which is not so. (Bug#5431)
9671 2009-12-26 Michael Albinus <michael.albinus@gmx.de>
9673 * net/tramp.el (tramp-handle-insert-directory): Quote "'" in the
9674 switches. Check also for //SUBDIRED// line.
9676 2009-12-25 Kenichi Handa <handa@m17n.org>
9678 * language/indian.el (devanagari-composable-pattern): Fixed to
9679 handle ZWNJ and ZWJ. Use it in composition-function-table for
9681 (malayalam-composable-pattern): Fix previous change.
9683 2009-12-23 Vinicius Jose Latorre <viniciusjl@ig.com.br>
9685 * ps-print.el (ps-face-attributes): It was not returning the
9686 attribute face for faces specified as string. Reported by harven
9687 <harven@free.fr>. (Bug#5254)
9688 (ps-print-version): New version 7.3.5.
9690 2009-12-18 Ulf Jasper <ulf.jasper@web.de>
9692 * calendar/icalendar.el (icalendar--convert-tz-offset):
9694 (icalendar--convert-tz-offset): Fix the "last-day-problem".
9695 (icalendar--add-diary-entry): Remove the trailing blank that
9696 diary-make-entry inserts.
9698 2009-12-17 Michael Albinus <michael.albinus@gmx.de>
9700 Make `file-expand-wildcards' work for remote files.
9702 * files.el (file-expand-wildcards): In case of remote files, check
9703 only local file name part for wildcards. Provide feature 'files
9704 and subfeature 'remote-wildcards. (Bug#5198)
9706 * net/tramp.el (tramp-handle-file-remote-p): Expand file name only
9707 if there is already an established connection.
9708 (tramp-advice-file-expand-wildcards): Remove it.
9710 * net/tramp-compat.el (top): Autoload `tramp-handle-file-remote-p'.
9711 (tramp-advice-file-expand-wildcards): Move from tramp.el.
9712 Activate advice for older GNU Emacs versions. (Bug#5237)
9714 2009-12-17 Juanma Barranquero <lekktu@gmail.com>
9716 Some doc fixes (more needed).
9718 * find-cmd.el (find-constituents): Reflow docstring.
9719 (find-cmd, find-prune, find-command): Fix typos in docstrings.
9720 (find-generic): Doc fix.
9722 2009-12-17 Juri Linkov <juri@jurta.org>
9724 Fix regression from 23.1 to allow multiple modes in Local Variables.
9726 * files.el (hack-local-variables-filter): While ignoring duplicates,
9727 don't take `mode' into account.
9728 (hack-local-variables-filter, hack-dir-local-variables):
9729 Don't remove duplicate `mode' from local-variables-alist (like `eval').
9731 2009-12-17 Juri Linkov <juri@jurta.org>
9733 Make `dired-diff' safer. (Bug#5225)
9735 * dired-aux.el (dired-diff): Signal an error when `file' equals to
9736 `current' or when `file' is a directory of the `current' file.
9738 2009-12-17 Andreas Schwab <schwab@linux-m68k.org>
9740 * emacs-lisp/autoload.el (batch-update-autoloads): Only exclude
9741 unconditionally preloaded files.
9743 2009-12-16 Juri Linkov <juri@jurta.org>
9745 Revert to old 23.1 logic of using the file at the mark as default.
9746 * dired-aux.el (dired-diff): Use the file at the mark as default
9747 if it's not the same as the current file, and the target dir is
9748 the current dir or the mark is active. Add the current file
9749 as the arg of `dired-dwim-target-defaults'. Use the default file
9750 in the prompt. (Bug#5225)
9752 2009-12-15 Michael Albinus <michael.albinus@gmx.de>
9754 * net/tramp.el (tramp-echo-mark-marker-length): New defconst.
9755 (tramp-echo-mark, tramp-echoed-echo-mark-regexp): Use it.
9756 (tramp-check-for-regexp): Check also, when an echoing shell stops
9757 to echo sent commands.
9759 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
9761 * Makefile.in: Revert last change (Bug#5191).
9763 2009-12-14 Dan Nicolaescu <dann@ics.uci.edu>
9765 * vc-hg.el (vc-hg-print-log): Fix argument order.
9766 (vc-hg-working-revision): Make sure the command is executed in a
9767 known environment so that we can parse the output. (Bug#4417)
9769 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
9771 * progmodes/python.el (python-symbol-completions): Remove text
9772 properties from symbol string before calling python-send-receive.
9774 2009-12-14 Nick Roberts <nickrob@snap.net.nz>
9776 * progmodes/gdb-mi.el (gdb-frame-handler): Only set gud-lat-frame
9777 when there are values for both file and line. (Bug#5060)
9779 2009-12-14 Juri Linkov <juri@jurta.org>
9781 * ediff-ptch.el (ediff-context-diff-label-regexp): Don't match
9782 whitespace after the file name of the first line of unified format,
9783 because git-diff doesn't output whitespace and file modification time
9784 after the file name.
9786 2009-12-14 David Kastrup <dak@gnu.org>
9788 * info.el (Info-hide-cookies-node): Before hiding a cookie,
9789 check if it already has the `display' property added by
9790 `Info-display-images-node', and not put the `invisible' property
9793 2009-12-13 Glenn Morris <rgm@gnu.org>
9795 * mail/emacsbug.el (message-sort-headers): Define for compiler.
9796 (report-emacs-bug): In message-mode, sort manually before storing
9797 original report text. (Bug#5178)
9798 Remove superfluous save-excursion.
9800 2009-12-12 Michael Albinus <michael.albinus@gmx.de>
9802 * net/dbus.el (dbus-property-handler): Filter lambda forms out
9803 when responding to "GetAll" properties.
9805 2009-12-12 Chong Yidong <cyd@stupidchicken.com>
9807 * simple.el (compose-mail): Remove mail-setup-with-from from
9808 customization checks.
9810 2009-12-12 Eli Zaretskii <eliz@gnu.org>
9812 * arc-mode.el (archive-rar-summarize): Support Attribute fields in
9813 RAR archives created on Unix systems.
9815 2009-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
9817 * minibuffer.el (minibuffer-local-must-match-filename-map): Re-instate
9818 the varalias that was accidentally removed by the 2009-11-19 change
9821 2009-12-12 Kenichi Handa <handa@m17n.org>
9823 * language/indian.el (indian-compose-regexp): New function.
9824 (malayalam-composable-pattern): Fix the pattern.
9825 (composition-function-table): Set malayalam-composable-pattern for
9826 Malayalam characters.
9828 2009-12-11 Chong Yidong <cyd@stupidchicken.com>
9830 * progmodes/bug-reference.el (bug-reference-map): Bind mouse-2
9831 rather than down-mouse-1, based on follow-link conventions.
9833 * makefile.w32-in: Ensure that Lisp files in CEDET subdirectories
9836 2009-12-11 Michael McNamara <mac@mail.brushroad.com>
9838 * progmodes/verilog-mode.el (verilog-vmm-begin-re, verilog-vmm-end-re)
9839 (verilog-vmm-statement-re, verilog-ovm-statement-re)
9840 (verilog-defun-level-not-generate-re, verilog-calculate-indent)
9841 (verilog-leap-to-head, verilog-backward-token):
9842 Fix indenting VMM macros. Reported by Jonathan Ashbrook.
9844 2009-12-11 Wilson Snyder <wsnyder@wsnyder.org>
9846 * progmodes/verilog-mode.el (verilog-auto-lineup)
9847 (verilog-nameable-item-re): Cleanup user-visible spelling and
9848 documentation errors. One reported by Gary Delp.
9849 (verilog-submit-bug-report): Mention bug tracking and CC co-author.
9850 (verilog-read-decls): Fix AUTOWIRE with types declared in a
9851 package, bug195. Reported by Pierre-David Pfister.
9853 2009-12-11 Glenn Morris <rgm@gnu.org>
9855 * progmodes/cc-engine.el (safe-pos-list): Define for compiler.
9857 * mail/emacsbug.el: No longer require sendmail.
9858 Replace sendmail's `mail-text' by `rfc822-goto-eoh'. (Bug#5174)
9859 (report-emacs-bug-orig-text): Doc fix.
9860 (report-emacs-bug-send-command, report-emacs-bug-send-hook):
9861 New local variables, to adapt to different mail-user-agents.
9862 (report-emacs-bug): Fix test for a gnu.org address.
9863 Use overlays for emphasis, since font-lock defeats 'face property.
9864 Pretest bugs also end up at the newsgroup these days.
9865 Stop message-mode stripping text properties.
9866 Set and use the new buffer-local variables.
9867 (report-emacs-bug-hook): Add doc-string.
9868 Remove some unnecessary save-excursions and simplify.
9869 Use the appropriate hook and send-command.
9871 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Standardize the
9872 capitalization of some menu entries.
9874 2009-12-10 Vinicius Jose Latorre <viniciusjl@ig.com.br>
9876 * whitespace.el (whitespace-display-char-on):
9877 Ensure `buffer-display-table' is unique when two or more windows are
9878 visible. Reported by Martin Pohlack <mp26@os.inf.tu-dresden.de>.
9881 2009-12-10 Eli Zaretskii <eliz@gnu.org>
9883 * arc-mode.el (archive-rar-summarize): Allow between 6 and 7
9884 characters in the Attribute field.
9886 2009-12-10 Dan Nicolaescu <dann@ics.uci.edu>
9888 * vc-svn.el (vc-svn-after-dir-status): Fix regexp. (Bug#4741)
9890 2009-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
9892 Let loaddefs.el adjust to changes in autoload-excludes (bug#5162).
9893 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
9894 Disregard autoload-excludes.
9895 (update-directory-autoloads): Obey autoload-excludes here instead.
9896 But don't store its contents in no-autoloads and remove entries that
9897 refer to excludes files.
9899 2009-12-10 Glenn Morris <rgm@gnu.org>
9901 * mail/feedmail.el (top-level): Move require 'mail-utils to start.
9902 (expand-mail-aliases): Define for compiler.
9904 * vc-annotate.el (log-view-vc-backend, log-view-vc-fileset):
9905 Define for compiler.
9907 * mail/emacsbug.el (report-emacs-bug): Use whichever send command is
9908 appropriate for the mail-user-agent in use.
9910 2009-12-09 Michael Albinus <michael.albinus@gmx.de>
9912 * net/tramp.el (tramp-handle-insert-directory): Suppress error messages.
9914 2009-12-09 Dan Nicolaescu <dann@ics.uci.edu>
9916 Fix short log parsing and fontification.
9917 * vc-bzr.el (vc-bzr-log-view-mode): Match dot in revision number.
9918 Fix fontification for the [merge] label.
9920 2009-12-09 Vivek Dasmohapatra <vivek@etla.org>
9922 Drop some properties to avoid surprises (bug#5002).
9923 * htmlfontify.el (hfy-ignored-properties): New defcustom.
9924 (hfy-fontify-buffer): Use it.
9926 2009-12-09 Stefan Monnier <monnier@iro.umontreal.ca>
9929 * ffap.el (ffap-symbol-value): Replace ffap-soft-value.
9931 (ffap-locate-file): Remove unused arg `dir-ok' and make other
9932 args compulsory. Adjust callers.
9933 (ffap-gopher-at-point): Remove unused var `name'.
9935 Get rid of the ELCFILES abomination.
9936 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
9937 (compile-elcfiles): New phony target.
9938 (compile-main): Compute ELCFILES dynamically.
9939 (compile-clean): New target to remove left-over elc files.
9940 (compile, all): Use it.
9942 2009-12-09 Kenichi Handa <handa@etlken>
9944 * international/mule-diag.el: Require help-mode instead of help-fns.
9946 2009-12-09 Kenichi Handa <handa@m17n.org>
9948 * international/mule-cmds.el (ucs-names): Supply sufficiently
9949 fine ranges instead of pre-calculating accurate ranges.
9950 Iterate with bigger gc-cons-threshold.
9952 2009-12-08 Dan Nicolaescu <dann@ics.uci.edu>
9954 Add support for stashing a snapshot of the current tree.
9955 * vc-git.el (vc-git-stash-snapshot): New function.
9956 (vc-git-stash-map, vc-git-extra-menu-map): Add a mapping for it.
9958 2009-12-08 Jose E. Marchesi <jemarch@gnu.org>
9960 * play/gomoku.el (gomoku-mode-map): Remap `move-(beginning|end)-of-line'
9961 instead of `(beginning|end)-of-line'.
9963 2009-12-08 Glenn Morris <rgm@gnu.org>
9965 * vc-mtn.el (vc-mtn-print-log): Fix typo in previous.
9967 * Makefile.in (ELCFILES): Regenerate.
9969 2009-12-07 Juri Linkov <juri@jurta.org>
9971 Don't lazy-highlight the comint output in history Isearch mode.
9973 * comint.el (comint-history-isearch-search): Instead of
9974 `comint-line-beginning-position', use `comint-after-pmark-p'
9975 to check if point if before the process mark, and go to
9976 `process-mark' in this case.
9978 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
9980 * textmodes/tex-mode.el (latex-complete)
9981 (latex-indent-or-complete): Remove.
9982 (latex-mode): Set completion-at-point-functions instead.
9984 Provide a standard completion command and hook it into TAB.
9985 * minibuffer.el (completion-at-point-functions): New var.
9986 (completion-at-point): New command.
9987 * indent.el (indent-for-tab-command): Handle the `complete' behavior.
9988 * progmodes/python.el (python-mode-map): Use completion-at-point.
9989 (python-completion-at-point): Rename from python-partial-symbol and
9990 adjust for use in completion-at-point-functions.
9991 (python-mode): Setup completion-at-point for Python completion.
9992 * emacs-lisp/lisp.el (lisp-completion-at-point): New function
9993 extracted from lisp-complete-symbol.
9994 (lisp-complete-symbol): Use it.
9995 * emacs-lisp/lisp-mode.el (emacs-lisp-mode): Use define-derived-mode,
9996 setup completion-at-point for Elisp completion.
9997 (emacs-lisp-mode-map, lisp-interaction-mode-map):
9998 Use completion-at-point.
9999 * ielm.el (ielm-map): Use completion-at-point.
10000 (inferior-emacs-lisp-mode): Setup completion-at-point-functions.
10001 * progmodes/sym-comp.el: Move to...
10002 * obsolete/sym-comp.el: Move from progmodes.
10004 2009-12-07 Eli Zaretskii <eliz@gnu.org>
10006 Prevent save-buffer in Rmail buffers from using the coding-system
10007 of the current message, and from clobbering the encoding mnemonics
10008 in the mode line (Bug#4623).
10010 * mail/rmail.el (rmail-swap-buffers): Swap encoding and modified
10012 (rmail-message-encoding): New variable.
10013 (rmail-write-region-annotate): Record the encoding of the current
10014 message in rmail-message-encoding.
10015 (rmail-after-save-hook): New function, restores the encoding of
10016 the current message after the message collection is saved.
10018 2009-12-07 Juri Linkov <juri@jurta.org>
10020 * progmodes/grep.el (grep-read-files): Use `completing-read'
10021 instead of `read-string'. Set its `collection' arg to
10022 `read-file-name-internal'. (Bug#4301)
10024 2009-12-07 Juri Linkov <juri@jurta.org>
10026 Correctly restore original Isearch point. (Bug#4994)
10028 * isearch.el (isearch-mode): Move `isearch-push-state' after
10029 `(run-hooks 'isearch-mode-hook)'.
10030 (isearch-cancel): When `isearch-push-state-function' is defined,
10031 let-bind `isearch-cmds' to the first state (the last element of
10032 `isearch-cmds') and call `isearch-top-state' (it calls pop-state
10033 function and restores the original point). Otherwise, move point
10034 to `isearch-opoint'.
10036 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
10038 * international/mule-cmds.el (ucs-names): Weed out at compile-time the
10039 chars that don't have names, so the table can be built much faster at
10042 2009-12-07 Chong Yidong <cyd@stupidchicken.com>
10044 * vc-bzr.el (vc-bzr-annotate-command): More elegant form for last
10045 change. Suggested by David Kastrup.
10047 * simple.el (compose-mail): Check for incompatibilities and warn.
10048 (compose-mail-user-agent-warnings): New option.
10050 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
10052 Support showing a single log entry from vc-annotate.
10053 * vc.el (print-log): Add a new argument: START-REVISION.
10054 (vc-print-log-internal): Add a new optional argument and
10055 pass it to the backend.
10056 (vc-print-log, vc-print-root-log): Adjust callers.
10057 * vc-annotate.el (vc-annotate-show-log-revision-at-line): If a
10058 buffer already displays the requested log entry, use it.
10059 Otherwise display only the log entry in question.
10060 * vc-svn.el (vc-svn-print-log):
10061 * vc-mtn.el (vc-mtn-print-log):
10062 * vc-hg.el (vc-hg-state):
10063 * vc-git.el (vc-git-print-log): Add support for new argument START-REVISION.
10064 (vc-git-show-log-entry): Return t on success.
10065 * vc-bzr.el (vc-bzr-print-log): Add support new argument START-REVISION.
10066 (vc-bzr-show-log-entry): Return t on success.
10067 * vc-rcs.el (vc-rcs-print-log):
10068 * vc-sccs.el (vc-sccs-print-log):
10069 * vc-cvs.el (vc-cvs-print-log): Add new argument, ignore it.
10071 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
10073 * ediff-mult.el (ediff-setup-meta-map, ediff-prepare-meta-buffer):
10074 Add menus to the meta mode. (Bug#5043)
10076 2009-12-07 Michael Kifer <kifer@cs.stonybrook.edu>
10078 * ediff-init.el (ediff-event-key): Use event-to-character instead of
10081 * ediff.el (ediff-buffers-internal): Add unwind-protect.
10083 2009-12-07 Michael Albinus <michael.albinus@gmx.de>
10085 Handle prompt rules of ksh in OpenBSD 4.5. Reported by Raphaël
10086 Berbain <raphael.berbain@gmail.com>.
10088 * net/tramp.el (tramp-end-of-output): Move up. Use `#' and `$'
10090 (tramp-initial-end-of-output): New defconst.
10091 (tramp-methods, tramp-find-shell)
10092 (tramp-open-connection-setup-interactive-shell)
10093 (tramp-maybe-open-connection): Use it.
10094 (tramp-shell-prompt-pattern, tramp-wait-for-output): Handle
10095 existence of `#' and `$'.
10097 * net/tramp-fish.el (tramp-fish-maybe-open-connection): Use
10098 `tramp-initial-end-of-output'.
10100 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
10102 Get the background mode from the terminal for xterm, and set
10104 * term/xterm.el (xterm-set-background-mode): New function.
10105 (terminal-init-xterm): Use it in case xterm supports background
10106 color queries. Recompute faces after getting the background
10109 2009-12-07 Ulrich Mueller <ulm@gentoo.org>
10111 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Put the version
10112 number comment back on its own line, for easier parsing.
10114 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
10116 Make it work for non-file buffers (bug#5102).
10117 * doc-view.el (doc-view-current-cache-dir):
10118 Use doc-view-buffer-file-name rather than buffer-file-name.
10119 (doc-view-mode): Use buffer-name when buffer-file-name is nil.
10121 2009-12-06 Óscar Fuentes <ofv@wanadoo.es>
10123 * vc-bzr.el (vc-bzr-annotate-command): Handle the case where the
10124 author field is too short.
10126 2009-12-06 Dan Nicolaescu <dann@ics.uci.edu>
10128 * vc-git.el (vc-git-print-log): Handle a limit argument.
10129 Display the short log in graph form and with labels.
10130 (vc-git-log-view-mode): Handle labels.
10132 Make vc-revert change VC state from 'added to 'unregistered.
10133 * vc-git.el (vc-git-revert): Call git reset first.
10135 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
10137 * net/newst-backend.el, net/newst-plainview.el:
10138 * net/newst-reader.el, net/newst-ticker.el:
10139 * net/newst-treeview.el, net/newsticker.el:
10140 Require/provide newst-... (instead of newsticker-...). (Bug#5096)
10142 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
10144 * log-view.el (log-view-mode-map): Bind "=" to log-view-diff too.
10146 * vc-bzr.el (vc-bzr-annotate-command): Show author in annotation.
10147 Handle empty author field (Bug#4144). Suggested by Óscar Fuentes.
10148 (vc-bzr-annotate-time, vc-bzr-annotate-extract-revision-at-line):
10149 Update annotation regexp.
10151 * simple.el (beginning-of-visual-line): Constrain to field
10152 boundaries (Bug#5106).
10154 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
10156 * xml.el (xml-substitute-numeric-entities): Move
10157 newsticker--decode-numeric-entities in newst-backend.el to
10158 xml-substitute-numeric-entities in xml.el. (Bug#5008)
10159 * net/newst-backend.el (newsticker--parse-generic-feed)
10160 (newsticker--parse-generic-items)
10161 (newsticker--decode-numeric-entities): Move
10162 newsticker--decode-numeric-entities in newst-backend.el to
10163 xml-substitute-numeric-entities in xml.el. (Bug#5008)
10165 2009-12-06 Daniel Colascione <dan.colascione@gmail.com>
10167 * progmodes/js.el (js--js-not): Add null to the list of values.
10169 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
10171 * ansi-color.el (ansi-color-for-comint-mode): Add :version keyword.
10173 2009-12-06 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
10175 * textmodes/bibtex.el (bibtex-enclosing-field): Exclude entry
10176 delimiter if it is at the end of the current line.
10177 (bibtex-generate-url-list): Fix docstring.
10179 2009-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
10181 * minibuffer.el (minibuffer-complete-and-exit): Don't replace the
10182 minibuffer's content with itself.
10183 Fold the confirm-after-completion case into the `confirm' case.
10184 (completion-pcm-word-delimiters): Add : and / to the delimiters.
10186 2009-12-06 Kevin Ryde <user42@zip.com.au>
10188 * ffap.el (ffap-rfc-path): Make this a defcustom since
10189 `ffap-rfc-directories' is also a defcustom. (Bug#4514.)
10191 * info-look.el: Add setup for apropos-mode to use emacs-lisp-mode
10192 manuals, similar to existing setup for help-mode. (Bug#3913.)
10194 2009-12-05 Juri Linkov <juri@jurta.org>
10196 Save and restore dired buffer's point positions too. (Bug#4880)
10198 * dired.el (dired-save-positions): Return in the first element
10199 buffer's position in format (BUFFER DIRED-FILENAME BUFFER-POINT).
10201 (dired-restore-positions): First restore buffer's position.
10202 While restoring window's positions, check if window still displays
10203 the original buffer.
10205 2009-12-05 Chong Yidong <cyd@stupidchicken.com>
10207 * bindings.el (complete-symbol): Call semantic-ia-complete-symbol
10210 * shell.el (shell): Require ansi-color (Bug#5113).
10212 * ansi-color.el (ansi-color-for-comint-mode): Default to t.
10214 * hl-line.el (global-hl-line-highlight): Minor doc fix (Bug#4925).
10216 2009-12-05 Alan Mackenzie <acm@muc.de>
10218 * progmodes/cc-mode.el (c-before-hack-hook)
10219 (c-postprocess-file-styles): Revert change 2009-07-18T21:03:43Z!acm@muc.de to permit
10220 `c-file-style' to work again. This reversion restores the current
10221 software to its state in Emacs 23.1. (Bug#4146)
10223 2009-12-05 Kevin Ryde <user42@zip.com.au>
10225 * textmodes/sgml-mode.el (sgml-lexical-context): Recognise
10226 comment-start-skip to comment-end-skip as comment (Bug#4781).
10228 2009-12-05 Juri Linkov <juri@jurta.org>
10230 * info.el (Info-find-node-2): Set `Info-current-subfile' to nil
10231 for virtual nodes. (Bug#4147)
10232 (Info-find-node-2): Set `Info-current-node-virtual' to nil
10233 when moving from a virtual node.
10234 (Info-mode-menu): Add `Info-virtual-index' to the menu.
10235 (Info-mode): Add `Info-virtual-index' to the docstring.
10237 2009-12-05 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
10239 * textmodes/bibtex.el (bibtex-map-entries): Use marker to keep
10240 track of the buffer position of the end of a BibTeX entry as this
10241 position may change during reformatting.
10242 (bibtex-format-entry): Remove whitespace before processing
10243 numerical fields so that we recognize the latter properly.
10244 (bibtex-reformat): Do not use push which changes the global value
10245 of bibtex-entry-format.
10246 (bibtex-field-braces-alist, bibtex-field-strings-alist)
10247 (bibtex-field-re-init): Replace only space characters by regexp
10249 (bibtex-generate-url-list, bibtex-cite-matcher-alist): Fix docstring.
10250 (bibtex-initialize): Also update bibtex-strings.
10251 (bibtex-kill-field): Preserve white space at end of entry.
10252 (bibtex-kill-entry, bibtex-yank-pop, bibtex-insert-kill):
10253 Update bibtex-reference-keys.
10255 2009-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
10257 * minibuffer.el (completion-pcm--merge-try): Also consider placing
10258 point after a star, if that's the only place where modifications can
10261 2009-12-05 Dan Nicolaescu <dann@ics.uci.edu>
10263 * vc-dir.el (vc-dir): Use the correct markup for showing keymaps
10266 2009-12-04 Juri Linkov <juri@jurta.org>
10268 * proced.el (proced): Call `(proced-update t)' to update process
10269 information instead of only running proced-post-display-hook.
10270 (proced-send-signal): Add a leading space to the buffer name
10271 " *Marked Processes*" to make this buffer ephemeral.
10273 2009-12-04 Juri Linkov <juri@jurta.org>
10275 * dired.el (dired-auto-revert-buffer): New defcustom.
10276 (dired-internal-noselect): Use it.
10278 2009-12-04 Juri Linkov <juri@jurta.org>
10280 Change roles of modes and functions in image-mode.el (Bug#5062).
10282 * image-mode.el: Replace `image-mode-maybe' with `image-mode'
10283 in `auto-mode-alist'.
10284 (image-mode-previous-major-mode): New variable.
10285 (image-minor-mode-map): Rename from `image-mode-text-map'.
10286 (image-mode): Move graceful error-handling code from
10287 `image-minor-mode' to here. On errors call `image-mode-as-text'.
10288 (image-minor-mode): Remove all image-handling code.
10289 Replace `image-mode-text-map' with `image-minor-mode-map'.
10290 Check for `image-type' in mode-line format string.
10291 (image-mode-maybe): Make obsolete with an alias to `image-mode'.
10292 (image-mode-as-text): New function with most code from
10293 `image-mode-maybe'.
10294 (image-toggle-display-text): Move code that removes image
10295 properties from `image-toggle-display' to here.
10296 (image-toggle-display-image): New function with code that adds
10297 image properties copied from `image-toggle-display'.
10298 (image-toggle-display): Remove most code with leaving only code
10299 that toggles between `image-mode-as-text' and `image-mode'.
10301 2009-12-04 Ulf Jasper <ulf.jasper@web.de>
10303 * net/newst-treeview.el
10304 (newsticker--treeview-list-highlight-start): Restored call to
10305 save-excursion: Selected item was stuck.
10306 (newsticker--treeview-list-select): New.
10307 (newsticker--treeview-item-show-text)
10308 (newsticker--treeview-item-show)
10309 (newsticker--treeview-item-update): Use new
10310 newsticker-treeview-item-mode.
10311 (newsticker-treeview-update): Keep current item.
10312 (newsticker-treeview-next-new-or-immortal-item): Doc change.
10313 (newsticker--treeview-first-feed): Doc change.
10314 (newsticker-treeview-list-menu)
10315 (newsticker-treeview-item-menu): Added menu entries.
10316 (newsticker-treeview-item-mode): New.
10318 * net/newst-backend.el (newsticker-customize): Delete other
10321 2009-12-04 Sam Steingold <sds@gnu.org>
10323 * log-view.el (log-view-mode-map): "q" calls quit-window,
10324 like in all the other non-self-insert buffers.
10326 2009-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
10329 * term.el (term-send-raw, term-send-raw-meta): Use read-key-sequence's
10330 key decoding rather than do it manually via last-input-event +
10332 (term-exec): Use delete-and-extract-region.
10333 (term-handle-ansi-terminal-messages): Remove unused var `end'.
10334 (term-process-pager): Remove unused var `i'.
10335 (term-dynamic-simple-complete): Make obsolete.
10336 (serial-update-config-menu): Remove unused vars `y' and `str'.
10337 (term-update-mode-line): Remove unused var `temp'.
10339 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
10341 Limit the number of log entries displayed by default.
10342 * vc.el (vc-print-log-internal): Fix check for limit-unsupported.
10343 (vc-print-log, vc-print-root-log): Use vc-log-show-limit when not
10344 using a prefix argument.
10346 2009-12-03 Glenn Morris <rgm@gnu.org>
10348 * progmodes/idlwave.el (class): Restore still useful declaration.
10350 2009-12-03 Alan Mackenzie <acm@muc.de>
10352 Enhance `c-parse-state' to run efficiently in "brace deserts".
10354 * progmodes/cc-mode.el (c-basic-common-init):
10355 Call c-state-cache-init.
10356 (c-neutralize-syntax-in-and-mark-CPP): Rename from
10357 c-extend-and-neutralize-syntax-in-CPP. Mark each CPP construct by
10358 placing `category' properties value 'c-cpp-delimiter at its boundaries.
10360 * progmodes/cc-langs.el (c-before-font-lock-function):
10361 c-extend-and-neutralize-syntax-in-CPP has been renamed
10362 c-neutralize-syntax-in-and-mark-CPP.
10364 * progmodes/cc-fonts.el (c-cpp-matchers): Mark template brackets
10365 with `category' properties now, not `syntax-table' ones.
10367 * progmodes/cc-engine.el (c-syntactic-end-of-macro): A new
10368 enhanced (but slower) version of c-end-of-macro that won't land
10369 inside a literal or on another awkward character.
10370 (c-state-cache-too-far, c-state-cache-start)
10371 (c-state-nonlit-pos-interval, c-state-nonlit-pos-cache)
10372 (c-state-nonlit-pos-cache-limit, c-state-point-min)
10373 (c-state-point-min-lit-type, c-state-point-min-lit-start)
10374 (c-state-min-scan-pos, c-state-brace-pair-desert)
10375 (c-state-old-cpp-beg, c-state-old-cpp-end): New constants and
10376 buffer local variables.
10377 (c-state-literal-at, c-state-lit-beg)
10378 (c-state-cache-non-literal-place, c-state-get-min-scan-pos)
10379 (c-state-mark-point-min-literal, c-state-cache-top-lparen)
10380 (c-state-cache-top-paren, c-state-cache-after-top-paren)
10381 (c-get-cache-scan-pos, c-get-fallback-scan-pos)
10382 (c-state-balance-parens-backwards, c-parse-state-get-strategy)
10383 (c-renarrow-state-cache)
10384 (c-append-lower-brace-pair-to-state-cache)
10385 (c-state-push-any-brace-pair, c-append-to-state-cache)
10386 (c-remove-stale-state-cache)
10387 (c-remove-stale-state-cache-backwards, c-state-cache-init)
10388 (c-invalidate-state-cache-1, c-parse-state-1)
10389 (c-invalidate-state-cache): New defuns/defmacros/defsubsts.
10390 (c-parse-state): Enhance and refactor.
10391 (c-debug-parse-state): Amend to deal with all the new variables.
10393 * progmodes/cc-defs.el (c-<-as-paren-syntax, c-mark-<-as-paren)
10394 (c->-as-paren-syntax, c-mark->-as-paren, c-unmark-<->-as-paren):
10395 modify to use category text properties rather than syntax-table ones.
10396 (c-suppress-<->-as-parens, c-restore-<->-as-parens): New defsubsts
10397 to switch off/on the syntactic paren property of C++ template
10398 delimiters using the category property.
10399 (c-with-<->-as-parens-suppressed): Macro to invoke code with
10400 template delims suppressed.
10401 (c-cpp-delimiter, c-set-cpp-delimiters, c-clear-cpp-delimiters):
10402 New constant/macros which apply category properties to the start
10403 and end of preprocessor constructs.
10404 (c-comment-out-cpps, c-uncomment-out-cpps): Defsubsts which
10405 "comment out" the syntactic value of characters in preprocessor
10407 (c-with-cpps-commented-out)
10408 (c-with-all-but-one-cpps-commented-out): Macros to invoke code
10409 with characters in all or all but one preprocessor constructs
10412 2009-12-03 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
10414 * proced.el (proced-filter-alist): Use regexp-quote.
10416 2009-12-03 Michael Albinus <michael.albinus@gmx.de>
10419 * eshell/em-unix.el (top): Require 'esh-opt and 'pcomplete.
10420 (eshell/su, eshell/sudo): Require 'tramp. Fix problems reading
10421 arguments. Expand `default-directory'.
10423 * net/tramp.el (tramp-handle-file-remote-p): Expand FILENAME for
10424 the benefit of returning an expanded localname.
10425 (tramp-tramp-file-p): Handle the case NAME is not a string.
10427 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
10429 Add support for bzr shelve/unshelve.
10430 * vc-bzr.el (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
10431 (vc-bzr-extra-menu-map): New variables.
10432 (vc-bzr-extra-menu, vc-bzr-extra-status-menu, vc-bzr-shelve)
10433 (vc-bzr-shelve-apply, vc-bzr-shelve-list)
10434 (vc-bzr-shelve-get-at-point, vc-bzr-shelve-delete-at-point)
10435 (vc-bzr-shelve-apply-at-point, vc-bzr-shelve-menu): New functions.
10436 (vc-bzr-dir-extra-headers): Display shelves.
10438 * vc-bzr.el (vc-bzr-print-log): Deal with nil arguments better.
10440 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
10442 * textmodes/bibtex.el (bibtex-complete-internal):
10443 Use completion-in-region.
10444 (bibtex-text-in-field-bounds): Remove unused var `opoint'.
10446 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
10448 Support applying stashes. Improve UI.
10449 * vc-git.el (vc-git-dir-extra-headers): Add tooltips.
10450 (vc-git-stash-apply, vc-git-stash-pop)
10451 (vc-git-stash-apply-at-point, vc-git-stash-pop-at-point)
10452 (vc-git-stash-menu): New functions.
10453 (vc-git-stash-menu-map): New variable.
10454 (vc-git-stash-map): Add bindings to popup a menu and to apply stashes.
10456 2009-12-03 Glenn Morris <rgm@gnu.org>
10458 * vc.el (log-view-vc-backend, log-view-vc-fileset): Declare.
10459 (vc-print-log-internal): Fix previous change.
10460 (vc-revert): Correct pluralization.
10462 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
10464 * progmodes/make-mode.el (makefile-special-targets-list): No need for
10465 it to be an alist any more.
10466 (makefile-complete): Use completion-in-region.
10468 * progmodes/octave-mod.el (octave-complete-symbol):
10469 Use completion-in-region.
10472 * progmodes/idlwave.el (idlwave-comment-hook): Simplify with `or'.
10473 (idlwave-code-abbrev, idlwave-display-user-catalog-widget)
10474 (idlwave-complete-class): Don't quote lambda.
10475 (idlwave-find-symbol-syntax-table, idlwave-mode-syntax-table)
10476 (idlwave-mode-map): Move initialization into declaration.
10477 (idlwave-action-and-binding): Use backquotes.
10478 (idlwave-in-quote, idlwave-reset-sintern, idlwave-complete-in-buffer):
10480 (idlwave-is-pointer-dereference): Remove unused var `pos'.
10481 (idlwave-xml-create-rinfo-list): Remove unused var `entry'.
10482 (idlwave-convert-xml-clean-sysvar-aliases): Remove unused vars `new',
10483 `parts', and `all-parts'.
10484 (idlwave-xml-create-sysvar-alist): Remove unused var `fields'.
10485 (idlwave-convert-xml-system-routine-info): Remove unused string
10487 (idlwave-display-user-catalog-widget): Use dolist.
10488 (idlwave-scanning-lib): Declare dynamically-scoped var.
10489 (idlwave-scan-library-catalogs): Remove unused var `flags'.
10490 (completion-highlight-first-word-only): Declare to silence bytecomp.
10491 (idlwave-popup-select): Tighten scope of `resp'.
10492 (idlwave-find-struct-tag): Remove unused var `beg'.
10493 (idlwave-after-load-rinfo-hook): Declare.
10494 (idlwave-sintern-class-info): Remove unused var `taglist'.
10495 (idlwave-find-class-definition): Remove unused var `list'.
10496 (idlwave-complete-sysvar-tag-help): Remove unused var `main-base'.
10497 (idlwave-what-module-find-class): Remove unused var `classes'.
10499 2009-12-03 Juanma Barranquero <lekktu@gmail.com>
10501 * progmodes/pascal.el: Require CL when compiling (for lexical-let).
10503 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
10505 * hippie-exp.el (try-expand-dabbrev-visible): Preserve point in the
10506 buffers visited. Remove redundant current-buffer-saving.
10508 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
10510 Use completion-in-buffer and remove uses of dynamic scoping.
10511 * progmodes/pascal.el (pascal-str, pascal-all, pascal-pred)
10512 (pascal-buffer-to-use, pascal-flag): Don't declare.
10513 (pascal-func-completion, pascal-type-completion, pascal-var-completion)
10514 (pascal-get-completion-decl, pascal-keyword-completion):
10515 Add `pascal-str' argument, save-excursion,
10516 return the found completions, and don't filter with pascal-pred.
10517 (pascal-completion-cache): New var.
10518 (pascal-completion): Don't switch buffer any more (it was never
10519 necessary). Don't save-excursion any more (it's done by the called
10520 subroutines). Use a cache to avoid redundant computations.
10521 Use complete-with-action rather than pascal-completion-response and
10522 let it apply the predicate as well.
10523 (pascal-complete-word): Use completion-in-buffer when
10524 pascal-toggle-completions is nil.
10525 (pascal-show-completions): Don't bind pascal-buffer-to-use since it's
10527 (pascal-comp-defun): Don't change buffer any more.
10528 Use complete-with-action rather than pascal-completion-response and
10529 let it apply the predicate as well.
10530 (pascal-goto-defun): Change buffer before calling pascal-comp-defun
10533 2009-12-02 Kenichi Handa <handa@m17n.org>
10535 * language/indian.el: Include ZWJ and ZWNJ in the patterns to
10536 shape for all Indic scripts.
10538 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
10540 Use completion-in-buffer.
10541 * wid-edit.el (widget-field-text-end): New function.
10542 (widget-field-value-get): Use it.
10543 (widget-string-complete, widget-file-complete)
10544 (widget-color-complete): Use it and completion-in-region.
10545 (widget-complete): Don't narrow the buffer.
10547 2009-12-02 Glenn Morris <rgm@gnu.org>
10549 * mail/rmail.el (rmail-pop-to-buffer): New function. (Bug#2282)
10550 (rmail-select-summary): Use rmail-pop-to-buffer.
10551 * mail/rmailsum.el: Replace all pop-to-buffer calls with
10552 rmail-pop-to-buffer, to prevent horizontal splits.
10554 * calendar/diary-lib.el (diary-list-entries): Replace superfluous
10555 save-excursion with save-current-buffer.
10556 Widen before searching. (Bug#5093)
10557 (diary-list-sexp-entries): Remove superfluous save-excursion.
10559 2009-12-02 Michael Welsh Duggan <mwd@cert.org>
10561 * woman.el (woman-make-bufname): Handle man-pages with "." in the
10564 2009-12-02 Andreas Politz <politza@fh-trier.de> (tiny change)
10566 * ido.el (ido-file-internal): Handle filenames at point that do
10567 not have a directory part. (Bug#5049)
10569 2009-12-02 Juanma Barranquero <lekktu@gmail.com>
10571 * mpc.el (mpc-intersection, mpc-host, mpc-songs-playlist)
10572 (mpc-songs-jump-to, mpc-resume): Doc fixes.
10574 2009-12-01 Rob Riepel <riepel@networking.Stanford.EDU>
10576 * emulation/tpu-extras.el (tpu-cursor-free-mode): Emit message.
10577 (tpu-set-cursor-free, tpu-set-cursor-bound): Don't emit a message
10580 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
10582 * comint.el (comint-insert-input): Ignore clicks to the right of
10583 the field. Reported by Bob Nnamtrop <bobnnamtrop@gmail.com>.
10585 * vc.el (vc-print-log-internal): Don't wait for the process to
10586 terminate before setting up the major mode.
10588 * pcmpl-unix.el (pcomplete/cd): Complete more than one argument, just
10591 * pcomplete.el (pcomplete-std-complete): Don't try to complete past
10594 * simple.el (normal-erase-is-backspace-mode): Fix thinko in message.
10596 2009-12-01 Glenn Morris <rgm@gnu.org>
10598 * window.el (window--display-buffer-2): Fix previous changes.
10600 2009-12-01 Chong Yidong <cyd@stupidchicken.com>
10602 * mail/sendmail.el (mail-setup-hook, mail-send-hook): Doc fixes.
10604 2009-12-01 Glenn Morris <rgm@gnu.org>
10606 * Makefile.in (ELCFILES): Add mpc.elc.
10608 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
10610 * mpc.el: New file.
10612 2009-12-01 Glenn Morris <rgm@gnu.org>
10614 * window.el (window-to-use): Define for compiler.
10616 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Make message
10617 consistent with others (no final period).
10619 * mail/rmailmm.el (rmail-mime-handle): Doc fix.
10620 (rmail-mime-show): Downcase the encoding. (Bug#5070)
10622 2009-12-01 Dan Nicolaescu <dann@ics.uci.edu>
10624 Make vc-print-log buttons work.
10625 * log-view.el (log-view-mode-map): Inherit from widget-keymap.
10627 2009-11-30 Ryan C. Thompson <rct@thompsonclan.org> (tiny change)
10629 * savehist.el (savehist-autosave-interval): Allow setting to nil
10630 through customize. (Bug#5056)
10632 2009-11-30 Juanma Barranquero <lekktu@gmail.com>
10634 Fix references to jit-lock properties.
10635 * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
10636 Refer to jit-lock-defer-multiline, not jit-lock-multiline.
10637 (perl-font-lock-special-syntactic-constructs):
10638 Quote jit-lock-defer-multiline property.
10640 2009-11-30 Dan Nicolaescu <dann@ics.uci.edu>
10642 * vc-git.el (vc-git-registered): Call vc-git-root only once.
10644 2009-11-30 Juri Linkov <juri@jurta.org>
10646 * misearch.el (multi-isearch-search-fun): Always provide a non-nil
10647 value `buffer' of `multi-isearch-next-buffer-current-function'.
10648 Use `(current-buffer)' when `buffer' is nil.
10649 (multi-isearch-next-buffer-from-list): Don't fallback to
10650 `(current-buffer)' when `buffer' is nil. (Bug#4947)
10652 2009-11-30 Juri Linkov <juri@jurta.org>
10654 * misearch.el (multi-isearch-read-buffers): Move canonicalization
10655 of buffers with `get-buffer' to `multi-isearch-buffers'.
10656 (multi-isearch-buffers, multi-isearch-buffers-regexp):
10657 Canonicalize BUFFERS with `get-buffer'. Doc fix.
10658 (multi-isearch-files, multi-isearch-files-regexp): Canonicalize
10659 FILES with `expand-file-name' converting relative file names
10660 to absolute. Doc fix. (Bug#4727)
10662 2009-11-30 Juri Linkov <juri@jurta.org>
10664 * misearch.el (multi-isearch-read-buffers)
10665 (multi-isearch-read-matching-buffers): New functions.
10666 (multi-isearch-buffers, multi-isearch-buffers-regexp):
10667 Use them in the `interactive' spec. Doc fix.
10668 (multi-isearch-read-files, multi-isearch-read-matching-files):
10670 (multi-isearch-files, multi-isearch-files-regexp):
10671 Use them in the `interactive' spec. Doc fix. (Bug#4725)
10673 2009-11-30 Juri Linkov <juri@jurta.org>
10675 * doc-view.el (doc-view-continuous):
10676 Rename from `doc-view-continuous-mode'.
10677 (doc-view-menu): Move "Toggle display" to the top.
10678 Add submenu "Continuous" with radio buttons "Off"/"On"
10679 and "Save as Default".
10680 (doc-view-scroll-up-or-next-page)
10681 (doc-view-scroll-down-or-previous-page)
10682 (doc-view-next-line-or-next-page)
10683 (doc-view-previous-line-or-previous-page): Rename
10684 `doc-view-continuous-mode' to `doc-view-continuous'. (Bug#4896)
10686 2009-11-30 Juri Linkov <juri@jurta.org>
10688 * comint.el (comint-mode-map): Rebind `M-r' from
10689 `comint-previous-matching-input' to
10690 `comint-history-isearch-backward-regexp'.
10691 Unbind `M-s' to allow global key binding `M-s'.
10692 Add menu items for `comint-history-isearch-backward' and
10693 `comint-history-isearch-backward-regexp'. (Bug#3746)
10695 2009-11-30 Juri Linkov <juri@jurta.org>
10697 * replace.el (perform-replace): Let-bind recenter-last-op to nil.
10698 For def=recenter, replace `recenter' with `recenter-top-bottom'
10699 that is called with `this-command' and `last-command' let-bound
10700 to `recenter-top-bottom'. When the last `def' was not `recenter',
10701 set `recenter-last-op' to nil. (Bug#4981)
10703 2009-11-30 Stefan Monnier <monnier@iro.umontreal.ca>
10705 Minor cleanup and simplification.
10706 * filecache.el (file-cache-add-directory)
10707 (file-cache-add-directory-recursively)
10708 (file-cache-add-from-file-cache-buffer)
10709 (file-cache-delete-file-regexp, file-cache-delete-directory)
10710 (file-cache-files-matching-internal, file-cache-display): Use dolist.
10711 (file-cache-temp-minibuffer-message): Delete function.
10712 (file-cache-minibuffer-complete): Use minibuffer-message instead.
10714 * progmodes/perl-mode.el (perl-font-lock-special-syntactic-constructs):
10715 Don't signal an error when bumping into EOB in tr, s, or y.
10717 2009-11-29 Juri Linkov <juri@jurta.org>
10719 * startup.el (fancy-about-text): Fix wording of Guided Tour.
10722 * descr-text.el (describe-char-unidata-list): Use lowercase name
10723 for "Unicode name" like in other tags.
10725 2009-11-29 Juri Linkov <juri@jurta.org>
10727 * ediff-util.el (ediff-minibuffer-with-setup-hook):
10728 New compatibility macro.
10729 (ediff-read-file-name): Use it instead of `minibuffer-with-setup-hook'.
10731 2009-11-29 Juri Linkov <juri@jurta.org>
10733 Add defcustom to define the cycling order of `recenter-top-bottom'.
10736 * window.el (recenter-last-op): Doc fix.
10737 (recenter-positions): New defcustom.
10738 (recenter-top-bottom): Rewrite to use `recenter-positions'.
10739 (move-to-window-line-top-bottom): Rewrite to use `recenter-positions'.
10741 2009-11-29 Michael Albinus <michael.albinus@gmx.de>
10743 Improve integration of Tramp and ange-ftp in eshell.
10745 * eshell/em-unix.el (eshell/whoami): Make it a defun but a defalias.
10746 (eshell/su): Flatten args. Apply better args parsing. Use "cd".
10747 (eshell/sudo): Flatten args. Let-bind `default-directory'.
10749 * eshell/esh-util.el (top): Require also Tramp when compiling.
10750 (eshell-directory-files-and-attributes): Check for FTP remote
10752 (eshell-parse-ange-ls): Let-bind `ange-ftp-name-format',
10753 `ange-ftp-ftp-name-arg', `ange-ftp-ftp-name-res'.
10754 (eshell-file-attributes): Handle ".". Return `entry'.
10756 * net/ange-ftp.el (ange-ftp-parse-filename): Use `save-match-data'.
10757 (ange-ftp-directory-files-and-attributes)
10758 (ange-ftp-real-directory-files-and-attributes): New defuns.
10760 * net/tramp.el (tramp-maybe-open-connection): Open the remote
10761 shell with "exec" when possible. This prevents trailing prompts
10762 in `start-file-process'.
10764 2009-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
10766 Try and remove assumptions about point-min==1.
10767 * nxml/rng-valid.el (rng-validate-mode): Don't hardcode point-min==1.
10768 (rng-compute-mode-line-string): Show the validation percentage in
10769 terms of the narrowed text, not the widened text.
10770 (rng-do-some-validation): Don't catch internal errors when debugging.
10771 (rng-first-error): Simplify.
10772 (rng-after-change-function): Remove work around. AFAIK the bug has
10773 been fixed a while ago.
10775 * image-mode.el (image-minor-mode): Exit more gracefully when the image
10776 cannot be displayed (e.g. when doing C-x C-f some-new-file.svg RET).
10778 * man.el (Man-completion-table): Make it easier to enter "<sec> <name>".
10780 * eshell/em-prompt.el (eshell-prompt-function): Abbreviate pwd, since
10781 `cd' doesn't always do it for us (bug#5067).
10783 * pcomplete.el (pcomplete-entries): Revert change installed mistakenly
10784 on 2009-10-25 as part of some other change (bug#5067).
10786 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
10788 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
10790 (byte-compile-warnings): Use byte-compile-warning-types.
10791 (byte-compile-save-excursion): Warn about use of set-buffer right
10792 after save-excursion.
10794 * progmodes/gud.el (gud-basic-call): Don't only save the buffer but
10795 the excursion as well.
10797 2009-11-27 Michael Albinus <michael.albinus@gmx.de>
10799 * eshell/em-unix.el (eshell/su, eshell/sudo): New defuns,
10800 providing a Tramp related implementation of "su" and "sudo".
10801 (eshell-unix-initialize): Add "su" and "sudo".
10803 2009-11-27 Daiki Ueno <ueno@unixuser.org>
10805 * net/socks.el (socks-send-command): Convert binary request to
10806 unibyte before sending. This fixes mishandling of some port
10807 numbers such as 129.
10809 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
10811 * help.el (describe-bindings-internal): Remove `interactive'.
10813 * man.el (Man-completion-table): Trim a terminating "(".
10814 Remove the space between name page a section.
10815 Add the command's description on the `help-echo' property.
10816 Remove `process-connection-type' binding since it's unused by
10818 Provide completion for the "<section> <name>" format as well.
10819 (Man-default-man-entry): Remove spurious var shadowing the argument.
10821 2009-11-26 Kevin Ryde <user42@zip.com.au>
10823 * log-view.el: Add "Keywords: tools", since its other keywords
10824 aren't in finder-known-keywords, and following vc.el.
10826 * sha1.el (sha1-string-external): default-directory "/" in case
10827 otherwise non-existent. process-connection-type pipe for touch of
10828 efficiency recommended by elisp manual. (An aside in Bug#3911.)
10830 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
10832 Misc coding convention cleanups.
10833 * htmlfontify.el (hfy-init-kludge-hook): Rename from
10834 hfy-init-kludge-hooks.
10835 (hfy-etags-cmd, hfy-flatten-style, hfy-invisible-name, hfy-face-at)
10836 (hfy-fontify-buffer, hfy-prepare-index-i, hfy-subtract-maps)
10837 (hfy-save-kill-buffers, htmlfontify-copy-and-link-dir): Use dolist
10839 (hfy-slant, hfy-weight): Use tables rather than code.
10840 (hfy-box-to-border-assoc, hfy-box-to-style, hfy-decor)
10841 (hfy-face-to-style-i, hfy-fontify-buffer): Use `case'.
10842 (hfy-face-attr-for-class): Initialize `face-spec' directly.
10843 (hfy-face-to-css): Remove `nconc' with single arg.
10844 (hfy-p-to-face-lennart): Use `or'.
10845 (hfy-face-at): Hoist common code. Remove spurious quotes in `case'.
10846 (hfy-overlay-props-at, hfy-mark-tag-hrefs): Eta-reduce.
10847 (hfy-compile-stylesheet, hfy-merge-adjacent-spans)
10848 (hfy-compile-face-map, hfy-parse-tags-buffer): Use push.
10849 (hfy-force-fontification): Use run-hooks.
10851 2009-11-26 Vivek Dasmohapatra <vivek@etla.org>
10853 Various minor fixes.
10854 * htmlfontify.el (hfy-default-header): Add toggle_invis since
10855 Javascript belongs in the header, not the body.
10856 (hfy-javascript): Remove.
10857 (hfy-fontify-buffer): Don't insert it any more.
10858 (hfy-face-at): Handle (face0 face1 face2) style face properties.
10859 Fix bug in invis handling when there were no invis props in a chunk.
10861 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
10863 * vc-bzr.el (vc-bzr-annotate-command): Make operation asynchronous.
10865 2009-11-26 Dan Nicolaescu <dann@ics.uci.edu>
10867 * finder.el (finder-mode-map): Add a menu.
10869 2009-11-26 Michael McNamara <mac@mail.brushroad.com>
10871 * progmodes/verilog-mode.el (verilog-at-struct-p): Support "signed" and
10872 "unsigned" structs.
10874 (verilog-leap-to-head, verilog-backward-token): Handle "disable
10875 fork" statement better.
10877 2009-11-26 Wilson Snyder <wsnyder@wsnyder.org>
10879 * progmodes/verilog-mode.el (verilog-auto-insert-lisp)
10880 (verilog-delete-auto, verilog-delete-empty-auto-pair)
10881 (verilog-library-filenames): Fix AUTOINSERTLISP to support insert-file.
10882 Reported by Clay Douglass.
10884 (verilog-auto-inst, verilog-auto-star-safe)
10885 (verilog-delete-auto-star-implicit, verilog-read-sub-decls):
10886 Fix removing "// Interfaces" when saving .* expansions. Reported by
10887 Pierre-David Pfister.
10889 2009-11-26 Glenn Morris <rgm@gnu.org>
10891 * eshell/em-dirs.el (eshell/cd): Don't throw to a tag outside
10894 2009-11-25 Johan Bockgård <bojohan@gnu.org>
10896 * vc-annotate.el (vc-annotate-revision-previous-to-line):
10897 Really use previous revision.
10899 2009-11-25 Kevin Ryde <user42@zip.com.au>
10901 * man.el (Man-completion-table): default-directory "/" in case
10902 doesn't otherwise exist. process-environment COLUMNS=999 so as
10903 not to truncate long names. process-connection-type pipe to avoid
10904 any chance of hitting the pseudo-tty TIOCGWINSZ.
10905 (man): completion-ignore-case t for friendliness and since man
10906 itself is case-insensitive on the command line.
10907 Further to Bug#3717.
10909 * arc-mode.el: Add "Keywords: files", so the details in its
10910 commentary can be reached from finder-by-keyword.
10911 * textmodes/dns-mode.el: Add "Keywords: comm". It's only an
10912 editing mode, but it's comms related and sgml-mode.el has "comm"
10914 * textmodes/bibtex-style.el: Add "Keywords: tex".
10915 * international/isearch-x.el, international/ja-dic-cnv.el:
10916 * international/ja-dic-utl.el, international/kkc.el:
10917 Add "Keywords: i18n", so they can be reached from finder-by-keyword.
10919 2009-11-25 Juri Linkov <juri@jurta.org>
10921 * man.el (Man-completion-table): Modify regexp to include
10922 section names to completion strings. (Bug#3717)
10924 2009-11-25 Juri Linkov <juri@jurta.org>
10926 Search recursively in gzipped files. (Bug#4982)
10928 * progmodes/grep.el (grep-highlight-matches): Add new options
10929 `always' and `auto'. Doc fix.
10930 (grep-process-setup): Check `grep-highlight-matches' for
10931 `auto-detect' to determine the need to compute grep defaults.
10932 Move Windows/DOS specific --colors settings handling
10933 to `grep-compute-defaults'. Check `grep-highlight-matches'
10934 to get the value of "--color=".
10935 (grep-compute-defaults): Compute `grep-highlight-matches' when it
10936 has the value `auto-detect'. Move Windows/DOS specific settings
10937 from `grep-process-setup'.
10938 (zrgrep): New command with alias `rzgrep'.
10940 2009-11-25 Juri Linkov <juri@jurta.org>
10942 * doc-view.el (doc-view-mode): Set buffer-local `view-read-only'
10943 to nil instead of switching off view-mode. (Bug#4896)
10945 2009-11-25 Juri Linkov <juri@jurta.org>
10947 Mouse-wheel scrolling for DocView Continuous mode. (Bug#4896)
10949 * mwheel.el (mwheel-scroll-up-function)
10950 (mwheel-scroll-down-function): New defvars.
10951 (mwheel-scroll): Funcall `mwheel-scroll-up-function' instead of
10952 `scroll-up', and `mwheel-scroll-down-function' instead of
10955 * doc-view.el (doc-view-scroll-up-or-next-page)
10956 (doc-view-scroll-down-or-previous-page): Add optional ARG.
10957 Use this ARG in the call to image-scroll-up/image-scroll-down.
10958 Change `interactive' spec to "P". Goto next/previous page only
10959 when `doc-view-continuous-mode' is non-nil or ARG is nil (for the
10960 SPC/DEL case). Doc fix.
10961 (doc-view-next-line-or-next-page)
10962 (doc-view-previous-line-or-previous-page): Rename arg to ARG
10964 (doc-view-mode): Set buffer-local `mwheel-scroll-up-function' to
10965 `doc-view-scroll-up-or-next-page', and buffer-local
10966 `mwheel-scroll-down-function' to
10967 `doc-view-scroll-down-or-previous-page'.
10969 2009-11-25 Juri Linkov <juri@jurta.org>
10971 Provide additional default values (directories at other Dired
10972 windows) via M-n in the minibuffer of some Dired commands.
10974 * dired-aux.el (dired-diff, dired-compare-directories)
10975 (dired-do-create-files): Use `dired-dwim-target-defaults' to set
10976 `minibuffer-default' in `minibuffer-with-setup-hook'.
10977 (dired-dwim-target-directory): Find a window that displays Dired
10978 buffer instead of failing when the next window is not Dired.
10979 Use `get-window-with-predicate' to find for the next Dired window.
10980 (dired-dwim-target-defaults): New function.
10982 * ediff-util.el (ediff-read-file-name):
10983 Use `dired-dwim-target-defaults' to set `minibuffer-default'
10984 in `minibuffer-with-setup-hook'.
10986 2009-11-25 Juri Linkov <juri@jurta.org>
10988 Provide additional default values (file name at point or at the
10989 current Dired line) via M-n for file reading minibuffers. (Bug#5010)
10991 * minibuffer.el (read-file-name-defaults): New function.
10992 (read-file-name): Reset `minibuffer-default' to nil when
10993 it duplicates initial input `insdef'.
10994 Bind `minibuffer-default-add-function' to lambda that
10995 calls `read-file-name-defaults' in `minibuffer-selected-window'.
10996 (minibuffer-insert-file-name-at-point): New command.
10998 * files.el (file-name-at-point-functions): New defcustom.
10999 (find-file-default): Remove defvar.
11000 (find-file-read-args): Don't use `find-file-default'.
11001 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
11002 to `read-file-name'.
11003 (find-file-literally): Use `read-file-name' with
11004 `confirm-nonexistent-file-or-buffer'.
11006 * ffap.el (ffap-guess-file-name-at-point): New autoloaded function.
11008 * dired.el (dired-read-dir-and-switches):
11009 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
11010 to `read-file-name'.
11011 (dired-file-name-at-point): New function.
11012 (dired-mode): Add hook `dired-file-name-at-point' to
11013 `file-name-at-point-functions'.
11015 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
11017 Really make the *Completions* window soft-dedicated (bug#5030).
11018 * window.el (window--display-buffer-2): Add `dedicated' argument.
11019 (display-buffer): Pass it when needed so the dedicated flag is set
11020 after calling set-window-buffer, which would otherwise reset it.
11022 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
11024 * progmodes/meta-mode.el (meta-complete-symbol):
11025 * progmodes/etags.el (complete-tag):
11026 * mail/mailabbrev.el (mail-abbrev-complete-alias):
11027 Use completion-in-region.
11029 * dabbrev.el (dabbrev--minibuffer-origin): Use minibuffer-selected-window.
11030 (dabbrev-completion): Use completion-in-region.
11031 (dabbrev--abbrev-at-point): Simplify regexp.
11033 * abbrev.el (abbrev--before-point): Use word-motion functions
11034 if :regexp is not specified (bug#5031).
11036 * subr.el (string-prefix-p): New function.
11038 * man.el (Man-completion-cache): New var.
11039 (Man-completion-table): Use it.
11041 * vc.el (vc-print-log-internal): Make `limit' optional for better
11042 compatibility (e.g. with vc-annotate.el).
11044 2009-11-24 Kevin Ryde <user42@zip.com.au>
11046 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp):
11047 Build value with regexp-opt instead of explicit joining loop. (Bug#4927)
11049 * emacs-lisp/elint.el (elint-add-required-env): Better error message
11050 when .el source file not found or other error.
11052 2009-11-24 Markus Triska <markus.triska@gmx.at>
11054 * linum.el (linum-update-window): Ignore intangible (bug#4996).
11056 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
11058 Handle the [back] button properly (bug#4979).
11059 * descr-text.el (describe-text-properties): Add a `buffer' argument.
11060 Use help-setup-xref, help-buffer, and with-help-window.
11061 (describe-char): Add `buffer' argument.
11062 Pass proper command to help-setup-xref. Don't meddle with
11063 help-xref-stack-item directly.
11064 (describe-text-category): Use with-help-window and help-buffer.
11066 * emacs-lisp/shadow.el (list-load-path-shadows): Setup a major mode
11067 for the displayed buffer (bug#4887).
11069 * man.el (Man-completion-table): New function.
11072 2009-11-24 David Reitter <david.reitter@gmail.com>
11074 * vc-git.el (vc-git-registered): Use checkout directory (where
11075 .git is) rather than the file's directory and a relative path spec
11076 to work around a bug in git.
11078 2009-11-24 Michael Albinus <michael.albinus@gmx.de>
11080 Improve handling of processes on remote hosts.
11082 * eshell/esh-util.el (eshell-path-env): New defvar.
11083 (eshell-parse-colon-path): New defun.
11084 (eshell-file-attributes): Use `eshell-parse-colon-path'.
11086 * eshell/esh-ext.el (eshell-search-path):
11087 Use `eshell-parse-colon-path'.
11088 (eshell-remote-command): Remove argument HANDLER.
11089 (eshell-external-command): Check for FTP remote connection.
11091 * eshell/esh-proc.el (eshell-gather-process-output):
11092 Use `file-truename', in order to start also symlinked files.
11093 Apply `start-file-process' instead of `start-process'.
11094 Shorten `command' to the local file name part.
11096 * eshell/em-cmpl.el (eshell-complete-commands-list):
11097 Use `eshell-parse-colon-path'.
11099 * eshell/em-unix.el (eshell/du): Check for FTP remote connection.
11101 * net/tramp.el (tramp-eshell-directory-change): New defun. Add it
11102 to `eshell-directory-change-hook'.
11104 2009-11-24 Tassilo Horn <tassilo@member.fsf.org>
11106 * doc-view.el (doc-view-mode): Switch off view-mode explicitly,
11107 because it could be enabled automatically if view-read-only is non-nil.
11109 2009-11-24 Michael Kifer <kifer@cs.stonybrook.edu>
11111 * ediff-vers.el (ediff-rcs-get-output-buffer): Revert the change
11112 made on 2009-11-22.
11114 2009-11-24 Glenn Morris <rgm@gnu.org>
11116 * bookmark.el (bookmark-bmenu-hide-filenames): Remove assignment to
11117 deleted variable bookmark-bmenu-bookmark-column.
11119 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
11121 * bookmark.el (bookmark-bmenu-search): Clear echo area when exiting.
11123 2009-11-23 Ken Brown <kbrown@cornell.edu> (tiny change)
11125 * net/browse-url.el (browse-url-filename-alist): On Windows, add
11126 two slashes to the "file:" prefix.
11127 (browse-url-file-url): De-munge Cygwin filenames before passing
11128 them to Windows browser.
11129 (browse-url-default-windows-browser): Use call-process.
11131 2009-11-23 Juri Linkov <juri@jurta.org>
11133 Implement DocView Continuous mode. (Bug#4896)
11134 * doc-view.el (doc-view-continuous-mode): New defcustom.
11135 (doc-view-mode-map): Bind C-n/<down> to
11136 `doc-view-next-line-or-next-page', C-p/<up> to
11137 `doc-view-previous-line-or-previous-page'.
11138 (doc-view-next-line-or-next-page)
11139 (doc-view-previous-line-or-previous-page): New commands.
11141 2009-11-23 Juri Linkov <juri@jurta.org>
11143 Implement Isearch in comint input history. (Bug#3746)
11144 * comint.el (comint-mode): Add `comint-history-isearch-setup' to
11145 `isearch-mode-hook'.
11146 (comint-history-isearch): New defcustom.
11147 (comint-history-isearch-backward)
11148 (comint-history-isearch-backward-regexp): New commands.
11149 (comint-history-isearch-message-overlay): New buffer-local variable.
11150 (comint-history-isearch-setup, comint-history-isearch-end)
11151 (comint-goto-input, comint-history-isearch-search)
11152 (comint-history-isearch-message, comint-history-isearch-wrap)
11153 (comint-history-isearch-push-state)
11154 (comint-history-isearch-pop-state): New functions.
11156 2009-11-23 Michael Albinus <michael.albinus@gmx.de>
11158 * net/tramp.el (tramp-shell-prompt-pattern): Use \r for carriage
11160 (tramp-handle-make-symbolic-link)
11161 (tramp-handle-dired-compress-file, tramp-handle-expand-file-name):
11163 (tramp-send-command-and-check): New argument DONT-SUPPRESS-ERR.
11164 (tramp-handle-process-file): Use it.
11166 2009-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
11168 * window.el (move-to-window-line-last-op): Remove.
11169 (move-to-window-line-top-bottom): Reuse recenter-last-op instead.
11171 2009-11-23 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
11173 Make M-r mirror the new cycling behavior of C-l.
11174 * window.el (move-to-window-line-last-op): New var.
11175 (move-to-window-line-top-bottom): New command.
11176 (global-map): Bind M-r move-to-window-line-top-bottom.
11178 2009-11-23 Sven Joachim <svenjoac@gmx.de>
11180 * dired-x.el (dired-guess-shell-alist-default):
11181 Support xz format. (Bug#4953)
11183 2009-11-22 Michael Kifer <kifer@cs.stonybrook.edu>
11185 * emulation/viper-cmd.el: Use viper-last-command-char instead of
11186 last-command-char/last-command-event.
11187 (viper-prefix-arg-value): Do correct conversion of event-char for
11190 * emulation/viper-util.el, emulation/viper.el:
11191 Use viper-last-command-char instead of
11192 last-command-char/last-command-event.
11194 * ediff-init.el, ediff-mult.el, ediff-util.el:
11195 Replace last-command-char and last-command-event
11196 with (ediff-last-command-char) everywhere.
11198 * ediff-vers.el (ediff-rcs-get-output-buffer): Make sure the buffer is
11199 created in fundamental mode.
11201 * ediff.el (ediff-version): Revert the change of interactive-p to
11202 called-interactively-p.
11204 2009-11-22 Tassilo Horn <tassilo@member.fsf.org>
11206 * progmodes/subword.el (subword-mode-map): Fix subword-mode-map
11207 generation from word-movement command names.
11209 2009-11-21 Jan Djärv <jan.h.d@swipnet.se>
11211 * cus-start.el (all): Add native condition for font-use-system-font.
11213 2009-11-21 Nathaniel Flath <flat0103@gmail.com>
11215 * progmodes/cc-menus.el (cc-imenu-java-generic-expression):
11216 Correct the patch from 2009-11-18. (Bug#3910)
11218 2009-11-21 Tassilo Horn <tassilo@member.fsf.org>
11220 * progmodes/subword.el: Rename from lisp/subword.el.
11222 * subword.el: Rename to progmodes/subword.el.
11224 * Makefile.in (ELCFILES): Adapt to subword.el move.
11226 2009-11-21 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11227 Stefan Monnier <monnier@iro.umontreal.ca>
11229 * bookmark.el (bookmark-bmenu-bookmark-column): Remove var.
11230 (bookmark-bmenu-list): Save name on `bookmark-name-prop' text-prop.
11231 (bookmark-bmenu-show-filenames): Use push.
11232 (bookmark-bmenu-hide-filenames): Use local var instead of
11233 bookmark-bmenu-bookmark-column. Use pop. Don't save window-excursion.
11234 (bookmark-bmenu-bookmark): Use the new `bookmark-name-prop' text-prop.
11235 (bookmark-bmenu-execute-deletions): Don't bother adding/removing the
11236 filenames now that the bookmark names are always available.
11238 2009-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
11240 * bookmark.el (bookmark-search-prompt, bookmark-search-timer): Remove.
11241 (bookmark-search-pattern): Move and leave unbound.
11242 (bookmark-bmenu-mode-map): Change binding.
11243 (bookmark-read-search-input): Simplify.
11244 Don't use text-char-description. Don't error on non-char events.
11245 (bookmark-filtered-alist-by-regexp-only): Remove by folding into the
11246 only caller (i.e. bookmark-bmenu-filter-alist-by-regexp).
11247 (bookmark-bmenu-search): Don't check we're in a bookmark-list buffer.
11248 Use a local var for the timer.
11249 (bookmark-bmenu-cancel-search): Remove by folding into the only caller
11250 (i.e. bookmark-bmenu-search).
11252 2009-11-21 Glenn Morris <rgm@gnu.org>
11254 * mail/rmailmm.el (rmail-mime): Decode in fundamental-mode. (Bug#4993)
11256 2009-11-20 Ken Brown <kbrown@cornell.edu> (tiny change)
11258 * net/browse-url.el (browse-url-default-windows-browser):
11259 Use cygstart for cygwin.
11261 2009-11-20 Karl Fogel <karl.fogel@red-bean.com>
11263 * bookmark.el: Formatting and doc fixes only:
11264 (bookmark-search-delay): Shorten doc string to fit in 80 columns.
11265 (bookmark-bmenu-search): Wrap to fit within 80 columns.
11266 Minor grammar and punctuation fixes in doc string.
11267 (bookmark-read-search-input): Adjust to fit within 80 columns.
11269 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
11271 * progmodes/cc-cmds.el (c-forward-into-nomenclature)
11272 (c-backward-into-nomenclature): Adapt to subword renaming.
11274 * subword.el (subword-forward, subword-backward, subword-mark)
11275 (subword-kill, subword-backward-kill, subword-transpose)
11276 (subword-downcase, subword-upcase, subword-capitalize)
11277 (subword-forward-internal, subword-backward-internal):
11278 Rename from forward-subword, backward-subword, mark-subword,
11279 kill-subword, backward-kill-subword, transpose-subwords,
11280 downcase-subword, upcase-subword, capitalize-subword,
11281 forward-subword-internal, backward-subword-internal.
11283 2009-11-20 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11285 * bookmark.el (bookmark-search-delay, bookmark-search-prompt):
11287 (bookmark-search-pattern, bookmark-search-timer, bookmark-quit-flag):
11289 (bookmark-read-search-input, bookmark-filtered-alist-by-regexp-only)
11290 (bookmark-bmenu-filter-alist-by-regexp)
11291 (bookmark-bmenu-goto-bookmark, bookmark-bmenu-cancel-search): New funs.
11292 (bookmark-bmenu-search): New command.
11293 (bookmark-bmenu-mode-map): Bind it.
11295 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
11297 * progmodes/cc-cmds.el: declare-functioned forward-subword and
11298 backward-subword to quit the byte-compiler.
11300 * makefile.w32-in: Don't refer cc-subword.elc but subword.elc.
11302 * Makefile.in: Don't refer cc-subword.elc but subword.elc.
11304 * progmodes/cc-cmds.el (c-update-modeline)
11305 (c-forward-into-nomenclature, c-backward-into-nomenclature):
11306 Refer to subword.el functions instead of cc-subword.el.
11308 * progmodes/cc-mode.el (subword-mode, c-mode-base-map): Refer to
11309 subword.el functions instead of cc-subword.el.
11311 * progmodes/cc-subword.el: Rename to subword.el.
11312 * subword.el: Rename from progmodes/cc-subword.el.
11313 (subword-mode-map): Rename from c-subword-mode-map.
11314 (subword-mode): Rename from c-subword-mode.
11315 (global-subword-mode): New global minor mode.
11316 (forward-subword): Rename from c-forward-subword.
11317 (backward-subword): Rename from c-backward-subword.
11318 (mark-subword): Rename from c-mark-subword.
11319 (kill-subword): Rename from c-kill-subword.
11320 (backward-kill-subword): Rename from c-backward-kill-subword.
11321 (transpose-subwords): Rename from c-tranpose-subword.
11322 (downcase-subword): Rename from c-downcase-subword.
11323 (capitalize-subword): Rename from c-capitalize-subword.
11324 (forward-subword-internal): Rename from c-forward-subword-internal.
11325 (backward-subword-internal): Rename from c-backward-subword-internal.
11327 2009-11-20 Dan Nicolaescu <dann@ics.uci.edu>
11329 * vc.el (vc-deduce-fileset): Allow non-state changing operations
11330 from a dired buffer.
11331 (vc-dired-deduce-fileset): New function.
11332 (vc-root-diff, vc-print-root-log): Use it.
11334 * vc-annotate.el (vc-annotate-show-log-revision-at-line): Pass a
11335 nil LIMIT argument to vc-print-log-internal.
11337 2009-11-20 Glenn Morris <rgm@gnu.org>
11339 * Makefile.in (ELCFILES): Regenerate.
11341 2009-11-20 Jay Belanger <jay.p.belanger@gmail.com>
11343 * calc/calc.el (calc-set-mode-line):
11344 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
11345 (math-format-number): Rename `math-format-complement-signed' to
11346 `math-format-twos-complement'.
11348 * calc/calc-bin.el (math-format-twos-complement): Rename from
11349 math-format-complement-signed.
11350 (calc-radix): Rename `calc-complement-signed-mode' to
11351 `calc-twos-complement-mode'.
11352 (calc-octal-radix, calc-hex-radix): Add an argument for
11355 * calc/calc-embed.el (calc-embedded-mode-vars):
11356 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
11358 * calc/calc-ext.el (calc-init-extensions):
11359 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
11360 (math-format-number-fancy): Let `calc-twos-complement-mode' be nil.
11362 * calc/calc-units.el (math-build-units-table-buffer):
11363 Let `calc-twos-complement-mode' be nil.
11365 * calc/calc-menu.el (calc-modes-menu): Clean up two's complement
11368 * calc/calc-vec.el (calcFunc-vunpack):
11369 * calc/calc-aent.el (calc-do-calc-eval):
11370 * calc/calc-forms.el (math-format-date):
11371 * calc/calc-graph.el (calc-graph-plot):
11372 * calc/calc-math.el (math-use-emacs-fn):
11373 * calc/calccomp.el (math-compose-expr):
11374 Let `calc-twos-complement-mode' be nil.
11376 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
11378 * abbrev.el (abbrev-with-wrapper-hook): (re)move...
11379 * simple.el (with-wrapper-hook): ...to here. Add argument `args'.
11380 * minibuffer.el (completion-in-region-functions): New hook.
11381 (completion-in-region): New function.
11382 * emacs-lisp/lisp.el (lisp-complete-symbol):
11383 * pcomplete.el (pcomplete-std-complete): Use it.
11385 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
11387 * textmodes/tex-mode.el (latex-complete-bibtex-cache)
11388 (latex-complete-alist): New vars.
11389 (latex-string-prefix-p, latex-complete-bibtex-keys)
11390 (latex-complete-envnames, latex-complete-refkeys)
11391 (latex-complete-data): New functions.
11392 (latex-complete, latex-indent-or-complete): New commands.
11394 * window.el (display-buffer-mark-dedicated): New var.
11395 (display-buffer): Obey it.
11396 * minibuffer.el (minibuffer-completion-help): Use it.
11398 * progmodes/sym-comp.el (symbol-complete): Use completion-in-region.
11400 * filecache.el (file-cache-add-file): Use push and cons.
11401 (file-cache-delete-file-regexp): Use push.
11402 (file-cache-complete): Use completion-in-region.
11404 * simple.el (with-wrapper-hook): Fix thinko.
11406 * hfy-cmap.el (hfy-rgb-file): Use locate-file.
11407 (htmlfontify-load-rgb-file): Remove unnused var `ff'.
11408 Use with-current-buffer and string-to-number.
11409 (hfy-fallback-colour-values): Use assoc-string.
11410 * htmlfontify.el (hfy-face-to-css): Remove unused var `style'.
11411 (hfy-face-at): Remove unused var `found-face'.
11412 (hfy-compile-stylesheet): Remove unused var `css'.
11413 (hfy-fontify-buffer): Remove unused vars `in-style', `invis-button',
11415 (hfy-buffer, hfy-copy-and-fontify-file, hfy-parse-tags-buffer):
11416 Use with-current-buffer.
11417 (hfy-text-p): Use expand-file-name and fewer setq.
11419 2009-11-19 Vivek Dasmohapatra <vivek@etla.org>
11421 * htmlfontify.el, hfy-cmap.el: New files.
11423 2009-11-19 Juri Linkov <juri@jurta.org>
11425 * minibuffer.el (completions-format): New defcustom.
11426 (completion--insert-strings): Implement vertical format.
11428 * simple.el (switch-to-completions): Move point to the first
11429 completion when point was at the beginning of the buffer.
11431 2009-11-19 Juri Linkov <juri@jurta.org>
11433 * find-dired.el (find-name-arg): Remove autoload. (Bug#4387)
11435 * progmodes/grep.el (rgrep): Require `find-dired' for `find-name-arg'.
11437 2009-11-19 Chong Yidong <cyd@stupidchicken.com>
11439 * mail/sendmail.el (mail-yank-prefix): Change default to "> ".
11440 (mail-signature): Change default to t.
11441 (mail-from-style): Deprecate `system-default' value.
11442 (mail-insert-from-field): For default value of mail-from-style,
11443 default to `angles' unless `angles' needs quoting and `parens'
11445 (mail-citation-prefix-regexp): Use citation regexp from
11448 2009-11-19 Michael Albinus <michael.albinus@gmx.de>
11450 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
11451 Set variables for computing the prompt for reading password.
11453 2009-11-19 Glenn Morris <rgm@gnu.org>
11455 * dired-aux.el (dired-compress-file-suffixes): Add ".xz". (Bug#4953)
11457 * textmodes/flyspell.el (sgml-lexical-context): Declare.
11459 * net/newst-treeview.el (newsticker-treeview-treewindow-width)
11460 (newsticker-treeview-listwindow-height): Fix custom type.
11462 2009-11-19 Kenichi Handa <handa@m17n.org>
11464 * descr-text.el (describe-char-padded-string): Compose with TAB
11465 only if there's a font for CH.
11466 (describe-char): Fix the condition for detecting a trivial composition.
11468 2009-11-18 Nathaniel Flath <flat0103@gmail.com>
11470 * progmodes/cc-menus.el (cc-imenu-java-generic-expression): A new,
11471 more accurate version of the regexp. (Bug#3910)
11473 2009-11-18 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
11475 * vc-hg.el (vc-hg-diff): Fix last patch: do not change directory.
11477 2009-11-18 Juanma Barranquero <lekktu@gmail.com>
11479 * font-setting.el (font-use-system-font): Declare for byte-compiler.
11480 (font-setting-change-default-font): Fix typo in docstring.
11482 2009-11-18 Alan Mackenzie <acm@muc.de>
11484 * progmodes/cc-defs.el (c-version): Bump to 5.31.8.
11486 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
11488 * font-setting.el (font-use-system-font): Move ...
11490 * cus-start.el (all): ... to here.
11492 2009-11-17 Michael Albinus <michael.albinus@gmx.de>
11494 * net/tramp.el (tramp-advice-file-expand-wildcards): Simplify.
11495 Don't set `ad-return-value' if `ad-do-it' doesn't.
11497 * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Set file
11500 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
11502 * menu-bar.el: Put "Use system font" in Option-menu.
11503 (menu-bar-options-save): Add font-use-system-font.
11505 * loadup.el: If feature system-font-setting or font-render-setting is
11506 there, load font-setting.
11508 * Makefile.in (ELCFILES): Add font-settings.el.
11509 * font-setting.el: New file.
11511 2009-11-17 Glenn Morris <rgm@gnu.org>
11513 * vc-svn.el (vc-svn-print-log): Fix typo in previous.
11515 * net/newst-treeview.el (newsticker--treeview-list-update-faces):
11516 Preserve point in the list buffer. (Bug#4939)
11518 (newsticker--treeview-list-update-highlight)
11519 (newsticker--treeview-tree-update-highlight): Use point-at-bol/eol.
11521 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
11523 * calc/calc-bin.el (math-symclip, calcFunc-symclip, calc-symclip):
11526 * calc/calc-ext.el (calc-init-extensions): Remove references to
11529 * calc/calc-menu.el (calc-arithmetic-menu): Remove `calc-symclip'.
11531 * calc/calc-map.el (calc-get-operator, calc-b-oper-keys):
11532 * calc/calc-help.el (calc-b-prefix-help): Remove references to
11535 2009-11-16 Kevin Ryde <user42@zip.com.au>
11537 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
11538 Use `sgml-lexical-context' instead of own parse for tag (Bug#4511).
11540 * emacs-lisp/lisp-mnt.el (lm-keywords): Allow multi-line keywords.
11541 (lm-keywords-list): Allow comma-only separator like "foo,bar".
11542 Ignore trailing spaces by omit-nulls to split-string (fixing
11543 regression from Emacs 21 due to the incompatible split-string
11544 change). (Bug #4928.)
11546 2009-11-16 Dan Nicolaescu <dann@ics.uci.edu>
11548 * vc.el (vc-log-show-limit): Default to 2000.
11549 (vc-print-log-internal): Insert buttons to request more entries
11550 when limiting the output.
11552 * vc-sccs.el (vc-sccs-print-log):
11553 * vc-rcs.el (vc-rcs-print-log):
11554 * vc-cvs.el (vc-cvs-print-log):
11555 * vc-git.el (vc-git-print-log): Return 'limit-unsupported when
11558 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
11560 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Raise only an
11561 error when `tramp-gvfs-dbus-event-vector' is set.
11562 (tramp-gvfs-maybe-open-connection): Loop over `read-event'.
11564 2009-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
11566 * vc-rcs.el (vc-rcs-consult-headers): Add missing save-excursion.
11568 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
11570 * net/dbus.el (dbus-unregister-service): New defun.
11571 (dbus-register-property): Register the handlers of
11572 "org.freedesktop.DBus.Properties" for SERVICE.
11573 (dbus-property-handler): Fix docstring.
11575 2009-11-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
11577 * emacs-lisp/bytecomp.el (byte-compile-output-file-form):
11578 Quote doc string reference in defvaralias as it is not in special form.
11579 (byte-compile-output-docform): Doc fix.
11581 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
11583 * calc/calc.el (math-2-word-size, math-half-2-word-size)
11584 (calc-complement-signed-mode): New variables.
11585 (calc-set-mode-line): Add indicator for twos-complements.
11586 (math-format-number): Format twos-complement notation.
11588 * calc/calc-bin.el (calc-word-size): Reset the variables
11589 `math-2-word-size' and `math-half-2-word-size'.
11590 (math-format-complement-signed, math-symclip, calcFunc-symclip)
11591 (calc-symclip): New functions.
11593 * calc/calc-aent.el (math-read-token): Read complement signed numbers.
11595 * calc/calc-embed.el (calc-embedded-mode-vars):
11596 Add `calc-complement-signed-mode' to the list of modes.
11598 * calc/calc-map.el (calc-get-operator): Add `calc-symclip'.
11599 (calc-b-oper-keys): Add `calc-symclip' to list.
11601 * calc/calc-ext.el (math-read-number-fancy): Read complement
11603 (calc-init-extensions): Add binding for `calc-symclip'.
11604 Add autoload for `calcFunc-symclip' and `calc-symclip'.
11606 * calc/calc-menu.el (calc-arithmetic-menu): Add item for
11608 (calc-modes-menu): Add item for twos complement mode.
11610 * calc/calc-help.el (calc-b-prefix-help): Add help for `calc-symclip'.
11612 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
11614 * register.el (jump-to-register, insert-register): Handle Semantic
11615 tags. From commented-out advice in semantic/senator.el.
11617 2009-11-15 Dan Nicolaescu <dann@ics.uci.edu>
11619 * vc.el (vc-log-show-limit): New variable.
11620 (vc-print-log, vc-print-root-log): Add new argument LIMIT. Set it
11621 when using a prefix argument.
11622 (vc-print-log-internal): Add new argument LIMIT.
11624 * vc-svn.el (vc-svn-print-log):
11625 * vc-mtn.el (vc-mtn-print-log):
11626 * vc-hg.el (vc-hg-print-log):
11627 * vc-bzr.el (vc-bzr-print-log): Add new optional argument LIMIT,
11628 pass it to the log command when set. Make the BUFFER argument
11631 * vc-sccs.el (vc-sccs-print-log):
11632 * vc-rcs.el (vc-rcs-print-log):
11633 * vc-git.el (vc-git-print-log):
11634 * vc-cvs.el (vc-cvs-print-log): Add new optional argument LIMIT,
11635 ignore it. Make the BUFFER argument non-optional
11637 * bindings.el (mode-line-buffer-identification): Do not purecopy.
11639 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
11641 * dired.el (dired-mode-map): Move encryption items to "Operate"
11644 * strokes.el (strokes-update-window-configuration): Make strokes
11645 buffer current before erasing (Bug#4906).
11647 2009-11-15 Juri Linkov <juri@jurta.org>
11649 * simple.el (set-mark-default-inactive): Add :type, :group
11650 and :version. (Bug#4876)
11652 2009-11-15 Michael Albinus <michael.albinus@gmx.de>
11654 * arc-mode.el (archive-maybe-copy): Move creation of directory ...
11655 (archive-unique-fname): ... here. (Bug#4929)
11657 2009-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
11659 * help-mode.el (help-make-xrefs): Undo the last revert, and replace it
11662 * novice.el (disabled-command-function): Add useful args.
11663 Setup the help buffer so that [back] works.
11664 Remove redundant call to help-mode.
11665 (disabled-command-function): Use `case'.
11666 (en/disable-command): New function extracted from enable-command.
11667 (enable-command, disable-command): Use it.
11669 2009-11-14 Glenn Morris <rgm@gnu.org>
11671 * menu-bar.el (menu-bar-tools-menu): Read and send mail entries are not
11672 constants. (Bug#4913)
11674 * emacs-lisp/elint.el (elint-standard-variables): Doc fix.
11676 2009-11-14 Shigeru Fukaya <shigeru.fukaya@gmail.com>
11678 * emacs-lisp/elint.el (elint-standard-variables): Add some variables
11679 defined in C that have no doc-strings. (Bug#1063)
11681 2009-11-14 Francis Wright <F.J.Wright@qmul.ac.uk>
11683 * cus-edit.el (data, files):
11684 * ps-print.el (postscript): Doc fixes for custom groups. (Bug#3327)
11686 2009-11-14 Chong Yidong <cyd@stupidchicken.com>
11688 * simple.el (shell-command): Doc fix (Bug#4891).
11690 * help-mode.el (help-make-xrefs): Revert 2009-11-13 change.
11692 2009-11-14 Glenn Morris <rgm@gnu.org>
11694 * emulation/viper.el (viper-set-hooks): Remove duplicate advice
11695 statements for vc-diff, emerge-quit, and rmail-cease-edit.
11696 If they are already loaded, eval-after-load will do the right thing.
11698 * speedbar.el (top-level): Remove unnecessary load of ange-ftp when
11701 * emacs-lisp/bytecomp.el (byte-compile-single-version): Remove, unused.
11703 * simple.el (x-selection-owner-p): Declare.
11704 (read-mail-command): Use custom radio type rather than choice.
11705 (completion-no-auto-exit): Doc fix.
11707 * custom.el (defgroup):
11708 * epg-config.el (epg): Doc fixes.
11710 2009-11-14 Dan Nicolaescu <dann@ics.uci.edu>
11712 * bindings.el (mode-line-buffer-identification): Purecopy only the string.
11713 * international/ccl.el (define-ccl-program): Do not purecopy the
11714 docstring, defconst does it anyway.
11716 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
11718 * add-log.el (add-change-log-entry): Avoid displaying the changelog
11721 * x-dnd.el (x-dnd-maybe-call-test-function):
11722 * window.el (split-window-vertically):
11723 * whitespace.el (whitespace-help-on):
11724 * vc-rcs.el (vc-rcs-consult-headers):
11725 * userlock.el (ask-user-about-lock-help)
11726 (ask-user-about-supersession-help):
11727 * type-break.el (type-break-force-mode-line-update):
11728 * time-stamp.el (time-stamp-conv-warn):
11729 * terminal.el (te-set-output-log, te-more-break, te-filter)
11730 (te-sentinel, terminal-emulator):
11731 * term.el (make-term, term-exec, term-sentinel, term-read-input-ring)
11732 (term-write-input-ring, term-check-source, term-start-output-log):
11733 (term-display-buffer-line, term-dynamic-list-completions):
11734 (term-ansi-make-term, serial-term):
11735 * subr.el (selective-display):
11736 * strokes.el (strokes-xpm-to-compressed-string, strokes-decode-buffer)
11737 (strokes-encode-buffer, strokes-xpm-for-compressed-string):
11738 * speedbar.el (speedbar-buffers-tail-notes, speedbar-buffers-item-info)
11739 (speedbar-reconfigure-keymaps, speedbar-add-localized-speedbar-support)
11740 (speedbar-remove-localized-speedbar-support)
11741 (speedbar-set-mode-line-format, speedbar-create-tag-hierarchy)
11742 (speedbar-update-special-contents, speedbar-buffer-buttons-engine)
11743 (speedbar-buffers-line-directory):
11744 * simple.el (shell-command-on-region, append-to-buffer)
11745 (prepend-to-buffer):
11746 * shadowfile.el (shadow-save-todo-file):
11747 * scroll-bar.el (scroll-bar-set-window-start, scroll-bar-drag-1)
11748 (scroll-bar-maybe-set-window-start):
11749 * sb-image.el (speedbar-image-dump):
11750 * saveplace.el (save-place-alist-to-file, save-places-to-alist)
11751 (load-save-place-alist-from-file):
11752 * ps-samp.el (ps-print-message-from-summary):
11753 * ps-print.el (ps-flush-output, ps-insert-file, ps-get-boundingbox)
11754 (ps-background-image, ps-begin-job, ps-do-despool):
11755 * ps-bdf.el (bdf-find-file, bdf-read-font-info):
11756 * printing.el (pr-interface, pr-ps-file-print, pr-find-buffer-visiting)
11757 (pr-ps-message-from-summary, pr-lpr-message-from-summary):
11758 (pr-call-process, pr-file-list, pr-interface-save):
11759 * novice.el (disabled-command-function)
11760 (enable-command, disable-command):
11761 * mouse.el (mouse-buffer-menu-alist):
11762 * mouse-copy.el (mouse-kill-preserving-secondary):
11763 * macros.el (kbd-macro-query):
11764 * ledit.el (ledit-go-to-lisp, ledit-go-to-liszt):
11765 * informat.el (batch-info-validate):
11766 * ido.el (ido-copy-current-word, ido-initiate-auto-merge):
11767 * hippie-exp.el (try-expand-dabbrev-visible):
11768 * help-mode.el (help-make-xrefs):
11769 * help-fns.el (describe-variable):
11770 * generic-x.el (bat-generic-mode-run-as-comint):
11771 * finder.el (finder-mouse-select):
11772 * find-dired.el (find-dired-sentinel):
11773 * filesets.el (filesets-file-close):
11774 * files.el (list-directory):
11775 * faces.el (list-faces-display, describe-face):
11776 * facemenu.el (list-colors-display):
11777 * ezimage.el (ezimage-image-association-dump, ezimage-image-dump):
11778 * epg.el (epg--process-filter, epg-cancel):
11779 * epa.el (epa--marked-keys, epa--select-keys, epa-display-info)
11780 (epa--read-signature-type):
11781 * emerge.el (emerge-copy-as-kill-A, emerge-copy-as-kill-B)
11782 (emerge-file-names):
11783 * ehelp.el (electric-helpify):
11784 * ediff.el (ediff-regions-wordwise, ediff-regions-linewise):
11785 * ediff-vers.el (rcs-ediff-view-revision):
11786 * ediff-util.el (ediff-setup):
11787 * ediff-mult.el (ediff-append-custom-diff):
11788 * ediff-diff.el (ediff-exec-process, ediff-process-sentinel)
11790 * echistory.el (Electric-command-history-redo-expression):
11791 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
11792 * disp-table.el (describe-display-table):
11793 * dired.el (dired-find-buffer-nocreate):
11794 * dired-aux.el (dired-rename-subdir, dired-dwim-target-directory):
11795 * dabbrev.el (dabbrev--same-major-mode-p):
11796 * chistory.el (list-command-history):
11797 * apropos.el (apropos-documentation):
11798 * allout.el (allout-obtain-passphrase):
11799 (allout-copy-exposed-to-buffer):
11800 (allout-verify-passphrase): Use with-current-buffer.
11802 2009-11-13 Glenn Morris <rgm@gnu.org>
11804 * Makefile.in (ELCFILES): Regenerate.
11806 2009-11-13 Michael Albinus <michael.albinus@gmx.de>
11808 * net/dbus.el (dbus-registered-objects-table): Rename from
11809 `dbus-registered-functions-table', because it contains also properties.
11810 (dbus-unregister-object): Unregister also properties.
11811 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
11812 Use a timeout of 500 msec, in order to not block.
11813 (dbus-register-property, dbus-property-handler): New defuns.
11815 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
11817 * simple.el (minibuffer-default-add-completions): Drop deprecated
11820 2009-11-13 Tomas Abrahamsson <tab@lysator.liu.se>
11822 * textmodes/artist.el (artist-mouse-choose-operation):
11823 Call `tmm-prompt' instead of `x-popup-menu' if we cannot popup
11824 menus. Bug noticed by Eli Zaretskii <eliz@gnu.org>.
11825 (artist-compute-up-event-key): New function.
11826 (artist-mouse-choose-operation, artist-down-mouse-1): Call it.
11828 2009-11-13 Kenichi Handa <handa@m17n.org>
11830 * language/japan-util.el: Make sure that the value of jisx0208
11831 property is jisx0208 character.
11833 2009-11-13 Dan Nicolaescu <dann@ics.uci.edu>
11835 * international/mule.el (auto-coding-regexp-alist): Only purecopy
11836 car or each item, not the whole list.
11838 2009-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
11840 * minibuffer.el (minibuffer-completion-help):
11841 Use minibuffer-hide-completions.
11843 2009-11-12 Per Starbäck <per@starback.se> (tiny change)
11845 * dired.el (dired-save-positions, dired-restore-positions): New funs.
11846 (dired-revert): Use them (bug#4880).
11848 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
11850 * tooltip.el (tooltip-frame-parameters): Undo previous change.
11852 2009-11-12 Juri Linkov <juri@jurta.org>
11854 * ffap.el (ffap-alternate-file-other-window, ffap-literally):
11856 (find-file-literally-at-point): Alias of `ffap-literally'.
11858 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
11860 * textmodes/ispell.el (ispell-skip-region-alist):
11861 * textmodes/css-mode.el (auto-mode-alist):
11862 * progmodes/compile.el (auto-mode-alist):
11863 * international/mule.el (ctext-non-standard-encodings-alist)
11864 (ctext-non-standard-encodings-regexp):
11865 * simple.el (shell-command-switch, text-read-only):
11866 * replace.el (occur-mode-map):
11867 * paths.el (rmail-file-name):
11868 * jka-cmpr-hook.el (jka-compr-build-file-regexp):
11869 * find-file.el (ff-special-constructs):
11870 * files.el (file-name-handler-alist):
11871 * composite.el: Purecopy strings.
11873 * emacs-lisp/cl-macs.el (define-compiler-macro): Purecopy the file name.
11875 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
11877 * widget.el (define-widget): Purecopy the docstring.
11878 * international/mule-cmds.el (charset): Do not purecopy the
11879 docstring here, define-widget does it.
11881 * textmodes/texinfo.el (texinfo-open-quote, texinfo-close-quote):
11882 * textmodes/bibtex-style.el (auto-mode-alist):
11883 * progmodes/inf-lisp.el (inferior-lisp-prompt):
11884 * progmodes/compile.el (compile-command):
11885 * language/korea-util.el (default-korean-keyboard):
11886 * international/mule-conf.el (file-coding-system-alist):
11887 * emacs-lisp/eldoc.el (eldoc-minor-mode-string):
11888 * tooltip.el (tooltip-frame-parameters):
11889 * newcomment.el (comment-end, comment-padding):
11890 * dired.el (dired-trivial-filenames):
11891 * comint.el (comint-file-name-prefix): Purecopy initial values.
11893 2009-11-11 Michael Albinus <michael.albinus@gmx.de>
11895 * net/tramp.el (tramp-advice-minibuffer-electric-separator)
11896 (tramp-advice-minibuffer-electric-tilde): Unload advices via
11898 (tramp-advice-make-auto-save-file-name)
11899 (tramp-advice-file-expand-wildcards): Apply also `ad-activate'
11900 after removing the advice.
11902 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
11904 * progmodes/grep.el (grep-regexp-alist):
11905 * international/mule-cmds.el (iso-2022-control-alist):
11906 * emacs-lisp/timer.el (timer-duration-words):
11907 * subr.el (version-separator, version-regexp-alist):
11908 * minibuffer.el (completion-styles-alist):
11909 * faces.el (face-attribute-name-alist, list-faces-sample-text):
11910 Change defvars to defconsts.
11912 * Makefile.in (ELCFILES): Add international/mule-conf.elc.
11913 * loadup.el ("international/mule-conf"): Load the byte compiled version.
11914 * international/mule-conf.el: Allow to be byte compiled.
11916 * international/mule.el (define-charset): Purecopy props.
11917 (load-with-code-conversion): Purecopy doc string and file name.
11918 (put-charset-property): Purecopy strings.
11919 (auto-coding-alist, auto-coding-regexp-alist): Purecopy initial value.
11921 * international/mule-cmds.el (register-input-method): Purecopy arguments.
11922 (define-char-code-property): Correctly purecopy the table.
11924 * international/ccl.el (define-ccl-program): Purecopy the docstring.
11926 * emacs-lisp/easy-mmode.el (define-minor-mode): Purecopy :lighter.
11928 * subr.el (add-hook): Purecopy strings.
11929 (eval-after-load): Purecopy load-history-regexp and the form.
11931 * custom.el (custom-declare-group): Purecopy load-file-name.
11933 * subr.el (menu-bar-separator): New defconst.
11934 * net/eudc.el (eudc-tools-menu):
11935 * international/mule-cmds.el (set-coding-system-map)
11936 (mule-menu-keymap):
11937 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
11938 * vc-hooks.el (vc-menu-map):
11939 * replace.el (occur-mode-map):
11940 * menu-bar.el (menu-bar-file-menu, menu-bar-search-menu)
11941 (menu-bar-edit-menu, menu-bar-goto-menu)
11942 (menu-bar-custom-menu, menu-bar-showhide-menu)
11943 (menu-bar-options-menu, menu-bar-tools-menu)
11944 (menu-bar-encryption-decryption-menu, menu-bar-describe-menu)
11945 (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
11946 (menu-bar-help-menu):
11947 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu):
11948 * buff-menu.el (Buffer-menu-mode-map): Use menu-bar-separator.
11950 * term/x-win.el (x-gtk-stock-map):
11951 * progmodes/vera-mode.el (auto-mode-alist):
11952 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
11953 (inferior-lisp-program, inferior-lisp-load-command):
11954 * progmodes/hideshow.el (hs-special-modes-alist):
11955 * progmodes/gud.el (same-window-regexps):
11956 * progmodes/grep.el (grep-program, find-program, xargs-program):
11957 * net/telnet.el (same-window-regexps):
11958 * net/rlogin.el (same-window-regexps):
11959 * language/ethiopic.el (font-ccl-encoder-alist):
11960 * vc-sccs.el (vc-sccs-master-templates):
11961 * vc-rcs.el (vc-rcs-master-templates):
11962 * subr.el (cl-assertion-failed):
11963 * simple.el (next-error-overlay-arrow-position):
11964 * lpr.el (lpr-command):
11965 * locate.el (locate-ls-subdir-switches):
11966 * info.el (same-window-regexps, info)
11967 (Info-goto-emacs-command-node, Info-goto-emacs-key-command-node):
11968 * image-mode.el (image-mode, auto-mode-alist):
11969 * hippie-exp.el (hippie-expand-ignore-buffers):
11970 * format.el (format-alist):
11971 * find-dired.el (find-ls-subdir-switches, find-grep-options)
11973 * facemenu.el (facemenu-keybindings):
11974 * dired.el (dired-listing-switches, dired-chown-program):
11975 * diff.el (diff-switches, diff-command):
11976 * cus-edit.el (same-window-regexps):
11977 * bindings.el (mode-line-mule-info)
11978 (mode-line-buffer-identification): Purecopy strings.
11980 2009-11-11 Juri Linkov <juri@jurta.org>
11982 * simple.el (dired-get-filename) <declare-function>:
11983 Tell the byte-compiler about dired-get-filename.
11984 (shell-command): In Dired mode, get filename from the current line
11985 as the default value.
11987 2009-11-10 Glenn Morris <rgm@gnu.org>
11989 * dired.el, hi-lock.el, calendar/cal-menu.el, calendar/calendar.el:
11990 * calendar/holidays.el, progmodes/cperl-mode.el:
11991 Update x-popup-menu declarations.
11993 * emacs-lisp/shadow.el (find-emacs-lisp-shadows)
11994 (list-load-path-shadows): Use dolist.
11995 (list-load-path-shadows): Use with-current-buffer.
11997 2009-11-10 Juri Linkov <juri@jurta.org>
11999 * minibuffer.el (read-file-name): Support a list of default values
12000 in `default-filename'. Use the first file name where only one
12001 element is required. Doc fix.
12003 2009-11-09 Michael Albinus <michael.albinus@gmx.de>
12005 * net/dbus.el (dbus-unregister-object): Release service, if no
12006 other method is registered for it.
12008 2009-11-08 Markus Rost <rost@math.uni-bielefeld.de>
12010 * bookmark.el (bookmark-completing-read): Sort bookmark names if
12011 bookmark-sort-flag is non-nil (Bug#4653).
12013 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
12015 * emulation/cua-base.el: Add CUA property to some CC mode commands
12018 2009-11-08 Kevin Ryde <user42@zip.com.au>
12020 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp): Match noun
12021 at end of sentence (Bug#4818).
12023 2009-11-08 Jared Finder <jfinder@crypticstudios.com>
12025 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12026 Handle "see declaration of" MSFT statements (Bug#4100).
12028 2009-11-08 Michael Albinus <michael.albinus@gmx.de>
12030 * net/tramp.el (tramp-advice-make-auto-save-file-name)
12031 (tramp-advice-file-expand-wildcards): Unload via
12032 `ad-remove-advice'.
12034 * net/trampver.el: Update release number.
12036 2009-11-08 Kevin Ryde <user42@zip.com.au>
12038 * net/tramp.el (tramp-advice-file-expand-wildcards): Don't rely on
12041 2009-11-08 Andr <m00naticus@gmail.com> (tiny change)
12043 * net/tramp.el (tramp-handle-write-region): Copy but rename temp file,
12044 in order to keep context in SELinux.
12046 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
12048 * dired-aux.el (dired-query): Place cursor in echo area and allow
12051 * dired.el (dired-mode-map): Disable dired-maybe-insert-subdir
12052 menu item if not on a directory (Bug#4701).
12054 2009-11-07 Michael Albinus <michael.albinus@gmx.de>
12056 Sync with Tramp 2.1.17.
12058 * net/tramp.el (tramp-handle-copy-directory): Don't use
12059 `file-remote-p' (due to compatibility).
12061 * net/tramp-compat.el (tramp-compat-copy-directory)
12062 (tramp-compat-delete-directory): New defuns.
12064 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
12065 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory): Use
12066 `tramp-compat-delete-directory'.
12068 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
12069 (tramp-smb-handle-delete-directory): Use
12070 `tramp-compat-copy-directory' and `tramp-compat-delete-directory'.
12072 * net/trampver.el: Update release number.
12074 2009-11-07 Chong Yidong <cyd@stupidchicken.com>
12076 * tar-mode.el (tar-copy): Call write-region on the right buffer
12079 * mail/rmailsum.el (rmail-summary-rmail-update): Call linum-update
12080 by hand, if necessary (Bug#4878).
12082 2009-11-06 Chong Yidong <cyd@stupidchicken.com>
12084 * buff-menu.el (Buffer-menu-buffer+size): Use display property to
12085 align size column (Bug#4839).
12087 * emacs-lisp/autoload.el (autoload-rubric): Always issue a provide
12090 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
12092 * progmodes/ld-script.el (auto-mode-alist):
12093 * vc-hooks.el (vc-directory-exclusion-list): Purecopy strings.
12095 * cus-face.el (custom-declare-face): Purecopy face spec.
12097 2009-11-06 Kenichi Handa <handa@m17n.org>
12099 * international/uni-bidi.el: Re-generated.
12100 * international/uni-category.el: Re-generated.
12101 * international/uni-combining.el: Re-generated.
12102 * international/uni-mirrored.el: Re-generated.
12104 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
12106 * textmodes/tex-mode.el (tex-alt-dvi-print-command)
12107 (tex-dvi-print-command, tex-bibtex-command, tex-start-commands)
12108 (tex-start-options, slitex-run-command, latex-run-command)
12109 (tex-run-command, tex-directory):
12110 * textmodes/ispell.el (ispell-html-skip-alists)
12111 (ispell-tex-skip-alists, ispell-tex-skip-alists):
12112 * textmodes/fill.el (adaptive-fill-first-line-regexp):
12113 (adaptive-fill-regexp):
12114 * textmodes/dns-mode.el (auto-mode-alist):
12115 * progmodes/python.el (interpreter-mode-alist):
12116 * progmodes/etags.el (tags-compression-info-list):
12117 * progmodes/etags.el (tags-file-name):
12118 * net/browse-url.el (browse-url-galeon-program)
12119 (browse-url-firefox-program):
12120 * mail/sendmail.el (mail-signature-file)
12121 (mail-citation-prefix-regexp):
12122 * international/mule-conf.el (eight-bit):
12123 * international/latexenc.el (latex-inputenc-coding-alist):
12124 * international/fontset.el (x-pixel-size-width-font-regexp):
12125 * emacs-lisp/warnings.el (warning-type-format):
12126 * emacs-lisp/trace.el (trace-buffer):
12127 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-map)
12128 (emacs-lisp-mode-map):
12129 * calendar/holidays.el (holiday-solar-holidays)
12130 (holiday-bahai-holidays, holiday-islamic-holidays)
12131 (holiday-christian-holidays, holiday-hebrew-holidays)
12132 (hebrew-holidays-4, hebrew-holidays-3, hebrew-holidays-2)
12133 (hebrew-holidays-1, holiday-oriental-holidays)
12134 (holiday-general-holidays):
12135 * x-dnd.el (x-dnd-known-types):
12136 * tool-bar.el (tool-bar):
12137 * startup.el (site-run-file):
12138 * shell.el (shell-dumb-shell-regexp):
12139 * rfn-eshadow.el (file-name-shadow-tty-properties)
12140 (file-name-shadow-properties):
12141 * paths.el (remote-shell-program, news-directory):
12142 * mouse.el ([C-down-mouse-3]):
12143 * menu-bar.el (menu-bar-tools-menu):
12144 * jka-cmpr-hook.el (jka-compr-load-suffixes)
12145 (jka-compr-mode-alist-additions, jka-compr-compression-info-list)
12146 (jka-compr-compression-info-list):
12147 * isearch.el (search-whitespace-regexp):
12148 * image-file.el (image-file-name-extensions):
12149 * find-dired.el (find-ls-option):
12150 * files.el (directory-listing-before-filename-regexp)
12151 (directory-free-space-args, insert-directory-program)
12152 (list-directory-brief-switches, magic-fallback-mode-alist)
12153 (magic-fallback-mode-alist, auto-mode-interpreter-regexp)
12154 (automount-dir-prefix):
12155 * faces.el (face-x-resources, x-font-regexp, x-font-regexp-head)
12156 (x-font-regexp-slant, x-font-regexp-weight, face-x-resources)
12157 (face-font-registry-alternatives, face-font-registry-alternatives)
12158 (face-font-family-alternatives):
12159 * facemenu.el (facemenu-add-new-face, facemenu-background-menu)
12160 (facemenu-foreground-menu, facemenu-face-menu):
12161 * epa-hook.el (epa-file-name-regexp):
12162 * dnd.el (dnd-protocol-alist):
12163 * textmodes/rst.el (auto-mode-alist):
12164 * button.el (default-button): Purecopy strings.
12166 2009-11-06 Glenn Morris <rgm@gnu.org>
12168 * Makefile.in (ELCFILES): Update.
12170 2009-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
12172 * emacs-lisp/lucid.el: Move to obsolete/lucid.el.
12173 * emacs-lisp/levents.el: Move to obsolete/levents.el.
12175 * nxml/xsd-regexp.el (xsdre-gen-categories):
12176 * nxml/xmltok.el (xmltok-parse-entity):
12177 * nxml/rng-parse.el (rng-parse-validate-file):
12178 * nxml/rng-maint.el (rng-format-manual)
12179 (rng-manual-output-force-new-line):
12180 * nxml/rng-loc.el (rng-save-schema-location-1):
12181 * nxml/rng-cmpct.el (rng-c-parse-file):
12182 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
12183 * nxml/nxml-parse.el (nxml-parse-file): Use with-current-buffer.
12185 2009-11-05 Wilson Snyder <wsnyder@wsnyder.org>
12187 * progmodes/verilog-mode.el (verilog-getopt-file, verilog-set-define):
12188 Remove extra save-excursions and make-variable-buffer-local's.
12189 Suggested by Stefan Monnier.
12191 (verilog-getopt-file, verilog-module-inside-filename-p)
12192 (verilog-set-define): Merge GNU 1.35 and repair changes from
12193 switching to using with-current-buffer.
12195 (verilog-read-always-signals-recurse): Fix "a == 2'b00 ? b : c"
12196 being treated as a number and confusing AUTORESET.
12197 Reported by Dan Dever.
12199 (verilog-auto-ignore-concat, verilog-read-sub-decls-expr):
12200 Add verilog-auto-ignore-concat to fix backward compatibility with
12201 older verilog-modes. Reported by Dan Katz.
12203 (verilog-read-auto-template): Fix AUTO_TEMPLATEs with regexps
12204 containing closing anchors "...$".
12206 (verilog-read-decls): Fix AUTOREG not detecting "assign {a,b}".
12207 Reported by Wade Smith.
12209 (verilog-batch-execute-func): Comment on function usage.
12211 2009-11-05 Michael McNamara <mac@mail.brushroad.com>
12213 * progmodes/verilog-mode.el (verilog-label-re): Fix regular expression
12216 (verilog-label-re, verilog-calc-1): Support proper indent of named
12219 (verilog-backward-token, verilog-basic-complete-re)
12220 (verilog-beg-of-statement, verilog-indent-re): Support proper
12221 indent of the assert statement at the beginning of a block of text.
12223 (verilog-beg-block-re, verilog-ovm-begin-re): Support the
12224 `ovm_object_param_utils_begin and `ovm_component_param_utils_begin
12227 2009-11-05 Glenn Morris <rgm@gnu.org>
12229 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Drop test for
12230 Emacs 19. (Bug#1531)
12231 (byte-compile-fix-header): Update for the above change.
12232 Drop test for epoch::version.
12234 * emacs-lisp/autoload.el (autoload-rubric): Add optional feature arg.
12235 * cus-dep.el (custom-make-dependencies):
12236 * finder.el (finder-compile-keywords):
12237 Use autoload-rubric's feature argument.
12239 * calendar/diary-lib.el (top-level): Make load behave more like require.
12241 * vc-git.el (vc-git-stash-map): Move definition before use.
12243 2009-11-04 Dan Nicolaescu <dann@ics.uci.edu>
12245 * custom.el (custom-declare-group): Purecopy standard-value.
12246 (custom-declare-group): Purecopy custom-prefix.
12248 * international/mule.el (load-with-code-conversion):
12249 Call do-after-load-evaluation unconditionally.
12251 * emacs-lisp/bytecomp.el (byte-compile-output-file-form): Handle defvaralias.
12253 2009-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
12255 * descr-text.el: Require help-mode rather than help-fns (bug#4861).
12257 2009-11-04 Glenn Morris <rgm@gnu.org>
12259 * emacs-lisp/bytecomp.el (byte-compile-version-cond): Remove macro.
12260 (byte-compile-compatibility): Remove option.
12261 (byte-compile-close-variables, byte-compile-fix-header)
12262 (byte-compile-insert-header, byte-compile-output-docform)
12263 (byte-compile-file-form-defmumble, byte-compile-byte-code-maker)
12264 (byte-compile-lambda, byte-compile-form, byte-defop-compiler19)
12265 (byte-compile-list, byte-compile-concat, byte-compile-function-form)
12266 (byte-compile-insert, byte-compile-defun):
12267 Remove support for byte-compile-compatibility and Emacs 18. (Bug#4571)
12268 (byte-defop-compiler19): Remove.
12269 Without byte-compile-compatibility, the 'emacs19-opcode property is not
12270 used by anything. Replace all calls with byte-defop-compiler.
12272 2009-11-04 Juri Linkov <juri@jurta.org>
12274 * menu-bar.el (menu-bar-make-mm-toggle): Quote each element of `props'.
12275 (menu-bar-options-menu): Don't quote the `prop' arg of
12276 `menu-bar-make-mm-toggle'.
12278 2009-11-04 Juanma Barranquero <lekktu@gmail.com>
12280 * calendar/calendar.el (cal-loaddefs):
12281 * calendar/diary-lib.el (diary-loaddefs):
12282 * calendar/holidays.el (hol-loaddefs):
12283 * eshell/esh-module.el (esh-groups): Load rather than require.
12285 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
12287 * calendar/todo-mode.el (todo-add-category): Don't hardcode
12289 (todo-top-priorities): Only display-buffer when called interactively.
12290 (todo-item-start): Don't save excursion point.
12291 (todo-item-end): Be slightly more careful. Add `include-sep' arg.
12292 (todo-insert-item-here, todo-file-item, todo-remove-item):
12293 Adjust uses of todo-item-start and todo-item-end.
12295 * emacs-lisp/autoload.el (generated-autoload-feature): Remove.
12296 (autoload-rubric): Don't use any more.
12298 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Use dolist,
12299 and only put a prop if it is non-nil.
12301 2009-11-03 Juri Linkov <juri@jurta.org>
12303 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle)
12304 (menu-bar-options-menu): Fix list quoting (Bug#4429).
12306 * buff-menu.el (Buffer-menu-mode-map): Add hyphen between "Buffer"
12307 and "Menu" to make top-level menu item visually one unit (like
12308 it's done for "Lisp-Interaction", "Emacs-Lisp" and other
12309 multi-word menu items). Fix :help string for quit-window.
12311 2009-11-03 Glenn Morris <rgm@gnu.org>
12313 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
12314 (byte-compile-file-form-define-abbrev-table)
12315 (byte-compile-file-form-custom-declare-variable)
12316 (byte-compile-variable-ref, byte-compile-defvar):
12317 Whether or not a warning is enabled should only affect whether we issue
12318 the warning, not whether or not we collect the relevant data.
12319 Eg warnings can be turned on and off throughout the course of a file.
12321 * eshell/esh-mode.el (ansi-color-apply-on-region): Autoload it...
12322 (eshell-handle-ansi-color): ... Rather than requiring ansi-color.
12324 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
12326 * term/ns-win.el (ns-scroll-bar-move, ns-face-at-pos):
12327 * play/mpuz.el (mpuz-create-buffer):
12328 * play/landmark.el (lm-prompt-for-move, lm-print-wts, lm-print-smell)
12329 (lm-print-y,s,noise, lm-print-w0, lm-init):
12330 * play/gomoku.el (gomoku-prompt-for-move):
12331 * play/fortune.el (fortune-in-buffer):
12332 * play/dissociate.el (dissociated-press):
12333 * play/decipher.el (decipher-adjacency-list, decipher-display-regexp)
12334 (decipher-analyze-buffer, decipher-stats-buffer, decipher-stats-buffer):
12335 * mail/supercite.el (sc-eref-show):
12336 * mail/smtpmail.el (smtpmail-send-it):
12337 * mail/rmailsum.el (rmail-summary-next-labeled-message)
12338 (rmail-summary-previous-labeled-message, rmail-summary-wipe)
12339 (rmail-summary-undelete-many, rmail-summary-rmail-update)
12340 (rmail-summary-goto-msg, rmail-summary-expunge)
12341 (rmail-summary-get-new-mail, rmail-summary-search-backward)
12342 (rmail-summary-add-label, rmail-summary-output-menu)
12343 (rmail-summary-output-body):
12344 * mail/rfc822.el (rfc822-addresses):
12345 * mail/reporter.el (reporter-dump-variable, reporter-dump-state):
12346 * mail/mailpost.el (post-mail-send-it):
12347 * mail/hashcash.el (hashcash-generate-payment):
12348 * mail/feedmail.el (feedmail-run-the-queue)
12349 (feedmail-queue-send-edit-prompt-help-first)
12350 (feedmail-send-it-immediately, feedmail-give-it-to-buffer-eater)
12351 (feedmail-deduce-address-list):
12352 * eshell/esh-ext.el (eshell-remote-command):
12353 * eshell/em-unix.el (eshell-occur-mode-mouse-goto):
12354 * emulation/viper-util.el (viper-glob-unix-files, viper-save-setting)
12355 (viper-wildcard-to-regexp, viper-glob-mswindows-files)
12356 (viper-save-string-in-file, viper-valid-marker):
12357 * emulation/viper-keym.el (viper-toggle-key):
12358 * emulation/viper-ex.el (ex-expand-filsyms, viper-get-ex-file)
12359 (ex-edit, ex-global, ex-mark, ex-next-related-buffer, ex-quit)
12360 (ex-get-inline-cmd-args, ex-tag, ex-command, ex-compile):
12361 * emulation/viper-cmd.el (viper-exec-form-in-vi)
12362 (viper-exec-form-in-emacs, viper-brac-function):
12363 * emulation/viper.el (viper-delocalize-var):
12364 * emulation/vip.el (vip-mode, vip-get-ex-token, vip-ex, vip-get-ex-pat)
12365 (vip-get-ex-command, vip-get-ex-opt-gc, vip-get-ex-buffer)
12366 (vip-get-ex-count, vip-get-ex-file, ex-edit, ex-global, ex-mark)
12367 (ex-map, ex-unmap, ex-quit, ex-read, ex-tag, ex-command):
12368 * emulation/vi.el (vi-switch-mode, vi-ex-cmd):
12369 * emulation/edt.el (edt-electric-helpify):
12370 * emulation/cua-rect.el (cua--rectangle-aux-replace):
12371 * emulation/cua-gmrk.el (cua--insert-at-global-mark)
12372 (cua--delete-at-global-mark, cua--copy-rectangle-to-global-mark)
12373 (cua-indent-to-global-mark-column):
12374 * calendar/diary-lib.el (calendar-mark-1):
12375 * calendar/cal-hebrew.el (calendar-hebrew-mark-date-pattern):
12376 Use with-current-buffer.
12377 * emulation/viper.el (viper-delocalize-var): Use dolist.
12379 2009-11-03 Chong Yidong <cyd@stupidchicken.com>
12381 * comint.el (comint-replace-by-expanded-history-before-point):
12382 Replace !! with the previous input string literally (Bug#1795).
12384 2009-11-02 Jay Belanger <jay.p.belanger@gmail.com>
12386 * calc/calc-forms.el (calc-date-notation): Allow a "blank string"
12387 to be made up of whitespace.
12389 2009-11-02 Chong Yidong <cyd@stupidchicken.com>
12391 * minibuffer.el (read-file-name): Don't use file dialogs for
12392 remote directories (Bug#99).
12394 2009-11-01 Chong Yidong <cyd@stupidchicken.com>
12396 * progmodes/sh-script.el (sh-font-lock-paren): Fix last change.
12398 2009-11-01 Andreas Schwab <schwab@linux-m68k.org>
12400 * view.el (view-mode-exit): If OLD-BUF is dead bury the buffer
12401 instead of deleting the window or frame.
12403 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
12405 * textmodes/sgml-mode.el (sgml-mode-facemenu-add-face-function):
12406 Support face colors.
12408 * textmodes/tex-mode.el (tex-facemenu-add-face-function):
12409 New function. Support face colors (Bug#1168).
12410 (tex-common-initialization): Use it.
12412 * facemenu.el (facemenu-enable-faces-p): Enable facemenu if the
12413 mode allows it (Bug#1168).
12415 2009-10-31 Juri Linkov <juri@jurta.org>
12417 * facemenu.el (list-colors-display): Don't mark buffer as
12418 modified (Bug#3948).
12420 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
12422 * international/mule-diag.el (list-character-sets-1): Minor
12423 message fix (Bug#3526).
12425 * progmodes/etags.el (etags-list-tags, etags-tags-apropos): Fix
12426 face property (Bug#4834).
12427 (etags-list-tags, etags-tags-apropos-additional)
12428 (etags-tags-apropos, tags-select-tags-table): Add follow-link
12431 * menu-bar.el (menu-bar-tools-menu): Add Semantic and EDE menu
12434 2009-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
12436 * textmodes/two-column.el (2C-split):
12437 * textmodes/texnfo-upd.el (texinfo-multi-file-included-list):
12438 * textmodes/tex-mode.el (tex-set-buffer-directory):
12439 * textmodes/spell.el (spell-region, spell-string):
12440 * textmodes/reftex.el (reftex-erase-buffer):
12441 (reftex-get-file-buffer-force, reftex-kill-temporary-buffers):
12442 * textmodes/reftex-toc.el (reftex-toc-promote-action):
12443 * textmodes/reftex-sel.el (reftex-get-offset, reftex-insert-docstruct)
12444 (reftex-select-item):
12445 * textmodes/reftex-ref.el (reftex-label-info-update)
12446 (reftex-offer-label-menu):
12447 * textmodes/reftex-index.el (reftex-index-change-entry)
12448 (reftex-index-phrases-info):
12449 * textmodes/reftex-global.el (reftex-create-tags-file)
12450 (reftex-save-all-document-buffers, reftex-ensure-write-access):
12451 * textmodes/reftex-dcr.el (reftex-echo-ref, reftex-echo-cite)
12452 (reftex-view-crossref-from-bibtex):
12453 * textmodes/reftex-cite.el (reftex-bibtex-selection-callback)
12454 (reftex-extract-bib-entries-from-thebibliography)
12455 (reftex-all-used-citation-keys, reftex-create-bibtex-file):
12456 * textmodes/refbib.el (r2b-capitalize-title):
12457 (r2b-convert-buffer, r2b-help):
12458 * textmodes/page-ext.el (pages-directory)
12459 (pages-directory-goto-with-mouse):
12460 * textmodes/bibtex.el (bibtex-validate-globally):
12461 * textmodes/bib-mode.el (bib-capitalize-title):
12462 * textmodes/artist.el (artist-clear-buffer, artist-system):
12463 * progmodes/xscheme.el (global-set-scheme-interaction-buffer):
12464 (local-set-scheme-interaction-buffer, xscheme-process-filter)
12465 (verify-xscheme-buffer, xscheme-enter-interaction-mode)
12466 (xscheme-enter-debugger-mode, xscheme-debugger-mode-p)
12467 (xscheme-send-control-g-interrupt, xscheme-start-process)
12468 (xscheme-process-sentinel, xscheme-cd):
12469 * progmodes/verilog-mode.el (verilog-read-always-signals)
12470 (verilog-set-define, verilog-getopt-file)
12471 (verilog-module-inside-filename-p):
12472 * progmodes/sh-script.el:
12473 * progmodes/python.el (python-pdbtrack-get-source-buffer)
12474 (python-pdbtrack-grub-for-buffer, python-execute-file):
12475 * progmodes/octave-inf.el (inferior-octave):
12476 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
12477 (idlwave-shell-compile-helper-routines, idlwave-set-local)
12478 (idlwave-display-completion-list-xemacs, idlwave-list-abbrevs)
12479 (idlwave-display-completion-list-emacs, idlwave-list-load-path-shadows)
12480 (idlwave-completion-fontify-classes, idlwave-display-calling-sequence):
12481 * progmodes/idlw-shell.el (idlwave-shell-examine-display-clear)
12482 (idlwave-shell-filter, idlwave-shell-examine-highlight)
12483 (idlwave-shell-sentinel, idlwave-shell-filter-directory)
12484 (idlwave-shell-display-line, idlwave-shell-set-bp-in-module)
12485 (idlwave-shell-examine-display, idlwave-shell-run-region)
12486 (idlwave-shell-filter-bp, idlwave-shell-save-and-action)
12487 (idlwave-shell-sources-filter, idlwave-shell-goto-next-error):
12488 * progmodes/idlw-help.el (idlwave-help-get-special-help)
12489 (idlwave-help-get-help-buffer):
12490 * progmodes/gud.el (gud-basic-call, gud-find-class)
12491 (gud-tooltip-activate-mouse-motions-if-enabled):
12492 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
12493 * progmodes/ebrowse.el (ebrowse-member-table, ebrowse-save-tree-as)
12494 (ebrowse-view-exit-fn, ebrowse-tags-list-members-in-file)
12495 (ebrowse-tags-next-file):
12496 * progmodes/ebnf2ps.el (ebnf-generate-eps, ebnf-generate-eps)
12497 (ebnf-eps-production-list, ebnf-begin-file, ebnf-log)
12498 (ebnf-eps-finish-and-write):
12499 * progmodes/cpp.el (cpp-edit-save):
12500 * progmodes/cperl-mode.el (cperl-pod-to-manpage):
12501 * progmodes/cc-defs.el (c-emacs-features):
12502 * progmodes/antlr-mode.el (antlr-invalidate-context-cache)
12503 (antlr-directory-dependencies):
12504 * progmodes/ada-xref.el (ada-gnat-parse-gpr, ada-get-ali-file-name)
12505 (ada-run-application, ada-find-in-src-path, ada-goto-parent)
12506 (ada-find-any-references, ada-make-filename-from-adaname)
12507 (ada-make-body-gnatstub):
12508 * obsolete/rnews.el (news-list-news-groups):
12509 * obsolete/resume.el (resume-suspend-hook, resume-write-buffer-to-file):
12510 * obsolete/iso-acc.el (iso-acc-minibuf-setup):
12511 * net/rcirc.el (rcirc-debug):
12512 * net/newst-treeview.el (newsticker--treeview-list-add-item)
12513 (newsticker--treeview-list-clear, newsticker-treeview-browse-url)
12514 (newsticker--treeview-list-update-faces, newsticker-treeview-save)
12515 (newsticker--treeview-item-show-text, newsticker--treeview-item-show)
12516 (newsticker--treeview-tree-update-tag, newsticker--treeview-buffer-init)
12517 (newsticker-treeview-show-item, newsticker--treeview-unfold-node)
12518 (newsticker--treeview-list-clear-highlight)
12519 (newsticker--treeview-list-update-highlight)
12520 (newsticker--treeview-list-highlight-start)
12521 (newsticker--treeview-tree-update-highlight)
12522 (newsticker--treeview-get-selected-item)
12523 (newsticker-treeview-mark-list-items-old)
12524 (newsticker--treeview-set-current-node):
12525 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
12526 * net/newst-backend.el (newsticker--get-news-by-funcall)
12527 (newsticker--get-news-by-wget, newsticker--image-get)
12528 (newsticker--image-sentinel):
12529 * net/mairix.el (mairix-rmail-fetch-field, mairix-gnus-fetch-field):
12530 * net/eudcb-ph.el (eudc-ph-do-request, eudc-ph-open-session):
12531 (eudc-ph-close-session):
12532 * net/eudc.el (eudc-save-options):
12533 * language/thai-word.el (thai-update-word-table):
12534 * language/japan-util.el (japanese-string-conversion):
12535 * international/titdic-cnv.el (tsang-quick-converter)
12536 (ziranma-converter, ctlau-converter):
12537 * international/mule-cmds.el (describe-language-environment):
12538 * international/ja-dic-cnv.el (skkdic-convert-okuri-ari)
12539 (skkdic-convert-postfix, skkdic-convert-prefix):
12540 (skkdic-convert-okuri-nasi, skkdic-convert):
12541 * emacs-lisp/re-builder.el (reb-update-overlays):
12542 * emacs-lisp/pp.el (pp-to-string, pp-display-expression):
12543 * emacs-lisp/gulp.el (gulp-send-requests):
12544 * emacs-lisp/find-gc.el (trace-call-tree):
12545 * emacs-lisp/eieio-opt.el (eieio-browse, eieio-describe-class)
12546 (eieio-describe-generic):
12547 * emacs-lisp/eieio-base.el (eieio-persistent-read):
12548 * emacs-lisp/edebug.el (edebug-outside-excursion):
12549 * emacs-lisp/debug.el (debugger-make-xrefs):
12550 * emacs-lisp/cust-print.el (custom-prin1-to-string):
12551 * emacs-lisp/chart.el (chart-new-buffer):
12552 * emacs-lisp/authors.el (authors-scan-el, authors-scan-change-log):
12553 Use with-current-buffer.
12554 * textmodes/artist.el (artist-system): Don't call
12555 copy-sequence on a fresh string.
12556 * progmodes/idlw-shell.el (easymenu setup): Use dolist.
12558 2009-10-31 Stephen Berman <stephen.berman@gmx.net>
12560 * calendar/todo-mode.el (todo-edit-item): Signal an error if there
12561 is no item to edit. (Bug#4820)
12562 (todo-top-priorities): Restore point and restore narrowing in Todo
12565 2009-10-31 Glenn Morris <rgm@gnu.org>
12567 * net/ange-ftp.el (top-level): Don't require dired when compiling.
12568 (comint-last-output-start, comint-last-input-start)
12569 (comint-last-input-end): Don't defvar when compiling.
12570 (ange-ftp-process-file): Use bound-and-true-p.
12572 * pcmpl-rpm.el (top-level): Move provide statement to end.
12573 (pcmpl-rpm): Remove unused custom group.
12575 * pcmpl-gnu.el (tar-parse-info, tar-header-name): Declare for compiler.
12577 * mail/emacsbug.el (report-emacs-bug): Request `emacs -Q' recipes.
12579 * emacs-lisp/bytecomp.el (byte-compile-warning-types)
12580 (byte-compile-warnings): Add `constants' as an option.
12581 (byte-compile-callargs-warn, byte-compile-arglist-warn)
12582 (display-call-tree): Update for byte-compile-fdefinition possibly
12583 returning `(macro lambda ...)'. (Bug#4778)
12584 (byte-compile-variable-ref, byte-compile-setq-default):
12585 Respect `constants' member of byte-compile-warnings.
12587 2009-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
12589 * vc-bzr.el (vc-bzr-revision-keywords): New var.
12590 (vc-bzr-revision-completion-table): Use it to fix completion of "s:"
12593 2009-10-30 Dan Nicolaescu <dann@ics.uci.edu>
12595 * textmodes/ispell.el (ispell-skip-region-alist):
12596 * international/mule-conf.el (eight-bit):
12597 * international/fontset.el (font-encoding-alist):
12598 * startup.el (pure-space-overflow-message):
12599 * simple.el (overwrite-mode-textual, overwrite-mode-binary):
12600 * paths.el (gnus-nntp-service, rmail-spool-directory)
12601 (term-file-prefix):
12602 * files.el (save-some-buffers-action-alist):
12603 * cmuscheme.el (same-window-buffer-names):
12604 * ielm.el (same-window-buffer-names):
12605 * shell.el (same-window-buffer-names):
12606 * mail/sendmail.el (same-window-buffer-names):
12607 * progmodes/inf-lisp.el (same-window-buffer-names):
12608 * bindings.el (mode-line-client)
12609 (mode-line-column-line-number-mode-map):
12610 * language/tibetan.el (tibetan-precomposition-rule-regexp)
12611 (tibetan-precomposed-regexp): Purecopy string arguments.
12613 2009-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
12615 * calc/calc.el (calc, calc-refresh, calc-trail-buffer, calc-record)
12616 (calcDigit-nondigit):
12617 * calc/calc-yank.el (calc-copy-to-buffer):
12618 * calc/calc-units.el (calc-invalidate-units-table):
12619 * calc/calc-trail.el (calc-trail-yank):
12620 * calc/calc-store.el (calc-insert-variables):
12621 * calc/calc-rewr.el (math-rewrite, math-rewrite-phase):
12622 * calc/calc-prog.el (calc-read-parse-table):
12623 * calc/calc-keypd.el (calc-do-keypad, calc-keypad-right-click):
12624 * calc/calc-help.el (calc-describe-bindings, calc-describe-key):
12625 * calc/calc-graph.el (calc-graph-delete, calc-graph-add-curve)
12626 (calc-graph-juggle, calc-graph-count-curves, calc-graph-plot)
12627 (calc-graph-plot, calc-graph-format-data, calc-graph-set-styles)
12628 (calc-graph-name, calc-graph-find-command, calc-graph-view)
12629 (calc-graph-view, calc-gnuplot-command, calc-graph-init):
12630 * calc/calc-ext.el (calc-realign):
12631 * calc/calc-embed.el (calc-do-embedded, calc-do-embedded)
12632 (calc-embedded-finish-edit, calc-embedded-make-info)
12633 (calc-embedded-finish-command, calc-embedded-stack-change):
12634 * calc/calc-aent.el (calcAlg-enter): Use with-current-buffer.
12636 * pcomplete.el (pcomplete-comint-setup): If there's a choice, replace
12637 shell-dynamic-complete-filename in preference to
12638 comint-dynamic-complete-filename.
12640 * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
12641 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
12642 Don't consider whether the display supports colors.
12643 (bookmark-import-new-list): Use dolist.
12644 (bookmark-bmenu-mode-map): Move initialization into declaration.
12645 (bookmark-bmenu-list): Use dolist, simplify.
12646 (bookmark-show-all-annotations): Use save-selected-window and dolist.
12647 (menu-bar-final-items): Use push.
12649 2009-10-28 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
12651 * vc-hg.el (vc-hg-state, vc-hg-working-revision): Use process-file so
12652 it works on remote files.
12653 (vc-hg-diff): Don't pass any `--cwd' argument.
12655 2009-10-27 Kevin Ryde <user42@zip.com.au>
12657 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
12658 Use help-xref-info-regexp and help-xref-url-regexp to identify links.
12659 (Further to Bug#3921).
12661 2009-10-27 Michael Albinus <michael.albinus@gmx.de>
12663 * net/tramp-imap.el (top): Add `X-Size' to `imap-hash-headers'.
12664 (tramp-imap-do-copy-or-rename-file): Don't use the inode, when
12665 calling `tramp-imap-put-file'. Add file size to the call.
12666 (tramp-imap-get-file-entries): Compute also user name, file size,
12668 (tramp-imap-handle-insert-directory): Insert uid and gid.
12669 (tramp-imap-handle-file-attributes): Transform uid and gid
12670 according to `id-format'.
12671 (tramp-imap-put-file): New optional parameter SIZE. Encode file
12672 size in header X-Size.
12674 2009-10-26 Juanma Barranquero <lekktu@gmail.com>
12676 * simple.el (transpose-subr): Give clearer error when the mark
12677 is not set. (Bug#4807)
12679 2009-10-26 Michael Albinus <michael.albinus@gmx.de>
12681 * net/tramp.el (tramp-perl-file-truename): New defconst.
12682 Perl code contributed by yary <not.com@gmail.com> (tiny change).
12683 (tramp-handle-file-truename, tramp-get-remote-perl): Use it.
12684 Check also for "perl-file-spec" and "perl-cwd-realpath" properties.
12685 (tramp-handle-write-region): In case of APPEND, reuse the tmpfile name.
12687 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
12688 Ignore `dired-call-process'.
12689 (tramp-imap-make-iht): Use `user' and `ssl' with `imap-hash-make'.
12691 2009-10-26 Julian Scheid <julians37@gmail.com>
12693 * net/tramp.el (tramp-perl-file-name-all-completions): New defconst.
12694 (tramp-get-remote-readlink): New defun.
12695 (tramp-handle-file-truename): Use it.
12696 (tramp-handle-file-exists-p): Check file-attributes cache, assume
12697 file exists if cache value present.
12698 (tramp-check-cached-permissions): New defun.
12699 (tramp-handle-file-readable-p): Use it.
12700 (tramp-handle-file-writable-p): Likewise.
12701 (tramp-handle-file-executable-p): Likewise.
12702 (tramp-handle-file-name-all-completions): Try using Perl to get
12703 partial completions. When perl not available, combine `cd' and
12704 `ls' into single remote operation and use shell expansion to get
12705 partial remote directory contents. Set `file-exists-p' cache for
12706 directory and any files returned by ls. Change cache handling to
12707 support partial directory contents. Use error message emitted by
12708 remote `cd' or Perl code for local tramp-error.
12709 (tramp-do-copy-or-rename-file-directly): Avoid separate
12710 tramp-send-command-and-check call.
12711 (tramp-handle-process-file): Merge three remote ops into one.
12712 Do not flush all caches when `process-file-side-effects' is set.
12713 (tramp-handle-write-region): Avoid tramp-set-file-uid-gid if
12714 file-attributes shows uid/gid to be set already.
12716 2009-10-26 Dan Nicolaescu <dann@ics.uci.edu>
12718 * textmodes/tex-mode.el (tex-dvi-view-command)
12719 (tex-show-queue-command, tex-open-quote):
12720 * progmodes/ruby-mode.el (auto-mode-alist)
12721 (interpreter-mode-alist): Purecopy strings.
12723 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Purecopy item names.
12725 * emacs-lisp/derived.el (define-derived-mode): Purecopy the doc
12726 string for the hook, keymap and abbrev table.
12728 * emacs-lisp/byte-run.el (make-obsolete): Purecopy the current name.
12730 * x-dnd.el (x-dnd-xdnd-to-action):
12731 * startup.el (fancy-startup-text, fancy-about-text): Change to
12732 defconst from defvar.
12734 * ps-print.el (ps-page-dimensions-database): Purecopy initial value.
12736 * mouse.el (mouse-buffer-menu-mode-groups, x-fixed-font-alist):
12737 Purecopy initialization strings.
12739 * mail/sendmail.el (mail-header-separator)
12740 (mail-personal-alias-file):
12741 * mail/rmail.el (rmail-default-dont-reply-to-names)
12742 (rmail-ignored-headers, rmail-retry-ignored-headers)
12743 (rmail-highlighted-headers, rmail-secondary-file-directory)
12744 (rmail-secondary-file-regexp):
12745 * files.el (null-device, file-name-invalid-regexp)
12746 (locate-dominating-stop-dir-regexp)
12747 (inhibit-first-line-modes-regexps): Purecopy initialization strings.
12748 (interpreter-mode-alist): Use mapcar instead of mapc.
12750 * buff-menu.el (Buffer-menu-mode-map): Purecopy name.
12752 * bindings.el (mode-line-major-mode-keymap): Purecopy name.
12753 (completion-ignored-extensions):
12754 (debug-ignored-errors): Purecopy strings.
12756 2009-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
12758 * pcomplete.el (pcomplete-std-complete): Obey pcomplete-use-paring.
12759 (pcomplete, pcomplete-parse-buffer-arguments, pcomplete-opt)
12760 (pcomplete--here): Use push.
12762 * subr.el (all-completions): Declare the 4th arg obsolete.
12764 2009-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
12766 * pcomplete.el (pcomplete-unquote-argument-function): New var.
12767 (pcomplete-unquote-argument): New function.
12768 (pcomplete--common-suffix): Always pay attention to case.
12769 (pcomplete--table-subvert): Quote and unquote the text.
12770 (pcomplete--common-quoted-suffix): New function.
12771 (pcomplete-std-complete): Use it and pcomplete-begin.
12773 * bookmark.el (bookmark-bmenu-list): Don't use switch-to-buffer if
12774 we're inside a dedicated or minibuffer window.
12776 2009-10-24 Karl Fogel <kfogel@red-bean.com>
12778 * bookmark.el: Update documentation, especially documentation
12779 of `bookmark-alist' and of the bookmark file format.
12780 Patch by Drew Adams, with minor tweaks from me. (Bug#4195)
12782 2009-10-24 Chong Yidong <cyd@stupidchicken.com>
12784 * mail/emacsbug.el (report-emacs-bug): Clarify that the
12785 keybindings apply to the mail buffer (Bug#4003). Shrink help
12788 * whitespace.el (whitespace-mode, whitespace-newline-mode)
12789 (global-whitespace-mode, global-whitespace-newline-mode)
12790 (whitespace-toggle-options, global-whitespace-toggle-options):
12791 Doc fix (Bug#3660).
12793 * nxml/nxml-mode.el (nxml-balanced-close-start-tag): Use the value
12794 of xmltok-start before the end tag was inserted (Bug#2840).
12796 * progmodes/sh-script.el (sh-font-lock-paren): Handle case
12797 patterns that are preceded by an open-paren (Bug#1320).
12799 2009-10-24 Sven Joachim <svenjoac@gmx.de>
12801 * files.el (delete-directory): Delete symlinks to directories with
12802 delete-file (Bug#4739).
12804 2009-10-24 Dan Nicolaescu <dann@ics.uci.edu>
12806 * vc.el (vc-backend-for-registration): Rename from
12807 vc-get-backend-for-registration. Update callers.
12809 * international/mule-cmds.el (set-language-info-alist):
12811 (leim-list-header, leim-list-entry-regexp): Change defvars to defconst.
12812 (charset): Purecopy the name.
12813 (define-char-code-property): Purecopy string arguments.
12815 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
12816 Purecopy string arguments.
12818 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
12819 * ediff-hook.el (menu-bar-ediff-menu):
12820 * buff-menu.el (Buffer-menu-mode-map): Purecopy names and tooltips.
12821 * bookmark.el (menu-bar-bookmark-map): Add :help and purecopy the name.
12823 2009-10-24 Glenn Morris <rgm@gnu.org>
12825 * comint.el (comint-dynamic-list-completions):
12826 * term.el (term-dynamic-list-completions): Use choose-completion rather
12827 than obsolete alias mouse-choose-completion.
12829 * filecache.el (file-cache-completions-keymap): Bind mouse-2 to
12830 file-cache-choose-completion.
12831 (file-cache-choose-completion): Handle an optional event argument.
12832 (file-cache-mouse-choose-completion): Make it an obsolete alias.
12834 * progmodes/octave-mod.el (octave-complete-symbol):
12835 Use choose-completion if mouse-choose-completion is ever removed.
12837 * textmodes/sgml-mode.el (sgml-looking-back-at): Move definition before
12840 * emacs-lisp/checkdoc.el (generate-autoload-cookie): Define for
12843 * vc-hooks.el (vc-responsible-backend): Fix declaration.
12845 2009-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
12847 * minibuffer.el (completion--embedded-envvar-table): Fix last change.
12848 Ignore `pred' now that we receive one.
12849 Handle test-completion specially.
12851 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
12853 * vc.el (vc-responsible-backend): Throw an error if not backend is
12854 found. Remove the REGISTER argument. Move the code dealing with
12856 (vc-get-backend-for-registration): ... here. New function.
12857 (vc-deduce-fileset): Call vc-get-backend-for-registration instead
12858 of vc-responsible-backend, pass the file name instead of the
12861 2009-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
12863 * pcomplete.el (pcomplete-common-suffix, pcomplete-table-subvert):
12865 (pcomplete-std-complete): Use them. Obey pcomplete-termination-string.
12866 (pcomplete-comint-setup): Don't modify a global var via
12867 accidental side-effects.
12868 (pcomplete-shell-setup): Adjust call accordingly.
12869 (pcomplete-parse-comint-arguments): Use push.
12871 2009-10-23 Chong Yidong <cyd@stupidchicken.com>
12873 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
12874 Allow uncapitalized info node names (Bug#3921).
12876 * mail/emacsbug.el (report-emacs-bug): Tweak the sentence pointing
12877 to the DEBUG file (Bug#3781).
12879 2009-10-23 Jari Aalto <jari.aalto@cante.net>
12881 * textmodes/ispell.el (ispell-dictionary-base-alist): Add finnish
12882 dictionary entry (Bug#4579).
12884 2009-10-23 Michael Albinus <michael.albinus@gmx.de>
12886 * net/tramp.el (top): Remove `tramp-rfn-eshadow-update-overlay'
12887 from `rfn-eshadow-update-overlay-hook' when unloading.
12888 (tramp-methods): Add `tramp-copy-keep-tmpfile' for "rsync" and
12889 "rsyncc". Adjust doc string.
12890 (tramp-temp-buffer-file-name): New buffer-local defvar.
12891 (tramp-handle-insert-file-contents, tramp-handle-write-region):
12892 Keep temporary file when indicated by method ("rsync" and
12894 (tramp-handle-write-region): Handle APPEND.
12895 (tramp-delete-temp-file-function): New defun. Added to
12896 `kill-buffer-hook'.
12898 2009-10-23 Juanma Barranquero <lekktu@gmail.com>
12900 * menu-bar.el (cua-enable-cua-keys): Declare for the byte-compiler.
12902 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
12904 * term/tty-colors.el (msdos-color-values): Remove declaration, unused.
12905 (color-name-rgb-alist, tty-standard-colors)
12906 (tty-color-mode-alist): Change to defconst.
12908 * simple.el (mark-inactive): Purecopy message.
12910 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle): Fix macro.
12911 (global-map, yank-menu):
12912 * textmodes/ispell.el (ispell-menu-map):
12913 * net/eudc.el (eudc-tools-menu):
12914 * international/mule-cmds.el (describe-language-environment-map)
12915 (setup-language-environment-map, set-coding-system-map)
12916 (mule-menu-keymap):
12917 * vc-hooks.el (vc-menu-entry, vc-menu-map):
12918 * replace.el (occur-mode-map):
12919 * pcvs-defs.el (cvs-global-menu): Purecopy names and tooltips.
12921 2009-10-23 Jay Belanger <jay.p.belanger@gmail.com>
12923 * calc/calc.el (math-read-number, math-read-number-simple): Use
12926 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
12928 * simple.el (normal-erase-is-backspace-mode): Use input-decode-map
12929 rather than fiddling with global-map bindings, since it should only
12930 affect per-terminal settings.
12931 See http://bugs.gentoo.org/show_bug.cgi?id=289709.
12933 * minibuffer.el (completion-table-with-terminator): Allow to specify
12934 the terminator-regexp.
12936 * simple.el (switch-to-completions): Look for *Completions* in other
12939 * pcomplete.el: Allow the use of completion-tables.
12940 (pcomplete-std-complete): New command.
12941 (pcomplete-dirs-or-entries): Use a single call to pcomplete-entries.
12942 (pcomplete--here): Use a function for `form' rather than an expression,
12943 so it can be byte-compiled.
12944 (pcomplete-here, pcomplete-here*): Adjust accordingly.
12945 Add edebug declaration.
12946 (pcomplete-show-completions): Remove unused var `curbuf'.
12947 (pcomplete-do-complete, pcomplete-stub):
12948 Don't assume `completions' is a list of strings any more.
12950 2009-10-22 Juanma Barranquero <lekktu@gmail.com>
12952 * find-dired.el (find-name-arg): Fix typo in docstring.
12954 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
12956 * pcmpl-linux.el (pcomplete/kill): Don't abuse pcomplete-entries.
12957 (pcmpl-linux-fs-types): Same, and update to new modules layout.
12959 * pcmpl-gnu.el (pcmpl-gnu-makefile-names): Use a single call to
12962 * comint.el (comint-read-input-ring, comint-write-input-ring)
12963 (comint-substitute-in-file-name)
12964 (comint-dynamic-complete-as-filename)
12965 (comint-dynamic-simple-complete)
12966 (comint-dynamic-list-filename-completions)
12967 (comint-dynamic-list-completions)
12968 (comint-redirect-results-list-from-process): Minor simplifications.
12970 2009-10-21 Kevin Ryde <user42@zip.com.au>
12972 * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
12973 When inserting ";;; Code" put it before any ";;;###autoload" cookie on
12974 the first form. And insert a blank line after ";;; Code" since
12975 that's usual style. (Bug#4612)
12977 * net/dns.el: Add "Keywords: comm", as per net/net-utils.el.
12979 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
12981 * minibuffer.el (completion-table-with-terminator): Properly implement
12982 boundaries, in case `terminator' appears in the suffix.
12983 (completion--embedded-envvar-table): Don't return boundaries if
12984 there's no valid completion. Simplify.
12985 (completion-file-name-table): New completion table extracted from
12986 completion--file-name-table.
12987 (completion--file-name-table): Use it.
12988 (read-file-name-predicate): Declare obsolete.
12989 (read-file-name): Use the pred arg i.s.o read-file-name-predicate.
12990 * vc-bzr.el (vc-bzr-revision-completion-table): Use the new
12991 completion-file-name-table, and use the `pred' argument.
12992 * files.el (locate-file-completion-table): Use the `pred' arg rather
12993 than read-file-name-predicate.
12994 (abbreviate-file-name): Use \` rather than ^ for BOS.
12996 2009-10-21 Dan Nicolaescu <dann@ics.uci.edu>
12998 * vc.el (vc-deduce-fileset): Undo previous change, do not tell
12999 vc-responsible-backend to register, it causes problems.
13001 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
13003 * help-fns.el: Don't require help-mode (to avoid bootstrap issues).
13005 2009-10-21 Michael Albinus <michael.albinus@gmx.de>
13007 * net/tramp-smb.el (tramp-smb-get-stat-capability): New defun.
13008 (tramp-smb-handle-file-attributes): Use it.
13009 (tramp-smb-do-file-attributes-with-stat): Don't raise an error.
13010 (tramp-smb-handle-insert-directory): Use `mapc' rather than
13011 `mapcar'. Use `tramp-smb-get-stat-capability'.
13012 Add `dired-filename' text properties.
13013 (tramp-smb-get-cifs-capabilities): Apply `save-match-data'.
13014 (tramp-smb-maybe-open-connection): Simplify check for smbclient
13017 2009-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
13019 * subr.el (read-key-delay): Reduce to 0.01.
13020 (read-key): Use read-key-sequence-vector to avoid turning M-t into 244
13023 2009-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
13025 * bindings.el (function-key-map): Map C-@ to C-SPC if C-@ is unbound.
13027 * info.el (Info-complete-menu-item): Handle `boundaries' explicitly.
13028 (Info-menu): Remove unused vars `last' and `completions'.
13029 (Info-index-nodes): Remove unused var `node'.
13031 * info.el (Info-complete-menu-item): Use complete-with-action.
13033 2009-10-19 Dan Nicolaescu <dann@ics.uci.edu>
13035 Make vc-annotate work through copies and renames.
13036 * vc-annotate.el (vc-annotate-extract-revision-at-line):
13037 Return the file name too.
13038 (vc-annotate-revision-at-line)
13039 (vc-annotate-find-revision-at-line)
13040 (vc-annotate-revision-previous-to-line)
13041 (vc-annotate-show-log-revision-at-line): Update to get the file
13042 name from vc-annotate-extract-revision-at-line.
13043 (vc-annotate-show-diff-revision-at-line-internal): Change the
13044 argument to mean whether to show a file diff or not. Get the file
13045 name from vc-annotate-extract-revision-at-line.
13046 (vc-annotate-show-diff-revision-at-line):
13047 Update vc-annotate-show-diff-revision-at-line call.
13048 (vc-annotate-warp-revision): Add an optional file argument.
13050 * vc-git.el (vc-git-annotate-command): Pass -C -C to the blame command.
13051 (vc-git-annotate-extract-revision-at-line): Also return the file
13054 * vc-hg.el (vc-hg-annotate-command): Pass --follow to the annotate
13055 command. Remove unused code.
13056 (vc-hg-annotate-re): Update to match --follow output.
13057 (vc-hg-annotate-extract-revision-at-line): Also return the file
13060 * vc.el: Update annotate-extract-revision-at-line documentation.
13062 2009-10-18 Kevin Ryde <user42@zip.com.au>
13064 * ibuffer.el (ibuffer-confirm-operation-on): Correction to error
13065 re-throw, `err' is a pair not a list so can't use apply (Bug#4740).
13067 * net/browse-url.el (browse-url): Identify alist with "consp and
13068 not functionp" and let all other things go down the `apply' leg,
13069 as suggested by Stefan. (Further to bug#4531.)
13071 2009-10-18 Chong Yidong <cyd@stupidchicken.com>
13073 * minibuffer.el (read-file-name): Check for repeat before putting
13074 a default argument in file-name-history (Bug#4657).
13076 * emacs-lisp/lisp-mode.el (preceding-sexp): Recognize hash table
13077 read syntax (Bug#4737).
13079 * textmodes/sgml-mode.el (sgml-delete-tag): Use sgml-looking-back-at.
13081 2009-10-18 Aaron S. Hawley <aaron.s.hawley@gmail.com>
13083 * textmodes/sgml-mode.el (sgml-tag-help): Prompt user for tag.
13084 (html-tag-alist, html-tag-help): Add descriptions for undocumented
13085 entries and make note of obsolete tags.
13087 2009-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
13089 * net/ange-ftp.el (ange-ftp-file-size): Use unwind-protect.
13091 2009-10-18 Glenn Morris <rgm@gnu.org>
13093 * Makefile.in (compile-last): Ensure GREP_OPTIONS is null before calling
13094 grep, so that binary files (eg international/uni-bidi.el) can match.
13095 Remove test for "UnicodeData" files, since it is hopefully unnecessary
13096 now, and in any case the file header format has changed.
13098 2009-10-17 Glenn Morris <rgm@gnu.org>
13100 * textmodes/flyspell.el (flyspell-large-region, flyspell-word)
13101 (flyspell-get-word, flyspell-large-region)
13102 (flyspell-auto-correct-previous-word): Doc/error message fixes.
13104 2009-10-17 Chong Yidong <cyd@stupidchicken.com>
13106 * Makefile.in (ELCFILES): Add ede/shell.
13108 2009-10-17 Dan Nicolaescu <dann@ics.uci.edu>
13110 * term/common-win.el (x-colors): Purecopy it.
13112 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
13114 * tar-mode.el (tar-data-swapped-p): Make the assertion a bit more
13115 permissive for when the buffer is empty.
13116 (tar-header-block-tokenize): Decode the username and groupname.
13117 (tar-chown-entry, tar-chgrp-entry): Encode the names (bug#4730).
13119 2009-10-17 Eric Ludlam <zappo@gnu.org>
13121 * emacs-lisp/eieio-base.el (eieio-persistent-save): If buffer
13122 contains multibyte characters, choose first applicable coding
13123 system automatically.
13125 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
13127 * international/mule-cmds.el (select-safe-coding-system): If the file
13128 has a coding cookie, use it regardless of any other setting (bug#4712).
13130 2009-10-17 Glenn Morris <rgm@gnu.org>
13132 * foldout.el (foldout-mouse-swallow-events):
13133 * gs.el (gs-load-image): Replace obsolete forms of sit-for, sleep-for.
13135 * dired.el (dired-ls-F-marks-symlinks, dired-keep-marker-rename)
13136 (dired-keep-marker-copy, dired-keep-marker-hardlink)
13137 (dired-keep-marker-symlink, dired-dwim-target)
13138 (dired-copy-preserve-time): Do not autoload these defcustoms.
13140 * mail/rmail.el (rmail-write-region-annotate): Prevent viewing different
13141 messages from messing up the file coding. (Bug#4623)
13143 2009-10-17 Jari Aalto <jari.aalto@cante.net>
13145 * textmodes/ispell.el (ispell-get-decoded-string): Give an error
13146 if no match is found for the current dictionary. (Bug#4578)
13148 * textmodes/flyspell.el (flyspell-get-word): Make `following' argument
13149 optional, since that is how it is documented, and this is often called
13150 with a nil argument. (Bug#4577)
13151 (flyspell-external-point-words, flyspell-auto-correct-word)
13152 (flyspell-correct-word-before-point, flyspell-word-search-forward)
13153 (flyspell-word-search-backward): Remove nil argument in calls to
13154 flyspell-get-word, since it is not needed now.
13156 2009-10-17 Ulrich Mueller <ulm@gentoo.org>
13158 * play/doctor.el (doctor-adverbp): Exclude some nouns. (Bug#4565)
13160 2009-10-16 Glenn Morris <rgm@gnu.org>
13162 * net/rcirc.el (rcirc-authenticate): Simplify previous change.
13164 2009-10-16 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
13166 * net/ange-ftp.el (ange-ftp-send-cmd): Handle `size' like `mdtm'.
13167 (ange-ftp-file-size): New function.
13168 (ange-ftp-file-attributes): Use it.
13170 2009-10-16 Michael Albinus <michael.albinus@gmx.de>
13172 * net/tramp-smb.el (tramp-smb-version): New defvar.
13173 (tramp-smb-maybe-open-connection): Use it, in order to avoid
13176 2009-10-16 Glenn Morris <rgm@gnu.org>
13178 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Doc fix.
13179 Maybe copy some custom properties from old to new name. (Bug#4706)
13181 2009-10-16 Juanma Barranquero <lekktu@gmail.com>
13183 * subr.el (error, sit-for, start-process-shell-command)
13184 (start-file-process-shell-command): Set the calling convention
13185 after the function definition.
13187 2009-10-16 Stefan Monnier <monnier@iro.umontreal.ca>
13189 * subr.el (error, sit-for, start-process-shell-command)
13190 (start-file-process-shell-command): Use the new
13191 set-advertised-calling-convention feature.
13193 2009-10-16 Taichi Kawabata <kawabata.taichi@gmail.com>
13195 * international/ucs-normalize.el (ucs-normalize-version):
13197 (check-range): Adjust for Unicode 5.2.
13199 2009-10-15 Juri Linkov <juri@jurta.org>
13201 * menu-bar.el (menu-bar-file-menu): Convert `separator-exit'
13202 to the `menu-item' format.
13204 2009-10-15 Michael Albinus <michael.albinus@gmx.de>
13206 * net/tramp.el (tramp-replace-environment-variables): Do not fail
13207 if the environment variable does not exist.
13209 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
13210 (tramp-smb-get-share, tramp-smb-get-localname): Use only VEC as
13212 (tramp-smb-handle-add-name-to-file)
13213 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
13214 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
13215 (tramp-smb-handle-file-attributes)
13216 (tramp-smb-do-file-attributes-with-stat)
13217 (tramp-smb-handle-file-local-copy)
13218 (tramp-smb-handle-insert-directory)
13219 (tramp-smb-handle-make-directory)
13220 (tramp-smb-handle-make-directory-internal)
13221 (tramp-smb-handle-make-symbolic-link)
13222 (tramp-smb-handle-rename-file, tramp-smb-handle-set-file-modes)
13223 (tramp-smb-handle-write-region, tramp-smb-get-file-entries)
13224 (tramp-smb-maybe-open-connection): Apply the changed parameters.
13225 (tramp-smb-read-file-entry): Read Disk names in compressed format.
13226 Handle long file names.
13227 (tramp-smb-get-cifs-capabilities): Check, whether the connection
13228 process is running.
13229 (tramp-smb-maybe-open-connection): Trace "smbclient -V" command.
13230 Read share names with "-g" option.
13232 2009-10-15 Ryan Yeske <rcyeske@gmail.com>
13234 * net/rcirc.el (rcirc-view-log-file): New command.
13235 (rcirc-track-minor-mode-map): Remove C-c ` binding.
13236 (rcirc-authenticate, rcirc-authinfo): Allow nickserv-nick to be
13239 2009-10-15 Glenn Morris <rgm@gnu.org>
13241 * w32-fns.el (w32-batch-update-autoloads): Take autoload-make-program
13242 from the second command-line argument.
13243 * makefile.w32-in (autoloads, $(lisp)/calendar/cal-loaddefs.el)
13244 ($(lisp)/calendar/diary-loaddefs.el, $(lisp)/calendar/hol-loaddefs.el)
13245 ($(lisp)/mh-e/mh-loaddefs.el): Pass $(MAKE) as second argument to
13246 w32-batch-update-autoloads.
13247 * emacs-lisp/autoload.el (autoload-make-program): New variable.
13248 (batch-update-autoloads): Handle autoload-excludes on windows-nt.
13250 * mail/rmailedit.el (rmail-cease-edit): Give an error if the end of
13251 the headers cannot be located. Simplify, subtracting superflous
13254 2009-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
13256 Replace completion-base-size by completion-base-position to fix bugs
13257 such as (bug#4699).
13258 * simple.el (completion-base-position): New var.
13259 (completion-base-size): Mark as obsolete.
13260 (choose-completion): Make it work for mouse events as well.
13261 Pass the new base-position to choose-completion-string.
13262 (choose-completion-guess-base-position): New function, extracted from
13263 choose-completion-delete-max-match.
13264 (choose-completion-delete-max-match): Use it. Make obsolete.
13265 (choose-completion-string): Use the new base-position info.
13266 (completion-root-regexp): Delete.
13267 (completion-setup-function): Preserve completion-base-position.
13268 Eliminate obsolete base-size manipulation.
13269 * minibuffer.el (display-completion-list): Don't mess with base-size.
13270 (minibuffer-completion-help): Set completion-base-position instead.
13271 * mouse.el (mouse-choose-completion): Redefine as a mere alias to
13273 * textmodes/bibtex.el (bibtex-complete):
13274 * emacs-lisp/crm.el (crm--choose-completion-string):
13275 Adjust to new calling convention.
13276 * complete.el (partial-completion-mode): Use minibufferp to avoid
13277 bumping into incompatible change to choose-completion-string-functions.
13278 * ido.el (ido-choose-completion-string): Make its calling convention
13280 * comint.el (comint-dynamic-list-input-ring-select): Remove obsolete
13281 base-size manipulation.
13282 (comint-dynamic-list-input-ring): Use dotimes and push.
13283 * iswitchb.el (iswitchb-completion-help): Remove dead-code call to
13284 fundamental-mode. Use `or'.
13286 2009-10-14 Juri Linkov <juri@jurta.org>
13288 * misearch.el (multi-isearch-next-buffer-from-list)
13289 (multi-isearch-next-file-buffer-from-list): Doc fix. (Bug#4723)
13291 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
13293 * Makefile.in (compile-onefile): Load `bytecomp' rather than
13296 * minibuffer.el (completion-pcm--merge-completions): Make sure the
13297 string we return is all made up of text from the completions rather
13298 than part from the completions and part from the input (bug#4219).
13300 * ido.el (ido-everywhere): Use define-minor-mode.
13302 * buff-menu.el (list-buffers, ctl-x-map):
13303 Mark the entry points with ;;;###autoload cookies.
13305 2009-10-14 Dan Nicolaescu <dann@ics.uci.edu>
13307 * vc-git.el (vc-git-dir-extra-headers): Set the branch name
13308 correctly in the detached head case.
13309 (vc-git-print-log): Remove unused binding.
13311 * vc.el (vc-responsible-backend): When a directory is passed for
13312 for registration create a VC repository if no backend is
13313 responsible for the directory argument.
13314 (vc-deduce-fileset): Tell vc-responsible-backend to register.
13316 * vc.el: Move comments about RCS and SCCS ...
13318 * vc-sccs.el: ... here, respectively.
13320 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
13322 * minibuffer.el (completion--file-name-table): Return nil if there's
13323 no file completion, even if substitute-in-file-name changed
13324 the string (bug#4708).
13326 2009-10-13 Juri Linkov <juri@jurta.org>
13328 * files-x.el (read-file-local-variable-value): Don't filter out
13329 minor modes from mode name completion (bug#4664).
13331 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
13333 * international/mule-cmds.el (ucs-names): Remove exclusion of
13334 "Enclosed Ideographic Supplement" range (U+1F200..U+1F2FF).
13336 2009-10-13 Kenichi Handa <handa@m17n.org>
13338 * international/uni-name.el: Regenerated.
13340 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
13342 * bs.el (bs-mode): Fix last change. (`revert-buffer-function'
13343 should be automatically buffer-local, but isn't.)
13345 2009-10-12 Sam Steingold <sds@gnu.org>
13347 * progmodes/compile.el (compilation-next-error-function): Fix the
13348 timestamps if the buffer has been visited before.
13349 (compilation-mode-font-lock-keywords): Do not prepend "^ *" to
13350 non-anchored patterns, like the perl one (bug#3928).
13352 2009-10-12 Glenn Morris <rgm@gnu.org>
13354 * net/tramp-smb.el (tramp-smb-do-file-attributes-with-stat):
13357 2009-10-12 Juanma Barranquero <lekktu@gmail.com>
13359 * proced.el (proced-unload-function): New function.
13361 * bs.el (bs-mode): Set `revert-buffer-function' to `bs-refresh'.
13362 (bs-refresh): Add IGNORED arg for `revert-buffer' compatibility.
13365 * menu-bar.el (menu-bar-file-menu): Fix format of `separator-exit' item.
13367 2009-10-11 Juri Linkov <juri@jurta.org>
13369 * files-x.el (read-file-local-variable-value):
13370 Provide default value only for bound variables (bug#4664).
13372 2009-10-11 Michael Albinus <michael.albinus@gmx.de>
13374 * net/tramp.el (tramp-local-host-p): Function shall return nil for
13375 connection methods like smb.
13377 * net/tramp-cache.el (tramp-flush-connection-property): The hash
13380 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
13381 (tramp-smb-file-name-handler-alist): Add handlers for
13382 `add-name-to-file', `make-symbolic-link'.
13383 (tramp-smb-handle-add-name-to-file)
13384 (tramp-smb-do-file-attributes-with-stat)
13385 (tramp-smb-handle-make-symbolic-link)
13386 (tramp-smb-get-cifs-capabilities): New defuns.
13387 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
13388 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
13389 (tramp-smb-handle-file-local-copy)
13390 (tramp-smb-handle-make-directory-internal)
13391 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
13392 The file name syntax depends on cifs capabilities.
13393 (tramp-smb-handle-file-attributes):
13394 Call `tramp-smb-do-file-attributes-with-stat' if possible.
13395 (tramp-smb-handle-insert-directory): Use posix attributes if possible.
13396 (tramp-smb-handle-set-file-modes): It is applicable for posix only.
13398 2009-10-11 Chong Yidong <cyd@stupidchicken.com>
13400 * emacs-lisp/eieio.el: Avoid requiring cl at runtime.
13401 (eieio-defclass): Apply deftype handler and setf-method properties
13403 (eieio-add-new-slot): Avoid union function from cl library.
13404 (eieio--typep): New function.
13405 (eieio-perform-slot-validation): Use it.
13407 2009-10-10 Karl Fogel <kfogel@red-bean.com>
13409 * bookmark.el (bookmark-yank-word, bookmark-insert-current-bookmark):
13410 Update documentation to refer to the variables documented in r1.135.
13413 2009-10-10 Karl Fogel <kfogel@red-bean.com>
13415 * bookmark.el (Info-suffix-list): Remove this unused variable.
13416 (bookmark-current-point): Remove this obsolete variable.
13417 (bookmark-set, bookmark-rename, bookmark-send-edited-annotation):
13418 Adjust for removal of bookmark-current-point.
13420 (bookmarks-already-loaded, bookmark-current-buffer)
13421 (bookmark-yank-point): Document. (Bug#4188)
13423 2009-10-10 Glenn Morris <rgm@gnu.org>
13425 * frame.el (frame-height): Doc fix.
13427 * calendar/calendar.el (calendar-split-width-threshold): New option.
13428 (calendar-basic-setup): Use calendar-split-width-threshold.
13430 2009-10-09 Juanma Barranquero <lekktu@gmail.com>
13432 * international/mule-cmds.el (ucs-names): Exclude new "Enclosed
13433 Ideographic Supplement" range (U+1F200..U+1F2FF).
13435 2009-10-09 Karl Fogel <kfogel@red-bean.com>
13437 * bookmark.el (bookmark-bmenu-rename): Don't call bookmark-bmenu-list,
13438 since the list will have been rebuilt anyway. (Bug#4349)
13440 2009-10-09 Karl Fogel <kfogel@red-bean.com>
13442 * bookmark.el (bookmark-delete): Don't let batch arg prevent saving.
13443 (bookmark-bmenu-execute-deletions): Don't save here, as
13444 bookmark-delete will now do so if necessary.
13445 Suggested by Thierry Volpiatto <thierry.volpiatto {_AT_} gmail.com>.
13448 2009-10-09 Glenn Morris <rgm@gnu.org>
13450 * mail/emacsbug.el (report-emacs-bug): Also print `features'.
13452 2009-10-09 Karl Fogel <kfogel@red-bean.com>
13454 * bookmark.el (bookmark-jump): Add new `display-func' parameter.
13455 (bookmark-jump-other-window): Just invoke bookmark-jump with new
13456 argument now, so the two function's behaviors will match. (Bug#3645)
13458 2009-10-08 Michael Albinus <michael.albinus@gmx.de>
13460 * net/tramp.el (tramp-file-name-real-user, tramp-file-name-domain)
13461 (tramp-file-name-real-host, tramp-file-name-port):
13462 Apply `save-match-data'.
13464 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Handle the
13465 case both directories are remote.
13466 (tramp-smb-handle-expand-file-name): Implement "~" expansion.
13467 (tramp-smb-maybe-open-connection): Flush the cache only if necessary.
13469 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
13471 * makefile.w32-in (WINS_UPDATES): Fix typo in previous change.
13473 2009-10-07 Glenn Morris <rgm@gnu.org>
13475 * emacs-lisp/autoload.el (batch-update-autoloads): Remove useless use
13478 2009-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
13480 * files-x.el (read-file-local-variable): Include some
13481 non-user-variables in the completion table (bug#4664).
13483 2009-10-07 Michael Albinus <michael.albinus@gmx.de>
13485 * net/tramp-cache.el (tramp-flush-connection-property): Add trace
13488 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
13489 (tramp-smb-file-name-handler-alist): Add handler for
13490 `copy-directory', `expand-file-name', `set-file-modes'.
13491 (tramp-smb-handle-copy-directory)
13492 (tramp-smb-handle-expand-file-name)
13493 (tramp-smb-handle-set-file-modes): New defuns.
13494 (tramp-smb-handle-copy-file): Handle KEEP-DATE.
13495 (tramp-smb-handle-file-attributes): Simplify check for retrieving
13497 (tramp-smb-handle-insert-directory): Don't flush the cache.
13498 (tramp-smb-maybe-open-connection): Check for samba client and
13501 2009-10-07 Eli Zaretskii <eliz@gnu.org>
13503 * emacs-lisp/autoload.el (batch-update-autoloads): Fix last change
13504 to not error out of search for "^lisp=" fails.
13506 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
13508 * makefile.w32-in (WINS_UPDATES): New macro.
13509 (custom-deps, finder-data, autoloads): Use it.
13511 2009-10-07 Glenn Morris <rgm@gnu.org>
13513 * Makefile.in (autoloads): Revert previous change.
13514 * emacs-lisp/autoload.el (batch-update-autoloads): Rather than having
13515 the list of preloaded files passed on the command-line, get
13516 it from src/Makefile.
13518 * calendar/calendar.el (calendar-basic-setup): In the wide frame case,
13519 show the original buffer rather than a random one.
13521 2009-10-07 Markus Rost <rost@math.uni-bielefeld.de>
13523 * help.el (describe-no-warranty): Place point in a slightly better
13524 position in the GPLv3 text.
13526 2009-10-06 Sam Steingold <sds@gnu.org>
13528 * net/tramp-compat.el (tramp-compat-process-running-p): Check that
13529 the comm attribute is present before calling regexp-quote.
13531 2009-10-06 Juanma Barranquero <lekktu@gmail.com>
13533 * play/animate.el (animate-string): For good effect, make sure
13534 `indent-tabs-mode' and `show-trailing-whitespace' are nil.
13536 * play/animate.el (animate-sequence, animate-birthday-present):
13537 * misc.el (butterfly): Don't set `indent-tabs-mode'.
13539 2009-10-06 Glenn Morris <rgm@gnu.org>
13541 * emacs-lisp/byte-run.el (define-obsolete-face-alias): Doc fix.
13543 * emacs-lisp/autoload.el (autoload-excludes): New variable.
13544 (autoload-generate-file-autoloads): Skip files in autoload-excludes.
13545 (batch-update-autoloads): Process a string value of autoload-excludes,
13546 set during the build process.
13547 * Makefile.in (autoloads): Skip preloaded files. (Bug#4446)
13549 * net/tramp.el (tramp-handle-start-file-process): Move tramp-error call
13550 inside with-parsed... macro so that `v' is defined.
13552 * progmodes/f90.el (f90-end-of-block, f90-beginning-of-block):
13553 * progmodes/fortran.el (fortran-end-of-block)
13554 (fortran-beginning-of-block):
13555 Also push mark in the macro case.
13557 * emerge.el (emerge-show-file-name):
13558 * calc/calc.el (calc-quit):
13559 * calc/calc-misc.el (calc-big-or-small):
13560 * calc/calc-graph.el (calc-graph-view):
13561 * calc/calc-ext.el (calc-reset):
13562 * calendar/calendar.el (calendar-basic-setup):
13563 Use window-full-height-p.
13565 * mail/rmailedit.el (rmail-cease-edit): If there is a Content-Type
13566 header we don't understand, don't insert another. (Bug#4624)
13567 If changing mime charset, insert the new one in the right place.
13569 2009-10-06 Matthew Junker <matthew.junker@sbcglobal.net> (tiny change)
13571 * calendar/cal-tex.el (cal-tex-cursor-month-landscape)
13572 (cal-tex-cursor-month): Correctly increment the end date for diary and
13573 holiday listing. (Bug#4626)
13575 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
13577 * help-fns.el (describe-function-1): Don't burp if the function is not
13580 2009-10-05 Juanma Barranquero <lekktu@gmail.com>
13582 * emacs-lisp/chart.el (chart-face-pixmap-list, chart-new-buffer, chart)
13583 (chart-axis-range, chart-axis-names, chart-sequece, chart-bar)
13584 (chart-draw, chart-axis-draw, chart-sort, chart-sort-matchlist)
13585 (chart-draw-line, chart-bar-quickie): Fix typos in docstrings.
13587 * emacs-lisp/eieio.el (generic-p, eieiomt-next, eieio-generic-form)
13588 (eieio-default-superclass): Reflow docstrings.
13589 (this, class-option-assoc, defclass, eieio-class-un-autoload)
13590 (eieio-unbind-method-implementations, defmethod)
13591 (eieio-validate-slot-value, eieio-validate-class-slot-value)
13592 (oref-default, eieio-oref-default, eieio-oset, eieio-oset-default)
13593 (with-slots, eieio-add-new-slot, object-assoc, object-remove-from-list)
13594 (eieio-slot-originating-class-p, eieio-slot-name-index)
13595 (eieio-pre-method-execution-hooks, eieio-initarg-to-attribute)
13596 (constructor, initialize-instance, no-next-method, object-print)
13597 (object-write, eieio-override-prin1, eieio-edebug-prin1-to-string):
13598 Fix typos in docstrings.
13599 (eieio-defclass, eieio-perform-slot-validation-for-default, defgeneric)
13600 (child-of-class-p, object-slots, slot-boundp, slot-exists-p)
13601 (next-method-p): Doc fixes.
13602 (eieio-add-new-slot, call-next-method, eieiomt-add, change-class):
13603 Fix typos in error messages.
13604 (eieio-defmethod): Fix typo in description of generic method.
13606 * emacs-lisp/eieio-base.el (eieio-instance-inheritor, slot-unbound)
13607 (eieio-persistent-save-interactive, slot-missing):
13608 Fix typos in docstrings.
13609 (eieio-instance-inheritor-slot-boundp): Doc fix.
13611 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod)
13612 (byte-compile-defmethod-param-convert): Fix typos in docstrings.
13614 * emacs-lisp/eieio-custom.el (eieio-done-customizing)
13615 (eieio-custom-object-apply-reset):
13616 Fix typos in docstrings and error messages.
13618 * emacs-lisp/eieio-datadebug.el (data-debug-show):
13619 Fix typo in docstring.
13621 * emacs-lisp/eieio-opt.el (top): Fix typo in error message.
13622 (eieio-browse-tree): Doc fix.
13623 (eieio-all-generic-functions, eieio-class-speedbar): Reflow docstrings.
13624 (eieio-help-mode-augmentation-maybee, eieio-class-speedbar-make-map):
13625 Fix typos in docstrings.
13627 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-file-button): Doc fix.
13628 (eieio-speedbar-key-map, eieio-speedbar-create-engine)
13629 (eieio-speedbar-buttons, eieio-speedbar, eieio-speedbar-object-children)
13630 (eieio-speedbar-make-tag-line, eieio-speedbar-object-expand):
13633 2009-10-05 Dan Nicolaescu <dann@ics.uci.edu>
13635 * vc-hg.el (log-view-vc-backend): Declare for compiler.
13636 (vc-hg-outgoing-mode, vc-hg-incoming-mode):
13637 Set log-view-vc-backend so that diff can work.
13639 * log-view.el (log-view-diff): Use vc-diff-internal instead of
13641 (vc-diff-internal): Autoload this instead of vc-version-diff.
13643 2009-10-05 Eli Zaretskii <eliz@gnu.org>
13645 * simple.el (eval-expression): Doc fix.
13647 * progmodes/cwarn.el (cwarn-mode): Doc fix.
13649 2009-10-05 Michael Albinus <michael.albinus@gmx.de>
13651 * files.el (directory-files-no-dot-files-regexp): New defconst.
13652 (delete-directory): Use it.
13653 (copy-directory): Use it. Remove parameter PRESERVE-UID-GID.
13655 * net/tramp.el (tramp-verbose): Fix docstring.
13656 (tramp-methods): Add recursive option to `tramp-copy-args'.
13657 Add `tramp-copy-recursive'. Valid for "rcp", "scp", "scp1", "scp2",
13658 "scp1_old", "scp2_old", "rsync", "rsyncc".
13659 (tramp-default-method): Check also for `auth-source-user-or-password'.
13660 (tramp-file-name-handler-alist, tramp-file-name-for-operation):
13661 Add handler for `copy-directory'.
13662 (tramp-handle-copy-directory): New defun.
13663 (tramp-do-copy-or-rename-file-out-of-band): Handle directory case.
13664 (tramp-handle-start-file-process): Raise an error when PROGRAM is nil.
13665 Optimize sent command.
13667 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
13669 * calendar/diary-lib.el (diary-show-all-entries): Re-fit the calendar
13670 window if necessary.
13672 * calendar/calendar.el (calendar-basic-setup): Don't call
13673 switch-to-buffer in a dedicated window.
13675 2009-10-05 Karl Fogel <kfogel@red-bean.com>
13677 * bookmark.el (bookmark-handle-bookmark): If bookmark has no file,
13678 don't do anything related to relocating, just return nil.
13679 (bookmark-error-no-filename): New error.
13680 (bookmark-default-handler): Signal `bookmark-error-no-filename' if
13681 bookmark has no file. Don't even attempt to handle things that
13682 are not files; the whole point of custom handlers is to keep that
13683 knowledge elsewhere anyway. Tighten some comments.
13684 (bookmark-file-or-variation-thereof): Remove now-unused function.
13685 (bookmark-location): Doc string fix.
13688 2009-10-04 Karl Fogel <kfogel@red-bean.com>
13690 * bookmark.el (bookmark-handle-bookmark): When relocating a bookmark,
13691 don't use a file dialog, because they usually don't know how to read
13692 a directory target from the user. (Bug#4230)
13693 Also, make sure the prompt can display directories as well as files.
13695 2009-10-04 Karl Fogel <kfogel@red-bean.com>
13697 * bookmark.el (bookmark-set, bookmark-buffer-name):
13698 Improve doc strings. (Bug#1193)
13700 2009-10-04 Karl Fogel <kfogel@red-bean.com>
13702 * bookmark.el (bookmark-get-bookmark, bookmark-get-bookmark-record)
13703 (bookmark-set-name, bookmark-prop-get, bookmark-prop-set)
13704 (bookmark-get-annotation, bookmark-set-annotation)
13705 (bookmark-get-filename, bookmark-set-filename, bookmark-get-position)
13706 (bookmark-set-position, bookmark-get-front-context-string)
13707 (bookmark-set-front-context-string, bookmark-get-rear-context-string)
13708 (bookmark-set-rear-context-string, bookmark-location, bookmark-jump)
13709 (bookmark-jump-other-window, bookmark-handle-bookmark)
13710 (bookmark-relocate, bookmark-insert-location, bookmark-rename)
13711 (bookmark-insert, bookmark-delete, bookmark-time-to-save-p)
13712 (bookmark-edit-annotation-mode, bookmark-edit-annotation):
13713 Improve doc strings to say whether bookmark can be a string or
13714 a record or both, and make other consistency and clarity fixes.
13715 (bookmark-get-handler, bookmark--jump-via, bookmark-write-file)
13716 (bookmark-default-annotation-text, bookmark-yank-word)
13717 (bookmark-maybe-load-default-file, bookmark-maybe-sort-alist)
13718 (bookmark-import-new-list, bookmark-maybe-rename)
13719 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
13720 (bookmark-bmenu-bookmark): Give these doc strings.
13721 (bookmark-bmenu-check-position): Give this a doc string, but also
13722 add a FIXME comment about how the function may be pointless.
13723 (bookmark-default-handler): Rework doc string and change a
13724 parameter name, to clarify that this takes a bookmark record
13725 not a bookmark name.
13726 (bookmark-set): Change a parameter name to indicate its meaning,
13727 and improve the doc string a bit.
13730 2009-10-04 Karl Fogel <kfogel@red-bean.com>
13732 * bookmark.el (bookmark-alist): Document the new `handler' element
13733 in the param alist.
13734 (bookmark-make-record-function): Adjust documentation for above.
13737 2009-10-04 Karl Fogel <kfogel@red-bean.com>
13739 * info.el (Info-bookmark-make-record): Document this function.
13740 (Info-bookmark-jump): Document with a doc string, not just a comment.
13743 2009-10-04 Michael Albinus <michael.albinus@gmx.de>
13745 * files.el (copy-directory): New defun.
13747 * dired-aux.el (dired-copy-file-recursive): Use it.
13749 2009-10-04 Juanma Barranquero <lekktu@gmail.com>
13751 * files-x.el (modify-dir-local-variable)
13752 (copy-dir-locals-to-file-locals-prop-line): Fix typos in
13755 * recentf.el (recentf-unload-function): New function.
13757 2009-10-04 Glenn Morris <rgm@gnu.org>
13759 * window.el (window-full-height-p): Add doc string.
13761 2009-10-04 Martin Rudalics <rudalics@gmx.at>
13763 * window.el (window-full-height-p): New function. (Bug#4543)
13765 2009-10-03 Dan Nicolaescu <dann@ics.uci.edu>
13767 * vc.el: Remove commented out code.
13768 (vc-derived-from-dir-mode): Remove, unused.
13769 (vc-version-diff, vc-diff): Consistently pass t to vc-deduce-fileset.
13771 2009-10-03 Michael Albinus <michael.albinus@gmx.de>
13773 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
13774 Disable `file-name-handler-alist' when loading 'ange-ftp. Otherwise,
13775 there could be recursive loading when `default-directory' is a
13776 remote file name. (Bug#4614)
13778 2009-10-03 Glenn Morris <rgm@gnu.org>
13780 * calendar/calendar.el (calendar-basic-setup): Handle the case where
13782 (calendar-generate-window): Test for shrinkability rather than width.
13784 * mail/rmail.el (rmail-generate-viewer-buffer): Be more careful about
13785 reusing existing buffers, in case we happen to visit two files with the
13786 same basename. (Bug#4593)
13788 2009-10-02 Eli Zaretskii <eliz@gnu.org>
13790 * makefile.w32-in (update-subdirs-CMD): Add cedet to $(WINS_SUBDIR).
13791 (WINS_CEDET_SUBDIRS): List of subdirectories of cedet.
13792 (bootstrap-clean-CMD, bootstrap-clean-SH): Remove *.elc files in
13793 subdirs of cedet as well.
13794 (AUTOGENEL): Add loaddefs.el files in cedet subdirectories.
13796 2009-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
13798 * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string):
13799 Obey advertised-signature-table.
13801 * help-fns.el (help-function-arglist): Don't check
13802 advertised-signature-table.
13803 (describe-function-1): Do it here instead so it also applies to subrs.
13805 2009-10-02 Michael Albinus <michael.albinus@gmx.de>
13807 * simple.el (start-file-process): Say in the doc-string, that file
13808 handlers might not support pty association, if PROGRAM is nil.
13810 * net/ange-ftp.el (ange-ftp-generate-passwd-key): Check, whether
13811 HOST and USER are strings. They are nil, when there are
13812 incomplete entries in ~/.netrc, for example.
13813 (ange-ftp-delete-directory): Implement RECURSIVE case. Change to
13814 root directory ("device busy" error otherwise).
13816 * net/tramp-smb.el (tramp-smb-handle-make-directory-internal):
13817 Flush file properties of created directory.
13819 2009-10-02 Eli Zaretskii <eliz@gnu.org>
13821 * makefile.w32-in (WINS_BASIC): Remove cedet.
13822 (WINS_CEDET): Add cedet.
13823 (update-subdirs-SH): Use $(WINS_SUBDIR), not $(WINS).
13825 2009-10-02 Kevin Ryde <user42@zip.com.au>
13827 * net/browse-url.el (browse-url): Pass any symbol in
13828 browse-url-browser-function to `apply', since if you've mistakenly put
13829 an unbound symbol then the error is clearer. (Bug#4531)
13831 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
13833 * allout.el (allout-init, allout-back-to-current-heading)
13834 (allout-beginning-of-current-entry, allout-ascend-to-depth)
13835 (allout-ascend, allout-up-current-level, allout-end-of-level)
13836 (allout-previous-visible-heading, allout-forward-current-level)
13837 (allout-backward-current-level, allout-show-children):
13838 * apropos.el (apropos-describe-plist):
13839 * bookmark.el (bookmark-maybe-historicize-string, bookmark-bmenu-list):
13840 * comint.el (comint-strip-ctrl-m, comint-goto-process-mark):
13841 * completion.el (add-completion, add-permanent-completion):
13842 * descr-text.el (describe-text-category, describe-char):
13843 * desktop.el (desktop-lazy-abort):
13844 * dired-x.el (dired-omit-expunge, dired-x-bind-find-file):
13845 * dired.el (dired-build-subdir-alist):
13846 * ediff.el (ediff-version):
13847 * elide-head.el (elide-head, elide-head-show):
13848 * emerge.el (emerge-version):
13850 * face-remap.el (variable-pitch-mode):
13851 * faces.el (describe-face):
13852 * ffap.el (ffap-next-url, find-file-at-point, ffap-at-mouse)
13854 * files.el (find-file-existing, auto-save-mode):
13855 * font-lock.el (font-lock-fontify-buffer):
13856 * help-fns.el (describe-function, describe-variable)
13857 (describe-syntax, describe-categories):
13858 * help.el (view-lossage, describe-bindings, describe-key)
13860 * hexl.el (hexl-current-address):
13861 * hi-lock.el (hi-lock-mode, hi-lock-find-patterns):
13862 * info.el (Info-goto-emacs-key-command-node):
13863 * log-edit.el (log-edit-insert-cvs-template)
13864 (log-edit-insert-cvs-rcstemplate):
13865 * menu-bar.el (menu-bar-mode):
13866 * mouse.el (mouse-appearance-menu):
13867 * newcomment.el (comment-indent-new-line):
13868 * pgg.el (pgg-save-coding-system, pgg-encrypt-region)
13869 (pgg-encrypt-symmetric-region, pgg-encrypt-symmetric)
13870 (pgg-encrypt, pgg-decrypt-region, pgg-decrypt)
13871 (pgg-sign-region, pgg-sign, pgg-verify-region, pgg-verify):
13872 * recentf.el (recentf-mode):
13873 * savehist.el (savehist-mode, savehist-save):
13874 * shadowfile.el (shadow-copy-files):
13875 * simple.el (kill-ring-save, next-line, previous-line)
13876 (normal-erase-is-backspace-mode):
13877 * strokes.el (strokes-update-window-configuration)
13878 (strokes-load-user-strokes, strokes-prompt-user-save-strokes)
13879 (strokes-xpm-for-stroke):
13880 * time.el (emacs-uptime, emacs-init-time):
13881 * tutorial.el (tutorial--describe-nonstandard-key)
13882 (tutorial--detailed-help):
13883 * type-break.el (type-break-mode)
13884 (type-break-mode-line-message-mode, type-break-query-mode)
13885 (type-break-guesstimate-keystroke-threshold):
13886 * vc.el (vc-version-diff, vc-diff, vc-root-diff):
13887 * version.el (emacs-version):
13888 * vt-control.el (vt-keypad-on, vt-keypad-off, vt-numlock):
13889 * winner.el (winner-mode):
13890 * calendar/timeclock.el (timeclock-in, timeclock-out)
13891 (timeclock-status-string, timeclock-change)
13892 (timeclock-workday-remaining-string)
13893 (timeclock-workday-elapsed-string)
13894 (timeclock-when-to-leave-string):
13895 * calendar/todo-mode.el (todo-add-category):
13896 * emacs-lisp/advice.el (ad-enable-regexp, ad-disable-regexp):
13897 * emacs-lisp/autoload.el (update-file-autoloads):
13898 * emacs-lisp/checkdoc.el (checkdoc-current-buffer)
13899 (checkdoc-start, checkdoc-continue, checkdoc-rogue-spaces)
13900 (checkdoc-message-text, checkdoc-defun):
13901 * emacs-lisp/debug.el (debugger-list-functions):
13902 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
13903 * emacs-lisp/eieio-opt.el (eieio-describe-class)
13904 (eieio-describe-generic):
13905 * emacs-lisp/lisp-mnt.el (lm-synopsis):
13906 * emacs-lisp/shadow.el (list-load-path-shadows):
13907 * emulation/cua-base.el (cua-mode):
13908 * emulation/edt.el (edt-set-scroll-margins):
13909 * emulation/tpu-edt.el (tpu-toggle-newline-and-indent)
13910 (tpu-toggle-regexp, tpu-toggle-search-direction)
13911 (tpu-toggle-rectangle, tpu-toggle-control-keys):
13912 * emulation/tpu-extras.el (tpu-set-scroll-margins):
13913 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
13914 (viper-set-parsing-style-toggling-macro)
13915 (viper-set-emacs-state-searchstyle-macros):
13916 * emulation/viper.el (viper-set-hooks):
13917 * eshell/esh-mode.el (eshell-truncate-buffer):
13918 * international/mule-cmds.el (prefer-coding-system)
13919 (describe-input-method, describe-language-environment):
13920 * international/mule-diag.el (list-character-sets)
13921 (describe-character-set, describe-coding-system)
13922 (describe-fontset, list-fontsets, list-input-methods):
13923 * mail/sendmail.el (mail-signature):
13924 * net/ange-ftp.el (ange-ftp-copy-file):
13925 * net/browse-url.el (browse-url):
13926 * net/eudc.el (eudc-set-server, eudc-get-attribute-list):
13927 * net/quickurl.el (quickurl-add-url):
13928 * net/rcirc.el (names, topic):
13929 * net/xesam.el (xesam-mode):
13930 * play/5x5.el (5x5-new-game):
13931 * play/yow.el (apropos-zippy):
13932 * progmodes/ada-mode.el (ada-mode-version):
13933 * progmodes/f90.el (f90-beginning-of-subprogram, f90-end-of-subprogram)
13935 (f90-beginning-of-block):
13936 * progmodes/fortran.el (fortran-end-of-block)
13937 (fortran-beginning-of-block):
13938 * progmodes/js.el (js-syntactic-context, js-gc, js-eval):
13939 * progmodes/python.el (python-describe-symbol, python-shell):
13940 * term/ns-win.el (ns-print-buffer):
13941 * textmodes/bibtex.el (bibtex-end-of-entry, bibtex-url):
13942 * textmodes/flyspell.el (flyspell-mode-on):
13943 * textmodes/page-ext.el (set-page-delimiter, pages-directory)
13944 (pages-directory-for-addresses):
13945 * textmodes/table.el (table-recognize-cell)
13946 (table-query-dimension, table-generate-source)
13947 (table-insert-sequence, table--warn-incompatibility):
13948 * textmodes/tex-mode.el (tex-validate-buffer):
13949 * textmodes/texinfmt.el (texinfmt-version)
13950 (texinfo-format-buffer):
13951 Use `called-interactively-p' instead of `interactive-p'.
13953 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
13955 * image-mode.el (image-toggle-display):
13956 * emacs-lisp/elp.el (elp-instrument-function):
13957 * emacs-lisp/advice.el (ad-make-advised-definition):
13958 * emacs-lisp/easy-mmode.el (define-minor-mode):
13959 * net/browse-url.el (browse-url-maybe-new-window):
13960 * progmodes/sh-script.el (sh-learn-buffer-indent):
13961 Pass new argument 'any to `called-interactively-p'.
13963 2009-10-01 Juanma Barranquero <lekktu@gmail.com>
13965 * international/uni-bidi.el:
13966 * international/uni-category.el:
13967 * international/uni-combining.el:
13968 * international/uni-comment.el:
13969 * international/uni-decimal.el:
13970 * international/uni-decomposition.el:
13971 * international/uni-digit.el:
13972 * international/uni-lowercase.el:
13973 * international/uni-mirrored.el:
13974 * international/uni-name.el:
13975 * international/uni-numeric.el:
13976 * international/uni-old-name.el:
13977 * international/uni-titlecase.el:
13978 * international/uni-uppercase.el:
13979 Regenerate from Unicode 5.2.0 data.
13981 2009-10-01 Glenn Morris <rgm@gnu.org>
13983 * Makefile.in (ELCFILES): Regenerate.
13985 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
13987 * subr.el (interactive-p): Mark obsolete.
13988 (called-interactively-p): Make the optional-ness of `kind' obsolete.
13989 * emacs-lisp/bytecomp.el (byte-compile-fdefinition): Make it obey
13990 advertised-signature-table for subroutines as well.
13992 * emacs-lisp/byte-run.el (advertised-signature-table): New var.
13993 (set-advertised-calling-convention): New function.
13994 (make-obsolete, define-obsolete-function-alias)
13995 (make-obsolete-variable, define-obsolete-variable-alias):
13996 Make the optional-ness of `when' obsolete.
13997 (define-obsolete-face-alias): Make `when' non-optional.
13998 * help-fns.el (help-function-arglist):
13999 * emacs-lisp/bytecomp.el (byte-compile-fdefinition):
14000 Use advertised-signature-table.
14002 2009-10-01 Michael Albinus <michael.albinus@gmx.de>
14004 * files.el (delete-directory): New defun. The original function
14005 in fileio.c has been renamed to `delete-directory-internal'.
14007 * dired.el (dired-delete-file): Call `delete-directory' with
14008 RECURSIVE parameter.
14010 * net/ange-ftp.el (ange-ftp-delete-directory): Add optional
14011 parameter RECURSIVE. Implementation is missing.
14013 * net/tramp.el (tramp-handle-make-directory): Flush upper
14014 directory's file properties.
14015 (tramp-handle-delete-directory): Handle optional parameter RECURSIVE.
14016 (tramp-handle-dired-recursive-delete-directory): Flush directory
14017 properties after the remove command only.
14019 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
14020 Handle optional parameter RECURSIVE.
14022 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
14023 Handle optional parameter RECURSIVE.
14025 * net/tramp-smb.el (tramp-smb-errors): Add error message for
14026 connection timeout.
14027 (tramp-smb-handle-delete-directory): Handle optional parameter
14030 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
14032 * emacs-lisp/bytecomp.el (byte-compile-defmacro-declaration): New fun.
14033 (byte-compile-file-form-defmumble, byte-compile-defmacro): Use it.
14034 (byte-compile-defmacro): Use backquotes.
14036 * files.el (cd-absolute): Don't abbreviate-file-name (bug#4599).
14038 * vc-dispatcher.el (vc-resynch-window): Don't revert a buffer which
14039 has no associated file.
14040 (vc-resynch-buffer): Use vc-dir-buffers.
14042 2009-10-01 Glenn Morris <rgm@gnu.org>
14044 * emacs-lisp/chart.el (chart-zap-chars, chart-bar-quickie)
14045 (chart-file-count):
14046 * emacs-lisp/eieio-comp.el (byte-compile-defmethod-param-convert):
14047 * emacs-lisp/eieio-datadebug.el (data-debug-insert-object-button):
14048 * emacs-lisp/eieio-opt.el (eieio-describe-class):
14049 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-create):
14050 * emacs-lisp/eieio.el (defclass, eieio-defclass-autoload)
14051 (eieio-copy-parents-into-subclass, make-instance, class-children)
14052 (eieio-generic-form):
14054 * vc-cvs.el (vc-cvs-parse-entry): Be more careful with the
14055 match-data. (Bug#4555).
14057 * emacs-lisp/check-declare.el (check-declare-scan): Read the declaration
14058 rather than parsing it as a regexp. This relaxes the layout
14059 requirements and makes errors easier to detect.
14060 (check-declare-verify): Check file is regular.
14061 (check-declare-directory): Doc fix.
14062 * subr.el (declare-function): Doc fix.
14064 * ibuffer.el (ibuffer-format-qualifier):
14065 * isearch.el (hi-lock-regexp-okay):
14066 * calc/calc.el (math-zerop):
14067 * mail/uce.el (rmail-msgbeg, rmail-msgend):
14068 * term/w32-win.el (setup-default-fontset, set-fontset-font):
14069 Remove unused declarations.
14071 2009-09-30 Eric Ludlam <zappo@gnu.org>
14073 * emacs-lisp/eieio.el (boolean-p): Delete.
14075 2009-09-30 Glenn Morris <rgm@gnu.org>
14077 * emacs-lisp/authors.el (authors-ignored-files): Add "js2-mode.el".
14079 * emacs-lisp/elint.el (elint-init-form): Report declarations where the
14080 filename is not a string.
14082 2009-09-29 Chong Yidong <cyd@stupidchicken.com>
14084 * files.el (safe-local-eval-forms): Fix typo.
14086 2009-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
14088 * vc-hooks.el (vc-dir-buffers): New var.
14089 (vc-state-refresh): New function.
14090 (vc-state): Use it.
14091 (vc-after-save): Always ask the backend to recompute the new state.
14092 Always call vc-dir if necessary, using vc-dir-buffers.
14093 * vc-dir.el (vc-dir-prepare-status-buffer, vc-dir-resynch-file):
14094 Use vc-dir-buffers.
14095 (vc-dir-mode): Use vc-dir-buffers rather than after-save-hook.
14096 (vc-dir-prepare-status-buffer, vc-dir-update)
14097 (vc-dir-resync-directory-files, vc-dir-resynch-file, vc-dir-mode):
14098 Don't call expand-file-name on default-directory.
14100 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
14102 * speedbar.el (speedbar-item-delete):
14103 * calc/calc-prog.el (calc-kbd-if):
14104 * language/hanja-util.el (hanja-init-load): Fix typos in messages.
14106 * epa.el (epa-key-list-mode-map):
14107 * hi-lock.el (hi-lock-menu): Fix typos in menus.
14109 * progmodes/hideshow.el (hs-allow-nesting): Reflow docstring.
14110 (hs-show-hook): Fix typo in docstring.
14112 2009-09-29 Glenn Morris <rgm@gnu.org>
14114 * emacs-lisp/check-declare.el (check-declare-locate): Remove pointless
14115 file-name-nondirectory call preventing location of cedet files.
14116 (check-declare-verify): Use literal search rather than re-search.
14117 Add basic defmethod and defclass, and define-overloadable-function.
14119 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
14120 Use tramp-compat-file-attributes rather than nonexistent
14121 tramp-compat-handle-file-attributes.
14123 * Makefile.in (lisptagsfiles4): New.
14124 (AUTOGENEL): Add cedet loaddefs files.
14125 (TAGS, TAGS-LISP): Use $lisptagsfiles4.
14126 (update-elclist, compile-always, backup-compiled-files)
14127 (bootstrap-clean): Add yet another directory level.
14128 (update-elclist): Use LC_COLLATE rather than COLLATE.
14129 (ELCFILES): Update, via `make update-elclist'.
14131 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
14133 * makefile.w32-in (WINS_CEDET, WINS_BASIC, WINS_SUBDIR): New macros.
14134 (WINS_ALMOST): Set from WINS_BASIC and WINS_CEDET.
14135 (update-subdirs-CMD): Use WINS_SUBDIR, not WINS_ALMOST.
14137 2009-09-28 Andreas Schwab <schwab@linux-m68k.org>
14139 * Makefile.in (lisptagsfiles3): Define.
14140 (TAGS, TAGS-LISP): Use it.
14141 (update-elclist): Add third directory level to look for elc files.
14142 (compile-always): Likewise.
14143 (backup-compiled-files): Likewise.
14144 (bootstrap-clean): Likewise.
14145 (ELCFILES): Update.
14147 2009-09-28 Chong Yidong <cyd@stupidchicken.com>
14149 * Makefile.in (ELCFILES): Add CEDET files.
14151 2009-09-28 Michael Albinus <michael.albinus@gmx.de>
14153 * Makefile.in (ELCFILES): Add net/tramp-imap.elc.
14155 * net/tramp.el (top): Require tramp-imap.
14157 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
14158 Use `tramp-compat-handle-file-attributes'.
14160 2009-09-28 Teodor Zlatanov <tzz@lifelogs.com>
14162 * net/tramp-imap.el: New package.
14164 2009-09-28 Eric Ludlam <zappo@gnu.org>
14166 * emacs-lisp/chart.el:
14167 * emacs-lisp/eieio-base.el:
14168 * emacs-lisp/eieio-comp.el:
14169 * emacs-lisp/eieio-custom.el:
14170 * emacs-lisp/eieio-datadebug.el:
14171 * emacs-lisp/eieio-opt.el:
14172 * emacs-lisp/eieio-speedbar.el:
14173 * emacs-lisp/eieio.el: New files.
14175 2009-09-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
14177 * whitespace.el (whitespace-trailing-regexp)
14178 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
14181 2009-09-27 Chong Yidong <cyd@stupidchicken.com>
14183 * menu-bar.el: Remove menu-bar-ediff-misc-menu from the Tools
14186 * ediff-hook.el: Move menu-bar-ediff-misc-menu into
14187 menu-bar-ediff-menu.
14189 * emacs-lisp/lisp-mode.el: Add doc-string-elt property to
14190 define-overloadable-function.
14192 * progmodes/autoconf.el: Provide autoconf as well, so that this
14193 file can be `require'd.
14195 * emacs-lisp/cl-macs.el (deftype): Add to cl-loaddefs.
14197 * emacs-lisp/autoload.el (generated-autoload-feature)
14198 (generated-autoload-load-name): New vars.
14199 (autoload-rubric, autoload-generate-file-autoloads): Use them.
14200 (make-autoload): Recognize define-overloadable-function and
14201 defclass forms (for EIEIO).
14203 * Makefile.in (update-subdirs): Exclude cedet directory.
14205 2009-09-27 Adrian Robert <Adrian.B.Robert@gmail.com>
14207 * term/ns-win.el: Don't set the region face background. (Bug#4381)
14209 * faces.el: Default light-background background for region face to
14210 ns_selection_color under NS.
14212 2009-09-27 Teodor Zlatanov <tzz@lifelogs.com>
14214 * net/imap-hash.el: New library, see NEWS.
14216 * Makefile.in (ELCFILES): Add imap-hash.el.
14218 2009-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
14220 * help.el (help-for-help-internal): Don't purecopy the text (bug#4560).
14221 * isearch.el (isearch-help-for-help-internal): Purecopy the second arg.
14222 * help-macro.el (make-help-screen): Avoid using an ambiguous function
14223 definition where the docstring could be taken for the return value.
14225 2009-09-26 Glenn Morris <rgm@gnu.org>
14227 * mail/rmailmm.el (rmail-mime-show-images, rmail-mime-bulk-handler):
14228 Add option to only show images below a certain size.
14229 (rmail-mime-multipart-handler): Remove unnecessary save-match-data and
14230 save-excursion calls.
14232 2009-09-26 Eli Zaretskii <eliz@gnu.org>
14234 * makefile.w32-in (WINS_ALMOST): Add cedet (with its
14235 subdirectories) and eieio.
14237 2009-09-26 Alan Mackenzie <acm@muc.de>
14239 * progmodes/cc-engine.el (c-beginning-of-statement-1): Correct
14240 buggy bracketing. (Bug#4289)
14242 * progmodes/cc-langs.el (c-nonlabel-token-key): Allow quoted
14243 character constants (as case labels). (Bug#4289)
14245 2009-09-25 Juri Linkov <juri@jurta.org>
14247 * files.el (safe-local-eval-forms): Allow time-stamp in
14248 before-save-hook (Bug#4554).
14250 2009-09-25 Drew Adams <drew.adams@oracle.com>
14252 * menu-bar.el (list-buffers-directory): Doc fix.
14254 2009-09-25 Stefan Monnier <monnier@iro.umontreal.ca>
14256 * log-edit.el (log-edit-changelog-entries): Avoid inf-loops.
14257 Try and avoid copying twice the same paragraph.
14258 (log-edit-changelog-paragraph, log-edit-changelog-subparagraph):
14259 Remove save-excursion.
14260 (log-edit-changelog-entry): Do it here instead.
14262 2009-09-25 Juanma Barranquero <lekktu@gmail.com>
14264 * bs.el (bs--get-file-name): Use `list-buffers-directory'
14265 when available, instead of hardcoding mode names. Doc fix.
14267 * menu-bar.el (list-buffers-directory): Add docstring.
14268 Make automatically buffer-local.
14270 * dired.el (dired-mode):
14271 * files.el (cd-absolute):
14272 * pcvs.el (cvs-temp-buffer):
14273 * pcvs-util.el (cvs-get-buffer-create):
14274 * shell.el (shell-mode):
14275 * vc-dir.el (vc-dir-mode):
14276 Don't make `list-buffers-directory' buffer local.
14278 2009-09-25 Devon Sean McCullough <emacs-hacker@Jovi.Net>
14280 * comint.el (comint-exec, comint-run, make-comint):
14281 Doc fixes (Bug#4542).
14283 2009-09-25 Glenn Morris <rgm@gnu.org>
14285 * mail/rmailmm.el (rmail-mime): New custom group.
14286 Move all defcustoms in this file into this group.
14287 (rmail-mime-media-type-handlers-alist): Revert previous change.
14288 (rmail-mime-show-images): New option.
14289 (rmail-mime-total-number-of-bulk-attachments): Remove variable and all
14290 references to it, since it wasn't actually used for anything.
14291 (rmail-mime-insert-image): New function.
14292 (rmail-mime-image): Use rmail-mime-insert-image.
14293 (rmail-mime-bulk-handler): Remove optional `image' argument, instead
14294 obey the value of `rmail-mime-show-images' option. Print the size of
14297 2009-09-25 David Engster <deng@randomsample.de>
14299 * progmodes/hideshow.el (hs-show-block): Run `hs-show-hook'. (Bug#4548)
14301 2009-09-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
14303 * whitespace.el: Does not highlight trailing spaces While point is
14304 at end of line. Does not highligt spaces at beginning of buffer
14305 while point is at beginning of buffer. Does not highlight spaces
14306 at end of buffer while point is at end of buffer. (Bug#4177)
14308 (whitespace-display-mappings): Adjust initialization.
14309 (whitespace-point, whitespace-font-lock-refontify): New vars.
14310 (whitespace-color-on, whitespace-color-off): Adjust code.
14311 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
14312 (whitespace-empty-at-eob-regexp, whitespace-space-regexp)
14313 (whitespace-tab-regexp, whitespace-post-command-hook): New funs.
14315 2009-09-24 Chong Yidong <cyd@stupidchicken.com>
14317 * nxml/nxml-mode.el: Alias xml-mode to nxml-mode.
14319 * textmodes/sgml-mode.el: Remove xml-mode alias.
14321 * files.el (auto-mode-alist, conf-mode-maybe)
14322 (magic-fallback-mode-alist): Revert 2009-09-18 and 2009-09-21 changes.
14324 2009-09-24 Alan Mackenzie <acm@muc.de>
14326 * progmodes/cc-cmds.el (c-scan-conditionals): A new function like
14327 c-forward-conditionals, but it doesn't move point and doesn't set
14329 (c-up-conditional, c-up-conditional-with-else, c-down-conditional)
14330 (c-down-conditional-with-else, c-backward-conditional)
14331 (c-forward-conditional): Refactor to use c-scan-conditionals.
14333 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
14335 * help-fns.el (help-downcase-arguments): New option, defaulting to nil.
14336 (help-default-arg-highlight): Remove.
14337 (help-highlight-arg): New function.
14338 (help-do-arg-highlight): Use it.
14339 Suggested by Drew Adams <drew.adams@oracle.com>. (Bug#4510, bug#4520)
14341 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
14343 * term.el (term-set-scroll-region, term-handle-ansi-escape):
14344 Undo last change, which didn't fix the problem and introduced others.
14346 2009-09-24 Nick Roberts <nickrob@snap.net.nz>
14348 * progmodes/gdb-mi.el: Don't require speedbar.
14349 (gdb-jsonify-buffer): Handle case where "=" is part of value string.
14351 2009-09-24 Glenn Morris <rgm@gnu.org>
14353 * calendar/diary-lib.el (diary-fancy-display): Always run the hook.
14355 * term/ns-win.el (ns-reg-to-script): Define for compiler.
14357 * mail/rmailmm.el (rmail-mime-multipart-handler): Accept the case where
14358 there is no newline after the final mime boundary. (Bug#4539)
14359 Move markers on insertion so that any buttons inserted don't end up in
14360 the next part of a multipart message.
14361 (rmail-mime-media-type-handlers-alist): Doc fix. Add image handler.
14362 (rmail-mime-bulk-handler): Optionally handle images.
14363 (rmail-mime-image): New button action.
14364 (rmail-mime-image-handler): New function.
14365 (rmail-mime-mode): New mode.
14366 (rmail-mime): Doc fix. Use rmail-mime-mode (for font-lock).
14368 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
14370 * minibuffer.el (minibuffer-force-complete): Cycle the list, rather
14371 than just dropping elements from it (bug#4504).
14373 * term.el (term-set-scroll-region): Don't move cursor any more.
14374 (term-handle-ansi-escape): Call term-goto here instead.
14375 Suggested by Ivan Kanis <apple@kanis.eu>.
14377 * term.el: Require CL.
14378 (term-ansi-reset): New function.
14379 (term-mode, term-emulate-terminal, term-handle-colors-array): Use it.
14380 (term-handle-colors-array): Simplify.
14382 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
14384 * allout.el (allout-overlay-interior-modification-handler)
14385 (allout-obtain-passphrase):
14386 * epa-file.el (epa-file-write-region):
14387 * ps-print.el (ps-begin-job):
14388 * vc-hooks.el (vc-toggle-read-only):
14389 * vc-rcs.el (vc-rcs-rollback):
14390 * vc-sccs.el (vc-sccs-rollback):
14391 * vc.el (vc-deduce-fileset, vc-next-action, vc-register-with)
14392 (vc-version-diff, vc-revert, vc-rollback):
14393 * wdired.el (wdired-check-kill-buffer):
14394 * emacs-lisp/authors.el (authors):
14395 * net/socks.el (socks-open-connection):
14396 * net/zeroconf.el (zeroconf-service-add-hook):
14397 * obsolete/vc-mcvs.el (vc-mcvs-register):
14398 * progmodes/gdb-mi.el (def-gdb-thread-buffer-gud-command)
14399 (gdb-select-frame):
14400 * progmodes/grep.el (lgrep, rgrep):
14401 * progmodes/idlw-help.el (idlwave-help-check-locations)
14402 (idlwave-help-html-link, idlwave-help-assistant-open-link):
14403 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
14404 * textmodes/reftex-toc.el (reftex-toc-promote-prepare)
14405 (reftex-toc-rename-label): Fix typos in error messages.
14407 * dired-aux.el (dired-do-shell-command): Reflow docstring.
14408 (dired-copy-how-to-fn): Doc fix.
14409 (dired-files-attributes, dired-read-shell-command):
14410 Fix typos in docstrings.
14412 * dired-x.el (dired-enable-local-variables, dired-filename-at-point)
14413 (dired-x-find-file-other-window): Reflow docstrings.
14414 (dired-omit-marker-char, dired-read-shell-command)
14415 (dired-x-submit-report): Fix typos in docstrings.
14417 * shell.el (shell-mode-hook):
14418 * view.el (View-scroll-line-forward):
14419 * progmodes/inf-lisp.el (inferior-lisp-mode-hook):
14420 Fix typos in docstrings.
14422 * net/dig.el (dig-invoke): Fix typo in docstring.
14423 (query-dig): Reflow docstring.
14425 * progmodes/idlwave.el (idlwave-create-user-catalog-file)
14426 (idlwave-quoted, idlwave-rinfo-max-source-lines): Doc fixes.
14427 (idlwave-abbrev-move, idlwave-auto-routine-info-updates)
14428 (idlwave-begin-block-reg, idlwave-begin-unit-reg)
14429 (idlwave-beginning-of-subprogram, idlwave-block-jump-out)
14430 (idlwave-block-match-regexp, idlwave-calculate-paren-indent)
14431 (idlwave-check-abbrev, idlwave-class-file-or-buffer)
14432 (idlwave-class-found-in, idlwave-complete, idlwave-complete-in-buffer)
14433 (idlwave-completion-map, idlwave-current-indent)
14434 (idlwave-custom-ampersand-surround, idlwave-customize)
14435 (idlwave-default-font-lock-items, idlwave-default-insert-timestamp)
14436 (idlwave-define-abbrev, idlwave-determine-class-special)
14437 (idlwave-do-action, idlwave-doc-header, idlwave-doc-modification)
14438 (idlwave-end-block-reg, idlwave-end-of-statement)
14439 (idlwave-end-of-statement0, idlwave-end-of-subprogram)
14440 (idlwave-end-unit-reg, idlwave-entry-find-keyword)
14441 (idlwave-explicit-class-listed, idlwave-file-header)
14442 (idlwave-fill-paragraph, idlwave-find-class-definition)
14443 (idlwave-fix-keywords, idlwave-hang-indent-regexp, idlwave-hard-tab)
14444 (idlwave-idlwave_routine_info-compiled, idlwave-in-comment)
14445 (idlwave-in-quote, idlwave-indent-action-table)
14446 (idlwave-indent-expand-table, idlwave-indent-line)
14447 (idlwave-indent-subprogram, idlwave-indent-to-open-paren)
14448 (idlwave-is-comment-line, idlwave-is-comment-or-empty-line)
14449 (idlwave-is-continuation-line, idlwave-is-pointer-dereference)
14450 (idlwave-kill-autoloaded-buffers, idlwave-lib-p, idlwave-look-at)
14451 (idlwave-make-tags, idlwave-mode, idlwave-mode-abbrev-table)
14452 (idlwave-mouse-active-rinfo, idlwave-newline, idlwave-no-change-comment)
14453 (idlwave-outlawed-buffers, idlwave-popup-select)
14454 (idlwave-previous-statement, idlwave-rescan-catalog-directories)
14455 (idlwave-routine-entry-compare, idlwave-routine-info.pro)
14456 (idlwave-scan-all-buffers-for-routine-info, idlwave-scan-class-info)
14457 (idlwave-shell-automatic-start, idlwave-shell-explicit-file-name)
14458 (idlwave-show-begin, idlwave-split-line, idlwave-split-link-target)
14459 (idlwave-statement-type, idlwave-struct-skip)
14460 (idlwave-substitute-link-target, idlwave-toggle-comment-region)
14461 (idlwave-update-current-buffer-info, idlwave-use-library-catalogs)
14462 (idlwave-what-module-find-class): Fix typos in docstrings.
14463 (idlwave-all-method-classes, idlwave-calc-hanging-indent)
14464 (idlwave-calculate-cont-indent, idlwave-expand-equal)
14465 (idlwave-find-module, idlwave-find-structure-definition)
14466 (idlwave-init-rinfo-when-idle-after, idlwave-insert-source-location)
14467 (idlwave-list-load-path-shadows, idlwave-next-statement)
14468 (idlwave-routine-entry-compare-twins, idlwave-routine-info)
14469 (idlwave-routines, idlwave-sintern-rinfo-list, idlwave-statement-match)
14470 (idlwave-template): Reflow docstrings.
14472 * progmodes/idlw-shell.el (idlwave-shell-syntax-error): Doc fix.
14473 (idlwave-shell-batch-command, idlwave-shell-bp-alist)
14474 (idlwave-shell-bp-get, idlwave-shell-bp-overlays)
14475 (idlwave-shell-bp-query, idlwave-shell-break-here, idlwave-shell-buffer)
14476 (idlwave-shell-display-line, idlwave-shell-display-wframe)
14477 (idlwave-shell-electric-debug-mode, idlwave-shell-examine-select)
14478 (idlwave-shell-file-name-chars, idlwave-shell-filter-bp)
14479 (idlwave-shell-goto-frame, idlwave-shell-halt-messages-re)
14480 (idlwave-shell-highlighting-and-faces, idlwave-shell-idl-wframe)
14481 (idlwave-shell-mode-hook, idlwave-shell-mode-line-info)
14482 (idlwave-shell-mode-map, idlwave-shell-module-source-filter)
14483 (idlwave-shell-mouse-help, idlwave-shell-mouse-print)
14484 (idlwave-shell-pc-frame, idlwave-shell-pending-commands)
14485 (idlwave-shell-print, idlwave-shell-quit, idlwave-shell-redisplay)
14486 (idlwave-shell-scan-for-state, idlwave-shell-send-command)
14487 (idlwave-shell-sentinel-hook, idlwave-shell-separate-examine-output)
14488 (idlwave-shell-shell-command, idlwave-shell-sources-alist)
14489 (idlwave-shell-sources-bp, idlwave-shell-sources-filter)
14490 (idlwave-shell-step, idlwave-shell-use-breakpoint-glyph)
14491 (idlwave-toolbar-add-everywhere, idlwave-toolbar-toggle):
14492 Fix typos in docstrings.
14493 (idlwave-shell-bp, idlwave-shell-clear-current-bp)
14494 (idlwave-shell-hide-output, idlwave-shell-mode)
14495 (idlwave-shell-run-region, idlwave-shell-set-bp-in-module):
14498 * textmodes/bibtex.el (bibtex-sort-entry-class): Fix group name.
14500 2009-09-24 Ivan Kanis <apple@kanis.eu>
14502 * term.el (term-bold-attribute): New var.
14503 (term-handle-colors-array): Use it.
14505 2009-09-23 Nick Roberts <nickrob@snap.net.nz>
14507 * progmodes/gdb-mi.el (gdb-version): New variable.
14508 (gdb-non-stop-handler): Set gdb-version.
14509 (gdb-gud-context-command, gdb-current-context-command, gdb-stopped):
14510 Condition "--thread" option on gdb-version.
14511 (gdb-invalidate-threads): Remove unused argument.
14513 2009-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
14515 * textmodes/flyspell.el (sgml-mode-flyspell-verify): Pass limit args
14516 to looking-back to avoid ridiculous slow down in large files (bug#4511).
14518 2009-09-23 Glenn Morris <rgm@gnu.org>
14520 * mail/rmail.el (rmail-reply): Don't try to add a References header when
14521 replying to mail without References or Message-Id. (Bug#4525)
14523 2009-09-23 Adrian Robert <Adrian.B.Robert@gmail.com>
14525 * term/ns-win.el (ns-reg-to-script): New variable.
14527 2009-09-23 Daiki Ueno <ueno@unixuser.org>
14529 * epg.el (epg-wait-for-status): Preserve existing 'error results.
14531 2009-09-22 Sam Steingold <sds@gnu.org>
14533 * vc-hg.el (vc-hg-print-log): Fix shortlog arg passing.
14534 (vc-hg-outgoing, vc-hg-incoming): Bump okstatus in `vc-hg-command'
14535 to 1 because hg returns status 1 when nothing is found.
14536 Bind `vc-short-log' for the sake of `vc-hg-log-view-mode'.
14538 2009-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
14540 * textmodes/fill.el: Convert to utf-8 encoding.
14541 (fill-french-nobreak-p): Remove redundant » and « inherited from our
14544 * add-log.el (change-log-fill-forward-paragraph): New function.
14545 (change-log-mode): Use it so fill-region DTRT.
14546 Set fill-indent-according-to-mode here rather than in
14547 change-log-fill-paragraph.
14548 (change-log-fill-paragraph): Remove.
14550 2009-09-22 Juanma Barranquero <lekktu@gmail.com>
14552 * info.el (Info-try-follow-nearest-node): Use the URL extracted by
14553 `Info-get-token', instead of `browse-url-url-at-point'. (Bug#4508)
14555 2009-09-22 Glenn Morris <rgm@gnu.org>
14557 * calendar/calendar.el (calendar-mode-map): Make mouse-1 and 3 clicks on
14558 the scroll-bar scroll the calendar window rather than the buffer.
14560 * calendar/cal-menu.el (cal-menu-scroll-menu): Add a sub-section with
14561 commands that move point (as opposed to scrolling).
14563 * emulation/tpu-edt.el (tpu-copy-keyfile): Fix condition-case handler.
14565 * emacs-lisp/elint.el (elint): New custom group.
14566 (elint-log-buffer): Make it a defcustom.
14567 (elint-scan-preloaded, elint-ignored-warnings)
14568 (elint-directory-skip-re): New options.
14569 (elint-builtin-variables): Doc fix.
14570 (elint-preloaded-env): New variable.
14571 (elint-unknown-builtin-args): Add an entry for encode-time.
14572 (elint-extra-errors): Make it a variable rather than a constant.
14573 (elint-preloaded-skip-re): New constant.
14574 (elint-directory): Skip files matching elint-directory-skip-re.
14575 (elint-features): New variable, local to linted buffers.
14576 (elint-update-env): Initialize elint-features. Possibly add
14577 elint-preloaded-env to the buffer's environment.
14578 (elint-get-top-forms): Bind elint-current-pos, for log messages.
14580 (elint-init-form): New function, extracted from elint-init-env.
14581 Make non-list forms a warning rather than an error.
14582 Add the mode-map for define-derived-mode. Handle define-minor-mode,
14583 easy-menu-define, put that adds an error-condition, and provide.
14584 When requiring cl, also require cl-macs. Really require cl, to handle
14585 some cl macros. Store required libraries in the list elint-features,
14586 so as not to re-load them. Treat cc-require like require.
14587 (elint-init-env): Call elint-init-form to do the work.
14588 Handle eval-and-compile and such like.
14589 (elint-add-required-env): Do not clear messages.
14590 (elint-special-forms): Add handlers for function, defalias, if, when,
14592 (elint-form): Add optional argument to ignore elint-special-forms,
14593 useful to prevent recursive calls from handlers. Doc fix.
14594 Respect elint-ignored-warnings.
14595 (elint-form): Respect elint-ignored-warnings.
14596 (elint-bound-variable, elint-bound-function): New variables.
14597 (elint-unbound-variable): Respect elint-bound-variable.
14598 (elint-get-args): Respect elint-bound-function.
14599 (elint-check-cond-form): Add some simple handling for (f)boundp and
14601 (elint-check-defalias-form): New handler.
14602 (elint-check-let-form): Make an empty let a warning rather than an
14604 (elint-check-setq-form): Make an empty setq a warning rather than an
14605 error. Respect elint-ignored-warnings.
14606 (elint-check-defvar-form): Accept null doc-strings.
14607 (elint-check-conditional-form): New handler. Does some simple-minded
14608 checking of featurep and (f)boundp tests.
14609 (elint-put-function-args): New function.
14610 (elint-initialize): Use elint-scan-doc-file rather than
14611 elint-find-builtin-variables. Use elint-put-function-args.
14612 Possibly scan preloaded-file-list.
14613 (elint-scan-doc-file): Rename from elint-find-builtin-variables and
14614 extend to handle functions as well.
14616 2009-09-22 Lennart Borgman <lennart.borgman@gmail.com>
14618 * linum.el (linum-delete-overlays, linum-update-window):
14619 Do not modify the right margin. (Bug#3971)
14621 2009-09-21 Chong Yidong <cyd@stupidchicken.com>
14623 * files.el (conf-mode-maybe, magic-fallback-mode-alist): Use
14624 nxml-mode instead of xml-mode.
14626 2009-09-21 Kevin Ryde <user42@zip.com.au>
14628 * net/dig.el: Add "Keywords: comm", as per net-utils.el. (Bug#4501)
14630 2009-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
14632 * net/dig.el (dig-mode): Use define-derived-mode.
14634 2009-09-20 Dan Nicolaescu <dann@ics.uci.edu>
14636 * vc-dispatcher.el (vc-do-command): Return the process object in
14637 the asynchronous case. Use when instead of if. Do not run
14638 vc-exec-after to display a message if not enabled. (Bug#4463)
14640 * vc-git.el (vc-git-dir-extra-headers): Add keymap and mouse-face
14641 properties to the stash strings.
14642 (vc-git-stash-list): Return a list of strings.
14643 (vc-git-stash-get-at-point, vc-git-stash-delete-at-point)
14644 (vc-git-stash-show-at-point): New functions.
14645 (vc-git-stash-map): New keymap.
14647 * register.el (ctl-x-r-map): Define the keys here instead of
14650 2009-09-20 Thierry Volpiatto <thierry.volpiatto@gmail.com> (tiny change)
14652 * bookmark.el (bookmark-write-file): Avoid calling `pp' with large
14653 list, to workaround performance problem (bug#4485).
14655 2009-09-20 Nick Roberts <nickrob@snap.net.nz>
14657 * progmodes/gud.el (gud-sentinel): Revert indavertant change.
14659 2009-09-20 Daiki Ueno <ueno@unixuser.org>
14661 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
14662 Document that this option is not recommended to use.
14664 2009-09-19 Glenn Morris <rgm@gnu.org>
14666 * calc/calc-graph.el (calc-graph-lookup): Avoid assignment to free
14669 * calc/calc-alg.el (var):
14670 * calc/calcalg2.el (var): Define for compiler.
14672 2009-09-19 Chong Yidong <cyd@stupidchicken.com>
14674 * emacs-lisp/advice.el (ad-get-argument, ad-set-argument):
14675 Doc fix (Bug#3932).
14677 * subr.el (baud-rate): Remove long-obsolete function (Bug#4372).
14679 * time-stamp.el (time-stamp-month-dd-yyyy)
14680 (time-stamp-dd/mm/yyyy, time-stamp-mon-dd-yyyy)
14681 (time-stamp-dd-mon-yy, time-stamp-yy/mm/dd)
14682 (time-stamp-yyyy/mm/dd, time-stamp-yyyy-mm-dd)
14683 (time-stamp-yymmdd, time-stamp-hh:mm:ss, time-stamp-hhmm):
14684 Remove functions that have been obsolete since 1995 (Bug#4436).
14686 * progmodes/sh-script.el (sh-learn-buffer-indent): Pop to the
14687 indent buffer only if called interactively (Bug#4452).
14689 2009-09-19 Juanma Barranquero <lekktu@gmail.com>
14690 Eli Zaretskii <eliz@gnu.org>
14692 This fixes bug#4197 (merged to bug#865, though not identical).
14693 * server.el (server-auth-dir): Add docstring note about FAT32.
14694 (server-ensure-safe-dir): Accept FAT32 directories as "safe",
14695 but warn against using them.
14697 2009-09-19 Nick Roberts <nickrob@snap.net.nz>
14699 * progmodes/gdb-mi.el (gdb-var-update-handler-1): Include case of
14700 older GDB where there is no has_more field.
14702 2009-09-19 Glenn Morris <rgm@gnu.org>
14704 * pgg-pgp.el (pgg-pgp-encrypt-region): Add missing mapconcat separator.
14706 2009-09-18 Chong Yidong <cyd@stupidchicken.com>
14708 * files.el (auto-mode-alist): Change default for XML files to nXML
14711 2009-09-18 Juanma Barranquero <lekktu@gmail.com>
14713 * server.el (server-ensure-safe-dir): Pass 'integer
14714 to `file-attributes', as suggested.
14716 2009-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
14718 * dired-aux.el (dired-query-alist): Remove spurious backslash.
14719 (dired-query): Use read-key.
14721 2009-09-18 Adrian Robert <Adrian.B.Robert@gmail.com>
14723 * cus-start.el (ns-use-qd-smoothing): Remove.
14725 2009-09-18 Glenn Morris <rgm@gnu.org>
14727 * allout.el (top-level): Remove unnecessary progn.
14729 * progmodes/js.el (js-end-of-defun): Remove malformed and unneeded let.
14731 * emacs-lisp/derived.el (define-derived-mode): Fix paren typo in
14732 definition of abbrev table.
14734 * speedbar.el (speedbar-track-mouse):
14735 * net/eudc-bob.el (eudc-bob-pipe-object-to-external-program):
14736 * net/eudc.el (eudc-expand-inline):
14737 * net/newst-backend.el (newsticker--cache-read-feed):
14738 * nxml/nxml-outln.el (nxml-end-of-heading): Fix typos in
14739 condition-case handlers.
14741 2009-09-18 Nick Roberts <nickrob@snap.net.nz>
14743 * progmodes/gdb-mi.el (gdb-frame-address): New variable.
14744 (gdb-var-list): Add an element for has_more field.
14745 (gdb-non-stop-handler): Enable pretty printing for STL containers.
14746 (gdb-var-create-handler, gdb-var-list-children-handler-1)
14747 (gdb-var-update-handler-1): Parse output of dynamic variable
14748 objects (STL containers).
14749 (gdb-var-delete-1): Pass var1 as an explicit second argument.
14750 (gdb-get-field): Delete alias. Use bindat-get-field directly.
14752 * progmodes/gud.el (gud-speedbar-item-info): Adjust for change to
14754 (gud-speedbar-buttons): Make node expandable if expression "has more"
14757 2009-09-17 Juanma Barranquero <lekktu@gmail.com>
14759 * startup.el (emacs-quick-startup): Remove variable and all uses.
14760 (command-line): Set `inhibit-x-resources' instead.
14761 (command-line-1): Use `inhibit-x-resources' instead.
14763 2009-09-17 Chong Yidong <cyd@stupidchicken.com>
14765 * subr.el: Fix last change to avoid using the `unless' macro,
14766 which breaks bootstrapping.
14768 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
14770 * subr.el (push, pop, dolist, dotimes, declare): Don't overwrite CL's
14771 extended definitions, in case we reload subr.el after having
14773 (eval-next-after-load): Mark as obsolete.
14775 2009-09-17 Juri Linkov <juri@jurta.org>
14777 * menu-bar.el (menu-bar-search-menu, menu-bar-edit-menu)
14778 (menu-bar-options-menu, menu-bar-showhide-fringe-menu)
14779 (menu-bar-showhide-menu, menu-bar-tools-menu)
14780 (menu-bar-describe-menu, menu-bar-help-menu)
14781 (minibuffer-local-completion-map, minibuffer-local-map):
14784 2009-09-17 Glenn Morris <rgm@gnu.org>
14786 * emacs-lisp/bytecomp.el (byte-compile-form): Always check the function
14787 arguments, whether or not it has a handler.
14789 * ansi-color.el (ansi-color-get-face-1): Fix typo in handler.
14791 * simple.el (hard-newline): Give it a doc-string.
14793 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
14794 (lisp-mode-syntax-table): Give them doc-strings.
14796 2009-09-17 Dan Nicolaescu <dann@ics.uci.edu>
14798 * menu-bar.el (menu-bar-file-menu, menu-bar-file-menu)
14799 (menu-bar-i-search-menu, menu-bar-edit-menu, menu-bar-custom-menu)
14800 (menu-bar-options-menu, menu-bar-showhide-menu)
14801 (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
14802 (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
14803 (menu-bar-options-menu, menu-bar-line-wrapping-menu)
14804 (menu-bar-options-menu, menu-bar-tools-menu)
14805 (menu-bar-describe-menu, menu-bar-search-documentation-menu)
14806 (menu-bar-help-menu):
14807 (menu-bar-make-mm-toggle, menu-bar-make-toggle): Purecopy the
14810 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu)
14811 (menu-bar-epatch-menu, menu-bar-ediff-misc-menu): Add purecopy
14812 calls for the menu names and :help.
14814 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
14816 * mouse.el (minor-mode-menu-from-indicator): Pay attention
14817 to :minor-mode-function (bug#4455).
14819 2009-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
14821 * startup.el (command-line): Initialize the window-system after
14822 processing the command-line.
14824 * textmodes/page.el (what-page): Make sure we don't inf-loop if
14825 page-delimiter matches the empty string.
14827 2009-09-16 Glenn Morris <rgm@gnu.org>
14829 * emacs-lisp/bytecomp.el (byte-compile-not-obsolete-vars): Rename from
14830 byte-compile-not-obsolete-var. It's a list now.
14831 (byte-compile-not-obsolete-funcs): New variable.
14832 (byte-compile-warn-obsolete): Don't warn about functions if they are in
14833 byte-compile-not-obsolete-funcs.
14834 (byte-compile-variable-ref, byte-compile-defvar): Update for
14835 byte-compile-not-obsolete-vars name-change and list nature.
14836 (byte-compile-maybe-guarded): Suppress warnings about obsolete functions
14837 and variables behind (f)boundp tests.
14838 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Set if bound.
14840 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
14842 * vc-git.el (vc-git-log-view-mode): Undo inadvertent change.
14844 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
14846 * Makefile.in (compile-onefile): Use byte-compile-refresh-preloaded.
14847 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded):
14850 2009-09-15 Stephen Eglen <stephen@gnu.org>
14852 * iswitchb.el (iswitchb-read-buffer): When selecting a match from
14853 the virtual-buffers, use the name of the buffer specified by
14854 find-file-noselect, as the match may be a symlink. (This was a
14855 problem if the target and the symlink had different names.)
14857 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
14859 * custom.el (custom-initialize-default, custom-initialize-set): CSE.
14861 * desktop.el (desktop-path): Check user-emacs-directory.
14863 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): New function.
14865 * loadup.el: Use after-load-functions to GC after loading each file.
14866 Remove the explicit GC calls that used to be sprinkled around.
14868 * subr.el (after-load-functions): New hook.
14869 (do-after-load-evaluation): Run it. Use string-match-p to detect
14870 `obsolete' packages, rather than painfully extracting the relevant
14873 2009-09-15 Glenn Morris <rgm@gnu.org>
14875 * apropos.el (apropos-documentation-check-doc-file): Avoid assignment to
14876 free variable `doc'.
14878 * dired.el (dired-mode-map): Add menu entry for async shell command.
14880 * help-fns.el (find-lisp-object-file-name): When looking for autoloaded
14881 variables, also consider the .elc files, since the .el files are
14882 normally gzipped (subsequent code locates the .el.gz from the .elc).
14884 * calc/calc-prog.el (arglist): Define for compiler.
14886 * calendar/diary-lib.el (diary-display-function): Change the default to
14888 (body): Define for compiler.
14890 * emacs-lisp/bytecomp.el (byte-compile-keep-pending)
14891 (byte-compile-file-form, byte-compile-lambda)
14892 (byte-compile-top-level-body, byte-compile-form)
14893 (byte-compile-variable-ref, byte-compile-setq)
14894 (byte-compile-setq-default, byte-compile-body)
14895 (byte-compile-body-do-effect, byte-compile-and, byte-compile-or)
14896 (batch-byte-compile): Give some more local variables with common names
14897 a "bytecomp-" prefix to avoid masking warnings about free variables.
14899 * startup.el (command-line-1): Give local variables with common names a
14900 distinguishing prefix, so as not to hide free variable warnings during
14903 * mail/rmailmm.el (rmail-mime-save): If file exists, don't try to be
14904 clever and add a suffix to make a unique name, just let the user decide
14905 whether or not to overwrite it. If the input is a directory, write the
14906 default filename to that directory. (Bug#4388)
14907 (rmail-mime-bulk-handler): Ensure the save button's 'directory property
14908 is a filename-as-a-directory.
14910 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
14912 * textmodes/page.el (what-page): Don't move to beginning of line.
14913 See <87tyz5ajte.fsf@x2.delysid.org> in emacs-devel.
14915 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
14917 * vc-git.el (vc-git-dir-extra-headers): Show the remote location.
14919 2009-09-14 Dan Nicolaescu <dann@ics.uci.edu>
14921 * bindings.el (mode-line-mode-menu): Add purecopy calls for :help.
14922 * help.el (help-for-help-internal): Add purecopy calls for text.
14924 * vc.el (top): print-log method now takes an optional SHORTLOG
14925 argument. Add a new method: root.
14926 (vc-root-diff, vc-print-root-log): New functions.
14927 (vc-log-short-style): New variable.
14928 (vc-print-log-internal): Add support for showing short logs.
14930 * vc-hooks.el (vc-prefix-map, vc-menu-map): Add bindings for
14931 vc-print-root-log and vc-print-root-diff.
14933 * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-print-log):
14934 * vc-git.el (vc-git-print-log, vc-git-log-view-mode):
14935 * vc-hg.el (vc-hg-print-log, vc-hg-log-view-mode): Add support for
14938 * vc-cvs.el (vc-cvs-print-log):
14939 * vc-mtn.el (vc-mtn-print-log):
14940 * vc-rcs.el (vc-rcs-print-log):
14941 * vc-sccs.el (vc-sccs-print-log):
14942 * vc-svn.el (vc-svn-print-log): Add an optional argument shortlog
14943 that is ignored for now.
14945 * vc-mtn.el (vc-mtn-annotate-command):
14946 * vc-svn.el (vc-svn-annotate-command): Run asynchronously.
14948 2009-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
14950 * simple.el: Add mapping for backspace/delete/clear/tab/escape/return
14951 to function-key-map, and give them ascii-character property.
14952 * term/x-win.el (x-alternatives-map):
14953 * term/ns-win.el (ns-alternatives-map):
14954 * term/internal.el (msdos-key-remapping-map):
14955 * w32-fns.el (x-alternatives-map): Remove redundant mappings.
14957 2009-09-14 Glenn Morris <rgm@gnu.org>
14959 * emacs-lisp/elint.el (elint-add-required-env): Revert to not using
14960 temp-buffers (2009-09-12).
14962 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
14964 * textmodes/ispell.el (ispell-command-loop): Improve last fix, using
14965 the new read-key function.
14967 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
14969 * term/x-win.el (x-menu-bar-open): Only call accelerate-menu if it
14970 is defined (Bug#4405).
14972 2009-09-13 Vincent Belaïche <vincent.belaiche@gmail.com>
14974 * recentf.el (recentf-cleanup): Use a hash table to find
14975 duplicates (Bug#4407).
14977 2009-09-13 Per Starbäck <per@starback.se> (tiny change)
14979 * textmodes/ispell.el (ispell-command-loop): Convert keys such as
14980 kp-0 to ascii equivalents (Bug#4325).
14982 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
14984 * progmodes/cperl-mode.el (cperl-init-faces): Revert last change.
14986 * eshell/em-hist.el:
14987 * eshell/em-dirs.el (eshell-complete-user-reference):
14988 Declare pcomplete functions and variables to avoid compiler warnings.
14990 2009-09-13 Leo <sdl.web@gmail.com> (tiny change)
14992 * eshell/em-script.el (eshell-login-script, eshell-rc-script):
14993 * eshell/em-dirs.el (eshell-last-dir-ring-file-name):
14994 * eshell/em-alias.el (eshell-aliases-file):
14995 * eshell/em-hist.el (eshell-history-file-name):
14996 Use expand-file-name instead of concat to make file names (Bug#4308).
14998 2009-09-13 Glenn Morris <rgm@gnu.org>
15000 * ediff-merg.el (ediff-do-merge):
15001 * filesets.el (filesets-run-cmd):
15002 * emulation/ws-mode.el (ws-show-markers, ws-move-block, ws-delete-block)
15003 (ws-find-marker-0, ws-find-marker-1, ws-find-marker-2, ws-find-marker-3)
15004 (ws-find-marker-4, ws-find-marker-5, ws-find-marker-6, ws-find-marker-7)
15005 (ws-find-marker-8, ws-find-marker-9, ws-goto-block-begin)
15006 (ws-goto-block-end, ws-goto-last-cursorposition, ws-copy-block):
15007 Replace empty `let's with `progn'.
15009 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
15011 * mail/sendmail.el (send-mail-function):
15012 * tooltip.el (tooltip-mode):
15013 * simple.el (transient-mark-mode):
15014 * rfn-eshadow.el (file-name-shadow-mode):
15015 * frame.el (blink-cursor-mode):
15016 * font-core.el (global-font-lock-mode):
15017 * files.el (temporary-file-directory)
15018 (small-temporary-file-directory, auto-save-file-name-transforms):
15019 * epa-hook.el (auto-encryption-mode):
15020 * composite.el (global-auto-composition-mode):
15021 Use custom-initialize-delay.
15022 * startup.el (command-line): Don't explicitly call
15023 custom-reevaluate-setting for all the above vars.
15024 * custom.el (custom-initialize-safe-set)
15025 (custom-initialize-safe-default): Delete.
15027 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
15029 * term/x-win.el (x-initialize-window-system):
15030 * term/w32-win.el (w32-initialize-window-system):
15031 * term/ns-win.el (ns-initialize-window-system): Don't call
15032 mouse-wheel-mode since it's enabled globally by default already.
15034 * mwheel.el (mouse-wheel-mode): Make sure the new defvar doesn't
15035 actually define the variable, but only silences the byte-compiler.
15036 (mouse-wheel-change-button): Check whether mouse-wheel-mode is bound
15037 before looking it up.
15038 (mouse-wheel-scroll-amount): Also reset the bindings if this value
15041 2009-09-12 Glenn Morris <rgm@gnu.org>
15043 * emacs-lisp/elint.el (elint-file): Make max-lisp-eval-depth at least
15045 (elint-add-required-env): Don't beep on error.
15046 (elint-forms): In case of error, return ENV unchanged.
15047 (elint-init-env): Skip non-list forms.
15048 (elint-log): Handle unknown file positions.
15050 2009-09-12 Daiki Ueno <ueno@unixuser.org>
15052 * epg.el (epg-make-context): Add autoload cookie.
15053 (epg-list-keys, epg-cancel, epg-start-decrypt, epg-decrypt-file)
15054 (epg-decrypt-string, epg-start-verify, epg-verify-file)
15055 (epg-verify-string, epg-start-sign, epg-sign-file)
15056 (epg-sign-string, epg-start-encrypt, epg-encrypt-file)
15057 (epg-encrypt-string, epg-start-export-keys)
15058 (epg-export-keys-to-file, epg-export-keys-to-string)
15059 (epg-start-import-keys, epg-import-keys-from-file)
15060 (epg-import-keys-from-string, epg-start-receive-keys)
15061 (epg-receive-keys, epg-import-keys-from-server)
15062 (epg-start-delete-keys, epg-delete-keys, epg-start-sign-keys)
15063 (epg-sign-keys, epg-start-generate-key)
15064 (epg-generate-key-from-file, epg-generate-key-from-string):
15065 Remove autoload cookie.
15067 2009-09-12 Eli Zaretskii <eliz@gnu.org>
15069 * dos-fns.el (dos-reevaluate-defcustoms): Comment out the
15070 reevaluation of trash-directory.
15072 * mwheel.el: Fix last change.
15073 (mouse-wheel-mode): New defvar.
15074 (mouse-wheel-mode): Remove autoload cookie.
15076 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
15078 * mwheel.el (mwheel-installed-bindings): New var.
15079 (mouse-wheel-mode): Use it, so as to make sure we really remove all
15080 the bindings we set last time. Use custom-initialize-delay.
15081 * loadup.el: Load mwheel after term/*-win.el.
15082 * startup.el (command-line): Don't reevaluate mouse-wheel-down-event
15083 and mouse-wheel-up-event now that their first evaluation is done
15084 sufficiently late to be correct.
15086 * startup.el (tutorial-directory): Make it a defcustom.
15087 Use custom-initialize-delay rather than eval-at-startup to set it.
15088 * image.el (image-load-path): Make it a defcustom.
15089 Use custom-initialize-delay rather than eval-at-startup to set it.
15090 * subr.el (eval-at-startup): Remove.
15091 * font-lock.el (lisp-font-lock-keywords-2): Remove eval-at-startup.
15093 * subr.el (do-after-load-evaluation): Warn the user after loading an
15096 2009-09-12 Glenn Morris <rgm@gnu.org>
15098 * proced.el (proced-mark-alt): Remove alias.
15099 (proced-mode-map): Remove proced-mark-alt.
15101 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries to
15102 Elint file and directory. Remove initialization entry.
15104 * emacs-lisp/elint.el (elint-file, elint-directory): New autoloaded
15106 (elint-current-buffer): Set mode-line-process.
15107 (elint-init-env): Handle define-derived-mode.
15108 Fix declare-function with unspecified arglist. Guard against odd
15109 defalias statements (eg iso-insert's 8859-1-map).
15110 (elint-add-required-env): Use a temp buffer.
15111 (elint-form): Just print the function/macro name, not the whole form.
15112 Return env unchanged if we fail to parse a macro.
15113 (elint-forms): Guard against parse errors.
15114 (elint-output): New function, to handle batch mode.
15115 (elint-log-message): Add optional argument. Use elint-output.
15116 (elint-set-mode-line): New function.
15118 2009-09-12 Andreas Politz <politza@fh-trier.de> (tiny change)
15120 * emacs-lisp/elp.el (elp-not-profilable): Add more
15121 functions (Bug#4233).
15123 2009-09-12 Chong Yidong <cyd@stupidchicken.com>
15125 * emulation/pc-select.el (scroll-down-mark, scroll-down-nomark)
15126 (scroll-up-mark, scroll-up-nomark): Doc fix (Bug#4190).
15128 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
15130 * progmodes/gdb-mi.el (gdb-var-list-children-regexp): Delete.
15131 (gdb-var-list-children): Use json parsing.
15133 2009-09-11 Daniel Colascione <dan.colascione@gmail.com>
15135 * progmodes/js.el (js--proper-indentation): Handle the case where
15136 char-before is null. Reported by Deniz Dogan.
15138 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
15140 * emacs-lisp/cl-macs.el (help-add-fundoc-usage): Declare.
15142 2009-09-11 Daiki Ueno <ueno@unixuser.org>
15144 * epg.el (epg-cipher-algorithm-alist): Add CAMELLIA.
15145 (epg-digest-algorithm-alist): Add SHA224.
15146 (epg-context-set-passphrase-callback)
15147 (epg-context-set-progress-callback): Add description about
15150 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
15152 * custom.el (custom-delayed-init-variables): New var.
15153 (custom-initialize-delay): New function.
15154 * startup.el (command-line): "Re"evaluate all vars in
15155 custom-delayed-init-variables. Don't reevaluate abbrev-file-name
15156 explicitly any more.
15157 * abbrev.el (abbrev-file-name): Use custom-initialize-delay
15158 to avoid creating a ~/.emacs.d at build-time (bug#4347).
15160 * proced.el (proced-mode-map): Prefer "m" for proced-mark (bug#4362).
15162 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
15164 * progmodes/gdb-mi.el (gdb-var-update-regexp): Delete.
15165 (gdb-var-update-handler): Use json parsing.
15167 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
15169 * vc-annotate.el (vc-annotate): Use the main file's coding-system to
15170 decode annotated text, regardless of language environment. (Bug#2741)
15172 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
15174 * Makefile.in (autoloads): Make rmail.el writable as well.
15176 2009-09-11 Glenn Morris <rgm@gnu.org>
15178 * dired-aux.el, dired-x.el: Put autoloads in dired.el rather than
15180 * dired.el: Regenerate with extracted autoloads.
15181 * Makefile.in (autoloads): Make dired.el writable.
15183 * ibuf-ext.el: Put autoloads in ibuffer.el rather than loaddefs.el.
15184 * ibuffer.el: Regenerate with extracted autoloads.
15185 * Makefile.in (autoloads): Make ibuffer.el writable.
15187 * paths.el (prune-directory-list, gnus-nntp-service, rmail-file-name):
15188 * version.el (emacs-copyright, emacs-major-version)
15189 (emacs-minor-version): Reformat doc-strings for make-docfile.
15191 * apropos.el (apropos-documentation-check-doc-file): Exclude unbound
15192 functions and variables, since they must be stuff specific to some other
15194 (apropos-print): Make mouse-click message less specific about button.
15196 * emacs-lisp/cl-macs.el (define-compiler-macro): Add a property
15197 that records where a macro was defined.
15198 * help-fns.el (describe-function-1): Mention if a function has a
15200 * help-mode.el (help-function-cmacro): New button.
15202 * locate.el (top-level): Always require dired.
15203 (locate-mode-map): Initialize inside the defvar.
15205 * net/ange-ftp.el (dired-compress-file): Declare.
15206 (ange-ftp-dired-compress-file): Add doc string.
15208 * term/ns-win.el (x-display-name, x-setup-function-keys):
15209 Unify doc-strings with X versions.
15211 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
15213 * emulation/crisp.el (crisp-mode-map): Move initialization
15215 (crisp-mode): Use define-minor-mode.
15217 * progmodes/xscheme.el (xscheme-evaluation-commands):
15218 Put a :advertised-binding property rather than using
15219 advertised-xscheme-send-previous-expression.
15220 (advertised-xscheme-send-previous-expression): Declare obsolete.
15221 * emulation/crisp.el (crisp-mode-map): Use `undo' rather than
15223 (crisp-mode): Add corresponding bindings to
15224 undo's :advertised-binding instead.
15225 * dired.el (dired-mode-map): Put a :advertised-binding property rather
15226 than using dired-advertised-find-file.
15227 (dired-advertised-find-file):
15228 * simple.el (advertised-undo):
15229 * wid-edit.el (advertised-widget-backward): Declare obsolete.
15230 (widget-keymap): Put a :advertised-binding property rather
15231 than using advertised-widget-backward.
15232 * bindings.el (ctl-x-map): Put a :advertised-binding property rather
15233 than using advertised-undo.
15234 * tutorial.el (tutorial--default-keys): Adjust accordingly.
15236 2009-09-10 Simon South <ssouth@slowcomputing.org>
15238 * progmodes/delphi.el (delphi-tab): Indent region when Transient
15239 Mark mode is enabled and region is active; otherwise indent or
15240 insert TAB as usual.
15241 (delphi-mode): Update description of TAB-key binding.
15243 2009-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
15245 * subr.el (define-key-rebound-commands): Mark obsolete.
15246 * startup.el (precompute-menubar-bindings): Remove.
15247 (normal-top-level): Remove obsolete code that tried to precompute
15249 * loadup.el (define-key-rebound-commands): Don't bother fiddling with
15250 define-key-rebound-commands and precompute-menubar-bindings.
15252 2009-09-10 Teodor Zlatanov <tzz@lifelogs.com>
15254 * net/imap.el (imap-interactive-login): Better messages.
15255 (imap-open): Fix bug with renamed buffer on reconnect.
15256 (imap-authenticate): Add buffer-local imap-last-authenticator variable
15257 for easier debugging and cleaner code. On successful (guessed based on
15258 server capabilities) secondary authentication, set imap-state
15260 (imap-last-authenticator): Define imap-last-authenticator as a variable
15263 2009-09-10 Glenn Morris <rgm@gnu.org>
15265 * pcvs.el (cvs-mode-find-file): Use forward-line rather than goto-line.
15267 * emacs-lisp/bytecomp.el (byte-compile-function-environment): Doc fix.
15268 (byte-compile-file-form-autoload): Don't warn about unknown functions
15269 where the autoload statement comes after the use.
15270 (with-no-warnings): Give it a byte-hunk-handler like than of progn, so
15271 that any handlers inside the body (eg require) are in turn respected.
15273 * emacs-lisp/byte-opt.el (degrees-to-radians): Mark as free from side
15276 * emacs-lisp/derived.el (define-derived-mode): Give the mode's map,
15277 and syntax and abbrev tables basic docs, if they don't have any.
15279 * emacs-lisp/easy-mmode.el (easy-mmode-defmap): Add doc-string.
15281 * international/mule-cmds.el (top-level): Require cl when compiling.
15282 (view-hello-file): Use default-value rather than
15283 default-enable-multibyte-characters.
15285 * progmodes/fortran.el: Move all safe and risky properties into the
15288 * mail/rmailedit.el, mail/rmailkwd.el, mail/rmailmm.el:
15289 * mail/rmailmsc.el, mail/rmailsort.el, mail/rmailsum.el:
15290 * mail/undigest.el:
15291 Put autoloads in rmail.el rather than loaddefs.el.
15292 * mail/rmail.el: Regenerate with extracted autoloads.
15294 * mail/rmailsum.el (rmail-user-mail-address-regexp): Move to rmail.el.
15295 * mail/rmail.el (rmail-user-mail-address-regexp): Move from rmailsum.el.
15297 2009-09-10 Nick Roberts <nickrob@snap.net.nz>
15299 Reported in thread for Bug#4375.
15300 * progmodes/gud.el (gud-tooltip-print-command): Use MI command
15301 "-data-evaluate-expression" instead of print.
15302 * progmodes/gdb-mi.el (gdb-tooltip-print-1): Ditto.
15303 (gdb-tooltip-print): Parse output from above MI command.
15304 (gdb): Revert 2009-08-11 change. User should detach inferior
15307 Remove the word "separate" from IO functions as inferior
15308 output is now never displayed in the GUD buffer.
15310 2009-09-10 Juanma Barranquero <lekktu@gmail.com>
15312 * startup.el (command-line-normalize-file-name): On Windows and
15313 MS-DOS, also convert C:\/ and C:\\ (two backslashes) into C:/.
15315 2009-09-10 Juri Linkov <juri@jurta.org>
15317 * isearch.el (isearch-text-char-description): Propertize escape
15318 character sequences with the `escape-glyph' face. (Bug#4344)
15320 * simple.el (shell-command): Set asynchronous process filter to
15321 `comint-output-filter'. (Bug#4343)
15323 * progmodes/grep.el (grep-template): Add "<X>" to docstring.
15324 (grep-files-aliases): Add "all". Move "el" and "ch" to the top of
15325 the list. Move "asm" to the bottom.
15326 (grep-find-ignored-directories): Add `choice' with nil value
15327 to empty the list easily.
15328 (grep-find-ignored-files): New option.
15329 (grep-files-history): Set to nil by default instead of '("ch" "el").
15330 (grep-compute-defaults): Add "<X>" to `grep-template'.
15331 (grep-read-files): Bind new local variables `default-alias' and
15332 `default-extension'. Use a list of default values for the file prompt.
15333 (lgrep): Add `--exclude=' command line options composed from
15334 `grep-find-ignored-files'.
15335 (rgrep): Add `-name' command line options composed from
15336 `grep-find-ignored-files'. (Bug#4301)
15338 2009-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
15340 * diff-mode.el (diff-hunk-kill): Fix the search of the next hunk
15343 2009-09-09 Katsumi Yamaoka <yamaoka@jpl.org>
15345 * calendar/time-date.el (autoload):
15346 Expand define-obsolete-function-alias into defalias and make-obsolete
15347 for old Emacsen that Gnus supports.
15348 (with-no-warnings): Define it for old Emacsen.
15349 (time-to-seconds): Don't use (featurep 'xemacs) to check if float-time
15351 (time-to-number-of-days): Don't use (featurep 'xemacs) to check if
15352 float-time is available; suppress compile warning for time-to-seconds.
15354 2009-09-09 Teodor Zlatanov <tzz@lifelogs.com>
15356 * net/imap.el (imap-message-map): Docstring fix.
15358 2009-09-09 Glenn Morris <rgm@gnu.org>
15360 * ffap.el (ffap-file-at-point): Handle absolute (non-remote) files with
15361 line numbers too. (Bug#4374)
15363 2009-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
15365 * smerge-mode.el (smerge-remove-props, smerge-refine):
15366 Use with-silent-modifications (bug#4342).
15368 * subr.el (with-silent-modifications): New macro.
15370 2009-09-07 Juanma Barranquero <lekktu@gmail.com>
15372 * files.el (top-level): Require `cl' when compiling.
15374 2009-09-07 Glenn Morris <rgm@gnu.org>
15376 * files.el (auto-mode-alist): Use delphi-mode for .dpr files.
15378 * proced.el (proced-mode-map): Bind "d" to proced-mark-alt.
15379 (proced-mark-alt): New alias, to control the advertised key. (Bug#4362)
15381 2009-09-06 Nick Roberts <nickrob@snap.net.nz>
15383 * vc-git.el (vc-git-annotate-command): Use separator to parse
15384 arguments correctly.
15386 2009-09-06 Eli Zaretskii <eliz@gnu.org>
15388 * proced.el (proced-mode): Doc fix.
15390 2009-09-06 Julian Scheid <julians37@gmail.com> (tiny change)
15392 * net/tramp.el (tramp-perl-file-attributes): Print "nil" when
15394 (tramp-do-file-attributes-with-ls): Check for file existence at
15396 (tramp-do-file-attributes-with-stat): Likewise.
15397 (tramp-convert-file-attributes): Return nil when attr is nil.
15399 2009-09-05 Glenn Morris <rgm@gnu.org>
15401 * calendar/diary-lib.el (diary-entry): Add help-echo and follow-link
15402 properties to this button.
15403 (diary-fancy-display): Don't extend the button to the final newline.
15404 (diary-fancy-display-mode): Continue to define "q" as a local key.
15406 * calendar/cal-china.el (holiday-chinese): Make it slightly more
15409 * font-lock.el (lisp-font-lock-keywords-2): Add letf.
15411 * emacs-lisp/bytecomp.el (emacs-lisp-file-regexp): Doc fix.
15412 (byte-compile-dest-file-function): New option.
15413 (byte-compile-dest-file): Doc fix.
15414 Obey byte-compile-dest-file-function.
15415 (byte-compile-cl-file-p): New function.
15416 (byte-compile-eval): Only suppress noruntime warnings about cl functions
15417 if the cl-functions warning is enabled. Use byte-compile-cl-file-p.
15418 (byte-compile-eval): Check for non-nil byte-compile-cl-functions rather
15419 than for file being previously loaded.
15420 (byte-compile-find-cl-functions): Use byte-compile-cl-file-p.
15421 (byte-compile-file-form-require): Handle the case where requiring a file
15422 indirectly causes CL to be loaded.
15424 2009-09-05 Karl Fogel <kfogel@red-bean.com>
15426 * files.el (find-alternate-file): Run `kill-buffer-hook' manually
15427 before killing the old buffer, since by the time `kill-buffer' is
15428 run so many buffer variables have been set to nil that it may not
15429 behave as expected. (Bug#4061)
15431 2009-09-05 Karl Fogel <kfogel@red-bean.com>
15433 * files.el (find-alternate-file): If the old buffer is modified
15434 and visiting a file, behave similarly to `kill-buffer' when
15435 killing it, thus reverting to the pre-1.878 behavior; see
15436 http://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00101.html
15437 for discussion. Also, consult `buffer-file-name' as a variable
15438 not as a function, for consistency with the rest of the code.
15440 2009-09-04 Michael Albinus <michael.albinus@gmx.de>
15442 * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
15443 also when adding a new directory.
15445 * net/tramp-compat.el (tramp-compat-line-beginning-position): New
15448 2009-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
15450 * files.el (locate-file-completion-table): Make it provide boundary
15451 information, so partial-completion works better.
15453 2009-09-04 Leo <sdl.web@gmail.com> (tiny change)
15455 * mail/footnote.el (Footnote-text-under-cursor):
15456 Check footnote-text-marker-alist before using it (bug#4324).
15458 2009-09-04 Glenn Morris <rgm@gnu.org>
15460 * play/5x5.el, play/decipher.el, play/gametree.el, play/handwrite.el:
15461 * play/hanoi.el, play/landmark.el, play/mpuz.el, play/pong.el:
15462 * play/solitaire.el, play/tetris.el:
15463 Remove leading * from defcustom and defface docs.
15465 * calendar/diary-lib.el (diary-fancy-display): Only switch modes if
15467 (diary-fancy-overriding-map): New variable.
15468 (diary-fancy-display-mode): Set minor-mode-overriding-map-alist.
15471 * vc-rcs.el (vc-rcs-annotate-command): Use forward-line rather than
15474 2009-09-03 Glenn Morris <rgm@gnu.org>
15476 * arc-mode.el (archive-mode):
15477 * dos-fns.el (set-default-process-coding-system):
15478 * man.el (Man-getpage-in-background):
15479 * menu-bar.el (menu-bar-describe-menu):
15480 * server.el (server-process-filter):
15481 * startup.el (command-line):
15482 * tar-mode.el (tar-header-block-tokenize, tar-extract):
15483 * w32-fns.el (set-default-process-coding-system):
15484 * x-dnd.el (x-dnd-handle-file-name):
15485 * international/mule-cmds.el (mule-menu-keymap)
15486 (set-default-coding-systems, language-info-alist, set-language-info)
15487 (set-language-environment, standard-display-european-internal)
15488 (set-locale-environment):
15489 * international/mule-diag.el (mule-diag):
15490 * mail/emacsbug.el (report-emacs-bug):
15491 * mail/rmail.el (rmail-mode):
15492 * mail/sendmail.el (mail-setup):
15493 Use default-value rather than default-enable-multibyte-characters.
15495 * progmodes/f90.el: Move all safe properties into the defcustoms.
15496 (f90-get-correct-indent, f90-indent-region, f90-abbrev-start): Use memq.
15498 * calendar/appt.el (appt-check):
15499 * calendar/diary-lib.el (diary-set-header, diary-live-p)
15500 (diary-check-diary-file, diary-list-entries)
15501 (diary-include-other-diary-files, diary-simple-display)
15502 (diary-fancy-display, diary-print-entries)
15503 (diary-mark-included-diary-files, diary-make-entry):
15504 Don't call substitute-in-file-name on diary-file.
15506 2009-09-03 Eduard Wiebe <usenet@pusto.de>
15507 Stefan Monnier <monnier@iro.umontreal.ca>
15509 * mail/footnote.el (footnote-prefix): Make it a defcustom.
15510 (footnote-mode-map): Move initialization into the declaration.
15511 (footnote-minor-mode-map): Define it rather than changing global-map.
15512 (footnote-mode): Use define-minor-mode.
15514 2009-09-02 Michael Albinus <michael.albinus@gmx.de>
15516 * net/tramp.el (tramp-handle-file-attributes-with-ls)
15517 (tramp-do-file-attributes-with-perl)
15518 (tramp-do-file-attributes-with-stat): Rename from
15519 `tramp-handle-file-attributes-with-*'.
15520 (tramp-handle-file-attributes): Use them.
15521 (tramp-do-directory-files-and-attributes-with-perl)
15522 (tramp-do-directory-files-and-attributes-with-stat): Rename from
15523 `tramp-handle-directory-files-and-attributes-with-*'.
15524 (tramp-handle-directory-files-and-attributes): Use them.
15525 (tramp-method-out-of-band-p): Additional parameter SIZE.
15526 (tramp-do-copy-or-rename-file, tramp-handle-file-local-copy)
15527 (tramp-handle-write-region): Use it.
15528 (tramp-handle-insert-directory): Use "?\ " for compatibility reasons.
15529 (tramp-handle-vc-registered): Check, whether the first run did
15530 return files to be tested.
15531 (tramp-advice-make-auto-save-file-name): Do not call directly
15532 `tramp-handle-make-auto-save-file-name', because this would bypass
15533 the locking mechanism.
15535 * net/tramp-compat.el (top): Autoload used functions from tramp.el.
15536 (file-remote-p, process-file, start-file-process, set-file-times)
15537 (tramp-compat-file-attributes): Compatibility functions shall not
15538 call directly `tramp-handle-*', because this would bypass the
15540 (tramp-compat-number-sequence): New defun.
15542 2009-09-02 Glenn Morris <rgm@gnu.org>
15544 * calendar/time-date.el (time-to-seconds): In Emacs, make it an obsolete
15545 alias for float-time.
15546 (time-to-number-of-days): In Emacs, use float-time.
15547 * net/newst-backend.el (time-add): Suppress warnings from compat
15549 * time.el (emacs-uptime, emacs-init-time):
15550 * net/rcirc.el (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE):
15551 Use float-time rather than time-to-seconds.
15553 * minibuffer.el (completion-initials-expand): Fix typo.
15555 * faces.el (modeline, modeline-inactive, modeline-highlight)
15556 (modeline-buffer-id):
15557 * info.el (info-menu-5): Mark these face aliases as obsolete.
15559 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
15561 * progmodes/gdb-mi.el (gdb-current-context-command): Move the
15563 (gdb-gud-context-call): ... to here for pre GDB 7.0 when there is
15564 no "--thread" option.
15565 (gdb-stopped): Don't print "Switched to thread" message when it is
15568 2009-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
15570 * minibuffer.el (completion-try-completion)
15571 (completion-all-completions): Remove ill-defined (and
15572 mistakenly installed and luckily never used nor documented)
15573 `completion-styles' property.
15574 (completion-initials-expand, completion-initials-all-completions)
15575 (completion-initials-try-completion): New functions.
15576 (completion-styles-alist): Add doc to each entry.
15577 Add new `initials' entry.
15579 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
15581 * progmodes/gdb-mi.el (gdb-var-create-handler): Remove redundant
15582 MI command -var-evaluate-expression.
15583 (gdb-var-list-children-regexp): Update from regexp-1 in gdb-ui.el
15584 and tweak for case of string child.
15585 (gdb-var-list-children-handler): Update from handler-1 in gdb-ui.el.
15587 2009-09-01 Glenn Morris <rgm@gnu.org>
15589 * add-log.el (change-log-date-face, change-log-name-face)
15590 (change-log-email-face, change-log-file-face, change-log-list-face)
15591 (change-log-conditionals-face, change-log-function-face)
15592 (change-log-acknowledgement-face):
15593 * cus-edit.el (custom-invalid-face, custom-rogue-face)
15594 (custom-modified-face, custom-set-face, custom-changed-face)
15595 (custom-saved-face, custom-button-face, custom-button-pressed-face)
15596 (custom-documentation-face, custom-state-face, custom-comment-face)
15597 (custom-comment-tag-face, custom-variable-tag-face)
15598 (custom-variable-button-face, custom-face-tag-face)
15599 (custom-group-tag-face-1, custom-group-tag-face):
15600 * diff-mode.el (diff-header-face, diff-file-header-face)
15601 (diff-index-face, diff-hunk-header-face, diff-removed-face)
15602 (diff-added-face, diff-changed-face, diff-function-face)
15603 (diff-context-face, diff-nonexistent-face):
15604 * generic-x.el (show-tabs-tab-face, show-tabs-space-face):
15605 * hilit-chg.el (highlight-changes-face, highlight-changes-delete-face):
15606 * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face)
15607 (Info-title-4-face):
15608 * isearch.el (isearch-lazy-highlight-face):
15609 * log-view.el (log-view-file-face, log-view-message-face):
15610 * paren.el (show-paren-match-face, show-paren-mismatch-face):
15611 * pcvs-info.el (cvs-header-face, cvs-filename-face, cvs-unknown-face)
15612 (cvs-handled-face, cvs-need-action-face, cvs-marked-face)
15614 * smerge-mode.el (smerge-mine-face, smerge-other-face)
15615 (smerge-base-face, smerge-markers-face):
15616 * wid-edit.el (widget-documentation-face, widget-button-face)
15617 (widget-field-face, widget-single-line-field-face)
15618 (widget-inactive-face, widget-button-pressed-face):
15619 * woman.el (woman-italic-face, woman-bold-face, woman-unknown-face)
15620 (woman-addition-face):
15621 * eshell/em-ls.el (eshell-ls-directory-face, eshell-ls-symlink-face)
15622 (eshell-ls-executable-face, eshell-ls-readonly-face)
15623 (eshell-ls-unreadable-face, eshell-ls-special-face)
15624 (eshell-ls-missing-face, eshell-ls-archive-face)
15625 (eshell-ls-backup-face, eshell-ls-product-face)
15626 (eshell-ls-clutter-face):
15627 * eshell/em-prompt.el (eshell-prompt-face):
15628 * eshell/esh-test.el (eshell-test-ok-face, eshell-test-failed-face):
15629 * obsolete/old-whitespace.el (whitespace-highlight-face):
15630 * progmodes/antlr-mode.el (antlr-font-lock-default-face)
15631 (antlr-font-lock-keyword-face, antlr-font-lock-syntax-face)
15632 (antlr-font-lock-ruledef-face, antlr-font-lock-tokendef-face)
15633 (antlr-font-lock-ruleref-face, antlr-font-lock-tokenref-face)
15634 (antlr-font-lock-literal-face):
15635 * progmodes/ebrowse.el (ebrowse-tree-mark-face)
15636 (ebrowse-root-class-face, ebrowse-file-name-face)
15637 (ebrowse-default-face, ebrowse-member-attribute-face)
15638 (ebrowse-member-class-face, ebrowse-progress-face):
15639 * progmodes/make-mode.el (makefile-space-face):
15640 * progmodes/sh-script.el (sh-heredoc-face):
15641 * textmodes/flyspell.el (flyspell-incorrect-face)
15642 (flyspell-duplicate-face):
15643 * textmodes/tex-mode.el (tex-math-face, tex-verbatim-face):
15644 * textmodes/texinfo.el (texinfo-heading-face):
15645 Mark face aliases with "-face" suffix as obsolete.
15647 * mail/feedmail.el (file-name-buffer-file-type-alist): Define for
15650 * net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-image-menu)
15651 (eudc-bob-sound-menu): Use defvar rather than defconst, since
15652 easy-menu-define wants to modify these.
15654 * net/net-utils.el (nslookup): Use make-comint rather than comint-run.
15656 * net/browse-url.el (browse-url-file-url):
15657 * term/internal.el (dos-codepage-setup):
15658 Use default-value rather than default-enable-multibyte-characters.
15660 * progmodes/etags.el (etags-goto-tag-location):
15661 * progmodes/flymake.el (flymake-highlight-line)
15662 (flymake-goto-file-and-line, flymake-goto-line):
15663 * progmodes/gdb-mi.el (gdb-mouse-until, gdb-mouse-jump)
15664 (gdb-goto-breakpoint):
15665 * progmodes/idlw-shell.el (idlwave-shell-move-to-bp):
15666 * progmodes/python.el (python-find-function)
15667 (python-pdbtrack-track-stack-file):
15668 * progmodes/verilog-mode.el (verilog-surelint-off):
15669 * term/ns-win.el (ns-open-file-select-line):
15670 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
15671 Use forward-line rather than goto-line.
15673 * textmodes/reftex-cite.el (reftex-offer-bib-menu):
15674 * textmodes/reftex-index.el (reftex-display-index):
15675 * textmodes/reftex-ref.el (reftex-offer-label-menu):
15676 * textmodes/reftex-toc.el (reftex-toc):
15677 Remove unnecessary bindings of default-major-mode (all are followed by
15678 major-mode check and possible mode switch).
15680 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
15682 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
15683 Handle watchpoints (bug#4282).
15684 (def-gdb-thread-buffer-command): Enable thread to be selected by
15685 clicking without selecting threads buffer first.
15686 (gdb-current-context-command): Use selected frame so that "up",
15687 "down" etc work in the GUD buffer.
15688 (gdb-update): Find selected frame before rendering stack buffer.
15689 (gdb-frame-handler): Set gdb-frame-number for stack buffer.
15691 2009-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
15693 * progmodes/sym-comp.el (displayed-completions): Remove.
15694 (symbol-complete): Use minibuffer-complete.
15696 2009-08-31 Glenn Morris <rgm@gnu.org>
15698 * emacs-lisp/byte-run.el (define-obsolete-face-alias): New macro.
15700 * apropos.el (apropos-symbols-internal):
15701 Handle (obsolete) face aliases.
15703 * faces.el (describe-face): Adjust the output format to be more like
15704 describe-variable, and to mention (obsolete) face aliases.
15705 Adjust the whitespace so that help-setup-xref works.
15707 * calendar/calendar.el (calendar-today-face, diary-face, holiday-face):
15708 * calendar/diary-lib.el (diary-button-face):
15709 Mark these face aliases as obsolete.
15711 * calendar/calendar.el (calendar-today): Doc fix.
15713 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
15715 * progmodes/gdb-mi.el (gdb-control-all-threads)
15716 (gdb-control-current-thread): Force tool bar update.
15717 (gdb-non-stop-handler): New function.
15718 (gdb-init-1): Use it to test if non-stop mode is supported.
15719 Remove unused gdbmi buffer type.
15721 2009-08-30 Kevin Rodgers <kevin.d.rodgers@gmail.com>
15723 * progmodes/grep.el (grep-read-files): Strip trailing <N> from
15724 buffer names not visiting a file (e.g. cloned buffers). (Bug#4210)
15726 2009-08-30 Nick Roberts <nickrob@snap.net.nz>
15728 * comint.el (comint-exec-1): Check command is non-null first.
15729 Part of gdb-mi.el change (2009-08-28).
15731 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
15733 * emacs-lisp/lisp.el (lisp-complete-symbol): Use minibuffer-complete.
15735 2009-08-30 Juanma Barranquero <lekktu@gmail.com>
15737 * subr.el (do-after-load-evaluation): Fix last change: use `mapc'
15738 instead of `dolist' to avoid a recursive require when bootstrapping.
15740 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
15742 * emacs-lisp/lisp.el (field-complete): Use minibuffer-complete.
15744 * net/ldap.el (ldap-search-internal): Use with-current-buffer and push.
15746 * net/imap.el (imap-send-command): Simplify.
15747 (imap-wait-for-tag): point-max -> buffer-size.
15749 * net/ange-ftp.el (internal-ange-ftp-mode): Use define-derived-mode.
15751 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't use symbol-value
15752 with constant argument.
15754 * emacs-lisp/debug.el (debugger-setup-buffer): Make it multibyte.
15756 * emacs-lisp/cl.el (cl-macro-environment): Don't define it here.
15758 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag):
15759 Change default, since most of our files don't have a history.
15760 (checkdoc-display-status-buffer): Don't use a hidden buffer to show to
15763 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
15766 * calc/calc.el: Improve commenting convention.
15767 (calc-digit-map, toplevel): Simplify.
15769 * comint.el (comint-insert-input): Be careful to only set point if we
15770 don't delegate to some other command.
15772 * proced.el (proced-signal-list): Make it an alist.
15773 (proced-grammar-alist): Capitalize names.
15774 (proced-send-signal): Use a non-hidden buffer (since it's displayed).
15775 Disable undo manually and make it read-only.
15776 Use completion-annotate-function.
15778 * minibuffer.el (minibuffer-message): If the current buffer is not
15779 a minibuffer, insert the message in the echo area rather than at the
15781 (completion-annotate-function): New variable.
15782 (minibuffer-completion-help): Use it.
15783 (completion--embedded-envvar-table): Environment vars are
15784 always case-sensitive.
15786 2009-08-30 Glenn Morris <rgm@gnu.org>
15788 * progmodes/fortran.el (fortran-start-prog-re): New constant, extracted
15789 from fortran-current-defun.
15790 (fortran-beginning-of-subprogram): Be more precise about finding the
15791 start, to avoid an infinite loop in end-of-defun. (Bug#4259)
15792 (fortran-end-of-subprogram): Simplify.
15793 (fortran-current-defun): Use fortran-start-prog-re.
15795 2009-08-29 Juanma Barranquero <lekktu@gmail.com>
15797 * subr.el (do-after-load-evaluation): Simplify.
15799 2009-08-29 Dan Nicolaescu <dann@ics.uci.edu>
15801 * vc.el (vc-print-log-internal): Move RCS/CVS specific code ...
15803 * vc-rcs.el (vc-rcs-print-log-cleanup): ... here. New function.
15804 (vc-rcs-print-log): Use it.
15806 * vc-cvs.el (vc-cvs-print-log): Use vc-rcs-print-log-cleanup.
15808 2009-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
15810 * paths.el (abbrev-file-name): Move to abbrev.el.
15811 * abbrev.el (abbrev-file-name): Move from paths.el.
15812 Obey user-emacs-directory.
15813 * calc/calc.el (calc-settings-file): Don't autoload and instead obey
15814 user-emacs-directory.
15815 * dos-fns.el (dos-reevaluate-defcustoms): Don't reevaluate
15816 abbrev-file-name and calc-settings-file any more.
15817 * startup.el (command-line): Recompute abbrev-file-name and
15818 abbreviated-home-dir.
15819 (normal-no-mouse-startup-screen): Improve the generic code and get rid
15820 of the special code for when C-h bindings haven't been changed.
15821 (display-startup-echo-area-message): Use with-current-buffer.
15822 (command-line-1): Use a list of strings, rather than a list of lists
15823 of strings for longopts.
15825 * files.el (get-free-disk-space): Use / for default-directory.
15827 * textmodes/ispell.el (ispell-accept-output, ispell-command-loop):
15828 Use with-current-buffer.
15830 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p):
15831 Recognize immutable variables like most-positive-fixnum.
15832 (byte-compile-setq-default): Check and warn if trying to assign
15833 to an immutable variable, or a non-variable.
15835 * progmodes/cc-vars.el (c-comment-continuation-stars):
15836 * progmodes/cc-engine.el (c-looking-at-bos):
15837 * progmodes/cc-cmds.el (c-toggle-auto-state)
15838 (c-forward-into-nomenclature, c-backward-into-nomenclature)
15839 (c-comment-line-break-function): Add version of obsolescence.
15841 2009-08-28 Juri Linkov <juri@jurta.org>
15843 * files.el (magic-fallback-mode-alist): Add ZIP magic number
15844 associated with `archive-mode'.
15846 * image.el (image-type-header-regexps): Use only JPEG magic number
15847 to determine JPEG images, and don't use `image-jpeg-p' because
15848 Emacs can display non-JFIF non-Exif JPEG images.
15850 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
15852 * arc-mode.el (archive-mode):
15853 * emacs-lisp/re-builder.el (re-builder-unload-function):
15854 Protect against the default value of `major-mode' being nil.
15856 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
15858 * international/ucs-normalize.el (ucs-normalize-sort, quick-check-list):
15859 Fix typos in docstrings.
15861 * progmodes/js.el (js--macro-decl-re): Doc fix.
15862 (js--plain-method-re, js--split-name): Refloc docstring.
15863 (js--class-styles, js--make-merged-item, js--splice-into-items):
15864 Fix typos in docstrings; reflow docstrings.
15865 (js--maybe-join, js--function-prologue-beginning, js--flush-caches)
15866 (js--variable-decl-matcher, js--inside-pitem-p)
15867 (js--parse-state-at-point, js--get-all-known-symbols)
15868 (js--symbol-history, js-find-symbol, js--js-references)
15869 (js--moz-interactor, js--js-encode-value, js--read-tab):
15870 Fix typos in docstrings.
15872 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
15874 * textmodes/reftex.el (reftex-get-file-buffer-force):
15875 * progmodes/verilog-mode.el (verilog-batch-execute-func):
15876 * emulation/viper.el (viper-go-away, viper-set-hooks):
15877 * emacs-lisp/re-builder.el (re-builder-unload-function):
15878 * emacs-lisp/bytecomp.el (byte-compile-file):
15879 * ses.el (ses-unload-function):
15880 * hexl.el (hexl-find-file):
15881 * files.el (normal-mode):
15882 * ehelp.el (with-electric-help):
15883 * autoinsert.el (auto-insert-alist):
15884 * arc-mode.el (archive-mode):
15885 Use (default-value 'major-mode) instead of default-major-mode.
15887 * textmodes/ispell.el (ispell-check-version, ispell-send-string):
15888 * international/mule.el (load-with-code-conversion):
15889 * emacs-lisp/debug.el (debug):
15890 * ediff-vers.el (ediff-rcs-get-output-buffer):
15891 * dired.el (dired-internal-noselect): Don't let-bind
15892 default-major-mode around code that doesn't use it.
15893 E.g. buffer creation via get-buffer-create doesn't use it.
15895 2009-08-28 Michael Albinus <michael.albinus@gmx.de>
15897 * net/tramp.el (all): Replace "'(lambda" by "(lambda".
15898 (tramp-handle-file-local-copy): Unset `file-name-handler-alist'
15899 when writing the temp file. Otherwise, epa-file gets confused.
15900 (tramp-register-file-name-handlers): Make it a defun. Move also
15901 `epa-file-handler' to the front of `file-name-handler-alist'.
15903 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
15905 * net/tramp.el (tramp-shell-prompt-pattern): Allow a prompt to
15906 start right after a ^M.
15907 (tramp-root-regexp, tramp-completion-file-name-regexp-unified)
15908 (tramp-completion-file-name-regexp-separate)
15909 (tramp-completion-file-name-regexp-url): Use \\` and \\'.
15910 (tramp-handle-file-attributes, tramp-set-file-uid-gid):
15911 Don't modify last-coding-system-used by accident.
15912 (tramp-completion-file-name-handler): Apply the checks here,
15913 instead during registration.
15914 (tramp-register-file-name-handlers): Renamed from
15915 `tramp-register-file-name-handler'. Register both
15916 `tramp-file-name-handler' and `tramp-completion-file-name-handler'.
15917 (tramp-register-completion-file-name-handler): Remove. (Bug#4260)
15919 2009-08-28 Nick Roberts <nickrob@snap.net.nz>
15921 * progmodes/gdb-mi.el (gdb-use-separate-io-buffer):
15922 Remove variable ...
15923 (gdb-init-1, gdb-display-separate-io-buffer)
15924 (gdb-frame-separate-io-buffer, gdb-setup-windows): ... and
15926 (gdb-inferior-io-mode): Use make-comint-in-buffer.
15927 (gdb-inferior-filter): Use comint-output-filter to stop
15928 echoing and remove ^M characters.
15930 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
15932 * emulation/viper-init.el (viper-restore-cursor-type):
15933 * emulation/cua-base.el (cua--update-indications):
15934 Replace default-cursor-type with (default-value 'cursor-type).
15936 * mail/sendmail.el (mail-recover-1):
15937 * international/mule-diag.el (describe-current-coding-system-briefly)
15938 (describe-current-coding-system):
15939 * international/mule-cmds.el (select-safe-coding-system)
15940 (select-message-coding-system)
15941 (set-language-environment-coding-systems, set-locale-environment):
15942 * hexl.el (hexl-insert-multibyte-char):
15943 * dos-w32.el (find-buffer-file-type-coding-system):
15944 * simple.el (what-cursor-position):
15945 Replace uses of default-buffer-file-coding-system
15946 with (default-value 'buffer-file-coding-system).
15948 * emacs-lisp/edebug.el (edebug-display, edebug-outside-excursion):
15949 Replace uses of default-cursor-in-non-selected-windows
15950 with (default-value 'cursor-in-non-selected-windows).
15951 Use with-current-buffer.
15953 * mail/feedmail.el: Use CL macros.
15954 (feedmail-run-the-queue, feedmail-send-it-immediately):
15955 * dos-w32.el (find-buffer-file-type): Replace uses of
15956 default-buffer-file-type with (default-value 'buffer-file-type).
15958 2009-08-28 Glenn Morris <rgm@gnu.org>
15960 * calendar/diary-lib.el (diary-list-entries, diary-goto-entry)
15961 (diary-show-all-entries, diary-mark-entries, diary-make-entry):
15962 Use default-value of major-mode rather than default-major-mode.
15964 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
15966 * Makefile.in (update-elcfiles): Report left over elc files.
15968 * mail/mailalias.el (build-mail-aliases): Use with-temp-buffer,
15969 expand-file-name and with-current-buffer.
15970 (mail-get-names, mail-directory): Use with-current-buffer.
15972 * vc.el (vc-read-revision): New function.
15973 (vc-version-diff, vc-merge): Use it.
15975 2009-08-27 Sam Steingold <sds@gnu.org>
15977 * simple.el (kill-do-not-save-duplicates): New user option.
15978 (kill-new): When it is non-nil, and the new string is the same as
15979 the latest kill, set replace to t to avoid duplicates in kill-ring.
15981 2009-08-27 Julian Scheid <julians37@gmail.com> (tiny change)
15983 * net/tramp.el (tramp-handle-process-file): Do not flush all
15984 caches when `process-file-side-effects' is set.
15985 (tramp-handle-vc-registered): Use `tramp-get-file-exists-command'
15986 instead of `tramp-find-file-exists-command'.
15987 Unset `process-file-side-effects'.
15989 2009-08-27 Michael Albinus <michael.albinus@gmx.de>
15991 * net/tramp.el (tramp-methods): New method "rsyncc".
15992 (top): Add completion function for "rsyncc".
15993 (tramp-message-show-message): New defvar.
15994 (tramp-message, tramp-error): Use it.
15995 (tramp-do-copy-or-rename-file-directly): Extend check for direct
15997 (tramp-do-copy-or-rename-file-out-of-band): Handle new
15998 `tramp-methods' entry `copy-env' of "rsyncc".
15999 (tramp-vc-registered-read-file-names): New defconst.
16000 (tramp-vc-registered-file-names): New defvar.
16001 (tramp-handle-vc-registered): Implement optimization strategy.
16002 (tramp-run-real-handler): Add `tramp-vc-file-name-handler'.
16003 (tramp-vc-file-name-handler): New defun.
16004 (tramp-get-ls-command, tramp-get-test-command)
16005 (tramp-get-file-exists-command, tramp-get-remote-ln)
16006 (tramp-get-remote-perl, tramp-get-remote-stat)
16007 (tramp-get-remote-id): Remove superfluous `with-current-buffer'.
16009 * net/tramp-cache.el (top): Autoload `tramp-time-less-p'.
16010 (tramp-cache-inhibit-cache): Extend doc string. It allows also
16012 (tramp-get-file-property): Check for timestamps in
16013 `tramp-cache-inhibit-cache'.
16014 (tramp-set-file-property): Write timestamp.
16016 2009-08-27 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
16018 * language/japan-util.el (japanese-symbol-table): Add entries for
16021 * international/characters.el: Add category `j' to cp932-2-byte.
16023 2009-08-27 Kenichi Handa <handa@m17n.org>
16025 * international/fontset.el (build-default-fontset-data): New macro.
16026 (setup-default-fontset): Use build-default-fontset-data for CJK,
16027 tibetan, ethiopic, and ipa.
16029 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
16031 * cus-start.el (default-major-mode): Customize `major-mode' instead.
16032 (enable-multibyte-characters): Not customizable any more.
16034 * subr.el (default-mode-line-format, default-header-line-format)
16035 (default-line-spacing, default-abbrev-mode, default-ctl-arrow)
16036 (default-direction-reversed, default-truncate-lines)
16037 (default-left-margin, default-tab-width, default-case-fold-search)
16038 (default-left-margin-width, default-right-margin-width)
16039 (default-left-fringe-width, default-right-fringe-width)
16040 (default-fringes-outside-margins, default-scroll-bar-width)
16041 (default-vertical-scroll-bar, default-indicate-empty-lines)
16042 (default-indicate-buffer-boundaries, default-fringe-indicator-alist)
16043 (default-fringe-cursor-alist, default-scroll-up-aggressively)
16044 (default-scroll-down-aggressively, default-fill-column)
16045 (default-cursor-type, default-buffer-file-type)
16046 (default-cursor-in-non-selected-windows)
16047 (default-buffer-file-coding-system, default-major-mode)
16048 (default-enable-multibyte-characters): Mark as obsolete.
16050 2009-08-27 Dan Nicolaescu <dann@ics.uci.edu>
16052 * vc-dir.el (vc-dir-update): Remove debug helper.
16054 * vc-cvs.el (vc-cvs-update-changelog): Fix typo.
16056 2009-08-26 Sam Steingold <sds@gnu.org>
16058 * simple.el (save-interprogram-paste-before-kill): New user option.
16059 (kill-new): When `save-interprogram-paste-before-kill' is non-nil,
16060 save the interprogram-paste into kill-ring before overriding it
16061 with the Emacs kill.
16063 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
16065 * vc.el (vc-trunk-p): Rename to vc-rcs-trunk-p and move to vc-rcs.el.
16066 (vc-minor-part): Rename to vc-rcs-minor-part and move to vc-rcs.el.
16067 (vc-default-previous-revision): Rename to vc-rcs-previous-revision
16068 and move to vc-rcs.el.
16069 (vc-default-next-revision): Rename to vc-rcs-next-revision and
16071 (vc-cvs-update-changelog): Move to vc-cvs.el, use vc-call-backend.
16072 (vc-rcs-update-changelog): Remove.
16073 (vc-update-changelog-rcs2log): Rename to vc-rcs-update-changelog
16074 and move to vc-rcs.el.
16076 * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-checkin)
16077 (vc-rcs-checkout, vc-rcs-rollback): Adjust for the vc-rcs-trunk-p
16079 (vc-rcs-trunk-p, vc-rcs-minor-part, vc-rcs-previous-revision)
16080 (vc-rcs-next-revision, vc-rcs-update-changelog): Move here from
16081 vc.el, renamed to be RCS specific.
16083 * vc-cvs.el (vc-cvs-previous-revision, vc-cvs-next-revision):
16085 (vc-cvs-update-changelog): Move here from vc.el.
16087 * vc-sccs.el (vc-sccs-previous-revision, vc-sccs-next-revision):
16090 2009-08-26 Stefan Monnier <monnier@iro.umontreal.ca>
16092 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix up last change.
16094 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
16096 * vc-git.el (vc-git-register): Use "git add" for directories.
16097 (vc-git-stash, vc-git-stash-show): New functions.
16098 (vc-git-extra-menu-map): Bind them.
16100 * vc-dir.el (vc-dir-node-directory, vc-dir-update): Get the parent
16101 directory correctly in case the item is a directory itself.
16103 * vc.el: Document the desired behavior for reverted files in the
16105 (vc-default-prettify-state-info): Remove function, unused.
16107 * vc-bzr.el (vc-bzr-prettify-state-info): Remove function, unused.
16109 2009-08-26 Glenn Morris <rgm@gnu.org>
16111 * bindings.el (standard-mode-line-format): Reposition dashes in
16112 which-func entry. (Bug#4217)
16114 * files.el (enable-local-variables, enable-local-eval)
16115 (safe-local-variable-values, safe-local-eval-forms): Mark as risky in
16117 (auto-mode-alist, ignored-local-variables)
16118 (save-some-buffers-action-alist): Move risky declarations to the
16120 (dabbrev-case-fold-search, dabbrev-case-replace, display-time-string)
16121 (font-lock-defaults, format-alist, imenu--index-alist)
16122 (imenu-generic-expression, input-method-alist, minor-mode-alist)
16123 (mode-line-buffer-identification, mode-line-client, mode-line-modes)
16124 (mode-line-modified, mode-line-mule-info, mode-line-position)
16125 (mode-line-process, mode-line-remote, outline-level)
16126 (parse-time-rules, rmail-output-file-alist)
16127 (special-display-buffer-names, vc-mode):
16128 Move risky declarations to the relevant files.
16129 * bindings.el (mode-line-client, mode-line-mule-info, mode-line-remote)
16130 (mode-line-modified, mode-line-process, mode-line-position)
16131 (mode-line-modes, mode-line-buffer-identification, minor-mode-alist)
16132 * font-core.el (font-lock-defaults):
16133 * format.el (format-alist):
16134 * vc-hooks.el (vc-mode):
16135 * window.el (special-display-buffer-names):
16136 * international/mule-cmds.el (input-method-alist):
16137 Define riskiness here (dumped file) rather than in files.el.
16138 * dabbrev.el (dabbrev-case-fold-search, dabbrev-case-replace):
16139 * imenu.el (imenu-generic-expression, imenu--index-alist):
16140 * outline.el (outline-level):
16141 * time.el (display-time-string):
16142 * calendar/parse-time.el (parse-time-rules):
16143 * mail/rmailout.el (rmail-output-file-alist):
16144 Autoload riskiness here, rather than placing in files.el.
16146 2009-08-26 Andreas Schwab <schwab@linux-m68k.org>
16148 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Signal overflow.
16150 2009-08-25 Michael Albinus <michael.albinus@gmx.de>
16152 * simple.el (process-file-side-effects): New defvar.
16154 * dired-aux.el (dired-show-file-type):
16155 * vc.el (vc-diff-internal):
16156 * vc-arch.el (vc-arch-diff):
16157 * vc-bzr.el (vc-bzr-sha1, vc-bzr-revision-completion-table):
16158 * vc-cvs.el (vc-cvs-state, vc-cvs-diff, vc-cvs-revision-table):
16159 * vc-git.el (vc-git-registered, vc-git-working-revision)
16160 (vc-git-find-revision, vc-git-diff, vc-git-revision-table)
16161 (vc-git--empty-db-p):
16162 * vc-hooks.el (vc-user-login-name):
16163 * vc-svn.el (vc-svn-registered, vc-svn-state)
16164 (vc-svn-dir-extra-headers, vc-svn-find-revision):
16165 * progmodes/grep.el (grep-probe): Let-bind
16166 `process-file-side-effects' with nil.
16168 * net/dbus.el (dbus-ping): Add optional parameter TIMEOUT.
16170 * net/tramp-gvfs.el (top): Use timeout of 100 msec pinging GVFS
16171 daemon. Replace ping by checking for running service for bluez
16172 and zeroconf. (Bug#4239)
16174 2009-08-25 Kevin Ryde <user42@zip.com.au>
16176 * net/dig.el (dig): Add autoload cookie.
16178 2009-08-25 Glenn Morris <rgm@gnu.org>
16180 * emacs-lisp/bytecomp.el (byte-compile-eval): Fix test for cl in
16181 load-history for absolute file-names.
16182 (byte-compile-file-form-require): Warn about use of the cl package.
16184 * format.el (format-alist): Doc fix.
16186 * play/bubbles.el (top-level): Don't require cl at run-time.
16188 * progmodes/verilog-mode.el (top-level): Don't require lucid (and hence
16191 2009-08-24 Dmitry Dzhus <dima@sphinx.net.ru>
16193 * progmodes/gdb-mi.el (gdb-mapcar*): Replacement for `mapcar*'
16195 (gdb-table-add-row, gdb-table-string): Use `gdb-mapcar*'.
16197 2009-08-24 Jay Belanger <jay.p.belanger@gmail.com>
16199 * calc/calc-alg.el (math-trig-rewrite)
16200 (math-hyperbolic-trig-rewrite): New functions.
16201 (calc-simplify): Simplify trig functions when asked.
16203 2009-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
16205 * diff-mode.el (diff-find-source-location): Avoid goto-line.
16207 2009-08-24 Kenichi Handa <handa@m17n.org>
16209 * language/ind-util.el (mapthread): Delete it.
16210 (combinatorial): New function.
16211 (indian--puthash-cv): Use combinatorial instead of mapthread.
16213 2009-08-22 Kevin Ryde <user42@zip.com.au>
16215 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag)
16216 (checkdoc-arguments-in-order-flag): Add safe-local-variable booleanp.
16217 (checkdoc-symbol-words): Add safe-local-variable for list of strings.
16218 Clarify docstring that the value is strings not symbols.
16219 (checkdoc-list-of-strings-p): New function.
16221 2009-08-22 Glenn Morris <rgm@gnu.org>
16223 * files.el (auto-mode-alist):
16224 * hippie-exp.el (he-concat-directory-file-name):
16225 * lpr.el (lpr-windows-system, printer-name):
16226 * ls-lisp.el (ls-lisp-emulation, ls-lisp-use-insert-directory-program):
16227 * ps-print.el (ps-windows-system):
16228 * startup.el (command-line):
16229 * emulation/viper-ex.el (viper-glob-function):
16230 * international/mule-cmds.el (set-language-environment-coding-systems):
16231 * net/ange-ftp.el (ange-ftp-write-region):
16232 * obsolete/fast-lock.el (fast-lock-cache-name):
16233 Remove code for defunct system-types emx, macos, mswindows, next-mach,
16234 unisoft-unix, vax-vms, win32, w32.
16236 * calendar/diary-lib.el (diary-mark-entries-1): Only mark all days of a
16237 given name if the pattern is not more specific.
16239 * calendar/lunar.el (lunar-phase-names): New option.
16240 (lunar-phase): Doc fix.
16241 (lunar-cycles-per-year): New constant.
16242 (lunar-index): New function.
16243 (lunar-phase-list, diary-lunar-phases): Use lunar-index.
16244 (lunar-phase-name): Use lunar-phase-names.
16245 (calendar-lunar-phases): Use format.
16246 (lunar-new-moon-on-or-after): Use lunar-cycles-per-year.
16248 * progmodes/cperl-mode.el (cperl-imenu-name-and-position):
16249 Copy imenu-example--name-and-position function here for own use.
16250 (cperl-xsub-scan): Use cperl-imenu-name-and-position.
16252 * bs.el (bs--redisplay):
16253 * cus-edit.el (custom-redraw):
16254 * ibuffer.el (ibuffer-bury-buffer):
16255 * server.el (server-goto-line-column):
16256 * startup.el (command-line-1):
16257 * strokes.el (strokes-xpm-for-stroke):
16258 * term.el (term-display-buffer-line):
16259 * view.el (View-goto-line):
16260 * calc/calc.el (calc-do, calc-trail-buffer):
16261 * play/gamegrid.el (gamegrid-add-score-insecure):
16262 * progmodes/ada-mode.el (ada-compile-goto-error):
16263 * progmodes/ada-xref.el (ada-xref-find-in-modified-ali):
16264 (ebrowse-select-1st-to-9nth):
16265 * progmodes/cperl-mode.el (cperl-time-fontification):
16266 * progmodes/ebrowse.el (ebrowse-toggle-file-name-display)
16267 * progmodes/gud.el (gud-display-line):
16268 (idlwave-shell-display-line):
16269 * progmodes/idlw-shell.el (idlwave-shell-goto-frame)
16270 * progmodes/make-mode.el (makefile-browser-toggle):
16271 (vhdl-speedbar-port-copy, vhdl-compose-components-package):
16272 * progmodes/vhdl-mode.el (vhdl-speedbar-find-file)
16273 * textmodes/picture.el (picture-draw-rectangle):
16274 * textmodes/reftex-index.el (reftex-index-goto-letter):
16275 (reftex-select-jump-to-previous):
16276 * textmodes/reftex-sel.el (reftex-find-start-point)
16277 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-restore-region):
16278 (rst-straighten-deco-spacing, rst-section-tree, rst-toc):
16279 * textmodes/rst.el (rst-promote-region, rst-straighten-decorations)
16280 * textmodes/tex-mode.el (tex-compilation-parse-errors):
16281 * textmodes/two-column.el (2C-associated-buffer):
16282 Use forward-line rather than goto-line.
16284 * emulation/vi.el (vi-goto-line): Don't warn about non-interactive
16287 * international/ucs-normalize.el (nfd, decomposition-translation-alist)
16288 (decomposition-char-recursively, alist-list-to-vector, quick-check-list)
16289 (quick-check-list-to-regexp): Declare.
16291 * progmodes/make-mode.el (makefile-browser-insert-selection):
16292 Use goto-char rather than goto-line.
16294 * progmodes/prolog.el (compilation-error-regexp-alist)
16295 (compilation-forget-errors): Declare.
16297 2009-08-22 Juri Linkov <juri@jurta.org>
16299 * progmodes/grep.el (lgrep, rgrep): At the beginning
16300 set `dir' to `default-directory' unless `dir' is a non-nil
16301 readable directory. (Bug#4052)
16302 (lgrep, rgrep): Change a weird way to report an error
16303 from using `read-string' to using `error'.
16304 Instead of using interactive arguments in the function body,
16305 add new argument `confirm'.
16307 2009-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
16309 * textmodes/remember.el (remember-buffer):
16310 * progmodes/cperl-mode.el (cperl-vc-header-alist):
16311 * calendar/icalendar.el (icalendar-convert-diary-to-ical)
16312 (icalendar-extract-ical-from-buffer):
16313 * net/newst-treeview.el (newsticker-groups-filename):
16314 * net/newst-backend.el (newsticker-cache-filename):
16315 * speedbar.el (speedbar-update-speed, speedbar-navigating-speed)
16316 (speedbar-ignored-path-expressions, speedbar-ignored-path-regexp)
16317 (speedbar-add-ignored-path-regexp, speedbar-line-path)
16318 (speedbar-buffers-line-path, speedbar-path-line)
16319 (speedbar-buffers-line-path):
16320 * epg.el (epg-passphrase-callback-function, epg-start-sign-keys)
16322 * epa.el (epa-display-verify-result):
16323 * progmodes/pascal.el (pascal-outline): Add version of obsolescence.
16325 2009-08-21 Glenn Morris <rgm@gnu.org>
16327 * progmodes/js.el (inferior-moz-process): Fix declaration.
16329 * imenu.el (imenu-example--name-and-position): Fix obsolescence message.
16331 * obsolete/rnewspost.el (news-mail-reply):
16332 Use goto-char rather than goto-line.
16334 * term/ns-win.el (ns-open-file-select-line):
16335 Use line-beginning-position rather than goto-line.
16337 * apropos.el (apropos-command):
16338 * ehelp.el (electric-helpify):
16339 * printing.el (pr-show-setup):
16340 * strokes.el (strokes-help):
16341 * tutorial.el (tutorial--describe-nonstandard-key)
16342 (tutorial--detailed-help):
16343 * woman.el (woman-mini-help, woman-display-extended-fonts):
16344 * calc/calc-help.el (calc-describe-key):
16345 * emulation/edt.el (edt-electric-helpify):
16346 * international/mule-diag.el (mule-diag):
16347 * play/yow.el (apropos-zippy):
16348 * progmodes/python.el (python-describe-symbol):
16349 * progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode):
16350 * textmodes/table.el (*table--cell-describe-mode)
16351 (*table--cell-describe-bindings):
16352 Use help-print-return-message rather than the now obsolete alias.
16354 * calendar/cal-move.el (calendar-cursor-to-nearest-date)
16355 (calendar-cursor-to-visible-date):
16356 * play/5x5.el (5x5-position-cursor):
16357 * play/decipher.el (decipher):
16358 * play/gomoku.el (gomoku-goto-xy):
16359 * play/landmark.el (lm-goto-xy):
16360 * play/mpuz.el (mpuz-paint-errors, mpuz-paint-statistics)
16361 (mpuz-paint-digit):
16362 Use forward-line, not goto-line.
16364 * mail/rmail.el (rmail-obsolete): Delete custom group.
16365 (rmail-pop-password, rmail-pop-password-required): Make into aliases.
16366 (rmail-remote-password, rmail-remote-password-required):
16367 Remove unneeded :set-after and :set properties.
16369 2009-08-21 Michael Albinus <michael.albinus@gmx.de>
16371 * net/dbus.el (top): Initialize only when `dbusbind' is loaded.
16373 2009-08-21 Dan Nicolaescu <dann@ics.uci.edu>
16375 * loadup.el: Remove leftover macos code.
16377 * vc-git.el (vc-git-annotate-command): Run asynchronously.
16378 Explicitly pass the date format to git blame so that user local
16379 so that the output format can be parsed.
16381 2009-08-20 Michael Albinus <michael.albinus@gmx.de>
16383 * net/dbus.el (top): Don't check for (getenv
16384 "DBUS_SESSION_BUS_ADDRESS"). It's done in dbusbind.c now.
16386 2009-08-19 Magnus Henoch <magnus.henoch@gmail.com>
16388 * log-edit.el (log-edit-strip-single-file-name): New var.
16389 (log-edit-insert-changelog): Use it. Bug#3571
16391 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
16393 * subr.el (read-passwd): Use read-key so keypad keys work as well.
16396 * help.el (help-print-return-message): Rename from
16397 print-help-return-message.
16399 * log-view.el (log-view-mode-map): Remove `q' binding, and unreliable
16400 cvs-mode-map parent hack.
16401 (log-view-mode): Derive from special-mode.
16403 * linum.el (linum-mode): window-size-change-functions is redundant.
16404 Adapt to new window-configuration-change-hook behavior.
16405 (linum-after-size, linum-after-config): Remove.
16407 * imenu.el (imenu-example--name-and-position)
16408 (imenu-example--lisp-extract-index-name)
16409 (imenu-example--create-lisp-index, imenu-example--create-c-index):
16412 * progmodes/prolog.el (inferior-prolog-error-regexp-alist): New var.
16413 (inferior-prolog-mode): Use it.
16414 (inferior-prolog-load-file): Reset list of errors.
16416 2009-08-19 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
16418 * language/tibetan.el ("Tibetan"): Fix sample-text entry.
16420 * language/tai-viet.el ("TaiViet"): Fix sample-text entry.
16422 2009-08-19 Michael Albinus <michael.albinus@gmx.de>
16424 * net/dbus.el (top): Apply `dbus-init-bus' only if the session bus
16425 is running already.
16427 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
16429 * subr.el (listify-key-sequence-1): Use normal syntax since those
16430 integers are nowadays always represented by the same (positive) number
16432 (read-key-empty-map): New const.
16433 (read-key-delay): New var.
16434 (read-key): New function.
16435 (force-mode-line-update): Use with-current-buffer.
16436 (locate-user-emacs-file): Don't forget to abbreviate the file name.
16437 (start-process-shell-command, start-file-process-shell-command):
16438 Discourage the use of command-args.
16440 2009-08-19 Glenn Morris <rgm@gnu.org>
16442 * emacs-lisp/authors.el (authors-fixed-entries): Remove cvtmail.
16444 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
16446 * simple.el (choose-completion-string): Don't rely on
16447 minibuffer-completing-file-name and ad-hoc checks to decide whether
16448 to continue completion or not.
16450 * minibuffer.el (minibuffer-hide-completions): New function.
16451 (completion--do-completion): Use it.
16452 (completions-annotations): New face.
16453 (completion--insert-strings): Use it.
16454 (completion-pcm--delim-wild-regex): Add docstring.
16455 (completion-pcm--string->pattern): Add support for 0-width delimiters
16456 in completion-pcm--delim-wild-regex.
16458 2009-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
16460 * international/ucs-normalize.el (ucs-normalize-hfs-nfd-post-read-conversion):
16461 Remove unused var `buffer-modified-p'.
16463 * minibuffer.el (completion--do-completion): Move point for the #b001
16464 case as well (bug#4176).
16465 (minibuffer-complete, minibuffer-complete-word): Don't move point.
16467 2009-08-18 Michael Albinus <michael.albinus@gmx.de>
16469 * net/dbus.el (dbus-init-bus): Declare. Apply it for the :system
16470 and :session buses.
16472 2009-08-18 Kenichi Handa <handa@m17n.org>
16474 * international/ucs-normalize.el (ucs-normalize-version):
16476 (ucs-normalize-hfs-nfd-pre-write-conversion): New function.
16477 (utf-8-hfs): Make it perform normalization on encoding too.
16479 * textmodes/paragraphs.el: Change to utf-8. Adjust coding cookie.
16480 (sentence-end-without-space): Delete duplicated chars.
16481 (sentence-end-base): Likewise.
16483 * textmodes/sgml-mode.el: Change to utf-8. Adjust coding cookie.
16484 (html-mode): Delete duplicated chars from sentence-end-base.
16486 * textmodes/texinfo.el: Change to utf-8. Adjust coding cookie.
16487 (texinfo-mode): Delete duplicated chars from sentence-end-base.
16489 2009-08-17 Chong Yidong <cyd@stupidchicken.com>
16491 * files.el (hack-one-local-variable): If the mode function is for
16492 a minor mode, pass it an argument (Bug#4148).
16494 2009-08-17 Michael Albinus <michael.albinus@gmx.de>
16496 * net/tramp.el (tramp-register-completion-file-name-handler):
16497 Check also for (member 'partial-completion completion-styles).
16499 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
16501 * progmodes/cperl-mode.el (cperl-electric-paren): Don't expand
16504 2009-08-16 Ilya Zakharevich <ilyaz@cpan.org>
16506 * progmodes/cperl-mode.el: Merge upstream 6.2.
16507 (cperl-mode-syntax-table): Modify syntax entry for ["'`].
16508 (cperl-forward-re): Check cperl-brace-recursing.
16509 (cperl-highlight-charclass): New function.
16510 (cperl-find-pods-heres): Use it.
16511 (cperl-fill-paragraph): Synch to save-excursion placement used upstream.
16512 (cperl-beautify-regexp-piece): Fix column calculation.
16513 (cperl-make-regexp-x): Handle case where point is between "q" and "rs".
16514 (cperl-beautify-level): Don't process entire regexp.
16515 (cperl-build-manpage, cperl-perldoc): Bind Man-switches before
16517 (cperl-tips-faces, cperl-mode, cperl-electric-backspace): Doc fix.
16518 (cperl-init-faces): Build a list in the normal way.
16520 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
16522 * calendar/parse-time.el (parse-time-string-chars): Save match
16525 2009-08-16 Stefan Monnier <monnier@iro.umontreal.ca>
16527 * progmodes/sql.el (sql-product-alist): Add :name tag to entries.
16528 (sql-product): Use it.
16529 (sql-mode-menu): Auto-generate the menu based on sql-product-alist.
16530 (sql-set-product): Add completion.
16531 (sql-highlight-oracle-keywords, sql-highlight-postgres-keywords)
16532 (sql-highlight-linter-keywords, sql-highlight-ms-keywords)
16533 (sql-highlight-ansi-keywords, sql-highlight-sybase-keywords)
16534 (sql-highlight-informix-keywords, sql-highlight-interbase-keywords)
16535 (sql-highlight-ingres-keywords, sql-highlight-solid-keywords)
16536 (sql-highlight-mysql-keywords, sql-highlight-sqlite-keywords)
16537 (sql-highlight-db2-keywords): Remove.
16538 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
16539 (sql-highlight-product): Use derived-mode-p.
16540 (sql-set-sqli-buffer): Use with-current-buffer.
16541 (sql-connect-informix, sql-connect-ingres, sql-connect-oracle):
16544 * emacs-lisp/lisp-mode.el (lisp-indent-region): Remove unused function.
16546 * term.el: Fix commenting convention, turn comments into docstrings.
16548 2009-08-16 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
16550 * whitespace.el (whitespace-style): Doc fix (Bug#3661).
16552 2009-08-16 Jan Seeger <jan.seeger@thenybble.de> (tiny change)
16554 * calendar/parse-time.el (parse-time-string-chars): Compute using
16555 character classes, to handle non-ascii characters (Bug#3190).
16557 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
16559 * progmodes/sh-script.el (sh-maybe-here-document): Avoid inserting
16560 another heredoc if the user adds another < (Bug#3226).
16562 * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
16563 Don't initialize based on window-system (Bug#4124).
16565 * facemenu.el (facemenu-read-color): Use a completion function
16566 that accepts any defined color, such as RGB triplets (Bug#3677).
16568 * files.el (get-free-disk-space): Change fallback default
16569 directory to /. Expand DIR argument before switching to fallback.
16570 Suggested by Kevin Ryde (Bug#2631, Bug#3911).
16572 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
16574 * files.el (load-library): Doc fix.
16576 2009-08-15 Michael Kifer <kifer@cs.stonybrook.edu>
16578 * emulation/viper-cmd.el (viper-insert-isearch-string): New function.
16579 (viper-if-string): Redefine C-s in the minibuffer to insert the last
16580 incremental search string.
16582 * ediff-init.el (ediff-coding-system): Use escape-quoted in case of
16585 * ediff-merg.el (ediff-merge-region-is-non-clash-to-skip)
16586 (ediff-merge-region-is-non-clash)
16587 (ediff-skip-merge-region-if-changed-from-default-p): Use defun.
16588 Also check if the job is really a merge job.
16590 * ediff.el (ediff-current-file): New function.
16592 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
16594 * progmodes/js.el: Edit docstrings throughout to follow Emacs
16596 (js-insert-and-indent): Delete function.
16597 (js-mode-map): Don't bind keys to js-insert-and-indent.
16598 (js-beginning-of-defun): Rename from js--beginning-of-defun.
16599 (js-end-of-defun): Rename from js--end-of-defun.
16600 (js-auto-indent-flag): Delete variable.
16602 2009-08-14 Chong Yidong <cyd@stupidchicken.com>
16604 * progmodes/js.el: Remove proclaim statement.
16605 Defvar which-func-imenu-joiner-function to silence compiler.
16607 * files.el (auto-mode-alist): Use js-mode for .js files.
16609 * progmodes/js2-mode.el: Remove file.
16611 * Makefile.in (ELCFILES): Add js.el, and remove js2-mode.el.
16613 * speedbar.el (speedbar-supported-extension-expressions): Add .js.
16615 * progmodes/hideshow.el (hs-special-modes-alist): Add js-mode entry.
16617 2009-08-14 Daniel Colascione <dan.colascione@gmail.com>
16618 Karl Landstrom <karl.landstrom@brgeight.se>
16620 * progmodes/js.el: New file.
16622 2009-08-14 Mark A. Hershberger <mah@everybody.org>
16624 * timezone.el (timezone-parse-date): Add ability to understand ISO
16625 basic format (minimal separators) dates in addition to the
16626 already-supported extended format dates.
16628 2009-08-14 Eli Zaretskii <eliz@gnu.org>
16630 * international/ucs-normalize.el: Add a `coding' file variable.
16632 * Makefile.in (ELCFILES): Add international/ucs-normalize.elc.
16634 2009-08-14 Sam Steingold <sds@gnu.org>
16636 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
16638 2009-08-13 Chong Yidong <cyd@stupidchicken.com>
16640 * faces.el (help-argument-name): Define it here instead of
16641 help-fns.el, because in daemon mode help-fns.el may be loaded when
16642 faces are still uninitialized (Bug#1078).
16644 * help-fns.el (help-argument-name): Move defface to faces.el.
16646 2009-08-13 Nick Roberts <nickrob@snap.net.nz>
16648 * progmodes/gdb-mi.el (gdb-inferior-io-mode): Use start-process to
16649 create buffer with a pty but no process so that GDB can make the
16650 inferior the controlling process.
16652 2009-08-13 Taichi Kawabata <kawabata.taichi@gmail.com>
16654 * international/ucs-normalize.el: New file.
16656 2009-08-13 Richard Stallman <rms@gnu.org>
16658 * mail/rmail.el (rmail-get-attr-names):
16659 Accept an attribute header that is too short.
16661 * mail/rmail.el (rmail-forget-messages):
16662 Ignore nil elt in rmail-message-vector. Use dotimes.
16664 * progmodes/compile.el (compilation-goto-locus):
16665 Use next-error-move-function.
16667 * simple.el (next-error-move-function): New variable.
16669 2009-08-12 Juri Linkov <juri@jurta.org>
16671 * progmodes/grep.el (lgrep): Ensure that `default-directory' is
16672 always non-nil. (Bug#4052)
16674 * replace.el (read-regexp): Return empty string when
16675 `default-value' is nil.
16676 (keep-lines-read-args): Don't use empty string as the
16677 default value for `read-regexp'. (Bug#2495)
16679 2009-08-12 Juri Linkov <juri@jurta.org>
16681 * international/mule-cmds.el (ucs-insert): Change arguments
16682 from `arg' to `character', `count', `inherit' to be the same
16683 as in `insert-char'. Doc fix. (Bug#4039)
16685 * international/mule-conf.el (utf-16be-with-signature): Doc fix.
16687 2009-08-12 Juri Linkov <juri@jurta.org>
16689 * files-x.el: New file.
16691 * files.el: Move code that deals with adding/deleting
16692 file/directory-local variables to files-x.el.
16694 * Makefile.in (ELCFILES): Add files-x.elc.
16696 2009-08-11 Dmitry Dzhus <dima@sphinx.net.ru>
16698 * progmodes/gdb-mi.el (gdb-line-posns): New helper which helps not
16699 to use `goto-line'.
16700 (gdb-place-breakpoints, gdb-get-location): Rewritten without
16702 (gdb-invalidate-disassembly): Do not refresh upon receiving
16703 'update signal. Instead, update all disassembly buffers only after
16705 (gdb): Send -target-detach when buffer is killed (Bug#3794).
16706 (gdb-starting): Moved -data-list-register-names...
16707 (gdb-stopped): ...here so it's sent when first thread stops.
16708 (gdb-registers-handler-custom): Do nothing if register names are
16711 * progmodes/gud.el (gud-stop-subjob): Rewritten without macros
16712 from `gdb-mi.el' to avoid extra tangling.
16714 * progmodes/gdb-mi.el (gdb-gud-context-call): Reverting previous
16715 change which breaks `gud-def' definitions used in `gdb'.
16716 (gdb-update-gud-running): No extra fuss for updating frame number.
16718 2009-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
16720 * international/mule-cmds.el (mule-keymap, mule-menu-keymap)
16721 (describe-language-environment-map, setup-language-environment-map)
16722 (set-coding-system-map): Move initialization into declaration.
16723 (set-language-info-alist): Last arg to define-key-after can be skipped.
16725 * international/quail.el (quail-completion-1): Simplify.
16726 (quail-define-rules): Use slightly more compact code.
16727 (quail-insert-decode-map): Propertize keys, compact columns.
16729 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
16732 2009-08-10 Miles Bader <miles@gnu.org>
16734 * progmodes/js2-mode.el (js2-warning, js2-error, js2-jsdoc-tag)
16735 (js2-jsdoc-type, js2-jsdoc-value, js2-function-param)
16736 (js2-instance-member, js2-private-member, js2-private-function-call)
16737 (js2-jsdoc-html-tag-name, js2-jsdoc-html-tag-delimiter)
16738 (js2-magic-paren, js2-external-variable):
16739 Remove "-face" suffix from face names.
16740 (js2-jsdoc-highlight-helper, js2-highlight-jsdoc)
16741 (js2-highlight-undeclared-vars, js2-peek-token)
16742 (js2-parse-function-params, js2-mode-show-errors)
16743 (js2-mode-show-warnings, js2-make-magic-delimiter)
16744 (js2-mode-highlight-magic-parens): Update to use new face names.
16746 2009-08-09 Michael Albinus <michael.albinus@gmx.de>
16748 * net/tramp.el (tramp-get-ls-command-with-dired): New defun.
16749 (tramp-handle-insert-directory): Handle "--dired". (Bug#4075)
16751 2009-08-09 Chong Yidong <cyd@stupidchicken.com>
16753 * subr.el: Provide hashtable-print-readable.
16755 * progmodes/hideshow.el (hs-special-modes-alist): Don't use
16756 hs-c-like-adjust-block-beginning.
16757 (hs-hide-block-at-point): Stop hiding at the beginning of
16758 hs-block-end-regexp (Bug#700).
16760 2009-08-09 Dmitry Dzhus <dima@sphinx.net.ru>
16762 * progmodes/gdb-mi.el (gdb-gud-context-call): Does not need to be
16764 (gdb-registers-handler-custom): Do not fail when register names
16767 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
16769 * progmodes/gdb-mi.el (gdb-control-all-threads)
16770 (gdb-control-current-thread): Interactive setters for
16771 `gdb-gud-control-all-threads' to use in menu.
16772 (gdb-show-run-p): Show «Go» when process is not active.
16773 (gud-tool-bar-map): Add non-stop/A,T indicator. Uses
16774 gud/thread.xpm and gud/all.xpm.
16776 2009-08-08 Yoni Rabkin <yoni@rabkins.net>
16778 * net/net-utils.el (net-utils-font-lock-keywords): New var.
16779 (nslookup-font-lock-keywords): Make it a variable.
16780 (net-utils-mode): New mode for viewing diagnostic network output.
16781 (net-utils-remove-ctrl-m-filter): Set inhibit-read-only.
16782 (net-utils-run-simple): New function.
16783 (ifconfig, iwconfig, netstat, arp, route): Use it.
16785 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
16787 * progmodes/gdb-mi.el (gdb-read-memory-custom)
16788 (gdb-memory-set-address, def-gdb-set-positive-number)
16789 (def-gdb-memory-format, def-gdb-memory-unit): Update memory buffer
16790 after changing settings.
16791 (gdb-invalidate-disassembly): Update when first shown.
16792 (gdb-edit-locals-value): Fixed.
16793 (gdb-registers-handler-custom): Print registers in right order and
16794 allow changing register values (only for current thread yet).
16795 (gdb-breakpoints-mode-map): Don't assume threads buffer is present.
16796 (gdb-threads-mode-map): Don't assume breakpoints buffer is present.
16797 (gdb-disassembly-handler-custom, gdb-stack-list-frames-custom)
16798 (gdb-locals-handler-custom, gdb-registers-handler-custom): Thread
16800 (gdb-registers-mode-map): TAB to switch to locals.
16802 2009-08-08 Eli Zaretskii <eliz@gnu.org>
16804 * mail/rmail.el (rmail-add-mbox-headers)
16805 (rmail-set-message-counters-counter): Search for
16806 rmail-unix-mail-delimiter instead of just "From ". (Bug#4076)
16808 2009-08-08 Glenn Morris <rgm@gnu.org>
16810 * Makefile.in (ELCFILES): Update.
16812 2009-08-07 Eli Zaretskii <eliz@gnu.org>
16814 * mail/sendmail.el (mail-yank-original): Set
16815 buffer-file-coding-system from the one used by the message whose
16818 * calc/calc-graph.el (calc-graph-plot): Set calc-graph-last-device
16819 to "windows" when "pgnuplot" is used.
16820 (calc-graph-command, calc-gnuplot-command, calc-graph-init): Don't
16821 call accept-process-output if "pgnuplot" is used.
16822 (calc-graph-init): Don't send -display and -geometry to
16823 "pgnuplot". If "pgnuplot" is used, glean gnuplot version by
16824 running "pgnuplot -V" with shell-command-to-string.
16826 * calc/calc.el (calc-gnuplot-name) [windows-nt]: Use "pgnuplot" as
16829 2009-08-07 Eli Zaretskii <eliz@gnu.org>
16831 * Makefile.in (ELCFILES): org/org-export-latex.elc renamed to
16834 2009-08-07 Dan Nicolaescu <dann@ics.uci.edu>
16836 * vc-dispatcher.el (vc-resynch-window): Update comment.
16838 * term.el (term-handle-ansi-escape): Add comments with the
16839 terminfo capabilities implemented.
16841 2009-08-06 Dmitry Dzhus <dima@sphinx.net.ru>
16843 * progmodes/gdb-mi.el (gdb-var-create-regexp): Removed.
16844 (gdb-var-create-handler): Rewritten using JSON parser.
16845 (gdb-propertize-header): Moved earlier.
16846 (gdb-set-header): Removed to avoid duplication.
16847 (gdb-thread-list-handler-custom, gdb-invalidate-disassembly):
16848 Refresh disassembly buffers only after threads list have been
16850 (gdb-threads-header, gdb-registers-header): Per-buffer header line
16853 2009-08-04 Juri Linkov <juri@jurta.org>
16855 * files.el: Commands to add/delete file/directory-local variables.
16856 (read-file-local-variable, read-file-local-variable-value)
16857 (read-file-local-variable-mode, modify-file-local-variable)
16858 (modify-file-local-variable-prop-line)
16859 (modify-dir-local-variable): New functions.
16860 (add-file-local-variable, delete-file-local-variable)
16861 (add-file-local-variable-prop-line, delete-file-local-variable-prop-line)
16862 (add-dir-local-variable, delete-dir-local-variable)
16863 (copy-file-locals-to-dir-locals, copy-dir-locals-to-file-locals)
16864 (copy-dir-locals-to-file-locals-prop-line): New commands.
16866 2009-08-04 Chong Yidong <cyd@stupidchicken.com>
16868 * abbrev.el (insert-abbrev-table-description): Prettify output.
16869 Suggested by Karl Chen.
16871 2009-08-04 Dmitry Dzhus <dima@sphinx.net.ru>
16873 * progmodes/gdb-mi.el (gdb-frame-number): Initialize with nil.
16874 (gdb-overlay-arrow-position): Rename to `gdb-disassembly-position'.
16875 (gdb-overlay-arrow-position, gdb-thread-position)
16876 (gdb-disassembly-position): Declare variables.
16877 (gdb-wait-for-pending): Function now.
16878 (gdb-add-subscriber, gdb-delete-subscriber, gdb-get-subscribers)
16879 (gdb-emit-signal, gdb-buf-publisher): Declare before first use so
16880 compilation goes smoothly.
16881 (gdb, gdb-non-stop, gdb-buffers): New customization groups.
16882 (gdb-non-stop-setting): New customization setting which replaces
16883 `gdb-non-stop' so changing it doesn't break active GDB session.
16884 (gdb-stack-buffer-locations, gdb-stack-buffer-addresses)
16885 (gdb-thread-buffer-verbose-names, gdb-thread-buffer-arguments)
16886 (gdb-thread-buffer-locations, gdb-thread-buffer-addresses)
16887 (gdb-show-threads-by-default): New customization options.
16888 (gdb-buffer-type, gdb-buffer-shows-main-thread-p): New helper
16890 (gdb-get-buffer-create): Send buffers update signal when they are
16892 (gdb-invalidate-locals, gdb-invalidate-registers)
16893 (gdb-invalidate-breakpoints)
16894 (gdb-invalidate-threads, gdb-invalidate-disassembly)
16895 (gdb-invalidate-memory): Accept update signal.
16896 (gdb-current-context-command): Use --frame option.
16897 (gdb-update-gud-running, gdb-running, gdb-setq-thread-number):
16898 Implement `gdb-frame-number' selection logic.
16899 (gdb-show-run-p, gdb-show-stop-p): Helper functions which decide
16900 whether to show GUD toolbar buttons.
16901 (gdb-thread-exited): Unselect current thread when it exits.
16902 (gdb-stopped): Typo fixed (now really runs `gdb-stopped-hooks').
16903 (gdb-mark-line): Routine which sets overlay arrow or inverses
16904 video on fringeless displays.
16905 (gdb-table, gdb-table-add-row, gdb-table-string): Structure used
16906 to build aligned columns of data in GDB buffers and set text
16907 properties line-by-line.
16908 (gdb-invalidate-breakpoints)
16909 (gdb-breakpoints-list-handler-custom)
16910 (gdb-thread-list-handler-custom, gdb-disassembly-handler-custom)
16911 (gdb-stack-list-frames-custom, gdb-locals-handler-custom)
16912 (gdb-registers-handler-custom): Align data columns.
16913 (gdb-locals-handler-custom): Now prints data like in variable
16915 (gdb-jump-to, gdb-file-button, gdb-insert-file-location-button):
16916 Removed confusing buttons.
16917 (gdb-invalidate-threads): Append --frame.
16918 (gdb-threads-mode-map, gdb-breakpoints-mode-map): TAB to switch
16919 between breakpoints/threads buffers.
16920 (gdb-set-window-buffer): Now can ignore dedicated windows.
16921 (gdb-propertize-header): Use `gdb-set-window-buffer'.
16922 (def-gdb-thread-buffer-simple-command): Numerous typos fixed.
16923 (def-gdb-thread-buffer-gud-command): Replaces
16924 `def-gdb-thread-buffer-gdb-command' and uses standard GUD commands
16925 for fine thread control.
16926 (gdb-preempt-existing-or-display-buffer): New function used to
16927 display bound buffers without breaking window layout.
16928 (gdb-frame-location): Replaces `gdb-insert-frame-location'.
16929 (gdb-select-frame): New version of `gdb-frames-select' which now
16930 sets `gdb-frame-number' so commands may use --frame option instead
16931 of inner debugger state.
16932 (gdb-frame-handler): Do not set `gdb-frame-number'.
16933 (gdb-threads-mode-map): Select threads with mouse.
16935 * progmodes/gud.el (gdb-gud-context-call): Declare function to
16936 avoid compilation warning.
16937 (gud-menu-map, gud-minor-mode-map): Use `gdb-show-run-p` and
16940 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create):
16941 Argument `key' renamed to `buffer-type'.
16942 (gdb-current-context-buffer-name): Do not add thread info to
16943 buffer name when no thread is selected.
16944 (gdbmi-record-list, gdb-shell): Try to handle GDB `shell'
16945 command (bug 3794).
16946 (gdb-thread-selected): Handle `=thread-selected' notification.
16947 (gdb-wait-for-pending): New macro to deal with congestion problems.
16948 (gdb-breakpoints-list-handler-custom): Don't fail on pending
16950 (gdb-invalidate-disassembly): Use 'fullname instead of 'file.
16951 This fixes problem similar to one described in bug 3947.
16952 (gud-menu-map): More menu items.
16953 (gdb-init-1): Reset `gdb-thread-number' to nil.
16955 * progmodes/gud.el (gud-stop-subjob, gud-menu-map): Respect GDB
16958 * progmodes/gdb-mi.el (gdb-thread-number): Initialize with nil.
16959 (gdb-current-context-command): Do not append --thread if
16960 `gdb-thread-number' is nil.
16961 (gdb-running-threads-count, gdb-stopped-threads-count): New
16963 (gdb-non-stop, gdb-gud-control-all-threads, gdb-switch-reasons)
16964 (gdb-stopped-hooks, gdb-switch-when-another-stopped): New
16965 customization options.
16966 (gdb-gud-context-command, gdb-gud-context-call): New wrappers for
16968 (gdb): `gud-def' definitions changed to use `gdb-gud-context-call'.
16969 (gdb-init-1): Activate non-stop mode if `gdb-non-stop' is enabled.
16970 (gdb-setq-thread-number, gdb-update-gud-running): New functions to
16971 set `gdb-thread-number' and update `gud-running' properly.
16972 (gdb-running): Update threads list when new threads appear.
16973 (gdb-stopped): Support non-stop operation and new thread switching
16975 (gdb-jsonify-buffer, gdb-json-read-buffer, gdb-json-string)
16976 (gdb-json-partial-output): New set of JSON routines.
16977 (def-gdb-auto-update-trigger): New `signal-list' optional
16979 (gdb-thread-list-handler-custom): Update `gud-running',
16980 `gdb-stopped-threads-count' and `gdb-running-threads-count'.
16981 (def-gdb-thread-buffer-gdb-command, gdb-interrupt-thread)
16982 (gdb-continue-thread, gdb-step-thread): New commands for fine
16983 thread execution control.
16984 (gud-menu-map): New menu items to switch non-stop options.
16985 (gdb-reset): Cleanup `gdb-thread-position' overlay arrow marker.
16986 (gdb-send): Mimic RET properly (bug 3794).
16988 * progmodes/gdb-mi.el (gdb-rules-name-maker)
16989 (gdb-rules-buffer-mode, gdb-rules-update-trigger): Accessors for
16991 (def-gdb-auto-update-handler): New nopreserve optional argument.
16992 (gdb-stack-list-frames-custom): Print stack from top to bottom.
16994 * progmodes/gdb-mi.el (gdb-pc-address): Removed unused variable.
16995 (gdb-threads-list, gdb-breakpoints-list): New assoc lists.
16996 (gdb-parent-mode): New mode to derive other GDB modes from.
16997 (gdb-display-disassembly-for-thread)
16998 (gdb-frame-disassembly-for-thread): New commands for threads
17001 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create)
17002 (gdb-init-1, gdb-bind-function-to-buffer, gdb-add-subscriber)
17003 (gdb-get-subscribers, gdb-emit-signal, gdb-buf-publisher)
17004 (gdb-update): We now store all GDB buffers in a list so that they
17005 can be updated by traversing a list instead of calling invalidate
17006 triggers explicitly.
17007 (def-gdb-trigger-and-handler): New macro to define trigger-handler
17008 pair for GDB buffer.
17009 (gdb-stack-buffer-name): Add thread information.
17010 (gdb-add-pending, gdb-pending-p, gdb-delete-pending): Macros to
17011 handle pending triggers.
17012 (gdb-threads-mode-map, def-gdb-thread-buffer-command)
17013 (def-gdb-thread-buffer-simple-command)
17014 (gdb-display-stack-for-thread, gdb-display-locals-for-thread)
17015 (gdb-display-registers-for-thread, gdb-frame-stack-for-thread)
17016 (gdb-frame-locals-for-thread, gdb-frame-registers-for-thread):
17017 New commands which show buffers bound to thread.
17018 (gdb-stack-list-locals-regexp): Removed unused regexp.
17020 * progmodes/gdb-mi.el (gdb-breakpoints-buffer-name)
17021 (gdb-locals-buffer-name, gdb-registers-buffer-name)
17022 (gdb-memory-buffer-name, gdb-stack-buffer-name): Do not switch
17023 to (gud-comint-buffer) in *-buffer-name functions
17024 because (gdb-get-target-string) already does that.
17025 (gdb-locals-handler-custom, gdb-registers-handler-custom)
17026 (gdb-changed-registers-handler): Rewritten without regexps.
17028 * progmodes/gdb-mi.el: Basic thread selection support.
17029 (gdb-thread-number): New variable.
17030 (gdb-current-context-command): New macro which adds --thread
17032 (gdb-threads-mode-map): Select thread with SPC.
17033 (gdb-thread-list-handler-custom): Mark current thread with overlay
17034 arrow. Synchronize GDB thread and Emacs thread.
17035 (gdb-select-thread): New command which selects current thread.
17036 (gdb-invalidate-frames, gdb-invalidate-locals)
17037 (gdb-invalidate-registers): Use --thread option.
17039 2009-08-04 Michael Albinus <michael.albinus@gmx.de>
17041 * net/tramp.el (top): Make check for tramp-gvfs loading more
17043 (tramp-handle-insert-file-contents): `unwind-protect' must be
17044 inside `with-parsed-tramp-file-name'.
17046 * net/tramp-gvfs.el (top): Remove superfluous message when loading
17049 2009-08-03 Nick Roberts <nickrob@snap.net.nz>
17051 * progmodes/gud.el (jdb): Set gud-jdb-classpath-string to current
17052 directory if CLASSPATH is not set.
17054 2009-08-03 Michael Albinus <michael.albinus@gmx.de>
17056 * net/tramp.el (tramp-rfn-eshadow-update-overlay-regexp):
17058 (tramp-rfn-eshadow-update-overlay): Use it. (Bug#4004)
17060 2009-08-02 Kevin Ryde <user42@zip.com.au>
17062 * net/newst-backend.el (newsticker--raw-url-list-defaults):
17063 Update freshmeat link. Delete newsforge.com as it seems gone.
17065 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
17067 * select.el (x-set-selection): Doc fix (Bug#4021).
17069 * w32-fns.el (x-set-selection): Doc fix (Bug#4021).
17071 * help-fns.el (describe-variable): Treat list return values from
17072 dir-locals-find-file properly (Bug#4005).
17074 2009-08-02 Julian Scheid <julians37@googlemail.com> (tiny change)
17076 * net/tramp.el (tramp-debug-message): Print also microseconds.
17078 2009-08-02 Michael Albinus <michael.albinus@gmx.de>
17080 * net/tramp.el (tramp-handle-insert-file-contents): Optimize, when BEG
17082 (tramp-handle-vc-registered): Use `tramp-cache-inhibit-cache'.
17083 (tramp-get-debug-buffer): Change `outline-regexp' according to new
17086 * net/tramp-cache.el (tramp-cache-inhibit-cache): New defvar.
17087 (tramp-get-file-property): Use it.
17089 * autorevert.el (auto-revert-handler): Allow
17090 `auto-revert-tail-mode' for remote files.
17092 2009-08-02 Jason Rumney <jasonr@gnu.org>
17094 * minibuffer.el (read-file-name): Treat confirm options to
17095 MUSTMATCH as nil when invoking x-file-dialog. (Bug#3969)
17097 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
17099 * font-lock.el (font-lock-string-face, font-lock-builtin-face)
17100 (font-lock-variable-name-face, font-lock-constant-face): Darken
17101 the colors for light backgrounds.
17103 2009-08-01 Eli Zaretskii <eliz@gnu.org>
17105 * mail/rmailsum.el (rmail-header-summary): Ignore letter-case of
17106 month names. (Bug#3987)
17108 2009-07-31 Chong Yidong <cyd@stupidchicken.com>
17110 * simple.el (line-move-finish): Pass whole number to
17111 line-move-to-column.
17112 (line-move-visual): Perform hscroll to the recorded position.
17114 2009-07-30 Jay Belanger <jay.p.belanger@gmail.com>
17116 * calc/calc-mode.el (calc-matrix-brackets): Remove "P" from prompt.
17118 2009-07-29 Alan Mackenzie <acm@muc.de>
17120 * progmodes/cc-defs.el (c-version): Bump to 5.31.7.
17122 2009-07-29 Dmitry Dzhus <dima@sphinx.net.ru>
17124 * progmodes/gdb-mi.el (gdb-goto-breakpoint)
17125 (gdb-place-breakpoints): Use full path when setting breakpoints.
17127 2009-07-29 Jay Belanger <jay.p.belanger@gmail.com>
17129 * calc/calc.el (calc-mode-map): Add keybinding for
17130 `calc-transpose-lines'.
17132 2009-07-29 Vincent Belaïche <vincent.belaiche@gmail.com>
17134 * calc/calc-misc.el (calc-transpose-lines): New function.
17136 2009-07-28 Michael Albinus <michael.albinus@gmx.de>
17138 * net/tramp.el (tramp-do-copy-or-rename-file): Add messages.
17139 Simplify check for out-of-band methods.
17140 (tramp-do-copy-or-rename-file-out-of-band): Allow both files to be
17141 remote. Remove messages which are in `tramp-do-copy-or-rename-file'.
17143 2009-07-28 Dan Nicolaescu <dann@ics.uci.edu>
17145 * vc-git.el (vc-git-checkin): Fix typo.
17147 2009-07-28 Steve Yegge <steve.yegge@gmail.com>
17149 * progmodes/js2-mode.el: New file.
17151 2009-07-28 Nick Roberts <nickrob@snap.net.nz>
17153 * progmodes/gud.el (jdb): Add gud-pstar to dump object information.
17154 (gud-menu-map): Adjust tooltip accordingly.
17156 2009-07-27 Dan Nicolaescu <dann@ics.uci.edu>
17158 * vc-bzr.el (vc-bzr-print-log): Pass multiple arguments to bzr log.
17159 (vc-bzr-log-view-mode): Adjust log-view-file-re.
17161 * add-log.el (change-log-mode-map): Add a menu.
17163 2009-07-27 Michael Albinus <michael.albinus@gmx.de>
17165 * net/dbus.el (dbus-call-method-non-blocking): Handle the case the
17166 function returns nil.
17167 (dbus-handle-event): Handle special return value :ignore.
17168 Reported by Jan Moringen <jan.moringen@uni-bielefeld.de>.
17170 2009-07-26 Chong Yidong <cyd@stupidchicken.com>
17172 * view.el (view-mode-enable): Don't define Helper-return-blurb if
17175 2009-07-25 Eli Zaretskii <eliz@gnu.org>
17179 * w32-vars.el (x-select-enable-clipboard): Doc fix.
17181 * term/pc-win.el (x-display-name, x-colors)
17182 (x-select-enable-clipboard, x-select-text): Doc fix.
17184 * term/common-win.el (x-display-name, x-colors): Doc fix.
17186 * term/ns-win.el (x-select-text, x-setup-function-keys, x-colors)
17187 (xw-defined-colors): Doc fix.
17189 * w32-fns.el (x-select-text, x-setup-function-keys)
17190 (x-get-selection, x-set-selection): Doc fix.
17192 * term/x-win.el (x-select-text, x-setup-function-keys)
17193 (x-select-enable-clipboard, xw-defined-colors): Doc fix.
17195 * select.el (x-set-selection): Doc fix.
17197 2009-07-25 Michael Albinus <michael.albinus@gmx.de>
17199 * net/zeroconf.el (zeroconf-init): Check for "GetVersionString"
17200 instead of "IsNSSSupportAvailable". Avahi ought to work also when
17201 "IsNSSSupportAvailable" method is not available. Reported by
17202 Steve Youngs <steve@sxemacs.org>.
17204 2009-07-24 Kenichi Handa <handa@m17n.org>
17206 * international/characters.el: Fix setting of category ?C, ?|, ?K,
17207 and ?H. Fix setting of case for Latin Extended and Greek Extended.
17208 (build-unicode-category-table): Fix range checks.
17210 2009-07-24 Dan Nicolaescu <dann@ics.uci.edu>
17212 * vc-dispatcher.el (vc-resynch-buffers-in-directory): Make sure
17213 the buffer we try to sync is current when calling
17216 * vc-dir.el (vc-dir-resynch-file): Make sure vc-dir-update does
17217 not show up to date files.
17219 2009-07-24 Glenn Morris <rgm@gnu.org>
17221 * emacs-lisp/elint.el (elint-current-buffer, elint-defun):
17222 Add autoload cookies. If necessary, initialize.
17223 (elint-log): Handle non-file buffers.
17224 (elint-initialize): Add optional argument to reinitialize.
17225 (elint-find-builtin-variables): Save excursion.
17227 2009-07-23 Dan Nicolaescu <dann@ics.uci.edu>
17229 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
17232 2009-07-22 Dan Nicolaescu <dann@ics.uci.edu>
17234 * vc.el (vc-print-log-internal): New function, split out from ...
17235 (vc-print-log): ... here.
17236 (vc-dir-move-to-goal-column): Declare.
17238 * vc-git.el (vc-git-add-signoff): New variable.
17239 (vc-git-checkin): Use it.
17240 (vc-git-toggle-signoff): New function.
17241 (vc-git-extra-menu-map): Bind it to menu.
17242 (vc-git--run-command-string): Accept a nil FILE argument.
17243 (vc-git-stash-list): New function.
17244 (vc-git-dir-extra-headers): Use it.
17246 2009-07-23 Glenn Morris <rgm@gnu.org>
17248 * help-fns.el (describe-variable): Describe ignored and risky local
17249 variables in a similar way to that in which we describe safe ones.
17251 * emacs-lisp/bytecomp.el (byte-compile-from-buffer)
17252 (byte-compile-output-file-form, byte-compile-output-docform)
17253 (byte-compile-file-form-defmumble, byte-compile-output-as-comment):
17254 Give some more local variables with common names a "bytecomp-" prefix,
17255 so as not to shadow things during compilation.
17256 * emacs-lisp/cl-macs.el (load-time-value)
17257 * emacs-lisp/cl.el (cl-compiling-file): Update for the name-change
17258 `outbuffer' to `bytecomp-outbuffer'.
17260 * emacs-lisp/elint.el (elint-standard-variables): Remove most members,
17261 since the next two variables cover them automatically now.
17262 (elint-builtin-variables, elint-autoloaded-variables): New.
17263 (elint-unknown-builtin-args): Remove all members, since they can be
17264 parsed automatically now.
17265 (elint-extra-errors): New.
17266 (elint-env-add-env, elint-env-add-macro): Use cadr.
17267 (elint-current-buffer): Use or. Change final message.
17268 (elint-get-top-forms): Use line-end-position.
17269 (elint-init-env): Use cadr. Handle autoload, declare-function,
17271 (elint-add-required-env): Doc fix. Use or. Standardize error.
17272 (regexp-assoc): Remove unused function.
17273 (elint-top-form): Set elint-current-pos, to record the start of the
17274 top-level form, for compilation-mode.
17275 (elint-form): Trap errors in macro expansion. Use dolist.
17276 (elint-unbound-variable): Use elint-builtin-variables and
17277 elint-autoloaded-variables.
17278 (elint-get-args): Use cadr, or.
17279 (elint-check-cond-form): Use dolist, cadr.
17280 (elint-check-condition-case-form): Doc fix. Use cadr.
17281 Use elint-extra-errors.
17282 (elint-log): New function.
17283 (elint-error, elint-warning): Use elint-log for a bytecomp-style format.
17284 Distinguish errors and warnings.
17285 (elint-log-message): Use with-current-buffer. Inhibit read-only.
17286 Use a bytecomp-style format.
17287 (elint-clear-log): Preserve default-directory. Inhibit read-only.
17288 (elint-get-log-buffer): Use compilation mode. Disable undo.
17289 Don't truncate lines.
17290 (elint-initialize): Set builtin and autoloaded variable lists.
17291 Only process elint-unknown-builtin-args if non-nil.
17292 (elint-find-builtin-variables, elint-find-autoloaded-variables):
17294 (elint-find-builtin-args): Doc fix. Handle "BODY...)".
17296 2009-07-22 Kevin Ryde <user42@zip.com.au>
17298 * net/newst-backend.el (newsticker--parse-atom-1.0)
17299 (newsticker--parse-rss-0.91, newsticker--parse-rss-0.92)
17300 (newsticker--parse-rss-1.0):
17301 * progmodes/idlwave.el (idlwave-mode):
17302 * progmodes/idlw-shell.el (idlwave-shell-mode):
17303 * progmodes/vera-mode.el (vera-mode):
17304 * progmodes/verilog-mode.el (verilog-auto-inst, verilog-auto):
17305 * progmodes/vhdl-mode.el (vhdl-mode):
17306 * textmodes/table.el (table-generate-source)
17307 (table--warn-incompatibility):
17308 Hyperlink urls in docstrings with URL `...'.
17310 2009-07-22 Glenn Morris <rgm@gnu.org>
17312 * emacs-lisp/advice.el, emacs-lisp/checkdoc.el:
17313 * emacs-lisp/debug.el, emacs-lisp/elp.el, emacs-lisp/gulp.el:
17314 * emacs-lisp/lisp.el, emacs-lisp/pp.el, emacs-lisp/trace.el:
17315 Remove leading * from defcustom docs.
17317 * simple.el (blink-matching-paren-distance): Bump to 100k. (Bug#3889)
17319 * emacs-lisp/shadow.el (shadows-compare-text-p): Remove leading * from
17321 (list-load-path-shadows): Optionally, just return shadows as a string.
17323 * mail/emacsbug.el (report-emacs-bug): Include any load-path shadows.
17325 2009-07-21 Chong Yidong <cyd@stupidchicken.com>
17327 * mail/rmailedit.el (rmail-edit-mode): Use
17328 auto-save-include-big-deletions.
17330 * mail/rmail.el (rmail-variables): Use
17331 auto-save-include-big-deletions.
17333 * files.el (auto-save-mode): Revert 2009-07-21 and 2009-07-16
17336 2009-07-21 Jay Belanger <jay.p.belanger@gmail.com>
17338 * calc/calc.el (calc-undo-length): New variable.
17339 (calc-quit): Truncate rather than eliminate `calc-undo-list'.
17341 2009-07-21 Richard Stallman <rms@gnu.org>
17343 * files.el (auto-save-mode): Handle buffer-save-size = -2
17346 2009-07-21 Glenn Morris <rgm@gnu.org>
17348 * textmodes/ispell.el (ispell-looking-back): Update declaration.
17350 * calendar/todo-mode.el (calendar-current-date): Update declaration.
17352 * ps-print.el (ps-jitify, ps-lazify): Remove aliases only used to
17353 silence compiler. Instead...
17354 (jit-lock-fontify-now, lazy-lock-fontify-region): ...Declare.
17355 (ps-print-ensure-fontified): Update for above function name changes.
17357 * printing.el (pr-mh-get-msg-num, pr-mh-show)
17358 (pr-mh-start-of-uncleaned-message): Remove aliases only used to
17359 silence compiler. Instead...
17360 (mh-get-msg-num, mh-show, mh-start-of-uncleaned-message): ...Declare.
17361 (mh-show-buffer): Only define for compiler.
17362 (pr-mh-current-message): Update for above function name changes.
17364 * files.el (abort-if-file-too-large): Explicitly pass `filename'
17366 (find-file-noselect, insert-file-1): Update for above change.
17368 * mail/rmail.el (rmail-retry-ignored-headers): Bump :version.
17370 * mail/mailclient.el (mailclient-send-it): Fix message.
17372 * emacs-lisp/edebug.el (cl-debug-env): Only define for compiler.
17373 (edebug-eval): Check cl-debug-env is bound.
17374 (print-level, print-circle): Don't redefine built-in variables.
17376 * emacs-lisp/cust-print.el: Remove leading * from defcustom docs.
17377 (custom-print-vectors): Remove old comments from doc.
17379 * emerge.el (menu-bar-emerge-menu): Remove unused variable.
17380 (emerge-version): Make the variable an obsolete alias for the
17381 emacs-version variable. Make the function obsolete.
17382 (emerge-fast-keymap, emerge-edit-keymap): Make a separate menu for
17383 Emerge options, rather than merging in into the main Options menu.
17384 (emerge-options-menu): Adjust menu text. Use buttons for skip prefers
17385 and auto advance modes. Disable edit/fast items when not relevant.
17387 2009-07-20 Dan Nicolaescu <dann@ics.uci.edu>
17389 * term/vt420.el (terminal-init-vt420): Fix typo.
17391 2009-07-20 Sam Steingold <sds@gnu.org>
17393 * progmodes/ada-mode.el (compile-auto-highlight): Remove the
17394 variable (removed from compile.el on 2004-03-11).
17396 2009-07-20 Chong Yidong <cyd@stupidchicken.com>
17398 * files.el (hack-local-variables-filter): Fix last change.
17400 2009-07-19 Juri Linkov <juri@jurta.org>
17402 * files.el (ignored-local-variables): Add `dir-local-variables-alist'.
17403 (dir-local-variables-alist): New buffer-local variable.
17404 (hack-local-variables-filter): If variable is not dir-local,
17405 i.e. `dir-name' is nil, then remove it from `dir-local-variables-alist',
17406 because file-local overrides dir-local.
17407 (c-postprocess-file-styles) <declare-function>:
17408 Remove obsolete declaration.
17409 (hack-dir-local-variables): Add dir-local variable/value pair to
17410 `dir-local-variables-alist' and remove duplicates. Doc fix.
17412 * help-fns.el (describe-variable): Add information about
17413 file-local and dir-local variables.
17415 2009-07-19 Chong Yidong <cyd@stupidchicken.com>
17417 * files.el (hack-local-variables-filter): Rewrite.
17419 2009-07-19 Glenn Morris <rgm@gnu.org>
17421 * progmodes/verilog-mode.el (verilog-error-regexp-add-xemacs):
17422 Silence compiler by only defining on XEmacs.
17424 * international/mule.el (auto-coding-regexp-alist): Only match
17425 BABYL... at the start of buffer, not of lines. (Bug#3790)
17427 * calendar/cal-menu.el (cal-menu-set-date-title): Handle calls from
17428 non-calendar buffers (Bug#3862). Restore "not on a date" message.
17429 (cal-menu-context-mouse-menu): Doc fix.
17431 * desktop.el (desktop-buffers-not-to-save): Set :version tag.
17433 * simple.el (mail-user-agent): Doc fix. Set :version tag.
17435 2009-07-18 Juri Linkov <juri@jurta.org>
17437 * info.el: Virtual Info keyword finder.
17438 (add-to-list) <Info-virtual-files>: Add "\\`\\*Finder.*\\*\\'".
17439 (Info-finder-file): New variable.
17440 (Info-finder-find-file): New function.
17441 (finder-known-keywords, finder-package-info)
17442 (find-library-name, lm-commentary): Use defvar and
17443 declare-function to silence compiler warnings.
17444 (Info-finder-find-node): New function.
17445 (info-finder): New command.
17447 * subr.el (process-kill-buffer-query-function): New function.
17448 (add-hook)<kill-buffer-query-functions>: Add hook
17449 `process-kill-buffer-query-function'.
17451 2009-07-18 Alan Mackenzie <acm@muc.de>
17453 * progmodes/cc-mode.el (c-before-hack-hook)
17454 (c-postprocess-file-styles): Give invocation of `c-set-style'
17455 DONT-OVERRIDE parameter of t. Already set style variables will
17456 thus not be overridden by style settings given by `c-file-syle'.
17458 * files.el (hack-local-variables-filter): Remove entries with
17459 duplicate keys from `file-local-variables-alist'.
17461 2009-07-18 Eli Zaretskii <eliz@gnu.org>
17463 * simple.el (deactivate-mark, activate-mark, set-mark): Don't call
17464 x-set-selection if display-selections-p returns nil for the
17467 2009-07-18 Chong Yidong <cyd@stupidchicken.com>
17469 * simple.el (region-active-p, use-region-p): Doc fix (Bug#3873).
17471 2009-07-18 Eli Zaretskii <eliz@gnu.org>
17473 * desktop.el (desktop-buffers-not-to-save): Default value is nil.
17474 Accept nil in addition to a regexp.
17475 (desktop-files-not-to-save): Add "(ftp)$" to the default regexp.
17476 Accept nil in addition to a regexp.
17477 (desktop-save-buffer-p): Don't use desktop-buffers-not-to-save for
17478 buffers that have an associated file. Handle nil values of
17479 desktop-buffers-not-to-save and desktop-files-not-to-save.
17482 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
17483 (x-disown-selection-internal): New functions.
17485 2009-07-18 Nick Roberts <nickrob@snap.net.nz>
17487 * progmodes/gdb-mi.el (speedbar-frame): Declare to avoid compiler
17489 (gdb-breakpoints-header): Move forward to avoid compiler warning.
17490 (gdb-make-header-line-mouse-map): Remove duplicate definition.
17492 2009-07-18 David De La Harpe Golden <david@harpegolden.net>
17494 * simple.el (set-mark): Revert last change.
17496 2009-07-17 Tassilo Horn <tassilo@member.fsf.org>
17498 * doc-view.el (doc-view-initiate-display): Add yes-or-no-p if
17499 rendering of pngs is not possible instead of messaging a long
17502 2009-07-17 David De La Harpe Golden <david@harpegolden.net>
17504 * w32-fns.el (x-selection-owner-p): New function.
17506 * mouse.el (mouse-drag-track): Call deactivate-mark earlier.
17507 (mouse-yank-at-click, mouse-yank-primary): If
17508 select-active-regions is non-nil, deactivate the mark before
17511 * simple.el (deactivate-mark, set-mark): Only save selection if we
17514 2009-07-17 Kenichi Handa <handa@m17n.org>
17516 * case-table.el (describe-buffer-case-table): Fix for the case
17517 that KEY is a cons.
17519 2009-07-16 Dan Nicolaescu <dann@ics.uci.edu>
17521 * vc-rcs.el (vc-rcs-find-file-hook):
17522 * vc-sccs.el (vc-sccs-find-file-hook): Fix cut and paste error.
17524 2009-07-16 Michael Albinus <michael.albinus@gmx.de>
17526 * net/tramp.el (tramp-wait-for-output): Handle the case when
17527 commands do not return a newline but a null byte before the shell
17530 2009-07-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
17532 * term/ns-win.el (ns-set-alpha): Don't declare.
17533 (ns-set-background-alpha): Remove function.
17535 2009-07-16 Kevin Ryde <user42@zip.com.au>
17537 * emacs-lisp/copyright.el (copyright-update): Save match-data across
17538 y-or-n-p, for safety.
17540 2009-07-16 Richard Stallman <rms@gnu.org>
17542 * files.el (auto-save-mode): If buffer-saved-size is -2,
17545 * mail/rmail.el (rmail-variables): Set buffer-saved-size to -2.
17546 (rmail-retry-ignored-headers): Add more uninteresting fields.
17548 2009-07-15 Jari Aalto <jari.aalto@cante.net>
17550 * net/rcirc.el (rcirc): Use history variables.
17551 (rcirc-server-name-history, rcirc-nick-name-history)
17552 (rcirc-server-port-history): New variables.
17554 2009-07-15 Kenichi Handa <handa@m17n.org>
17556 * international/mule-cmds.el (set-language-environment-charset):
17557 If coding-system-charset-list returns `iso-2022' or `emacs-mule',
17560 * language/misc-lang.el ("IPA"): Change coding systems to utf-8.
17561 Delete unibyte-display.
17563 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
17565 * simple.el (kill-visual-line): Obey kill-whole-line (Bug#3695).
17567 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
17569 * simple.el (deactivate-mark): Optional argument FORCE.
17570 (set-mark): Use deactivate-mark.
17572 * info.el (Info-search): No need to check transient-mark-mode
17573 before calling deactivate-mark.
17575 * select.el (x-set-selection): Doc fix.
17576 (x-valid-simple-selection-p): Allow buffer values.
17577 (xselect--selection-bounds): Handle buffer values. Suggested by
17578 David De La Harpe Golden.
17580 * mouse.el (mouse-set-region, mouse-drag-track): Call
17581 copy-region-as-kill before setting the mark, to let
17582 select-active-regions work.
17584 2009-07-15 David De La Harpe Golden <david@harpegolden.net>
17586 * simple.el (deactivate-mark): If select-active-regions is
17587 non-nil, copy the selection data into a string.
17588 (activate-mark): If select-active-regions is non-nil, set the
17589 selection to the current buffer.
17590 (set-mark): Update selection if select-active-regions is non-nil.
17592 * select.el (x-valid-simple-selection-p): Allow buffer values.
17594 2009-07-14 Stefan Monnier <monnier@iro.umontreal.ca>
17596 * simple.el (mail-user-agent): Default to the upwardly-UI-compatible
17597 and more featureful message-mode.
17599 2009-07-14 Chong Yidong <cyd@stupidchicken.com>
17601 * select.el (x-set-selection): Doc fix.
17602 (x-valid-simple-selection-p): Disallow selection data consisting
17603 of a list or cons of integers, since that is not used.
17604 (xselect--selection-bounds, xselect--int-to-cons): New functions.
17605 (xselect-convert-to-string, xselect-convert-to-length)
17606 (xselect-convert-to-filename, xselect-convert-to-charpos)
17607 (xselect-convert-to-lineno, xselect-convert-to-colno): Use them.
17609 2009-07-14 Dmitry Dzhus <dima@sphinx.net.ru>
17611 * progmodes/gdb-mi.el (json-partial-output): Fix broken GDB/MI
17612 output in -break-info command (Emacs bug #3794).
17614 2009-07-14 Glenn Morris <rgm@gnu.org>
17616 * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-forms)
17617 (edebug-eval-macro-args, edebug-save-displayed-buffer-points)
17618 (edebug-print-length, edebug-print-level, edebug-print-circle)
17619 (edebug-sit-for-seconds, edebug-view-outside)
17620 (edebug-bounce-point, edebug-set-global-break-condition)
17621 (edebug-Go-nonstop-mode, edebug-trace-mode)
17622 (edebug-Trace-fast-mode, edebug-continue-mode)
17623 (edebug-Continue-fast-mode, edebug-forward-sexp, edebug-help)
17624 (edebug-visit-eval-list): Doc fixes.
17626 * subr.el (def-edebug-spec): Doc fix.
17628 2009-07-14 Kenichi Handa <handa@m17n.org>
17630 * international/characters.el: Fix setting of category ?C.
17632 2009-07-13 Jan Djärv <jan.h.d@swipnet.se>
17634 * term/ns-win.el (x-select-font): defalias x-select-font to
17635 ns-popup-font-panel instead of generate-fontset-menu.
17637 2009-07-12 Eli Zaretskii <eliz@gnu.org>
17639 * desktop.el (desktop-buffers-not-to-save): Remove ".log". (Bug#3833)
17641 2009-07-12 Peter Jolly <peter@jollys.org> (tiny change)
17643 * arc-mode.el (archive-find-type): Allow for a PK00 string before
17644 the PK\003\004 header (Bug#3770).
17646 2009-07-12 Guanpeng Xu <herberteuler@hotmail.com>
17648 * pcomplete.el (pcomplete-comint-setup): Check for
17649 shell-dynamic-complete-filename too.
17651 2009-07-11 Chong Yidong <cyd@stupidchicken.com>
17653 * simple.el (temporary-goal-column): Change the value for
17654 line-move-visual to a cons cell.
17655 (line-move-visual): Record or set the window hscroll, if
17656 necessary (Bug#3494).
17657 (line-move-1): Handle cons value of temporary-goal-column.
17659 2009-07-11 Kenichi Handa <handa@m17n.org>
17661 * international/mule-diag.el (describe-character-set): Don't show
17664 2009-07-10 Sam Steingold <sds@gnu.org>
17666 * progmodes/compile.el (compilation-mode-font-lock-keywords):
17667 Omake sometimes indents the errors it prints, so allow all
17668 regexps to start with spaces.
17670 2009-07-10 Eli Zaretskii <eliz@gnu.org>
17672 * cus-edit.el (customize-changed-options-previous-release):
17673 Bump value to 22.1. (Bug#3804)
17675 2009-07-08 Sam Steingold <sds@gnu.org>
17677 * progmodes/grep.el (rgrep): Allow grep-find-ignored-directories
17678 to be a cons cell (test . ignored-directory) to selectively ignore
17679 some directories depending on the location of the search.
17681 2009-07-08 Michael Albinus <michael.albinus@gmx.de>
17683 * net/tramp.el (tramp-set-file-uid-gid): Handle the case the
17684 remote user is root, on the local host.
17685 (tramp-local-host-p): Either the local user or the remote user
17686 must be root. (Bug#3771)
17688 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
17690 * progmodes/gdb-mi.el (gdb): Remove description of
17691 gdb-use-separate-io-buffer.
17692 (menu): Don't allow toggling of or enable
17693 gdb-use-separate-io-buffer from menubar.
17695 2009-07-08 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
17697 * mail/unrmail.el (unrmail): Make sure the message ends with two
17698 newlines (Bug#3769).
17700 2009-07-08 Glenn Morris <rgm@gnu.org>
17702 * calendar/calendar.el (calendar-current-date): Rework previous change.
17704 2009-07-08 Ed Reingold <reingold@emr.cs.iit.edu>
17706 * calendar/calendar.el (calendar-current-date):
17707 Add an optional argument giving an offset from today.
17709 2009-07-08 Glenn Morris <rgm@gnu.org>
17711 * tutorial.el (tutorial--describe-nonstandard-key):
17712 Adjust the message for when a key has been unbound.
17713 (help-with-tutorial): Hide the arch-tag.
17715 2009-07-08 Kenichi Handa <handa@m17n.org>
17717 * international/fontset.el (setup-default-fontset): For each
17718 script, append (not set) font-specs.
17720 * language/japanese.el (japanese-shift-jis-2004): Fix typo in the
17723 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
17725 * progmodes/gdb-mi.el (gdb-init-1): Move sending
17726 -data-list-register-names to ...
17727 (gdb-starting): ... here because GDB 7.0 requires execution to
17728 have started when using this MI command.
17729 (gdb-set-header): New function to distinguish select and
17730 unselected tabs in gdb buffers.
17731 (gdb-propertize-header): New macro that uses gdb-set-header.
17732 (gdb-breakpoints-header, gdb-locals-header): Use it.
17733 (gdb-disassembly-mode-map): Add keybinding to kill buffer.
17735 2009-07-07 Chong Yidong <cyd@stupidchicken.com>
17737 * Makefile.in (ELCFILES): Remove fadr.elc.
17739 2009-07-07 Dmitry Dzhus <dima@sphinx.net.ru>
17741 * progmodes/gdb-mi.el (gdb-init-1): Disassembly buffer mode name
17742 may contain frame information, so `string-match' should be used.
17743 (gdb-update): Disassembly is invalidated through
17744 `gdb-get-selected-frame'.
17745 (gdb-pad-string): New function to pad string with spaces.
17746 (gdb-invalidate-disassembly): Invalidate only if the buffer
17748 (gdb-disassembly-handler-custom): Column alignment.
17749 (gdb-disassembly-place-breakpoints): Clear old breakpoints before
17751 (gdb-toggle-breakpoint, gdb-delete-breakpoint): Now work from the
17753 (gdb-frame-handler): Match convention to for disassembly buffer
17755 (gdb-stack-list-frames-handler): Rewritten without regexps.
17756 (gdb-breakpoints-list-handler-custom): y/n instead of on/off; do
17757 not highlight breakpoints without line information.
17758 (gdb-input): Add trailing newline to command.
17760 * progmodes/gdb-mi.el (gdb-init-1): Set mode name for disassembly
17762 (gdb-breakpoints-list-handler-custom): Replacement for
17763 `gdb-break-list-handler'. Using real parser instead of regexps
17765 (gdb-place-breakpoints): Replacement for `gdb-break-list-custom'.
17766 Use `gdb-breakpoints-list' instead of parsing breakpoints buffer
17767 to place breakpoints.
17768 (def-gdb-memory-unit): A new macro to define gdb-memory-unit-..
17770 (gdb-disassembly-handler-custom): Show overlay arrow.
17771 (gdb-disassembly-place-breakpoints): Show breakpoints in
17772 disassembly buffer.
17773 (gdb-toggle-breakpoint, gdb-delete-breakpoint)
17774 (gdb-goto-breakpoint): Using `gdb-breakpoint' text properties
17775 instead of parsing breakpoints buffer. Fixed old menu references
17780 * progmodes/gdb-mi.el: Port memory buffer from gdb-ui.el.
17781 (gdb-memory-address): New variable which holds top address of
17782 memory page shown in memory buffer.
17783 (gdb-memory-repeat-count, gdb-memory-format, gdb-memory-unit): New
17784 customization variables.
17786 (gdb-display-memory-buffer, gdb-frame-memory-buffer): Functions to
17787 display the memory buffer.
17788 (gdb-memory-set-address, gdb-memory-set-repeat-count): Set memory
17789 buffer display parameters.
17790 (def-gdb-memory-format, gdb-memory-format-binary)
17791 (gdb-memory-format-octal, gdb-memory-format-unsigned)
17792 (gdb-memory-format-signed, gdb-memory-format-hexadecimal):
17793 Functions for setting memory buffer format.
17794 (gdb-memory-unit-word, gdb-memory-unit-halfword)
17795 (gdb-memory-unit-giant, gdb-memory-unit-byte): Functions to set
17796 unit size used in memory buffer.
17797 (gdb-memory-show-next-page, gdb-memory-show-previous-page): Switch
17798 to next/previous page of memory buffer.
17799 Now using (bindat-get-field) instead of fadr functions.
17801 2009-07-07 Sam Steingold <sds@gnu.org>
17803 * vc-cvs.el (vc-cvs-merge-news): Fix message parsing for
17804 non-top-level files.
17806 2009-07-07 Kenichi Handa <handa@m17n.org>
17808 * international/mule-cmds.el (reset-language-environment): Put
17809 the highset priority to the charset iso-8859-1.
17811 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
17813 * progmodes/hideshow.el (hs-hide-block-at-point): Don't move point
17814 to the end of the line when locating the block (Bug#700).
17816 2009-07-06 Michael Albinus <michael.albinus@gmx.de>
17818 * net/tramp.el (tramp-handle-write-region): Flush file properties
17819 in case of short track.
17821 2009-07-06 Michael McNamara <mac@mail.brushroad.com>
17823 * progmodes/verilog-mode.el (verilog-error-regexp-emacs-alist):
17824 Coded custom representation of verilog error regular expressions
17825 to work with Emacs-22's new format.
17826 (verilog-error-regexp-xemacs-alist): Coded custom representation
17827 of verilog error regular expressions to work with XEmacs format.
17828 (verilog-error-regexp-add-xemacs): Hook routine to install verilog
17829 error recognition into XEmacs.
17830 (verilog-error-regexp-add-emacs): Hook routine to install verilog
17831 error recognition into Emacs-22.
17833 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
17835 * woman.el: Remove stand-alone closing parentheses.
17836 (woman-file-name, woman2-format-paragraphs)
17837 (woman-leave-blank-lines): Code cleanup.
17838 (woman-use-own-frame): Change default to nil.
17839 (woman-italic, woman-bold, woman-unknown, woman-addition): Change
17840 defaults to inherit from default faces.
17841 (woman2-process-escapes): Consume the newline after a stand-alone
17842 filler character (Bug#3651).
17844 2009-07-06 Glenn Morris <rgm@gnu.org>
17846 * ffap.el (ffap-version): Make it an obsolete alias for emacs-version.
17847 (top-level): Move provide to the end.
17848 (ffap): Remove defunct URL from custom group.
17850 * subr.el (eval-after-load): Doc fix.
17852 2009-07-06 Vincent Belaïche <vincent.belaiche@gmail.com>
17854 * calc/calc-embed.el (calc-embedded-make-info): Don't force when
17855 `calc-embedded-word' is called twice.
17857 2009-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
17859 * files.el (find-alternate-file-other-window, find-alternate-file):
17860 Obey confirm-nonexistent-file-or-buffer.
17862 2009-07-05 Michael Albinus <michael.albinus@gmx.de>
17864 * dired-aux.el (dired-show-file-type): Handle remote files.
17866 2009-07-05 Jari Aalto <jari.aalto@cante.net>
17868 * desktop.el (desktop-globals-to-save):
17869 Add file-name-history (Bug#2750).
17871 2009-07-05 Chong Yidong <cyd@stupidchicken.com>
17873 * add-log.el (add-log-current-defun-header-regexp): Doc fix (Bug#2217).
17875 2009-07-04 Johan Bockgård <bojohan@gnu.org>
17877 * eshell/esh-arg.el (eshell-parse-argument-hook): Put `number'
17878 property on entire argument since this is what eshell-lisp-command
17881 2009-07-03 Michael Albinus <michael.albinus@gmx.de>
17883 * net/tramp-gvfs.el (tramp-gvfs-methods)
17884 (tramp-gvfs-zeroconf-domain)
17885 (tramp-bluez-discover-devices-timeout): Add version flag.
17886 (tramp-gvfs-handler-mounted-unmounted)
17887 (tramp-gvfs-connection-mounted-p): Polish handling of
17888 incompatibilities between GVFS 0.2 and 1.0.
17890 2009-07-03 Jan Djärv <jan.h.d@swipnet.se>
17892 * cus-start.el (all): Add make-pointer-invisible.
17894 2009-07-03 Jay Belanger <jay.p.belanger@gmail.com>
17896 * calc/calc-math.el (math-use-emacs-fn): Make sure that the number is
17897 formatted correctly.
17899 2009-07-02 Juri Linkov <juri@jurta.org>
17901 * info.el: Virtual Info files and nodes.
17902 (Info-virtual-files, Info-virtual-nodes): New variables.
17903 (Info-current-node-virtual): New variable.
17904 (Info-virtual-file-p, Info-virtual-fun, Info-virtual-call):
17906 (Info-file-supports-index-cookies): Use Info-virtual-file-p
17907 to check for a virtual file instead of checking a fixed list
17909 (Info-find-file): Use Info-virtual-fun and Info-virtual-call
17910 instead of ad-hoc processing of "dir" and (apropos history toc).
17911 (Info-find-node-2): Use Info-virtual-fun and Info-virtual-call
17912 instead of ad-hoc processing of "dir" and (apropos history toc).
17913 Reread a file when moving from a virtual node.
17914 (add-to-list)<Info-virtual-files>: Add "\\`dir\\'".
17915 (Info-directory-toc-nodes, Info-directory-find-file)
17916 (Info-directory-find-node): New functions.
17917 (add-to-list)<Info-virtual-files>: Add "\\`\\*History\\*\\'".
17918 (Info-history): Move part of code to
17919 `Info-history-find-node'.
17920 (Info-history-toc-nodes, Info-history-find-file)
17921 (Info-history-find-node): New functions.
17922 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*TOC\\*\\'".
17923 (Info-toc): Move part of code to `Info-toc-find-node'.
17924 (Info-toc-find-node): New function.
17925 (Info-toc-insert): Rename from `Info-insert-toc'. Don't insert
17926 the current Info file name to references because now the node
17927 "*TOC*" belongs to the same Info manual.
17928 (Info-toc-build): Rename from `Info-build-toc'.
17929 (Info-toc-nodes): Rename input argument `file' to `filename'.
17930 Use Info-virtual-fun, Info-virtual-call and Info-virtual-file-p
17931 instead of ad-hoc processing of ("dir" apropos history toc).
17932 (Info-index-nodes): Use Info-virtual-file-p
17933 to check for a virtual file instead of checking a fixed list
17935 (Info-index-node): Add check for `Info-current-node-virtual'.
17936 Raise `save-match-data' higher up the tree to contain
17937 `search-forward' too (bug fix).
17938 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*Index.*\\*\\'".
17939 (Info-virtual-index-nodes): New variable.
17940 (Info-virtual-index-find-node, Info-virtual-index): New functions.
17941 (add-to-list)<Info-virtual-files>: Add "\\`\\*Apropos\\*\\'".
17942 (Info-apropos-file, Info-apropos-nodes): New variables.
17943 (Info-apropos-toc-nodes, Info-apropos-find-file)
17944 (Info-apropos-find-node, Info-apropos-matches): New functions.
17945 (info-apropos): Move part of code to `Info-apropos-find-node' and
17946 `Info-apropos-matches'.
17947 (Info-mode-map): Bind "I" to `Info-virtual-index'.
17948 (Info-desktop-buffer-misc-data): Use Info-virtual-file-p to check
17949 for a virtual file instead of checking a fixed list of node names.
17951 * simple.el (async-shell-command): New command.
17953 * bindings.el (esc-map): Bind "&" to `async-shell-command'.
17955 * net/tramp-gvfs.el (tramp-gvfs-connection-mounted-p): Use `elt'
17956 instead of `mount-info'.
17958 2009-07-02 Michael Albinus <michael.albinus@gmx.de>
17960 * net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted)
17961 (tramp-gvfs-connection-mounted-p): Handle changed mount-info interface.
17963 2009-07-02 Kenichi Handa <handa@m17n.org>
17965 * international/mule.el (set-keyboard-coding-system): Force *-unix
17966 coding-system to avoid eol conversion.
17968 2009-07-01 Michael Albinus <michael.albinus@gmx.de>
17970 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
17971 Add handler for `process-file', `shell-command' and
17972 `start-file-process'.
17973 (tramp-gvfs-handle-shell-command)
17974 (tramp-gvfs-handle-start-file-process)
17975 (tramp-gvfs-handle-process-file): New defuns.
17976 (tramp-synce-list-devices): Simplify check for existence of property.
17978 2009-07-01 Jan Djärv <jan.h.d@swipnet.se>
17980 * startup.el (command-line-x-option-alist): Add -mm and --maximized.
17982 2009-07-01 Eduard Wiebe <usenet@pusto.de> (tiny change)
17984 * language/korean.el (set-language-info-alist): Add korean-cp949,
17987 2009-07-01 Kenichi Handa <handa@m17n.org>
17989 * Makefile.in (ELCFILES): Delete encoded-kb.elc.
17991 * international/encoded-kb.el: Deleted.
17993 * international/mule.el (set-keyboard-coding-system): Perform the
17994 necessary setup here instead of calling encoded-kbd-setup-display.
17996 2009-07-01 Glenn Morris <rgm@gnu.org>
17998 * progmodes/f90.el (f90-break-delimiters, f90-no-break-re): Doc fixes.
18000 2009-07-01 Evangelos Evangelou <vangelis@email.unc.edu> (tiny change)
18002 * progmodes/f90.el (f90-no-break-re): Add "(/" and "/)". (Bug#3730)
18004 2009-06-30 Michael Albinus <michael.albinus@gmx.de>
18006 * net/tramp.el (tramp-do-copy-or-rename-file-directly):
18007 Handle also the 'rename case, when setting file modes. (Bug#3712)
18008 (tramp-default-file-modes): Remove execute permissions.
18010 * net/tramp-gvfs.el (tramp-gvfs-methods): Add "synce" method.
18011 (top): Add a default for "synce" in `tramp-default-user-alist'.
18012 Add completion function for "synce" method.
18013 (tramp-hal-service, tramp-hal-path-manager)
18014 (tramp-hal-interface-manager, tramp-hal-interface-device):
18016 (tramp-gvfs-connection-mounted-p): Handle empty user name for synce.
18017 (tramp-synce-list-devices, tramp-synce-parse-device-names):
18020 * net/trampver.el: Update release number.
18022 2009-06-30 Kenichi Handa <handa@m17n.org>
18024 * international/fontset.el (setup-default-fontset): Add CJK fonts
18025 for symbols and the other miscellaneous characters.
18027 * language/korea-util.el (setup-korean-environment-internal):
18028 Make char-width-table suitable for Korean environments.
18029 (exit-korean-environment): Cancel above.
18031 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
18032 ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK"): Add a
18033 setup-function to make char-width-table suitable for respective
18034 environments, and an exit-function to cancel that.
18036 * language/japan-util.el (setup-japanese-environment-internal):
18037 Call use-cjk-char-width-table with arg `ja_JP'.
18039 * international/characters.el (cjk-char-width-table): Delete it.
18040 (cjk-char-width-table-list): New variable.
18041 (use-cjk-char-width-table): New arg local-name.
18042 (use-default-char-width-table): Fix for the case that Emacs is
18043 already using the default char-width-table.
18045 2009-06-29 Michael Albinus <michael.albinus@gmx.de>
18047 * net/tramp.el (tramp-do-copy-or-rename-file-directly): Set file
18048 modes mandatory. (Bug#3712)
18050 2009-06-29 Alan Mackenzie <acm@muc.de>
18052 * progmodes/cc-cmds.el (c-mask-paragraph): Remove a spurious
18053 correction between the visible width of TABs and their number of bytes.
18055 2009-06-29 Chong Yidong <cyd@stupidchicken.com>
18057 * server.el (server-buffer-done): Prevent kill-buffer from
18058 prompting by clearing the buffer modification flag (Bug#3696).
18060 2009-06-28 Michael McNamara <mac@mail.brushroad.com>
18062 * progmodes/verilog-mode.el (verilog-beg-of-statement)
18063 (verilog-endcomment-reason-re): Support unique case and priority case.
18064 (verilog-basic-complete-re): Support localparam lineup.
18065 (verilog-beg-of-statement-1): Fix for robustness, unique case.
18066 (verilog-set-auto-endcomments): Fix for unique case, always_comb
18068 (verilog-leap-to-case-head): Now support *nested* unique &
18069 priority case statements.
18070 (verilog-auto-lineup): Make just declarations the default (as it
18072 (verilog-leap-to-case-head): Support priority/unique case statements.
18073 (verilog-auto-lineup): Rework to give users radio buttons to
18074 select the various styles of automatic lineup.
18075 (verilog-error-regexp-alist): Rework to support the XEmacs style
18076 of error regular expressions from compilers, lint tools &
18077 simulators. Note that GNU Emacs has made it impossible for a mode
18078 to load such things.
18079 (electric-verilog-terminate-line, verilog-indent-declaration)
18080 (verilog-auto-wiure): Rework for radio button selection of
18081 auto-lineup selection of specification of auto lineup.
18082 (verilog-beg-of-statement-1): Redesign to support proper operation
18083 in additional code, based on testing with auto-lineup.
18084 (verilog-calculate-indent, assignments & declarations)
18085 (verilog-backward-token): Enhance to support auto-lineup of
18086 assignments & declarations.
18087 (verilog-in-directive-p, verilog-at-struct-p): New function for
18088 easy test of whether we are.
18089 (verilog-pretty-declarations, verilog-pretty-expr): Massive rework
18090 to support safe execution at almost anyline.
18091 (verilog-calc-1): Properly support indenting deep inside generate
18093 (verilog-init-font): Remove definition & use of verilog-init-font,
18094 as it is redundant with font-lock-defaults.
18095 (verilog-mode): Alter the definition of verilog-font-lock-defaults
18096 to avoid circular calls if syntax-ppss is a function (as is the
18097 case now in 22.x GNU Emacs) as that function would sometimes call
18098 itself, leading to (nearly) infinite recursion.
18099 (verilog-ovm-begin-re, verilog-ovm-end-re)
18100 (verilog-ovm-statement-re, verilog-leap-to-head)
18101 (verilog-backward-token): Add support for OVM macros. Some are
18102 complete statements, and others open and close scopes like begin
18104 (verilog-defun-level-not-generate-re, verilog-defun-level-re)
18105 (verilog-defun-level-generate-only-re): Really fix the defun-list
18107 (verilog-calc-1, verilog-beg-of-statement): Enhance support for
18108 coverpoint, constraint and cross statements.
18109 (verilog-defun-level-list, verilog-generate-defun-level-list)
18110 (verilog-all-defun-level-list): Redo these specifications - it is
18111 too hard to support eval-when compile aggregation of lists also
18112 built at when-compile time.
18113 (verilog-defun-level-list): Place defconsts of variables used in
18114 building regular expressions which are built in eval-when-compile
18115 bodies in the same eval-when-compile body to facilitate compile
18117 (verilog-beg-block-re-ordered): Support indenting
18118 virtual/protected tasks and functions.
18119 (verilog-defun-level-list, verilog-in-generate-region-p)
18120 (verilog-backward-ws&directives, verilog-calc-1): Speed up
18121 indentation of some module items (generate items).
18122 (verilog-forward-sexp, verilog-leap-to-head): Support stepping
18123 across virtual/protected tasks and functions.
18125 2009-06-28 Wilson Snyder <wsnyder@wsnyder.org>
18127 * progmodes/verilog-mode.el (verilog-auto-arg, verilog-auto-arg-sort):
18128 Allow sorting AUTOARG lists. Suggested by Andrea Fedeli.
18129 (verilog-read-sub-decls-line): Fix AUTOWIRE signals getting lost
18130 in concatenations. Reported by Yishay Belkind.
18131 (verilog-auto-ascii-enum): Support one-hot state machines in
18132 AUTOASCIIENUM. Suggested by Lloyd Gomez.
18133 (verilog-auto-inst, verilog-auto-inst-port): Include interface
18134 modport in AUTOINST and add vl-modport for users. Reported by
18136 (verilog-auto-inout-module, verilog-auto-inst)
18137 (verilog-decls-get-interfaces, verilog-insert-definition)
18138 (verilog-insert-one-definition, verilog-read-decls)
18139 (verilog-read-sub-decls, verilog-read-sub-decls-sig)
18140 (verilog-sig-modport, verilog-signals-combine-bus)
18141 (verilog-subdecls-get-interfaces): Fix expansion of SystemVerilog
18142 interfaces in AUTOINOUTMODULE, AUTOINOUTCOMP, and AUTOINST.
18143 Suggested by David Rogoff.
18144 (verilog-repair-open-comma): Fix non-insertion of comma when
18145 `DEFINE occurs in V2K argument list. Reported by Lane Brooks.
18146 (verilog-make-width-expression): Simplify [A-1:0] expression
18147 widths to just {A{1'b0}}.
18148 (verilog-mode): Cleanup checkdoc warnings.
18149 (verilog-auto-inout-module, verilog-signals-matching-dir-re):
18150 Add third optional regexp to AUTOINOUTMODULE to allow selecting only
18151 inputs/outputs or data type. Suggested by Vasu Kandadi.
18152 (next-error-last-buffer): Fix byte-compiler warning.
18153 (verilog-auto, verilog-auto-insert-lisp, verilog-auto-inst)
18154 (verilog-delete-auto): Add AUTOINSERTLISP to insert arbitrary lisp
18155 or shell command text during AUTO expansion. Suggested by Tad Truex.
18156 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line)
18157 (verilog-read-sub-decls-sig, verilog-symbol-detick-text):
18158 Fix dotted nets {a.b,c.d} and excaped identifiers being mis-included
18159 in AUTOINOUT. Reported by Matthew Lovell.
18160 (verilog-read-always-signals-recurse): Fix AUTORESET "if (a<=b)"
18161 causing use of <= assignments. Reported by Alex Reed.
18162 (verilog-read-decls): Fix triand, trior, wand, wor to be
18163 recognized by AUTOWIRE. Reported by Spencer Isaacson.
18164 (verilog-extended-complete-re): Support import "DPI-C" functions.
18165 (verilog-read-always-signals-recurse): Fix AUTORESET of "x <=
18166 y[a+1:a+1]" to not include a in reset list. Reported by Dan Dever.
18167 (verilog-insert-date, verilog-insert-year)
18168 (verilog-sk-header-tmpl): Fix verilog-header inserting error on
18169 Windows systems. Reported by Michael Potts.
18170 (verilog-read-module-name): Fix AUTOINST when the child module
18171 declaration's name is a tick define. Reported by Elliot Mednick.
18172 (verilog-read-decls): Fix V2K parameter bit subscripts getting
18173 passed to next parameter's definition. Reported by Bruce T.
18174 (verilog-read-decls): Fix detecting "parameter int" when using
18175 AUTOINSTPARAM. Reported by Bruce T.
18176 (verilog-goto-defun): Fix goto not finding modules unless first
18177 perform a verilog-auto expansion. Suggested by Lawrence Butcher.
18178 (verilog-mode): Expand -f flag arguments on entry to mode so
18179 verilog-goto-defun will work. Reported by Lawrence Butcher.
18180 (verilog-getopt): Expand environment variables in -f file
18181 arguments. Suggested by Lawrence Butcher.
18182 (verilog-set-define): Fix "Symbol's value as variable is void"
18183 when reading enumerations.
18184 (verilog-auto-ascii-enum): Fix duplicate labels in AUTOASCIIENUM.
18185 Suggested by Stephen Peltan.
18186 (verilog-read-defines): Fix reading of enumerations in include
18187 files. Reported by Steve Peltan.
18189 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
18191 * files.el (trash-directory): Fix defcustom type.
18193 2009-06-28 Juri Linkov <juri@jurta.org>
18195 * help-fns.el (describe-function-1): Correctly locate adviced
18196 functions in hyperlink (Bug#2438).
18198 2009-06-28 Chong Yidong <cyd@stupidchicken.com>
18200 * files.el (trash-directory): Change default to nil.
18201 (move-file-to-trash): If trash-directory is nil and
18202 system-move-file-to-trash is unbound, perform freedesktop-style
18205 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
18207 * files.el (move-file-to-trash): Add freedesktop trash
18210 2009-06-28 Glenn Morris <rgm@gnu.org>
18212 * autorevert.el (global-auto-revert-non-file-buffers)
18213 (global-auto-revert-mode): Doc fixes.
18215 2009-06-27 Johan Bockgård <bojohan@gnu.org>
18217 * emacs-lisp/cl-specs.el (defstruct): Fix :conc-name spec.
18219 2009-06-27 Chong Yidong <cyd@stupidchicken.com>
18221 * faces.el (x-handle-named-frame-geometry): Ensure that we have
18222 opened an X connection before calling x-get-resource (Bug#3194).
18224 * play/doctor.el: Remove reference to obsolete website.
18225 (make-doctor-variables): Correct grammar mistake (Bug#2633).
18227 2009-06-26 Dan Nicolaescu <dann@ics.uci.edu>
18229 Remove find-file-not-found-hook VC method. (Bug#2757)
18230 * vc-hooks.el (vc-file-not-found-hook)
18231 (vc-default-find-file-not-found-hook): Remove functions.
18232 (find-file-not-found-functions): Do not add vc-file-not-found-hook.
18233 * vc-rcs.el (vc-rcs-find-file-not-found-hook): Remove function.
18236 * vc-git.el: Do not mention find-file-not-found-hook VC method.
18238 2009-06-25 Agustín Martín <agustin.martin@hispalinux.es>
18240 * textmodes/ispell.el: Add `ispell-looking-back' XEmacs
18241 compatibility function for `looking-back'.
18243 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
18244 Use `ispell-looking-back'.
18246 2009-06-24 Michael Albinus <michael.albinus@gmx.de>
18248 * net/tramp-gvfs.el (tramp-gvfs-handle-make-directory): Use `dir'
18249 rather than `filename'.
18251 2009-06-23 Miles Bader <miles@gnu.org>
18253 * face-remap.el (text-scale-set): New function.
18255 2009-06-23 Glenn Morris <rgm@gnu.org>
18257 * pcmpl-rpm.el (pcomplete/rpm): Doc fix.
18259 * bindings.el (mode-line-modified): Fix case of "Buffer is modified".
18261 * textmodes/ispell.el (ispell-local-dictionary): Doc fix.
18263 * progmodes/gdb-mi.el (gud-remove, gud-break): Update declarations.
18265 * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
18266 Simplify Persian conditionals.
18268 * calc/calc-graph.el (calc-graph-plot): Avoid assignment to free
18269 variable `filename'.
18271 * comint.el (comint-insert-input): Doc fix.
18273 * Makefile.in (ELCFILES): Fix typo in previous change.
18275 2009-06-23 Miles Bader <miles@gnu.org>
18277 * cus-start.el: Add entry for `recenter-redisplay'.
18279 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
18281 * vc-hooks.el (vc-stay-local-p, vc-state, vc-working-revision):
18282 Add an optional argument for the backend, use it instead of
18283 calling vc-backend.
18284 (vc-mode-line): Add an optional argument for the backend.
18285 Pass the backend to vc-state and vc-working-revision. Move code for
18286 special handling for vc-state being a buffer to ...
18288 * vc-rcs.el (vc-rcs-find-file-hook):
18289 * vc-sccs.el (vc-sccs-find-file-hook): ... here. New functions.
18291 * vc-svn.el (vc-svn-state, vc-svn-dir-status, vc-svn-checkout)
18292 (vc-svn-print-log, vc-svn-diff): Pass 'SVN to vc-state,
18293 vc-stay-local-p and vc-mode-line calls.
18295 * vc-cvs.el (vc-cvs-state, vc-cvs-checkout, vc-cvs-print-log)
18296 (vc-cvs-diff, vc-cvs-annotate-command)
18297 (vc-cvs-make-version-backups-p, vc-cvs-stay-local-p)
18298 (vc-cvs-dir-status): Pass 'CVS to vc-state, vc-stay-local-p and
18299 vc-mode-line calls.
18301 * vc.el (vc-deduce-fileset): Use vc-deduce-fileset instead of
18303 (vc-next-action, vc-transfer-file, vc-rename-file): Also pass the
18304 backend when calling vc-mode-line.
18305 (vc-register): Do not create a closure for calling the vc register
18306 function, call it directly.
18308 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
18310 * emacs-lisp/elp.el (elp-output-insert-symname): Add a link face
18311 to make it obvious item can be clicked.
18313 * vc-mtn.el (vc-mtn-after-dir-status, vc-mtn-dir-status): New functions.
18315 2009-06-23 Kenichi Handa <handa@m17n.org>
18317 * language/korea-util.el (korean-key-bindings): Change the binding
18318 of F9 to hangul-to-hanja-conversion. Bind Hangul_Hanja to the
18321 2009-06-22 Michael Albinus <michael.albinus@gmx.de>
18323 Sync with Tramp 2.1.16.
18325 * Makefile.in (ELCFILES): Add net/tramp-gvfs.elc.
18327 * net/tramp.el (top): Require tramp-gvfs. Catch `tramp-loading',
18328 when a loading of a package fails. Completion function for rsync
18329 is `tramp-completion-function-alist-ssh'.
18330 (all): Replace all calls of `split-string' and
18331 `tramp-split-string' by `tramp-compat-split-string'.
18332 (tramp-default-method): Use `tramp-compat-process-running-p'.
18333 (tramp-default-proxies-alist): Allow also Lisp forms.
18334 (tramp-remote-path): Add choice "Private Directories".
18335 (tramp-wrong-passwd-regexp): Remove "Tramp connection closed" option.
18336 (tramp-domain-regexp): Allow also "-", "_" and ".".
18337 (tramp-end-of-output): Remove newlines, and add "$" at the end.
18338 (tramp-file-name-handler-alist): Add handler for `dired-uncache'.
18339 (tramp-debug-message): Insert header line in debug buffer.
18340 (tramp-handle-directory-files-and-attributes-with-stat):
18341 Care about filenames with spaces, or starting with "-".
18342 (tramp-handle-dired-uncache): New defun.
18343 (tramp-handle-insert-directory): Don't flush the directory from
18344 cache, this is handled by `dired-uncache' now.
18345 (tramp-handle-insert-file-contents): Improve error handling.
18346 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
18347 Quote `tramp-end-of-output'.
18348 (tramp-action-password): Improve trace message.
18349 (tramp-check-for-regexp): Both echoes must be present, before removing.
18350 (tramp-open-connection-setup-interactive-shell): Trace coding system.
18351 (tramp-compute-multi-hops): Eval cons cells of
18352 `tramp-default-proxies-alist'.
18353 (tramp-maybe-open-connection): Use the same command pattern for
18354 first hop and further hops.
18355 (tramp-wait-for-output): Remove handling of newlines.
18356 (tramp-get-remote-path): Handle also `tramp-own-remote-path'.
18357 (tramp-split-string): Remove function. It is handled in
18360 * net/tramp-cmds.el (tramp-bug):
18361 Recommend `tramp-cleanup-all-connections' in the bug mail.
18363 * net/tramp-compat.el (tramp-compat-split-string)
18364 (tramp-compat-process-running-p): New defuns.
18366 * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add handler
18367 for `dired-uncache'.
18369 * net/tramp-gvfs.el: New package.
18371 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
18372 Add handler for `dired-uncache'.
18373 (tramp-smb-handle-file-local-copy): Cleanup in case of error.
18375 * net/trampver.el: Update release number. Make version check fit
18378 2009-06-22 Jim Meyering <meyering@redhat.com>
18380 Automatically handle .xz suffix (XZ-compressed files), too.
18381 * jka-cmpr-hook.el (jka-compr-compression-info-list): Add xz.
18382 XZ is the successor to LZMA: <http://tukaani.org/xz/>
18384 2009-06-22 Dmitry Dzhus <dima@sphinx.net.ru>
18385 Nick Roberts <nickrob@snap.net.nz>
18387 * progmodes/gdb-mi.el: Pull further modified changes from Dmitry's
18388 repository (http://sphinx.net.ru/hg/gdb-mi/).
18390 2009-06-22 Glenn Morris <rgm@gnu.org>
18392 * files.el (dir-locals-collect-mode-variables): Allow for any number of
18393 `mode' and `eval' entries. (Bug#3430)
18395 * Makefile.in (ELCFILES): Add fadr.elc.
18397 * calendar/appt.el (appt-make-list): Fix off-by-one error caused by
18398 differing behavior of \n and ^ in strings. (Bug#3385)
18400 * emacs-lisp/cl-indent.el: Remove leading "*" from defcustom docs.
18402 * emacs-lisp/lisp-mode.el (lisp-indent-offset): Fix safe-local-variable
18404 (lisp-indent-function): Make it a defcustom.
18406 2009-06-21 Nick Roberts <nickrob@snap.net.nz>
18408 * progmodes/gdb-ui.el: Replace with ...
18409 * progmodes/gdb-mi.el: ... this file.
18410 * progmodes/gud.el: Modify for gdb-mi.el.
18412 2009-06-21 Dmitry Dzhus <dima@sphinx.net.ru>
18414 * fadr.el: New file.
18416 See ChangeLog.14 for earlier changes.
18418 ;; Local Variables:
18422 Copyright (C) 2009, 2010 Free Software Foundation, Inc.
18424 This file is part of GNU Emacs.
18426 GNU Emacs is free software: you can redistribute it and/or modify
18427 it under the terms of the GNU General Public License as published by
18428 the Free Software Foundation, either version 3 of the License, or
18429 (at your option) any later version.
18431 GNU Emacs is distributed in the hope that it will be useful,
18432 but WITHOUT ANY WARRANTY; without even the implied warranty of
18433 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18434 GNU General Public License for more details.
18436 You should have received a copy of the GNU General Public License
18437 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.