comparison lisp/mh-e/mh-customize.el @ 67681:3a8785724cca

* mh-acros.el: * mh-alias.el: * mh-comp.el: * mh-customize.el: * mh-e.el: * mh-funcs.el: * mh-gnus.el: * mh-identity.el: * mh-inc.el: * mh-index.el: * mh-init.el: * mh-junk.el: * mh-mime.el: * mh-pick.el: * mh-print.el: * mh-seq.el: * mh-speed.el: * mh-utils.el: Follow commenting conventions. Don't use ;;; form so much, except for headings. Precede headings with page feed. This was mostly already done, so I made it a convention. Did not update copyright on a couple of files since this was an insignificant change.
author Bill Wohler <wohler@newt.com>
date Mon, 19 Dec 2005 23:32:16 +0000
parents 76690fbcd56a
children 98eba52a8481
comparison
equal deleted inserted replaced
67680:b7c68d3426e1 67681:3a8785724cca
81 ;; corresponding .elc would be loaded at compile time. 81 ;; corresponding .elc would be loaded at compile time.
82 (eval-when-compile 82 (eval-when-compile
83 (require 'mh-init) 83 (require 'mh-init)
84 (require 'mh-identity)) 84 (require 'mh-identity))
85 85
86 ;; For compiler warnings...
87 (eval-when-compile
88 (defvar mh-show-buffer)
89 (defvar mh-show-folder-buffer))
90
86 (defun mh-customize (&optional delete-other-windows-flag) 91 (defun mh-customize (&optional delete-other-windows-flag)
87 "Customize MH-E variables. 92 "Customize MH-E variables.
88 If optional argument DELETE-OTHER-WINDOWS-FLAG is non-nil, other windows in 93 If optional argument DELETE-OTHER-WINDOWS-FLAG is non-nil, other windows in
89 the frame are removed." 94 the frame are removed."
90 (interactive "P") 95 (interactive "P")
92 (when delete-other-windows-flag 97 (when delete-other-windows-flag
93 (delete-other-windows))) 98 (delete-other-windows)))
94 99
95 100
96 101
97 ;;; For compiler warnings...
98 (eval-when-compile
99 (defvar mh-show-buffer)
100 (defvar mh-show-folder-buffer))
101
102 ;;; MH-E Customization Groups 102 ;;; MH-E Customization Groups
103 103
104 (defgroup mh-e nil 104 (defgroup mh-e nil
105 "Emacs interface to the MH mail system. 105 "Emacs interface to the MH mail system.
106 MH is the Rand Mail Handler. Other implementations include nmh and GNU 106 MH is the Rand Mail Handler. Other implementations include nmh and GNU
214 (defgroup mh-hooks nil 214 (defgroup mh-hooks nil
215 "MH-E hooks." 215 "MH-E hooks."
216 :link '(custom-manual "(mh-e)Top") 216 :link '(custom-manual "(mh-e)Top")
217 :prefix "mh-" 217 :prefix "mh-"
218 :group 'mh-e) 218 :group 'mh-e)
219
220
219 221
220 ;;; Faces 222 ;;; Faces
221 223
222 (defgroup mh-folder-faces nil 224 (defgroup mh-folder-faces nil
223 "Faces used in scan listing." 225 "Faces used in scan listing."
996 998
997 999
998 1000
999 ;;; Scan Line Formats (:group 'mh-scan-line-formats) 1001 ;;; Scan Line Formats (:group 'mh-scan-line-formats)
1000 1002
1001 ;;; Forward definition to avoid compiler and runtime error. 1003 ;; Forward definition to avoid compiler and runtime error.
1002 (defvar mh-scan-format-file t) 1004 (defvar mh-scan-format-file t)
1003 1005
1004 (defun mh-adaptive-cmd-note-flag-check (symbol value) 1006 (defun mh-adaptive-cmd-note-flag-check (symbol value)
1005 "Check if desired setting is legal. 1007 "Check if desired setting is legal.
1006 Throw an error if user tries to turn on `mh-adaptive-cmd-note-flag' when 1008 Throw an error if user tries to turn on `mh-adaptive-cmd-note-flag' when
1161 1163
1162 1164
1163 1165
1164 ;;; Sequences (:group 'mh-sequences) 1166 ;;; Sequences (:group 'mh-sequences)
1165 1167
1166 ;;; If `mh-unpropagated-sequences' becomes a defcustom, add the following to 1168 ;; If `mh-unpropagated-sequences' becomes a defcustom, add the following to
1167 ;;; the docstring: "Additional sequences that should not to be preserved can be 1169 ;; the docstring: "Additional sequences that should not to be preserved can be
1168 ;;; specified by setting `mh-unpropagated-sequences' appropriately." XXX 1170 ;; specified by setting `mh-unpropagated-sequences' appropriately." XXX
1169 1171
1170 (defcustom mh-refile-preserves-sequences-flag t 1172 (defcustom mh-refile-preserves-sequences-flag t
1171 "*Non-nil means that sequences are preserved when messages are refiled. 1173 "*Non-nil means that sequences are preserved when messages are refiled.
1172 1174
1173 If a message is in any sequence (except \"Previous-Sequence:\" and \"cur\") 1175 If a message is in any sequence (except \"Previous-Sequence:\" and \"cur\")
2392 2394
2393 2395
2394 2396
2395 ;;; Faces (:group 'mh-*-faces + group where faces described) 2397 ;;; Faces (:group 'mh-*-faces + group where faces described)
2396 2398
2399
2400
2397 ;;; Faces Used in Scan Listing (:group 'mh-folder-faces) 2401 ;;; Faces Used in Scan Listing (:group 'mh-folder-faces)
2398 2402
2399 (defvar mh-folder-body-face 'mh-folder-body 2403 (defvar mh-folder-body-face 'mh-folder-body
2400 "Face used to highlight body text in MH-Folder buffers.") 2404 "Face used to highlight body text in MH-Folder buffers.")
2401 (defface mh-folder-body 2405 (defface mh-folder-body
2756 '((t 2760 '((t
2757 (:inherit mh-speedbar-selected-folder :bold t))) 2761 (:inherit mh-speedbar-selected-folder :bold t)))
2758 "Face used for the current folder when it has unread messages." 2762 "Face used for the current folder when it has unread messages."
2759 :group 'mh-speed-faces) 2763 :group 'mh-speed-faces)
2760 2764
2761 ;;; Local Variables: 2765 ;; Local Variables:
2762 ;;; indent-tabs-mode: nil 2766 ;; indent-tabs-mode: nil
2763 ;;; sentence-end-double-space: nil 2767 ;; sentence-end-double-space: nil
2764 ;;; End: 2768 ;; End:
2765 2769
2766 ;;; arch-tag: 778d2a20-82e2-4276-be9d-309386776a68 2770 ;; arch-tag: 778d2a20-82e2-4276-be9d-309386776a68
2767 ;;; mh-customize.el ends here 2771 ;;; mh-customize.el ends here