annotate etc/MH-E-ONEWS @ 26370:5f52cc1417ab

Use block statements in cases and declare v1 and v2 locally there. Rearrange case statements so that thos most frequently executed come first. Avoid goto's in frequently executed cases.
author Gerd Moellmann <gerd@gnu.org>
date Sun, 07 Nov 1999 13:06:59 +0000
parents e96ffe544684
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
25853
Dave Love <fx@gnu.org>
parents:
diff changeset
1 This file is automatically generated from news-mh-e.txinfo. Do not edit.
Dave Love <fx@gnu.org>
parents:
diff changeset
2
Dave Love <fx@gnu.org>
parents:
diff changeset
3 User-visible changes to mh-e in version 4.0 from 3.8
Dave Love <fx@gnu.org>
parents:
diff changeset
4
Dave Love <fx@gnu.org>
parents:
diff changeset
5 Note: there are many internal changes to mh-e in this release. If you
Dave Love <fx@gnu.org>
parents:
diff changeset
6 have the previous version loaded into your Emacs, you will probably not
Dave Love <fx@gnu.org>
parents:
diff changeset
7 be able to load this version on top of it.
Dave Love <fx@gnu.org>
parents:
diff changeset
8
Dave Love <fx@gnu.org>
parents:
diff changeset
9
Dave Love <fx@gnu.org>
parents:
diff changeset
10 New Features in mh-e
Dave Love <fx@gnu.org>
parents:
diff changeset
11 ====================
Dave Love <fx@gnu.org>
parents:
diff changeset
12
Dave Love <fx@gnu.org>
parents:
diff changeset
13 Background folder collection. The first time you are prompted for a
Dave Love <fx@gnu.org>
parents:
diff changeset
14 folder, you must wait while mh-e collects the names of all existing
Dave Love <fx@gnu.org>
parents:
diff changeset
15 folders. Now however, if you abort, collecting will continue in the
Dave Love <fx@gnu.org>
parents:
diff changeset
16 background, and you can do something else in Emacs until the collection
Dave Love <fx@gnu.org>
parents:
diff changeset
17 completes. Normally, mh-e will begin collecting folders names in the
Dave Love <fx@gnu.org>
parents:
diff changeset
18 background when you first load it; you can disable this feature by
Dave Love <fx@gnu.org>
parents:
diff changeset
19 setting `mh-auto-folder-collect' to nil.
Dave Love <fx@gnu.org>
parents:
diff changeset
20
Dave Love <fx@gnu.org>
parents:
diff changeset
21 There is support for composing MIME messages using the `mhn' program
Dave Love <fx@gnu.org>
parents:
diff changeset
22 from MH 6.8. See the documentation string for mh-edit-mhn. (While
Dave Love <fx@gnu.org>
parents:
diff changeset
23 composing a letter, type `C-h k C-c C-e'.) See also mhn(1). There is
Dave Love <fx@gnu.org>
parents:
diff changeset
24 as yet no support for reading MIME messages.
Dave Love <fx@gnu.org>
parents:
diff changeset
25
Dave Love <fx@gnu.org>
parents:
diff changeset
26 `mh-show', typically on `.', repositions to the start of the message if
Dave Love <fx@gnu.org>
parents:
diff changeset
27 the message is already visible. It used to do nothing in this case.
Dave Love <fx@gnu.org>
parents:
diff changeset
28
Dave Love <fx@gnu.org>
parents:
diff changeset
29 The function `mh-unshar-msg' is renamed `mh-store-msg'. It now does
Dave Love <fx@gnu.org>
parents:
diff changeset
30 uudecoding, too. Someday it should do MIME. It remembers the last
Dave Love <fx@gnu.org>
parents:
diff changeset
31 directory you used and offers it as the default for next time.
Dave Love <fx@gnu.org>
parents:
diff changeset
32
Dave Love <fx@gnu.org>
parents:
diff changeset
33 New function `mh-header-display', on `,', displays the message with all
Dave Love <fx@gnu.org>
parents:
diff changeset
34 headers, including those normally not displayed. Type `.' to display
Dave Love <fx@gnu.org>
parents:
diff changeset
35 the message normally again.
Dave Love <fx@gnu.org>
parents:
diff changeset
36
Dave Love <fx@gnu.org>
parents:
diff changeset
37 New function `mh-list-sequences' lists the sequences in use in the
Dave Love <fx@gnu.org>
parents:
diff changeset
38 current folder.
Dave Love <fx@gnu.org>
parents:
diff changeset
39
Dave Love <fx@gnu.org>
parents:
diff changeset
40 New function `mh-version' displays version information about MH and
Dave Love <fx@gnu.org>
parents:
diff changeset
41 mh-e. Please use the output in bug reports.
Dave Love <fx@gnu.org>
parents:
diff changeset
42
Dave Love <fx@gnu.org>
parents:
diff changeset
43 `mh-quit' now burys the folder buffer and show buffer.
Dave Love <fx@gnu.org>
parents:
diff changeset
44
Dave Love <fx@gnu.org>
parents:
diff changeset
45
Dave Love <fx@gnu.org>
parents:
diff changeset
46 New mh-e hooks and customization variables
Dave Love <fx@gnu.org>
parents:
diff changeset
47 ==========================================
Dave Love <fx@gnu.org>
parents:
diff changeset
48
Dave Love <fx@gnu.org>
parents:
diff changeset
49 `mh-pick-mode-hook': new hook called by new mode `mh-pick-mode'. The
Dave Love <fx@gnu.org>
parents:
diff changeset
50 pick buffer didn't used to have its own mode. Another advantage of
Dave Love <fx@gnu.org>
parents:
diff changeset
51 `mh-pick-mode' is that `C-h m' works in the pick buffer.
Dave Love <fx@gnu.org>
parents:
diff changeset
52
Dave Love <fx@gnu.org>
parents:
diff changeset
53 `mail-citation-hook': new variable for supercite.
Dave Love <fx@gnu.org>
parents:
diff changeset
54
Dave Love <fx@gnu.org>
parents:
diff changeset
55 `mh-refile-msg-hook': new hook called by `mh-refile-msg' (and
Dave Love <fx@gnu.org>
parents:
diff changeset
56 `mh-refile-or-write-again' when refiling).
Dave Love <fx@gnu.org>
parents:
diff changeset
57
Dave Love <fx@gnu.org>
parents:
diff changeset
58 `mh-msg-folder-hook': new hook used by `mh-refile-msg' and `mh-to-fcc'
Dave Love <fx@gnu.org>
parents:
diff changeset
59 to provide a default folder for user prompt.
Dave Love <fx@gnu.org>
parents:
diff changeset
60
Dave Love <fx@gnu.org>
parents:
diff changeset
61 `mh-show-hook': new hook called by `mh-show'.
Dave Love <fx@gnu.org>
parents:
diff changeset
62
Dave Love <fx@gnu.org>
parents:
diff changeset
63 `mh-delete-msg-hook': new hook called by `mh-delete-msg'.
Dave Love <fx@gnu.org>
parents:
diff changeset
64
Dave Love <fx@gnu.org>
parents:
diff changeset
65 `mh-show-mode-hook': new hook called by new mode `mh-show-mode' for
Dave Love <fx@gnu.org>
parents:
diff changeset
66 `show-' buffers.
Dave Love <fx@gnu.org>
parents:
diff changeset
67
Dave Love <fx@gnu.org>
parents:
diff changeset
68 `mh-comp-formfile': new variable so can customize `components' file.
Dave Love <fx@gnu.org>
parents:
diff changeset
69
Dave Love <fx@gnu.org>
parents:
diff changeset
70 `mh-sortm-args': new variable, a list of extra arguments to be passed to
Dave Love <fx@gnu.org>
parents:
diff changeset
71 sortm by `mh-sort-folder'. Give an argument to `mh-sort-folder' to
Dave Love <fx@gnu.org>
parents:
diff changeset
72 suppress this behavior.
Dave Love <fx@gnu.org>
parents:
diff changeset
73
Dave Love <fx@gnu.org>
parents:
diff changeset
74 `mh-send-prog': new variable so can customize name of `send' program in
Dave Love <fx@gnu.org>
parents:
diff changeset
75 case of name conflicts.
Dave Love <fx@gnu.org>
parents:
diff changeset
76
Dave Love <fx@gnu.org>
parents:
diff changeset
77 `mh-scan-prog': new variable so can customize name of `scan' program to
Dave Love <fx@gnu.org>
parents:
diff changeset
78 generate custom effects.
Dave Love <fx@gnu.org>
parents:
diff changeset
79
Dave Love <fx@gnu.org>
parents:
diff changeset
80 `mh-inc-prog': new variable so can customize name of `inc' program to do
Dave Love <fx@gnu.org>
parents:
diff changeset
81 fancy management of incoming messages.
Dave Love <fx@gnu.org>
parents:
diff changeset
82
Dave Love <fx@gnu.org>
parents:
diff changeset
83 `mh-forwarded-letter-subject': new function used by `mh-forward' to
Dave Love <fx@gnu.org>
parents:
diff changeset
84 compute the Subject line of the new message. It is a small function
Dave Love <fx@gnu.org>
parents:
diff changeset
85 which can be replaced by the user for customization. Uses the new
Dave Love <fx@gnu.org>
parents:
diff changeset
86 variable `mh-forward-subject-format', which allows some simple
Dave Love <fx@gnu.org>
parents:
diff changeset
87 customizations without rewriting even `mh-forwarded-letter-subject'.
Dave Love <fx@gnu.org>
parents:
diff changeset
88
Dave Love <fx@gnu.org>
parents:
diff changeset
89 `mh-new-draft-cleaned-headers': new variable, header lines removed by
Dave Love <fx@gnu.org>
parents:
diff changeset
90 `mh-edit-again' and `mh-extract-rejected-mail' before offering a message
Dave Love <fx@gnu.org>
parents:
diff changeset
91 as a new draft.
Dave Love <fx@gnu.org>
parents:
diff changeset
92
Dave Love <fx@gnu.org>
parents:
diff changeset
93 `mh-signature-file-name': new variable used by `mh-insert-signature' to
Dave Love <fx@gnu.org>
parents:
diff changeset
94 so can customize name of the file to insert.
Dave Love <fx@gnu.org>
parents:
diff changeset
95
Dave Love <fx@gnu.org>
parents:
diff changeset
96 `mh-read-address': new function called to read all To: and Cc:
Dave Love <fx@gnu.org>
parents:
diff changeset
97 addresses.
Dave Love <fx@gnu.org>
parents:
diff changeset
98
Dave Love <fx@gnu.org>
parents:
diff changeset
99 `mh-msg-folder-hook': new hook used by `mh-refile-msg' and `mh-to-fcc'
Dave Love <fx@gnu.org>
parents:
diff changeset
100 to provide a default folder for user prompt.
Dave Love <fx@gnu.org>
parents:
diff changeset
101
Dave Love <fx@gnu.org>
parents:
diff changeset
102
Dave Love <fx@gnu.org>
parents:
diff changeset
103 Key binding changes in mh-e
Dave Love <fx@gnu.org>
parents:
diff changeset
104 ===========================
Dave Love <fx@gnu.org>
parents:
diff changeset
105
Dave Love <fx@gnu.org>
parents:
diff changeset
106 `,' runs new function `mh-header-display'. It is like `.' but it
Dave Love <fx@gnu.org>
parents:
diff changeset
107 displays *all* the headers.
Dave Love <fx@gnu.org>
parents:
diff changeset
108
Dave Love <fx@gnu.org>
parents:
diff changeset
109 `M-#' runs the new function `mh-delete-seq'. One used to have to type
Dave Love <fx@gnu.org>
parents:
diff changeset
110 `C-u M-%' to delete a sequence.
Dave Love <fx@gnu.org>
parents:
diff changeset
111
Dave Love <fx@gnu.org>
parents:
diff changeset
112 `<' no longer does `mh-first-msg', but `M->' now does `mh-last-msg'.
Dave Love <fx@gnu.org>
parents:
diff changeset
113 This allows first and last to be consistent (`>' was taken) and is more
Dave Love <fx@gnu.org>
parents:
diff changeset
114 likely to be discovered by chance anyway.
Dave Love <fx@gnu.org>
parents:
diff changeset
115
Dave Love <fx@gnu.org>
parents:
diff changeset
116 `M-d' runs `mh-redistribute', `r' runs `mh-reply' (on the theory that
Dave Love <fx@gnu.org>
parents:
diff changeset
117 the more commonly used function should be easier to type, and the
Dave Love <fx@gnu.org>
parents:
diff changeset
118 obscure action of redistributing can be harder to type).
Dave Love <fx@gnu.org>
parents:
diff changeset
119
Dave Love <fx@gnu.org>
parents:
diff changeset
120 `M-o' changed to `C-o' (`mh-write-msg-to-file'). It was interfering
Dave Love <fx@gnu.org>
parents:
diff changeset
121 with arrow keys for some people.
Dave Love <fx@gnu.org>
parents:
diff changeset
122
Dave Love <fx@gnu.org>
parents:
diff changeset
123 `M-n' now runs `mh-store-msg' (formerly `mh-unshar-msg').
Dave Love <fx@gnu.org>
parents:
diff changeset
124
Dave Love <fx@gnu.org>
parents:
diff changeset
125 `b' no longer runs `mh-quit'; use `q' instead. `b' may be used in a
Dave Love <fx@gnu.org>
parents:
diff changeset
126 future version for something else.
Dave Love <fx@gnu.org>
parents:
diff changeset
127
Dave Love <fx@gnu.org>
parents:
diff changeset
128
Dave Love <fx@gnu.org>
parents:
diff changeset
129 Minor improvements to mh-e
Dave Love <fx@gnu.org>
parents:
diff changeset
130 ==========================
Dave Love <fx@gnu.org>
parents:
diff changeset
131
Dave Love <fx@gnu.org>
parents:
diff changeset
132 The mh-e code is now divided into multiple Emacs Lisp files, so it
Dave Love <fx@gnu.org>
parents:
diff changeset
133 starts up faster because Emacs doesn't have to load all of it at once.
Dave Love <fx@gnu.org>
parents:
diff changeset
134 (This change also makes it easier for the maintainer to manage things.)
Dave Love <fx@gnu.org>
parents:
diff changeset
135
Dave Love <fx@gnu.org>
parents:
diff changeset
136 When searching for the directory containing the MH programs, search the
Dave Love <fx@gnu.org>
parents:
diff changeset
137 user's PATH in addition to the built-in directories, to increase the
Dave Love <fx@gnu.org>
parents:
diff changeset
138 chance of finding the MH programs.
Dave Love <fx@gnu.org>
parents:
diff changeset
139
Dave Love <fx@gnu.org>
parents:
diff changeset
140 The subject for a forwarded message no longer has ugly square brackets
Dave Love <fx@gnu.org>
parents:
diff changeset
141 around it.
Dave Love <fx@gnu.org>
parents:
diff changeset
142
Dave Love <fx@gnu.org>
parents:
diff changeset
143 The name of the folder is no longer appears twice in the show buffer
Dave Love <fx@gnu.org>
parents:
diff changeset
144 mode line.
Dave Love <fx@gnu.org>
parents:
diff changeset
145
Dave Love <fx@gnu.org>
parents:
diff changeset
146 When typing a folder name in the minibuffer, parent folders complete to
Dave Love <fx@gnu.org>
parents:
diff changeset
147 the trailing slash (/), for easier typing of subfolders.
Dave Love <fx@gnu.org>
parents:
diff changeset
148
Dave Love <fx@gnu.org>
parents:
diff changeset
149 The folder buffer mode name changed from `mh-e scan' or `mh-e show' to
Dave Love <fx@gnu.org>
parents:
diff changeset
150 `MH-Folder', which makes the hook name easier to guess. Added
Dave Love <fx@gnu.org>
parents:
diff changeset
151 `mh-showing' to `minor-mode-alist' so there is still an indication in
Dave Love <fx@gnu.org>
parents:
diff changeset
152 the mode line of whether messages will be shown automatically.
Dave Love <fx@gnu.org>
parents:
diff changeset
153
Dave Love <fx@gnu.org>
parents:
diff changeset
154 `mh-rename-seq' does completion on the old sequence name.
Dave Love <fx@gnu.org>
parents:
diff changeset
155
Dave Love <fx@gnu.org>
parents:
diff changeset
156 If called by a user who has never used MH on this system before, mh-e
Dave Love <fx@gnu.org>
parents:
diff changeset
157 runs the MH program `install-mh' to get them set up.
Dave Love <fx@gnu.org>
parents:
diff changeset
158
Dave Love <fx@gnu.org>
parents:
diff changeset
159 Undo history for previous messages is not kept to avoid wasting memory.
Dave Love <fx@gnu.org>
parents:
diff changeset
160
Dave Love <fx@gnu.org>
parents:
diff changeset
161 The internal temp buffer used by mh-e has `buffer-offer-save' explicitly
Dave Love <fx@gnu.org>
parents:
diff changeset
162 nil. This change benefits people who change the `buffer-offer-save'
Dave Love <fx@gnu.org>
parents:
diff changeset
163 default.
Dave Love <fx@gnu.org>
parents:
diff changeset
164
Dave Love <fx@gnu.org>
parents:
diff changeset
165
Dave Love <fx@gnu.org>
parents:
diff changeset
166 Bug fixes to mh-e
Dave Love <fx@gnu.org>
parents:
diff changeset
167 =================
Dave Love <fx@gnu.org>
parents:
diff changeset
168
Dave Love <fx@gnu.org>
parents:
diff changeset
169 `mh-to-field': don't bomb if no To: field.
Dave Love <fx@gnu.org>
parents:
diff changeset
170
Dave Love <fx@gnu.org>
parents:
diff changeset
171 `mh-get-new-mail': restore annotations, e.g., cur, even if no new mail.
Dave Love <fx@gnu.org>
parents:
diff changeset
172
Dave Love <fx@gnu.org>
parents:
diff changeset
173 `mh-rename-seq': verify that the new seq name was accepted by `mark'
Dave Love <fx@gnu.org>
parents:
diff changeset
174 before updating state.
Dave Love <fx@gnu.org>
parents:
diff changeset
175
Dave Love <fx@gnu.org>
parents:
diff changeset
176 `mh-internal-seq': the Previous sequence is not notated, since it would
Dave Love <fx@gnu.org>
parents:
diff changeset
177 notate everything scanned.
Dave Love <fx@gnu.org>
parents:
diff changeset
178
Dave Love <fx@gnu.org>
parents:
diff changeset
179 `mh-read-draft': don't call `find-file-noselect' so an `auto-mode-alist'
Dave Love <fx@gnu.org>
parents:
diff changeset
180 doesn't trigger `mh-letter-mode-hook' twice. Faster, too.
Dave Love <fx@gnu.org>
parents:
diff changeset
181
Dave Love <fx@gnu.org>
parents:
diff changeset
182 `mh-show': If user moves onto a message that doesn't exist, don't leave
Dave Love <fx@gnu.org>
parents:
diff changeset
183 the cursor in the show pane.
Dave Love <fx@gnu.org>
parents:
diff changeset
184
Dave Love <fx@gnu.org>
parents:
diff changeset
185 `mh-delete-scan-msgs': use `equal', not `=', on the result of
Dave Love <fx@gnu.org>
parents:
diff changeset
186 `mh-get-msg-num', since it may be nil.
Dave Love <fx@gnu.org>
parents:
diff changeset
187
Dave Love <fx@gnu.org>
parents:
diff changeset
188 `mh-get-field': do anchored search so searching for `reply-to:' doesn't
Dave Love <fx@gnu.org>
parents:
diff changeset
189 find `in-reply-to:'.
Dave Love <fx@gnu.org>
parents:
diff changeset
190
Dave Love <fx@gnu.org>
parents:
diff changeset
191 `mh-widen': do nothing if not narrowed.
Dave Love <fx@gnu.org>
parents:
diff changeset
192
Dave Love <fx@gnu.org>
parents:
diff changeset
193 `mh-clean-message-header': find end of headers even if no body.
Dave Love <fx@gnu.org>
parents:
diff changeset
194