comparison lisp/mh-e/mh-comp.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 7ff92ad99326
comparison
equal deleted inserted replaced
67680:b7c68d3426e1 67681:3a8785724cca
50 (defvar mh-identity-list) 50 (defvar mh-identity-list)
51 (defvar mh-identity-default) 51 (defvar mh-identity-default)
52 (defvar mh-mml-mode-default) 52 (defvar mh-mml-mode-default)
53 (defvar mh-identity-menu) 53 (defvar mh-identity-menu)
54 54
55
55 ;;; Autoloads 56 ;;; Autoloads
57
56 (autoload 'mail-mode-fill-paragraph "sendmail") 58 (autoload 'mail-mode-fill-paragraph "sendmail")
57 (autoload 'mm-handle-displayed-p "mm-decode") 59 (autoload 'mm-handle-displayed-p "mm-decode")
58 60
59 (autoload 'sc-cite-original "sc" 61 (autoload 'sc-cite-original "sc"
60 "Workhorse citing function which performs the initial citation. 62 "Workhorse citing function which performs the initial citation.
78 80
79 For Emacs 19's, the region need not be active (and typically isn't 81 For Emacs 19's, the region need not be active (and typically isn't
80 when this function is called. Also, the hook `sc-pre-hook' is run 82 when this function is called. Also, the hook `sc-pre-hook' is run
81 before, and `sc-post-hook' is run after the guts of this function.") 83 before, and `sc-post-hook' is run after the guts of this function.")
82 84
85
86
83 ;;; Site customization (see also mh-utils.el): 87 ;;; Site customization (see also mh-utils.el):
84 88
85 (defvar mh-send-prog "send" 89 (defvar mh-send-prog "send"
86 "Name of the MH send program. 90 "Name of the MH send program.
87 Some sites need to change this because of a name conflict.") 91 Some sites need to change this because of a name conflict.")
88 92
89 (defvar mh-redist-background nil 93 (defvar mh-redist-background nil
90 "If non-nil redist will be done in background like send. 94 "If non-nil redist will be done in background like send.
91 This allows transaction log to be visible if -watch, -verbose or -snoop are 95 This allows transaction log to be visible if -watch, -verbose or -snoop are
92 used.") 96 used.")
97
98
93 99
94 ;;; Scan Line Formats 100 ;;; Scan Line Formats
95 101
96 (defvar mh-note-repl ?- 102 (defvar mh-note-repl ?-
97 "Messages that have been replied to are marked by this character.") 103 "Messages that have been replied to are marked by this character.")
822 828
823 ;;; Mode for composing and sending a draft message. 829 ;;; Mode for composing and sending a draft message.
824 830
825 (put 'mh-letter-mode 'mode-class 'special) 831 (put 'mh-letter-mode 'mode-class 'special)
826 832
827 ;;; Menu extracted from mh-menubar.el V1.1 (31 July 2001) 833 ;; Menu extracted from mh-menubar.el V1.1 (31 July 2001)
828 (eval-when-compile (defvar mh-letter-menu nil)) 834 (eval-when-compile (defvar mh-letter-menu nil))
829 (easy-menu-define 835 (easy-menu-define
830 mh-letter-menu mh-letter-mode-map "Menu for MH-E letter mode." 836 mh-letter-menu mh-letter-mode-map "Menu for MH-E letter mode."
831 '("Letter" 837 '("Letter"
832 ["Send This Draft" mh-send-letter t] 838 ["Send This Draft" mh-send-letter t]
872 mh-mml-to-mime (mh-mml-tag-present-p)] 878 mh-mml-to-mime (mh-mml-tag-present-p)]
873 ["Revert to Non-MIME Edit (MH)" 879 ["Revert to Non-MIME Edit (MH)"
874 mh-mh-to-mime-undo (equal mh-compose-insertion 'mh)] 880 mh-mh-to-mime-undo (equal mh-compose-insertion 'mh)]
875 ["Kill This Draft" mh-fully-kill-draft t])) 881 ["Kill This Draft" mh-fully-kill-draft t]))
876 882
883
884
877 ;;; Help Messages 885 ;;; Help Messages
878 ;;; Group messages logically, more or less. 886
887 ;; Group messages logically, more or less.
879 (defvar mh-letter-mode-help-messages 888 (defvar mh-letter-mode-help-messages
880 '((nil 889 '((nil
881 "Send letter: \\[mh-send-letter]" 890 "Send letter: \\[mh-send-letter]"
882 "\t\tOpen line: \\[mh-open-line]\n" 891 "\t\tOpen line: \\[mh-open-line]\n"
883 "Kill letter: \\[mh-fully-kill-draft]" 892 "Kill letter: \\[mh-fully-kill-draft]"
2024 "Move cursor to first header field if are using the no prompt mode." 2033 "Move cursor to first header field if are using the no prompt mode."
2025 (unless mh-compose-prompt-flag 2034 (unless mh-compose-prompt-flag
2026 (goto-char (point-max)) 2035 (goto-char (point-max))
2027 (mh-letter-next-header-field))) 2036 (mh-letter-next-header-field)))
2028 2037
2029 ;;; Build the letter-mode keymap: 2038
2030 ;;; If this changes, modify mh-letter-mode-help-messages accordingly, above. 2039
2040 ;;; Build mh-letter-mode keymap
2041
2042 ;; If this changes, modify mh-letter-mode-help-messages accordingly, above.
2031 (gnus-define-keys mh-letter-mode-map 2043 (gnus-define-keys mh-letter-mode-map
2032 " " mh-letter-complete-or-space 2044 " " mh-letter-complete-or-space
2033 "," mh-letter-confirm-address 2045 "," mh-letter-confirm-address
2034 "\C-c?" mh-help 2046 "\C-c?" mh-help
2035 "\C-c\C-\\" mh-fully-kill-draft ;if no C-q 2047 "\C-c\C-\\" mh-fully-kill-draft ;if no C-q
2087 2099
2088 ;; "C-c /" prefix is used in mh-letter-mode by pgp.el and mailcrypt.el. 2100 ;; "C-c /" prefix is used in mh-letter-mode by pgp.el and mailcrypt.el.
2089 2101
2090 (provide 'mh-comp) 2102 (provide 'mh-comp)
2091 2103
2092 ;;; Local Variables: 2104 ;; Local Variables:
2093 ;;; indent-tabs-mode: nil 2105 ;; indent-tabs-mode: nil
2094 ;;; sentence-end-double-space: nil 2106 ;; sentence-end-double-space: nil
2095 ;;; End: 2107 ;; End:
2096 2108
2097 ;;; arch-tag: 62865511-e610-4923-b0b5-f45a8ab70a34 2109 ;; arch-tag: 62865511-e610-4923-b0b5-f45a8ab70a34
2098 ;;; mh-comp.el ends here 2110 ;;; mh-comp.el ends here