aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorKaroly Lorentey2006-12-03 12:25:18 +0000
committerKaroly Lorentey2006-12-03 12:25:18 +0000
commitd6e01aa592f7326dffeafa6e97180a1cc39fe7ea (patch)
tree5a22b785cfee1d77d6452607450a12ca82eeecd3 /lisp
parent14bcc1e098410087a837313e2fc822319ff2e8ca (diff)
parent4975e69596a64247e8995d1ff9084b98a9a5ed0d (diff)
downloademacs-d6e01aa592f7326dffeafa6e97180a1cc39fe7ea.tar.gz
emacs-d6e01aa592f7326dffeafa6e97180a1cc39fe7ea.zip
Merged from emacs@sv.gnu.org.
Patches applied: * emacs@sv.gnu.org/emacs--devo--0--patch-479 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-480 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-481 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-482 Merge from gnus--rel--5.10 * emacs@sv.gnu.org/emacs--devo--0--patch-483 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-484 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-485 Update from CVS * emacs@sv.gnu.org/gnus--rel--5.10--patch-153 Merge from emacs--devo--0 * emacs@sv.gnu.org/gnus--rel--5.10--patch-154 Update from CVS * emacs@sv.gnu.org/gnus--rel--5.10--patch-155 Update from CVS git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-585
Diffstat (limited to 'lisp')
-rw-r--r--lisp/ChangeLog144
-rw-r--r--lisp/bindings.el9
-rw-r--r--lisp/ediff-diff.el4
-rw-r--r--lisp/ediff-mult.el14
-rw-r--r--lisp/ediff.el2
-rw-r--r--lisp/emacs-lisp/cl-indent.el18
-rw-r--r--lisp/emulation/viper-cmd.el125
-rw-r--r--lisp/emulation/viper-ex.el5
-rw-r--r--lisp/emulation/viper.el2
-rw-r--r--lisp/gnus/ChangeLog15
-rw-r--r--lisp/gnus/gnus-group.el17
-rw-r--r--lisp/gnus/gnus-sum.el4
-rw-r--r--lisp/gnus/gnus.el6
-rw-r--r--lisp/gnus/message.el2
-rw-r--r--lisp/international/kkc.el2
-rw-r--r--lisp/ldefs-boot.el539
-rw-r--r--lisp/midnight.el9
-rw-r--r--lisp/progmodes/ada-mode.el20
-rw-r--r--lisp/progmodes/cperl-mode.el39
-rw-r--r--lisp/progmodes/gdb-ui.el1
-rw-r--r--lisp/progmodes/octave-inf.el24
-rw-r--r--lisp/progmodes/python.el10
-rw-r--r--lisp/select.el44
-rw-r--r--lisp/subr.el28
-rw-r--r--lisp/term/mac-win.el9
-rw-r--r--lisp/term/w32-win.el4
-rw-r--r--lisp/textmodes/flyspell.el19
-rw-r--r--lisp/url/ChangeLog17
-rw-r--r--lisp/url/url-gw.el9
-rw-r--r--lisp/url/url-http.el89
-rw-r--r--lisp/url/url.el39
-rw-r--r--lisp/vc-svn.el21
-rw-r--r--lisp/vc.el45
-rw-r--r--lisp/version.el4
-rw-r--r--lisp/window.el22
35 files changed, 907 insertions, 454 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 89a00314048..896fec114bb 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,125 @@
12006-10-27 Chong Yidong <cyd@stupidchicken.com>
2
3 * version.el (emacs-version): Bump version number to 22.0.90.
4
52006-10-26 John W. Eaton <jwe@octave.org>
6
7 * progmodes/octave-inf.el (inferior-octave-has-built-in-variables):
8 New defvar.
9 (inferior-octave-resync-dirs): Check to see whether Octave has
10 built-in variables and set inferior-octave-has-built-in-variables.
11 Check inferior-octave-has-built-in-variables to decide whether to
12 send commands that set built-in variables or call functions to
13 change Octave's behavior.
14 Send "disp (pwd ())" to Octave instead of just "pwd".
15 (inferior-octave-startup): Send "more off" to Octave instead of
16 "page_screen_output = 0".
17
182006-10-26 Chong Yidong <cyd@stupidchicken.com>
19
20 * emacs-lisp/cl-indent.el (lisp-indent-259): Indent nil's in the
21 pattern normally.
22
232006-10-26 Nick Roberts <nickrob@snap.net.nz>
24
25 * bindings.el (mode-line-mode-menu): Remove bindings for global
26 minor modes (line/column number) as they are on the menubar.
27
282006-10-25 Juanma Barranquero <lekktu@gmail.com>
29
30 * term/w32-win.el (x-handle-name-switch): Doc fix.
31 (w32-standard-fontset-spec): Fix typo in docstring.
32
33 * midnight.el (midnight-buffer-display-time): Doc fix.
34 (clean-buffer-list-kill-never-buffer-names): Add "*server*".
35
362006-10-22 martin rudalics <rudalics@gmx.at>
37
38 * textmodes/flyspell.el (flyspell-check-region-doublons):
39 Fix last fix.
40
412006-10-23 Nick Roberts <nickrob@snap.net.nz>
42
43 * bindings.el (mode-line-mode-menu): List global minor modes
44 before local ones.
45
462006-10-23 Kim F. Storm <storm@cua.dk>
47
48 * subr.el (add-to-list): Optimize if compare-fn is `eq' or `eql'.
49 (sit-for): If last command was a prefix arg, add the read-ahead
50 event to unread-command-events as (t . EVENT) so it will be added
51 to this-command-keys by read-key-sequence.
52
532006-10-22 martin rudalics <rudalics@gmx.at>
54
55 * textmodes/flyspell.el (flyspell-word): Skip past all previous
56 whitespace when checking doublons.
57 (flyspell-check-region-doublons): Fix doublon regexp.
58 (flyspell-highlight-incorrect-region): Highlight doublons using
59 flyspell-duplicate face.
60
61 * progmodes/cperl-mode.el (cperl-invalid-face): Fix defcustom.
62
632006-10-22 John Wiegley <johnw@newartisans.com>
64
65 * progmodes/python.el (python-use-skeletons): python-mode was
66 auto-inserting templates (for those with abbrev-mode on), not only
67 by default -- *but without a configuration variable to disable
68 it*. This rendered python-mode completely useless for me, so I
69 have added `python-use-skeletons', which is now off by default.
70
712006-10-22 Chong Yidong <cyd@stupidchicken.com>
72
73 * progmodes/cperl-mode.el (cperl-mode): Don't assume
74 font-lock-multiline is auto-local (it's not).
75 (cperl-windowed-init): Ensure that cperl-font-lock-multiline is
76 initialized before calling cperl-init-faces.
77
782006-10-22 Nick Roberts <nickrob@snap.net.nz>
79
80 * progmodes/gdb-ui.el (gdb-info-stack-custom): Don't try to give
81 gdb-stack-position a value when there is no fringe.
82
83 * bindings.el (mode-line-mode-menu): Disable auto-revert-tail-mode
84 indicator if not visiting a file.
85
862006-10-20 David Kastrup <dak@gnu.org>
87
88 * window.el (kill-buffer-and-window): Fix a bug where an aborted
89 operation would still cause some window to collapse later.
90
912006-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
92
93 * vc.el (vc-switch-backend): Try to be more careful with unwanted
94 side-effect due to mixing various backends's file properties.
95
96 * vc-svn.el (vc-svn-parse-status): Remove unused arg `localp'.
97 Add arg `filename' instead. Don't set vc-backend if `filename' is set.
98 Return `filename's status if applicable. Update callers.
99
1002006-10-19 Kenichi Handa <handa@m17n.org>
101
102 * international/kkc.el (kkc-region): When a key sequence is not
103 defined, append (this-single-command-raw-keys) to
104 unread-input-method-events.
105
1062006-10-19 Juanma Barranquero <lekktu@gmail.com>
107
108 * progmodes/ada-mode.el (ada-in-string-p): Doc fix.
109
1102006-10-19 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
111
112 * version.el (emacs-version): Use mac-carbon-version-string.
113
114 * term/macterm.el (res-geometry): Apply 2006-10-18 change for x-win.el.
115
1162006-10-19 Jan Dj,Ad(Brv <jan.h.d@swipnet.se>
117
118 * select.el (ccl-check-utf-8, string-utf-8-p): New functions
119 (by Kenichi Handa).
120 (xselect-convert-to-string): Decline requests for UTF8_STRING if
121 the selection is not UTF-8.
122
12006-10-18 Juanma Barranquero <lekktu@gmail.com> 1232006-10-18 Juanma Barranquero <lekktu@gmail.com>
2 124
3 * progmodes/ada-mode.el (ada-83-string-keywords) 125 * progmodes/ada-mode.el (ada-83-string-keywords)
@@ -39,8 +161,8 @@
39 161
402006-10-18 Martin Rudalics <rudalics@gmx.at> 1622006-10-18 Martin Rudalics <rudalics@gmx.at>
41 163
42 * textmodes/flyspell.el (flyspell-word-search-backward): Set 164 * textmodes/flyspell.el (flyspell-word-search-backward):
43 inhibit-point-motion-hooks to avoid looping due to intangibile 165 Set inhibit-point-motion-hooks to avoid looping due to intangibile
44 text. 166 text.
45 167
462006-10-16 Richard Stallman <rms@gnu.org> 1682006-10-16 Richard Stallman <rms@gnu.org>
@@ -301,7 +423,7 @@
301 423
302 After 5.10: 424 After 5.10:
303 425
304 This code may lock Emacs hard!!! Use on your own risk! 426 This code may lock Emacs hard!!! Use at your own risk!
305 427
306 (cperl-font-locking): New internal variable. 428 (cperl-font-locking): New internal variable.
307 (cperl-beginning-of-property): New function. 429 (cperl-beginning-of-property): New function.
@@ -315,7 +437,7 @@
315 recursively. 437 recursively.
316 Bound `next-single-property-change' via `point-max'. 438 Bound `next-single-property-change' via `point-max'.
317 (cperl-unwind-to-safe): Bound likewise 439 (cperl-unwind-to-safe): Bound likewise
318 (cperl-font-lock-fontify-region-function): Likewise 440 (cperl-font-lock-fontify-region-function): Likewise.
319 (cperl-find-pods-heres): Mark as recursive for `cperl-to-comment-or-eol' 441 (cperl-find-pods-heres): Mark as recursive for `cperl-to-comment-or-eol'
320 Initialization of `cperl-font-lock-multiline-start' could be 442 Initialization of `cperl-font-lock-multiline-start' could be
321 missed if the "main" fontification did not run due to the 443 missed if the "main" fontification did not run due to the
@@ -542,7 +664,7 @@
542 664
543 * autoinsert.el (auto-insert-alist): Doc fix. 665 * autoinsert.el (auto-insert-alist): Doc fix.
544 666
5452006-10-07 Johan Bockg,be(Brd <bojohan@dd.chalmers.se> 6672006-10-07 Johan Bockg,Ae(Brd <bojohan@dd.chalmers.se>
546 668
547 * mouse-sel.el (mouse-insert-selection-internal): 669 * mouse-sel.el (mouse-insert-selection-internal):
548 Use insert-for-yank, so that yank handlers are run. 670 Use insert-for-yank, so that yank handlers are run.
@@ -2043,7 +2165,7 @@
2043 (python-symbol-completions): Use python-imports. 2165 (python-symbol-completions): Use python-imports.
2044 (python-module-path, ffap-alist): Add support for ffap. 2166 (python-module-path, ffap-alist): Add support for ffap.
2045 (python-skeletons, python-mode-abbrev-table, def-python-skeleton) 2167 (python-skeletons, python-mode-abbrev-table, def-python-skeleton)
2046 (pythin-insert-*, python-default-template, python-expand-template): 2168 (python-insert-*, python-default-template, python-expand-template):
2047 Add templates/skeletons. 2169 Add templates/skeletons.
2048 (python-setup-brm): Support for Bicycle Repair Man. 2170 (python-setup-brm): Support for Bicycle Repair Man.
2049 (python-abbrev-syntax-table): New var. 2171 (python-abbrev-syntax-table): New var.
@@ -26932,7 +27054,7 @@
26932 27054
26933 * emacs-lisp/lisp-mode.el (lisp-mode-variables): 27055 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
26934 Add ;;;###autoload to `outline-regexp'. Suggested by Stefan Monnier 27056 Add ;;;###autoload to `outline-regexp'. Suggested by Stefan Monnier
26935 <monnier@iro.umontreal.ca> 27057 <monnier@iro.umontreal.ca>.
26936 (lisp-outline-level): Improve efficiency. Suggested by David 27058 (lisp-outline-level): Improve efficiency. Suggested by David
26937 Kastrup <dak@gnu.org>. 27059 Kastrup <dak@gnu.org>.
26938 27060
@@ -27344,7 +27466,7 @@
27344 27466
27345 * progmodes/gdb-ui.el (gdb-info-breakpoints-custom) 27467 * progmodes/gdb-ui.el (gdb-info-breakpoints-custom)
27346 (gdb-goto-breakpoint): Make breakpoint handling work on template 27468 (gdb-goto-breakpoint): Make breakpoint handling work on template
27347 functions in C++. Reported by Martin Reed <mjreed@essex.ac.uk> 27469 functions in C++. Reported by Martin Reed <mjreed@essex.ac.uk>.
27348 (gdb-assembler-custom): Update to recognize breakpoint information 27470 (gdb-assembler-custom): Update to recognize breakpoint information
27349 added on 2005-01-19. 27471 added on 2005-01-19.
27350 27472
@@ -27617,10 +27739,10 @@
27617 (tramp-do-copy-or-rename-file-directly): Mask `cp -p' error. 27739 (tramp-do-copy-or-rename-file-directly): Mask `cp -p' error.
27618 Call `set-file-modes' when appropriate. 27740 Call `set-file-modes' when appropriate.
27619 (tramp-action-out-of-band): Mask `scp -p' error. Reported by Isak 27741 (tramp-action-out-of-band): Mask `scp -p' error. Reported by Isak
27620 Johnsson <isak@hypergene.com> 27742 Johnsson <isak@hypergene.com>.
27621 (tramp-get-buffer, tramp-get-debug-buffer): Discard the undo list 27743 (tramp-get-buffer, tramp-get-debug-buffer): Discard the undo list
27622 of both Tramp buffer and debug buffer. Reported by Joakim Verona 27744 of both Tramp buffer and debug buffer. Reported by Joakim Verona
27623 <joakim@verona.se> 27745 <joakim@verona.se>.
27624 (tramp-file-name-for-operation): Mark `shell-command' as magic for 27746 (tramp-file-name-for-operation): Mark `shell-command' as magic for
27625 Emacs only. 27747 Emacs only.
27626 27748
@@ -27666,7 +27788,7 @@
27666 * simple.el (eval-expression-print-format): Avoid warning 27788 * simple.el (eval-expression-print-format): Avoid warning
27667 about edebug-active. 27789 about edebug-active.
27668 27790
276692005-01-15 James R. Van Zandt <jrvz@comcast.net> (Tiny change) 277912005-01-15 James R. Van Zandt <jrvz@comcast.net> (tiny change)
27670 27792
27671 * progmodes/sh-script.el: Code copied from make-mode.el 27793 * progmodes/sh-script.el: Code copied from make-mode.el
27672 with small changes, 27794 with small changes,
diff --git a/lisp/bindings.el b/lisp/bindings.el
index 718feb4dbc9..1d0d49f3832 100644
--- a/lisp/bindings.el
+++ b/lisp/bindings.el
@@ -434,15 +434,14 @@ Menu of mode operations in the mode line.")
434 "Return the value of symbol VAR if it is bound, else nil." 434 "Return the value of symbol VAR if it is bound, else nil."
435 `(and (boundp (quote ,var)) ,var)) 435 `(and (boundp (quote ,var)) ,var))
436 436
437;; Use mode-line-mode-menu for local minor-modes only.
438;; Global ones can go on the menubar (Options --> Show/Hide).
437(define-key mode-line-mode-menu [overwrite-mode] 439(define-key mode-line-mode-menu [overwrite-mode]
438 `(menu-item ,(purecopy "Overwrite (Ovwrt)") overwrite-mode 440 `(menu-item ,(purecopy "Overwrite (Ovwrt)") overwrite-mode
439 :button (:toggle . overwrite-mode))) 441 :button (:toggle . overwrite-mode)))
440(define-key mode-line-mode-menu [outline-minor-mode] 442(define-key mode-line-mode-menu [outline-minor-mode]
441 `(menu-item ,(purecopy "Outline (Outl)") outline-minor-mode 443 `(menu-item ,(purecopy "Outline (Outl)") outline-minor-mode
442 :button (:toggle . (bound-and-true-p outline-minor-mode)))) 444 :button (:toggle . (bound-and-true-p outline-minor-mode))))
443(define-key mode-line-mode-menu [line-number-mode]
444 `(menu-item ,(purecopy "Line number") line-number-mode
445 :button (:toggle . line-number-mode)))
446(define-key mode-line-mode-menu [highlight-changes-mode] 445(define-key mode-line-mode-menu [highlight-changes-mode]
447 `(menu-item ,(purecopy "Highlight changes (Chg)") highlight-changes-mode 446 `(menu-item ,(purecopy "Highlight changes (Chg)") highlight-changes-mode
448 :button (:toggle . (bound-and-true-p highlight-changes-mode)))) 447 :button (:toggle . (bound-and-true-p highlight-changes-mode))))
@@ -458,11 +457,9 @@ Menu of mode operations in the mode line.")
458(define-key mode-line-mode-menu [flyspell-mode] 457(define-key mode-line-mode-menu [flyspell-mode]
459 `(menu-item ,(purecopy "Flyspell (Fly)") flyspell-mode 458 `(menu-item ,(purecopy "Flyspell (Fly)") flyspell-mode
460 :button (:toggle . (bound-and-true-p flyspell-mode)))) 459 :button (:toggle . (bound-and-true-p flyspell-mode))))
461(define-key mode-line-mode-menu [column-number-mode]
462 `(menu-item ,(purecopy "Column number") column-number-mode
463 :button (:toggle . column-number-mode)))
464(define-key mode-line-mode-menu [auto-revert-tail-mode] 460(define-key mode-line-mode-menu [auto-revert-tail-mode]
465 `(menu-item ,(purecopy "Auto revert tail (Tail)") auto-revert-tail-mode 461 `(menu-item ,(purecopy "Auto revert tail (Tail)") auto-revert-tail-mode
462 :enable (buffer-file-name)
466 :button (:toggle . (bound-and-true-p auto-revert-tail-mode)))) 463 :button (:toggle . (bound-and-true-p auto-revert-tail-mode))))
467(define-key mode-line-mode-menu [auto-revert-mode] 464(define-key mode-line-mode-menu [auto-revert-mode]
468 `(menu-item ,(purecopy "Auto revert (ARev)") auto-revert-mode 465 `(menu-item ,(purecopy "Auto revert (ARev)") auto-revert-mode
diff --git a/lisp/ediff-diff.el b/lisp/ediff-diff.el
index e3675064010..d2dff294d2e 100644
--- a/lisp/ediff-diff.el
+++ b/lisp/ediff-diff.el
@@ -1450,7 +1450,9 @@ arguments to `skip-chars-forward'."
1450 (condition-case nil 1450 (condition-case nil
1451 (let ((res 1451 (let ((res
1452 (apply 'call-process ediff-cmp-program nil nil nil 1452 (apply 'call-process ediff-cmp-program nil nil nil
1453 (append ediff-cmp-options (list f1 f2))))) 1453 (append ediff-cmp-options (list (expand-file-name f1)
1454 (expand-file-name f2))))
1455 ))
1454 (and (numberp res) (eq res 0))) 1456 (and (numberp res) (eq res 0)))
1455 (error (format "Cannot execute program %S." ediff-cmp-program))) 1457 (error (format "Cannot execute program %S." ediff-cmp-program)))
1456 )) 1458 ))
diff --git a/lisp/ediff-mult.el b/lisp/ediff-mult.el
index b33ad7c1859..2ee573a4cb9 100644
--- a/lisp/ediff-mult.el
+++ b/lisp/ediff-mult.el
@@ -1637,11 +1637,15 @@ Useful commands:
1637 (set-buffer (setq tmp-buf (get-buffer-create ediff-tmp-buffer))) 1637 (set-buffer (setq tmp-buf (get-buffer-create ediff-tmp-buffer)))
1638 (erase-buffer) 1638 (erase-buffer)
1639 (shell-command 1639 (shell-command
1640 (format "%s %s %s %s" 1640 (format
1641 ediff-custom-diff-program ediff-custom-diff-options 1641 "%s %s %s %s"
1642 (ediff-get-session-objA-name session) 1642 (shell-quote-argument ediff-custom-diff-program)
1643 (ediff-get-session-objB-name session)) 1643 ediff-custom-diff-options
1644 t)) 1644 (shell-quote-argument (ediff-get-session-objA-name session))
1645 (shell-quote-argument (ediff-get-session-objB-name session))
1646 )
1647 t)
1648 )
1645 (save-excursion 1649 (save-excursion
1646 (set-buffer meta-diff-buff) 1650 (set-buffer meta-diff-buff)
1647 (goto-char (point-max)) 1651 (goto-char (point-max))
diff --git a/lisp/ediff.el b/lisp/ediff.el
index 6b37d4c1847..14e1461a8a7 100644
--- a/lisp/ediff.el
+++ b/lisp/ediff.el
@@ -8,7 +8,7 @@
8;; Keywords: comparing, merging, patching, tools, unix 8;; Keywords: comparing, merging, patching, tools, unix
9 9
10(defconst ediff-version "2.81.1" "The current version of Ediff") 10(defconst ediff-version "2.81.1" "The current version of Ediff")
11(defconst ediff-date "September 18, 2006" "Date of last update") 11(defconst ediff-date "October 23, 2006" "Date of last update")
12 12
13 13
14;; This file is part of GNU Emacs. 14;; This file is part of GNU Emacs.
diff --git a/lisp/emacs-lisp/cl-indent.el b/lisp/emacs-lisp/cl-indent.el
index c3ceb4c2f3a..f09b72f396f 100644
--- a/lisp/emacs-lisp/cl-indent.el
+++ b/lisp/emacs-lisp/cl-indent.el
@@ -373,14 +373,16 @@ If nil, indent backquoted lists as data, i.e., like quoted lists."
373 ;; Too few elements in pattern. 373 ;; Too few elements in pattern.
374 (throw 'exit normal-indent))) 374 (throw 'exit normal-indent)))
375 ((eq tem 'nil) 375 ((eq tem 'nil)
376 (throw 'exit (list normal-indent containing-form-start))) 376 (throw 'exit (if (consp normal-indent)
377 ((eq tem '&lambda) 377 normal-indent
378 (throw 'exit 378 (list normal-indent containing-form-start))))
379 (cond ((null p) 379 ((eq tem '&lambda)
380 (list (+ sexp-column 4) containing-form-start)) 380 (throw 'exit
381 ((null (cdr p)) 381 (cond ((null p)
382 (+ sexp-column 1)) 382 (list (+ sexp-column 4) containing-form-start))
383 (t normal-indent)))) 383 ((null (cdr p))
384 (+ sexp-column 1))
385 (t normal-indent))))
384 ((integerp tem) 386 ((integerp tem)
385 (throw 'exit 387 (throw 'exit
386 (if (null p) ;not in subforms 388 (if (null p) ;not in subforms
diff --git a/lisp/emulation/viper-cmd.el b/lisp/emulation/viper-cmd.el
index 61d99e6c78d..ac3ef55d6e4 100644
--- a/lisp/emulation/viper-cmd.el
+++ b/lisp/emulation/viper-cmd.el
@@ -408,7 +408,6 @@
408 ) 408 )
409 409
410 410
411
412(defun viper-adjust-keys-for (state) 411(defun viper-adjust-keys-for (state)
413 "Make necessary adjustments to keymaps before entering STATE." 412 "Make necessary adjustments to keymaps before entering STATE."
414 (cond ((memq state '(insert-state replace-state)) 413 (cond ((memq state '(insert-state replace-state))
@@ -1263,65 +1262,69 @@ as a Meta key and any number of multiple escapes is allowed."
1263 (setq com char) 1262 (setq com char)
1264 (setq char (read-char)))))) 1263 (setq char (read-char))))))
1265 1264
1266 (if (atom com) 1265 (if (atom com)
1267 ;; `com' is a single char, so we construct the command argument 1266 ;; `com' is a single char, so we construct the command argument
1268 ;; and if `char' is `?', we describe the arg; otherwise 1267 ;; and if `char' is `?', we describe the arg; otherwise
1269 ;; we prepare the command that will be executed at the end. 1268 ;; we prepare the command that will be executed at the end.
1270 (progn 1269 (progn
1271 (setq cmd-info (cons value com)) 1270 (setq cmd-info (cons value com))
1272 (while (viper= char ?U) 1271 (while (viper= char ?U)
1273 (viper-describe-arg cmd-info) 1272 (viper-describe-arg cmd-info)
1274 (setq char (read-char))) 1273 (setq char (read-char)))
1275 ;; `char' is a movement cmd, a digit arg cmd, or a register cmd---so we 1274 ;; `char' is a movement cmd, a digit arg cmd, or a register cmd---so
1276 ;; execute it at the very end 1275 ;; we execute it at the very end
1277 (or (viper-movement-command-p char) 1276 (or (viper-movement-command-p char)
1278 (viper-digit-command-p char) 1277 (viper-digit-command-p char)
1279 (viper-regsuffix-command-p char) 1278 (viper-regsuffix-command-p char)
1280 (viper= char ?!) ; bang command 1279 (viper= char ?!) ; bang command
1281 (error "")) 1280 (viper= char ?g) ; the gg command (like G0)
1282 (setq cmd-to-exec-at-end 1281 (error ""))
1283 (viper-exec-form-in-vi 1282 (setq cmd-to-exec-at-end
1284 `(key-binding (char-to-string ,char))))) 1283 (viper-exec-form-in-vi
1285 1284 `(key-binding (char-to-string ,char)))))
1286 ;; as com is non-nil, this means that we have a command to execute 1285
1287 (if (viper-memq-char (car com) '(?r ?R)) 1286 ;; as com is non-nil, this means that we have a command to execute
1288 ;; execute apropriate region command. 1287 (if (viper-memq-char (car com) '(?r ?R))
1289 (let ((char (car com)) (com (cdr com))) 1288 ;; execute apropriate region command.
1290 (setq prefix-arg (cons value com)) 1289 (let ((char (car com)) (com (cdr com)))
1291 (if (viper= char ?r) 1290 (setq prefix-arg (cons value com))
1292 (viper-region prefix-arg) 1291 (if (viper= char ?r)
1293 (viper-Region prefix-arg)) 1292 (viper-region prefix-arg)
1294 ;; reset prefix-arg 1293 (viper-Region prefix-arg))
1295 (setq prefix-arg nil)) 1294 ;; reset prefix-arg
1296 ;; otherwise, reset prefix arg and call appropriate command 1295 (setq prefix-arg nil))
1297 (setq value (if (null value) 1 value)) 1296 ;; otherwise, reset prefix arg and call appropriate command
1298 (setq prefix-arg nil) 1297 (setq value (if (null value) 1 value))
1299 (cond 1298 (setq prefix-arg nil)
1300 ;; If we change ?C to ?c here, then cc will enter replacement mode 1299 (cond
1301 ;; rather than deleting lines. However, it will affect 1 less line than 1300 ;; If we change ?C to ?c here, then cc will enter replacement mode
1302 ;; normal. We decided to not use replacement mode here and follow Vi, 1301 ;; rather than deleting lines. However, it will affect 1 less line
1303 ;; since replacement mode on n full lines can be achieved with nC. 1302 ;; than normal. We decided to not use replacement mode here and
1304 ((equal com '(?c . ?c)) (viper-line (cons value ?C))) 1303 ;; follow Vi, since replacement mode on n full lines can be achieved
1305 ((equal com '(?d . ?d)) (viper-line (cons value ?D))) 1304 ;; with nC.
1306 ((equal com '(?d . ?y)) (viper-yank-defun)) 1305 ((equal com '(?c . ?c)) (viper-line (cons value ?C)))
1307 ((equal com '(?y . ?y)) (viper-line (cons value ?Y))) 1306 ((equal com '(?d . ?d)) (viper-line (cons value ?D)))
1308 ((equal com '(?< . ?<)) (viper-line (cons value ?<))) 1307 ((equal com '(?d . ?y)) (viper-yank-defun))
1309 ((equal com '(?> . ?>)) (viper-line (cons value ?>))) 1308 ((equal com '(?y . ?y)) (viper-line (cons value ?Y)))
1310 ((equal com '(?! . ?!)) (viper-line (cons value ?!))) 1309 ((equal com '(?< . ?<)) (viper-line (cons value ?<)))
1311 ((equal com '(?= . ?=)) (viper-line (cons value ?=))) 1310 ((equal com '(?> . ?>)) (viper-line (cons value ?>)))
1312 (t (error ""))))) 1311 ((equal com '(?! . ?!)) (viper-line (cons value ?!)))
1313 1312 ((equal com '(?= . ?=)) (viper-line (cons value ?=)))
1314 (if cmd-to-exec-at-end 1313 ;; gg acts as G0
1315 (progn 1314 ((equal (car com) ?g) (viper-goto-line 0))
1316 (setq last-command-char char) 1315 (t (error "")))))
1317 (setq last-command-event 1316
1318 (viper-copy-event 1317 (if cmd-to-exec-at-end
1319 (if viper-xemacs-p (character-to-event char) char))) 1318 (progn
1320 (condition-case nil 1319 (setq last-command-char char)
1321 (funcall cmd-to-exec-at-end cmd-info) 1320 (setq last-command-event
1322 (error 1321 (viper-copy-event
1323 (error ""))))) 1322 (if viper-xemacs-p (character-to-event char) char)))
1324 )) 1323 (condition-case nil
1324 (funcall cmd-to-exec-at-end cmd-info)
1325 (error
1326 (error "")))))
1327 ))
1325 1328
1326(defun viper-describe-arg (arg) 1329(defun viper-describe-arg (arg)
1327 (let (val com) 1330 (let (val com)
@@ -1733,6 +1736,7 @@ invokes the command before that, etc."
1733 (max viper-com-point (point)))) 1736 (max viper-com-point (point))))
1734 ((viper= char ?g) 1737 ((viper= char ?g)
1735 (push-mark viper-com-point t) 1738 (push-mark viper-com-point t)
1739 ;; execute the last emacs kbd macro on each line of the region
1736 (viper-global-execute)) 1740 (viper-global-execute))
1737 ((viper= char ?q) 1741 ((viper= char ?q)
1738 (push-mark viper-com-point t) 1742 (push-mark viper-com-point t)
@@ -3996,6 +4000,7 @@ Null string will repeat previous search."
3996(defun viper-buffer-search-enable (&optional c) 4000(defun viper-buffer-search-enable (&optional c)
3997 (cond (c (setq viper-buffer-search-char c)) 4001 (cond (c (setq viper-buffer-search-char c))
3998 ((null viper-buffer-search-char) 4002 ((null viper-buffer-search-char)
4003 ;; ?g acts as a default value for viper-buffer-search-char
3999 (setq viper-buffer-search-char ?g))) 4004 (setq viper-buffer-search-char ?g)))
4000 (define-key viper-vi-basic-map 4005 (define-key viper-vi-basic-map
4001 (cond ((viper-characterp viper-buffer-search-char) 4006 (cond ((viper-characterp viper-buffer-search-char)
diff --git a/lisp/emulation/viper-ex.el b/lisp/emulation/viper-ex.el
index f9f08034582..9f69c685948 100644
--- a/lisp/emulation/viper-ex.el
+++ b/lisp/emulation/viper-ex.el
@@ -1624,8 +1624,9 @@ reversed."
1624 (progn 1624 (progn
1625 (setq command 1625 (setq command
1626 ;; replace # and % with the previous/current file 1626 ;; replace # and % with the previous/current file
1627 (ex-expand-filsyms (concat ex-file ex-cmdfile-args) 1627 (ex-expand-filsyms
1628 (current-buffer))) 1628 (concat (shell-quote-argument ex-file) ex-cmdfile-args)
1629 (current-buffer)))
1629 (shell-command command t)) 1630 (shell-command command t))
1630 (insert-file-contents ex-file))) 1631 (insert-file-contents ex-file)))
1631 (ex-fixup-history viper-last-ex-prompt ex-file ex-cmdfile-args)) 1632 (ex-fixup-history viper-last-ex-prompt ex-file ex-cmdfile-args))
diff --git a/lisp/emulation/viper.el b/lisp/emulation/viper.el
index ea70ad609ad..82c070d5264 100644
--- a/lisp/emulation/viper.el
+++ b/lisp/emulation/viper.el
@@ -9,7 +9,7 @@
9;; Author: Michael Kifer <kifer@cs.stonybrook.edu> 9;; Author: Michael Kifer <kifer@cs.stonybrook.edu>
10;; Keywords: emulations 10;; Keywords: emulations
11 11
12(defconst viper-version "3.13 of September 18, 2006" 12(defconst viper-version "3.13.1 of October 23, 2006"
13 "The current version of Viper") 13 "The current version of Viper")
14 14
15;; This file is part of GNU Emacs. 15;; This file is part of GNU Emacs.
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog
index dba2c407b21..766a92c1dbd 100644
--- a/lisp/gnus/ChangeLog
+++ b/lisp/gnus/ChangeLog
@@ -1,3 +1,18 @@
12006-10-20 Katsumi Yamaoka <yamaoka@jpl.org>
2
3 * gnus-group.el (gnus-group-make-doc-group): Work for non-ASCII group
4 names.
5
6 * gnus-sum.el (gnus-select-newsgroup): Decode group name.
7
82006-10-19 Katsumi Yamaoka <yamaoka@jpl.org>
9
10 * message.el (message-headers-to-generate): Fix typo in docstring.
11
122006-10-19 Reiner Steib <Reiner.Steib@gmx.de>
13
14 * gnus.el (gnus-mime): Remove unused custom group.
15
12006-10-13 Andreas Seltenreich <uwi7@rz.uni-karlsruhe.de> 162006-10-13 Andreas Seltenreich <uwi7@rz.uni-karlsruhe.de>
2 17
3 * mm-uu.el (mm-uu-pgp-signed-extract-1): Use RFC 2440 definition of 18 * mm-uu.el (mm-uu-pgp-signed-extract-1): Use RFC 2440 definition of
diff --git a/lisp/gnus/gnus-group.el b/lisp/gnus/gnus-group.el
index c34e339c5b1..c6a0d599ac4 100644
--- a/lisp/gnus/gnus-group.el
+++ b/lisp/gnus/gnus-group.el
@@ -2680,13 +2680,18 @@ If called with a prefix argument, ask for the file type."
2680 (t (setq err (format "%c unknown. " char)) 2680 (t (setq err (format "%c unknown. " char))
2681 nil)))) 2681 nil))))
2682 (setq type found))) 2682 (setq type found)))
2683 (let* ((file (expand-file-name file)) 2683 (setq file (expand-file-name file))
2684 (name (gnus-generate-new-group-name 2684 (let ((name (gnus-generate-new-group-name
2685 (gnus-group-prefixed-name 2685 (gnus-group-prefixed-name
2686 (file-name-nondirectory file) '(nndoc ""))))) 2686 (file-name-nondirectory file) '(nndoc ""))))
2687 (encodable (mm-coding-system-p 'utf-8)))
2687 (gnus-group-make-group 2688 (gnus-group-make-group
2688 (gnus-group-real-name name) 2689 (if encodable
2689 (list 'nndoc file 2690 (mm-encode-coding-string (gnus-group-real-name name) 'utf-8)
2691 (gnus-group-real-name name))
2692 (list 'nndoc (if encodable
2693 (mm-encode-coding-string file 'utf-8)
2694 file)
2690 (list 'nndoc-address file) 2695 (list 'nndoc-address file)
2691 (list 'nndoc-article-type (or type 'guess)))))) 2696 (list 'nndoc-article-type (or type 'guess))))))
2692 2697
diff --git a/lisp/gnus/gnus-sum.el b/lisp/gnus/gnus-sum.el
index 8dcd0753e59..fb0ef25c916 100644
--- a/lisp/gnus/gnus-sum.el
+++ b/lisp/gnus/gnus-sum.el
@@ -5208,13 +5208,13 @@ If SELECT-ARTICLES, only select those articles from GROUP."
5208 (when (equal major-mode 'gnus-summary-mode) 5208 (when (equal major-mode 'gnus-summary-mode)
5209 (gnus-kill-buffer (current-buffer))) 5209 (gnus-kill-buffer (current-buffer)))
5210 (error "Couldn't activate group %s: %s" 5210 (error "Couldn't activate group %s: %s"
5211 group (gnus-status-message group)))) 5211 (gnus-group-decoded-name group) (gnus-status-message group))))
5212 5212
5213 (unless (gnus-request-group group t) 5213 (unless (gnus-request-group group t)
5214 (when (equal major-mode 'gnus-summary-mode) 5214 (when (equal major-mode 'gnus-summary-mode)
5215 (gnus-kill-buffer (current-buffer))) 5215 (gnus-kill-buffer (current-buffer)))
5216 (error "Couldn't request group %s: %s" 5216 (error "Couldn't request group %s: %s"
5217 group (gnus-status-message group))) 5217 (gnus-group-decoded-name group) (gnus-status-message group)))
5218 5218
5219 (when gnus-agent 5219 (when gnus-agent
5220 (gnus-agent-possibly-alter-active group (gnus-active group) info) 5220 (gnus-agent-possibly-alter-active group (gnus-active group) info)
diff --git a/lisp/gnus/gnus.el b/lisp/gnus/gnus.el
index 8554b1332f1..94e890b02c3 100644
--- a/lisp/gnus/gnus.el
+++ b/lisp/gnus/gnus.el
@@ -279,10 +279,6 @@ is restarted, and sometimes reloaded."
279 :link '(custom-manual "(gnus)Various Various") 279 :link '(custom-manual "(gnus)Various Various")
280 :group 'gnus) 280 :group 'gnus)
281 281
282(defgroup gnus-mime nil
283 "Variables for controlling the Gnus MIME interface."
284 :group 'gnus)
285
286(defgroup gnus-exit nil 282(defgroup gnus-exit nil
287 "Exiting Gnus." 283 "Exiting Gnus."
288 :link '(custom-manual "(gnus)Exiting Gnus") 284 :link '(custom-manual "(gnus)Exiting Gnus")
@@ -1243,6 +1239,7 @@ used to 899, you would say something along these lines:
1243 :group 'gnus-server 1239 :group 'gnus-server
1244 :type 'file) 1240 :type 'file)
1245 1241
1242;;;###autoload
1246(defun gnus-getenv-nntpserver () 1243(defun gnus-getenv-nntpserver ()
1247 "Find default nntp server. 1244 "Find default nntp server.
1248Check the NNTPSERVER environment variable and the 1245Check the NNTPSERVER environment variable and the
@@ -1254,6 +1251,7 @@ Check the NNTPSERVER environment variable and the
1254 (when (re-search-forward "[^ \t\n\r]+" nil t) 1251 (when (re-search-forward "[^ \t\n\r]+" nil t)
1255 (match-string 0)))))) 1252 (match-string 0))))))
1256 1253
1254;;;###autoload
1257(defcustom gnus-select-method 1255(defcustom gnus-select-method
1258 (condition-case nil 1256 (condition-case nil
1259 (nconc 1257 (nconc
diff --git a/lisp/gnus/message.el b/lisp/gnus/message.el
index 36a969fdefd..fc3859345f3 100644
--- a/lisp/gnus/message.el
+++ b/lisp/gnus/message.el
@@ -5514,7 +5514,7 @@ between beginning of field and beginning of line."
5514 5514
5515(defun message-headers-to-generate (headers included-headers excluded-headers) 5515(defun message-headers-to-generate (headers included-headers excluded-headers)
5516 "Return a list that includes all headers from HEADERS. 5516 "Return a list that includes all headers from HEADERS.
5517If INCLUDED-HEADERS is a list, just include those headers. If if is 5517If INCLUDED-HEADERS is a list, just include those headers. If it is
5518t, include all headers. In any case, headers from EXCLUDED-HEADERS 5518t, include all headers. In any case, headers from EXCLUDED-HEADERS
5519are not included." 5519are not included."
5520 (let ((result nil) 5520 (let ((result nil)
diff --git a/lisp/international/kkc.el b/lisp/international/kkc.el
index dc313c7d30a..6da899af93a 100644
--- a/lisp/international/kkc.el
+++ b/lisp/international/kkc.el
@@ -291,7 +291,7 @@ and the return value is the length of the conversion."
291 ;; KEYSEQ is not defined in KKC keymap. 291 ;; KEYSEQ is not defined in KKC keymap.
292 ;; Let's put the event back. 292 ;; Let's put the event back.
293 (setq unread-input-method-events 293 (setq unread-input-method-events
294 (append (string-to-list keyseq) 294 (append (string-to-list (this-single-command-raw-keys))
295 unread-input-method-events)) 295 unread-input-method-events))
296 (kkc-terminate)))) 296 (kkc-terminate))))
297 297
diff --git a/lisp/ldefs-boot.el b/lisp/ldefs-boot.el
index cbb366e5849..2fb118628c5 100644
--- a/lisp/ldefs-boot.el
+++ b/lisp/ldefs-boot.el
@@ -176,13 +176,13 @@ Completion is available.
176It is used by `add-log-current-defun' in preference to built-in rules. 176It is used by `add-log-current-defun' in preference to built-in rules.
177Returns function's name as a string, or nil if outside a function.") 177Returns function's name as a string, or nil if outside a function.")
178 178
179(custom-autoload (quote add-log-current-defun-function) "add-log") 179(custom-autoload (quote add-log-current-defun-function) "add-log" t)
180 180
181(defvar add-log-full-name nil "\ 181(defvar add-log-full-name nil "\
182*Full name of user, for inclusion in ChangeLog daily headers. 182*Full name of user, for inclusion in ChangeLog daily headers.
183This defaults to the value returned by the function `user-full-name'.") 183This defaults to the value returned by the function `user-full-name'.")
184 184
185(custom-autoload (quote add-log-full-name) "add-log") 185(custom-autoload (quote add-log-full-name) "add-log" t)
186 186
187(defvar add-log-mailing-address nil "\ 187(defvar add-log-mailing-address nil "\
188Email addresses of user, for inclusion in ChangeLog headers. 188Email addresses of user, for inclusion in ChangeLog headers.
@@ -191,7 +191,7 @@ being a simple string, this value can also be a list. All elements
191will be recognized as referring to the same user; when creating a new 191will be recognized as referring to the same user; when creating a new
192ChangeLog entry, one element will be chosen at random.") 192ChangeLog entry, one element will be chosen at random.")
193 193
194(custom-autoload (quote add-log-mailing-address) "add-log") 194(custom-autoload (quote add-log-mailing-address) "add-log" t)
195 195
196(autoload (quote prompt-for-change-log-name) "add-log" "\ 196(autoload (quote prompt-for-change-log-name) "add-log" "\
197Prompt for a change log name. 197Prompt for a change log name.
@@ -320,7 +320,7 @@ old original, or keep it and raise an error. The values `accept', `discard',
320it additionally prints a warning message. All other values will be 320it additionally prints a warning message. All other values will be
321interpreted as `error'.") 321interpreted as `error'.")
322 322
323(custom-autoload (quote ad-redefinition-action) "advice") 323(custom-autoload (quote ad-redefinition-action) "advice" t)
324 324
325(defvar ad-default-compilation-action (quote maybe) "\ 325(defvar ad-default-compilation-action (quote maybe) "\
326*Defines whether to compile advised definitions during activation. 326*Defines whether to compile advised definitions during activation.
@@ -331,7 +331,7 @@ advised function is compiled or a built-in function. Every other value will
331be interpreted as `maybe'. This variable will only be considered if the 331be interpreted as `maybe'. This variable will only be considered if the
332COMPILE argument of `ad-activate' was supplied as nil.") 332COMPILE argument of `ad-activate' was supplied as nil.")
333 333
334(custom-autoload (quote ad-default-compilation-action) "advice") 334(custom-autoload (quote ad-default-compilation-action) "advice" t)
335 335
336(autoload (quote ad-enable-advice) "advice" "\ 336(autoload (quote ad-enable-advice) "advice" "\
337Enables the advice of FUNCTION with CLASS and NAME. 337Enables the advice of FUNCTION with CLASS and NAME.
@@ -627,7 +627,9 @@ The bindings are dictated by the `allout-keybindings-list' and
627 Topic-oriented Killing and Yanking: 627 Topic-oriented Killing and Yanking:
628 ---------------------------------- 628 ----------------------------------
629\\[allout-kill-topic] allout-kill-topic Kill current topic, including offspring. 629\\[allout-kill-topic] allout-kill-topic Kill current topic, including offspring.
630\\[allout-kill-line] allout-kill-line Like kill-line, but reconciles numbering, etc. 630\\[allout-copy-topic-as-kill] allout-copy-topic-as-kill Copy current topic, including offspring.
631\\[allout-kill-line] allout-kill-line kill-line, attending to outline structure.
632\\[allout-copy-line-as-kill] allout-copy-line-as-kill Copy line but don't delete it.
631\\[allout-yank] allout-yank Yank, adjusting depth of yanked topic to 633\\[allout-yank] allout-yank Yank, adjusting depth of yanked topic to
632 depth of heading if yanking into bare topic 634 depth of heading if yanking into bare topic
633 heading (ie, prefix sans text). 635 heading (ie, prefix sans text).
@@ -901,47 +903,47 @@ Used in `antlr-mode'. Also a useful function in `java-mode-hook'.
901To be detected, the diary entry must have the format described in the 903To be detected, the diary entry must have the format described in the
902documentation of the function `appt-check'.") 904documentation of the function `appt-check'.")
903 905
904(custom-autoload (quote appt-issue-message) "appt") 906(custom-autoload (quote appt-issue-message) "appt" t)
905 907
906(defvar appt-message-warning-time 12 "\ 908(defvar appt-message-warning-time 12 "\
907*Time in minutes before an appointment that the warning begins.") 909*Time in minutes before an appointment that the warning begins.")
908 910
909(custom-autoload (quote appt-message-warning-time) "appt") 911(custom-autoload (quote appt-message-warning-time) "appt" t)
910 912
911(defvar appt-audible t "\ 913(defvar appt-audible t "\
912*Non-nil means beep to indicate appointment.") 914*Non-nil means beep to indicate appointment.")
913 915
914(custom-autoload (quote appt-audible) "appt") 916(custom-autoload (quote appt-audible) "appt" t)
915 917
916(defvar appt-visible t "\ 918(defvar appt-visible t "\
917*Non-nil means display appointment message in echo area. 919*Non-nil means display appointment message in echo area.
918This variable is only relevant if `appt-msg-window' is nil.") 920This variable is only relevant if `appt-msg-window' is nil.")
919 921
920(custom-autoload (quote appt-visible) "appt") 922(custom-autoload (quote appt-visible) "appt" t)
921 923
922(defvar appt-msg-window t "\ 924(defvar appt-msg-window t "\
923*Non-nil means display appointment message in another window. 925*Non-nil means display appointment message in another window.
924If non-nil, this variable overrides `appt-visible'.") 926If non-nil, this variable overrides `appt-visible'.")
925 927
926(custom-autoload (quote appt-msg-window) "appt") 928(custom-autoload (quote appt-msg-window) "appt" t)
927 929
928(defvar appt-display-mode-line t "\ 930(defvar appt-display-mode-line t "\
929*Non-nil means display minutes to appointment and time on the mode line. 931*Non-nil means display minutes to appointment and time on the mode line.
930This is in addition to any other display of appointment messages.") 932This is in addition to any other display of appointment messages.")
931 933
932(custom-autoload (quote appt-display-mode-line) "appt") 934(custom-autoload (quote appt-display-mode-line) "appt" t)
933 935
934(defvar appt-display-duration 10 "\ 936(defvar appt-display-duration 10 "\
935*The number of seconds an appointment message is displayed. 937*The number of seconds an appointment message is displayed.
936Only relevant if reminders are to be displayed in their own window.") 938Only relevant if reminders are to be displayed in their own window.")
937 939
938(custom-autoload (quote appt-display-duration) "appt") 940(custom-autoload (quote appt-display-duration) "appt" t)
939 941
940(defvar appt-display-diary t "\ 942(defvar appt-display-diary t "\
941*Non-nil displays the diary when the appointment list is first initialized. 943*Non-nil displays the diary when the appointment list is first initialized.
942This will occur at midnight when the appointment list is updated.") 944This will occur at midnight when the appointment list is updated.")
943 945
944(custom-autoload (quote appt-display-diary) "appt") 946(custom-autoload (quote appt-display-diary) "appt" t)
945 947
946(autoload (quote appt-add) "appt" "\ 948(autoload (quote appt-add) "appt" "\
947Add an appointment for today at NEW-APPT-TIME with message NEW-APPT-MSG. 949Add an appointment for today at NEW-APPT-TIME with message NEW-APPT-MSG.
@@ -1431,6 +1433,8 @@ See the command `autoarg-mode' for a description of this minor-mode.")
1431 1433
1432(put (quote autoarg-mode) (quote custom-set) (quote custom-set-minor-mode)) 1434(put (quote autoarg-mode) (quote custom-set) (quote custom-set-minor-mode))
1433 1435
1436(put (quote autoarg-mode) (quote custom-set) (quote custom-set-minor-mode))
1437
1434(autoload (quote autoarg-mode) "autoarg" "\ 1438(autoload (quote autoarg-mode) "autoarg" "\
1435Toggle Autoarg minor mode globally. 1439Toggle Autoarg minor mode globally.
1436With ARG, turn Autoarg mode on if ARG is positive, off otherwise. 1440With ARG, turn Autoarg mode on if ARG is positive, off otherwise.
@@ -1463,6 +1467,8 @@ use either \\[customize] or the function `autoarg-kp-mode'.")
1463 1467
1464(put (quote autoarg-kp-mode) (quote custom-set) (quote custom-set-minor-mode)) 1468(put (quote autoarg-kp-mode) (quote custom-set) (quote custom-set-minor-mode))
1465 1469
1470(put (quote autoarg-kp-mode) (quote custom-set) (quote custom-set-minor-mode))
1471
1466(autoload (quote autoarg-kp-mode) "autoarg" "\ 1472(autoload (quote autoarg-kp-mode) "autoarg" "\
1467Toggle Autoarg-KP minor mode globally. 1473Toggle Autoarg-KP minor mode globally.
1468With ARG, turn Autoarg mode on if ARG is positive, off otherwise. 1474With ARG, turn Autoarg mode on if ARG is positive, off otherwise.
@@ -1508,9 +1514,10 @@ or if CONDITION had no actions, after all other CONDITIONs.
1508Non-nil if Auto-Insert mode is enabled. 1514Non-nil if Auto-Insert mode is enabled.
1509See the command `auto-insert-mode' for a description of this minor-mode. 1515See the command `auto-insert-mode' for a description of this minor-mode.
1510Setting this variable directly does not take effect; 1516Setting this variable directly does not take effect;
1511use either \\[customize] or the function `auto-insert-mode'.") 1517either customize it (see the info node `Easy Customization')
1518or call the function `auto-insert-mode'.")
1512 1519
1513(custom-autoload (quote auto-insert-mode) "autoinsert") 1520(custom-autoload (quote auto-insert-mode) "autoinsert" nil)
1514 1521
1515(put (quote auto-insert-mode) (quote custom-set) (quote custom-set-minor-mode)) 1522(put (quote auto-insert-mode) (quote custom-set) (quote custom-set-minor-mode))
1516 1523
@@ -1619,6 +1626,8 @@ use either \\[customize] or the function `global-auto-revert-mode'.")
1619 1626
1620(custom-autoload (quote global-auto-revert-mode) "autorevert") 1627(custom-autoload (quote global-auto-revert-mode) "autorevert")
1621 1628
1629(put (quote global-auto-revert-mode) (quote custom-set) (quote custom-set-minor-mode))
1630
1622(autoload (quote global-auto-revert-mode) "autorevert" "\ 1631(autoload (quote global-auto-revert-mode) "autorevert" "\
1623Revert any buffer when file on disk changes. 1632Revert any buffer when file on disk changes.
1624 1633
@@ -1640,7 +1649,7 @@ See function `mouse-avoidance-mode' for possible values.
1640Setting this variable directly does not take effect; 1649Setting this variable directly does not take effect;
1641use either \\[customize] or the function `mouse-avoidance-mode'.") 1650use either \\[customize] or the function `mouse-avoidance-mode'.")
1642 1651
1643(custom-autoload (quote mouse-avoidance-mode) "avoid") 1652(custom-autoload (quote mouse-avoidance-mode) "avoid" nil)
1644 1653
1645(autoload (quote mouse-avoidance-mode) "avoid" "\ 1654(autoload (quote mouse-avoidance-mode) "avoid" "\
1646Set cursor avoidance mode to MODE. 1655Set cursor avoidance mode to MODE.
@@ -1716,6 +1725,8 @@ use either \\[customize] or the function `display-battery-mode'.")
1716 1725
1717(custom-autoload (quote display-battery-mode) "battery") 1726(custom-autoload (quote display-battery-mode) "battery")
1718 1727
1728(put (quote display-battery-mode) (quote custom-set) (quote custom-set-minor-mode))
1729
1719(autoload (quote display-battery-mode) "battery" "\ 1730(autoload (quote display-battery-mode) "battery" "\
1720Display battery status information in the mode line. 1731Display battery status information in the mode line.
1721The text being displayed in the mode line is controlled by the variables 1732The text being displayed in the mode line is controlled by the variables
@@ -2882,7 +2893,7 @@ The offset of the principal month from the center of the calendar window.
2882+1 means on the right. Larger (or smaller) values push the principal month off 2893+1 means on the right. Larger (or smaller) values push the principal month off
2883the screen.") 2894the screen.")
2884 2895
2885(custom-autoload (quote calendar-offset) "calendar") 2896(custom-autoload (quote calendar-offset) "calendar" t)
2886 2897
2887(defvar view-diary-entries-initially nil "\ 2898(defvar view-diary-entries-initially nil "\
2888Non-nil means display current date's diary entries on entry to calendar. 2899Non-nil means display current date's diary entries on entry to calendar.
@@ -2891,32 +2902,32 @@ if the current date is visible. The number of days of diary entries displayed
2891is governed by the variable `number-of-diary-entries'. This variable can 2902is governed by the variable `number-of-diary-entries'. This variable can
2892be overridden by the value of `calendar-setup'.") 2903be overridden by the value of `calendar-setup'.")
2893 2904
2894(custom-autoload (quote view-diary-entries-initially) "calendar") 2905(custom-autoload (quote view-diary-entries-initially) "calendar" t)
2895 2906
2896(defvar mark-diary-entries-in-calendar nil "\ 2907(defvar mark-diary-entries-in-calendar nil "\
2897Non-nil means mark dates with diary entries, in the calendar window. 2908Non-nil means mark dates with diary entries, in the calendar window.
2898The marking symbol is specified by the variable `diary-entry-marker'.") 2909The marking symbol is specified by the variable `diary-entry-marker'.")
2899 2910
2900(custom-autoload (quote mark-diary-entries-in-calendar) "calendar") 2911(custom-autoload (quote mark-diary-entries-in-calendar) "calendar" t)
2901 2912
2902(defvar calendar-remove-frame-by-deleting nil "\ 2913(defvar calendar-remove-frame-by-deleting nil "\
2903Determine how the calendar mode removes a frame no longer needed. 2914Determine how the calendar mode removes a frame no longer needed.
2904If nil, make an icon of the frame. If non-nil, delete the frame.") 2915If nil, make an icon of the frame. If non-nil, delete the frame.")
2905 2916
2906(custom-autoload (quote calendar-remove-frame-by-deleting) "calendar") 2917(custom-autoload (quote calendar-remove-frame-by-deleting) "calendar" t)
2907 2918
2908(defvar view-calendar-holidays-initially nil "\ 2919(defvar view-calendar-holidays-initially nil "\
2909Non-nil means display holidays for current three month period on entry. 2920Non-nil means display holidays for current three month period on entry.
2910The holidays are displayed in another window when the calendar is first 2921The holidays are displayed in another window when the calendar is first
2911displayed.") 2922displayed.")
2912 2923
2913(custom-autoload (quote view-calendar-holidays-initially) "calendar") 2924(custom-autoload (quote view-calendar-holidays-initially) "calendar" t)
2914 2925
2915(defvar mark-holidays-in-calendar nil "\ 2926(defvar mark-holidays-in-calendar nil "\
2916Non-nil means mark dates of holidays in the calendar window. 2927Non-nil means mark dates of holidays in the calendar window.
2917The marking symbol is specified by the variable `calendar-holiday-marker'.") 2928The marking symbol is specified by the variable `calendar-holiday-marker'.")
2918 2929
2919(custom-autoload (quote mark-holidays-in-calendar) "calendar") 2930(custom-autoload (quote mark-holidays-in-calendar) "calendar" t)
2920 2931
2921(defvar all-hebrew-calendar-holidays nil "\ 2932(defvar all-hebrew-calendar-holidays nil "\
2922If nil, show only major holidays from the Hebrew calendar. 2933If nil, show only major holidays from the Hebrew calendar.
@@ -2924,7 +2935,7 @@ This means only those Jewish holidays that appear on secular calendars.
2924 2935
2925If t, show all the holidays that would appear in a complete Hebrew calendar.") 2936If t, show all the holidays that would appear in a complete Hebrew calendar.")
2926 2937
2927(custom-autoload (quote all-hebrew-calendar-holidays) "calendar") 2938(custom-autoload (quote all-hebrew-calendar-holidays) "calendar" t)
2928 2939
2929(defvar all-christian-calendar-holidays nil "\ 2940(defvar all-christian-calendar-holidays nil "\
2930If nil, show only major holidays from the Christian calendar. 2941If nil, show only major holidays from the Christian calendar.
@@ -2933,7 +2944,7 @@ This means only those Christian holidays that appear on secular calendars.
2933If t, show all the holidays that would appear in a complete Christian 2944If t, show all the holidays that would appear in a complete Christian
2934calendar.") 2945calendar.")
2935 2946
2936(custom-autoload (quote all-christian-calendar-holidays) "calendar") 2947(custom-autoload (quote all-christian-calendar-holidays) "calendar" t)
2937 2948
2938(defvar all-islamic-calendar-holidays nil "\ 2949(defvar all-islamic-calendar-holidays nil "\
2939If nil, show only major holidays from the Islamic calendar. 2950If nil, show only major holidays from the Islamic calendar.
@@ -2942,7 +2953,7 @@ This means only those Islamic holidays that appear on secular calendars.
2942If t, show all the holidays that would appear in a complete Islamic 2953If t, show all the holidays that would appear in a complete Islamic
2943calendar.") 2954calendar.")
2944 2955
2945(custom-autoload (quote all-islamic-calendar-holidays) "calendar") 2956(custom-autoload (quote all-islamic-calendar-holidays) "calendar" t)
2946 2957
2947(defvar all-bahai-calendar-holidays nil "\ 2958(defvar all-bahai-calendar-holidays nil "\
2948If nil, show only major holidays from the Baha'i calendar. 2959If nil, show only major holidays from the Baha'i calendar.
@@ -2951,13 +2962,13 @@ These are the days on which work and school must be suspended.
2951If t, show all the holidays that would appear in a complete Baha'i 2962If t, show all the holidays that would appear in a complete Baha'i
2952calendar.") 2963calendar.")
2953 2964
2954(custom-autoload (quote all-bahai-calendar-holidays) "calendar") 2965(custom-autoload (quote all-bahai-calendar-holidays) "calendar" t)
2955 2966
2956(defvar calendar-load-hook nil "\ 2967(defvar calendar-load-hook nil "\
2957List of functions to be called after the calendar is first loaded. 2968List of functions to be called after the calendar is first loaded.
2958This is the place to add key bindings to `calendar-mode-map'.") 2969This is the place to add key bindings to `calendar-mode-map'.")
2959 2970
2960(custom-autoload (quote calendar-load-hook) "calendar") 2971(custom-autoload (quote calendar-load-hook) "calendar" t)
2961 2972
2962(defvar initial-calendar-window-hook nil "\ 2973(defvar initial-calendar-window-hook nil "\
2963List of functions to be called when the calendar window is first opened. 2974List of functions to be called when the calendar window is first opened.
@@ -2965,7 +2976,7 @@ The functions invoked are called after the calendar window is opened, but
2965once opened is never called again. Leaving the calendar with the `q' command 2976once opened is never called again. Leaving the calendar with the `q' command
2966and reentering it will cause these functions to be called again.") 2977and reentering it will cause these functions to be called again.")
2967 2978
2968(custom-autoload (quote initial-calendar-window-hook) "calendar") 2979(custom-autoload (quote initial-calendar-window-hook) "calendar" t)
2969 2980
2970(defvar today-visible-calendar-hook nil "\ 2981(defvar today-visible-calendar-hook nil "\
2971List of functions called whenever the current date is visible. 2982List of functions called whenever the current date is visible.
@@ -2984,7 +2995,7 @@ Other than the use of the provided functions, the changing of any
2984characters in the calendar buffer by the hooks may cause the failure of the 2995characters in the calendar buffer by the hooks may cause the failure of the
2985functions that move by days and weeks.") 2996functions that move by days and weeks.")
2986 2997
2987(custom-autoload (quote today-visible-calendar-hook) "calendar") 2998(custom-autoload (quote today-visible-calendar-hook) "calendar" t)
2988 2999
2989(defvar today-invisible-calendar-hook nil "\ 3000(defvar today-invisible-calendar-hook nil "\
2990List of functions called whenever the current date is not visible. 3001List of functions called whenever the current date is not visible.
@@ -2997,7 +3008,7 @@ Other than the use of the provided functions, the changing of any
2997characters in the calendar buffer by the hooks may cause the failure of the 3008characters in the calendar buffer by the hooks may cause the failure of the
2998functions that move by days and weeks.") 3009functions that move by days and weeks.")
2999 3010
3000(custom-autoload (quote today-invisible-calendar-hook) "calendar") 3011(custom-autoload (quote today-invisible-calendar-hook) "calendar" t)
3001 3012
3002(defvar calendar-move-hook nil "\ 3013(defvar calendar-move-hook nil "\
3003List of functions called whenever the cursor moves in the calendar. 3014List of functions called whenever the cursor moves in the calendar.
@@ -3008,7 +3019,7 @@ For example,
3008 3019
3009redisplays the diary for whatever date the cursor is moved to.") 3020redisplays the diary for whatever date the cursor is moved to.")
3010 3021
3011(custom-autoload (quote calendar-move-hook) "calendar") 3022(custom-autoload (quote calendar-move-hook) "calendar" t)
3012 3023
3013(defvar diary-file "~/diary" "\ 3024(defvar diary-file "~/diary" "\
3014Name of the file in which one's personal diary of dates is kept. 3025Name of the file in which one's personal diary of dates is kept.
@@ -3115,39 +3126,39 @@ documentation for these functions for details.
3115Diary files can contain directives to include the contents of other files; for 3126Diary files can contain directives to include the contents of other files; for
3116details, see the documentation for the variable `list-diary-entries-hook'.") 3127details, see the documentation for the variable `list-diary-entries-hook'.")
3117 3128
3118(custom-autoload (quote diary-file) "calendar") 3129(custom-autoload (quote diary-file) "calendar" t)
3119 3130
3120(defvar diary-nonmarking-symbol "&" "\ 3131(defvar diary-nonmarking-symbol "&" "\
3121Symbol indicating that a diary entry is not to be marked in the calendar.") 3132Symbol indicating that a diary entry is not to be marked in the calendar.")
3122 3133
3123(custom-autoload (quote diary-nonmarking-symbol) "calendar") 3134(custom-autoload (quote diary-nonmarking-symbol) "calendar" t)
3124 3135
3125(defvar hebrew-diary-entry-symbol "H" "\ 3136(defvar hebrew-diary-entry-symbol "H" "\
3126Symbol indicating a diary entry according to the Hebrew calendar.") 3137Symbol indicating a diary entry according to the Hebrew calendar.")
3127 3138
3128(custom-autoload (quote hebrew-diary-entry-symbol) "calendar") 3139(custom-autoload (quote hebrew-diary-entry-symbol) "calendar" t)
3129 3140
3130(defvar islamic-diary-entry-symbol "I" "\ 3141(defvar islamic-diary-entry-symbol "I" "\
3131Symbol indicating a diary entry according to the Islamic calendar.") 3142Symbol indicating a diary entry according to the Islamic calendar.")
3132 3143
3133(custom-autoload (quote islamic-diary-entry-symbol) "calendar") 3144(custom-autoload (quote islamic-diary-entry-symbol) "calendar" t)
3134 3145
3135(defvar bahai-diary-entry-symbol "B" "\ 3146(defvar bahai-diary-entry-symbol "B" "\
3136Symbol indicating a diary entry according to the Baha'i calendar.") 3147Symbol indicating a diary entry according to the Baha'i calendar.")
3137 3148
3138(custom-autoload (quote bahai-diary-entry-symbol) "calendar") 3149(custom-autoload (quote bahai-diary-entry-symbol) "calendar" t)
3139 3150
3140(defvar diary-include-string "#include" "\ 3151(defvar diary-include-string "#include" "\
3141The string indicating inclusion of another file of diary entries. 3152The string indicating inclusion of another file of diary entries.
3142See the documentation for the function `include-other-diary-files'.") 3153See the documentation for the function `include-other-diary-files'.")
3143 3154
3144(custom-autoload (quote diary-include-string) "calendar") 3155(custom-autoload (quote diary-include-string) "calendar" t)
3145 3156
3146(defvar sexp-diary-entry-symbol "%%" "\ 3157(defvar sexp-diary-entry-symbol "%%" "\
3147The string used to indicate a sexp diary entry in `diary-file'. 3158The string used to indicate a sexp diary entry in `diary-file'.
3148See the documentation for the function `list-sexp-diary-entries'.") 3159See the documentation for the function `list-sexp-diary-entries'.")
3149 3160
3150(custom-autoload (quote sexp-diary-entry-symbol) "calendar") 3161(custom-autoload (quote sexp-diary-entry-symbol) "calendar" t)
3151 3162
3152(defvar abbreviated-calendar-year t "\ 3163(defvar abbreviated-calendar-year t "\
3153Interpret a two-digit year DD in a diary entry as either 19DD or 20DD. 3164Interpret a two-digit year DD in a diary entry as either 19DD or 20DD.
@@ -3155,7 +3166,7 @@ For the Gregorian calendar; similarly for the Hebrew, Islamic and
3155Baha'i calendars. If this variable is nil, years must be written in 3166Baha'i calendars. If this variable is nil, years must be written in
3156full.") 3167full.")
3157 3168
3158(custom-autoload (quote abbreviated-calendar-year) "calendar") 3169(custom-autoload (quote abbreviated-calendar-year) "calendar" t)
3159 3170
3160(defvar european-calendar-style nil "\ 3171(defvar european-calendar-style nil "\
3161Use the European style of dates in the diary and in any displays. 3172Use the European style of dates in the diary and in any displays.
@@ -3171,36 +3182,38 @@ are
3171 3182
3172Names can be capitalized or not, written in full (as specified by the 3183Names can be capitalized or not, written in full (as specified by the
3173variable `calendar-day-name-array'), or abbreviated (as specified by 3184variable `calendar-day-name-array'), or abbreviated (as specified by
3174`calendar-day-abbrev-array') with or without a period. To take effect, 3185`calendar-day-abbrev-array') with or without a period.
3175this variable should be set before the calendar package and its associates
3176are loaded. Otherwise, use one of the functions `european-calendar' or
3177`american-calendar' to force the appropriate update.")
3178 3186
3179(custom-autoload (quote european-calendar-style) "calendar") 3187Setting this variable directly does not take effect (if the
3188calendar package is already loaded). Rather, use either
3189\\[customize] or the functions `european-calendar' and
3190`american-calendar'.")
3191
3192(custom-autoload (quote european-calendar-style) "calendar" nil)
3180 3193
3181(defvar american-date-diary-pattern (quote ((month "/" day "[^/0-9]") (month "/" day "/" year "[^0-9]") (monthname " *" day "[^,0-9]") (monthname " *" day ", *" year "[^0-9]") (dayname "\\W"))) "\ 3194(defvar american-date-diary-pattern (quote ((month "/" day "[^/0-9]") (month "/" day "/" year "[^0-9]") (monthname " *" day "[^,0-9]") (monthname " *" day ", *" year "[^0-9]") (dayname "\\W"))) "\
3182List of pseudo-patterns describing the American patterns of date used. 3195List of pseudo-patterns describing the American patterns of date used.
3183See the documentation of `diary-date-forms' for an explanation.") 3196See the documentation of `diary-date-forms' for an explanation.")
3184 3197
3185(custom-autoload (quote american-date-diary-pattern) "calendar") 3198(custom-autoload (quote american-date-diary-pattern) "calendar" t)
3186 3199
3187(defvar european-date-diary-pattern (quote ((day "/" month "[^/0-9]") (day "/" month "/" year "[^0-9]") (backup day " *" monthname "\\W+\\<\\([^*0-9]\\|\\([0-9]+[:aApP]\\)\\)") (day " *" monthname " *" year "[^0-9]") (dayname "\\W"))) "\ 3200(defvar european-date-diary-pattern (quote ((day "/" month "[^/0-9]") (day "/" month "/" year "[^0-9]") (backup day " *" monthname "\\W+\\<\\([^*0-9]\\|\\([0-9]+[:aApP]\\)\\)") (day " *" monthname " *" year "[^0-9]") (dayname "\\W"))) "\
3188List of pseudo-patterns describing the European patterns of date used. 3201List of pseudo-patterns describing the European patterns of date used.
3189See the documentation of `diary-date-forms' for an explanation.") 3202See the documentation of `diary-date-forms' for an explanation.")
3190 3203
3191(custom-autoload (quote european-date-diary-pattern) "calendar") 3204(custom-autoload (quote european-date-diary-pattern) "calendar" t)
3192 3205
3193(defvar european-calendar-display-form (quote ((if dayname (concat dayname ", ")) day " " monthname " " year)) "\ 3206(defvar european-calendar-display-form (quote ((if dayname (concat dayname ", ")) day " " monthname " " year)) "\
3194Pseudo-pattern governing the way a date appears in the European style. 3207Pseudo-pattern governing the way a date appears in the European style.
3195See the documentation of `calendar-date-display-form' for an explanation.") 3208See the documentation of `calendar-date-display-form' for an explanation.")
3196 3209
3197(custom-autoload (quote european-calendar-display-form) "calendar") 3210(custom-autoload (quote european-calendar-display-form) "calendar" t)
3198 3211
3199(defvar american-calendar-display-form (quote ((if dayname (concat dayname ", ")) monthname " " day ", " year)) "\ 3212(defvar american-calendar-display-form (quote ((if dayname (concat dayname ", ")) monthname " " day ", " year)) "\
3200Pseudo-pattern governing the way a date appears in the American style. 3213Pseudo-pattern governing the way a date appears in the American style.
3201See the documentation of `calendar-date-display-form' for an explanation.") 3214See the documentation of `calendar-date-display-form' for an explanation.")
3202 3215
3203(custom-autoload (quote american-calendar-display-form) "calendar") 3216(custom-autoload (quote american-calendar-display-form) "calendar" t)
3204 3217
3205(defvar print-diary-entries-hook (quote lpr-buffer) "\ 3218(defvar print-diary-entries-hook (quote lpr-buffer) "\
3206List of functions called after a temporary diary buffer is prepared. 3219List of functions called after a temporary diary buffer is prepared.
@@ -3209,7 +3222,7 @@ buffer. The default just does the printing. Other uses might include, for
3209example, rearranging the lines into order by day and time, saving the buffer 3222example, rearranging the lines into order by day and time, saving the buffer
3210instead of deleting it, or changing the function used to do the printing.") 3223instead of deleting it, or changing the function used to do the printing.")
3211 3224
3212(custom-autoload (quote print-diary-entries-hook) "calendar") 3225(custom-autoload (quote print-diary-entries-hook) "calendar" t)
3213 3226
3214(defvar list-diary-entries-hook nil "\ 3227(defvar list-diary-entries-hook nil "\
3215List of functions called after diary file is culled for relevant entries. 3228List of functions called after diary file is culled for relevant entries.
@@ -3238,13 +3251,13 @@ in your `.emacs' file to cause the fancy diary buffer to be displayed with
3238diary entries from various included files, each day's entries sorted into 3251diary entries from various included files, each day's entries sorted into
3239lexicographic order.") 3252lexicographic order.")
3240 3253
3241(custom-autoload (quote list-diary-entries-hook) "calendar") 3254(custom-autoload (quote list-diary-entries-hook) "calendar" t)
3242 3255
3243(defvar diary-hook nil "\ 3256(defvar diary-hook nil "\
3244List of functions called after the display of the diary. 3257List of functions called after the display of the diary.
3245Can be used for appointment notification.") 3258Can be used for appointment notification.")
3246 3259
3247(custom-autoload (quote diary-hook) "calendar") 3260(custom-autoload (quote diary-hook) "calendar" t)
3248 3261
3249(defvar diary-display-hook nil "\ 3262(defvar diary-display-hook nil "\
3250List of functions that handle the display of the diary. 3263List of functions that handle the display of the diary.
@@ -3268,7 +3281,7 @@ diary buffer will not show days for which there are no diary entries, even
3268if that day is a holiday; if you want such days to be shown in the fancy 3281if that day is a holiday; if you want such days to be shown in the fancy
3269diary buffer, set the variable `diary-list-include-blanks' to t.") 3282diary buffer, set the variable `diary-list-include-blanks' to t.")
3270 3283
3271(custom-autoload (quote diary-display-hook) "calendar") 3284(custom-autoload (quote diary-display-hook) "calendar" t)
3272 3285
3273(defvar nongregorian-diary-listing-hook nil "\ 3286(defvar nongregorian-diary-listing-hook nil "\
3274List of functions called for listing diary file and included files. 3287List of functions called for listing diary file and included files.
@@ -3278,7 +3291,7 @@ to cull relevant entries. You can use either or both of
3278`list-bahai-diary-entries'. The documentation for these functions 3291`list-bahai-diary-entries'. The documentation for these functions
3279describes the style of such diary entries.") 3292describes the style of such diary entries.")
3280 3293
3281(custom-autoload (quote nongregorian-diary-listing-hook) "calendar") 3294(custom-autoload (quote nongregorian-diary-listing-hook) "calendar" t)
3282 3295
3283(defvar mark-diary-entries-hook nil "\ 3296(defvar mark-diary-entries-hook nil "\
3284List of functions called after marking diary entries in the calendar. 3297List of functions called after marking diary entries in the calendar.
@@ -3294,7 +3307,7 @@ variable `diary-include-string'. When you use `mark-included-diary-files' as
3294part of the mark-diary-entries-hook, you will probably also want to use the 3307part of the mark-diary-entries-hook, you will probably also want to use the
3295function `include-other-diary-files' as part of `list-diary-entries-hook'.") 3308function `include-other-diary-files' as part of `list-diary-entries-hook'.")
3296 3309
3297(custom-autoload (quote mark-diary-entries-hook) "calendar") 3310(custom-autoload (quote mark-diary-entries-hook) "calendar" t)
3298 3311
3299(defvar nongregorian-diary-marking-hook nil "\ 3312(defvar nongregorian-diary-marking-hook nil "\
3300List of functions called for marking diary file and included files. 3313List of functions called for marking diary file and included files.
@@ -3304,14 +3317,14 @@ to cull relevant entries. You can use either or both of
3304`mark-bahai-diary-entries'. The documentation for these functions 3317`mark-bahai-diary-entries'. The documentation for these functions
3305describes the style of such diary entries.") 3318describes the style of such diary entries.")
3306 3319
3307(custom-autoload (quote nongregorian-diary-marking-hook) "calendar") 3320(custom-autoload (quote nongregorian-diary-marking-hook) "calendar" t)
3308 3321
3309(defvar diary-list-include-blanks nil "\ 3322(defvar diary-list-include-blanks nil "\
3310If nil, do not include days with no diary entry in the list of diary entries. 3323If nil, do not include days with no diary entry in the list of diary entries.
3311Such days will then not be shown in the fancy diary buffer, even if they 3324Such days will then not be shown in the fancy diary buffer, even if they
3312are holidays.") 3325are holidays.")
3313 3326
3314(custom-autoload (quote diary-list-include-blanks) "calendar") 3327(custom-autoload (quote diary-list-include-blanks) "calendar" t)
3315 3328
3316(defvar holidays-in-diary-buffer t "\ 3329(defvar holidays-in-diary-buffer t "\
3317Non-nil means include holidays in the diary display. 3330Non-nil means include holidays in the diary display.
@@ -3319,7 +3332,7 @@ The holidays appear in the mode line of the diary buffer, or in the
3319fancy diary buffer next to the date. This slows down the diary functions 3332fancy diary buffer next to the date. This slows down the diary functions
3320somewhat; setting it to nil makes the diary display faster.") 3333somewhat; setting it to nil makes the diary display faster.")
3321 3334
3322(custom-autoload (quote holidays-in-diary-buffer) "calendar") 3335(custom-autoload (quote holidays-in-diary-buffer) "calendar" t)
3323 3336
3324(put (quote general-holidays) (quote risky-local-variable) t) 3337(put (quote general-holidays) (quote risky-local-variable) t)
3325 3338
@@ -3327,7 +3340,7 @@ somewhat; setting it to nil makes the diary display faster.")
3327General holidays. Default value is for the United States. 3340General holidays. Default value is for the United States.
3328See the documentation for `calendar-holidays' for details.") 3341See the documentation for `calendar-holidays' for details.")
3329 3342
3330(custom-autoload (quote general-holidays) "calendar") 3343(custom-autoload (quote general-holidays) "calendar" t)
3331 3344
3332(put (quote oriental-holidays) (quote risky-local-variable) t) 3345(put (quote oriental-holidays) (quote risky-local-variable) t)
3333 3346
@@ -3335,7 +3348,7 @@ See the documentation for `calendar-holidays' for details.")
3335Oriental holidays. 3348Oriental holidays.
3336See the documentation for `calendar-holidays' for details.") 3349See the documentation for `calendar-holidays' for details.")
3337 3350
3338(custom-autoload (quote oriental-holidays) "calendar") 3351(custom-autoload (quote oriental-holidays) "calendar" t)
3339 3352
3340(put (quote local-holidays) (quote risky-local-variable) t) 3353(put (quote local-holidays) (quote risky-local-variable) t)
3341 3354
@@ -3343,7 +3356,7 @@ See the documentation for `calendar-holidays' for details.")
3343Local holidays. 3356Local holidays.
3344See the documentation for `calendar-holidays' for details.") 3357See the documentation for `calendar-holidays' for details.")
3345 3358
3346(custom-autoload (quote local-holidays) "calendar") 3359(custom-autoload (quote local-holidays) "calendar" t)
3347 3360
3348(put (quote other-holidays) (quote risky-local-variable) t) 3361(put (quote other-holidays) (quote risky-local-variable) t)
3349 3362
@@ -3351,7 +3364,7 @@ See the documentation for `calendar-holidays' for details.")
3351User defined holidays. 3364User defined holidays.
3352See the documentation for `calendar-holidays' for details.") 3365See the documentation for `calendar-holidays' for details.")
3353 3366
3354(custom-autoload (quote other-holidays) "calendar") 3367(custom-autoload (quote other-holidays) "calendar" t)
3355 3368
3356(put (quote hebrew-holidays-1) (quote risky-local-variable) t) 3369(put (quote hebrew-holidays-1) (quote risky-local-variable) t)
3357 3370
@@ -3375,7 +3388,7 @@ See the documentation for `calendar-holidays' for details.")
3375Jewish holidays. 3388Jewish holidays.
3376See the documentation for `calendar-holidays' for details.") 3389See the documentation for `calendar-holidays' for details.")
3377 3390
3378(custom-autoload (quote hebrew-holidays) "calendar") 3391(custom-autoload (quote hebrew-holidays) "calendar" t)
3379 3392
3380(put (quote christian-holidays) (quote risky-local-variable) t) 3393(put (quote christian-holidays) (quote risky-local-variable) t)
3381 3394
@@ -3383,7 +3396,7 @@ See the documentation for `calendar-holidays' for details.")
3383Christian holidays. 3396Christian holidays.
3384See the documentation for `calendar-holidays' for details.") 3397See the documentation for `calendar-holidays' for details.")
3385 3398
3386(custom-autoload (quote christian-holidays) "calendar") 3399(custom-autoload (quote christian-holidays) "calendar" t)
3387 3400
3388(put (quote islamic-holidays) (quote risky-local-variable) t) 3401(put (quote islamic-holidays) (quote risky-local-variable) t)
3389 3402
@@ -3391,7 +3404,7 @@ See the documentation for `calendar-holidays' for details.")
3391Islamic holidays. 3404Islamic holidays.
3392See the documentation for `calendar-holidays' for details.") 3405See the documentation for `calendar-holidays' for details.")
3393 3406
3394(custom-autoload (quote islamic-holidays) "calendar") 3407(custom-autoload (quote islamic-holidays) "calendar" t)
3395 3408
3396(put (quote bahai-holidays) (quote risky-local-variable) t) 3409(put (quote bahai-holidays) (quote risky-local-variable) t)
3397 3410
@@ -3399,7 +3412,7 @@ See the documentation for `calendar-holidays' for details.")
3399Baha'i holidays. 3412Baha'i holidays.
3400See the documentation for `calendar-holidays' for details.") 3413See the documentation for `calendar-holidays' for details.")
3401 3414
3402(custom-autoload (quote bahai-holidays) "calendar") 3415(custom-autoload (quote bahai-holidays) "calendar" t)
3403 3416
3404(put (quote solar-holidays) (quote risky-local-variable) t) 3417(put (quote solar-holidays) (quote risky-local-variable) t)
3405 3418
@@ -3407,7 +3420,7 @@ See the documentation for `calendar-holidays' for details.")
3407Sun-related holidays. 3420Sun-related holidays.
3408See the documentation for `calendar-holidays' for details.") 3421See the documentation for `calendar-holidays' for details.")
3409 3422
3410(custom-autoload (quote solar-holidays) "calendar") 3423(custom-autoload (quote solar-holidays) "calendar" t)
3411 3424
3412(put (quote calendar-holidays) (quote risky-local-variable) t) 3425(put (quote calendar-holidays) (quote risky-local-variable) t)
3413 3426
@@ -3419,7 +3432,7 @@ frames); `calendar-only' (calendar in a separate, dedicated frame); with
3419any other value the current frame is used. Using any of the first 3432any other value the current frame is used. Using any of the first
3420three options overrides the value of `view-diary-entries-initially'.") 3433three options overrides the value of `view-diary-entries-initially'.")
3421 3434
3422(custom-autoload (quote calendar-setup) "calendar") 3435(custom-autoload (quote calendar-setup) "calendar" t)
3423 3436
3424(autoload (quote calendar) "calendar" "\ 3437(autoload (quote calendar) "calendar" "\
3425Choose between the one frame, two frame, or basic calendar displays. 3438Choose between the one frame, two frame, or basic calendar displays.
@@ -4328,6 +4341,7 @@ Return an updated `non-iso-charset-alist'.
4328(autoload-coding-system 'cp852 '(require 'code-pages)) 4341(autoload-coding-system 'cp852 '(require 'code-pages))
4329(autoload-coding-system 'cp855 '(require 'code-pages)) 4342(autoload-coding-system 'cp855 '(require 'code-pages))
4330(autoload-coding-system 'cp857 '(require 'code-pages)) 4343(autoload-coding-system 'cp857 '(require 'code-pages))
4344(autoload-coding-system 'cp858 '(require 'code-pages))
4331(autoload-coding-system 'cp860 '(require 'code-pages)) 4345(autoload-coding-system 'cp860 '(require 'code-pages))
4332(autoload-coding-system 'cp861 '(require 'code-pages)) 4346(autoload-coding-system 'cp861 '(require 'code-pages))
4333(autoload-coding-system 'cp862 '(require 'code-pages)) 4347(autoload-coding-system 'cp862 '(require 'code-pages))
@@ -5091,10 +5105,11 @@ x.2.y.1.z.2.zz =
5091(autoload (quote conf-space-mode) "conf-mode" "\ 5105(autoload (quote conf-space-mode) "conf-mode" "\
5092Conf Mode starter for space separated conf files. 5106Conf Mode starter for space separated conf files.
5093\"Assignments\" are with ` '. Keywords before the parameters are 5107\"Assignments\" are with ` '. Keywords before the parameters are
5094recognized according to `conf-space-keywords'. Interactively 5108recognized according to the variable `conf-space-keywords-alist'.
5095with a prefix ARG of `0' no keywords will be recognized. With 5109Alternatively, you can specify a value for the file local variable
5096any other prefix arg you will be prompted for a regexp to match 5110`conf-space-keywords'.
5097the keywords. 5111Use the function `conf-space-keywords' if you want to specify keywords
5112in an interactive fashion instead.
5098 5113
5099For details see `conf-mode'. Example: 5114For details see `conf-mode'. Example:
5100 5115
@@ -5112,6 +5127,12 @@ add /dev/mixer desktop
5112 5127
5113\(fn)" t nil) 5128\(fn)" t nil)
5114 5129
5130(autoload (quote conf-space-keywords) "conf-mode" "\
5131Enter Conf Space mode using regexp KEYWORDS to match the keywords.
5132See `conf-space-mode'.
5133
5134\(fn KEYWORDS)" t nil)
5135
5115(autoload (quote conf-colon-mode) "conf-mode" "\ 5136(autoload (quote conf-colon-mode) "conf-mode" "\
5116Conf Mode starter for Colon files. 5137Conf Mode starter for Colon files.
5117\"Assignments\" are with `:'. 5138\"Assignments\" are with `:'.
@@ -5357,16 +5378,24 @@ Variables controlling indentation style:
5357 `cperl-min-label-indent' 5378 `cperl-min-label-indent'
5358 Minimal indentation for line that is a label. 5379 Minimal indentation for line that is a label.
5359 5380
5360Settings for K&R and BSD indentation styles are 5381Settings for classic indent-styles: K&R BSD=C++ GNU PerlStyle=Whitesmith
5361 `cperl-indent-level' 5 8 5382 `cperl-indent-level' 5 4 2 4
5362 `cperl-continued-statement-offset' 5 8 5383 `cperl-brace-offset' 0 0 0 0
5363 `cperl-brace-offset' -5 -8 5384 `cperl-continued-brace-offset' -5 -4 0 0
5364 `cperl-label-offset' -5 -8 5385 `cperl-label-offset' -5 -4 -2 -4
5386 `cperl-continued-statement-offset' 5 4 2 4
5365 5387
5366CPerl knows several indentation styles, and may bulk set the 5388CPerl knows several indentation styles, and may bulk set the
5367corresponding variables. Use \\[cperl-set-style] to do this. Use 5389corresponding variables. Use \\[cperl-set-style] to do this. Use
5368\\[cperl-set-style-back] to restore the memorized preexisting values 5390\\[cperl-set-style-back] to restore the memorized preexisting values
5369\(both available from menu). 5391\(both available from menu). See examples in `cperl-style-examples'.
5392
5393Part of the indentation style is how different parts of if/elsif/else
5394statements are broken into lines; in CPerl, this is reflected on how
5395templates for these constructs are created (controlled by
5396`cperl-extra-newline-before-brace'), and how reflow-logic should treat \"continuation\" blocks of else/elsif/continue, controlled by the same variable,
5397and by `cperl-extra-newline-before-brace-multiline',
5398`cperl-merge-trailing-else', `cperl-indent-region-fix-constructs'.
5370 5399
5371If `cperl-indent-level' is 0, the statement after opening brace in 5400If `cperl-indent-level' is 0, the statement after opening brace in
5372column 0 is indented on 5401column 0 is indented on
@@ -5941,6 +5970,8 @@ use either \\[customize] or the function `global-cwarn-mode'.")
5941 5970
5942(put (quote global-cwarn-mode) (quote custom-set) (quote custom-set-minor-mode)) 5971(put (quote global-cwarn-mode) (quote custom-set) (quote custom-set-minor-mode))
5943 5972
5973(put (quote global-cwarn-mode) (quote custom-set) (quote custom-set-minor-mode))
5974
5944(autoload (quote global-cwarn-mode) "cwarn" "\ 5975(autoload (quote global-cwarn-mode) "cwarn" "\
5945Toggle Cwarn mode in every buffer. 5976Toggle Cwarn mode in every buffer.
5946With prefix ARG, turn Global-Cwarn mode on if and only if ARG is positive. 5977With prefix ARG, turn Global-Cwarn mode on if and only if ARG is positive.
@@ -6319,6 +6350,8 @@ use either \\[customize] or the function `delete-selection-mode'.")
6319 6350
6320(put (quote delete-selection-mode) (quote custom-set) (quote custom-set-minor-mode)) 6351(put (quote delete-selection-mode) (quote custom-set) (quote custom-set-minor-mode))
6321 6352
6353(put (quote delete-selection-mode) (quote custom-set) (quote custom-set-minor-mode))
6354
6322(autoload (quote delete-selection-mode) "delsel" "\ 6355(autoload (quote delete-selection-mode) "delsel" "\
6323Toggle Delete Selection mode. 6356Toggle Delete Selection mode.
6324With prefix ARG, turn Delete Selection mode on if and only if ARG is 6357With prefix ARG, turn Delete Selection mode on if and only if ARG is
@@ -6448,7 +6481,7 @@ List of local variables to save for each buffer.
6448The variables are saved only when they really are local. Conventional minor 6481The variables are saved only when they really are local. Conventional minor
6449modes are restored automatically; they should not be listed here.") 6482modes are restored automatically; they should not be listed here.")
6450 6483
6451(custom-autoload (quote desktop-locals-to-save) "desktop") 6484(custom-autoload (quote desktop-locals-to-save) "desktop" t)
6452 6485
6453(defvar desktop-save-buffer nil "\ 6486(defvar desktop-save-buffer nil "\
6454When non-nil, save buffer status in desktop file. 6487When non-nil, save buffer status in desktop file.
@@ -7200,6 +7233,9 @@ with the same names that the files currently have. The default
7200suggested for the target directory depends on the value of 7233suggested for the target directory depends on the value of
7201`dired-dwim-target', which see. 7234`dired-dwim-target', which see.
7202 7235
7236This command copies symbolic links by creating new ones,
7237like `cp -d'.
7238
7203\(fn &optional ARG)" t nil) 7239\(fn &optional ARG)" t nil)
7204 7240
7205(autoload (quote dired-do-symlink) "dired-aux" "\ 7241(autoload (quote dired-do-symlink) "dired-aux" "\
@@ -7587,6 +7623,7 @@ table and its own syntax table.
7587Turning on DNS mode runs `dns-mode-hook'. 7623Turning on DNS mode runs `dns-mode-hook'.
7588 7624
7589\(fn)" t nil) 7625\(fn)" t nil)
7626 (defalias 'zone-mode 'dns-mode)
7590 7627
7591(autoload (quote dns-mode-soa-increment-serial) "dns-mode" "\ 7628(autoload (quote dns-mode-soa-increment-serial) "dns-mode" "\
7592Locate SOA record and increment the serial field. 7629Locate SOA record and increment the serial field.
@@ -8352,14 +8389,14 @@ variable. You may wish to make it local to each buffer with
8352\(make-local-variable 'edebug-all-defs) in your 8389\(make-local-variable 'edebug-all-defs) in your
8353`emacs-lisp-mode-hook'.") 8390`emacs-lisp-mode-hook'.")
8354 8391
8355(custom-autoload (quote edebug-all-defs) "edebug") 8392(custom-autoload (quote edebug-all-defs) "edebug" t)
8356 8393
8357(defvar edebug-all-forms nil "\ 8394(defvar edebug-all-forms nil "\
8358*Non-nil evaluation of all forms will instrument for Edebug. 8395*Non-nil evaluation of all forms will instrument for Edebug.
8359This doesn't apply to loading or evaluations in the minibuffer. 8396This doesn't apply to loading or evaluations in the minibuffer.
8360Use the command `edebug-all-forms' to toggle the value of this option.") 8397Use the command `edebug-all-forms' to toggle the value of this option.")
8361 8398
8362(custom-autoload (quote edebug-all-forms) "edebug") 8399(custom-autoload (quote edebug-all-forms) "edebug" t)
8363 8400
8364(autoload (quote edebug-basic-spec) "edebug" "\ 8401(autoload (quote edebug-basic-spec) "edebug" "\
8365Return t if SPEC uses only extant spec symbols. 8402Return t if SPEC uses only extant spec symbols.
@@ -10439,19 +10476,24 @@ Facemenu top-level menu keymap.")
10439(defalias (quote facemenu-menu) facemenu-menu) 10476(defalias (quote facemenu-menu) facemenu-menu)
10440 10477
10441(autoload (quote facemenu-set-face) "facemenu" "\ 10478(autoload (quote facemenu-set-face) "facemenu" "\
10442Add FACE to the region or next character typed. 10479Apply FACE to the region or next character typed.
10443This adds FACE to the top of the face list; any faces lower on the list that
10444will not show through at all will be removed.
10445 10480
10446Interactively, reads the face name with the minibuffer. 10481If the region is active (normally true except in Transient
10482Mark mode) and nonempty, and there is no prefix argument,
10483this command applies FACE to the region. Otherwise, it applies FACE
10484to the faces to use for the next character
10485inserted. (Moving point or switching buffers before typing
10486a character to insert cancels the specification.)
10447 10487
10448If the region is active (normally true except in Transient Mark mode) 10488If FACE is `default', to \"apply\" it means clearing
10449and there is no prefix argument, this command sets the region to the 10489the list of faces to be used. For any other value of FACE,
10450requested face. 10490to \"apply\" it means putting FACE at the front of the list
10491of faces to be used, and removing any faces further
10492along in the list that would be completely overridden by
10493preceding faces (including FACE).
10451 10494
10452Otherwise, this command specifies the face for the next character 10495This command can also add FACE to the menu of faces,
10453inserted. Moving point or switching buffers before 10496if `facemenu-listed-faces' says to do that.
10454typing a character to insert cancels the specification.
10455 10497
10456\(fn FACE &optional START END)" t nil) 10498\(fn FACE &optional START END)" t nil)
10457 10499
@@ -10754,7 +10796,7 @@ This is a cons of two strings (FIND-OPTION . LS-SWITCHES). FIND-OPTION
10754gives the option (or options) to `find' that produce the desired output. 10796gives the option (or options) to `find' that produce the desired output.
10755LS-SWITCHES is a list of `ls' switches to tell dired how to parse the output.") 10797LS-SWITCHES is a list of `ls' switches to tell dired how to parse the output.")
10756 10798
10757(custom-autoload (quote find-ls-option) "find-dired") 10799(custom-autoload (quote find-ls-option) "find-dired" t)
10758 10800
10759(defvar find-ls-subdir-switches "-al" "\ 10801(defvar find-ls-subdir-switches "-al" "\
10760`ls' switches for inserting subdirectories in `*Find*' buffers. 10802`ls' switches for inserting subdirectories in `*Find*' buffers.
@@ -10762,14 +10804,14 @@ This should contain the \"-l\" switch.
10762Use the \"-F\" or \"-b\" switches if and only if you also use 10804Use the \"-F\" or \"-b\" switches if and only if you also use
10763them for `find-ls-option'.") 10805them for `find-ls-option'.")
10764 10806
10765(custom-autoload (quote find-ls-subdir-switches) "find-dired") 10807(custom-autoload (quote find-ls-subdir-switches) "find-dired" t)
10766 10808
10767(defvar find-grep-options (if (or (eq system-type (quote berkeley-unix)) (string-match "solaris2" system-configuration) (string-match "irix" system-configuration)) "-s" "-q") "\ 10809(defvar find-grep-options (if (or (eq system-type (quote berkeley-unix)) (string-match "solaris2" system-configuration) (string-match "irix" system-configuration)) "-s" "-q") "\
10768*Option to grep to be as silent as possible. 10810*Option to grep to be as silent as possible.
10769On Berkeley systems, this is `-s'; on Posix, and with GNU grep, `-q' does it. 10811On Berkeley systems, this is `-s'; on Posix, and with GNU grep, `-q' does it.
10770On other systems, the closest you can come is to use `-l'.") 10812On other systems, the closest you can come is to use `-l'.")
10771 10813
10772(custom-autoload (quote find-grep-options) "find-dired") 10814(custom-autoload (quote find-grep-options) "find-dired" t)
10773 10815
10774(autoload (quote find-dired) "find-dired" "\ 10816(autoload (quote find-dired) "find-dired" "\
10775Run `find' and go into Dired mode on a buffer of the output. 10817Run `find' and go into Dired mode on a buffer of the output.
@@ -12531,7 +12573,7 @@ This variable's value takes effect when `grep-compute-defaults' is called.")
12531(defvar grep-find-use-xargs nil "\ 12573(defvar grep-find-use-xargs nil "\
12532Whether \\[grep-find] uses the `xargs' utility by default. 12574Whether \\[grep-find] uses the `xargs' utility by default.
12533 12575
12534If nil, it uses `find -exec'; if `gnu', it uses `find -print0' and `xargs -0'; 12576If `exec', it uses `find -exec'; if `gnu', it uses `find -print0' and `xargs -0';
12535if not nil and not `gnu', it uses `find -print' and `xargs'. 12577if not nil and not `gnu', it uses `find -print' and `xargs'.
12536 12578
12537This variable's value takes effect when `grep-compute-defaults' is called.") 12579This variable's value takes effect when `grep-compute-defaults' is called.")
@@ -12845,12 +12887,12 @@ Thus, Custom distinguishes between a nil value and other values
12845that disable the feature, which Custom identifies with `never'. 12887that disable the feature, which Custom identifies with `never'.
12846The default is `never'.") 12888The default is `never'.")
12847 12889
12848(custom-autoload (quote help-at-pt-display-when-idle) "help-at-pt") 12890(custom-autoload (quote help-at-pt-display-when-idle) "help-at-pt" nil)
12849 12891
12850(autoload (quote scan-buf-move-to-region) "help-at-pt" "\ 12892(autoload (quote scan-buf-move-to-region) "help-at-pt" "\
12851Go to the start of the next region with non-nil PROP property. 12893Go to the start of the next region with non-nil PROP property.
12852Then run HOOK, which should be a quoted symbol that is a normal 12894Then run HOOK, which should be a quoted symbol that is a normal
12853hook.variable, or an expression evaluating to such a symbol. 12895hook variable, or an expression evaluating to such a symbol.
12854Adjacent areas with different non-nil PROP properties are 12896Adjacent areas with different non-nil PROP properties are
12855considered different regions. 12897considered different regions.
12856 12898
@@ -13240,6 +13282,8 @@ use either \\[customize] or the function `global-hi-lock-mode'.")
13240 13282
13241(put (quote global-hi-lock-mode) (quote custom-set) (quote custom-set-minor-mode)) 13283(put (quote global-hi-lock-mode) (quote custom-set) (quote custom-set-minor-mode))
13242 13284
13285(put (quote global-hi-lock-mode) (quote custom-set) (quote custom-set-minor-mode))
13286
13243(autoload (quote global-hi-lock-mode) "hi-lock" "\ 13287(autoload (quote global-hi-lock-mode) "hi-lock" "\
13244Toggle Hi-Lock mode in every buffer. 13288Toggle Hi-Lock mode in every buffer.
13245With prefix ARG, turn Global-Hi-Lock mode on if and only if ARG is positive. 13289With prefix ARG, turn Global-Hi-Lock mode on if and only if ARG is positive.
@@ -13647,9 +13691,10 @@ addition to `hl-line-highlight' on `post-command-hook'.
13647Non-nil if Global-Hl-Line mode is enabled. 13691Non-nil if Global-Hl-Line mode is enabled.
13648See the command `global-hl-line-mode' for a description of this minor-mode. 13692See the command `global-hl-line-mode' for a description of this minor-mode.
13649Setting this variable directly does not take effect; 13693Setting this variable directly does not take effect;
13650use either \\[customize] or the function `global-hl-line-mode'.") 13694either customize it (see the info node `Easy Customization')
13695or call the function `global-hl-line-mode'.")
13651 13696
13652(custom-autoload (quote global-hl-line-mode) "hl-line") 13697(custom-autoload (quote global-hl-line-mode) "hl-line" nil)
13653 13698
13654(put (quote global-hl-line-mode) (quote custom-set) (quote custom-set-minor-mode)) 13699(put (quote global-hl-line-mode) (quote custom-set) (quote custom-set-minor-mode))
13655 13700
@@ -14482,7 +14527,7 @@ The main features of this mode are
14482 \\i IF statement template 14527 \\i IF statement template
14483 \\elif IF-ELSE statement template 14528 \\elif IF-ELSE statement template
14484 \\b BEGIN 14529 \\b BEGIN
14485 14530
14486 For a full list, use \\[idlwave-list-abbrevs]. Some templates also 14531 For a full list, use \\[idlwave-list-abbrevs]. Some templates also
14487 have direct keybindings - see the list of keybindings below. 14532 have direct keybindings - see the list of keybindings below.
14488 14533
@@ -14550,7 +14595,7 @@ should be enabled. The following values are possible:
14550Setting this variable directly does not take effect; 14595Setting this variable directly does not take effect;
14551use either \\[customize] or the function `ido-mode'.") 14596use either \\[customize] or the function `ido-mode'.")
14552 14597
14553(custom-autoload (quote ido-mode) "ido") 14598(custom-autoload (quote ido-mode) "ido" nil)
14554 14599
14555(autoload (quote ido-mode) "ido" "\ 14600(autoload (quote ido-mode) "ido" "\
14556Toggle ido speed-ups on or off. 14601Toggle ido speed-ups on or off.
@@ -15039,6 +15084,8 @@ use either \\[customize] or the function `auto-image-file-mode'.")
15039 15084
15040(put (quote auto-image-file-mode) (quote custom-set) (quote custom-set-minor-mode)) 15085(put (quote auto-image-file-mode) (quote custom-set) (quote custom-set-minor-mode))
15041 15086
15087(put (quote auto-image-file-mode) (quote custom-set) (quote custom-set-minor-mode))
15088
15042(autoload (quote auto-image-file-mode) "image-file" "\ 15089(autoload (quote auto-image-file-mode) "image-file" "\
15043Toggle visiting of image files as images. 15090Toggle visiting of image files as images.
15044With prefix argument ARG, turn on if positive, otherwise off. 15091With prefix argument ARG, turn on if positive, otherwise off.
@@ -15109,7 +15156,7 @@ The function should take two arguments and return t if the first
15109element should come before the second. The arguments are cons cells; 15156element should come before the second. The arguments are cons cells;
15110\(NAME . POSITION). Look at `imenu--sort-by-name' for an example.") 15157\(NAME . POSITION). Look at `imenu--sort-by-name' for an example.")
15111 15158
15112(custom-autoload (quote imenu-sort-function) "imenu") 15159(custom-autoload (quote imenu-sort-function) "imenu" t)
15113 15160
15114(defvar imenu-generic-expression nil "\ 15161(defvar imenu-generic-expression nil "\
15115The regex pattern to use for creating a buffer index. 15162The regex pattern to use for creating a buffer index.
@@ -16065,6 +16112,8 @@ use either \\[customize] or the function `iswitchb-mode'.")
16065 16112
16066(put (quote iswitchb-mode) (quote custom-set) (quote custom-set-minor-mode)) 16113(put (quote iswitchb-mode) (quote custom-set) (quote custom-set-minor-mode))
16067 16114
16115(put (quote iswitchb-mode) (quote custom-set) (quote custom-set-minor-mode))
16116
16068(autoload (quote iswitchb-mode) "iswitchb" "\ 16117(autoload (quote iswitchb-mode) "iswitchb" "\
16069Toggle Iswitchb global minor mode. 16118Toggle Iswitchb global minor mode.
16070With arg, turn Iswitchb mode on if and only iff ARG is positive. 16119With arg, turn Iswitchb mode on if and only iff ARG is positive.
@@ -16867,7 +16916,7 @@ printers, or \"COM1\" to \"COM4\" or \"AUX\" for serial printers, or
16867it to the name of a file, in which case the output gets appended to that 16916it to the name of a file, in which case the output gets appended to that
16868file. If you want to discard the printed output, set this to \"NUL\".") 16917file. If you want to discard the printed output, set this to \"NUL\".")
16869 16918
16870(custom-autoload (quote printer-name) "lpr") 16919(custom-autoload (quote printer-name) "lpr" t)
16871 16920
16872(defvar lpr-switches nil "\ 16921(defvar lpr-switches nil "\
16873*List of strings to pass as extra options for the printer program. 16922*List of strings to pass as extra options for the printer program.
@@ -16875,7 +16924,7 @@ It is recommended to set `printer-name' instead of including an explicit
16875switch on this list. 16924switch on this list.
16876See `lpr-command'.") 16925See `lpr-command'.")
16877 16926
16878(custom-autoload (quote lpr-switches) "lpr") 16927(custom-autoload (quote lpr-switches) "lpr" t)
16879 16928
16880(defvar lpr-command (cond (lpr-windows-system "") (lpr-lp-system "lp") (t "lpr")) "\ 16929(defvar lpr-command (cond (lpr-windows-system "") (lpr-lp-system "lp") (t "lpr")) "\
16881*Name of program for printing a file. 16930*Name of program for printing a file.
@@ -16888,7 +16937,7 @@ Windows NT and Novell Netware respectively) are handled specially, using
16888treated like `lpr' except that an explicit filename is given as the last 16937treated like `lpr' except that an explicit filename is given as the last
16889argument.") 16938argument.")
16890 16939
16891(custom-autoload (quote lpr-command) "lpr") 16940(custom-autoload (quote lpr-command) "lpr" t)
16892 16941
16893(autoload (quote lpr-buffer) "lpr" "\ 16942(autoload (quote lpr-buffer) "lpr" "\
16894Print buffer contents without pagination or page headers. 16943Print buffer contents without pagination or page headers.
@@ -17509,17 +17558,17 @@ If `angles', they look like:
17509Otherwise, most addresses look like `angles', but they look like 17558Otherwise, most addresses look like `angles', but they look like
17510`parens' if `angles' would need quoting and `parens' would not.") 17559`parens' if `angles' would need quoting and `parens' would not.")
17511 17560
17512(custom-autoload (quote message-from-style) "message") 17561(custom-autoload (quote message-from-style) "message" t)
17513 17562
17514(defvar message-signature-separator "^-- *$" "\ 17563(defvar message-signature-separator "^-- *$" "\
17515Regexp matching the signature separator.") 17564Regexp matching the signature separator.")
17516 17565
17517(custom-autoload (quote message-signature-separator) "message") 17566(custom-autoload (quote message-signature-separator) "message" t)
17518 17567
17519(defvar message-user-organization-file "/usr/lib/news/organization" "\ 17568(defvar message-user-organization-file "/usr/lib/news/organization" "\
17520*Local news organization file.") 17569*Local news organization file.")
17521 17570
17522(custom-autoload (quote message-user-organization-file) "message") 17571(custom-autoload (quote message-user-organization-file) "message" t)
17523 17572
17524(defvar message-send-mail-function (quote message-send-mail-with-sendmail) "\ 17573(defvar message-send-mail-function (quote message-send-mail-with-sendmail) "\
17525Function to call to send the current buffer as mail. 17574Function to call to send the current buffer as mail.
@@ -17532,7 +17581,7 @@ Valid values include `message-send-mail-with-sendmail' (the default),
17532 17581
17533See also `send-mail-function'.") 17582See also `send-mail-function'.")
17534 17583
17535(custom-autoload (quote message-send-mail-function) "message") 17584(custom-autoload (quote message-send-mail-function) "message" t)
17536 17585
17537(defvar message-citation-line-function (quote message-insert-citation-line) "\ 17586(defvar message-citation-line-function (quote message-insert-citation-line) "\
17538*Function called to insert the \"Whomever writes:\" line. 17587*Function called to insert the \"Whomever writes:\" line.
@@ -17542,14 +17591,14 @@ Note that Gnus provides a feature where the reader can click on
17542people who read your message will have to change their Gnus 17591people who read your message will have to change their Gnus
17543configuration. See the variable `gnus-cite-attribution-suffix'.") 17592configuration. See the variable `gnus-cite-attribution-suffix'.")
17544 17593
17545(custom-autoload (quote message-citation-line-function) "message") 17594(custom-autoload (quote message-citation-line-function) "message" t)
17546 17595
17547(defvar message-yank-prefix "> " "\ 17596(defvar message-yank-prefix "> " "\
17548*Prefix inserted on the lines of yanked messages. 17597*Prefix inserted on the lines of yanked messages.
17549Fix `message-cite-prefix-regexp' if it is set to an abnormal value. 17598Fix `message-cite-prefix-regexp' if it is set to an abnormal value.
17550See also `message-yank-cited-prefix'.") 17599See also `message-yank-cited-prefix'.")
17551 17600
17552(custom-autoload (quote message-yank-prefix) "message") 17601(custom-autoload (quote message-yank-prefix) "message" t)
17553 17602
17554(defvar message-cite-function (quote message-cite-original) "\ 17603(defvar message-cite-function (quote message-cite-original) "\
17555*Function for citing an original message. 17604*Function for citing an original message.
@@ -17557,7 +17606,7 @@ Predefined functions include `message-cite-original' and
17557`message-cite-original-without-signature'. 17606`message-cite-original-without-signature'.
17558Note that `message-cite-original' uses `mail-citation-hook' if that is non-nil.") 17607Note that `message-cite-original' uses `mail-citation-hook' if that is non-nil.")
17559 17608
17560(custom-autoload (quote message-cite-function) "message") 17609(custom-autoload (quote message-cite-function) "message" t)
17561 17610
17562(defvar message-indent-citation-function (quote message-indent-citation) "\ 17611(defvar message-indent-citation-function (quote message-indent-citation) "\
17563*Function for modifying a citation just inserted in the mail buffer. 17612*Function for modifying a citation just inserted in the mail buffer.
@@ -17565,7 +17614,7 @@ This can also be a list of functions. Each function can find the
17565citation between (point) and (mark t). And each function should leave 17614citation between (point) and (mark t). And each function should leave
17566point and mark around the citation text as modified.") 17615point and mark around the citation text as modified.")
17567 17616
17568(custom-autoload (quote message-indent-citation-function) "message") 17617(custom-autoload (quote message-indent-citation-function) "message" t)
17569 17618
17570(defvar message-signature t "\ 17619(defvar message-signature t "\
17571*String to be inserted at the end of the message buffer. 17620*String to be inserted at the end of the message buffer.
@@ -17573,19 +17622,19 @@ If t, the `message-signature-file' file will be inserted instead.
17573If a function, the result from the function will be used instead. 17622If a function, the result from the function will be used instead.
17574If a form, the result from the form will be used instead.") 17623If a form, the result from the form will be used instead.")
17575 17624
17576(custom-autoload (quote message-signature) "message") 17625(custom-autoload (quote message-signature) "message" t)
17577 17626
17578(defvar message-signature-file "~/.signature" "\ 17627(defvar message-signature-file "~/.signature" "\
17579*Name of file containing the text inserted at end of message buffer. 17628*Name of file containing the text inserted at end of message buffer.
17580Ignored if the named file doesn't exist. 17629Ignored if the named file doesn't exist.
17581If nil, don't insert a signature.") 17630If nil, don't insert a signature.")
17582 17631
17583(custom-autoload (quote message-signature-file) "message") 17632(custom-autoload (quote message-signature-file) "message" t)
17584 17633
17585(defvar message-signature-insert-empty-line t "\ 17634(defvar message-signature-insert-empty-line t "\
17586*If non-nil, insert an empty line before the signature separator.") 17635*If non-nil, insert an empty line before the signature separator.")
17587 17636
17588(custom-autoload (quote message-signature-insert-empty-line) "message") 17637(custom-autoload (quote message-signature-insert-empty-line) "message" t)
17589 17638
17590(define-mail-user-agent (quote message-user-agent) (quote message-mail) (quote message-send-and-exit) (quote message-kill-buffer) (quote message-send-hook)) 17639(define-mail-user-agent (quote message-user-agent) (quote message-mail) (quote message-send-and-exit) (quote message-kill-buffer) (quote message-send-hook))
17591 17640
@@ -18045,6 +18094,8 @@ use either \\[customize] or the function `minibuffer-electric-default-mode'.")
18045 18094
18046(put (quote minibuffer-electric-default-mode) (quote custom-set) (quote custom-set-minor-mode)) 18095(put (quote minibuffer-electric-default-mode) (quote custom-set) (quote custom-set-minor-mode))
18047 18096
18097(put (quote minibuffer-electric-default-mode) (quote custom-set) (quote custom-set-minor-mode))
18098
18048(autoload (quote minibuffer-electric-default-mode) "minibuf-eldef" "\ 18099(autoload (quote minibuffer-electric-default-mode) "minibuf-eldef" "\
18049Toggle Minibuffer Electric Default mode. 18100Toggle Minibuffer Electric Default mode.
18050When active, minibuffer prompts that show a default value only show the 18101When active, minibuffer prompts that show a default value only show the
@@ -18349,6 +18400,8 @@ use either \\[customize] or the function `msb-mode'.")
18349 18400
18350(custom-autoload (quote msb-mode) "msb") 18401(custom-autoload (quote msb-mode) "msb")
18351 18402
18403(put (quote msb-mode) (quote custom-set) (quote custom-set-minor-mode))
18404
18352(autoload (quote msb-mode) "msb" "\ 18405(autoload (quote msb-mode) "msb" "\
18353Toggle Msb mode. 18406Toggle Msb mode.
18354With arg, turn Msb mode on if and only if arg is positive. 18407With arg, turn Msb mode on if and only if arg is positive.
@@ -18497,7 +18550,8 @@ Display a list of all coding categories.
18497\(fn)" nil nil) 18550\(fn)" nil nil)
18498 18551
18499(autoload (quote describe-font) "mule-diag" "\ 18552(autoload (quote describe-font) "mule-diag" "\
18500Display information about fonts which partially match FONTNAME. 18553Display information about a font whose name is FONTNAME.
18554The font must be already used by Emacs.
18501 18555
18502\(fn FONTNAME)" t nil) 18556\(fn FONTNAME)" t nil)
18503 18557
@@ -18677,6 +18731,8 @@ use either \\[customize] or the function `mouse-wheel-mode'.")
18677 18731
18678(custom-autoload (quote mouse-wheel-mode) "mwheel") 18732(custom-autoload (quote mouse-wheel-mode) "mwheel")
18679 18733
18734(put (quote mouse-wheel-mode) (quote custom-set) (quote custom-set-minor-mode))
18735
18680(autoload (quote mouse-wheel-mode) "mwheel" "\ 18736(autoload (quote mouse-wheel-mode) "mwheel" "\
18681Toggle mouse wheel support. 18737Toggle mouse wheel support.
18682With prefix argument ARG, turn on if positive, otherwise off. 18738With prefix argument ARG, turn on if positive, otherwise off.
@@ -18815,7 +18871,7 @@ can set the value for a particular mode using that mode's hook.
18815Comments might be indented to a value smaller than this in order 18871Comments might be indented to a value smaller than this in order
18816not to go beyond `comment-fill-column'.") 18872not to go beyond `comment-fill-column'.")
18817 18873
18818(custom-autoload (quote comment-column) "newcomment") 18874(custom-autoload (quote comment-column) "newcomment" t)
18819(put 'comment-column 'safe-local-variable 'integerp) 18875(put 'comment-column 'safe-local-variable 'integerp)
18820 18876
18821(defvar comment-start nil "\ 18877(defvar comment-start nil "\
@@ -18855,7 +18911,7 @@ comments always start in column zero.")
18855Style to be used for `comment-region'. 18911Style to be used for `comment-region'.
18856See `comment-styles' for a list of available styles.") 18912See `comment-styles' for a list of available styles.")
18857 18913
18858(custom-autoload (quote comment-style) "newcomment") 18914(custom-autoload (quote comment-style) "newcomment" t)
18859 18915
18860(defvar comment-padding " " "\ 18916(defvar comment-padding " " "\
18861Padding string that `comment-region' puts between comment chars and text. 18917Padding string that `comment-region' puts between comment chars and text.
@@ -18865,7 +18921,7 @@ of the corresponding number of spaces.
18865Extra spacing between the comment characters and the comment text 18921Extra spacing between the comment characters and the comment text
18866makes the comment easier to read. Default is 1. nil means 0.") 18922makes the comment easier to read. Default is 1. nil means 0.")
18867 18923
18868(custom-autoload (quote comment-padding) "newcomment") 18924(custom-autoload (quote comment-padding) "newcomment" t)
18869 18925
18870(defvar comment-multi-line nil "\ 18926(defvar comment-multi-line nil "\
18871Non-nil means `comment-indent-new-line' continues comments. 18927Non-nil means `comment-indent-new-line' continues comments.
@@ -18876,7 +18932,7 @@ customize this variable.
18876It also affects \\[indent-new-comment-line]. However, if you want this 18932It also affects \\[indent-new-comment-line]. However, if you want this
18877behavior for explicit filling, you might as well use \\[newline-and-indent].") 18933behavior for explicit filling, you might as well use \\[newline-and-indent].")
18878 18934
18879(custom-autoload (quote comment-multi-line) "newcomment") 18935(custom-autoload (quote comment-multi-line) "newcomment" t)
18880 18936
18881(autoload (quote comment-normalize-vars) "newcomment" "\ 18937(autoload (quote comment-normalize-vars) "newcomment" "\
18882Check and setup the variables needed by other commenting functions. 18938Check and setup the variables needed by other commenting functions.
@@ -18933,6 +18989,13 @@ The strings used as comment starts are built from
18933 18989
18934\(fn BEG END &optional ARG)" t nil) 18990\(fn BEG END &optional ARG)" t nil)
18935 18991
18992(autoload (quote comment-box) "newcomment" "\
18993Comment out the BEG .. END region, putting it inside a box.
18994The numeric prefix ARG specifies how many characters to add to begin- and
18995end- comment markers additionally to what `comment-add' already specifies.
18996
18997\(fn BEG END &optional ARG)" t nil)
18998
18936(autoload (quote comment-or-uncomment-region) "newcomment" "\ 18999(autoload (quote comment-or-uncomment-region) "newcomment" "\
18937Call `comment-region', unless the region only consists of comments, 19000Call `comment-region', unless the region only consists of comments,
18938in which case call `uncomment-region'. If a prefix arg is given, it 19001in which case call `uncomment-region'. If a prefix arg is given, it
@@ -18956,7 +19019,7 @@ You can configure `comment-style' to change the way regions are commented.
18956Non-nil means to only auto-fill inside comments. 19019Non-nil means to only auto-fill inside comments.
18957This has no effect in modes that do not define a comment syntax.") 19020This has no effect in modes that do not define a comment syntax.")
18958 19021
18959(custom-autoload (quote comment-auto-fill-only-comments) "newcomment") 19022(custom-autoload (quote comment-auto-fill-only-comments) "newcomment" t)
18960 19023
18961(autoload (quote comment-indent-new-line) "newcomment" "\ 19024(autoload (quote comment-indent-new-line) "newcomment" "\
18962Break line at point and indent, continuing comment if within one. 19025Break line at point and indent, continuing comment if within one.
@@ -19649,6 +19712,8 @@ use either \\[customize] or the function `show-paren-mode'.")
19649 19712
19650(put (quote show-paren-mode) (quote custom-set) (quote custom-set-minor-mode)) 19713(put (quote show-paren-mode) (quote custom-set) (quote custom-set-minor-mode))
19651 19714
19715(put (quote show-paren-mode) (quote custom-set) (quote custom-set-minor-mode))
19716
19652(autoload (quote show-paren-mode) "paren" "\ 19717(autoload (quote show-paren-mode) "paren" "\
19653Toggle Show Paren mode. 19718Toggle Show Paren mode.
19654With prefix ARG, turn Show Paren mode on if and only if ARG is positive. 19719With prefix ARG, turn Show Paren mode on if and only if ARG is positive.
@@ -19759,6 +19824,8 @@ use either \\[customize] or the function `pc-selection-mode'.")
19759 19824
19760(put (quote pc-selection-mode) (quote custom-set) (quote custom-set-minor-mode)) 19825(put (quote pc-selection-mode) (quote custom-set) (quote custom-set-minor-mode))
19761 19826
19827(put (quote pc-selection-mode) (quote custom-set) (quote custom-set-minor-mode))
19828
19762(autoload (quote pc-selection-mode) "pc-select" "\ 19829(autoload (quote pc-selection-mode) "pc-select" "\
19763Change mark behavior to emulate Motif, MAC or MS-Windows cut and paste style. 19830Change mark behavior to emulate Motif, MAC or MS-Windows cut and paste style.
19764 19831
@@ -20066,7 +20133,7 @@ Optional argument NOSHOW if non-nil means not to display the buffer.
20066The action to be performed when opening a CVS directory. 20133The action to be performed when opening a CVS directory.
20067Sensible values are `cvs-examine', `cvs-status' and `cvs-quickdir'.") 20134Sensible values are `cvs-examine', `cvs-status' and `cvs-quickdir'.")
20068 20135
20069(custom-autoload (quote cvs-dired-action) "pcvs") 20136(custom-autoload (quote cvs-dired-action) "pcvs" t)
20070 20137
20071(defvar cvs-dired-use-hook (quote (4)) "\ 20138(defvar cvs-dired-use-hook (quote (4)) "\
20072Whether or not opening a CVS directory should run PCL-CVS. 20139Whether or not opening a CVS directory should run PCL-CVS.
@@ -20075,7 +20142,7 @@ ALWAYS means to always do it unless a prefix argument is given to the
20075 command that prompted the opening of the directory. 20142 command that prompted the opening of the directory.
20076Anything else means to do it only if the prefix arg is equal to this value.") 20143Anything else means to do it only if the prefix arg is equal to this value.")
20077 20144
20078(custom-autoload (quote cvs-dired-use-hook) "pcvs") 20145(custom-autoload (quote cvs-dired-use-hook) "pcvs" t)
20079 20146
20080(defun cvs-dired-noselect (dir) "\ 20147(defun cvs-dired-noselect (dir) "\
20081Run `cvs-examine' if DIR is a CVS administrative directory. 20148Run `cvs-examine' if DIR is a CVS administrative directory.
@@ -20427,12 +20494,15 @@ Output stream is STREAM, or value of `standard-output' (which see).
20427\(fn OBJECT &optional STREAM)" nil nil) 20494\(fn OBJECT &optional STREAM)" nil nil)
20428 20495
20429(autoload (quote pp-eval-expression) "pp" "\ 20496(autoload (quote pp-eval-expression) "pp" "\
20430Evaluate EXPRESSION and pretty-print value into a new display buffer. 20497Evaluate an expression, then pretty-print value EXPVAL into a new buffer.
20431If the pretty-printed value fits on one line, the message line is used 20498If pretty-printed EXPVAL fits on one line, display it in the echo
20432instead. The value is also consed onto the front of the list 20499area instead. Also add EXPVAL to the front of the list
20433in the variable `values'. 20500in the variable `values'.
20434 20501
20435\(fn EXPRESSION)" t nil) 20502Non-interactively, the argument is the value, EXPVAL, not the expression
20503to evaluate.
20504
20505\(fn EXPVAL)" t nil)
20436 20506
20437(autoload (quote pp-eval-last-sexp) "pp" "\ 20507(autoload (quote pp-eval-last-sexp) "pp" "\
20438Run `pp-eval-expression' on sexp before point (which see). 20508Run `pp-eval-expression' on sexp before point (which see).
@@ -21280,7 +21350,7 @@ Valid values are:
21280 21350
21281Any other value is treated as t.") 21351Any other value is treated as t.")
21282 21352
21283(custom-autoload (quote ps-print-color-p) "ps-print") 21353(custom-autoload (quote ps-print-color-p) "ps-print" t)
21284 21354
21285(autoload (quote ps-print-customize) "ps-print" "\ 21355(autoload (quote ps-print-customize) "ps-print" "\
21286Customization of ps-print group. 21356Customization of ps-print group.
@@ -21460,19 +21530,24 @@ If EXTENSION is any other symbol, it is ignored.
21460Run an inferior Python process, input and output via buffer *Python*. 21530Run an inferior Python process, input and output via buffer *Python*.
21461CMD is the Python command to run. NOSHOW non-nil means don't show the 21531CMD is the Python command to run. NOSHOW non-nil means don't show the
21462buffer automatically. 21532buffer automatically.
21463If there is a process already running in `*Python*', switch to
21464that buffer. Interactively, a prefix arg allows you to edit the initial
21465command line (default is `python-command'); `-i' etc. args will be added
21466to this as appropriate. Runs the hook `inferior-python-mode-hook'
21467\(after the `comint-mode-hook' is run).
21468\(Type \\[describe-mode] in the process buffer for a list of commands.)
21469 21533
21470\(fn &optional CMD NOSHOW)" t nil) 21534Normally, if there is a process already running in `python-buffer',
21535switch to that buffer. Interactively, a prefix arg allows you to edit
21536the initial command line (default is `python-command'); `-i' etc. args
21537will be added to this as appropriate. A new process is started if:
21538one isn't running attached to `python-buffer', or interactively the
21539default `python-command', or argument NEW is non-nil. See also the
21540documentation for `python-buffer'.
21541
21542Runs the hook `inferior-python-mode-hook' (after the
21543`comint-mode-hook' is run). (Type \\[describe-mode] in the process
21544buffer for a list of commands.)
21545
21546\(fn &optional CMD NOSHOW NEW)" t nil)
21471 21547
21472(autoload (quote python-mode) "python" "\ 21548(autoload (quote python-mode) "python" "\
21473Major mode for editing Python files. 21549Major mode for editing Python files.
21474Turns on Font Lock mode unconditionally since it is required for correct 21550Font Lock mode is currently required for correct parsing of the source.
21475parsing of the source.
21476See also `jython-mode', which is actually invoked if the buffer appears to 21551See also `jython-mode', which is actually invoked if the buffer appears to
21477contain Jython code. See also `run-python' and associated Python mode 21552contain Jython code. See also `run-python' and associated Python mode
21478commands for running Python under Emacs. 21553commands for running Python under Emacs.
@@ -21486,16 +21561,22 @@ the end of definitions at that level, when they move up a level.
21486Colon is electric: it outdents the line if appropriate, e.g. for 21561Colon is electric: it outdents the line if appropriate, e.g. for
21487an else statement. \\[python-backspace] at the beginning of an indented statement 21562an else statement. \\[python-backspace] at the beginning of an indented statement
21488deletes a level of indentation to close the current block; otherwise it 21563deletes a level of indentation to close the current block; otherwise it
21489deletes a charcter backward. TAB indents the current line relative to 21564deletes a character backward. TAB indents the current line relative to
21490the preceding code. Successive TABs, with no intervening command, cycle 21565the preceding code. Successive TABs, with no intervening command, cycle
21491through the possibilities for indentation on the basis of enclosing blocks. 21566through the possibilities for indentation on the basis of enclosing blocks.
21492 21567
21493\\[fill-paragraph] fills comments and multiline strings appropriately, but has no 21568\\[fill-paragraph] fills comments and multi-line strings appropriately, but has no
21494effect outside them. 21569effect outside them.
21495 21570
21496Supports Eldoc mode (only for functions, using a Python process), 21571Supports Eldoc mode (only for functions, using a Python process),
21497Info-Look and Imenu. In Outline minor mode, `class' and `def' 21572Info-Look and Imenu. In Outline minor mode, `class' and `def'
21498lines count as headers. 21573lines count as headers. Symbol completion is available in the
21574same way as in the Python shell using the `rlcompleter' module
21575and this is added to the Hippie Expand functions locally if
21576Hippie Expand mode is turned on. Completion of symbols of the
21577form x.y only works if the components are literal
21578module/attribute names, not variables. An abbrev table is set up
21579with skeleton expansions for compound statement templates.
21499 21580
21500\\{python-mode-map} 21581\\{python-mode-map}
21501 21582
@@ -21858,9 +21939,10 @@ Not documented
21858Non-nil if Rcirc-Track minor mode is enabled. 21939Non-nil if Rcirc-Track minor mode is enabled.
21859See the command `rcirc-track-minor-mode' for a description of this minor-mode. 21940See the command `rcirc-track-minor-mode' for a description of this minor-mode.
21860Setting this variable directly does not take effect; 21941Setting this variable directly does not take effect;
21861use either \\[customize] or the function `rcirc-track-minor-mode'.") 21942either customize it (see the info node `Easy Customization')
21943or call the function `rcirc-track-minor-mode'.")
21862 21944
21863(custom-autoload (quote rcirc-track-minor-mode) "rcirc") 21945(custom-autoload (quote rcirc-track-minor-mode) "rcirc" nil)
21864 21946
21865(autoload (quote rcirc-track-minor-mode) "rcirc" "\ 21947(autoload (quote rcirc-track-minor-mode) "rcirc" "\
21866Global minor mode for tracking activity in rcirc buffers. 21948Global minor mode for tracking activity in rcirc buffers.
@@ -21913,8 +21995,6 @@ Returns non-nil if the new state is enabled.
21913When recentf mode is enabled, it maintains a menu for visiting files 21995When recentf mode is enabled, it maintains a menu for visiting files
21914that were operated on recently. 21996that were operated on recently.
21915 21997
21916\\{recentf-mode-map}
21917
21918\(fn &optional ARG)" t nil) 21998\(fn &optional ARG)" t nil)
21919 21999
21920;;;*** 22000;;;***
@@ -22358,6 +22438,8 @@ use either \\[customize] or the function `global-reveal-mode'.")
22358 22438
22359(custom-autoload (quote global-reveal-mode) "reveal") 22439(custom-autoload (quote global-reveal-mode) "reveal")
22360 22440
22441(put (quote global-reveal-mode) (quote custom-set) (quote custom-set-minor-mode))
22442
22361(autoload (quote global-reveal-mode) "reveal" "\ 22443(autoload (quote global-reveal-mode) "reveal" "\
22362Toggle Reveal mode in all buffers on or off. 22444Toggle Reveal mode in all buffers on or off.
22363Reveal mode renders invisible text around point visible again. 22445Reveal mode renders invisible text around point visible again.
@@ -22452,7 +22534,7 @@ Currently known variants are 'emacs and 'mailutils.
22452A value of nil means exclude your own email address as an address 22534A value of nil means exclude your own email address as an address
22453plus whatever is specified by `rmail-default-dont-reply-to-names'.") 22535plus whatever is specified by `rmail-default-dont-reply-to-names'.")
22454 22536
22455(custom-autoload (quote rmail-dont-reply-to-names) "rmail") 22537(custom-autoload (quote rmail-dont-reply-to-names) "rmail" t)
22456 22538
22457(defvar rmail-default-dont-reply-to-names "\\`info-" "\ 22539(defvar rmail-default-dont-reply-to-names "\\`info-" "\
22458A regular expression specifying part of the default value of the 22540A regular expression specifying part of the default value of the
@@ -22471,36 +22553,36 @@ To make a change in this variable take effect
22471for a message that you have already viewed, 22553for a message that you have already viewed,
22472go to that message and type \\[rmail-toggle-header] twice.") 22554go to that message and type \\[rmail-toggle-header] twice.")
22473 22555
22474(custom-autoload (quote rmail-ignored-headers) "rmail") 22556(custom-autoload (quote rmail-ignored-headers) "rmail" t)
22475 22557
22476(defvar rmail-displayed-headers nil "\ 22558(defvar rmail-displayed-headers nil "\
22477*Regexp to match Header fields that Rmail should display. 22559*Regexp to match Header fields that Rmail should display.
22478If nil, display all header fields except those matched by 22560If nil, display all header fields except those matched by
22479`rmail-ignored-headers'.") 22561`rmail-ignored-headers'.")
22480 22562
22481(custom-autoload (quote rmail-displayed-headers) "rmail") 22563(custom-autoload (quote rmail-displayed-headers) "rmail" t)
22482 22564
22483(defvar rmail-retry-ignored-headers "^x-authentication-warning:" "\ 22565(defvar rmail-retry-ignored-headers "^x-authentication-warning:" "\
22484*Headers that should be stripped when retrying a failed message.") 22566*Headers that should be stripped when retrying a failed message.")
22485 22567
22486(custom-autoload (quote rmail-retry-ignored-headers) "rmail") 22568(custom-autoload (quote rmail-retry-ignored-headers) "rmail" t)
22487 22569
22488(defvar rmail-highlighted-headers "^From:\\|^Subject:" "\ 22570(defvar rmail-highlighted-headers "^From:\\|^Subject:" "\
22489*Regexp to match Header fields that Rmail should normally highlight. 22571*Regexp to match Header fields that Rmail should normally highlight.
22490A value of nil means don't highlight. 22572A value of nil means don't highlight.
22491See also `rmail-highlight-face'.") 22573See also `rmail-highlight-face'.")
22492 22574
22493(custom-autoload (quote rmail-highlighted-headers) "rmail") 22575(custom-autoload (quote rmail-highlighted-headers) "rmail" t)
22494 22576
22495(defvar rmail-highlight-face (quote rmail-highlight) "\ 22577(defvar rmail-highlight-face (quote rmail-highlight) "\
22496*Face used by Rmail for highlighting headers.") 22578*Face used by Rmail for highlighting headers.")
22497 22579
22498(custom-autoload (quote rmail-highlight-face) "rmail") 22580(custom-autoload (quote rmail-highlight-face) "rmail" t)
22499 22581
22500(defvar rmail-delete-after-output nil "\ 22582(defvar rmail-delete-after-output nil "\
22501*Non-nil means automatically delete a message that is copied to a file.") 22583*Non-nil means automatically delete a message that is copied to a file.")
22502 22584
22503(custom-autoload (quote rmail-delete-after-output) "rmail") 22585(custom-autoload (quote rmail-delete-after-output) "rmail" t)
22504 22586
22505(defvar rmail-primary-inbox-list nil "\ 22587(defvar rmail-primary-inbox-list nil "\
22506*List of files which are inboxes for user's primary mail file `~/RMAIL'. 22588*List of files which are inboxes for user's primary mail file `~/RMAIL'.
@@ -22508,29 +22590,29 @@ nil means the default, which is (\"/usr/spool/mail/$USER\")
22508\(the name varies depending on the operating system, 22590\(the name varies depending on the operating system,
22509and the value of the environment variable MAIL overrides it).") 22591and the value of the environment variable MAIL overrides it).")
22510 22592
22511(custom-autoload (quote rmail-primary-inbox-list) "rmail") 22593(custom-autoload (quote rmail-primary-inbox-list) "rmail" t)
22512 22594
22513(defvar rmail-mail-new-frame nil "\ 22595(defvar rmail-mail-new-frame nil "\
22514*Non-nil means Rmail makes a new frame for composing outgoing mail. 22596*Non-nil means Rmail makes a new frame for composing outgoing mail.
22515This is handy if you want to preserve the window configuration of 22597This is handy if you want to preserve the window configuration of
22516the frame where you have the RMAIL buffer displayed.") 22598the frame where you have the RMAIL buffer displayed.")
22517 22599
22518(custom-autoload (quote rmail-mail-new-frame) "rmail") 22600(custom-autoload (quote rmail-mail-new-frame) "rmail" t)
22519 22601
22520(defvar rmail-secondary-file-directory "~/" "\ 22602(defvar rmail-secondary-file-directory "~/" "\
22521*Directory for additional secondary Rmail files.") 22603*Directory for additional secondary Rmail files.")
22522 22604
22523(custom-autoload (quote rmail-secondary-file-directory) "rmail") 22605(custom-autoload (quote rmail-secondary-file-directory) "rmail" t)
22524 22606
22525(defvar rmail-secondary-file-regexp "\\.xmail$" "\ 22607(defvar rmail-secondary-file-regexp "\\.xmail$" "\
22526*Regexp for which files are secondary Rmail files.") 22608*Regexp for which files are secondary Rmail files.")
22527 22609
22528(custom-autoload (quote rmail-secondary-file-regexp) "rmail") 22610(custom-autoload (quote rmail-secondary-file-regexp) "rmail" t)
22529 22611
22530(defvar rmail-confirm-expunge (quote y-or-n-p) "\ 22612(defvar rmail-confirm-expunge (quote y-or-n-p) "\
22531*Whether and how to ask for confirmation before expunging deleted messages.") 22613*Whether and how to ask for confirmation before expunging deleted messages.")
22532 22614
22533(custom-autoload (quote rmail-confirm-expunge) "rmail") 22615(custom-autoload (quote rmail-confirm-expunge) "rmail" t)
22534 22616
22535(defvar rmail-mode-hook nil "\ 22617(defvar rmail-mode-hook nil "\
22536List of functions to call when Rmail is invoked.") 22618List of functions to call when Rmail is invoked.")
@@ -22541,7 +22623,7 @@ List of functions to call when Rmail has retrieved new mail.")
22541(defvar rmail-show-message-hook nil "\ 22623(defvar rmail-show-message-hook nil "\
22542List of functions to call when Rmail displays a message.") 22624List of functions to call when Rmail displays a message.")
22543 22625
22544(custom-autoload (quote rmail-show-message-hook) "rmail") 22626(custom-autoload (quote rmail-show-message-hook) "rmail" t)
22545 22627
22546(defvar rmail-quit-hook nil "\ 22628(defvar rmail-quit-hook nil "\
22547List of functions to call when quitting out of Rmail.") 22629List of functions to call when quitting out of Rmail.")
@@ -22566,7 +22648,7 @@ Even if the value is non-nil, you can't use MIME feature
22566if the feature specified by `rmail-mime-feature' is not available 22648if the feature specified by `rmail-mime-feature' is not available
22567in your session.") 22649in your session.")
22568 22650
22569(custom-autoload (quote rmail-enable-mime) "rmail") 22651(custom-autoload (quote rmail-enable-mime) "rmail" t)
22570 22652
22571(defvar rmail-show-mime-function nil "\ 22653(defvar rmail-show-mime-function nil "\
22572Function to show MIME decoded message of RMAIL file. 22654Function to show MIME decoded message of RMAIL file.
@@ -22619,7 +22701,7 @@ If the variable `rmail-enable-mime' is non-nil, this variables is
22619ignored, and all the decoding work is done by a feature specified by 22701ignored, and all the decoding work is done by a feature specified by
22620the variable `rmail-mime-feature'.") 22702the variable `rmail-mime-feature'.")
22621 22703
22622(defvar rmail-mime-charset-pattern (concat "^content-type:[ ]*text/plain;" "\\(?:[ \n]*\\(?:format\\|delsp\\)=\"?[-a-z0-9]+\"?;\\)*" "[ \n]*charset=\"?\\([^ \n\";]+\\)\"?") "\ 22704(defvar rmail-mime-charset-pattern (concat "^content-type:[ ]*text/plain;" "\\(?:[ \n]*\\(?:format\\|delsp\\)=\"?[-a-z0-9]+\"?;\\)*" "[ \n]*charset=\"?\\([^ \n\";]+\\)\"?") "\
22623Regexp to match MIME-charset specification in a header of message. 22705Regexp to match MIME-charset specification in a header of message.
22624The first parenthesized expression should match the MIME-charset name.") 22706The first parenthesized expression should match the MIME-charset name.")
22625 22707
@@ -23504,6 +23586,8 @@ use either \\[customize] or the function `scroll-all-mode'.")
23504 23586
23505(put (quote scroll-all-mode) (quote custom-set) (quote custom-set-minor-mode)) 23587(put (quote scroll-all-mode) (quote custom-set) (quote custom-set-minor-mode))
23506 23588
23589(put (quote scroll-all-mode) (quote custom-set) (quote custom-set-minor-mode))
23590
23507(autoload (quote scroll-all-mode) "scroll-all" "\ 23591(autoload (quote scroll-all-mode) "scroll-all" "\
23508Toggle Scroll-All minor mode. 23592Toggle Scroll-All minor mode.
23509With ARG, turn Scroll-All minor mode on if ARG is positive, off otherwise. 23593With ARG, turn Scroll-All minor mode on if ARG is positive, off otherwise.
@@ -23557,7 +23641,7 @@ Emacs to pass the proper email address from `user-mail-address'
23557to the mailer to specify the envelope-from address. But that is now 23641to the mailer to specify the envelope-from address. But that is now
23558controlled by a separate variable, `mail-specify-envelope-from'.") 23642controlled by a separate variable, `mail-specify-envelope-from'.")
23559 23643
23560(custom-autoload (quote mail-from-style) "sendmail") 23644(custom-autoload (quote mail-from-style) "sendmail" t)
23561 23645
23562(defvar mail-specify-envelope-from nil "\ 23646(defvar mail-specify-envelope-from nil "\
23563If non-nil, specify the envelope-from address when sending mail. 23647If non-nil, specify the envelope-from address when sending mail.
@@ -23569,20 +23653,20 @@ privileged operation. This variable affects sendmail and
23569smtpmail -- if you use feedmail to send mail, see instead the 23653smtpmail -- if you use feedmail to send mail, see instead the
23570variable `feedmail-deduce-envelope-from'.") 23654variable `feedmail-deduce-envelope-from'.")
23571 23655
23572(custom-autoload (quote mail-specify-envelope-from) "sendmail") 23656(custom-autoload (quote mail-specify-envelope-from) "sendmail" t)
23573 23657
23574(defvar mail-self-blind nil "\ 23658(defvar mail-self-blind nil "\
23575Non-nil means insert BCC to self in messages to be sent. 23659Non-nil means insert BCC to self in messages to be sent.
23576This is done when the message is initialized, 23660This is done when the message is initialized,
23577so you can remove or alter the BCC field to override the default.") 23661so you can remove or alter the BCC field to override the default.")
23578 23662
23579(custom-autoload (quote mail-self-blind) "sendmail") 23663(custom-autoload (quote mail-self-blind) "sendmail" t)
23580 23664
23581(defvar mail-interactive nil "\ 23665(defvar mail-interactive nil "\
23582Non-nil means when sending a message wait for and display errors. 23666Non-nil means when sending a message wait for and display errors.
23583nil means let mailer mail back a message to report errors.") 23667nil means let mailer mail back a message to report errors.")
23584 23668
23585(custom-autoload (quote mail-interactive) "sendmail") 23669(custom-autoload (quote mail-interactive) "sendmail" t)
23586 23670
23587(put (quote send-mail-function) (quote standard-value) (quote ((if (and window-system (memq system-type (quote (darwin windows-nt)))) (quote mailclient-send-it) (quote sendmail-send-it))))) 23671(put (quote send-mail-function) (quote standard-value) (quote ((if (and window-system (memq system-type (quote (darwin windows-nt)))) (quote mailclient-send-it) (quote sendmail-send-it)))))
23588 23672
@@ -23594,25 +23678,25 @@ that matches the variable `mail-header-separator'.
23594This is used by the default mail-sending commands. See also 23678This is used by the default mail-sending commands. See also
23595`message-send-mail-function' for use with the Message package.") 23679`message-send-mail-function' for use with the Message package.")
23596 23680
23597(custom-autoload (quote send-mail-function) "sendmail") 23681(custom-autoload (quote send-mail-function) "sendmail" t)
23598 23682
23599(defvar mail-header-separator "--text follows this line--" "\ 23683(defvar mail-header-separator "--text follows this line--" "\
23600Line used to separate headers from text in messages being composed.") 23684Line used to separate headers from text in messages being composed.")
23601 23685
23602(custom-autoload (quote mail-header-separator) "sendmail") 23686(custom-autoload (quote mail-header-separator) "sendmail" t)
23603 23687
23604(defvar mail-archive-file-name nil "\ 23688(defvar mail-archive-file-name nil "\
23605Name of file to write all outgoing messages in, or nil for none. 23689Name of file to write all outgoing messages in, or nil for none.
23606This can be an inbox file or an Rmail file.") 23690This can be an inbox file or an Rmail file.")
23607 23691
23608(custom-autoload (quote mail-archive-file-name) "sendmail") 23692(custom-autoload (quote mail-archive-file-name) "sendmail" t)
23609 23693
23610(defvar mail-default-reply-to nil "\ 23694(defvar mail-default-reply-to nil "\
23611Address to insert as default Reply-to field of outgoing messages. 23695Address to insert as default Reply-to field of outgoing messages.
23612If nil, it will be initialized from the REPLYTO environment variable 23696If nil, it will be initialized from the REPLYTO environment variable
23613when you first send mail.") 23697when you first send mail.")
23614 23698
23615(custom-autoload (quote mail-default-reply-to) "sendmail") 23699(custom-autoload (quote mail-default-reply-to) "sendmail" t)
23616 23700
23617(defvar mail-alias-file nil "\ 23701(defvar mail-alias-file nil "\
23618If non-nil, the name of a file to use instead of `/usr/lib/aliases'. 23702If non-nil, the name of a file to use instead of `/usr/lib/aliases'.
@@ -23620,7 +23704,7 @@ This file defines aliases to be expanded by the mailer; this is a different
23620feature from that of defining aliases in `.mailrc' to be expanded in Emacs. 23704feature from that of defining aliases in `.mailrc' to be expanded in Emacs.
23621This variable has no effect unless your system uses sendmail as its mailer.") 23705This variable has no effect unless your system uses sendmail as its mailer.")
23622 23706
23623(custom-autoload (quote mail-alias-file) "sendmail") 23707(custom-autoload (quote mail-alias-file) "sendmail" t)
23624 23708
23625(defvar mail-personal-alias-file "~/.mailrc" "\ 23709(defvar mail-personal-alias-file "~/.mailrc" "\
23626If non-nil, the name of the user's personal mail alias file. 23710If non-nil, the name of the user's personal mail alias file.
@@ -23628,13 +23712,13 @@ This file typically should be in same format as the `.mailrc' file used by
23628the `Mail' or `mailx' program. 23712the `Mail' or `mailx' program.
23629This file need not actually exist.") 23713This file need not actually exist.")
23630 23714
23631(custom-autoload (quote mail-personal-alias-file) "sendmail") 23715(custom-autoload (quote mail-personal-alias-file) "sendmail" t)
23632 23716
23633(defvar mail-setup-hook nil "\ 23717(defvar mail-setup-hook nil "\
23634Normal hook, run each time a new outgoing mail message is initialized. 23718Normal hook, run each time a new outgoing mail message is initialized.
23635The function `mail-setup' runs this hook.") 23719The function `mail-setup' runs this hook.")
23636 23720
23637(custom-autoload (quote mail-setup-hook) "sendmail") 23721(custom-autoload (quote mail-setup-hook) "sendmail" t)
23638 23722
23639(defvar mail-aliases t "\ 23723(defvar mail-aliases t "\
23640Alist of mail address aliases, 23724Alist of mail address aliases,
@@ -23648,13 +23732,13 @@ The alias definitions in the file have this form:
23648Prefix insert on lines of yanked message being replied to. 23732Prefix insert on lines of yanked message being replied to.
23649nil means use indentation.") 23733nil means use indentation.")
23650 23734
23651(custom-autoload (quote mail-yank-prefix) "sendmail") 23735(custom-autoload (quote mail-yank-prefix) "sendmail" t)
23652 23736
23653(defvar mail-indentation-spaces 3 "\ 23737(defvar mail-indentation-spaces 3 "\
23654Number of spaces to insert at the beginning of each cited line. 23738Number of spaces to insert at the beginning of each cited line.
23655Used by `mail-yank-original' via `mail-indent-citation'.") 23739Used by `mail-yank-original' via `mail-indent-citation'.")
23656 23740
23657(custom-autoload (quote mail-indentation-spaces) "sendmail") 23741(custom-autoload (quote mail-indentation-spaces) "sendmail" t)
23658 23742
23659(defvar mail-citation-hook nil "\ 23743(defvar mail-citation-hook nil "\
23660Hook for modifying a citation just inserted in the mail buffer. 23744Hook for modifying a citation just inserted in the mail buffer.
@@ -23667,7 +23751,7 @@ in the cited portion of the message.
23667If this hook is entirely empty (nil), a default action is taken 23751If this hook is entirely empty (nil), a default action is taken
23668instead of no action.") 23752instead of no action.")
23669 23753
23670(custom-autoload (quote mail-citation-hook) "sendmail") 23754(custom-autoload (quote mail-citation-hook) "sendmail" t)
23671 23755
23672(defvar mail-citation-prefix-regexp "[ ]*[-a-z0-9A-Z]*>+[ ]*\\|[ ]*" "\ 23756(defvar mail-citation-prefix-regexp "[ ]*[-a-z0-9A-Z]*>+[ ]*\\|[ ]*" "\
23673Regular expression to match a citation prefix plus whitespace. 23757Regular expression to match a citation prefix plus whitespace.
@@ -23675,7 +23759,7 @@ It should match whatever sort of citation prefixes you want to handle,
23675with whitespace before and after; it should also match just whitespace. 23759with whitespace before and after; it should also match just whitespace.
23676The default value matches citations like `foo-bar>' plus whitespace.") 23760The default value matches citations like `foo-bar>' plus whitespace.")
23677 23761
23678(custom-autoload (quote mail-citation-prefix-regexp) "sendmail") 23762(custom-autoload (quote mail-citation-prefix-regexp) "sendmail" t)
23679 23763
23680(defvar mail-signature nil "\ 23764(defvar mail-signature nil "\
23681Text inserted at end of mail buffer when a message is initialized. 23765Text inserted at end of mail buffer when a message is initialized.
@@ -23686,26 +23770,26 @@ If a string, that string is inserted.
23686Otherwise, it should be an expression; it is evaluated 23770Otherwise, it should be an expression; it is evaluated
23687and should insert whatever you want to insert.") 23771and should insert whatever you want to insert.")
23688 23772
23689(custom-autoload (quote mail-signature) "sendmail") 23773(custom-autoload (quote mail-signature) "sendmail" t)
23690 23774
23691(defvar mail-signature-file "~/.signature" "\ 23775(defvar mail-signature-file "~/.signature" "\
23692File containing the text inserted at end of mail buffer.") 23776File containing the text inserted at end of mail buffer.")
23693 23777
23694(custom-autoload (quote mail-signature-file) "sendmail") 23778(custom-autoload (quote mail-signature-file) "sendmail" t)
23695 23779
23696(defvar mail-default-directory "~/" "\ 23780(defvar mail-default-directory "~/" "\
23697Directory for mail buffers. 23781Directory for mail buffers.
23698Value of `default-directory' for mail buffers. 23782Value of `default-directory' for mail buffers.
23699This directory is used for auto-save files of mail buffers.") 23783This directory is used for auto-save files of mail buffers.")
23700 23784
23701(custom-autoload (quote mail-default-directory) "sendmail") 23785(custom-autoload (quote mail-default-directory) "sendmail" t)
23702 23786
23703(defvar mail-default-headers nil "\ 23787(defvar mail-default-headers nil "\
23704A string containing header lines, to be inserted in outgoing messages. 23788A string containing header lines, to be inserted in outgoing messages.
23705It is inserted before you edit the message, 23789It is inserted before you edit the message,
23706so you can edit or delete these lines.") 23790so you can edit or delete these lines.")
23707 23791
23708(custom-autoload (quote mail-default-headers) "sendmail") 23792(custom-autoload (quote mail-default-headers) "sendmail" t)
23709 23793
23710(defvar mail-bury-selects-summary t "\ 23794(defvar mail-bury-selects-summary t "\
23711If non-nil, try to show RMAIL summary buffer after returning from mail. 23795If non-nil, try to show RMAIL summary buffer after returning from mail.
@@ -23713,7 +23797,7 @@ The functions \\[mail-send-on-exit] or \\[mail-dont-send] select
23713the RMAIL summary buffer before returning, if it exists and this variable 23797the RMAIL summary buffer before returning, if it exists and this variable
23714is non-nil.") 23798is non-nil.")
23715 23799
23716(custom-autoload (quote mail-bury-selects-summary) "sendmail") 23800(custom-autoload (quote mail-bury-selects-summary) "sendmail" t)
23717 23801
23718(defvar mail-send-nonascii (quote mime) "\ 23802(defvar mail-send-nonascii (quote mime) "\
23719Specify whether to allow sending non-ASCII characters in mail. 23803Specify whether to allow sending non-ASCII characters in mail.
@@ -23724,7 +23808,7 @@ The default is `mime'.
23724Including non-ASCII characters in a mail message can be problematical 23808Including non-ASCII characters in a mail message can be problematical
23725for the recipient, who may not know how to decode them properly.") 23809for the recipient, who may not know how to decode them properly.")
23726 23810
23727(custom-autoload (quote mail-send-nonascii) "sendmail") 23811(custom-autoload (quote mail-send-nonascii) "sendmail" t)
23728 23812
23729(autoload (quote mail-mode) "sendmail" "\ 23813(autoload (quote mail-mode) "sendmail" "\
23730Major mode for editing mail to be sent. 23814Major mode for editing mail to be sent.
@@ -23755,7 +23839,7 @@ Turning on Mail mode runs the normal hooks `text-mode-hook' and
23755The variable is used to trigger insertion of the \"Mail-Followup-To\" 23839The variable is used to trigger insertion of the \"Mail-Followup-To\"
23756header when sending a message to a mailing list.") 23840header when sending a message to a mailing list.")
23757 23841
23758(custom-autoload (quote mail-mailing-lists) "sendmail") 23842(custom-autoload (quote mail-mailing-lists) "sendmail" t)
23759 23843
23760(defvar sendmail-coding-system nil "\ 23844(defvar sendmail-coding-system nil "\
23761*Coding system for encoding the outgoing mail. 23845*Coding system for encoding the outgoing mail.
@@ -23861,6 +23945,8 @@ use either \\[customize] or the function `server-mode'.")
23861 23945
23862(custom-autoload (quote server-mode) "server") 23946(custom-autoload (quote server-mode) "server")
23863 23947
23948(put (quote server-mode) (quote custom-set) (quote custom-set-minor-mode))
23949
23864(autoload (quote server-mode) "server" "\ 23950(autoload (quote server-mode) "server" "\
23865Toggle Server mode. 23951Toggle Server mode.
23866With ARG, turn Server mode on if ARG is positive, off otherwise. 23952With ARG, turn Server mode on if ARG is positive, off otherwise.
@@ -24144,7 +24230,7 @@ match this regexp, Emacs will write out the command history when the
24144shell finishes, and won't remove backslashes when it unquotes shell 24230shell finishes, and won't remove backslashes when it unquotes shell
24145arguments.") 24231arguments.")
24146 24232
24147(custom-autoload (quote shell-dumb-shell-regexp) "shell") 24233(custom-autoload (quote shell-dumb-shell-regexp) "shell" t)
24148 24234
24149(autoload (quote shell) "shell" "\ 24235(autoload (quote shell) "shell" "\
24150Run an inferior shell, with I/O through BUFFER (which defaults to `*shell*'). 24236Run an inferior shell, with I/O through BUFFER (which defaults to `*shell*').
@@ -25423,9 +25509,10 @@ If STROKES-MAP is not given, `strokes-global-map' will be used instead.
25423Non-nil if Strokes mode is enabled. 25509Non-nil if Strokes mode is enabled.
25424See the command `strokes-mode' for a description of this minor-mode. 25510See the command `strokes-mode' for a description of this minor-mode.
25425Setting this variable directly does not take effect; 25511Setting this variable directly does not take effect;
25426use either \\[customize] or the function `strokes-mode'.") 25512either customize it (see the info node `Easy Customization')
25513or call the function `strokes-mode'.")
25427 25514
25428(custom-autoload (quote strokes-mode) "strokes") 25515(custom-autoload (quote strokes-mode) "strokes" nil)
25429 25516
25430(put (quote strokes-mode) (quote custom-set) (quote custom-set-minor-mode)) 25517(put (quote strokes-mode) (quote custom-set) (quote custom-set-minor-mode))
25431 25518
@@ -25544,7 +25631,7 @@ See the command `t-mouse-mode' for a description of this minor-mode.
25544Setting this variable directly does not take effect; 25631Setting this variable directly does not take effect;
25545use either \\[customize] or the function `t-mouse-mode'.") 25632use either \\[customize] or the function `t-mouse-mode'.")
25546 25633
25547(custom-autoload (quote t-mouse-mode) "t-mouse") 25634(custom-autoload (quote t-mouse-mode) "t-mouse" nil)
25548 25635
25549(put (quote t-mouse-mode) (quote custom-set) (quote custom-set-minor-mode)) 25636(put (quote t-mouse-mode) (quote custom-set) (quote custom-set-minor-mode))
25550 25637
@@ -27099,9 +27186,10 @@ This runs the normal hook `display-time-hook' after each update.
27099Non-nil if Display-Time mode is enabled. 27186Non-nil if Display-Time mode is enabled.
27100See the command `display-time-mode' for a description of this minor-mode. 27187See the command `display-time-mode' for a description of this minor-mode.
27101Setting this variable directly does not take effect; 27188Setting this variable directly does not take effect;
27102use either \\[customize] or the function `display-time-mode'.") 27189either customize it (see the info node `Easy Customization')
27190or call the function `display-time-mode'.")
27103 27191
27104(custom-autoload (quote display-time-mode) "time") 27192(custom-autoload (quote display-time-mode) "time" nil)
27105 27193
27106(put (quote display-time-mode) (quote custom-set) (quote custom-set-minor-mode)) 27194(put (quote display-time-mode) (quote custom-set) (quote custom-set-minor-mode))
27107 27195
@@ -27363,7 +27451,9 @@ Remove TIMER from the list of active timers.
27363\(fn TIMER)" nil nil) 27451\(fn TIMER)" nil nil)
27364 27452
27365(autoload (quote cancel-function-timers) "timer" "\ 27453(autoload (quote cancel-function-timers) "timer" "\
27366Cancel all timers scheduled by `run-at-time' which would run FUNCTION. 27454Cancel all timers which would run FUNCTION.
27455This affects ordinary timers such as are scheduled by `run-at-time',
27456and idle timers such as are scheduled by `run-with-idle-timer'.
27367 27457
27368\(fn FUNCTION)" t nil) 27458\(fn FUNCTION)" t nil)
27369 27459
@@ -27400,7 +27490,10 @@ This function is for compatibility; see also `run-with-timer'.
27400(autoload (quote run-with-idle-timer) "timer" "\ 27490(autoload (quote run-with-idle-timer) "timer" "\
27401Perform an action the next time Emacs is idle for SECS seconds. 27491Perform an action the next time Emacs is idle for SECS seconds.
27402The action is to call FUNCTION with arguments ARGS. 27492The action is to call FUNCTION with arguments ARGS.
27403SECS may be an integer or a floating point number. 27493SECS may be an integer, a floating point number, or the internal
27494time format (HIGH LOW USECS) returned by, e.g., `current-idle-time'.
27495If Emacs is currently idle, and has been idle for N seconds (N < SECS),
27496then it will call FUNCTION in SECS - N seconds from now.
27404 27497
27405If REPEAT is non-nil, do the action each time Emacs has been idle for 27498If REPEAT is non-nil, do the action each time Emacs has been idle for
27406exactly SECS seconds (that is, only once for each time Emacs becomes idle). 27499exactly SECS seconds (that is, only once for each time Emacs becomes idle).
@@ -27657,6 +27750,8 @@ use either \\[customize] or the function `tpu-edt-mode'.")
27657 27750
27658(put (quote tpu-edt-mode) (quote custom-set) (quote custom-set-minor-mode)) 27751(put (quote tpu-edt-mode) (quote custom-set) (quote custom-set-minor-mode))
27659 27752
27753(put (quote tpu-edt-mode) (quote custom-set) (quote custom-set-minor-mode))
27754
27660(autoload (quote tpu-edt-mode) "tpu-edt" "\ 27755(autoload (quote tpu-edt-mode) "tpu-edt" "\
27661TPU/edt emulation. 27756TPU/edt emulation.
27662 27757
@@ -27727,11 +27822,14 @@ display oriented stuff, use `trace-function-background' instead.
27727 27822
27728(autoload (quote trace-function-background) "trace" "\ 27823(autoload (quote trace-function-background) "trace" "\
27729Traces FUNCTION with trace output going quietly to BUFFER. 27824Traces FUNCTION with trace output going quietly to BUFFER.
27730For every call of FUNCTION Lisp-style trace messages that display argument 27825When this tracing is enabled, every call to FUNCTION writes
27731and return values will be inserted into BUFFER. This function generates the 27826a Lisp-style trace message (showing the arguments and return value)
27732trace advice for FUNCTION and activates it together with any other advice 27827into BUFFER. This function generates advice to trace FUNCTION
27733there might be!! Trace output will quietly go to BUFFER without changing 27828and activates it together with any other advice there might be.
27734the window or buffer configuration at all. 27829The trace output goes to BUFFER quietly, without changing
27830the window or buffer configuration.
27831
27832BUFFER defaults to `trace-buffer'.
27735 27833
27736\(fn FUNCTION &optional BUFFER)" t nil) 27834\(fn FUNCTION &optional BUFFER)" t nil)
27737 27835
@@ -27773,7 +27871,7 @@ updated after changing this variable.
27773 27871
27774Also see `tramp-file-name-structure'.") 27872Also see `tramp-file-name-structure'.")
27775 27873
27776(custom-autoload (quote tramp-file-name-regexp) "tramp") 27874(custom-autoload (quote tramp-file-name-regexp) "tramp" t)
27777 27875
27778(defconst tramp-completion-file-name-regexp-unified "^/$\\|^/[^/:][^/]*$" "\ 27876(defconst tramp-completion-file-name-regexp-unified "^/$\\|^/[^/:][^/]*$" "\
27779Value for `tramp-completion-file-name-regexp' for unified remoting. 27877Value for `tramp-completion-file-name-regexp' for unified remoting.
@@ -27796,7 +27894,7 @@ updated after changing this variable.
27796 27894
27797Also see `tramp-file-name-structure'.") 27895Also see `tramp-file-name-structure'.")
27798 27896
27799(custom-autoload (quote tramp-completion-file-name-regexp) "tramp") 27897(custom-autoload (quote tramp-completion-file-name-regexp) "tramp" t)
27800 27898
27801(defconst tramp-completion-file-name-handler-alist (quote ((file-name-all-completions . tramp-completion-handle-file-name-all-completions) (file-name-completion . tramp-completion-handle-file-name-completion))) "\ 27899(defconst tramp-completion-file-name-handler-alist (quote ((file-name-all-completions . tramp-completion-handle-file-name-all-completions) (file-name-completion . tramp-completion-handle-file-name-completion))) "\
27802Alist of completion handler functions. 27900Alist of completion handler functions.
@@ -27825,7 +27923,7 @@ Invoke tramp file name completion handler.
27825Falls back to normal file name handler if no tramp file name handler exists." (let ((fn (assoc operation tramp-completion-file-name-handler-alist))) (if fn (save-match-data (apply (cdr fn) args)) (tramp-completion-run-real-handler operation args)))) 27923Falls back to normal file name handler if no tramp file name handler exists." (let ((fn (assoc operation tramp-completion-file-name-handler-alist))) (if fn (save-match-data (apply (cdr fn) args)) (tramp-completion-run-real-handler operation args))))
27826 27924
27827(defsubst tramp-register-file-name-handlers nil "\ 27925(defsubst tramp-register-file-name-handlers nil "\
27828Add tramp file name handlers to `file-name-handler-alist'." (add-to-list (quote file-name-handler-alist) (cons tramp-file-name-regexp (quote tramp-file-name-handler))) (when (or partial-completion-mode (featurep (quote ido))) (add-to-list (quote file-name-handler-alist) (cons tramp-completion-file-name-regexp (quote tramp-completion-file-name-handler))) (put (quote tramp-completion-file-name-handler) (quote safe-magic) t)) (let ((jka (rassoc (quote jka-compr-handler) file-name-handler-alist))) (when jka (setq file-name-handler-alist (cons jka (delete jka file-name-handler-alist)))))) 27926Add tramp file name handlers to `file-name-handler-alist'." (add-to-list (quote file-name-handler-alist) (cons tramp-file-name-regexp (quote tramp-file-name-handler))) (when (or (not (boundp (quote partial-completion-mode))) (symbol-value (quote partial-completion-mode)) (featurep (quote ido))) (add-to-list (quote file-name-handler-alist) (cons tramp-completion-file-name-regexp (quote tramp-completion-file-name-handler))) (put (quote tramp-completion-file-name-handler) (quote safe-magic) t)) (let ((jka (rassoc (quote jka-compr-handler) file-name-handler-alist))) (when jka (setq file-name-handler-alist (cons jka (delete jka file-name-handler-alist))))))
27829(add-hook 27927(add-hook
27830 'after-init-hook 27928 'after-init-hook
27831 '(lambda () (tramp-register-file-name-handlers))) 27929 '(lambda () (tramp-register-file-name-handlers)))
@@ -28008,9 +28106,9 @@ easy-to-use form.
28008 28106
28009(autoload (quote 2C-two-columns) "two-column" "\ 28107(autoload (quote 2C-two-columns) "two-column" "\
28010Split current window vertically for two-column editing. 28108Split current window vertically for two-column editing.
28011When called the first time, associates a buffer with the current 28109\\<global-map>When called the first time, associates a buffer with the current
28012buffer in two-column minor mode (see \\[describe-mode] ). 28110buffer in two-column minor mode (use \\[describe-mode] once in the mode,
28013Runs `2C-other-buffer-hook' in the new buffer. 28111for details.). It runs `2C-other-buffer-hook' in the new buffer.
28014When called again, restores the screen layout with the current buffer 28112When called again, restores the screen layout with the current buffer
28015first and the associated buffer to its right. 28113first and the associated buffer to its right.
28016 28114
@@ -28316,13 +28414,23 @@ URL is either a string or a parsed URL.
28316 28414
28317CALLBACK is called when the object has been completely retrieved, with 28415CALLBACK is called when the object has been completely retrieved, with
28318the current buffer containing the object, and any MIME headers associated 28416the current buffer containing the object, and any MIME headers associated
28319with it. Normally it gets the arguments in the list CBARGS. 28417with it. It is called as (apply CALLBACK STATUS CBARGS).
28320However, if what we find is a redirect, CALLBACK is given 28418STATUS is a list with an even number of elements representing
28321two additional args, `:redirect' and the redirected URL, 28419what happened during the request, with most recent events first,
28322followed by CBARGS. 28420or an empty list if no events have occurred. Each pair is one of:
28421
28422\(:redirect REDIRECTED-TO) - the request was redirected to this URL
28423\(:error (ERROR-SYMBOL . DATA)) - an error occurred. The error can be
28424signaled with (signal ERROR-SYMBOL DATA).
28323 28425
28324Return the buffer URL will load into, or nil if the process has 28426Return the buffer URL will load into, or nil if the process has
28325already completed. 28427already completed (i.e. URL was a mailto URL or similar; in this case
28428the callback is not called).
28429
28430The variables `url-request-data', `url-request-method' and
28431`url-request-extra-headers' can be dynamically bound around the
28432request; dynamic binding of other variables doesn't necessarily
28433take effect.
28326 28434
28327\(fn URL CALLBACK &optional CBARGS)" nil nil) 28435\(fn URL CALLBACK &optional CBARGS)" nil nil)
28328 28436
@@ -28734,7 +28842,7 @@ If t, all messages will be logged.
28734If a number, all messages will be logged, as well shown via `message'. 28842If a number, all messages will be logged, as well shown via `message'.
28735If a list, it is a list of the types of messages to be logged.") 28843If a list, it is a list of the types of messages to be logged.")
28736 28844
28737(custom-autoload (quote url-debug) "url-util") 28845(custom-autoload (quote url-debug) "url-util" t)
28738 28846
28739(autoload (quote url-debug) "url-util" "\ 28847(autoload (quote url-debug) "url-util" "\
28740Not documented 28848Not documented
@@ -28819,9 +28927,13 @@ forbidden in URL encoding.
28819\(fn STR &optional ALLOW-NEWLINES)" nil nil) 28927\(fn STR &optional ALLOW-NEWLINES)" nil nil)
28820 28928
28821(autoload (quote url-hexify-string) "url-util" "\ 28929(autoload (quote url-hexify-string) "url-util" "\
28822Escape characters in a string. 28930Return a new string that is STRING URI-encoded.
28931First, STRING is converted to utf-8, if necessary. Then, for each
28932character in the utf-8 string, those found in `url-unreserved-chars'
28933are left as-is, all others are represented as a three-character
28934string: \"%\" followed by two lowercase hex digits.
28823 28935
28824\(fn STR)" nil nil) 28936\(fn STRING)" nil nil)
28825 28937
28826(autoload (quote url-file-extension) "url-util" "\ 28938(autoload (quote url-file-extension) "url-util" "\
28827Return the filename extension of FNAME. 28939Return the filename extension of FNAME.
@@ -30367,6 +30479,8 @@ Check the region for whitespace errors.
30367 30479
30368(autoload (quote whitespace-cleanup) "whitespace" "\ 30480(autoload (quote whitespace-cleanup) "whitespace" "\
30369Cleanup the five different kinds of whitespace problems. 30481Cleanup the five different kinds of whitespace problems.
30482It normally applies to the whole buffer, but in Transient Mark mode
30483when the mark is active it applies to the region.
30370See `whitespace-buffer' docstring for a summary of the problems. 30484See `whitespace-buffer' docstring for a summary of the problems.
30371 30485
30372\(fn)" t nil) 30486\(fn)" t nil)
@@ -30382,9 +30496,10 @@ Whitespace cleanup on the region.
30382Non-nil if Whitespace-Global mode is enabled. 30496Non-nil if Whitespace-Global mode is enabled.
30383See the command `whitespace-global-mode' for a description of this minor-mode. 30497See the command `whitespace-global-mode' for a description of this minor-mode.
30384Setting this variable directly does not take effect; 30498Setting this variable directly does not take effect;
30385use either \\[customize] or the function `whitespace-global-mode'.") 30499either customize it (see the info node `Easy Customization')
30500or call the function `whitespace-global-mode'.")
30386 30501
30387(custom-autoload (quote whitespace-global-mode) "whitespace") 30502(custom-autoload (quote whitespace-global-mode) "whitespace" nil)
30388 30503
30389(autoload (quote whitespace-global-mode) "whitespace" "\ 30504(autoload (quote whitespace-global-mode) "whitespace" "\
30390Toggle using Whitespace mode in new buffers. 30505Toggle using Whitespace mode in new buffers.
@@ -30737,6 +30852,8 @@ use either \\[customize] or the function `xterm-mouse-mode'.")
30737 30852
30738(put (quote xterm-mouse-mode) (quote custom-set) (quote custom-set-minor-mode)) 30853(put (quote xterm-mouse-mode) (quote custom-set) (quote custom-set-minor-mode))
30739 30854
30855(put (quote xterm-mouse-mode) (quote custom-set) (quote custom-set-minor-mode))
30856
30740(autoload (quote xterm-mouse-mode) "xt-mouse" "\ 30857(autoload (quote xterm-mouse-mode) "xt-mouse" "\
30741Toggle XTerm mouse mode. 30858Toggle XTerm mouse mode.
30742With prefix arg, turn XTerm mouse mode on iff arg is positive. 30859With prefix arg, turn XTerm mouse mode on iff arg is positive.
diff --git a/lisp/midnight.el b/lisp/midnight.el
index 1d9e1efbf2c..d97eb83b543 100644
--- a/lisp/midnight.el
+++ b/lisp/midnight.el
@@ -75,9 +75,9 @@ call `cancel-timer' or `timer-activate' on `midnight-timer' instead."
75 (list 1st (floor (- num (* (float div) 1st))) 75 (list 1st (floor (- num (* (float div) 1st)))
76 (round (* 10000000 (mod num 1)))))) 76 (round (* 10000000 (mod num 1))))))
77 77
78(defun midnight-buffer-display-time (&optional buf) 78(defun midnight-buffer-display-time (&optional buffer)
79 "Return the time-stamp of the given buffer, or current buffer, as float." 79 "Return the time-stamp of BUFFER, or current buffer, as float."
80 (with-current-buffer (or buf (current-buffer)) 80 (with-current-buffer (or buffer (current-buffer))
81 (when buffer-display-time (float-time buffer-display-time)))) 81 (when buffer-display-time (float-time buffer-display-time))))
82 82
83;;; clean-buffer-list stuff 83;;; clean-buffer-list stuff
@@ -128,7 +128,7 @@ See also `clean-buffer-list-kill-regexps',
128 :group 'midnight) 128 :group 'midnight)
129 129
130(defcustom clean-buffer-list-kill-never-buffer-names 130(defcustom clean-buffer-list-kill-never-buffer-names
131 '("*scratch*" "*Messages*") 131 '("*scratch*" "*Messages*" "*server*")
132 "*List of buffer names which will never be killed by `clean-buffer-list'. 132 "*List of buffer names which will never be killed by `clean-buffer-list'.
133See also `clean-buffer-list-kill-never-regexps'. 133See also `clean-buffer-list-kill-never-regexps'.
134Note that this does override `clean-buffer-list-kill-regexps' and 134Note that this does override `clean-buffer-list-kill-regexps' and
@@ -137,7 +137,6 @@ two lists will NOT be killed if it is also present in this list."
137 :type '(repeat (string :tag "Buffer Name")) 137 :type '(repeat (string :tag "Buffer Name"))
138 :group 'midnight) 138 :group 'midnight)
139 139
140
141(defcustom clean-buffer-list-kill-never-regexps '("^ \\*Minibuf-.*\\*$") 140(defcustom clean-buffer-list-kill-never-regexps '("^ \\*Minibuf-.*\\*$")
142 "*List of regexp saying which buffers will never be killed at midnight. 141 "*List of regexp saying which buffers will never be killed at midnight.
143See also `clean-buffer-list-kill-never-buffer-names'. 142See also `clean-buffer-list-kill-never-buffer-names'.
diff --git a/lisp/progmodes/ada-mode.el b/lisp/progmodes/ada-mode.el
index b1ca93e2f32..d60746c5de8 100644
--- a/lisp/progmodes/ada-mode.el
+++ b/lisp/progmodes/ada-mode.el
@@ -31,9 +31,9 @@
31;;; This mode is a major mode for editing Ada83 and Ada95 source code. 31;;; This mode is a major mode for editing Ada83 and Ada95 source code.
32;;; This is a major rewrite of the file packaged with Emacs-20. The 32;;; This is a major rewrite of the file packaged with Emacs-20. The
33;;; ada-mode is composed of four lisp files, ada-mode.el, ada-xref.el, 33;;; ada-mode is composed of four lisp files, ada-mode.el, ada-xref.el,
34;;; ada-prj.el and ada-stmt.el. Only this file (ada-mode.el) is 34;;; ada-prj.el and ada-stmt.el. Only this file (ada-mode.el) is
35;;; completely independent from the GNU Ada compiler Gnat, distributed 35;;; completely independent from the GNU Ada compiler Gnat, distributed
36;;; by Ada Core Technologies. All the other files rely heavily on 36;;; by Ada Core Technologies. All the other files rely heavily on
37;;; features provided only by Gnat. 37;;; features provided only by Gnat.
38;;; 38;;;
39;;; Note: this mode will not work with Emacs 19. If you are on a VMS 39;;; Note: this mode will not work with Emacs 19. If you are on a VMS
@@ -962,7 +962,7 @@ OLD-LEN indicates what the length of the replaced text was."
962 962
963(defsubst ada-in-string-p (&optional parse-result) 963(defsubst ada-in-string-p (&optional parse-result)
964 "Return t if point is inside a string. 964 "Return t if point is inside a string.
965If parse-result is non-nil, use is instead of calling `parse-partial-sexp'." 965If PARSE-RESULT is non-nil, use it instead of calling `parse-partial-sexp'."
966 (nth 3 (or parse-result 966 (nth 3 (or parse-result
967 (parse-partial-sexp 967 (parse-partial-sexp
968 (line-beginning-position) (point))))) 968 (line-beginning-position) (point)))))
@@ -2410,8 +2410,8 @@ offset."
2410 ;; else 2410 ;; else
2411 2411
2412 ((looking-at "else\\>") 2412 ((looking-at "else\\>")
2413 (if (save-excursion (ada-goto-previous-word) 2413 (if (save-excursion (ada-goto-previous-word)
2414 (looking-at "\\<or\\>")) 2414 (looking-at "\\<or\\>"))
2415 (ada-indent-on-previous-lines nil orgpoint orgpoint) 2415 (ada-indent-on-previous-lines nil orgpoint orgpoint)
2416 (save-excursion 2416 (save-excursion
2417 (ada-goto-matching-start 1 nil t) 2417 (ada-goto-matching-start 1 nil t)
@@ -4205,9 +4205,9 @@ of the region. Otherwise, operate only on the current line."
4205(defun ada-untab-hard () 4205(defun ada-untab-hard ()
4206 "Indent current line to previous tab stop." 4206 "Indent current line to previous tab stop."
4207 (interactive) 4207 (interactive)
4208 (let ((bol (save-excursion (progn (beginning-of-line) (point)))) 4208 (let ((bol (save-excursion (progn (beginning-of-line) (point))))
4209 (eol (save-excursion (progn (end-of-line) (point))))) 4209 (eol (save-excursion (progn (end-of-line) (point)))))
4210 (indent-rigidly bol eol (- 0 ada-indent)))) 4210 (indent-rigidly bol eol (- 0 ada-indent))))
4211 4211
4212 4212
4213 4213
@@ -4217,7 +4217,7 @@ of the region. Otherwise, operate only on the current line."
4217 4217
4218;; Not needed any more for Emacs 21.2, but still needed for backward 4218;; Not needed any more for Emacs 21.2, but still needed for backward
4219;; compatibility 4219;; compatibility
4220(defun ada-remove-trailing-spaces () 4220(defun ada-remove-trailing-spaces ()
4221 "Remove trailing spaces in the whole buffer." 4221 "Remove trailing spaces in the whole buffer."
4222 (interactive) 4222 (interactive)
4223 (save-match-data 4223 (save-match-data
@@ -4904,7 +4904,7 @@ or the spec otherwise."
4904 (let ((is-spec nil) 4904 (let ((is-spec nil)
4905 (is-body nil) 4905 (is-body nil)
4906 (suffixes ada-spec-suffixes) 4906 (suffixes ada-spec-suffixes)
4907 (name (buffer-file-name))) 4907 (name (buffer-file-name)))
4908 4908
4909 ;; Guess whether we have a spec or a body, and get the basename of the 4909 ;; Guess whether we have a spec or a body, and get the basename of the
4910 ;; file. Since the extension may not start with '.', we can not use 4910 ;; file. Since the extension may not start with '.', we can not use
diff --git a/lisp/progmodes/cperl-mode.el b/lisp/progmodes/cperl-mode.el
index 3264e0e72f6..26bbb8f3faf 100644
--- a/lisp/progmodes/cperl-mode.el
+++ b/lisp/progmodes/cperl-mode.el
@@ -445,12 +445,8 @@ Font for POD headers."
445;;; Some double-evaluation happened with font-locks... Needed with 21.2... 445;;; Some double-evaluation happened with font-locks... Needed with 21.2...
446(defvar cperl-singly-quote-face cperl-xemacs-p) 446(defvar cperl-singly-quote-face cperl-xemacs-p)
447 447
448(defcustom cperl-invalid-face ; Does not customize with '' on XEmacs 448(defcustom cperl-invalid-face 'underline
449 (if cperl-singly-quote-face 449 "*Face for highlighting trailing whitespace."
450 'underline ''underline) ; On older Emacsen was evaluated by `font-lock'
451 (if cperl-singly-quote-face
452 "*This face is used for highlighting trailing whitespace."
453 "*Face for highlighting trailing whitespace.")
454 :type 'face 450 :type 'face
455 :version "21.1" 451 :version "21.1"
456 :group 'cperl-faces) 452 :group 'cperl-faces)
@@ -1835,7 +1831,7 @@ or as help on variables `cperl-tips', `cperl-problems',
1835 (if (boundp 'font-lock-multiline) ; Newer font-lock; use its facilities 1831 (if (boundp 'font-lock-multiline) ; Newer font-lock; use its facilities
1836 (progn 1832 (progn
1837 (setq cperl-font-lock-multiline t) ; Not localized... 1833 (setq cperl-font-lock-multiline t) ; Not localized...
1838 (set 'font-lock-multiline t)) ; not present with old Emacs; auto-local 1834 (set (make-local-variable 'font-lock-multiline) t))
1839 (make-local-variable 'font-lock-fontify-region-function) 1835 (make-local-variable 'font-lock-fontify-region-function)
1840 (set 'font-lock-fontify-region-function ; not present with old Emacs 1836 (set 'font-lock-fontify-region-function ; not present with old Emacs
1841 'cperl-font-lock-fontify-region-function)) 1837 'cperl-font-lock-fontify-region-function))
@@ -5708,19 +5704,22 @@ indentation and initial hashes. Behaves usually outside of comment."
5708 5704
5709(defun cperl-windowed-init () 5705(defun cperl-windowed-init ()
5710 "Initialization under windowed version." 5706 "Initialization under windowed version."
5711 (if (or (featurep 'ps-print) cperl-faces-init) 5707 (cond ((featurep 'ps-print)
5712 ;; Need to init anyway: 5708 (unless cperl-faces-init
5713 (or cperl-faces-init (cperl-init-faces)) 5709 (if (boundp 'font-lock-multiline)
5714 (add-hook 'font-lock-mode-hook 5710 (setq cperl-font-lock-multiline t))
5715 (function 5711 (cperl-init-faces)))
5716 (lambda () 5712 ((not cperl-faces-init)
5717 (if (memq major-mode '(perl-mode cperl-mode)) 5713 (add-hook 'font-lock-mode-hook
5718 (progn 5714 (function
5719 (or cperl-faces-init (cperl-init-faces))))))) 5715 (lambda ()
5720 (if (fboundp 'eval-after-load) 5716 (if (memq major-mode '(perl-mode cperl-mode))
5721 (eval-after-load 5717 (progn
5722 "ps-print" 5718 (or cperl-faces-init (cperl-init-faces)))))))
5723 '(or cperl-faces-init (cperl-init-faces)))))) 5719 (if (fboundp 'eval-after-load)
5720 (eval-after-load
5721 "ps-print"
5722 '(or cperl-faces-init (cperl-init-faces)))))))
5724 5723
5725(defvar cperl-font-lock-keywords-1 nil 5724(defvar cperl-font-lock-keywords-1 nil
5726 "Additional expressions to highlight in Perl mode. Minimal set.") 5725 "Additional expressions to highlight in Perl mode. Minimal set.")
diff --git a/lisp/progmodes/gdb-ui.el b/lisp/progmodes/gdb-ui.el
index 52360a73970..007033a87ba 100644
--- a/lisp/progmodes/gdb-ui.el
+++ b/lisp/progmodes/gdb-ui.el
@@ -2048,7 +2048,6 @@ static char *magick[] = {
2048 (or gdb-stack-position 2048 (or gdb-stack-position
2049 (setq gdb-stack-position (make-marker))) 2049 (setq gdb-stack-position (make-marker)))
2050 (set-marker gdb-stack-position (point))) 2050 (set-marker gdb-stack-position (point)))
2051 (set-marker gdb-stack-position nil)
2052 (put-text-property bl (+ bl 4) 2051 (put-text-property bl (+ bl 4)
2053 'face '(:inverse-video t)))) 2052 'face '(:inverse-video t))))
2054 (when (re-search-forward 2053 (when (re-search-forward
diff --git a/lisp/progmodes/octave-inf.el b/lisp/progmodes/octave-inf.el
index 863f972086e..0f20626c9b9 100644
--- a/lisp/progmodes/octave-inf.el
+++ b/lisp/progmodes/octave-inf.el
@@ -113,6 +113,9 @@ the regular expression `comint-prompt-regexp', a buffer local variable."
113(defvar inferior-octave-complete-impossible nil 113(defvar inferior-octave-complete-impossible nil
114 "Non-nil means that `inferior-octave-complete' is impossible.") 114 "Non-nil means that `inferior-octave-complete' is impossible.")
115 115
116(defvar inferior-octave-has-built-in-variables nil
117 "Non-nil means that Octave has built-in variables.")
118
116(defvar inferior-octave-dynamic-complete-functions 119(defvar inferior-octave-dynamic-complete-functions
117 '(inferior-octave-complete comint-dynamic-complete-filename) 120 '(inferior-octave-complete comint-dynamic-complete-filename)
118 "List of functions called to perform completion for inferior Octave. 121 "List of functions called to perform completion for inferior Octave.
@@ -218,11 +221,20 @@ startup file, `~/.emacs-octave'."
218 'identity inferior-octave-output-list "\n") 221 'identity inferior-octave-output-list "\n")
219 "\n")))) 222 "\n"))))
220 223
224 ;; Find out whether Octave has built-in variables.
225 (inferior-octave-send-list-and-digest
226 (list "exist \"LOADPATH\"\n"))
227 (setq inferior-octave-has-built-in-variables
228 (string-match "101$" (car inferior-octave-output-list)))
229
221 ;; An empty secondary prompt, as e.g. obtained by '--braindead', 230 ;; An empty secondary prompt, as e.g. obtained by '--braindead',
222 ;; means trouble. 231 ;; means trouble.
223 (inferior-octave-send-list-and-digest (list "PS2\n")) 232 (inferior-octave-send-list-and-digest (list "PS2\n"))
224 (if (string-match "^PS2 = *$" (car inferior-octave-output-list)) 233 (if (string-match "\\(PS2\\|ans\\) = *$" (car inferior-octave-output-list))
225 (inferior-octave-send-list-and-digest (list "PS2 = \"> \"\n"))) 234 (inferior-octave-send-list-and-digest
235 (list (if inferior-octave-has-built-in-variables
236 "PS2 = \"> \"\n"
237 "PS2 (\"> \");\n"))))
226 238
227 ;; O.k., now we are ready for the Inferior Octave startup commands. 239 ;; O.k., now we are ready for the Inferior Octave startup commands.
228 (let* (commands 240 (let* (commands
@@ -230,10 +242,12 @@ startup file, `~/.emacs-octave'."
230 (file (or inferior-octave-startup-file 242 (file (or inferior-octave-startup-file
231 (concat "~/.emacs-" program)))) 243 (concat "~/.emacs-" program))))
232 (setq commands 244 (setq commands
233 (list "page_screen_output = 0;\n" 245 (list "more off;\n"
234 (if (not (string-equal 246 (if (not (string-equal
235 inferior-octave-output-string ">> ")) 247 inferior-octave-output-string ">> "))
236 "PS1=\"\\\\s> \";\n") 248 (if inferior-octave-has-built-in-variables
249 "PS1=\"\\\\s> \";\n"
250 "PS1 (\"\\\\s> \");\n"))
237 (if (file-exists-p file) 251 (if (file-exists-p file)
238 (format "source (\"%s\");\n" file)))) 252 (format "source (\"%s\");\n" file))))
239 (inferior-octave-send-list-and-digest commands)) 253 (inferior-octave-send-list-and-digest commands))
@@ -383,7 +397,7 @@ Use \\[inferior-octave-resync-dirs] to resync if Emacs gets confused."
383This command queries the inferior Octave process about its current 397This command queries the inferior Octave process about its current
384directory and makes this the current buffer's default directory." 398directory and makes this the current buffer's default directory."
385 (interactive) 399 (interactive)
386 (inferior-octave-send-list-and-digest '("pwd\n")) 400 (inferior-octave-send-list-and-digest '("disp (pwd ())\n"))
387 (cd (car inferior-octave-output-list))) 401 (cd (car inferior-octave-output-list)))
388 402
389;;; provide ourself 403;;; provide ourself
diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el
index 0387c05134e..4d9a49a6b8d 100644
--- a/lisp/progmodes/python.el
+++ b/lisp/progmodes/python.el
@@ -1969,6 +1969,13 @@ Repeating the command scrolls the completion window."
1969 1969
1970;;;; Skeletons 1970;;;; Skeletons
1971 1971
1972(defcustom python-use-skeletons nil
1973 "Non-nil means template skeletons will be automagically inserted.
1974This happens when pressing \"if<SPACE>\", for example, to prompt for
1975the if condition."
1976 :type 'boolean
1977 :group 'python)
1978
1972(defvar python-skeletons nil 1979(defvar python-skeletons nil
1973 "Alist of named skeletons for Python mode. 1980 "Alist of named skeletons for Python mode.
1974Elements are of the form (NAME . EXPANDER-FUNCTION).") 1981Elements are of the form (NAME . EXPANDER-FUNCTION).")
@@ -1986,7 +1993,8 @@ The default contents correspond to the elements of `python-skeletons'.")
1986 (function (intern (concat "python-insert-" name)))) 1993 (function (intern (concat "python-insert-" name))))
1987 `(progn 1994 `(progn
1988 (add-to-list 'python-skeletons ',(cons name function)) 1995 (add-to-list 'python-skeletons ',(cons name function))
1989 (define-abbrev python-mode-abbrev-table ,name "" ',function nil t) 1996 (if python-use-skeletons
1997 (define-abbrev python-mode-abbrev-table ,name "" ',function nil t))
1990 (define-skeleton ,function 1998 (define-skeleton ,function
1991 ,(format "Insert Python \"%s\" template." name) 1999 ,(format "Insert Python \"%s\" template." name)
1992 ,@elements))))) 2000 ,@elements)))))
diff --git a/lisp/select.el b/lisp/select.el
index cbdeaf12fe3..9b711ee1d7f 100644
--- a/lisp/select.el
+++ b/lisp/select.el
@@ -152,6 +152,41 @@ Cut buffers are considered obsolete; you should use selections instead."
152;;; Every selection type that Emacs handles is implemented this way, except 152;;; Every selection type that Emacs handles is implemented this way, except
153;;; for TIMESTAMP, which is a special case. 153;;; for TIMESTAMP, which is a special case.
154 154
155(eval-when-compile (require 'ccl))
156
157(define-ccl-program ccl-check-utf-8
158 '(0
159 ((r0 = 1)
160 (loop
161 (read-if (r1 < #x80) (repeat)
162 ((r0 = 0)
163 (if (r1 < #xC2) (end))
164 (read r2)
165 (if ((r2 & #xC0) != #x80) (end))
166 (if (r1 < #xE0) ((r0 = 1) (repeat)))
167 (read r2)
168 (if ((r2 & #xC0) != #x80) (end))
169 (if (r1 < #xF0) ((r0 = 1) (repeat)))
170 (read r2)
171 (if ((r2 & #xC0) != #x80) (end))
172 (if (r1 < #xF8) ((r0 = 1) (repeat)))
173 (read r2)
174 (if ((r2 & #xC0) != #x80) (end))
175 (if (r1 == #xF8) ((r0 = 1) (repeat)))
176 (end))))))
177 "Check if the input unibyte string is a valid UTF-8 sequence or not.
178If it is valid, set the register `r0' to 1, else set it to 0.")
179
180(defun string-utf-8-p (string)
181 "Return non-nil iff STRING is a unibyte string of valid UTF-8 sequence."
182 (if (or (not (stringp string))
183 (multibyte-string-p string))
184 (error "Not a unibyte string: %s" string))
185 (let ((status (make-vector 9 0)))
186 (ccl-execute-on-string ccl-check-utf-8 status string)
187 (= (aref status 0) 1)))
188
189
155(defun xselect-convert-to-string (selection type value) 190(defun xselect-convert-to-string (selection type value)
156 (let (str coding) 191 (let (str coding)
157 ;; Get the actual string from VALUE. 192 ;; Get the actual string from VALUE.
@@ -223,11 +258,10 @@ Cut buffers are considered obsolete; you should use selections instead."
223 (setq str (encode-coding-string str coding)))) 258 (setq str (encode-coding-string str coding))))
224 259
225 ((eq type 'UTF8_STRING) 260 ((eq type 'UTF8_STRING)
226 (let ((charsets (find-charset-string str))) 261 (if (multibyte-string-p str)
227 (if (or (memq 'eight-bit-control charsets) 262 (setq str (encode-coding-string str 'utf-8)))
228 (memq 'eight-bit-graphic charsets)) 263 (if (not (string-utf-8-p str))
229 (setq type 'STRING) 264 (setq str nil))) ;; Decline request as we don't have UTF-8 data.
230 (setq str (encode-coding-string str 'utf-8)))))
231 (t 265 (t
232 (error "Unknow selection type: %S" type)) 266 (error "Unknow selection type: %S" type))
233 ))) 267 )))
diff --git a/lisp/subr.el b/lisp/subr.el
index 1f947a795f9..028b6ef21ff 100644
--- a/lisp/subr.el
+++ b/lisp/subr.el
@@ -1100,13 +1100,19 @@ until a certain package is loaded, you should put the call to `add-to-list'
1100into a hook function that will be run only after loading the package. 1100into a hook function that will be run only after loading the package.
1101`eval-after-load' provides one way to do this. In some cases 1101`eval-after-load' provides one way to do this. In some cases
1102other hooks, such as major mode hooks, can do the job." 1102other hooks, such as major mode hooks, can do the job."
1103 (if (if compare-fn 1103 (if (cond
1104 (let (present) 1104 ((null compare-fn)
1105 (dolist (elt (symbol-value list-var))
1106 (if (funcall compare-fn element elt)
1107 (setq present t)))
1108 present)
1109 (member element (symbol-value list-var))) 1105 (member element (symbol-value list-var)))
1106 ((eq compare-fn 'eq)
1107 (memq element (symbol-value list-var)))
1108 ((eq compare-fn 'eql)
1109 (memql element (symbol-value list-var)))
1110 (t
1111 (let (present)
1112 (dolist (elt (symbol-value list-var))
1113 (if (funcall compare-fn element elt)
1114 (setq present t)))
1115 present)))
1110 (symbol-value list-var) 1116 (symbol-value list-var)
1111 (set list-var 1117 (set list-var
1112 (if append 1118 (if append
@@ -1752,8 +1758,14 @@ floating point support.
1752 (or nodisp (redisplay)) 1758 (or nodisp (redisplay))
1753 (let ((read (read-event nil nil seconds))) 1759 (let ((read (read-event nil nil seconds)))
1754 (or (null read) 1760 (or (null read)
1755 (progn (push read unread-command-events) 1761 (progn
1756 nil)))))) 1762 ;; If last command was a prefix arg, e.g. C-u, push this event onto
1763 ;; unread-command-events as (t . EVENT) so it will be added to
1764 ;; this-command-keys by read-key-sequence.
1765 (if (eq overriding-terminal-local-map universal-argument-map)
1766 (setq read (cons t read)))
1767 (push read unread-command-events)
1768 nil))))))
1757 1769
1758;;; Atomic change groups. 1770;;; Atomic change groups.
1759 1771
diff --git a/lisp/term/mac-win.el b/lisp/term/mac-win.el
index 3e86c2a8ead..43454a5ca77 100644
--- a/lisp/term/mac-win.el
+++ b/lisp/term/mac-win.el
@@ -2526,12 +2526,15 @@ ascii:-*-Monaco-*-*-*-*-12-*-*-*-*-*-mac-roman")
2526 (cons '(user-size . t) parsed)))) 2526 (cons '(user-size . t) parsed))))
2527 ;; All geometry parms apply to the initial frame. 2527 ;; All geometry parms apply to the initial frame.
2528 (setq initial-frame-alist (append initial-frame-alist parsed)) 2528 (setq initial-frame-alist (append initial-frame-alist parsed))
2529 ;; The size parms apply to all frames. 2529 ;; The size parms apply to all frames. Don't set it if there are
2530 (if (assq 'height parsed) 2530 ;; sizes there already (from command line).
2531 (if (and (assq 'height parsed)
2532 (not (assq 'height default-frame-alist)))
2531 (setq default-frame-alist 2533 (setq default-frame-alist
2532 (cons (cons 'height (cdr (assq 'height parsed))) 2534 (cons (cons 'height (cdr (assq 'height parsed)))
2533 default-frame-alist))) 2535 default-frame-alist)))
2534 (if (assq 'width parsed) 2536 (if (and (assq 'width parsed)
2537 (not (assq 'width default-frame-alist)))
2535 (setq default-frame-alist 2538 (setq default-frame-alist
2536 (cons (cons 'width (cdr (assq 'width parsed))) 2539 (cons (cons 'width (cdr (assq 'width parsed)))
2537 default-frame-alist)))))) 2540 default-frame-alist))))))
diff --git a/lisp/term/w32-win.el b/lisp/term/w32-win.el
index 31a794eeaa1..7aaa59d40ec 100644
--- a/lisp/term/w32-win.el
+++ b/lisp/term/w32-win.el
@@ -208,7 +208,7 @@ the last file dropped is selected."
208 (setq x-invocation-args (cdr x-invocation-args)))) 208 (setq x-invocation-args (cdr x-invocation-args))))
209 209
210(defun x-handle-name-switch (switch) 210(defun x-handle-name-switch (switch)
211 "Handle a \"-name\" SWITCH." 211 "Handle the \"-name\" SWITCH."
212;; Handle the -name option. Set the variable x-resource-name 212;; Handle the -name option. Set the variable x-resource-name
213;; to the option's operand; set the name of the initial frame, too. 213;; to the option's operand; set the name of the initial frame, too.
214 (or (consp x-invocation-args) 214 (or (consp x-invocation-args)
@@ -1091,7 +1091,7 @@ This defines a fontset consisting of the Courier New variations for
1091European languages which are distributed with Windows as 1091European languages which are distributed with Windows as
1092\"Multilanguage Support\". 1092\"Multilanguage Support\".
1093 1093
1094See the documentation of `create-fontset-from-fontset-spec for the format.") 1094See the documentation of `create-fontset-from-fontset-spec' for the format.")
1095 1095
1096;; Conditional on new-fontset so bootstrapping works on non-GUI compiles 1096;; Conditional on new-fontset so bootstrapping works on non-GUI compiles
1097(if (fboundp 'new-fontset) 1097(if (fboundp 'new-fontset)
diff --git a/lisp/textmodes/flyspell.el b/lisp/textmodes/flyspell.el
index e7b95c9619d..b24124851de 100644
--- a/lisp/textmodes/flyspell.el
+++ b/lisp/textmodes/flyspell.el
@@ -1011,11 +1011,14 @@ Mostly we check word delimiters."
1011 (not (memq (char-after (1- start)) '(?\} ?\\))))) 1011 (not (memq (char-after (1- start)) '(?\} ?\\)))))
1012 flyspell-mark-duplications-flag 1012 flyspell-mark-duplications-flag
1013 (save-excursion 1013 (save-excursion
1014 (goto-char (1- start)) 1014 (goto-char start)
1015 (let ((p (flyspell-word-search-backward 1015 (let* ((bound
1016 word 1016 (- start
1017 (- start (1+ (- end start)))))) 1017 (- end start)
1018 (and p (/= p (1- start)))))) 1018 (- (skip-chars-backward " \t\n\f"))))
1019 (p (when (>= bound (point-min))
1020 (flyspell-word-search-backward word bound))))
1021 (and p (/= p start)))))
1019 ;; yes, this is a doublon 1022 ;; yes, this is a doublon
1020 (flyspell-highlight-incorrect-region start end 'doublon) 1023 (flyspell-highlight-incorrect-region start end 'doublon)
1021 nil) 1024 nil)
@@ -1472,7 +1475,7 @@ The buffer to mark them in is `flyspell-large-region-buffer'."
1472 (flyspell-word) ; Make sure current word is checked 1475 (flyspell-word) ; Make sure current word is checked
1473 (backward-word 1) 1476 (backward-word 1)
1474 (while (and (< (point) end) 1477 (while (and (< (point) end)
1475 (re-search-forward "\\b\\([^ \n\t]+\\)[ \n\t]+\\1\\b" 1478 (re-search-forward "\\<\\(\\w+\\)\\>[ \n\t\f]+\\1\\>"
1476 end 'move)) 1479 end 'move))
1477 (flyspell-word) 1480 (flyspell-word)
1478 (backward-word 1)) 1481 (backward-word 1))
@@ -1708,7 +1711,9 @@ is itself incorrect, but suspiciously repeated."
1708 ;; now we can use a new overlay 1711 ;; now we can use a new overlay
1709 (setq flyspell-overlay 1712 (setq flyspell-overlay
1710 (make-flyspell-overlay 1713 (make-flyspell-overlay
1711 beg end 'flyspell-incorrect 'highlight))))))) 1714 beg end
1715 (if (eq poss 'doublon) 'flyspell-duplicate 'flyspell-incorrect)
1716 'highlight)))))))
1712 1717
1713;;*---------------------------------------------------------------------*/ 1718;;*---------------------------------------------------------------------*/
1714;;* flyspell-highlight-duplicate-region ... */ 1719;;* flyspell-highlight-duplicate-region ... */
diff --git a/lisp/url/ChangeLog b/lisp/url/ChangeLog
index 2d26bc805a7..60d287896dd 100644
--- a/lisp/url/ChangeLog
+++ b/lisp/url/ChangeLog
@@ -1,3 +1,20 @@
12006-10-27 Magnus Henoch <mange@freemail.hu>
2
3 * url-http.el (url-http-mark-connection-as-free): Verify that
4 connection is open before saving it.
5 (url-http-handle-authentication): Use url-retrieve-internal
6 instead of url-retrieve.
7 (url-http-parse-headers): Adapt to new callback interface.
8 (url-http): Handle non-blocking connections.
9 (url-http-async-sentinel): Create.
10
11 * url.el (url-retrieve): Update docstring for new callback interface.
12 Remove all code.
13 (url-retrieve-internal): Move code from url-retrieve here.
14
15 * url-gw.el (url-open-stream): Use a non-blocking socket for
16 `native' gateway method, if available.
17
12006-10-16 Magnus Henoch <mange@freemail.hu> 182006-10-16 Magnus Henoch <mange@freemail.hu>
2 19
3 * url-http.el (url-https-create-secure-wrapper): Always use tls 20 * url-http.el (url-https-create-secure-wrapper): Always use tls
diff --git a/lisp/url/url-gw.el b/lisp/url/url-gw.el
index 878259927eb..31e1a629aba 100644
--- a/lisp/url/url-gw.el
+++ b/lisp/url/url-gw.el
@@ -210,7 +210,8 @@ linked Emacs under SunOS 4.x"
210(defun url-open-stream (name buffer host service) 210(defun url-open-stream (name buffer host service)
211 "Open a stream to HOST, possibly via a gateway. 211 "Open a stream to HOST, possibly via a gateway.
212Args per `open-network-stream'. 212Args per `open-network-stream'.
213Will not make a connection if `url-gateway-unplugged' is non-nil." 213Will not make a connection if `url-gateway-unplugged' is non-nil.
214Might do a non-blocking connection; use `process-status' to check."
214 (unless url-gateway-unplugged 215 (unless url-gateway-unplugged
215 (let ((gw-method (if (and url-gateway-local-host-regexp 216 (let ((gw-method (if (and url-gateway-local-host-regexp
216 (not (eq 'tls url-gateway-method)) 217 (not (eq 'tls url-gateway-method))
@@ -249,7 +250,11 @@ Will not make a connection if `url-gateway-unplugged' is non-nil."
249 (ssl 250 (ssl
250 (open-ssl-stream name buffer host service)) 251 (open-ssl-stream name buffer host service))
251 ((native) 252 ((native)
252 (open-network-stream name buffer host service)) 253 ;; Use non-blocking socket if we can.
254 (make-network-process :name name :buffer buffer
255 :host host :service service
256 :nowait
257 (and nil (featurep 'make-network-process '(:nowait t)))))
253 (socks 258 (socks
254 (socks-open-network-stream name buffer host service)) 259 (socks-open-network-stream name buffer host service))
255 (telnet 260 (telnet
diff --git a/lisp/url/url-http.el b/lisp/url/url-http.el
index 958d90683e4..cd09df3cb4c 100644
--- a/lisp/url/url-http.el
+++ b/lisp/url/url-http.el
@@ -92,11 +92,12 @@ request.")
92 92
93(defun url-http-mark-connection-as-free (host port proc) 93(defun url-http-mark-connection-as-free (host port proc)
94 (url-http-debug "Marking connection as free: %s:%d %S" host port proc) 94 (url-http-debug "Marking connection as free: %s:%d %S" host port proc)
95 (set-process-buffer proc nil) 95 (when (memq (process-status proc) '(open run))
96 (set-process-sentinel proc 'url-http-idle-sentinel) 96 (set-process-buffer proc nil)
97 (puthash (cons host port) 97 (set-process-sentinel proc 'url-http-idle-sentinel)
98 (cons proc (gethash (cons host port) url-http-open-connections)) 98 (puthash (cons host port)
99 url-http-open-connections) 99 (cons proc (gethash (cons host port) url-http-open-connections))
100 url-http-open-connections))
100 nil) 101 nil)
101 102
102(defun url-http-find-free-connection (host port) 103(defun url-http-find-free-connection (host port)
@@ -336,8 +337,8 @@ This allows us to use `mail-fetch-field', etc."
336 (let ((url-request-method url-http-method) 337 (let ((url-request-method url-http-method)
337 (url-request-data url-http-data) 338 (url-request-data url-http-data)
338 (url-request-extra-headers url-http-extra-headers)) 339 (url-request-extra-headers url-http-extra-headers))
339 (url-retrieve url url-callback-function 340 (url-retrieve-internal url url-callback-function
340 url-callback-arguments))))))) 341 url-callback-arguments)))))))
341 342
342(defun url-http-parse-response () 343(defun url-http-parse-response ()
343 "Parse just the response code." 344 "Parse just the response code."
@@ -520,18 +521,21 @@ should be shown to the user."
520 (let ((url-request-method url-http-method) 521 (let ((url-request-method url-http-method)
521 (url-request-data url-http-data) 522 (url-request-data url-http-data)
522 (url-request-extra-headers url-http-extra-headers)) 523 (url-request-extra-headers url-http-extra-headers))
523 ;; Put in the current buffer a forwarding pointer to the new 524 ;; Remember that the request was redirected.
524 ;; destination buffer. 525 (setf (car url-callback-arguments)
525 ;; FIXME: This is a hack to fix url-retrieve-synchronously 526 (nconc (list :redirect redirect-uri)
526 ;; without changing the API. Instead url-retrieve should 527 (car url-callback-arguments)))
527 ;; either simply not return the "destination" buffer, or it 528 ;; Put in the current buffer a forwarding pointer to the new
528 ;; should take an optional `dest-buf' argument. 529 ;; destination buffer.
529 (set (make-local-variable 'url-redirect-buffer) 530 ;; FIXME: This is a hack to fix url-retrieve-synchronously
530 (url-retrieve redirect-uri url-callback-function 531 ;; without changing the API. Instead url-retrieve should
531 (cons :redirect 532 ;; either simply not return the "destination" buffer, or it
532 (cons redirect-uri 533 ;; should take an optional `dest-buf' argument.
533 url-callback-arguments)))) 534 (set (make-local-variable 'url-redirect-buffer)
534 (url-mark-buffer-as-dead (current-buffer)))))) 535 (url-retrieve-internal
536 redirect-uri url-callback-function
537 url-callback-arguments)
538 (url-mark-buffer-as-dead (current-buffer)))))))
535 (4 ; Client error 539 (4 ; Client error
536 ;; 400 Bad Request 540 ;; 400 Bad Request
537 ;; 401 Unauthorized 541 ;; 401 Unauthorized
@@ -653,7 +657,13 @@ should be shown to the user."
653 ;; The request could not be understood by the server due to 657 ;; The request could not be understood by the server due to
654 ;; malformed syntax. The client SHOULD NOT repeat the 658 ;; malformed syntax. The client SHOULD NOT repeat the
655 ;; request without modifications. 659 ;; request without modifications.
656 (setq success t)))) 660 (setq success t)))
661 ;; Tell the callback that an error occurred, and what the
662 ;; status code was.
663 (when success
664 (setf (car url-callback-arguments)
665 (nconc (list :error (list 'error 'http url-http-response-status))
666 (car url-callback-arguments)))))
657 (5 667 (5
658 ;; 500 Internal server error 668 ;; 500 Internal server error
659 ;; 501 Not implemented 669 ;; 501 Not implemented
@@ -702,7 +712,13 @@ should be shown to the user."
702 ;; which received this status code was the result of a user 712 ;; which received this status code was the result of a user
703 ;; action, the request MUST NOT be repeated until it is 713 ;; action, the request MUST NOT be repeated until it is
704 ;; requested by a separate user action. 714 ;; requested by a separate user action.
705 nil))) 715 nil))
716 ;; Tell the callback that an error occurred, and what the
717 ;; status code was.
718 (when success
719 (setf (car url-callback-arguments)
720 (nconc (list :error (list 'error 'http url-http-response-status))
721 (car url-callback-arguments)))))
706 (otherwise 722 (otherwise
707 (error "Unknown class of HTTP response code: %d (%d)" 723 (error "Unknown class of HTTP response code: %d (%d)"
708 class url-http-response-status))) 724 class url-http-response-status)))
@@ -1089,11 +1105,38 @@ CBARGS as the arguments."
1089 url-current-object)) 1105 url-current-object))
1090 1106
1091 (set-process-buffer connection buffer) 1107 (set-process-buffer connection buffer)
1092 (set-process-sentinel connection 'url-http-end-of-document-sentinel)
1093 (set-process-filter connection 'url-http-generic-filter) 1108 (set-process-filter connection 'url-http-generic-filter)
1094 (process-send-string connection (url-http-create-request url)))) 1109 (let ((status (process-status connection)))
1110 (cond
1111 ((eq status 'connect)
1112 ;; Asynchronous connection
1113 (set-process-sentinel connection 'url-http-async-sentinel))
1114 ((eq status 'failed)
1115 ;; Asynchronous connection failed
1116 (error "Could not create connection to %s:%d" (url-host url)
1117 (url-port url)))
1118 (t
1119 (set-process-sentinel connection 'url-http-end-of-document-sentinel)
1120 (process-send-string connection (url-http-create-request url)))))))
1095 buffer)) 1121 buffer))
1096 1122
1123(defun url-http-async-sentinel (proc why)
1124 (declare (special url-callback-arguments))
1125 ;; We are performing an asynchronous connection, and a status change
1126 ;; has occurred.
1127 (with-current-buffer (process-buffer proc)
1128 (cond
1129 ((string= (substring why 0 4) "open")
1130 (set-process-sentinel proc 'url-http-end-of-document-sentinel)
1131 (process-send-string proc (url-http-create-request url-current-object)))
1132 (t
1133 (setf (car url-callback-arguments)
1134 (nconc (list :error (list 'error 'connection-failed why
1135 :host (url-host url-current-object)
1136 :service (url-port url-current-object)))
1137 (car url-callback-arguments)))
1138 (url-http-activate-callback)))))
1139
1097;; Since Emacs 19/20 does not allow you to change the 1140;; Since Emacs 19/20 does not allow you to change the
1098;; `after-change-functions' hook in the midst of running them, we fake 1141;; `after-change-functions' hook in the midst of running them, we fake
1099;; an after change by hooking into the process filter and inserting 1142;; an after change by hooking into the process filter and inserting
diff --git a/lisp/url/url.el b/lisp/url/url.el
index 07ac55dcd3d..6e4dfa089e7 100644
--- a/lisp/url/url.el
+++ b/lisp/url/url.el
@@ -128,13 +128,39 @@ URL is either a string or a parsed URL.
128 128
129CALLBACK is called when the object has been completely retrieved, with 129CALLBACK is called when the object has been completely retrieved, with
130the current buffer containing the object, and any MIME headers associated 130the current buffer containing the object, and any MIME headers associated
131with it. Normally it gets the arguments in the list CBARGS. 131with it. It is called as (apply CALLBACK STATUS CBARGS).
132However, if what we find is a redirect, CALLBACK is given 132STATUS is a list with an even number of elements representing
133two additional args, `:redirect' and the redirected URL, 133what happened during the request, with most recent events first,
134followed by CBARGS. 134or an empty list if no events have occurred. Each pair is one of:
135
136\(:redirect REDIRECTED-TO) - the request was redirected to this URL
137\(:error (ERROR-SYMBOL . DATA)) - an error occurred. The error can be
138signaled with (signal ERROR-SYMBOL DATA).
135 139
136Return the buffer URL will load into, or nil if the process has 140Return the buffer URL will load into, or nil if the process has
137already completed." 141already completed (i.e. URL was a mailto URL or similar; in this case
142the callback is not called).
143
144The variables `url-request-data', `url-request-method' and
145`url-request-extra-headers' can be dynamically bound around the
146request; dynamic binding of other variables doesn't necessarily
147take effect."
148;;; XXX: There is code in Emacs that does dynamic binding
149;;; of the following variables around url-retrieve:
150;;; url-standalone-mode, url-gateway-unplugged, w3-honor-stylesheets,
151;;; url-confirmation-func, url-cookie-multiple-line,
152;;; url-cookie-{{,secure-}storage,confirmation}
153;;; url-standalone-mode and url-gateway-unplugged should work as
154;;; usual. url-confirmation-func is only used in nnwarchive.el and
155;;; webmail.el; the latter should be updated. Is
156;;; url-cookie-multiple-line needed anymore? The other url-cookie-*
157;;; are (for now) only used in synchronous retrievals.
158 (url-retrieve-internal url callback (cons nil cbargs)))
159
160(defun url-retrieve-internal (url callback cbargs)
161 "Internal function; external interface is `url-retrieve'.
162CBARGS is what the callback will actually receive - the first item is
163the list of events, as described in the docstring of `url-retrieve'."
138 (url-do-setup) 164 (url-do-setup)
139 (url-gc-dead-buffers) 165 (url-gc-dead-buffers)
140 (if (stringp url) 166 (if (stringp url)
@@ -211,6 +237,9 @@ no further processing). URL is either a string or a parsed URL."
211 ;; clear that it's a bug, but even then we need to decide how 237 ;; clear that it's a bug, but even then we need to decide how
212 ;; url-http can then warn us that the download has completed. 238 ;; url-http can then warn us that the download has completed.
213 ;; In the mean time, we use this here workaround. 239 ;; In the mean time, we use this here workaround.
240 ;; XXX: The callback must always be called. Any
241 ;; exception is a bug that should be fixed, not worked
242 ;; around.
214 (setq retrieval-done t)) 243 (setq retrieval-done t))
215 ;; We used to use `sit-for' here, but in some cases it wouldn't 244 ;; We used to use `sit-for' here, but in some cases it wouldn't
216 ;; work because apparently pending keyboard input would always 245 ;; work because apparently pending keyboard input would always
diff --git a/lisp/vc-svn.el b/lisp/vc-svn.el
index 6d27c5c6a7e..c48ce7a5f99 100644
--- a/lisp/vc-svn.el
+++ b/lisp/vc-svn.el
@@ -125,8 +125,7 @@ This is only meaningful if you don't use the implicit checkout model
125 ;; an `error' by vc-do-command. 125 ;; an `error' by vc-do-command.
126 (error nil)))) 126 (error nil))))
127 (when (eq 0 status) 127 (when (eq 0 status)
128 (vc-svn-parse-status t) 128 (vc-svn-parse-status file))))))
129 (eq 'SVN (vc-file-getprop file 'vc-backend)))))))
130 129
131(defun vc-svn-state (file &optional localp) 130(defun vc-svn-state (file &optional localp)
132 "SVN-specific version of `vc-state'." 131 "SVN-specific version of `vc-state'."
@@ -134,8 +133,7 @@ This is only meaningful if you don't use the implicit checkout model
134 (with-temp-buffer 133 (with-temp-buffer
135 (cd (file-name-directory file)) 134 (cd (file-name-directory file))
136 (vc-svn-command t 0 file "status" (if localp "-v" "-u")) 135 (vc-svn-command t 0 file "status" (if localp "-v" "-u"))
137 (vc-svn-parse-status localp) 136 (vc-svn-parse-status file)))
138 (vc-file-getprop file 'vc-state)))
139 137
140(defun vc-svn-state-heuristic (file) 138(defun vc-svn-state-heuristic (file)
141 "SVN-specific state heuristic." 139 "SVN-specific state heuristic."
@@ -149,7 +147,7 @@ This is only meaningful if you don't use the implicit checkout model
149 ;; enough. Otherwise it might fail with remote repositories. 147 ;; enough. Otherwise it might fail with remote repositories.
150 (with-temp-buffer 148 (with-temp-buffer
151 (vc-svn-command t 0 nil "status" (if localp "-v" "-u")) 149 (vc-svn-command t 0 nil "status" (if localp "-v" "-u"))
152 (vc-svn-parse-status localp)))) 150 (vc-svn-parse-status))))
153 151
154(defun vc-svn-workfile-version (file) 152(defun vc-svn-workfile-version (file)
155 "SVN-specific version of `vc-workfile-version'." 153 "SVN-specific version of `vc-workfile-version'."
@@ -488,10 +486,10 @@ and that it passes `vc-svn-global-switches' to it before FLAGS."
488 ;; behavior for different modules on the same server. 486 ;; behavior for different modules on the same server.
489 (match-string 1)))) 487 (match-string 1))))
490 488
491(defun vc-svn-parse-status (localp) 489(defun vc-svn-parse-status (&optional filename)
492 "Parse output of \"svn status\" command in the current buffer. 490 "Parse output of \"svn status\" command in the current buffer.
493Set file properties accordingly. Unless FULL is t, parse only 491Set file properties accordingly. Unless FILENAME is non-nil, parse only
494essential information." 492information about FILENAME and return its status."
495 (let (file status) 493 (let (file status)
496 (goto-char (point-min)) 494 (goto-char (point-min))
497 (while (re-search-forward 495 (while (re-search-forward
@@ -500,7 +498,9 @@ essential information."
500 (buffer-substring (point) (line-end-position)))) 498 (buffer-substring (point) (line-end-position))))
501 (setq status (char-after (line-beginning-position))) 499 (setq status (char-after (line-beginning-position)))
502 (unless (eq status ??) 500 (unless (eq status ??)
503 (vc-file-setprop file 'vc-backend 'SVN) 501 ;; `vc-BACKEND-registered' must not set vc-backend,
502 ;; which is instead set in vc-registered.
503 (unless filename (vc-file-setprop file 'vc-backend 'SVN))
504 ;; Use the last-modified revision, so that searching in vc-print-log 504 ;; Use the last-modified revision, so that searching in vc-print-log
505 ;; output works. 505 ;; output works.
506 (vc-file-setprop file 'vc-workfile-version (match-string 3)) 506 (vc-file-setprop file 'vc-workfile-version (match-string 3))
@@ -522,7 +522,8 @@ essential information."
522 (if (eq (char-after (match-beginning 1)) ?*) 522 (if (eq (char-after (match-beginning 1)) ?*)
523 'needs-merge 523 'needs-merge
524 'edited)) 524 'edited))
525 (t 'edited))))))) 525 (t 'edited)))))
526 (if filename (vc-file-getprop filename 'vc-state))))
526 527
527(defun vc-svn-dir-state-heuristic (dir) 528(defun vc-svn-dir-state-heuristic (dir)
528 "Find the SVN state of all files in DIR, using only local information." 529 "Find the SVN state of all files in DIR, using only local information."
diff --git a/lisp/vc.el b/lisp/vc.el
index d72ee4c7e4e..afeba8d2409 100644
--- a/lisp/vc.el
+++ b/lisp/vc.el
@@ -2682,25 +2682,32 @@ To get a prompt, use a prefix argument."
2682 (error "There is no version-controlled file in this buffer")) 2682 (error "There is no version-controlled file in this buffer"))
2683 (let ((backend (vc-backend buffer-file-name)) 2683 (let ((backend (vc-backend buffer-file-name))
2684 (backends nil)) 2684 (backends nil))
2685 (unless backend 2685 (unwind-protect
2686 (error "File %s is not under version control" buffer-file-name)) 2686 (progn
2687 ;; Find the registered backends. 2687 (unless backend
2688 (dolist (backend vc-handled-backends) 2688 (error "File %s is not under version control" buffer-file-name))
2689 (when (vc-call-backend backend 'registered buffer-file-name) 2689 ;; Find the registered backends.
2690 (push backend backends))) 2690 (dolist (backend vc-handled-backends)
2691 ;; Find the next backend. 2691 (when (vc-call-backend backend 'registered buffer-file-name)
2692 (let ((def (car (delq backend (append (memq backend backends) backends)))) 2692 (push backend backends)))
2693 (others (delete backend backends))) 2693 ;; Find the next backend.
2694 (cond 2694 (let ((def (car (delq backend
2695 ((null others) (error "No other backend to switch to")) 2695 (append (memq backend backends) backends))))
2696 (current-prefix-arg 2696 (others (delete backend backends)))
2697 (intern 2697 (cond
2698 (upcase 2698 ((null others) (error "No other backend to switch to"))
2699 (completing-read 2699 (current-prefix-arg
2700 (format "Switch to backend [%s]: " def) 2700 (intern
2701 (mapcar (lambda (b) (list (downcase (symbol-name b)))) backends) 2701 (upcase
2702 nil t nil nil (downcase (symbol-name def)))))) 2702 (completing-read
2703 (t def)))))) 2703 (format "Switch to backend [%s]: " def)
2704 (mapcar (lambda (b) (list (downcase (symbol-name b)))) backends)
2705 nil t nil nil (downcase (symbol-name def))))))
2706 (t def))))
2707 ;; Calling the `registered' method can mess up the file
2708 ;; properties, so we want to revert them to what they were.
2709 (if (and backend (delete backend backends))
2710 (vc-call-backend backend 'registered buffer-file-name))))))
2704 (unless (eq backend (vc-backend file)) 2711 (unless (eq backend (vc-backend file))
2705 (vc-file-clearprops file) 2712 (vc-file-clearprops file)
2706 (vc-file-setprop file 'vc-backend backend) 2713 (vc-file-setprop file 'vc-backend backend)
diff --git a/lisp/version.el b/lisp/version.el
index 5b9fccfefb3..e6ed5fb5e7e 100644
--- a/lisp/version.el
+++ b/lisp/version.el
@@ -27,7 +27,7 @@
27 27
28;;; Code: 28;;; Code:
29 29
30(defconst emacs-version "22.0.51" "\ 30(defconst emacs-version "22.0.91" "\
31Version numbers of this version of Emacs.") 31Version numbers of this version of Emacs.")
32 32
33(defconst emacs-major-version 33(defconst emacs-major-version
@@ -64,6 +64,8 @@ to the system configuration; look at `system-configuration' instead."
64 ((featurep 'gtk) 64 ((featurep 'gtk)
65 (concat ", GTK+ Version " gtk-version-string)) 65 (concat ", GTK+ Version " gtk-version-string))
66 ((featurep 'x-toolkit) ", X toolkit") 66 ((featurep 'x-toolkit) ", X toolkit")
67 ((boundp 'mac-carbon-version-string)
68 (concat ", Carbon Version " mac-carbon-version-string))
67 (t "")) 69 (t ""))
68 (if (and (boundp 'x-toolkit-scroll-bars) 70 (if (and (boundp 'x-toolkit-scroll-bars)
69 (memq x-toolkit-scroll-bars '(xaw xaw3d))) 71 (memq x-toolkit-scroll-bars '(xaw xaw3d)))
diff --git a/lisp/window.el b/lisp/window.el
index 0c50bc63a08..ac4fc0b7c96 100644
--- a/lisp/window.el
+++ b/lisp/window.el
@@ -719,17 +719,25 @@ or if the window is the only window of its frame."
719 "Kill the current buffer and delete the selected window." 719 "Kill the current buffer and delete the selected window."
720 (interactive) 720 (interactive)
721 (let ((window-to-delete (selected-window)) 721 (let ((window-to-delete (selected-window))
722 (buffer-to-kill (current-buffer))
722 (delete-window-hook (lambda () 723 (delete-window-hook (lambda ()
723 (condition-case nil 724 (condition-case nil
724 (delete-window) 725 (delete-window)
725 (error nil))))) 726 (error nil)))))
726 (add-hook 'kill-buffer-hook delete-window-hook t t) 727 (unwind-protect
727 (if (kill-buffer (current-buffer)) 728 (progn
728 ;; If `delete-window' failed before, we rerun it to regenerate 729 (add-hook 'kill-buffer-hook delete-window-hook t t)
729 ;; the error so it can be seen in the minibuffer. 730 (if (kill-buffer (current-buffer))
730 (when (eq (selected-window) window-to-delete) 731 ;; If `delete-window' failed before, we rerun it to regenerate
731 (delete-window)) 732 ;; the error so it can be seen in the echo area.
732 (remove-hook 'kill-buffer-hook delete-window-hook t)))) 733 (when (eq (selected-window) window-to-delete)
734 (delete-window))))
735 ;; If the buffer is not dead for some reason (probably because
736 ;; of a `quit' signal), remove the hook again.
737 (condition-case nil
738 (with-current-buffer buffer-to-kill
739 (remove-hook 'kill-buffer-hook delete-window-hook t))
740 (error nil)))))
733 741
734(defun quit-window (&optional kill window) 742(defun quit-window (&optional kill window)
735 "Quit the current buffer. Bury it, and maybe delete the selected frame. 743 "Quit the current buffer. Bury it, and maybe delete the selected frame.