diff options
| author | Chong Yidong | 2012-05-04 13:14:14 +0800 |
|---|---|---|
| committer | Chong Yidong | 2012-05-04 13:14:14 +0800 |
| commit | 78f3273aab4817ead42af0db41e703dc7e90260b (patch) | |
| tree | 71c70a9d0bd5d796e5be009d3cc562ea7a0863b4 | |
| parent | ab0fa4e4ba0b2b93a9ef007842523d8d5f9eb758 (diff) | |
| download | emacs-78f3273aab4817ead42af0db41e703dc7e90260b.tar.gz emacs-78f3273aab4817ead42af0db41e703dc7e90260b.zip | |
Convert more defvars to defcustoms.
* dos-w32.el (file-name-buffer-file-type-alist)
(direct-print-region-use-command-dot-com):
* ffap.el (ffap-menu-regexp):
* follow.el (follow-debug):
* forms.el (forms--debug):
* iswitchb.el (iswitchb-all-frames):
* ido.el (ido-all-frames):
* mail/feedmail.el (feedmail-mail-send-hook)
(feedmail-mail-send-hook-queued):
* mail/footnote.el (footnote-signature-separator):
* mail/mailabbrev.el (mail-alias-separator-string)
(mail-abbrev-mode-regexp):
* mail/rmail.el (rmail-speedbar-match-folder-regexp):
* progmodes/idlwave.el (idlwave-libinfo-file)
(idlwave-default-completion-case-is-down)
(idlwave-library-routines): Convert defvars to defcustoms.
* mail/rmail.el (rmail-decode-mime-charset):
* progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
(idlwave-shell-fix-inserted-breaks)
(idlwave-shell-activate-alt-keybindings)
(idlwave-shell-use-breakpoint-glyph):
* facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
* doc/lispref/os.texi (Timers): Use defopt for timer-max-repeats.
| -rw-r--r-- | doc/lispref/ChangeLog | 4 | ||||
| -rw-r--r-- | doc/lispref/os.texi | 4 | ||||
| -rw-r--r-- | etc/NEWS | 5 | ||||
| -rw-r--r-- | lisp/ChangeLog | 28 | ||||
| -rw-r--r-- | lisp/dos-w32.el | 17 | ||||
| -rw-r--r-- | lisp/emacs-lisp/timer.el | 6 | ||||
| -rw-r--r-- | lisp/facemenu.el | 9 | ||||
| -rw-r--r-- | lisp/ffap.el | 8 | ||||
| -rw-r--r-- | lisp/find-file.el | 16 | ||||
| -rw-r--r-- | lisp/follow.el | 7 | ||||
| -rw-r--r-- | lisp/forms.el | 6 | ||||
| -rw-r--r-- | lisp/ido.el | 11 | ||||
| -rw-r--r-- | lisp/iswitchb.el | 9 | ||||
| -rw-r--r-- | lisp/mail/feedmail.el | 30 | ||||
| -rw-r--r-- | lisp/mail/footnote.el | 10 | ||||
| -rw-r--r-- | lisp/mail/mailabbrev.el | 16 | ||||
| -rw-r--r-- | lisp/mail/rmail.el | 24 | ||||
| -rw-r--r-- | lisp/progmodes/idlw-shell.el | 15 | ||||
| -rw-r--r-- | lisp/progmodes/idlwave.el | 9 |
19 files changed, 125 insertions, 109 deletions
diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog index 3be41afe975..8c6165c826f 100644 --- a/doc/lispref/ChangeLog +++ b/doc/lispref/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2012-05-04 Chong Yidong <cyd@gnu.org> | ||
| 2 | |||
| 3 | * os.texi (Timers): Use defopt for timer-max-repeats. | ||
| 4 | |||
| 1 | 2012-05-03 Paul Eggert <eggert@cs.ucla.edu> | 5 | 2012-05-03 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | 6 | ||
| 3 | * os.texi (Time of Day): Do not limit current-time-string | 7 | * os.texi (Time of Day): Do not limit current-time-string |
diff --git a/doc/lispref/os.texi b/doc/lispref/os.texi index 0fdb3e20694..ac6711f4827 100644 --- a/doc/lispref/os.texi +++ b/doc/lispref/os.texi | |||
| @@ -1735,11 +1735,11 @@ between them). If you want a timer to run again no less than @var{n} | |||
| 1735 | seconds after the last invocation, don't use the @var{repeat} argument. | 1735 | seconds after the last invocation, don't use the @var{repeat} argument. |
| 1736 | Instead, the timer function should explicitly reschedule the timer. | 1736 | Instead, the timer function should explicitly reschedule the timer. |
| 1737 | 1737 | ||
| 1738 | @defvar timer-max-repeats | 1738 | @defopt timer-max-repeats |
| 1739 | This variable's value specifies the maximum number of times to repeat | 1739 | This variable's value specifies the maximum number of times to repeat |
| 1740 | calling a timer function in a row, when many previously scheduled | 1740 | calling a timer function in a row, when many previously scheduled |
| 1741 | calls were unavoidably delayed. | 1741 | calls were unavoidably delayed. |
| 1742 | @end defvar | 1742 | @end defopt |
| 1743 | 1743 | ||
| 1744 | @defmac with-timeout (seconds timeout-forms@dots{}) body@dots{} | 1744 | @defmac with-timeout (seconds timeout-forms@dots{}) body@dots{} |
| 1745 | Execute @var{body}, but give up after @var{seconds} seconds. If | 1745 | Execute @var{body}, but give up after @var{seconds} seconds. If |
| @@ -187,6 +187,11 @@ third argument is a frame (that usage was obsolete since Emacs 22.2). | |||
| 187 | but keywords or keyword-string pairs. The old argument list will | 187 | but keywords or keyword-string pairs. The old argument list will |
| 188 | still be supported for Emacs 24.x. | 188 | still be supported for Emacs 24.x. |
| 189 | 189 | ||
| 190 | ** The following obsolete variables and varaliases have been removed: | ||
| 191 | |||
| 192 | *** `facemenu-unlisted-faces' | ||
| 193 | *** `rmail-decode-mime-charset' | ||
| 194 | |||
| 190 | 195 | ||
| 191 | * Lisp changes in Emacs 24.2 | 196 | * Lisp changes in Emacs 24.2 |
| 192 | 197 | ||
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index b75a6606779..d57d93a7060 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,31 @@ | |||
| 1 | 2012-05-04 Chong Yidong <cyd@gnu.org> | ||
| 2 | |||
| 3 | * dos-w32.el (file-name-buffer-file-type-alist) | ||
| 4 | (direct-print-region-use-command-dot-com): | ||
| 5 | * ffap.el (ffap-menu-regexp): | ||
| 6 | * find-file.el (ff-special-constructs): | ||
| 7 | * follow.el (follow-debug): | ||
| 8 | * forms.el (forms--debug): | ||
| 9 | * iswitchb.el (iswitchb-all-frames): | ||
| 10 | * ido.el (ido-all-frames): | ||
| 11 | * emacs-lisp/timer.el (timer-max-repeats): | ||
| 12 | * mail/feedmail.el (feedmail-mail-send-hook) | ||
| 13 | (feedmail-mail-send-hook-queued): | ||
| 14 | * mail/footnote.el (footnote-signature-separator): | ||
| 15 | * mail/mailabbrev.el (mail-alias-separator-string) | ||
| 16 | (mail-abbrev-mode-regexp): | ||
| 17 | * mail/rmail.el (rmail-speedbar-match-folder-regexp): | ||
| 18 | * progmodes/idlwave.el (idlwave-libinfo-file) | ||
| 19 | (idlwave-default-completion-case-is-down) | ||
| 20 | (idlwave-library-routines): Convert defvars to defcustoms. | ||
| 21 | |||
| 22 | * mail/rmail.el (rmail-decode-mime-charset): | ||
| 23 | * progmodes/idlw-shell.el (idlwave-shell-print-expression-function) | ||
| 24 | (idlwave-shell-fix-inserted-breaks) | ||
| 25 | (idlwave-shell-activate-alt-keybindings) | ||
| 26 | (idlwave-shell-use-breakpoint-glyph): | ||
| 27 | * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars. | ||
| 28 | |||
| 1 | 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca> | 29 | 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca> |
| 2 | 30 | ||
| 3 | * minibuffer.el (completion--twq-all): Beware completion-ignore-case. | 31 | * minibuffer.el (completion--twq-all): Beware completion-ignore-case. |
diff --git a/lisp/dos-w32.el b/lisp/dos-w32.el index 071c7b71263..f68af7a73be 100644 --- a/lisp/dos-w32.el +++ b/lisp/dos-w32.el | |||
| @@ -38,9 +38,8 @@ | |||
| 38 | (setq null-device "NUL") | 38 | (setq null-device "NUL") |
| 39 | 39 | ||
| 40 | ;; For distinguishing file types based upon suffixes. | 40 | ;; For distinguishing file types based upon suffixes. |
| 41 | (defvar file-name-buffer-file-type-alist | 41 | (defcustom file-name-buffer-file-type-alist |
| 42 | '( | 42 | '(("[:/].*config.sys$" . nil) ; config.sys text |
| 43 | ("[:/].*config.sys$" . nil) ; config.sys text | ||
| 44 | ("\\.\\(obj\\|exe\\|com\\|lib\\|sys\\|bin\\|ico\\|pif\\|class\\)$" . t) | 43 | ("\\.\\(obj\\|exe\\|com\\|lib\\|sys\\|bin\\|ico\\|pif\\|class\\)$" . t) |
| 45 | ; MS-Dos stuff | 44 | ; MS-Dos stuff |
| 46 | ("\\.\\(dll\\|drv\\|386\\|vxd\\|fon\\|fnt\\|fot\\|ttf\\|grp\\)$" . t) | 45 | ("\\.\\(dll\\|drv\\|386\\|vxd\\|fon\\|fnt\\|fot\\|ttf\\|grp\\)$" . t) |
| @@ -57,7 +56,10 @@ | |||
| 57 | ) | 56 | ) |
| 58 | "Alist for distinguishing text files from binary files. | 57 | "Alist for distinguishing text files from binary files. |
| 59 | Each element has the form (REGEXP . TYPE), where REGEXP is matched | 58 | Each element has the form (REGEXP . TYPE), where REGEXP is matched |
| 60 | against the file name, and TYPE is nil for text, t for binary.") | 59 | against the file name, and TYPE is nil for text, t for binary." |
| 60 | :type '(repeat (cons regexp boolean)) | ||
| 61 | :group 'dos-fns | ||
| 62 | :group 'w32) | ||
| 61 | 63 | ||
| 62 | ;; Return the pair matching filename on file-name-buffer-file-type-alist, | 64 | ;; Return the pair matching filename on file-name-buffer-file-type-alist, |
| 63 | ;; or nil otherwise. | 65 | ;; or nil otherwise. |
| @@ -282,8 +284,11 @@ filesystem mounted on drive Z:, FILESYSTEM could be \"Z:\"." | |||
| 282 | 284 | ||
| 283 | ;;; Support for printing under DOS/Windows, see lpr.el and ps-print.el. | 285 | ;;; Support for printing under DOS/Windows, see lpr.el and ps-print.el. |
| 284 | 286 | ||
| 285 | (defvar direct-print-region-use-command-dot-com t | 287 | (defcustom direct-print-region-use-command-dot-com t |
| 286 | "Control whether command.com is used to print on Windows 9x.") | 288 | "If non-nil, use command.com to print on Windows 9x." |
| 289 | :type 'boolean | ||
| 290 | :group 'dos-fns | ||
| 291 | :group 'w32) | ||
| 287 | 292 | ||
| 288 | ;; Function to actually send data to the printer port. | 293 | ;; Function to actually send data to the printer port. |
| 289 | ;; Supports writing directly, and using various programs. | 294 | ;; Supports writing directly, and using various programs. |
diff --git a/lisp/emacs-lisp/timer.el b/lisp/emacs-lisp/timer.el index 87b6cceb24b..11ec0f0614c 100644 --- a/lisp/emacs-lisp/timer.el +++ b/lisp/emacs-lisp/timer.el | |||
| @@ -240,12 +240,14 @@ and idle timers such as are scheduled by `run-with-idle-timer'." | |||
| 240 | (defvar timer-event-last-2 nil | 240 | (defvar timer-event-last-2 nil |
| 241 | "Third-to-last timer that was run.") | 241 | "Third-to-last timer that was run.") |
| 242 | 242 | ||
| 243 | (defvar timer-max-repeats 10 | 243 | (defcustom timer-max-repeats 10 |
| 244 | "Maximum number of times to repeat a timer, if many repeats are delayed. | 244 | "Maximum number of times to repeat a timer, if many repeats are delayed. |
| 245 | Timer invocations can be delayed because Emacs is suspended or busy, | 245 | Timer invocations can be delayed because Emacs is suspended or busy, |
| 246 | or because the system's time changes. If such an occurrence makes it | 246 | or because the system's time changes. If such an occurrence makes it |
| 247 | appear that many invocations are overdue, this variable controls | 247 | appear that many invocations are overdue, this variable controls |
| 248 | how many will really happen.") | 248 | how many will really happen." |
| 249 | :type 'integer | ||
| 250 | :group 'internal) | ||
| 249 | 251 | ||
| 250 | (defun timer-until (timer time) | 252 | (defun timer-until (timer time) |
| 251 | "Calculate number of seconds from when TIMER will run, until TIME. | 253 | "Calculate number of seconds from when TIMER will run, until TIME. |
diff --git a/lisp/facemenu.el b/lisp/facemenu.el index e76b61fdacb..bcef25eb893 100644 --- a/lisp/facemenu.el +++ b/lisp/facemenu.el | |||
| @@ -127,15 +127,6 @@ just before \"Other\" at the end." | |||
| 127 | :type 'boolean | 127 | :type 'boolean |
| 128 | :group 'facemenu) | 128 | :group 'facemenu) |
| 129 | 129 | ||
| 130 | (defvar facemenu-unlisted-faces | ||
| 131 | `(modeline region secondary-selection highlight scratch-face | ||
| 132 | ,(purecopy "^font-lock-") ,(purecopy "^gnus-") ,(purecopy "^message-") | ||
| 133 | ,(purecopy "^ediff-") ,(purecopy "^term-") ,(purecopy "^vc-") | ||
| 134 | ,(purecopy "^widget-") ,(purecopy "^custom-") ,(purecopy "^vm-")) | ||
| 135 | "List of faces that are of no interest to the user.") | ||
| 136 | (make-obsolete-variable 'facemenu-unlisted-faces 'facemenu-listed-faces | ||
| 137 | "22.1,\n and has no effect on the Face menu") | ||
| 138 | |||
| 139 | (defcustom facemenu-listed-faces nil | 130 | (defcustom facemenu-listed-faces nil |
| 140 | "List of faces to include in the Face menu. | 131 | "List of faces to include in the Face menu. |
| 141 | Each element should be a symbol, the name of a face. | 132 | Each element should be a symbol, the name of a face. |
diff --git a/lisp/ffap.el b/lisp/ffap.el index 7ab6a75406d..905d7873dc2 100644 --- a/lisp/ffap.el +++ b/lisp/ffap.el | |||
| @@ -1457,10 +1457,12 @@ and the functions `ffap-file-at-point' and `ffap-url-at-point'." | |||
| 1457 | 1457 | ||
| 1458 | ;;; Menu support (`ffap-menu'): | 1458 | ;;; Menu support (`ffap-menu'): |
| 1459 | 1459 | ||
| 1460 | (defvar ffap-menu-regexp nil | 1460 | (defcustom ffap-menu-regexp nil |
| 1461 | "If non-nil, overrides `ffap-next-regexp' during `ffap-menu'. | 1461 | "If non-nil, regexp overriding `ffap-next-regexp' in `ffap-menu'. |
| 1462 | Make this more restrictive for faster menu building. | 1462 | Make this more restrictive for faster menu building. |
| 1463 | For example, try \":/\" for URL (and some ftp) references.") | 1463 | For example, try \":/\" for URL (and some ftp) references." |
| 1464 | :type '(choice (const nil) regexp) | ||
| 1465 | :group 'ffap) | ||
| 1464 | 1466 | ||
| 1465 | (defvar ffap-menu-alist nil | 1467 | (defvar ffap-menu-alist nil |
| 1466 | "Buffer local cache of menu presented by `ffap-menu'.") | 1468 | "Buffer local cache of menu presented by `ffap-menu'.") |
diff --git a/lisp/find-file.el b/lisp/find-file.el index fe1ab96add9..1deafc9734c 100644 --- a/lisp/find-file.el +++ b/lisp/find-file.el | |||
| @@ -181,21 +181,21 @@ To override this, give an argument to `ff-find-other-file'." | |||
| 181 | :group 'ff) | 181 | :group 'ff) |
| 182 | 182 | ||
| 183 | ;;;###autoload | 183 | ;;;###autoload |
| 184 | (defvar ff-special-constructs | 184 | (defcustom ff-special-constructs |
| 185 | `( | 185 | ;; C/C++ include, for NeXTstep too |
| 186 | ;; C/C++ include, for NeXTstep too | 186 | `((,(purecopy "^\#\\s *\\(include\\|import\\)\\s +[<\"]\\(.*\\)[>\"]") . |
| 187 | (,(purecopy "^\#\\s *\\(include\\|import\\)\\s +[<\"]\\(.*\\)[>\"]") . | ||
| 188 | (lambda () | 187 | (lambda () |
| 189 | (buffer-substring (match-beginning 2) (match-end 2)))) | 188 | (buffer-substring (match-beginning 2) (match-end 2))))) |
| 190 | ) | ||
| 191 | ;; We include `ff-treat-as-special' documentation here so that autoload | 189 | ;; We include `ff-treat-as-special' documentation here so that autoload |
| 192 | ;; can make it available to be read prior to loading this file. | 190 | ;; can make it available to be read prior to loading this file. |
| 193 | "List of special constructs for `ff-treat-as-special' to recognize. | 191 | "List of special constructs recognized by `ff-treat-as-special'. |
| 194 | Each element, tried in order, has the form (REGEXP . EXTRACT). | 192 | Each element, tried in order, has the form (REGEXP . EXTRACT). |
| 195 | If REGEXP matches the current line (from the beginning of the line), | 193 | If REGEXP matches the current line (from the beginning of the line), |
| 196 | `ff-treat-as-special' calls function EXTRACT with no args. | 194 | `ff-treat-as-special' calls function EXTRACT with no args. |
| 197 | If EXTRACT returns nil, keep trying. Otherwise, return the | 195 | If EXTRACT returns nil, keep trying. Otherwise, return the |
| 198 | filename that EXTRACT returned.") | 196 | filename that EXTRACT returned." |
| 197 | :type '(repeat (cons regexp function)) | ||
| 198 | :group 'ff) | ||
| 199 | 199 | ||
| 200 | (defvaralias 'ff-related-file-alist 'ff-other-file-alist) | 200 | (defvaralias 'ff-related-file-alist 'ff-other-file-alist) |
| 201 | (defcustom ff-other-file-alist 'cc-other-file-alist | 201 | (defcustom ff-other-file-alist 'cc-other-file-alist |
diff --git a/lisp/follow.el b/lisp/follow.el index 4c76b43da2d..0dea1917f85 100644 --- a/lisp/follow.el +++ b/lisp/follow.el | |||
| @@ -321,9 +321,10 @@ The commands in this list are checked at load time. | |||
| 321 | To mark other commands as suitable for caching, set the symbol | 321 | To mark other commands as suitable for caching, set the symbol |
| 322 | property `follow-mode-use-cache' to non-nil.") | 322 | property `follow-mode-use-cache' to non-nil.") |
| 323 | 323 | ||
| 324 | (defvar follow-debug nil | 324 | (defcustom follow-debug nil |
| 325 | "Non-nil when debugging Follow mode.") | 325 | "If non-nil, emit Follow mode debugging messages." |
| 326 | 326 | :type 'boolean | |
| 327 | :group 'follow) | ||
| 327 | 328 | ||
| 328 | ;; Internal variables: | 329 | ;; Internal variables: |
| 329 | 330 | ||
diff --git a/lisp/forms.el b/lisp/forms.el index 38670e42bdd..69433de0e14 100644 --- a/lisp/forms.el +++ b/lisp/forms.el | |||
| @@ -2030,8 +2030,10 @@ Usage: (setq forms-number-of-fields | |||
| 2030 | 2030 | ||
| 2031 | ;;; Debugging | 2031 | ;;; Debugging |
| 2032 | 2032 | ||
| 2033 | (defvar forms--debug nil | 2033 | (defcustom forms--debug nil |
| 2034 | "Enables forms-mode debugging if not nil.") | 2034 | "If non-nil, enable Forms mode debugging." |
| 2035 | :type 'boolean | ||
| 2036 | :group 'forms) | ||
| 2035 | 2037 | ||
| 2036 | (defun forms--debug (&rest args) | 2038 | (defun forms--debug (&rest args) |
| 2037 | "Internal debugging routine." | 2039 | "Internal debugging routine." |
diff --git a/lisp/ido.el b/lisp/ido.el index bbf3fe2a1d0..f3deba7ae8b 100644 --- a/lisp/ido.el +++ b/lisp/ido.el | |||
| @@ -893,9 +893,14 @@ Otherwise, only the current list of matches is shown." | |||
| 893 | :type 'boolean | 893 | :type 'boolean |
| 894 | :group 'ido) | 894 | :group 'ido) |
| 895 | 895 | ||
| 896 | (defvar ido-all-frames 'visible | 896 | (defcustom ido-all-frames 'visible |
| 897 | "Argument to pass to `walk-windows' when finding visible files. | 897 | "Argument to pass to `walk-windows' when Ido is finding buffers. |
| 898 | See documentation of `walk-windows' for useful values.") | 898 | See documentation of `walk-windows' for useful values." |
| 899 | :type '(choice (const :tag "Selected frame only" nil) | ||
| 900 | (const :tag "All existing frames" t) | ||
| 901 | (const :tag "All visible frames" visible) | ||
| 902 | (const :tag "All frames on this terminal" 0)) | ||
| 903 | :group 'ido) | ||
| 899 | 904 | ||
| 900 | (defcustom ido-minibuffer-setup-hook nil | 905 | (defcustom ido-minibuffer-setup-hook nil |
| 901 | "Ido-specific customization of minibuffer setup. | 906 | "Ido-specific customization of minibuffer setup. |
diff --git a/lisp/iswitchb.el b/lisp/iswitchb.el index 9600bd1db2d..a31828514bd 100644 --- a/lisp/iswitchb.el +++ b/lisp/iswitchb.el | |||
| @@ -373,8 +373,13 @@ See also `iswitchb-newbuffer'." | |||
| 373 | :group 'iswitchb) | 373 | :group 'iswitchb) |
| 374 | 374 | ||
| 375 | (defvar iswitchb-all-frames 'visible | 375 | (defvar iswitchb-all-frames 'visible |
| 376 | "Argument to pass to `walk-windows' when finding visible buffers. | 376 | "Argument to pass to `walk-windows' when iswitchb is finding buffers. |
| 377 | See documentation of `walk-windows' for useful values.") | 377 | See documentation of `walk-windows' for useful values." |
| 378 | :type '(choice (const :tag "Selected frame only" nil) | ||
| 379 | (const :tag "All existing frames" t) | ||
| 380 | (const :tag "All visible frames" visible) | ||
| 381 | (const :tag "All frames on this terminal" 0)) | ||
| 382 | :group 'iswitchb) | ||
| 378 | 383 | ||
| 379 | (defcustom iswitchb-minibuffer-setup-hook nil | 384 | (defcustom iswitchb-minibuffer-setup-hook nil |
| 380 | "Iswitchb-specific customization of minibuffer setup. | 385 | "Iswitchb-specific customization of minibuffer setup. |
diff --git a/lisp/mail/feedmail.el b/lisp/mail/feedmail.el index f35560841e2..df18abbc532 100644 --- a/lisp/mail/feedmail.el +++ b/lisp/mail/feedmail.el | |||
| @@ -1366,17 +1366,19 @@ call to `feedmail-run-the-queue'." | |||
| 1366 | (feedmail-say-debug ">in-> feedmail-mail-send-hook-splitter %s" feedmail-queue-runner-is-active) | 1366 | (feedmail-say-debug ">in-> feedmail-mail-send-hook-splitter %s" feedmail-queue-runner-is-active) |
| 1367 | (if feedmail-queue-runner-is-active | 1367 | (if feedmail-queue-runner-is-active |
| 1368 | (run-hooks 'feedmail-mail-send-hook-queued) | 1368 | (run-hooks 'feedmail-mail-send-hook-queued) |
| 1369 | (run-hooks 'feedmail-mail-send-hook)) | 1369 | (run-hooks 'feedmail-mail-send-hook))) |
| 1370 | ) | ||
| 1371 | |||
| 1372 | |||
| 1373 | (defvar feedmail-mail-send-hook nil | ||
| 1374 | "See documentation for `feedmail-mail-send-hook-splitter'.") | ||
| 1375 | 1370 | ||
| 1371 | (defcustom feedmail-mail-send-hook nil | ||
| 1372 | "Hook run by `feedmail-mail-send-hook-splitter' for immediate mail. | ||
| 1373 | See documentation of `feedmail-mail-send-hook-splitter' for details." | ||
| 1374 | :type 'hook | ||
| 1375 | :group 'feedmail) | ||
| 1376 | 1376 | ||
| 1377 | (defvar feedmail-mail-send-hook-queued nil | 1377 | (defcustom feedmail-mail-send-hook-queued nil |
| 1378 | "See documentation for `feedmail-mail-send-hook-splitter'.") | 1378 | "Hook run by `feedmail-mail-send-hook-splitter' for queued mail. |
| 1379 | 1379 | See documentation of `feedmail-mail-send-hook-splitter' for details." | |
| 1380 | :type 'hook | ||
| 1381 | :group 'feedmail) | ||
| 1380 | 1382 | ||
| 1381 | (defun feedmail-confirm-addresses-hook-example () | 1383 | (defun feedmail-confirm-addresses-hook-example () |
| 1382 | "An example of a `feedmail-last-chance-hook'. | 1384 | "An example of a `feedmail-last-chance-hook'. |
| @@ -1387,9 +1389,7 @@ It shows the simple addresses and gets a confirmation. Use as: | |||
| 1387 | (erase-buffer) | 1389 | (erase-buffer) |
| 1388 | (insert (mapconcat 'identity feedmail-address-list " ")) | 1390 | (insert (mapconcat 'identity feedmail-address-list " ")) |
| 1389 | (if (not (y-or-n-p "How do you like them apples? ")) | 1391 | (if (not (y-or-n-p "How do you like them apples? ")) |
| 1390 | (error "FQM: Sending...gave up in last chance hook") | 1392 | (error "FQM: Sending...gave up in last chance hook")))) |
| 1391 | ))) | ||
| 1392 | |||
| 1393 | 1393 | ||
| 1394 | (defcustom feedmail-last-chance-hook nil | 1394 | (defcustom feedmail-last-chance-hook nil |
| 1395 | "User's last opportunity to modify the message on its way out. | 1395 | "User's last opportunity to modify the message on its way out. |
| @@ -2027,12 +2027,6 @@ backup file names and the like)." | |||
| 2027 | (if (looking-at ".*\r\n.*\r\n") | 2027 | (if (looking-at ".*\r\n.*\r\n") |
| 2028 | (while (search-forward "\r\n" nil t) | 2028 | (while (search-forward "\r\n" nil t) |
| 2029 | (replace-match "\n" nil t))) | 2029 | (replace-match "\n" nil t))) |
| 2030 | ;; ;; work around text-vs-binary weirdness | ||
| 2031 | ;; ;; if we don't find the normal M-H-S, try reading the file a different way | ||
| 2032 | ;; (if (not (feedmail-find-eoh t)) | ||
| 2033 | ;; (let ((file-name-buffer-file-type-alist nil) (default-buffer-file-type nil)) | ||
| 2034 | ;; (erase-buffer) | ||
| 2035 | ;; (insert-file-contents maybe-file))) | ||
| 2036 | (funcall feedmail-queue-runner-mode-setter arg) | 2030 | (funcall feedmail-queue-runner-mode-setter arg) |
| 2037 | (condition-case signal-stuff ; don't give up the loop if user skips some | 2031 | (condition-case signal-stuff ; don't give up the loop if user skips some |
| 2038 | (let ((feedmail-enable-queue nil) | 2032 | (let ((feedmail-enable-queue nil) |
diff --git a/lisp/mail/footnote.el b/lisp/mail/footnote.el index c0a63ef197c..f0c6b21513e 100644 --- a/lisp/mail/footnote.el +++ b/lisp/mail/footnote.el | |||
| @@ -126,10 +126,12 @@ has no effect on buffers already displaying footnotes." | |||
| 126 | :type 'string | 126 | :type 'string |
| 127 | :group 'footnote) | 127 | :group 'footnote) |
| 128 | 128 | ||
| 129 | (defvar footnote-signature-separator (if (boundp 'message-signature-separator) | 129 | (defcustom footnote-signature-separator (if (boundp 'message-signature-separator) |
| 130 | message-signature-separator | 130 | message-signature-separator |
| 131 | "^-- $") | 131 | "^-- $") |
| 132 | "String used to recognize .signatures.") | 132 | "Regexp used by Footnote mode to recognize signatures." |
| 133 | :type 'regexp | ||
| 134 | :group 'footnote) | ||
| 133 | 135 | ||
| 134 | ;;; Private variables | 136 | ;;; Private variables |
| 135 | 137 | ||
diff --git a/lisp/mail/mailabbrev.el b/lisp/mail/mailabbrev.el index fb8e1502f91..290c57c1c55 100644 --- a/lisp/mail/mailabbrev.el +++ b/lisp/mail/mailabbrev.el | |||
| @@ -254,10 +254,12 @@ By default this is the file specified by `mail-personal-alias-file'." | |||
| 254 | mail-abbrevs) | 254 | mail-abbrevs) |
| 255 | (message "Parsing %s... done" file)) | 255 | (message "Parsing %s... done" file)) |
| 256 | 256 | ||
| 257 | (defvar mail-alias-separator-string ", " | 257 | (defcustom mail-alias-separator-string ", " |
| 258 | "A string inserted between addresses in multi-address mail aliases. | 258 | "String inserted between addresses in multi-address mail aliases. |
| 259 | This has to contain a comma, so \", \" is a reasonable value. You might | 259 | This has to contain a comma, so \", \" is a reasonable value. You might |
| 260 | also want something like \",\\n \" to get each address on its own line.") | 260 | also want something like \",\\n \" to get each address on its own line." |
| 261 | :type 'string | ||
| 262 | :group 'mail-abbrev) | ||
| 261 | 263 | ||
| 262 | ;; define-mail-abbrev sets this flag, which causes mail-resolve-all-aliases | 264 | ;; define-mail-abbrev sets this flag, which causes mail-resolve-all-aliases |
| 263 | ;; to be called before expanding abbrevs if it's necessary. | 265 | ;; to be called before expanding abbrevs if it's necessary. |
| @@ -421,14 +423,16 @@ fill-column, break the line at the previous comma, and indent the next line." | |||
| 421 | 423 | ||
| 422 | ;;; Syntax tables and abbrev-expansion | 424 | ;;; Syntax tables and abbrev-expansion |
| 423 | 425 | ||
| 424 | (defvar mail-abbrev-mode-regexp | 426 | (defcustom mail-abbrev-mode-regexp |
| 425 | "^\\(Resent-\\)?\\(To\\|From\\|CC\\|BCC\\|Reply-to\\):" | 427 | "^\\(Resent-\\)?\\(To\\|From\\|CC\\|BCC\\|Reply-to\\):" |
| 426 | "Regexp to select mail-headers in which mail abbrevs should be expanded. | 428 | "Regexp matching mail headers in which mail abbrevs should be expanded. |
| 427 | This string will be handed to `looking-at' with point at the beginning | 429 | This string will be handed to `looking-at' with point at the beginning |
| 428 | of the current line; if it matches, abbrev mode will be turned on, otherwise | 430 | of the current line; if it matches, abbrev mode will be turned on, otherwise |
| 429 | it will be turned off. (You don't need to worry about continuation lines.) | 431 | it will be turned off. (You don't need to worry about continuation lines.) |
| 430 | This should be set to match those mail fields in which you want abbreviations | 432 | This should be set to match those mail fields in which you want abbreviations |
| 431 | turned on.") | 433 | turned on." |
| 434 | :type 'regexp | ||
| 435 | :group 'mail-abbrev) | ||
| 432 | 436 | ||
| 433 | (defvar mail-abbrev-syntax-table nil | 437 | (defvar mail-abbrev-syntax-table nil |
| 434 | "The syntax-table used for abbrev-expansion purposes. | 438 | "The syntax-table used for abbrev-expansion purposes. |
diff --git a/lisp/mail/rmail.el b/lisp/mail/rmail.el index df2f8be533a..14bf9d90a16 100644 --- a/lisp/mail/rmail.el +++ b/lisp/mail/rmail.el | |||
| @@ -713,19 +713,6 @@ to an appropriate value, and optionally also set | |||
| 713 | `rmail-insert-mime-forwarded-message-function', and | 713 | `rmail-insert-mime-forwarded-message-function', and |
| 714 | `rmail-insert-mime-resent-message-function'.") | 714 | `rmail-insert-mime-resent-message-function'.") |
| 715 | 715 | ||
| 716 | ;; FIXME this is unused since 23.1. | ||
| 717 | (defvar rmail-decode-mime-charset t | ||
| 718 | "Non-nil means a message is decoded by MIME's charset specification. | ||
| 719 | If this variable is nil, or the message has not MIME specification, | ||
| 720 | the message is decoded as normal way. | ||
| 721 | |||
| 722 | If the variable `rmail-enable-mime' is non-nil, this variable is | ||
| 723 | ignored, and all the decoding work is done by a feature specified by | ||
| 724 | the variable `rmail-mime-feature'.") | ||
| 725 | |||
| 726 | (make-obsolete-variable 'rmail-decode-mime-charset | ||
| 727 | "it does nothing." "23.1") | ||
| 728 | |||
| 729 | (defvar rmail-mime-charset-pattern | 716 | (defvar rmail-mime-charset-pattern |
| 730 | (concat "^content-type:[ \t]*text/plain;" | 717 | (concat "^content-type:[ \t]*text/plain;" |
| 731 | "\\(?:[ \t\n]*\\(?:format\\|delsp\\)=\"?[-a-z0-9]+\"?;\\)*" | 718 | "\\(?:[ \t\n]*\\(?:format\\|delsp\\)=\"?[-a-z0-9]+\"?;\\)*" |
| @@ -4231,10 +4218,13 @@ This has an effect only if a summary buffer exists." | |||
| 4231 | ;;; Speedbar support for RMAIL files. | 4218 | ;;; Speedbar support for RMAIL files. |
| 4232 | (eval-when-compile (require 'speedbar)) | 4219 | (eval-when-compile (require 'speedbar)) |
| 4233 | 4220 | ||
| 4234 | (defvar rmail-speedbar-match-folder-regexp "^[A-Z0-9]+\\(\\.[A-Z0-9]+\\)?$" | 4221 | (defcustom rmail-speedbar-match-folder-regexp "^[A-Z0-9]+\\(\\.[A-Z0-9]+\\)?$" |
| 4235 | "This regex is used to match folder names to be displayed in speedbar. | 4222 | "Regexp matching Rmail folder names to be displayed in Speedbar. |
| 4236 | Enabling this will permit speedbar to display your folders for easy | 4223 | Enabling this permits Speedbar to display your folders for easy |
| 4237 | browsing, and moving of messages.") | 4224 | browsing, and moving of messages." |
| 4225 | :type 'regexp | ||
| 4226 | :group 'rmail | ||
| 4227 | :group 'speedbar) | ||
| 4238 | 4228 | ||
| 4239 | (defvar rmail-speedbar-last-user nil | 4229 | (defvar rmail-speedbar-last-user nil |
| 4240 | "The last user to be displayed in the speedbar.") | 4230 | "The last user to be displayed in the speedbar.") |
diff --git a/lisp/progmodes/idlw-shell.el b/lisp/progmodes/idlw-shell.el index d843de04913..ca51eef6e8e 100644 --- a/lisp/progmodes/idlw-shell.el +++ b/lisp/progmodes/idlw-shell.el | |||
| @@ -183,12 +183,6 @@ so that the name will be unique among multiple Emacs processes." | |||
| 183 | :group 'idlwave-shell-general-setup | 183 | :group 'idlwave-shell-general-setup |
| 184 | :type 'string) | 184 | :type 'string) |
| 185 | 185 | ||
| 186 | (defvar idlwave-shell-fix-inserted-breaks nil | ||
| 187 | "OBSOLETE VARIABLE, is no longer used. | ||
| 188 | |||
| 189 | The documentation of this variable used to be: | ||
| 190 | If non-nil then run `idlwave-shell-remove-breaks' to clean up IDL messages.") | ||
| 191 | |||
| 192 | (defcustom idlwave-shell-prefix-key "\C-c\C-d" | 186 | (defcustom idlwave-shell-prefix-key "\C-c\C-d" |
| 193 | "The prefix key for the debugging map `idlwave-shell-mode-prefix-map'. | 187 | "The prefix key for the debugging map `idlwave-shell-mode-prefix-map'. |
| 194 | This variable must already be set when idlwave-shell.el is loaded. | 188 | This variable must already be set when idlwave-shell.el is loaded. |
| @@ -223,9 +217,6 @@ window, but is useful for stepping, etc." | |||
| 223 | 217 | ||
| 224 | ;; (defcustom idlwave-shell-debug-modifiers... See idlwave.el | 218 | ;; (defcustom idlwave-shell-debug-modifiers... See idlwave.el |
| 225 | 219 | ||
| 226 | (defvar idlwave-shell-activate-alt-keybindings nil | ||
| 227 | "Obsolete variable. See `idlwave-shell-debug-modifiers'.") | ||
| 228 | |||
| 229 | (defcustom idlwave-shell-use-truename nil | 220 | (defcustom idlwave-shell-use-truename nil |
| 230 | "Non-nil means, use `file-truename' when looking for buffers. | 221 | "Non-nil means, use `file-truename' when looking for buffers. |
| 231 | If this variable is non-nil, Emacs will use the function `file-truename' to | 222 | If this variable is non-nil, Emacs will use the function `file-truename' to |
| @@ -335,9 +326,6 @@ expression being examined." | |||
| 335 | (string :tag "Label ") | 326 | (string :tag "Label ") |
| 336 | (string :tag "Command")))) | 327 | (string :tag "Command")))) |
| 337 | 328 | ||
| 338 | (defvar idlwave-shell-print-expression-function nil | ||
| 339 | "OBSOLETE VARIABLE, is no longer used.") | ||
| 340 | |||
| 341 | (defcustom idlwave-shell-separate-examine-output t | 329 | (defcustom idlwave-shell-separate-examine-output t |
| 342 | "Non-nil means, put output of examine commands in their own buffer." | 330 | "Non-nil means, put output of examine commands in their own buffer." |
| 343 | :group 'idlwave-shell-command-setup | 331 | :group 'idlwave-shell-command-setup |
| @@ -520,9 +508,6 @@ t Glyph when possible, otherwise face (same effect as 'glyph)." | |||
| 520 | (const :tag "Display glyph (red dot)" glyph) | 508 | (const :tag "Display glyph (red dot)" glyph) |
| 521 | (const :tag "Glyph or face." t))) | 509 | (const :tag "Glyph or face." t))) |
| 522 | 510 | ||
| 523 | (defvar idlwave-shell-use-breakpoint-glyph t | ||
| 524 | "Obsolete variable. See `idlwave-shell-mark-breakpoints'.") | ||
| 525 | |||
| 526 | (defcustom idlwave-shell-breakpoint-face 'idlwave-shell-bp | 511 | (defcustom idlwave-shell-breakpoint-face 'idlwave-shell-bp |
| 527 | "The face for breakpoint lines in the source code. | 512 | "The face for breakpoint lines in the source code. |
| 528 | Allows you to choose the font, color and other properties for | 513 | Allows you to choose the font, color and other properties for |
diff --git a/lisp/progmodes/idlwave.el b/lisp/progmodes/idlwave.el index 74f37df9b2d..015f58df3fb 100644 --- a/lisp/progmodes/idlwave.el +++ b/lisp/progmodes/idlwave.el | |||
| @@ -456,9 +456,6 @@ value of `!DIR'. See also `idlwave-library-path'." | |||
| 456 | (defvar idlwave-xml-system-rinfo-converted-file "idl_xml_rinfo.el") | 456 | (defvar idlwave-xml-system-rinfo-converted-file "idl_xml_rinfo.el") |
| 457 | (defvar idlwave-path-file "idlpath.el") | 457 | (defvar idlwave-path-file "idlpath.el") |
| 458 | 458 | ||
| 459 | (defvar idlwave-libinfo-file nil | ||
| 460 | "Obsolete variable, no longer used.") | ||
| 461 | |||
| 462 | (defcustom idlwave-special-lib-alist nil | 459 | (defcustom idlwave-special-lib-alist nil |
| 463 | "Alist of regular expressions matching special library directories. | 460 | "Alist of regular expressions matching special library directories. |
| 464 | When listing routine source locations, IDLWAVE gives a short hint where | 461 | When listing routine source locations, IDLWAVE gives a short hint where |
| @@ -555,10 +552,6 @@ completions." | |||
| 555 | :group 'idlwave-completion | 552 | :group 'idlwave-completion |
| 556 | :type 'boolean) | 553 | :type 'boolean) |
| 557 | 554 | ||
| 558 | (defvar idlwave-default-completion-case-is-down nil | ||
| 559 | "Obsolete variable. See `idlwave-complete-empty-string-as-lower-case' and | ||
| 560 | `idlwave-completion-case'.") | ||
| 561 | |||
| 562 | (defcustom idlwave-buffer-case-takes-precedence nil | 555 | (defcustom idlwave-buffer-case-takes-precedence nil |
| 563 | "Non-nil means, the case of tokens in buffers dominates over system stuff. | 556 | "Non-nil means, the case of tokens in buffers dominates over system stuff. |
| 564 | To make this possible, we need to re-case everything each time we update | 557 | To make this possible, we need to re-case everything each time we update |
| @@ -4525,8 +4518,6 @@ information updated immediately, leave NO-CONCATENATE nil." | |||
| 4525 | nil 'idlwave-load-rinfo-next-step))) | 4518 | nil 'idlwave-load-rinfo-next-step))) |
| 4526 | (error nil)))) | 4519 | (error nil)))) |
| 4527 | 4520 | ||
| 4528 | (defvar idlwave-library-routines nil "Obsolete variable.") | ||
| 4529 | |||
| 4530 | ;;------ XML Help routine info system | 4521 | ;;------ XML Help routine info system |
| 4531 | (defun idlwave-load-system-routine-info () | 4522 | (defun idlwave-load-system-routine-info () |
| 4532 | ;; Load the system routine info from the cached routine info file, | 4523 | ;; Load the system routine info from the cached routine info file, |